OSDN Git Service

69ba0f90f2196868a3058c39d1d73758689788be
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-05-03  Jason R Thorpe  <thorpej@zembu.com>
2
3         * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
4
5 2000-05-03  Richard Henderson  <rth@cygnus.com>
6
7         * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
8         LIBGCC1 empty with libgcc1.null.
9
10 Wed May  3 12:55:46 2000  Jim Wilson  <wilson@cygnus.com>
11
12         * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
13         change.
14
15 2000-05-03  Greg McGary  <gkm@gnu.org>
16
17         * tree.h (tree_common): Add bounded_flag member.  Remove
18         inaccurate comment about number of remaining bits.
19         (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
20         BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
21         MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
22         TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
23         TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
24         (TYPE_QUAL_BOUNDED): New constant.
25         (TYPE_QUALS): Handle bounded qualifier.
26         (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
27         (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
28         TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
29         TYPE_AMBIENT_BOUNDEDNESS): New macros.
30         (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
31         (tree_type): Add pointer_depth member.  Remove
32         inaccurate comment about number of remaining bits.
33         (DECL_POINTER_DEPTH): Add macro.
34         (tree_decl): Add pointer_depth member.
35
36 Wed May  3 22:52:53 2000  Denis Chertykov  <denisc@overta.ru>
37
38         * config/avr/avr-protos.h (test_hard_reg_class): Declared.
39         * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
40         (lshrhi3_out): Likewise.
41         (ashrsi3_out): bugfix in shift by 8.
42         (test_hard_reg_class): New function.
43         * config/avr/avr.md: Bugfix inside conditions in peepholes.
44         (ashlhi3): removed define_expand of this pattern.
45         (*ashlhi3_insn): renamed to ashlhi3.
46         (ashlsi3): removed define_expand of this pattern.
47         (*ashlsi3_insn): renamed to ashlsi3.
48         (ashrqi3): removed define_expand of this pattern.
49         (*ashrqi3_insn): renamed to ashrqi3.
50         (ashrhi3): removed define_expand of this pattern.
51         (*ashrhi3_insn): renamed to ashrhi3.
52         (ashrsi3): removed define_expand of this pattern.
53         (*ashrsi3_insn): renamed to ashrsi3.
54         (lshrhi3): removed define_expand of this pattern.
55         (*lshrhi3_insn): renamed to lshrhi3.
56         (lshrsi3): removed define_expand of this pattern.
57         (*lshrsi3_insn): renamed to lshrsi3.
58
59 2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
60
61         * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
62         inclusion of "system.h".
63
64 Wed May  3 11:43:53 2000  Jim Wilson  <wilson@cygnus.com>
65
66         * config/ia64/ia64.c (ia64_encode_section_info): Add check for
67         TREE_ASM_WRITTEN.
68
69 2000-05-03  David Mosberger  <davidm@hpl.hp.com>
70
71         * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
72         if -mauto-pic is on.
73         (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
74         -mconstant-gp is in effect and function-descriptors are being used
75         to make indirect calls.
76         * config/ia64/ia64.h (MASK_CONST_GP): New macro.
77         (MASK_AUTO_PIC): Ditto.
78         (TARGET_CONST_GP): Ditto.
79         (TARGET_AUTO_PIC): Ditto.
80         (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
81         (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
82         -mno-pic is in effect.
83         (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
84         * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
85         -mauto-pic is in effect.
86         (gprel64_offset): New pattern.
87         (load_gprel64): Ditto.
88         (call): Handle -mauto-pic like -mno-pic (don't use fptr).  If
89         -mconstant-gp is in effect, no need to preserve gp around direct
90         calls.
91         (call_value): Ditto.
92         * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
93         (FUNCTION_PROFILER): Define.
94         * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
95         @fptr() directive when -mno-pic or -mauto-pic is in effect.
96         (ASM_OUTPUT_DESTRUCTOR): Ditto.
97
98 2000-05-03  Richard Henderson  <rth@cygnus.com>
99
100         * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
101         (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
102         (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
103         (mklibgcc, libgcc.mk): New targets.
104         (libgcc.a): Use libgcc.mk.
105         (stmp-multilib): Likewise.
106         (stmp-multilib-sub): Remove.
107         (mostlyclean): Don't delete libgcc2 temp files.
108         * configure.in (AC_PROG_CC_C_O): Add.
109         (NO_MINUS_C_MINUS_O): Substitute it.
110         (all_outputs): Add mklibgcc.
111         * mklibgcc.in: New file.
112
113 2000-05-03  Jason Merrill  <jason@casey.cygnus.com>
114
115         * cppexp.c (op_t): Make an int.
116
117         * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
118
119         * varasm.c (initializer_constant_valid_p): Fix parenthesis.
120
121         * gensupport.c (process_rtx): Fix macros used.
122
123 2000-05-03  Richard Henderson  <rth@cygnus.com>
124
125         * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
126         call-clobbered registers of a call.
127
128 Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
129
130         * gensupport.c: New file.
131         * gensupport.h: New file.
132         * Makefile.in (HOST_RTL): Depend on gensupport.
133         (gensupport.o) New rule.
134         * genattr.c: Use gensupport for reading .md files.
135         * genattrtab.c: Ditto. 
136         * gencodes.c: Ditto. 
137         * genconfig.c: Ditto. 
138         * genemit.c: Ditto. 
139         * genextract.c: Ditto. 
140         * genflags.c: Ditto. 
141         * genopinit.c: Ditto. 
142         * genoutput.c: Ditto. 
143         * genpeep.c: Ditto. 
144         * genrecog.c: Ditto.
145         * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
146         * md.texi (Insn Splitting): Document define_insn_and_split.
147
148 Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>
149
150         * flow.c (verify_flow_info): Added two more sanity checks. The
151         first checks that the blocks are numbered consecutively. The second
152         checks that n_basic_blocks is actually equal to the number of
153         basic blocks in the insn chain.
154
155 2000-05-03  Zack Weinberg  <zack@wolery.cumb.org>
156
157         * cpplib.h: Add accessor macros for token lists.
158         * cpplib.c, cpphash.c, cpplex.c: Use them.
159
160 Wed May  3 09:29:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
161
162         * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
163         memory usage if not in a function.
164         * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
165         return address if static.
166
167 Wed May  3 13:14:49 MET DST 2000  Jan Hubicka  <jh@suse.cz>
168
169         * ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
170         whether address may trap.
171
172 Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>
173
174         * bb-reorder (chain_reorder_blocks): Changed code to test for
175         EDGE_FALLTHRU rather than making erroneous assumption that the
176         first outgoing edge is the fall-through edge.
177
178 Tue May  2 18:20:31 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>
179
180         * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new 
181         ABI for varargs, across all MIPS. This is incompatible because the
182         va_list (__builtin_va_list) structure is different, so a compilation
183         unit passing a va_list and a compilation unit being passed one, should
184         both be compiled with the same ABI. (The old structure had two 
185         pointers, now it has three.)
186
187 Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>
188
189         * bb-reorder.c (struct reorder_block_def): Remove members end,
190         block_begin, and block_end.
191         (REORDER_BLOCK_OLD_END): Delete.
192         (REORDER_BLOCK_BEGIN): Delete.
193         (REORDER_BLOCK_END): Delete.
194         (chain_reorder_blocks): Remove dead code.
195
196 Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>
197
198         * bb-reorder.c (remove_scope_notes): Check for both types of scope
199         notes as the end of a basic block before deleting.
200
201 2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>
202
203         * final.c (final_start_function): Fix spelling of "necessary".
204
205 2000-05-02  Jason Merrill  <jason@casey.cygnus.com>
206
207         * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
208         (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
209         (GCC_CFLAGS): Use it.
210         (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
211         * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
212         objc/Make-lang.in: Use it.
213
214         * toplev.c (debug_ignore_block): Return int.
215         * dwarf2out.c (dwarf2out_ignore_block): Likewise.
216         * toplev.h, dwarf2out.h: Adjust.
217         * emit-rtl.c (remove_unnecessary_notes): Test return value.
218
219         * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
220         * toplev.c, final.c, rtl.h: Adjust.
221
222 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
223
224         * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
225         * configure.in: Look for makeinfo in the unified tree, then
226         for a system makeinfo which is sufficiently new.
227         * Makefile.in: If configure says makeinfo is too old, don't
228         build or install Info documentation.
229
230 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
231
232         * cpphash.c (collect_params): Fix off-by-one error.
233         (dump_hash_helper): Dump all four macro nodetypes.
234
235 2000-05-02  Jakub Jelinek  <jakub@redhat.com>
236
237         * cpphash.c (trad_stringify): Adjust p after stringification as
238         well.
239
240 2000-05-02  Zack Weinberg  <zack@wolery.cumb.org>
241
242         * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
243         (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
244
245         * cppfiles.c (file_cleanup): Delete.
246         * cpphash.c (macro_cleanup): Delete.
247         (collect_objlike_expansion, collect_funlike_expansion,
248         macarg, scan_arguments): Remove CPP_POP case.
249
250         * cpplex.c (null_cleanup): Delete.
251         (cpp_pop_buffer): Do the work that was done in the cleanups
252         here.  Call _cpp_unwind_if_stack from here.
253         (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
254         cpp_scan_buffer): Run until we see CPP_EOF and the top of
255         stack is the buffer _below_ the one we stacked.
256         (cpp_get_token): Always pop an exhausted buffer.  Return
257         CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
258         * cpplib.c (skip_if_group): Don't call cpp_get_token to
259         increment the line number.
260         (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
261
262         * fix-header.c (read_scan_file) [parsing getchar()]: Run until
263         we see CPP_EOF and the top of stack is the buffer _below_ the
264         one we stacked.
265         * scan-decls.c: Likewise.
266
267 2000-05-02  Andrew Haley  <aph@cygnus.com>
268
269         * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
270         where this function is called for the second time on a decl that
271         has had its section info changed in such a way as to move it out
272         of small data/bss.  
273         * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
274
275 2000-05-01  Richard Henderson  <rth@cygnus.com>
276
277         * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
278         the sequence we're moving, not to merge_bb->head.
279
280 2000-05-01  Richard Henderson  <rth@cygnus.com>
281
282         * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
283         reference to alpha/t-linux.
284         (alpha*-*-linux-gnu*): Likewise.
285         * configure: Rebuild.
286
287         * calls.c (expand_call): Don't emit reg notes for a sibcall.
288
289         * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
290         if not in SSA form.
291
292         * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
293
294 2000-05-01  Jason Merrill  <jason@casey.cygnus.com>
295
296         * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
297         TREE_THIS_VOLATILE.
298
299 2000-05-01  Richard Henderson  <rth@cygnus.com>
300
301         * ifcvt.c (noce_emit_cmove): Conditionally compile call to
302         emit_conditional_move.
303
304 2000-05-01  Jakub Jelinek  <jakub@redhat.com>
305
306         * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
307         as the dynamic linker.
308
309 2000-05-01  Zack Weinberg  <zack@wolery.cumb.org>
310
311         * cppfiles.c (open_include_file): Open file in blocking mode.
312         (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
313         Only exclude block devices and directories.
314
315         * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
316         static.  Allocate the hashnode and its string in the same
317         block of memory.
318         (del_HASHNODE): Don't free h->name.
319         (_cpp_lookup): If there is no entry for this string, create
320         one, of type T_VOID.
321         (_cpp_lookup_slot): Delete.
322         * cpphash.h: Update prototypes.
323
324         * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
325         not hp == NULL.
326         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
327         do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
328         node here, just fill in the value field properly.  "Delete"
329         entries by setting the value field to T_VOID.  Check for
330         hp->type == T_VOID, not hp == NULL.
331
332         * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
333         * cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
334         hashtab.h.
335
336 2000-05-01  Alexandre Oliva  <aoliva@cygnus.com>
337
338         * config/mn10300/mn10300.c (print_operand_address): Do not add
339         zero to SP.
340
341         * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
342         adjusted by less than 256 bytes, use ret regardless of having any
343         callee-saved register to restore.
344
345 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
346
347         * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
348
349 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
350
351         * config/i386/djgpp.h (INT_ASM_OP): Define.
352         (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
353         (ASM_WEAKEN_LABEL): Define.
354         (MASK_BNU210): Define.
355         (SUBTARGET_SWITCHES): Define.
356         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
357         (MAKE_DECL_ONE_ONLY): Define.
358         (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
359
360 2000-05-01  Mumit Khan  <khan@xraylith.wisc.edu>
361
362         * i386/cygwin.h (INT_ASM_OP): Define.
363
364 Mon May  1 18:20:06 2000  Denis Chertykov  <denisc@overta.ru>
365
366         * config/avr/avr.c (address_cost): renamed to avr_address_cost.
367         * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
368
369 Mon May  1 17:50:44 2000  Denis Chertykov  <denisc@overta.ru>
370
371         * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
372         __tmp_reg__ and __zero_reg__ initialization.
373
374 2000-04-30  Richard Henderson  <rth@cygnus.com>
375
376         * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
377
378         * ifcvt.c (noce_process_if_block): Fail the conversion if X is
379         referenced bewteen the condition and the jump.  Don't delete
380         anything but the jump.
381
382 Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>
383
384         * bb-reorder.c (scope_def): New struct.
385         (scope_forest_info): New struct.
386         (struct reorder_block_def): New member "scope".
387         (REORDER_BLOCK_SCOPE): New macro.
388         (relate_bbs_with_scopes): New function and prototype.
389         (make_new_scope): Likewise.
390         (build_scope_forest): Likewise.
391         (remove_scope_notes): Likewise.
392         (insert_intra_1): Likewise.
393         (insert_intra_bb_scope_notes): Likewise.
394         (insert_inter_bb_scope_notes): Likewise.
395         (rebuild_scope_notes): Likewise.
396         (free_scope_forest_1): Likewise.
397         (free_scope_forest): Likewise.
398         (dump_scope_forest): Likewise.
399         (dump_scope_forest_1): Likewise.
400         (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
401         Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
402         block.
403         (reorder_basic_blocks): Added calls to build_scope_scope_forest
404         and remove_scope_notes before reordering is done. Added calls to
405         rebuild_scope_notes, free_scope_forest, and reorder_blocks after
406         after reordering is done.
407
408 2000-40-30  Bruce Korb  <bkorb@gnu.org>
409
410         * fixinc/inclhack.def:  Added definitions needed by OSR5,
411         removed two stale entries (defined away with OLD_CPP).
412         * fixinc/inclhack.sh: regen
413         * fixinc/fixincl.x: regen
414
415 2000-04-30  Richard Henderson  <rth@cygnus.com>
416
417         * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
418         from the last insn in the sequence.
419
420 2000-04-30  Zack Weinberg  <zack@wolery.cumb.org>
421
422         * cpplex.c (cpp_idcmp): New function.
423         * cpplib.h: Prototype it.
424         * scan_decls.c (scan_decls): Use it to inspect token names.
425         * fix-header.c (read_scan_file): Likewise.  Set system_header_p on
426         the file being run through the preprocessor.
427         (check_macro_names): Provide length of token to cpp_defined.
428
429         * Makefile.in: Remove stale warning message.
430
431         * cppfiles.c (redundant_include_p): Provide length of token to
432         cpp_defined.
433         * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
434         values are unsigned int.
435         (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
436         (_cpp_lookup_slot): Do not calculate the hash, either.
437         * cpphash.h: Update prototypes.
438         * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
439         Hashes are unsigned int.  Calculate hash here, pass by value
440         to _cpp_lookup_slot.
441
442 2000-04-30  Bernd Schmidt  <bernds@cygnus.co.uk>
443
444         * simplify-rtx.c (check_value_useless): Delete function.
445         (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
446         by hand.
447         (cselib_invalidate_regno): Likewise.
448         (cselib_invalidate_mem_1): Likewise.
449         (references_value_p): Recognize useless values by the fact that they
450         have no locations.
451         (discard_useless_values): Likewise.
452         (cselib_record_set): This may turn a useless value
453         into a useful one.
454
455 2000-04-30  Richard Henderson  <rth@cygnus.com>
456
457         * config/d30v: New port.
458
459         * configure.in (d30v-*): Set fp format.
460         * configure: Rebuild.
461
462 2000-04-30  Richard Henderson  <rth@cygnus.com>
463
464         * ifcvt.c: New file.
465         * Makefile.in (OBJS): Add it.
466         (ifcvt.o): New target.
467         * jump.c (jump_optimize_1): Remove all code related to if-conversion,
468         and conditional arithmetic.
469         (find_insert_position): Remove.
470         * timevar.def (TV_IFCVT, TV_IFCVT2): New.
471         * toplev.c (DFI_ce, DFI_ce2): New.
472         (dump_file): Add ce and ce2 dumps.
473         (rest_of_compilation): Run if_convert a couple o times.  Set
474         cse_not_expected after cse2.  Don't set no_new_pseudos until
475         after sched1 or recompute_reg_usage.
476
477 2000-04-30  Richard Henderson  <rth@cygnus.com>
478
479         * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
480         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
481
482 2000-04-30  Richard Henderson  <rth@cygnus.com>
483
484         * flow.c (struct reg_cond_life_info): New.
485         (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
486         (init_propagate_block_info): Initialize them.
487         (free_propagate_block_info): Destruct them.
488         (mark_set_1): Consider conditional life before killing a register.
489         (mark_regno_cond_dead): New.
490         (free_reg_cond_life_info): New.
491         (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
492         (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
493         (mark_used_reg): Record conditional life.
494
495         * haifa-sched.c (schedule_insns): Disable death counting
496         sanity check for HAVE_conditional_execution.
497
498 2000-04-30  Richard Henderson  <rth@cygnus.com>
499
500         * Makefile.in (TIMEVAR_H): New.
501         (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
502         (timevar.h): Remove rule.
503
504 2000-04-29  Richard Henderson  <rth@cygnus.com>
505
506         * config/alpha/crtend.asm: Use C comments instead of #.
507         * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.
508
509         * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
510
511 2000-04-29  Zack Weinberg  <zack@wolery.cumb.org>
512
513         * cpphash.h (enum node_type: Take out T_MCONST.
514         (union hashval): Move into struct hashnode.
515         (struct hashnode): Pack tighter.  Remove file, line, col
516         members.
517         * cpphash.c: Constify most of the macro-definition structures.
518         (struct definition): Replace by struct object_defn
519         and struct funct_defn.  Put file, line, column information
520         here.  All users updated to match.
521         (_cpp_create_definition, _cpp_macroexpand): Remove special
522         case for #define WORD OTHERWORD.
523         * cpplib.c (do_undef): Remove T_MCONST case.
524
525         * cpphash.h: Move struct reflist, struct definition, and the
526         DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
527         union hashval.  _cpp_free_definition takes a HASHNODE pointer.
528         * cpphash.c (_cpp_free_definition): Free data pointed to by
529         MCONST, XCONST, MACRO, and FMACRO nodes properly.
530         (_cpp_create_definition, del_HASHNODE): Just call
531         _cpp_free_definition to clear out a hashnode.
532         * cpplib.c (do_pragma_poison): Likewise.
533
534 Sat Apr 29 12:25:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
535
536         * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
537         LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
538         FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
539         (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
540         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
541         REGNO_AM33_P): Redefine in terms of the new macros.
542         (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
543         (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
544         STRUCT_VALUE): Likewise.
545         (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
546         ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.
547
548 Sat Apr 29 01:18:45 MET DST 2000  Jan Hubicka  <jh@suse.cz>
549
550         * regmove.c (struct record_stack_memrefs_data): New.
551         (record_stack_memrefs): New function.
552         (combine_stack_adjustments_for_block): Use it.
553
554 Sat Apr 29 01:15:27 MET DST 2000  Jan Hubicka  <jh@suse.cz>
555
556         * calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
557         use special_function_p to detect alloca.
558
559 Fri Apr 28 16:30:33 2000  Marc Espie <espie@cvs.openbsd.org>
560
561         * gcc.texi: Fixes for makeinfo 4.0 --html.
562
563 2000-04-28  Zack Weinberg  <zack@wolery.cumb.org>
564
565         * pcp.h: Delete file.
566
567 2000-04-28  Kazu Hirata  <kazu@hxi.com>
568
569         * h8300.c (function_epilogue): Clean up flags when the last insn
570         in a function is a barrier.
571
572 2000-04-28  Chris Demetriou  <cgd@sibyte.com>
573
574         * configure.in (sparc-hal-solaris2*): protect [] glob from
575         my expansion.
576         (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
577         rather than hard-coded constants in target_cpu_default2.
578         * configure: Regenerate.
579
580 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
581
582         * tree.c (get_callee_fndecl): Extract the initial value from
583         a readonly decl.
584
585 2000-04-28  Richard Henderson  <rth@cygnus.com>
586
587         * varasm.c (record_constant_1): Record the CODE_LABEL when
588         taking the address of a LABEL_REF.
589
590 2000-04-28  Richard Henderson  <rth@cygnus.com>
591             Jan Hubicka  <jh@suse.cz>
592
593         * calls.c (combine_pending_stack_adjustment_and_call): Return the
594         adjustment; don't do the stack adjust.
595         (expand_call): Call compute_argument_block_size right before
596         allocating the block; update comment; don't do alignment sanity
597         checking for sibling call; use args_size instead of
598         unadjusted_args_size before args_size is adjusted.  Use
599         combine_pending_stack_adjustment_and_call to compute stack adjust
600         for must_preallocate case.
601
602         * expr.c (push_block): Remove shadow `temp' in inner scope.
603
604 2000-04-28  Jason Merrill  <jason@casey.cygnus.com>
605
606         * toplev.c (rest_of_compilation): Call
607         note_deferral_of_defined_inline_function even if the function
608         can't be inlined.
609
610 2000-04-28  Scott Bambrough  <scottb@netwinder.org>
611
612         * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
613
614 2000-04-28  Richard Henderson  <rth@cygnus.com>
615
616         * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
617
618 2000-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
619
620         * timevar.c (init_timevar): DeANSIfy function definition.
621
622 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
623
624         * Makefile.in (timevar.o): Depend on flags.h.
625         * timevar.c (unused_stack_instances): New variable.
626         (timevar_push): Take a timevar_stack_def from
627         unused_stack_instances if available.
628         (timevar_pop): Push the popped timevar_stack_def onto
629         unused_stack_instances.
630         (TIMEVAR_ENABLE): New macro.
631         (timevar_def): Make standalone a 1-bit field.  Add field used.
632         (get_time): Rename parameter to now.  Return after clearing it if
633         not TIMEVAR_ENABLE.
634         (init_timevar): Do nothing if not TIMEVAR_ENABLE.
635         (timevar_pop): Likewise.
636         (timevar_stop): Likewise.
637         (timevar_push): Likewise.  Mark the timing variable as used.
638         (timevar_start): Likewise.
639         (timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
640         timevars that were never used.
641
642 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
643
644         * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
645         always TREE_READONLY.
646
647 2000-04-27  Ulrich Drepper  <drepper@cygnus.com>
648
649         * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
650         for call instruction with mode QImode.
651
652 2000-04-27  Alex Samuel  <samuel@codesourcery.com>
653
654         * Makefile.in (OBJS): Add timevar.o.
655         (toplev.o): Depend on timevar.h.
656         (ggc-simple.o): Likewise.
657         (ggc-page.o): Likewise.
658         (timevar.o): New rule.
659         (timevar.h): New rule.
660
661         * timevar.h: New file.
662         * timevar.c: Likewise.
663         * timevar.def: Likewise.
664
665         * toplev.h (gc_time, parse_time, varconst_time): Remove.
666         * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
667         throughout.
668         (TIMEVAR): Remove macro.
669         (gc_time, parse_time, varconst_time, integration_time, jump_time,
670         cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
671         flow_time, combine_time, regmove_time, sched_time,
672         local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
673         sched2_time, dbr_sched_time, reorder_blocks_time,
674         rename_registers_time, shorten_branch_time, stack_reg_time,
675         to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
676         all_time): Remove.
677         (compile_file): Don't initialize time variables.  Call
678         init_timevar and start TV_TOTAL timer.  Call timevar_print instead
679         of many calls to print_time.
680         (rest_of_compilation): Add timing for reload_cse_regs.
681         (get_run_time): Removed to timevar.c.
682         (print_time): Likewise.
683         (get_run_time): Implement using TV_TOTAL time variable.
684         (print_time): Get total run time from get_run_time.
685         * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
686         computing elapsed time explicitly.
687         * ggc-simple.c (ggc_collect): Likewise.
688         (gc_time): Remove declaration.
689
690 2000-04-27  Mark Mitchell  <mark@codesourcery.com>
691
692         * calls.c (combine_pending_stack_adjustment_and_call): New function.
693         (expand_call): Use it.
694
695 2000-04-27  Jan Hubicka  <jh@suse.cz>
696
697         * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
698         fields.
699
700 Thu Apr 27 12:47:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
701
702         * config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
703         registers.
704
705 Thu Apr 27 17:33:05 MET DST 2000  Jan Hubicka  <jh@suse.cz>
706
707         * function.c (epilogue_done): Pass whole insn to record_insns.
708
709 Thu Apr 27 16:55:28 MET DST 2000  Jan Hubicka  <jh@suse.cz>
710
711         * cse.c (CSE_ADDRESS_COST): Remove.
712         (find_best_addr): Add new parameter "MODE", use address_cost instead
713         of CSE_ADDRESS_COST
714         (address_cost): New.
715         (fold_rtx): Update call of find_best_addr.
716         * rtl.h (address_cost): Declare.
717         * loop.c (general_induction_var): Add new parameter "MODE", use
718         address_cost instead of ADDRESS_COST
719         (init_loop): Use address_cost instead of ADDRESS_COST.
720         (check_insn_for_givs): Update call of general_induction_var.
721         (find_mem_givs): Likewise.
722         (consec_sets_giv): Likewise.
723         * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
724         * i386.c (ix86_address_cost): New.
725         * i386-protos.h (ix86_address_cost): Declare.
726
727 Thu Apr 27 11:45:16 2000  Alexandre Oliva  <aoliva@cygnus.com>
728
729         * config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
730         registers.
731
732 Thu Apr 27 16:11:00 MET DST 2000  Jan Hubicka  <jh@suse.cz>
733
734         * expr.c (store_expr): Use clear_storage instead of direct memset
735         libcall.
736
737 Thu Apr 27 10:36:51 2000  Alexandre Oliva  <aoliva@cygnus.com>
738
739         * config/mn10300/mn10300.c (mn10300_address_cost): Test
740         ASHIFT, AND and LABEL_REF.
741
742 Thu Apr 27 15:08:46 MET DST 2000  Jan Hubicka  <jh@suse.cz>
743
744         * invoke.texi (-foptimize-sibling-calls): Fix.
745
746 Thu Apr 27 14:54:22 MET DST 2000  Jan Hubicka  <jh@suse.cz>
747
748         * loop.c (load_mems)  Don't use hard registers for the hoisting.
749
750         * unroll.c (unroll_loop): Avoid overflow in the n_iterations
751         calculation; rename const_equiv array in the preconditioning code
752         from loop_unroll to loop_unroll_precondition
753
754 2000-04-27  Richard Henderson  <rth@cygnus.com>
755
756         * flow.c (struct propagate_block_info): Remove new_dead, new_live;
757         add new_set.
758         (propagate_one_insn): Clear it.  Don't update reg_live here.
759         (init_propagate_block_info): Update for pbi member changes.
760         (free_propagate_block_info): Likewise.
761         (mark_set_1): Know that zero_extract, sign_extract, and
762         strict_low_part don't kill their argument.  Alter hard subregs.
763         Update new_set for non-CLOBBER sets.  Update reg_live.
764         (find_auto_inc): Update reg_live, not new_dead.
765         (mark_used_reg): Update reg_live, not new_live.  Examine new_set
766         to determine if the reg in question was set this insn.  Only update
767         reg info with PROP_REG_INFO.
768
769 2000-04-26  Richard Henderson  <rth@cygnus.com>
770
771         * flow.c (allocate_reg_life_data): Set max_regno here ...
772         (life_analysis): ... not here.
773
774         * flow.c (calculate_global_regs_live): Force stack pointer
775         live at end.
776
777 2000-04-26  Richard Henderson  <rth@cygnus.com>
778
779         * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
780         commit change group changes.
781         (invert_exp_1): Similarly.
782         (redirect_exp, invert_exp): Use them.
783         (redirect_jump_1): New.
784         (invert_jump_1): New.
785         (jump_optimize_1): Remove code subsumed by condexec.c.
786         * rtl.h (invert_jump_1, redirect_jump_1): Declare.
787
788 2000-04-26  Richard Henderson  <rth@cygnus.com>
789
790         * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
791
792         * genconfig.c (main): Set all HAVE_foo to 1.
793
794         * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
795
796 2000-04-26  Alex Samuel  <samuel@codesourcery.com>
797
798         * invoke.texi: Document -fssa flag.
799
800 2000-04-26  Richard Henderson  <rth@cygnus.com>
801
802         * flow.c (count_reg_sets_1): Remove.
803         (count_reg_sets, count_reg_references): Remove.
804         (recompute_reg_usage): Implement with update_life_info.
805         Reallocate life data.
806
807 2000-04-26  Richard Henderson  <rth@cygnus.com>
808
809         * flow.c (update_life_info): Consider blocks null to mean the
810         universal set.
811         (calculate_global_regs_live): Likewise.
812         (life_analysis): Do that instead of collecting all_blocks.
813
814 2000-04-26  Richard Henderson  <rth@cygnus.com>
815
816         * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
817         a still-valid conditional jump.
818
819 2000-04-26  Richard Henderson  <rth@cygnus.com>
820
821         * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.
822
823         * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
824         * flow.c (calculate_loop_depth): Remove.
825         * output.h (calculate_loop_depth): Don't declare.
826         * toplev.c (rest_of_compilation): Expand calculate_loop_depth
827         inline; run estimate_probability at the same time.
828
829 2000-04-26  Neil Booth  <NeilB@earthling.net>
830
831         * cpplib.h: "~=" is not a single pp-token.
832         * cpplex.c: Correct commentary.
833
834 2000-04-26  Richard Henderson  <rth@cygnus.com>
835
836         * flow.c (mark_set_1): New arguments code and flags; update all
837         callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
838         test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
839         loop_depth when optimizing for size.  Do new_dead update after
840         emitting REG_UNUSED notes.  Merge mark_set_reg code.
841         (mark_set_reg): Remove.
842         (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
843         arrange to not emit REG_UNUSED notes.
844
845 2000-04-26  Richard Henderson  <rth@cygnus.com>
846
847         * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
848         * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
849
850 2000-04-26  Richard Henderson  <rth@cygnus.com>
851
852         * flow.c (propagate_one_insn): Break out from propagate_block.
853         (init_propagate_block_info): Likewise.
854         (free_propagate_block_info): Likewise.
855         (propagate_block): Use them.  Export.
856         * basic-block.h: Declare them all.
857
858 2000-04-26  Richard Henderson  <rth@cygnus.com>
859
860         * basic-block.h (life_analysis): Declare here ...
861         * output.h: ... not here.
862         * flow.c (life_analysis): Remove nregs parameter; replace
863         remove_dead_code with flags.  Remove ssa dead code check.
864         Only init alias analysis if we'll use it.
865         * reg-stack.c (reg_to_stack): Update life_analysis arguments.
866         * ssa.c (convert_to_ssa): Likewise.
867         (convert_from_ssa): Likewise.
868         * toplev.c (rest_of_compilation): Likewise.
869
870 2000-04-26  Richard Henderson  <rth@cygnus.com>
871
872         * flow.c (flow_delete_block): Rename from delete_block.  Export.
873         * basic-block.h (flow_delete_block): Declare.
874
875 2000-04-26  David S. Miller  <davem@redhat.com>
876
877         * optabs.c (emit_libcall_block): Verify insns with INSN_P before
878         taking a PATTERN of it.
879
880 2000-04-26  <NeilB@earthling.net>
881
882         * cpplex.c (spell_other, spell_char): Remove.
883         (SPELL_CHAR): New.
884         (token_spelling, trigraph_map): Use unsigned chars.
885         (_cpp_lex_line): Tidy up the switch statement.
886         * cpplib.h: Implement spell_char with spell_string.
887         (C): New.
888
889 2000-04-26  <RodneyBrown@pmsc.com>
890
891         * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
892         * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
893
894 2000-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
895
896         * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
897         reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
898         dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
899         dwarf2out_return_save, dwarf2out_return_reg,
900         dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
901         add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
902         gen_compile_unit_die, dwarf2out_init): Constify a char*.
903
904         * dwarf2out.h (dwarf2out_init): Likewise.
905
906         * dwarfout.c (filename_entry, primary_filename, last_filename,
907         type_tag, output_compile_unit_die, dwarfout_init): Likewise.
908
909         * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
910         dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
911         dwarf2out_return_reg): Likewise.
912
913 2000-04-26  Andreas Jaeger  <aj@suse.de>
914
915         * extend.texi (Function Attributes): Fix description of pure
916         attribute.
917
918 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
919
920         * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
921         before calling rest_of_compilation.
922
923 2000-04-26  Andreas Jaeger  <aj@suse.de>
924
925         * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
926         last patch.
927
928 2000-04-25  Richard Henderson  <rth@cygnus.com>
929
930         * cse.c (cse_insn): Emit barrier after unconditional jump.
931
932         * calls.c (expand_call): Disable tail call generation once
933         rtx_equal_function_value_matters is false.
934
935         * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
936         like EDGE_EH edges.
937
938 2000-04-25  Jason Merrill  <jason@casey.cygnus.com>
939
940         * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
941
942         * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
943
944         * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
945         is the primary DIE for a member function.
946         (gen_decl_die): Call set_decl_origin_self here.
947         * dwarfout.c (output_decl): And here.
948         * integrate.c (output_inline_function): Not here.
949         Don't clear DECL_INLINE until after calling rest_of_compilation.
950         (set_decl_origin_self): No longer static.
951         * tree.h: Add prototype.
952         * toplev.c (note_deferral_of_defined_inline_function): Only write
953         out abstract instance for actual inlines.
954
955 2000-04-25  Alexandre Oliva  <aoliva@cygnus.com>
956
957         * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
958         EXTENDED_REGS only if TARGET_AM33.
959         * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
960         SP_REGS to register allocation and reloading unless absolutely
961         necessary.
962         (movsi3): Remove special-case of adding non-constants to SP.
963
964 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
965
966         * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
967         INCLUDES to search and does not provide any of its own.  Also it
968         now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
969         parameters.  Also it does not call AC_DEFINE.
970         (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
971         AC_DEFINE and provides for automatic entries for autoheader.
972         (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
973
974         * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
975         so we can pass -I flags and include gansidecl.h/system.h in this
976         test.
977
978         * acconfig.h: Delete all NEED_DECLARATION_* entries.
979
980 2000-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
981
982         * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
983         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
984         ENABLE_GC_ALWAYS_COLLECT): Delete entries.
985
986         * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
987         ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
988         ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
989         for these macros.  Clean up spacing and linewraps.
990
991 2000-04-26  Jason Merrill  <jason@casey.cygnus.com>
992
993         * calls.c (expand_call): Use get_callee_fndecl.
994
995         * print-tree.c (print_node): Print the chain of an _EXPR.
996
997 Tue Apr 25 16:16:04 2000  Andrew MacLeod  <amacleod@cygnus.com>
998                           Jim Wilson  <wilson@cygnus.com>
999                           Andrew Haley  <aph@cygnus.com>
1000
1001         * config/ia64/crtbegin.asm: Add IA-64 unwind support.  Correct alloc
1002         and gp save/restore problems.
1003         * config/ia64/crtend.asm: Add IA-64 unwind support.
1004         * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
1005         in fr_pad_size calculation.
1006         (save_restore_insns): Move PR save area.  Correct uses of
1007         RTX_FRAME_RELATED_P.
1008         (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
1009         (ia64_expand_epilogue): Add eh_epilogue support.
1010         (ia64_function_prologue): Emit .prologue directive.
1011         (ia64_init_machine_status, ia64_mark_machine_status): New functions.
1012         (ia64_override_options): Set init_machine_status and
1013         mark_machine_status.
1014         (rtx_needs_barrier): Handle bsp reads and writes.
1015         (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
1016         New static variables.
1017         (process_set, process_for_unwind_directive): New functions.
1018         * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
1019         ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
1020         ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
1021         macros.
1022         (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
1023         (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
1024         (struct machine_function): Define.
1025         * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
1026
1027 2000-04-25  Bruce Korb  <bkorb@gnu.org>
1028
1029         * fixinc/Makefile.in: make the removal of old programs more
1030         robust
1031         * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
1032         install-bin and install-sh
1033
1034 2000-04-25  Nick Clifton  <nickc@cygnus.com>
1035
1036         * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
1037         defined, define to return zero.
1038         (function_cannot_inline_p): If a function has any target
1039         specific attributes, then use the macro
1040         FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
1041         whether it can be inlined.  If it cannot, issue a suitable
1042         explanation.
1043
1044         * tm.texi: Add a new node 'Inlining' to document the new macro
1045         FUNCTION_ATTRIBUTE_INLINABLE_P.
1046
1047 2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>
1048
1049         * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
1050         commentary.
1051
1052 2000-04-25  Neil Booth  <NeilB@earthling.net>
1053
1054         Restore previous patch, plus the following fixes:
1055
1056         * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
1057         flags, not CPP_OPEN_PAREN.
1058         * cpplex.c (expand_token_space, init_token_list,
1059         cpp_free_token_list): Put the dummy token at list->tokens[-1].
1060         (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
1061
1062 Tue Apr 25 14:06:40 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1063
1064         * config/i386/freebsd.h (INT_ASM_OP): Define.
1065
1066 Tue Apr 25 14:51:07 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1067
1068         * loop.c (strength_reduce): Fix typo in the last checkin.
1069
1070 Tue Apr 25 07:33:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1071
1072         * stor-layout.c (finalize_record_size): Simplify to use existing
1073         functions.
1074         (compute_record_mode): No longer static.
1075         * tree.h (compute_record_mode): New declaration.
1076
1077 2000-04-25  Neil Booth  <NeilB@earthling.net>
1078
1079         * Revert my patch below until cause of build failures
1080         determined.
1081
1082 2000-04-25  Richard Henderson  <rth@cygnus.com>
1083
1084         * combine.c (combine_instructions): Add missing argument
1085         to try_combine.
1086
1087         * toplev.c (rest_of_compilation): Delay sibcall optimization
1088         until after emit_eh_context.
1089
1090 2000-04-24  Nick Clifton  <nickc@redhat.com>
1091
1092         * combine.c (combine_instructions): Do not try to combine a
1093         sequence of insns when the second insn has been replaced by a
1094         note.
1095
1096 Mon Apr 24 17:34:18 2000  Mumit Khan  <khan@xraylith.wisc.edu>
1097
1098         * gcc.c (load_specs): New static function.
1099         (read_specs): Use it.
1100
1101         * gcc.c (lookup_compiler): Make multiple passes for case
1102         insensitive filesystems.
1103
1104 2000-04-24  Neil Booth  <NeilB@earthling.net>
1105
1106         * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
1107         * cpphash.h (_cpp_check_directive): new.
1108         * cpplex.c (handle_newline, cpp_free_token_list,
1109         init_trigraph_map, trigraph_ok, trigraph_replace,
1110         backslash_start, skip_block_comment, skip_line_comment,
1111         skip_whitespace, parse_name, parse_number, parse_string,
1112         copy_comment, _cpp_lex_line, spell_char, spell_string,
1113         spell_comment, spell_name, spell_other, _cpp_lex_file,
1114         _cpp_output_list): new.
1115         (expand_name_space): take length argument.
1116         (init_token_list): add comment list initialisation.
1117         (cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
1118         instead of HSPACE_BEFORE.
1119
1120         * cpplib.c (_cpp_check_directive): new
1121         * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
1122         DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
1123         (HSPACE_BEFORE): delete.
1124         (TTYPE_TABLE): rearrange.
1125         (struct cpp_toklist): update.
1126
1127 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1128
1129         * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
1130         gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
1131         argument form of AC_DEFINE.
1132
1133         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
1134         HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
1135         WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
1136         HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
1137         HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
1138
1139         * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
1140
1141 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1142
1143         * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
1144         deduced.h): Use -isystem, not -I, for including system headers.
1145
1146 2000-04-24  Nick Clifton  <nickc@cygnus.com>
1147
1148         * config/fr30/fr30.md (addsi3): Do not use small add instruction if
1149         the source register is the frame pointer or arg pointer.
1150         (addsi3_small_int): Disallow if source register is the frame
1151         pointer or arg pointer.
1152
1153 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1154
1155         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
1156         call to AC_MSG_RESULT.
1157
1158 2000-04-24  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1159
1160         * invoke.texi: Correct grammatical errors, document
1161         -fno-gnu-keywords as identical to -fno-asm for C++.
1162
1163 2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1164
1165         * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
1166         GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
1167         GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
1168         AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
1169         EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
1170
1171         * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
1172         GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
1173         GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
1174         GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
1175         new macros names.
1176
1177 2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>
1178
1179         * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
1180         (pop_alignment): Likewise.
1181         (handle_pragma_token): Likewise.
1182
1183 2000-04-24  Robert Lipe <robertlipe@usa.net>
1184
1185         * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
1186
1187 2000-04-24  Hiroyuki Machida <machida@sm.sony.co.jp>
1188
1189         * combine.c (try_combine): Update reg_nonzero_bits of
1190         newi2pat before newpat.
1191
1192 Mon Apr 24 10:19:48 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1193
1194         * loop.c (strength_reduce): Simplify test to INSN_P.
1195         (record_giv): Attempt to simplify the add value, use CONSTANT_P
1196         expressions instead of CONST_INT.
1197         (express_from_1): Likewise.
1198
1199 2000-04-24  Mark Mitchell  <mark@codesourcery.com>
1200
1201         * regs.h (reg_n_max): Don't declare.
1202         * flow.c (reg_n_max): Don't define.
1203         * regclass.c (renumber): Don't initialize to zero.
1204         (regno_allocated): Likewise.
1205         (reg_n_max): Define.
1206         (allocate_reg_info): Don't initialize unnecessarily.
1207
1208 Mon Apr 24 00:21:36 2000  Jeffrey A Law  (law@cygnus.com)
1209
1210         * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
1211         and blockage_p in the newly allocated attribute.
1212
1213 Sun Apr 23 20:16:49 2000  Alexandre Oliva  <aoliva@cygnus.com>
1214
1215         * config/mn10300/mn10300.md (addsi): `inc4' on address
1216         registers does not modify cc, but `inc' on an extended
1217         register does.
1218
1219 Sun Apr 23 16:24:35 2000  Denis Chertykov  <denisc@overta.ru>
1220
1221         * reload.c (find_equiv_reg): Checks all valueno regs
1222         as a reload_reg_p regs.
1223
1224 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
1225
1226         * cpphash.c (collect_objlike_expansion): Add sanity check.
1227         (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
1228         the buffer is the empty string, return.  Mark __DATE__ and
1229         __TIME__ as XCONST nodes, not MCONST.
1230         (_cpp_macroexpand): Avoid pushing an empty buffer.
1231         (funlike_macroexpand): Don't pop token_buffer here.
1232
1233 Sun Apr 23 18:37:53 2000  Alexandre Oliva  <aoliva@cygnus.com>
1234
1235         * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
1236         (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
1237         (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
1238         (REGNO_OK_FOR_BASE_P): Define in terms of them.
1239         (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
1240         (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
1241         (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
1242
1243 Sun Apr 23 22:23:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1244
1245         * loop.c (simplify_giv_expr):  Be more agressive on simplifying
1246         constant MULT givs.
1247
1248 2000-04-23  Zack Weinberg  <zack@wolery.cumb.org>
1249
1250         * cpphash.h (struct definition): Move file, line, col members...
1251         (struct hashnode): ... here.  Also add 'disabled' flag.
1252         (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
1253         T_IDENTITY.  Remove T_DISABLED.
1254         Update prototypes.
1255
1256         * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
1257         (collect_expansion): Split into collect_objlike_expansion and
1258         collect_funlike_expansion.
1259         (_cpp_macroexpand): Split out scan_arguments, stringify, and
1260         funlike_macroexpand.
1261         (_cpp_compare_defs): Rename compare_defs, make static.
1262         (_cpp_make_hashnode): Initialize hp->disabled.
1263         (macro_cleanup): Adjust for new token types.  Clear
1264         m->disabled.
1265         (_cpp_create_definition): Move code here to determine what
1266         sort of macro it is, and code to check for redefinitions, from
1267         do_define.  Implement a few simple cases without creating a
1268         full DEFINITION.
1269         (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
1270         Handle the simple cases.
1271         (push_macro_expansion): Set buf->has_escapes and hp->disabled
1272         here.
1273
1274         * cppinit.c (builtin_array): Change MCONST to XCONST
1275         everywhere.
1276         * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
1277         fix check for disabled and function-like macros.
1278         * cpplib.c (do_define): Move most logic to
1279         _cpp_create_definition.
1280         (do_undef): Handle new special token types.
1281
1282 Sun Apr 23 14:27:44 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1283
1284         * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
1285         of CONSTANT_P for mult_val; always use validate_change to update insn.
1286
1287 2000-04-22  Zack Weinberg  <zack@wolery.cumb.org>
1288
1289         * cpphash.c (trad_stringify, add_pat): New functions.
1290         (collect_expansion): Restore support for -traditional syntax.
1291         Use trad_stringify and add_pat.
1292         (_cpp_macroexpand): Restore support for -traditional semantics.
1293         * cpplex.c (_cpp_scan_line): Don't change space_before if we
1294         get a COMMENT token.
1295         (_cpp_lex_token): Provide COMMENT tokens to caller if
1296         traditional and parsing_define_directive.
1297         (skip_comment): Warn about // comments if -Wtraditional.
1298         * cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
1299         proper node type.
1300         (do_undef): Don't warn about undefining EMPTY nodes.
1301
1302 Sat Apr 22 22:35:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1303
1304         * loop.c (strength_reduce): Fix biv removal code.
1305
1306 2000-04-22  Richard Henderson  <rth@cygnus.com>
1307
1308         * predict.c (estimate_probability): Examine both sides of
1309         a branch for no exits.  Use 90% not 50% for predict taken.
1310         Reorg for one copy of note generation code.
1311
1312 2000-04-22  Richard Henderson  <rth@cygnus.com>
1313
1314         * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
1315
1316 2000-04-22  Richard Henderson  <rth@cygnus.com>
1317
1318         * diagnostic.c (init_output_buffer): Don't initialize format_args.
1319         (output_clear): Likewise.
1320         (output_printf): Use va_copy.
1321         (vline_wrapper_message_with_location): Likewise.
1322         (v_message_with_decl): Likewise.
1323         (line_wrapper_printf): VA_START infor buffer.format_args directly.
1324         * system.h (va_copy): Provide default implementation.
1325
1326 2000-04-22  Richard Henderson  <rth@cygnus.com>
1327
1328         * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
1329         the collected condition is not a constant.
1330
1331 2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>
1332
1333         * diagnostic.h: New file.
1334
1335         * Makefile.in (diagnostic.o): Depends on diagnostic.h
1336
1337         * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
1338         various function prototypes.
1339         (diagnostic.h): #include.
1340         (struct output_buffer): Move into diagnostic.h.
1341         (get_output_prefix): Rename to output_get_prefix.  Export.
1342         (init_output_buffer): Export. Break out.  Ajust intialization.
1343         (output_space_left, output_append): Export.
1344         (output_newline): Rename to output_add_newline.  Export.
1345         (output_clear): Nullify additional output_buffer fields.
1346         (output_puts): Rename to output_add_string.  Export.
1347         (dump_output): Rename to output_flush_on.  Export.
1348         (build_location_prefix): Constify return-type.
1349         (emit_output_prefix): Rename to output_emit_prefix. Export.
1350         (set_real_maximum_length): New function.
1351         (output_set_maximum_length): Ditto
1352         (output_clear): Ditto.
1353         (output_add_character): Ditto.
1354         (output_add_integer): Ditto.
1355         (output_add_space): Ditto.
1356         (output_format): Ditto.
1357         (output_printf): Adjust buffer initialization.
1358         (vline_wrapper_message_with_location): Ditto.
1359         (v_message_with_decl): Ditto.  Adjust call to output_puts
1360         and get_output_prefix.
1361         (default_print_error_function): Adjust buffer intialization.
1362
1363 Sat Apr 22 06:45:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1364
1365         * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
1366         of VOID_TYPE.
1367
1368 Fri Apr 21 18:33:09 2000  Alexandre Oliva  <aoliva@cygnus.com>
1369
1370         * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
1371         of explicit 0.
1372
1373 Fri Apr 21 18:30:00 2000  Alexandre Oliva  <aoliva@cygnus.com>
1374
1375         * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
1376         accurate data about SP moves.
1377
1378 Fri Apr 21 18:28:28 2000  Alexandre Oliva  <aoliva@cygnus.com>
1379
1380         * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
1381         aliases to AM33 registers.
1382
1383 Fri Apr 21 18:26:17 2000  Alexandre Oliva  <aoliva@cygnus.com>
1384
1385         * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
1386         to all EXTENDED bitmaps.
1387
1388 Fri Apr 21 18:17:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
1389
1390         * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
1391         * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
1392         * config/mn10300/mn10300.c (mn10300_address_cost): New function.
1393
1394 Fri Apr 21 18:11:56 2000  Alexandre Oliva  <aoliva@cygnus.com>
1395
1396         * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
1397         the operand is not constant.
1398
1399 Fri Apr 21 14:58:29 2000  Denis Chertykov  <denisc@overta.ru>
1400
1401         * reload.c (find_equiv_reg): Checks all valueno and regno regs
1402         as a call-clobbered regs.
1403
1404 Fri Apr 21 13:30:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1405
1406         * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
1407         * rtl.h: Likewise.
1408         * rtl.def: Update comment.
1409         * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
1410         * integrate.c (expand_inline_function): Likewise.
1411         * profile.c (branch_prob): Likewise.
1412         * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
1413         * print-rtl.c (print_rtx): Likewise.
1414         * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
1415         (reemit_notes): Likewise; also use enum insn_note.
1416
1417         * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
1418         (place_field): Properly compute know and actual alignment.
1419
1420         * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
1421         in proper format.
1422
1423         * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
1424         note for REG1.
1425
1426 2000-04-21  Zack Weinberg  <zack@wolery.cumb.org>
1427
1428         * cpphash.c (struct arg, struct arglist): Const-ify strings.
1429         (warn_trad_stringify, duplicate_arg_p): New helper functions.
1430         (collect_expansion): Rewrite to scan over a token list.
1431         Remove -traditional support.
1432         (collect_formal_parameters): Rename to collect_params; rewrite
1433         to scan over a token list.
1434         (_cpp_create_definition): Adjust to scan a token list.
1435         (_cpp_macroexpand): Remove -traditional support.
1436         (_cpp_compare_defs): Whitespace is now canonicalized.
1437         (comp_def_part): Delete function.
1438
1439         * cpphash.h: Update prototypes.
1440         * cpplex.c (init_token_list): Don't set lineno if there is no
1441         buffer.
1442         (pedantic_whitespace): New function.
1443         (_cpp_scan_line): Mark tokens that had hspace before.  Don't
1444         consume a newline.  Use pedantic_whitespace.
1445         (_cpp_lex_token): Remove support for -traditional macros.
1446         (_cpp_get_define_token): Delete.
1447         (_cpp_get_directive_token): Do the real work here.  Use
1448         pedantic_whitespace.
1449         (_cpp_init_input_buffer): Initialize pfile->directbuf.
1450
1451         * cpplib.c (get_macro_name): Delete.
1452         (do_define): Read the entire line into pfile->directbuf, then
1453         feed the token list to _cpp_create_definition.
1454         * cpplib.h (HSPACE_BEFORE): new define.
1455         (struct cpp_reader): Add a toklist member, "directbuf".
1456
1457         * predict.c (estimate_probability): New heuristic: if a jump
1458         branches around a block with no successors, predict it taken.
1459         Disentangle control flow.
1460
1461 2000-04-20  Richard Henderson  <rth@cygnus.com>
1462
1463         * loop.c (emit_iv_add_mult): Revert last change.
1464
1465 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
1466
1467         * cpplib.h (enum cpp_ttype): Add token types for all
1468         punctuators.  Distinguish pp-numbers from valid C numbers.
1469         Give some tokens better names.  Initialize from macro.
1470         (struct cpp_name, cpp_token, cpp_toklist): New data
1471         structures.
1472         Update prototypes.
1473         * cpplex.c (bump_column, expand_name_space,
1474         expand_token_space, init_token_list, cpp_output_list,
1475         _cpp_scan_line):  New functions.
1476         (output_line_command): Add third argument, new line number.
1477         * cpphash.h: Update prototypes.
1478         * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
1479         token names.
1480
1481 2000-04-20  Richard Henderson  <rth@cygnus.com>
1482
1483         * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
1484
1485 2000-04-20  Zack Weinberg  <zack@wolery.cumb.org>
1486
1487         * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
1488         object pointed to.
1489
1490 Thu Apr 20 14:19:18 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1491
1492         * loop.c (emit_iv_add_mult):  Simplify it's input and emit
1493         REG_EQUAL note explaining the calculated value.
1494
1495         * calls.c (expand_call): Avoid unnecesary precalculation
1496         and outgoing parameters space guarding for sibling calls.
1497         (store_one_arg): Likewise.
1498
1499 Thu Apr 20 08:01:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1500
1501         * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
1502         (rest_of_compilation): Write sibling dump file and account
1503         for time as jump time.
1504         * invoke.texi: Update documentation on dump flags.
1505
1506 2000-04-19  Marek Michalkiewicz  <marekm@linux.org.pl>
1507
1508         * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
1509
1510 2000-04-19  Zack Weinberg  <zack@wolery.cumb.org>
1511
1512         * cpphash.c (special_symbol): Represent an empty macro with
1513         "\r \r " not just "\r ".
1514         (_cpp_macroexpand): Correct condition for the foo ( ) special
1515         case.
1516         (unsafe_chars): Handle EOF as second argument.
1517         (push_macro_expansion): Simplify test for removing escape at
1518         end.  Do not trim both escapes if there is no text in between.
1519
1520 2000-04-19  Jim Blandy  <jimb@redhat.com>
1521
1522         * dwarf2out.c (DWARF2_ADDR_SIZE): New macro.  Use it instead
1523         of PTR_SIZE, when appropriate.
1524
1525 2000-04-19  Mark Mitchell  <mark@codesourcery.com>
1526
1527         * system.h (ONLY_INT_FIELDS): Make sure it is defined.
1528         (USE_ENUM_BITFIELDS): Fix typo.
1529
1530 Wed Apr 19 12:14:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1531
1532         * stor-layout.c (place_field): Set rli->offset_align properly.
1533
1534 2000-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1535
1536         * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
1537         INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
1538         PARM_BOUNDARY): Remove unnecessary casts.
1539
1540 Wed Apr 19 12:02:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1541
1542         * calls.c (precompute_arguments): Remove must_preallocate and
1543         args_size calls.
1544         (expand_call): Update call of precompute_arguments.
1545
1546         * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
1547         check_insn_for_givs): Break out from ...
1548         (strength_reduce) ... here; use for_every_insn_in_loop to call
1549         check_insn_for_givs.
1550         * loop.h (for_every_insn_in_loop): Declare.
1551         (loop_insn_callback): New type.
1552
1553 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
1554
1555         * cpplib.c (do_pragma_poison):  Strings in the token buffer are
1556         not nul-terminated.
1557
1558 Tue Apr 18 16:04:12 2000  Jim Wilson  <wilson@cygnus.com>
1559
1560         * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
1561         flag_pic and RELOC.
1562
1563 2000-04-18  Zack Weinberg  <zack@wolery.cumb.org>
1564
1565         * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
1566
1567         * configure.in: Delete --disable-cpplib option and all
1568         references to cpp_main.
1569         * configure: Regenerate.
1570         * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
1571         @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
1572         cccp.o, cccp, or cppmain.  Link cppmain.o straight to
1573         cpp$(exeext).  Add --no-headers to makeinfo command line when
1574         generating INSTALL.  Install and uninstall cpp.1 manpage, not
1575         cccp.1.
1576         * install.texi: Delete all references to cexp.y/cexp.c.
1577         Delete ancient instructions for compiling GCC on 3b1.
1578         * INSTALL: Regenerate.
1579
1580         * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
1581         mips/t-elf, mips/t-r3900: Remove references to cccp.c.
1582         * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
1583         cexp.c/cexp.y.
1584         * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
1585         which is no longer tested anywhere.
1586
1587         * cppinit.c (handle_option): Don't run error message through
1588         gettext twice.
1589
1590 Tue Apr 18 14:16:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1591
1592         * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
1593         * cpperror.c (hashtab.h): Now include.
1594         * cppexp.c (hashtab.h): Likewise.
1595         * cpplex.c (hashtab.h): Likewise.
1596         * cppfiles.c (hashtab.h): Likewise.
1597         (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
1598         to htab_find_slot_with_hash.
1599         * cpphash.c (hashtab.h): Now include.
1600         (_cpp_lookup_slot): INSERT is now enum insert_option.
1601         * cpphash.h (_cpp_lookup_slot): Likewise.
1602         * cppinit.c (hashtab.h): Include earlier.
1603         (initialize_builtins): Pass enum to htab_find_slot.
1604         * cpplib.c (hashtab.h): Now include.
1605         (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
1606         (do_pragma_poison, do_assert): Likewise.
1607         * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
1608         htab_find_slot_with_hash.
1609         * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
1610         * tree.c (type_hash_add): Likewise.
1611         (build1): Minor cleanup.
1612
1613         * ggc-common.c: Add missing blanks.
1614         * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
1615         * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
1616
1617         * stmt.c (mark_case_node): New function.
1618         (mark_case_nesting): Call it.
1619
1620         * expmed.c (emit_store_flag): If comparing two-word integer
1621         with zero, can optimize NE, EQ, GE, and LT.
1622
1623         * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
1624         * conflict.c: Minor cleanups.
1625         * optabs.c: Add blank line
1626         * simplify-rtx.c: Minor cleanups.
1627
1628 2000-04-18  Stan Cox  <scox@cygnus.com>
1629
1630         * gengenrtl.c (genlegend): Fix misspelling.
1631
1632 2000-04-18  Robert Lipe  <robertlipe@usa.net>
1633
1634         * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
1635         bitfields of the host compiler are not signed quantities.
1636         * config.in: Regenerate.
1637         * configure: Regenerate.
1638         * system.h (USE_ENUM_BITFIELDS): Added.
1639         (ENUM_BITFIELDS): Added.
1640         * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
1641         (SHORT_ENUM_BUG): Deleted.
1642         * tree.h (tree_common): Members `code', `mode', `built_in_class',
1643         now ENUM_BITFIELD.
1644         * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
1645         (CODE_FIELD_BUG): Likewise.
1646         * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
1647         (OLD_CC): Likewise.
1648         * config/m68k/x-ccur (X_CFLAGS): Likewise.
1649
1650 2000-04-18  Mark Mitchell  <mark@codesourcery.com>
1651
1652         * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
1653         mark is active.
1654
1655 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
1656
1657         * cppexp.c (lex): Don't assume tokens are NUL terminated.
1658         * cpplib.c (do_include, do_import, do_include_next,
1659         read_line_number, detect_if_not_defined): Likewise.
1660         * cpphash.c (collect_expansion): Likewise.
1661         (special_symbol, _cpp_macroexpand): Check return from
1662         cpp_file_buffer.
1663         * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
1664         macros.  Delete all uses.
1665
1666         * gcc.dg/cpp-mi.c: Add two more test cases.
1667         * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
1668
1669 2000-04-17  Richard Henderson  <rth@cygnus.com>
1670
1671         * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
1672         (reorder_basic_blocks): If no epilogue in rtl, force last block last.
1673
1674 2000-04-17  Mark Mitchell  <mark@codesourcery.com>
1675
1676         * function.c (expand_function_start): Use hard_function_value to
1677         compute the RTL to use for DECL_RESULT.
1678
1679 Mon Apr 17 23:35:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1680
1681         * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
1682         (x86_integer_DFmode_moves, x86_partial_reg_dependency,
1683          x86_memory_mismatch_stall): New global variables.
1684         (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
1685         alloved; fix load penalties for Athlon.
1686         * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
1687         x86_memory_mismatch_stall): Declare.
1688         (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
1689          TARGET_MEMORY_MISMATCH_STALL): New.
1690         * i386.md (athlon scheduling parameters): Fix latencies according to
1691         Athlon Optimization Manual.
1692         (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
1693         vector.
1694         (fsqrt instruction patterns): Set athlon_decode to direct.
1695         (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
1696         PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
1697         (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
1698         and TARGET_PARTIAL_REGISTER_STALL machines.
1699         (pushdf_nointeger): New pattern.
1700         (pushdf_integer): Rename from pushdf.
1701         (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
1702         (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
1703
1704 2000-04-17  Richard Henderson  <rth@cygnus.com>
1705
1706         * loop.c (canonicalize_condition): Add WANT_REG argument.
1707         Stop the search if we match it.
1708         * expr.h (canonicalize_condition): Update decl.
1709         * predict.c (expected_value_to_br_prob): Use it.  Track last
1710         expected value note.
1711         (find_expected_value): Remove.
1712
1713         * reorg.c (mostly_true_jump): Always use BR_PROB if present.
1714
1715 2000-04-17  Zack Weinberg  <zack@wolery.cumb.org>
1716
1717         * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
1718         (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
1719         a plain file.
1720         * configure.in: Call AC_FUNC_MMAP_FILE.
1721         * configure: Regenerate.
1722         * config.in: Regenerate.
1723
1724         * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
1725         * fixinc/fixincl.c: Likewise.
1726
1727 2000-04-17  Richard Henderson  <rth@cygnus.com>
1728
1729         * builtins.c (expand_builtin_expect): New.
1730         (expand_builtin): Call it.
1731         * builtins.def (BUILT_IN_EXPECT): New.
1732         * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
1733         * extend.texi: Document it.
1734
1735         * predict.c (expected_value_to_br_prob): New.
1736         (find_expected_value): New.
1737         * basic-block.h (expected_value_to_br_prob): Declare.
1738         * toplev.c (rest_of_compilation): Invoke it.
1739
1740         * rtl.h (NOTE_EXPECTED_VALUE): New.
1741         (NOTE_INSN_EXPECTED_VALUE): New.
1742         * rtl.c (note_insn_name): Update.
1743         * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
1744         cases; handle NOTE_INSN_EXPECTED_VALUE.
1745
1746 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
1747
1748         * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
1749         leaf sibcall delay slot if flag_pic.
1750         (output_sibcall): Always emit call for leaf sibcall if flag_pic.
1751
1752 2000-04-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1753
1754         * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
1755
1756         * fixproto: If fix-header fails, exit with an error.
1757
1758 Mon Apr 17 14:59:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1759
1760         * cse.c (struct check_depdendence_data): New.
1761         (check_dependence): New function.
1762         (invalidate): Use check_depdenence.
1763
1764 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
1765
1766         * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
1767         UNITS_PER_WORD is unsigned.
1768
1769         * tree.h (struct tree_common): Remove misleading comment.
1770
1771 2000-04-16  Dave Pitts  <dpitts@cozx.com>
1772
1773         * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
1774         message in quotes. Otherwise, IBM's make program treats the '#' as the
1775         start of a comment and ignores the remainder of the line.
1776
1777         * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
1778         upper case.
1779         * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
1780         * cexp.y (initialize_random_junk): Likewise.
1781         * cppfiles.c (find_include_file): Cast alloca return value.
1782         * cppinit.c (initialize_standard_includes): Likewise.
1783         * cpplib.c (cpp_define, cpp_undef): Likewise.
1784         * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
1785         * final.c (output_asm_insn): Allow for holes in EBCDIC.
1786         * fold-const.c (CHARMASK): New.
1787         (real_hex_to_f): Use it.
1788         * real.c (CHARMASK): New.
1789         (etoasc, asctoeg): Use it.
1790         (asctoeg): EBCDIC lower case characters preceed upper case.
1791
1792         * i370.c (mvs_add_label): Change spacing for coding conventions.
1793         * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
1794         outputing case vectors.
1795         (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
1796         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
1797         since vector in in the data CSECT.
1798         (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
1799         * i370.md (Many patterns): Put the length in the XL directives.
1800         (movdi): Put back STM and MVC in definition.
1801         (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
1802         pattern using the TCA.
1803         * oe.h (CPP_SPEC): Added to allow trigraphs.
1804         * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
1805         not support the "long long" type.
1806
1807 2000-04-16  Mark Mitchell  <mark@codesourcery.com>
1808
1809         * config/mips/mips-protos.h (mips_legitimate_address_p): New
1810         function.
1811         (mips_reg_mode_ok_for_base_p): Likewise.
1812         * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
1813         (REG_OK_FOR_INDEX_P): Define unconditionally.
1814         (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
1815         (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
1816         * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
1817         that GET_MODE_SIZE is unsigned.
1818         (mips_reg_mode_ok_for_base_p): Define.
1819         (mips_legitimate_address_p): Likewise.  Adjust now
1820         that GET_MODE_SIZE is unsigned.
1821         (block_move_loop): Make the number of bytes unsigned.
1822         (expand_block_move): Likewise.
1823         (function_arg): Make the loop counter unsigned to match the
1824         boundary condition.
1825
1826 2000-04-16  Richard Henderson  <rth@cygnus.com>
1827
1828         * rtl.h (enum insn_note): New enumeration.  Subsume
1829         NOTE_INSN_DELETED and friends.
1830         (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
1831         * rtl.c (note_insn_name): Tweak string order.
1832
1833 2000-04-15  Zack Weinberg  <zack@wolery.cumb.org>
1834
1835         * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
1836         to offset * 2.
1837
1838         * cpplex.c (output_line_command): Remove debugging prints.
1839         (cpp_output_tokens): Don't write out a zero-length buffer or
1840         try to see if it has a newline in it.
1841         (_cpp_expand_to_buffer): Copy the source buffer before pushing.
1842         (_cpp_read_and_prescan): Move shift-down of pushback bytes to
1843         the end of the loop.  Use memmove.  Don't read past the end of
1844         the buffer.  Remove trailing newlines from error messages.
1845
1846 2004-04-16  Neil Booth  <NeilB@earthling.net>
1847
1848         * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
1849         * cpplib.c: Add new syntax flags to directive table, and
1850         supporting macros.
1851
1852 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
1853
1854         * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
1855         using ret $N.
1856
1857 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
1858
1859         * toplev.c (display_help): Prefix "f" to "sched-verbose=".
1860         * haifa-sched.c: Update -fsched-verbose comments to use "=".
1861
1862 Sat Apr 15 10:59:19 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1863
1864         * Makefile.in (ggc-page.o): Now includes toplev.h.
1865         * ggc-page.c (toplev.h): Now included.
1866         (gc_time): Remove declaration.
1867         (ggc_collect): TIME now long.
1868         * toplev.c (parse_time, varasm_time, gc_time): Still global; all
1869         others static.
1870         * toplev.h (gc_time, parse_time, gc_time): New declarations.
1871
1872         * toplev.c: Make *_time variable long to reduce chance of overflow.
1873         (TIMEVAR): Likewise for `otime'.
1874         (print_time): Arg is now long; compute percentage in FP and round.
1875         * toplev.h (print_time): Arg is long.
1876
1877         * tree.c: Minor whitespace changes.
1878
1879         * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
1880         * configure: Rebuilt.
1881         * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
1882         (__fixunsxfDI): Renamed from __fixunsxfdi.
1883         (__fixunsdfDI): Renamed from __fixunsdfdi.
1884         (__fixunssfDI): Renamed from __fixunssfdi.
1885         (__floatdisf): Use proper type in REP_BIT macro.
1886         (__fixunsxfSI): Renamed from __fixunsxfsi.
1887         (__fixunsdfSI): Renamed from __fixunsdfsi.
1888         (__fixunssfSI): Renamed from __fixunssfsi.
1889         * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
1890         Change location of macros and upper-case some names as above.
1891         * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
1892         * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
1893
1894         * varasm.c (assemble_variable): Add cast to remove warning.
1895         (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
1896
1897         * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
1898         * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
1899         region number to -1.
1900
1901 2000-04-15  Richard Earnshaw (rearnsah@arm.com)
1902
1903         * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
1904         call unshare_all_rtl.
1905
1906         * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
1907
1908 Fri Apr 14 16:58:45 2000  Jim Wilson  <wilson@cygnus.com>
1909
1910         * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
1911         Use .s1 not .s0 for all FP instructions.
1912
1913 2000-04-14  Zack Weinberg  <zack@wolery.cumb.org>
1914
1915         * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
1916         interfaces.
1917         (safe_fwrite, output_line_command): New static functions.
1918         (cpp_expand_to_buffer): Now private to cpplib.
1919         (cpp_scan_buffer): Take a printer.
1920
1921         * cpphash.h: Update prototypes.
1922         * cpplib.h: Update prototypes.
1923         (cpp_printer): New.
1924         (cpp_buffer): Remove last_nominal_fname.
1925         (cpp_reader): Remove lineno.
1926
1927         * cppmain.c: Use a cpp_printer.
1928         * fix-header.c: No need to inhibit line commands.  Call
1929         cpp_start_read with no printer.
1930
1931         * cpperror.c (cpp_notice_from_errno): Provide default name.
1932         * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
1933         (find_include_file, cpp_read_file): Use make_IHASH.
1934         (file_cleanup): Set control_macro and clear
1935         input_stack_listing_current here.
1936         (_cpp_execute_include): Don't output entering-file marker.
1937         * cpphash.c (special_symbol): Look for the line number in the
1938         buffer, not the reader.
1939         (_cpp_macroexpand): No need to disable line commands.
1940         (_cpp_dump_definition): No need to generate line commands.
1941         (dump_hash_helper): Remove excess newline from output.
1942         * cppinit.c (dump_special_to_buffer): No need to generate line
1943         commands.
1944         (cpp_printer_init): New.
1945         (cpp_start_read): Take a printer, and start it up if it's not
1946         NULL.  No need to generate line commands.
1947         (cpp_finish): Expect no buffers stacked at all.  Take a
1948         printer argument, and flush the output buffer if it's not
1949         NULL.
1950         * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
1951         Don't put two hashes at the beginning of an assertion.
1952         (cpp_get_token): Don't increment pfile->lineno or emit line
1953         commands here.  Return EOF if there's no buffer when we get
1954         EOF.
1955         * cpplib.c (do_define, skip_if_group):
1956         No need to disable line commands.
1957         (_cpp_output_line_command): Delete function.
1958         (do_line): Don't emit line commands here, but set things up so
1959         they will be emitted if necessary.  Use _cpp_fake_ihash to
1960         make unique nominal_fnames if necessary.
1961         (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
1962         with 0 for column, not -1.
1963         (_cpp_handle_eof): Don't set the control macro here.  Don't
1964         clear input_stack_listing_current here.  Don't emit line
1965         commands.
1966
1967 2000-04-14  Geoff Keating  <geoffk@cygnus.com>
1968
1969         * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
1970         always, use the default SVR4 start address.
1971
1972         * config/rs6000/linux.h (LINK_SPEC): Don't define.
1973         (LINK_SHLIB_SPEC): Define.
1974         (LINK_START_DEFAULT_SPEC): Define.
1975         (LINK_OS_DEFAULT_SPEC): Define.
1976
1977         * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
1978
1979         * config/rs6000/eabi.asm (__eabi): Call __init rather than
1980         __do_global_ctors to handle constructors.
1981         * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
1982         (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
1983         (STARTFILE_MVME_SPEC): Likewise.
1984         (STARTFILE_SIM_SPEC): Likewise.
1985         (ENDFILE_ADS_SPEC): Use crtend.
1986         (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
1987         (ENDFILE_MVME_SPEC): Likewise.
1988         (ENDFILE_SIM_SPEC): Likewise.
1989         (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
1990         (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
1991         (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
1992         (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
1993         * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
1994         (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
1995         (CRTSTUFF_T_CFLAGS_S): Define.
1996         * config/rs6000/eabi-ctors.c: Delete.
1997
1998         * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
1999         boundary.
2000         (__fini): Likewise.
2001         * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
2002         boundary.
2003         (__fini): Likewise.
2004
2005 Fri Apr 14 16:09:02 2000  Jim Wilson  <wilson@cygnus.com>
2006
2007         * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
2008         plus mask size is smaller or equal to the mode size.
2009
2010 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2011
2012         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
2013         not yet set.
2014
2015         * expr.c (reload.h): Now included.
2016         (emit_block_move): Set volatile_ok when checking for movstr.
2017         (emit_move_1): Check for replacements in addresses in multi-word case.
2018         * Makefile.in (expr.o): Now includes reload.h.
2019
2020         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
2021         Never have a LIBCALL end a basic block.
2022         (find_basic_blocks_1): Likewise.
2023         Reorganize CALL_INSN cases.
2024
2025         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
2026
2027 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
2028
2029         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
2030         completers from mov.ret instruction.
2031
2032 2000-04-14  Richard Henderson  <rth@cygnus.com>
2033
2034         * fold-const.c (extract_muldiv): Don't distribute and widen
2035         multiply across plus for non-sizetype unsigned types.
2036
2037 2000-04-14  Richard Henderson  <rth@cygnus.com>
2038
2039         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
2040         If the original source is dead in the incr insn, it's dead now.
2041
2042 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2043
2044         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
2045         see if DECL_BIT_FIELD needs to still be set.
2046
2047         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
2048
2049         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
2050         print_int_cst_octal with something that's not an INTEGER_CST.
2051
2052         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
2053         and not a SUBREG to a FLOAT rtl.
2054
2055 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
2056
2057         * emit-rtl.c (try_split): Avoid infinite loop if the split
2058         results in a sequence that contains the original insn.
2059
2060 2000-04-13  Andreas Jaeger  <aj@suse.de>
2061
2062         * config/mips/mips.c (expand_block_move): Pass alignment
2063         argument to move_by_pieces in bits, not bytes.
2064
2065         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
2066         __pic__ for little endian.
2067
2068 2000-04-13  Andreas Jaeger  <aj@suse.de>
2069
2070         * config/i386/i386-protos.h: Add prototype for
2071         uno_comparison_operator.
2072
2073 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2074
2075         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
2076         * calls.c (ECF_PURE): New flag.
2077         (emit_call_1): Handle ECF_PURE calls.
2078         (initialize_argument_information): Unset ECF_PURE flag too.
2079         (precompute_arguments): Precompute for ECF_PURE too.
2080         (expand_call): Handle ECF_PURE calls too.
2081         (emit_library_call_value_1): Rename no_queue argument to fn_type,
2082         accept value of 2 as pure function.
2083         (emit_library_call_value, emit_library_call): Rename no_queue argument
2084         to fn_type.
2085         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
2086
2087         * tree.h (DECL_IS_PURE): New macro.
2088         (struct tree_decl): Add pure_flag.
2089         * c-common.c (enum attrs): Add attribute "pure".
2090         (init_attributes): Initialize attribute "pure"
2091         (decl_attributes): Handle attribute "pure".
2092         * extend.texi (Attribute "pure"): Document.
2093         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
2094         in pure function.
2095         (flags_from_decl_or_type): Support attribute "pure".
2096
2097 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
2098
2099         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
2100         the token except for numbers and identifiers.
2101
2102 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
2103
2104         * i386.c (ix86_expand_binary_operator,
2105         ix86_expand_unary_operator): Check no_new_pseudos
2106         instead of reload_in_progress and reload_completed.
2107         (ix86_split_ashldi, ix86_split_ashrdi,
2108         ix86_split_lshrdi): Check no_new_pseudos instead
2109         of reload_completed.
2110
2111 2000-04-12  Jeffrey A Law  (law@cygnus.com)
2112
2113         * function.c (purge_addressof): Unshare any shared rtl created by
2114         purge_addressof and its children.
2115
2116 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
2117
2118         * function.c (aggregate_value_p): VOID_TYPE nodes are never
2119         aggregates.
2120
2121 2000-04-05  Andreas Jaeger  <aj@suse.de>
2122
2123         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
2124         not compiling PIC code, add flags for mabi=64.
2125         (SUBTARGET_CPP_SIZE_SPEC): New.
2126         (SUBTARGET_CPP_SPEC): New.
2127         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
2128         for MIPS/Linux and lots of code needs these defines.
2129
2130 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
2131
2132         * reorg.c (fill_slots_from_thread): Check side_effects_p when
2133         trying the "opposite arithmetic" approach.
2134
2135 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2136
2137         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
2138         (struct sh_args): Add new field force_mem.
2139         (INIT_CUMULATIVE_ARGS): Initialize it.
2140         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
2141
2142 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2143
2144         * calls.c (expand_call): Do not reverse args in "equal from" field.
2145         (emit_library_call_value_1): Emit_libcall_block for const and pure
2146         function.
2147
2148 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2149
2150         * reload1.c (reload_combine): Don't enable optimization for fixed
2151         registers when encountering a BARRIER.
2152
2153 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2154
2155         * builtins.c (expand_builtin_memcmp): Do expansion even with
2156         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
2157
2158         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
2159         stack is propertly aligned; add sanity checking for aligned
2160         stack pointer.
2161         (expand_library_call_value_1): Add sanity checking for aligned
2162         stack pointer.
2163
2164 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
2165
2166         * calls.c (emit_library_call_value_1): Change 3rd arg to
2167         locate_and_pad_parm to disregard the setting of partial.
2168
2169 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2170
2171         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
2172
2173         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
2174         CALL_INSN from the normal case.
2175
2176 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2177
2178         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
2179         New global variables.
2180         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
2181         adjustment.
2182         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
2183         Declare,
2184         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
2185          TARGET_ADD_ESP_8): New macros.
2186         * i386.md: Add peep2s to convert esp adjustments to push and pop
2187         instructions.
2188         (pushsi_prologue, popsi_epilogue): New patterns.
2189
2190 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
2191
2192         * real.c (toe64): Remove stale #endif from the last change.
2193
2194 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
2195
2196         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
2197         * real.c (toe64): Revert previous change.
2198
2199 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
2200
2201         * objc/objc-act.c: Include ggc.h.
2202         (objc_tree_index, objc_global_trees): Convert most of the
2203         static tree variables into a static array with previous names
2204         as defines.
2205         (objc_ellipsis_node): New variable.
2206         (lang_init): Call objc_act_parse_init and c_parse_init.
2207         Create objc_ellipsis_node.
2208         (build_selector_translation_table): Use objc_ellipsis_node instead
2209         of (tree)1.
2210         (hack_method_prototype): Likewise.
2211         (get_arg_type_list): Likewise.
2212         (start_method_def): Likewise.
2213         (continue_method_def): Likewise.
2214         (gen_method_decl): Likewise.
2215         (ggc_mark_imp_list): New function.
2216         (ggc_mark_hash_table): New function.
2217         (objc_act_parse_init): New function.
2218         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
2219         * c-parse.in (c_parse_init): For objc add roots of objc specific
2220         local tree variables.
2221         * objc/objc-parse.y: Rebuilt.
2222         * objc/objc-parse.c: Rebuilt.
2223         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
2224
2225 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
2226
2227         * cse.c (delete_trivially_dead_insns): Also delete insns
2228         that copy a register to itself where the destination is
2229         a strict_low_part.
2230
2231 2000-04-11  Richard Henderson  <rth@cygnus.com>
2232
2233         * flow.c (struct propagate_block_info): Add new_dead, new_live.
2234         (propagate_block): Initialize them.  Use them in parallel instead
2235         of one tmp variable, ie revert much of the 0408 and 0407 functional
2236         changes, but keep the structural changes.
2237         (mark_set_regs): Take new_dead from propagate_block_info instead.
2238         (mark_set_1, mark_set_reg): Likewise.
2239         (mark_used_regs): Likewise with new_live.
2240         (mark_used_reg): Likewise.  Revert 0408 change.
2241
2242 2000-04-11  Nick Clifton  <nickc@cygnus.com>
2243
2244         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
2245         restriction.
2246         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
2247
2248 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2249
2250         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
2251         const section to output a CONSTRUCTOR based on the same conditions
2252         used for VAR_DECLs.
2253
2254 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
2255
2256         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
2257         * pa/pa-protos.h (output_call): Add additional argument indicating
2258         if the call is a sibling/tail call.
2259         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
2260         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
2261         (function_arg, function_arg_partial_nregs): Likewise
2262         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
2263         (emit_move_sequence): Zero extend certain constants as needed
2264         for TARGET_64BIT.
2265         (compute_zdepdi_operands, output_64bit_and): New functions.
2266         (output_64bit_ior, function_arg): Likewise.
2267         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
2268         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
2269         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
2270         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
2271         (output_bvb): Likewise.
2272         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
2273         (output_call): New argument 'sibcall'.  Generate sibcall sequences
2274         as needed.
2275         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
2276         (ouput_arg_descriptor): Do not emit argument descriptors for
2277         TARGET_64BIT.
2278         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
2279         defined.
2280         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
2281         (FUNCTION_OK_FOR_SIBALL): Define.
2282         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
2283         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
2284         (CPP_SPEC): Use new spec infrastructure.
2285         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
2286         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
2287         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
2288         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
2289         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
2290         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
2291         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
2292         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
2293         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
2294         (FUNCTION_ARG); Call out to C code.
2295         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
2296         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
2297         (MIN_UNITS_PER_WORD): Likewise.
2298         * pa/pa.md (cmpdi): New expander.
2299         (scc patterns, movstrsi): Not available for TARGET_64BIT.
2300         (64bit conditional arithmetic): New patterns.
2301         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
2302         (movsicc): Not available if modes on all the operands to not match.
2303         (movdicc): New expander and associated patterns.
2304         (64bit branches): New patterns.
2305         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
2306         (pre_ldd, post_std): New patterns.
2307         (64bit addil, load low part): New patterns.
2308         (special movsf constant): Not available for TARGET_64BIT.
2309         (movsf, movdf expanders): Force constants into memory.
2310         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
2311         (64bit movdf/movdi patterns): New patterns.
2312         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
2313         for TARGET_64BIT.
2314         (extendqidi2, extendhidi2, extendsidi2): Similarly.
2315         (adddi3 expander): Allow "arith_operand" for second input.
2316         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
2317         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
2318         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
2319         (muldi3): New expander for TARGET_64BIT.
2320         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
2321         for TARGET_64BIT.
2322         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
2323         patterns for TARGET_64BIT.
2324         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
2325         patterns for TARGET_64BIT.
2326         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
2327         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
2328         (sibcall_epilogue): New expander.
2329         (casesi): Tweak for TARGET_64BIT.
2330         (call expanders): Set & use the outgoing argument pointer.  Use the
2331         64bit call patterns as needed. Add additional arg to output_call.
2332         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
2333         (sibcall, sibcall_internal_symref): New expanders.
2334         (sibcall_value, sibcall_value_internal_symref
2335         (interspace_jump): Turn into an expander + matching patterns.
2336         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
2337         * pa/pa64-regs.h: Eliminate trigraph sequences.
2338         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
2339
2340 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
2341
2342         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
2343         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
2344         cpp_token with cpp_ttype everywhere.
2345         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
2346         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
2347         CPP_BUF_COL.  Line and column numbers are unsigned int, not
2348         long.
2349         * cpplex.c (cpp_buf_line_and_col): Delete.
2350         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
2351         'long lineno' to 'unsigned int lineno'.
2352         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
2353
2354 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2355
2356         * extend.texi: ISO C99 is not a draft anymore.
2357         * invoke.texi: ISO C++ is not a draft anymore.
2358         * cpp.texi: __cplusplus is required by the ISO standard.
2359
2360         * extend.texi (-fthis-is-variable): Undocument.
2361         * flags.h (warn_template_debugging): Remove declaration.
2362         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
2363         -Wenum-clash, -Wtemplate-debugging): Undocument.
2364
2365 2000-04-10  Nick Clifton  <nickc@cygnus.com>
2366
2367         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
2368         integer.
2369         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
2370         integer.
2371         (ARM_SIGN_EXTEND): Use HOST_UINT.
2372         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
2373         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
2374         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
2375         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
2376
2377         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
2378         (arm_gen_constant): Use HOST_UINT.
2379         (arm_canonicalize_constant): Use HOST_UINT.
2380         (arm_reload_in_hi): Use HOST_UINT.
2381         (arm_reload_out_hi): Use HOST_UINT.
2382         (output_multi_immediate): Use HOST_UINT.
2383         (int_log2): Use HOST_UINT.
2384         (arm_poke_function_name): Use HOST_UINT.
2385         (arm_output_epilogue): Use arm_volatile_func().
2386         (output_thumb_prologue): Use arm_strip_name_encoding().
2387
2388 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2389
2390         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
2391         of sequence point problems.
2392
2393 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
2394
2395         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
2396         Recomment.
2397         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
2398
2399 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2400
2401         * sbitmap.h: Whitespace changes and use upper-case macro args.
2402         (struct simple_bitmap_def): All sizes now unsigned.
2403         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
2404         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
2405         (sbitmap_vector_alloc): Parms and local vars now unsigned.
2406         (sbitmap_zero): Cast bzero arg to PTR.
2407         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
2408         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
2409         loop to make structure clearer.
2410         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
2411         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
2412         (sbitmap_a_and_b_or_c): Likewise.
2413         (sbitmap_intersection_of_succs): Minor cleanups.
2414         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
2415         (sbitmap_union_of_preds): Likewise.
2416         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
2417         (debug_sbitmap): New function.
2418
2419         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
2420         * c-typeck.c (convert_for_assignment): Likewise.
2421
2422         * expmed.c (init_expmed): Don't free objects we make.
2423         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
2424
2425         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
2426         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
2427
2428         * gcse.c (expr_hash_table_size): Now unsigned.
2429         (compute_ae_gen): Local variable `i' now unsigned.
2430         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
2431         (compute_transout, hoist_code): Likewise.
2432         (compute_local_properties): Likewise, also hash_table_size.
2433         (alloc_expr_hash_table): N_INSNS now unsigned.
2434         (delete_null_pointer_checks): Mark arg F as unused.
2435
2436         * regrename.c: Minor cleanups, including chang some variables
2437         to unsigned int.
2438
2439 2000-04-10  Neil Booth  <NeilB@earthling.net>
2440
2441         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
2442         than GETC ().
2443         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
2444
2445 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2446
2447         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
2448         __classof__, and __headof__ from the list of gnu keywords.
2449         (-ansi): Remove -foperator-names from list of implied options.
2450         Do not call it ANSI C++.
2451         (-foperator-names): Document as -fno-operator-names.
2452
2453 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
2454
2455         * cpphash.c (timestamp): Delete.
2456         (del_HASHNODE): If type is T_MCONST, free value.cpval.
2457         (special_symbol): Remove unnecessary braces.  Remove
2458         T_VERSION.  Treat T_STDC like T_CONST unless
2459         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
2460         when one is encountered, then convert them into T_MCONST
2461         nodes.
2462         * cppinit.c (builtin_array): version_string is T_MCONST.
2463         __STDC__ has a "1" in its cpval.  Don't have a terminator
2464         entry.  Clean up which entries are dumped.
2465         (initialize_builtins): Only __STDC__ gets the special
2466         -traditional treatment.  Count the length of builtin_array.
2467         Render version_string here.
2468         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
2469         * cpplib.h (struct cpp_reader): Remove timebuf.
2470
2471 2000-04-09  Richard Henderson  <rth@cygnus.com>
2472
2473         * genrecog.c (pred): Update comparison_operator for the unordered
2474         operators.
2475
2476         * config/i386/i386.c (no_comparison_operator): Disallow unordered
2477         operators.
2478         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
2479         (uno_comparison_operator): New.
2480         (put_condition_code): Handle UNORDERED/ORDERED.
2481         (unsigned_comparison): Likewise.
2482         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
2483         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
2484         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
2485         update all callers.  Handle all 8 unordered operators.
2486         (ix86_expand_setcc): Lose the unordered argument, update all callers.
2487         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
2488         * config/i386/i386.h (PREDICATE_CODES): Update.
2489         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
2490         (ix86_expand_branch, ix86_expand_setcc): Update.
2491         * config/i386/i386.md (sunordered, sordered): New.
2492         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
2493         (bunordered, bordered): New.
2494         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
2495         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
2496         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
2497
2498 2000-04-09  Philip Blundell  <philb@gnu.org>
2499
2500         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
2501
2502 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
2503
2504         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
2505         fix_truncxfhi2): New patterns.
2506         * i386.c (output_fix_trunc): Handle converting to HImode.
2507
2508 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
2509
2510         * ssa.c (convert_to_ssa): Eliminate dead code when calling
2511         life_analysis.
2512         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
2513         (for_each_successor_phi): Change parameter to basic_block.
2514         (coalesce_regs_in_successor_phi_nodes): Likewise.
2515         (coalesce_regs_in_copies): Likewise.
2516         (compute_coalesced_reg_partition): Use basic_block instead of index.
2517         * rtl.h (convert_to_ssa): Delete.
2518         (convert_from_ssa): Likewise.
2519         (successor_phi_fn): Likewise.
2520         (for_each_successor_phi): Likewise.
2521         (in_ssa_form): Likewise.
2522         * basic-block.h (convert_to_ssa): Moved from rtl.h.
2523         (convert_from_ssa): Likewise.
2524         (successor_phi_fn): Likewise.
2525         (in_ssa_form): Likewise.
2526         (for_each_successor_phi): Likewise.  Change parameter to basic_block.
2527         * flow.c (calculate_global_regs_live): Pass a basic_block to
2528         for_each_successor_phi.
2529
2530 2000-04-08  Richard Henderson  <rth@cygnus.com>
2531
2532         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
2533         was modified in the current insn.
2534
2535 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
2536
2537         * arm/thumb.md: Delete.
2538         * arm/thumb-protos.h: Delete.
2539
2540 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
2541
2542         Merge changes from merged-arm-thumb-backend-branch onto trunk.
2543
2544         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
2545
2546         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
2547         into branch.
2548
2549         * arm.md (nop): Use the standard RTL expression.  Don't code as a
2550         define_expand.
2551         (*arm_nop, *thumb_nop): Delete.
2552
2553         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
2554         constants.  Use casts instead.
2555         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
2556         output_multi_immediate, arm_poke_function_name): Likewise.
2557         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
2558         MASK_RETURN_ADDDR): Likewise.
2559
2560         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
2561
2562         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
2563         into branch.
2564
2565         * arm.md (eh_epilogue): New function.
2566         * arm.h (struct machine_function): Move to here ...
2567         * arm.c: ... from here.
2568         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
2569         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
2570         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
2571
2572         2000-03-30  Nick Clifton  <nickc@cygnus.com>
2573
2574         * config/arm/semi.h (ASM_SPEC): Restore definition.
2575         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
2576
2577         * config/arm/elf.h (ASM_SPEC): Restore definition.
2578         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
2579
2580         * config/arm/arm.h (ASM_SPEC): Remove definition.
2581         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
2582
2583         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
2584
2585         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
2586
2587         2000-03-24  Nick Clifton  <nickc@cygnus.com>
2588
2589         Various formating tidyups, elimination of compile time
2590         warnings and synchronisation with internal sources:
2591
2592         * config/arm/arm-protos.h (assemble_align): Add prototype.
2593         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
2594         (gen_comapre_reg): Rename to arm_gen_compare_reg.
2595         (arm_return_addr_rtx): Rename to arm_return_addr.
2596
2597         * config/arm/arm.c: Include except.h.
2598         Define shorter typenames for strict minipool_node and struct
2599         minipool_fix.
2600         (arm_return_in_memory): For WinCE return all structures <= 32 bits
2601         in memory.
2602         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
2603         (gen_comapre_reg): Rename to arm_gen_compare_reg.
2604
2605         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
2606         already defined.
2607         (ASM_SPEC): Define if not already defined.
2608         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
2609
2610         * config/arm/arm.md: Rename references to gen_rotated_half_load to
2611         arm_gen_rotated_half_load, and references to gen_comapre_reg to
2612         arm_gen_compare_reg.
2613         (indirect_jump):  Only accept register operands.
2614         (load_indirect_jump): Keep this pattern since combine can generate
2615         it.
2616
2617         * config/arm/coff.h: Include aout.h.
2618         (MULTILIB_DEFAULTS): Only define if not already defined.
2619
2620         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
2621         into arm.h (so that COFF ports can support thumb based aliases).
2622         (ASM_SPEC): Move definition into arm.h
2623
2624         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
2625         redundant apcs spec.
2626         (ASM_SPEC): Move definition to arm.h
2627
2628         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
2629
2630         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
2631         for entries in the .bss section
2632
2633         2000-03-23  Nick Clifton  <nickc@cygnus.com>
2634
2635         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
2636         to thumb_far_jump_used_p.
2637
2638         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
2639         single integer parameter.
2640
2641         * config/arm/arm.c (struct machine_function): Add two new
2642         fields, 'far_jump_used' and 'arg_pointer_live'.
2643         (thumb_far_jump_used_p): Once the decision has been made that
2644         far jumps might be used, always return true.
2645         If being called from the initial elimination offset macro then
2646         do not bother to perform the test if the arg pointer is not
2647         being used.
2648         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
2649         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
2650
2651         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
2652
2653         * arm.c (output_return_instruction): Handle more cases where we can
2654         return from a function with an ldr instruction.
2655         (arm_output_epilogue): Likewise.
2656
2657         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
2658         if we need to push a large stack frame and there are no callee-saved
2659         registers.
2660
2661         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
2662         in ARM code if the frame pointer has been eliminated.
2663
2664         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
2665         unspec_volatile arguments to avoid duplicates.
2666         (consttable_1, consttable_2): Fixes for big-endian mode.
2667
2668         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
2669         as appropriate.
2670
2671         Re-write constant pool code.
2672         * arm.c (minipool_node, minipool_fix): New types.
2673         (minifix): Delete type.
2674         (arm_add_minipool_constant): Delete.
2675         (arm_compute_minipool_offsets, arm_find_barrier,
2676         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
2677         (get_jump_table_size): Now returns HOST_WIDE_INT.
2678         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
2679         functions.
2680         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
2681         (assign_minipool_offsets, arm_print_value): Likewise.
2682         (dump_minipool): Rewrite.
2683         (arm_barrier_cost): New function.
2684         (create_fix_barrier): New function.
2685         (push_minipool_barrier): New function.
2686         (push_minipool_fix): Record additional information about the fixup
2687         required.
2688         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
2689         check the mode of what needs fixing.
2690         (arm_reorg): Rewrite.
2691
2692         2000-03-08  Nick Clifton  <nickc@cygnus.com>
2693
2694         * config/arm/arm.md (indirect_jump): Force constant addresses into
2695         a register.
2696
2697         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
2698
2699         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
2700
2701         2000-02-24  Nick Clifton  <nickc@cygnus.com>
2702
2703         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
2704         adjust is word aligned.
2705         (thumb_expand_epilogue): Make sure that stack adjust is word
2706         aligned.
2707
2708         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
2709
2710         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
2711
2712         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
2713         pointer relative addresses.
2714
2715         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
2716
2717         * arm.c (find_barrier): Find the last barrier within the allowed
2718         range.
2719
2720         2000-02-09  Nick Clifton  <nickc@cygnus.com>
2721
2722         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
2723
2724         2000-02-09  Nick Clifton  <nickc@cygnus.com>
2725
2726         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
2727         ARM_FUNCTION_PROFILER.
2728
2729         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
2730         ARM_FUNCTION_PROFILER.
2731
2732         * config/arm/linux-oldld.h: Imported from mainline sources.
2733
2734         2000-02-07  Nick Clifton  <nickc@cygnus.com>
2735
2736         * config/arm/lib1funcs.asm: Merge in thumb functions from
2737         lib1thumb.asm.
2738
2739         * config/arm/lib1thumb.asm: Delete.
2740
2741         2000-02-04  Nick Clifton  <nickc@cygnus.com>
2742
2743         * config/arm/arm.c: Sychronised with current Red hat local
2744         sources.
2745         * config/arm/arm.h: Ditto.
2746         * config/arm/arm-protos.h: Ditto.
2747
2748         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
2749
2750         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
2751
2752         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
2753         byte stores.
2754
2755         2000-02-02  Nick Clifton  <nickc@cygnus.com>
2756
2757         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
2758
2759         * config/arm/arm.md (epilogue): Fix rtl checking abort because
2760         (return) was emited using an emit_insn() call.
2761
2762         2000-01-31  Nick Clifton  <nickc@cygnus.com>
2763
2764         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
2765         thumb stack frame.
2766         (thumb_exit): Move frame pointer back into hard frame pointer
2767         register if backtracing is being used.
2768
2769         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
2770
2771         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
2772         into branch.
2773
2774         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
2775
2776         * config/arm/arm.md (neg_pool_offset): Provide default for new
2777         attribute.
2778         (arm_movsi_insn): Add neg_pool_offset attribute.
2779         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
2780         rtx for the insn that starts the scan and an unsigned long for its
2781         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
2782         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
2783         instructions in *PINSERTED.
2784         (struct minipool_fixup): Add MIN_ADDRESS elt.
2785         (sort_fixups): Compute it.
2786         (arm_reorg): Changes to support inserting pools before the insn to be
2787         fixed up.
2788
2789         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
2790
2791         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
2792         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
2793         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
2794
2795         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
2796
2797         * config/arm/semi.h (TARGET_VERSION): Do not define if already
2798         defined.
2799         (TARGET_DEFAULT): Do not define if already defined.
2800
2801         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
2802
2803         * config/arm/arm.md (anddi3): Allow disjoint source operands.
2804         (iordi3): Allow disjoint source operands.
2805         (xordi3): Allow disjoint source operands.
2806         (negdi2): Permit construction for ARM and Thumb.
2807         (arm_negdi2): Renamed version of old negdi2 pattern.
2808         (thumb_negdi2): New pattern: Only permit non-overlapping
2809         source and destination.
2810
2811         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
2812
2813         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
2814         scratch low register so that it will not be deleted.
2815
2816         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
2817
2818         * config/arm/pe.h (ARM_PE): Define.
2819
2820         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
2821         interfacearm attribute if this is a PE toolchain.
2822         (output_return_instruction): Do not emit anything if the function
2823         has the naked attribute set.
2824         (is_called_in_ARM_mode): If the function has the interfacearm
2825         attribute then return true.
2826         (thumb_expand_prologue): Do not generate a prologue for naked
2827         functions.
2828         (thumb_expand_epilogue): Do not generate an epilogie for a naked
2829         function.
2830         (output_thumb_prologue): Do not bother if the function is naked.
2831         Strip PE encoding from function name before emitting.
2832
2833         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
2834
2835         * arm.md (pic_load_addr): Fix constraints.
2836
2837         * arm.md (casesi_insn): Fix mis-applied patch.
2838
2839         * arm.md ("core" function unit): Add rules for single- and
2840         multi-cycle insns.
2841         (All TARGET_THUMB patterns): Add "type" attribute information
2842         where needed.
2843         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
2844         the following insn is a CALL.
2845
2846         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
2847         pointer.
2848         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
2849         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
2850         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
2851
2852         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
2853
2854         * config/arm/linux-gas.h: oops - this file was missed out when the
2855         branch was created...
2856
2857         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
2858
2859         * thumb.c: Deleted.  Move contents to ...
2860         * arm.c: ... here.
2861         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
2862         rule for thumb.o
2863         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
2864         * configure: Regen.
2865
2866         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
2867         declare a prototype for asm_output_align();
2868
2869         * arm.c (thumb_condition_code): Delete.
2870         (arm_print_operand): Always use arm_condition_code array.
2871
2872         * arm.c (thumb_return_addr_rtx): Delete.
2873         (arm_save_machine_status, arm_restore_machine_status): Delete.
2874         (arm_init_machine_status, arm_mark_machine_status): New functions.
2875         (arm_init_expanders): Update accordingly.
2876         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
2877         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
2878         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
2879
2880         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
2881
2882         * configure.in : Fix arm-*-aout target to use new t-arm-aout
2883         script.
2884         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
2885         targets.
2886
2887         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
2888
2889         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
2890         stack backtrace structure.
2891
2892         * config/arm/arm-protos.h: Add prototypes for functions defined in
2893         arm/pe.h.
2894
2895         * config/arm/arm.c (arm_override_options): Fix selection of
2896         attributes of default processor.
2897
2898         * config/arm/coff.h: Delete needless #include.
2899
2900         * config/arm/pe.c: Delete unused code.
2901
2902         * config/arm/pe.h (CPP_DEFINES): Delete
2903         (SUBTARGET_CPP_SPEC): Define.
2904         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
2905
2906         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
2907
2908         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
2909
2910         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
2911         updated.
2912         (CAN_DEBUG_WITHOUT_FP): Define.
2913         (FIXED_REGISTERS): Make r11 call-saved.
2914         (CALL_USED_REGISTERS): Likewise.
2915         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
2916         (FRAME_POINTER_REQUIRED): Correct logic for determining when a
2917         frame-pointer is required.
2918         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
2919         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
2920         if the target normally needs a stack frame in non-leaf functions.
2921         (use_return_insn): Correct logic for determining when a return
2922         instruction can be used.
2923         (output_return_instruction): Handle the frame-pointer register as
2924         a normal register when not TARGET_APCS_FRAME.
2925         (arm_output_prologue): Likewise.
2926         (arm_output_epilogue): Likewise.
2927         (output_func_epilogue): Likewise.
2928         (arm_expand_prologue): Likewise.
2929         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
2930
2931         * arm.c (use_return_insn): No need to check floating point regs if
2932         TARGET_SOFT_FLOAT.
2933         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
2934         the code of value stored in the minipool array.
2935         (arm_add_minipool_constant): Likewise.
2936
2937 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2938
2939         * basic-block.h (conflict_graph_enum_fn): K&R fix.
2940
2941 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2942
2943         * tree.c (tree_expr_nonnegative_p): New function.
2944
2945         * tree.h (tree_expr_nonnegative_p): Declare.
2946
2947         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
2948         elide some sign_compare warnings.
2949         (build_conditional_expr): Likewise.
2950
2951 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
2952
2953         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
2954
2955         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
2956         * i386.c (print_operand): Use the proper suffix for a 387 HImode
2957         operand.  Abort if a 387 operand has an unsupported size.
2958
2959 2000-04-08  Neil Booth  <NeilB@earthling.net>
2960
2961         * cppexp.c (parse_charconst): Null does not end character
2962         constants.
2963         * cppinit.c (ISTABLE): Null character handled as whitespace.
2964         * cpplex.c (null_warning):  new function.
2965         (skip_string): Emit warning if nulls encountered.
2966         (_cpp_skip_hspace): Emit warning if nulls encountered.
2967         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
2968         them.
2969         * cpp.texi: Update.
2970
2971 2000-04-07  Richard Henderson  <rth@cygnus.com>
2972
2973         * flow.c (loop_depth): Remove.
2974         (reg_next_use, cc0_live, mem_set_list): Replace with ...
2975         (struct propagate_block_info): New.
2976         (life_analysis): Don't allocate reg_next_use.
2977         (propagate_block_delete_insn): Break out of propagate_block.
2978         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
2979         (propagate_block_delete_libcall): Likewise.
2980         (propagate_block): Create a propagate_block_info struct to pass
2981         to subroutines.  Allocate one not two temporary regsets.  Don't
2982         clobber memory for const calls.  Look for clobbers in
2983         CALL_INSN_FUNCTION_USAGE.
2984         (mark_set_regs): Recognize COND_EXEC.
2985         (mark_set_reg): Break out of mark_set_1.
2986         (mark_used_reg): Break out of mark_used_regs.
2987         (mark_used_regs): Recognize COND_EXEC.
2988         (insn_dead_p): Use propagate_block_info struct.
2989         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
2990         (find_auto_inc, try_pre_increment_1): Likewise.
2991         (print_rtl_with_bb): Dump regs live at end too.
2992         (count_reg_sets_1): Pass in loop_depth.
2993         (count_reg_sets, count_reg_references): Likewise.
2994         (recompute_reg_usage): Provide it.
2995
2996 2000-04-07  Richard Henderson  <rth@cygnus.com>
2997
2998         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
2999         not the raw files.
3000
3001 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
3002
3003         * cpplib.c (do_elif): Skip the rest of the line if we're
3004         not going to bother evaluating it.
3005         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
3006         to avoid pointless calls to the lexer.
3007
3008 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
3009
3010         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
3011
3012 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
3013
3014         * calls.c (expand_call): emit_queue if we're trying a sibcall.
3015
3016 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
3017
3018         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
3019
3020 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
3021
3022         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
3023         crtend so they can be multilibbed.
3024         (STAGESTUFF): Remove s-crt and s-crtS.
3025
3026 2000-04-07  Richard Henderson  <rth@cygnus.com>
3027
3028         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
3029         if we discover we need a pseudo and no_new_pseudos is true.
3030         * config/alpha/alpha.md (ne:DI insn): New.
3031         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
3032
3033 2000-04-07  Richard Henderson  <rth@cygnus.com>
3034
3035         * rtl.def (COND_EXEC): New.
3036         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
3037         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
3038
3039         * genconfig.c (have_cond_arith_flag): Remove.
3040         (have_cond_exec_flag): New.
3041         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
3042         (main): Print HAVE_conditional_execution.
3043
3044         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
3045         (sched_analyze_insn, print_pattern): Likewise.
3046         * reload.c (find_equiv_reg): Likewise.
3047         * rtlanal.c (reg_referenced_p): Likewise.
3048         (note_stores, dead_or_set_regno_p): Likewise.
3049         (reg_overlap_mentioned_p): Rewrite to use a switch.
3050
3051         * ggc.h (struct rtx_def): Forward declare.
3052
3053         * print-rtl.c (debug_rtx_range): New.
3054         * rtl.h (debug_rtx_range): Declare.
3055
3056         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
3057
3058         * gcse.c (gcse_main): Don't rebuild the CFG here.
3059         (delete_null_pointer_checks): Likewise.
3060         * ssa.c (convert_to_ssa): Likewise.
3061         * toplev.c (rest_of_compilation): Do it here instead.  Combine
3062         sequential calls to TIMEVAR.  Consistently use `insns' instead of
3063         `get_insns()'.  Always split insns after reload when optimizing.
3064
3065         * basic-block.h (merge_blocks_nomove): Declare.
3066         (tidy_fallthru_edge): Declare.
3067         * flow.c (merge_blocks_nomove): Document as merging into previous
3068         blocks.  Remove cruft from between blocks; remove all edges out of A.
3069         (tidy_fallthru_edge): Export.
3070
3071 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
3072
3073         * ssa.c (compute_conservative_reg_partition): Declare with
3074         void arguments.
3075         * toplev.c (clean_dump_file): Remove previously-deleted function
3076         inadvertantly merged back in.
3077         * conflict.c (conflict_graph_add): Use a single call to
3078         htab_find_slot to look up and insert.
3079
3080 2000-04-06  Richard Henderson  <rth@cygnus.com>
3081
3082         * genrecog.c (*): Rename _last_insn to last_insn.
3083         (make_insn_sequence): Set the position of the peephole2 C test
3084         to be at the last insn.
3085
3086 2000-04-06  Richard Henderson  <rth@cygnus.com>
3087
3088         * flow.c (compute_flow_dominators): Free worklist.
3089
3090 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
3091
3092         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
3093
3094 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
3095
3096         * rtl.h (INSN_P): New macro.
3097         (successor_phi_fn): New typedef.
3098         (for_each_successor_phi): New prototype.
3099         (in_ssa_form): New variable.
3100         (PHI_NODE_P): Likewise.
3101         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
3102         phi nodes in successors.
3103         (mark_used_regs): Add PHI case.
3104         (set_phi_alternative_reg): New function.
3105         (life_analysis): Assert that dead code elimination is not selected
3106         when in SSA form.
3107         * toplev.c (to_ssa_time): New variable.
3108         (from_ssa_time): Likewise.
3109         (compile_file): Zero to_ssa_time and from_ssa_time.
3110         Print time to convert to and from SSA.
3111         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
3112         (print_time): Compute percent fraction as integer.
3113         * ssa.c (PHI_NODE_P): Moved to rtl.h.
3114         (convert_to_ssa): Check if we're already in SSA.
3115         Don't eliminate dead code in life_analysis.
3116         Rerun flow and life analysis at bottom.
3117         (eliminate_phi): Use canonical regnos when adding nodes.
3118         (mark_reg_in_phi): New function.
3119         (mark_phi_and_copy_regs): Likewise.
3120         (convert_from_ssa): Rerun life analysis at top.
3121         Use coalesced partition.
3122         Check for removing a phi node at the end of the block.
3123         (compute_coalesced_reg_partition): New function.
3124         (coalesce_regs_in_copies): Likewise.
3125         (coalesce_reg_in_phi): Likewise.
3126         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
3127         (for_each_successor_phi): Likewise.
3128         (rename_context): New struct.
3129         (rename_block): Use a rename_context with rename_insn_1.  When
3130         renaming sets of a subreg, emit a copy of the entire reg first.
3131         (rename_insn_1): Treat data as a rename_context *.  Save current
3132         insn in set_data.
3133         (rename_set_data): Add field set_insn.
3134         * Makefile.in (HASHTAB_H): Move up in file.
3135         (OBSTACK_H): New macro.
3136         (collect2.o): Use OBSTACK_H in dependencies.
3137         (sdbout.o): Likewise.
3138         (emit-rtl.o): Likewise.
3139         (simplify-rtx.o): Likewise.
3140         (fix-header.o): Likewise.
3141         (OBJS): Add conflict.o.
3142         (conflict.o): New rule.
3143         * basic-block.h: Include partition.h.
3144         (conflict_graph): New typedef.
3145         (conflict_graph_enum_fn): Likewise.
3146         (conflict_graph_new): New prototype.
3147         (conflict_graph_delete): Likewise.
3148         (conflict_graph_add): Likewise.
3149         (conflict_graph_conflict_p): Likewise.
3150         (conflict_graph_enum): Likewise.
3151         (conflict_graph_merge_regs): Likewise.
3152         (conflict_graph_print): Likewise.
3153         (conflict_graph_compute): Likewise.
3154         * conflict.c: New file.
3155
3156 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
3157
3158         * tlink.c (read_repo_files): Don't look for .rpo info for
3159         linker flags.
3160
3161 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3162
3163         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
3164
3165 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3166
3167         * config/sh/lib1funcs.asm (___udivsi3_i4):
3168         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
3169         only depends on FMOVD_WORKS.
3170
3171 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3172
3173         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
3174         make double constant 8-byte aligned.
3175
3176 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
3177
3178         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
3179         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
3180         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
3181         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
3182         Accept storing GENERAL_REGS into offsetable memory.
3183         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
3184         building a TFmode constant other than 0.0L into GENERAL_REGS.
3185
3186 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
3187
3188         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
3189
3190 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
3191
3192         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
3193         (macro_cleanup): No need to cast pbuf->macro.
3194         (collect_expansion): Use _cpp_get_define_token.  Goto done if
3195         it returns VSPACE.  Remove check for trailing space after
3196         CPP_COMMENT.
3197         (_cpp_create_definition): Don't diddle flags here.  Return
3198         directly on error.
3199         (unsafe_chars): Handle c1 being EOF.
3200         (push_macro_expansion): Use unsafe_chars for both accidental-paste
3201         checks.  Don't push the buffer till after we're done with
3202         them.
3203         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
3204         (PEEKN, FORWARD, GETC, PEEKC): Use them.
3205         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
3206         appropriately.
3207         (_cpp_parse_assertion): Don't NUL terminate.
3208         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
3209         hspace before calling _cpp_parse_assertion.  Remove all sets
3210         of only_seen_white. Treat '\f' as hspace.  Don't do anything
3211         special with '\n' here.
3212         (maybe_macroexpand): Handle T_EMPTY hash entries without
3213         pushing a buffer at all.
3214         (cpp_get_token): Handle clearing only_seen_white here.  Handle
3215         incrementing the line number here.  Clear
3216         potential_control_macro as well as only_seen_white, if
3217         appropriate.
3218         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
3219         (_cpp_get_define_token): New function, basically like
3220         _cpp_get_directive_token was but doesn't eat horizontal space.
3221         Don't do anything with only_seen_white here.
3222         (_cpp_get_directive_token): Just call _cpp_get_define_token
3223         repeatedly till it returns non-hspace.
3224
3225         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
3226         (conditional_skip, skip_if_group): Return int.
3227         (DIRECTIVE_TABLE): Change origin of all conditional directives
3228         to "COND".
3229         (TRAD_DIRECT_P): New macro.
3230         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
3231         an error for a bogus directive, unless -lang-asm.  Use
3232         TRAD_DIRECT_P. Loop calling handler functions till one returns
3233         zero.
3234         (get_macro_name): Don't diddle flags here.
3235         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
3236         Create T_EMPTY nodes for #define macro /* nothing */.
3237         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
3238         Use hp->name when calling pass_thru_directive.
3239         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
3240         Return the result of conditional_skip and/or skip_if_group.
3241         Don't call _cpp_output_line_command.
3242         (consider_directive_while_skipping): Use _cpp_get_directive_token.
3243         Issue -Wtraditional warnings as appropriate.  Don't complain
3244         about unrecognized directives.  If we are to stop skipping,
3245         return the number of the directive that ended the skip.
3246         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
3247         expansion and line commands while skipping.  Return the result
3248         of consider_directive_while_skipping, if nonzero.
3249         (do_endif): Just set potential_control_macro here.
3250         (validate_else): Use _cpp_get_directive_token.
3251         (do_assert, do_unassert): Don't save pointers into the
3252         token_buffer across calls to the lexer.  Use
3253         _cpp_get_directive_token.
3254
3255         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a
3256         pointer, not an offset.  Replace 'data', which was a generic
3257         pointer, with 'macro', which points to a struct hashnode.
3258         (cpp_reader): Add 'potential_control_macro' pointer.
3259         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
3260         (CPP_BUF_GET, CPP_FORWARD): Delete.
3261         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
3262         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
3263         ACTIVE_MARK_P): Update.
3264         (_cpp_get_define_token): New internal function.
3265         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
3266
3267 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
3268
3269         * configure.in: And here.
3270         * configure: Regenerate.
3271         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
3272         --enable-libstdcxx-v3 is passed at configure time.
3273         * config.h.in: Regenerate.
3274
3275 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
3276
3277         * final.c (final): Use xcalloc to allocate line_note_exists.
3278         * function.c (free_after_compilation): Free the temp_slots.
3279         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
3280         (combine_temp_slot): Free temp_slots when they get combined.
3281         (purge_addressof): Fix typo in comment.
3282         * stmt.c (mark_goto_fixup): Mark the fixup itself.
3283         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
3284
3285         * ggc.h: Include varray.h.
3286         (ggc_pending_trees): Declare.
3287         (ggc_mark_tree_children): Remove declaration.
3288         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
3289         * ggc-common.c (ggc_pending_trees): New variable.
3290         (ggc_mark_roots): Call ggc_mark_trees.
3291         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
3292         the ggc_pending_trees.
3293         * Makefile.in (GGC_H): New variable.  Use it throughout in place
3294         of ggc.h.
3295
3296 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3297
3298         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
3299         GET_MODE_SIZE.
3300
3301 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3302
3303         * sh.c (sh_insn_length_adjustment): New function.
3304         * sh-protos.h (sh_insn_length_adjustment): Declare.
3305         * sh.h (ADJUST_INSN_LENGTH): Use it.
3306
3307 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
3308
3309         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
3310         from the insn where REG_RETVAL is added.
3311         (emit_no_conflict_block): Ditto.
3312
3313         * md.texi (Standard Names): Clarify when movX is needed.
3314
3315         * combine.c (simplify_comparison) [MINUS]: Do not replace
3316         all (op (minus A B) 0) with (op A B).
3317
3318 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
3319                           J"orn Rennecke <amylaar@cygnus.co.uk>
3320
3321         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
3322         (block_lump_real): Likewise.
3323
3324 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
3325
3326         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
3327         remaining non-zero debugging masks.
3328
3329 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
3330
3331         * basic-block.h (verify_flow_info): Declare.
3332         (flow_loop_outside_edge_p): Declare.
3333         * flow.c (verify_flow_info): Remove declaration.
3334         (clear_log_links, flow_loop_outside_edge_p): Likewise.
3335
3336 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
3337
3338         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
3339         not C++ comments.
3340
3341 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
3342
3343         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
3344         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
3345         seqdi_zero_trunc+1): Allow splits only if registers are
3346         different.
3347
3348 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
3349
3350         * acconfig.h: Add HAVE_GAS_HIDDEN.
3351         * config.in: Regenerated.
3352         * configure.in: Add test for .hidden pseudo-op in gas.
3353         * configure: Regenerated.
3354         * crtstuff.c: Include auto-host.h.
3355         Emit additional .hidden pseudo-op for __dso_handle if the
3356         assembler knows about it.
3357
3358 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
3359
3360         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
3361         before freeing argnames.
3362         * cpplib.c (do_ifndef): Cast return value of xstrdup.
3363
3364 2000-04-05  Michael Meissner  <meissner@redhat.com>
3365
3366         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
3367         Walton <jonboy@gordian.com> to make memory references with update
3368         work wtih -mregnames.
3369
3370 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3371
3372         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
3373         (regrename_optimize): Rename variables `def_uses' and
3374         `ext_basic_blocks' to avoid conflicts with similarly named
3375         typedefs in traditional C.
3376
3377         * calls.c (initialize_argument_information): Fix typo in previous
3378         change.
3379
3380 2000-04-04  Richard Henderson  <rth@cygnus.com>
3381
3382         * regrename.c (consider_available): Test fixed_regs not
3383         PIC_OFFSET_TABLE_REGNUM.
3384
3385 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
3386
3387         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
3388         crtend.
3389         (CRTSTUFF_T_CFLAGS_S): Delete definition.
3390         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
3391         (ENDFILE_LINUX_SPEC): Always use crtend.
3392         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
3393         (powerpc-*-linux-gnu): Likewise.
3394         * configure: Regenerate.
3395
3396         * config/rs6000/eabi.h: Don't include sysv4.h.
3397         (MULTILIB_DEFAULTS): Don't define.
3398         * config/rs6000/eabiaix.h: Don't include eabi.h.
3399         * config/rs6000/eabile.h: Delete.
3400         * config/rs6000/eabilesim.h: Delete.
3401         * config/rs6000/eabisim.h: Don't include eabi.h.
3402         * config/rs6000/linux.h: Don't include sysv4.h.
3403         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
3404         (MULTILIB_DEFAULTS): Don't redefine.
3405         * config/rs6000/rtems.h: Don't include eabi.h.
3406         * config/rs6000/sol2.h: Don't include sysv4le.h.
3407         * config/rs6000/sysv4le.h: Don't include sysv4.h.
3408         * config/rs6000/t-ppc: Delete.
3409         * config/rs6000/t-ppcgas: Correct comment.
3410         * config/rs6000/t-ppcos: Correct comment.  Don't build
3411         multilibs for -fPIC, rather use -fPIC -mstrict-align
3412         as default.
3413         * config/rs6000/t-ppc: Delete.
3414         * config/rs6000/vxppc.h: Don't include sysv4.h.
3415         * config/rs6000/vxppcle.h: Delete.
3416         * configure.in: Use multiple header files for p2pc ELF targets
3417         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
3418         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
3419         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
3420         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
3421         always available for these platforms.
3422
3423 2000-04-04  Richard Henderson  <rth@cygnus.com>
3424
3425         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
3426
3427 2000-04-04  Stan Cox  <scox@cygnus.com>
3428
3429         * Makefile.in: Add rules for regrename.o
3430         * regrename.c: New file.
3431         * rtl.h (regrename_optimize): Add prototype.
3432         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
3433         (compile_file, decode_d_option): Add support for -frename-registers.
3434         (rest_of_compilation): Call regrename_optimize.
3435         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
3436         New macros.
3437
3438 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3439
3440         * Makefile (gccbug): New target.
3441         (doc): Depend on it.
3442         * gcc.texi (Bugs): Link subnodes.
3443         (gccbug): New node.
3444         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
3445         Document severities, priorities, and classes in bug form.
3446
3447 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
3448
3449         * cpplex.c (trigraph_map, speccase): Combine into single
3450         table, chartab.
3451         (NORMAL, NONTRI): New macros.
3452         (_cpp_read_and_prescan): Change to use unified table.  Use
3453         is_hspace to test for whitespace.
3454
3455         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
3456         definition that doesn't provoke the "empty body in an
3457         if-statement" warning.
3458
3459 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
3460
3461         * builtins.c (expand_builtin_strlen): Force the source to
3462         be a memory address.
3463
3464 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3465
3466         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
3467
3468 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3469
3470         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
3471          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
3472         (ECF_IS_CONST): Rename to ECF_CONST.
3473         (special_function_p): Make static, change interface.
3474         (flags_from_decl_or_type, try_to_integrate): Break out from ...
3475         (expand_call) ... here; convert number of variables to flags.
3476         (emit_library_call_vlue_1): Likewise.
3477         (setjmp_call_p): New function.
3478         (initialize_argument_information): Accepts flags as argument;
3479         return flags.
3480         (precompute_arguments): Likewise.
3481         * tree.h (special_function_p): Remove.
3482         (setjmp_call_p): Add prototype.
3483
3484 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
3485
3486         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
3487         so that addresses are offsetable by up to 16 bytes.
3488         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
3489         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
3490         offsetable.
3491
3492         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
3493         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
3494         (movsf): Don't force any constant to memory if target is integer
3495         hard register.
3496         Move fp_zero_operand check below the const0_rtx check.
3497         (movtf): Likewise. Also allow fp_zero_operand for stores into
3498         memory.
3499         (movdf): Likewise. Also allow fp_zero_operand for stores into
3500         memory and into integer hard registers.
3501         (clear_df, clear_dfp, movdf_const_intreg_sp32,
3502         movdf_const_intreg_sp64): Remove.
3503         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
3504         conditions.
3505         (movdf_no_e_insn_v9_sp32): New pattern.
3506         (movdf_insn_v9only): Remove.
3507         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
3508         (movdf_insn_sp64): Remove.
3509         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
3510         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
3511         (following splits): Rewrite conditions. Add two new splits
3512         for storing 0.0 into memory and registers.
3513         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
3514         (movtf_insn_sp32): Redo constraints and conditions.
3515         (movtf_insn_vis_sp32): New pattern.
3516         (movtf_no_e_insn_sp32): Redo constraints and conditions.
3517         (movtf_insn_hq_sp64): Likewise.
3518         (movtf_insn_hq_vis_sp64): New pattern.
3519         (movtf_insn_sp64): Redo constraints and conditions.
3520         (movtf_insn_vis_sp64): New pattern.
3521         (movtf_no_e_insn_sp64): Redo constraints and conditions.
3522         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
3523         or memory.
3524         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
3525         -mvis or -m64 to take down the number of various reload patterns.
3526
3527 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
3528
3529         * pa/pa-64.h: New file.
3530         * pa/pa64-regs.h: New file.
3531         * pa/pa64-start.h: New file.
3532         * pa/t-pa64: New file.
3533         * pa/xm-pa64hpux.h: New file.
3534
3535 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3536
3537         * sparc.c (output_restore_regs): Prototype.
3538         (sparc_emit_float_lib_cmp): Constification.
3539
3540         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
3541
3542         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
3543         Prototype.
3544
3545         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
3546         (get_value_hash, hash_rtx): Likewise.
3547
3548         * ssa.c (compute_conservative_reg_partition): Prototype.
3549
3550         * tree.c (mark_hash_entry): Prototype.
3551
3552 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
3553
3554         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
3555         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
3556         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
3557
3558         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
3559         * objc/lang-specs.h: Likewise.
3560
3561 2000-04-03  Neil Booth  <NeilB@earthling.net>
3562
3563         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
3564         and SYNTAX_ERROR2. Replace `' in messages with ''.
3565         (op_to_str): Make re-entrant.
3566         (_cpp_parse_expr): Implement new error macros. Use | rather
3567         than || to logically or 2 boolean integers.  Simply expression
3568         checking we have a left operand iff needed.
3569
3570 2000-04-03  Nick Clifton  <nickc@cygnus.com>
3571
3572         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
3573
3574 2000-04-03  Philip Blundell  <philb@gnu.org>
3575
3576         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
3577
3578 2000-04-03  Felix Lee  <flee@cygnus.com>
3579
3580         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
3581         (run_shell): Use it.
3582
3583 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
3584
3585         * Makefile.in (stmp-int-hdrs): Make include subdir here...
3586         (stmp-fixproto): ...rather than here.
3587
3588 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
3589
3590         * pa.c (print_operand): Compute 'base' only inside the code paths
3591         that use it.
3592
3593 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
3594
3595         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
3596         CEIL_DIV_EXPR.
3597
3598 2000-04-03  Philipp Thomas  <pthomas@suse.de>
3599
3600         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
3601
3602 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
3603
3604         * Makefile.in (alias.o): Depend on $(TREE_H).
3605
3606 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
3607
3608         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
3609         processing C++.
3610         * cpplib.c (_cpp_handle_directive): Improve warnings for
3611         traditional C and indented directives.
3612
3613         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
3614         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
3615         fixinc/inclhack.def: Indent the # of #include_next one space.
3616         * cp/rtti.c: Un-indent #if and #endif.
3617
3618         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
3619         syntax error, but an error has already been printed.
3620         * cpplex.c (_cpp_parse_assertion): Give a more specific error
3621         message when called with nothing remaining on the line.
3622         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
3623         OTHER token, not an ASSERTION.
3624         * cpplib.c (do_assert): When we create a 'base' node, clear
3625         its aschain pointer.
3626
3627 2000-04-02  Neil Booth <NeilB@earthling.net>
3628
3629         * cppexp.c:  New typedef op_t.  struct operation and struct
3630         token updated to use it.
3631         (op_to_str): New function.
3632         (_cpp_parse_expr): Error messages modified to use op_to_str.
3633
3634 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3635
3636         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
3637         before checking MUST_PASS_IN_STACK.
3638
3639 2000-04-02  Neil Booth <NeilB@earthling.net>
3640
3641         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
3642         flags and initial priority into a single constant.  New
3643         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
3644         (_parse_cpp_expr): Implement new constants.  Take left operand
3645         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
3646         parse indicated by reducing FINISHED token.  Remove new lines
3647         from cpp_error messages.
3648
3649 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
3650
3651         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
3652         permanent obstack.
3653
3654 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
3655
3656         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
3657         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
3658         the strings and function names on the fly.  Take the #sccs
3659         entry out of the table if SCCS_DIRECTIVE is not defined.
3660         (_cpp_handle_directive): Decide if the # was at the beginning
3661         of the line here.  Issue -pedantic warnings for extended
3662         directives here.  Warn about K+R directives with the #
3663         indented, and C89/extended directives with the # not indented,
3664         here.
3665         (do_import, do_include_next, do_warning, do_ident, do_sccs,
3666         do_assert, do_unassert): Don't issue pedantic warning here.
3667
3668         * cpphash.h: Add CPP_WTRADITIONAL macro.
3669         * cpplib.h (struct cpp_options): Rename warn_stringify to
3670         warn_traditional; update comments.
3671         * cppinit.c (handle_option): Set warn_traditional not
3672         warn_stringify.
3673         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
3674         CPP_WTRADITIONAL (pfile).
3675         * cpplex.c (_cpp_lex_token): Don't decide if directives should
3676         be ignored in -traditional mode here.
3677
3678         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
3679         to initialize speccase[] and trigraph_map[].  Delete all
3680         references to pfile->input_speccase.  Always treat '?' as a
3681         special character.  Remove table-initialization code from
3682         _cpp_init_input_buffer.
3683
3684         * cpplib.h (struct cpp_reader): Remove input_speccase field.
3685         * cppinit.c (cpp_cleanup): Don't free input_speccase.
3686
3687 2000-04-01  Richard Henderson  <rth@cygnus.com>
3688
3689         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
3690         (mostlyclean): Likewise.
3691
3692         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
3693         (struct dump_file_info, enum dump_file_index, dump_file): New.
3694         (open_dump_file): Take a dump_file_index not a suffix, and a decl
3695         not a string.  Clean out file if we havn't yet done so.  Do nothing
3696         if the dump isn't enabled.
3697         (close_dump_file): Do nothing if the dump isn't open.  Dump
3698         graph data if requested.
3699         (dump_rtl, clean_dump_file): Remove.
3700         (compile_file): Don't clean the dump files.  Only finalize .bp dump
3701         if flag_test_coverage or flag_branch_probabilities.  Only finalize
3702         .combine dump if optimizing.  Iterate over dump_file to finalize the
3703         graph dumps.
3704         (rest_of_compilation): Update for open_dump_file/close_dump_file.
3705         Convert all uses of dump_rtl.
3706         (decode_d_option): Iterate over dump_file to implement 'a' and to
3707         locate pass-specific dumps.
3708
3709 2000-04-01  Neil Booth <NeilB@earthling.net>
3710
3711         * cppexp.c: Redefine priority constants.
3712         (_cpp_parse_expr): Replace left and right priority scheme with
3713         single priority logic.  Move LOGICAL to same place as COMPARE.
3714         Remove bogus check for multiple unary +/- operators.
3715
3716 2000-04-01  Neil Booth <NeilB@earthling.net>
3717
3718         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
3719         within the switch statement.  Binary operations break out of
3720         the switch naturally.  '(' tokens handled by forcing
3721         immediate shift.  ')' handled by forcing immediate reduce to
3722         the previous '('.  New error messages.
3723
3724 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
3725
3726         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
3727         part', it's already in use.  Use %K instead.  Add a return at the
3728         end of what is now %K.
3729         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
3730
3731 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3732
3733         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
3734         allocate_dynamic_stack_space.
3735         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
3736         update stack_pointer_delta; do not update arg_size_so_far.
3737         (compute_argument_block_size): Use stack_delta instead of
3738         stack_pointer_pending and arg_size_so_far.
3739         (expand_call): Add sanity checking for stack_pointer_delta;
3740         save and restore stack_pointer_delta for SIB, use
3741         stack_pointer_delta for alignment; do not update arg_space_so_far.
3742         (emit_library_call_value): Use stack_pointer_delta for alignment.
3743         (store_one_arg): Do not update arg_space_so_far.
3744         * explow.c (adjust_stack, anti_adjust_stack): Update
3745         stack_pointer_delta.
3746         (allocate_dynamic_stack_space): Add sanity checking for
3747         stack_pointer_delta.
3748         * expr.c (init_expr, clear_pending_stack_adjust): Clear
3749         stack_pointer_delta.
3750         (emit_push_insn): Update stack_pointer_delta.
3751         * function.h (struct expr_status): Add x_stack_pointer_delta;
3752         remove x_arg_space_so_far.
3753         (arg_space_so_far): Remove.
3754         (stack_pointer_delta): New macro.
3755
3756 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
3757
3758         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
3759         Reorder struct cpp_options and struct cpp_reader for better
3760         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
3761         takes two args.  Change all 'char' flags to 'unsigned char'.
3762         Move show_column flag into struct cpp_options.  Don't
3763         prototype cpp_options_init.
3764         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
3765         cppinit.c, cpplex.c, cpplib.c:
3766         Replace CPP_OPTIONS (pfile)->whatever with
3767         CPP_OPTION (pfile, whatever), and likewise for
3768         opts = CPP_OPTIONS (pfile); ... opts->whatever;
3769
3770         * cppinit.c (merge_include_chains): Take a cpp_reader *.
3771         Extract CPP_OPTION (pfile, pending) and work with that
3772         directly.
3773         (cpp_options_init): Delete.
3774         (cpp_reader_init): Turn on on-by-default options here.
3775         Allocate the pending structure here.
3776         (cl_options, enum opt_code): Define these from the same table,
3777         kept in a large macro.  Add -fshow-column and -fno-show-column
3778         options.
3779
3780         * cpperror.c (v_message): If show_column is off, don't print
3781         the column number.
3782
3783         * cppmain.c: Update for new interface.
3784         * fix-header.c: Likewise.
3785
3786 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
3787
3788         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
3789         definition.
3790         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
3791         are passed to any invocation of AR_FOR_TARGET.
3792         (AR_CREATE_FOR_TARGET): New macro.
3793         (AR_EXTRACT_FOR_TARGET): New macro.
3794         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
3795         AR_EXTRACT_FOR_TARGET.
3796         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
3797         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
3798         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
3799         AR_EXTRACT_FOR_TARGET to sub-makes.
3800
3801 2000-03-31  Neil Booth <NeilB@earthling.net>
3802
3803         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
3804         PAREN_INNER_PRIO.
3805         (_cpp_parse_expr): Check for multiple unary +/- operators.
3806         Correct priorities of ':' and '?'.  Treat ')' as having a
3807         value.  Ensure conditional expression is not void.
3808
3809 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
3810
3811         * alias.c (canon_rtx): Make it global.
3812         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
3813         equality.
3814         * cse.c (struct table_elt): Add canon_exp.
3815         (insert): Clear it.
3816         (invalidate): Canonicalize expressions only once.
3817         * rtl.h (canon_rtx): Declare.
3818
3819 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
3820
3821         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
3822         * alias.c (reg_known_value): Add comments.
3823         (init_alias_analysis): Likewise.
3824         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
3825         address.
3826         (cse_basic_block): Fix typo in comment.
3827         * emit-rtl.c: Include hashtab.h.
3828         (const_int_htab): New variable.
3829         (const_int_htab_hash): New function.
3830         (const_int_htab_eq): Likewise.
3831         (rtx_htab_mark_1): Likewise.
3832         (rtx_htab_mark): Likewise.
3833         (gen_rtx_CONST_INT): Cache all CONST_INTs.
3834         (unshare_all_rtx): Fix formatting.
3835         (init_emit_once): Initialize const_int_htab.
3836         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
3837         address.
3838         * rtl.texi: Document the fact that all CONST_INTs with the same
3839         value are shared.
3840
3841 2000-03-30  Richard Henderson  <rth@cygnus.com>
3842
3843         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
3844
3845 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
3846
3847         * configure.in: Comment out --enable-c-cpplib stanza.
3848         * configure: Regenerate.
3849
3850 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3851
3852         * expr.c (store_constructor): Properly compute displacement and
3853         alignment when offset is variable.
3854
3855         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
3856         cases of alignment in bytes.
3857
3858 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
3859
3860         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
3861         since it is used to generate c-parse.y.
3862         * objc-parse.c, objc-parse.y: Regenerated.
3863
3864         * function.c (expand_function_end): Pass alignment argument to
3865         emit_block_move in bits, not bytes.
3866
3867 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3868
3869         * expr.c (move_by_pieces_ninsns): Fix one more missing align
3870         correction.
3871
3872         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
3873
3874         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
3875         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
3876         * function.c (assign_parms): Likewise.
3877         * integrate.c (expand_inline_function): Likewise.
3878         * stmt.c (expand_decl): Likewise.
3879         (copy_rtx_and_substitute): Likewise.
3880         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
3881         (clear_by_pieces): Fix error in last change.
3882         * emit-rtl.c (init_emit): Set known registers alignment in bits.
3883         * function.h (regno_pointer_align): Now unsigned.
3884         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
3885         is in bits.
3886         * config/i386/i386.c (aligned_operand): Likewise.
3887         * config/sparc/sparc.c (mem_min_alignment): Likewise.
3888         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
3889         (unaligned_memory_operand): Likewise.
3890         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
3891         Also make alignments and sizes unsigned and some whitespace cleanup.
3892         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
3893
3894         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
3895         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
3896         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
3897         (expand_builtin_memset): Likewise, but to clear_storage.
3898         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
3899         (restore_fixed_argument_area): Likewise.
3900         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
3901         (load_register_parameters): Likewise, to emit_group_load.
3902         (expand_call): Likewise, to emit_group_store and emit_block_move.
3903         (emit_library_call_value_1): Likewise, to emit_block_move.
3904         (store_one_arg): Likewise, and to emit_push_insn.
3905         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
3906         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3907         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
3908         (emit_block_move, emit_group_load, emit_group_store): Likewise.
3909         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
3910         (expand_assigment, store_expr, store_constructor_field): Likewise.
3911         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
3912         (store_constructor, store_field, get_inner_reference): Likewise.
3913         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
3914         (expand_expr, case COMPONENT_REF): Likewise.
3915         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
3916         and positions; reindent code.
3917         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
3918         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
3919         (assign_parms): Likewise to emit_group_store.
3920         * optabs.c (prepare_cmp_insn): Alignment is in bits.
3921         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
3922         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
3923         (expand_return): Likewise to {extract,store}_bit_field.
3924         * stor-layout.c (get_mode_alignment): Minor cleanup.
3925         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
3926         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
3927
3928 2000-03-29  Nick Clifton  <nickc@cygnus.com>
3929
3930         * config/arm/arm.h: Undo effects of previous delta:
3931         (ASM_SPEC): Do not define.
3932         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
3933
3934         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
3935         typo.
3936
3937 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3938
3939         * cppinit.c (cpp_start_read): Call initialize_dependency_output
3940         only after reading in the primary source file.
3941
3942 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
3943
3944         * c-common.c (c_common_nodes_and_builtins): The first parameter to
3945         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
3946         or a reference to a va_list.
3947         * builtins.c (stabilize_va_list): Simplify now we don't have to
3948         work around C array address decay.
3949         * c-typeck.c (convert_for_assignment): Handle assignment to
3950         a reference parameter by taking the address of the RHS.
3951         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
3952         (va_copy): Likewise.
3953         (__va_copy): Likewise.
3954         * ginclude/varargs.h (va_start): Likewise.
3955         (__va_copy): Likewise.
3956
3957 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
3958
3959         * i386/djgpp.h: Remove extraneous "+".
3960
3961         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
3962
3963         * calls.c (expand_call): Fix typo in last change.
3964
3965 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
3966
3967         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
3968         been expanded.
3969
3970 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3971
3972         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
3973         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
3974         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
3975         * tree.c (bit_position, byte_position): Likewise.
3976         * tree.h: Declare new functions.
3977
3978 2000-03-29  Nick Clifton  <nickc@cygnus.com>
3979
3980         * config/arm/arm.c: Minor formatting changes/
3981         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3982         already defined.
3983         (ASM_SPEC): Define if not already defined.
3984
3985 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3986
3987         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
3988         _cpp_calc_hash.
3989
3990 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
3991
3992         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
3993         value, don't output it as unsigned.
3994
3995 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
3996
3997         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
3998
3999 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4000
4001         * c-common.c (c_common_nodes_and_builtins): Don't special case
4002         cplus_mode when declaring builtin bzero/bcmp, always avoid
4003         prototype arguments.
4004
4005 2000-03-29  Bruce Korb  <bkorb@gnu.org>
4006
4007         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
4008         to a non-file
4009
4010 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4011
4012         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
4013         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
4014         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
4015         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
4016         (save_fixed_argument_area, restore_fixed_argument_area):
4017         conditionize by #ifdef REG_PARM_STACK_SPACE only.
4018         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
4019         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
4020         (precompute_register_parameters): Avoid #ifdefs on
4021         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
4022         (stire_one_args): Likewise.
4023         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
4024         (emit_library_call_value_1): Likewise.
4025         (compute_argument_block_size): Align to STACK_BOUNDARY only for
4026         ACCUMULATE_OUTGOING_ARGS.
4027         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
4028         value.
4029         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
4030         (use_crosses_set_p): Likewise.
4031         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
4032         #define ACCUMULATE_OUTGOING_ARGS 1.
4033         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
4034         frames.
4035         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
4036         constants.
4037         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
4038         (TARGET_SWITCHES): Add push-args, no-push-args,
4039         accumulate-outgoing-args and no-accumulate-outgoing-args.
4040         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
4041         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
4042         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
4043         and PUSH_ROUNDING.
4044         (emit_push_insn): Likewise.
4045         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
4046         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
4047         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
4048         (STACK_DYNAMIC_OFFSET): Define correctly for both
4049         ACCUMULATE_OUTGOING_ARGS and normal mode.
4050         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
4051         * tm.texi (PUSH_ARGS): Document.
4052         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
4053
4054 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
4055
4056         * flags.h (flag_optimize_sibling_calls): Declare.
4057         * calls.c (expand_call): Fail sibcall when
4058         !flag_optimize_sibling_calls
4059         * invoke.texi (flag_optimize_sibling_calls): Document.
4060         * toplev.c (flag_optimize_sibling_calls): New global variable.
4061         (f_options): Add flag_optimize_sibling_calls.
4062         (rest_of_compilation): Conditionize
4063         optimize_sibling_and_tail_recursive_calls by
4064         flag_optimize_sibling_calls.
4065         (main): Set flag_optimize_sibling_calls for -O2.
4066         * stmt.c (expand_return): Conditionize tail recursion by
4067         flag_optimize_sibling_calls.
4068
4069 2000-03-29  Richard Henderson  <rth@cygnus.com>
4070
4071         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
4072         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
4073
4074 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
4075
4076         * except.c (add_eh_table_entry): Mark type_info's as referenced.
4077
4078 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4079
4080         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
4081         is given.
4082         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
4083         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
4084         * config/rs6000/aix.h: then modified likewise.
4085
4086 2000-03-28  Richard Henderson  <rth@cygnus.com>
4087
4088         * rtl.h: Redistribute enum reg_note documentation.
4089         Kill trailing whitespace.
4090         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
4091         Kill trailing whitespace.
4092
4093 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
4094
4095         * cppfiles.c (hash_IHASH): Just return i->hash.
4096         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
4097         htab_find_with_hash.
4098         (cpp_read_file): Likewise.
4099         (find_include_file): Likewise.  Properly initialize
4100         ih->nshort.  Share ih->name and ih->nshort if possible.
4101         * cpphash.c (_cpp_calc_hash): New function.
4102         (hash_HASHNODE): Just return h->hash.
4103         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
4104         htab_find_with_hash.
4105         * cpphash.h: Prototype _cpp_calc_hash.
4106         * cppinit.c (initialize_builtins): Provide a valid hash
4107         to _cpp_make_hashnode, using _cpp_calc_hash.
4108
4109         * cpphash.c (collect_expansion): # is not a special character
4110         in object-like macros.  In -traditional mode, /**/ is not
4111         token paste at the beginning or end of the line.
4112         * cpplib.c (do_include, do_import, do_include_next): If
4113         parse_include fails, return immediately.
4114
4115 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
4116
4117         * config/arm/arm.md (return peepholes): Update to reflect the new
4118         call insn patterns.
4119         * config/arm/arm.c (arm_volatile_func): Also check
4120         current_function_nothrow.
4121         (output_return_instruction, output_func_prologue): Use it.
4122         (arm_output_epilogue, arm_expand_prologue): Likewise.
4123
4124 2000-03-27  Tom Tromey  <tromey@cygnus.com>
4125
4126         * gcc.c (handle_braces): In {x*...} case, break out of loop if
4127         switch is found.
4128
4129 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4130
4131         * expr.c (store_constructor): SIZE now signed.
4132         For EXPR_SIZE, don't evaluate size; just needed if constant.
4133         * fold-const.c (fold): Fix a number of cases when folded tree is
4134         wrong type.
4135         * function.c (flush_addressof): Reenable.
4136         * tree.h (flush_addressof): Likewise.
4137         * toplev.c (independent_decode_option): Look at strings_processed.
4138         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
4139
4140 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
4141
4142         * sibcall.c (indentify_call_return_value): Find last call in the chain;
4143         Allow stack adjustment after function call.
4144
4145         * regmove.c (struct csa_memlist): Make mem field rtx *.
4146         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
4147         (try_apply_stack_adjustment): Replace whole MEM rtx.
4148         (combine_stack_adjustments_for_block): Update calls
4149         to record_one_stack_ref.
4150
4151 2000-03-28  Neil Booth  <NeilB@earthling.net>
4152
4153         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
4154         '\\' rather than a null character, so nulls are not special.  Fix
4155         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
4156         speed trigraph conversion.
4157         (_cpp_init_input_buffer): Initialize trigraph map.
4158
4159 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
4160
4161         * config/i386/i386.c (output_387_binary_op): Correct intel
4162         mode assembly output, and add spaces after commas in AT&T
4163         output.  Correct Unixware assembler comment.  Document input
4164         constraints.  Comment fp operations.  Reduce profligate buffer
4165         size.  Remove extraneous abort.  Localize temp var.
4166         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
4167         (output_fix_trunc): Add spaces after commas in assembly output.
4168
4169 2000-03-27  Richard Henderson  <rth@cygnus.com>
4170
4171         * i386-protos.h (ix86_match_ccmode): Declare.
4172         * i386.c (ix86_match_ccmode): New.
4173         (ix86_expand_fp_compare): Update for pattern renames.
4174         (ix86_expand_strlensi_unroll_1): Likewise.
4175         * i386.h (EXTRA_CC_MODES): Add CCZ.
4176         (SELECT_CC_MODE): Use it for EQ/NE zero.
4177         * i386.md (cmpsi_ccz_1): New.
4178         (cmpqi_ccz_1): New.
4179         (*testsi_ccz_1): New.
4180         (testqi_ccz_1): New.
4181         (cmpsi_ccno_1): Rename from cmpsi_0.
4182         (testsi_ccno_1): Rename from testsi_1.
4183         (testqi_ccno_1): Rename from testqi_1.
4184         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
4185         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
4186         (*cmphi_0): Use ix86_match_ccmode.
4187         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
4188         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
4189         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
4190         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
4191         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
4192         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
4193         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
4194         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
4195         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
4196         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
4197         (appropriate peepholes): Likewise.
4198         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
4199         (*subsi_3, *subhi_3, *subqi_3): Remove.
4200         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
4201         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
4202         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
4203         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
4204         (x86_shift_adj_1): Use CCZ.
4205         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
4206
4207 2000-03-27  Stan Cox  <scox@cygnus.com>
4208
4209         * resource.h (mark_resource_type): New.
4210         * resource.c (find_dead_or_set_registers, mark_target_live_regs,
4211         find_free_register): Use mark_resource_type.
4212         (mark_set_resources): Change include_delayed_effects
4213         to mark_resource_type.
4214         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
4215         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
4216         Use mark_resource_type.
4217
4218 2000-03-27  Richard Henderson  <rth@cygnus.com>
4219
4220         * i386.md (call_pop_0, call_value_pop_0): New.
4221         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
4222         (call_value_pop_1): Likewise.
4223         (call_0, call_value_0): New.
4224         (call_1, call_value_1): Remove constraint from unused arg.
4225
4226 2000-03-27  Nick Clifton  <nickc@cygnus.com>
4227
4228         * invoke.texi (Spec Files): Document new spec % command created by
4229         Tom Tromey's recent patch.
4230
4231 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
4232
4233         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
4234         if not defined.
4235
4236 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4237
4238         * expr.c (expand_assignment): Fix typo in last change.
4239
4240         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
4241
4242 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4243
4244         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
4245         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
4246         and DECL_INLINE if FUNCTION_DECL.
4247         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
4248         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
4249         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
4250         (combine_parm_decls): Likewise.
4251         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
4252         * print-tree.c (print_node): Likewise.
4253         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
4254         DECL_TRANSPARENT_UNION on proper decl types.
4255         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
4256         * stor-layout.c (layout_decl): Only check DECL_PACKED and
4257         DECL_BIT_FIELD of FIELD_DECL.
4258         * tree.h (DECL_RESULT_FLD): New macro.
4259
4260         * expr.c (expand_assignment): Add code to handle variable-sized
4261         BLKmode case.
4262
4263 2000-03-26  Richard Henderson  <rth@cygnus.com>
4264
4265         * calls.c (expand_call): Pass parms not original exp to
4266         optimize_tail_recursion.  Mind return value instead of looking
4267         for a barrier.
4268         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
4269         call_expr.  Move checks for call_expr and current_function_decl ...
4270         (expand_return): ... here.
4271
4272 2000-03-26  Tom Tromey  <tromey@cygnus.com>
4273
4274         * gcc.c (handle_braces): Recognize `%{<S}' construct.
4275         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
4276         defines.
4277         (process_command): Use them.
4278         (check_live_switch): Likewise.
4279         (give_switch): Skip ignored switches.
4280
4281 2000-03-26  Jan Hubicka  <jh@suse.cz>
4282
4283         * jump.c (jump_optimize_1): Fix typo in elide optimizations
4284         for minimal jump pass test.
4285
4286 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
4287
4288         * integrate.c (function_cannot_inline_p): Do inline functions that
4289         return `void'.
4290
4291 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4292
4293         * stor-layout.c (layout_type, set_sizetype): early_type_list is
4294         now a list of TREE_LIST entries, not types.
4295         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
4296
4297         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
4298         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
4299         int_bit_position.
4300         * config/mips/mips.c (function_arg): Likewise; also remove cast
4301         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
4302         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
4303         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
4304         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
4305         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
4306         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
4307         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
4308         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
4309         num_adjusts now unsigned.
4310         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
4311         * config/sparc/sparc.c (struct function_arg_record_value_parms):
4312         NREGS now unsigned.
4313         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
4314         as is BITPOS variable; use host_integerp and int_bit_position.
4315         (function_arg_record_value_2): Likewise.
4316         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
4317         Variable REGNO now unsigned.
4318         (function_arg_record_value): NREGS now unsigned.
4319
4320 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
4321
4322         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
4323
4324 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4325
4326         * Rework fields used to describe positions of bitfields and
4327         modify sizes to be unsigned and use HOST_WIDE_INT.
4328         * alias.c (reg_known_value_size): Now unsigned.
4329         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
4330         (really_start_incremental_init): Use bitsize_zero_node.
4331         (push_init_level, pop_init_level, output_init_element): Likewise.
4332         Use bitsize_unit_node and bitsize_one_node.
4333         (output_pending_init_elements, process_init_element): Likewise.
4334         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
4335         (make_extraction): Position and length HOST_WIDE_INT and unsigned
4336         HOST_WIDE_INT, respectively.
4337         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
4338         (num_sign_bit_copies): Returns unsigned.
4339         BITWIDTH now unsigned; rework arithmetic.
4340         Remove recursive call from arg to MAX.
4341         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
4342         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
4343         REGNO now unsigned.
4344         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
4345         (find_split_point, expand_compound_operation, make_extraction): LEN
4346         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
4347         (make_field_assignment): Likewise.
4348         (combine_simplify_rtx): Add cast.
4349         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
4350         (force_to_mode): WIDTH now unsigned; add cast.
4351         (if_then_else_cond): SIZE now unsigned.
4352         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
4353         (extended_count): Now returns unsigned.
4354         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
4355         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
4356         (simplify_comparison): MODE_WIDTH now unsigned.
4357         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
4358         (mark_used_regs_combine): Likewise; rework arithmetic.
4359         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
4360         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
4361         (record_promoted_value): REGNO now unsigned.
4362         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
4363         (get_last_value): REGNO now unsigned.
4364         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
4365         (reg_dead_regno, reg_dead_endregno): Now unsigned.
4366         (remove_death): Arg REGNO now unsigned.
4367         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
4368         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
4369         now unsigned.
4370         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
4371         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
4372         (struct cse_reg_info): REGNO now unsigned.
4373         (cached_regno): Now unsigned.
4374         (REGNO_QTY_VALID_P): Add cast.
4375         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
4376         (remove_invalid_regs): Likewise.
4377         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
4378         as are variables END and I.
4379         (get_cse_reg_info, insert): Likewise.
4380         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
4381         (canon_hash): Likewise.
4382         (insert_regs, lookup_for_remove): REGNO now unsigned.
4383         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
4384         New variable RN.
4385         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
4386         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
4387         * emit-rtl.c (subreg_realpart_p): Add cast.
4388         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
4389         (operand_subword_force): Arg I is now unsigned.
4390         * except.c (eh_regs): Variable I is now unsigned.
4391         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
4392         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
4393         length is unsigned HOST_WIDE_INT; likewise for internal variables.
4394         (store_split_bit_field, extract_fixed_bit_field): Likewise.
4395         (extract_split_bit_field, store_bit_field, extract_bit_field):
4396         Likewise.
4397         * expr.c (store_constructor_fields, store_constructor, store_field):
4398         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
4399         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
4400         (do_jump): Likewise.
4401         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
4402         MAX_SIZE is now unsigned.
4403         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
4404         (emit_group_store): Likewise.
4405         (emit_move_insn): I now unsigned.
4406         (store_constructor): Use host_integerp, tree_low_cst, and
4407         bitsize_unit_node.
4408         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
4409         Rework all calculations to use trees and new fields.
4410         * expr.h (promoted_input_arg): Regno now unsigned.
4411         (store_bit_field, extract_bit_field): Adjust types of pos and size.
4412         (mark_seen_cases): Arg is HOST_WIDE_INT.
4413         * flow.c (verify_wide_reg_1): REGNO now unsigned.
4414         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
4415         precisions and alignments are unsigned.
4416         (optimize_bit_field_compare, fold_truthop): Likewise.
4417         (int_const_binop): Adjust threshold for size_int_type_wide call.
4418         (fold_convert): Likewise.
4419         (size_int_type_wide): Make table larger and fix thinko that only
4420         had half of table used.
4421         (all_ones_mask_p, fold): Precisions are unsigned.
4422         * function.c (put_reg_info_stack): REGNO is unsigned.
4423         (instantiate_decl): Size is HOST_WIDE_INT.
4424         (instantiate_virtual_regs): I is unsigned.
4425         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
4426         (promoted_input_arg): REGNO is unsigned.
4427         * function.h (struct function): x_max_parm_reg is now unsigned.
4428         * gcse.c (max_gcse_regno): Now unsigned.
4429         (struct null_pointer_info): min_reg and max_reg now unsigned.
4430         (lookup_set, next_set): REGNO arg now unsigned.
4431         (compute_hash_table): REGNO and I now unsigned.
4432         (handle_avail_expr): regnum_for_replacing now unsigned.
4433         (cprop_insn): REGNO now unsigned.
4434         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
4435         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
4436         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
4437         * hard-reg-set.h (reg_class_size): Now unsigned.
4438         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
4439         * jump.c (mark_modified_reg): I now unsigned; add cast.
4440         (rtx_equal_for_thread_p): Add cast.
4441         * loop.c (max_reg_before_loop): Now unsigned.
4442         (struct_movable): REGNO now unsigned.
4443         (try_copy_prop): REGNO arg unsigned.
4444         (regs_match_p): XN and YN now unsigned.
4445         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
4446         (strength_reduce): Likewise; NREGS also unsigned.
4447         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
4448         * loop.h (struct iv_class): REGNO now unsigned.
4449         (max_reg_before_loop, first_increment_giv, last_increment_giv):
4450         Now unsigned.
4451         * machmode.h (mode_size, mode_unit_size): Now unsigned.
4452         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
4453         * optabs.c (expand_binop): I and NWORDS now unsigned.
4454         (expand_unop): I now unsigned.
4455         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
4456         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
4457         * real.c (significand_size): Now returns unsigned.
4458         * real.h (significand_size): Likewise.
4459         * regclass.c (reg_class_size): Now unsigned.
4460         (choose_hard_reg_mode): Both operands now unsigned.
4461         (record_reg_classes): REGNO and NR now unsigned.
4462         (reg_scan): NREGS now unsigned.
4463         (reg_scan_update): old_max_regno now unsigned.
4464         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
4465         * reload.c (find_valid_class): BEST_SIZE now unsigned.
4466         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
4467         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
4468         Likewise for variable R.
4469         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
4470         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
4471         (find_equiv_reg): Add casts.
4472         (regno_clobbered_p): Arg REGNO now unsigned.
4473         * reload.h (struct reload): NREGS now unsigned.
4474         (refers_to_regno_for_reload_p): Regno args are unsigned.
4475         (regno_clobbered_p): Likewise.
4476         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
4477         (compute_use_by_pseudos): REGNO now unsigned.
4478         (find_reg): I and J now unsigned, new variable K, and change loop
4479         variables accordingly; THIS_NREGS now unsigned.
4480         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
4481         (spill_hard_reg): REGNO arg now unsigned; add casts.
4482         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
4483         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
4484         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
4485         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
4486         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
4487         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
4488         (emit_reload_insns): REGNO now unsigned.
4489         (reload_cse_move2add): Add cast.
4490         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
4491         and rework loop.
4492         * resource.c (mark_referenced_resources, mark_set_resources): New
4493         variable R; REGNO and LAST_REGNO now unsigned.
4494         (mark_target_live_regs): J and REGNO now unsigned.
4495         * rtl.c (mode_size, mode_unit_size): Now unsigned.
4496         * rtl.h (union rtunion_def): New field rtuint.
4497         (XCUINT): New macro.
4498         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
4499         (operand_subword, operand_subword_force): Word number is unsigned.
4500         (choose_hard_reg_mode): Operands are unsigned.
4501         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
4502         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
4503         (regno_use_in, combine_instructions, remove_death): Likewise.
4504         (reg_scan, reg_scan_update): Likewise.
4505         (extended_count): Return is unsigned.
4506         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
4507         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
4508         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
4509         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
4510         (reg_reg_last_1): FIRS and LAST now unsigned.
4511         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
4512         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
4513         now unsigned.
4514         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
4515         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
4516         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
4517         (replace_regs): Arg NREGS now unsigned.
4518         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
4519         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
4520         (simplify_binary_operation): Likewise.
4521         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
4522         THIS_LAST now unsigned.
4523         (cselib_record_set): Add cast.
4524         * ssa.c (ssa_max_reg_num): Now unsigned.
4525         (rename_block): REGNO now unsigned.
4526         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
4527         sizes now unsigned.
4528         (all_cases_count): Just return -1 not -2.
4529         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
4530         Rework tests to use trees whenever possible.
4531         Use host_integerp and tree_low_cst.
4532         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
4533         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
4534         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
4535         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
4536         (smallest_mode_for_size): Likewise.
4537         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
4538         KNOWN_ALIGN is now an alignment, so simplify code.
4539         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
4540         (start_record_layout): Renamed from new_record_layout_info.
4541         Update to new fields.
4542         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
4543         New functions.
4544         (place_union_field): Renamed from layout_union_field.
4545         Update to use new fields in rli.
4546         (place_field): Renamed from layout_field.
4547         Major rewrite to use new fields in rli; pass alignment to layout_decl.
4548         (finalize_record_size): Rework to use new fields in rli and handle
4549         union.
4550         (compute_record_mode): Rework to simplify and to use new DECL fields.
4551         (finalize_type_size): Make rounding more consistent.
4552         (finish_union_layout): Deleted.
4553         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
4554         (layout_type, case RECORD_TYPE): Call new function names.
4555         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
4556         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
4557         (get_best_mode): UNIT is now unsigned; remove casts.
4558         * tree.c (bit_position): Compute from new fields.
4559         (byte_position, int_byte_position): New functions.
4560         (print_type_hash_statistics): Cast to remove warning.
4561         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
4562         (build_index_type): Likewise; make subtype of sizetype.
4563         (build_index_2_type): Pass sizetype to build_range_type.
4564         (build_common_tree_nodes): Use size_int and bitsize_int to
4565         initialize nodes; add bitsize_{zero,one,unit}_node.
4566         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
4567         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
4568         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
4569         (DECL_FIELD_BITPOS): Deleted.
4570         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
4571         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
4572         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
4573         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
4574         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
4575         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
4576         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
4577         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
4578         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
4579         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
4580         (DECL_ALIGN): Adjust to new field in union.
4581         (DECL_OFFSET_ALIGN): New field.
4582         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
4583         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
4584         (union tree_decl): Add struct for both aligns.
4585         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
4586         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
4587         (struct record_layout_info): Rework fields to have offset
4588         alignment and byte and bit position.
4589         (start_record_layout, place_field): Renamed from old names.
4590         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
4591         (byte_position, int_byte_position): Likewise.
4592         (get_inner_reference): Change types of position and length.
4593         * unroll.c (unroll_loop): New variable R; use for some loops.
4594         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
4595         (calculate_giv_inc): Arg REGNO now unsigned.
4596         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
4597         * varasm.c (assemble_variable): Clean up handling of size using
4598         host_integerp and tree_low_cst.
4599         (decode_addr_const): Use byte, not bit, position.
4600         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
4601         use tree_low_cst and int_bit_position.
4602         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
4603
4604 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
4605
4606         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
4607         (reorder_block_def): New members eff_head and eff_end.
4608         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
4609         (verify_insn_chain): New function.
4610         (skip_insns_between_block): Add code to skip deleted insns.
4611         Check for note before using.
4612         (chain_reorder_blocks): Replace calls to skip_insns_between_block
4613         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
4614         Check for note before using.
4615         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
4616         (fixup_reorder_chain): Restructure, clean up, defect removal.
4617         (reorder_basic_blocks): Remove last_insn and references to it.
4618         Moved insn chain verification code into a new function (see above).
4619         Delete defective code that sets last insn.
4620         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
4621         all blocks.
4622
4623 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4624
4625         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
4626
4627 2000-03-24  Richard Henderson  <rth@cygnus.com>
4628
4629         * tree.c (lang_safe_for_unsave): Remove.
4630         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
4631         allowing for two levels of unsafeness.  Remove lang hook.
4632         * tree.h: Update declarations.
4633         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
4634         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
4635         Always fail sibcalls when there are pending cleanups.
4636
4637 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
4638
4639         * flow.c (propagate_block): When we delete an ADDR_VEC,
4640         also delete the BARRIER following it if there is one.
4641
4642 2000-03-24  Richard Henderson  <rth@cygnus.com>
4643
4644         * builtins.c (expand_builtin_bzero): Convert `length' argument
4645         to sizetype.
4646
4647 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
4648
4649         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
4650         comparison if regno's are equal.
4651         * calls.c (initialize_argument_informat): Add ecf_flags argument.
4652         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
4653         (expand_call): Update caller.
4654         Avoid making a sibling call if argument size of the callee is larger
4655         than argument size of the caller.
4656         Call hard_function_value with outgoing set if in sibcall pass.
4657         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
4658
4659         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
4660         Change LEAF_REGISTERS from an array initializer to actual array
4661         identifier. Move static global variable into the function.
4662         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
4663         sequences for leaf functions.
4664         * global.c (global_alloc): Likewise.
4665         * tm.texi (LEAF_REGISTERS): Update documentation.
4666
4667         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
4668         TARGET_FLAT leaf disabling hack.
4669         (LEAF_REGISTERS): Changed from an array initializer to actual array
4670         identifier to avoid duplication and remove the above hack.
4671         (FUNCTION_OK_FOR_SIBCALL): Define.
4672         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
4673         always like call attribute.
4674         (eligible_for_sibcall_delay): New attribute.
4675         (sibcall): New delay type.
4676         (sibcall, sibcall_value, sibcall_epilogue): New expands.
4677         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
4678         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
4679         * config/sparc/sparc.c (sparc_leaf_regs): New array.
4680         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
4681         New functions.
4682         (output_function_epilogue): Move part of the code into
4683         output_restore_regs.
4684         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
4685         TYPE_SIBCALL.
4686         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
4687         prototypes.
4688
4689         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
4690         until infrastructure is finished.
4691
4692 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
4693
4694         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
4695         (save_parm_insns): Not here.
4696
4697 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4698
4699         * builtins.c (expand_builtin_bzero): New function.
4700         (expand_builtin): Handle bzero.
4701
4702         * builtins.def: Add BUILT_IN_BZERO.
4703
4704         * c-common.c (c_common_nodes_and_builtins): Provide builtin
4705         prototype & function for bzero.
4706
4707 2000-03-23  Michael Meissner  <meissner@redhat.com>
4708
4709         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
4710         change adding TARGET_FP to the TF floating point insns, except for
4711         trunctfsf2, which generates direct calls to truncdfsf2.
4712
4713 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
4714
4715         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
4716         try to protect against middle-end changes that break binary
4717         compatibility.
4718         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
4719
4720 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4721
4722         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
4723
4724 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4725
4726         * calls.c (expand_call): If TARGET is passed by reference and
4727         is readonly, write a CLOBBER.
4728
4729 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4730
4731         * builtins.c (expand_builtin): Handle bcmp.
4732
4733         * builtins.def: Add BUILT_IN_BCMP.
4734
4735         * c-common.c (c_common_nodes_and_builtins): Provide builtin
4736         prototype & function for bcmp.
4737
4738 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
4739
4740         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
4741         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
4742         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
4743
4744 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
4745
4746         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
4747         alternative when using -fp64 -gp32.
4748
4749 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
4750
4751         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
4752         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
4753         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
4754
4755         * frame.h (frame_state): Revert last change.
4756         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
4757         * libgcc2.c (throw_helper): Revert last change.
4758
4759 2000-03-22  Richard Henderson  <rth@cygnus.com>
4760
4761         * stmt.c (expand_asm_operands): Don't promote the temporary.
4762
4763 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4764
4765         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
4766         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
4767           c_get_alias_set): Likewise.
4768         * c-decl.c (duplicate_decls): Likewise.
4769         * c-typeck.c (default_conversion,build_unary_op): Likewise.
4770         * calls.c (initialize_argument_information): Likewise.
4771         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
4772         Likewise.
4773         * dwarfout.c (decl_class_context,output_type): Likewise.
4774         * expr.c (get_inner_reference): Likewise.
4775         * fold-const.c (simple_operand_p,fold): Likewise.
4776         * function.c (aggregate_value_p): Likewise.
4777         * stmt.c (expand_asm_operands): Likewise.
4778         * varasm.c (named_section): Likewise.
4779
4780 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
4781
4782         Implement dwarf2 exception handling for the ARM.
4783         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
4784         (DWARF_FRAME_RETURN_COLUMN): Define.
4785         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
4786         REG_FRAME_RELATED_EXPR note.
4787         (emit_sfm): Likewise.
4788         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
4789         * dwarf2out.c (reg_save): Handle saving a register to itself.
4790         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
4791         * except.c (eh_regs): Don't use the static chain reg if it's
4792         callee-saved.
4793         * frame.h (frame_state): Add cfa_saved field.
4794         * frame.c (execute_cfa_insn): Set it.
4795         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
4796         the epilogue.
4797         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
4798         Now takes a parm.
4799         (instantiate_virtual_regs): Adjust.
4800         * tm.texi: Adjust.
4801         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
4802         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
4803         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
4804
4805         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
4806         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
4807
4808 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4809
4810         * builtins.def: New file.
4811
4812         * Makefile.in (TREE_H): Depend on builtins.def.
4813
4814         * builtins.c (built_in_names): Use builtins.def.
4815
4816         * tree.h (built_in_function): Likewise.
4817
4818 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
4819
4820         * tree.c (size_in_bytes): Return size_zero_node, not
4821         integer_zero_node.
4822
4823 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
4824
4825         * config/fp-bit.c (pack_d): Correct the case when a denormal
4826         is rounded up and stops being denormal.
4827
4828 2000-03-21  Richard Henderson  <rth@cygnus.com>
4829
4830         * config/alpha/alpha.c (function_arg): Check for void_type_node
4831         before using MUST_PASS_IN_STACK.
4832
4833 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
4834
4835         * regmove.c (combine_stack_adjustments_for_block): Check that
4836         the stack pointer is a valid memory address.
4837
4838 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
4839
4840         * calls.c: re-install Mar 16 emit_library_call merge.
4841
4842 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
4843
4844         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
4845         we cannot be sure that if reload_completed base register will
4846         be properly aligned.
4847
4848 2000-03-21  Richard Henderson  <rth@cygnus.com>
4849
4850         * flow.c (delete_block): Fix typo last change.
4851
4852 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
4853
4854         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
4855         not COMPLETE_TYPE_P, to check the type of the expression.
4856
4857 2000-03-21  Michael Meissner  <meissner@redhat.com>
4858
4859         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
4860         all floating point insns that just tested the macro
4861         TARGET_HAS_XFLOATING_LIBS.
4862         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
4863         used to only use the gprs.
4864
4865 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
4866
4867         * tree.h (COMPLETE_TYPE_P): New macro.
4868         (COMPLETE_OR_VOID_TYPE_P): New macro.
4869         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
4870         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
4871         * c-aux-info.c (gen_type): Use them.
4872         * c-common.c (c_expand_expr_stmt): Likewise.
4873         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
4874         grokdeclarator, grokparms, finish_struct, start_function,
4875         store_parm_decls, combine_parm_decls): Likewise.
4876         * c-parse.y (cast_expr): Likewise.
4877         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
4878         c_size_in_bytes, c_alignof, build_component_ref,
4879         build_indirect_ref, build_array_ref, convert_arguments,
4880         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
4881         * calls.c (initialize_argument_information): Likewise.
4882         * convert.c (convert_to_integer): Likewise.
4883         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
4884         * dwarfout.c (location_or_const_value_attribute,
4885         output_enumeration_type_die, output_structure_type_die,
4886         output_union_type_die, output_type): Likewise.
4887         * expr.c (safe_from_p, expand_expr): Likewise.
4888         * function.c (assign_parms): Likewise.
4889         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
4890         * tree.c (build_array_type, build_function_type,
4891         build_method_type, build_offset_type, build_complex_type): Likewise.
4892         * c-parse.c, c-parse.h: Regenerated.
4893
4894 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4895
4896         * config/c4x/rtems.h: Include config/rtems.h.
4897
4898 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
4899
4900         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
4901         decl is a FUNCTION_DECL
4902
4903 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
4904
4905         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
4906         function uses output registers.  Don't save RP for leaf functions.
4907         Do save RP even if no epilogue.
4908         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
4909         (CALL_USED_REGISTERS): Unmark in registers.
4910         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
4911         to near the middle.
4912
4913 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
4914
4915         * config/rs6000/rs6000.md (bunordered): New expander.
4916         (bordered): New expander.
4917         (buneq): New expander.
4918         (bunge): New expander.
4919         (bungt): New expander.
4920         (bunle): New expander.
4921         (bunlt): New expander.
4922         (bltgt): New expander.
4923
4924         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
4925         (ccr_bit_negated_p): New function.
4926         (print_operand): For %C, generate appropriate cror for UNEQ,
4927         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
4928
4929 2000-03-20  Andreas Jaeger  <aj@suse.de>
4930
4931         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
4932         warning.
4933
4934         * tree.h (safe_for_unsave): Prototype.
4935
4936 2000-03-20  Richard Henderson  <rth@cygnus.com>
4937
4938         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
4939         (combine_stack_adjustments_for_block): Don't allow sp references
4940         in the side of a set we're not fixing up.
4941         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
4942         after life_analysis.
4943
4944 2000-03-20  Richard Henderson  <rth@cygnus.com>
4945
4946         * calls.c (expand_call): Don't bother generating tail call
4947         sequences if there are pending cleanups.  Use
4948         expand_start_target_temps/expand_end_target_temps to elide
4949         cleanups created during sibcall expansion.
4950
4951 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
4952
4953         * configure.in: Set $IFS to a value if it doesn't already have one
4954         in the --enable-checking handling.
4955         * configure: Regenerate.
4956
4957 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4958
4959         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
4960         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
4961         Regenerated.
4962
4963 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
4964
4965         * jump.c (delete_noop_moves): Remove code attempting to
4966         combine stack adjustments.
4967
4968 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4969
4970         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
4971         * except.c (emit_cleanup_handler): Use them.
4972         (expand_end_all_catch): Likewise.
4973         * function.c (fixup_var_refs): Likewise.
4974         (expand_function_end): Clear catch_clauses_last.
4975         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
4976         * except.h (struct eh_status): New field x_catch_clauses_last.
4977         (catch_clauses_last): New define.
4978
4979         * Makefile.in (tree.o): Depend on HASHTAB_H.
4980         * tree.c: Include hashtab.h.
4981         (struct type_hash): Remove next field.
4982         (TYPE_HASH_SIZE): Remove.
4983         (TYPE_HASH_INITIAL_SIZE): New define.
4984         (type_hash_table): Change type to htab_t.
4985         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
4986         mark_hash_entry): New functions.
4987         (init_obstacks): Allocate type hash.
4988         (type_hash_lookup): Use htab functions.
4989         (type_hash_add, mark_type_hash): Likewise.
4990         (dump_tree_statistics): Call print_type_hash_statistics.
4991
4992 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4993
4994         * rs6000/t-aix41: New file.
4995
4996         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
4997
4998 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
4999
5000         * tm.texi (Driver): Fix typos and tweak entry for
5001         INCLUDE_DEFAULTS.
5002         Move misplaced STRUCT_FORCE_BLK entry ...
5003         (Storage Layout): ... to here.
5004         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
5005
5006 2000-03-19  Richard Henderson  <rth@cygnus.com>
5007
5008         * flow.c (delete_block): Delete the addr_vec along with the block.
5009         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
5010         reference labels.
5011
5012         * fold-const.c (extract_muldiv): Apply type check for defined
5013         overflow to multiply as well as divide.
5014
5015         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
5016
5017 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
5018
5019         * emit-rtl.c (remove_unncessary_notes): Check that all
5020         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
5021         associated NOTE_BLOCK.
5022         * function.h (identify_blocks): Update comments.
5023         (reorder_blocks): Declare.
5024         * function.c (identify_blocks): Don't take paramters.
5025         (reorder_blocks): Don't take parameters.
5026         * loop.h (find_loop_tree_blocks): Remove.
5027         (unroll_block_trees): Likewise.
5028         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
5029         reorder_blocks instead of unroll_block_trees.h
5030         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
5031         * stmt.c (find_loop_tree_blocks): Remove.
5032         (unroll_block_trees): Likewise.
5033         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
5034         in whole-function mode.
5035         * tree.h (reorder_blocks): Remove declaration.
5036
5037         * expr.c: Include intl.h.
5038         * Makefile.in (expr.o): Depend on intl.h.
5039
5040 2000-03-18  Richard Henderson  <rth@cygnus.com>
5041
5042         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
5043
5044 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
5045
5046         * tree.h (tree_index): Remove enumerals for integer types.
5047         (integer_type_kind): New type.
5048         (integer_types): New variable.
5049         (char_type_node): Adjust.
5050         (signed_char_type_node): Likewise.
5051         (unsigned_char_type_node): Likewise.
5052         (short_integer_type_node): Likewise.
5053         (short_unsigned_type_node): Likewise.
5054         (integer_type_node): Likewise.
5055         (unsigned_type_node): Likewise.
5056         (long_integer_type_node): Likewise.
5057         (long_unsigned_type_node): Likewise.
5058         (long_long_integer_type_node): Likewise.
5059         (long_long_unsigned_type_node): Likewise.
5060         * tree.c (integer_types): New variable.
5061         (init_obstacks): Register it as a root.
5062
5063 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
5064
5065         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
5066         NEXT_INSN. Update last insn in chain.
5067
5068 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
5069
5070         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
5071         with TYPE_DECL_SUPPRESS_DEBUG set.
5072
5073 2000-03-18  Richard Henderson  <rth@cygnus.com>
5074
5075         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
5076
5077 2000-03-18  Richard Henderson  <rth@cygnus.com>
5078
5079         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
5080         care for HALF_PIC_P.
5081         (expander_call_insn_operand): Remove.
5082         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
5083         * i386.h (PREDICATE_CODES): Update.
5084         * i386.md (all call expanders): Remove predicates, remove special
5085         handling for half-pic.
5086         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
5087         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
5088         (sibcall_epilogue): New.
5089
5090 2000-03-17  Richard Henderson  <rth@cygnus.com>
5091
5092         * rtlanal.c (single_set): Reject if the parallel has anything
5093         except SET or USE or CLOBBER.
5094
5095 2000-03-17  Jeff Law  <law@cygnus.com>
5096             Richard Henderson  <rth@cygnus.com>
5097
5098         * Makefile.in (OBJS): Add sibcall.o.
5099         (sibcall.o): New.
5100         * sibcall.c: New file.
5101         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
5102         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
5103         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
5104         Emit sibcall patterns when requested.  Update all callers.
5105         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
5106         elimination seems feasable.
5107         * final.c (leaf_function_p): Sibling calls don't discount being
5108         a leaf function.
5109         * flow.c (HAVE_sibcall_epilogue): Provide default.
5110         (find_basic_blocks_1): Sibling calls don't throw.
5111         (make_edges): Make edge from sibling call to EXIT.
5112         (propagate_block): Don't remove sibcall_epilogue insns.
5113         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
5114         (sibcall_epilogue): New.
5115         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
5116         (identify_blocks_1): Likewise.  Break out from ...
5117         (identify_blocks): ... here.
5118         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
5119         (reorder_blocks): ... here.
5120         (init_function_for_compilation): Zap prologue/epilogue as varrays.
5121         (record_insns): Extend a varray instead of mallocing new memory.
5122         (contains): Read a varray not array of ints.
5123         (sibcall_epilogue_contains): New.
5124         (thread_prologue_and_epilogue_insns): Emit and record
5125         sibcall_epilogue patterns.
5126         (init_function_once): Allocate prologue/epilogue varrays.
5127         * genflags.c (gen_insn): Treat sibcall patterns as calls.
5128         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
5129         Broken out from ...
5130         (save_for_inline_nocopy): ... here.
5131         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
5132         Broken out from ...
5133         (expand_inline_function): ... here.
5134         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
5135         (subst_constants): Handle 'n' formats.
5136         * jump.c (jump_optimize_minimal): New.
5137         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
5138         optimizations if it's set.
5139         * rtl.c (copy_rtx): Do copy jump & call for insns.
5140         * rtl.h (struct rtx_def): Document use of jump and call for insns.
5141         (SIBLING_CALL_P): New.
5142         (sibcall_use_t): New.
5143         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
5144         Invoke optimize_sibling_and_tail_recursive_calls.
5145         * tree.c (lang_safe_for_unsave): New.
5146         (safe_for_unsave): New.
5147         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
5148
5149         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
5150         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
5151         (*sibcall_osf_1, *sibcall_value_osf_1): New.
5152
5153 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
5154
5155         * objc/objc-act.c (encode_method_prototype): Pass types, not
5156         PARM_DECLs, to int_size_in_bytes.
5157
5158 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
5159
5160         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
5161
5162         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
5163         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
5164
5165 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5166
5167         * Clean up usages of TREE_INT_CST_LOW.
5168         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
5169         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
5170         Regenerated.
5171         * c-tree.h (min_precision): Move declaration to here.
5172         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
5173         (build_unary_op, add_pending_init): Use bit_position.
5174         (pending_init_member, process_init_element): Likewise.
5175         (really_start_incremental_init, push_init_level, pop_init_level):
5176         Don't make copies of nodes or modify them in place, use consistent
5177         types when tracking positions, and use tree routines computations.
5178         (set_init_index, output_init_element): Likewise.
5179         (output_pending_init_elements, process_init_element): Likewise.
5180         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
5181         tree_low_cst and int_bit_position; also minor cleanup.
5182         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
5183         (print_cst_octal): Precision is unsigned.
5184         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
5185         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
5186         (simple_type_align_in_bits): Result is unsigned int.
5187         Use tree_int_low_cst and host_integerp.
5188         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
5189         (field_byte_offset): Result is HOST_WIDE_INT.
5190         Change types of internal variables so alignments are unsigned int,
5191         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
5192         Use host_integerp, tree_low_cst, and int_bit_position.
5193         (add_bit_offset_attribute): Likewise.
5194         (add_data_member_location_attribute): Use tree_cst_low.
5195         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
5196         (add_bit_size_attribute): Use tree_low_cst.
5197         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
5198         * dwarfout.c: Similar changes to dwarf2out.c.
5199         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
5200         * genoutput.c (n_occurences): Return -1 for null string.
5201         (strip_whitespace): Accept null string and make into function.
5202         (scan_operands): Reflect above changes.
5203         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
5204         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
5205         * ssa.c (rename_registers): Add missing cast of arg to bzero.
5206         * tree.c (int_size_in_bytes): Check for too big to represent.
5207         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
5208         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
5209         New declarations.
5210         (min_precision): Delete from here.
5211         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
5212         and int_bit_position.
5213         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
5214         (encode_method_def): Likewise.
5215         (build_ivar_list_initializer): Use int_bit_position.
5216         (generate_shared_structures): Convert size.
5217         (encode_type, encode_complete_bitfield): Use integer_zerop.
5218         (encode_bitfield): Use tree_low_cst and int_bit_position.
5219
5220 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5221
5222         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
5223
5224 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5225
5226         * call.c (special_function_p): It is only malloc if it returns
5227         Pmode.
5228
5229 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5230
5231         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
5232         (C33_FLAG, TARGET_C3X): Add macros.
5233         (TARGET_SWITCHES): Add -m33 option.
5234         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
5235
5236 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5237
5238         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
5239         (PARALLEL_PACK_FLAG): Delete.
5240         (TARGET_SWITCHES): Update.
5241         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
5242
5243 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5244
5245         * fold-const.c (fold): Fix a few cases when the returned result
5246         is not of the same type as the input.
5247
5248 2000-03-16  Nick Clifton  <nickc@cygnus.com>
5249
5250         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
5251         warning.
5252
5253 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5254
5255         * libgcc2.h: Move prototypes above macros with the same name.
5256         Wrap some function prototypes in the conditional which indicates
5257         whether they are supported, i.e. "BITS_PER_UNIT == 8".
5258
5259 2000-03-16  Richard Henderson  <rth@cygnus.com>
5260
5261         * calls.c: Revert last two changes.
5262
5263 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
5264
5265         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
5266         has exponent 0 is a zero.
5267
5268         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
5269         HASH may already be nonzero.  Add code/mode into hash value
5270         immediately after repeat label.
5271         (cselib_lookup): Don't leave the hash table in an inconsistent
5272         state before a hash lookup operation.
5273
5274 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
5275
5276         * i386.md (all HI and QI mode non-move patterns):  Conditionize
5277         by TARGET_[HQ]IMODE_MATH.
5278         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
5279         x86_promote_qi_regs): Declare.
5280         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
5281         TARGET_PROMOTE_QI_REGS): New macros.
5282         (PROMOTE_MODE): New macro.
5283         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
5284         x86_promote_qi_regs): New global variables.
5285
5286 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
5287
5288         * calls.c (emit_library_call_value_1): Break out from ...; handle
5289         VOIDmode function calls too.
5290         (emit_library_call_value): ... here.
5291         (emit_library_call): Implement by calling emit_library_call_value_1.
5292
5293 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
5294
5295         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
5296         Update arg_space_so_far on stack adjustments.
5297         (emit_library_call, emit_library_call_value): Likewise; take into
5298         account arg_space_so_far and pending_stack_adjust when calculcating
5299         the boundary.
5300
5301 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
5302
5303         * flow.c: Move all basic block reordering code into its own file.
5304         (create_basic_block): Externalize.
5305         * bb-reorder.c: New file. Copy all basic block reordering code from
5306         flow.c to this file.
5307         (reorder_basic_blocks): Fix fencepost error in for-loop.
5308         (reorder_basic_blocks): Remove braces from single statement for-loops.
5309         * basic-block.h: Add declaration for create_basic_block.
5310         * Makefile.in: Add rules for bb-reorder.o.
5311
5312 2000-03-16  Neil Booth  <NeilB@earthling.net>
5313
5314         * cppinit.c (handle_option):  Implement #unassert directive
5315         as -A- command line option.
5316         (print_help):  Update.
5317         * cpptexi.c:  Update.
5318
5319 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5320
5321         * md.texi (Standard Names): Document `jump'.
5322
5323 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
5324
5325         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
5326         gotos.
5327
5328 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
5329
5330         Merge changes from newppc-branch onto trunk.
5331
5332         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
5333
5334         * rs6000.c (toc_hash_table): Update for new hash table functions.
5335         (toc_hash_function): Likewise.
5336         (toc_hash_eq): Likewise.
5337         (toc_hash_mark_entry): Likewise.
5338         (toc_hash_mark_table): Likewise.
5339         (output_toc): Likewise.
5340         (rs6000_add_gc_roots): Likewise.
5341
5342         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5343
5344         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
5345         (AR_FLAGS_FOR_TARGET): here.  New macro.
5346
5347         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
5348
5349         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
5350         fpmem_operand) Delete.
5351         (xer_operand) New.
5352         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
5353         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
5354         (rs6000_save_machine_status, rs6000_restore_machine_status,
5355         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
5356         references to above variables.
5357         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
5358         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
5359         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
5360         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
5361         (XER_REGNO_P, XER_REGNO): New.
5362         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
5363         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
5364         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
5365         XER_REGNO_P.
5366         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
5367         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
5368         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
5369
5370         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5371
5372         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
5373         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
5374         * rs6000.h: from here.
5375
5376         * rs6000-protos.h (rs6000_select_section): Provide prototype.
5377         (rs6000_select_rtx_section): Likewise.
5378         (rs6000_encode_section_info): Likewise.
5379         (sdata_section): Likewise.
5380         (sdata2_section): Likewise.
5381         (sbss_section): Likewise.
5382         * sysv4.h (rs6000_select_section): Delete prototype.
5383         (rs6000_select_rtx_section): Likewise.
5384         (rs6000_encode_section_info): Likewise.
5385         (sdata_section): Likewise.
5386         (sdata2_section): Likewise.
5387         (sbss_section): Likewise.
5388         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
5389
5390         * sysv4.h: Delete various unnecessary #undef's and put a comment
5391         on the remaining ones.
5392         Change various comments according to coding standard.
5393
5394         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
5395
5396         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
5397         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
5398         (CR0_REGNO_P) Remove.
5399         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
5400         setup_incoming_varargs, mtcrf_operation, print_operand,
5401         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
5402         Use the above macros.
5403
5404         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
5405
5406         * config/rs6000/rs6000.md: Added a new alternative for each
5407         pattern that had a 'x' alternative but no 'y' alternative.
5408         Added a new split for each of the above patterns.
5409
5410         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
5411
5412         * aix41.h (ASM_CPU_SPEC): Delete.
5413         (CPP_CPU_SPEC): Delete.
5414
5415         * aix.h (RS6000_OUTPUT_BASENAME): Define.
5416         (ASM_OUTPUT_LABEL): Define.
5417         (ASM_GLOBALIZE_LABEL): Define.
5418         (STRIP_NAME_ENCODING): Define.
5419         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
5420         (STRIP_NAME_ENCODING): Don't define.
5421         (ASM_OUTPUT_LABEL): Don't define.
5422         (ASM_GLOBALIZE_LABEL): Don't define.
5423         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
5424         names, and ASM_OUTPUT_LABEL to output labels, rather than
5425         asm_fprintf.
5426         (ASM_OUTPUT_LABEL): Define.
5427         (ASM_OUTPUT_INT): Use assemble_name.
5428         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
5429         (STRIP_NAME_ENCODING): Don't undefine first.
5430         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
5431         ELF.
5432         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
5433         specified with 'asm' even with -fleading-underscore.
5434         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
5435         (output_epilog): Likewise.
5436         (output_toc): Likewise.
5437         * tramp.asm: Handle -fleading-underscore correctly.
5438
5439         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
5440         -mminimal-toc.
5441         (nonlocal_goto_receiver): Delete.
5442         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
5443
5444         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
5445         (SET_ASM_OP): Define.
5446         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
5447
5448         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
5449         (ASM_LONG): Define.
5450
5451         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
5452         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
5453
5454         * rs6000.h: Add 'u' to more constants.
5455
5456         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
5457
5458         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
5459
5460         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
5461
5462         * rs6000.c (reg_or_u_cint_operand): New function.
5463         (logical_operand): Handle 64-bit hosts.
5464         (logical_u_operand): New function.
5465         (non_logical_cint_operand): Handle 64-bit hosts.
5466         (non_logical_u_cint_operand): New function.
5467         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
5468         (PREDICATE_CODES): Define new functions.
5469         * rs6000-protos.h: Declare new functions.
5470         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
5471         (movdi_64): Bracket code intended for 64-bit hosts.  Create
5472         CONST_DOUBLE for 32-bit values.
5473         (scc insns): Generate DImode compares.
5474         (mfcr insns): Create DImode versions.
5475         (sge matchers): New patterns.
5476
5477         2000-02-15  Gabriel Paubert  <paubert@iram.es>
5478
5479         * rs6000.md: Correct instructions length attributes and
5480         constraints on unsigned compare instructions.
5481         (*ne0): Disable for PowerPC64.
5482
5483         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5484
5485         * rs6000.c (output_function_profiler): Use .long for a 32-bit
5486         quantity, fix profile1.C test failure under -fPIC.
5487
5488         * rs6000.c: Add 'u' to many constants to suppress warnings.
5489         (constant_pool_expr_1): Make static.
5490         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
5491         * rs6000.h: Add 'u' to many constants to suppress warnings.
5492
5493         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
5494         for the start of the TOC, instead of LCTOC..0.
5495         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
5496         of the TOC.
5497         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
5498         (load_toc_aix_di): Use LCTOC..1.
5499
5500         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
5501         * rs6000.c (rs6000_legitimize_address): New function from
5502         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
5503         symbols in the constant pool that really are TOC references.
5504         (print_operand_address): For ELF, write TOC offsets under
5505         -fPIC as subtractions in the insn.
5506         (output_toc): For ELF, define symbols in TOC as normal labels,
5507         to match RTL.
5508         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
5509         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
5510         (create_TOC_reference): Prototype only when RTX_CODE is defined.
5511         * rs6000.md (movsi): Only use create_TOC_reference on
5512         symbols in the constant pool that really are TOC references.
5513
5514         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
5515         * rs6000.c (rs6000_reorg): Delete.
5516         * rs6000-protos.h (rs6000_reorg): Delete.
5517
5518         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
5519
5520         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
5521
5522         * aix.h (SETUP_FRAME_ADDRESSES): Define.
5523         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
5524         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
5525         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
5526         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
5527         rs6000_aix_emit_builtin_unwind_init.
5528         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
5529         rs6000_emit_eh_toc_restore on AIX.
5530         (return_eh_si): Use r2.
5531         (return_eh_di): Use r2.
5532
5533         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
5534         since we're breaking binary compatibility anyway.
5535
5536         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5537
5538         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
5539         constant_pool_expr_p): Declare them.
5540         (constant_pool_expr_p): Declare it.
5541         * config/rs6000/rs6000.c (toc_label_name): Define.
5542         (rs6000_override_options): Set toc_label_name.
5543         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
5544         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
5545         uses_TOC): New functions.
5546         (print_operand): Delete old '*' case.
5547         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
5548         and strip off rtl for TOC before calling output_addr_const.
5549         (rs6000_emit_load_toc_table): Use toc_label_name.
5550         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
5551         the default.
5552         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
5553         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
5554         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
5555         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
5556         into explicit TOC_REGISTER offsets.
5557         (TOC_REGISTER): New macro.
5558         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
5559         TARGET_TOC to reference TOC_REGISTER.
5560         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
5561         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
5562         uses_TOC before emitting label references.
5563
5564         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
5565
5566         * rs6000.md (stack_tie): Fix warning.
5567
5568         * eabi-ctors.c: Use 'asm' names for the start/end variables,
5569         to handle -fleading-underscore.
5570         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
5571         (USER_LABEL_PREFIX): New macro.
5572         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
5573         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
5574         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
5575         call-linux can use the same multilibs.
5576         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
5577         and call-linux multilibs.  Do multilib with -fleading-underscore.
5578         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
5579         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
5580         to call-aix.
5581
5582         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
5583         have MASK_SOFT_FLOAT set.
5584         (CPP_FLOAT_DEFAULT_SPEC): New macro.
5585         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
5586         CPP_FLOAT_DEFAULT_SPEC.
5587
5588         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
5589         * rs6000.md: Whitespace change.
5590         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
5591         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
5592
5593         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
5594
5595         * rs6000.md (eh_epilogue): New expander.
5596         (eh_reg_restore): New expand/split/insn combination.
5597         (return_eh_si): New insn.
5598         (return_eh_di): New insn.
5599
5600         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
5601         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
5602         * eabi-ctors.c (__do_global_ctors): Register this object's
5603         frame.  Clean up.  Call atexit() after the constructors.
5604         (__do_global_dtors): Deregister this object's frame.  Clean up.
5605         Allow for recursive calls to exit().
5606         * rs6000.c (fixuplabelno): New variable.
5607         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
5608         TARGET_RELOCATABLE, it slows down exec() under linux.
5609         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
5610
5611         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
5612         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
5613         (ASM_OUTPUT_DWARF_DELTA2): New macro.
5614         (ASM_OUTPUT_DWARF_DELTA4): New macro.
5615         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
5616         (ASM_OUTPUT_DWARF_ADDR): New macro.
5617         (ASM_OUTPUT_DWARF_DATA4): New macro.
5618         (ASM_OUTPUT_DWARF_DATA2): New macro.
5619         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
5620         (ASM_OUTPUT_DWARF_OFFSET): New macro.
5621         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
5622
5623         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
5624
5625         * rs6000.c (rs6000_sr_alias_set): New variable.
5626         (rs6000_override_options): Initialise rs6000_sr_alias_set.
5627         (rs6000_emit_stack_tie): New function.
5628         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
5629         in a way that dwarf2out can understand.
5630         (rs6000_frame_related): New function.
5631         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
5632         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
5633         Use rs6000_emit_stack_tie when needed.
5634         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
5635         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
5636         * rs6000.md (stack_tie): New insn.
5637         (return_internal_si): Allow return value to be in the count
5638         register.
5639         (return_internal_di): Likewise.
5640
5641         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
5642
5643         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
5644
5645         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
5646
5647         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
5648
5649         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
5650
5651         * rs6000.md (stmw): Use the right POWER opcode.
5652         (lmw): Likewise.
5653
5654         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5655
5656         * rs6000-protos.h: New file.
5657
5658         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
5659
5660         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
5661         warnings.
5662
5663         * sysv4.h: Likewise.
5664
5665         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
5666
5667         * ../../configure.in: Delete powerpcle-*-winnt*
5668         and powerpcle-*-pe|powerpcle-*-cygwin*.
5669         * ../../configure: Regenerated.
5670         * cygwin.h: Delete.
5671         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
5672         (TARGET_WINDOWS_NT): Delete.
5673         (ABI_NT): Delete.
5674         (CALL_NT_DLLIMPORT): Delete.
5675         Delete NT-specific code.
5676         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
5677         * win-nt.h: Delete.
5678         * t-winnt: Delete.
5679         * nt-ci.asm: Delete.
5680         * nt-cn.asm: Delete.
5681         * ntstack.asm: Delete.
5682
5683         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5684
5685         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
5686         (ASM_FILE_START): Likewise.
5687         (ASM_DECLARE_FUNCTION_NAME): Likewise.
5688         (ASM_OUTPUT_LABELREF): Likewise.
5689         (ASM_OUTPUT_SKIP): Likewise.
5690         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
5691         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5692         (ASM_OUTPUT_CASE_LABEL): Likewise.
5693         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
5694         (ASM_OUTPUT_ASCII): Likewise.
5695
5696         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
5697
5698         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
5699         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
5700         increment rs6000_pic_labelno here.
5701         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
5702         and increment rs6000_pic_labelno here.
5703
5704         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
5705
5706         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
5707         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
5708         allocation knows (reg) is dead before the insn.
5709
5710         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
5711
5712         * rs6000.md (movsi_to_cr): Correct typo in output template.
5713
5714         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
5715
5716         * rs6000.c (rs6000_pic_labelno): Always define.
5717         (rs6000_pic_func_labelno): Delete.
5718         (lmw_operation): Check for a zero base register,
5719         which doesn't mean what we want.
5720         (stmw_operation): New function.
5721         (print_operand): Define new 'l' modifier.
5722         (rs6000_stack_info): We must save all 64 bits of the registers
5723         if TARGET_POWERPC64.
5724         (rs6000_output_load_toc_table): Delete.
5725         (rs6000_emit_load_toc_table): New function.
5726         (rs6000_allocate_stack_space): Delete.
5727         (rs6000_emit_allocate_stack): New function.
5728         (rs6000_emit_prologue): New function.
5729         (output_prolog): Use rs6000_emit_prologue.
5730         (rs6000_emit_epilogue): Change a few variable names to be
5731         more accurate.  Restore all 64 bits of the registers if
5732         TARGET_POWERPC64.  Only restore the FP registers which were used
5733         if they are being saved/restored one-at-a-time.
5734         (output_mi_thunk): Delete inefficient code generation.
5735         (output_function_profiler): Don't use rs6000_output_load_toc_table.
5736         * rs6000.h: Declare rs6000_emit_load_toc_table,
5737         rs6000_allocate_stack_space, stmw_operation.  Don't declare
5738         rs6000_output_load_toc_table.
5739         * rs6000.md (elf_high): Allow register 0, but discourage it
5740         heavily.
5741         (elf_low): Support loading into register 0.
5742         (load_toc_aix_si): New pattern.
5743         (load_toc_aix_di): New pattern.
5744         (load_toc_v4_pic_si): New pattern.
5745         (load_toc_v4_pic_di): New pattern.
5746         (load_toc_v4_PIC_1): New pattern.
5747         (load_toc_v4_PIC_1b): New pattern.
5748         (load_toc_v4_PIC_2): New pattern.
5749         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
5750         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
5751         (prologue): New expander.
5752         (movesi_from_cr): New pattern.
5753         (stmw): New pattern.
5754         (save_fpregs_si): New pattern.
5755         (save_fpregs_di): New pattern.
5756
5757         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5758
5759         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
5760         (movdi): Likewise.
5761         (movhi): Likewise.
5762         (movqi): Likewise.
5763
5764         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5765
5766         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
5767         at present.
5768         (movsi_got_internal): Likewise.
5769         (movsi_got_internal+1): Likewise.
5770         (set_sp): 'unspec 7' does a SImode clobber.
5771
5772         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5773
5774         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
5775         allocate a stack temporary.
5776         (floatsidf2_internal): Likewise.
5777         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
5778         with unspec.
5779         (floatunssidf2): Don't use the fpmem "register", just
5780         allocate a stack temporary.
5781         (floatunssidf2_internal): Likewise.
5782         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
5783         with unspec.
5784         (floatsidf2_loadaddr): Delete.
5785         (floatsidf2_store1): Delete.
5786         (floatsidf2_store2): Delete.
5787         (floatsidf2_load): Delete.
5788         (fix_truncdfsi2): Don't use the fpmem "register", just
5789         allocate a stack temporary.
5790         (fix_truncdfsi2_internal_si): Delete.
5791         (fix_truncdfsi2_internal_di): Delete.
5792         (fix_truncdfsi2_internal): New insn.
5793         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
5794         (fix_truncdfsi2_store): Delete.
5795         (fix_truncdfsi2_load): Delete.
5796         (fctiwz): Produce gen_fctiwz.
5797
5798         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
5799
5800         * eabi.h (INVOKE__main): Define.
5801         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
5802         specially.
5803         (rs6000_emit_prologue): Likewise.
5804         * rs6000.h (struct rs6000_stack): Don't keep track of whether
5805         this is the main program.
5806
5807         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5808
5809         * rs6000.c (rs6000_va_arg): Delete some unused variables.
5810
5811         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
5812
5813         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
5814         goes after the argument.
5815
5816         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
5817
5818         * rs6000.md: Document 'unspec' values used.
5819         (epilogue): New expander.
5820         (movesi_to_cr_one): New expander.
5821         (movesi_to_cr and following): New pattern.
5822         (lmw): New pattern.
5823         (return_internal_si): New pattern.
5824         (return_internal_di): New pattern.
5825         (return_and_restore_fpregs_si): New pattern.
5826         (return_and_restore_fpregs_di): New pattern.
5827         * rs6000.h: Declare new functions.
5828         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
5829         rather than rs6000_calls_p.
5830         (rs6000_makes_calls): Delete.
5831         (lmw_operation): New function.
5832         (mtcrf_operation): New function.
5833         (rs6000_emit_epilogue): New function.
5834         (output_epilog): Call rs6000_emit_epilogue and final if
5835         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
5836
5837         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
5838
5839         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
5840         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
5841         * aix.h (SUBTARGET_SWITCHES): Document switches.
5842         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
5843         sched-prolog and sched-epilog the same.  Document all the
5844         switches.
5845         (TARGET_OPTIONS): No longer allow -mdebug-.
5846
5847         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
5848
5849         * rs6000.h (ASM_FILE_END): Move to aix.h.
5850         (EXTRA_SECTIONS): Move to aix.h.
5851         (READONLY_DATA_SECTION): Move to aix.h.
5852         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
5853         (SELECT_SECTION): Move to aix.h.
5854         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
5855         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
5856         (LINK_REGISTER_REGNUM): New definition.
5857         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
5858         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
5859         AIX and SVR4.
5860         * sysv4.h: Delete the code between the inclusion of rs6000.h
5861         and svr4.h.
5862         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
5863         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
5864         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
5865         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
5866         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
5867         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
5868         (fix_truncdfsi2_internal_di): New pattern.
5869         (fix_truncdfsi2_store): The second arg here is Pmode too.
5870         (fix_truncdfsi2_load): The second arg here is Pmode too.
5871         (tablejumpdi): Now that switch tables hold only SImode values,
5872         gcc needs to know how to add them to the pc which is DImode.
5873         * rs6000.c (rs6000_stack_info): Use symbolic name for
5874         LINK_REGISTER_REGNUM.
5875         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
5876         (output_toc): Delete unused variables s1 and s2.
5877         (output_ascii): Use fputs not fprintf on a variable string.
5878
5879         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
5880
5881         * rs6000.c (processor_target_table): Add power3 as alias for 630.
5882         * aix43.h: Revert Aug 2 change.
5883         (HAS_INIT_SECTION): Define, not visible yet.
5884         (LD_INIT_SWITCH): Define, not visible yet.
5885         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
5886
5887         2000-01-04  Joel Sherrill (joel@OARcorp.com>
5888
5889         * config/rs6000/rtems.h: Include config/rtems.h.
5890
5891         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
5892
5893         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
5894         (SLOW_UNALIGNED_ACCESS): Define.
5895         (CASE_VECTOR_MODE): Always use 32-bit offsets.
5896         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
5897         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
5898         (toc_section): Likewise and .toc pseudo-op.
5899         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
5900         64-bit mode.
5901         (TEXT_SECTION_ASM_OP): Likewise.
5902         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
5903         32-bit offsets.
5904
5905         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
5906
5907         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
5908         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
5909         compiling libgcc2.
5910
5911         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5912
5913         * rs6000.h: Move more stuff from here...
5914         * aix.h: to here.
5915         * sysv4.h: Cleanup accordingly.
5916         * netware.h: Likewise
5917
5918         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5919
5920         * rs6000.h: Continue cleanup.
5921         * aix.h: Likewise.
5922         * lynx.h: Likewise.
5923         * netware.h: Likewise.
5924         * sol2.h: Likewise.
5925         * sysv4.h: Likewise.
5926         * win-nt.h: Likewise.
5927
5928         * rs6000.h (TARGET_SWITCHES): Add descriptions.
5929         (TARGET_OPTIONS): Likewise.
5930
5931         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
5932         (SUBTARGET_OPTIONS): Likewise.
5933
5934         * rs6000.md: Fix compile time warnings.
5935
5936         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
5937
5938         vxworks patches from the Cygnus tree originally by
5939         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
5940         <vmakarov@cygnus.com>.
5941         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
5942         (ENDFILE_SPEC): Likewise.
5943         (LIB_VXWORKS_SPEC): New macro.
5944         (STARTFILE_VXWORKS_SPEC): New macro.
5945         (ENDFILE_VXWORKS_SPEC): New macro.
5946         (LINK_START_VXWORKS_SPEC): New macro.
5947         (LINK_OS_VXWORKS_SPEC): New macro.
5948         (CPP_OS_VXWORKS_SPEC): New macro.
5949         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
5950         * vxppc.h: Rewrite to use proper configuration method.
5951         * vxppcle.h: New file.
5952         * ../../configure.in: Add powerpcle-wrs-vxworks*.
5953         * ../../configure: Rebuilt.
5954
5955         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
5956
5957         Lots of changes to rs6000.h, sysv4.h, aix.h,
5958         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
5959         with the aim that rs6000.h is the first header
5960         included and the others override it.
5961         * aix.h: New file.
5962
5963         * x-aix41-gld: Remove.
5964         * x-aix43: Remove.
5965         * x-aix41: Remove target-specific switches, and don't specify
5966         -Wl,-bbigtoc as we don't need it any more.
5967         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
5968         Use t-aix43 for AIX 4.3 and above.
5969         * ../../configure: Regenerated.
5970
5971         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
5972         options, that don't do anything yet.
5973         (MASK_SCHED_PROLOG): New macro.
5974         (MASK_SCHED_EPILOG): New macro.
5975         (TARGET_SCHED_PROLOG): New macro.
5976         (TARGET_SCHED_EPILOG): New macro.
5977
5978         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
5979
5980         * rs6000.c: Correct comment, the `minimal' TOCs are actually
5981         one per translation unit, not one per function.
5982         (output_toc): Also do duplicate constant elimination
5983         for per-translation-unit TOCs.
5984
5985         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
5986         a comment explaining _exactly_ when this pattern gets used.
5987         (builtin_setjmp_receiver): New pattern for better clarity.
5988         (init_v4_pic): Move it into a section dealing with TOC registers.
5989
5990         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
5991
5992         * rs6000.c (toc_hash_table): New variable.
5993         (rs6000_hash_constant): New function.
5994         (toc_hash_function): New function.
5995         (toc_hash_eq): New function.
5996         (toc_hash_mark_entry): New function.
5997         (toc_hash_mark_table): New function.
5998         (output_toc): Don't output duplicate TOC entries in
5999         a single file.
6000         (rs6000_add_gc_roots): Add the hash table as a GC root.
6001         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
6002         where they clearly shouldn't be.  This may need to be fixed
6003         later when there is a GNU ar for AIX.
6004         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
6005         Don't define BOOT_LDFLAGS as it is now not necessary.
6006
6007         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
6008
6009         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
6010         for va_list on AIX.  Use unsigned_char_type_node rather than
6011         constructing our own version on svr4.
6012
6013         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
6014
6015         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
6016         since patently it's not.
6017
6018         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
6019
6020         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
6021         define_expand/define_insn pair, and handle restore of the
6022         SVR4 -fpic register.
6023
6024 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
6025
6026         * acconfig.h (HAVE_GAS_WEAK): New define.
6027         * configure.in (assembler weak support): Check for .weak support.
6028         * config.in, configure: Rebuilt.
6029         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
6030         HAVE_GAS_WEAK is defined.
6031
6032 2000-03-15  Nick Clifton  <nickc@cygnus.com>
6033
6034         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
6035         asm_fprintf().
6036
6037 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
6038
6039         * cppfiles.c (open_include_file): New function.
6040         (find_include_file, cpp_read_file): Use it.
6041
6042 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
6043
6044         * cpphash.c (dump_hash_helper): Take the slot, not the element.
6045
6046 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
6047
6048         * flow.c (verify_flow_info): Check for unconditional return.
6049
6050 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
6051
6052         * config/ia64/ia64.md (restore_stack_nonlocal): New.
6053         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
6054         (__ia64_restore_stack_nonlocal): New.
6055         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
6056
6057 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6058
6059         * cpphash.c (collect_formal_parameters): Do not complain about
6060         parameter names that just start with `__VA_ARGS__'.
6061
6062 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
6063
6064         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
6065         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
6066         * i386.c (pentiumpro_cost): Set mul cost to 4.
6067         (x86_use_movx): Set for PPro.
6068
6069 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
6070
6071         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
6072         STACK_BOUNDARY for empty frames now.
6073
6074 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
6075
6076         * stor-layout.c (layout_union): Remove.
6077         (layout_union_field): New function, split out from layout_union.
6078         (finish_union_layout): Likewise.
6079         (layout_field): Handle unions by calling layout_union_field.
6080         (finish_record_layout): Handle unions.
6081         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
6082         QUAL_UNION_TYPE handling.
6083
6084 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
6085
6086         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
6087         end of basic block is jump_insn, not barrier; use create_basic_block
6088         instead of creating basic block by hand.
6089
6090 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
6091
6092         * flow.c (reorder_basic_blocks): Account for barriers when writing
6093         over NEXT_INSN (last_bb->end).
6094         (verify_flow_info): Add check for missing barriers.
6095
6096 2000-03-14  Greg McGary  <gkm@gnu.org>
6097
6098         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
6099         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
6100         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
6101         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
6102         __unbounded, __unbounded__): New keywords.
6103         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
6104         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
6105         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
6106
6107 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
6108
6109         * cselib.h: New file.
6110         * alias.c: Include "cselib.h".
6111         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
6112         MEMs as two new arguments.
6113         (get_addr): New static function.
6114         (find_base_term): Handle VALUEs.
6115         (memrefs_conflict_p): Likewise.
6116         (true_dependence): Call get_addr on the addresses.
6117         Call fixed_scalar_and_varying_struct_p with addresses that have been
6118         passed through get_addr and canon_rtx.
6119         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
6120         with true_dependence.
6121         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
6122         * loop.c: Include "cselib.h".
6123         (load_mems): Process extended basic block that enters the loop with
6124         cselib.  Use that information to change initialization of the shadow
6125         register so that a constant equivalence is seen by later passes.
6126         * reload1.c: Include "cselib.h".
6127         (reload_cse_invalidate_regno): Delete function.
6128         (reload_cse_mem_conflict_p): Likewise.
6129         (reload_cse_invalidate_mem): Likewise.
6130         (reload_cse_invalidate_rtx): Likewise.
6131         (reload_cse_regno_equal_p): Likewise.
6132         (reload_cse_check_clobber): Likewise.
6133         (reload_cse_record_set): Likewise.
6134         (reg_values): Delete static variable.
6135         (invalidate_regno_rtx): Likewise.
6136         (reload_cse_delete_noop_set): New static function.
6137         (reload_cse_simplify): New static function, broken out of
6138         reload_cse_regs_1.
6139         (reload_cse_noop_set_p): Delete unused argument INSN.
6140         Just call rtx_equal_for_cselib_p on set source and destination.
6141         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
6142         reload_cse_delete_noop_set.  Delete code to keep track of values; use
6143         cselib functions instead.  Delete code to push/pop obstacks.
6144         (reload_cse_simplify_set): Use cselib to find equivalent values.
6145         Delete code to push/pop obstacks.
6146         (reload_cse_simplify_operands): Likewise.
6147         * rtl.def (VALUE): New rtx code.
6148         * rtl.h (union rtunion_def): New elt rt_cselib.
6149         (X0CSELIB, CSELIB_VAL_PTR): New macros.
6150         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
6151         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
6152         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
6153         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
6154         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
6155         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
6156         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
6157         cselib_record_set, cselib_record_sets): New static functions.
6158         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
6159         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
6160         references_value_p): New functions.
6161         (MAX_USELESS_VALUES, REG_VALUES): New macros.
6162         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
6163         n_useless_values, reg_values, callmem, cselib_obstack,
6164         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
6165         New static variables.
6166         * varray.h (union varray_data_tag): New elt te.
6167         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
6168         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
6169         dependencies.
6170
6171 2000-03-14  Nick Clifton  <nickc@cygnus.com>
6172
6173         * gcc.c (do_spec_1): Catch the case where %* is used in a
6174         substitution pattern, but it has not been initialised.
6175         Issue a meaningful error message if an unrecognised operator
6176         is encountered in a spec string.
6177
6178 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
6179
6180         * function.c (prepare_function_start): Correctly initialize
6181         cfun->stack_alignment_needed.
6182
6183 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
6184
6185         * cppfiles.c (find_include_file): Don't assume nshort is a
6186         substring of name.
6187
6188 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
6189
6190         * configure.in (hppa configurations): Add pa32-regs.h to the
6191         list of tm files as appropriate.
6192         * configure: Rebuilt.
6193         * pa.c (compute_frame_size): Remove explicit knowledge about FP
6194         register numbering.
6195         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
6196         (fmpyaddoperands, fmpysuboperands): Likewise.
6197         * pa.h: Remove various definitions which depend on knowing
6198         how registers are numbered.
6199         * pa32-regs.h: New file with PA32 register numbering specific
6200         definitions.
6201
6202 2000-03-14  Richard Henderson  <rth@cygnus.com>
6203
6204         * regmove.c (combine_stack_adjustments): New.
6205         (stack_memref_p, single_set_for_csa): New.
6206         (free_csa_memlist, record_one_stack_memref): New.
6207         (try_apply_stack_adjustment): New.
6208         (combine_stack_adjustments_for_block): New.
6209         * rtl.h (combine_stack_adjustments): Declare.
6210         * toplev.c (rest_of_compilation): Call it.
6211
6212         * i386.md: Revert 2000-01-16 change.
6213
6214 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6215
6216         * gccbug.in: Add web category, gcc specific classes.
6217
6218 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
6219
6220         * stor-layout.c (finalize_record_size): Fix typo.
6221
6222 2000-03-14  Stan Shebs  <shebs@apple.com>
6223
6224         * c-typeck.c (c_alignof): Error on incomplete types.
6225         * extend.texi (Alignment): Document this.
6226
6227 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
6228
6229         * cppfiles.c: Include mkdeps.h.
6230         (find_include_file, read_include_file): Remove _cpp_ prefix
6231         from name, make static.
6232         (_cpp_execute_include): New function, broken out of
6233         do_include.
6234
6235         * cpplib.c: Don't include mkdeps.h.
6236         (struct directive): Remove type field. Reorder entries.  The
6237         function takes only one argument.
6238         (struct if_stack): Make type field an int.
6239         (directive_table): Rename to dtable.  Generate it, the
6240         prototypes of the directive handlers, and the enum for the
6241         directive numbers, from a template macro.
6242         (do_ifndef, do_include_next, do_import): New functions.
6243         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
6244         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
6245         do_ident, do_assert, do_unassert, do_sccs): Take only one
6246         argument.
6247         (do_sccs): Define always, but alter behavior based on
6248         SCCS_DIRECTIVE.
6249         (_cpp_handle_directive, consider_directive_while_skipping):
6250         Restructure for new directive table layout.
6251
6252         (pass_thru_directive): Take a directive number, not a pointer
6253         to a struct directive.
6254         (parse_include): New function, broken out of do_include.
6255         (do_include, do_import, do_include_next): Use parse_include
6256         and _cpp_execute_include.
6257         (do_elif, do_else): Test for T_ELSE specifically when checking
6258         for #elif/#else after #else.
6259         (parse_ifdef): New function, broken out of do_ifdef.
6260         (validate_else): Expect a name arg without a leading #.
6261         (if_directive_name): Delete.
6262         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
6263         directive handlers with only one argument.
6264
6265         * cpphash.h: Update prototypes.
6266         (enum node_type): Remove entries for directives.
6267         * Makefile.in: Update dependencies.
6268
6269         * cpphash.c (dump_hash_helper): Only dump nodes of type
6270         T_MACRO.  Emit a newline after each definition.
6271
6272 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6273
6274         * gccbug.in: New file.
6275         * configure.in (all_outputs): Add gccbug.
6276         * Makefile.in (install-common): Install gccbug.
6277         (GCCBUG_INSTALL_NAME): New variable.
6278         * configure: Rebuilt.
6279
6280 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
6281
6282         * function.c (put_var_into_stack): Use type_for_mode to calculate
6283         part_type.  Use MEM_SET_IN_STRUCT_P.
6284         * expr.c (store_field): Handle CONCAT.
6285         (store_constructor): Use fields_length.
6286         * tree.c (fields_length): New fn.
6287         * tree.h: Declare it.
6288
6289 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
6290
6291         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
6292         (cpplex.o): New target.
6293         * po/POTFILES.in: Add cpplex.c.
6294
6295         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
6296         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
6297         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
6298         skip_block_comment, skip_line_comment, skip_comment,
6299         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
6300         _cpp_parse_name, skip_string, parse_string,
6301         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
6302         _cpp_get_directive_token, find_position,
6303         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
6304         (maybe_macroexpand, _cpp_lex_token): New functions.
6305
6306         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
6307         parse_goto_mark): Delete.
6308         (_cpp_handle_eof): New function.
6309         (_cpp_handle_directive): Rename from handle_directive.
6310         (_cpp_output_line_command): Rename from output_line_command.
6311         (do_if, do_elif): Call _cpp_parse_expr directly.
6312         * cppfiles.c (_cpp_read_include_file): Don't call
6313         init_input_buffer here.
6314         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
6315         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
6316         here; pop the token_buffer and skip the rest of the line here.
6317         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
6318         here.
6319
6320         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
6321         Define here.
6322         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
6323         CPP_GOTO_MARK): New macros.
6324         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
6325         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
6326         _cpp_read_and_prescan, _cpp_init_input_buffer,
6327         _cpp_grow_token_buffer, _cpp_get_directive_token,
6328         _cpp_handle_directive, _cpp_handle_eof,
6329         _cpp_output_line_command): Prototype them here.
6330         * cpplib.h (enum cpp_token): Add CPP_MACRO.
6331         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
6332         quote_string, output_line_command): Remove.
6333
6334 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
6335
6336         * stmt.c (expand_end_case): RANGE may be signed, and when checking
6337         whether it is too large we must also verify that it isn't negative.
6338
6339 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
6340
6341         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
6342         (movsi_zero_liveg0): Remove.
6343         (movsf_insn_novis_liveg0): Remove.
6344         (negsi2): Remove.
6345         (negsi2_not_liveg0): Rename to negsi2.
6346         (one_cmplsi2): Remove.
6347         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
6348         (one_cmplsi2_liveg0): Remove.
6349         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
6350         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
6351         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
6352         (PREDICATE_CODES): Remove zero_operand.
6353         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
6354         TARGET_BROKEN_SAVERESTORE.
6355         (zero_operand): Remove.
6356         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
6357         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
6358         options.
6359         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
6360         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
6361         TARGET_BROKEN_SAVERESTORE): Remove.
6362         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6363         Remove.
6364         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6365         Remove.
6366         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6367         Remove.
6368
6369         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
6370
6371 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
6372
6373         * cpplib.c (do_pragma_implementation): Fix off-by-one error
6374         truncating a string.  Don't assume tokens are nul terminated.
6375         Problem noted by Andreas Jaeger <aj@suse.de>
6376
6377 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
6378
6379         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
6380         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
6381         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
6382
6383 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
6384
6385         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
6386         STRUCTURE_SIZE_BOUNDARY.
6387
6388 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
6389
6390         * tree.h (record_layout_info_s): New structure.
6391         (record_layout_info): New type.
6392         (new_record_layout_info): New function.
6393         (layout_field): Likewise.
6394         (finish_record_layout): Likewise.
6395         * stor-layout.c (layout_record): Remove.
6396         (new_record_layout_info): New function.
6397         (layout_field): New function, broken out from layout_record.
6398         (finalize_record_size): Likewise.
6399         (compute_record_mode): Likewise.
6400         (finalize_type_size): New function, broken out from layout_type.
6401         (finish_record_layout): Likewise.
6402         (layout_type): Use them.
6403
6404 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
6405
6406         * cpphash.c: Don't include version.h.
6407         (special_symbol) [case T_VERSION]: Look for the string in
6408         hp->value.cpval; don't use version_string.
6409         * cppinit.c (initialize_builtins): Set hp->value.cpval for
6410         __VERSION__ to version_string.
6411         * Makefile.in (cpphash.o): Update deps.
6412
6413 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
6414
6415         Convert cpplib to use libiberty/hashtab.c.
6416
6417         * cpplib.h (struct cpp_reader): Make hashtab and
6418         all_include_files of type 'struct htab *'.  Delete HASHSIZE
6419         and ALL_INCLUDE_HASHSIZE macros.
6420
6421         * cpphash.h: Update prototypes.
6422         (struct hashnode): Remove next, prev, and bucket_hdr members.
6423         Make length a size_t.  Add hash member.
6424         (struct ihash): Remove next member.  Add hash member.  Make
6425         name a flexible array member.
6426
6427         * cppfiles.c: Include hashtab.h.
6428         (include_hash): Delete.
6429         (IHASHSIZE): New macro.
6430         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
6431         (cpp_included): Do the hash lookup here.
6432         (_cpp_find_include_file): Rewrite.
6433         (cpp_read_file): Put the "fake" hash entry into the hash
6434         table.  Honor the control_macro, if it turns out we've seen
6435         the file before.  Don't push the buffer here.
6436         (_cpp_read_include_file): Push the buffer here.
6437         (OMODES): New macro.  Use it whenever we call open(2).
6438
6439         * cpphash.c: Include hashtab.h.
6440         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
6441         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
6442         _cpp_lookup_slot): New functions.
6443         (HASHSIZE): new macro.
6444         (hashf, _cpp_install, _cpp_delete_macro): Delete.
6445         (_cpp_lookup): Use hashtab.h routines.
6446
6447         * cppinit.c: Include hashtab.h.
6448         (cpp_reader_init): Call _cpp_init_macro_hash and
6449         _cpp_init_include_hash.  Don't allocate hashtab directly.
6450         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
6451         pfile->all_include_files.
6452         (initialize_builtins): Use _cpp_make_hashnode and
6453         htab_find_slot to add hash entries.
6454         (cpp_finish): Just call _cpp_dump_macro_hash.
6455         * cpplib.c: Include hashtab.h.
6456         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
6457         create hash entries.
6458         (do_pragma_poison, do_assert): Likewise.
6459         (do_include): Don't push the buffer here.  Don't increment
6460         system_include_depth unless _cpp_read_include_file succeeds.
6461         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
6462         or htab_remove_elt.
6463         (do_pragma_implementation): Use alloca to create copy.
6464
6465         * Makefile.in: Update dependencies.
6466
6467 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6468
6469         * cppinit.c (cl_directive_handler): More K&R fixing.
6470
6471 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
6472
6473         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
6474         STACK_BOUNDARY.
6475         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
6476
6477 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6478
6479         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
6480         Change from char[] to macros.
6481
6482 2000-03-12  Neil Booth  <NeilB@earthling.net>
6483
6484         * cppinit.c (cpp_start_read): Update indirect function
6485         call to K&R C.
6486
6487 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
6488
6489         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
6490         entry.
6491
6492         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6493         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
6494
6495 2000-03-11  Neil Booth  <NeilB@earthling.net>
6496
6497         * cppinit.c (struct pending option): Replace undef with a
6498         pointer to a directive handling routine.
6499         (struct cpp_pending): Replace separate assert_ and define_
6500         lists with one directive_ list.
6501         (new_pending_define): Rename new_pending_directive. Extra
6502         argument is the directive's handling routine.
6503         (handle_option): Update to use new_pending_directive.
6504
6505 2000-03-11  Neil Booth  <NeilB@earthling.net>
6506
6507         * cppfiles.c (file_cleanup, _cpp_find_include_file,
6508         remap_filename, _cpp_read_include_file, actual_directory,
6509         hack_vms_include_specification): Replace bcopy(), index() etc
6510         calls.  Add casts to some allocations.  Make some variables
6511         pointers to const [unsigned] char.
6512         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
6513         collect_formal_parameters): Similarly.
6514         * cppinit.c (struct pending_option, append_include_chain,
6515         cpp_options_init, cpp_reader_init, initialize_standard_includes,
6516         cpp_start_read, new_pending_define, handle_option): Similarly.
6517         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
6518         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
6519         do_pragma_implementation, detect_if_not_defined,
6520         do_ifdef, skip_if_group, cpp_get_token, parse_string,
6521         do_assert, do_unassert): Similarly.
6522         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
6523         function prototypes.
6524         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
6525
6526 2000-03-10  Richard Henderson  <rth@cygnus.com>
6527
6528         * builtins.c (expand_builtin_strlen): Revert last change.
6529         Use emit_insn_before if we're at the beginning of a sequence.
6530
6531 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
6532
6533         * builtins.c (expand_builtin_strlen): Make sure that we have something
6534         at the beginning of the sequence.
6535
6536         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
6537         deferred inlines.
6538
6539         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
6540
6541 2000-03-10  Richard Henderson  <rth@cygnus.com>
6542
6543         * except.c (can_throw): Use INTVAL on a CONST_INT.
6544         (reachable_handlers): Likewise.
6545         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
6546
6547 2000-03-10  Andreas Jaeger  <aj@suse.de>
6548
6549         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
6550         MD_STARTFILE_PREFIX since those are not needed on linux.
6551         (ASM_FILE_START): New, from mips/gnu.h.
6552
6553 2000-03-09  Richard Henderson  <rth@cygnus.com>
6554             Alex Samuel  <samuel@codesourcery.com> and others
6555
6556         * Makefile.in (ssa.o): New rule.
6557         (OBJS): Add ssa.o.
6558         (STAGESTUFF): Add *.ssa and *.ussa.
6559         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
6560         * rtl.def (PHI): New RTL expression.
6561         * rtl.h (clear_log_links): New declaration.
6562         (convert_to_ssa): Likewise.
6563         (convert_from_ssa): Likewise.
6564         * flow.c (split_edge): If the entry node falls through to the
6565         split edge's source block, split the entry edge.
6566         (clear_log_links): New function.
6567         * toplev.c (ssa_dump): New variable.
6568         (flag_ssa): Likewise.
6569         (f_options): Add "ssa".
6570         (compile_file): Create SSA dump files.
6571         (rest_of_compilation): Go to and from SSA if enabled.
6572         (decide_d_option): Handle -de for SSA dump files.
6573         * ssa.c: New file.
6574
6575 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
6576
6577         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
6578         same as VAR_DECL.
6579
6580 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
6581
6582         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
6583
6584 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
6585
6586         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
6587         (MD_STARTFILE_PREFIX_1): New macro.
6588
6589 2000-03-09  Robert Lipe  <robertl@sco.com>
6590
6591         * config/ia64/ia64.c: Include system.h.
6592
6593 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
6594
6595         * except.c (nothrow_function_p): If -fno-exceptions, just return.
6596         (init_eh_nesting_info): Likewise.
6597
6598         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
6599         (TREE_NOTHROW): Rename from TREE_RAISES.
6600         * toplev.c (rest_of_compilation): Set it.
6601         * print-tree.c (print_node): Adjust.
6602         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
6603         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
6604         * calls.c (emit_call_1): Add 'nothrow' parm.  Add
6605         REG_EH_REGION note as appropriate.
6606         (libfunc_nothrow): New fn.
6607         (emit_library_call, emit_library_call_value): Use it.
6608         (expand_call): Check TREE_NOTHROW.
6609
6610         * varasm.c (make_decl_rtl): Skip initial '*' when setting
6611         DECL_ASSEMBLER_NAME.
6612
6613 2000-03-09  Andreas Jaeger  <aj@suse.de>
6614
6615         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
6616         (TARGET_MEM_FUNCTIONS): Define.
6617
6618 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
6619
6620         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
6621
6622         * except.c (can_throw): See through a SEQUENCE.
6623         (nothrow_function_p): New fn.
6624         * except.h: Declare it.
6625         * function.c (current_function_nothrow): New var.
6626         (prepare_function_start): Initialize it.
6627         * output.h: Declare it.
6628         * toplev.c (rest_of_compilation): Set it.
6629         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
6630
6631 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
6632
6633         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
6634         match.  (cpp_compare_defs): Count the nul separator when
6635         advancing over argument names.
6636
6637 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
6638
6639         * recog.c (preprocess_constraints): Matching constraints affect
6640         same alternative/different operand, not same operand/different
6641         alternative.
6642
6643         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
6644         register and a constant specially.
6645
6646 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6647
6648         * libgcc2.h: New file.
6649         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
6650
6651 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
6652
6653         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
6654         * configure: Regenerate.
6655         * config/ia64: New.
6656
6657 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
6658
6659         * Makefile.in (LIBCPP_DEPS): New macro.
6660         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
6661         it to declare deps.
6662         * cpperror.c: Include cpphash.h.
6663         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
6664         dingleberry.
6665         (lex): Don't use CPP_WARN_UNDEF.
6666         (_cpp_parse_expr): Return an int, the truth value.
6667         * cppfiles.c: Include cpphash.h.
6668         (_cpp_merge_include_chains): Move to cppinit.c and make static.
6669         * cppinit.c (include_defaults_array): Disentangle.
6670         (cpp_cleanup): Don't free the if stack here.
6671         (cpp_finish): Pop off all buffers, not just one.
6672         * cpplib.c (eval_if_expr): Return int.
6673         (do_xifdef): Rename do_ifdef.
6674         (handle_directive): Don't use CPP_PREPROCESSED.
6675         (cpp_get_token): Don't use CPP_C89.
6676         * fix-header.c: Don't use CPP_OPTIONS.
6677
6678         * cpplib.h: Move U_CHAR, enum node_type, struct
6679         file_name_list, struct ihash, is_idchar, is_idstart,
6680         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
6681         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
6682         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
6683         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
6684         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
6685         of _cpp_simplify_pathname, _cpp_find_include_file,
6686         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
6687         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
6688         cppinit.c.
6689         Change all uses of U_CHAR to be unsigned char instead.
6690         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
6691
6692 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
6693
6694         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
6695         (dwarf2out_begin_prologue): Set it.
6696         (output_call_frame_info): Don't emit EH unwind info for leaves.
6697
6698         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
6699         can occur outside of an EH region.
6700         * except.c: Correct comments about rethrow behavior.
6701         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
6702
6703 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
6704
6705         * flow.c (make_edges): Always call make_eh_edge for calls.
6706
6707 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
6708
6709         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
6710         (struct cpp_buffer): Remove fname and underflow fields.
6711         (struct cpp_reader): Remove get_token field.
6712         (struct include_hash): Rename to struct ihash.  Add typedef to
6713         IHASH.
6714         (struct if_stack): Remove fname field.
6715         (IF_STACK_FRAME): Rename to IF_STACK.
6716
6717         * cpperror.c (print_containing_files): Trust that there are no
6718         macro buffers below the top file buffer.
6719         * cppfiles.c: Replace all references to 'struct include_hash'
6720         with 'IHASH'.  Rename initialize_input_buffer to
6721         init_input_buffer.  Don't set or reference cpp_buffer->fname,
6722         use buffer->ihash->name instead.
6723         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
6724         not CPP_NULL_BUFFER.
6725         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
6726         IF_STACK_FRAME, IHASH not struct include_hash.
6727         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
6728         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
6729         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
6730         references to cpp_buffer->fname (delete entirely, or use
6731         ->ihash->name instead) and IF_STACK->fname.
6732         (cpp_push_buffer): Don't set new->underflow.
6733         (do_include): Use cpp_file_buffer.
6734
6735         * cpphash.c (collect_formal_parameters): Remove duplicate
6736         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
6737         used as a macro argument name.  Don't append "..." to namebuf
6738         for varargs macros.  After we're done scanning, go through
6739         namebuf and make it NUL separated, not comma separated.
6740         (_cpp_compare_defs): Remove register tag from variables.
6741         Expect defn->argnames to be NUL separated.
6742         (_cpp_dump_definition): Expect defn->argnames to be NUL
6743         separated and in forward order.
6744         * cpphash.h: Update documentation of argnames field.
6745
6746 2000-03-08  Richard Henderson  <rth@cygnus.com>
6747
6748         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
6749         to fail.  Don't pre-expand the source operand.
6750
6751         * i386.md (strlensi): Initialize eoschar and align before use.
6752
6753 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
6754
6755         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
6756         CONSTRUCTOR element.
6757
6758 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
6759
6760         * mips.c (mips_expand_prologue): If the last
6761         named argument is the vararg marker "va_list", treat it as
6762         an unnamed argument.
6763
6764 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
6765
6766         * dbxout.c (dbxout_parms): When correcting for promoted
6767         big-endian parameters, use the mode of the DECL_RTL rather
6768         than UNITS_PER_WORD.
6769
6770 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
6771
6772         * c-common.h (make_fname_decl): Declare.
6773         * c-common.c (make_fname_decl): Define.
6774         (declare_hidden_char_array): Remove.
6775         (declare_function_name): Use make_fname_decl.
6776         * c-decl.c (c_make_fname_decl): New function.
6777         (init_decl_processing): Set make_fname_decl.
6778
6779 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
6780
6781         * cccp.c (handle_directive): Initialize backslash_newlines_p.
6782
6783 2000-03-07  Philipp Thomas  <pthomas@suse.de>
6784
6785         * po/POTFILES.in: Remove cppalloc.c from file list.
6786
6787 2000-03-07  Steve Chamberlain  <sac@pobox.com>
6788
6789         * pj.c (pj_expand_prologue): current_function->args_info is
6790         now current_function_args_info.
6791
6792         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
6793         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
6794         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
6795
6796 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6797
6798         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
6799         output as hexadecimal rather than the default octal.
6800
6801 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
6802
6803         * cpphash.c (special_symbol): Fix thinko in previous commit.
6804
6805 2000-03-07  Neil Booth  <NeilB@earthling.net>
6806
6807         * cppexp.c (struct operation, left_shift, right_shift,
6808         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
6809         "int"s to "unsigned int"s.
6810         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
6811         Similarly.
6812         * cpplib.h: Update for above.
6813         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
6814         returned from allocations.
6815
6816         * cppinit.c (opt_comp, parse_options): New functions.
6817         (handle_option): Use parse_option to parse a single command
6818         line option, that possibly takes an argument.
6819         (cpp_handle_options): Sort the array of command line options on
6820         first invocation (non-ASCII hosts only).
6821         (print_help): Update.
6822
6823 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
6824
6825         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
6826         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
6827
6828         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
6829         initialized.
6830         * cppinit.c (cpp_cleanup): Free imp->nshort also.
6831
6832         * cpperror.c (cpp_print_containing_files,
6833         cpp_print_file_and_line, v_cpp_message): Rename to
6834         print_containing_files, print_file_and_line, and v_message.
6835         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
6836         to _cpp_parse_expr, parse_escape, and lex.
6837         (parse_charconst): Remove broken multibyte support.
6838         * cppfiles.c (include_hash): Make static.
6839         (cpp_included): New function.
6840         (merge_include_chains, find_include_file, finclude,
6841         simplify_pathname): Rename to _cpp_merge_include_chains,
6842         _cpp_find_include_file, _cpp_read_include_file, and
6843         _cpp_simplify_pathname.
6844         * cpphash.c (cpp_lookup, free_definition, delete_macro,
6845         cpp_install, create_definition, macroexpand, compare_defs,
6846         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
6847         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
6848         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
6849         * cppinit.c (cpp_handle_option): Rename to handle_option, make
6850         static.
6851         * cpplib.c: Remove extern prototype of cpp_parse_expr.
6852
6853         * cpphash.h: Update prototypes.
6854         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
6855
6856 2000-03-07  Andrew Haley  <aph@cygnus.com>
6857
6858         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
6859         PTRDIFF_TYPE should be based solely on Pmode.
6860         (SIZE_TYPE): ditto.
6861
6862 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6863
6864         * rtl.h (rtunion_def): Constify member `rtstr'.
6865         (emit_line_note_after, emit_line_note, emit_line_note_force,
6866         emit_note, decode_asm_operands): Constify.
6867
6868         * cse.c (canon_hash): Likewise.
6869
6870         * dbxout.c (dbxout_block): Likewise.
6871
6872         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
6873         v_warning_for_asm): Likewise.
6874
6875         * dwarfout.c (function_start_label): Likewise.
6876
6877         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
6878         emit_line_note_force): Likewise.
6879
6880         * final.c (last_filename, asm_insn_count, final_scan_insn,
6881         output_source_line): Likewise.
6882
6883         * function.h (struct emit_status): Likewise.
6884
6885         * gcse.c (hash_expr_1): Likewise.
6886
6887         * genattr.c (gen_attr, main): Likewise.
6888
6889         * genattrtab.c (struct function_unit, current_alternative_string,
6890         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
6891         attr_numeral, check_attr_test, check_attr_value,
6892         convert_set_attr_alternative, convert_set_attr,
6893         compute_alternative_mask, simplify_by_exploding, gen_attr,
6894         gen_unit): Likewise.
6895
6896         * genflags.c (gen_insn): Likewise.
6897
6898         * gengenrtl.c (type_from_format): Likewise.
6899
6900         * genopinit.c (gen_insn): Likewise.
6901
6902         * genoutput.c (n_occurrences, process_template, process_template):
6903         Likewise.
6904
6905         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
6906         Likewise.
6907
6908         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
6909         Likewise.
6910
6911         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
6912         ggc_set_mark, ggc_get_size): Likewise.
6913
6914         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
6915
6916         * optabs.c (init_one_libfunc): Likewise.
6917
6918         * output.h (assemble_start_function): Likewise.
6919
6920         * recog.c (decode_asm_operands): Likewise.
6921
6922         * toplev.c (rest_of_compilation): Likewise.
6923
6924         * tree.h (emit_line_note_after, emit_line_note,
6925         emit_line_note_force): Likewise.
6926
6927         * varasm.c (asm_output_bss, asm_output_aligned_bss,
6928         asm_emit_uninitialised, assemble_start_function,
6929         assemble_variable, const_hash, compare_constant_1,
6930         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
6931
6932         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
6933
6934         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
6935
6936         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
6937
6938         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
6939
6940         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
6941         arm_dllimport_name_p): Likewise.
6942
6943         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
6944         Likewise.
6945
6946         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
6947
6948         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6949
6950         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
6951         arm_mark_dllexport, arm_mark_dllimport,
6952         arm_pe_encode_section_info): Likewise.
6953
6954         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
6955         ASM_FINISH_DECLARE_OBJECT): Likewise.
6956
6957         * arm/thumb.c (thumb_function_prologue): Likewise.
6958
6959         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
6960
6961         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6962
6963         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
6964
6965         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
6966
6967         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6968
6969         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6970
6971         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
6972         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
6973
6974         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
6975
6976         * i386/i386.c (asm_output_function_prefix): Likewise.
6977
6978         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
6979
6980         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6981
6982         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
6983
6984         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
6985         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
6986         ASM_OUTPUT_SECTION_NAME): Likewise.
6987
6988         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
6989
6990         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
6991
6992         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
6993
6994         * m32r/m32r.c (m32r_encode_section_info): Likewise.
6995
6996         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6997
6998         * mcore/mcore.c (mcore_encode_section_info): Likewise.
6999
7000         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7001
7002         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7003
7004         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7005
7006         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
7007
7008         * mips/mips.md (movdi, movsi): Likewise.
7009
7010         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7011
7012         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7013
7014         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7015
7016         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7017         ASM_OUTPUT_ASCII): Likewise.
7018
7019         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
7020         output_mi_thunk, output_toc): Likewise.
7021
7022         * rs6000/rs6000.md (movsi): Likewise.
7023
7024         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
7025
7026         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
7027
7028         * v850/v850.c (print_operand, print_operand_address,
7029         v850_encode_data_area): Likewise.
7030
7031 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
7032
7033         * config/mips/mips.md (zero_extendsidi2): Always force operand
7034         one to memory for mips16.
7035
7036 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7037
7038         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
7039         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
7040         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
7041         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
7042         (min_precision): Result is unsigned.
7043         (add_double, neg_double, mul_double): Low word is unsigned.
7044         (lshift_double, rshift_double, lrotate_double): Likewise.
7045         (rrotate_double, div_and_round_double): Likewise.
7046         (tree_floor_log2, compare_tree_int): New functions.
7047         (preserve_rtl_expr_temps): New declaration.
7048         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
7049         (decl_attributes): Use tree_log2 to find alignment.
7050         Check for TREE_INT_CST_HIGH for format args.
7051         (min_precision): Now unsigned.
7052         Use tree_floor_log2.
7053         (truthvalue_conversion): Delete long-disabled code.
7054         * c-decl.c (finish_struct): Clean up tests on field width.
7055         (finish_function): Use compare_tree_int.
7056         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
7057         * c-typeck.c (comptypes): Use tree_int_cst_equal.
7058         (default_conversion, digest_init): Use compare_tree_int.
7059         (build_binary_op): Use integer_all_onesp and compare_tree_int.
7060         Fix type errors in forming masks.
7061         * calls.c (initialize_argument_information): Use compare_tree_int.
7062         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
7063         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
7064         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
7065         (store_field): Use compare_tree_int.
7066         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
7067         (expand_expr, case ARRAY_REF): Use compare_tree_int.
7068         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
7069         (do_store_flag): Use compare_tree_int.
7070         * fold-const.c (encode, decode): Low part is always unsigned.
7071         (force_fit_type, add_double, neg_double, mul_double): Likewise.
7072         (lshift_double, rshift_double, lrotate_double): Likewise.
7073         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
7074         (fold_convert): Use compare_tree_int.
7075         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
7076         (invert_truthvalue, case INTEGER_CST): Likewise.
7077         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
7078         * mkdeps.c (deps_dummy_targets): Make I unsigned.
7079         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
7080         (lshift_double, rshift_double, lrotate_double, rrotate_double):
7081         Likewise.
7082         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
7083         (expand_end_case): Use compare_tree_int.
7084         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
7085         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
7086         (layout_decl): Likewise.
7087         (layout_record, layout_union): Make sizes unsigned.
7088         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
7089         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
7090         * tree.c (struct type_hash): hashcode is unsigned.
7091         (build_type_attribute_variant, type_hash_list): Likewise.
7092         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
7093         (attribute_hash_list, build_array_type, build_method_type): Likewise.
7094         (build_complex_type): Likewise.
7095         (real_value_from_int_cst): Remove unneeded casts.
7096         (integer_all_onesp): Add casts.
7097         (tree_floor_log2, compare_tree_int): New functions.
7098         (build_index_type): Use tree_int_cst_sgn.
7099         * varasm.c (assemble_variable): Use compare_tree_int.
7100
7101 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
7102
7103         * cpphash.c (collect_expansion): Also catch ## at start of macro.
7104
7105         * varasm.c (make_decl_rtl): Don't add a number to members of
7106         local classes.
7107         (make_function_rtl): Likewise.
7108
7109 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7110
7111         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
7112         patch from 2000-01-28.
7113
7114 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
7115
7116         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
7117         filled with an insn from the jump target.
7118
7119 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7120
7121         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
7122         (c4x_external_ref): Likewise.
7123         * config/c4x/c4x.c (struct name_list): Likewise.
7124
7125 1999-12-16  Ben Collins  <bcollins@debian.org>
7126
7127         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
7128         argument to genmultilib.
7129         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
7130         the contents into the multilib.h header.
7131         * gcc.c: Declare multilib_exclusions for the specs file.
7132         (set_multilib_dir): Use it.
7133         (print_multilib_info): Likewise.
7134         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
7135         to pass to genmultilib.
7136
7137 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7138
7139         * builtins.c (built_in_class_names, built_in_names): Constify a
7140         char*.
7141
7142         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
7143         int.
7144         (_mcleanup): Ensure value matches format specifier in sprintf.
7145
7146         * cpphash.c (special_symbol): Don't needlessly cast away
7147         const-ness.
7148
7149         * cppinit.c (base_name): Delete unused prototype.
7150
7151         * mkdeps.c (deps_init): Make definition K&R safe.
7152
7153         * tree.h (built_in_class_names, built_in_names): Constify a
7154         char*.
7155
7156 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
7157
7158         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
7159         floating point instructions for epilogue delay.
7160
7161         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
7162         to gas if it supports .register pseudo.
7163
7164         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
7165         LONG_DOUBLE_TYPE_SIZE if not defined.
7166         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
7167         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
7168         * real.c: Likewise.
7169         * gengenrtl.c: Likewise.
7170         * print-rtl.c: Likewise.
7171         * rtl.c: Likewise.
7172         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
7173         MASK_LONG_DOUBLE_128.
7174         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
7175         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
7176         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
7177         (SUBTARGET_SWITCHES): Define.
7178         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
7179         with -mlong-double-128.
7180         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
7181         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
7182         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
7183         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
7184         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
7185         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
7186         with -mlong-double-128.
7187         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
7188         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
7189         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
7190         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
7191         TARGET_LONG_DOUBLE_128): Define.
7192         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
7193         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
7194         long double on TARGET_ARCH64.
7195
7196 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
7197
7198         * function.c (free_temps_for_rtl_expr): Don't free slots
7199         that have been pushed into a higher level.
7200
7201         Revert this patch:
7202         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
7203
7204 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
7205
7206         * basic-block.h (ALLOCA_REG_SET): Remove.
7207         (INITIALIZE_REG_SET): New macro.
7208         * flow.c (update_life_info): Use it.
7209         (calculate_global_regs_live): Likewise.
7210         (propagate_block): Likewise.
7211         * global.c (build_insn_chain): Likewise.
7212         * haifa-sched.c (schedule_region): Likewise.
7213
7214 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
7215
7216         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
7217         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
7218         (DWARF_ARANGES_PAD_SIZE): New define.
7219         (output_aranges): Use it to pad the address range header.
7220         (DWARF_ROUND): Fix for non power of 2 rounding.
7221
7222 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
7223
7224         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
7225
7226 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
7227
7228         * tree.def (RTL_EXPR): Update documentation.
7229         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
7230         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
7231         * function.c (preserve_rtl_expr_temp): New function.
7232         (preserve_rtl_expr_temps): Likewise.
7233         (preserve_rtl_expr_result): Use it.
7234
7235         Revert this patch:
7236         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
7237
7238 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
7239
7240         * regmove.c (copy_src_to_dest)  Do not create src->dest move
7241         for unchanging destination.
7242
7243 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
7244
7245         * function.h (struct sequence_stack): Remove rtl_expr.
7246         (struct emit_staus): Likewise.
7247         (seq_rtl_expr): Remove.
7248         * tree.h (free_temps_for_rtl_expr): Don't declare.
7249         (start_sequence_for_rtl_expr): Likewise.
7250         * rtl.h (preserve_rtl_expr_result): Likewise.
7251         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
7252         (start_sequence_for_rtl_expr): Remove.
7253         (push_topmost_sequence): Don't save sequence_rtl_expr.
7254         (pop_topmost_sequence): Remove comment about not restoring it.
7255         (end_sequence): Don't set seq_rtl_expr.
7256         (init_emit): Don't initialize it.
7257         (mark_sequence_stack): Don't mark it.
7258         (mark_emit_status): Likewise.
7259         * except.c (protect_with_terminate): Use
7260         start_sequence_for_rtl_expr, not start_sequence.
7261         * expr.c (expand_expr, case RTL_EXPR): Don't call
7262         preserve_rtl_expr_result or free_temps_for_rtl_expr.
7263         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
7264         (preserve_rtl_expr_result): Remove.
7265         (free_temps_for_rtl_expr): Likewise.
7266         (pop_temp_slots): Likewise.
7267         (mark_temp_slot): Don't mark the rtl_expr.
7268         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
7269         start_sequence_for_rtl_expr.
7270
7271 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
7272
7273         * mkdeps.c, mkdeps.h: New files.
7274         * po/POTFILES.in: Add them.
7275         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
7276         (cpplib.o, cppinit.o): Depend on mkdeps.h.
7277         (mkdeps.o): New target.
7278
7279         * cppfiles.c: Delete deps_output.
7280         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
7281         OBJECT_SUFFIX, and base_name.
7282         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
7283         the include hash.
7284         (initialize_dependency_output): Use deps_init,
7285         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
7286         all the unnecessary string bashing.
7287         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
7288         level.
7289         * cpplib.c (do_include): Use deps_add_dep.
7290         * cpplib.h (struct cpp_reader): Replace deps_buffer,
7291         deps_allocated_size, deps_size, deps_column members with
7292         single pointer to a struct deps.  Delete prototype of
7293         deps_output.
7294
7295         * cppinit.c: Fix thinko in previous patch.
7296
7297 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7298
7299         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
7300         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
7301         (mode_for_size_tree): New function.
7302         (layout_decl, layout_type): Call it and clean up BLKmode checks.
7303         * tree.h (mode_for_size_tree): New declaration.
7304
7305         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
7306
7307 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
7308
7309         * stmt.c (is_body_block): Move...
7310         * dwarfout.c, dwarf2out.c: ...from here.
7311         * tree.h: Declare it.
7312         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
7313         * final.c (final_start_function): Do call remove_unnecessary_notes
7314         when scheduling.
7315
7316 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
7317
7318         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
7319
7320         * cpplib.h (_dollar_ok): New macro.
7321         (is_idchar, is_idstart): Use it.
7322         (IStable): Rename to _cpp_IStable.  Declare it const if
7323         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
7324         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
7325         is_space): Update for renamed IStable.
7326
7327         * cppinit.c: Delete all references to FAKE_CONST and CAT
7328         macros. Define init_IStable as empty macro if gcc >=2.7 or
7329         C99. Change TABLE() to ISTABLE and hardcode name of table.
7330         (cpp_start_read): Don't change the IStable based on
7331         dollars_in_ident.
7332
7333         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
7334         changed.  Handle '$' for char1 correctly.
7335         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
7336
7337         * cppexp.c (tokentab2): Make const.
7338         (cpp_lex): Make toktab const.
7339         * cppinit.c (include_defaults_array): Make const.
7340         (initialize_standard_includes): Make default_include const.
7341
7342 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
7343
7344         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
7345         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
7346         (gen_decl_die): Likewise.
7347         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
7348         (output_decl): Likewise.
7349
7350         * varasm.c (make_function_rtl): If we change the name used in the
7351         rtl, update DECL_ASSEMBLER_NAME accordingly.
7352         (make_decl_rtl): Likewise.
7353
7354         * toplev.c (rest_of_compilation): Tweak formatting.
7355
7356         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
7357         remove_unnecessary_notes.
7358         (debug_ignore_block): New fn.
7359         * toplev.h: Declare it.
7360         * emit-rtl.c (remove_unncessary_notes): Call it.
7361         * dwarf2out.c (dwarf2out_ignore_block): New fn.
7362         * dwarf2out.h: Declare it.
7363         * final.c (final_start_function): Don't call remove_unnecessary_notes
7364         if we did insn scheduling.
7365
7366 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
7367
7368         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
7369         * cpplib.h: Delete SET_CPP_PEDANTIC.
7370
7371 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7372
7373         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
7374         result is a RECORD_TYPE.
7375
7376 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
7377
7378         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
7379
7380 2000-03-03  Richard Henderson  <rth@cygnus.com>
7381
7382         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
7383         addition over compliments over shifts.
7384
7385 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7386
7387         * reload1.c (reload_combine_note_use): Handle return register USEs.
7388         REG case: Handle multi-hard-register hard regs.
7389
7390 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7391
7392         * md.texi: Document use of '*' in insn pattern name.
7393
7394 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
7395
7396         * calls.c (special_function_p): operator new may not be malloc-like.
7397
7398         * gcse.c (dump_hash_table): Really fix error in last change.
7399
7400 2000-03-02  Denis Chertykov  <denisc@overta.ru>
7401
7402         * avr.c (print_operand): Use print_operand_address instead of
7403         output_addr_const.
7404         * avr/libgcc.S: Cleanup code.
7405
7406 2000-03-02  Richard Henderson  <rth@cygnus.com>
7407
7408         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
7409
7410 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
7411
7412         * tree.h (TYPE_ALIGN_UNIT): New macro.
7413
7414 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
7415
7416         * i386.c: (constant_call_address_operand): Reject CONST_INT.
7417
7418 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
7419
7420         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
7421         for the buffer.
7422         (SET_CPP_PEDANTIC): New macro.
7423         * cpplib.c (do_include): Don't bother checking system_header_p.
7424         (do_warning, do_ident, do_assert, do_unassert): Likewise.
7425         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
7426
7427         * function.h (struct expr_status): Add x_arg_space_so_far.
7428         (arg_space_so_far): New macro.
7429         * expr.c (init_expr): Initialize it.
7430         * calls.c (emit_call_1): Reset it.
7431         (compute_argument_block_size, expand_call): Use it.
7432         (expand_call, store_one_arg): Increment it.
7433
7434 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7435
7436         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
7437         a UNION_TYPE.
7438
7439 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
7440
7441         * cppfiles.c (cpp_read_file): New function.
7442
7443         * cpphash.c (collect_expansion): Make sure to reset last_token
7444         to NORM when we hit a string.  Handle trailing whitespace
7445         properly when the expansion is empty.
7446         (create_definition): Disable line commands while parsing the
7447         directive line.
7448         (dump_definition): If pfile->lineno == 0, output a line
7449         command ahead of the dump, and add a trailing newline.
7450
7451         * cppinit.c (append_include_chain): Add fifth argument, which
7452         indicates whether or not system headers are C++ aware.
7453         (initialize_standard_includes): New function,
7454         broken out of read_and_prescan.  Pass 'cxx_aware' value from
7455         the include_defaults_array on to append_include_chain.
7456         (dump_special_to_buffer): Const-ify char array.
7457         (builtin_array): Don't dump __BASE_FILE__.
7458         (cpp_start_read): Use cpp_read_file.  Reorder code for
7459         clarity.  Don't output line commands here for -D/-A/-U
7460         switches.  Don't call deps_output for files included with
7461         -include or -imacros.
7462
7463         * cpplib.c (do_define): Don't pay any attention to the second
7464         argument.
7465         (cpp_expand_to_buffer): Disable line commands while scanning.
7466         (output_line_command): Work in the file buffer.
7467         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
7468         Fix formatting of comments.  Prototype cpp_read_file.
7469
7470 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7471
7472         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
7473         reference the language-equivalent of sizetype.
7474         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
7475         * fold-const.c (size_binop, size_diffop): Put back checks.
7476         * gcse.c (dump_hash_table): Fix minor error in last change.
7477         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
7478         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
7479         all sizetypes.
7480
7481 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
7482
7483         * calls.c (expand_call)  Do not attempt to combine stack adjustments
7484         with inhibit_defer_pop set.
7485
7486 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
7487
7488         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
7489         the DECL_SIZE for a FIELD_DECL.
7490
7491 2000-03-01  Bruce Korb  <bkorb@gnu.org>
7492
7493         * fixinc/inclhack.tpl: remove unused symlinks
7494         * fixinc/README: GCC Maintainer info
7495         * fixinc/inclhack.sh: regen
7496         * fixinc/fixincl.sh: regen
7497
7498 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
7499
7500         * cpphash.c (collect_expansion): Trim trailing white space
7501         from macro definitions, but don't go past the last insertion
7502         point.
7503
7504 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
7505
7506         * i386.md (mulqi3): New pattern.
7507
7508 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
7509
7510         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
7511         token types.
7512         (struct cpp_reader): Add parsing_if_directive and
7513         parsing_define_directive flags.
7514         (struct cpp_options): Remove output_conditionals flag.
7515         (check_macro_name): Delete prototype.
7516
7517         * cpphash.h (struct macrodef): Delete.
7518         (struct reflist): Separate from struct definition.
7519         (struct definition): Remove unused fields.  Add column number.
7520         (create_definition): Returns a DEFINITION *.  Takes a
7521         cpp_reader * and an int.
7522
7523         * cpphash.c (SKIP_WHITE_SPACE): Delete.
7524         (PEEKC): Copy defn from cpplib.c.
7525         (rest_extension, REST_EXTENSION_LENGTH): Delete.
7526         (struct arg): New.
7527         (struct arglist): Simplify.
7528         (collect_expansion): Rewrite.  Get tokens by calling
7529         cpp_get_token.  Add more error checking.
7530         (collect_formal_parameters): New function, broken out of
7531         create_definition and reworked to use get_directive_token.
7532         (create_definition): All real work is now in collect_expansion
7533         and collect_formal_parameters.  do_define handles finding the
7534         macro name.  Return a DEFINITION, not a MACRODEF.
7535         (macroexpand): Replace bcopy with memcpy throughout.  Replace
7536         character-at-a-time copy loop with memcpy and pointer increments.
7537         (compare-defs): d1->argnames / d2->argnames might be null.
7538
7539         * cpplib.c (copy_rest_of_line): Delete function.
7540         (skip_rest_of_line): Do all the work ourselves.
7541         (skip_string): New function.
7542         (parse_string): Use skip_string.
7543         (get_macro_name): New function.
7544         (check_macro_name): Delete.
7545         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
7546         (cpp_skip_hspace): Use CPP_BUMP_LINE.
7547         (handle_directive): ICE if we're called on a macro buffer.
7548         (do_define): Determine macro name and type (funlike/objlike)
7549         here.  Expunge all uses of MACRODEF.
7550         (cpp_push_buffer): Set line_base to NULL.
7551         (do_undef, read_line_number): Don't worry about getting a POP token.
7552         (eval_if_expression): Set/reset parsing_if_directive around
7553         cpp_parse_expr. Don't clear only_seen_white.
7554         (skip_if_group): Remove output_conditionals logic.  Use
7555         skip_rest_of_line.
7556         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
7557         tokens under appropriate conditions.
7558         (cpp_unassert): Call do_unassert not do_assert.  Oops.
7559
7560         * cppexp.c (parse_defined): New function, break out of
7561         cpp_lex.
7562         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
7563         ourselves, with cpp_defined.
7564         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
7565
7566         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
7567         * gcc.dg/strpaste-2.c: New.
7568
7569 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
7570
7571         * fold-const.c (size_binop): Don't asert inputs are the same and
7572         have TYPE_IS_SIZETYPE set.
7573         (size_diffop): Likewise.
7574
7575 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
7576
7577         * dwarfout.c (output_block): Output abstract blocks even if they
7578         don't have TREE_ASM_WRITTEN set.
7579
7580         * calls.c (emit_library_call): Check for null REG.
7581
7582 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
7583
7584         * c-decl.c (current_function_decl): Move to toplev.c.
7585         (init_decl_processing): Don't add current_function_decl as a ggc
7586         root here.
7587         * dbxout.c (dbxout_symbol): Change return type to int.
7588         (dbxout_symbol_location, dbxout_syms): Likewise.
7589         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
7590         any locals. Use current_function_func_begin_label if set.
7591         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
7592         * dwarf2out.c (dwarf2out_begin_prologue): Set
7593         current_function_func_begin_label.
7594         * final.c (final_start_function): Reset it.
7595         * toplev.c (current_function_decl): Define it here.
7596         (current_function_func_begin_label): New variable.
7597         (main): Add both as ggc roots.
7598         * tree.h (current_function_func_begin_label): Declare.
7599
7600 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7601
7602         * gcse.c: Cleanups throughout: mostly white-space, but also
7603         some minor rearrangement of code.
7604
7605 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
7606
7607         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
7608         returns a PARALLEL.  Use emit_group_load and use_group_regs
7609         as needed.
7610         (emit_library_call_value): Similarly.
7611
7612         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
7613         * pa/quadlib.asm: Remove.
7614         * pa/quadlib.c: New file.
7615
7616         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
7617         * configure: Rebuilt.
7618
7619 2000-02-29  Philip Blundell  <pb@futuretv.com>
7620
7621         * config/arm/conix-elf.h: New file.
7622         * configure.in (arm*-*-conix*): New configuration.
7623         * configure: Regenerate.
7624
7625 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
7626
7627         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
7628         don't have TREE_ASM_WRITTEN set.
7629
7630 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7631
7632         * Eliminate DECL_FIELD_SIZE.
7633         * builtins.c (built_in_class_names, built_in_names): New variables.
7634         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
7635         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
7636         DECL_SIZE, not DECL_FIELD_SIZE.
7637         * print-tree.c (print_node): Remove code that prints extra blank
7638         lines in some cases.
7639         Properly handle inline and builtin function cases.
7640         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
7641         * tree.h (built_in_class_named, built_in_names): New declarations.
7642         (union tree_decl): Rename internal unions to u1 and u2 and change
7643         some of their components.
7644         Add new field built_in_class.
7645         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
7646         Reflect above changes.
7647         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
7648         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
7649         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
7650         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
7651
7652 2000-02-28  Dmitri Makarov  <dim@windriver.com>
7653
7654         * extend.texi: Document ARM's support for long/short calls.
7655
7656         * invoke.texi: Document ARM's -mlong-calls command line switch.
7657
7658         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
7659         (arm_encode_call_attribute): Add prototype.
7660         (arm_set_default_type_attribute): Add prototype.
7661         (arm_strip_name_encoding): Add prototype.
7662
7663         * config/arm/arm.c (arm_init_cumulative_args): replace
7664         initialisation og 'long_calls' field with initialisation of
7665         'call_cookie' field.
7666         (enum arm_pragma_enum): New enum.
7667         (arm_pragma_long_calls): New static variable.
7668         (arm_process_pragma): Also process "#pragma long_calls_off".
7669         (arm_valid_type_attribute_p): Accept short_call attribute.
7670         (arm_comp_type_attributes): Check long/short call attributes.
7671         (arm_encode_call_attribute):  New function:  Encode long_call
7672         or short_call attribute in function name.
7673         (arm_set_default_type_attributes): New function: Assign
7674         default attributes to newly defined type.
7675         (current_file_function_operand): New function: Return true if
7676         the symbol is a function which has already been compiled.
7677         (arm_is_longcall_p): New function: Return true if the
7678         indicated function should be called via a long call.
7679         (arm_get_strip_length): New function.  Returns number of
7680         prefix characters to be stripped from a function's name.
7681         (arm_strip_name_encoding): New function.  Strip prefix characters
7682         from a function's name.
7683
7684         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
7685         with 'call_cookie'.
7686         (SHORT_CALL_FAG_CHAR): Define.
7687         (LONG_CALL_FAG_CHAR): Define.
7688         (ENCODED_SHORT_CALL_ATTR_P): Define.
7689         (ENCODED_LONG_CALL_ATTR_P): Define.
7690         (ARM_NAME_ENCODING_LENGTHS): Define.
7691         (STRIP_NAME_ENCODING): Define.
7692         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
7693         (ARM_ENCODE_CALL_TYPE): Define.
7694         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
7695         (ARM_DECLARE_FUNCTION_SIZE): Define.
7696         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
7697
7698         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
7699         if a long call is needed.
7700         (call_value): Ditto.
7701         (call_symbol): Ditto.
7702
7703         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
7704         ARM_DECLARE_FUNCTION_SIZE.
7705
7706         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
7707         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
7708         (ARM_STRIP_NAME_ENCODING): Undefine.
7709         (STRIP_NAME_ENCODING): Undefine.
7710         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
7711         (ASM_DECLARE_FUNCTION_NAME): Ditto.
7712         (ASM_OUTPUT_COMMON): Ditto.
7713         (ASM_DECLARE_OBJECT_NAME): Ditto.
7714
7715         * config/arm/pe.c (arm_dllexport_name_p): Check for
7716         ARM_PE_FLAG_CHAR.
7717         (arm_dllimport_name_p): Ditto.
7718         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
7719         (arm_mark_dllimport): Ditto.
7720
7721 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7722
7723         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
7724
7725 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
7726
7727         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
7728
7729 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
7730
7731         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
7732         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
7733         NO_BUILTIN_WCHAR_TYPE is not defined.
7734         (CPP_WCHAR_TYPE): Delete.
7735         * cccp.c (main): Don't change wchar_type if cplusplus.
7736         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
7737
7738 2000-02-28  Nick Clifton  <nickc@cygnus.com>
7739
7740         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
7741
7742 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
7743
7744         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
7745         (ASM_WEAKEN_LABEL): Define.
7746
7747 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
7748
7749         * expr.c (store_constructor): Do not emit USE.
7750         * rtl.h (stupid_life_analysis): Remove.
7751
7752 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7753
7754         * function.c (number_blocks): Reset next_block_index based on
7755         what debugging format is used, not what is defined.
7756
7757         * lcm.c: Minor reformatting throughout.
7758         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
7759
7760         * toplev.c (rest_of_compilation): Account for time in
7761         optimize_mode_switching.
7762
7763         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
7764         if only marking labels.
7765
7766 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
7767
7768         * calls.c (expand_call): Attempt to combine stack adjustments with
7769         pending stack adjustments.
7770
7771 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7772
7773         * loop.c (reg_in_basic_block_p): Don't abort when falling through
7774         to the end of the function.
7775
7776 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
7777
7778         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
7779         blocks.
7780         * final.c (next_block_index): Remove.
7781         (max_block_depth): Likewise.
7782         (pending_blocks): Likewise.
7783         (init_final): Don't initialize them.
7784         (final_start_function): Don't set next_block_index.  Set up
7785         BLOCK_NUMBER.
7786         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
7787         * function.h (number_blocks): New function.
7788         * function.c (get_block_vector): New function.
7789         (identify_blocks): Use it.
7790         (reorder_blocks): Set NOTE_BLOCK.
7791         (number_blocks): New function.
7792         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
7793         * tree.h (BLOCK_NUMBER): New macro.
7794         (tree_block): Add block_num field.
7795         * dbxout.c (next_block_number): Remove.
7796         (dbxout_init): Don't set it.
7797         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
7798         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
7799         block numbers.
7800         * toplev.c (rest_of_compilation): Always call
7801         find_loop_tree_blocks.  Fix indentation.
7802         * dwarf2out.c (next_block_number): Remove.
7803         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
7804         to determine block numbers.
7805         (gen_inlined_subroutine_die): Likewise.
7806         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
7807         (decls_for_scope): Don't increment next_block_number.
7808         * dwarfout.c (next_block_number): Remove.
7809         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
7810         to determine block numbers.
7811         (output_inlined_subroutine_die): Likewise.
7812         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
7813         (output_decls_for_scope): Don't increment next_block_number.
7814         * sdbout.c (next_block_number): Remove.
7815         (sdbout_block): Use BLOCK_NUMBER.
7816         (sdbout_begin_block): Simplify.
7817         * xcoffout.c (next_block_number): Remove.
7818         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
7819         (xcoffout_begin_block): Don't set next_block_number.
7820         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
7821         next_block_number.
7822
7823 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7824
7825         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
7826         (expand_builtin_strcpy): Pass correct type to size_binop.
7827         (expand_builtin_strcmp): Likewise.
7828         Clean up conditional structure.
7829         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
7830         (complete_array_type): Don't use size_binop for MAXINDEX.
7831         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
7832         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
7833         (c_alignof): Use size_one_node.
7834         (build_unary_op): Pass arg of proper type to size_binop.
7835         (really_start_incremental_init, push_init_level): Use sizetype for
7836         constructor{,_bit,_unfilled}_index.
7837         (pop_init_label, output_init_element): Likewise.
7838         (output_pending_init_elements, process_init_element): Likewise.
7839         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
7840         * expr.c (store_expr): Use size_int.
7841         (store_constructor): Use proper types for size_binop args.
7842         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
7843         (expand_expr_unaligned): Likewise.
7844         (string_contant): Return object of sizetype.
7845         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
7846         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
7847         (ARGS_SIZE_TREE): Pass proper types to size_binop.
7848         * fold-const.c (int_const_binop): Refine when size_int is called.
7849         (fold_convert): Likewise.
7850         (size_int_wide): Rework to take KIND as arg, only take low order
7851         bits, handle new sizetype_tab datatype, and chain entries in
7852         size_table.
7853         (size_int_type_wide): New function.
7854         (size_binop): Validate types of arguments.
7855         (ssize_binop): Deleted.
7856         (size_diffop): New function.
7857         (extract_muldiv): Only fold division into multiplication for sizetypes.
7858         * function.c (assign_parms): Use size_diffop and make sure
7859         VAR field is of ssizetype; also pass proper type to size_binop.
7860         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
7861         (round_down): Deleted from here.
7862         * store-layout.c (sizetype_tab): Now an array.
7863         (sizetype_set, early_root_list): New variables.
7864         (variable_size): Use size_one_node.
7865         (round_up): Pass proper type to size_binop.
7866         (round_down): Moved to here and corrected as above.
7867         (layout_record): Pass proper arg types to size_binop.
7868         (layout_type): Likewise.
7869         If sizetype_set is zero, record the type just laid out.
7870         (make_unsigned_type): Don't call set_sizetype;
7871         (make_signed_type): Likewise; also, call fixup_signed_type.
7872         (initialize_sizetypes): New function.
7873         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
7874         set name of bitsizetype to "bit_size_type".
7875         Fix up type of sizes of all types made before call.
7876         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
7877         * tree.c (fix_sizetype): Deleted.
7878         (build_common_tree_nodes): Call initialize_sizetypes.
7879         (build_common_tree_nodes_2): Don't call fix_sizetype.
7880         * tree.h (TYPE_IS_SIZETYPE): New macro.
7881         (initialize_sizetype): New declaration.
7882         (enum size_type_kind): New type.
7883         (struct sizetype_tab): Deleted.
7884         (sizetype_tab): Now array; adjust sizetype macros.
7885         (size_diffop, size_int_type_wide): New functions.
7886         (size_int_wide): Change number of args and type; access macros changed.
7887         (ssize_int, sbitsize_int): New macros.
7888         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
7889         (ROUND_TYPE_SIZE_UNIT): New macro.
7890
7891 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
7892
7893         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
7894
7895 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7896
7897         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
7898         Mark as possibly unused.
7899
7900         * cse.c (cse_insn): Delete dead code involving tablejump.
7901         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
7902
7903         * Makefile.in (libcpp.a): Start by deleting it.
7904
7905 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7906
7907         * cpplib.h (enum file_change_code): Added rename_file.
7908         * cpplib.c (do_line): If a filename is given, set file_change to
7909         rename_file.
7910         (output_line_command): If file_change is rename_file, always
7911         output a # directive with the file name.
7912
7913         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
7914
7915 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
7916
7917         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
7918         when copying a PARM_DECL or RESULT_DECL.
7919
7920 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7921
7922         * fix-header.c (recognized_function): Also fix prototypes for
7923         functions taking "void".
7924
7925 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
7926
7927         * reload1.c (do_output_reload): Check reg_reloaded_valid before
7928         looking at reg_reloaded_contents.
7929
7930 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
7931
7932         * Makefile.in (STMP_FIXINC): New toggle.
7933         (LIBGCC2_DEPS): Delete all references.
7934         (stmp-headers): Delete target.  All references either deleted
7935         or changed to stmp-int-headers.
7936         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
7937         (LIBCPP_OBJS): Take out cppalloc.o.
7938         (cppalloc.o): Delete target.
7939         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
7940         (gen-protos, fix-header): Link with libiberty.a.
7941         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
7942         to empty.
7943
7944         * configure.in: Remove refs to strerror.
7945         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
7946         * system.h: Take out strerror stanza.
7947
7948         * cpperror.c (my_strerror): Delete function.
7949         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
7950         * cppmain.c (main): Call xmalloc_set_program_name first thing.
7951         * cppalloc.c: Delete file.
7952         * gen-protos.c: Don't provide xrealloc.
7953
7954         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
7955         xstrerror throughout.
7956
7957 2000-02-26  Bruce Korb  <bkorb@gnu.org>
7958
7959         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
7960         match for DOS headers, too.
7961         * fixinc/inclhack.sh,fixincl.x: Regenerate.
7962
7963 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
7964
7965         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
7966         is right for most ELF targets.
7967         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
7968         Let the default file use %U properly.
7969         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
7970         default.
7971
7972         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
7973         numbers.
7974
7975 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7976
7977         * toplev.c (documented_lang_options): Correct spelling error.
7978         (decode_d_option, decode_f_option, main): Likewise.
7979
7980         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
7981
7982         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
7983         to tell assembler it is permitted to expand large constants.
7984
7985 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
7986
7987         * protoize.c: (AUX_INFO_SUFFIX): New macro.
7988         (aux_info_suffix): Use.
7989         (SAVE_SUFFIX): New macro.
7990         (save_suffix): Use.
7991         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
7992         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
7993         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
7994
7995         * invoke.texi (Running Protoize): Update documentation.
7996
7997 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
7998
7999         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
8000
8001 2000-02-25  John Wehle  (john@feith.com)
8002
8003         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
8004
8005 2000-02-25  Anthony Green  <green@cygnus.com>
8006
8007         * toplev.c (rest_of_compilation): Rebuild jump labels if
8008         combine_instructions has created a new direct jump.
8009         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
8010         when appropriate.
8011         (combine_instructions): Call try_combine with new argument.
8012         Return non-null value when new direct jump instruction is created.
8013         * rtl.h: combine_instructions returns an int.
8014
8015 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
8016
8017         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
8018         jump when changing a computed jump into a jump to a known
8019         target.
8020
8021 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
8022
8023         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
8024         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
8025
8026         * i386.md (define_expand "clrstrsi"): Fix typo.
8027
8028 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
8029
8030         * rtl.texi: Fix typo.
8031
8032 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8033
8034         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
8035         UNITS_PER_WORD.  Change caller initial_elimination_offset.
8036         (rounded_frame_size): Take into account that argument pushed has
8037         changed.  Fix TARGET_ALIGN_DOUBLE problem.
8038
8039 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
8040
8041         * haifa-sched.c (schedule_block): Explain the real reason
8042         we delete REG_SAVE_NOTEs on the first insn of a block.
8043         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
8044
8045 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
8046
8047         * input.h (push_srcloc): New function.
8048         (pop_srcloc): Likewise.
8049         * toplev.c (push_srcloc): Define it.
8050         (pop_srcloc): Likewise.
8051
8052 2000-02-24  Richard Henderson  <rth@cygnus.com>
8053
8054         * flow.c (life_analysis): When collecting reg info, clear
8055         regs_ever_live.
8056
8057 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8058
8059         Fix bug exposed by reload.c no longer rounding the frame
8060         size to BIGGEST_ALIGNMENT:
8061         * sh.c (rounded_frame_size): New function.
8062         (sh_expand_prologue, sh_expand_epilogue): Use it.
8063         (initial_elimination_offset): Likewise.
8064
8065 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8066
8067         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
8068         * sh-protos.h (sh_need_epilogue): Declare.
8069         * sh.c (sh_need_epilogue_known): New static variable.
8070         (sh_need_epilogue): New function.
8071         (function_epilogue): Clear need_epilogue_known.
8072         * sh.md (return): Split into expander / insn pattern.
8073         Make the expander conditional on ! sh_need_epilogue ().
8074
8075 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
8076
8077         * machmode.h (get_mode_alignment): Declare.
8078         (GET_MODE_ALIGNMENT): Call it.
8079         * stor-layout.c (get_mode_alignment): New function. Make
8080         sure alignment is always power of 2.
8081
8082 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
8083
8084         * i386.h: Remove useless definition of "I386" and misleading
8085         comment above it.
8086
8087 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
8088
8089         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
8090         under which TREE_PERMANENT will be set.
8091         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
8092         build1): Use TREE_SET_PERMANENT.
8093         * print-tree.c (print_node): Don't report value of
8094         TREE_PERMANENT if ggc_p is true.
8095
8096         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
8097         decide whether to give a type a new alias set.
8098         * objc/objc-act.c (build_objc_string_object): Never copy the string.
8099         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
8100         of value of 'obstack'.
8101
8102
8103 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8104
8105         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
8106
8107 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8108
8109         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
8110         * cpplib.c (cpp_get_token): Produce them.
8111         * cppexp.c (cpp_lex): Handle them.
8112
8113 2000-02-23  Nick Clifton  <nickc@cygnus.com>
8114
8115         * config/arm/arm.c (arm_comp_type_attributes): Simply and
8116         comment tests on type attributes.
8117
8118 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8119
8120         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
8121         conform to documentation.
8122         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
8123         to check for special cases.
8124         * sh-protos.h (sh_loop_align): Declare.
8125         * sh.c (sh_loop_align): Define.
8126
8127 2000-02-22  Andrew Haley  <aph@cygnus.com>
8128
8129         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
8130         (SIZE_TYPE): Is 32 bits when using -mgp32.
8131         (PTRDIFF_TYPE): Ditto.
8132
8133 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8134
8135         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
8136
8137 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
8138
8139         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
8140         BIGGEST_FIELD_ALIGNMENT a constant.
8141
8142 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
8143
8144         * dwarf2out.c (output_line_info): Put the marker for the end of
8145         the line number info at the actual end.
8146         (gen_struct_or_union_type_die): Use decl_function_context
8147         to check for local classes.
8148         * dwarfout.c (output_type): Likewise.
8149
8150 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
8151
8152         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
8153         for arguments with a mode, but no type.
8154         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
8155         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
8156         * pa/long_double.h: New file.
8157         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
8158         both have 128bit wide long doubles.
8159         * configure: Rebuilt.
8160
8161 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8162
8163         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
8164
8165         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
8166         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
8167         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
8168
8169         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
8170
8171         * integrate.c (compare_blocks, find_block): Likewise.
8172
8173         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
8174
8175         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
8176
8177         * stmt.c (stmt_status, set_file_and_line_for_stmt,
8178         expand_asm_operands): Likewise.
8179
8180 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
8181
8182         * predict.c (estimate_probability): Added the pointer heuristic to
8183         the collection of static branch predictors.
8184
8185 2000-02-21  Catherine Moore  <clm@cygnus.com>
8186
8187         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
8188         * invoke.texi (-mfix7000): Document.
8189
8190 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
8191
8192         * diagnostic.c (init_output_buffer): Make it possible to output at
8193         least 32 characters if we're given a too long prefix.
8194
8195 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
8196
8197         * varasm.c (initializer_constant_valid_p): Call
8198         lang_expand_constant to simplify the constant.
8199
8200 2000-02-20  Bruce Korb  <bkorb@gnu.org>
8201
8202         * fixinc/inclhack.def(stdio_va_list):
8203         typedef needs to be disabled.
8204         * fixinc/inclhack.sh: regen
8205         * fixinc/fixincl.x: regen
8206
8207 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
8208
8209         * print-rtl.c (print_rtx): Don't print addresses when
8210         flag_dump_unnumbered.
8211
8212 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8213
8214         * sparc.c (sparc_output_scratch_registers): Mark parameter with
8215         ATTRIBUTE_UNUSED.
8216         (sparc_va_arg, sparc_flat_output_function_prologue,
8217         sparc_flat_output_function_epilogue): Cast value to unsigned in
8218         comparison.
8219         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
8220
8221         * sparc.md: Add default case in switch.
8222
8223 2000-02-19  Richard Henderson  <rth@cygnus.com>
8224
8225         * c-typeck.c (add_pending_init): Don't abort for multiple
8226         fields at the same offset.
8227         (pending_init_member): Test the correct member.
8228
8229 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8230
8231         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
8232         instead of SImode.
8233         (start_catch_handler) : Same.
8234
8235 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
8236
8237         * Makefile.in: Have flow.o depend on $(EXPR_H)
8238
8239 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8240
8241         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
8242         * c-decl.c (duplicate_decls, finish_enum): Likewise.
8243         (finish_decl): Remove -Wlarger-than code from here.
8244         * flags.h (id_clash_len): Now int.
8245         (larger_than_size): Now HOST_WIDE_INT.
8246         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
8247         Clean up checking to see if in table.
8248         (make_bit_field_ref): Remove extra parm to bitsize_int.
8249         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
8250         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
8251         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
8252         and for computing size of decl.
8253         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
8254         Move -Wlarger-than code to here.
8255         (layout_record): Remove extra arg to bitsize_int.
8256         Set TYPE_BINFO_SIZE_UNIT.
8257         (layout_union): Remove extra arg to bitsize_int.
8258         Use proper type for size of QUAL_UNION.
8259         (layout_type): Remove extra arg to bitsize_int.
8260         * toplev.c (id_clash_len): Now int.
8261         (larger_than_size): Now HOST_WIDE_INT.
8262         (decode_W_option): Clean up id-clash and larger-than- cases.
8263         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
8264         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
8265         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
8266         (struct tree_decl): New field size_unit.
8267         (size_int_wide): No HIGH operand; NUMBER is now signed.
8268         (size_int_2): Deleted.
8269         (size_int, bitsize_int): Don't use it and rework args.
8270         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
8271
8272 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
8273
8274         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
8275
8276 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
8277
8278         * invoke.texi (Warning Options): Add an explanation of why
8279         you might want the -Wfloat-equal flag.
8280
8281 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8282
8283         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
8284         * cppinit.c (new_pending_define): Add cast to avoid warning.
8285         * expmed.c (extract_bit_field): Likewise.
8286         * flow.c (enum reorder_skip_type): New type.
8287         (skip_insns_between_blcok): New it.
8288         Rework to avoid warning about possibly undefined variable.
8289         * function.c (assign_parms): Make thisparm_boundary unsigned.
8290         * genrecog.c (write_switch): Cast XWINT result to int.
8291         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
8292         * mips-tfile.c (init_file): Make two versions of FDR intializer:
8293         one for MIPS and one for Alpha.
8294         (get_tag, copy_object): Add casts to avoid warnings.
8295         * optabs.c (init_one_libfunc): Cast NAME to (char *).
8296         * reload.c (find_reloads): Make TYPE enum reload_type.
8297         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
8298         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
8299         * varasm.c (compare_constant_1): Add cast to avoid warning.
8300         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
8301         to (char *).
8302         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
8303         Cast switch operand of size to int.
8304         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
8305         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
8306         in unhandled case.
8307
8308 2000-02-18  Nick Clifton  <nickc@cygnus.com>
8309
8310         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
8311         anything for an alignment of zero.
8312
8313         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
8314         anything for an alignment of zero.
8315
8316 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
8317
8318         * gcc.texi (Bug Reporting): Refer to bugs.html.
8319         (Bug Lists): Likewise.
8320         * system.h (GCCBUGURL): New preprocessor define.
8321         * rtl.c (fancy_abort): Use it.
8322         * gcc.c (main): Likewise.
8323
8324 2000-02-18  Richard Henderson  <rth@cygnus.com>
8325
8326         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
8327         (life_analysis_1): Subsume into ...
8328         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
8329         Use update_life_info for the relaxation.
8330         (update_life_info): Update REG_BASIC_BLOCK for registers live on
8331         entry and regs_live_at_setjmp.
8332         (set_noop_p): Simplify.
8333         (notice_stack_pointer_modification_1): Renamed from s/_1//.
8334         (record_volatile_insns): Split into ...
8335         (delete_noop_moves): ... here,
8336         (notice_stack_pointer_modification): ... here,
8337         (insn_dead_p): ... and here.
8338         (propagate_block): Don't query INSN_VOLATILE.
8339         (mark_used_regs): Mind !PROP_REG_INFO.
8340         * toplev.c (rest_of_compilation): Call mark_constant_function here,
8341         not in life_analysis.
8342
8343 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
8344
8345         * loop.c (canonicalize_condition): New function,
8346         broken out of get_condition.
8347         (get_condition): Use it.
8348         * expr.h (canonicalize_condition): Prototype it.
8349
8350         * tree.h (tree_int_cst_msb): Declare.
8351         * tree.c (tree_int_cst_msb): New function.
8352
8353 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
8354
8355         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
8356         isn't set.
8357
8358         * invoke.texi (-fmessage-length=n): Document.
8359
8360 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
8361
8362         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
8363
8364 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
8365
8366         * function.c (thread_prologue_and_epilogue_insns): Put a line note
8367         after the prologue.
8368
8369 2000-02-17  Nick Clifton  <nickc@cygnus.com>
8370
8371         * config/arm/thumb.c: Replace includes of system headers with
8372         #include "system.h".
8373
8374 2000-02-16  Richard Henderson  <rth@cygnus.com>
8375
8376         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
8377         Add crtbeginS.o and crtendS.o.
8378         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
8379         (ENDFILE_SPEC): Use crtendS.o.
8380         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
8381
8382         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
8383         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
8384         shared and present.
8385         (__dso_handle): New variable.
8386         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
8387         bias to __CTOR_END__.
8388
8389 2000-02-16  Richard Henderson  <rth@cygnus.com>
8390
8391         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
8392
8393 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8394
8395         * longlong.h (__clz_tab): Declare as static to match definition.
8396
8397 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
8398         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
8399         (XREF_FILE_NAME): Define.
8400
8401         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
8402         (EH_FRAME_SECTION_ASM_OP): Define.
8403         (IDENT_ASM_OP): Define.
8404         (TEXT_SECTION_ASM_OP): Define.
8405         (CPP_SPEC): Define.
8406         (CTORS_SECTION_ASM_OP): Define.
8407         (CTOR_SECTION_FUNCTION): Use it.
8408         (DTORS_SECTION_ASM_OP): Define.
8409         (DTOR_SECTION_FUNCTION): Use it.
8410
8411 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
8412
8413         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
8414         NOTE_BASIC_BLOCK.
8415
8416         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
8417         debug_bb_n): New functions.
8418         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
8419         * basic-block.h: Prototype new functions.
8420
8421 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
8422
8423         * configure.in: Add support for avr target.
8424         * configure: Rebuilt.
8425
8426         * invoke.texi: Add AVR invocation docs.
8427         * install.texi: Add information about AVR.
8428         * md.texi: Add AVR constraint letters description.
8429         * extend.texi: Add description for AVR specific attributes.
8430
8431 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
8432
8433         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
8434
8435 2000-02-16  Nick Clifton  <nickc@cygnus.com>
8436
8437         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
8438         (make_insn_raw): Move RTL check here.
8439
8440 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8441
8442         * version.c: Include gansidecl.h and version.h.
8443
8444         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
8445
8446         * configure.in (gcc_version): When setting, narrow search to
8447         lines containing `version_string'.
8448
8449         * Makefile.in (mainversion): Likewise.
8450         (GCC_H): New variable.
8451         (gcc.h): Delete target.
8452         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
8453         (version.o): Depend on version.h.
8454         (dbxout.o): Don't depend on gcc.h.
8455
8456 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8457                           Michael Meissner  <meissner@cygnus.com>
8458
8459         * md.texi (Simple Constraints): Add item about whitespace.
8460         * genoutput.c (strip_whitespace): New.
8461         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
8462         strip_whitespace for constraints.
8463         Test pointer using NULL, not 0.
8464
8465 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8466
8467         * cpplib.c (do_line): Pedwarn for #line > 32767.
8468
8469         * c-lex.c (readescape): Warn about '\x', but do not reject it.
8470
8471 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
8472
8473         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
8474         to default cpp spec.
8475         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
8476         * cpp.texi: Document __GNUC_PATCHLEVEL__.
8477         * cpp.1: Likewise.
8478
8479         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
8480         default spec.
8481
8482 2000-02-15  Denis Chertykov  <denisc@overta.ru>
8483
8484         * configure.in: Add support for avr target.
8485
8486 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8487
8488         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
8489         (sh_addr_diff_vec_mode): Don't declare.
8490         * sh.c (sh_addr_diff_vec_mode): Delete.
8491
8492 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8493
8494         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
8495
8496 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8497
8498         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
8499         (smulsi3_highpart_i): Name.
8500         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
8501         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
8502         (smulsi3_highpart, umulsi3_highpart): Likewise.
8503
8504         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
8505         correctly independent of endianness.
8506         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
8507         confuse the optimizers.
8508         (mulsidi3+1, umulsidi3+1): New define_split.
8509
8510 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
8511
8512         * config/sh/sh.md: Guard insn splits against illegal registers.
8513         * config/sh/sh.h: Correct comment about macros.
8514
8515 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8516                           Andrew MacLeod  <amacleod@cygnus.com>
8517
8518         * Makefile.in (lcm.o): Depend on insn-attr.h.
8519         * basic-block.h (optimize_mode_switching): Declare.
8520         * lcm.c (tm_p.h, insn-attr.h): #include.
8521         (seginfo, bb_info): New structs.
8522         (antic, transp, comp, delete, insert) : New file-scope static variables.
8523         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
8524         (reg_becomes_live, optimize_mode_switching): Likewise.
8525         * tm.texi: Add description of mode switching macros.
8526         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
8527
8528         * sh-protos.h (remove_dead_before_cse): Remove prototype.
8529         (fldi_ok, fpscr_set_from_mem): New prototypes.
8530         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
8531         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
8532         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
8533         (sh_flag_remove_dead_before_cse): Remove declaration.
8534         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
8535         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
8536         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
8537         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
8538         (barrier_align): Allow for JUMP_INSNS containing a parallel.
8539         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
8540         (fldi_ok): New function.
8541         (get_fpscr_rtx): Add fpscr_rtx as GC root.
8542         (emit_sf_insn): Only generate fpu switches when optimize < 1.
8543         (emit_df_insn): Likewise.
8544         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
8545         (sh_flag_remove_dead_before_cse): Delete.
8546         (get_free_reg, fpscr_set_from_mem): New functions.
8547         * sh.md (movdf, movsf): Remove no_new_pseudos code.
8548         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
8549
8550 2000-02-15  Loren Rittle  <ljrittle@acm.org>
8551
8552         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
8553
8554 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8555
8556         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
8557         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
8558
8559         * cccp.c: Include version.h and/or don't declare `version_string'.
8560         * collect2.c: Likewise.
8561         * alpha.c: Likewise.
8562         * arm/aof.h: Likewise.
8563         * arm/coff.h: Likewise.
8564         * arm/elf.h: Likewise.
8565         * arm/pe.h: Likewise.
8566         * arm/tcoff.h: Likewise.
8567         * arm/telf.h: Likewise.
8568         * arm/tpe.h: Likewise.
8569         * arm/vxarm.h: Likewise.
8570         * convex/convex.c: Likewise.
8571         * i386/dgux.c: Likewise.
8572         * i386/sun386.h: Likewise.
8573         * m88k/m88k.c: Likewise.
8574         * mcore/mcore-pe.h: Likewise.
8575         * mips/mips.h: Likewise.
8576         * romp/romp.h: Likewise.
8577         * sh/sh.c: Likewise.
8578         * cpphash.c: Likewise.
8579         * cppinit.c: Likewise.
8580         * dwarf2out.c: Likewise.
8581         * dwarfout.c: Likewise.
8582         * gcc.c: Likewise.
8583         * gcc.h: Likewise.
8584         * mips-tfile.c: Likewise.
8585         * protoize.c: Likewise.
8586         * toplev.c: Likewise.
8587         * tree.h: Likewise.
8588
8589         * version.c (version_string): Constify a char*.
8590
8591         * version.h: New file.
8592
8593 2000-02-14  Nick Clifton  <nickc@cygnus.com>
8594
8595         * configure.in: Add mcore-elf and mcore-pe targets.
8596         * configure: Regenerate.
8597
8598         * NEWS: Add note that MCore port has been contributed.
8599
8600         * invoke.texi: Document command line switches for MCore port.
8601         * install.texi: Add MCore to list of supported targets.
8602
8603 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
8604
8605         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
8606         then we will need to import the frame handling functions.
8607         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
8608         to import the frames themselves.
8609
8610 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
8611                           Jason Eckhardt  <jle@cygnus.com>
8612
8613         * basic_block.h: Added prototype for reorder_basic_blocks.
8614         * toplev.c: Changes to add -freorder-blocks and graph dump after
8615         block reordering is done.
8616         * flow.c (reorder_block_def): New structure for use during block
8617         reordering.
8618         (REORDER_BLOCK_*): New macros to access members of above structure.
8619         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
8620         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
8621         functions for block reordering.
8622
8623 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8624
8625         * gcc.texi (Passes): Fix typo.
8626         * md.texi (Standard Names): Ditto.
8627         * tm.texi (Storage Layout): Ditto.
8628
8629 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
8630
8631         * cpplib.c (do_define): Only free the old definition if it
8632         actually had one.
8633
8634 2000-02-13   Neil Booth  <NeilB@earthling.net>
8635
8636         * cppfiles.c (read_and_prescan): When emitting deferred
8637         newlines, test speccase[] again instead of checking each
8638         possible whitespace character in turn.  When we encounter \r,
8639         look behind for \n first, then ahead.
8640
8641 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
8642
8643         * cse.c (cse_altered): New internal flag.
8644         (cse_insn): Set it if we changed an insn.
8645         (cse_main): Clear cse_altered before each basic block.
8646         Only garbage collect if cse_altered is true afterward.
8647
8648 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8649
8650         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
8651
8652 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
8653
8654         * combine.c (simplify_comparison): Fix typo.
8655
8656 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
8657
8658         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
8659         consistently.
8660
8661 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8662
8663         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
8664         previously inserted node instead of root node.  Caller changed.
8665
8666 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8667
8668         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
8669
8670 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8671
8672         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
8673         __dereg_frame_dtor): Add prototype argument.
8674
8675         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
8676
8677         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
8678
8679         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
8680
8681         * gthr-vxworks.h (__gthread_once): Likewise.
8682
8683         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
8684
8685 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
8686
8687         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
8688         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
8689         stack pointer in functions w/o saved registers, output LEAVE more often
8690         on TARGET_USE_LEAVE machines.
8691
8692 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
8693
8694         * config/arm/arm.c (arm_init_cumulative_args); New function:
8695         Initlaise the CUMULATIE_ARGS strcuture for a function
8696         defintion.
8697         (arm_function_arg): New function: Determine where to place a
8698         function's argument.  Also handles deciding the function's
8699         call cookie.
8700         (current_file_function_operand): New function: Return true if
8701         the symbol is a function which has already been compiled.
8702         (arm_is_long_call_p): New function: Return true if the
8703         indicated function should be called via a long call.
8704         (arm_valid_type_attribute_p): New function: Return true if the
8705         attribute is a valid, arm specific, attribute.
8706         (arm_comp_type_attribute): New function: Return true if the
8707         two types have compatable, arm specific, attributes.
8708
8709         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
8710         structure.
8711         (FUNCTION_ARG): Redefine to call arm_function_arg.
8712         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
8713         structure field.
8714         (INIT_CUMULATIVE_ARGS): Redefine to call
8715         arm_init_cumulative_args.
8716         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
8717         field.
8718         (SETUP_INCOMING_VARARGS): Redefine to use correct structure
8719         field.
8720         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
8721         functions.
8722         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
8723         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
8724         (COMP_TYPE_ATTRIBUTES): Define.
8725
8726         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
8727         if a long call is needed.
8728         (call_value): Call arm_is_long_call_p to decide if a long call
8729         is needed.
8730         (call_symbol): Call arm_is_long_call_p to decide if a long call
8731         is needed.
8732
8733         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
8734
8735 2000-02-11  Denis Chertykov  <denisc@overta.ru>
8736
8737         * README.AVR: New file with information about the avr ports.
8738         * config/avr: New directory with avr port files.
8739
8740 2000-02-11  Andreas Jaeger  <aj@suse.de>
8741
8742         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
8743
8744 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
8745
8746         * cpphash.c: Fix formatting, update commentary.
8747         (dump_definition): Take three separate arguments instead of a
8748         MACRODEF structure argument.
8749         * cpphash.h: Update prototype of dump_definition.
8750         * cppinit.c (cpp_finish): Update call of dump_definition.
8751
8752         * cpplib.c (do_define): Always create new hash entry with
8753         T_MACRO type.  Remove redundant check for redefinition of
8754         poisoned identifier.  Update call of dump_definition.
8755         (do_undef): Don't call check_macro_name.  Rename sym_length to
8756         len.
8757         (do_error, do_warning): Don't use copy_rest_of_line or
8758         SKIP_WHITE_SPACE.
8759         (do_warning): Don't use pedwarn for the actual warning,
8760         only the notice about its not being in the standard.  (Fixes
8761         bug with #warning in system headers.)
8762         (do_ident): Stricter argument checking - accept only a single
8763         string after #ident.  Also, macro-expand the line.
8764         (do_xifdef): Use cpp_defined.  De-obfuscate.
8765
8766         (do_pragma): Split out specific pragma handling to separate
8767         functions.  Use get_directive_token.  Update commentary.  Do
8768         not pass on #pragma once or #pragma poison to the front end.
8769         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
8770         do_pragma_default): New.
8771
8772 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
8773
8774         * jump.c (jump_optimize_1): The first operand in a relational
8775         can be a CONST_INT.
8776         * optabs.c (emit_conditional_move): Handle relationals which
8777         have a known true/false result.
8778
8779 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
8780
8781         * function.c (thread_prologue_and_epilogue_insns): Don't insert
8782         a RETURN insn into a block which already ends with a jump.
8783
8784 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
8785
8786         * haifa-sched.c (BUF_LEN): Increase a lot.
8787
8788 2000-02-11  Nick Clifton  <nickc@cygnus.com>
8789
8790         * configure.in: Add tm_p_file specification for thumb targets.
8791         * configure: Regenerate.
8792
8793         * config/arm/thumb-protos.h: New file: Prototypes for exported
8794         functions defined in thumb.c.
8795
8796 2000-02-11  Robert Lipe  <robertl@sco.com>
8797
8798         * Makefile.in (bootstrap-lean): Remove additional files.
8799         (bootstrap2-lean): Likewise.
8800         (VOL_FILES): List of files for above.
8801
8802 2000-02-11  Nathan Sidwell  <nathan@acm.org>
8803
8804         * cpphash.c (special_symbol): Remove spurious argument to
8805         cpp_lookup.
8806
8807 2000-02-11  Joel Sherrill (joel@OARcorp.com>
8808
8809         * configure.in: (i*86-*-rtems*): Swapped elf and coff
8810         stanzas.
8811         * configure: Rebuilt.
8812
8813 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
8814
8815         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
8816
8817 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
8818
8819         * pa.c, pa.h: Remove trigraph sequences within comments.
8820
8821 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
8822
8823         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
8824
8825 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
8826
8827         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
8828
8829 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8830
8831         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
8832
8833 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8834
8835         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
8836         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
8837         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
8838         (ASM_FILE_END): Use c4x_file_end.
8839         * config/c4x/c4x.c (c4x_global_label): New function.
8840         (c4x_external_ref, c4x_file_end): Likewise.
8841
8842         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
8843         (c4x_external_ref, c4x_end_file): Likewise.
8844
8845 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
8846
8847         * cppexp.c: Don't include cpphash.h.
8848         (parse_charconst, cpp_lex): Use cpp_defined.
8849         (cpp_lex): Use get_directive_token throughout.  Remove
8850         unnecessary cases from switch.  Move assertion-handling code
8851         down to OTHER case.
8852         (cpp_parse_expr): If we see '+' or '-', check the context to
8853         determine if they are unary or binary operators.  Streamline
8854         the jumps a bit.  Do not call skip_rest_of_line.
8855
8856         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
8857         static.  Export get_directive_token.  Update commentary.
8858         (cpp_defined): New function.
8859         (do_define): Remove reference to T_PCSTRING.  Call
8860         free_definition to release memory for old definition, when
8861         redefining a macro.
8862         (eval_if_expression): Set only_seen_white to 0 before calling
8863         cpp_parse_expr.  Call skip_rest_of_line after it returns.
8864         (cpp_read_check_assertion): Don't preserve a pointer into the
8865         token buffer across a call to cpp_get_token.
8866
8867         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
8868         * cppfiles.c (redundant_include_p): Use cpp_defined.
8869         * cpphash.c (free_definition): New function.
8870         (delete_macro): Use it.  Update commentary.
8871         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
8872         free_definition.
8873         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
8874         from enum node_type.  Prototype cpp_defined and get_directive_token.
8875         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
8876
8877         * fix-header.c (check_macro_names): Use cpp_defined.
8878         (read_scan_file): Set inhibit_warnings and inhibit_errors in
8879         the options structure.
8880
8881 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8882
8883         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
8884
8885 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
8886
8887         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
8888         rather than die->die_tag.
8889
8890 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8891
8892         * combine.c (make_extraction, force_to_mode): Avoid warning on
8893         mixed-signedness conditionals.
8894         (make_field_assignment, nonzero_bits): Likewise.
8895         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
8896         (store_split_bit_field, extract_split_bit_field): Likewise.
8897         (extract_fixed_bit_field, store_bit_field,
8898         * expr.c: Change alignment to be unsigned everywhere.
8899         (move_by_pieces, store_constructor_field, store_constructor):
8900         Alignment parm is unsigned.
8901         (emit_block_move, emit_group_load, emit_group_store): Likewise.
8902         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
8903         (do_compare_rtx_and_jump): Likewise.
8904         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
8905         Compare align with GET_MODE_ALIGNMENT.
8906         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
8907         (get_inner_reference): Likewise.
8908         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
8909         (expand_assignment): Local vars for alignment now unsigned.
8910         (store_constructor, store_field, expand_expr, do_jump): Likewise.
8911         (do_compare_and_jump): Likewise.
8912         (store_field): Call new function expr_align.
8913         * expr.h (emit_block_move, emit_group_load, emit_group_store):
8914         Alignment arg now unsigned.
8915         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
8916         (do_compare_rtx_and_jump, store_bit_field): Likewise.
8917         (extract_bit_field): Likewise.
8918         * fold-const.c (add_double): Add cast to eliminate signedness warning.
8919         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
8920         (get_best_mode): Alignment arg is unsigned.
8921         * rtl.h (move_by_pieces): Likewise.
8922         * store-layout.c (maximum_field_alignment, set_alignment):
8923         Now unsigned.
8924         (layout_decl): Alignment arg is now unsigned.
8925         Remove unneeded casts.
8926         (layout_record, layout_union, layout_type): Remove unneeded casts.
8927         Local alignment variables now unsigned.
8928         (get_best_mode): Alignment arg now unsigned.
8929         * tree.c (expr_align): New function.
8930         * tree.h (expr_align): Likewise.
8931         (maximum_field_alignment, set_alignment): Now unsigned.
8932         (get_inner_reference): Alignment argument is now pointer to unsigned.
8933         * varasm.c (assemble_variable): Add cast to eliminate warning.
8934
8935 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
8936
8937         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
8938         then store directly into op0.
8939
8940         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
8941         the CALL_INSN, and emit the note immediately after it.
8942
8943 2000-02-10  Nick Clifton  <nickc@cygnus.com>
8944
8945         * config/arm/thumb.md (epilogue): Include a (return) in the
8946         generated insn, and emit it using emit_jump_insn not
8947         emit_insn.
8948
8949 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
8950
8951         * function.c (assign_temp): Change zero-sized arrays to size 1.
8952         * integrate.c (expand_inline_function): Do not update
8953         stack_alignment_needed
8954         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
8955         add some sanity checking, remove optimization for function with
8956         zero frame size.
8957
8958 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8959
8960         * flow.c (mark_regs_live_at_end): Delete unused variables.
8961
8962         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
8963
8964         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
8965         in macro FRAME_GROWS_DOWNWARD.
8966
8967         * stmt.c (expand_end_bindings): Delete unused variable.
8968
8969         * unroll.c (iteration_info): Mark parameter `loop' with
8970         ATTRIBUTE_UNUSED.
8971
8972 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8973
8974         * fixinc/server.c (load_data): Return NULL if the marker line is
8975         not found.
8976         (run_shell): If load_data returns NULL, retry the command once, in
8977         a new shell.
8978
8979         * configure: Rebuilt.
8980
8981 2000-02-09  Bruce Korb  <bkorb@gnu.org>
8982
8983         * gcc/fixincludes:  ** DELETED **
8984         * gcc/fixcpp:  ** DELETED **
8985         * gcc/fixinc-nt.sed:  ** DELETED **
8986         * gcc/just-fixinc:  ** DELETED **
8987         * gcc/Makefile.in:  Removed out-dated commentary
8988         * gcc/configure.in: Removed fast-fixincludes disablement.
8989         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
8990
8991 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
8992         * function.c (thread_prologue_and_epilogue_insns): Uncomment
8993         last change.
8994
8995 2000-02-09  Richard Henderson  <rth@cygnus.com>
8996
8997         * jump.c (delete_insn): Don't delete user labels at -O0.
8998
8999 2000-02-09  Robert Lipe  <robertl@sco.com>
9000
9001         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
9002         Don't link with HOST_LIBS.
9003
9004 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
9005
9006         * configure.in: Correct --help text for --with-dwarf2.
9007         Put tm-dwarf2.h after other tm files, if it's requested.
9008         * configure: Regenerate.
9009         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
9010         defining it.
9011
9012 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
9013
9014         * cpplib.h: Provide HASHNODE typedef and forward decl of
9015         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
9016         DEFINITION, struct hashnode, struct macrodef, struct
9017         definition, scan_decls prototype, default defn of
9018         INCLUDE_LEN_FUDGE moved elsewhere.
9019
9020         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
9021         definition, and struct hashnode moved here. Remove the unused
9022         'predefined' field from struct definition.  Replace the 'args'
9023         union with its sole member.  All users updated (cpphash.c).
9024         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
9025         multiple include guard.
9026
9027         * cpphash.c (hashf): Make static; use better algorithm; drop
9028         HASHSIZE parameter; return an unsigned int.
9029         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
9030         used. Calculate HASHSIZE modulus here.
9031         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
9032         here.
9033         (create_definition): Drop PREDEFINITION parameter.
9034         * cpplib.c (do_define): Don't calculate a hash value here.
9035         Don't pass (keyword == NULL) to create_definition.
9036
9037         * scan.h: Prototype scan_decls here.
9038         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
9039         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
9040         callers of cpp_lookup and cpp_install updated.
9041
9042         * cpphash.c (macarg): Hoist all the flag diddling out of the
9043         function...
9044         (macroexpand): ... and out of the loop that calls macarg.
9045         Skip over the initial paren before macro arguments with
9046         cpp_get_non_space_token; point may be some distance before
9047         that paren.  Abort if it's not there.
9048
9049         * cpplib.c (parse_clear_mark): Delete function.
9050         (parse_set_mark, parse_goto_mark): Make static.
9051         (ACTIVE_MARK_P): New macro.
9052         (skip_block_comment, skip_line_comment): Do not bump the line
9053         if ACTIVE_MARK_P is true.
9054         (cpp_pop_buffer): The buffer to be popped may not have an
9055         active mark.
9056         (cpp_get_token): When looking for the initial paren before
9057         macro arguments, only set a mark in a file buffer, Always
9058         return to that mark before proceeding to call macroexpand or
9059         return a NAME token.
9060
9061         * cpplib.h: Remove prototypes of parse_set_mark,
9062         parse_clear_mark, parse_goto_mark.
9063         (struct cpp_options): Rename 'put_out_comments' to
9064         'discard_comments' and invert its sense.
9065         * cppinit.c, cpphash.c, cpplib.c: All users of
9066         put_out_comments changed to use discard_comments, with
9067         opposite sense.
9068
9069 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
9070
9071         * function.c (thread_prologue_and_epilogue_insns): Don't delete
9072         the edge from a block that both jumps and falls through to the
9073         fallthru block.
9074
9075 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
9076
9077         * config/arm/arm.md (movsi): In PIC mode, make sure that a
9078         constant source address is legitimate.
9079
9080 2000-02-09  Philip Blundell  <pb@futuretv.com>
9081
9082         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
9083         correctly.
9084
9085         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
9086         generating PIC.
9087         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
9088
9089 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
9090
9091         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
9092         ends with a newline and a NUL.  Don't be so clever manipulating
9093         strings.
9094
9095 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
9096
9097         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
9098         not to BIGGEST_ALIGNMENT.
9099
9100 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
9101
9102         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
9103         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
9104         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
9105         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
9106         * frame.c (execute_cfa_insn): Handle
9107         DW_CFA_GNU_negative_offset_extended.
9108
9109 2000-02-08  Richard Henderson  <rth@cygnus.com>
9110
9111         * flow.c (tidy_fallthru_edges): Split out from ...
9112         (delete_unreachable_blocks): ... here.
9113         (find_basic_blocks): Use it.
9114
9115 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9116
9117         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
9118
9119 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
9120
9121         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
9122         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
9123         (fix-header.o): Don't depend on cpphash.h.
9124
9125         * scan.c (hashstr): New function.
9126         * scan.h: Prototype it.
9127         * fix-header.c: Don't include cpphash.h.  Use hashstr.
9128         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
9129         hashstr.  Report hash table statistics.  Add private
9130         definition of xrealloc.
9131
9132 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9133
9134         * i386.h (TARGET_SWITCHES): Fix typo in option name.
9135
9136 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
9137
9138         * function.c (thread_prologue_and_epilogue_insns): Don't replace
9139         jumps with returns unless they are jumps to the fallthru block.
9140
9141 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
9142
9143         * i386.md (addqi3_cc): Fix contraints.
9144
9145 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9146
9147         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
9148
9149 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
9150
9151         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
9152         carriage return after a macro name.
9153
9154 2000-02-07  Fred Fish  <fnf@be.com>
9155
9156         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
9157         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
9158
9159 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
9160
9161         * cppfiles.c (deps_output): Count spacers in deps_column.
9162
9163 2000-02-07  Neil Booth  <NeilB@earthling.net>
9164
9165         * cppinit.c (initialize_dependency_output): If there is no
9166         suffix, don't try to look for known suffixes.  Use strrchr.
9167         (cpp_start_read): Remove duplicate initialization.
9168
9169 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
9170
9171         * calls.c (compute_argument_block_size): New argument
9172         preferred_stack_boundary.
9173         (expand_call): update cfun->preferred_stack_boundary, update call of
9174         compute_argument_block_size
9175         (emit_library_call): Increate cfun->preferred_stack_boundary
9176         to PREFERRED_STACK_BOUNDARY
9177         (emit_library_call_value): Likewise.
9178         * explow.c (allocate_dynamic_stack_spave): Likewise.
9179         * function.c (prepare_function_start): Set
9180         cfun->preferred_stack_boundary
9181         * function.h (struct function): Add preferred_stack_boundary field.
9182         * integrate.c (expand_inline_function): Update
9183         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
9184         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
9185         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
9186
9187 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
9188
9189         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
9190         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
9191         cpp_pedwarn, cpp_pedwarn_with_line,
9192         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
9193         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
9194         v_cpp_error_with_line, v_cpp_warning_with_line,
9195         cpp_message_from_errno, cpp_perror_with_name): Delete.
9196
9197         * cpperror.c (cpp_print_containing_files): Take starting
9198         buffer as argument.
9199         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
9200         (v_cpp_message): Now called directly by all entry points.
9201         Remove -1 case.
9202         (cpp_pfatal_with_name, cpp_message): Delete.
9203         (cpp_notice_from_errno, cpp_ice): New functions.
9204         (cpp_notice): Is now for reporting error conditions, just
9205         without an associated file.
9206         (cpp_error, cpp_error_with_line): Don't do anything if
9207         opts->inhibit_errors is on.
9208         (cpp_pedwarn_with_file_and_line): Take column argument also.
9209
9210         * cpplib.h: Update prototypes of exported functions.
9211         (struct cpp_options): Add inhibit_errors.
9212
9213         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
9214         non-error messages.  Include intl.h.
9215
9216         * cppinit.c, cppmain.c: Likewise.  Also, use
9217         cpp_notice_from_errno instead of cpp_perror_with_name or
9218         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
9219
9220         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
9221         report internal errors.
9222
9223         * cpplib.c (do_define): Switch bcopy to memcpy.
9224         Give cpp_pedwarn_with_file_and_line a dummy column argument.
9225
9226         * cpplib.c (copy_rest_of_line): Revert previous change: don't
9227         bail out early if we hit a line comment.
9228
9229 2000-02-06  Richard Henderson  <rth@cygnus.com>
9230
9231         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
9232         * basic-block.h: Declare them.
9233         * emit-rtl.h (active_insn_p): New.
9234         (next_active_insn, prev_active_insn): Use it.
9235         * rtl.h: Declare it.
9236         * function.c (emit_return_into_block): New.
9237         (thread_prologue_and_epilogue_insns): Insert return insns instead
9238         of epilogues when possible.
9239         * jump.c (jump_optimize_1): Remove code to insert a return insn
9240         on the fallthru to the exit block.
9241
9242         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
9243         and for non-empty stack frames.
9244         * i386.md (return): Expand to return-pop as needed.
9245
9246 2000-02-06  Richard Henderson  <rth@cygnus.com>
9247
9248         * simplify-rtx.c (simplify_relational_operation): Canonicalize
9249         constant to op1 for testing.
9250
9251 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9252
9253         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
9254         (fixuns_truncqfqi2): Use it.
9255
9256 2000-02-06  Richard Henderson  <rth@cygnus.com>
9257
9258         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
9259         as a TYPE_LEA insn.
9260
9261         * i386.md (widening and peepholes): Mask the constant instead of
9262         using gen_lowpart.
9263
9264 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
9265
9266         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
9267         input pointer before possibly branching off to the backslash
9268         code.
9269         * cpphash.c (macroexpand): Correctly delete \r escapes when
9270         stringifying parameters.
9271         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
9272         if we can; bail out early if we hit a line comment.
9273         (handle_directive): Treat '# 123' in an .S file just like
9274         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
9275         Return 1 for '# not_a_directive'.
9276         (get_directive_token): Pop macro buffers here, so that
9277         cpp_get_token can't sneakily move past a newline.
9278         Add sanity checks.
9279         (cpp_get_token): goto randomchar if handle_directive returns 0.
9280
9281         * cppalloc.c: Update copyright.
9282         * cpplib.c: Merge all the static function prototypes into one
9283         block.
9284         * cpplib.h: Remove #if 0 block.
9285
9286         * cpperror.c: Remove #ifdef EMACS block.
9287         * cppmain.c: Likewise.
9288         * cpphash.c: Remove #if 0 blocks.
9289         * cppinit.c: Remove #if 0 blocks, and the -lint option.
9290         * cpplib.c: Remove #if 0 blocks and code referencing
9291         pcp_inside_if or for_lint.  Remove duplicate error message.
9292         Fix error messages for #else after #else or #elif.  Reformat.
9293         Remove archaic TODO list.
9294         * cpplib.h: Remove pcp_inside_if and for_lint flags.
9295
9296 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
9297
9298         * i386/osf1elf.h: Add missing backslash to multiline string.
9299
9300 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9301
9302         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
9303
9304 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9305
9306         * Makefile.in (c-common.o): Depend on $(EXPR_H).
9307
9308         * c-common.c: Include expr.h.
9309
9310         * c-pragma.c (mark_align_stack): Add prototype.
9311
9312         * caller-save.c (add_stored_regs): Likewise.
9313
9314         * combine.c (record_promoted_value): Likewise.
9315
9316         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
9317         Likewise.
9318
9319         * cppinit.c (new_pending_define): Likewise.
9320
9321         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
9322
9323         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
9324         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
9325         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
9326         class_scope_p): Likewise.
9327
9328         * dwarf2out.h (dwarf2out_set_demangle_name_func,
9329         dwarf2out_add_library_unit_info): Likewise.
9330
9331         * ggc.h (ggc_page_print_statistics): Likewise.
9332
9333         * haifa-sched.c (propagate_deps): Likewise.
9334
9335         * reg-stack.c (next_flags_user, record_label_references): Likewise.
9336
9337         * rtl.h (set_stack_check_libfunc): Likewise.
9338
9339         * toplev.h (set_fatal_function): Likewise.
9340
9341         * toplev.c (set_fatal_function): Delete prototype.
9342
9343         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
9344
9345 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
9346
9347         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
9348         (FUNC_END): Likewise.
9349
9350 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9351
9352         * caller-save.c: Include tm_p.h.
9353
9354 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9355
9356         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
9357
9358 2000-02-04  Neil Booth  <NeilB@earthling.net>
9359
9360         * cccp.c (main): Check 'dir' for a NULL pointer before passing
9361         it to strcmp.
9362
9363 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
9364
9365         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
9366         * genflags.c: Use the max_operand_1 logic from genemit.c to
9367         calculate how many arguments gen_insn prototypes have.  Remove
9368         NO_MD_PROTOTYPES ifdefs from the generated file.
9369         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
9370         file.  Cast gen_insn initializers to insn_gen_fn.
9371         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
9372         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
9373
9374 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9375
9376         * fixinc/Makefile.in (HDR): Add machname.h.
9377         (clean): Likewise.
9378
9379 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9380
9381         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
9382         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
9383         (c4x_cpu_version): Ditto.
9384         * config/c4x/c4x-protos.h: ... here.
9385
9386 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
9387
9388         * dwarf2out.c (add_abstract_origin_attribute): Don't call
9389         gen_abstract_function on our context if we're a nested function.
9390
9391 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9392
9393         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
9394         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
9395
9396 2000-02-04  Bruce Korb  <bkorb@gnu.org>
9397
9398         * fixinc/genfixes(machname.h):
9399         Move the functionality from gen-machine.h into this file.
9400         UNdef MN_NAME_PAT if there are no names to change.
9401         Also, be a little kinder when AutoGen is not present.
9402
9403         * fixinc/Makefile.in(machname.h):
9404         Change the generation rule to use genfixes.
9405
9406         * fixinc/fixfixes.c(machine_name):
9407         machine_name_fix's functionality now dependent upon whether
9408         MN_NAME_PAT is defined.
9409
9410         * fixinc/fixtests.c(machine_name):
9411         ditto.
9412
9413         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
9414         of MN_NAME_PAT.
9415
9416         * fixinc/fixlib.h(mn_get_regexps):
9417         ditto
9418
9419         * fixinc/gen-machine.h: DELETED
9420
9421 2000-02-04  Jan Hubicka  <jh@suse.cz>
9422             Richard Henderson  <rth@cygnus.com>
9423
9424         * i386.c (SAVE_REGS_FIRST): Remove.
9425         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
9426         (ix86_compute_frame_size): Likewise.
9427         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
9428         (ix86_emit_restore_regs): Remove.
9429         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
9430         when a frame pointer is in use.
9431         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
9432         instead of pop to restore a register when profitable; emit leave
9433         when profitable.
9434         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
9435         as a TYPE_LEA insn.
9436         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
9437         * i386.md (prologue_allocate_stack): Remove.
9438         (epilogue_deallocate_stack): Remove.
9439         (pro_epilogue_adjust_stack): New.
9440
9441 2000-02-04  Richard Henderson  <rth@cygnus.com>
9442
9443         * function.c (diddle_return_value): Rework to use a callback function.
9444         Use current_function_return_rtx if it's been set up.
9445         (do_clobber_return_reg, clobber_return_register): New.
9446         (do_use_return_reg, use_return_register): New.
9447         (expand_function_end): Use them.
9448         * stmt.c (expand_null_return): Likewise.
9449         * function.h: Declare them.
9450         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
9451         (mark_reg): Change arguments as appropriate for callback.
9452         * integrate.c (expand_inline_function): Revert 19 Jan change.
9453
9454 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9455
9456         * tm.texi (Values in Registers): Fix typo: "fo" "for".
9457         (Misc): Say the scheduler, not the Haifa scheduler.
9458
9459 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
9460
9461         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
9462         when in_mem is set.  Update all callers.
9463
9464 2000-02-04  Richard Henderson  <rth@cygnus.com>
9465
9466         * i386/openbsd.h (INT_ASM_OP): Define.
9467
9468 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9469
9470         * tm.texi: Fix various typos.
9471
9472 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
9473
9474         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
9475         (MD_STARTFILE_PREFIX_1): New macro.
9476
9477 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
9478
9479         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
9480         destination when needed.
9481         (strmovsi, strsetsi): New expander.
9482         (strmovsi_1, strsetsi_1): New pattern.
9483         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
9484         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
9485         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
9486         * invoke.texi (align-stringops, inline-all-stringops): Document.
9487
9488 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
9489
9490         * i386/netbsd.h (INT_ASM_OP): Define.
9491
9492 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
9493
9494         * cpplib.h (cpp_reader): Add new flag, no_directives.
9495         * cpphash.c (macarg): Set it.
9496         * cpplib.c (handle_directive): If no_directives is on and we
9497         find a directive, issue an error and discard the line.
9498
9499 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
9500
9501         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
9502         FP constants.  Add ! TARGET_FPU check for FP constants.
9503
9504 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
9505
9506         * flow.c (find_basic_blocks): Don't kill label_value_list
9507         here.
9508         (cleanup_cfg): Kill it here.
9509
9510 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9511
9512         * expr.c (store_field): Ensure ALIGN is no stricter than the
9513         alignment of EXP.
9514
9515 2000-02-02  Richard Henderson  <rth@cygnus.com>
9516
9517         * jump.c (delete_insn): Partially revert 19 Jan change;
9518         don't convert unused code labels to notes at -O0.
9519
9520 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9521
9522         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
9523         split_all_insns to recreate REG_LABEL notes for flow2 pass.
9524
9525 2000-02-01  Richard Henderson  <rth@cygnus.com>
9526
9527         * i386.c (general_no_elim_operand): New.
9528         (nonmemory_no_elim_operand): New.
9529         (ix86_expand_move): Copy eliminable operands before a push.
9530         * i386-protos.h: Declare new functions.
9531         * i386.h (CAN_ELIMINATE): Simplify.
9532         (PREDICATE_CODES): Update.
9533         * i386.md (push insns): Don't allow eliminable register operands.
9534
9535 2000-02-01  Richard Henderson  <rth@cygnus.com>
9536
9537         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
9538         replace BLKmode with DECL_RTL's mode.
9539
9540 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
9541
9542         * frame.c (find_fde): Convert for loop to do-while so compiler
9543         sees it's always executed at least once.
9544         * libgcc2.c (BBINBUFSIZE): Kill.
9545         (__bb_init_prg): Use fgets.
9546         (__bb_exit_trace_func): Don't paste strings.
9547         * unroll.c (unroll_loop): Initialize unroll_type, not
9548         unroll_number, and tweak logic to match.
9549
9550         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
9551         all failure paths.
9552         (ix86_flags_dependant): Likewise.  Disentangle control flow.
9553         (ix86_sched_reorder): Break guts out to
9554         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
9555         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
9556         any possible use.
9557
9558         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
9559         use string concatenation.  Don't save and restore esi.
9560
9561         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
9562         (machname.h): Remove script to separate file.  Use two-step
9563         sequence so target is not created if script fails.
9564         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
9565         identifiers are defined.
9566         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
9567         an empty string, machine_name doesn't need to do anything at
9568         all.
9569         (is_cxx_header): Add more cases to regexp.
9570         * fixinc/fixlib.h: Update prototype.
9571         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
9572         mn_get_regexps.
9573         * fixinc/fixincl.c: Define NO_BOGOSITY.
9574
9575         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
9576         (hp_sysfile): Add missing comma.
9577         (math_exception): Put the wrapper ifdefs at the beginning and
9578         the end of the file.
9579         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
9580
9581 2000-02-01  Richard Henderson  <rth@cygnus.com>
9582
9583         * sparc.c (fp_zero_operand): Turn into a normal predicate.
9584         Use CONST0_RTX.  Update all callers.
9585         * sparc.h, sparc-protos.h: Update accordingly.
9586         * sparc.md (fp mov insns): Use fp_zero_operand directly
9587         where applicable.
9588
9589 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9590
9591         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
9592         example.
9593
9594 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9595
9596         * Makefile.in (specs.ready): New target.
9597         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
9598
9599 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9600
9601         * fixinc.irix: Use unique filenames for writing into /tmp,
9602         * fixinc.ptx: Likewise.
9603         * fixinc.sco: Likewise.
9604         * fixinc.svr4: Likewise.
9605         * fixinc.winnt: Likewise.
9606
9607 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9608
9609         * tsystem.h: New file.
9610
9611         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
9612         s-crtS): Depend on tsystem.h.
9613
9614         * crtstuff.c: Include tsystem.h.
9615         * frame.c: Likewise.
9616         * libgcc2.c: Likewise.
9617
9618 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
9619
9620         * builtins.c (expand_builtin_memset): Expand for variable sized
9621         lengths too.
9622
9623 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au>
9624
9625         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
9626         on ABI.
9627
9628 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
9629
9630         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
9631
9632         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
9633
9634 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
9635
9636         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
9637         case 3->2 combining (combining with splitting) in which 2 is CC0
9638         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
9639         checked at the begining of the function with the aid of calling
9640         function 'can_combine_p'.
9641
9642 2000-01-31  Dave Brolley  <brolley@redhat.com>
9643
9644         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
9645
9646 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
9647
9648         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
9649         new label.
9650
9651 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9652
9653         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
9654
9655         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
9656         PROTO -> PARAMS.
9657
9658 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
9659
9660         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
9661         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
9662         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
9663         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
9664         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
9665         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
9666         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
9667         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
9668         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
9669         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
9670
9671         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
9672         Add %(cpp_cpu) to CPP_SPEC.
9673
9674         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
9675         Add %(cc1_cpu) to CC1_SPEC.
9676
9677 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
9678
9679         * c-decl.c (c_decode_option): Accept optional numeric argument to
9680         -Wformat and set warn_format.
9681         * c-common.c: Don't emit warning about non-constant printf format
9682         string unless warn_format > 1.
9683
9684 2000-01-30  Richard Henderson  <rth@cygnus.com>
9685
9686         * alpha.md (return_internal): Allow after reload only.
9687
9688 2000-01-30  Richard Henderson  <rth@cygnus.com>
9689
9690         * i386.c (ix86_compute_frame_size): Omit padding1 if the
9691         local frame size is zero.
9692
9693 2000-01-30  Richard Henderson  <rth@cygnus.com>
9694
9695         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
9696         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
9697         * alpha.md (return): Turn into an expander.
9698         (return_internal): Don't use $26.
9699         (epilogue): Emit the return insn.
9700
9701 2000-01-30  Richard Henderson  <rth@cygnus.com>
9702
9703         * alpha.md (negtf2, abstf2): Fix word order thinko.
9704         (extendsftf2): New.
9705         (trunctfsf2): Avoid intermediate rounding errors.
9706
9707 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
9708
9709         * cppfiles.c (find_position): Drop 'colp' argument, return the
9710         new line base.
9711         (read_and_prescan): Adjust to match.  Don't ever manipulate
9712         line or line_base except via find_position.
9713
9714 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
9715
9716         * c-parse.in: Apply Ulrich's changes from c-parse.y.
9717         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
9718         Regenerate.
9719
9720 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
9721
9722         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
9723         just print "<command line>".  If 'filename' is null or an
9724         empty string, print "<stdin>" for the filename.
9725         * cpplib.c (do_define): Don't print the 'location of the
9726         previous definition' message if we're still parsing the
9727         command line.
9728         (cpp_pedwarn_with_file_and_line): Always call
9729         cpp_file_line_for_message.
9730
9731 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
9732
9733         * flow.c (mark_regs_live_at_end): Fix typo.
9734
9735 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
9736
9737         * c-common.c: Adjust variable names, comments, help strings to c99.
9738         * c-lex.c: Likewise.
9739         * c-parse.y: Likewise.
9740         * c-tree.h: Likewise.
9741         * cccp.c: Likewise.
9742         * cpplib.h: Likewise.
9743         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
9744         * cppinit.c: Likewise.
9745
9746 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9747
9748         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
9749         * c4x.c: Define the optab rtx values.
9750         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
9751         (c4x_emit_libcall): Use new optab rtx values.
9752         (c4x_emit_libcall3): Likewise.
9753         (c4x_emit_libcall_mulhi): Likewise.
9754         * c4x-protos.h: Add prototypes for optab rtx values and change
9755         prototypes for above c4x_emit_libcall functions.
9756
9757 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9758
9759         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
9760         syntax is used.
9761         (c4x_function_prologue): Use regnames intead of float_reg_names when
9762         TI syntax is used.
9763         (c4x_function_epilogue): Likewise.
9764         (c4x_print_operand): Likewise.
9765         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
9766         * c4x.md (set_high): Disable for TARGET_TI.
9767
9768 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9769
9770         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
9771         of framepointer + constant to ADDR_REGS class.
9772         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
9773         * c4x.c (std_or_reg_operand): New function.
9774         * c4x-protos.h (std_or_reg_operand): Prototype it.
9775
9776 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9777
9778         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
9779                 object names as libgcc2.c.
9780         * libgcc.S: Use newly defined names.
9781
9782 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
9783         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
9784         function.
9785         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
9786         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
9787         (FLOW_LOOP_LAST_BLOCK): Likewise.
9788
9789 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9790
9791         * basic-block.h (struct loop): New fields 'first' and 'last'.
9792         * flow.c (flow_loops_find): Compute loop->first and loop->last.
9793         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
9794         and loop->last to check for NOTE_INSN_LOOP_END.
9795
9796 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
9797
9798         * predict.c (estimate_probability): Use the new FIRST and LAST fields
9799         of the loop descriptor rather than HEADER and LATCH. Also added
9800         missing break statements as well making some coding style modifications
9801         as suggested by Michael Hayes.
9802
9803 2000-01-28  Richard Henderson  <rth@cygnus.com>
9804
9805         * flow.c (find_basic_blocks): Remove do_cleanup argument.
9806         Break out that code ...
9807         (cleanup_cfg): ... here.
9808         (commit_one_edge_insertion): Detect a return instruction being
9809         emitted to an edge.  Emit a barrier following; clear fallthru.
9810         (commit_edge_insertions): Verify CFG consistency.
9811         * function.c (expand_function_start): Kill unused variable.
9812         (expand_function_end): Likewise.
9813         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
9814         to insert the epilogue.
9815
9816         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
9817         (delete_null_pointer_checks): Likewise.
9818         * output.h: Likewise.
9819         * reg-stack.c (reg_to_stack): Likewise.
9820         * toplev.c (rest_of_compilation): Likewise.  Run
9821         thread_prologue_and_epilogue_insns after rebuilding the CFG.
9822
9823 2000-01-28  Richard Henderson  <rth@cygnus.com>
9824
9825         * Makefile.in (flow.o): Revert 24 Jan change.
9826         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
9827         FUNCTION_VALUE result to DECL_RESULT's mode.
9828
9829         * haifa-sched.c (schedule_insns): Don't recompute reg info
9830         after reload.
9831
9832 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
9833
9834         * configure.in: Make --enable-cpplib the default.
9835         * configure: Regenerate.
9836         * gcc.dg/990119-1.c: No longer expected to fail.
9837
9838 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
9839
9840         * jump.c (jump_optimize_1): Delete an optimization that is also done
9841         by merge_blocks in flow.
9842
9843 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9844
9845         * diagnostic.c (build_message_string, output_printf,
9846         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
9847         (build_location_prefix): Fix non-literal format string.
9848
9849 2000-01-27  Richard Henderson  <rth@cygnus.com>
9850
9851         * alpha.md (trunctfsf2): New.
9852
9853 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
9854
9855         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
9856
9857 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
9858
9859         * cppinit.c (cpp_handle_option): Recognize C++ comments under
9860         -std=gnu89.
9861         * cpplib.c (skip_block_comment, skip_line_comment): Split code
9862         out of...
9863         (skip_comment) ... here.  Permit C++ comments in system
9864         headers always.  Warn about C++ comments in user code under
9865         -std=gnu89 -pedantic.
9866         (copy_comment): Use skip_comment.
9867         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
9868         return EOF.
9869         (consider_directive_while_skipping, do_else, do_endif): Call
9870         validate_else unconditionally.
9871         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
9872         text after the conditional in a system header.
9873         * cpplib.h (struct cpp_buffer): Add flag
9874         warned_cplusplus_comments.
9875
9876 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
9877
9878         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
9879         Use unshare_all_rtl_1.
9880         (unshare_all_rtl_again): New function.
9881         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
9882
9883         * function.c (purge_addressof_1): Use unshare_all_rtl_again
9884         rather than resetting the 'used' flags ourself.
9885
9886         * toplev.c (rest_of_compilation): Add current_function_decl
9887         to the unshare_all_rtl call.
9888         * tree.h: Prototype unshare_all_rtl.
9889         * rtl.h: Prototype unshare_all_rtl_again here.
9890
9891 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
9892
9893         * genoutput.c (output_prologue): Include ggc.h in generated
9894         files.
9895         * Makefile.in (insn-output.o): Depends on ggc.h.
9896
9897 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
9898             Hans-Peter Nilsson  <hp@bitrange.com>
9899
9900         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
9901         Remove redundant include of xm-ns32k.h.
9902         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
9903         Remove redundant include of xm-ns32k.h.
9904         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
9905         Remove redundant include of xm-ns32k.h.
9906         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
9907
9908         * ns32k/ns32k.h: Update comment on multiply-add instructions.
9909         (TARGET_SWITCHES): Add documentation strings.
9910         (DWARF_FRAME_REGNUM): Override default definition.
9911         (REG_CLASS_CONTENTS): Add comments.
9912         (SUBSET_P): Format to reduce line length.
9913         (SMALL_REGISTER_CLASSES): Make a run time option.
9914         (GO_IF_NONINDEXED_ADDRESS): Reformat.
9915         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
9916         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
9917         (regclass_map): fix typo in comment.
9918         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
9919         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
9920         (trace, reg_or_mem_operand): Delete, unused function.
9921         (calc_address_cost): Small offsets are cheaper than large ones.
9922         (expand_block_move): Generate more efficient code when bytes is a
9923         known at compile time.
9924         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
9925         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
9926         instead of reg_or_mem_operand.
9927
9928         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
9929         not general_operand.  Similarly use "=rm" or stricter, not "=g".
9930         For input operands, use stricter constraints than "g" if not
9931         general_operand.  Similarly use stricter predicate than
9932         "general_operand" when stricter constraints than "g" are present,
9933         except for matching constraints.
9934         (movstrsi): Use "memory_operand" for operands 0 and 1.
9935         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
9936         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
9937         not reg_or_mem_operand.
9938         (udivmoddisi4): Ditto.
9939         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
9940         Use nonimmediate_operand for operand 3, not register_operand.
9941         (udivmoddiqi4_internal): Use register_operand for operand 1, not
9942         reg_or_mem_operand.
9943
9944 2000-01-27  Fred Fish  <fnf@be.com>
9945
9946         * gthr-posix.h: Fix typo; compatibily -> compatibility.
9947         * gthr-single.h: Likewise.
9948         * gthr-solaris.h: Likewise.
9949         * gthr-vxworks.h: Likewise.
9950         * gthr-win32.h: Likewise.
9951         * gthr.h: Likewise.
9952
9953 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
9954
9955         * cppinit.c: Add " (cpplib)" to end of string printed by
9956         -v / --version.
9957
9958 2000-01-27  Richard Henderson  <rth@cygnus.com>
9959
9960         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
9961         testing for a signed comparison.
9962         (alpha_emit_floatuns): New.
9963         * alpha-protos.h: Declare it.
9964         * alpha.md (floatunsdisf2, floatunsdidf2): New.
9965         (extendsfdf2): Tidy.
9966
9967 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
9968
9969         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
9970         no -g option specifying debugging format, default to -gstabs+.
9971
9972 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
9973
9974         * calls.c (special_function_p): New argument fork_or_exec.
9975         (expand_call): When profile_arc_flag is set and the function
9976         is in the fork_or_exec group, call __bb_fork_func first.
9977         * libgcc2.c, _bb module (__bb_fork_func): New function.
9978         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
9979         output file.
9980         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
9981         * tree.h (special_function_p): Update prototype.
9982
9983 2000-01-26  Richard Henderson  <rth@cygnus.com>
9984
9985         * alpha.c (alpha_split_tfmode_pair): New.
9986         * alpha-protos.h: Declare it.
9987         * alpha.md (abstf2, negtf2): New.
9988         (movtf insn): Add input G constraint.
9989         (movtf splitter): Use alpha_split_tfmode_pair.
9990
9991 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9992
9993         * i386/cygwin.h: PROTO -> PARAMS.
9994
9995 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
9996
9997         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
9998         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
9999         using _Qp_cmp/_Q_cmp and testing the return value.
10000         (print_operand): Call reverse_condition_maybe_unordered if
10001         we are handling CCFPmode or CCFPEmode.
10002         Handle ORDERED, UN* and LTGT comparisons.
10003         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
10004         if not TARGET_HARD_QUAD.
10005         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
10006         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
10007         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
10008         Adjust gen_b* calls so that they reflect return comparison of
10009         sparc_emit_float_lib_cmp.
10010
10011 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10012
10013         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
10014         incoming operands array is large enough for one more operand.
10015         (alpha_emit_xfloating_arith): Likewise.
10016
10017 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
10018
10019         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
10020         file with one line and no trailing newline.
10021         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
10022         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
10023         checking if the match is on the line.
10024         * fixinc/gnu-regex.c: Provide regerror not __regerror.
10025
10026 2000-01-25  Richard Henderson  <rth@cygnus.com>
10027
10028         * sparc.c (output_cbranch): Fix accidental squashing of the
10029         fp branch pre-delay nop.
10030
10031 2000-01-25  Richard Henderson  <rth@cygnus.com>
10032
10033         * tree.def (UNNE_EXPR): Remove.
10034         * c-typeck.c (build_binary_op): Don't handle it.
10035         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
10036
10037         * rtl.def (UNNE): Remove.
10038         (LTGT): Add.
10039         * jump.c (reverse_condition): Update accordingly.
10040         (swap_condition): Likewise.
10041         (comparison_dominates_p): Handle unordered comparisons.
10042         (reverse_condition_maybe_unordered): New.
10043         * rtl.h (reverse_condition_maybe_unordered): Declare.
10044
10045         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
10046         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
10047         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
10048         * sparc.md (bltgt): New.
10049
10050 2000-01-25  Nick Clifton  <nickc@redhat.com>
10051
10052         * emit-rtl.c (emit_insn): Only check machine class insns for
10053         improper emission of a RETURN.
10054
10055 2000-01-25  Richard Henderson  <rth@cygnus.com>
10056
10057         * Makefile.in (flow.o): Depend on $(EXPR_H).
10058         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
10059         duplicate the structure of diddle_return_value for keeping regs live.
10060
10061 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10062
10063         * loop.c (current_loop_info): Delete.
10064         (consec_sets_invariant_p): Add loop argument, update callers.
10065         (get_condition_for_loop): Likewise.
10066         (count_nonfixed_reads, update_giv_derive): Likewise.
10067         (simplify_giv_expr, general_induction_var): Likewise.
10068         (consec_sets_giv, recombine_givs): Likewise.
10069         (move_movables): Delete loop_start and loop_end arguments,
10070         add loop argument, and update callers.
10071         (find_mem_givs, check_final_value): Likewise.
10072         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
10073         (loop_invariant_p): Rename from invariant_p, add loop argument, and
10074         update callers.
10075         (basic_induction_var): Add loop argument, delete loop_level argument,
10076         and update callers.
10077         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
10078         add loop argument, and update callers.
10079         (find_splittable_regs, find_splittable_givs): Likewise.
10080         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
10081         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
10082         (biv_total_increment): Delete loop_start and loop_end arguments;
10083         update callers.
10084         (precondition_loop_p): Delete loop_start and loop_info arguments;
10085         update callers.
10086         * loop.h (get_condition_for_loop): Add loop argument.
10087         (biv_total_increment): Delete loop_start and loop_end arguments.
10088         (precondition_loop_p): Delete loop_start and loop_info arguments;
10089         add loop argument.
10090         (final_biv_value): Delete loop_start and loop_end arguments;
10091         add loop argument.
10092         (final_giv_value, back_branch_in_range_p): Likewise.
10093
10094 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
10095
10096         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
10097
10098 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
10099
10100         * Makefile.in (c-gperf.h) : Change the "See" pointer to
10101         point to the new "generated_files" doc.
10102
10103 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
10104
10105         * config/fp-bit.c (_unord_f2): Fix typo.
10106
10107 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
10108
10109         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
10110         c-typeck.c, objc/objc-act.c: Remove all references to obstack
10111         functions obsoleted by GC, such as push_obstacks_nochange,
10112         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
10113         and code which existed only to decide whether or not to call
10114         them.  Remove now-unused NESTED argument from start_function;
10115         all callers changed.  Do not change behavior based on ggc_p.
10116         The use of the ixp_obstack in c-iterate.c and the util_obstack
10117         in objc/objc-act.c remain; these are not obsoleted by garbage
10118         collection.
10119         * c-tree.h: Update prototype for start_function.
10120
10121         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
10122
10123 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
10124
10125         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
10126         mips16.
10127
10128 2000-01-25  Richard Henderson  <rth@cygnus.com>
10129
10130         * sparc-protos.h (select_cc_mode): Declare.
10131         * sparc.c (select_cc_mode): New.  Handle unordered compares.
10132         (output_cbranch): Always reverse via code change.  Handle
10133         unordered compares.  Factor tests and string updates.
10134         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
10135         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
10136         * sparc.md (bunordered, bordered): New.
10137         (bungt, bunlt, buneq, bunge, bunle): New.
10138
10139 2000-01-25  Richard Henderson  <rth@cygnus.com>
10140
10141         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
10142         * ggc-common.c (ggc_add_rtx_varray_root): New.
10143         (ggc_mark_rtx_varray): New.
10144         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
10145         functions down below ggc_mark_foo.
10146         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
10147
10148 2000-01-25  Richard Henderson  <rth@cygnus.com>
10149
10150         * alpha.c (secondary_reload_class): Don't allocate a secondary
10151         for integral mode memories into FLOAT_REGS.  Rearrange the more
10152         complicated memory expression inward.
10153
10154 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
10155
10156         * inclhack.def: Fixes to play nicer with FreeBSD, and
10157         corrections to comments.
10158         (cxx_unready): Add select expression.
10159         (irix_sockaddr): Add bypass expression.
10160         (machine_ansi_h_va_list): New fix.
10161         (stdio_va_list): No need to edit _BSD_VA_LIST_.
10162         Split out addition of "#include <stdarg.h>" to...
10163         (stdio_stdarg_h): ... here.
10164         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
10165         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
10166         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
10167         size_t.
10168         (ultrix_ifdef): Tighten up select expression.
10169
10170         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
10171         re_ct and max_mach to avoid use of shell.  Make printed names
10172         match names in inclhack.def.  Use static copyright date.
10173         Don't count c_test and test expressions as requiring regex_t
10174         slots.  Add some commentary.
10175         * inclhack.tpl: Do not include the 'This script contains N
10176         fixup scripts' line if PROGRAM is defined.  Use static
10177         copyright date.
10178
10179 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
10180
10181         * dwarf2out.c: include "varray.h", not dyn-string.h.
10182         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
10183         (addr_const_to_string, addr_to_string): Lose.
10184         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
10185         (struct dw_val_struct): val_addr is now an rtx.
10186         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
10187         (used_rtx_varray): New varray.
10188         (dwarf2out_init): Initialize it.
10189         (save_rtx): New fn.
10190         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
10191         addr_to_string.
10192         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
10193         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
10194         * Makefile.in (dwarf2out.o): Update dependencies.
10195
10196 2000-01-24  Richard Henderson  <rth@cygnus.com>
10197
10198         * i386.c (i386_dwarf_output_addr_const): New.
10199         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
10200
10201         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
10202         if defined.
10203         * dwarfout.c (output_mem_loc_descriptor): Likewise.
10204         * i386.c (i386_simplify_dwarf_addr): New.
10205         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
10206
10207 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
10208
10209         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
10210         TYPE_STUB_DECL is NULL.
10211
10212 2000-01-24  Richard Henderson  <rth@cygnus.com>
10213
10214         * builtins.c (expand_tree_builtin): Move ...
10215         * c-common.c (expand_tree_builtin): ... here.
10216
10217 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10218
10219         * loop.h (LOOP_INFO): New accessor macro.
10220         * basic-block.h (struct loop): Rename field `info' to `aux'.
10221         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
10222         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
10223         * unroll.c (loop_iterations, unroll_loop): Likewise.
10224
10225 2000-01-24  Christopher Faylor <cgf@cygnus.com>
10226
10227         * config/i386/t-cygwin: Accomodate new winsup directory layout
10228         when searching for include files.
10229
10230 2000-01-24  Richard Henderson  <rth@cygnus.com>
10231
10232         * rtl.def: Add unordered fp comparisions.
10233         * tree.def: Likewise.
10234         * tree.h: Add ISO C 9x unordered fp comparision builtins.
10235
10236         * builtins.c (expand_tree_builtin): New function.
10237         * c-typeck.c (build_function_call): Use it.
10238         (build_binary_op): Support unordered compares.
10239         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
10240
10241         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
10242         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
10243         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
10244         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
10245         * jump.c (reverse_condition): Don't abort for UNLE etc, but
10246         return UNKNOWN.
10247         (swap_condition): Handle unordered compares.
10248         (thread_jumps): Check can_reverse before reversing.
10249         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
10250         reversed for FP.
10251
10252         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
10253         setcc is present before acking for cmp_optab.  Update all callers.
10254         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
10255         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
10256         * expr.c (expand_expr): Likewise.  Support unordered compares.
10257         (do_jump, do_store_flag): Likewise.
10258         * expr.h (enum libfunc_index): Add unordered compares.
10259
10260         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
10261         (DPBIT_FUNCS): Add _unord_df.
10262         * config/fp-bit.c (_unord_f2): New.
10263         * fp-test.c (main): Try unordered compare builtins.
10264
10265         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
10266         * alpha.c (alpha_comparison_operator): Check mode properly.
10267         (alpha_swapped_comparison_operator): Likewise.
10268         (signed_comparison_operator): Likewise.
10269         (alpha_fp_comparison_operator): New.
10270         (alpha_emit_conditional_branch): Handle unordered compares.
10271         * alpha.h (PREDICATE_CODES): Update.
10272         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
10273         (bunordered, bordered): New.
10274
10275 2000-01-24  Richard Henderson  <rth@cygnus.com>
10276
10277         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
10278         * alpha.md (movtf): New expander, insn, and splitter.
10279
10280 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
10281
10282         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
10283         dead registers.
10284
10285 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
10286
10287         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
10288         (FIXED_REGISTERS, CALL_USED_REGISTERS,
10289          REG_ALLOC_ORDER): Add frame pointer
10290         (FRAME_POINTER_REGNUM): Set to 20
10291         (HARD_FRAME_POINTER_REGNUM): New macro.
10292         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
10293         to HARD_FRAME_POINTER.
10294         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
10295         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
10296         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
10297         (HI_REGISTER_NAMES): Add "frame".
10298         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
10299         (debug_reg): Handle FRAME_POINTER_REGNUM.
10300         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
10301         GENERAL_REGS and INDEX_REGS.
10302         * i386.c (SAVED_REGS_FIRST): new macro.
10303         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
10304         (ix86_decompose_address, memory_address_length): Likewise.
10305         (regclass_map): Add frame pointer.
10306         (call_insn_operand): Handle frame_pointer_rtx.
10307         (reg_no_sp_operand): Likewise.
10308         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
10309         (print_operand, legitimize_pic_address): Fix formating.
10310         (ix86_compute_frame_size): Make static, update prototype, new
10311         parameters padding1, padding2, use ix86_nsaved_regs, use
10312         stack_alignment_needed.
10313         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
10314         to HARD_FRAME_POINTER_REGNUM conversions.
10315         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
10316         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
10317         (print_reg): Abort on FRAME_POINTER_REGNUM
10318
10319 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
10320
10321         * i386.h (PREDICATE_CODES): Add aligned_operand.
10322         * i386.c (aligned_operand): New function.
10323         (ix86_aligned_p): Kill.
10324         * i386.md (movhi_1): Emit mov for aligned operands.
10325         (promoting peep2s): Use aligned_operand.
10326
10327 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
10328
10329         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
10330         expression to allow underscores in macro names.
10331         (fix_char_macro_defines): Increment scanning pointer.
10332
10333 2000-01-23  Richard Henderson  <rth@cygnus.com>
10334
10335         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
10336         * alpha/osf5.h: New file.
10337         * configure.in (alpha-*-osf5): Add it to tm_file.
10338
10339         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
10340
10341         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
10342         (alpha_emit_xfloating_cvt, function_arg): Declare.
10343         * alpha.c (alpha_emit_conditional_branch): Call
10344         alpha_emit_xfloating_compare for TFmode compares.
10345         (alpha_lookup_xfloating_lib_func): New.
10346         (alpha_compute_xfloating_mode_arg): New.
10347         (alpha_emit_xfloating_libcall): New.
10348         (alpha_emit_xfloating_arith): New.
10349         (alpha_emit_xfloating_compare): New.
10350         (alpha_emit_xfloating_cvt): New.
10351         (print_operand): Add default abort case.
10352         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
10353         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
10354         (BIGGEST_ALIGNMENT): Increase to 128 bits.
10355         (RETURN_IN_MEMORY): True for TF/TCmode.
10356         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
10357         (FUNCTION_ARG): Move to function_arg.
10358         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
10359         (ASM_OUTPUT_LONG_DOUBLE): New.
10360         (ASM_OUTPUT_DOUBLE): Always output bits.
10361         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
10362         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
10363         (extenddftf2, trunctfdf2): New.
10364
10365 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10366
10367         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
10368         * config/sparc/sol2.h: ... here.
10369
10370 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10371
10372         * basic-block.h (struct loops): New field `levels'.
10373         * flow.c (flow_loops_level_compute): Traverse all outer loops.
10374         (flow_loop_level_compute): Initialise level to 1.
10375         (flow_loops_find): Set loops->levels.
10376         (flow_loops_dump): Print loops->levels.
10377
10378 2000-01-23  Richard Henderson  <rth@cygnus.com>
10379
10380         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
10381         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
10382
10383 2000-01-23  Richard Henderson  <rth@cygnus.com>
10384
10385         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
10386         * i386.h (DBX_REGISTER_NUMBER): Use them.
10387         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
10388         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
10389         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
10390         * i386/sequent.h: Kill incorrect comment.
10391
10392 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
10393
10394         * ggc-page.c (struct page_entry): Make `context_depth' an
10395         `unsigned short'.
10396         (struct globals): Likewise.
10397
10398 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
10399
10400         * loop.c (check_dbra_loop): When checking a loop for
10401         reversability, check the source of any stores to ensure
10402         they don't depend on an initial value.
10403
10404 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10405
10406         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
10407
10408 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
10409
10410         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
10411         'pz_scan' into scope of entire function.  Only affects
10412         compiles with -DDEBUG.
10413
10414 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
10415
10416         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
10417         section naming to that prior to 2000-01-07 patch.
10418         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
10419         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
10420         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
10421         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
10422         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
10423
10424 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
10425
10426         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
10427         constant.
10428
10429 2000-01-21  Jim Wilson  <wilson@cygnus.com>
10430
10431         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
10432         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
10433
10434 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
10435
10436         * cpphash.c (change_newlines): Delete function.
10437         (struct argdata): Delete 'newlines' and 'use_count' fields.
10438         (macroexpand): Remove code referencing those fields.
10439
10440 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10441
10442         * loop.c (loops_info): New variable.
10443         (loop_optimize): Allocate loops->array and free it on exit.
10444         Allocate memory for loops_info and assign to each loop,
10445         replacing alloca.
10446         (find_and_verify_loops): Do not allocate loops->array.
10447
10448 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
10449
10450         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
10451
10452 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
10453
10454         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
10455         pseudos if expanded after first flow.
10456         (movdi_pic_label_ref): Likewise.
10457
10458 2000-01-20  Richard Henderson  <rth@cygnus.com>
10459
10460         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
10461
10462 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
10463
10464         * Makefile.in (fixinc.sh): Depend on specs.
10465         * fixinc/Makefile.in: Add rule to create machname.h.
10466         (fixlib.o): Depend on machname.h.
10467         * fixinc/fixtests.c (machine_name): New test.
10468         * fixinc/fixfixes.c (machine_name): New fix.
10469         * fixinc/fixlib.c (mn_get_regexps): New helper function for
10470         the machine_name test and fix.
10471         * fixinc/fixlib.h: Prototype it.
10472         * fixinc/inclhack.def (machine_name): Use the C test and fix.
10473         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
10474
10475         * gcc.c (do_spec_1) [case P]: Take care not to create
10476         identifiers with three leading or trailing underscores.
10477
10478         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
10479         (fixincl): Don't specify libraries twice on link line.
10480         (gnu-regex.o): Remove special rule.
10481         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
10482         defined by config.h.  Do not define _REGEX_RE_COMP.
10483         (regcomp): Allocate and initialize a fastmap.
10484         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
10485
10486 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
10487
10488         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
10489
10490 2000-01-19  Richard Henderson  <rth@cygnus.com>
10491
10492         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
10493         arguments with BB.  Update all callers.  Tidy line wrapping.
10494
10495 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
10496
10497         * emit-rtl.c (try_split): Return last_insn if we split the
10498         last_insn.
10499
10500 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
10501
10502         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
10503         (ix86_initial_elimination_offset): Declare.
10504         * i386.c (ix86_nsaved_regs): Break out from ...
10505         (ix86_can_use_return_insn_p): ... here.
10506         (ix86_emit_save_regs): Break out from ...
10507         (ix86_expand_prologue): ... here.
10508         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
10509         out from ...
10510         (ix86_expand_epilogue): ... here.
10511         (ix86_compute_frame_size): Make static, add prototype.
10512         (ix86_initial_elimination_offset): Break out from ...
10513         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
10514
10515 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10516
10517         * recog.h (OUT_FCN): Delete.
10518
10519         * vax.md: Call `get_insn_template' instead of OUT_FCN.
10520
10521 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10522
10523         * cppalloc.c: PROTO -> PARAMS.
10524         * cpperror.c: Likewise.
10525         * cppfiles.c: Likewise.
10526         * cpplib.c: Likewise.
10527         * cpplib.h: Likewise.
10528
10529         * config/arm/arm-protos.h: PROTO -> PARAMS.
10530         * config/arm/arm.c: Likewise.
10531         * config/c4x/c4x.c: Likewise.
10532         * config/fr30/fr30-protos.h: Likewise.
10533         * config/nextstep.c: Likewise.
10534         * config/pa/pa.c: Likewise.
10535         * config/pj/pj.c: Likewise.
10536         * config/rs6000/rs6000.c: Likewise.
10537         * config/v850/v850-protos.h: Likewise.
10538         * config/v850/v850.c: Likewise.
10539
10540 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10541
10542         * i370-protos.h: New file.
10543
10544         * i370.c: Include tm_p.h.  Fix compile time warnings.
10545
10546         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
10547         warnings.
10548
10549         * i370.md: Likewise.
10550
10551 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10552
10553         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
10554         (target_isinf, target_isnan, eisnan): Mark parameter with
10555         ATTRIBUTE_UNUSED.
10556         (eiisinf): Wrap in INFINITY.
10557         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
10558         (ibmtoe): Remove unused variable `rndsav'.
10559
10560 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10561
10562         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
10563         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
10564
10565 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
10566
10567         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
10568         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
10569         (fix_char_macro_defines, fix_char_macro_uses): New functions.
10570
10571         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
10572         Recognize Emacs mode markers also.
10573         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
10574         C++ comments in C++ headers.  Call is_cxx_header only if
10575         necessary.
10576
10577         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
10578         bypass for ncurses.
10579         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
10580         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
10581         ... these, which use the new C fixes.
10582         (math_exception): Escape literal '+' in bypass expression.
10583
10584         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
10585         Regenerate.
10586
10587 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
10588
10589         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
10590         inside the MEM.
10591
10592 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10593
10594         * loop.c (loop_optimize): Allocate loop_info structure for each loop
10595         prior to calling scan_loop.
10596
10597 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10598
10599         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
10600         (split_branches, calc_live_regs): Likewise.
10601
10602 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10603
10604         * sh.md (fpu_single, fp_mode): New attributes.
10605
10606 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10607
10608         * loop.c (current_loop_info): Renamed from loop_info_data
10609         and changed to a pointer.
10610         (loop_optimize): Allocate loop_info structure for each loop
10611         and initialise to zero.
10612         (scan_loop): Set current_loop_info.
10613
10614         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
10615         on iteration_var.
10616
10617 2000-01-19  Richard Henderson  <rth@cygnus.com>
10618
10619         * stupid.c: Die die die.
10620         * Makefile.in (OBJS): Remove stupid.o.
10621         (stupid.o): Likewise.
10622
10623         * except.c (emit_eh_context): Don't emit USEs for stupid.
10624         * explow.c (probe_stack_range): Likewise.
10625         * flags.h (obey_regdecls): Remove.
10626         * flow.c (find_basic_blocks): Don't run try_merge_blocks
10627         when not optimizing.
10628         (life_analysis): Limit data collection when not optimizing.
10629         (mark_regs_live_at_end): Always mark the return value registers.
10630         (mark_used_regs): Remove dummy RETURN case.
10631         (print_rtl_with_bb): Don't consult obey_regdecls.
10632         * function.c (use_variable, use_variable_after): Remove.
10633         (assign_parms): Consult optimize not obey_regdecls.
10634         (expand_function_start): Don't emit USEs for stupid.
10635         (expand_function_end): Likewise.
10636         * global.c (build_insn_chain): Export.
10637         * integrate.c (expand_inline_function): Kill return-value USE
10638         handling code.
10639         * jump.c (jump_optimize_1): Do simple jump optimizations and
10640         dead code elimination.
10641         (calculate_can_reach_end): Remove check_deleted argument.
10642         (delete_insn): Patch out insns even when not optimizing.
10643         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
10644         * rtl.h (use_variable, use_variable_after): Remove declarations.
10645         (build_insn_chain): Declare.
10646         * stmt.c (expand_value_return): Don't emit USEs for stupid.
10647         (expand_end_bindings): Likewise.
10648         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
10649         * toplev.c (obey_regdecls): Remove.
10650         (rest_of_compilation): Don't set it.  Kill stupid in favour of
10651         flow1, local-alloc, and reload.
10652         (main): Don't set obey_regdecls.
10653
10654         * config/nextstep.c (handle_pragma): Likewise.
10655
10656         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
10657
10658         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
10659
10660 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10661
10662         * alpha-protos.h: PROTO -> PARAMS.
10663         * alpha.c: Likewise.
10664         * elf.h: Likewise.
10665         * h8300.c: Likewise.
10666         * i386-protos.h: Likewise.
10667         * i386.c: Likewise.
10668         * m32r-protos.h: Likewise.
10669         * m32r.c: Likewise.
10670         * mips.c: Likewise.
10671         * mips.md: Likewise.
10672         * gmon-sol2.c: Likewise.
10673         * sparc.c: Likewise.
10674
10675 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10676
10677         * ns32k-protos.h: New file.
10678
10679         * ns32k.c: Fix compile time warnings.
10680
10681         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
10682         warnings.
10683
10684         * ns32k.md: Likewise.
10685
10686 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10687
10688         * vax-protos.h: New file.
10689
10690         * vax.c: Fix compile time warnings.
10691
10692         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
10693         warnings.
10694
10695         * vax.md: Likewise.
10696
10697         * vaxv.md: Likewise.
10698
10699 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10700
10701         * romp-protos.h: New file.
10702
10703         * romp.c: Fix compile time warnings.
10704
10705         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
10706         warnings.
10707
10708         * romp.md: Likewise.
10709
10710 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10711
10712         * we32k-protos.h: New file.
10713
10714         * we32k.c: Fix compile time warnings.
10715
10716         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
10717         warnings.
10718
10719 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10720
10721         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
10722
10723         * except.c (eh_regs): Likewise.
10724
10725         * final.c (output_operand): Likewise.
10726
10727         * fold-const.c (target_isinf, target_isnan): Likewise.
10728
10729 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10730
10731         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
10732         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
10733
10734         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
10735         when optimize_size.
10736         (clrstrsi): Rewrite.
10737         (strsethi, strsetqi): New expanders.
10738         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
10739         (cmpstrsi): Emit compare insn before cmpstrsi_1
10740         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
10741         (strlensi_1): Likewise.
10742         (cmpstrsi_1): Likewise; do not output compare.
10743         (strlen expander): Do not unroll when optimizing for size.
10744         (*subsi3_carry): Rename to subsi3_carry
10745         (addqi3_cc): New pattern.
10746         * i386.h (processor_costs): Add move_ratio field.
10747         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
10748         * i386.c (*_cost): Set move_ratio.
10749         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
10750         (x86_expand_strlensi_1): Rewrite the main loop.
10751
10752 2000-01-17  Richard Henderson  <rth@cygnus.com>
10753
10754         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
10755         * cse.c (find_comparison_args, fold_rtx): Likewise.
10756         * integrate.c (subst_constants): Likewise.
10757         * loop.c (get_condition): Likewise.
10758
10759         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
10760
10761         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
10762
10763 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10764
10765         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
10766         (RESTORE_WARN_FLAGS): Unpack it.
10767         Change semantic type of extension to ttype.
10768         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
10769         * c-parse.y, c-parse.c, objc/objc-parse.y,
10770         objc/objc-parse.c: Regenerate.
10771
10772 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
10773
10774         * fixinc/fixlib.c: Add copyright notice.
10775         (compile_re): New function.
10776         * fixinc/fixlib.h: Prototype compile_re.
10777
10778         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
10779         Use compile_re to compile regular expressions.
10780
10781         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
10782         where the pattern matched.
10783
10784         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
10785         use 'replace'.
10786         (ultrix_ansi_compat): Likewise.
10787         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
10788         add egrep test.
10789         (interactv_add2, interactv_add3): Delete.
10790         (x11_sprintf): Don't use filename glob.
10791         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
10792         Regenerate.
10793
10794 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10795
10796         * print-rtl.c: PROTO -> PARAMS.
10797         * real.c: Likewise.
10798         * reg-stack.c: Likewise.
10799         * resource.c: Likewise.
10800         * sdbout.h: Likewise.
10801         * simplify-rtx.c: Likewise.
10802         * stor-layout.c: Likewise.
10803         * stupid.c: Likewise.
10804         * xcoffout.c: Likewise.
10805         * xcoffout.h: Likewise.
10806
10807 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10808
10809         * toplev.c: PROTO -> PARAMS.
10810         * toplev.h: Likewise.
10811         * tree.c: Likewise.
10812         * tree.h: Likewise.
10813         * unroll.c: Likewise.
10814         * varasm.c: Likewise.
10815         * varray.c: Likewise.
10816         * varray.h: Likewise.
10817
10818 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10819
10820         * reload.c: PROTO -> PARAMS.
10821         * reload.h: Likewise.
10822         * reload1.c: Likewise.
10823         * reorg.c: Likewise.
10824         * resource.h: Likewise.
10825         * rtl.c: Likewise.
10826         * rtl.h: Likewise.
10827         * rtlanal.c: Likewise.
10828         * sbitmap.h: Likewise.
10829         * sdbout.c: Likewise.
10830         * stack.h: Likewise.
10831         * stmt.c: Likewise.
10832         * system.h: Likewise.
10833
10834 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10835
10836         * machmode.h: PROTO -> PARAMS.
10837         * mbchar.h: Likewise.
10838         * mips-tdump.c: Likewise.
10839         * mips-tfile.c: Likewise.
10840         * optabs.c: Likewise.
10841         * output.h: Likewise.
10842         * prefix.c: Likewise.
10843         * profile.c: Likewise.
10844         * protoize.c: Likewise.
10845         * real.h: Likewise.
10846         * recog.c: Likewise.
10847         * recog.h: Likewise.
10848         * regclass.c: Likewise.
10849         * regmove.c: Likewise.
10850         * regs.h: Likewise.
10851
10852 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10853
10854         * ggc-common.c: PROTO -> PARAMS.
10855         * ggc-page.c: Likewise.
10856         * ggc-simple.c: Likewise.
10857         * ggc.h: Likewise.
10858         * global.c: Likewise.
10859         * graph.c: Likewise.
10860         * gthr-win32.h: Likewise.
10861         * haifa-sched.c: Likewise.
10862         * halfpic.h: Likewise.
10863         * integrate.c: Likewise.
10864         * integrate.h: Likewise.
10865         * jump.c: Likewise.
10866         * lcm.c: Likewise.
10867         * local-alloc.c: Likewise.
10868         * loop.c: Likewise.
10869         * loop.h: Likewise.
10870
10871 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10872
10873         * genattr.c: PROTO -> PARAMS.
10874         * genattrtab.c: Likewise.
10875         * gencheck.c: Likewise.
10876         * gencodes.c: Likewise.
10877         * genconfig.c: Likewise.
10878         * genemit.c: Likewise.
10879         * genextract.c: Likewise.
10880         * genflags.c: Likewise.
10881         * gengenrtl.c: Likewise.
10882         * genopinit.c: Likewise.
10883         * genoutput.c: Likewise.
10884         * genpeep.c: Likewise.
10885         * genrecog.c: Likewise.
10886
10887 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
10888
10889         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
10890
10891 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10892
10893         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
10894         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
10895         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
10896         * configure, config.in: Rebuilt.
10897
10898 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
10899
10900         * config/i386/i386.md: Add peephole to merge successive stack
10901         adjusts.
10902
10903 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
10904
10905         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
10906         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
10907         when walking backwards to find all the parameter loads when
10908         the basic block ends in a call.
10909
10910 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10911
10912         * loop.c (this_loop_info): Delete.
10913         (uid_loop): Add in place of uid_loop_num.  All uses updated.
10914         (loop_number_exit_count): Delete and replace with entry in loop
10915         structure.  All uses updated.
10916         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
10917         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
10918         (loop_outer_loop): Likewise.
10919         (loop_invalid, loop_number_exit_labels): Likewise.
10920         (loop_used_count_register): Delete and replace with entry in
10921         loop_info structure.
10922         (find_and_verify_loops): Add loops argument.
10923         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
10924         loop_end, etc. arguments with loop structure pointer.  All callers
10925         changed.
10926         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
10927         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
10928         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
10929         (insert_bct): Likewise.
10930         (basic_induction_var): New argument level.
10931         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
10932         vtop, and cont.  Add used_count_register.
10933         (uid_loop): Delete declaration.
10934         (loop_number_exit_count): Likewise.
10935         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
10936         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
10937         (loop_outer_loop, loop_used_count_register): Likewise.
10938         (loop_invalid, loop_number_exit_labels): Likewise.
10939         (unroll_loop): Replace loop_start and loop_end arguments
10940         with loop structure pointer.
10941         (loop_precondition_p, loop_iterations): Likewise.
10942         Include basic-block.h.
10943         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
10944         with loop structure pointer.
10945         (loop_precondition_p, loop_iterations): Likewise.
10946         * basic-block.h (struct loop): New entries vtop, cont,
10947         cont_dominator, start, end, top, scan_start, exit_labels,
10948         exit_count.
10949         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
10950
10951 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
10952
10953         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
10954
10955 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
10956
10957         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
10958
10959 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10960
10961         * pdp11-protos.h: New file.
10962
10963         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
10964         time warnings.
10965
10966         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
10967         warnings.
10968
10969         * pdp11.md: Likewise.
10970
10971         * 2bsd.h: Likewise.
10972
10973 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10974
10975         * mn10300-protos.h: New file.
10976
10977         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
10978         time warnings.
10979
10980         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
10981         warnings.
10982
10983         * mn10300.md: Likewise.
10984
10985 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10986
10987         * mn10200-protos.h: New file.
10988
10989         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
10990         time warnings.
10991
10992         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
10993         warnings.
10994
10995         * mn10200.md: Likewise.
10996
10997 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10998
10999         * h8300-protos.h: New file.
11000
11001         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
11002         time warnings.
11003
11004         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
11005         warnings.
11006
11007         * h8300.md: Likewise.
11008
11009 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11010
11011         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
11012         (asm_emit_uninitialised): Likewise.
11013
11014 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
11015
11016         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
11017         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
11018
11019 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11020
11021         * config/mips/mips.c (override_options): Don't turn on extra
11022         alignment for mips16.
11023
11024 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11025
11026         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
11027         eabi, and make sure queued POSTINCREMENT rtl is emitted at
11028         the right point.
11029
11030 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11031
11032         * builtins.c (PAD_VARARGS_DOWN): Define.
11033         (std_expand_builtin_va_arg): Use the above macro.
11034         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
11035         * tm.texi (Register Arguments): Document the above macro.
11036
11037 2000-01-14  Nick Clifton  <nickc@cygnus.com>
11038
11039         * emit-rtl.c (emit_insn): If checking is enabled, make sure
11040         that this function has not been used to emit a jump
11041         instruction.
11042
11043         * jump.c (return_jump_1): Cope with being passed a null rtx.
11044
11045 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11046
11047         * eh-common.h: PROTO -> PARAMS.
11048         * emit-rtl.c: Likewise.
11049         * errors.c: Likewise.
11050         * errors.h: Likewise.
11051         * except.c: Likewise.
11052         * except.h: Likewise.
11053         * explow.c: Likewise.
11054         * expmed.c: Likewise.
11055         * expr.c: Likewise.
11056         * expr.h: Likewise.
11057         * final.c: Likewise.
11058         * fix-header.c: Likewise.
11059         * flow.c: Likewise.
11060         * fold-const.c: Likewise.
11061         * function.c: Likewise.
11062         * function.h: Likewise.
11063         * gcc.c: Likewise.
11064         * gcov-io.h: Likewise.
11065         * gcov.c: Likewise.
11066         * gcse.c: Likewise.
11067
11068 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11069
11070         * sh-protos.h: New file.
11071
11072         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
11073         Add static prototypes.  Fix compile time warnings.
11074
11075         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
11076         * sh.md: Likewise.
11077         * elf.h: Likewise.
11078
11079 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11080
11081         * arc-protos.h: New file.
11082
11083         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
11084         time warnings.
11085
11086         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
11087         warnings.
11088
11089         * arc.md: Likewise.
11090
11091 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11092
11093         * dsp16xx-protos.h: New file.
11094
11095         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
11096         time warnings.
11097
11098         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
11099         warnings.
11100
11101         * dsp16xx.md: Likewise.
11102
11103 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11104
11105         * convex-protos.h: New file.
11106
11107         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
11108         time warnings.
11109
11110         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
11111         warnings.
11112
11113 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11114
11115         * elxsi-protos.h: New file.
11116
11117         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
11118         time warnings.
11119
11120         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
11121         warnings.
11122
11123         * elxsi.md: Likewise.
11124
11125 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
11126
11127         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
11128         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
11129         match the comment for MIPS16.
11130
11131 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
11132
11133         * flow.c (split_edge): Do not call set_block_for_insn if we
11134         do not have a basic_block_for_insn structure.
11135
11136         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
11137         and destination functions are 32bit aligned within the trampoline.
11138         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
11139         (TRAMPOLINE_ALIGNMENT): Define.
11140
11141         * cse.c (cse_insn): When changing (set (pc) (reg)) to
11142         (set (pc) (label_ref)), verify the change creates a valid insn.
11143
11144         * fr30.c (call_operand): Tighten and rework to match rules for
11145         call RTL expressions.
11146         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
11147         * fr30.md (call patterns): Improve constraints.
11148
11149 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
11150
11151         * fr30.c (fr30_expand_epilogue): Revert last change.
11152         Use emit_jump_insn for the return insn.
11153
11154 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
11155                           Stan Cox  <scox@cygnus.com>
11156
11157         * predict.c: New file. Preliminary infrastructure work for static
11158         branch prediction and basic block reordering.
11159         * basic-block.h: Add prototype for estimate_probability.
11160         * Makefile.in: Add rules for predict.o.
11161
11162 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
11163
11164         * fixincludes (va_list): Use __not_va_list__ for the dummy.
11165         * fixinc/*: Likewise.
11166
11167 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11168
11169         * cccp.c: PROTO -> PARAMS.
11170         * cexp.y: Likewise.
11171         * collect2.c: Likewise.
11172         * combine.c: Likewise.
11173         * convert.h: Likewise.
11174         * cse.c: Likewise.
11175         * dbxout.c: Likewise.
11176         * dbxout.h: Likewise.
11177         * diagnostic.c: Likewise.
11178         * doprint.c: Likewise.
11179         * dwarf2out.c: Likewise.
11180         * dwarf2out.h: Likewise.
11181         * dwarfout.c: Likewise.
11182         * dwarfout.h: Likewise.
11183         * dyn-string.h: Likewise.
11184
11185 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11186
11187         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
11188         macro conditionals guarding use.
11189
11190         * dwarf2out.c: Include "tm_p.h".
11191
11192         * function.c (locate_and_pad_parm): Mark parameter with
11193         ATTRIBUTE_UNUSED.
11194         (expand_function_end): Likewise for variable `context'.
11195
11196         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
11197
11198 2000-01-13  Nick Clifton  <nickc@cygnus.com>
11199
11200         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
11201         register to prevent compile time warnings.
11202
11203 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
11204
11205         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
11206         to avoid -Wtraditional warning.
11207
11208 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11209
11210         * 1750a-protos.h: New file.
11211
11212         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
11213         time warnings.
11214
11215         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
11216         warnings.
11217
11218         * 1750a.md: Likewise.
11219
11220 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11221
11222         * a29k-protos.h: New file.
11223
11224         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
11225         time warnings.
11226
11227         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
11228         warnings.
11229
11230 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11231
11232         * clipper-protos.h: New file.
11233
11234         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
11235         time warnings.
11236
11237         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
11238         warnings.
11239
11240 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
11241
11242         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
11243
11244 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
11245
11246         * configure.in (--enable-new-gxx-abi): New option.
11247         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
11248         * Makefile.in (GXX_ABI_FLAG): New variable.
11249         * configure: Regenerate.
11250
11251 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11252
11253         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
11254         * tm.texi (FORCE_STRUCT_BLK): Document.
11255         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
11256
11257 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
11258
11259         * config/ns32k/ns32k.md: Revert Jan 9 change.
11260
11261         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
11262         to a mode-test, if the predicate is address_operand.
11263
11264 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
11265
11266         * combine.c (if_then_else_cond): Be careful about what kinds
11267         of RTL expressions are passed to operand_subword.
11268
11269         * flow.c (split_edge): If we have to insert a new jump, make
11270         sure to associate it with a basic block.
11271
11272         * flow.c (commit_one_edge_insertion): A block with one successor
11273         can end in a JUMP_INSN that is not a simplejump.
11274
11275 2000-01-12  Robert Lipe  <robertl@sco.com>
11276
11277         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
11278         (BUILD_VA_LIST_TYPE): Define.
11279         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
11280         with crtstuff.c.
11281
11282 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
11283
11284         * cccp.c (do_pragma): Add cast to (char *).
11285
11286 2000-01-12  Richard Henderson  <rth@cygnus.com>
11287             Fred Fish  <fnf@be.com>
11288             Jason Merrill  <jason@cygnus.com>
11289
11290         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
11291         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
11292         * i386/beos-elf.h, i386/beos-pe.h: New files.
11293
11294         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
11295         * cross-make (SYSTEM_HEADER_DIR): Define using
11296         CROSS_SYSTEM_HEADER_DIR.
11297
11298         * gcc.c (LIBRARY_PATH_ENV): Provide default.
11299         (process_command): Use it.
11300         (main): Likewise.  Kill trailing = from env vars.
11301         (build_search_list): Put it back.
11302         * collect2.c (main): Use LIBRARY_PATH_ENV.
11303
11304         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
11305         * toplev.c: Use NEED_DECLARATION_ENVIRON.
11306
11307         * tm.texi (Frame Layout): Document SMALL_STACK.
11308         * c-common.c (c_common_nodes_and_builtins): Check it.
11309
11310         * system.h: Undef alloca after including glibc's <stdlib.h>,
11311         if USE_C_ALLOCA is defined.
11312
11313         * gcc.c (set_input): New fn.
11314         (main): After all input files are compiled, reset the input file
11315         info to the first.
11316
11317         * aclocal.m4 (rindex, index): If already defined, don't attempt
11318         to redefine.
11319
11320         * ginclude/varargs.h: (__va_list__): Define ifndef.
11321         * ginclude/stdarg.h: Likewise.
11322
11323         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
11324         instead of unsigned char.
11325
11326         * hash.h (true, false, boolean): Undef before enum.
11327
11328         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
11329         proper type of "HOST_WIDE_INT *", rather than their natural type of
11330         "unsigned HOST_WIDE_INT *".
11331
11332 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11333
11334         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
11335
11336         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
11337
11338         * regclass.c (choose_hard_reg_mode): Likewise.
11339
11340         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
11341
11342         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
11343
11344 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11345
11346         * c-common.c: PROTO -> PARAMS.
11347         * c-common.h: Likewise.
11348         * c-decl.c: Likewise.
11349         * c-iterate.c: Likewise.
11350         * c-lang.c: Likewise.
11351         * c-lex.c: Likewise.
11352         * c-lex.h: Likewise.
11353         * c-parse.in: Likewise.
11354         * c-pragma.c: Likewise.
11355         * c-pragma.h: Likewise.
11356         * c-tree.h: Likewise.
11357         * c-typeck.c: Likewise.
11358         * objc/objc-act.c: Likewise.
11359         * objc/objc-act.h: Likewise.
11360
11361 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11362
11363         * m88k-protos.h: New file.
11364
11365         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
11366         time warnings.
11367
11368         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
11369
11370         * m88k.md: Likewise.
11371
11372         * tekXD88.h: Likewise.
11373
11374 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11375
11376         * m68k-protos.h: New file.
11377
11378         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
11379         time warnings.
11380
11381         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
11382
11383         * mot3300.h: Likewise.
11384
11385 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
11386
11387         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
11388         extract_bitlst.
11389         (extract_bitlist): Declare bitlen.
11390
11391 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
11392
11393         * cccp.c: Accept and ignore -lang-fortran.
11394
11395         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
11396         qualifiers don't match at any level of pointerness.
11397
11398 2000-01-12  Robert Lipe  <robertl@sco.com>
11399
11400         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
11401
11402 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
11403
11404         * reload1.c (reload_reg_unavailable): New static variable.
11405         (reload_reg_free_p): Test it.
11406         (reload_reg_free_for_value_p): Test it instead of
11407         reload_reg_used.
11408         (choose_reload_regs_init): Compute it.
11409
11410 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
11411
11412         * reorg.c (fill_slots_from_thread): Check modified_in_p
11413         before replacing.
11414
11415 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
11416
11417         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
11418         these nodes even if INTERNALS is not set.
11419
11420 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
11421
11422         * gcse.c (delete_null_pointer_checks_1): Cope when
11423         get_condition cannot determine the condition.
11424
11425 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
11426
11427         * toplev.h (set_message_length): Declare.
11428
11429         * diagnostic.c (obstack_chunk_alloc): Define macro.
11430         (obstack_chunk_free): Likewise.
11431         (struct output_buffer): New data structure.
11432         (vmessage): Remove.
11433         (output_maximum_width): New variable.
11434         (doing_line_wrapping, set_message_length, init_output_buffer,
11435         get_output_prefix, output_space_left, emit_output_prefix,
11436         output_newline, output_append, output_puts, dump_output,
11437         vbuild_message_string, build_message_string, build_location_prefix,
11438         voutput_notice, output_printf, line_wrapper_printf,
11439         vline_wrapper_message_with_location):  New functions. Implement
11440         automatic line wrapping.
11441         (v_message_with_decl): Make it handle automatic line wrapping.
11442         (v_error_with_file_and_line): Likewise.
11443         (v_warning_with_file_and_line): Likewise.
11444         (announce_function): Likewise.
11445         (default_print_error_function): Likewise.
11446
11447 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
11448
11449         * cpplib.h (struct cpp_options): Change lang_asm to char.
11450         Add lang_fortran.
11451         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
11452         done in cpp_handle_option now.
11453         (initialize_builtins): Take out special case code used only by
11454         __STDC_VERSION__.
11455         (cpp_handle_option): Turn off trigraphs and trigraph warnings
11456         if -traditional.  Recognize -lang-fortran and set
11457         lang_fortran, also turn off cplusplus_comments.
11458         (print_help): Document -lang-fortran.
11459         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
11460         lang_asm. Ignore all directives other than `# 123 "file"' if
11461         CPP_PREPROCESSED.
11462         (cpp_get_token): If -traditional, don't recognize directives
11463         unless the # is in column 1.
11464         (parse_string): If lang_fortran or lang_asm, silently
11465         terminate strings ('' or "") at end of line.
11466         Remove unnecessary braces.
11467
11468 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11469             Richard Henderson  <rth@cygnus.com>
11470
11471         * resource.c (mark_referenced_resources): Mark a set strict_low_part
11472         as used.
11473         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
11474         strict_low_part when possible.
11475
11476 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11477
11478         * alias.c: PROTO -> PARAMS.
11479         * basic-block.h: Likewise.
11480         * bitmap.c: Likewise.
11481         * bitmap.h: Likewise.
11482         * builtins.c: Likewise.
11483         * c-aux-info.c: Likewise.
11484         * caller-save.c: Likewise.
11485         * calls.c: Likewise.
11486
11487 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11488
11489         * Makefile.in (toplev.o): Depend on regs.h.
11490
11491         * output.h (tdesc_section): Prototype.
11492
11493         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
11494
11495         * sdbout.c: Include "tm_p.h".
11496
11497         * toplev.c: Include "regs.h".
11498
11499 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
11500
11501         * unroll.c (unroll_loop): Add EH support.
11502
11503 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11504
11505         * pa-protos.h: New file.
11506
11507         * pa.c: Include recog.h and tm_p.h.
11508         (compute_zdepwi_operands, compute_movstrsi_length,
11509         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
11510         find_addr_reg, import_milli): Add static prototypes.
11511         (pa_cpu_string, pa_arch_string): Constify a char*.
11512         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
11513         (read_only_operand): Add argument `mode'.
11514         (singlemove_string, output_move_double, output_fp_move_double,
11515         output_block_move, output_and, output_ior, output_ascii,
11516         remove_useless_addtr_insns, milli_names, output_mul_insn,
11517         output_div_insn, output_mod_insn, output_arg_descriptor,
11518         output_cbranch, output_bb, output_bvb, output_dbra, ,
11519         output_millicode_call, output_call, hppa_encode_label,
11520         output_parallel_movb, output_parallel_addb): Constify a char*.
11521         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
11522         (output_parallel_addb): Remove extra arg to `constrain_operands'
11523
11524         * pa.h:  Move all prototypes to pa-protos.h.
11525         (pa_cpu_string, pa_arch_string): Constify a char*.
11526         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
11527
11528         * pa.md: Call `function_label_operand' with mode argument.
11529         Likewise for `read_only_operand'.
11530         Fix nesting of parens in call to `symbolic_operand'.
11531
11532 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11533
11534         * i860-protos.h: New file.
11535
11536         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
11537         time warnings.
11538
11539         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
11540
11541         * i860.md: Likewise.
11542
11543 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
11544
11545         * i386.md (movstrsi expander): Rewrite.
11546         (movstrsi_1 insn): Deleted.
11547         (strmovhi, strmovqi expander): New expanders.
11548         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
11549         * i386.c (x86_single_stringop): New global variable.
11550         * i386.h (x86_single_stringop): Declare.
11551         (TARGET_SINGLE_STRINGOP): New macro.
11552
11553 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
11554
11555         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
11556         integer vararg POSTINCREMENT before the destination of the jump
11557         for the hard fp case.
11558         (function_arg_pass_by_reference): Pass a copy of CUM to
11559         FUNCTION_ARG.
11560
11561         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
11562         for CONSTANT_ADDRESS_P above while loop for subreg.
11563
11564 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
11565
11566         * flow.c (propagate_block): When a prologue/epilogue insn
11567         is marked dead, unconditionally clear libcall_is_dead and
11568         insn_is_dead, and only dump rtl if warnings aren't being
11569         suppressed.
11570
11571 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
11572
11573         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
11574         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
11575         (FIXED_REGISTERS): Set dirflag as fixed.
11576         (CALL_USED_REGISTERS): Set dirflag as used.
11577         (REG_ALLOC_ORDER): Set dirflag as last one.
11578         (DIRFLAG_REG): New macro.
11579         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
11580         (HI_REGISTER_NAMES): Add dirflag.
11581         (DEBUF_PRINT_REG): Handle dirflag.
11582         * i386.md (type attribute): New cld and str types.
11583         (length_opcode attribute): Set cld and str to 1.
11584         (memory attribute): Set str to unknown - it is not clear from the
11585         patterns.
11586         (pent_np function unit): Prefixed string operations takes 12 cycles
11587         minimally; cld takes 2 cycles.
11588         (ppro_uops attribute): Str is "many" and cld is "few".
11589         (ppro_p0 unit): Handle cld here.
11590         (k6_alux unit): Handle cld and str types.
11591         (k6_load unit): It is ocupied by str opcodes.
11592         (k6_store unit): It is ocupied by str opcodes.
11593         (athlon_decode): Str is vector decoded.
11594         (athlon_ieu): Handle str and cld.
11595         (cld pattern): New.
11596         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
11597         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
11598         cmpstrsi_nz_1 insn): Do not output cld instruction
11599
11600 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
11601
11602         * gcc.texi (G++ and GCC): Add Java and Chill.
11603         (Bug Critera): Don't list languages.
11604
11605         * gcc.texi (Incompatibilities): No longer claim most C compilers
11606         are K&R.
11607
11608         * gcc.texi (G++ and GCC): Update other front-ends list.
11609
11610 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
11611
11612         * i386.c (ix86_expand_setcc): Fix typo.
11613         (ix86_expand_movcc): Similarly.
11614
11615         * Band-aid until haifa's bitset implementation is nuked.
11616         * haifa-sched.c (extract_bitlst): New parameter for size of the
11617         bitset in bits.  All callers changed.  Avoid looking at undefined
11618         bits in the bitset.
11619         (edgeset_bitsize): New variable.
11620         (schedule_region): Initialize edgeset_bitsize.
11621
11622 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11623
11624         * Makefile.in (optabs.o): Depend on real.h
11625         (resource.o): Depend on insn-attr.h
11626
11627         * builtins.c (result_vector): Wrap prototype in macro conditions
11628         governing definition and use.
11629
11630         * c-common.c: Include tm_p.h.
11631
11632         * c-lex.c: Likewise.
11633
11634         * elfos.h: Constify a char*.
11635
11636         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
11637         (get_attr_length, shorten_branches, profile_after_prologue): Mark
11638         parameter with ATTRIBUTE_UNUSED.
11639
11640         * fold-const.c (exact_real_inverse): Wrap variable `i' in
11641         CHECK_FLOAT_VALUE.
11642
11643         * haifa-sched.c (schedule_insns): Mark parameter with
11644         ATTRIBUTE_UNUSED.
11645
11646         * optabs.c: Include real.h.
11647
11648         * real.h (ereal_atof): Add prototype arguments.
11649
11650         * resource.c: Include insn-attr.h.
11651
11652         * sdbout.c (sdbout_queue_anonymous_type,
11653         sdbout_dequeue_anonymous_types): Wrap in macro
11654         SDB_ALLOW_FORWARD_REFERENCES.
11655         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
11656         ATTRIBUTE_UNUSED.
11657
11658         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
11659
11660         * stupid.c: Include tm_p.h.
11661
11662         * tree.c (real_value_from_int_cst): Mark parameter with
11663         ATTRIBUTE_UNUSED.
11664
11665 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11666
11667         * i960-protos.h: New file.
11668
11669         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
11670         time warnings.
11671
11672         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
11673
11674 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11675
11676         * combine.c (expand_field_assignment): Do not discard SUBREGs
11677         while computing nonzero_bits.
11678
11679 2000-01-09  Nick Clifton  <nickc@cygnus.com>
11680
11681         * config/arm/arm.c: Fix compile time warnings about signed vs
11682         unsigned constants.
11683         * config/arm/arm.h: Fix compile time warnings about signed vs
11684         unsigned constants.
11685
11686 2000-01-09  Philip Blundell  <philb@gnu.org>
11687
11688         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
11689         than `ldm' with only one register.
11690         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
11691         only one register.
11692
11693         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
11694         clobbered.
11695
11696 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
11697
11698         * config/ns32k/ns32k.md (load or push effective address): Operand 1
11699         must have SImode.
11700
11701 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11702
11703         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
11704         assignment used as truth value.
11705
11706         * function.c (assign_temp): Mark parameter `dont_promote' with
11707         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
11708         PROMOTE_FOR_CALL_ONLY.
11709
11710         * genrecog.c (write_subroutine): Mark variable `operands' with
11711         ATTRIBUTE_UNUSED.
11712
11713         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
11714         ATTRIBUTE_UNUSED.
11715
11716         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
11717         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
11718
11719         * toplev.c (note_deferral_of_defined_inline_function): Likewise
11720         for `decl'.
11721
11722 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11723
11724         * config/c4x.h: Tidy up comments.
11725         * config/c4x.c: Likewise.
11726
11727 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
11728
11729         * fold-const.c (lshift_double, rshift_double): Handle
11730         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
11731
11732 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11733
11734         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
11735         in prepare_function_start().
11736
11737 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
11738
11739         * config/v850/v850.c (expand_epilogue): Interrupt functions no
11740         longer allocate extra stack for function calls.
11741
11742 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11743
11744         * config/c4x/c4x.md (*subqf3_set): Fix typo.
11745
11746 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11747
11748         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
11749
11750 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
11751
11752         * rs6000.c (processor_target_table): Add power3 as alias for 630.
11753         * aix43.h: Revert Aug 2 change.
11754         (HAS_INIT_SECTION): Define, not visible yet.
11755         (LD_INIT_SWITCH): Define, not visible yet.
11756         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
11757
11758         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
11759
11760         * collect2.c (main): Expand ld2 size further.
11761         (export_object_lst): Cast assignment to avoid warning.
11762         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
11763         (scan_prog_file, COFF): Do not collect initialization or
11764         finalization functions generated for entire shared object if
11765         init/fini support present.
11766
11767 2000-01-07  Nick Clifton  <nickc@cygnus.com>
11768
11769         * config/elfos.h: Tidy up formatting of marcos.  Make sure
11770         that .section directives are always prefixed by a tab.
11771
11772         * config/svr4.h: Add #include "elfos.h" and remove duplicate
11773         definitions.
11774
11775 2000-01-07  Matt Austern  <austern@sgi.com>
11776
11777         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
11778         expon.
11779
11780 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
11781
11782         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
11783         crtstuff.c.
11784         (crtbegin.o, s-crtS): Likewise.
11785
11786 2000-01-06  Richard Henderson  <rth@cygnus.com>
11787
11788         * alpha.md (adddi_2+1): Limit offset such that it will be
11789         loadable with a single ldah+lda pair.
11790         (adddi_2+2): Explicitly fail split if we can't make it work.
11791
11792 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
11793
11794         * protoize.c: Conditionally include unistd.h.
11795         (IS_SAME_PATH_CHAR): New macro.
11796         (IS_SAME_PATH): New macro.
11797         (CPLUS_FILE_SUFFIX): New macro.
11798         (cplus_suffix): New static variable.
11799         (is_abspath): New static function.
11800         (in_system_include_dir): Handle DOS style pathnames.
11801         (file_could_be_converted): Likewise.
11802         (file_normally_convertible): Likewise.
11803         (directory_specified_p): Likewise.
11804         (file_excluded_p): Likewise.
11805         (abspath): Likewise.
11806         (shortpath): Likewise.
11807         (referenced_file_is_newer): Likewise.
11808         (save_def_or_dec): Likewise.
11809         (do_processing): Likewise.
11810         (main): Likewise.
11811         (edit_file): Likewise. Use rename instead of link.
11812         (rename_c_file): Likewise. Don't rename syscalls file.
11813         (munge_compile_params): Define null device for DOS based systems.
11814         (process_aux_info_file): Use binary mode if appliable.
11815         (edit_file): Likewise.
11816         * invoke.texi (Running Protoize): Document C++ suffixes used.
11817
11818         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
11819         IS_DIR_SEPARATOR macros.
11820         * collect2.c: Likewise.
11821         * cppinit.c: Likewise.
11822         * dwarf2out.c: Likewise.
11823         * gcc.c: Likewise.
11824         * gcov.c: Likewise.
11825         * prefix.c: Likewise.
11826         * rtl.c: Likewise.
11827         * toplev.c: Likewise.
11828         * system.h: And move to here.
11829
11830         * prefix.c (update_path): Fix typo in variable name.
11831
11832 2000-01-06  Richard Henderson  <rth@cygnus.com>
11833
11834         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
11835         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
11836         (count_reg_sets_1, count_reg_references): Likewise.
11837         (flow_loops_level_compute): Start counting actual loop depth at 1.
11838         (flow_loops_find): Likewise.
11839         * local-alloc.c (update_equiv_regs): Likewise.
11840         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
11841
11842 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
11843
11844         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
11845         FIRST_PSEUDO_REGISTER
11846         * dwarf2out.c: Don't include frame.h
11847         * dwarfout.c: Likewise
11848         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
11849         frame.h
11850
11851 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
11852
11853         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11854         dead registers.
11855
11856         * i386.c (movsf splitter): Fix typo in my last checkin.
11857
11858 2000-01-05  Nick Clifton  <nickc@cygnus.com>
11859
11860         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
11861         own definition of this macro.
11862         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
11863         flag_data_sections or UNIQUE_SECTION_P are true.
11864
11865         * tm.texi (UNIQUE_SECTION): Document that it can be called for
11866         unitialised data decls.
11867
11868         * config/i386/winnt.c (i386_pe_unique_section): Cope with
11869         being called for uninitialised data.
11870
11871         * config/i386/interix.c (i386_pe_unique_section): Cope with
11872         being called for uninitialised data.
11873
11874         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
11875         for uninitialised data.
11876
11877         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
11878         for uninitialised data.
11879
11880         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
11881         for uninitialised data.
11882
11883         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
11884         (UNIQUE_SECTION_P): Always generate a unique section if
11885         flag_data_sections is true.
11886         (UNIQUE_SECTION): Also generate unique sections for
11887         uninitialised data.
11888         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
11889         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
11890         named_section().
11891
11892 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11893
11894         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
11895         SI, or DI.
11896
11897 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11898
11899         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
11900         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
11901         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
11902         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
11903         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
11904
11905         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
11906
11907 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
11908
11909         * c-decl.c (finish_enum): Simplify code to determine minimum and
11910         maximum values of the enum, and calculate the type.  Remove check
11911         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
11912         the DECL_INITIAL of each enumeration constant with a copy converted
11913         to the enumeration type.  When updating variant types, don't bother
11914         updating the type itself.
11915
11916         * c-typeck.c (build_binary_op): Simplify conditional expressions
11917         when weeding out spurious signed-unsigned warnings.  Add new
11918         spurious warning category: if the unsigned quantity is an enum
11919         and its maximum value fits in signed_type(result_type).  Update
11920         commentary.
11921         (build_conditional_expr): Warn here if one alternative is signed
11922         and the other is unsigned.
11923
11924 2000-01-05  Nick Clifton  <nickc@cygnus.com>
11925
11926         * config/fr30/fr30.h: Remove extraneous comments.
11927
11928 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
11929
11930         * reload1.c (choose_reload_regs): When disabling a reload, also
11931         set reload_spill_index to -1.
11932
11933 2000-01-04  Joel Sherrill (joel@OARcorp.com>
11934
11935         * configure.in (m68*-*-rtemscoff*): New target, formal name for
11936         old m68*-*-rtems*.
11937         (m68*-*-rtemself*): New target.
11938         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
11939         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
11940         (sparc*-*-rtemself*): New target.
11941         (sparc*-*-rtems*): Now elf not a.out.
11942         * config/i386/rtems.h: Include config/rtems.h.
11943         * config/i386/rtemself.h: Include config/rtems.h.
11944         * config/i960/rtems.h: Include config/rtems.h.
11945         * config/m68k/rtems.h: Include config/rtems.h.
11946         * config/m68k/rtemself.h: Include config/rtems.h.
11947         * config/mips/rtems64.h: Include config/rtems.h.
11948         * config/pa/rtems.h: Include config/rtems.h.
11949         * config/rs6000/rtems.h: Include config/rtems.h.
11950         * config/sh/rtems.h: Include config/rtems.h.
11951         * config/sh/rtemself.h: Include config/rtems.h.
11952         * config/sparc/rtems.h: Include config/rtems.h.
11953         * config/sparc/rtemself.h: Include config/rtems.h
11954
11955 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
11956
11957         * final.c (shorten_branches): Correctly compute length of
11958         asms without operands.
11959
11960 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
11961
11962         * configure.in: Add pj target.
11963         * configure: Regenerate.
11964         * config/pj: New directory.
11965         * config/pj/lib1funcs.S: New file.
11966         * config/pj/linux.h: New file.
11967         * config/pj/pj.c: New file.
11968         * config/pj/pj.md: New file.
11969         * config/pj/pjl.h: New file.
11970         * config/pj/t-pj: New file.
11971         * config/pj/xm-pj.h: New file
11972
11973 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
11974
11975         * toplev.c (rest_of_compilation): Run shorten-branches before
11976         reg-stack for now.
11977
11978 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11979
11980         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
11981         macros so that they're consistent with their names.
11982         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
11983         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
11984
11985 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11986
11987         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
11988         modified inadvertently.
11989
11990 2000-01-04  Joel Sherrill <joel@OARcorp.com>
11991
11992         * configure.in (v850*-*-rtems*): New target.
11993         * configure: Regenerate.
11994         * config/v850/rtems.h: New file.
11995
11996 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
11997
11998         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
11999         (__gthread_key_create): Likewise.
12000         (__gthread_key_dtor):  Likewise.
12001         (__gthread_once): Fix logic.
12002         (__gthread_key_delete): Cast away constness.
12003
12004         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
12005         * invoke.texi: Document.
12006         * i386/mingw32.h (CPP_SPEC): Use.
12007         (LIBGCC_SPEC): Likewise.
12008         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
12009
12010 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
12011
12012         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
12013         (HANDLE_PRAGMA_PACK): Undefine.
12014         (SLOW_UNALIGNED_ACCESS): Define.
12015
12016 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
12017
12018         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
12019         to default definition.
12020         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
12021         (store_fixed_bit_field): Call macro with word_mode and alignment.
12022         (extract_bit_field): Call macro with relevant mode and alignment.
12023         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
12024         to default definition.
12025         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
12026         and alignment.
12027         (move_by_pieces_ninsns): Likewise.
12028         (clear_by_pieces): Likewise.
12029         (emit_push_insn): Likewise.
12030         (store_field): Call macro with relevant mode and alignment.
12031         (expand_expr): Likewise.
12032         (expand_expr_unaligned): Likewise.
12033
12034         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
12035         (SLOW_UNALIGNED_ACCESS): Define.
12036         (CASE_VECTOR_MODE): Always use 32-bit offsets.
12037         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
12038         (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
12039         (toc_section): Likewise and .toc pseudo-op.
12040         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
12041         64-bit mode.
12042         (TEXT_SECTION_ASM_OP): Likewise.
12043         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
12044         32-bit offsets.
12045
12046         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
12047         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
12048         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
12049         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
12050         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
12051
12052 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
12053
12054         * regclass.c: Revert my Jan 4 change to loop cost computation.
12055
12056 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12057
12058         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
12059         compilation.
12060
12061 2000-01-04  Stan Cox  <scox@cygnus.com>
12062
12063         * haifa-sched.c (build_control_flow): Change unreachable simple
12064         loop test to check if current block has only one predecessor.
12065         (find_rgns): Initialize degree.  Use dest as degree index, not src.
12066
12067 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12068
12069         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
12070
12071         * calls.c (expand_call): Likewise for
12072         `old_stack_arg_under_construction'.
12073
12074         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
12075
12076         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
12077         `save_constant'.
12078
12079         * gcc.c (execute): Likewise for `ut' and `st'.
12080
12081         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
12082
12083         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
12084
12085         * jump.c (jump_optimize_1): Likewise for `temp2'.
12086
12087         * local-alloc.c (block_alloc): Likewise for `r1'.
12088
12089         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
12090
12091         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
12092         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
12093
12094         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
12095         and `set2'.
12096
12097         * reload.c (find_reloads): Likewise for `goal_alternative_number'
12098         and `goal_earlyclobber'.
12099
12100         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
12101
12102         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
12103
12104         * stupid.c (stupid_life_analysis): Likewise for `chain'.
12105
12106         * unroll.c (copy_loop_body): Likewise for `copy'.
12107
12108         * varasm.c (output_constructor): Likewise for `byte'.
12109
12110 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12111
12112         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
12113         all FP constants for constant->reg moves.
12114         (ix86_split_to_parts): Try to convert memory address into immediate
12115         when available in the constant pool.
12116         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
12117         moves.
12118         (LEGITIMATE_CONSTANT_P): Return 1.
12119         * i386.md (pushsf): New splitter to convert constant pool memory
12120         reference to immediate.
12121         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
12122         reload.
12123
12124 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
12125
12126         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
12127         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
12128         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
12129         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
12130         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
12131
12132 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
12133
12134         * ginclude/stdbool.h:  Support compilation as C++.
12135
12136 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
12137
12138         * fold-const.c (make_range): Don't try to reverse an unbounded range.
12139
12140 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
12141
12142         * regclass.c (regclass): Properly compute loop_cost.  Adjust
12143         comments.
12144
12145         * regclass.c: Fix minor whitespace problems.
12146
12147 2000-01-03  Anthony Green  <green@cygnus.com>
12148
12149         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
12150         Restore the pic register if required.
12151
12152 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
12153
12154         * c-common.c (format_char_info): Update comment.
12155         (check_format_info): Recognize 'z' modifier in the same way 'Z'
12156         was recognized.  Emit warning for formats new in ISO C99 only
12157         if flag_isoc9x is not set.
12158
12159 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
12160
12161         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
12162
12163 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
12164
12165         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
12166         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
12167         (make_compound_operation): Choose cheaper alternative between
12168         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
12169
12170         * regclass.c (op_costs): Remove global variable.
12171         (record_reg_classes): New parameter "op_costs" and "reg_pref".
12172         (record_operand_costs): Break out from ...
12173         (scan_one_insn): ... here.
12174         (dump_regclass): Make dumps nicer.
12175         (regclass): Dump preferrences choosed and changes done during passes.
12176
12177 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
12178
12179         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
12180
12181 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
12182
12183         * config/sparc/sparc.c (gen_df_reg): New function.
12184         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
12185         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
12186         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
12187         movtf_cc_reg_sp64+1): Use it.
12188
12189 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
12190
12191         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
12192         copied LABEL_DECLs.
12193
12194 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
12195
12196         * config/i386/i386.c (ix86_expand_unary_operator): Function
12197         definition made void.
12198         (ix86_expand_binary_operator): Update outdated preceding comment.
12199         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
12200         prototype.
12201
12202         * config/i386/i386.c (override_options): Fix option-name typo.
12203
12204 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
12205
12206         * system.h (CEIL): Define.
12207         * builtins.c (CEIL): Remove.
12208         * expmed.c (CEIL): Likewise.
12209         * expr.c (CEIL): Likewise.
12210         * stor-layout.c (CEIL): Likewise.
12211
12212 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12213
12214         * expr.c (store_constructor_field): Fix typo introduced with last
12215         gcc2 merge.
12216
12217 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
12218
12219         * tree.h (BINFO_N_BASETYPES): New macro.
12220
12221 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
12222
12223         * expmed.c (emit_store_flag): Prevent losing a pending stack
12224         adjust the same way we prevent losing queued increments.
12225
12226 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12227
12228         * function.c (update_temp_slot_address): Handle case where sum of
12229         temporary address plus offset in register is a valid address.
12230
12231 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
12232
12233         * genrecog.c (change_state) Corrected typo.
12234
12235 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12236
12237         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
12238         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
12239         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
12240
12241 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
12242
12243         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
12244         case, expand GT comparisons correctly.  Fix a comment before this
12245         part of the code.
12246
12247 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
12248
12249         * dwarfout.c: Include "frame.h"
12250         * dwarf2out.c: Likewise.
12251         * Makefile.in (dwarfout.o): Depend on frame.h
12252         (dwarf2out.o): Likewise.
12253
12254 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
12255
12256         Restore i386 binary compatibility in Dwarf EH info.
12257         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
12258         value of FIRST_PSEUDO_REGISTER.
12259         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
12260         (struct frame_state): Use DWARF_FRAME_REGISTERS.
12261         * dwarfout.c (output_reg_number): Ditto.
12262         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
12263         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
12264
12265 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
12266
12267         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
12268         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
12269         (<hack>_RE_CT): not needed
12270         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
12271         rewritten to scan the file text once only
12272         "template<..." test added
12273         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
12274         (is_cxx_header): declaration added
12275         * fixinc/fixtests.c(is_cxx_header): removed
12276         (apply_fix_p_t): removed
12277         (double_slash_test): is_cxx_header is only called once now
12278         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
12279         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
12280         within the templates.
12281         The borken spelling of "broken" was fixed.
12282         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
12283         The default level depends on FIXINC_DEBUG.
12284
12285 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12286
12287         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
12288         Otherwise provide a declaration for atexit.
12289         (init_dummy): Make sure dummy call to atexit is nevertheless
12290         called with correct number of args.
12291
12292         * frame.c: Update comments referring to other files.
12293
12294         * libgcc2.c: Likewise.
12295
12296 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12297
12298         * cse.c (free_element, get_element): Remove unused prototypes.
12299
12300         * fold-const.c (extract_muldiv): Initialize variables `op0' and
12301         `op1'.
12302
12303         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
12304         `else' clauses.
12305
12306 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
12307
12308         * configure.in,configure: case arm for mn10200-*-* now sets
12309         float_format=i32 so that float.h will correctly claim "double"
12310         to be 32 bits. Ran autoconf to generate configure from .in file.
12311
12312 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
12313
12314         * pa.md (conditional zero): If op1 is a register, force it into
12315         the same register as op0.
12316
12317 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
12318
12319         * tree.h (BINFO_BASETYPES): Improve documentation.
12320
12321 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12322
12323         * configure.in (--enable-checking): Use a more portable `for'
12324         loop syntax.
12325
12326 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12327
12328         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
12329         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
12330
12331         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
12332         Delete files.
12333
12334         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
12335         Delete descriptions.
12336
12337         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
12338         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
12339         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
12340         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
12341         xm-svr4.h: Remove all instances of sys_siglist handling.
12342
12343 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
12344
12345         * config/sparc/sparc.md (cmp_zero_qi,
12346         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
12347         cmp_zero_extendqidi2_andcc_set): New patterns.
12348
12349 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
12350
12351         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
12352         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
12353         (fpgnulib.c, xfgnulib.c): Add rules.
12354         * m68k/t-mot3300-gas: Likewise.
12355
12356 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
12357
12358         * configure.in: Avoid [[ by using test and changequote.  Add
12359         changequote required by 1999-12-14 change.
12360         * configure: Rebuild.
12361
12362 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
12363
12364         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
12365
12366 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
12367
12368         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
12369         * flow.c (find_use_as_address): Likewise.
12370         * function.c (fixup_var_refs_1): Likewise.
12371         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
12372         * jump.c (invert_exp, redirect_exp): Likewise.
12373         * loop.c (replace_call_address): Likewise.
12374         (count_nonfixed_reads): Likewise.
12375         * rtlanal.c (modified_between_p): Likewise.
12376         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
12377         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
12378         * unroll.c (remap_split_bivs): Likewise.
12379
12380 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12381
12382         * diagnostic.c (v_message_with_decl): Use .* format specifier
12383         instead of building the format specifier width manually.
12384
12385         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
12386         determining whether to provide a prototype.  Remove the
12387         sys_siglist clause in the conditional.
12388
12389 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12390
12391         * fold-const.c (operand_equal_p): Use memcmp to compare string
12392         constants.
12393         Suggested by D. J. Bernstein
12394
12395 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
12396
12397         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
12398         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
12399         compiling libgcc2.
12400         * config/mips/mips.h (TARGET_64BIT): Likewise.
12401         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
12402         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
12403         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
12404         dsps.  Give routines proper names if SI/DI modes are not used.
12405         * longlong.h: Use DWunion instead of DIunion.
12406
12407 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
12408
12409         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
12410         GC_CHECKING, GC_ALWAYS_COLLECT.
12411         * configure.in: Allow --enable-checking with an argument
12412         listing check modes to enable.
12413         * config.in, configure: Rebuilt.
12414         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
12415         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
12416         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
12417         ENABLE_GC_ALWAYS_COLLECT.
12418         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
12419         throughout.
12420         * tree.h, tree.c: Change ENABLE_CHECKING to
12421         ENABLE_TREE_CHECKING throughout.
12422
12423 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12424
12425         * fold-const.c (fold_truthop): Properly check for FP RHS.
12426
12427 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
12428
12429         * toplev.h (note_deferall_of_defined_inline_function): Declare.
12430         * toplev.c (note_deferral_of_defined_inline_function): New
12431         function, split out from ...
12432         (rest_of_compilation): ... here.  Use it.
12433
12434 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12435
12436         * expr.c (store_constructor): Don't call clear_storage if size is
12437         variable.
12438
12439 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12440
12441         * Makefile.in (toplev.o): Depend on loop.h.
12442
12443         * dwarfout.c: Include tm_p.h.
12444
12445         * emit-rtl.c (restore_emit_status): Mark parameter with
12446         ATTRIBUTE_UNUSED.
12447
12448         * final.c (final_scan_insn): Likewise.
12449
12450         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
12451         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
12452         flow_depth_first_order_compute, flow_loop_pre_header_find,
12453         flow_loop_tree_node_add, flow_loops_tree_build,
12454         flow_loop_level_compute, flow_loops_level_compute,
12455         flow_loop_outside_edge_p): Add prototypes.
12456         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
12457
12458         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
12459         Mark with ATTRIBUTE_NORETURN.
12460
12461         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
12462
12463         * local-alloc.c (no_conflict_p): Likewise.
12464
12465         * loop.c (insert_bct): Hide definitions of variables with hidden
12466         usage.
12467         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
12468
12469         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
12470         with ATTRIBUTE_UNUSED.
12471         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
12472         (reg_scan): Likewise.
12473
12474         * reload.c (find_reloads): Remove unused variables `changed'.
12475
12476         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
12477         away const-ness.
12478         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
12479         Remove unused variable `insn'.
12480
12481         * toplev.c: Include loop.h.
12482         (report_file_and_line): Remove unnecessary prototype.
12483
12484         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
12485
12486         * unroll.c (biv_total_increment): Likewise.
12487
12488 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12489
12490         * reload1.c (emit_input_reload_insns): Restore old behaviour
12491         wrt. 'special' reloads.
12492
12493 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
12494
12495         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
12496         hash.h.  (cse.c): Don't depend on hashtab.h.
12497
12498         * cse.c: Don't include hashtab.h.
12499         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
12500         of dead functions.
12501         * ggc-simple.c: Don't include hash.h.
12502
12503 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
12504
12505         * dwarf2out.c (add_abstract_origin_attribute): Call
12506         gen_abstract_function on our function context.
12507
12508 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
12509
12510         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
12511
12512 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12513
12514         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
12515         case in switch.
12516
12517 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12518
12519         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
12520         constraints to "a!r".
12521
12522 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
12523
12524         * Makefile.in (calls.o): Depend on function.h.
12525         (alias.o): Likewise.
12526
12527 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
12528
12529         * reload1.c (emit_reload_insns): Break out code and variables into...
12530         (input_reload_insns, other_input_address_reload_insns,
12531         other_input_reload_insns, input_address_reload_insns,
12532         inpaddr_address_reload_insns, output_reload_insns,
12533         output_address_reload_insns, outaddr_address_reload_insns,
12534         operand_reload_insns, other_operand_reload_insns,
12535         other_output_reload_insns): ... new static variables, and...
12536         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
12537         do_output_reload): ... new functions.
12538
12539 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12540
12541         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
12542
12543 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12544
12545         * md.texi: Add c4x constraints documentation.
12546
12547 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
12548
12549         * config/i386/dgux.c (struct option): Rename to
12550         lang_independent_option.
12551         (struct m_options): Add description field.
12552         (output_options): Rename option type, add sep declaration, output
12553         ix86_cpu_string and ix86_arch_string only if set.
12554         (output_file_start): Rename option type.
12555
12556 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
12557
12558         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
12559         stmp-int-hdrs.
12560         (libgcc2.a): Similarly.
12561
12562 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
12563
12564         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
12565         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
12566         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
12567
12568 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
12569
12570         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
12571         Remove redundant initialization of "frexpon" and "expon".
12572
12573 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12574
12575         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
12576
12577         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
12578         (store_constructor_field, expand_expr): Pass new arg.
12579
12580 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
12581
12582         * Makefile.in (explow.o): Depend on function.h.
12583
12584         * stor-layout.c (set_sizetype): Fix typo.
12585
12586 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
12587
12588         * function.c (cfun): Renamed from current_function.  All users
12589         changed.
12590         * function.h (cfun): Rename declaration as well.
12591
12592         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
12593         to be of type regset_head, not regset.  All users changed by adding
12594         address operator.
12595         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
12596
12597 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12598
12599         * config/c4x/rtems.h: New file.
12600
12601 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
12602
12603         * reload1.c (spill_failure): Take class of failed reload as argument
12604         and print it.  Caller changed.
12605
12606 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12607
12608         * rs6000.h (SUBTARGET_DEFAULT): New macro.
12609         (TARGET_SWITCHES): Allow subtargets to default switches.
12610         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
12611
12612 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
12613
12614         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
12615         in a main program.
12616
12617 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
12618
12619         * cccp.c (main): Define __STDC_VERSION__ as necessary.
12620         * cppinit.c (cpp_handle_option): Likewise.
12621
12622         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
12623         determine when to define.
12624
12625 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
12626
12627         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
12628         cmove with mismatched test and data modes.
12629
12630 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
12631
12632         * c-typeck.c (c_expand_start_case): Don't warn for long switch
12633         in system headers.
12634
12635 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12636
12637         * alias.c: Minor reformatting.
12638         * flow.c: Likewise.
12639         * regs.h: Likewise.
12640         * stor-layout.c: Likewise.
12641         * fold-const.c: Likewise.
12642         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
12643         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
12644         not arg itself.
12645         (size_int_wide): Cache nodes even if garbage collecting.
12646         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
12647         of SAVE_EXPR has no side effects.
12648         * cse.c: Move a comment.
12649         * tree.c: Minor reformatting.
12650         (int_size_in_bytes): Return -1 if constant overflows.
12651
12652 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12653
12654         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
12655
12656 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
12657
12658         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
12659         after any change to c-parse.in, even if objc-parse.y didn't
12660         change.  Oops.
12661
12662 1999-12-18  David S. Miller  <davem@redhat.com>
12663
12664         * toplev.c (rest_of_compilation): Restore BLOCK tree
12665         reconstruction and branch shortening changes lost in
12666         December 18th change.
12667
12668 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
12669
12670         * config/arm/linux-elf.h: Change all instances of
12671         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
12672         * config/arm/uclinux-elf.h: Likewise.
12673
12674 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
12675
12676         * toplev.c (notice, vmessage, v_message_with_file_and_line,
12677         v_message_with_decl, file_and_line_for_asm,
12678         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
12679         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
12680         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
12681         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
12682         pfatal_with_name, fatal_io_error, need_error_newline,
12683         last_error_function, last_error_tick, announce_function,
12684         default_print_error_function, print_error_function,
12685         report_error_function, fnotice, error_with_file_and_line,
12686         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
12687         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
12688         warning_with_decl, warning_for_asm, warning, pedwarn,
12689         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
12690         diagnostic.c
12691         (compile_file): Use fnotice instead of notice.  Adjust call.
12692
12693         * diagnostic.c: New file.
12694
12695         * Makefile.in (OBJS): Include diagnostic.o
12696         (diagnostic.o): Define dependence.
12697
12698 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12699
12700         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
12701         Tweak formatting.
12702
12703 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12704
12705         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
12706
12707 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
12708
12709         * fixtests.c (is_cxx_header): New fn, split out of
12710         double_slash_test.
12711         (else_endif_label): Allow "#endif // comment" in C++ headers,
12712         as determined by is_cxx_header.
12713         * fixfixes.c (else_endif_label_fix): Update comment.
12714         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
12715         a tty.
12716         * genfixes: Correct double thinko in commandline parsing.
12717         * hackshell.tpl: Generate correct sh syntax for bypass
12718         entries.
12719
12720         * inclhack.def (all): Whenever an inserted preprocessor
12721         conditional is split over multiple lines, use double
12722         backslashes in this file so the fixed header will be readable.
12723
12724         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
12725         and add bypass entry for correct version of this header.
12726         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
12727         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
12728
12729         (hpux8_bogus_inlines): New fix, split from...
12730         (ultrix_atof_param) ... here.
12731         (math_expression): Add bypass entry keyed to glibc comment
12732         indicating the problem has been dealt with; disable
12733         unnecessary sed operations; update commentary.
12734         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
12735         add select and bypass entries, simplify shell operation.
12736         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
12737
12738         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
12739          ultrix_atof_param): Add select entry.
12740         (stdio_va_list, sunos_mather_decl): Add bypass entry.
12741         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
12742         comments with the fixes they describe.
12743
12744         * c-parse.in (string action): Do not warn about ANSI string
12745         concatenation in system headers.  Affects C parser only.
12746         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
12747
12748 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
12749
12750         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
12751         compiling libgcc2 the macro depends always on arch cpp defines.
12752
12753 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
12754
12755         * loop.c (insert_loop_mem): Don't record MEMs from inside
12756         EXPR_LISTs.
12757
12758 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
12759
12760         * regclass.c (regclass): Do not use flowgraph when not optimizing.
12761
12762         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
12763         notes too, create one when replacement failed, attempt to simplify
12764         resulting notes.
12765         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
12766         or REG_EQUIV notes.
12767
12768 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
12769
12770         * crtstuff.c (__dso_handle): Declare.
12771         (__cxa_finalize): Likewise.
12772         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
12773         non-NULL.
12774
12775         * invoke.texi: Document -fuse-cxa-atexit.
12776
12777         * tree.h (ptr_type_node): Document.
12778         (const_ptr_type_node): Likewise.
12779
12780 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12781
12782         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
12783         (optimize_reg_copy_2): Likewise.
12784         (optimize_reg_copy_3): Likewise.
12785         (fixup_match_2): Likewise.
12786         (regmove_optimize): Likewise.
12787         (fixup_match_1): Liekwise.
12788
12789         * i386.md (HI to SImode promoting splitters): Rewrite.
12790         (pushsf mem peep2): New.
12791         (testhi to andhi peep2): Remove.
12792         * i386.h (x86_promote_QImode): New.
12793         (TARGET_PROMOTE_QImode): New.
12794         (PREDICATE_CODES): Add promotable_binary_operator.
12795         * i386.c (x86_promote_QImode0: New.
12796         (promotable_binary_operator): New.
12797         * i386-protos.h (promotable_binary_operator): New.
12798
12799         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
12800         condition.
12801         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
12802
12803 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
12804
12805         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
12806         * function.c (insert_block_after_note): Remove.
12807         (retrofit_block): Likewise.
12808         (identify_blocks): Fix indentation.
12809         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
12810         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
12811         * function.h (insert_block_after_note): Remove prototype.
12812         (retrofit_block): Likewise.
12813         * integrate.c (expand_inline_function): Don't call
12814         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
12815         just expand_start_bindings.  Use the block_map to remap old
12816         NOTE_BLOCKs to new ones.
12817         (integrate_decl_tree): Keep track of remapped blocks.
12818         * integrate.h (struct inline_remap): Add block_map.
12819         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
12820         NOTE_BLOCK on the notes.
12821         (expand_start_bindings): Rename to ...
12822         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
12823         (expand_end_bindings): Set NOTE_BLOCK.
12824         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
12825         reconstruct the BLOCK tree.
12826         * tree.h (expand_start_bindings): Macroize.  Call ...
12827         (expand_start_bindings_and_block): New function.
12828
12829 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
12830
12831         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
12832         to match the format.
12833
12834 1999-12-16  David S. Miller  <davem@redhat.com>
12835
12836         * expr.c (emit_move_insn_1): Only emit clobbers if one of
12837         the outputs is a SUBREG.
12838         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
12839         change.
12840
12841         * config/sparc/sparc.c (epilogue_renumber): Add default case
12842         to switch stmt.
12843
12844 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12845
12846         * toplev.c (rest_of_compilation): Run branch shortening after
12847         reg-stack.
12848
12849         * regclass.c (loop_depth): Remove
12850         (scan_one_insn): Do not handle LOOP_NOTE insns.
12851         (regclass): Go through basic blocks and set loop_cost
12852
12853 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
12854
12855         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
12856
12857 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12858
12859         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
12860         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
12861         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
12862
12863 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
12864
12865         * loop.c (insert_loop_mem): Ignore memory clobbers.
12866
12867         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
12868         to (OP A B).
12869
12870 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
12871
12872         * profile.c: Remove redundant #include "output.h".
12873
12874         * h8300.md (HImode preinc peephole): Fix typo.
12875
12876 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
12877
12878         * function.c (retrofit_block): Abort if we don't find a suitable insn.
12879         (insert_block_after_note): Abort if we don't have a previous block.
12880         Remove FN parameter.
12881         * function.h: Adjust.
12882
12883 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
12884
12885         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
12886         argument more than once.
12887
12888 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
12889
12890         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
12891
12892 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
12893
12894         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
12895
12896 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12897
12898         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
12899         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
12900         update stack_alignment_needed.
12901         (prepare_function_start): Initialize stack_alignment_needed
12902         * function.h (struct function): Add field stack_alignment_needed.
12903
12904 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12905
12906         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
12907         Handle live_throughout / dead_or_set instead of live_before /
12908         live_after.
12909         (save_call_clobbered_regs): Get register livenessinformation from
12910         chain->live_throughout.
12911         (add_stored_regs): New function.
12912         (insert_restore, insert_save): Add restored / saved registers to
12913         dead_or_set.
12914         * global.c (reg_dies): New parameter chain.
12915         (reg_becomes_live): Third parameter is regs_set now.
12916         Changed all callers.
12917         (reg_dies): New parameter chain.  Changed all callers.
12918         (build_insn_chain): Set live_throughout instead of
12919         live_before / live_after.
12920         * reload.h (struct insn_chain): Replace members live_before /
12921         live_after with live_throughout / dead_or_set.
12922         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
12923         instead of live_before / live_after.
12924         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
12925         (order_regs_for_reload, find_reg, finish_spills): Likewise.
12926         (choose_reload_regs_init): Likewise.
12927         * stupid.c (current_chain, find_clobbered_regs): Delete.
12928         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
12929         instead of chain->live_before / chain->live_after.
12930         (mark_hard_ref): New function.
12931         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
12932
12933 1999-12-15  David S. Miller  <davem@redhat.com>
12934
12935         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
12936
12937 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12938
12939         * flow.c (calculate_loop_depth): Make global, remove prototype,
12940         rewrite to use new loop infrastructure.
12941         (find_basic_block): Remove calculate_loop_depth call.
12942         * toplev.c (rest_of_compilation): Call find_basic_block.
12943         * output.h (calculate_loop_depth): Declare.
12944
12945         * flow.c (dump_flow_info): Dump loop_depth.
12946         (flow_loops_nodes_find): Increase loop_depth for basic block in the
12947         body.
12948         (flow_loops_find): Initialize the loop_depth for each basic block.
12949
12950 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
12951
12952         * tree.c (decl_function_context): Handle virtual functions.
12953
12954         * tlink.c (scan_linker_output): Don't look in demangled name when
12955         looking for linker output keywords.
12956
12957         * dwarfout.c (output_type): We can defer namespace-scope classes.
12958
12959 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
12960
12961         * regclass.c (record_reg_classes): Update comment for merging
12962         register class preferences in reg->reg copies.  Tighten conditions
12963         for merging register class preferences in reg->reg copies.
12964
12965 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
12966
12967         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
12968
12969 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
12970
12971         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
12972         (INIT_SECTION_ASM_OP): Delete.
12973         (FINI_SECTION_ASM_OP): Delete.
12974         (STARTFILE_SPEC): Define to hold just crtbegin.o.
12975
12976 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
12977
12978         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
12979         the abstract origin wasn't emitted.
12980
12981         * dwarf2out.c (class_scope_p): New fn.
12982         (gen_subprogram_die): Use it.
12983         (gen_variable_die): Use it.  Tweak logic.
12984         (gen_struct_or_union_type_die): Check context_die to determine
12985         if we're function-local.
12986         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
12987
12988 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
12989
12990         * loop.c (check_dbra_loop): Can't reverse a biv that has
12991         maybe_multiple set.
12992
12993 1999-12-14  Nick Clifton  <nickc@cygnus.com>
12994
12995         * config/arm/arm.c: Add support for -mcpu=arm720 command line
12996         switch.
12997
12998 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12999
13000         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
13001         for givs made from biv increments.
13002
13003 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
13004
13005         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
13006         * alpha.c (override_options): Recognize -mcpu=ev67.
13007         * alpha.h (CPP_CPU_EV67_SPEC): New.
13008         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
13009         (EXTRA_SPECS): Update.
13010
13011 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
13012
13013         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
13014         appropriate for -lang-c89 and -std=*.
13015         * cppinit.c (cpp_handle_option): Likewise.
13016         (new_pending_define): New, split out from cpp_handle_option.
13017         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
13018         or enable trigraphs for -ansi/-std=*.
13019
13020         * ginclude/stdarg.h (__va_copy): New.
13021         (va_copy): Don't define for C89.
13022
13023 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
13024
13025         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
13026         for long long multiply-accumulate.
13027
13028 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13029
13030         * regclass.c (scan_one_insn): Set loop_cost to 1 when
13031         optimizing for size.
13032
13033 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
13034
13035         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
13036         if something changed.  Back out that part of yesterday's changes.
13037
13038         * loop.c (loop_max_reg): New static variable.
13039         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
13040         max_reg_num.
13041         (scan_loop): Call reg_scan_update whenever we may have added new
13042         registers, and update loop_max_reg.
13043
13044 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13045
13046         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
13047         when source does not die.
13048
13049         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
13050
13051 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
13052
13053         * config/sparc/linux64.h (TARGET_LIVE_G0,
13054         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
13055         variants on Linux.
13056         * config/sparc/linux.h (TARGET_LIVE_G0,
13057         TARGET_BROKEN_SAVERESTORE): Likewise.
13058         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
13059         TARGET_BROKEN_SAVERESTORE): Likewise.
13060
13061         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
13062         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
13063         not %g2.
13064         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
13065         as sparc64 block profiling register.
13066         * config/sparc/sparc.c (sparc_override_options): Allow block
13067         profiling with -m32.
13068         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
13069         profiling register.
13070         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
13071         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
13072         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
13073
13074         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
13075         for sparc64.
13076         * config/sparc/sparc.h: Likewise.
13077         * config/sparc/xm-sysv4-64.h: Likewise.
13078         * config/float-sparc.h: Likewise.
13079         * glimits.h: Likewise.
13080         * longlong.h: Likewise.
13081
13082         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
13083         (ASM_IDENTIFY_GCC): Remove.
13084
13085 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
13086
13087         * combine.c (combine_simplify_rtx): Don't make shared rtl.
13088         (simplify_logical): Likewise.
13089
13090 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
13091
13092         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
13093         * cppfiles.c (INO_T_EQ): Likewise.
13094
13095 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
13096
13097         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
13098         * i386/mingw32.h (LIB_SPEC): Likewise.
13099         (STARTFILE_SPEC): Likewise.
13100         * i386/uwin.h (LIB_SPEC): Likewise.
13101         (STARTFILE_SPEC): Likewise.
13102
13103         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
13104         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
13105
13106 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
13107
13108         * combine.c (combine_simplify_rtx): Fix order of checks for
13109         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
13110
13111 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
13112
13113         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
13114         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
13115
13116 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
13117
13118         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
13119         defined.
13120         * regclass.c (inv_reg_alloc_order): New array.
13121         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
13122
13123         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
13124         counted_for_groups, counted_for_nongroups.  Add fields rld and
13125         n_reloads.
13126         * reload.c (push_secondary_reload): Don't set nongroup field of
13127         new reloads.
13128         (push_reload): Likewise.
13129         (find_reloads): Delete code to compute nongroup fields.
13130         * reload1.c (reload_insn_firstobj): New static variable.
13131         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
13132         users changed.
13133         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
13134         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
13135         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
13136         functions.
13137         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
13138         functions.
13139         (struct hard_reg_n_uses): Deleted.
13140         (potential_reload_regs): Deleted.
13141         (init_reload): Initialize spilled_pseudos and pseudos_counted.
13142         (reload): Don't try to allocate reload registers if we already know
13143         we have to make another pass.  Call select_reload_regs.  Free memory
13144         starting with reload_firstobj when starting another pass.
13145         Don't allocate spilled_pseudos.
13146         (calculate_needs_all_insns): Call copy_reloads for an insn that
13147         needs reloads; don't call calculate_needs.
13148         (spill_cost): New static array.
13149         (used_spill_regs_local): New static variable.
13150         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
13151         to compute potential_reload_regs.
13152         (find_reload_regs): Completely rewritten to use find_reg.
13153         (allocate_reload_reg): Don't test counted_for_groups or
13154         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
13155         all cllers changed.
13156         (choose_reload_regs): Add fallback code that uses the existing
13157         register allocation from find_reload_regs.
13158
13159 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
13160
13161         * flow.c (create_edge_list): Cast xmalloc return value.
13162
13163 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
13164
13165         * doprnt.c: Remove incorrect comment closure.
13166
13167         * cse.c: Fix a few minor whitespace goofs.
13168
13169 1999-12-13  Don Bowman  <don@pixstream.com>
13170
13171         * mips/vxworks.h: Fix problem with comment termination.
13172         (EXTRA_SECTIONS): Add in_sbss.
13173         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
13174
13175 1999-12-12  David S. Miller  <davem@redhat.com>
13176
13177         * cse.c (struct cse_reg_info): Add hash_next member,
13178         reorder rest of struct for better packing on 64-bit
13179         hosts.
13180         (cse_reg_info_tree): Kill.
13181         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
13182         REGHASH_FN): New custom pow2 hash mechanism.
13183         (NBUCKETS): Kill.
13184         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
13185         use a pow2 hash table.
13186         (get_cse_reg_info): Rework to use new REGHASH.
13187         (new_basic_block): Likewise, use HASH_SIZE, and inline
13188         free_element call.
13189         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
13190         and inline free_element call.
13191         (lookup_as_function, insert, flush_hash_table, invalidate,
13192         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
13193         invalidate_for_call, use_related_value, find_comparison_args,
13194         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
13195         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
13196         get_element): Kill.
13197
13198 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
13199
13200         * cse.c (cse_basic_block): Free qty_table consistently.
13201
13202 1999-12-12  David S. Miller  <davem@redhat.com>
13203             Jakub Jelinek    <jakub@redhat.com>
13204
13205         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
13206         SUBREGs by hand, gen the appropriate hard reg directly.
13207         (movtf reg/mem split): Likewise and alter_subreg on destination
13208         if necessary.
13209         (movtf mem/reg split): Similarly.
13210         (movdf_cc_sp64): Rename from hidden pattern.
13211         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
13212         (movtf_cc_sp64, following split): New pattern and splitter.
13213         (movdf_cc_reg_sp64): Rename from hidden pattern.
13214         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
13215         TARGET_HARD_QUAD.
13216         (movtf_cc_reg_sp64, following split): New pattern and splitter.
13217
13218 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
13219
13220         * loop.c (load_mems): Don't hoist written floating point mem
13221         if -ffloat-store.
13222
13223 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
13224
13225         * except.h (struct eh_queue): Add `next' pointer.
13226         (struct eh_status): Make x_ehqueue a pointer.
13227         (push_ehqueue):  Declare.
13228         (pop_ehqueue): Likewise.
13229         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
13230         pointer.
13231         (expand_fixup_region_end): Likewise.
13232         (expand_leftover_cleanups): Likewise.
13233         (push_ehqueue): Define.
13234         (pop_ehqueue): Likewise.
13235         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
13236         than doing it inline.
13237         (expand_start_all_catch):  Adjust now that ehqueue is a
13238         pointer.
13239         (mark_eh_queue): Mark all level of the queue.
13240         (mark_eh_status):  Adjust now that ehqueue is a
13241         pointer.
13242         (init_eh_for_function): Allocate ehqueue.
13243         (free_eh_status): Free it.
13244         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
13245         expansion for a fixup.
13246
13247 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13248
13249         * gthr-single.h (__gthread_active_p): Add prototype arguments.
13250
13251         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
13252         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
13253         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
13254         function_ptr, getpagesize, __enable_execute_stack,
13255         __enable_execute_stack, __clear_insn_cache,
13256         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
13257         _cleanup, _exit, __default_terminate, __terminate_func,
13258         __terminate, __empty, __throw, new_eh_context,
13259         eh_context_initialize, eh_context_static, eh_context_specific,
13260         get_eh_context, __get_eh_context, __get_eh_info,
13261         init_reg_size_table, eh_threads_initialize,
13262         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
13263         __unwinding_cleanup, throw_helper, __throw, __rethrow,
13264         __pure_virtual): Add prototype arguments.
13265         (__bb_exit_func): Cast a sizeof to long when comparing against one.
13266         Cast a signed value to unsigned long when comparing against one.
13267         (new_eh_context): Wrap in _GTHREADS macro.
13268         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
13269         declaration.
13270         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
13271         (throw_helper): Initialize variables `handler_p' and `pc_p'.
13272
13273 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13274
13275         * combine.c (record_promoted_value): Remove unused variable
13276         `links2'.
13277
13278         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
13279
13280         * global.c (record_conflicts): Likewise for `j'.
13281
13282         * genoutput.c (output_insn_data): Don't unnecessarily cast away
13283         const-ness.
13284
13285 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13286
13287         * i386-protos.h (output_387_binary_op, output_fix_trunc,
13288         output_fp_compare): Constify a char*.
13289
13290         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
13291         static prototypes.
13292         (override_options, ix86_comp_type_attributes, print_operand,
13293         output_387_binary_op, output_fix_trunc, output_fp_compare):
13294         Constify a char*.
13295         (ix86_sched_reorder): Mark parameter `clock_var' with
13296         ATTRIBUTE_UNUSED.
13297
13298         * i386.h (DEBUG_PRINT_REG): Constify a char*.
13299
13300 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
13301
13302         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
13303         operand, for use in the Java front-end.
13304
13305 1999-12-10  Ben Collins  <bcollins@debian.org>
13306
13307         * configure.in: Fix typo for "-64" in 64bit as check.
13308         * configure: Rebuilt.
13309
13310 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
13311
13312         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
13313         appropriate.
13314
13315 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13316
13317         * c-parse.in (string): With -Wtraditional, warn if ANSI string
13318         concatenation is utilized.
13319
13320         * invoke.texi (-Wtraditional): Document it.
13321
13322 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13323
13324         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
13325         Cast a ptrdiff_t to long and pass it to printf with %ld.
13326
13327 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
13328
13329         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
13330         68881, we have no 68881 registers at all.
13331         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
13332         value in a 68881 register if it is available.
13333
13334 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
13335
13336         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
13337         for long long multiply-accumulate.
13338
13339 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
13340
13341         * loop.c (insert_loop_mem): Undo last change.
13342
13343 1999-12-10  David S. Miller  <davem@redhat.com>
13344
13345         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
13346         New functions.
13347         * config/sparc/sparc-protos.h: Add them.
13348         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
13349         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
13350         constraints which use those helpers.
13351         (EXTRA_CONSTRAINT): Use this new macro.
13352         * md.texi: Update sparc target constraints documentation.
13353         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
13354         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
13355         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
13356         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
13357         (movsf high/lo_sum split): Rework for new patterns.
13358         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
13359
13360 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
13361
13362         * c-common.c (c_common_nodes_and_builtins):
13363         Create __builtin_ptrdiff_t and __builtin_size_t.
13364
13365 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
13366
13367         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
13368
13369 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13370
13371         * regclass.c (globalize_reg): Re-instate test that allows
13372         fixed registers to be declared as a variable even after functions
13373         are defined.
13374
13375 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13376
13377         * i386.md (cpu attribute): Add "athlon".
13378         (athlon_decode): New attribute.
13379         (Athlon scheduling units definitions): New.
13380         (fcmp and shld patterns): Set athlon_decode to "vector".
13381         * i386.c (athlon_cost): New.
13382         (m_ATHLON): New.
13383         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
13384         x86_use_sahf): Set for Athlon.
13385         (x86_use_fiop): Unset for Athlon.
13386         (override_options): Define Athlon alignments and "athlon" name.
13387         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
13388         * i386.h (TARGET_ATHLON): New.
13389         (enum processor_type): Add PROCESSOR_ATHLON.
13390         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
13391         for CPU_DEFAULT==5
13392         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
13393
13394 1999-12-09  Andreas Jaeger  <aj@suse.de>
13395
13396         * loop.c (record_biv): Declare parameter as int.
13397
13398         * config/i386/i386-protos.h: Declare long_memory_operand.
13399
13400 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
13401
13402         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
13403         EXPR_WITH_FILE_LOCATION.
13404
13405 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
13406
13407         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
13408         in expander.
13409
13410         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
13411
13412         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
13413         updating code.
13414
13415 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
13416
13417         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
13418         default on linux64 again.
13419         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
13420         models for multilibing.
13421         * genmultilib: Accept | as alternative separator within a set in
13422         MULTILIB_OPTIONS.
13423
13424         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
13425
13426         * calls.c (precompute_arguments): Make sure initial_value contains
13427         value pseudo which CSE expects.
13428         * cse.c (struct set): New entry orig_src.
13429         (cse_insn): Set it early on entry, use it for libcall EQUIV note
13430         replacement.
13431
13432 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
13433
13434         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
13435
13436 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
13437
13438         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
13439
13440 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
13441
13442         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
13443         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
13444
13445         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
13446         if TARGET_ARCH32.
13447
13448         * longlong.h: Merge in changes from glibc.
13449         Also don't clobber %g2 register in 32bit SPARC assembly, so that
13450         -mno-app-regs libgcc can be compiled.
13451         * libgcc2.c: Add defines so that the updated longlong.h
13452         can be used in libgcc2.a. Also, make sure on most architectures
13453         (at least on all which have optimized code in longlong.h defined
13454         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
13455
13456 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13457
13458         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
13459         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
13460         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
13461         is GNU ld.
13462         * configure: Rebuilt.
13463
13464 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
13465
13466         * alpha.c (secondary_reload_class): For !BWX, sub-simode
13467         outputs require a register.
13468
13469 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
13470
13471         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
13472         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
13473         functions like dptoul will be resolved.
13474         (libgcc2.a): Make sure that the object files from DPBIT are named
13475         differently (prefix `_dp') from those that would be coming from
13476         FPBIT.
13477
13478 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
13479
13480         * configure.in: When target is sparc* and tm_file contains 64,
13481         test for 64bit support in assembler.  If not supported, remove
13482         sparc/t-sol2-64 from target-dependent Makefile fragments.
13483         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
13484         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
13485         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
13486         * acconfig.h (AS_SPARC64_FLAG): Added.
13487         * configure, config.in: Rebuilt.
13488         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
13489         support.  Use AS_SPARC64_FLAG.
13490
13491 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
13492
13493         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
13494         suitable for holding OFmode values so that gcc works with complex
13495         quad long doubles.
13496         (hard_64bit_mode_classes): Likewise.
13497
13498         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
13499         so that it is actually matched.
13500         (sethi_di_medlow): Likewise.
13501
13502         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
13503         as legitimate constant if -mvis.
13504         * config/sparc/sparc.md (movtf): Likewise.
13505         (clear_sf): Use const_double_operand.
13506         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
13507
13508         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
13509         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
13510         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
13511         routines, _Qp_* cannot be handled like that now.
13512         (INIT_TARGET_OPTABS): Likewise.
13513         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
13514         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
13515         sparc_emit_float_lib_cmp if ARCH64 and soft float.
13516         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
13517         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
13518         divtf3, sqrttf3): New expanders.
13519         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
13520         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
13521         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
13522         non-_hq patterns.
13523
13524         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
13525         * configure: Rebuilt.
13526         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
13527         -mcpu is given and we're doing 64bit compiles.
13528
13529 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
13530
13531         * loop.h (struct induction): Add multi_insn_incr.
13532         * loop.c (basic_induction_var): New multi_insn_incr argument.
13533         Set it if we search back through previous insns for the biv.
13534         (record_biv): New multi_insn_incr argument; fill in struct induction.
13535         (strength_reduce): Discard an iv with multiple bivs, any of
13536         which require multiple insns to increment.
13537
13538 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13539
13540         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
13541         documentation.
13542
13543 1999-12-06  David S. Miller  <davem@redhat.com>
13544
13545         * combine.c (check_promoted_subreg): Do not conditionalize this upon
13546         PROMOTE_FUNCTION_RETURN.
13547
13548 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
13549
13550         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
13551         and handle REG_UNUSED note on insn.
13552
13553         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
13554         inner_mask instead of mask.
13555
13556 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
13557
13558         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
13559         zero if there was an error.
13560
13561 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
13562
13563         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
13564         output string.
13565
13566         * longlong.h: Fix clobbers in SPARC asm statements.
13567
13568         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
13569         valid sethi operations when TARGET_ARCH64.
13570
13571         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
13572         always use move_by_pieces to avoid infinite recursion.
13573         (restore_fixed_argument_area): Likewise.
13574
13575         * combine.c (check_promoted_subreg, record_promoted_value): New
13576         functions.
13577         (combine_instructions): Use them to retain nonzero and sign bit
13578         information after SUBREGs are eliminated by optimizations in
13579         this pass if PROMOTE_FUNCTION_RETURN.
13580
13581         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
13582         .register declaration. Don't use variables with __ prefixes.
13583
13584 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13585
13586         * fold-const.c (optimize_bit_field_compare): Only use one mode
13587         for both RHS and LHS in non-constant case.
13588
13589 1999-12-06  Nathan Sidwell  <nathan@acm.org>
13590
13591         * frame.c (start_fde_sort): Only allocate erratic array, if
13592         linear one was allocated. Return allocated flag.
13593         (fde_insert): Only insert, if there's a valid array.
13594         (fde_end_sort): Split, sort and merge if linear and erratic
13595         arrays exist, else just sort linear one.
13596         (search_fdes): New function. Linear search through original fde
13597         structure.
13598         (frame_init): Permit multiple initializations. Cope with
13599         memory shortages.
13600         (find_fde): Fallback on linear search, if failed to sort array.
13601         (__deregister_frame_info): Only free sorted array, if we
13602         allocated it.
13603
13604 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
13605
13606         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
13607
13608 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
13609
13610         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
13611
13612 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
13613
13614         * tree.h (special_function_p): Declare.
13615         * calls.c (special_function_p): Make it global.  Don't take `name'
13616         as a parameter.  Fix typo in 1999-11-28 change.
13617         (expand_cal): Adjust.
13618
13619 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
13620
13621         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
13622         * tree.h (EXPR_WFL_FILENAME): Define in terms of
13623         EXPR_WFL_FILENAME_NODE.
13624         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
13625         the TREE_CHAIN.
13626         * print-tree.c (print_note): Print TREE_PRIVATE and
13627         TREE_PROTECTED.
13628
13629         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
13630         the original die cannot be found.
13631
13632         * varray.h (varray_head_tag): Add elements_used.
13633         (VARRAY_PUSH): New macro.
13634         (VARRAY_POP): Likewise.
13635         (VARRAY_TOP): Likewise.
13636         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
13637         types.
13638         * varray.c (varray_init): Initialize elements_used.
13639         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
13640         (INTEGRATE_H): New variable.
13641         (integrate.o): Depend on INTEGRATE_H.
13642         (unroll.o): Likewise.
13643
13644         * function.h (insert_block_after_note): Declare.
13645         * function.c (insert_block_after_note): Split out from ...
13646         (retrofit_block): ... here.
13647
13648         * stmt.c (expand_fixup): Fix typo in comment.
13649
13650 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13651
13652         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
13653         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
13654         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
13655         (regmove_optimize, fixup_match_1): Likewise.
13656
13657 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13658
13659         * flow.c (flow_loops_dump): Add missing argument when calling
13660         flow_loop_nested_p.
13661
13662 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
13663             Greg McGary  <gkm@gnu.org>
13664
13665         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
13666         (init_attributes): Add A_NO_LIMIT_STACK.
13667         (decl_attributes): Handle A_NO_LIMIT_STACK.
13668         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
13669         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
13670         Handle stack bounds checking.
13671         * flags.h (flag_stack_check): Use the word 'probe' rather than
13672         'check', because the flag doesn't actually cause any checking to
13673         be done.
13674         * function.c (expand_function_start): Set
13675         current_function_limit_stack.
13676         * function.h (struct function): Add limit_stack.
13677         (current_function_limit_stack): Define.
13678         * invoke.texi (Code Gen Options): Document new options.
13679         * rtl.h: Declare stack_limit_rtx.
13680         * toplev.c (stack_limit_rtx): New variable.
13681         (decode_f_option): Handle new options -fstack-limit-register=REG,
13682         -fstack-limit-symbol=IDENT, -fno-stack-limit.
13683         (main): Add stack_limit_rtx as GC root.
13684         * tree.h (DECL_NO_LIMIT_STACK): New macro.
13685         (struct tree_decl): New member no_limit_stack.
13686
13687         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
13688         stack_limit_rtx.
13689         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
13690         (conditional_trap+1): Get new mnemonic correct.
13691         (conditional_trap+2): New pattern for DImode traps.
13692
13693         * config/m68k/m68k.c (output_function_prologue): Handle
13694         stack_limit_rtx.
13695         * config/m68k/m68k.md (trap): New insn.
13696         (conditional_trap): New insn.
13697         * md.texi (Standard Names): Document `trap' and
13698         `conditional_trap'.
13699         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
13700         so a cc0 setter doesn't get emitted at some random place in the
13701         function.
13702
13703         * config/i960/i960.md (trap): New insn.
13704         (conditional_trap): New expander.
13705         (conditional_trap+1, conditional_trap+2): New insns for signed
13706         and unsigned cases.
13707         * config/i960/i960.c (i960_function_prologue): Use
13708         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
13709
13710 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
13711                           Geoffrey Keating  <geoffk@cygnus.com>
13712
13713         * flags.h (warn_padded, warn_packed): Add global var decls.
13714         * toplev.c (warn_padded, warn_packed): Add global var defns.
13715         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
13716         * stor-layout.c (layout_record): Add local variable `type'
13717         to hold often-used TREE_TYPE (field).  Add local variable
13718         `unpacked_align' to hold alignment that would be in force
13719         if no `packed' attribute were present.  Warn if `packed' attribute
13720         is unnecessary, or even harmful.  Warn when gcc inserts padding
13721         to satisfy alignment requirements of members.  Use NULL_TREE
13722         when checking whether var_size is set.
13723         * invoke.texi: Document new flags.
13724
13725 1999-12-03  Nathan Sidwell  <nathan@acm.org>
13726
13727         * frame.c (fde_split): Reimplement to avoid variable sized array.
13728
13729 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13730
13731         * combine.c (try_combine): Before fixing up LOG_LINKS for the
13732         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
13733
13734 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
13735
13736         * invoke.texi: Document the mips option -mno-crt0
13737
13738 1999-12-02  Mike Karr  <mkarr@mathworks.com>
13739
13740         * cccp.c (argdata): Added free_ptr member.
13741         (macroexpand): Initialize free_ptr of each argument. When an
13742         argument's buffers are freed, if the argument's free_ptr corresponds
13743         to a buffer on the input stack, then return the free_ptr to that stack
13744         frame, otherwise, free it.
13745         (macarg): If an argument begins and ends on the same input stack level,
13746         then transfer the free_ptr of that buffer to the argument in case
13747         the stack is popped during the processing of a subsequent argument.
13748
13749 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
13750
13751         * loop.c (note_reg_stored): New function.
13752         (struct note_reg_stored_arg): New structure.
13753         (try_copy_prop): Change to be more conservative; only replace within
13754         one extended basic block and stop replacing if a store to the
13755         replacement reg is seen.
13756
13757 1999-12-02  Nick Clifton  <nickc@cygnus.com>
13758
13759         * config/fp-bit.c: Initialise all fields of the NAN
13760         constants.
13761
13762         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
13763         to HANDLE_PRAGMA.
13764
13765 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
13766
13767         * i386.md (extend?f?f2): Force the input into a register, not
13768         the output.
13769
13770 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
13771
13772         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
13773         regclass' sake.
13774         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
13775         alternative because setting up 64bit constant is usually costly,
13776         especially when reload is in progress or completed.
13777         (movdf_const_intreg_sp64): Likewise.
13778         (movdf_const_intreg split): Fix building up constants when
13779         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
13780
13781 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
13782
13783         * combine.c (if_then_else_cond): Use const_true_rtx instead of
13784         const1_rtx for return values in EQ/NE comparison against (const_int 0)
13785         case.
13786
13787         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
13788         (asm_file_start): Emit .am33 into assembly file when compiling for
13789         the AM33.
13790         (print_operand_address): Handle POST_INC addresses.
13791         (can_use_return_insn, initial_offset): Check AM33 registers too.
13792         (expand_prologue): Check & save AM33 registers too.
13793         (expand_epilogue): Similarly.
13794         (secondary_reload_class): Handle AM33 specific secondary reloads.
13795         (output_tst): Emit efficient code for the AM33 too.
13796         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
13797         (TARGET_SWITCHES): Add -mam33 switch.
13798         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
13799         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
13800         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
13801         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
13802         (enum reg_class, REG_CLASS_NAMES): Likewise.
13803         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
13804         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
13805         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
13806         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
13807         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
13808         (HAVE_POST_INCREMENT): Define.
13809         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
13810         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
13811         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
13812         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
13813         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
13814         (zero_extend to SI from QI/HI): Likewise.
13815         (sign_extend to SI from QI/HI): Likewise.
13816         (mulsidi3, umulsidi3): New patterns for the AM33.
13817         (tstsi with zero extension from QI/HI): Add AM33 variants.
13818         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
13819         (return_internal_regs, store_movm): Handle new AM33 registers.
13820         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
13821         (LIBGCC, INSTALL_LIBGCC): Likewise.
13822         * invoke.texi: Document new flags.
13823
13824 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13825
13826         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
13827         (addsi3_carry): Likewise.
13828         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
13829         (sbbsi3_carry): Likewise.
13830         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
13831         (mulhi3): Likewise.
13832         (test?i_1): Ensure that only one operand is memory.
13833         (conditional move patterns): likewise.
13834         (shift and rotate patterns): Rewrite to expander, add
13835         "binary_operator_ok" to the condition.
13836
13837         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
13838         * i386.h (procesor_costs): Add movzbl_load field.
13839         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
13840         non-Q registers, accept DImode registers anywhere.
13841         (Q_CLASS_P): New.
13842         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
13843         * i386.c (*_cost): Set value for movxbl_load field.
13844
13845         * (addsi): New add to lea splitter.
13846         (ashlsi): Likewise.
13847         (lea to add/shift peep2): New.
13848
13849 1999-12-01  Mark Salter <msalter@cygnus.com>
13850
13851         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
13852         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
13853         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
13854
13855 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
13856
13857         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
13858         * i386.md (movsi_xor): New.
13859         (movsi_or): New.
13860         (movsi_1, movhi_1, movqi_1): Remove.
13861         (movsi_2): Rename to movsi_1.
13862         (movhi_2): Rename to movhi_1.
13863         (movqi_2): Rename to movqi_1.
13864         (movdi_1): Remove; remove splitter.
13865         (movdi_2): Rename to movdi_1.
13866         (divmodsi4 splitter): Do not emit clobbers for move patterns.
13867         (long move peep2): Do not create QI or HI mode mov0s
13868         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
13869
13870         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
13871         rewrite splitters.
13872
13873         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
13874         (abs?f2_if): Likewise.
13875
13876 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
13877
13878         * ggc.h (ggc_test_and_set_mark): New macro.
13879         (ggc_mark_rtx): Use ggc_test_and_set_mark.
13880         (ggc_mark_tree): Likewise.
13881         (ggc_mark_rtvec): Likewise.
13882         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
13883
13884 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
13885
13886         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
13887         containing types.
13888         (decl_scope_table): Just an array of trees now.
13889         (push_decl_scope): Simplify.
13890         (dwarf2out_init): Adjust.
13891         (local_scope_p): New fn.
13892         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
13893         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
13894         (gen_typedef_die): Likewise.
13895         (gen_lexical_block_die): Don't call push/pop_decl_scope.
13896         (gen_inlined_subroutine_die): Likewise.
13897         (gen_abstract_function): Set current_function_decl temporarily.
13898         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
13899         Handle block extern declarations.  Don't call push/pop_decl_scope.
13900         (gen_decl_die): Fix logic for block externs.
13901
13902 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13903
13904         * calls.c (special_function_p): Remove `realloc' and add `strdup'
13905         to the list of functions which have attribute malloc by default.
13906
13907 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13908
13909         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
13910         integer constant does not match the traditional type, limit the
13911         warnings to cases where the base of the type is ten.
13912
13913         * invoke.texi (-Wtraditional): Document it.
13914
13915 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13916
13917         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
13918         * rs6000.md: Only access a CONST_INT with INTVAL
13919
13920 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
13921
13922         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
13923         (compute_nearerout): Likewise.
13924         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
13925         size_t to unsigned long for formatting.
13926
13927 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
13928
13929         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
13930         Allow the user to override call-used/fixed state of %g2-5
13931         registers from the command line (with the exception of %g4 for
13932         embedded model).
13933         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
13934         there is a higher chance of having a leaf function.
13935         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
13936         for ARCH64 which has %ccr register.
13937         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
13938         patterns.
13939         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
13940         insn accept into delay slot any insn which does not use %[ol]
13941         registers.  Accept some LO_SUM and shift left by 1 for the normal
13942         restore case.
13943         (output_function_epilogue): Likewise.
13944         (epilogue_renumber): Added argument which inhibits any renumbering
13945         and just tests if the rtx does not use any %[ol] registers.
13946         (output_return): Reflect above change.
13947
13948 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
13949
13950         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
13951         aggregate passing for sizes <= 16 bytes.
13952
13953 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
13954
13955         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
13956         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
13957         * reload.c (find_dummy_reload): Likewise.
13958         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
13959         * reload1.c (reload_as_needed): Likewise.
13960         * stupid.c (stupid_find_reg): Likewise.
13961         * tm.texi (Obsolete Register Macros): Delete section.
13962         * gmicro.h: Remove all traces of the two macros.
13963         * i386.h: Likewise.
13964         * m88k.h: Likewise.
13965         * mips.h: Likewise.
13966
13967 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
13968
13969         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
13970         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
13971         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
13972         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
13973         units for the sparclite86x chip.
13974         (flush): Revert October 14th change; add SImode specifically.
13975         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
13976         * invoke.texi: Document it.
13977
13978 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
13979
13980         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
13981         psimode_truncation_operand.
13982
13983         * config/mn10200/mn10200.c (psimode_truncation_operand): New
13984         function.  Return true if the operand is either a MEM valid
13985         for a PSImode address or not a MEM at all.
13986
13987         * config/mn10200/mn10200.md (truncsipsi2): Use
13988         psimode_truncation_operand.
13989
13990 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13991
13992         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
13993         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
13994         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
13995         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
13996         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
13997         (flow_loop_level_compute, low_loops_level_compute): Likewise.
13998         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
13999         * basic-block.h: Protect from multiple inclusion.
14000         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
14001         (struct loops, struct loop): Define structures.
14002         * sbitmap.c (sbitmap_a_subset_b_p): New function.
14003         * sbitmap.h: Protect from multiple inclusion.
14004         (sbitmap_a_subset_b_p): Add prototype.
14005         * Makefile.in (LOOP_H): New macro.
14006         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
14007
14008 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
14009
14010         * cppinit.c (CAT): The argument list of this macro may not contain
14011         spaces !
14012
14013 1999-11-29  David S. Miller  <davem@redhat.com>
14014
14015         Move quantity tables and register equivalence chains into
14016         per-qty and per-register structure arrays respectively.
14017         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
14018         qty_const_insn, qty_comparison_code, qty_comparison_const,
14019         qty_comparison_qty): Delete, replace with...
14020         (qty_table): this structure table.
14021         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
14022         (reg_eqv_table): this structure table.
14023         (make_new_qty): Add argument MODE.  Caller updated.
14024         Update to use qty_table and reg_eqv_table.
14025         (make_regs_eqv, delete_reg_equiv, insert_regs,
14026         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
14027         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
14028         cse_process_notes, cse_main, cse_basic_block): Likewise.
14029
14030 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14031
14032         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
14033         operation if C is negative.
14034         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
14035         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
14036         law for some divisions if constant is negative and change other
14037         divisions to the opposite rounding.
14038
14039         * expr.c (store_constructor_field): If bit position is not multiple
14040         of alignment of TARGET's mode, use BLKmode.
14041
14042         * expr.c (expand_expr_unaligned): Add more code from full case
14043         that is needed when OP0 is in a register.
14044
14045 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14046
14047         * dwarfout.c (field_byte_offset): Size can be zero if there was
14048         an error.
14049
14050 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
14051
14052         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
14053         (associate_trees): Delete unused var TEM.
14054         (extract_muldiv): Delete unused var CANCEL_P.
14055
14056         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
14057         (target_isinf, target_isnan, target_negative): Add return types to
14058         function definitions.
14059
14060 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
14061
14062         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
14063         * fixinc/hackshell.tpl: ditto
14064         * fixinc/fixtests.c(double_slash_test): more C++ header testing
14065         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
14066
14067 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
14068
14069         * reload.c (push_reload): When looking for a register to put into
14070         reg_rtx, make sure all hard regs in a multi-reg register are in the
14071         right class and nonfixed.
14072
14073         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
14074         pending_read_insns, pending_write_insns, pending_read_mems,
14075         pending_write_mems, pending_list_length, last_pending_memory_flush,
14076         last_function_call, sched_before_next_call): Move static variables
14077         into a structure.
14078         (bb_ prefixed versions): Replace with single array bb_deps.
14079         (struct deps): New structure.
14080         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
14081         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
14082         argument of type "struct deps *"; use that instead of global
14083         variables.  All callers changed.
14084         (init_rgn_data_dependencies): Delete function.
14085         (init_rtx_vector): Delete function.
14086         (init_deps): New function.
14087
14088         (free_pending_lists): Simplify, we always use the bb_deps array even
14089         if only one basic block.
14090         (compute_block_backward_dependences): Likewise.
14091         (schedule_region): Likewise.
14092
14093         (propagate_deps): New function, broken out of
14094         compute_block_backward_dependences.
14095         (compute_block_backward_dependences): Use it.
14096
14097         * alpha.md: Delete useless patterns that tried to work around
14098         register elimination problems.
14099
14100         * unroll.c (loop_iterations): Don't abort if iteration variable
14101         was made by loop.
14102
14103         From Joern Rennecke:
14104         * reload1.c (reloads_conflict): Reverse test comparing operand
14105         numbers when testing for conflict between output/outaddr reloads.
14106
14107 1999-11-29  David S. Miller  <davem@redhat.com>
14108
14109         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
14110         arg.
14111         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
14112
14113 1999-11-28  Robert Lipe  <robertl@cygnus.com>
14114
14115         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
14116         table from .fini into .dtor.
14117
14118 1999-11-28  Anthony Green  <green@cygnus.com>
14119
14120         * tree.h (struct tree_decl): Add malloc_flag.
14121         (DECL_IS_MALLOC): Define.
14122         * c-common.c (attrs): Add A_MALLOC attribute.
14123         (init_attributes): Add this attribute to the table.
14124         (decl_attributes): Handle malloc attribute.
14125         * calls.c (special_function_p): Check for the malloc attribute.
14126         * extend.texi (Function Attributes): Document malloc attribute.
14127
14128 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
14129
14130         * pa.md (reload shift-add patterns): Remove.
14131
14132 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14133
14134         * reorg.c (dbr_schedule) Print more statistics. Corrected
14135         problem when printing info when 3 delay slots are filled.
14136
14137 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
14138
14139         * combine.c (setup_incoming_promotions): Pass an outgoing
14140         regno to FUNCTION_ARG_REGNO_P which it expects.
14141
14142 1999-11-28  Andreas Jaeger  <aj@suse.de>
14143
14144         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
14145
14146 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
14147
14148         * cccp.c (do_include): Avoid initialization of automatic variable.
14149
14150         * integrate.c (mark_stores): Function definition made void, to match
14151         previous declaration.
14152         * regclass.c (dump_regclass): Ditto.
14153         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
14154
14155 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14156
14157         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
14158         known to be multiple of divisor.
14159
14160         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
14161
14162         * combine.c (try_combine): Add code to try to merge a set of a
14163         two-word pseudo to a constant with a setting of one of those words
14164         to a constant.
14165
14166         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
14167         (split_tree): Completely rework to make more general.
14168         (make_range, fold): Call negate_expr.
14169         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
14170         (fold, associate): Call new split_tree and associate_trees.
14171         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
14172
14173 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
14174
14175         * loop.c (try_copy_prop): Avoid GNU C extension.
14176
14177 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
14178
14179         * except.c (init_eh_for_function): Still zero eh_return_context,
14180         eh_return_stack_adjust, and eh_return_handler.
14181
14182         * except.h (eh_status): Adjust documentation for x_protect_list.
14183         (begin_protect_partials): New function.
14184         * except.c (enqueue_eh_entry): Fix formatting.
14185         (get_first_handler): Add consistency check.
14186         (add_partial_entry): Adjust usage of protect_list.
14187         (emit_cleanup_handler): Save and restore ehqueue.
14188         (expand_start_all_catch): Add comment.
14189         (begin_protect_partials): New function.
14190         (end_protect_partials): Adjust usage of protect_list.
14191         (init_eh_for_function): Use xcalloc.
14192
14193 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14194
14195         * c-common.c (check_format_info): Don't call a variadic function
14196         with a non-literal format string.
14197
14198         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
14199
14200         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
14201         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
14202         Likewise.
14203
14204         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
14205         Likewise.
14206
14207         * collect2.c (collect_wait): Likewise.
14208
14209         * dbxout.c (dbxout_type): Likewise.
14210
14211         * gcc.c (do_spec_1): Likewise.
14212
14213         * genemit.c (gen_insn, gen_expand): Likewise.
14214
14215         * genrecog.c (write_switch, write_subroutine): Likewise.
14216
14217         * mips-tfile.c (catch_signal, botch): Likewise.
14218
14219         * print-rtl.c (print_rtx): Likewise.
14220
14221         * toplev.c (default_print_error_function, report_error_function,
14222         _fatal_insn): Likewise.
14223
14224 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
14225
14226         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
14227
14228 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14229
14230         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
14231         operations when needed.
14232         * i386.md (fop_?f_comm): New.
14233         (fop_?f_1): Do not accept commutative operands.
14234
14235 1999-11-25  Andreas Jaeger  <aj@suse.de>
14236
14237         * config/mips/mips.md (casesi_internal): Add missing brace.
14238
14239 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
14240
14241         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
14242         (splice_child_die): Handle moving a child DIE from the declaration
14243         DIE of a class to its specification.
14244         (gen_struct_or_union_type_die): Use 'complete' consistently.
14245         (gen_decl_die): Generate the virtual context DIE first.
14246         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
14247
14248 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
14249
14250         * config/mips/mips.md (call_value_multiple_interanal1): New.
14251
14252 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
14253
14254         * dwarf2out.c (free_AT, free_die): New fns.
14255         (remove_children): Call them.
14256         (output_line_info): Disable removal of duplicate notes.
14257
14258         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
14259         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
14260         means pretend the type isn't defined.
14261         Don't defer emitting types.
14262         (gen_type_die_for_member): New fn.
14263         (gen_decl_die): Call it.
14264         (splice_child_die): New fn.
14265         (gen_member_die): Call it rather than generate duplicate dies.
14266
14267         Defer emitting information for the abstract instance of an inline
14268         until we either inline it or emit an out-of-line copy.
14269         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
14270         from output_inline_function if DECL_ABSTRACT is also set.
14271         (block_ultimate_origin): Likewise.
14272         (gen_abstract_function): New fn.
14273         (gen_decl_die, gen_inlined_subroutine_die): Call it.
14274         (gen_subprogram_die):  An abstract instance is not a declaration
14275         just because it doesn't match current_function_decl.  Don't abort
14276         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
14277         has an abstract origin.
14278         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
14279         abstract instance here.
14280
14281 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
14282
14283         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
14284         where we need to reload fpul from a system register.
14285
14286 1999-11-24  Andreas Jaeger  <aj@suse.de>
14287
14288         * config/mips/linux.h (CPP_PREDEFINES): Added.
14289         (LINK_SPEC): Remove -Y since this is only needed on sparc.
14290
14291 1999-11-24  Andreas Jaeger  <aj@suse.de>
14292
14293         * config/mips/linux.h (TARGET_VERSION): Added.
14294         (HANDLE_SYSV_PRAGMA): Added.
14295         (DEFAULT_VTABLE_THUNKS): Added.
14296
14297 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14298
14299         * local-alloc.c (qty): New structure and static variable.
14300         (qty_phys_reg): Remove, all references changed to qty.
14301         (qty_n_refs): Likewise.
14302         (qty_min_class): Likewise.
14303         (qty_birth): Likewise.
14304         (qty_death): Likewise.
14305         (qty_size): Likewise.
14306         (qty_mode): Likewise.
14307         (qty_n_calls_crossed): Likewise.
14308         (qty_alternate_class): Likewise.
14309         (qty_changes_size): Likewise.
14310         (qty_first_reg): Likewise.
14311         (alloc_qty): Rename variable QTY to QTYNO.
14312         (finf_free_reg): Likewise.
14313         (local_alloc): Allocate qty, do not allocate the removed variables.
14314
14315 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
14316
14317         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
14318         when -membedded-pic is passed.
14319
14320         * config/mips/mips.md (casesi): Handle 64-bit case too.
14321         (casesi_internal_di): New insn.
14322
14323         * config/mips/mips.c (embedded_pic_offset): Always make the
14324         embedded-pic subtractions relative to the name of the current
14325         function by use of the magic string "..CURRENT_FUNCTION".
14326         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
14327
14328 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
14329
14330         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
14331         of (const_int 0), when what we really care about is
14332         whether it's a zero constant anyway.
14333         (div_trap_mips16): Likewise.
14334
14335 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
14336
14337         * loop.c (loop_optimize): Always find_loop_tree_blocks and
14338         unroll_block_trees when generating debuggable code.
14339
14340         * tree.h (unsave_expr_1): New function.
14341         (lang_unsave): New variable.
14342         (get_callee_fndecl): New function.
14343         * tree.c (unsave_expr_now_r): New function.
14344         (lang_unsave): Define.
14345         (unsave_expr_1): Likewise.
14346         (unsave_expr_now_r): Split out from unsave_expr_now.
14347         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
14348         call unsave_expr_now_r.
14349         (get_callee_fndecl): Define.
14350
14351         * Makefile.in (gencheck): Don't depend on lang_tree_files.
14352         (gencheck.o): Do depend on lang_tree_files.
14353
14354         * integrate.h (copy_decl_for_inlining): New declaration.
14355         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
14356         (copy_decl_for_inlining): New function.
14357         (integrate_parm_decls): Use it.
14358         (integrate_decl_tree): Likewise.
14359
14360 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
14361
14362         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
14363         the second two from the first.
14364         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
14365         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
14366         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
14367         ISA_HAS_FP4.
14368         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
14369         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
14370         ISA_HAS_FP4.
14371
14372 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
14373
14374         * pa.md (call_internal_symref, call_value_internal_symref): No mode
14375         needed on the address operand.
14376         * pa.c (call_operand_address): Check for the correct mode.
14377
14378 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
14379
14380         * loop.c: Include "basic-block.h".
14381         (try_copy_prop, replace_loop_reg): New functions.
14382         (load_mems): Detect registers that just hold copies of the hoisted
14383         mem, and call try_copy_prop to eliminate them.
14384         * Makefile.in (loop.o): Update dependencies.
14385
14386 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
14387
14388         * Makefile.in (gencheck.o): Depend on gencheck.h.
14389         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
14390         (insn-peep.o): Depend on except.h and function.h.
14391         (insn-attrtab.o): Depend on RECOG_H.
14392         (insn-output.o): Depend on toplev.h and flags.h.
14393         (gengenrtl.o): Depend on real.h.
14394         (gen-protos.o): Depend on cpplib.h and cpphash.h.
14395         Unify all dependencies to be on RECOG_H rather than recog.h.
14396
14397 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14398
14399         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
14400         * configure.in: Try building a bi-arch 32/64-bit compiler on
14401         sparc-*-solaris2.7 and higher.
14402         * configure: Rebuild.
14403
14404 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
14405
14406         * config/freebsd.h: New, FreeBSD architecture independent file.
14407         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
14408         independent pieces.
14409         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
14410         directly by i386/freebsd.h.
14411         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
14412         independent configuration file.
14413         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
14414         directly by i386/freebsd.h.
14415         * configure: Rebuilt.
14416
14417         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
14418         which is in the user's namespace.
14419         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
14420         `i386' which is not in our namespace.
14421
14422 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
14423
14424         * invoke.texi (ARM Options): Add in -mno-alignment-traps
14425
14426 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
14427
14428         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
14429         (add_dwarf_attr, add_child_die): Just push onto the front.
14430         (reverse_die_lists): New fn.
14431         (add_sibling_attributes): Use it.
14432         (push_decl_scope): Reorganize.
14433         (add_name_and_src_coords_attributes): Don't set file and line for
14434         an artificial decl.
14435         (gen_subprogram_die): An artificial function doesn't need to match
14436         file and line.
14437         (gen_compile_unit_die): Return the generated die.  Only add
14438         AT_comp_dir if the filename is relative.
14439         (remove_AT): Simplify loop.  Also free string values.
14440         (output_die): A DIE ref can't be null.
14441         (output_value_format, value_format): Take a dw_attr_ref.
14442         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
14443         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
14444         AT_addr, AT_lbl): New fns.
14445         (various): Use them.
14446         (various): Constify.
14447
14448 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14449
14450         * combine.c (combine_simplify_rtx): When handling a SUBREG,
14451         take SUBREG_WORD into account.
14452         (if_then_else_cond): Likewise.
14453
14454 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
14455
14456         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
14457         clause from BSD license, pursuant with
14458
14459           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
14460
14461 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
14462
14463         * loop.c (load_mems): Reformat slightly.
14464         * basic-block.h (regset_head): New typedef.
14465         (INIT_REG_SET): New macro.
14466
14467 1999-11-22  Bruce Korb  <autogen@linuxbox.com
14468
14469         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
14470         (mips-dec-bsd*): non-functional code
14471         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
14472
14473         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
14474         added three replacement fixes
14475         (no_double_slash): removed comments that are not (any longer) pertinent
14476         (bad_lval): this fix currently runs against many files.
14477         The comment seems to indicate that we should select for files
14478         containing 'pragma extern_prefix'.
14479
14480         * fixinc/fixinc.x86-linux-gnu: deleted
14481         * fixinc/inclhack.sh:  regen
14482         * fixinc/fixincl.x:  regen
14483         * fixinc/fixincl.sh:  regen
14484
14485 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
14486
14487         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
14488         its code is INSN and it has no notes.
14489
14490 1999-11-22  Andrew Haley  <aph@cygnus.com>
14491
14492         * varasm.c (function_defined): Remove.
14493         (make_function_rtl): Don't set function_defined.
14494         (make_decl_rtl): Remove global register warning.
14495         * regclass.c (no_global_reg_vars): New variable.
14496         (globalize_reg): Warn if function has already been defined.
14497         (regclass_init): Set no_global_reg_vars.
14498
14499 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14500
14501         * regclass.c (reg_pref): New structure and static variable
14502         (prefclass): Delete.
14503         (altclass): Delete.
14504         (all uses of prefclass and altclass): Use reg_pref instead.
14505
14506 1999-11-21  Nick Clifton  <nickc@cygnus.com>
14507
14508         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
14509         -malignment-traps.
14510         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
14511         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
14512         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
14513
14514 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
14515
14516         * varasm.c (output_constructor): Solve problem with long long
14517         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
14518
14519 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14520
14521         * global.c (allocno): New structure and static variable.
14522         (allocno_reg): Remove, all references replaced by allocno.
14523         (allocno_size): Likewise.
14524         (hard_reg_conflicts): Likewise.
14525         (hard_reg_preferences): Likewise.
14526         (hard_reg_copy_preferences): Likewise.
14527         (hard_reg_full_preferences): Likewise.
14528         (regs_someone_prefers): Likewise.
14529         (allocno_calls_crossed): Likewise.
14530         (allocno_n_refs): Likewise.
14531         (allocno_live_length): Likewise.
14532         (find_reg): Rename ALLOCNO to NUM.
14533
14534         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
14535         references updated.
14536         (may_move_out_cost): New variable.
14537         (init_reg_sets_1): Initialize may_move_out_cost.
14538         (record_reg_classes): Use may_move_out_cost.
14539
14540         * regclass.c (dump_regclass): New function.
14541         (regclass): New parameter DUMP, call DUMP_REGCLASS.
14542         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
14543         pass rtl_dump_file to regclass.
14544         * rtl.h (regclass): Update prototype.
14545
14546 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14547
14548         * i386.md (neg, not and abs patterns): Revmap to use
14549         ix86_expand_unary_operator and ix86_unary_operator_ok.
14550         (add?f and sub?f expanders): Force operand 1 to register.
14551         * i386.c (ix86_expand_unary_operator): Rewrite.
14552         (ix86_unary_operator_ok): Ensure that memory operands
14553         match real opcode.
14554         (ix86_binary_operator_ok): Do not allow operand 1 to
14555         come into memory and operand 0 not.
14556         (ix86_expand_binary_operator): Ensure that
14557         src1 is not non-matching memory.
14558
14559         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
14560         to support integer registers and memory.
14561         (abss?2_integer): Likewise.
14562
14563         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
14564         (REG_CLASS_NAMES): Likewise.
14565         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
14566         and GENERAL_REGS.
14567         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
14568         (movsf): Likewise; unify 4th and 5th alternative.
14569         (pushdf): Likewise.
14570         (movdf_1): Likewise; rename to movdf_integer.
14571         (pushxf): Likewise; rename to pushxf_integer; fix output template;
14572         remove redundant splitter.
14573         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
14574         (movdf_nointeger): New.
14575         (movxf_nointeger): New.
14576         (pushxf_nointeger): New.
14577
14578         * i386.md (extend?f?f): Split to expander and pattern, refuse two
14579         memory operands in patterns.
14580         (fop*): Refuse two memory operands.
14581
14582         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
14583         on !TARGET_USE_CLTD CPUs.
14584
14585 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
14586
14587         * extend.texi: Document C++ restricted pointers and references.
14588
14589 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
14590
14591         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
14592         (invalidate_skipped_set): Call it unconditionally.
14593         (cse_set_around_loop): Likewise.
14594
14595 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
14596
14597         * rtl.texi (mem): Add documentation for alias-set argument
14598         to RTX `mem'.
14599
14600 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14601
14602         * i386.h (struct_processor_costs): New fields int_load, int_store,
14603         fp_move, fp_load and fp_store
14604         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
14605         fp->int moves
14606         (MEMORY_MOVE_COST): New macro.
14607         * i386.c (386_cost): Define new fields.
14608         (i486_cost): Likewise.
14609         (pentium_cost): Likewise.
14610         (pentiumpro_cost): Likewise.
14611         (k6_cost): Likewise.
14612
14613 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
14614                           Geoffrey Keating  <geoffk@cygnus.com>
14615
14616         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
14617
14618         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
14619         MASK_ALIGN_INT.
14620
14621         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
14622         (TARGET_STRICT_ALIGNMENT): New macro.
14623         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
14624         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
14625         * invoke.texi (M680x0 Options): Document -mstrict-align.
14626
14627 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
14628                           Richard Henderson  <rth@cygnus.com>
14629
14630         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
14631         (ix86_split_long_move): Declare.
14632         * i386.c (split_xf, ix86_split_movdi): Remove.
14633         (ix86_split_to_parts, ix86_split_long_move): New.
14634         * i386.md (dimode move splitters): Use ix86_split_long_move.
14635         (dfmode move splitters): Likewise.
14636         (xfmode move splitters): Likewise.
14637         (movsf_1): Allow F->r.
14638         (movdf_1, movxf_1): Allow F->ro.
14639
14640 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
14641
14642         * except.h (struct eh_entry): Add goto_entry_p.
14643         (eh_region_from_symbol): Remove prototype.
14644         * except.c (find_func_region_from_symbol): New function.
14645         (emit_cleanup_handler): Likewise.
14646         (eh_region_from_symbol): Make it static.
14647         (add_new_handler): Verify the argument.
14648         (find_func_region): Update comment.
14649         (expand_eh_region_end): Expand handlers here, rater than waiting
14650         until expand_leftover_cleanups or start_all_catch.
14651         (expand_leftover_cleanups): Don't expand here.
14652         (expand_start_all_catch): Or here.
14653         (expand_rethrow): Check the return value from find_func_region.
14654         * function.c (expand_function_end): Emit the catch_clauses.
14655
14656 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
14657
14658         * integrate.c (expand_inline_function): Add necessary check for NULL.
14659
14660 1999-11-18  Nick Clifton  <nickc@cygnus.com>
14661
14662         * toplev.c (main): Correctly detect an unrecognised option.
14663
14664         * cppinit.c (cpp_handle_option): Do not claim to have consumed
14665         a -f option if it has not been recognised.
14666
14667 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
14668
14669         * basic-block.h (update_life_extent): Remove trailing comma on
14670         enumeration type list.
14671
14672 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14673
14674         * varasm.c (output_constructor) Solved problem with long long
14675         bitfields. Corrected calculating this_time and shift. Also
14676         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
14677
14678 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
14679
14680         * flow.c (split_edge): Take looping structure into account when
14681         determining where to put the new block note.
14682
14683 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
14684
14685         * Makefile.in (ggc-none.o): Provide host specific version if
14686         needed.
14687
14688 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
14689
14690         * cse.c (delete_trivially_dead_insns): Identify no-op insns
14691         containing subregs too.
14692
14693 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
14694
14695         * invoke.texi: Add documentation for -muninit-const-in-rodata.
14696         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
14697         (TARGET_UNINIT_CONST_IN_RODATA): Define.
14698         (text_section): Add switches -munint-const-in-rodata and
14699         -mno-uninit-const-in-rodata.
14700         (ASM_OUTPUT_COMMON): Remove.
14701         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
14702         const objects should be placed in read-only data. Otherwise declare
14703         them in common.
14704
14705 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
14706
14707         * jump.c (jump_optimize_1): Revert last change.
14708
14709 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
14710
14711         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
14712         test if optimizing for size.
14713
14714 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
14715
14716         * Makefile.in (toplev.o): Depend on except.h.
14717         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
14718
14719 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
14720
14721         * i386.md (divmodsi4): Rewrite to expander.
14722         (*divmodsi4_nocltd): New.
14723         (*divmodsi4_cltd): New.
14724         (divmodsi4 splitter): Handle the case when input comes in edx.
14725         (udivmodhi4): Do not use constraints in exander.
14726         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
14727
14728 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
14729
14730         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
14731         for the common case.
14732
14733 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
14734
14735         * explow.c (hard_function_value): Add outgoing argument.
14736         * expr.h (hard_function_value): Declare it.
14737         * calls.c (expand_call, emit_library_call_value): Update callers.
14738         * function.c (aggregate_value_p): Ditto.
14739         (diddle_return_value): Must look at the outgoing registers
14740         on archs with register windows.
14741
14742 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
14743
14744         * alpha.c (alpha_build_va_list): Use make_lang_type and
14745         initialize TYPE_NAME for the va_list record.
14746
14747         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
14748
14749         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
14750         for printing.
14751         * ggc.h (struct ggc_statistics): Rearrange elements for better
14752         packing on 64-bit hosts.
14753         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
14754         (compute_nearerout): Likewise.
14755
14756 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
14757
14758         * config/rs6000/rs6000.c (first_reg_to_save): Save
14759         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
14760
14761 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
14762
14763         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
14764         notion of nesting to find the DIE for a type or function.
14765         DIEs can go in limbo even if we got a context_die.
14766         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
14767         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
14768         for local type.
14769         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
14770         (gen_type_die): Writing out the context doesn't cause member class
14771         template instantiations to be written out as well.
14772
14773 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
14774
14775         * rs6000.h (ASM_OUTPUT_DEF): New.
14776         Based on proposed addition from David Edelsohn.
14777
14778 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
14779             Bruce Korb  <autogen@linuxbox.com>
14780
14781         * fixinc/inclhack.def
14782         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
14783         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
14784                 in net/inet.h.
14785         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
14786         (svr4_endian): enabled with SVR5
14787         (svr4_mkdev): simplified syntax and enabled with SVR5
14788
14789 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
14790
14791         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
14792         * configure: Rebuilt.
14793         * config/t-freebsd-thread: New file.
14794
14795 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
14796
14797         * i386.c (ix86_decompose_address): Verify the base is a REG
14798         before trying to examine its register number.
14799
14800         * basic-block.h: Remove all #defines and prototypes related to
14801         integer lists.
14802         (free_bb_mem, compute_preds_succs): Remove prototype.
14803         * rtl.h (free_bb_mem): Remove prototype.
14804         * flow.c (alloc_int_list_node); Remove function.
14805         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
14806         (compute_preds_succs, free_bb_mem): Likewise.
14807         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
14808         * toplev.c (rest_of_compilation): Likewise.
14809         * haifa-sched.c (build_control_flow): Use flow generated edge
14810         list to build the haifa specific edge list.
14811         (find_rgns): Use new CFG data structures instead of pred/succ lists.
14812         (schedule_insns): Do not build pred/succ lists anymore.  Instead
14813         build the edge table.
14814
14815         * basic-block.h (dump_bb_data): Remove declaration.
14816         * flow.c (dump_bb_data): Remove function.
14817         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
14818         (sbitmap_union_of_predsucc): Likewise.
14819
14820         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
14821         argument.  All callers changed.
14822         (delete_null_pointer_checks_1): No longer need to compute the
14823         pred/succ lists.
14824
14825         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
14826         All callers changed.
14827         (pre_expr_reaches_here_p_work): Likewise.
14828         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
14829         * lcm.c (compute_laterin): Fix initialization of LATER.
14830         (compute_nearerout): Similarly for NEARER.
14831
14832 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14833
14834         * cse.c (set_nonvarying_address_components): Delete unused function.
14835         (refers_to_p): Likewise.
14836
14837 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
14838
14839         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
14840         needed.
14841
14842 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14843
14844         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
14845         definition in do while (0).
14846
14847 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
14848
14849         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
14850
14851 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
14852
14853         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
14854
14855 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
14856
14857         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
14858         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
14859         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
14860         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
14861
14862         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
14863         saved on the stack.  Output more accurate stack frame statistics
14864         into assembler file.
14865
14866 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
14867
14868         * genextract.c (record_insn_name): New function.
14869         (get_insn_name): No longer a stub.
14870         (main): Call record_insn_name for each insn.  After each label
14871         written, print the insn name in a comment.
14872
14873 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14874
14875         * output.h (const_section, init_section, fini_section): Add
14876         prototypes.
14877
14878         * alpha/elf.h (const_section): Delete declaration.
14879
14880         * svr4.h (const_section): Likewise.
14881
14882 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
14883
14884         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
14885         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
14886         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
14887         expressions.
14888         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
14889         variable-sized array bounds.
14890
14891 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
14892
14893         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
14894         ASM_OUTPUT_LABEL.
14895
14896 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14897
14898         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
14899         addresses the same way GO_IF_LEGITIMATE_INDEX does.
14900
14901 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14902
14903         * cse.c (hash_arg_in_struct): Delete.
14904         (struct table_elt): Delete elt in_struct.
14905         (struct set): Delete elt src_in_struct.
14906         (merge_equiv_classes): Don't set either hash_arg_in_struct or
14907         the corresponding in_struct elts.
14908         (canon_hash): Likewise.
14909         (safe_hash): Likewise.
14910         (find_best_addr): Likewise.
14911         (record_jump_cond): Likewise.
14912         (cse_insn): Likewise.
14913
14914 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
14915
14916         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
14917
14918         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
14919         unsigned types.
14920
14921 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
14922
14923         * function.c (diddle_return_value): Put back check that the DECL_RTL
14924         for the function is a register.
14925
14926         * function.c (diddle_return_value): Use hard_function_value to
14927         get an rtx suitable for use in the USE/CLOBBER insn.
14928
14929         * global.c (global_conflicts): Update comments.
14930         (record_conflicts): No need to record conflicts between pseudos here.
14931
14932 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
14933
14934         * fixinc/fixincl.c: Added verbose levels for status messages
14935
14936 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14937
14938         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
14939         operand as argument to expand_and or expand_binop.
14940
14941 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
14942
14943         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
14944         gcc_add_string_root.
14945
14946 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
14947
14948         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
14949
14950 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
14951
14952         * flow.c (compute_flow_dominators): Initially put all blocks on
14953         the worklist.
14954         * lcm.c (compute_antinout_edge, compute_available): Similarly.
14955         * gcse.c (compute_cprop_avinout): Remove.
14956         (compute_cprop_data): Use compute_available.
14957         (delete_null_pointer_checks_1): Use compute_available.
14958
14959         * basic-block.h (compute_available): Returns a void now.
14960         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
14961         to return a value anymore.
14962         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
14963         worklists.  Fix boundary cases. Compute maximal solutions.
14964         (compute_laterin, compute_nearerout): Similarly.
14965
14966         * dwarf2out.c (add_AT_location_description): Allow
14967         (mem (plus (pseudo) (...)) too.
14968
14969 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
14970
14971         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
14972
14973 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
14974                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14975
14976         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
14977
14978         * gansidecl.h: Likewise.
14979
14980         * rtl.c: Likewise.
14981
14982         * rtl.h: Likewise.
14983
14984         * toplev.h: Likewise.
14985
14986         * tree.c: Likewise.
14987
14988         * tree.h: Likewise.
14989
14990         * varray.c: Likewise.
14991
14992         * varray.h: Likewise.
14993
14994 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
14995
14996         * gcov.c (struct arcdata): Add hits and total, remove prob.
14997         (output_branch_counts): New.
14998         (process_args): Set output_branch_counts if -c.
14999         (calculate_branch_probs): Store hits and total instead of
15000         percentage.
15001         (output_data): Emit counts if output_branch_counts is true.
15002         * gcov.texi (Invoking Gcov): Document -c switch..
15003
15004 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
15005
15006         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
15007         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
15008
15009 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
15010
15011         * invoke.texi (C Dialect Options): Add missing builtins from
15012         c-common.c to list.
15013         * extend.texi (Other Builtins): Copy to this list.
15014
15015 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15016
15017         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
15018         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
15019         redundant bitmap.h.
15020
15021 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
15022
15023         * flow.c (compute_flow_dominators): No longer treat basic block 0
15024         or (n_basic_blocks - 1) specially.  Clear the AUX field before
15025         starting computation of doms/pdoms.  Fix initial state for pdoms.
15026
15027 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15028
15029         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
15030         match rtl.o's: added ggc.h and toplev.h
15031         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
15032         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
15033         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
15034
15035 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
15036
15037         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
15038         from HAVE_DOS_BASED_FILESYSTEM.
15039         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
15040         HAVE_DOS_BASED_FILESYSTEM.
15041         (main): Likewise.
15042         (split_directories): Only special-case DOS file names if
15043         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
15044         instead of explicit tests.  Conditionalize on !VMS.
15045         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
15046         tests.  Conditionalize on !VMS.
15047         (process_command): Only use make_relative_prefix if !VMS.
15048         (free_split_directories): Conditionalize on !VMS.
15049         (DIR_UP): Conditionalize on !VMS.
15050
15051 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15052
15053         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
15054
15055 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15056
15057         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
15058         case.
15059
15060 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
15061
15062         * invoke.texi (Environment Variables): Document relative path
15063         lookup.
15064         * gcc.c (DIR_UP): If not defined, define as "..".
15065         (standard_bindir_prefix): New static, holds target location to
15066         install binaries.
15067         (split_directories): New function to split a filename into
15068         component directories.
15069         (free_split_directories): New function, release memory allocated
15070         by split_directories.
15071         (make_relative_prefix): New function, make a relative pathname if
15072         the compiler is not in the expected location.
15073         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
15074         can figure out an appropriate prefix from argv[0].
15075         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
15076         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
15077         STANDARD_BINDIR_PREFIX.
15078
15079 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15080
15081         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
15082         in c4x.c.
15083         * config/c4x/c4x.h: Moved prototypes to c4x.h.
15084         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
15085         c4x_secondary_memory_needed) Delete.
15086         (fp_zero_operand): Add mode argument.
15087
15088 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
15089
15090         * reload1.c (reload_reg_free_for_value_p): Don't use a register
15091         that is in reload_reg_used.
15092
15093 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
15094
15095         * config/arm/arm-protos.h: New file: Prototypes for functions
15096         defined in arm.c and pe.c.
15097         * config/arm/arm.h: Fix compile time warnings.
15098         * config/arm/arm.c: Fix compile time warnings.
15099         * config/arm/pe.h: Fix compile time warnings.
15100         * config/arm/aout.h: Fix compile time warnings.
15101
15102 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
15103
15104         * config/m32r/m32r-protos.h: New file: Prototypes for functions
15105         defined in m32r.c
15106
15107         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
15108         Add support for subtargets.
15109         Add prototypes for new predicates.
15110         Add scheduling macros.
15111
15112         * config/m32r/m32r.c: Fix compile time warnings.
15113         (int8_operand): New predicate function.
15114         (reg_or_cmp_int16_operand): New predicate function.
15115         (extend_operand): New predicate function.
15116         (m32r_adjust_code): New scheduling function.
15117         (m32r_adjust_priorty): New scheduling function.
15118         (m32r_sched_init): New scheduling function.
15119         (m32r_sched_reorder): New scheduling function.
15120         (m32r_sched_variable_issue): New scheduling function.
15121         (direct_return): New codegen function.
15122         (m32r_not_same_reg): New rtl testsing function.
15123
15124         * config/m32r/m32r.md: Fix compile time warnings.
15125         Add support for pre decrement and post increment memory
15126         references.
15127         Add S<cc> patterns.
15128         Add fabs patterns.
15129
15130 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15131
15132         * global.c (EXECUTE_IF_CONFLICT): Don't define.
15133         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
15134         (find_reg): Likewise.
15135
15136 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
15137
15138         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
15139         to avoid assembler errors.
15140
15141 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
15142
15143         * config/v850/v850-protos.h: New file: Prototypes for functions
15144         defined in v850.c
15145         * config/v850/v850.h: Move prototypes to v850-protos.h
15146         * config/v850/v850.c: Move prototypes to v850-protos.h
15147         * config/v850/v850.md: Fix compile time warnings.
15148
15149         * config/fr30/fr30-protos.h: New file: Prototypes for functions
15150         defined in fr30.c
15151         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
15152         * config/fr30/fr30.c: Fix compile time warnings.
15153         * config/fr30/fr30.md: Fix compile time warnings.
15154
15155 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
15156
15157         * tree.h (get_containing_scope): Declare it.
15158         * tree.c (get_containing_scope): New fucntion.
15159         (decl_function_context): Use it.
15160         * toplev.c (rest_of_compilation): Use get_containing_scope.
15161
15162 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15163
15164         * Makefile.in (rtl.o): Depend on toplev.h.
15165
15166 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
15167
15168         * cse.c (delete_trivially_dead_insns): Replace alloca with
15169         xmalloc/xcalloc.
15170         * except.c (update_rethrow_references): Likewise.
15171         (init_eh_nesting_info): Likewise.
15172         * function.c (identify_blocks): Likewise.
15173         * gcse.c (dump_hash_table): Likewise.
15174         * graph.c (print_rtl_graph_with_bb): Likewise.
15175         * loop.c (combine_movables): Likewise.
15176         (move_movables): Likewise.
15177         (count_loop_regs_set): Likewise.
15178         (strength_reduce): Likewise.
15179         * profile.c (compute_branch_probabilities): New function, split
15180         out from ...
15181         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
15182         * regclass.c (regclass): Likewise.
15183         * regmove.c (regmove_optimize): Likewise.
15184         * toplev.c (compile_file): Likewise.
15185         (main): Don't mess with the stack rlimit.
15186
15187 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
15188
15189         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
15190         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
15191
15192 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
15193
15194         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
15195
15196 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
15197
15198         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
15199         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
15200         macro expansion.
15201
15202 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
15203
15204         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
15205
15206 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
15207
15208         * gcse.c (post_dominators): Kill.
15209         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
15210         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
15211         pass in a pdom array since we do not need pdoms.
15212         * haifa-sched.c (schedule_insns): Similarly.
15213         * flow.c (compute_dominators): Remove dead function.
15214         (compute_flow_dominators): Do not compute doms or pdoms if the
15215         caller does not request them.  Split up loop to build doms and
15216         pdoms.  Use a worklist to compute doms and pdoms.
15217         * basic-block.h (compute_dominators): Remove prototype.
15218
15219 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
15220
15221         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
15222         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
15223         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
15224         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
15225         (cant_move, fed_by_spec_load, is_load_insn): Remove.
15226         (schedule_region): Remove unused variable.
15227         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
15228
15229 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
15230
15231         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
15232         (update_equiv_regs): Likewise.
15233         (block_alloc): Likewise.
15234         * reg-stack.c (reg_to_stack): Likewise.
15235         (convert_regs_2): Likewise.
15236         * reload1.c (reload_as_needed): Likewise.
15237
15238 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
15239
15240         * Makefile.in (dbxout.o): Depend on ggc.h.
15241         (dwarf2out.o): Likewise.
15242         (xcoffout.o): Likewise.
15243         * dbxout.c: Include ggc.h.
15244         (dbxout_init): Register lastfile as a root.
15245         * dwarf2out.c: Include ggc.h.
15246         (dwarf2out_line): Register lastfile as a root.
15247         * xcoffout.c: Include ggc.h.
15248         (xcoffout_source_line): Register xcoff_lastfile as a root.
15249
15250 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
15251
15252         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
15253
15254 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
15255
15256         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
15257         defined.
15258         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
15259
15260 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15261
15262         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
15263         (EXECUTE_IF_CONFLICT): Likewise.
15264         (ALLOCNO_LIVE_P): Avoid signed division.
15265         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
15266         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
15267         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
15268
15269 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
15270
15271         * haifa-sched.c (schedule_block): Don't crash if there's no
15272         next insn for an interblock movement.
15273         (add_branch_dependences): Don't allow clobber insns to move either.
15274
15275 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
15276
15277         * i386.c (split_xf): New.
15278         * i386-protos.h: Declare it.
15279         * i386.md (movxf_1): Add general regs alternatives.
15280         (movxf_1+1): New splitter for same.
15281
15282 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
15283
15284         * function.c (purge_addressof_1): Add missing return values.
15285
15286 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
15287
15288         * function.c (is_addressof): New function.  Returns true if
15289         the given piece of RTL is an ADDRESSOF.
15290         (purge_addressof_1): Make boolean.  Return false if the
15291         ADDRESSOFs could not be purged.
15292         (purge_addressof): If ADDRESSOFs could not be purged from the
15293         notes attached to an insn, remove the offending note(s),
15294         unless they are attached to a libcall.
15295
15296 1999-11-05  Andreas Jaeger  <aj@suse.de>
15297
15298         * genoutput.c (null_operand =): Initialize all fields.
15299
15300         * errors.h: Add extern to prototypes.
15301
15302 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
15303
15304         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
15305         * configure: Rebuilt.
15306
15307 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15308
15309         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
15310         (mirror_conflicts): New function.
15311         (global_alloc): Call it.
15312         (expand_preferences): Remove redundant CONFLICTP test.
15313         (find_reg, dump_conflicts): Likewise.
15314         (prune_preferences): Process conflicts one word at a time.
15315
15316 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
15317
15318         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
15319         instead of an explicit loop.
15320
15321 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
15322
15323         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
15324         if REG_RETVAL check succeeds, then put classp in src_elt.
15325
15326 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
15327
15328         * function.c (pad_to_arg_alignment): Only update argument_pad
15329         if the argument's alignment is greater than STACK_BOUNDARY.
15330
15331 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
15332
15333         * bitmap.h (BITMAP_XFREE): New.
15334         * flow.c (life_analysis): Use it.
15335         (life_analysis_1): Free blocks.
15336
15337         * combine.c (undo_commit): New.
15338         (try_combine): Use it.  Don't zap undobuf.undos.
15339         (combine_instructions): Don't zap undobuf.undos; free the
15340         undobuf.frees list.
15341
15342         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
15343
15344         * stmt.c (cost_table_): New.
15345         (estimate_case_costs): Use it instead of xmalloc.
15346
15347         * toplev.c (compile_file): Reuse dumpname memory instead
15348         of strdup'ing it.
15349
15350 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
15351
15352         * reg-stack.c (convert_regs_1): Initialize target_stack->top
15353         after verifying an EH edge.
15354
15355         * haifa-sched.c (init_rgn_data_dependences): Correctly
15356         size bb_pending_lists_length when zeroing.
15357
15358 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
15359
15360         * function.c (diddle_return_value): New.
15361         (expand_function_end): Use it.
15362         * stmt.c (expand_null_return): Likewise.
15363         (expand_value_return): Likewise.
15364
15365         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
15366
15367         * reload1.c (reload): Don't remove return value clobbers.
15368
15369 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
15370
15371         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
15372
15373 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
15374
15375         * cse.c (cse_main): Use xmalloc, not alloca.
15376         (cse_basic_block): Likewise.
15377         * local-alloc.c (local_alloc): Likewise.
15378
15379 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
15380                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15381
15382         * rtl.c: Include toplev.h.
15383         (fatal): Remove declaration.
15384
15385 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
15386
15387         * haifa-sched.c (schedule_block): Fix thinko.
15388
15389 1999-11-03  James McKelvey <mckelvey@fafnir.com>
15390
15391         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
15392         S_IR* defined values
15393
15394 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
15395
15396         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
15397         call `malloc' instead.
15398
15399 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
15400
15401         * flags.h (flag_renumber_insns): Declare.
15402         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
15403         renumbering table.
15404         * rtl.h (renumber_insns): Change prototype.
15405         * toplev.c (flag_renumber_insns): Define.
15406         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
15407
15408 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
15409
15410         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
15411         and fpsqrtd.  Use them and create fdiv function unit to more
15412         accurately represent fpu sqrt pipeline semantics on UltraSparc.
15413         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
15414
15415 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
15416
15417         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
15418         3 on UltraSparc.
15419         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
15420         insn into ready list, do not use just a raw swap.
15421
15422 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
15423
15424         * rtl.h (renumber_insns): New function.
15425         (remove_unnecessary_notes): Likewise.
15426         * emit-rtl.c (renumber_insns): Define.
15427         (remove_unncessary_notes): Likewise.
15428         * toplev.c (rest_of_compilation): Remove dead code.
15429         Use renumber_insns and remove_unncessary_notes.
15430
15431         * gcse.c (struct null_pointer_info): New type.
15432         (get_bitmap_width): New function.
15433         (current_block): Remove.
15434         (nonnull_local): Likewise.
15435         (nonnull_killed): Likewise.
15436         (invalidate_nonnull_info): Take a null_pointer_info as input.
15437         (delete_null_pointer_checks_1): New function.
15438         (delete_null_pointer_checks): Use it.
15439
15440         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
15441         (split_edges): Likewise.
15442         (schedule_block): Likewise.
15443         (compute_block_backward_dependencies): Likewise.
15444         (schedule_region): Likewise.
15445         (schedule_insns): Likewise.
15446
15447 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
15448
15449         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
15450         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
15451         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
15452         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
15453         * jump.c (delete_unreferenced_labels): Don't delete if
15454         LABEL_ALTERNATE_NAME is set.
15455         * print-rtl.c (print_rtx): Dump alternate name.
15456         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
15457         * rtl.h (LABEL_ALTERNATE_NAME): Define.
15458         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
15459         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
15460
15461 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15462
15463         * fix-header.c (recognized_extern, recognized_function): Constify
15464         a char*.
15465
15466         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
15467         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
15468         (compute_available): Remove unused variable `last'.
15469         (compute_nearerout): Remove unused variable `temp_bitmap'.
15470         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
15471         Remove unused variable `x'.
15472
15473         * scan.h (recognized_function, recognized_extern): Constify a
15474         char*.
15475
15476         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
15477
15478 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15479
15480         * varasm.c (decode_rtx_const): Use XSTR to access the string
15481         of a SYMBOL_REF.
15482
15483 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
15484
15485         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
15486
15487 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15488
15489         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
15490
15491 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
15492
15493         * pa.c (ireg_operand): New function.
15494         * pa.h (PREDICATE_CODES): Handle ireg_operand.
15495         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
15496         Fix out of date comment.
15497
15498         * pa.md (negdi2): Turn into expander + anonymous pattern.
15499
15500         * reload.c (find_reloads): Fix typos in recent change.
15501
15502         * dwarf2out.c: Do not include ctype.h.
15503
15504 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15505
15506         * regclass.c (record_reg_classes): Always use may_move_cost when
15507         seeing how operand fits with various register classes.
15508
15509 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
15510
15511         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
15512         * toplev.c: Revert Nov 1 13:22 change.
15513
15514 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
15515
15516         * config/pa/pa.md (height reduction patterns): Add checks for
15517         overlapping operands to avoid semantic-destroying splits for
15518         height reduction patterns.
15519
15520 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15521
15522         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
15523         have been an hyphen, fixed.
15524         * configure: Rebuilt.
15525
15526 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
15527
15528         * config/arm/tpe.h: Add prototypes for exported functions.
15529         * config/arm/pe.c: Fix compile time warnings.
15530         * config/arm/semi.h: Fix compile time warnings.
15531         * config/arm/arm.c: Fix compile time warnings.
15532         * config/arm/arm.h: Fix compile time warnings.
15533         * config/arm/arm.md: Fix compile time warnings.
15534         * config/arm/thumb.c: Fix compile time warnings.
15535         * config/arm/thumb.h: Fix compile time warnings.
15536         * config/arm/thumb.md: Fix compile time warnings.
15537
15538 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
15539
15540         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
15541         detection code
15542
15543         * unroll.c (unroll_loop): Remove LOOP notes when loop is
15544         completely unrolled.
15545
15546 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15547
15548         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
15549
15550 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
15551
15552         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
15553         * rtl.h (rtx_equal_p): Move prototype.
15554         * rtl.c (rtx_equal_function_value_matters): Move from
15555         rtlanal.c
15556         (rtx_equal_p): Likewise.
15557         * rtlanal.c (rtx_equal_function_value_matters): Delete.
15558         (rtx_equal_p): Likewise.
15559
15560 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
15561
15562         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
15563         ! HAS_INIT_SECTION.
15564
15565 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
15566
15567         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
15568
15569         * pa.h (ADDR_VEC_ALIGN): Define.
15570
15571         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
15572         notes when presented with "if (foo) break; end_of_loop" and
15573         the break sequence gets moved out of the loop.
15574
15575         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
15576         Remove explicit zero initializations of entries within MAP.
15577
15578 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
15579
15580         * reg-stack.c (convert_regs_1): Handle EH edges specially.
15581
15582 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
15583
15584         * bitmap.h (BITMAP_XMALLOC): New macro.
15585         * flow.c (CLEAN_ALLOCA): Remove.
15586         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
15587         (life_analysis): Likewise.
15588         (update_life_info): Don't use CLEAN_ALLOCA.
15589         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
15590         (calculate_global_regs_live): Likewise.
15591         (print_rtl_with_bb): Likewise.
15592         (verify_flow_info): Likewise.
15593         * global.c (global_alloc): Likewise.
15594         (global_conflicts): Likewise.
15595         * integrate.c (save_for_inline_nocopy): Likewise.
15596         (expand_inline_function): Likewise.
15597         * jump.c (jump_optimize_1): Likewise.
15598         (duplicate_loop_exit_test): Likewise.
15599         (thread_jumps): Likewise.
15600         * loop.c (loop_optimize): Likewise.
15601         (combine_givs): Likewise.
15602         (recombine_givs): Likewise.
15603         * reorg.c (dbr_schedule): Likewise.
15604         * unroll.c (unroll_loop): Likewise.
15605
15606         * combine.c (combine_instructions): Use xmalloc instead of alloca.
15607
15608 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
15609
15610         * toplev.c (rest_of_compilation): Don't optimize the CFG
15611         when rebuilding, just before dbr.
15612
15613 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15614
15615         * output.h (assemble_end_function, assemble_destructor,
15616         assemble_constructor, assemble_gc_entry, assemble_global,
15617         assemble_label, output_constant_pool) Constify a char*.
15618
15619         * varasm.c (assemble_destructor, assemble_constructor,
15620         assemble_gc_entry, assemble_end_function, assemble_global,
15621         assemble_label, output_constant_pool): Likewise.
15622
15623 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
15624
15625         * config/arm/thumb.c (thumb_expand_prologue): Add comments
15626         explaining what is goin on in this function.
15627
15628 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15629
15630         * regclass.c (record_reg_classes): In matching case, recompute
15631         costs since the direction of movement is different.
15632
15633 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
15634
15635         * resource.c (mark_target_live_regs): For unconditional branches,
15636         the resources found at the branch target should be added to the
15637         resources found so far, not intersected.
15638
15639 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
15640
15641         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
15642         old cpp's.
15643         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
15644         (sys/mman.h): Include this file only if #HAVE_MMAP.
15645         (run_compiles): Initialize `esac_fmt' with one old KR string, not
15646         with automatically concatenated ANSI strings.
15647
15648 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
15649
15650         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
15651         (DIV_ROUND_UP): Robustify.
15652         (ggc_recalculate_in_use_p): New function.
15653         (release_pages): Don't inline it.
15654         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
15655         outer contexts.
15656         (ggc_pop_context): Use ggc_recalculate_in_use_p.
15657         (clear_marks): Always save in_use_p.
15658         (sweep_pages): Use ggc_recalculate_in_use_p.
15659         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
15660         Release pages before counting statistics.
15661
15662 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
15663
15664         * toplev.c (rest_of_compilation): Fix thinko in this change:
15665
15666         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
15667
15668         (rest_of_compilation): If inside an inlined external function,
15669         pretend we are just being declared.
15670
15671 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
15672
15673         * flow.c (calculate_global_regs_live): Fix thinko.
15674
15675         * integrate.c (expand_inline_function): Fix bugs in previous
15676         change from Oct 28, 1999.
15677
15678 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
15679
15680         * stmt.c (expand_value_return): Fix typo in this change:
15681
15682         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15683         (expand_value_return): Correctly convert VAL when promoting function
15684         return; support RETURN_REG being a PARALLEL.
15685
15686 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
15687
15688         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
15689
15690 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15691
15692         * hard-reg-set.h (reg_names): Constify a char*.
15693
15694         * regclass.c  (reg_names): Likewise.
15695
15696         * regs.h (reg_names): Likewise
15697
15698         * a29k/a29k.c (reg_names): Delete declaration.
15699
15700         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
15701
15702         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
15703         arc_output_function_epilogue): Likewise.
15704
15705         * elxsi/elxsi.c (reg_names): Likewise.
15706
15707         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
15708
15709         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
15710         Likewise.
15711
15712         * m88k/m88k.c (output_function_profiler): Likewise.
15713
15714         * sparc/sparc.c (sparc_flat_output_function_prologue,
15715         sparc_flat_output_function_epilogue): Likewise.
15716
15717 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
15718
15719         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
15720         warning from -Wuninitialized and put it under -W.
15721         * function.c (uninitialized_vars_warning): Warn only when the
15722         corresponding flag is set.
15723
15724 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
15725
15726         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
15727         is nonzero and the single set does not have an elt, then assign
15728         it an elt.
15729
15730         * simplify-rtx.c: New file.
15731         * Makefile.in (OBJS): Add simplify-rtx.o
15732         (simplify-rtx.o): Add dependencies.
15733         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
15734         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
15735         (cse_gen_binary, simplify_unary_operation): Delete.
15736         (simplify_binary_operation, simplify_plus_minus): Likewise.
15737         (check_fold_consts, simplify_relation_operation): Likewise.
15738         (simplify_ternary_operation): Likewise.
15739         (delete_trivially_dead_insns): Simplify the contents of the
15740         REG_EQUAL note before trying to substitute it into the source
15741         of the reg-reg copy at the end of a libcall sequence.
15742
15743         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
15744         references/callers changed.
15745
15746         * mn10200.c (mn10200_va_arg): Force the return value into a
15747         register.
15748
15749         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
15750
15751         * cccp.c (macroexpand): Avoid out of range accesses for omitted
15752         arguments.
15753
15754 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
15755
15756         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
15757
15758 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
15759
15760         * fold-const.c (fold): Fix thinko when optimizing comparisons
15761         against -0.0.
15762
15763 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
15764
15765         * gcc.texi (Passes): Update front-end files to their current
15766         location.
15767
15768 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
15769
15770         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
15771         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
15772         (PREDICATE_CODES): Add addition_operation.
15773         * alpha-protos.h (addition_operation): Declare.
15774         (secondary_reload_class): Likewise.
15775         * alpha.c (addition_operation): New.
15776         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
15777         * alpha.md (adddi3): Turn into expander.
15778         (*lda, *adddi_2): New.
15779         (movsf, movdf patterns): Don't preference integer regs.
15780         (movsi, movdi patterns): Don't preference fp regs.
15781
15782 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
15783
15784         * genrecog.c (write_switch): Check for duplicate CODE cases.
15785
15786 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
15787
15788         * ggc-common.c: Update pre-function commentary.
15789         * ggc-page.c: Likewise.
15790         (poison): Remove.
15791         (poison_pages): Use memset directly.
15792         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
15793         (ggc_collect): Poison before sweeping.
15794         * ggc-simple.c: Update pre-function commentary.
15795         (ggc_alloc_obj): Poison non-zeroed memory.
15796
15797 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
15798
15799         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
15800         match format string, even on 64-bit hosts.
15801         * gcc-page.c (ggc_page_print_statistics): Likewise.
15802
15803 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
15804
15805         * config/i386/i386.c (ix86_cpu): Revert last patch.
15806         * config/i386/i386.h (ix86_cpu): Ditto.
15807
15808 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
15809
15810         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
15811         TYPE_SIZE, convert type of result to sizetype.
15812
15813 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
15814
15815         * flow.c (count_or_remove_death_notes): Equate NULL with the
15816         universal set.
15817
15818         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
15819         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
15820         dbr_schedule.
15821
15822         * i386.c (pic_label_no): Delete.
15823         (ix86_attr_length_default): Don't use single_set to peek
15824         inside a parallel.
15825
15826         * recog.c (peephole2_optimize): Allow recog_next_insn to index
15827         the first insn after bb->end.
15828         * i386.md (push mem peeps): Scratch is live after evaluation
15829         of the memory.
15830         (cmp mem peep): Similarly.
15831
15832 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
15833
15834         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
15835         * function.c (pad_to_arg_alignment): Add missing braces.
15836
15837 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15838
15839         * alpha/alpha-protos.h (literal_section): Add prototype.
15840         (alpha_need_linkage, alpha_start_function,alpha_end_function):
15841         Constify a char*.
15842
15843         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
15844         prototype.
15845         (alpha_start_function, alpha_end_function, float_strings,
15846         alpha_need_linkage): Constify a char*
15847
15848         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
15849
15850         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
15851
15852         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
15853
15854         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
15855
15856 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15857
15858         * flow.c (debug_flow_info): Add prototype.
15859
15860         * gcc.c (main): Likewise.
15861
15862         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
15863         Likewise.
15864
15865         * reload1.c (failed_reload, set_reload_reg): Likewise.
15866
15867         * mips-tfile.c (main): Likewise.
15868         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
15869         with ATTRIBUTE_NORETURN.
15870
15871 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
15872
15873         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
15874         DECL is not a memory ref.
15875
15876 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
15877
15878         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
15879         * config/i386/i386.c (ix86_cpu): Add extern attribute.
15880
15881 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
15882
15883         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
15884         * config/mips/elf64.h: ditto.
15885
15886 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
15887
15888         * expr.c (emit_push_insn): New argument alignment_pad.
15889         Update all callers.  Adjust stack pointer based on alignment pad.
15890         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
15891         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
15892         (locate_and_pad_parm): New argument alignment_pad.  Update all
15893         callers.
15894         * expr.h (emit_push_insn): Update prototype.
15895         (locate_and_pad_parm): Update prototype.
15896         * calls.c (arg_data):  Add new field alignment_pad.
15897         (initialize_argument_information): Initialize alignment_pad.
15898
15899 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
15900
15901         * except.c (free_eh_nesting_info): Free the info itself.
15902         * function.c (free_after_compilation): Don't free NULL.
15903         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
15904         (pre_edge_insert): Free inserted.
15905         * stmt.c (free_stmt_status): Don't free NULL.
15906
15907 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
15908
15909         * gcov.c (DIR_SEPARATOR): Provide default.
15910         (output_data): Add test for MS-DOS format absolute filename.
15911         (fancy_abort): Correct program name.
15912         (open_files): Open all files in binary mode.
15913         * libgcc2.c (__bb_exit_func): Likewise.
15914
15915         * profile.c (init_branch_prob): Specify binary when opening files.
15916
15917         * flags.h (flag_unwind_tables): New decl.
15918         * toplev.c (flag_unwind_table): New definition.
15919         (f_options): Add -funwind-tables.
15920         (decode_g_option): Clarify warning when unknown -g option is given.
15921         (rest_of_compilation): If inside an inlined external function,
15922         pretend we are just being declared.
15923
15924         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
15925         (dwarf2out_frame_finish): Likewise.
15926
15927 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
15928
15929         * fold-const.c (merge_ranges): If not in0, but in1, handle
15930         upper bounds equal like subset case.
15931
15932 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
15933
15934         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
15935         passed in a register but moved to the stack.
15936
15937 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
15938
15939         * gcc.c (pass_exit_codes, greatest_status): New variables.
15940         (struct option_map): Add entry for "--pass-exit-codes".
15941         (execute): Update greatest_status if error.
15942         (display_help): Add documentation for -pass-exit-codes.
15943         (process_command): Handle -pass-exit-codes.
15944         (main): Look at pass_exit_codes and greatest_status on call to exit.
15945
15946 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15947
15948         * reload.c (find_reloads): Refine test for no input reload
15949         case to not includes reloads emitted after insn.
15950
15951         * function.c (find_temp_slots_from_address): Handle sum involving
15952         a register that points to a temp slot.
15953         (update_temp_slot_address): Make recursive call if both old and
15954         new are PLUS with a common operand.
15955         * calls.c (expand_call): Mark temp slot for result as having
15956         address taken.
15957
15958         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
15959
15960         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
15961         component as well as "BINUTILS".
15962
15963         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
15964         * integrate.c (copy_rtx_and_substitute): Likewise.
15965         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
15966         All callers changed.
15967         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
15968
15969         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
15970         gdb extensions, write size of type; also be more consistent
15971         in using references when this is a subtype.
15972
15973         * pa.md (extv, extzv, insv): Use define_expand to reject constant
15974         that is out of range.
15975
15976         * loop.c (unknown_constant_address_altered): New variable.
15977         (prescan_loop): Initialize it.
15978         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
15979         (invariant_p, case MEM): Remove handling for volatile and readonly;
15980         check new variable if readonly.
15981         (check_dbra_loop): Chdeck unknown_constant_address_altered.
15982
15983         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
15984         (addr_affects_sp_p): Removed from note_mem_written and only
15985         define #ifdef AUTO_INC_DEC.
15986
15987         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
15988
15989         * regclass.c (record_reg_classes): Properly handle register move
15990         directions.
15991
15992         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
15993         Don't think valid if both operands are invalid.
15994         (struct constant_descriptor): New field RTL.
15995         (mark_const_hash_entry): Mark it.
15996         (record_constant{,_rtx}): Initialize it.
15997         (output_constant_def): Allocate RTL in permanent obstack and
15998         save in table.
15999         ({record,compare}_constant_1): Modes must match for
16000         CONSTRUCTOR of ARRAY_TYPE.
16001
16002         * c-common.h (initializer_constant_valid_p): Delete decl from here.
16003         * output.h (initializer_constant_valid_p): Move decl to here.
16004         * c-common.c (initializer_constant_valid_p): Delete function from here.
16005         * varasm.c (initializer_constant_valid_p): Move function to here.
16006
16007         * tree.h (STRIP_SIGN_NOPS): New macro.
16008         * fold-const.c (optimize_minmax_comparison): New function.
16009         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
16010         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
16011         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
16012         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
16013         widening conversions.
16014         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
16015         to look at size of mode, not precision of type; also add missing cases.
16016         (optimize_bit_field_compare, decode_field_reference): Don't try to
16017         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
16018
16019         * dwarf2out.c (ctype.h): Include.
16020         (dwarf2out_set_demangle_name_func): New function.
16021         (size_of_line_info): Deleted.
16022         (output_line_info): Compute size of line info table from difference
16023         of labels.
16024         (base_type_die, add_name_attribute): Call demangle function, if any.
16025         (field_byte_offset): Use bits per word for variable length fields.
16026         (gen_array_type_die): Add array name.
16027         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
16028         (dwarf2out_add_library_unit_info): New function.
16029
16030         * explow.c (set_stack_check_libfunc): New function.
16031         (stack_check_libfunc): New static variable.
16032         (probe_stack_range): Allow front-end to set up a libfunc to call.
16033
16034         * combine.c (simplify_comparison): When making comparison in wider
16035         mode, check for having commuted an AND and a SUBREG.
16036         (contains_muldiv): New function.
16037         (try_combine): Call it when dividing a PARALLEL.
16038         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
16039         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
16040         a PLUS.
16041         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
16042         use one of the CLOBBERs instead.
16043         (if_then_else_cond): If comparing against zero, just return thing
16044         being compared.
16045
16046         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
16047         Don't generate shifts and subtract if have conditional arithmetic.
16048
16049         * rtl.h (delete_barrier): New declaration.
16050         * jump.c (jump_optimize): Set up to handle conditional call.
16051         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
16052         (delete_barrier): New function.
16053
16054         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
16055
16056         * recog.c (nonmemory_operand): Accept ADDRESSOF.
16057
16058         * tree.c (build_type_attribute_variant): Push to obstack of
16059         ttype around type_hash_canon call.
16060
16061         * expr.c (placeholder_list): Move decl to file scope.
16062         (expand_expr): Don't force access to volatile just because its
16063         address is taken.
16064         If ignoring reference operations, just expand the operands.
16065         (expand_expr, case COMPONENT_REF): Propagate
16066         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
16067         Refine test for using bitfield operations vs pointer punning.
16068         (expand_expr, case CONVERT_EXPR): If converting to
16069         BLKmode UNION_TYPE from BLKmode, just return inner object.
16070         Use proper mode in store_field call.
16071         Properly set sizes of object to store and total size in store_field
16072         call for convert to union.
16073         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
16074         memory (like for ADDR_EXPR).  Also, don't put constant in register if
16075         we'll want it in memory.
16076         (readonly_fields_p): New function.
16077         (expand_expr, case INDIRECT_REF): Call it if LHS.
16078         (expand_assignment): Handle a RESULT_DECL where
16079         DECL_RTL is a PARALLEL.
16080         (do_jump, case WITH_RECORD_EXPR): New case.
16081         (get_inner_reference): Always go inside a CONVERT_EXPR
16082         and NOP_EXPR if both modes are the same.
16083         (store_field): Use bitfield operations if size of bitsize is not same
16084         as size of RHS's type.
16085         Check for bitpos not a multiple of alignment in BLKmode case.
16086         Do block move in largest possible alignment.
16087         (store_constructor): Set BITSIZE to -1 for variable size and properly
16088         in case of array of BLKmode.
16089         (expand_expr_unaligned): New function.
16090         (do_compare_and_jump): Call it.
16091
16092         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
16093         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
16094         does not include 'o'.
16095
16096         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
16097         both SET_DEST and SET_SRC reference a virtual register.
16098         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
16099
16100         * integrate.c (expand_inline_function): Handle case of setting
16101         virtual stack vars register (from built in setjmp); when parameter
16102         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
16103         (subst_constant): Add new parm, MEMONLY.
16104         (expand_inline_function, integrate_parm_decls): Pass new parm.
16105         (integrate_decl_tree): Likewise.
16106         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
16107         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
16108         (copy_rtx_and_substitute, case SET): Add explicit calls to
16109         copy_rtx_and_substitute for both sides.
16110
16111         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
16112         constraints.
16113         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
16114         within INDEX_TYPE, instead of before.
16115         (fixup_gotos): Use f->target_rtl, not the next insn,
16116         since latter may be from a later fixup.
16117         (expand_value_return): Correctly convert VAL when promoting function
16118         return; support RETURN_REG being a PARALLEL.
16119         (expand_return): When checking for result in regs and having
16120         cleanup, consider PARALLEL in DECL_RTL as being in regs.
16121
16122 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
16123
16124         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
16125         last_nominal_fname): Mark const.
16126         (struct include_hash: name, nshort, control_macro): Mark
16127         const.
16128         (struct macrodef: symnam): Mark const.
16129         (struct if_stack: fname): Mark const.
16130         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
16131         (IStable): New character-syntax array which encompasses all
16132         the old is_foo arrays.
16133         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
16134         is_space): New macros for interrogating IStable.
16135         (check_macro_name): Kill last argument.  All callers changed.
16136
16137         * cppinit.c (initialize_char_syntax): Delete.
16138         (is_idchar, is_idstart, is_hor_space, is_space,
16139         trigraph_table): Delete.
16140         (IStable): New.  Initialize with clever macros to avoid
16141         information duplication.
16142         (builtin_array): Table of builtins to get rid of explicit list
16143         in initialize_builtins.
16144         (initialize_builtins): Use builtins_array.
16145         (cpp_start_read): Call init_IStable, and set IStable['$'] if
16146         opts->dollars_in_ident.
16147
16148         * cppexp.c: Change all refs to is_xyz[] arrays to use new
16149         is_xyz() macros.
16150         (cpp_parse_expr): Avoid 'format string is not constant'
16151         warning. Use ISGRAPH to identify printable chars.
16152         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
16153         is_xyz() macros.
16154         (read_and_prescan): Map trigraphs to chars with open-coded
16155         if-else-if-... sequence, not a lookup table.
16156         * cpphash.c: Change all refs to is_xyz[] arrays to use new
16157         is_xyz() macros.
16158         * cpplib.c: Change all refs to is_xyz[] arrays to use new
16159         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
16160         (check_macro_name): Remove ability to report an invalid
16161         assertion name, which is never used.
16162         (do_line): Constify a couple of char *'s.
16163         * cppmain.c (main): Call cpp_cleanup before returning.
16164
16165 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
16166
16167         * ggc.h (struct ggc_statistics): New type.
16168         (ggc_get_size): New function.
16169         (ggc_print_statistics): Likewise.
16170         * ggc-common.c (ggc_stats): New variable.
16171         (ggc_mark_rtx_children): Keep statistics.
16172         (ggc_mark_tree_children): Likewise.
16173         (ggc_print_statistics): New function.
16174         * ggc-page.c (struct globals): Add bytes_mapped field.
16175         (alloc_anon): Update it.
16176         (release_pages): Likewise.
16177         (ggc_get_size): New function.
16178         (ggc_page_print_statistics): New function.
16179         * ggc-simple.c (ggc_get_size): New function.
16180
16181 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
16182
16183         * flow.c (propagate_block): When the last reference to a label
16184         before an ADDR_VEC is deleted because the reference is a dead
16185         store, delete the ADDR_VEC.
16186
16187 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
16188
16189         * resource.c (find_free_register): Don't use the frame pointer
16190         if frame_pointer_needed.
16191
16192 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
16193
16194         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
16195         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
16196
16197         * config/i960/i960.c (i960_va_start): New locals base, num.
16198         Use INDIRECT_REF instead of ARRAY_REF on valist.
16199         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
16200
16201 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
16202
16203         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
16204
16205 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
16206
16207         * tree.def (PLACEHOLDER_EXPR): Update comments.
16208
16209 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16210
16211         * c-common.c (check_format_info): Avoid non-literal format string
16212         warnings when `first_arg_num' is zero.
16213
16214 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16215
16216         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
16217
16218 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
16219
16220         * arm.md (casesi_insn): Add a clobber of the condition code
16221         register.
16222
16223 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
16224
16225         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
16226         used by both cc1 and cc1plus.
16227
16228 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
16229
16230         * config/arm/arm.c: Initialise arm_structure_size_boundary to
16231         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
16232         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
16233         to the value 32 if it has not already been defined.
16234         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
16235         Override definition in arm.h with a value of 8.
16236
16237 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
16238
16239         * c-pragma.c (push_alignment): Don't check the return value
16240         of xmalloc.
16241
16242 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
16243
16244         * sparc.h (ADJUST_COST): Fix thinko.
16245
16246 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
16247
16248         * cccp.c (rescan): Fixed obp pointer handling around call to
16249         check_expand subroutine.
16250
16251 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
16252
16253         * gcse.c (delete_null_pointer_checks): Only record non-null info
16254         for pseudos when examining stores.
16255
16256         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
16257         splitters for these patterns.  Use "#" for output templates.
16258         (addsi3_carryin_shift): New pattern.
16259
16260 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
16261
16262         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
16263         of the function return register into a plain REG until
16264         after function inlining is done.
16265
16266 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
16267
16268         * jump.c (jump_optimize_1): If we did cross-jumping, and
16269         the data will matter, rebuild the CFG.
16270         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
16271         not optimizing.  Don't run shorten_branches.
16272         * toplev.c (rest_of_compilation): Run shorten_branches after
16273         reg_to_stack.
16274
16275 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
16276
16277         * rtl.h (note_stores): Add additional paramter.
16278         * rtlanal.c (reg_set_p_1): Take additional paramter.
16279         (reg_set_last_1): Likewise.
16280         (reg_set_p): Adjust call to note_stores.
16281         (reg_set_last): Likewise.
16282         (note_stores): Pass data parameter to worker function.
16283         * alias.c (record_set): Take additional parameter.
16284         (init_alias_analysis): Pass it.
16285         * caller-save.c (mark_set_regs): Take additional parameter.
16286         (save_call_clobbered_regs): Pass NULL to note_stores.
16287         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
16288         parameter.
16289         (record_dead_and_set_regs_1): Likewise.
16290         (reg_dead_at_p_1): Likewise.
16291         (combine_instructions): Adjust calls to note_stores.
16292         (try_combine): Likewise.
16293         (record_dead_insn): Remove.
16294         (record_dead_and_set_regs): Adjust calls to note_stores.
16295         (reg_dead_at_p): Likewise.
16296         * cse.c (invalidate_skipped_set): Take additional parameter.
16297         (cse_check_loop_start): Likewise.
16298         (cse_check_loop_start_value): Remove.
16299         (cse_set_around_loop): Adjust calls to note_stores.
16300         * flow.c (notice_stack_pointer_modification): Take additional
16301         parameter.  Remove duplicate declaration.
16302         (record_volatile_insns): Adjust calls to note_stores.
16303         * gcse.c (record_set_info): Take additional parameter.
16304         (record_last_set_info): Likewise.
16305         (invalidate_nonnull_info): Likewise.
16306         (record_set_insn): Remove.
16307         (compute_sets): Adjust calls to note_stores.
16308         (last_set_insn): Remove.
16309         (compute_hash_table): Adjust calls to note_stores.
16310         (insert_insn_end_bb): Likewise.
16311         (delete_null_pointer_checks): Likewise.
16312         * global.c (mark_reg_store): Take additional parameter.
16313         (mark_reg_clobber): Likewise.
16314         (reg_becomes_live): Likewise.
16315         (global_conflicts): Adjust calls to note_stores.
16316         (build_insn_chain): Likewise.
16317         * integrate.c (note_modified_parmregs): Take additional parameter.
16318         (mark_stores): Likewise.  Make it static.
16319         (save_for_inline_nocopy): Adjust calls to note_stores.
16320         (try_constants): Likewise.
16321         * integrate.h (mark_stores): Remove declaration.
16322         * jump.c (mark_modified_reg): Take additional parameter.
16323         (thread_jumps): Adjust calls to note_stores.
16324         * local-alloc.c (validate_equiv_mem_from_store): Take additional
16325         parameter.
16326         (no_equiv): Likewise.
16327         (reg_is_set): Likewise.
16328         (validate_equiv_mem): Adjust calls to note_stores.
16329         (update_equiv_regs): Likewise.
16330         (block_alloc): Likewise.
16331         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
16332         (note_addr_stored): Take additional parameter.
16333         (note_set_pseudo_multiple_uses): Likewise.
16334         (record_initial): Likewise.
16335         (prescan_loop): Adjust calls to note_stores.
16336         (strength_reduce): Likewise.
16337         (check_dbra_loop): Likewise.
16338         * regmove.c (flags_set_1): Take additional paramter.
16339         (mark_flags_life_zones): Adjust calls to note_stores.
16340         * reload1.c (mark_not_eliminable): Take additional parameter.
16341         (forget_old_reloads_1): Likewise.
16342         (reload_cse_invalidate_rtx): Likewise.
16343         (reload_cse_check_clobber): Likewise.
16344         (reload_combine_note_store): Likewise.
16345         (move2add_note_store): Likewise.
16346         (reload): Adjust calls to note_stores.
16347         (reload_as_needed): Likewise.
16348         (emit_reload_insns): Likewise.
16349         (reload_cse_regs_1): Likewise.
16350         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
16351         (reload_combine): Adjust calls to note_stores.
16352         * resource.c (update_live_status): Take additional paramter.
16353         (mark_target_live_regs): Adjust calls to note_stores.
16354         * stupid.c (find_clobbered_regs): Take additional parameter.
16355         (stupid_life_analysis): Adjust calls to note_stores.
16356
16357 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
16358
16359         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
16360         definition.
16361
16362         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
16363         definition.
16364
16365         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
16366         of the variable arm_structure_size_boundary.
16367
16368 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
16369
16370         * alias.c (init_alias_analysis): Allocate reg_known_value and
16371         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
16372         and reg_seen.
16373         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
16374         * cse.c (cse_main): Call end_alias_analysis.
16375         * haifa-sched.c (schedule_insns): Likewise.
16376         * local-alloc. (update_equiv_regs): Likewise.
16377         * reload1.c (reload_cse_regs): Likewise.
16378
16379 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16380
16381         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
16382         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
16383         mapping from MASK_FPU.
16384
16385 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
16386
16387         * sparc.md (call): Don't bound structure return size to 0xfff.
16388
16389 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
16390
16391         * resource.c (mark_target_live_regs): Check that the target
16392         insn wasn't created after compute_bb_for_insn.
16393
16394 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
16395
16396         * ggc-page.c (poison_pages): Don't be overzealous.
16397
16398 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
16399
16400         * alias.c: Update comments for ADDRESS.
16401         (nonlocal_reference_p): Look inside the ADDRESS to determine if
16402         it is a local memory reference.
16403
16404         * c-typeck.c (build_function_call): Check that the built-in
16405         function is of class BUILT_IN_NORMAL before trying to recongize
16406         it as BUILT_IN_ABS.
16407         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
16408         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
16409
16410 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
16411
16412         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
16413         of alloca.
16414         (pre_gcse): Likewise.
16415         (hoist_expr_reaches_here_p): Likewise.
16416         (hoist_code): Likewise.
16417         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
16418         code to ...
16419         (pre_expr_reaches_here_p_work): ... here.
16420         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
16421         code to ...
16422         (expr_reaches_here_p_work): ... here.
16423
16424 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
16425
16426         * resource.c (find_basic_block): Delete.
16427         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
16428         (init_resource_info): Call compute_bb_for_insn.
16429
16430 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
16431
16432         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
16433         with already adjacent blocks, but no fallthru.
16434         (merge_blocks_move_successor_nojumps): Simplify.
16435         (debug_flow_info): New.
16436
16437         * toplev.c (rest_of_compilation): Open jump1 dump file before
16438         jump and close after, as opposed to just using dump_rtl.
16439
16440 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16441
16442         * reload.h (earlyclobber_operand_p): Declare.
16443         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
16444         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
16445         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
16446         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
16447
16448 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
16449                           Richard Henderson  <rth@cygnus.com>
16450
16451         * emit-rtl.c (emit_block_insn_before): New.
16452         (emit_block_insn_after): New.
16453         * basic-block.h: Declare them.
16454
16455         * bitmap.h: Protect from multiple inclusion.
16456
16457         * recog.c (scratch_operand): Handle VOIDmode correctly.
16458
16459         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
16460
16461         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
16462         * function.c (assign_parms): Likewise.
16463         * global.c (global_conflicts): Clarify STACK_REGS commentary.
16464
16465         * reg-stack.c (max_uid): Remove.
16466         (blocks, block_begin, block_end, block_drops_in): Remove.
16467         (block_stack_in, block_out_reg_set, block_number): Remove.
16468         (struct block_info_def, BLOCK_INFO): New.
16469         (enum emit_where): New.
16470         (current_block): New.
16471         (BLOCK_NUM): Remove.
16472         (mark_regs_pat, record_label_references): Remove.
16473         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
16474         (nan): New.
16475         (goto_block_pat, print_blocks, dump_stack_info): Remove.
16476         (reg_to_stack): Simplified test for existance of fp code.  Use
16477         flow.c code.  Call shorten_branches after cross-jump opt.
16478         (check_asm_stack_operands): Renamed from record_asm_reg_life.
16479         Return false if the asm doesn't use stack regs.  Don't do life
16480         analysis on the asm.
16481         (emit_pop_insn): Replace function pointer arg `when' with
16482         enum `where'.  Update all callers.
16483         (change_stack): Likewise.  Update basic block end.
16484         (emit_swap_insn): Use current_block->head to limit reverse search
16485         for start of block.  Use emit_block_insn_after.
16486         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
16487         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
16488         structure assignment instead of bcopy.
16489         (print_stack): New.
16490         (convert_regs_entry, convert_regs_exit): New.
16491         (convert_regs_1, convert_regs_2): Split out from convert_regs.
16492         Work on basic blocks and the CFG.
16493         (convert_regs): Use them.
16494
16495         * i386.c (output_fix_trunc): Remove code for DImode input operand
16496         not at top-of-stack.
16497         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
16498         appropriate mode.
16499         (fix_truncdi_1): Allow any mode scratch.
16500
16501 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
16502
16503         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
16504         * linux.h, netbsd.h, vms.h: Not here.
16505
16506 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
16507
16508         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
16509         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
16510         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
16511         CONDITIONAL_REGISTER_USEAGE): Use them.
16512         * config/mips/mips.c (mips_move_1word,mips_move_2words,
16513         gen_conditional_branch,override_options) : Use them.
16514         * config/mips/mips.md : Use them.
16515
16516 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
16517
16518         * i386.md (zero_extendqihi2): Use SImode register name with andl.
16519
16520 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
16521
16522         * integrate.c (function_cannot_inline_p): Don't allow inlining
16523         if setjmp is used.
16524
16525 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16526
16527         * c-parse.in (cast_expr): Constify.
16528
16529         * cccp.c (special_symbol): Likewise.
16530
16531         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
16532
16533         * dwarf2out.c (base_type_die): Likewise.
16534
16535         * global.c (allocno_compare): Likewise.
16536
16537         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
16538
16539         * regclass.c (fix_register): Likewise.
16540
16541         * rtl.h (fix_register): Likewise.
16542
16543         * stupid.c (stupid_reg_compare): Likewise.
16544
16545         * toplev.c (decode_f_option): Likewise.
16546
16547         * tree.c (build_complex_type): Likewise.
16548
16549 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
16550
16551         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
16552
16553 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16554
16555         * reload.c (find_reloads): Compute mode and nregs fields of all
16556         reloads.
16557         * reload1.c (calculate_needs_all_insns): Simplify a bit.
16558         (calculate_needs): Use precomputed mode/nregs values.
16559         (allocate_reload_reg): Likewise.
16560         Break out two...
16561         (failed_reload, set_reload_reg): ... new functions.
16562         (choose_reload_regs_init): New function, mostly broken out from...
16563         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
16564         Also lose one #if 0 block.
16565
16566 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
16567
16568         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
16569         substitution.
16570
16571 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
16572
16573         * tree.h (BLOCK_TYPE_TAGS): Remove.
16574         (BLOCK_END_NOTE): Likewise.
16575         (BLOCK_LIVE_RANGE_FLAG): Likewise.
16576         (BLOCK_LIVE_RANGE_START): Likewise.
16577         (BLOCK_LIVE_RANGE_END): Likewise.
16578         (tree_block): Remove live_range_flag, live_range_var_flag, and
16579         type_tags.  Remove end_note, live_range_start, and live_range_end.
16580         (remember_end_note): Remove prototype.
16581         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
16582         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
16583         remember_end_note.
16584         * ggc-common.c (ggc_mark_tree_children): Don't mark
16585         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
16586         * integrate.c (adjust_copied_decl_tree): Remove.
16587         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
16588         * stmt.c (last_block_end_note): Remove.
16589         (init_stmt): Don't add a GC root for it.
16590         (expand_fixup): Don't set it.
16591         (remember_end_note): Remove.
16592         (expand_end_bindings): Don't set last_block_end_note.
16593
16594 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16595
16596         * reload1.c (reload_reg_free_for_value_p): Show
16597         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
16598         reloads.
16599
16600 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
16601
16602         * expmed.c (extract_bit_field): Allow for the case of non-integer
16603         objects that are smaller than a word (like SFmode on a 64-bit
16604         machine).
16605
16606         * loop.c (basic_induction_var): A non-integer variable which is
16607         being set by a paradoxical subreg is probably not a biv.
16608
16609 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16610
16611         * prefix.c (translate_name) Check for empty prefix string.
16612
16613 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
16614
16615         * Makefile.in (CPP_CROSS_NAME): New variable.
16616         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
16617         xcpp.
16618         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
16619         names of the files to be uninstalled.
16620
16621 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
16622
16623         * collect2.c (IS_DIR_SEPARATOR): Define.
16624         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
16625
16626         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
16627         functions too.
16628
16629         * haifa-sched.c (add_dependence): Update the true dependency
16630         cache the first time we add a true dependence to the LOG_LINKS chain.
16631
16632 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
16633
16634         * fold-const.c (fold): Fix comment.
16635
16636 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16637
16638         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
16639         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
16640         dbxout_start_new_source_file, dbxout_source_file,
16641         dbxout_source_line, dbxout_finish, dbxout_type_fields,
16642         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
16643         Constify a char*.
16644         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
16645         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
16646         (dbxout_block): Initialize variable `blocknum'.
16647
16648         * dbxout.h (dbxout_init, dbxout_finish,
16649         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
16650         dbxout_args, dbxout_source_line): Constify a char*.
16651
16652         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
16653         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
16654         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
16655         low_pc_attribute, high_pc_attribute, body_begin_attribute,
16656         body_end_attribute, comp_dir_attribute, sf_names_attribute,
16657         src_info_attribute, mac_info_attribute, producer_attribute,
16658         lookup_filename, generate_macinfo_entry, fundamental_type_code,
16659         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
16660         dwarfout_undef): Constify a char*.
16661         (add_incomplete_type, retry_incomplete_types): Add prototypes.
16662
16663         * dwarfout.h (dwarfout_define, dwarfout_undef,
16664         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
16665
16666 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
16667
16668         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
16669         (MULTILIB_ISA_DEFAULT): New.
16670         (MULTILIB_DEFAULTS): Use it.
16671         * config/mips/mips.c (): Remove the now unnecessary definition
16672         of MIPS_ISA_DEFAULT.
16673         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
16674         unnecessary definition.
16675
16676 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
16677
16678         * arm.md (pic_load_addr): Add constraints to operand 1.
16679
16680 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
16681
16682         * fixinc/genfixes:  Provide a means for specifying -D options to
16683         AutoGen
16684
16685 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
16686
16687         * arm.c (arm_override_options): Correct initialization of
16688         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
16689         arm_is_strong, and arm_is_6_or_7.
16690
16691         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
16692         (note_set_pseudo_multiple_uses): New function.
16693         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
16694         if a pseudo set in the loop exit is used elsewhere.
16695
16696 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
16697
16698         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
16699
16700 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
16701
16702         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
16703         a single load-address pattern.
16704
16705 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
16706
16707         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
16708         depending on whether or not line-number notes are present.
16709
16710 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16711
16712         * cccp.c (progname, file_buf, default_include, include_file,
16713         macrodef, definition, hashval, wchar_type, user_label_prefix,
16714         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
16715         expand_to_temp_buffer, is_system_include, base_name,
16716         absolute_filename, read_name_map, open_include_file,
16717         record_control_macro, check_precompiled, check_preconditions,
16718         pcfinclude, pass_thru_directive, create_definition,
16719         check_macro_name, comp_def_part, collect_expansion,
16720         check_assertion, read_token_list, assertion_install,
16721         assertion_lookup, eval_if_expression, conditional_skip,
16722         validate_else, skip_quoted_string, quote_string, macarg1,
16723         error_from_errno, install, lookup, hashf, dump_defn_1,
16724         perror_with_name, pfatal_with_name, main, trigraph_pcp,
16725         check_white_space, rescan, handle_directive, monthnames,
16726         special_symbol, do_include, remap_include_file, write_output,
16727         arglist, do_assert, do_unassert, do_line, do_error, do_once,
16728         do_ident, do_sccs, do_xifdef, skip_if_group,
16729         output_line_directive, macroexpand, macarg, change_newlines,
16730         initialize_builtins, make_definition): Constify a char*.
16731
16732         * pcp.h (stringdef): Likewise.
16733
16734 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
16735
16736         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
16737         not of pattern.
16738
16739 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
16740                           Richard Henderson  <rth@cygnus.com>
16741
16742         * alias.c: Include ggc.h.
16743         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
16744         (record_set): Verify enough room in reg_base_value.
16745         (init_alias_analysis): Allocate reg_base_value with xcalloc.
16746         Register it as a GC root.
16747         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
16748         * Makefile.in (alias.o): Depend on ggc.h.
16749
16750         * unroll.c (unroll_loop): Verify the insn before a barrier
16751         is a JUMP_INSN before checking JUMP_LABEL.
16752
16753 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16754
16755         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
16756         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
16757         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
16758         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
16759         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
16760         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
16761
16762 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16763
16764         * output.h (ctors_section, dtors_section, bss_section): Prototype.
16765
16766         * alpha/alpha-interix.h (text_section): Delete prototype.
16767         * alpha/elf.h (text_section): Likewise.
16768         * arm/linux-elf.h (text_section): Likewise.
16769         * arm/linux-telf.h (text_section): Likewise.
16770         * c4x/c4x.h (text_section): Likewise.
16771         * dsp16xx/dsp16xx.h (bss_section): Likewise.
16772         * elfos.h (text_section): Likewise.
16773         * i386/aix386ng.h (text_section): Likewise.
16774         * i386/i386-interix.h (text_section): Likewise.
16775         * i386/sco5.h (text_section): Likewise.
16776         * i386/svr3gas.h (text_section): Likewise.
16777         * nextstep.h (text_section): Likewise.
16778         * psos.h (text_section): Likewise.
16779         * ptx4.h (text_section): Likewise.
16780         * svr3.h (text_section): Likewise.
16781         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
16782
16783 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16784
16785         * final.c (peephole): Delete prototype.
16786
16787         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
16788         (pre_insert_copies): Remove unused variable `bb'.
16789
16790         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
16791         prototypes.
16792
16793         * output.h (peephole): Add prototype.
16794
16795 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
16796
16797         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
16798         -O0.
16799
16800 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
16801
16802         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
16803         for inlined declarations.
16804
16805 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
16806
16807         * arm.c (logical_binary_operator): New fucntion.
16808         * arm.h (logical_binary_operator): Declare it.
16809         (PREDICATE_CODES): Handle logical_binary_operator.
16810         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
16811         output constraints.  Add appropriate splitters.
16812         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
16813         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
16814         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
16815
16816 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16817
16818         * genoutput.c (struct operand_data): New elt eliminable.
16819         (output_operand_data): Write it.
16820         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
16821         (compare_operands): Take it into account.
16822         * recog.h (struct insn_operand_data): New elt eliminable.
16823         * reload1.c (check_eliminable_occurrences, elimination_effects): New
16824         functions.
16825         (old_asm_operands_vec, new_asm_operands_vec): Delete.
16826         (eliminate_regs): Move code that detects changes to elimination
16827         target regs into new function elimination_effects.
16828         Delete one #if 0 block.
16829         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
16830         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
16831         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
16832         Only call eliminate_regs for real operands of the insn, not for parts
16833         of its structure or parts matched by things like match_operator.
16834         Use elimination_effects and check_eliminable_occurrences.  Use
16835         copy_insn to duplicate the pattern when not in the final pass.
16836
16837 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
16838
16839         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
16840         and fld.
16841
16842 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
16843
16844         * fixinc/README: document the "mach" machine matching test
16845         * fixinc/fixfixes.c: Implement the #else/#endif label fix
16846         * fixinc/fixtests.c: Implement the #else/#endif label test
16847         * fixinc/inclhack.def: utilize these tests and fixes
16848         * fixinc/inclhack.sh:  regen
16849         * fixinc/fixincl.x:  regen
16850         * fixinc/fixincl.sh:  regen
16851
16852 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
16853
16854         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
16855         depend on ggc.h.
16856
16857 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
16858
16859         * gcc.1: Document exit codes.
16860
16861 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16862
16863         * calls.c: Include tm_p.h later, so everything we need is defined.
16864         * expr.c: Likewise.
16865         * function.c: Likewise.
16866
16867         * except.c: Include tm_p.h.
16868
16869         * sparc.c: Likewise.
16870         (dwarf2out_cfi_label): Don't prototype.
16871         (check_return_regs, epilogue_renumber,
16872         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
16873         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
16874         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
16875         ultra_schedule_insn): Add static prototype.
16876         (data_segment_operand, text_segment_operand): Call itself with the
16877         proper number of arguments.
16878         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
16879
16880         * sparc.h: Move all declarations to sparc-protos.h.
16881         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
16882         symbolic_operand.
16883
16884         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
16885
16886         * config/svr4.h (text_section, ctors_section, dtors_section): Add
16887         Prototypes.
16888         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
16889         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
16890         ASM_OUTPUT_ASCII): Constify a char*.
16891
16892         * sparc-protos.h: New file for sparc prototypes.
16893
16894 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16895
16896         * function.c (record_insns, contains): Always declare and define.
16897         (record_insns): Mark with ATTRIBUTE_UNUSED.
16898
16899 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
16900
16901         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
16902         to .section when outputting a .bss section to deal with multiple
16903         .bss input sections (as happens with -fdata-sections)
16904         Also output %progbits, not @progbits so the assembler doesn't treat as
16905         a comment.
16906         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
16907
16908         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
16909         thumb parts even when building with non-thumb CPUs, by forcing
16910         thumb mode.
16911
16912 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
16913
16914         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
16915         (movdf_const_intreg_sp64): Similarly.
16916
16917         * local-alloc.c (update_equiv_regs): Check the correct insn
16918         for pre-existing REG_EQUIV notes.
16919
16920 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
16921
16922         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
16923         block reached by a branch if we're not going to actually process
16924         this block.
16925
16926 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
16927
16928         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
16929         a local extern function declaration.
16930
16931 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
16932
16933         * i386.c (ix86_expand_prologue): Properly wrap USE around
16934         reg for CALL_INSN_FUNCTION_USAGE.
16935
16936 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
16937
16938         * config/mips/mips.md (movdf_internal1a): Allow floating-point
16939         move between GP_REGs.
16940
16941 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
16942
16943         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
16944         the mode size when finding out if an offset is legal.
16945
16946 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
16947
16948         * basic-block.h (PROP_*): Move constants from ...
16949         * flow.c: ... here.
16950         (compute_bb_for_insn): Free the array before reallocating.
16951         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
16952         (allocate_reg_life_data): Reset all reg variables collected by
16953         propagate_block.
16954         (get_block_head_tail): Don't convert from bb to block.
16955         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
16956         (find_insn_reg_weight): Take block not bb.
16957         (schedule_block): Don't set block num for moved insns.
16958         (schedule_region): Don't update_life_info or find_insn_reg_weight.
16959         (schedule_insns): Do it here instead.
16960         * combine.c (combine_instructions): Invoke compute_bb_for_insn
16961         before update_life_info.
16962         * recog.c (split_all_insns, peephole2_optimize): Update for
16963         new arg to update_life_info.
16964         * rtlanal.c (remove_note): Cope with NULL note.
16965         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
16966         if we did sched1.
16967
16968 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
16969
16970         * jump.c (jump_optimize_1): More accurately detect casesi insns.
16971
16972         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
16973         block records so that merge_blocks_nomove will clean up correctly.
16974         (split_edge): Handle casesi insns.
16975
16976         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
16977
16978 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
16979
16980         * pa.md (call, call_value): Do not emit a blockage after restoring
16981         the PIC register.
16982
16983 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
16984
16985         * c-typeck.c (c_expand_asm_operands): Fix typo.
16986
16987 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16988
16989         * arm.c (fpu_rhs_operand): Verify modes.
16990         (fpu_add_operand): Likewise.
16991         (di_operand): Likewise.
16992         (soft_df_operand): Likewise.
16993
16994 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
16995
16996         * arm.c (arm_return_in_memory): APCS rules state that the elements
16997         of a structure returned in a register must be 'integer-like'.
16998
16999 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
17000
17001         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
17002         in the source tree when the generated targets are out of date
17003         * fixinc/genfixes: Alter it to run individual fixes for make.
17004         * fixinc/README: rewrite
17005         * fixinc/inclhack.def: moved initial comments to README
17006
17007 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
17008
17009         * toplev.c (main): Do not generate an error message if an
17010         unrecognised command line switch is recognisable by another
17011         language.  If extra_warnings are enabled, then generate a
17012         warning message instead.
17013
17014 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17015
17016         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
17017         (insert_pack_attributes): Delete prototype.
17018
17019         * c-pragma.c (default_alignment): New static variable.
17020         (push_alignment): Initialize to current effective alignment.
17021         (pop_alignment): Use to set new alignment.
17022         (insert_pack_attributes): Delete function.
17023         (handle_pragma_token): Set default_alignment as well each time
17024         a #pragma pack(<n>) is encountered.
17025
17026 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
17027
17028         * reg-stack.c (stack_result): Aggregates are not returned in
17029         stack registers.
17030
17031 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
17032
17033         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
17034
17035 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
17036
17037         * basic-block.h (set_block_num): Declare.
17038         * flow.c (update_life_info): Don't call compute_bb_for_insn
17039         or free_basic_block_vars.
17040         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
17041         (insn_orig_block): Remove.
17042         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
17043         (schedule_block): Keep BLOCK_NUM up-to-date.
17044         (schedule_insns): Use compute_bb_for_insn.
17045         * recog.c (split_all_insns): Likewise.
17046         (peephole2_optimize): Likewise.
17047
17048 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
17049
17050         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
17051         if the pic register is used.
17052
17053 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17054
17055         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
17056         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
17057         if that tests TREE_PERMANENT.
17058
17059 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
17060
17061         * cse.c (invalidate_for_call): Do not remove memory references from
17062         the table here.  It's handled elsewhere.
17063
17064         * haifa-sched.c (add_dependence): Protect references to the
17065         true dependency cache with #ifdef INSN_SCHEDULING.
17066         (remove_dependence): Similarly.
17067
17068         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
17069         to the cfg code that this is a return instruction.
17070         * mn10300.md (return_internal): Similarly.
17071
17072         * combine.c (get_last_value): If the last set of a register
17073         is after subst_low_cuid, then we can not use it to determine
17074         the register's last value.
17075
17076 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
17077
17078         * Makefile.in: Back out previous change.
17079
17080 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
17081
17082         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
17083
17084         * haifa-sched.c (add_dependence): Only check/update the cache
17085         if it exists.
17086         (remove_dependence): Likewise.
17087         (schedule_insns): Only create the true_dependency_cache if the
17088         average number of instructions in a basic block is very large.
17089
17090 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
17091
17092         * Makefile.in (ggc-common.o): Depend on genrtl.h.
17093         (ggc-simple.o): Likewise.
17094         (ggc-page.o): Likewise.
17095
17096 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
17097
17098         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
17099         Prototype for exported functions.
17100         (pre_lcm, pre_rev_lcm): Remove prototypes.
17101         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
17102         (compute_available): Move to lcm.c, and change parameter order.
17103         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
17104         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
17105         (gcse_main): No longer call compute_preds_succs.  Rebuild the
17106         set table after reach pre pass.
17107         (pre_insert_map, pre_delete_map, edge_list): New.
17108         (alloc_pre_mem): Allocate edge vectors.
17109         (free_pre_mem): Delete edge vectors.
17110         (compute_pre_data): Call new edge based lcm routines.
17111         (process_insert_insn): New function.
17112         (insert_insn_end_bb): Use it.
17113         (pre_edge_insert): New function.
17114         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
17115         needed.
17116         (pre_insert_copies): Revamp using new edge based lcm outputs.
17117         (pre_delete): Likewise.
17118         (one_pre_gcse_pass): Insert & remove fake edges to the exit
17119         block.
17120         (compute_code_hoist_vbeinout): New new edge based routines.
17121         * lcm.c: Remove all the old LCM functions.  Replace with new ones
17122         that work with the new cfg datastructures and work with edges
17123         instead of blocks.
17124
17125 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17126
17127         * reload.h (struct reload): Add new fields "mode" and "nregs".
17128         * reload1.c: Change all occurrences of reload_mode and reload_nregs
17129         to reference the "mode" and "nregs" field within struct reload.
17130
17131 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
17132
17133         * haifa-sched.c (true_dependency_cache): New.
17134         (add_dependence): Use the true dependency cache to avoid expensive
17135         walks down the LOG_LINKS dependency list.  Add entries to the
17136         cache as necessary.
17137         (remove_dependence): Remove entries from the true dependency cache
17138         as needed.
17139         (schedule_insns): Allocate and initialize and free the true
17140         dependency cache.
17141
17142         * haifa-sched.c (schedule_insns): Do not remove inter-block
17143         dependencies anymore.
17144
17145 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
17146
17147         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
17148         * i386/t-winnt: Likewise.
17149
17150 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
17151
17152         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
17153
17154 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
17155
17156         * Makefile.in (LANGUAGES): Omit "proto".
17157         (clean): Remove stale comment about removing unprotoize.c.
17158
17159 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17160
17161         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
17162         using arithmetic on void pointers.
17163
17164 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
17165
17166         * haifa-sched.c (compute_block_forward_dependencies): Only check
17167         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
17168
17169 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
17170
17171         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
17172         (expr_equiv_p): Reject memories with different alias sets.
17173
17174 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
17175
17176         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
17177         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
17178         (f_options): Add "bounded-pointers" and "bounds-check" entries.
17179         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
17180         (lang_init): Set default for flag_bounds_check if still "unspecified".
17181
17182 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17183
17184         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
17185
17186 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17187
17188         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
17189         instructions.
17190
17191 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17192
17193         * config/c4x/c4x.md (*db_noclobber,
17194         *decrement_and_branch_until_zero_noclobber): New patterns and
17195         associated splitters.
17196
17197 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17198
17199         * config/c4x/c4x.md (parallel instruction patterns): Rework
17200         constraints to keep reload happy.
17201
17202 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17203
17204         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
17205         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
17206         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
17207         Add new patterns and associated post-reload splitters.
17208
17209 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17210
17211         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
17212
17213 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17214
17215         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
17216         if appropriate.
17217         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
17218
17219 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17220
17221         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
17222         memory mode.
17223
17224 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
17225
17226         * pa.c (move_operand): Rely on memory_address_p to determine the
17227         validity of non-indexed memory addresses.
17228         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
17229         operand in DFmode and SFmode when generating PA2.0 code.
17230
17231 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
17232
17233         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
17234
17235 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
17236
17237         * mips.c (function_prologue): Fix argument types.
17238         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
17239         (casesi_internal): Write to the scratch register.
17240
17241 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
17242
17243         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
17244         to U_CHAR **.
17245         (parse_charconst): Delete unnecessary cast when calling
17246         cpp_parse_escape.
17247         (cpplib.h): Kill prototype of cpp_parse_escape.
17248
17249 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
17250
17251         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
17252         * unroll.c (unroll_loop): Cast return value of alloca.
17253         * i370/i370.c: Include function.h and toplev.h.
17254         (i370_label_scan): Remove c++ commented abort.
17255         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
17256         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
17257         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
17258         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
17259
17260 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
17261
17262         * config/t-freebsd: Do not override USER_H.
17263         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
17264
17265 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
17266                           Mumit Khan  <khan@xraylith.wisc.edu>
17267
17268         * c-parse.in (component_decl): Support anonymous struct/union.
17269         (%expect): Update.
17270         * c-parse.y: Regenerate.
17271         * c-parse.c: Likewise.
17272         * objc/objc-parse.y: Likewise.
17273         * objc/objc-parse.c: Likewise.
17274         * c-decl.c (finish_struct): Don't sort the fields.
17275         (field_decl_cmp): Delete unused function.
17276
17277 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
17278
17279         * sparc.md (movsf_const_intreg): Revert last constraint change.
17280         (movdf_const_intreg_sp32): Likewise.
17281
17282 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
17283
17284         * cse.c: Include hashtab.h instead of splay-tree.h
17285         (struct cse_reg_info): No longer use variant union.  Add new
17286         field "regno".  All references changed to avoid union.
17287         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
17288         (free_cse_reg_info): Remove.
17289         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
17290         (get_cse_reg_info): Revamp to use expandable hash tables instead
17291         of splay trees.  Initialize new fields in cse_reg_info structure.
17292         (new_basic_block): Similarly.
17293
17294 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
17295
17296         * genrecog.c (message_with_line): Prototype.
17297         (validate_pattern): Pass along the set for the dest, not a flag.
17298         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
17299         Check for PC/CC0 as sources.
17300         (nodes_identical): Check for children position match before
17301         allowing the combination.
17302
17303         * rtl.c (read_rtx): Track line number across \\\n.
17304
17305 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
17306
17307         * mips.h (SPECIAL_MODE_PREDICATES): New.
17308         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
17309         (movdi+1, movsi+1): Add output reload constraint.
17310         (casesi_internal): Likewise.  Fix commentary.
17311         (return_internal): Use pmode_register_operand.
17312
17313 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
17314
17315         * 1750a.md (movstrqi): Add missing output reload constraint.
17316         (call_value): Likewise.
17317         * a29k.md (cpxxx patterns): Add missing match_operator mode.
17318         (jmpfdec): Add missing inout reload constraint.
17319         * elxsi.md (addsi patterns): Add missing output reload constraint.
17320         (move from sp): Use @ alternates.
17321         (call_value): No constraint on output.
17322         * fr30.md (movsi_pop): Add missing output reload constraint.
17323         (movsf_constant_store): Likewise.
17324         (splits): Remove constraints.
17325         (subsi3): Add missing mode.
17326         * i370.md (cmpstrsi+1): Add missing output reload constraint.
17327         (call_value): Likewise.
17328         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
17329         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
17330         * m32r.md (movsicc_internal): Add output reload constraint.
17331         (movstrsi_internal): Add inout reload constraints.
17332         * m88k.h (reg_names): Don't declare.
17333         (SPECIAL_MODE_PREDICATES): New.
17334         * m88k.md (*): Use register_operand not reg_or_0_operand
17335         on destinations.
17336         * mn10200.h (PREDICATE_CODES): New.
17337         * ns32k.md (ffs pattern): Add output reload constraint.
17338         * pdp11.md (sob pattern): Add inout reload constraint.
17339         * sh.md (splits): Remove constraints.
17340         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
17341         * v850.md (pattern_is_ok_for_epilogue): Likewise.
17342         * vax.md (jgequ pattern): Add inout reload constraint.
17343
17344 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
17345
17346         * configure.in (djgpp): Revert previous patch.
17347         * configure: Rebuit.
17348         * config/i386/djgpp.h: Revert previous patch.
17349
17350 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
17351
17352         * fixinc/inclhack.def: Restore patch lost during last merge of
17353         "no_bogosity" branch.
17354         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17355
17356 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17357
17358         * fixincludes: Add a HPUX 11 fix for inttypes.h.
17359         * fixinc/inclhack.def: Same.
17360         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
17361
17362 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
17363
17364         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
17365         as the base of a PLUS.
17366
17367 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17368
17369         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
17370         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
17371
17372 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
17373
17374         * pa.md (post_stw+1): Use pmode_register_operand.
17375         (dcacheflush, icacheflush): Likewise.
17376
17377         * i386.md (movstricthi_1): Allow r/r.
17378
17379 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
17380
17381         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
17382         to (not (and (arg0) (arg1))). Similary for and.
17383
17384         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
17385         fallthrough to associate code.
17386         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
17387         bits in common.
17388
17389         * combine.c (simplify_logical): Convert XOR to IOR if operands have
17390         no bits in common; remove XOR to ROTATE conversion.
17391
17392 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17393
17394         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
17395
17396 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17397
17398         * config/c4x/c4x.c (dst_operand): New.
17399         (PREDICATE_CODES): Update.
17400         * config/c4x/c4x.h (dst_operand): Declare it.
17401         * config/c4x/c4x.md:  Define mode for each unspec usage.
17402         (move patterns):  Use dst_operand predicate instead of src_operand.
17403         (movqi_update, movqf_update): Delete.
17404
17405 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
17406
17407         * recog.c (pmode_register_operand): New.
17408         * recog.h: Declare it.
17409         * genrecog.c (pred_codes): Likewise.
17410         (special_mode_pred_table): Likewise.
17411         (validate_pattern): Don't warn no mode for address_operand.
17412
17413         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
17414         if the operand is not insn-like.
17415
17416 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
17417                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
17418
17419         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
17420
17421 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
17422
17423         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
17424         instead of general_operand in a SET_DEST.  Use const_double_operand
17425         instead of an explicit test against CONST_DOUBLE.
17426         (movsf_const_lo): Add missing register mode.
17427         (goto_handler_and_restore): Add auxiliary test for Pmode.
17428         (flush): Adjust to use address_operand.
17429         (return_sf_no_fpu): Add missing output constraint.
17430
17431 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
17432
17433         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
17434         for call return value.
17435         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
17436
17437 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
17438
17439         * toplev.c (main): Only warn about options for other languages.
17440         * collect2.c (main): Pass -w to sub-gcc.
17441
17442 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
17443
17444         * flow.c (propagate_block): Add call-clobbered registers to
17445         significant too.
17446
17447         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
17448         zapping mem_set_list.
17449         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
17450         (mark_set_1, mark_used_regs): Likewise.
17451
17452 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
17453
17454         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
17455
17456 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17457
17458         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
17459         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
17460         options. Also add a new item "C-only Warning Options" to the
17461         option summary.
17462
17463 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
17464
17465         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
17466         from multiple calls.
17467
17468 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
17469
17470         * i386.md (call value patterns): Move to the end of the file.
17471         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
17472
17473 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
17474
17475         * configure.in (djgpp configuration): Define extra_objects..
17476         * configure: Rebuilt.
17477         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
17478         (DTORS_SECTION_ASM_OP): Define.
17479         (INIT_SECTION_ASM_OP): Define.
17480         (FINI_SECTION_ASM_OP): Define.
17481         (DATA_SECTION_ASM_OP): Define.
17482         (TEXT_SECTION_ASM_OP): Define.
17483         (EH_FRAME_SECTION_ASM_OP): Define.
17484         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
17485         (STARTFILE_SPEC): Add crtbegin.o.
17486         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
17487         to here from LINK_COMMAND_SPEC.
17488         (DO_GLOBAL_CTORS_BODY): Define.
17489         (CRTSTUFF_USE_FINI_SECTION): Define
17490         (HAS_INIT_SECTION): Delete.
17491
17492 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
17493
17494         * Makefile.in (all.cross): Depend on xcpp$(exeext).
17495
17496 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
17497
17498         * pa.h (PREDICATE_CODES): New.
17499
17500         * genrecog.c (validate_pattern): Condense the destination
17501         non-lvalue message.
17502
17503 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
17504
17505         * alpha.md (call-1): Supply missing mode for operator.
17506         (*): Add missing output reload constraints.  Remove constraints
17507         from define_splits.
17508
17509         * i386.h (SPECIAL_MODE_PREDICATES): New.
17510         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
17511         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
17512         (addsi_lea_3): Add missing mode for op 3.
17513         (prologue_set_got, prologue_get_pc): Add missing modes.
17514         (*) Add missing output reload constraints.
17515
17516 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
17517
17518         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
17519         check for member bit-size overflow and use var_size if it occurs.
17520         (layout_record): Use bitsize_int() to define the type size in bits.
17521         Likewise for computation and assignment to DECL_FIELD_BITPOS.
17522         (layout_decl): Likewise when assigning to DECL_SIZE.
17523
17524 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
17525
17526         * genrecog.c (validate_pattern): Typo last change.  Verify
17527         that output operands have output reloads.
17528
17529 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
17530
17531         * genrecog.c (special_mode_pred_table): New.
17532         (NUM_SPECIAL_MODE_PREDS): New.
17533         (find_operand): New.
17534         (validate_pattern): New argument `insn'.  Warn for assignment to
17535         any predicate accepting non-lvalues.  Conditionaly warn for
17536         match_operand without a mode.  Try much harder to match source
17537         and destination modes on a set.
17538         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
17539
17540 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
17541
17542         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
17543
17544 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
17545
17546         * combine.c (simplify_logical): Recognize xor pattern that encodes
17547         rotation.
17548
17549 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17550
17551         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
17552         alignment.
17553
17554 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
17555
17556         * ggc-page.c (MAP_FAILED): Provide default.
17557
17558 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
17559
17560         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
17561         * sparc.h (PREDICATE_CODES): Update.
17562
17563 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
17564
17565         * alpha.c (some_ni_operand): New.
17566         * alpha-protos.h: Declare it.
17567         * alpha.h (PREDICATE_CODES): Update.
17568         * alpha.md (sXaddq reload insns): Use some_ni_operand
17569         for SET_DEST instead of some_operand.
17570
17571 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
17572                           Jim Wilson  <wilson@cygnus.com>
17573
17574         * genrecog.c (maybe_both_true_2): Don't compare modes of
17575         two DT_pred tests.
17576         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
17577         after find_afterward.
17578         (debug_decision_1): Dump next and afterward codes.
17579
17580 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
17581
17582         * rtl.c (dump_and_abort): Remove.
17583         (fatal_with_file_and_line): New.
17584         (fatal_expected_char): New.
17585         (read_rtx_lineno, read_rtx_filename): New.
17586         (read_skip_spaces): Track line number.
17587         (read_name): Use fatal_with_file_and_line.
17588         (read_rtx): Use fatal_expected_char.  Track line number.
17589         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
17590
17591         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
17592         if it isn't a CODE_LABEL.
17593
17594         * genattr.c (main): Set read_rtx_filename.
17595         * genattrtab.c (main): Likewise.
17596         * gencodes.c (main): Likewise.
17597         * genconfig.c (main): Likewise.
17598         * genemit.c (main): Likewise.
17599         * genextract.c (main): Likewise.
17600         * genflags.c (main): Likewise.
17601         * genopinit.c (main): Likewise.
17602         * genoutput.c (main): Likewise.
17603         * genpeep.c (main): Likewise.
17604
17605         * genrecog.c (decision_test.u.insn): Add `lineno'.
17606         (pattern_lineno, error_count): New variables.
17607         (message_with_line): New.
17608         (add_to_sequence): Break out checking code to ...
17609         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
17610         (merge_insn): Use message_with_line.
17611         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
17612         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
17613
17614 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17615
17616         * expr.c (store_constructor): Clear union if constructor is empty.
17617
17618 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
17619
17620         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
17621         Add !endian checks.  Change %{...} to %(...).
17622
17623 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
17624
17625         * i386.md (*addsi3_cc): Renamed from addcsi3.
17626         (*addsi3_carry): Renamed from addxsi3.
17627         (*subsi3_cc): Renamed from subcsi3.
17628         (*subsi3_carry): Renamed from subxsi3.
17629         (*xorqi_cc_1): Renamed from xorcqi_1.
17630         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
17631         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
17632
17633 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
17634
17635         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
17636         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
17637
17638 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
17639
17640         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
17641         climb up the chain of insns.
17642
17643 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
17644
17645         * genrecog.c (write_subroutine): Careful for null trees.
17646         (process_tree): Don't elide empty functions.
17647
17648 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
17649
17650         * Makefile.in (genrtl.o): Depend on ggc.h.
17651         * configure.in (valloc): Probe for it.
17652         (with-gc): Use ggc-page if valloc present.
17653         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
17654         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
17655         (ggc_alloc_string): Moved from ggc-page.c.
17656         * ggc-none.c (ggc_alloc_obj): New.
17657         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
17658         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
17659         (struct globals): Likewise for dev_zero_fd.
17660         (init_ggc): Likewise for it's initialization.
17661         (ggc_allocated_p): Move careful dereference from ...
17662         (ggc_lookup_page_table): ... here.  Delete.
17663         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
17664         (alloc_anon): Use valloc if no mmap.
17665         (release_pages): Use free if using valloc.
17666         (ggc_alloc_obj): Renamed from alloc_obj.
17667         (ggc_set_mark): Renamed from mark_obj.
17668         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
17669         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
17670         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
17671         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
17672         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
17673         (ggc_collect): Use fp printing instead of our own rounding.
17674         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
17675         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
17676         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
17677         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
17678         (struct ggc_string, struct ggc_any): Delete.
17679         (offsetof): Provide default definition.
17680         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
17681         (PTR_KEY): New.
17682         (struct ggc_mem): New, from corpse of ggc_any.
17683         (struct ggc_status): Delete.
17684         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
17685         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
17686         (n_strings_collected, n_anys_collected): Delete.
17687         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
17688         (ggc_alloc_string, ggc_alloc): Delete.
17689         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
17690         (ggc_free_string, ggc_free_any): Delete.
17691         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
17692         (ggc_compare_addresses, ggc_mark_string): Delete.
17693         (ggc_mark_string_if_gcable, ggc_mark): Delete.
17694         (search_data): Delete.
17695         (struct globals): New.
17696         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
17697         (tree_insert, tree_lookup): New.
17698         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
17699         (clear_marks, sweep_objs): New.
17700         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
17701         (init_ggc): Set allocated_last_gc.
17702         (ggc_push_context): Gut.  Use G.context.
17703         (ggc_pop_context): Likewise.
17704         (ggc_pop_context_1): New.
17705         (debug_ggc_tree): New.
17706         (debug_ggc_balance, tally_leaves): New.
17707         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
17708         (ggc_mark_string_if_gcable): Remove decl.
17709         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
17710         (ggc_mark_rtvec_children): New.
17711         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
17712         (ggc_mark_if_gcable): New decl.
17713         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
17714         (ggc_alloc_tree, ggc_alloc): Likewise.
17715         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
17716         (ggc_alloc_obj): New decl.
17717         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
17718         (ggc_alloc_tree, ggc_alloc): Likewise.
17719         (ggc_set_mark): New decl.
17720         * rtl.h (struct rtx_def): Remove gc_mark.
17721         (struct rtvec_def): Likewise.
17722         * tree.h (struct tree_common): Likewise.
17723
17724 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
17725
17726         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
17727         float_format and thread_file definitions.
17728         * configure: Rebuilt.
17729
17730 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
17731
17732         * extend.texi (Function Names): Document types of function names.
17733
17734 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17735
17736         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
17737         an earlyclobbered output conflict with RELOAD_INPUT reloads.
17738
17739 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17740
17741         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
17742
17743 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17744
17745         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
17746
17747 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
17748
17749         * collect2.c (main): Do prelimnary link on AIX if rflag.
17750
17751 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17752
17753         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
17754         __CTOR_LIST__ in opposite order, which is the correct order for sorted
17755         constructors.
17756         (__do_global_dtors): similarly for __DTOR_LIST__.
17757
17758 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17759                                 Diego Novillo <dnovillo@cygnus.com>
17760
17761         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
17762         FPUL_REGS.
17763
17764 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
17765
17766         * fixincl/*: Merged "no_bogosity" branch
17767         * fixincl/fixlib.h: protect against doubly defining t_bool
17768         * fixincl/server.h: protect against doubly defining t_bool
17769
17770 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
17771
17772         * genoutput.c: Include toplev.h.
17773
17774 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
17775
17776         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
17777         Undef.
17778         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
17779         * configure: Regenerate.
17780
17781 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
17782
17783         * gcse.c (delete_null_pointer_checks): Returns void.
17784
17785 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17786
17787         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
17788         * emit-rtl.c (copy_insn_1): Likewise.
17789
17790 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
17791
17792         * config/mips/mips.c (mips_build_va_list): Correct
17793         TREE_CHAIN setting when hard-float.
17794         (mips_va_start): Use corrected setting.
17795         (mips_va_arg): Likewise.  Also pass a tree to build of
17796         POSTINCREMENT_EXPR rather than a naked 'int'.
17797
17798 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
17799
17800         * ggc.h (ggc_push_context): Fix comment.
17801         (ggc_pop_context): Likewise.
17802         (mark_string_if_gcable): Likewise.
17803         * ggc-common.c (ggc_mark_rtx_children): Use
17804         ggc_mark_string_if_gcable.
17805         * ggc-page.c (ggc_lookup_page_table): New function.
17806         (ggc_allocated_p): Likewise.
17807         (mark_obj): Fix formatting.
17808         (ggc_mark_string_if_gcable): New function.
17809         * ggc-simple.c (ggc_allocated_strings): New variable.
17810         (ggc_strings_used): Likewise.
17811         (ggc_compare_addresses): New function.
17812         (ggc_pop_context): Pop the `any' memory too.
17813         (ggc_mark_string_if_gcable): New function.
17814         (ggc_collect): Initialize and tear down ggc_allocated_strings.
17815
17816 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
17817
17818         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
17819         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
17820         * rs6000.c (expand_block_move): Match movstrsi_?reg register
17821         changes.
17822
17823 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
17824
17825         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
17826         (sched_reg_live_length, sched_reg_basic_block): Delete.
17827         (current_block_num, bb_live_regs, old_live_regs): Delete.
17828         (dead_notes, struct sometimes): Delete.
17829         (sched_note_set, birthing_insn_p): Delete.
17830         (adjust_priority): Gut useless reg lifetime code.
17831         (create_reg_dead_note, attach_deaths): Delete.
17832         (attach_deaths_insn, new_sometimes_live): Delete.
17833         (finish_sometimes_live): Delete.
17834         (find_pre_sched_live, find_post_sched_live): Delete.
17835         (update_reg_usage): Delete.
17836         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
17837         (schedule_insns): Delete reg lifetime code.
17838         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
17839         (unlink_other_notes): Adjust REG_NOTE commentary.
17840         (reemit_notes): Use REG_SAVE_NOTE.
17841         (schedule_block): Likewise.
17842         (schedule_region): Allocate bitmap of blocks in region.  Use
17843         count_or_remove_death_notes.  Use update_life_info.
17844
17845         * rtl.h (REG_SAVE_NOTE): New.
17846         * rtl.c (reg_note_name): Update.
17847
17848 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
17849
17850         * combine.c (refresh_blocks, need_refresh): New.
17851         (combine_instructions): Allocate refresh_blocks.  Invoke
17852         update_life_info if needed.
17853         (distribute_notes): Mark refresh_blocks instead of installing
17854         USE insns.
17855         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
17856         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
17857
17858         * Makefile.in (recog.o): Depend on basic-block.h.
17859
17860 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
17861
17862         * genrecog.c (add_to_sequence): Thinko last change: delete
17863         shadowing allow_const_int variable.
17864
17865 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17866
17867         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
17868         __GNUC__ and __GNUC_MINOR__.
17869
17870         * gansidecl.h: Likewise.
17871
17872         * rtl.c: Likewise.
17873
17874         * rtl.h: Likewise.
17875
17876         * toplev.h: Likewise.
17877
17878         * tree.c: Likewise.
17879
17880         * tree.h: Likewise.
17881
17882         * varray.c: Likewise.
17883
17884         * varray.h: Likewise.
17885
17886 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17887
17888         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
17889         use one before a jump table.
17890
17891         * rtl.def (ADDRESS): Change documentation to match reality.
17892         * md.texi: Don't document it.
17893         * gmicro.md (load address pattern): Use 'p' constraint, delete use
17894         of ADDRESS rtx.
17895
17896         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
17897
17898 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
17899
17900         * genrecog.c (add_to_sequence): Move allow_const_int test outside
17901         known predicate block; default allow_const_int true.
17902         (debug_decision_list): New.
17903
17904 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
17905
17906         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
17907
17908 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
17909
17910         * gcse.c (gcse_main): Avoid global optimizations if we have a
17911         large number of basic blocks and the ratio of edges to blocks
17912         is high.
17913         (delete_null_pointer_checks): Likewise.
17914
17915 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
17916
17917         * c-common.c (check_format_info): Warn if format string isn't a
17918         string literal.
17919
17920 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17921
17922         * configure.in (arm*-*-*): Don't let autoconf remove brackets
17923         * configure: regenerate
17924
17925 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
17926
17927         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
17928         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
17929         (peepholes): Re-enable.
17930
17931 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
17932
17933         * Makefile.in (flow.o): Depend on TREE_H.
17934         * basic-block.h (REG_SET_EQUAL_P): New.
17935         (XOR_REG_SET): New.
17936         (n_edges): Declare.
17937         (free_regset_vector): Remove declaration.
17938         (flow_delete_insn_chain): Declare.
17939         (enum update_life_extent): New.
17940         (update_life_info, count_or_remove_death_notes): Declare.
17941         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
17942         Verify register live at bb->global_live_at_start before adding USE.
17943         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
17944         (CLEAN_ALLOCA): New.
17945         (n_edges): New.
17946         (PROP_*): New flags.
17947         (find_basic_blocks_1): Use alloc_EXPR_LIST.
17948         (clear_edges): Zero n_edges.
17949         (make_edge): Increment n_edges.
17950         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
17951         (flow_delete_insn_chain): Export.
17952         (delete_block): Decrement n_edges.
17953         (merge_blocks_nomove): Likewise.
17954         (life_analysis): Give life_analysis_1 PROP flags.
17955         (verify_wide_reg_1, verify_wide_reg): New.
17956         (verify_local_live_at_start): New.
17957         (update_life_info): Rewrite to call into propogate_block.
17958         (mark_reg): New.
17959         (mark_regs_live_at_end): After reload, if epilogue as rtl,
17960         always mark stack pointer.  Conditionally mark PIC register.
17961         After reload, mark call-saved registers, return regsiters.
17962         (life_analysis_1): Accept PROP flags not remove_dead_code.
17963         Call mark_regs_live_at_end before zeroing regs_ever_live.
17964         Use calculate_global_regs_live.  Copy global_live_at_end before
17965         calling final propagate_block.  Zero reg_next_use on exit.
17966         (calculate_global_regs_live): New.
17967         (allocate_bb_life_data): Don't allocate bb->local_set.
17968         (init_regset_vector, free_regset_vector): Remove.
17969         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
17970         Test flags before every operation.  Warn if prologue/epilogue insn
17971         would have been deleted.
17972         (mark_set_regs, mark_set_1): Accept and use FLAGS.
17973         Use alloc_EXPR_LIST.
17974         (mark_used_regs): Accept and use FLAGS, not FINAL.
17975         Remove special handling for RETURN.
17976         (try_pre_increment): Use alloc_EXPR_LIST.
17977         (dump_flow_info): Dump n_edges.
17978         (unlink_insn_chain, split_hard_reg_notes): Remove.
17979         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
17980         (find_insn_with_note, new_insn_dead_notes): Remove.
17981         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
17982         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
17983         (replace_insns): Remove.
17984         (count_or_remove_death_notes): New.
17985         (verify_flow_info): Abort on error after all checks.
17986         (remove_edge): Decrement n_edges.
17987         (remove_fake_edges): Tweak format.
17988         * haifa-sched.c (schedule_insns): Use split_all_insns.
17989         * output.h (update_life_info): Remove declaration.
17990         * recog.c (split_all_insns): From the corpse of split_block_insns,
17991         do the whole function block by block.  Use update_life_info.
17992         (recog_last_allowed_insn): New.
17993         (recog_next_insn): Mind it.
17994         (peephole2_optimize): Set it.  Walk backwards through blocks.
17995         Use update_life_info.
17996         * rtl.h (update_flow_info, replace_insns): Remove declarations.
17997         (split_all_insns): Declare.
17998         * toplev.c (rest_of_compilation): Thread prologue before flow2.
17999         Use split_all_insns.
18000
18001         * i386.md (or -1 peep2s): Disable.
18002
18003 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
18004
18005         * config/mips/mips.md (movstrsi+[123]) : Combine these into
18006         a single pattern.  Scrap the 'd' versions as unnecessary.
18007
18008         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
18009         tablejump_mips162,tablejump_internal4): The operands to a
18010         label_ref must be VOIDmode.
18011
18012 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18013
18014         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
18015
18016 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
18017
18018         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
18019
18020 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
18021
18022         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
18023         cache every function if ggc_p.
18024
18025 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18026
18027         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
18028         instead of copy_rtx.  Accept sequences that contain asm statements.
18029         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
18030         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
18031         orig_asm_operands_vector, copy_asm_operands_vector,
18032         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
18033         variables.
18034         * rtl.h (copy_insn, copy_insn_1): Declare.
18035
18036 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18037
18038         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
18039
18040         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
18041         arguments to `current_file_function_operand'.
18042
18043         * genrecog.c: Include hard-reg-set.h and resource.h in the
18044         generated output file.
18045
18046         * real.c: Include tm_p.h.
18047
18048 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18049
18050         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
18051         output operand.
18052
18053 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
18054
18055         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
18056         before the fctiwz insn.
18057
18058 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18059                           Mark Mitchell  <mark@codesourcery.com>
18060
18061         * tree.c (make_lang_type_fn): New funtion pointer.
18062         (make_lang_type): Call it.
18063         * tree.h (make_lang_type): Declare.
18064         (make_lang_type_fn): Likewise.
18065         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
18066
18067 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
18068
18069         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
18070         make sure that HIGH instructions are copied into BASE_REGS.
18071
18072 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
18073
18074         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
18075
18076 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
18077
18078         * c-decl.c (finish_struct): Use simpler method of
18079         removing elements of a singly-linked list.
18080
18081 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
18082
18083         * alpha.md (peephole2's): Comment out peephole2's that generate
18084         buggy code.
18085
18086 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
18087
18088         * genrecog.c (add_to_sequence): Disable mode check for
18089         wildcard matches.
18090
18091 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18092
18093         * ggc-simple.c (init_ggc): Set empty_string.
18094
18095 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
18096
18097         * configure.in: Detect mmap.  Add --with-gc=foo to select
18098         garbage collector; default to page if mmap available.
18099         * Makefile.in (GGC): Substitute.
18100
18101 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
18102
18103         * c-decl.c (ggc_p): Enable.
18104
18105 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18106
18107         * flow.c (verify_flow_info): Make it extern & unconditionally define.
18108
18109 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
18110
18111         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
18112         string for little-endian-data.
18113
18114 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
18115
18116         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
18117         case somebody tries to compile --enable-checking code with gcc
18118         1.34 or such.
18119
18120 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
18121
18122         * genrecog.c (add_to_sequence): Verify operand to label_ref is
18123         VOIDmode.
18124
18125 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
18126
18127         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
18128         * jump.c (jump_optimize_1): Document why.
18129
18130 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18131
18132         * collect2.c (scan_prog_file, scan_libraries): Prototype function
18133         pointers and casts for `int_handler' and `quit_handler'.
18134
18135         * flow.c (verify_flow_info, split_hard_reg_notes,
18136         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
18137         remove_edge, remove_fake_successors): Add static prototypes.
18138         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
18139         (mark_set_1): Initialize variable `regno'.
18140         (unlink_insn_chain): Likewise for variable `curr'.
18141         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
18142
18143         * loop.c (strength_reduce): Initialize variable
18144         `unrolled_insn_copies'.
18145         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
18146         prototypes.  Change these functions to take const PTR parameters
18147         to avoid prototype conflict when used as the comparson argument
18148         for qsort.
18149         (check_dbra_loop): Initialize variable `comparison_val'.
18150
18151         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
18152         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
18153         (find_valid_class): Initialize variable `best_class'.
18154         (find_reloads): Call memcpy, not bcopy.
18155
18156         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
18157         (hard_reg_use_compare): Don't needlessly cast away const.
18158         (reload_reg_class_lower): Likewise.
18159         (choose_reload_regs): Initialize variable `regno'.
18160
18161 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
18162
18163         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
18164
18165 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
18166
18167         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
18168         ({,d}discard): Add forward declarations.  Declare parameter as
18169         unused.
18170         (main_without_main): Explicitly declare return type to be int.
18171         (memcpy): Properly declare.
18172
18173         * libgcc2.c (toplevel): If inhibit_libc is defined and not
18174         building the trampoline support, declare malloc, free, and
18175         atexit.
18176         (__clear_cache): Mark arguments as potentially unused.
18177
18178         * frame.c (toplevel): If inhibit_libc is defined, declare
18179         malloc and free.
18180
18181 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
18182
18183         * flow.c (make_edge): Accept an optional 2D bitmap in which
18184         to cache edge existence.  Update all callers.
18185         (make_label_edge, make_eh_edge): Pass through the edge cache.
18186         (make_edges): Provide the cache.
18187
18188 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18189
18190         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
18191         a char*.
18192         (local_mbtowc): Change the type of variable `i' from int to size_t.
18193
18194         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
18195         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
18196
18197 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
18198
18199         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
18200         after other includes that define the appropriate types.  Include
18201         tm_p.h for getting user prototypes.
18202         * ggc-callbacks.c (toplevel): Ditto.
18203         * ggc-none.c (toplevel): Ditto.
18204         * gcc-page.c (toplevel): Ditto.
18205         * ggc-simple.c (toplevel): Ditto.
18206
18207 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
18208                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
18209
18210         * config/mips/mips.c (mips_move_2words): Split doubles if
18211         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
18212
18213 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
18214
18215         * genrecog.c (struct decision_test): New.
18216         (struct decision): Remove test-related members, sort the rest by size.
18217         (IS_SPLIT): Simplify.
18218         (new_decision, new_decision_test): New.
18219         (add_to_sequence): Use them.  No special handling for args of
18220         non-MATCH codes.
18221         (maybe_both_true): Renamed from not_both_true; return sense changed.
18222         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
18223         of maybe_both_true and adjusted for decision_test.
18224         (position_merit): Remove.
18225         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
18226         (merge_accept_insn): New, broken out of merge_trees.
18227         (merge_trees): Use them.  No special case for c_test; no node
18228         splitting; use test type instead of position_merit.
18229         (factor_tests): New.
18230         (simplify_tests): New.
18231         (break_out_subroutines): Don't write code now.
18232         (find_afterward): New.
18233         (write_afterward, write_switch, write_cond): New.
18234         (write_action, is_unconditional): New.
18235         (write_node): New.  Use them.
18236         (write_tree_1): Rewrite.  Use the new functions above.
18237         (write_tree): Remove afterward processing.
18238         (write_subroutine): Simplify function variant emission.
18239         (write_subroutines): New.
18240         (same_codes, clear_codes): Remove.
18241         (same_modes, clear_modes): Remove.
18242         (write_header): New, broken out of main.
18243         (make_insn_sequence): Use new_decision and new_decision_test.
18244         (process_tree): New, broken out of main.
18245         (main): Adjust for merge_trees interface change.
18246         Don't #define operands in the output file.
18247         (record_insn_name): New, broken out of make_insn_sequence.
18248         (debug_decision_2, debug_decision_1, debug_decision_0): New.
18249         (debug_decision): New.
18250
18251 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
18252
18253         * resource.c (find_free_register): Mark class_str argument const.
18254         * resource.h: Update prototype to match.
18255
18256         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
18257         * i386.md: Give all anonymous insns names.
18258
18259 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
18260
18261         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
18262         blocks.
18263
18264 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
18265
18266         * toplev.c (dbr_sched_time): Unconditional.
18267         (peephole2_time): New.
18268         (compile_file): Add pass numbers to all of the dump file suffixes.
18269         Dump peephole2_time.  Don't dump times for non-applicable passes.
18270         (rest_of_compilation): Add pass numbers to dump file suffixes.
18271         Conditionalize calls to the scheduler.
18272         * invoke.texi: Update.
18273
18274 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
18275
18276         * flow.c (make_edges): Fix insn iteration.
18277         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
18278         (find_basic_blocks_1): Fix spelling mistake.
18279
18280 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
18281
18282         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
18283         always have side-effects.  Use memset not bzero.
18284         (make_node): Likewise.
18285
18286 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
18287
18288         * stmt.c (expand_anon_union_decl): When any of the elements of the
18289         union is addressable, so is the entire union.
18290
18291 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
18292
18293         * sbitmap.c (sbitmap_ones): Don't set too many bits.
18294
18295         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
18296         * bitmap.c (bitmap_operation): Return true iff TO changed.
18297         (bitmap_equal_p): New.
18298         (bitmap_bit_p): Tidy arithmetic.
18299         (debug_bitmap_file): Likewise.
18300
18301 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
18302
18303         * toplev.c (rest_of_compilation): Turn on cse_not_expected
18304         before cse2 instead of after.
18305
18306 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
18307
18308         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
18309         register offsets.
18310
18311 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18312
18313         * cppinit.c (is_idchar initializer): Loosen tests to accept
18314         gcc 2.>6 and >2.
18315
18316 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
18317
18318         * mips.md: Define conditional move patterns for floating point
18319         operands and DI mode conditions.
18320
18321 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
18322
18323         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
18324         always have side-effects.
18325
18326 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
18327
18328         * mn10200.c (asm_file_start): Fix typo.
18329
18330         * cppinit.c (is_idchar initializer): Tighten tests for when
18331         to put the table into initialized memory.
18332
18333         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
18334         not an array of rtunion.
18335         * gcc-page.c (ggc_alloc_rtvec): Similarly.
18336         * gcc-simple (ggc_free_rtvec): Similarly.
18337
18338         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
18339         of rtunions.
18340
18341         * mbchar.h: Add missing #endif.
18342
18343         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
18344         (FPBIT, DPBIT): Define.
18345
18346 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18347
18348         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
18349
18350         * profile.c (instrument_arcs, output_gcov_string,
18351         tablejump_entry_p): Add static prototypes.
18352         (output_gcov_string): Constify a char*.
18353
18354         * regmove.c (replacement_quality, fixup_match_2): Add static
18355         prototypes.
18356
18357         * resource.h (reg_dead_p): Add extern prototype.
18358
18359         * rtl.c (trim_filename): Add static prototype.
18360
18361         * scan-decls.c (skip_to_closing_brace): Likewise.
18362
18363         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
18364         (expand_end_case): Initialize variable `range'.
18365         (emit_case_nodes): Remove unused prototype `rtx_fn'.
18366
18367         * varasm.c (asm_emit_uninitialised): Add static prototype.
18368         (asm_emit_uninitialised, assemble_variable): Mark parameter with
18369         ATTRIBUTE_UNUSED.
18370
18371 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18372
18373         * cpplib.c (if_directive_nameo): Add static prototype.
18374
18375         * cse.c (cse_insn): Remove unused variable `p'.
18376
18377         * except.c (create_rethrow_ref, push_entry,
18378         receive_exception_label, new_eh_region_entry, find_func_region,
18379         clear_function_eh_region, process_nestinfo): Add static prototypes.
18380         (get_reg_for_handler): Hide definition.
18381         (process_nestinfo): Initialize variable `extra_handlers'.
18382
18383         * expr.h (expand_builtin_longjmp): Add extern prototype.
18384
18385         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
18386
18387         * function.c (prepare_function_start): Likewise.
18388         (pop_function_context_from): Mark parameter `context' with
18389         ATTRIBUTE_UNUSED.
18390         (push_temp_slots_for_block, flush_addressof): Hide definition.
18391
18392         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
18393         solve_program_flow_graph, calculate_branch_probs,
18394         function_summary, main, fancy_abort): Add prototypes.
18395
18396         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
18397         (add_hash): Constify a char*.
18398
18399         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
18400         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
18401         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
18402
18403         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
18404
18405         * lists.c (free_list, zap_lists): Likewise.
18406
18407 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18408
18409         * alias.c (nonlocal_reference_p): Add static prototype.
18410
18411         * bitmap.c (bitmap_element_allocate): Prototype args in function
18412         pointer cast.
18413
18414         * builtins.c (stabilize_va_list): Add static prototype.
18415         (expand_builtin_va_arg): Constify a char*.
18416
18417         * c-lex.c (getch, put_back, extend_token_buffer_to,
18418         read_line_number, token_getch, token_put_back): Add static
18419         prototypes.
18420
18421         * c-parse.gperf (hash, is_reserved_word): Likewise.
18422
18423         * cccp.c (is_dir_separator): Likewise.
18424
18425 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18426
18427         * graph.h: New file to prototype functions exported by graph.c.
18428
18429         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
18430
18431         * graph.c: Include graph.h.
18432
18433         * toplev.c: Likewise.  Remove redundant prototypes.
18434
18435 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
18436
18437         * invoke.texi: Removed duplicated description for -Q.
18438
18439 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
18440
18441         * extend.texi: Grammar fix in __extension__ text.
18442
18443 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
18444
18445         * md.texi (define_peephole2): New section.
18446
18447 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
18448
18449         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
18450         (mov $-1 to or peepholer): Enable for pentium when optimizing for
18451         speed.
18452
18453 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
18454
18455         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
18456
18457 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
18458
18459         * i386.md (ffs expander): Emit Pentium friendly code for
18460         TARGET_PENTIUM.
18461
18462 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
18463
18464         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
18465         for non-trees.
18466         (build1): Likewise.
18467
18468 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18469
18470         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
18471
18472 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
18473
18474         * config/m68k/m68k.c (use_return_insn): Return false if the pic
18475         register is in use.
18476
18477 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18478
18479         * md.texi (No Constraints): Delete section.
18480         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
18481         * final.c (final_scan_insn): We always have register constraints.
18482         * genattrtab.c: Don't include "insn-config.h".
18483         (write_attr_case): We always have register constraints.
18484         * genconfig.c (register_constraint_flag): Delete.
18485         (walk_insn_part): Don't check whether we have register constraints.
18486         (main): Don't write out "#define REGISTER_CONSTRAINTS".
18487         * genoutput.c (have_constraints): Delete.
18488         (main): Don't set it.
18489         (output_operand_data): We always have constraints.
18490         (scan_operands): Likewise.
18491         (compare_operands): Likewise.
18492         * local-alloc.c (block_alloc): We always have constraints.
18493         (requires_inout): Always compile this function.
18494         * recog.c (extract_insn): We always have constraints.
18495         (constrain_operands, reg_fits_class_p): Always compile these
18496         functions.
18497         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
18498         fields.
18499         (struct insn_operand_data): Likewise.
18500         * regclass.c (regclass): We always have constraints.
18501         (record_reg_classes, copy_cost, record_address_regs,
18502         auto_inc_dec_reg_p): Always compile these functions.
18503         * regmove.c (regmove_optimize): We always have constraints.
18504         * reload.c (find_reloads): Likewise.
18505         * reload1.c (reload): Likewise.
18506         (reload_cse_simplify_operands): Likewise.
18507         * i860.c (output_delay_insn): Likewise.
18508
18509 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
18510
18511         * iris6.h (BUILD_VA_LIST_TYPE): Define.
18512
18513 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18514
18515         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
18516         for the va_list record.
18517
18518 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
18519
18520         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
18521         prologues.
18522
18523 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
18524
18525         * alias.c: Include insn-flags.h.
18526         * Makefile.in (alias.o): Update.
18527
18528 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
18529
18530         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
18531         to LTU and GEU.  Handle more cases using sbb.
18532
18533 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
18534
18535         * i386.md (truncatexfdf splitters): Do not use subreg.
18536         (fop XFmode patterns): Fix mode in operand testing.
18537
18538 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
18539
18540         * jump.c (jump_optimize_1): Amend last change to test only the
18541         form of the operand, not the insn.
18542
18543         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
18544         not register_operand to determine when B may need preloading.
18545
18546 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
18547
18548         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
18549         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
18550         (call-value patterns): Move to end of file.
18551         (*): Remove mode from label_ref in (pc) context.
18552         (movstrqi): Use memory not general_operand for BLKmode operands.
18553         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
18554         to register_operand operands.
18555         (peep2 patterns): Convert from commented-out peephole patterns.
18556
18557 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18558
18559         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
18560         to BUILT_IN_INIT_DWARF_REG_SIZES.
18561         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
18562         Renamed from BUILT_IN_DWARF_REG_SIZE; call
18563         expand_builtin_init_dwarf_reg_sizes.
18564         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
18565         with __builtin_init_dwarf_reg_size_table.
18566         * dwarf2out.c (struct reg_size_range): Delete.
18567         (expand_builtin_init_dwarf_reg_sizes): New function.
18568         (expand_builtin_dwarf_reg_size): Delete.
18569         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
18570         (expand_builtin_dwarf_reg_size): Don't declare.
18571         * libgcc2.c (dwarf_reg_size_table_initialized): New.
18572         (dwarf_reg_size_table): New.
18573         (init_reg_size_table): New function.
18574         (copy_reg): Use dwarf_reg_size_table.
18575         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
18576         before use.
18577
18578 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
18579
18580         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
18581         Correctly build argument list to constructor and destructor functions.
18582
18583 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
18584
18585         * c-tree.h (warn_float_equal): Declare.
18586         * c-decl.c (warn_float_equal): Define.
18587         (c_decode_option): Recognize -W[no-]float-equal.
18588         * c-typeck.c (build_binary_op): Conditionally warn
18589         about equality tests of floating point types.
18590         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
18591         * invoke.texi: Add docs for -Wfloat-equal warning.
18592
18593 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
18594
18595         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
18596         generating RTL directly.
18597         * mips.h (INIT_TARGET_OPTABS): Likewise.
18598         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
18599
18600         * expr.h (init_mov_optab): Delete declaration
18601
18602         * h8300.c (WORD_REG_USED): Update to avoid useless register
18603         saves in interrupt functions and functions which never return.
18604
18605         * cse.c (struct set): Delete inner_dest_loc field.
18606         (cse_insn): Remove assignments to inner_dest_loc field.
18607
18608 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
18609
18610         * ggc-page.c: Don't include <unistd.h> etc taken care of
18611         by "system.h".  Include <sys/mman.h> afterward.
18612
18613 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
18614
18615         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
18616         ggc_alloc_string.
18617
18618 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
18619
18620         * xcoffout.c (xcoffout_declare_function): Add documentation.
18621         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
18622         TARGET_64BIT.  Compare constant to -1, not bit pattern.
18623         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
18624         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
18625         gen_movsi typos.
18626
18627 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
18628
18629         * dwarf2out.c (add_abstract_origin_attribute): Abort if
18630         origin_die is NULL.
18631         (gen_inlined_enumeration_type_die): Do not abort if the type has
18632         not been writeen out.
18633         (gen_inlined_structure_type_die): Do not abort if the type has
18634         not been writeen out.
18635         (gen_inlined_union_type_die): Do not abort if the type has
18636         not been writeen out.
18637         (gen_tagged_type_instantiation_die): Do not abort if the type
18638         has not been written out.
18639
18640 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18641
18642         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
18643         call it.
18644         * reg-stack.c (straighten_stack): Copy hard reg set with
18645         COPY_HARD_REG_SET.
18646
18647 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
18648
18649         * builtins.c (stabilize_va_list): Stabilize array type va_list
18650         to a pointer type, not the base record type.
18651         (expand_builtin_va_copy): Dereference the pointers explicitly;
18652         use the correct size for the copy.
18653
18654         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
18655         (rs6000_va_arg): Likewise.
18656
18657 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
18658
18659         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
18660
18661 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
18662
18663         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
18664         field.
18665         (DECL_BUILT_IN_CLASS): Adjust accordingly.
18666
18667 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
18668
18669         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
18670         (init_ggc): Use it instead of a constant.
18671         (ggc_collect): Bound allocated_last_gc by it.
18672
18673 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
18674
18675         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
18676         with va_list.
18677
18678 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
18679
18680         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
18681         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
18682         * configure:  Regen.
18683         * config/mips/openbsd.h:  New, OpenBSD little endian target.
18684         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
18685         * config/mips/xm-openbsd.h:  New, OpenBSD host.
18686
18687 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
18688
18689         * config/m68k/m68k.c (output_function_prologue,
18690         output_function_epilogue): Use
18691         current_function_uses_pic_offset_table instead of regs_ever_live
18692         to decide whether to save/restore pic register.
18693         (legitimize_pic_address): Don't modify regs_ever_live any more.
18694
18695 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
18696
18697         * function.h (struct function): Add x_dont_save_pending_sizes_p.
18698         * stor-layout.c (variable_size): Don't add sizes to the pending
18699         sizes list if x_dont_save_pending_sizes_p is set.
18700
18701 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
18702
18703         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
18704         for symbolic_operand().
18705         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
18706
18707 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18708
18709         * combine.c (gen_rtx_combine): Add missing call to va_end().
18710
18711         * final.c (asm_fprintf): Likewise.
18712
18713         * genattrtab.c (attr_rtx): Likewise.
18714
18715 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
18716
18717         * cse.c: Update comments.
18718         (cse_insn): When converting a conditional/computed jump into
18719         an unconditional jump, always make sure a BARRIER immediately
18720         follows the converted jump.  Do not delete unreachable code.
18721         (cse_basic_block): Do not delete unreachable code.
18722         * toplev.c (rest_of_compilation): Move call to
18723         delete_trivially_dead_insns after the conditional call to
18724         jump_optimize.
18725
18726 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18727
18728         * collect2.c (make_temp_file): Don't prototype.
18729
18730         * gcc.c (make_temp_file): Likewise.
18731
18732         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
18733
18734 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
18735
18736         * varasm.c (asm_emit_uninitialised): New function: Generate
18737         the assembler statements necessary to declare an uninitialised
18738         variable.
18739         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
18740         variable.
18741         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
18742         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
18743         section.
18744         (assemble_variable): Use asm_emit_uninitialised to emit an
18745         uninitialised variable.
18746
18747 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
18748
18749         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
18750         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
18751         <geoffk@cygnus.com>.
18752
18753 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18754
18755         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
18756         * c-common.h (builtin_function): Don't declare.
18757
18758         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
18759         DECL_BUILT_IN.
18760         (pushdecl): Likewise.
18761         (finish_decl): Likewise.
18762         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
18763         int.  All callers changed.
18764         Set the builtin's DECL_BUILT_IN_CLASS.
18765         * tree.h (enum built_in_class): New.
18766         (enum built_in_function): Delete NOT_BUILT_IN.
18767         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
18768         in a union.
18769         (DECL_SET_FUNCTION_CODE): Likewise.
18770         (DECL_BUILT_IN_CLASS): New macro.
18771         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
18772         (struct tree_decl): Split builtin function code field into a
18773         struct.
18774         (builtin_function): Declare.
18775
18776 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
18777
18778         * optabs.c (init_traps): Fix typo in last change.
18779
18780 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
18781
18782         * toplev.c (rest_of_decl_compilation): Update comment.
18783
18784 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18785
18786         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
18787         in .sbss if appropriate.
18788         (EXTRA_SECTION_FUNCTIONS): Add sbss.
18789         (SBSS_SECTION_ASM_OP): New macro.
18790         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
18791         (EXTRA_SECTIONS): Add in_sbss.
18792         * config/mips/mips.h: Prototype sbss_section.
18793
18794 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
18795
18796         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
18797         to disappear.
18798
18799 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
18800
18801         * optabs.c (init_traps): Register trap_rtx as a GC root.
18802
18803 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
18804
18805         * config/mips/mips.c (function_arg_pass_by_reference): Define
18806         unconditionally, since it's called unconditionally.
18807
18808 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
18809
18810         * toplev.c (documented_lang_options): Add -fshort-wchar.
18811         * c-decl.c (c_decode_option): Likewise.
18812         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
18813         for wchar_t.
18814         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
18815         * gcc.c (default_compilers): If -fshort-wchar,
18816         override __WCHAR_TYPE__.
18817         * tm.texi (C Dialect Options): Add -fshort-wchar.
18818
18819         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
18820         symbol for a variable.
18821
18822         * cpplib.h (CPP_PREPROCESSED): New macro.
18823         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
18824         we're seeing this input for a second time.
18825
18826 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
18827
18828         * emit-rtl.c (init_emit_once): Initialize modes first.
18829
18830 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
18831
18832         * config/i386/i386.c (pic_label_name): Change to char pointer.
18833         (global_offset_table): New variable.
18834         (load_pic_register): Fill global_offset_table if it hasn't
18835         already been done.  Allocate pic_label_name dynamically.
18836         * ggc.h (empty_string): New variable.
18837         * ggc-simple.c (empty_string): Likewise.
18838         (init_ggc): Allocate empty_string and add as root.
18839         * stmt.c (digit_strings): New variable.
18840         (init_stmt): Add last_block_end_note as root.  Allocate and
18841         initialize digit_strings.
18842         (expand_asm_operands): Use empty_string instead of string
18843         constant.  Use digit_strings instead of string constants.
18844         * profile.c (init_arc_profiler): Allocate string with
18845         ggc_alloc_string instead of xmalloc.
18846         (output_func_start_profiler): Likewise.
18847         * c-typeck.c (digest_init): Check if init is error_mark_node.
18848
18849 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
18850                           Richard Henderson  <rth@cygnus.com>
18851
18852         * ggc-page.c: New file.
18853         * Makefile.in (ggc-page.o): New.
18854
18855 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
18856
18857         * invoke.texi: Document -fdelete-null-pointer-checks
18858         * toplev.c (flag_delete_null_pointer_checks): New.
18859         (f_options): Add entry for -fdelete-null-pointer-checks.
18860         (rest_of_compilation): Conditionalize null pointer check
18861         elimination on flag_delete_null_pointer_checks.
18862         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
18863
18864 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
18865
18866         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
18867         copyright notice and special exception to GPL.
18868
18869 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18870
18871         * abi64.h (mips_function_value): Add prototype arguments.
18872
18873         * mips-protos.h: New file with mips prototypes.
18874
18875         * mips.c: Include "tm_p.h".
18876         (mktemp, lookup_name): Add prototype arguments.
18877         (extern_list, string_constant, mips_fill_delay_slot,
18878         mips_output_external, mips_output_external_libcall,
18879         mips_output_filename, mips_declare_object, function_prologue,
18880         mips_expand_prologue, function_epilogue, mips16_constant,
18881         build_mips16_function_stub, mips_output_conditional_branch):
18882         Constify a char*.
18883         (mips_va_start): Remove unused variable `u'.
18884         (mips_va_arg): Cast value to unsigned when comparing against one.
18885         (trace): Delete.
18886         (save_restore_insns, mips_expand_prologue): Add missing arg in
18887         call to `large_int'.
18888
18889         * mips.h: Move prototypes to mips-protos.h.
18890         (data_section, memory_address_p, rdata_section,
18891         readonly_data_section, simple_epilogue_p, text_section): Delete
18892         prototypes delcared elsewhere.
18893         (mips_epilogue_delay_slots, print_options): Delete unused decls.
18894         (trace): Delete.
18895         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
18896
18897         * mips.md: Delete extra args in call to `mips_move_2words'.
18898
18899         * xm-iris6.h (alloca): Add prototype argument.
18900
18901         * genpeep.c: Include "tm_p.h" in generated output file.
18902
18903 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18904
18905         * basic-block.h (find_edge_index): Change parameters.
18906         * flow.c (verify_edge_list): Pass basic_block parameters to
18907         find_edge_index instead of integers.
18908
18909 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
18910
18911         * combine.c (simplify_comparison): Use an unsigned shift to adjust
18912         the constant.
18913
18914 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
18915
18916         * gcc.1: Fix a formatting error.
18917
18918 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
18919
18920         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
18921         i786, mn10200, mn10300, pdp11, v850.
18922
18923 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
18924
18925         * libgcc2.c (num_digits): Add prototype with
18926         __attribute__((const)).
18927         (__terminate): Add prototype.
18928
18929 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
18930
18931         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
18932
18933         * alpha/alpha.c (print_operand): Fix type of `code'.
18934         (alpha_output_filename): Constify.
18935         * alpha/alpha.h: Move all function declarations ...
18936         * alpha/alpha-protos.h: ... here.  New file.
18937         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
18938         (SECTION_FUNCTION_TEMPLATE): Likewise.
18939
18940 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18941
18942         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
18943         * expr.c (expand_expr): Likewise.
18944         (do_jump): Likewise.
18945         (do_store_flag): Pass ccp_store_flag to can_compare_p.
18946         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
18947         accessor macros.
18948         (enum can_compare_purpose): New.
18949         (can_compare_p): Adjust prototype.
18950         (prepare_cmp_insn, prepare_operand): Declare.
18951         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
18952         * optabs.c (cmp_available_p): Deleted.
18953         (expand_abs): Pass ccp_jump to can_compare_p.
18954         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
18955         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
18956         Call can_compare_p rather than cmp_available_p.
18957         (prepare_operand): No longer static.
18958         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
18959         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
18960         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
18961         sequence to use emit_cmp_and_jump_insns.
18962         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
18963
18964 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
18965
18966         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
18967         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
18968         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
18969         (plus (reg) (const_int 0))
18970         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
18971
18972 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
18973
18974         * rs6000.c (expand_block_move): DImode loads and stores require
18975         word-aligned displacements.  Increment address registers with
18976         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
18977
18978 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
18979
18980         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
18981         is no name for the base type, rather than segfault.  If we are
18982         writing out a complex integer type, use DW_ATE_lo_user.
18983
18984         * expr.c (emit_move_insn_1): If we are copying a complex that fits
18985         in one word or less (complex char, complex short, or on 64 bit
18986         systems complex float) to/from a hard register, copy it through
18987         memory instead of dying in gen_{real,imag}part.  If we have a
18988         short complex type, prevent inlining since it allocates stack
18989         memory.
18990
18991         * tree.c (build_complex_type): If we are writing dwarf2 output,
18992         generate a name for complex integer types.
18993
18994 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18995
18996         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
18997         * flow.c (remove_edge): Remove extra whitespace.
18998         (remove_fake_edges): Fix comment.
18999         (add_noreturn_fake_exit_edges): Use the correct name.
19000
19001 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
19002
19003         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
19004         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
19005         (clean): Depend on INTL_CLEAN.
19006         (maintainer-clean): Adjust.
19007
19008 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19009
19010         * configure.in (AC_PREREQ): Bump to 2.13.
19011         (AC_C_STRINGIZE): Call this instead of using a custom macro.
19012
19013         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
19014
19015         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
19016
19017         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
19018
19019         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
19020         (HAVE_STRINGIZE): Define.
19021
19022 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
19023
19024         * c-parse.in: save and restore warn_pointer_arith on __extension__
19025         along with pedantic.
19026         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
19027         Set the type of extension to itype rather than $<itype>1 kludge.
19028         * extend.texi (Alternate Keywords): Adjust documentation.
19029         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
19030
19031 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
19032
19033         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
19034         most assembler templates.
19035
19036         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
19037         FP loads and stores.
19038         (following_call): Always return zero for the PA8000.
19039         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
19040         FP loads and stores.
19041         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
19042
19043         * pa.h (BRANCH_COST): Define.
19044
19045         * pa.md (return, return_internal): Use bve for PA2.0.
19046
19047         * pa.md (fused multiply): Add variants which reduce height for the
19048         fused multiply, but which still generate 2 insns.
19049         (fnegabs): Similarly.
19050
19051         * pa.md (subsi3): Turn into an expander.  Create two anonymous
19052         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
19053         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
19054
19055         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
19056         for TARGET_PA_20.
19057         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
19058         code generation.
19059         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
19060         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
19061
19062         * regclass.c (init_regs): Add "top_of_stack" as a garbage
19063         collection root.
19064
19065         * flow.c (record_active_eh_regions): Terminate loop after finding
19066         the last insn in the last basic block.
19067
19068 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19069
19070         * config/c4x/c4x.md: Delete parallel instruction peepholes.
19071
19072 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19073
19074         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
19075
19076 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19077
19078         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
19079         splitting to not use output template.
19080
19081 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19082
19083         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
19084         * config/c4x/c4x.c (c4x_va_start): New function.
19085
19086 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
19087
19088         * genrecog.c (not_both_true): Handle correctly cases when called for
19089         tests with different positions in the insn.
19090
19091 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19092
19093         * machmode.h (HOST_PTR_PRINTF): Move from here ...
19094
19095         * system.h (HOST_PTR_PRINTF): ... to here.
19096
19097         * mips-tfile.c: Don't include machmode.h.
19098
19099         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
19100         (mips-tfile.o): Don't depend on machmode.h.
19101
19102 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19103
19104         * haifa-sched.c (sched_analyze): Rename local variable `region' to
19105         avoid conflicts with typedef struct `region' at the top level scope.
19106
19107 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
19108
19109         * basic-block.h (basic_block): Add eh_beg, eh_end.
19110         * flow.c (entry_exit_blocks): Update.
19111         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
19112         Call new functions.
19113         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
19114         lists.c functions to allocate insn lists.
19115         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
19116         edge creation ...
19117         (make_eh_edge): ... here.  New.
19118         (move_stray_eh_region_notes): New.
19119         (record_active_eh_regions): New.
19120         (delete_unreachable_blocks): Split out block merging ...
19121         (try_merge_blocks): ... here.  New.
19122         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
19123         Dump debugging data.
19124         (merge_blocks_move_successor_nojumps): Likewise.
19125         (merge_blocks): Use eh_beg+eh_end to validate block movement.
19126
19127 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
19128
19129         * extend.texi (Bound member functions): Document unbound pmf
19130         conversion.
19131
19132 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19133
19134         * flow.c (split_edge): Handle insertion on a fallthrough edge which
19135         has the EXIT_BLOCK as a dest.
19136
19137 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19138
19139         * flow.c (remove_edge): New function to remove an edge from the
19140         flow graph.
19141         (remove_fake_successors): New function to remove fake successor edges.
19142         (remove_fake_edges): New function to remove all fake edges from the
19143         flow graph.
19144         (add_fake_exit_edges): New function to add fake edges from all blocks
19145         with no successors to the exit block.
19146         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
19147         prototypes for new functions.
19148
19149 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19150
19151         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
19152         Use Pmode to determine whether to output .dword or .word.
19153
19154 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
19155
19156         * tree.c (built_in_filename): New variable.
19157         (BUILT_IN_FILENAME): New macro.
19158         (init_tree_codes): Allocate built_in_filename.
19159         (make_node): Use built_in_filename instead of string constant.
19160
19161 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
19162
19163         * configure.in: Add fr30 target.
19164         * configure: Regenerate.
19165         * config/fr30: New directory.
19166         * config/fr30/crti.asm: New file.
19167         * config/fr30/fr30.c: New file.
19168         * config/fr30/crtn.asm: New file.
19169         * config/fr30/fr30.h: New file.
19170         * config/fr30/fr30.md: New file.
19171         * config/fr30/lib1funcs.asm: New file.
19172         * config/fr30/t-fr30: New file.
19173         * config/fr30/xm-fr30.h: New file.
19174
19175 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
19176
19177         * flow.c (merge_blocks_move_successor_nojumps): Delete the
19178         BARRIER at the end of the successor, not the BARRIER before
19179         the successor.
19180
19181         * pa.c (pa_add_gc_roots): Fix thinko in last change.
19182
19183 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
19184
19185         * stmt.c (any_pending_cleanups): Don't crash when
19186         current_function->stmt is unset.
19187
19188 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19189
19190         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
19191         other initializations that may use it for relative offsets.
19192
19193 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19194
19195         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
19196         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
19197         * config/i386/sol2dbg.h: Removed.
19198         * config/i386/sol2gas.h: New file, to enable gas work-around.
19199         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
19200         Don't use sol2dbg.h.
19201         * configure: Rebuilt.
19202
19203 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
19204
19205         * invoke.texi (-fthis-is-variable): Remove documentation.
19206
19207 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
19208
19209         * basic-block.h (compute_bb_for_insn): Declare.
19210         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
19211         to use; set size of basic_block_for_insn directly.
19212         (find_basic_blocks): Update.
19213
19214 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19215
19216         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
19217
19218 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19219
19220         * crtstuff.c (ON_EXIT): Delete empty macro definition.
19221         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
19222
19223 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
19224
19225         * c-decl.c (c_decode_option): Extend comment.
19226
19227 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
19228
19229         * toplev.c (progname): Make 'const char *'
19230         (flag_print_mem): Move out of main.
19231         (version_flag): Move out of main.
19232         (filename): Move out of main.
19233         (debug_args): Remove g prefix from options.
19234         (documented_lang_options): Remove cpplib specific options.
19235         (display_help): Add g prefix to debug options.
19236         (check_lang_option): Delete this function.
19237         (decode_d_option): New function: Decode -d... option.
19238         (decode_f_option): New function: Decode -f... option.
19239         (decode_W_option): New function: Decode -W... option.
19240         (decode_g_option): New function: Decode -g... option.
19241         (independent_decode_option): New function: Decode a language
19242         independent command line option.
19243         (main): Invoke lang_decode_option and then
19244         independent_decode_option on each command line option in
19245         turn.
19246
19247 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
19248
19249         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
19250          * fold-const.c (fold_range_test): Do not try to fold the range
19251          test if the rhs or lhs has side effects.
19252
19253         * basic-block.h (compute_flow_dominators): Declare.
19254
19255         * gcse.c (alloc_code_hoist_mem): New function.
19256         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
19257         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
19258         (hoist_code, one_code_hoisting_pass): Likewise.
19259         (gcse_main): If optimizing for size, then hoist expressions
19260         computed in multiple dominated basic blocks.
19261
19262         * gcse.c (invalid_nonnull_info): New function.
19263         (delete_null_pointer_checks): Likewise.
19264         * rtl.h (delete_null_pointer_checks): Declare.
19265         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
19266
19267         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
19268         (merge-blocks_move_successor_nojumps): Likewise.
19269         (merge_blocks): Allow merging of some blocks, even if it requires
19270         physical movement of the blocks, but not if it requires new jumps.
19271
19272         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
19273         Callers and prototype changed.
19274         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
19275
19276 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19277
19278         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
19279         -YP when both -p and -pg are present.  From i386/sol2.h.
19280
19281 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19282
19283         * Makefile.in (distclean): Delete tm_p.h.
19284         * configure.in: Create a new file, "tm_p.h", from a list in
19285         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
19286         "i386/i386-protos.h".
19287
19288         * alias.c: Include "tm_p.h".
19289         * c-typeck.c: Likewise.
19290         * calls.c: Likewise.
19291         * cse.c: Likewise.
19292         * emit-rtl.c: Likewise.
19293         * explow.c: Likewise.
19294         * expmed.c: Likewise.
19295         * expr.c: Likewise.
19296         * final.c: Likewise.
19297         * flow.c: Likewise.
19298         * fold-const.c: Likewise.
19299         * function.c: Likewise.
19300         * gcse.c: Likewise.
19301         * global.c: Likewise.
19302         * haifa-sched.c: Likewise.
19303         * integrate.c: Likewise.
19304         * jump.c: Likewise.
19305         * local-alloc.c: Likewise.
19306         * loop.c: Likewise.
19307         * optabs.c: Likewise.
19308         * recog.c: Likewise.
19309         * reg-stack.c: Likewise.
19310         * regclass.c: Likewise.
19311         * regmove.c: Likewise.
19312         * reload.c: Likewise.
19313         * reload1.c: Likewise.
19314         * reorg.c: Likewise.
19315         * resource.c: Likewise.
19316         * stmt.c: Likewise.
19317         * stor-layout.c: Likewise.
19318         * toplev.c: Likewise.
19319         * tree.c: Likewise.
19320         * unroll.c: Likewise.
19321         * genattrtab.c (main): Make generated file include "tm_p.h".
19322         * genemit.c (main): Likewise.
19323         * genoutput.c (main): Likewise.
19324         * genrecog.c (main): Likewise.
19325
19326         * i386.h: Delete all prototypes.
19327         * i386.c: Include "tm_p.h".
19328         (ix86_attr_length_default): Call constant_call_address_operand
19329         with correct number of arguments.
19330         * i386-protos.h: New file.
19331         * i386.md (unnamed patterns): Call constant_call_address_operand
19332         with correct number of arguments.
19333         (exception_receiver): Call load_pic_register with correct number
19334         of arguments.
19335
19336 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
19337
19338         * c-pragma.c (mark_align_stack): Dereference the void* properly.
19339
19340 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
19341
19342         * rtl.h (insns_safe_to_move_p): New function.
19343         * loop.c (find_and_verify_loops): Use it.
19344         * rtlanal.c (insns_safe_to_move_p): Define it.
19345
19346 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
19347
19348         * c-pragma.c: Include ggc.h.
19349         * Makefile.in (c-pragma.o): Update.
19350
19351 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19352
19353         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
19354         (LIB_SPEC): Likewise.
19355         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
19356         Reindent -YP/-p/-pg.
19357         Copied from config/sparc/sol2.h.
19358
19359 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
19360
19361         * c-pragma.c (mark_align_stack): New.
19362         (init_pragma): New.
19363         * c-pragma.h (init_pragma): Declare it.
19364         * c-lex.c (init_parse): Call it.
19365
19366 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19367
19368         * configure.in: Pick up thread library on Solaris/x86 just
19369         like on Solaris/sparc.
19370         * configure: Rebuilt.
19371
19372 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
19373
19374         * rtl.h (global_rtx_index): New enum.
19375         (global_rtl): Change to array of rtx.
19376         (pc_rtx, cc0_rtx): Redefine accordingly.
19377         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
19378         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
19379         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
19380         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
19381         (const_int_rtx): Change to array of rtx.
19382         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
19383         accordingly.
19384         * emit-rtl.c (global_rtl): Change to array of rtx.
19385         (const_int_rtx): Change to aray of rtx.
19386         (gen_rtx_CONST_INT): Redefine accordingly.
19387         (init_emit_once): Allocate and initialize global_rtl.  Likewise
19388         for const_int_rtx.  Add both as GC roots.
19389         * genattrtab.c (global_rtl): Update declaration.
19390
19391 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
19392
19393         * Makefile (USER_H): Add iso646.h back.
19394
19395 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
19396
19397         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
19398         zapping the LOG_LINKS of sched_before_next_call.
19399
19400         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
19401         * pa.c (insn_refs_are_delayed): Renamed from
19402         insn_sets_and_refs_are_delayed.
19403
19404 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
19405
19406         * functiion.h (struct function): Add x_whole_function_mode_p.
19407         (retrofit_block): Declare.
19408         * function.c (retrofit_block): New function.
19409         (identify_blocks): Add assertions.  Allow an incomplete set of
19410         block notes if we're still generating code for the function.
19411         * integrate.c: Include loop.h.
19412         (expand_inline_function): Call find_loop_tree_blocks to map block
19413         notes to blocks when in whole-function mode.  Use retrofit_block
19414         to insert new BLOCKs for the inlined function, rather than
19415         insert_block.
19416         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
19417         * Makefile.in (integrate.o): Depend on loop.h.
19418
19419 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
19420
19421         * tree.h (warn_about_unused_variables): Declare.
19422         * stmt.c (warn_about_unused_variables): New function, split out
19423         from ...
19424         (expand_end_bindings): Here.
19425
19426 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
19427
19428         * stmt.c (preserve_subexpressions_p): Don't crash when
19429         current_function->stmt is unset.
19430
19431 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
19432
19433         * stmt.c (expand_start_bindings): Allow callers to pass a flag
19434         indicating that no NOTE_INSN_BLOCK_BEG note is required.
19435         (expand_start_target_temps): Use it.
19436         * except.c (expand_eh_region_start_for_decl): Likewise.
19437         * expr.c (expand_expr): Likewise.
19438
19439 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19440
19441         * fold-const.c (operand_equal_p): Pay attention to side effects.
19442
19443 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
19444
19445         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
19446         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
19447
19448         * tlink.c (scan_linker_output): Look for keywords before accepting
19449         a mangled name in quotes.
19450
19451 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
19452
19453         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
19454         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
19455
19456 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
19457
19458         * alpha.md: Revert Thu Nov 26 change that came in through the
19459         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
19460         Avoid earlyclobber when possible.
19461
19462 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19463
19464         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
19465
19466         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
19467         Define HAVE_ON_EXIT.
19468
19469 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19470
19471         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
19472         CTYPE_CONV in all ctype macros.
19473
19474         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
19475         from system.h.
19476
19477         * cexp.y (initialize_random_junk): Likewise.
19478
19479         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
19480
19481         * i370.c (handle_pragma): Likewise.
19482
19483         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
19484
19485         * v850.c (override_options): Likewise.
19486
19487         * doprint.c (_doprnt): Likewise.
19488
19489         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
19490         Likewise.
19491
19492         * fixinc/server.c (load_data): Likewise.
19493
19494         * fold-const.c (real_hex_to_f): Likewise.
19495
19496         * genattr.c (write_upcase, gen_attr): Likewise.
19497
19498         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
19499         write_upcase): Likewise.
19500
19501         * genemit.c (print_code): Likewise.
19502
19503         * genopinit.c (gen_insn): Likewise.
19504
19505         * genpeep.c (print_code): Likewise.
19506
19507         * genrecog.c (print_code): Likewise.
19508
19509         * optabs.c (init_libfuncs): Likewise.
19510
19511 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
19512
19513         * haifa-sched.c (sched_analyze): Keep the list of notes organized
19514         in pairs.
19515         (reemit_notes): Likewise.
19516
19517 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
19518
19519         * ggc.h (ggc_root): Move to ggc-common.c.
19520         (roots): Remove.
19521         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
19522         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
19523         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
19524         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
19525         * ggc-common.c (ggc_root): Move from ggc.h.
19526         (roots): Declare, static.
19527         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
19528         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
19529         null or check/set mark bit.
19530         (ggc_mark_roots): New.
19531         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
19532
19533 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
19534
19535         * m32r.c: Include toplev.h.
19536         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
19537         (gen_compare): Rename swap_p to must_swap to match uses.
19538         Add default abort case.
19539         (m32r_output_function_epilogue): Remove unused variables.
19540         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
19541         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
19542         define to empty parameter list.  Update all uses.
19543         (predicate decls): Use enum machine_mode not int.
19544         * m32r.md (movsi): Call abort, not fatal_insn.
19545         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
19546
19547 1999-09-14  Andrew Haley  <aph@cygnus.com>
19548
19549         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
19550         use $0 instead of 0.
19551
19552 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19553
19554         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
19555         computation out of loop over hard regs.
19556
19557 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
19558
19559         * function.c (identify_blocks): Don't shadow a variable in an
19560         outer scope.
19561         * integrate.c (integrate_decl_tree): Don't use pushlevel,
19562         pushdecl, or poplevel to build up the new BLOCK tree.
19563         (expand_inline_function): Likewise.
19564         (integrate_parm_decls): Likewise.
19565
19566 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
19567
19568         * c-typeck.c (qualify_type): Merge qualifiers from both types.
19569
19570 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
19571
19572         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
19573         * invoke.texi: Document this change.
19574
19575 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
19576
19577         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
19578         Free the struct.
19579         (mark_emit_status): Renamed from mark_emit_state.
19580         * except.c (mark_eh_status): Renamed from mark_eh_state.
19581         Check not null before marking.
19582         (free_eh_status): New.
19583         * expr.c (mark_expr_status, free_expr_status): New.
19584         * function.c (free_machine_status): New.
19585         (free_after_parsing): New.
19586         (free_after_compilation): Move bits to free_after_parsing; call
19587         free_eh_status, free_expr_status; zero the marked members of the
19588         function state.
19589         (prepare_function_start): No can_garbage_collect.
19590         Call init_eh_for_function.
19591         (expand_dummy_function_end): Free up current_function state.
19592         (mark_function_status): Renamed from mark_function_state.
19593         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
19594         * function.h (struct function): No can_garbage_collect.
19595         (free_machine_status, free_after_parsing): Declare.
19596         (free_eh_status, free_expr_status): Declare.
19597         * ggc.h (mark_expr_status): Declare.
19598         * stmt.c (free_stmt_status): Free the struct.
19599         (mark_stmt_status): Renamed from mark_stmt_state.
19600         (init_stmt): Don't call init_eh.
19601         (init_stmt_for_function): Don't call init_eh_for_function.
19602         * toplev.c (compile_file): Call init_eh.
19603         (rest_of_compilation): Free basic block info before ggc_collect.
19604         Call free_after_parsing; conditionally call free_after_compilation.
19605         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
19606         Check not null before marking.
19607         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
19608
19609 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
19610
19611         * c-lex.c (yylex): Initialize warn.
19612
19613 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
19614
19615         * pa.c (emit_move_sequence): Properly set the mode of the scratch
19616         register when performing secondary reloads for the SAR register.
19617
19618 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
19619
19620         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
19621         (NOTE_BLOCK): New macro.
19622         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
19623         * function.h (identify_blocks): Change prototype.
19624         * function.c (identify_blocks): Simplify.
19625         (reorder_blocks): Likewise.
19626         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
19627         NOTE_INSN_BLOCK_{BEG,END}.
19628         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
19629         the list of saved notes if the note isn't a
19630         NOTE_INSN_BLOCK_{BEG,END}.
19631         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
19632         NOTE_BLOCK_NUMBER.
19633         (reemit_notes): Adjust recreation of notes to reflect new saved
19634         note structure.
19635         * print-rtl.c (print_rtx): Print the address of the BLOCK when
19636         printing a block note.
19637         * stmt.c (block_vector): Remove.
19638         (find_loop_tree_blocks): Simplify.
19639         (unroll_block_trees): Likewise.
19640         * tree.h (reorder_block): Change prototype.
19641
19642 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
19643
19644         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
19645         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
19646         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
19647         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
19648         (atexit, exit): Simplify.
19649         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
19650         * config/lots: Remove defns of HAVE_ATEXIT.
19651
19652 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
19653
19654         * calls.c (precompute_arguments): Fix typo in comment.
19655         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
19656         TARGET_EXPR.
19657
19658 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
19659
19660         * dsp16xx.c (override_options): Fix typos in GC root registration.
19661
19662 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
19663
19664         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
19665         from config/svr4.h.
19666         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
19667         (FUNCTION_PROFILER): Redefine appropriately for Linux.
19668         (CC1_SPEC): Likewise.
19669
19670 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19671
19672         * genattr.c (main): Add extern prototype.  Call return, not exit.
19673         * genattrtab.c (main): Likewise.
19674         * gencheck.c (main): Likewise.
19675         * gencodes.c (main): Likewise.
19676         * genconfig.c (main): Likewise.
19677         * genemit.c (main): Likewise.
19678         * genextract.c (main): Likewise.
19679         * genflags.c (main): Likewise.
19680         * gengenrtl.c (main): Likewise.
19681         * genopinit.c (main): Likewise.
19682         * genoutput.c (main): Likewise.
19683         * genpeep.c (main): Likewise.
19684         * genrecog.c (main): Likewise.
19685
19686         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
19687         * genattrtab.c (get_insn_name): Likewise.
19688         * gencodes.c (get_insn_name): Likewise.
19689         * genconfig.c (get_insn_name): Likewise.
19690         * genemit.c (get_insn_name): Likewise.
19691         * genextract.c (get_insn_name): Likewise.
19692         * genflags.c (get_insn_name): Likewise.
19693         * genopinit.c (get_insn_name): Likewise.
19694         * genpeep.c (get_insn_name): Likewise.
19695
19696         * gencheck.c (usage): Add static prototype.
19697         * genextract.c (print_path): Constify a char*.
19698         * genopinit.c (optabs): Likewise.
19699         * genoutput.c (operand_data, data, output_predicate_decls,
19700         compare_operands): Likewise.
19701         * genrecog.c (write_tree): Add default case in switch.
19702
19703 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19704
19705         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
19706
19707         * print-rtl.c (get_insn_name): Remove prototype.
19708
19709         * toplev.h (progname): Declare const.
19710
19711         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
19712         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
19713         dump_sched_info, dump_local_alloc, regset_release_memory,
19714         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
19715         error_with_file_and_line, error_with_decl, error_for_asm, error,
19716         fatal, warning_with_file_and_line, warning_with_decl, warning,
19717         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
19718         Remove redundant prototypes.
19719
19720         (notice, check_lang_option, report_file_and_line, vnotice,
19721         mark_file_stack): Add static prototype.
19722         (set_fatal_function): Add prototype.
19723         (vnotice, report_file_and_line, set_fatal_function,
19724         check_lang_option): Constify a char*.
19725         (main): Prototype.  Call return, not exit.
19726
19727 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19728
19729         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
19730
19731         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
19732
19733         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
19734
19735         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
19736
19737 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19738
19739         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
19740         behave as if it's zero in all cases.
19741         (expand_function_start): Adjust call to assign_parms.
19742         * tree.h (assign_parms): Adjust prototype.
19743         * objc/objc-act.c (hack_method_prototype): Adjust call to
19744         assign_parms.
19745
19746 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
19747
19748         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
19749         arg_pointer_rtx fixed if the argument pointer register is
19750         not fixed.
19751         (NONZERO_BASE_PLUS_P): Likewise.
19752
19753 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
19754
19755         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
19756         match_insn2 to match_insn.
19757         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
19758
19759 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
19760
19761         * Makefile.in (USER_H): Remove va-foo.h.
19762
19763         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
19764         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
19765         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
19766         va-spur.h,va-v850.h}: Remove.
19767
19768 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
19769
19770         * sparc/sparc.md (eligible_for_return_delay): New attribute.
19771         (in_return_delay): Use it instead of match_insn.
19772
19773 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19774
19775         * config/alpha/va_list.h (va-alpha.h): Do not include.
19776         (__gnuc_va_list): Typedef as in varargs.h.
19777
19778 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
19779
19780         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
19781         DECL_LIVE_RANGE_RTL.
19782
19783 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
19784
19785         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
19786         not NOTE_BLOCK_NUMBER.
19787         (expand_eh_region_end): Likewise.
19788         (find_exception_handler_labels): Likewise.
19789         (scan_region): Likewise.
19790         (exception_optimize): Likewise.
19791         (update_rethrow_references): Likewise.
19792         (set_insn_eh_region): Likewise.
19793         * final.c (final_scan_insn): Likewise.
19794         * flow.c (make_edges): Likewise.
19795         * integrate.c (expand_inline_function): Likewise.
19796         * print-rtl.c (print_rtx): Likewise.
19797
19798 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
19799
19800         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
19801         terms of builtin functions and types.
19802
19803         * mips.c (mips_build_va_list): New.
19804         (mips_va_start, mips_va_arg): New.
19805         * mips.h (BUILD_VA_LIST_TYPE): New.
19806         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
19807
19808         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
19809         (sh_build_va_list, sh_va_start, sh_va_arg): New.
19810         * sh.h (BUILD_VA_LIST_TYPE): New.
19811         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
19812
19813 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
19814
19815         * recog.h (struct recog_data): Make dup_num, operand_address_p,
19816         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
19817         (struct insn_data): Likewise with n_operands, n_dups,
19818         n_alternatives, output_format.
19819         * regclass.c (scan_one_insn): Cast n_operands to int before
19820         arithmetic inside comparison.
19821
19822 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
19823
19824         * toplev.c (compile_function): Unconditionally emit nop.
19825
19826 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19827
19828         * haifa-sched.c (actual_hazard): Move declaration of variable
19829         `this_cost' into the scope where it is used.
19830
19831 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19832
19833         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
19834         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
19835         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
19836
19837         * genrecog.c (make_insn_sequence): Call memset, not bzero.
19838
19839         * jump.c (find_insert_position): Don't declare or define unless
19840         !HAVE_conditional_arithmetic.
19841         (returnjump_p_1, delete_prior_computation): Add static prototypes.
19842
19843         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
19844
19845         * recog.c (offsettable_address_p): Prototype function pointer.
19846         (preprocess_constraints): Call memset, not bzero.
19847
19848         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
19849         (gcc_obstack_init): Don't declare.
19850         (fix_sizetype): Add static prototype.
19851         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
19852         (tree_cons): Call memset, not bzero.
19853
19854         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
19855         definition in macro ASM_WEAKEN_LABEL.
19856         (mark_const_hash_entry): Add static prototype.
19857
19858 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19859
19860         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
19861
19862         * unroll.c (find_common_reg_term, subtract_reg_term,
19863         loop_find_equiv_value): Add static prototypes.
19864         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
19865         (copy_loop_body): Remove unreachable break statement.
19866
19867         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
19868
19869         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
19870
19871 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19872
19873         Undo some changes from the gcc2 merge:
19874         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
19875         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
19876         pointers.
19877
19878         Undo this change:
19879         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
19880         * emit-rtl.c (gen_lowpart_common): Disable optimization of
19881         initialized float-int union if the value is a NaN.
19882
19883 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19884
19885         * gthr-win32.h: New file.
19886
19887         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
19888         shared as a valid attribute.
19889         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
19890         * extend.texi: Document `shared' variable attribute.
19891
19892 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
19893
19894         * configure.in: Handle --enable-threads on FreeBSD.
19895         * configure: Rebuit.
19896
19897 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19898
19899         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
19900         thread support.
19901         * configure: Rebuilt.
19902
19903 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
19904                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
19905                           Rosimildo DaSilva <rdasilva@connecttel.com>
19906
19907         * configure.in (m68k-*-rtemscoff*): Added.
19908         * configure.in (mips64orion-*-rtems*): Converted to ELF.
19909         * configure.in (sparc-*-rtemsaout*): Added as alias for old
19910         sparc-rtems configuration.
19911         * configure.in (sparc-*-rtemself*): Added.
19912         * configure.in (sparc-*-rtems*): Now ELF not a.out.
19913         * config/i386/rtems.h: Added comment.
19914         * config/sparc/rtemself.h: New file.
19915
19916         * configure.in (m68k-rtemself): Added.
19917         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
19918         and DWARF_DEBUGGING_INFO.
19919         * config/m68k/crti.s: New file.
19920         * config/m68k/crtn.s: New file.
19921         * config/m68k/t-crtstuff: New file.
19922         * config/m68k/rtemself.h: New file.
19923
19924         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
19925         global ctor/dtor and C++ exception handling.
19926         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
19927         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
19928         ENDFILE_SPEC.
19929         * config/i386/t-rtems-i386: New File.
19930
19931 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
19932
19933         * stmt.c (expand_end_case): Return right away if the case stack is
19934         empty.
19935
19936 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
19937
19938         * Makefile.in (version.c): Remove rule incorrectly brought in from
19939         the gcc2 merge.
19940
19941 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
19942
19943         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
19944         * msdos/top.sed:  Take into account a prepended $(SHELL) to
19945         move-if-change.
19946         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
19947
19948         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
19949
19950 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19951
19952         * regmove.c (fixup_match_1): Don't change an unchanging register.
19953         (stable_but_for_p): Renamed to:
19954         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
19955         Changed all callers.
19956
19957 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
19958
19959         * loop.c (strength_reduce): Don't call reg_used_between_p if the
19960         insn from BL2 is after the insn from BL.
19961
19962 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
19963
19964         * recog.h (INSN_OUTPUT_FORMAT_*): New.
19965         (struct insn_data): Merge `template' and `outfun' into `output'.
19966         Add `output_format'.
19967         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
19968         (struct data): Remove `outfun'; add `output_format'.
19969         (name_for_index): Remove declaration.
19970         (output_insn_data): Handle output formats.
19971         (process_template): Emit the bare array for @.
19972         (gen_expand, gen_split): Set output_format to NONE.
19973         * output.h (get_insn_template): Declare.
19974         * final.c (get_insn_template): New.
19975         (final_scan_insn): Use it.
19976         * toplev.c (compile_file): Likewise.
19977
19978         * c4x/c4x.c (c4x_process_after_reload): Likewise.
19979         * i860/i860.c (output_delayed_branch): Likewise.
19980         (output_delay_insn): Likewise.
19981
19982 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
19983
19984         * rtl.c (obstack_alloc_rtx): Removed.
19985
19986 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
19987
19988         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
19989
19990 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
19991
19992         * i386.c (call_insn_operand): Reject const_int.
19993         (expander_call_insn_operand): Use call_insn_operand.
19994
19995 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19996
19997         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
19998
19999 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
20000
20001         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
20002         Use DImode operation.
20003
20004 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
20005
20006         * gcc.c: Include sys/resource.h.
20007         (report_times): New flag.
20008         (execute):  If report_times is set, calculate and report the
20009         CPU time consumed by each subprocess.
20010
20011         (rus, prus): New globals.
20012         (option_map): Add --time.
20013         (display_help): Document -time.
20014         (process_command): Set report_times if -time is given.
20015         Turn off -pipe if -time is given.
20016
20017         * invoke.texi: Document new option -time.
20018
20019         * configure.in: Check for getrusage.  Check if we have to
20020         prototype getrusage.
20021         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
20022         * configure: Regenerate.
20023         * config.in: Regenerate.
20024
20025 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
20026
20027         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
20028         fields.
20029
20030 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
20031
20032         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
20033         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
20034         (nan): Return _thenan_sf or _thenan_df as appropriate.
20035         (L_thenan_sf): Define _thenan_sf.
20036         (L_thenan_df): Define _thenan_df.
20037
20038         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
20039         (DPBIT_FUNCS): Add _thenan_df.
20040
20041 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
20042
20043         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
20044         TYPE_SIZE_UNIT.
20045
20046 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20047
20048         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
20049
20050         * gcc.h: New file.
20051         (lang_specific_driver): Don't take a function pointer parameter.
20052         All callers changed.
20053
20054         * gcc.c: Include gcc.h.
20055         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
20056         lang_specific_extra_outfiles, fatal): Don't declare.
20057         (multilib_defaults_raw): Constify.
20058         (read_specs): Call memset, rather than bzero.
20059         (main): Call return, not exit.
20060         (lookup_compiler): Call memcpy, not bcopy.
20061         (fatal): Make extern.
20062
20063         * cppspec.c: Include gcc.h.
20064         (lang_specific_driver): Initialize variable `quote'.  Constify a
20065         char*.  All calls to the function pointer parameter now
20066         explicitly call `fatal'.
20067
20068         * gccspec.c (lang_specific_driver): Include gcc.h.
20069
20070 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
20071
20072         * arm.c (note_invalid_constants): Use recog_data.operand_type
20073         for recog_op_type.
20074
20075 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20076
20077         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
20078         Declare.
20079
20080         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
20081         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
20082         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
20083         reload_secondary_in_reload, reload_secondary_out_reload,
20084         reload_secondary_in_icode, reload_secondary_out_icode,
20085         reload_reg_rtx, reload_when_needed): Delete declarations.
20086         (struct reload): New structure.
20087         (rld): Declare new array.
20088         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
20089         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
20090         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
20091         reload_secondary_in_reload, reload_secondary_out_reload,
20092         reload_secondary_in_icode, reload_secondary_out_icode,
20093         reload_reg_rtx, reload_when_needed): Delete definitions.
20094         (rld): New array.
20095         (whole file): Replace uses of the deleted arrays with uses of rld.
20096         * reload1.c (whole file): Replace uses of the deleted arrays with
20097         uses of rld.
20098         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
20099         explicit loops, not with bcopy.
20100
20101 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
20102
20103         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
20104         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
20105         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
20106         insn_name): Delete and consolidate into new structures.
20107         (insn_operand_predicate_fn): New.
20108         (insn_output_fn): New.
20109         (insn_gen_fn): New.
20110         (struct insn_operand_data): New.
20111         (struct insn_data): New.
20112         (insn_data): New.
20113         (OUT_FCN): Update for insn_data change.
20114         * builtins.c (expand_builtin_strlen): Likewise.
20115         (expand_builtin_memcmp): Likewise.
20116         * combine.c (make_extraction, simplify_comparison): Likewise.
20117         * cse.c (canon_reg, cse_insn): Likewise.
20118         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
20119         * expmed.c (store_bit_field, extract_bit_field): Likewise.
20120         (emit_store_flag): Likewise.
20121         * expr.c (convert_move, emit_block_move): Likewise.
20122         (clear_storage, emit_push_insn, expand_increment): Likewise.
20123         (do_store_flag): Likewise.
20124         * expr.h (GEN_FCN): Likewise.
20125         (insn_gen_function): Die.
20126         * final.c (final_scan_insn): Update for insn_data change.
20127         (output_asm_name): Likewise.
20128         * function.c (fixup_var_refs_1): Likewise.
20129         * loop.c (check_dbra_loop): Likewise.
20130         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
20131         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
20132         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
20133         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
20134         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
20135         * regmove.c (gen_add3_insn): Likewise.
20136         * reload.c (push_secondary_reload, combine_reloads): Likewise.
20137         (find_reloads, find_reloads_address_1): Likewise.
20138         (debug_reload_to_stream): Likewise.
20139         * reload1.c (emit_reload_insns, gen_reload): Likewise.
20140         * stmt.c (expand_end_case): Likewise.
20141         * toplev.c (compile_file): Likewise.
20142
20143         * c4x/c4x.c (c4x_process_after_reload): Likewise.
20144         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
20145
20146         * print-rtl.c (insn_name_ptr): Remove declaration.
20147         (get_insn_name): Declare.
20148         (print_rtx): Use it.
20149         * genoutput.c (insn_name_ptr): Remove.
20150         (next_operand_number): New.
20151         (struct operand_data): New.
20152         (null_operand, odata, odata_end): New.
20153         (struct data): Use struct operand_data.
20154         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
20155         (get_insn_name): Renamed from name_for_index.
20156         (output_prologue): Define NO_MD_PROTOTYPES.
20157         (output_predicate_decls): Break out from output_epilogue.
20158         Iterate over the operands list.
20159         (output_operand_data): Break out from output_epilogue.  Emit
20160         just the operands list.
20161         (output_insn_data): Break out from output_epilogue.  Emit just
20162         the insn data.
20163         (output_epilogue): Remove.
20164         (output_get_insn_name): New.
20165         (constraints, op_n_alternatives, predicates, address_p): Die.
20166         (modes, strict_low, seen): Die.
20167         (scan_operands): Take new param `d' instead of writing to
20168         seven global variables.
20169         (compare_operands): New.
20170         (place_operands): New.
20171         (validate_insn_alternatives): Update for struct data change.
20172         (gen_insn): Don't zero or copy 7 global arrays.  Update for
20173         scan_operands; call place_operands.
20174         (gen_peephole, gen_expand, gen_split): Likewise.
20175         (main): Update for new output routines.
20176
20177         * genattr.c (insn_name_ptr): Remove.
20178         (get_insn_name): New function.
20179         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
20180         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
20181         * genrecog.c: Likewise.
20182
20183         * alpha.md (adddi3): Make `pattern' array static.
20184
20185 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20186
20187         * config/c4x/c4x.h (c4x_rpts_cycles_string,
20188         c4x_cpu_version_string): Constify char *.
20189         * config/c4x/c4x.c (c4x_rpts_cycles_string,
20190         c4x_cpu_version_string): Likewise.
20191
20192 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
20193
20194         * tree.c (save_tree_status): Revert 10 Sep change.
20195         (restore_tree_status): Likewise.  Call obstack_free with NULL
20196         before freeing the obstack proper.
20197
20198 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
20199
20200         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
20201
20202         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
20203         surrounding context.
20204
20205 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
20206
20207         * tree.c (type_hash_canon): Put all types in the hash-table, when
20208         GC'ing.
20209
20210 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
20211
20212         * recog.h (struct recog_data, recog_data): New.
20213         (recog_foo variables): Kill.
20214         * recog.c (recog_operand, recog_operand_loc): Kill.
20215         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
20216         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
20217         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
20218         (recog_data): Define.
20219         (extract_insn): Update all recog_foo references to use recog_data.
20220         (preprocess_constraints, constrain_operands): Likewise.
20221         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
20222         * genattrtab.c (main): Likewise.
20223         * genextract.c (main): Likewise.
20224         * genoutput.c: Likewise.
20225         * genrecog.c (write_subroutine, main): Likewise.
20226         * local-alloc.c (block_alloc): Likewise.
20227         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
20228         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
20229         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
20230         * reload.c (find_reloads, find_reloads_toplev): Likewise.
20231         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
20232         (reload_cse_simplify_operands): Likewise.
20233
20234         * arc/arc.c (arc_final_prescan_insn): Likewise.
20235         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
20236         * h8300/h8300.c (notice_update_cc): Likewise.
20237         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
20238         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
20239         * mn10200/mn10200.c (notice_update_cc): Likewise.
20240         * mn10300/mn10300.c (notice_update_cc): Likewise.
20241         * romp/romp.c (update_cc): Likewise.
20242         * sparc/sparc.c (check_pic): Likewise.
20243         * v850/v850.c (notice_update_cc): Likewise.
20244
20245         * genemit.c (main): Don't declare recog_operand.
20246
20247 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
20248
20249         * ggc.h (rtvec_def): Forward declare.
20250         (tree_node): Likewise.
20251         (ggc_root): Define.
20252         (roots): Declare.
20253         (ggc_set_mark_rtx): Add prototype.
20254         (ggc_set_mark_rtvec): Likewise.
20255         (ggc_set_mark_tree): Likewise.
20256         * ggc-simple.c (ggc_root): Don't define.
20257         (roots): Don't declare.
20258         (ggc_mark_rtx): Remove.
20259         (ggc_mark_rtvec): Likewise.
20260         (ggc_mark_tree): Likewise.
20261         (ggc_mark_varray): Likewise.
20262         (ggc_mark_tree_hash_table_entry): Likewise.
20263         (ggc_mark_tree_hash_table): Likewise.
20264         (ggc_set_mart_rtx): New function.
20265         (ggc_set_mark_rtvec): Likewise.
20266         (ggc_set_mark_tree): Likewise.
20267         (ggc_add_root): Remove.
20268         (ggc_add_rtx_root): Likewise.
20269         (ggc_remove_tree_root): Likewise.
20270         (ggc_add_string_root): Likewise.
20271         (ggc_add_tree_varray_root): Likewise.
20272         (ggc_add_tree_hash_table_root): Likewise.
20273         (ggc_del_root): Likewise.
20274         (ggc_mark_rtx_ptr): Likewise.
20275         (ggc_mark_tree_ptr): Likewise.
20276         (ggc_mark_string_ptr): Likewise.
20277         (ggc_mark_tree_varray_ptr): Likewise.
20278         (ggc_mark_tree_hash_table_ptr): Likewise.
20279         * ggc-common.c: New file.
20280         * Makefile.in (OBJS): Add ggc-common.o.
20281         (ggc-common.o): List dependencies.
20282
20283 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
20284
20285         * cppalloc.c (xstrdup): Use memcpy.
20286         * cpperror.c (cpp_print_containing_files): Don't use
20287         cpp_notice.
20288         * cpplib.c (conditional_skip): Set temp->lineno.
20289         (do_endif): Make error message less obscure.
20290         (if_directive_name): New function.
20291         (cpp_get_token [case EOF]): Unwind the if stack and generate
20292         error messages for each unterminated conditional in this file.
20293         (parse_string):  Do not behave differently if -traditional.
20294
20295 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
20296
20297         * builtins.c (expand_builtin_va_arg): Cope with an array-type
20298         va_list decomposing to pointer-type.
20299         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
20300         (rs6000_va_arg): Likewise.
20301
20302 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
20303
20304         * except.c (start_dynamic_handler): Compute size using
20305         STACK_SAVEAREA_MODE.
20306
20307 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20308
20309         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
20310         include directory headers.  Don't define strrchr.  Don't provide
20311         my_* replacement functions.  Prefer PTR over `pointer_type'.
20312         Don't prototype system functions.  Don't redefine getopt.
20313
20314         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
20315         safe_read, safe_write, save_pointers, restore_pointers,
20316         is_id_char, in_system_include_dir, directory_specified_p,
20317         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
20318         find_corresponding_lparen, referenced_file_is_newer,
20319         save_def_or_dec, munge_compile_params, gen_aux_info_file,
20320         process_aux_info_file, identify_lineno, check_source,
20321         seek_to_line, forward_to_next_token_char, output_bytes,
20322         output_string, output_up_to, other_variable_style_function,
20323         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
20324         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
20325         find_static_definition, connect_defs_and_decs, add_local_decl,
20326         add_global_decls, needs_to_be_converted, visit_each_hash_node,
20327         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
20328         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
20329         scan_for_missed_items, edit_file, string_list_cons): Add static
20330         prototypes.
20331         (standard_exec_prefix, target_machine, target_version,
20332         default_syscalls_dir, string_list, string_list_cons, find_file,
20333         do_cleaning): Constify a char*.
20334         (safe_read, safe_write): Use PTR, not a char*.
20335         (is_id_char): Take an int, not a char.
20336         (main): Add prototype.  Call return, not exit.
20337
20338 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
20339
20340         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
20341         when comparing types.
20342
20343 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
20344
20345         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
20346         (strength_reduce): Release the varrays from the no-bivs early exit.
20347
20348         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
20349         the loop over the registers.
20350
20351         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
20352         for a new obstack.
20353         (restore_tree_status): Check that instead when freeing the obstack.
20354
20355 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
20356
20357         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
20358         as pointers.
20359
20360 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20361
20362         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
20363         operand size modifiers.
20364
20365 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20366
20367         * c-common.c (c_common_nodes_and_builtins): Don't build
20368         va_list_type_node.
20369         * c-common.h (enum c_tree_index and related accesor macros): Remove
20370         everything now declared in tree.h.
20371         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
20372         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
20373         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
20374         (error_mark_node, void_type_node, char_type_node, integer_type_node,
20375         unsigned_type_node, ptr_type_node, va_list_type_node,
20376         integer_zero_node, null_pointer_node, integer_one_node): Delete.
20377         (init_decl_processing): Call build_common_tree_nodes and
20378         build_common_tree_nodes_2 instead of building their nodes here.
20379         Don't add roots for these nodes.
20380         * stor-layout.c (size_zero_node, size_one_node): Delete.
20381         (set_sizetype): Make a new node for bitsizetype each time.
20382         * tree.c (global_trees): New variable.
20383         (init_obstacks): Add a gc root for it.
20384         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
20385         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
20386         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
20387         (build_common_tree_nodes): New function.
20388         (fix_sizetype): New function.
20389         (build_common_tree_nodes_2): New function.
20390         * tree.h (enum tree_index): New.
20391         (global_trees): Declare.
20392         Add accessor macros for all nodes now moved to global_trees.
20393         Delete their declarations.
20394
20395 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
20396
20397         * c-decl.c (finish_function): When processing a nested function,
20398         push and pop GC context around rest_of_compilation.
20399
20400 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
20401
20402         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
20403         Default ix86_arch to PROCESSOR_I386.
20404         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
20405         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
20406         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
20407         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
20408         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
20409         (EXTRA_SPECS): Remove deleted specs.
20410
20411 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
20412
20413         * function.c (assign_stack_local_1): Allocate from
20414         function->x_frame_offset, not frame_offset.
20415
20416 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
20417
20418         * ggc.h (lang_cleanup_tree): Remove.
20419         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
20420         * ggc-callbacks.c (lang_cleanup_tree): Remove.
20421
20422         * c-decl.c (finish_struct): Use ggc_alloc to allocate
20423         TYPE_LANG_SPECIFIC when garbage collecting.
20424         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
20425         (lang_cleanup_tree): Remove.
20426
20427 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
20428
20429         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
20430         * crtstuff.c: Not here.
20431         * dwarf2out.c: Or here.
20432         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
20433         info.
20434
20435 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
20436
20437         * function.h (free_after_compilation): Remove decl parameter.
20438         (free_varasm_status0: Likewise.
20439         (free_emit_status): Likewise.
20440         (free_stmt_status): Likewise.
20441         (free_after_compilation): Likewise.
20442         (init_lang_status): New variable.
20443         (free_lang_status): Likewise.
20444         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
20445         * function.c (init_lang_status): New variable.
20446         (free_lang_status): Likewise.
20447         (push_function_context_to): Don't set function::decl here.
20448         (free_after_copmilation): Make decl parameter implicit.  Call
20449         free_lang_status if defined.
20450         (prepare_function_start): Call init_lang_status if defined.
20451         (init_function_start): Set function::decl here.
20452         * profile.c (output_func_start_profiler): Don't call pushdecl
20453         until we've actually started the function.
20454         * stmt.c (free_stmt_status): Make decl parameter implicit.
20455         * toplev.c (rest_of_compilation): Don't pass decl to
20456         free_after_compilation.
20457         * varasm.c (free_varasm_status): Likewise.
20458
20459 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20460
20461         * except.c (call_get_eh_context): Add root when allocating static
20462         tree variable.
20463
20464 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
20465
20466         * arm.c: Include "ggc.h".
20467         (arm_add_gc_roots): New function.
20468         (arm_override_options): Call it.
20469         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
20470
20471         * arm.md (define_asm_attributes): Add a pool_range attribute.
20472
20473 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
20474
20475         * extend.texi (Volatiles): New node.
20476
20477 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
20478
20479         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
20480         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
20481         (struct ggc_any): Replace `mark' with `magic_mark'.
20482         (ggc_alloc_string): Use memcpy, not bcopy.
20483         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
20484         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
20485         (ggc_free_any): New.
20486         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
20487         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
20488         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
20489         Use IS_MARKED. Use ggc_free_any.
20490
20491 1999-09-09  Scott Bambrough <scottb@netwinder.org>
20492
20493         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
20494
20495 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
20496
20497         * toplev.c (main): Always init_ggc.
20498
20499 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
20500
20501         * except.c (find_all_handler_type_matches): Free the list if
20502         we found no matches.
20503
20504         * combine.c (SUBST): Break out to a real function do_SUBST.
20505         (SUBST_INT): Likewise.
20506         * gcse.c (free_pre_mem): Free `temp_bitmap'.
20507         (pre_insert): Free `inserted'.
20508         * loop.c (basic_induction_var): Always set `location'.
20509
20510         * function.c (expand_function_end): Add initial_trampoline as a root.
20511         * rtl.h (init_varasm_once): Declare.
20512         * toplev.c (compile_file): Call it.
20513         * ggc-simple.c (ggc_mark_string_ptr): New.
20514         (ggc_add_string_root): New.
20515         (ggc_collect): Disable collection avoidance temporarily.
20516         * ggc.h (ggc_add_string_root): Declare.
20517         * except.c (create_rethrow_ref): Use ggc_alloc_string.
20518         * optabs.c (init_libfuncs): Likewise.
20519         * varasm.c (named_section): Use ggc_alloc_string.
20520         (make_function_rtl): Likewise.
20521         (make_decl_rtl): Likewise.
20522         (assemble_static_space): Likewise.
20523         (assemble_trampoline_template): Likewise.
20524         (output_constant_def): Likewise.
20525         (force_const_mem): Likewise.
20526         (mark_const_hash_entry): New.
20527         (mark_pool_sym_hash_table): New.
20528         (mark_varasm_state): Use it.
20529         (init_varasm_once): New.
20530
20531         * expr.h (init_one_libfunc): Declare.
20532         * optabs.c (init_one_libfunc): New.
20533         (init_optabs): Use it.
20534         * config/gofast.h: Likewise.
20535         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
20536         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
20537
20538 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
20539
20540         * Makefile.in (cppexp.o): Depend on cpphash.h.
20541         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
20542         Include cpphash.h.
20543         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
20544         * cpplib.c (do_define): Generalise to handle poisoned definitions,
20545         redefining poisoned identifiers, etc.
20546         (do_undef): Don't allow poisoned identifiers to be undefined.
20547         (do_pragma): Add #pragma poison.
20548         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
20549
20550         * cccp.c: Add T_POISON node type.
20551         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
20552         poisoned xxx.
20553         (do_define): Generalise to handle poisoned definitions,
20554         redefining poisoned identifiers, etc.
20555         (do_undef): Don't allow poisoned identifiers to be undefined.
20556         (do_pragma): Add #pragma poison.
20557         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
20558
20559         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
20560         * c-pragma.h: Add ps_poison state.  We now always have generic
20561         pragmas.
20562
20563 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
20564
20565         * ggc.h (ggc_alloc): New function.
20566         (ggc_mark): Likewise.
20567         * ggc-simple.c (ggc_any): New structure.
20568         (ggc_status): Add anys.
20569         (n_anys_collected): New variable.
20570         (ggc_alloc): Define.
20571         (ggc_mark): Likewise.
20572         (ggc_collect): Collect the anys.
20573
20574 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20575
20576         * c-decl.c (mark_binding_level): Make static to match prototype.
20577
20578 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
20579
20580         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
20581
20582 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
20583
20584         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
20585         will use into account.  Expand the max width to 5.
20586         * rtl.c: Likewise.
20587
20588 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
20589
20590         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
20591         for the rtx length.
20592
20593 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
20594
20595         * alpha.md (call value patterns): Remove the result predicates.
20596
20597 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
20598
20599         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
20600         last change.
20601
20602 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20603
20604         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
20605         changed from extern char *, to extern PTR.  Also fix typo in
20606         NEED_DECLARATION_REALLOC test.
20607
20608         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
20609
20610 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20611
20612         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
20613         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
20614         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
20615         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
20616
20617         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
20618
20619         * cccp.c (pcfinclude): Likewise.
20620
20621         * global.c (allocno_compare): Likewise.
20622
20623         * haifa-sched.c (rank_for_schedule): Likewise.
20624
20625         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
20626
20627         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
20628
20629         * stupid.c (stupid_reg_compare): Likewise.
20630
20631         * tree.c (_obstack_allocated_p): Likewise.
20632
20633         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
20634
20635 1999-09-08  Bruce Korb  autogen@linuxbox.com
20636
20637         * Makefile.in: Give the hapless gperf user a hint about
20638         why "gperf -F" fails.
20639
20640 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
20641
20642         * lists.c: Include ggc.h.
20643         (zap_lists): New.
20644         (init_EXPR_INSN_LIST_cache): Install it.
20645
20646         * ggc-simple.c (init_ggc): Absorb the old init.
20647         (ggc_push_context): Use xcalloc.
20648         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
20649         (ggc_collect): Add [rvts] tags to the collection stats.
20650
20651 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
20652
20653         * cccp.c (main): Fix handling of -include and -imacros options.
20654
20655 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
20656
20657         * cpplib.c (cpp_push_buffer): Fix order of arguments.
20658
20659 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
20660
20661         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
20662         genrtl.c.
20663
20664 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
20665
20666         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
20667         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
20668         and SET_DEST. Update comment.
20669
20670 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20671
20672         * config/c4x/c4x.c: Include ggc.h.
20673         (c4x_add_gc_roots): New function.
20674         (c4x_override_options): Call c4x_add_gc_roots.
20675
20676 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
20677
20678         * defaults.h (TARGET_ESC): Move ...
20679         * system.h: ... here, where Linas had it in the first place.  Silly me.
20680
20681 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
20682
20683         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
20684         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
20685         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
20686         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
20687         * defaults.h (TARGET_ESC): Add default.
20688
20689 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
20690
20691         * configure.in: add i370-*-openedition, i370-*-mvs and
20692         i370-*-linux targets
20693
20694 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
20695
20696         * dsp16xxx.c: Include ggc.h
20697         (override_options): Mark GC roots.
20698         * mn10200.c: Include ggc.h.
20699         (asm_file_start): Mark GC roots.
20700         * tahoe.c: Include ggc.h.
20701         (extensible_operand): Mark GC roots.
20702
20703 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
20704
20705         * README: Add section discussing status of ELF ABI.
20706         * i370.c: Fix misc spelling mistakes.
20707         (i370_label_scan): Updated notes, exception handling.
20708         (i370_function_prolog): Simplify ELF stack handling.
20709         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
20710         (STACK_GROWS_DOWNWARD): ELF stack grows down.
20711         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
20712         * i370.md: (movdi): Add notes.
20713         (floatsidf2): Use stack not rtca for scratch float area.
20714         (iorsi3): Correct operand constraints.
20715         * x-oe: Restore TAROUTOPTS which are used by pax.
20716
20717 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
20718
20719         * rs6000.c: Include ggc.h.
20720         (rs6000_add_gc_roots): New function.
20721         (override_options): Call it.
20722
20723 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
20724
20725         * alpha.h (alpha_compare): New.
20726         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
20727         * alpha.c: Likewise for the definitions.
20728         (alpha_emit_conditional_branch): Update for alpha_compare.
20729         (alpha_emit_conditional_move): Likewise.
20730         * alpha.md (cmpdf, cmpdi): Likewise.
20731         (setcc patterns): Likewise.  Zero alpha_compare after use.
20732         (sne): Optimize (x != 0) into (0U < x).
20733
20734 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
20735
20736         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
20737         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
20738         (INIT_EXPANDERS): Remove.
20739         * alpha.c: Include ggc.h.
20740         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
20741         (alpha_init_machine_status, alpha_mark_machine_status): New.
20742         (override_options): Install them.
20743         (struct machine_function): Moved to alpha.h.
20744         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
20745         (alpha_init_expanders): Remove.
20746         (alpha_return_addr): Adjust to use current_function->machine.
20747         (alpha_ra_ever_killed): Likewise.
20748         (alpha_expand_epilogue): Likewise.
20749         * alpha.md (eh_epilogue): Likewise.
20750
20751 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
20752                           Melissa O'Neill  <oneill@cs.sfu.ca>
20753                           Geoffrey Keating  <geoffk@cygnus.com>
20754
20755         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
20756         call-used registers (call-saved registers must still be contiguous
20757         and end with r31, of course).
20758
20759 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
20760
20761         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
20762         (self_promoting_type_p): Delete.
20763         (self_promoting_args_p): Move ...
20764         * c-common.c: ... here.
20765         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
20766         (simple_type_promotes_to): New.
20767         * builtins.c (lang_type_promotes_to): New.
20768         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
20769         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
20770         * c-common.h: ... here.
20771         (self_promoting_args_p, simple_type_promotes_to): Declare.
20772         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
20773         (grokdeclarator): Likewise.
20774         * tree.h (lang_type_promotes_to): Declare.
20775
20776 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
20777
20778         Add some machine-dependent GC roots.
20779         * sparc.c: Include ggc.h.
20780         (sparc_add_gc_roots): New function.
20781         (mark_ultrasparc_pipeline_state): Likewise.
20782         (override_options): Call sparc_add_gc_roots.
20783         * pa.c: Include ggc.h.
20784         (pa_add_gc_roots): New function.
20785         (mark_deferred_plabels): Likewise.
20786         (override_options): Call pa_add_gc_roots.
20787         * mips.c: Include ggc.h.
20788         (mips_add_gc_roots): New function.
20789         (override_options): Use it.
20790
20791 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20792
20793         * cpperror.c (cpp_file_line_for_message): Constify a char*.
20794
20795         * cppexp.c (parse_number, parse_charconst, cpp_lex,
20796         cpp_parse_expr): Add static prototypes.
20797         (parse_charconst): Don't cast away const-ness.
20798         (token): Constify a char*.
20799
20800         * cppfiles.c (file_name_list, include_hash, find_include_file,
20801         finclude, initialize_input_buffer): Constify a char*.
20802         (file_cleanup, find_position): Add static prototypes.
20803
20804         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
20805         collect_expansion): Add static prototypes.
20806         (cpp_install, create_definition, monthnames): Constify a char*.
20807
20808         * cpphash.h (cpp_install): Likewise.
20809
20810         * cppinit.c (known_suffixes, default_include,
20811         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
20812         (base_name, dump_special_to_buffer, initialize_dependency_output):
20813         Add static prototypes.
20814
20815         * cpplib.c (my_strerror): Constify a char*.
20816         (null_underflow, null_cleanup, skip_comment, copy_comment,
20817         copy_rest_of_line, handle_directive, pass_thru_directive,
20818         get_directive_token, read_line_number, cpp_print_file_and_line,
20819         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
20820         v_cpp_warning_with_line, detect_if_not_defined,
20821         consider_directive_while_skipping): Add static prototypes.
20822         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
20823         cpp_pedwarn_with_file_and_line): Constify a char*.
20824
20825         * cpplib.h (cpp_options, include_hash, progname, definition,
20826         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
20827         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
20828         find_include_file, deps_output, include_hash): Constify a char*.
20829
20830         * cppmain.c (progname): Constify.
20831         (main): Add prototype.  Use return, not exit.
20832
20833         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
20834         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
20835         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
20836         check_protection): Add static prototype.
20837         (xfree): Remove.
20838         (progname, recognized_macrom, recognized_extern): Constify a char*.
20839         (main): Add prototype.
20840
20841         * gen-protos.c (progname): Constify a char*.
20842
20843 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
20844
20845         * emit-rtl.c (free_emit_status): Take decl as a parameter.
20846         (init_emit_once): Add more GC roots.
20847         * except.c (mark_func_eh_entry): New function.
20848         (mark_eh_node): Mark false_label and rethrow_label.
20849         (init_eh): Add more GC roots.
20850         * function.c (free_after_compilation): Take decl as a paramter.
20851         Call free_stmt_status.
20852         (mark_function_state): Don't assume x_parm_reg_stack_loc is
20853         non-NULL.
20854         * function.h (free_after_compilation): Change prototype.
20855         (free_varasm_status): Likewise.
20856         (free_emit_status): Likewise.
20857         (free_stmt_status): New function.
20858         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
20859         Remove, replacing with ...
20860         (ggc_status): New structure.
20861         (ggc_chain): New variable.
20862         (init_gcc): Define.
20863         (ggc_push_context): New function.
20864         (ggc_pop_context): Likewise.
20865         (ggc_alloc_rtx): Adjust for use of ggc_chain.
20866         (ggc_alloc_rtvec): Likewise.
20867         (ggc_alloc_tree): Likewise.
20868         (ggc_alloc_string): Likewise.
20869         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
20870         (ggc_mark_tree): Give language-dependent code a chance to mark
20871         `x' nodes.
20872         (ggc_mark_tree_varray): Handle empty arrays.
20873         (ggc_collect): Adjust for use of ggc_chain.  Clear
20874         bytes_alloced_since_last_gc.
20875         * ggc.h (ggc_pop_context): New function.
20876         (ggc_push_context): Likewise.
20877         * print-tree.c (print_node): Don't print obstacks when GC'ing.
20878         * stmt.c (free_stmt_status): New function.
20879         (init_stmt_for_function): Clear last_expr_value.
20880         * toplev.c (rest_of_compilation): Always call free_after_compilation.
20881         Conditionalize call to ggc_collect.
20882         (main): Call init_ggc.
20883         * tree.c (push_obstacks): Do the push, even when GC'ing.
20884         (push_obstacks_nochange): Likewise.
20885         (pop_obstacks): Liekwise.
20886         * varasm.c (free_varasm_status): Take decl as a parameter.
20887
20888 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20889
20890         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
20891         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
20892         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
20893         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
20894
20895 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
20896
20897         * pa/x-pa-mpeix: New file for the MPE port.
20898
20899         * pa/quadlib.asm: New file for long double support.
20900
20901         * configure.in: Add hppa1.0-*-mpeix for MPE port.
20902         * configure: Rebuilt.
20903
20904 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
20905
20906         * final.c (shorten_branches): Fix last change.
20907
20908 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
20909
20910         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
20911
20912 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
20913
20914         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
20915         details.
20916
20917 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20918
20919         * c-aux-info.c (concat): Don't define.
20920
20921         * cccp.c (my_strerror): Likewise.  All callers changed to use
20922         xstrerror instead.
20923         (do_include): Call xstrdup, not xmalloc/strcpy.
20924         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
20925         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
20926
20927         * collect2.c (my_strsignal): Likewise.  All callers changed to use
20928         strsignal instead.
20929         (locatelib): Call xstrdup, not xmalloc/strcpy.
20930
20931         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
20932
20933         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
20934
20935         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
20936
20937         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
20938
20939         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
20940
20941         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
20942
20943         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
20944         malloc/realloc.
20945         (find_all_handler_type_matches): Likewise.  Don't check return
20946         value.
20947         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
20948         xmalloc, not malloc.
20949         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
20950
20951         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
20952         (init_spec): Call xcalloc, not xmalloc/bzero.
20953         (set_spec): Call xstrdup, not save_string.
20954         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
20955         (find_a_file): Call xstrdup, not xmalloc/strcpy.
20956         (process_command): Call xstrdup, not save_string.
20957         (main): Call xcalloc, not xmalloc/bzero.
20958
20959         * gcov.c (xmalloc): Don't define.
20960         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
20961         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
20962         (output_data): Call xcalloc, not xmalloc/bzero.
20963
20964         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
20965
20966         * mips-tdump.c (xmalloc): Don't define.
20967         (print_symbol): Call xmalloc, not malloc.
20968         (read_tfile): Call xcalloc, not calloc.
20969
20970         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
20971         Don't define.  All callers of xfree/my_strsignal changed to use
20972         free/strsignal instead.
20973         (allocate_cluster): Call xcalloc, not calloc.
20974
20975         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
20976         Fix memory leak, free allocated memory.
20977
20978         * prefix.c (translate_name): Call xstrdup, not save_string.
20979         (update_path): Likewise.
20980
20981         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
20982
20983         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
20984         Don't define.  Callers of xfree/savestring2 changed to use
20985         free/concat instead.
20986
20987         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
20988         (init_elim_table): Likewise.
20989
20990         * resource.c (init_resource_info): Likewise.
20991
20992         * stupid.c (stupid_life_analysis): Likewise.
20993
20994         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
20995         (open_dump_file): Call concat, not xmalloc/strcpy/...
20996         (clean_dump_file): Likewise.
20997         (compile_file): Call xstrdup, not xmalloc/strcpy.
20998
20999 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
21000
21001         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
21002         * v850.c (v850_va_arg): New.
21003
21004 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21005
21006         * haifa-sched.c: Tidy comments.
21007
21008 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21009
21010         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
21011         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
21012         $(out_object_file)): Depend on ggc.h.
21013         * c-common.c: Include "ggc.h".
21014         (combine_strings): If doing GC, use ggc_alloc_string.
21015         * c-decl.c: Include "ggc.h".
21016         (ggc_p): Define with value 0.
21017         (mark_binding_level): New function.
21018         (init_decl_processing): Add GC roots.
21019         (mark_c_function_context): New function.
21020         (lang_mark_false_label_stack): New function.
21021         (lang_mark_tree): New function.
21022         (lang_cleanup_tree): New function.
21023         * c-lang.c: Include "ggc.h".
21024         (lang_init): Call c_parse_init.
21025         * c-lex.c: Include "ggc.h".
21026         (check_linenum): If doing GC, don't copy filenames to permanent
21027         obstack.
21028         * c-parse.in: Include "ggc.h".
21029         (c_parse_init): New function.
21030         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
21031         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
21032
21033         * except.c (mark_eh_state): Mark more state.
21034         * function.c (mark_function_state): Likewise.
21035         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
21036         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
21037         * toplev.c (mark_file_stack): New function.
21038         (compile_file): If doing GC, use ggc_alloc_string on input filename.
21039         (main): Add root for input_file_stack.
21040
21041         * i386.c: Include "ggc.h".
21042         (ix86_mark_machine_status): New function.
21043         (override_options): Set mark_machine_status.
21044
21045 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21046
21047         * tree.c (copy_node): Copy node contents also if doing GC.
21048
21049 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21050
21051         * collect2.c (scan_libraries): Fix double-thinko :-).
21052
21053 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
21054
21055         * collect2.c (scan_libraries): Fix thinko.
21056
21057         * cse.c (delete_trivially_dead_insns): Do not skip the last
21058         insn if it is a real insn.
21059
21060 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
21061
21062         * Makefile.in (ggc-simple.o): Depend on hash.h.
21063         * ggc.h (ggc_add_tree_hash_table_root): Declare.
21064         (ggc_mark_tree_varray): Likewise.
21065         (ggc_mark_tree_hash_table): Likewise.
21066         * ggc-simple.c: Include hash.h.
21067         (ggc_mark_tree_hash_table_ptr): New function.
21068         (ggc_mark_tree_hash_table_entry): Likewise.
21069         (ggc_mark_tree_hash_table): Likewise.
21070         (ggc_add_tree_hash_table_root): Likewise.
21071         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
21072         rtx, when defining fields.
21073
21074 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
21075
21076         * profile.c (output_func_start_profiler): Remove apparently
21077         nonsensical call to start_sequence.
21078
21079 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
21080
21081         * clipper/clipper.c (clipper_va_start): Fix typos.
21082
21083         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
21084         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
21085         (spur_va_arg): New stub.
21086
21087         * configure.in: Comment out pyramid.
21088
21089 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
21090
21091         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
21092         don't conflict with the bits that win32, cygwin, and dgux
21093         defines.
21094
21095 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
21096                           Bernd Schmidt <bernds@cygnus.co.uk>
21097
21098         * integrate.c (function_cannot_inline_p): Do not inline
21099         functions with forced labels.
21100
21101 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
21102                           Bernd Schmidt <bernds@cygnus.co.uk>
21103                           Mark Mitchell  <mark@codesourcery.com>
21104
21105         * Makefile.in (ggc-simple.o): Depend on varray.h.
21106         (rtl.o): Depend on ggc.h.
21107         (genattrtab.o): Depend on ggc.h.
21108         (print-tree.o): Likewise.
21109         (fold-const.o): Likewise.
21110         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
21111         (make_insn_raw): Don't cache insns when GC'ing.
21112         (emit_insn_before): Likewise.
21113         (emit_insn_after): Likewise.
21114         (emit_insn): Likewise.
21115         (start_sequence): Use xmalloc to allocate the sequence_stack.
21116         (end_sequence): Add free to free it.
21117         (gen_sequence): Don't cache insns when GC'ing.
21118         (clear_emit_caches): Don't use sequence_element_free_list.
21119         (init_emit): Use xcalloc, not xmalloc+bzero.
21120         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
21121         * function.c (pop_function_context_from): Use free to free the
21122         fixup_var_refs_queue.
21123         (put_reg_into_stack): Allocate it with xmalloc.
21124         * genattrtab.c: Include ggc.h.
21125         (operate_exp): Don't use obstack_free when GC'ing.
21126         (simplify_cond): Likewise.
21127         (simplify_text_exp): Likewise.
21128         (optimize_attrs): Likewise.
21129         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
21130         GC'ing.
21131         (gencode): Generate a #include for ggc.h.
21132         * ggc-callbacks.c (ggc_p): Define it to zero.
21133         * ggc-none.c (ggc_p): Likewise.
21134         * ggc-simple.c: Include varray.h.
21135         (ggc_mark_tree_varray): New function.
21136         (ggc_add_tree_varray_root): Likewise.
21137         (ggc_mark_tree_varray_ptr): Likewise.
21138         * ggc.h (ggc_p): Declare.
21139         (varray_head_tag): Likewise.
21140         (ggc_add_tree_varray_root): Declare.
21141         * print-tree.c (print_node): Don't check for TREE_PERMANENT
21142         inconsistencies when GC'ing.
21143         * rtl.c: Include ggc.h.
21144         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
21145         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
21146         (rtx_free): Don't call obstack_free when GC'ing.
21147         * toplev.c (rest_of_compilation): Call ggc_collect after every
21148         pass, if GC'ing.
21149         * tree.c (push_obstacks): Do nothing, if GC'ing.
21150         (pop_obstacks_nochange): Likewise.
21151         (pop_obstacks): Likewise.
21152         (make_node): Use ggc_alloc_tree when GC'ing.
21153         (copy_node): Likewise.
21154         (get_identifier): Use ggc_alloc_string when GC'ing.
21155         (build_string): Likewise.
21156         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
21157         (tree_cons): Likewise.
21158         (build1): Likewise.
21159         (type_hash_canon): Don't call obstack_free when GC'ing.
21160
21161 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
21162
21163         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
21164         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
21165
21166 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
21167                           Bernd Schmidt <bernds@cygnus.co.uk>
21168                           Mark Mitchell  <mark@codesourcery.com>
21169
21170         * Makefile.in (stor-layout.o): Depend on ggc.h.
21171         (expr.o): Depend on ggc.h.
21172         (profile.o): Depend on ggc.h.
21173         (stor-layout.o): Depend on ggc.h.
21174         * emit-rtl.c (init_emit_once): Add gc roots.
21175         * expr.c: Include ggc.h.
21176         (emit_block_move): Add gc roots.
21177         (clear_storage): Likewise.
21178         * expr.h (init_stor_layout_once): New function.
21179         * profile.c: Include ggc.h.
21180         (init_arc_profiler): profiler_label is a root.
21181         * scan.c (make_sstring_space): Trust xrealloc to function
21182         correctly with first parameter NULL.
21183         * stor-layout.c: Include ggc.h.
21184         (set_sizetype): Add gc root.
21185         (init_stor_layout_once): New function.
21186         * toplev.c (compile_file): Call it.
21187
21188 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
21189                           Bernd Schmidt <bernds@cygnus.co.uk>
21190                           Mark Mitchell  <mark@codesourcery.com>
21191
21192         * Makefile.in (tree.o): Depend on ggc.h.
21193         (varasm.o): Likewise.
21194         (function.o): Likewise.
21195         (stmt.o): Likewise.
21196         (except.o): Likewise.
21197         (optabs.o): Likewise.
21198         (emit-rtl.o): Likewise.
21199         * emit-rtl.c: Include ggc.h.
21200         (sequence_element_free_list): Remove, and all references.
21201         (mark_sequence): New functions.
21202         (mark_emit_state): New function.
21203         * except.c: Include ggc.h.
21204         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
21205         (mark_tree_label_node): New functions.
21206         (mark_eh_state): New function.
21207         * function.c: Include ggc.h.
21208         (mark_temp_slot, mark_function_chain): New functions.
21209         (mark_function_state): New function.
21210         (init_function_once): New function.
21211         * function.h (init_function_once): New function.
21212         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
21213         * ggc.h (label_node): Declare.
21214         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
21215         (lang_mark_false_label_stack): New function.
21216         (mark_temp_slot): Remove declaration.
21217         (mark_function_chain): Likewise.
21218         (mark_eh_state): Adjust prototype.
21219         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
21220         Likewise.
21221         * optabs.c: Include ggc.h.
21222         (mark_optab): New function.
21223         (init_optabs): Add gc roots.
21224         * stmt.c: Include ggc.h.
21225         (mark_cond_nesting, mark_loop_nesting): New functions.
21226         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
21227         (mark_stmt_state): New function.
21228         * toplev.c (compile_file): Call init_function_once.
21229         * tree.c: Include ggc.h.
21230         (type_hash): Move declaration earlier in file.
21231         (TYPE_HASH_SIZE, type_hash_table): Likewise.
21232         (init_obstacks): Add gc roots.
21233         (mark_type_hash): New function.
21234         * varasm.c: Include ggc.h.
21235         (mark_pool_constant): New function.
21236         (mark_varasm_state): New function.
21237
21238 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21239
21240         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
21241
21242 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
21243
21244         * c-decl.c (struct language_function): Renamed from struct c_function.
21245         Delete elt NEXT.
21246         (c_function_chain): Delete.
21247         (push_c_function_context): New arg F.  Don't warn about nested
21248         functions here.  Fill LANGUAGE elt of F.  Delete code to update
21249         c_function_chain.  Don't call push_function_context.
21250         (pop_c_function_context): New arg F.  Restore from there instead of
21251         from c_function_chain.  Don't call pop_function_context.  Clear out
21252         LANGUAGE field of F when done.
21253         * c-lang.c: Include "function.h"
21254         (lang_init): Initialize save_lang_status and restore_lang_status.
21255         * c-parse.in (nested_function, nested_function_notype): Warn about
21256         nested functions.  Call push_function_context/pop_function_context
21257         instead of the _c_ variants.
21258         * c-tree.h (push_c_function_context, pop_c_function_context): Update
21259         prototype.
21260         * Makefile.in (c-lang.o): Update dependencies.
21261
21262         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
21263         regno_pointer_flag, regno_pointer_align.
21264         (gen_reg_rtx): Use xrealloc to enlarge them.
21265         (free_emit_status): New function.
21266         * function.c (mark_machine_status, mark_lang_status): New variables.
21267         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
21268         in some bits from assign_stack_local.  All callers changed to use new
21269         name.
21270         (assign_stack_local): Just call assign_stack_local_1.
21271         (free_after_compilation): New function.
21272         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
21273         (trampoline_address): Likewise.
21274         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
21275         (prepare_function_start): Explicitly clear some more variables.
21276         * function.h (struct function): New elt can_garbage_collect.
21277         (mark_machine_status, mark_lang_status): Declare variables.
21278         (free_after_compilation, free_emit_status, free_varasm_status,
21279         init_varasm_status): Declare functions.
21280         * toplev.c (rest_of_compilation): Call free_after_compilation when
21281         done with the current function.
21282         * varasm.c (free_varasm_status): New function.
21283
21284 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
21285
21286         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
21287         (EXPAND_BUILTIN_VA_ARG): Define.
21288         * sparc.c (sparc_va_start): New.
21289         (sparc_va_arg): New.
21290
21291 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21292
21293         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
21294
21295 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21296
21297         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
21298
21299 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
21300
21301         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
21302         (OBJS): Add $(GGC).
21303         (ggc-callbacks.o): New target.
21304         * ggc-callbacks.c: New file.
21305
21306 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21307
21308         * expr.h: Collapse individual optab and libfunc vars to arrays.
21309         (optab_index, libfunc_index): New enumerations.
21310         (optab_table, libfunc_table): New arrays.
21311         Add accessor macros for both.
21312
21313         * optabs.c (optab_table, libfunc_table): New.
21314         Delete declarations for individual optab and libfunc vars.
21315
21316 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
21317
21318         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
21319
21320 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
21321
21322         * Makefile.in (GGC, GGC_LIB): New.
21323         (HOST_RTL): Include ggc-none.o.
21324         (ggc-simple.o): New target.
21325         (ggc-none.o): Likewise.
21326         * tree.h (tree_common): Add gc_mark.
21327         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
21328         (struct rtvec_def): Add gc_mark.
21329         * emit-rtl.c (global_rtl): Update static initializers to contain
21330         enough initializers.
21331         * ggc.h, ggc-none.c, ggc-simple.c: New files.
21332         * toplev.c (gc_time): New variable.
21333         (all_time): New variable.
21334         (compile_file): Print gc time.
21335         (print_time): Calculate percentage of the whole.
21336
21337 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21338
21339         Change obstack memory management and varasm constant pool handling so
21340         that nested functions are treated like any other functions.
21341         * function.c (init_machine_status): New variable.
21342         (push_function_context_to): Set contains_functions for the outer
21343         function.  Don't call save_varasm_status.
21344         (pop_function_context_from): Don't call restore_varasm_status.  Don't
21345         set current_function_contains_functions.
21346         (prepare_function_start): Call init_varasm_status rather than
21347         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
21348         is non-null.
21349         * function.h (struct function) Add field varasm.  Delete fields
21350         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
21351         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
21352         (init_machine_status): Declare.
21353         (save_varasm_status, restore_varasm_status): Delete declarations.
21354         (save_tree_status, restore_tree_status): Delete last argument.
21355         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
21356         code.  All callers changed.
21357         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
21358         save_constants_in_decl_trees, restore_constants, save_constants,
21359         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
21360         functions.
21361         (inlining): New variable.
21362         (reg_map, label_map, insn_map, orig_asm_operands_vector,
21363         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
21364         variables.
21365         (save_for_inline_nocopy): Don't save constants.
21366         Don't set inl_emit field in current_function.
21367         (expand_inline_function): Use emit field, not inl_emit, of the inlined
21368         function.  Set new variable inlining before
21369         calling copy_rtx_and_substitute.
21370         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
21371         constant pool references if inlining is nonzero.
21372         Delete ADDRESS and (most of the) CONST cases.
21373         (output_inline_function): Save and restore current_function/
21374         current_function_decl.  Delete restore_constants code.  Don't call
21375         init_const_rtx_hash_table.
21376         * output.h (init_const_rtx_hash_table): Don't declare.
21377         * rtl.h (struct function): Declare.
21378         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
21379         * toplev.c (rest_of_compilation): Don't treat nested functions or
21380         functions containing them specially.  Delete all code to deal with
21381         save_for_inline_copying.
21382         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
21383         inline_obstacks): Delete variables.
21384         (save_tree_status): Lose arg CONTEXT.  All callers changed.
21385         Simply allocate a new function_maybepermanent_obstack for the new
21386         function, delete all the special cases.
21387         Don't save inline_obstacks.
21388         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
21389         Delete special handling for function_maybepermanent_obstack; simply
21390         free it if empty.
21391         Don't restore inline_obstacks.
21392         (permanent_allocation):  Delete code that frees inline_obstacks.
21393         (print_inline_obstack_statistics): Delete function.
21394         (dump_tree_statistics): Don't call it.
21395         * varasm.c (struct varasm_status): New.
21396         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
21397         last_pool, pool_offset, const_double_chain): Delete global
21398         variables, replace with accessor macros.
21399         (immed_double_const): Don't walk const_double_chain outside a
21400         function, but don't treat nested functions specially anymore.
21401         (immed_real_const_1): Likewise.
21402         (clear_const_double_mem): Don't treat nested functions specially.
21403         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
21404         (save_varasm_status, restore_varasm_status): Delete functions.
21405         (init_varasm_status): New function.
21406         (force_const_mem): Don't treat nested functions specially.
21407         (find_pool_constant): Accept new arg F, search for constants in
21408         that function's pool rather than the current one.  All callers
21409         changed.
21410         (get_pool_constant_for_function, get_pool_mode_for_function): New
21411         functions.
21412
21413         * i386.c (init_386_machine_status): New function, mostly from
21414         clear_386_stack_locals.
21415         (struct machine_functions): Rename element names to avoid name
21416         clashes.
21417         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
21418         macros, replacing global variables.
21419         (clear_386_stack_locals, save_386_machine_status,
21420         restore_386_machine_status): Delete functions.
21421         (override_options): Initialize init_machine_status.
21422         * i386.h (INIT_EXPANDERS): Delete macro.
21423         (save_386_machine_status, restore_386_machine_status,
21424         clear_386_stack_locals): Delete declarations.
21425
21426 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21427
21428         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
21429         (doloop_begin):  Simplify pattern and use emit_jump_insn.
21430         (doloop_end): Simplify pattern, switch operand order,
21431         and use emit_jump_insn.
21432
21433 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
21434
21435         * function.h (struct function): Add new element LANGUAGE.
21436         (save_lang_status): Declare new variable.
21437         (restore_lang_status): Likewise.
21438         * function.c (save_lang_status): Define.
21439         (restore_lang_status): Likewise.
21440         (push_function_context_to): Call language-specific save function.
21441         (pop_function_context_from): Call language-specific restore function.
21442
21443 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
21444
21445         * i386.md (movsf_1): Check REG_P before use of REGNO.
21446         (movdf_1): Likewise.
21447         (movxf_1): Likewise.
21448         (extendsfdf2): Likewise.
21449         (extendsfxf2): Likewise.
21450         (extenddfxf2): Likewise.
21451
21452 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21453
21454         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
21455         constants into memory.
21456         (c4x_shiftable_constant): New function.
21457         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
21458         (c4x_shiftable_constant): Declare.
21459         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
21460         ashlqi3_noclobber): Add new patterns and associated splitters.
21461
21462 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
21463
21464         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
21465         * dwarf2out.c (dwarf2out_frame_init): Likewise.
21466         * final.c (shorten_branches): Likewise.
21467         * global.c (global_alloc): Likewise.
21468         * haifa-sched.c (build_control_flow): Likewise.
21469         * stmt.c (check_for_full_enumeration_handling): Likewise.
21470         (estimate_case_costs): Likewise.
21471
21472 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
21473
21474         * rtl.h (RTL_CHECKC2): Fix typo in last change.
21475
21476 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
21477
21478         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
21479         (recompute_reg_usage): Likewise.
21480         * rtlanal.c (find_regno_fusage): Likewise.
21481
21482         * rtl.c (rtl_check_failed_code1): New function.
21483         (rtl_check_failed_code2): New.
21484         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
21485         (RTL_CHECKC1, RTL_CHECKC2): New.
21486         (XC*): New accessor macros.
21487         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
21488         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
21489         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
21490         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
21491         (TRAP_*, RANGE_INFO_*): Likewise.
21492
21493 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21494
21495         * Makefile.in (tlink.o): Don't depend on toplev.h.
21496
21497         * collect2.c (c_file, o_file, export_file, import_file, ldout,
21498         output_file, nm_file_name, ldd_file_name, strip_file_name,
21499         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
21500         add_prefix, prefix_from_env, prefix_from_string, do_wait,
21501         fork_execute, maybe_unlink, add_to_list,
21502         extract_init_priority, write_list, dump_list,
21503         dump_prefix_list, write_list_with_asm, write_c_file,
21504         write_c_file_stat, write_c_file_glob, scan_prog_file,
21505         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
21506         ignore_library, extract_string, notice, dump_file, target_machine,
21507         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
21508         read_file, print_load_command): Constify a char*.
21509         (fdopen, error, fatal, fatal_perror): Don't prototype.
21510         (my_strerror): Remove.  All callers use xstrerror instead.
21511         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
21512         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
21513         to xcalloc/strcpy/strcat/...  to one call to concat.
21514         (main, scan_prog_file, scan_libraries): Use an intermediate
21515         `const char **' to build an argv array.
21516         (mapfile, libselect, libcompare, locatelib): Add prototypes.
21517
21518         * collect2.h (collect_execute, collect_wait, dump_file,
21519         file_exists): Constify a char*.
21520         (ldout, c_file_name, temporary_obstack, permanent_obstack,
21521         temporary_firstobj, vflag, debug): Add extern declarations.
21522         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
21523
21524         * tlink.c: Don't include toplev.h.
21525         (vflag, debug, ldout, c_file_name, temporary_obstack,
21526         permanent_obstack, temporary_firstobj): Don't declare.
21527         (tlink_execute, frob_extension, symbol_hash_lookup,
21528         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
21529         recompile_files, read_repo_files, demangle_new_symbols,
21530         scan_linker_output): Constify a char*.
21531         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
21532         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
21533
21534 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
21535
21536         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
21537         (relative) rather than jsr (absolute) subroutine call insns.
21538         * config/m68k/m68k-coff.h: Ditto.
21539
21540 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
21541
21542         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
21543         now rework these too.
21544         (arm_reorg): If an insn can't reach the end of the current pool,
21545         ensure that we emit that pool before the insn.
21546
21547 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
21548
21549         * tlink.c (scan_linker_output): Skip the initial underscore in
21550         a mangled name if appropriate.
21551
21552 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21553
21554         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
21555         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
21556         error_with_ivar, gen_declarator, create_builtin_decl,
21557         my_build_string, generate_descriptor_table, generate_ivars_list,
21558         generate_dispatch_table, check_protocols, TAG_GETCLASS,
21559         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
21560         dump_base_name, lang_decode_option, build_encode_expr,
21561         start_class, finish_class, encode_pointer, really_start_method,
21562         gen_declaration, dump_interface, handle_class_ref, handle_impent):
21563         Constify.
21564         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
21565         Add static prototypes.
21566         (build_objc_string_decl, build_selector_reference_decl,
21567         encode_bitfield, build_class_reference_decl): Remove unused
21568         parameter, all callers changed.
21569         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
21570         (objc_printable_name): Likewise.  Change second parameter to type int.
21571         (init_objc): Use memcpy, not bcopy, to avoid casts.
21572
21573 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
21574
21575         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
21576         reg notes on a deleted insn.
21577         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
21578
21579 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
21580
21581         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
21582
21583 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21584
21585         * stmt.c (expand_asm_operands): Fix index into inout_mode when
21586         reading it.
21587
21588 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
21589
21590         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
21591         * tm.texi (MD_ASM_CLOBBERS): Document it.
21592
21593 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
21594
21595         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
21596         * except.c (expand_rethrow): Remove unused variable.
21597         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
21598         * flow.c (replace_insns): Likewise.
21599         (create_edge_list, verify_edge_list): Likewise.
21600         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
21601
21602         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
21603         is special code to run.
21604         (main): Don't define operands to emit_operand.
21605         * genrecog.c (main): Don't emit an empty peephole2_insn function.
21606
21607         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
21608
21609         * alpha/alpha.h (normal_memory_operand): Declare.
21610         (reg_no_subreg_operand): Declare.
21611         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
21612
21613 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
21614
21615         * c-parse.in (compstmt_primary_start): New, broken out of first
21616         part of compstmt handling in primary.
21617         (primary): Use it.  Add an error clause.
21618         (compstmt_nostart): Renamed from compstmt; remove all
21619         initial invocations of compstmt_start.
21620         (compstmt): New.
21621
21622 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
21623
21624         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
21625         needed.
21626
21627 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
21628
21629         * combine.c (simplify_shift_const): Remove extra semicolon.
21630         * dwarf2out.c (remove_AT): Likewise.
21631         * expmed.c (expand_mult): Likewise.
21632         * gcov.c (create_program_flow_graph): Likewise.
21633         * reorg.c (mostly_true_jump): Likewise.
21634
21635 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
21636
21637         * fold-const.c (fold_range_test): Do not try to fold the range
21638         test if the rhs or lhs has side effects.
21639
21640         * combine.c (simplify_rtx): Recognize another case of a synthesized
21641         sign extension.
21642
21643         * varasm.c (mark_constant_pool): When marking indirect references,
21644         only look at SYMBOL_REFs.
21645
21646         * except.c (expand_fixup_region_end): Do not peek at
21647         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
21648
21649 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
21650
21651         * flags.h: New variables align_loops, align_loops_log,
21652         align_jumps, align_jumps_log, align_labels, align_labels_log,
21653         align_functions, align_functions_log.
21654         * toplev.c: Define them.
21655         (f_options): Handle -falign-* when they have no argument.
21656         (main): Add logic to set variables for -falign-functions,
21657         -falign-jumps, -falign-labels, -falign-loops.
21658         Make it -fsched-verbose=<n> and -finline-limit=<n>.
21659         (display_help): Change help to match options.
21660         * final.c (LABEL_ALIGN): Default to align_labels_log.
21661         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
21662         (LOOP_ALIGN): Default to align_loops_log.
21663         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
21664         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
21665         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
21666         * varasm.c (assemble_start_function): Handle align_functions.
21667
21668         * config/sparc/sparc.h: Don't declare sparc_align_*.
21669         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
21670         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
21671         sparc.c.
21672         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
21673         it's a promise.
21674         * config/sparc/sparc.c: Delete sparc_align_loops,
21675         sparc_align_jumps, sparc_align_funcs and the corresponding string
21676         variables.
21677         (sparc_override_options): Default align_functions on ultrasparc.
21678         Delete -malign-* handling.
21679
21680         * config/mips/mips.c (override_options):  On 64-bit targets,
21681         try to align code to 64-bit boundaries.
21682         (print_operand): New substitution, %~,
21683         which aligns labels to align_labels_log.
21684         * config/mips/mips.md (div_trap_normal): Use %~.
21685         (div_trap_mips16): Likewise.
21686         (abssi): Likewise.
21687         (absdi2): Likewise.
21688         (ffssi2): Likewise.
21689         (ffsdi2): Likewise.
21690         (ashldi3_internal): Likewise.
21691         (ashrdi3_internal): Likewise.
21692         (lshrdi3_internal): Likewise.
21693         (casesi_internal): Likewise.
21694
21695 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
21696
21697         Merge new ia32 backend from the branch!
21698
21699         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
21700         See ChangeLog.P2 on new_ia32_branch for details.
21701
21702         * rtl.h (stack_regs_mentioned_p): Delete prototype.
21703         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
21704         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
21705         * i386/gas.h (ASM_FILE_START): Define.
21706         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
21707         for name change of ix86_valid_decl_attribute_p.
21708         (i386_pe_valid_type_attribute_p): Similarly.
21709
21710 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
21711
21712         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
21713         to step through CC modes.
21714
21715 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21716
21717         * regmove.c (fixup_match_1): Don't move INSN in front of P if
21718         it would end up in the shadow of a live flags regsiter.
21719
21720 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21721
21722         * reload1.c: Fix many indentation problems.
21723         * reload.c: Likewise.
21724
21725 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
21726
21727         * alias.c (non_local_reference_p): Constify fmt.
21728
21729 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
21730
21731         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
21732
21733 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
21734
21735         * cse.c (delete_trivially_dead_insns): Do not delete stores to
21736         the internal_arg_pointer.
21737
21738 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
21739
21740         Merge peephole2 from new_ia32_branch:
21741         * Makefile.in (STAGESTUFF): Add *.peephole2.
21742         (mostlyclean): Likewise.
21743         (recog.o): Depend on resource.h.
21744
21745         * final.c (peephole): Conditionalize decl on HAVE_peephole.
21746         (final_scan_insn): Likewise for the invocation of peephole.
21747         * genconfig.c (main): Look for peephole and peephole2 patterns.
21748         Emit HAVE_peephole* accordingly.
21749         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
21750         * flags.h (flag_peephole2): Declare.
21751         * toplev.c: New pass peephole2.  New flag -fpeephole2.
21752
21753         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
21754         * gencodes.c (main): Likewise.
21755         * genextract.c (main): Likewise.
21756         * genoutput.c (main): Likewise.
21757         * genemit.c (max_operand_1): Look for the max scratch operand.
21758         (gen_rtx_scratch): New.
21759         (gen_exp): Use it, and pass on new arg subroutine_type.
21760         (gen_expand): Take max scratch into account.
21761         (gen_split): Emit peephole2 functions.
21762         (output_peephole2_scratch): New.
21763         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
21764         * genrecog.c (routine_type): Add PEEPHOLE2.
21765         (IS_SPLIT): New.
21766         (make_insn_sequence): Match outer parallel for peep2.  Discard
21767         top level scratches and dups.
21768         (add_to_sequence): New args insn_type and top.  Update all callers.
21769         Handle toplevel peep2 matching insns.
21770         (write_subroutine): Handle peep2.
21771         (write_tree_1): Likewise.
21772         (write_tree): Likewise.
21773         (main): Likewise.
21774         (change_state): New arg afterward.  Update all callers.
21775         Handle matching separate insns.
21776         * recog.c (recog_next_insn): New.
21777         (peephole2_optimize): New.
21778         * rtl.def (DEFINE_PEEPHOLE2): New.
21779         * resource.c (find_free_register): New argument last_insn.  Use it
21780         to find a register available through the entire span.
21781         * resource.h (find_free_register): Update prototype.
21782
21783 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
21784
21785         * i386.c (output_strlen_unroll): Don't write xops[7]
21786         label if it wasn't set.
21787
21788 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
21789
21790         * cpplib.c (struct directive): Const-ify name pointer and
21791         function pointer prototype.
21792         (validate_else, do_define, do_line, do_include, do_undef,
21793         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
21794         do_elif, do_endif, do_sccs, do_assert, do_unassert,
21795         do_warning): Const-ify second arg.
21796         (directive_table): Mark const.  Reorder entries by frequency
21797         of usage, record statistics.
21798
21799 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
21800
21801         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
21802         bounds- check RTL accesses if --enable-checking.
21803         (RTVEC_ELT): Bounds check if --enable-checking.
21804         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
21805         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
21806         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
21807         GET_NUM_ELEM.
21808         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
21809         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
21810
21811         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
21812         (NOTE_SOURCE_FILE): Use X0STR.
21813         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
21814         MEM_ALIAS_SET): Use X0INT.
21815         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
21816         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
21817         Use X0EXP.
21818         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
21819         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
21820         (rtl_check_failed_bounds, rtl_check_failed_type1,
21821         rtl_check_failed_type2, rtvec_check_failed_bounds): New
21822         functions.
21823         (fancy_abort): Fix comment.
21824
21825         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
21826         (cse_insn): Decrement LABEL_NUSES for jump target before
21827         deleting jump insn.
21828         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
21829         * final.c (alter_subreg): Compute regno before changing x to
21830         REG; set REGNO(x) after changing it.
21831         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
21832         notes containing CONST_INTs.
21833         (delete_eh_regions): Use NOTE_EH_HANDLER.
21834         * function.c (put_reg_into_stack): Make reg a MEM before
21835         initializing it.
21836         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
21837         delete insn.
21838         (gen_mem_addressof): Make reg a MEM before initializing it.
21839         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
21840         X0WINT.
21841         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
21842         deleting an insn, not after.
21843         (block_alloc): Only look at PATTERN(insn) if we have to, and
21844         only if it's format class 'i'.
21845         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
21846         CONST_INT before using its INTVAL.
21847         * print-rtl.c (print_rtx): Use X0STR.
21848         * regmove.c (fixup_match_1): Don't look at PATTERN of
21849         non-class-'i' insn chain elements.
21850         * reload.c (loc_mentioned_in_p): Take address of
21851         in->fld[1].rtx directly.
21852         * reload1.c (reload): Change reg to a MEM before initializing
21853         it.
21854         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
21855         have no names.
21856         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
21857
21858 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
21859
21860         * config/mips/mips.c (machine_dependent_reorg): Force a
21861         barrier to output the local constant pool if a barrier hasn't
21862         been found at a natural point in the instruction stream.
21863
21864 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21865
21866         * c-parse.in (language_string): Constify.
21867
21868         * dwarf2out.c (language_string): Remove declaration.
21869
21870         * dwarfout.c (language_string): Likewise.
21871
21872         * toplev.c (language_string, init_parse, finish_parse): Likewise.
21873
21874         * tree.h (language_string, init_parse, finish_parse): Declare.
21875
21876         * i386/sun386.h (language_string): Remove declaration.
21877
21878         * mips.h (language_string): Likewise.
21879
21880         * nextstep.h (language_string): Likewise.
21881
21882         * nextstep21.h (language_string): Likewise.
21883
21884         * rs6000.c (language_string): Likewise.
21885
21886 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21887
21888         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
21889         (getpwd.o): Remove target.
21890
21891         * getpwd.c: Delete file.  Its in libiberty now.
21892
21893         * dbxout.c (getpwd): Don't prototype.
21894         * dwarf2out.c (getpwd): Likewise
21895         * dwarfout.c (getpwd): Likewise
21896         * final.c (getpwd): Likewise.
21897         * protoize.c (getpwd): Likewise.
21898
21899 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21900
21901         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
21902
21903 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
21904
21905         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
21906         mark_set_resources.
21907
21908 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
21909
21910         * fixinc/Makefile.in (subdir): New.
21911         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
21912         (Makefile): New.
21913
21914 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
21915
21916         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
21917         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
21918         be shared.
21919
21920         * invoke.texi: Fix typo.
21921
21922         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
21923         changed.  Handle autoincrement addressing modes.
21924
21925         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
21926         just like we would the virtual incoming args register when
21927         integrating.
21928
21929 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
21930
21931         * rs6000.h (ASM_FILE_START): Specify complete filename, including
21932         path, in .file directive.
21933
21934 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
21935
21936         * gcc.texi (External Bugs): Remove obsolete note about Perl on
21937         SunOS.
21938
21939 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
21940
21941         * stdbool.h: Make the typedef name _Bool, with bool a #defined
21942         alias.
21943
21944 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21945
21946         * tree.c (tree_code_name): Constify a char*.
21947
21948         * tree.h (tree_code_name, decl_printable_name): Likewise.
21949
21950         * function.h (struct function): Likewise.
21951
21952         * toplev.c (decl_name, decl_printable_name): Likewise.
21953
21954         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
21955
21956         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
21957         (init_objc): Remove function pointer cast.
21958
21959 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
21960
21961         * pa.md (interspace_jump): New pattern.
21962         (builtin_longjmp): New expander.
21963
21964 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
21965
21966         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
21967         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
21968         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
21969
21970 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
21971
21972         * jump.c (delete_prior_computation): Also check calls
21973         to constant functions.  Don't bother checking for a
21974         REG_UNUSED note before adding it.
21975         (delete_computation): Handle multi-word hard registers
21976         when synthesizing missing REG_DEAD notes for a register
21977         which is both set and used by an insn.
21978
21979 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
21980
21981         * loop.c (this_loop_info): New variable.
21982         (loop_has_call, loop_has_volatile, loop_has_tablejump,
21983         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
21984         All uses updated.
21985         (prescan_loop, strength_reduce): New argument loop_info.  All callers
21986         updated.
21987         (scan_loop): New variable loop_info, initialise to address of
21988         this_loop_info.
21989         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
21990         Delete variable loop_has_multiple_exit targets and replace with
21991         field in this_loop_info.
21992         (find_and_verify_loops): Rename this_loop to this_loop_num.
21993         (strength_reduce): Delete loop_iteration_info.  Replace variable
21994         loop_info with function argument of same name.
21995         (insert_bct): Rework test for loop being completely unrolled.
21996
21997         * loop.h (struct loop_info): New fields num, loops_enclosed,
21998         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
21999         has_indirect_jump, and cont.  Redefine use of unroll_number.
22000         (loop_unroll_number): Delete.
22001
22002         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
22003         field of loop_info.
22004         (loop_iterations): Delete variable vtop and instead use
22005         loop_info->vtop computed in prescan_loop.
22006
22007 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
22008
22009         * fix-header.c (main): Do not pass a null pointer to strcmp.
22010
22011 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
22012
22013         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
22014         filenames.
22015         * configure: Rebuilt.
22016
22017 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
22018
22019         * jump.c (jump_optimize_1): Do not delete assignments to
22020         internal_arg_pointer.
22021         * cse.c (delete_trivially_dead_insns): Always consider a set of
22022         the internal_arg_pointer live.
22023
22024 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
22025
22026         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
22027         (update_life_info) [REG_WAS_0]: Search the original insns rather
22028         than the new insns for the note.  Fix typos finding note_dest.
22029         If no dest found, discard the note rather than abort.
22030         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
22031         (replace_insns): Remove the old insn list after update_life_info
22032         not before.
22033
22034 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
22035
22036         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
22037         sched_analyze_insn.
22038         (sched_analyze_1): Let add_dependence care for not adding dups.
22039         (sched_analyze_2): Likewise.
22040         (add_branch_dependences): Likewise.
22041
22042 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22043
22044         * i386/winnt.c (export_list): New type.
22045         (exports_head): Rename to
22046         (export_head):  this.
22047         (i386_pe_record_exported_symbol): Add is_data flag.
22048         (i386_pe_asm_file_end): Emit directive for exported variables.
22049         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
22050         prototype.
22051         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
22052         (ASM_DECLARE_OBJECT_NAME): Likewise.
22053         (ASM_DECLARE_FUNCTION_NAME): Likewise.
22054         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
22055
22056 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
22057
22058         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
22059
22060         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
22061         operand.
22062
22063 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
22064
22065         * config/openbsd.h: Define SET_ASM_OP.
22066         * tm.texi: cross-reference SET_ASM_OP in the index.
22067
22068 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
22069
22070         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
22071         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
22072         and class_narrowest_mode at compile time.  Kill init_rtl.
22073         Mark rtx_length, mode_class, mode_size, mode_unit_size,
22074         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
22075         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
22076         EXTRA_CC_NAMES.
22077         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
22078         format.
22079         * rtl.h: Declare rtx_length and rtx_format as const.
22080         * machmode.def: Define CC().  Use CC() to define CCmode.  If
22081         EXTRA_CC_MODES is defined, expand it here.
22082         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
22083         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
22084         const.  Kill all references to EXTRA_CC_MODES.
22085
22086         * toplev.c: Don't prototype or call init_rtl.
22087         * optabs.c: Don't call init_mov_optab.
22088         * genemit.c: Don't generate init_mov_optab.  Don't call
22089         init_rtl.
22090         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
22091         here.
22092         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
22093         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
22094         genrecog.c: Don't call init_rtl.
22095
22096         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
22097         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
22098         definition of EXTRA_CC_MODES.
22099
22100         * md.texi: Kill ref to EXTRA_CC_NAMES.
22101         * tm.texi: Document new way to define EXTRA_CC_MODES.
22102
22103         * genrecog.c: Do not look up the name of a define_split.
22104         (Unrelated bugfix.)
22105
22106 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
22107
22108         * config/v850/v850.md: Fix typo introduced by previous delta.
22109
22110 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22111
22112         * gcc.c (fatal): Make definition static to match prototype.
22113
22114 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22115
22116         * combine.c (get_last_value): Don't look for earlier sets if the last
22117         known set is somewhere in between the insns being combined.
22118
22119 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
22120
22121         * configure.in: Don't use shell ! to negate exit codes
22122         * configure: Regenerate
22123
22124 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
22125
22126         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
22127         the fact that ALIGN is measured in bits, not bytes.
22128
22129 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
22130
22131         * errors.c: New file; defines functions error, warning, and
22132         fatal, variables have_error and progname.
22133         * errors.h: New file; prototypes and decls for stuff in errors.c.
22134
22135         * Makefile: Add rules to build errors.o and
22136         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
22137         genopinit, genrecog, genextract, genpeep, genattr, and
22138         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
22139         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
22140         genpeep.o, genattr.o, and genoutput.o.
22141
22142         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
22143         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
22144         define or prototype fatal.  Set progname at beginning of main.
22145         * genoutput.c:  Likewise, and don't define or prototype error
22146         either.
22147
22148         * c-typeck.c (c_expand_start_case): Return immediately if exp
22149         is an ERROR_MARK.
22150         * fold-const.c (operand_equal_p): Return immediately if arg1
22151         or arg0 are ERROR_MARKs.
22152         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
22153         fields of type ERROR_MARK when calculating if the record can
22154         go in a register.
22155
22156 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
22157         with much help from Jeffrey A Law and Richard Henderson
22158
22159         * i386.md: In the 6 insns which call output_fix_trunc,
22160         earlyclobber operands[0].
22161
22162 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
22163
22164         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
22165         creating new registers.
22166
22167 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
22168
22169         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
22170         i386_reg_alloc_order, i386_regparm_string,
22171         i386_align_loops_string, i386_align_jumps_string,
22172         i386_align_funcs_string, i386_preferred_stack_boundary_string,
22173         and i386_branch_cost_string as type "const char *".
22174         * i386.c: Define all above strings as type "const char *".
22175
22176 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
22177
22178         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
22179         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
22180
22181 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
22182
22183         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
22184         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
22185
22186 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
22187
22188         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
22189         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
22190         (dwarf2out_line, dwarf2out_finish): Likewise.
22191         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
22192
22193 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22194
22195         * tree.c (lang_unsave_expr_now) : Correct return type.
22196         * tree.h (lang_unsave_expr_now) : Same.
22197
22198 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
22199
22200         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
22201         instead of duplicating code.
22202
22203 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22204
22205         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
22206
22207 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
22208
22209         * tree.h: fancy_abort always takes three args.
22210         * resource.c: Move include of system.h before toplev.h.
22211
22212 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
22213
22214         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
22215         as SYMBOL_REFs.
22216
22217 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
22218
22219         * system.h: Don't redefine abort or trim_filename.
22220         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
22221         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
22222         whether or not __FUNCTION__ is available.
22223         * tree.h: Duplicate rtl.h's definition of abort, for files
22224         that don't include rtl.h.  Delete all code to perform type
22225         checking with a compiler other than GCC.
22226         * varray.h: Delete all code to perform type checking with a
22227         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
22228         its arguments exactly once, using a statement expression.
22229         Adjust the VARRAY_<type> accessor macros to match.
22230         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
22231         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
22232         caller's location.  Define fatal_insn and fatal_insn_not_found
22233         as macros that use _fatal_insn and _fatal_insn_not_found.
22234         (fancy_abort, trim_filename): Kill prototypes.
22235
22236         * rtl.c (trim_filename): Move here from toplev.c.
22237         (fancy_abort): New function.
22238         (DIR_SEPARATOR): Provide default definition.
22239         * tree.c (tree_check_failed, tree_class_check_failed): Go
22240         through fancy_abort.
22241         (tree_check, tree_class_check, cst_or_constructor_check,
22242         expr_check): Delete.
22243         * varray.c (varray_check_failed): New function.
22244         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
22245         _fatal_insn and _fatal_insn_not_found.  Go through
22246         fancy_abort.
22247         (trim_filename, fancy_abort): Delete.
22248
22249         * builtins.c (expand_builtin_args_info): Report ICE with abort.
22250         * except.c (start_catch_handler): Report ICE with error/abort
22251         combo.
22252         * final.c (output_operand_lossage): Likewise.
22253         * flow.c (verify_flow_info): Likewise.
22254
22255         * gcc.c: Prototype fatal.
22256         * gengenrtl.c: Undef abort after including rtl.h not system.h.
22257         * genattr.c, genattrtab.c, genemit.c, genextract.c,
22258         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
22259         Don't define fancy_abort.
22260
22261 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
22262
22263         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
22264         canonization.
22265
22266 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
22267
22268         * m88k.h (VERSION_INFO2): Kill.
22269         (VERSION_STRING): Kill.
22270         (TM_RCS_ID): Kill.
22271         (VERSION_INFO1): Tidy.
22272         (TARGET_VERSION): Update.
22273         * m88k/dgux.h (VERSION_INFO2): Kill.
22274         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
22275         * m88k/luna.h (VERSION_INFO1): Tidy.
22276         * m88k/sysv4.h (VERSION_INFO1): Likewise.
22277         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
22278         (output_file_start): Adjust for death of VERSION_STRING.
22279
22280 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
22281
22282         * cpplib.c (detect_if_not_defined): New function.
22283         (do_if): Use it to detect potential once-only headers.
22284
22285 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
22286
22287         * c-common.c (combine_strings): Always set TREE_CONSTANT.
22288
22289 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22290
22291         * combine.c (nonzero_bits) : Allow single-ly set registers to be
22292         anywere in the function only if they are pseudos and set before
22293         being used (not live at the start of the function).
22294         (num_sign_bit_copies) : Same.
22295         (get_last_value_validate) : Same.
22296         (get_last_value) : Same.
22297
22298 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
22299
22300         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
22301         where N and M are constant and N is an integer multiple of M.
22302
22303 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22304
22305         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
22306         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
22307         sbitmap_union_of_preds): Add prototypes.
22308         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
22309         the intersection of successors with the new flow graph structures.
22310         (sbitmap_intersection_of_preds): New function to compute the
22311         intersection of predecessors with the new flow graph structures.
22312         (sbitmap_union_of_succs): New function to compute the union of
22313         successors with the new flow graph structures.
22314         (sbitmap_union_of_preds): New function to compute the union of
22315         predecessors with the new flow graph structures.
22316         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
22317         (expr_reaches_here_p): Use edge and basic_block structures instead
22318         of s_preds and s_succs.
22319         (compute_cprop_avinout): Use new sbitmap routines.
22320         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
22321         of s_preds and s_succs.
22322         * flow.c (compute_flow_dominators): Compute dominators using
22323         edges and basic blocks instead of s_preds and s_succs.
22324
22325 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
22326
22327         * lists.c (unused_insn_list, unused_expr_list): New file for
22328         maintaining various types of lists. New statics for maintaining a
22329         cache of available INSN_LIST and EXPR_LIST nodes.
22330         (free_list): Static function for freeing a list of INSN/EXPR nodes.
22331         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
22332         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
22333         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
22334         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
22335         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
22336         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
22337         (free_INSN_LIST_node): Free an individual INSN_LIST node.
22338         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
22339         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
22340         (remove_dependence, free_pending_lists): Use new global routines.
22341         (flush_pending_lists, sched_analyze_insn): Use new global routines.
22342         (sched_analyze, compute_block_backward_dependences): Use new routines.
22343         (sched_analyze_1, sched_analyze_2): Use new routines.
22344         (schedule_insns): Use new global routines.
22345         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
22346         prototypes.
22347         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
22348         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
22349         prototypes.
22350         * toplev.c (rest_of_compilation): Initialize node cache.
22351         * Makefile.in (OBJS): Add lists.o to list of object files.
22352         (lists.o): Add dependancies.
22353
22354 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
22355
22356         * config/v850/v850.md: Fix compile time warning messages.
22357         * config/v850/v850.c: Fix compile time warning messages.
22358         * config/v850/v850.h: Fix compile time warning messages.
22359
22360 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22361
22362         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
22363         Remove unused prototype for `init_lengths'.
22364
22365 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22366
22367         * calls.c (emit_call_1): Mark parameter `stack_size' with
22368         ATTRIBUTE_UNUSED.
22369         (expand_call): Initialize variable `insn'.
22370         (emit_library_call): Likewise for variable `high_to_save'.
22371         (emit_library_call_value): Likewise.
22372         (store_one_arg): Likewise for variables `lower_bound' and
22373         `upper_bound'.
22374
22375         * combine.c (try_combine): Likewise for variables `i2_code_number'
22376         and `other_code_number'.
22377         (find_split_point): Likewise for variables `pos', `unsignedp' and
22378         `inner'.
22379         (simplify_if_then_else): Likewise for variables `op' and `c1'.
22380         (simplify_and_const_int): Remove unused variable `width'.
22381         (merge_outer_ops): Likewise.
22382
22383         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
22384         HOST_WIDE_INT' when comparing against one.
22385         (simplify_relational_operation): Likewise.
22386         (cse_insn): Initialize variables `src_eqv_volatile',
22387         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
22388
22389         * final.c (init_final): Constify parameter `filename'.
22390         (final_start_function): Mark parameter `optimize' with
22391         ATTRIBUTE_UNUSED.
22392         (profile_function): Likewise for parameters `first' and `optimize'.
22393         (output_source_line): Likewise for parameter `file'.
22394
22395         * integrate.c (subst_constants): Cast a value to `size_t' when
22396         comparing against one.
22397         (mark_stores): Initialize variable `mode'.  Cast a value to
22398         `size_t' when comparing against one.
22399
22400         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
22401
22402         * loop.c (move_movables): Initialize variable `first'.
22403         (strength_reduce): Likewise for variable `increment'.
22404         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
22405         value to `size_t' when comparing against one.
22406         (load_mems): Initialize variable `end_label'.
22407
22408         * output.h (init_final): Constify parameter.
22409
22410         * reload.c (decompose): Initialize variable `base'.
22411
22412         * reload1.c (reload): Likewise for variable `is_scalar'.
22413         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
22414         (choose_reload_regs): Initialize variable `mode'.
22415         (emit_reload_insns): Likewise for variable `store_insn'.
22416         (reload_cse_noop_set_p): Mark parameter `insn' with
22417         ATTRIBUTE_UNUSED.
22418         (reload_combine): Initialize variable `set'.
22419
22420         * unroll.c (unroll_loop): Likewise for variable `local_label'.
22421         (copy_loop_body): Cast a value to `size_t' when comparing against
22422         one.
22423
22424         * varasm.c (assemble_variable): Initialize variable `size_tree'.
22425         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
22426         (remove_from_pending_weak_list): Mark parameter `name' with
22427         ATTRIBUTE_UNUSED.
22428
22429 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22430
22431         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
22432         gcse dump file.
22433
22434 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
22435
22436         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
22437         (ASM_DECLARE_FUNCTION_NAME): Define.
22438         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
22439         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
22440         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
22441         not already defined.
22442
22443 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
22444
22445         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
22446         of n_popped when call/call_value are not defined.
22447
22448 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
22449
22450         * tm.texi: GNU CC -> GCC conversion.
22451         (CC1_SPEC): Indicate it is used for all language front ends.
22452
22453 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
22454
22455         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
22456         NOTE_INSN_EH_REGION_END correctly.
22457
22458 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
22459                           Jeff Law <law@cygnus.com>
22460
22461         * loop.c (strength_reduce): Automatically unroll loops if the
22462         unrolled loop size is smaller than the rolled loop size.
22463
22464         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
22465         and delete comment that code should be rewritten.
22466
22467 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
22468
22469         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
22470         as reachable.
22471
22472         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
22473
22474 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22475
22476         * fixinc/mkfixinc.sh: Don't fix uwin headers.
22477         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
22478         (LINK_SPEC): Add -u _main when building executables.
22479         (ASM_DECLARE_FUNCTION): Update from Cygwin.
22480         (ASM_FILE_END): Use the default for ix86-pe.
22481         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
22482
22483 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
22484
22485         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
22486         and ASM_CLOSE_PAREN are empty strings.
22487
22488 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
22489                           Geoffrey Keating <geoffk@cygnus.com>
22490
22491         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
22492         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
22493         (unprotoize.o): Ditto.
22494         (test-protoize-simple): Don't define STD_PROTO_DIR.
22495         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
22496         changes to make 'test-protoize-simple' pass.
22497         (STD_PROTO_DIR): Remove define.
22498         (STANDARD_EXEC_PREFIX): Supply default define.
22499         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
22500         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
22501         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
22502         (GET_ENV_PATH_LIST): New macro.
22503         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
22504         (do_processing): Initialize default_syscalls_dir using new
22505         macros.  Use it to initialize syscalls_absolute_filename.
22506
22507 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
22508
22509         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
22510         B into a register before emit_conditional_move.
22511
22512 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
22513
22514         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
22515         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
22516         multiplicand out of (+ (* a b) (* c d)).
22517
22518 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
22519                           Richard Henderson  <rth@cygnus.com>
22520
22521         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
22522         (new_insn_dead_notes): Likewise.
22523         (update_n_sets): Likewise.
22524         (update_flow_info): Move to flow.c, renamed to update_life_info;
22525         extend to handle multiple source insns.
22526         * flow.c: Include resource.h
22527         (unlink_insn_chain): New.
22528         (split_hard_reg_notes): New.
22529         (maybe_add_dead_note): New.
22530         (maybe_add_dead_note_use): New.
22531         (find_insn_with_note): New.
22532         (new_insn_dead_notes): New.
22533         (update_n_sets): New.
22534         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
22535         (maybe_remove_dead_notes): New.
22536         (update_life_info): New.
22537         (prepend_reg_notes): New.
22538         (replace_insns): New.
22539         * output.h (update_life_info): Declare.
22540         * recog.c (split_block_insns): Use update_life_info.
22541         * resource.c (find_free_register): Use reg_alloc_order, don't use
22542         fixed regs, make sure the mode is supported, don't use new regs.
22543         (reg_dead_p): New.
22544         * rtl.h (replace_insns): Declare.
22545
22546 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
22547
22548         * expr.c (expand_expr): Cope with COND_EXPRs with one
22549         non-returning branch.
22550
22551 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
22552
22553         * expr.c (store_expr): Always pass down the target, even when not
22554         doing CSE.
22555
22556 1999-08-24  Nick Clifton  <nickc@cygnus.com>
22557
22558         * configure.in: Define target_cpu_default for v850 targets.
22559         * configure: Regenerate
22560
22561         * config/v850/v850.h (TARGET_CPU_generic): Define.
22562         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
22563         addresses are 4 byte aligned.
22564
22565         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
22566         addresses.
22567
22568 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22569
22570         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
22571         (main): Add prototypes.
22572
22573         * genattrtab.c (substitute_address, write_const_num_delay_slots,
22574         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
22575         (write_attr_get): Emit prototypes along with function definition.
22576         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
22577         (write_complex_function): Emit static prototype along with
22578         function definition.
22579
22580         * genemit.c (gen_split): Emit prototypes along with function
22581         definition.
22582
22583         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
22584         Likewise for predicates and `insn_operand_predicate'.
22585         (process_template): Emit static prototype along with function
22586         definition.
22587
22588         * genrecog.c (make_insn_sequence): Constify a char*.  Add
22589         prototypes for get_split_*().
22590         (write_subroutine): Emit prototypes along with function
22591         definition.
22592
22593 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22594
22595         * gcse.c (find_avail_set): Follow chains of register-register copies.
22596         Use oprs_not_set_p to guarantee that the returned value can be
22597         substituted.
22598         (cprop_insn): Don't verify the return value of find_avail_set with
22599         oprs_not_set_p.
22600
22601         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
22602         (cprop_cc0_jump): New function.
22603         (cprop_insn): Break out new function cprop_jump and use it.
22604         Also use cprop_cc0_jump for machines with CC0.
22605         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
22606
22607         * tree.h (current_function_calls_setjmp,
22608         current_function_calls_longjmp): Delete declarations.
22609         * dsp16xx.c: Include "function.h".
22610         * elxsi.c: Likewise.
22611         * gmicro.c: Likewise.
22612         * h8300.c: Likewise.
22613         * i370.c: Likewise.
22614         * m32r.c: Likewise.
22615         * mn10200.c: Likewise.
22616         * mn10300.c: Likewise.
22617         * ns32k.c: Likewise.
22618         * spur.c: Likewise.
22619         * v850.c: Likewise.
22620
22621         * rtl.h (rtx_equal_function_value_matters): Declare.
22622         * toplev.c (rtx_equal_function_value_matters): Don't declare.
22623         * cse.c: Likewise.
22624         * function.c: Likewise.
22625         * emit-rtl.c: Likewise.
22626
22627 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
22628
22629         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
22630         call.
22631
22632 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
22633
22634         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
22635         exactly.
22636
22637 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
22638
22639         * cpp.texi: Add a node documenting macro varargs (copied
22640         from extend.texi).
22641
22642 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
22643
22644         * cppspec.c: Put a null pointer at the end of the new argv.
22645
22646 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
22647
22648         * configure.in: Remove code to select/de-select the haifa
22649         scheduler.  Every scheduled port gets haifa now.
22650         * configure: Rebuilt.
22651         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
22652         * sched.c Deleted.
22653         * Makefile.in: Corresponding changes.
22654
22655 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22656
22657         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
22658         All callers changed.
22659         (prepare_float_lib_cmp): Likewise.
22660         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
22661         * expr.h (emit_float_lib_cmp): Delete declaration.
22662         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
22663         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
22664         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
22665         specially.
22666         (cmptf): Now conditional on TARGET_HARD_QUAD.
22667
22668 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
22669
22670         * resource.c (mark_target_live_regs): Use
22671         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
22672
22673 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22674
22675         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
22676
22677         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
22678
22679         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
22680
22681 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22682
22683         * rtl.h (rtx_format): Constify a char*.
22684
22685         * rtl.c (rtx_format): Likewise.
22686         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
22687         (init_rtl): Use accessor macro, not `rtx_format'.
22688
22689         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
22690         char*.
22691
22692         * caller-save.c (mark_referenced_regs): Likewise.
22693
22694         * combine.c (subst, make_compound_operation, known_cond,
22695         gen_rtx_combine, update_table_tick, get_last_value_validate,
22696         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
22697
22698         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
22699         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
22700         count_reg_usage): Likewise.
22701
22702         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
22703         Likewise.
22704
22705         * final.c (leaf_renumber_regs_insn): Likewise.
22706
22707         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
22708         dump_edge_info, count_reg_references): Likewise.
22709
22710         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
22711         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
22712         Likewise.
22713
22714         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
22715         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
22716         add_label_notes): Likewise.
22717
22718         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
22719         clear_struct_flag, count_sub_rtxs, count_alternatives,
22720         compares_alternatives_p, contained_in_p, walk_attr_value,
22721         write_expr_attr_cache): Likewise.
22722
22723         * genconfig.c (walk_insn_part): Likewise.
22724
22725         * genemit.c (max_operand_1, gen_exp): Likewise.
22726
22727         * genextract.c (walk_rtx): Likewise.
22728
22729         * genflags.c (num_operands): Likewise.
22730
22731         * genoutput.c (scan_operands): Likewise.
22732
22733         * genpeep.c (match_rtx): Likewise.
22734
22735         * genrecog.c (add_to_sequence): Likewise.
22736
22737         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
22738         Likewise.
22739
22740         * integrate.c (save_constants, copy_for_inline,
22741         copy_rtx_and_substitute, subst_constants, restore_constants):
22742         Likewise.
22743
22744         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
22745         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
22746
22747         * local-alloc.c (contains_replace_regs, memref_referenced_p):
22748         Likewise.
22749
22750         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
22751         add_label_notes, replace_call_address, count_nonfixed_reads,
22752         invariant_p, find_single_use_in_loop, find_mem_givs,
22753         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
22754         Likewise.
22755
22756         * print-rtl.c (reg_names, print_rtx): Likewise.
22757
22758         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
22759
22760         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
22761         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
22762         print_blocks): Likewise.
22763
22764         * regclass.c (fix_register, record_address_regs,
22765         reg_scan_mark_refs): Likewise.
22766
22767         * regmove.c (stable_but_for_p): Likewise.
22768
22769         * reload.c (loc_mentioned_in_p, operands_match_p,
22770         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
22771         copy_replacements, refers_to_regno_for_reload_p,
22772         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
22773         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
22774         Likewise.
22775
22776         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
22777         delete_address_reloads_1, count_occurrences,
22778         reload_cse_mem_conflict_p, reload_combine_note_use,
22779         add_auto_inc_notes): Likewise.
22780
22781         * resource.c (mark_referenced_resources, mark_set_resources):
22782         Likewise.
22783
22784         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
22785         reg_mentioned_p, regs_set_between_p, modified_between_p,
22786         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
22787         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
22788         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
22789         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
22790
22791         * sched.c (sched_analyze_2, attach_deaths): Likewise.
22792
22793         * stupid.c (stupid_mark_refs): Likewise.
22794
22795         * unroll.c (remap_split_bivs): Likewise.
22796
22797         * varasm.c (mark_constants): Likewise.
22798
22799         * a29k/a29k.c (uses_local_reg_p): Likewise.
22800
22801         * alpha/alpha.c (summarize_insn): Likewise.
22802
22803         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
22804         eliminate_lr2ip): Likewise.
22805
22806         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
22807
22808         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
22809         reg_mentioned_in_mem): Likewise.
22810
22811         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
22812         symbolic_reference_mentioned_p): Likewise.
22813
22814         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
22815
22816         * sh/sh.c (regs_used, mark_use): Likewise.
22817
22818         * vax/vax.c (vax_rtx_cost): Likewise.
22819
22820 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22821
22822         * machmode.h (mode_name): Constify a char*.
22823
22824         * rtl.c (mode_name): Likewise.
22825
22826         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
22827
22828         * optabs.c (init_libfuncs): Constify a char*.
22829
22830         * print-tree.c (mode_name): Remove redundant declaration.
22831         (print_node): Use accessor macro, not `mode_name'.
22832
22833         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
22834         not `mode_name'.
22835         (new_spill_reg): Constify a char*.
22836
22837         * tree.c (mode_name): Remove redundant declaration.
22838
22839 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22840
22841         * rtl.c (rtx_name): Constify a char*.
22842
22843         * rtl.h (rtx_name, fix_sched_param): Likewise.
22844
22845         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
22846         (mypr): Use accessor macro, not `rtx_name'.
22847
22848         * genemit.c (print_code): Constify a char*.
22849
22850         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
22851
22852         * genpeep.c (print_code): Constify a char*.
22853
22854         * genrecog.c (print_code): Likewise.
22855
22856         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
22857         end_bb): Add static prototype.
22858         (draw_edge): Constify a char*.
22859         (end_bb): Remove unused parameter.
22860
22861         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
22862         print_block_visualization): Constify a char*.
22863
22864 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
22865
22866         * c-common.c (c_get_alias_set): Update comment.
22867
22868 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
22869
22870         * linux.h (LIB_SPEC): Added.
22871
22872 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22873
22874         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
22875
22876 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
22877
22878         * tree.c (expr_check): Fix typo in last change.
22879
22880 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
22881
22882         * rtl.def (NOTE): Change format to "iuu0n".
22883         (ADDR_DIFF_VEC): Change format to "eEee0".
22884         (ADDRESSOF): Change format to "eit".
22885
22886         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
22887         (RTVEC_ELT): Change to match.
22888         (XVECEXP): Use XVEC and RTVEC_ELT.
22889         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
22890         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
22891         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
22892         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
22893         TRAP_CONDITION, TRAP_CODE): Use XEXP.
22894         (INTVAL): Use XWINT.
22895         (ADDRESSOF_DECL): Use XTREE.
22896         (SET_ADDRESSOF_DECL): Delete.
22897         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
22898         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
22899         ifdefed out since 2.6 at least.
22900         (gen_rtvec_vv): Delete prototype.
22901
22902         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
22903         not rtunion.
22904         (copy_most_rtx): Handle 't' format letter.
22905         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
22906         (gen_rtvec_vv): Delete function.  All callers changed to use
22907         gen_rtvec_v instead.
22908         * print-rtl.c (print_rtx): Move special casing of NOTEs to
22909         the '0' format letter.
22910
22911         * function.c (gen_mem_addressof): Don't use
22912         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
22913         instead.
22914         * integrate.c (copy_rtx_and_substitute): Likewise.
22915         Copy 't' slots with XTREE.
22916         (subst_constants): Treat 't' slots like '[swi]' slots.
22917         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
22918         * jump.c (rtx_equal_for_thread_p): Likewise.
22919         * rtlanal.c (rtx_equal_p): Likewise.
22920         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
22921         only four arguments.
22922         * gengenrtl.c (type_from_format): Provide correct types for
22923         'b' and 't' slots.
22924
22925
22926         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
22927         If a recent gcc is in use (always in stage2 and beyond), use
22928         statement expressions, so we don't make a function call unless
22929         the check fails.  Evaluate arguments exactly once.
22930         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
22931         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
22932         Delete.
22933         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
22934         they evaluate their arguments exactly once, irrespective of
22935         the compiler in use.
22936
22937         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
22938         is used by the currently-enabled check macros.  This is:
22939         (tree_check_failed, tree_class_check_failed): For gcc.
22940         (tree_check, tree_class_check, cst_or_constructor_check,
22941         expr_check): For other compilers.
22942
22943         * gencheck.c: Do not define any *_CHECK1 macros.
22944
22945 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
22946                           Mark Mitchell <mark@codesourcery.com>
22947
22948         * c-common.c (c_get_alias_set): Fix support for poitners and
22949         references.
22950
22951 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
22952
22953         * alias.c: Include tree.h.
22954         (nonlocal_reference_p, mark_constant_function): New functions.
22955         * flow.c (life_analysis): Call mark_constant_function.
22956         * rtl.h (mark_constant_function): Declare it.
22957
22958 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
22959
22960         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
22961         unrecognisable switches.
22962
22963 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22964
22965         * loop.c (recombine_givs): Set ix field after sorting.
22966         (recombine_givs): Remove bogus index / giv lockstep looping.
22967
22968 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22969
22970         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
22971         on CODE.
22972         (emit_store_flag_force): Use do_compare_rtx_and_jump.
22973         (do_cmp_and_jump): Formatting fixes.
22974         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
22975         do_compare_rtx_and_jump instead of compare_from_rtx.
22976         (do_compare_rtx_and_jump): New function; mostly copied from
22977         compare_from_rtx.
22978         (do_jump_for_compare): Delete.
22979         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
22980         MIN_EXPR.
22981         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
22982         of compare/do_jump_for_compare pairs.
22983         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
22984         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
22985         compare_from_rtx/do_jump_for_compare pairs.
22986         (do_jump_by_parts_equality): Likewise.
22987         (do_jump_by_parts_equality_rtx): Likewise.
22988         * expr.h (do_compare_rtx_and_jump): Declare.
22989         * optabs.c (prepare_cmp_insn): New function, contains most of the code
22990         that used to be in emit_cmp_insn.
22991         (cmp_available_p): New function.
22992         (prepare_operand): New function.
22993         (emit_cmp_and_jump_insn_1): New function, contains some code that used
22994         to be in emit_cmp_insn.
22995         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
22996         parameters to be pointers; don't emit final compare but modify some of
22997         the values pointed to by the args so the caller can perform the
22998         correct comparison.
22999         (expand_binop): Call emit_store_flag_force with signed forms of
23000         comparison code.
23001         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
23002         emit_jump_insn pair.
23003         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
23004         emit_cmp_and_jump_insn_1.  Call emit_queue.
23005         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
23006         arg.
23007         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
23008         jump sets cc0 before deleting it.
23009         * integrate.c (expand_inline_function): Likewise.
23010         * unroll.c (unroll_loop): Similar changes in several places.
23011         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
23012         before deleting it.
23013
23014 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23015
23016         * Makefile.in (insn-recog.o): Update dependencies.
23017         * genrecog.c (main): Make generated file include "function.h".
23018
23019 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
23020
23021         * cse.c (cse_insn): Call never_reached_warning when a jump is
23022         changed to be unconditional.
23023         * flags.h: Declare warn_notreached.
23024         * flow.c (delete_block): Call never_reached_warning when
23025         a block is deleted.
23026         * jump.c (delete_barrier_successors): Call never_reached_warning
23027         when we delete everything after a BARRIER.
23028         (never_reached_warning): New function.
23029         * rtl.h: Declare never_reached_warning.
23030         * toplev.c (warn_notreached): New variable.
23031         (lang_independent_options): Set warn_notreached
23032         when -Wunreachable-code.
23033         (compile_file): We need line numbers for -Wunreachable-code.
23034
23035 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
23036
23037         * haifa-sched.c (insn_unit): Fix typo on out of range test.
23038         * sched.c (insn_unit): Likewise.
23039
23040 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
23041
23042         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
23043
23044 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23045
23046         * flow.c (create_edge_list): Use xmalloc, not malloc.
23047
23048 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
23049
23050         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
23051         C-style comments.  Do not lose the character before double slash.
23052
23053 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23054
23055         * basic-block.h (struct edge_list): Stucture to maintain a vector
23056         of edges.
23057         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
23058          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
23059         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
23060         New function prototypes.
23061         * flow.c (create_edge_list): Function to create an edge list.
23062         (free_edge_list): Discards memory used by an edge list.
23063         (print_edge_list): Debug output showing an edge list.
23064         (verify_edge_list): Internal consistency check for an edge list.
23065         (find_edge_index): Function to find an edge index for a pred and succ.
23066
23067 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
23068
23069         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
23070         hashtable.
23071
23072 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
23073
23074         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
23075
23076 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
23077
23078         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
23079
23080 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
23081
23082         * toplev.c (rest_of_compilation): Allow machine dependent
23083         reorganisation pass to place information into the RTL dump
23084         file if it so wishes.
23085
23086 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
23087
23088         * explow.c (hard_function_value): Use VOIDmode instead of
23089         MAX_MACHINE_MODE.
23090         * stmt.c (expand_return): Likewise.
23091         * stor-layout.c (get_best_mode): Likewise.
23092
23093         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
23094         emit call instead of emit_insn call.
23095
23096 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23097
23098         * configure.in: Handle --disable/enable-win32-registry.
23099         * install.texi: Document --disable/enable-win32-registry.
23100         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
23101         (WIN32_REGISTRY_KEY): New macro.
23102         * prefix.c: Use to enable/disable win32-specific code.
23103         (lookup_key): Use versioned key.
23104         * configure: Regenerate.
23105         * config.in: Likewise.
23106
23107 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
23108
23109         * cpplib.c (read_line_number): New fn, split out of...
23110         (do_line): Here.
23111
23112 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23113
23114         tree.c (lang_unsave_expr_now) : New.
23115         (unsave_expr_now): Call lang_unsave_expr_now.
23116         tree.h (lang_unsave_expr_now) : New.
23117
23118 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
23119
23120         * toplev.c (flag_new_exceptions): On by default.
23121
23122 1999-08-13  Michael Meissner  <meissner@cygnus.com>
23123
23124         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
23125
23126 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
23127
23128         * dwarfout.c (fundamental_type_code): Return FT_boolean for
23129         INTEGER_TYPE with precision==1, it's __java_boolean.
23130
23131 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23132
23133         * global.c (prune_preferences): Move some invariants out of the
23134         inner loop.
23135
23136 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
23137
23138         * configure.in (alpha*-dec-osf*): Add osf5.
23139
23140 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
23141
23142         * configure.in: Rework handling of ARM GNU/Linux slightly.
23143         (arm*-*-linux-gnuoldld): New target.
23144         * configure: Regenerate.
23145         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
23146         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
23147         * config/arm/linux-oldld.h: New file.
23148         * config/arm/linux-elf26.h: Don't include linux-elf.h.
23149         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
23150         Don't define.
23151         * config/arm/linux-elf.h (ASM_SPEC): Define.
23152         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
23153         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
23154         for 26-bit APCS and old linker.
23155         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
23156         `arm_elf'.
23157         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
23158         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
23159         don't define `arm' or `arm_elf'.
23160         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
23161         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
23162
23163 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
23164
23165         * rtl.texi: Fix typo.
23166
23167 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
23168
23169         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
23170
23171 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
23172
23173         * extend.texi (C++ Signatures): Remove node.
23174         * invoke.texi: Remove discussion of -fhandle-signatures,
23175         signature, sigof, __signature__, and __sigof__.
23176
23177 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
23178
23179         * Makefile.in (JAVAGC): Removed.
23180
23181 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23182
23183         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
23184
23185 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
23186
23187         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
23188
23189 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
23190
23191         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
23192         a register that is already known to be a pointer.
23193
23194 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
23195
23196         * fixinc/inclhack.tpl: Only install assert.h conditionally.
23197         * fixinc/inclhack.sh: Regenerated.
23198         * fixinc/fixincl.sh: Regenerated.
23199
23200 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
23201
23202         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
23203         Fix documentation of -ansi flag to describe its C++ behavior.
23204         Remove bogus reference to GCC 2.9.
23205
23206 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
23207
23208         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
23209         note if it is non-NULL.
23210
23211 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23212
23213         * except.h (eh_nesting_info): Add new structure defintion.
23214         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
23215         (reachable_handlers, update_rethrow_references): Add function
23216         prototypes.
23217         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
23218         a rethrow symbol instead of an integer exception region number.
23219         * flow.c (Make_edges): Use new exception nesting routines to determine
23220         which handlers are reachable from a CALL or asynchronous insn.
23221         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
23222         goto receivers.
23223         (delete_eh_regions): Update rethrow labels, and don't delete
23224         regions which are the target of a rethrow.
23225         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
23226         avoid overloading the SYMBOL_REF_USED flag.
23227         (rethrow_symbol_map): Use new rethrow_ref field.
23228         (rethrow_used): Use new rethrow_ref field.
23229         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
23230         of an integer.  Fix formatting.
23231         (output_exception_table_entry): Use new rethrow_ref field.
23232         (can_throw): Check for EH_REGION_NOTE before deciding
23233         whether a CALL can throw or not.
23234         (scan_region): Call rethrow_used() instead of accessing data structure.
23235         (update_rethrow_references): New function to make sure only regions
23236         which are still targets of a rethrow are flagged as such.
23237         (process_nestinfo): New static function to initialize a handler
23238         list for a specific region.
23239         (init_eh_nesting_info): New function to allocate and initialize
23240         the list of all EH handlers reachable from all regions.
23241         (reachable_handlers): New function to retrieve the list of handlers
23242         reachable from a specific region and insn.
23243         (free_eh_nesting_info): New function to dispose of a list of
23244         reachable handlers.
23245
23246 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
23247
23248         * flow.c (split_edge): Set JUMP_LABEL field.
23249         (commit_one_edge_insertion): Set head correctly for insert_before.
23250         When inserting insns, update insn block numbers if allocated.
23251
23252 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23253
23254         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
23255         retry_incomplete_types): Add static prototype.
23256         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
23257         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
23258         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
23259         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
23260         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
23261         Constify a char*.
23262
23263         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
23264         dwarf2out_start_source_file, dwarf2out_line): Likewise.
23265
23266 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23267
23268         * output.h (assemble_name): Constify a char*.
23269
23270         * varasm.c (UNIQUE_SECTION, assemble_start_function,
23271         assemble_variable, assemble_name): Likewise.
23272
23273         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
23274
23275         * arm/pe.c (arm_pe_unique_section): Likewise.
23276
23277         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
23278
23279         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
23280
23281         * i386/interix.c (i386_pe_unique_section): Likewise.
23282
23283         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
23284
23285         * i386/winnt.c (i386_pe_unique_section): Likewise.
23286
23287         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
23288
23289         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
23290
23291         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
23292
23293         * pa/pa.c (output_call): Likewise.
23294
23295         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
23296
23297         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
23298
23299         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
23300         Likewise.
23301
23302         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
23303         Likewise.
23304
23305         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
23306
23307         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
23308         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
23309
23310         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
23311
23312 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23313
23314         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
23315
23316 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23317
23318         * tree.h (lang_identify): Constify a char*.
23319         (print_error_function): Add extern prototype.  Constify a char*.
23320
23321         * c-lang.c (lang_identify): Constify a char*.
23322
23323         * objc/objc-act.c (lang_identify): Constify a char*.
23324
23325 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23326
23327         * genpeep.c (main): Make generated file include "function.h".
23328         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
23329
23330 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23331
23332         * Makefile.in: Update dependencies.
23333         * alias.c: Include "function.h"
23334         * c-decl.c: Likewise.
23335         * caller-save.c: Likewise.
23336         * calls.c: Likewise.
23337         * combine.c: Likewise.
23338         * cse.c: Likewise.
23339         * explow.c: Likewise.
23340         * final.c: Likewise.
23341         * global.c: Likewise.
23342         * graph.c: Likewise.
23343         * local-alloc.c: Likewise.
23344         * loop.c: Likewise.
23345         * optabs.c: Likewise.
23346         * profile.c: Likewise.
23347         * recog.c: Likewise.
23348         * regclass.c: Likewise.
23349         * regmove.c: Likewise.
23350         * reload.c: Likewise.
23351         * reorg.c: Likewise.
23352         * resource.c: Likewise.
23353         * sched.c: Likewise.
23354         * stupid.c: Likewise.
23355         * config/1750a/1750a.c: Likewise.
23356         * config/a29k/a29k.c: Likewise.
23357         * config/arc/arc.c: Likewise.
23358         * config/arm/arm.c: Likewise.
23359         * config/arm/thumb.c: Likewise.
23360         * config/c4x/c4x.c: Likewise.
23361         * config/clipper/clipper.c: Likewise.
23362         * config/convex/convex.c: Likewise.
23363         * config/fx80/fx80.c: Likewise.
23364         * config/i860/i860.c: Likewise.
23365         * config/m68k/m68k.c: Likewise.
23366         * config/m88k/m88k.c: Likewise.
23367         * config/mips/mips.c: Likewise.
23368         * config/pdp11/pdp11.c: Likewise.
23369         * config/pyr/pyr.c: Likewise.
23370         * config/romp/romp.c: Likewise.
23371         * config/sh/sh.c: Likewise.
23372         * config/tahoe/tahoe.c: Likewise.
23373         * config/vax/vax.c: Likewise.
23374         * config/we32k/we32k.c: Likewise.
23375         * config/sparc/sparc.c: Include "function.h".
23376         (mem_min_alignment): Test current_function rather than
23377         regno_pointer_align.
23378         * config/pa/pa.c: Likewise.
23379         (compute_frame_size): Delete declaration of
23380         current_function_outgoing_args_size.
23381         * config/arc/arc.h (current_function_varargs): Delete declaration.
23382         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
23383         declaration.
23384         * config/i370/i370.h (current_function_outgoing_args_size): Delete
23385         declaration.
23386         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
23387         current_function_uses_pic_offset_table.
23388         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
23389         of current_function_returns_pointer.
23390         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23391         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23392         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23393         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23394         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23395         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23396         * config/m88k/m88k.c: Include "function.h"
23397         (call_used_regs, current_function_pretend_args_size,
23398         current_function_outgoing_args_size, frame_pointer_needed): Delete
23399         declarations.
23400         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
23401         declaration.
23402         * config/mips/mips.h (current_function_calls_alloca): Delete
23403         declaration.
23404         * config/mn10200/mn10200.h (current_function_needs_context,
23405         rtx_equal_function_value_matters): Delete declarations.
23406         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
23407         flag_pic): Delete declarations.
23408         * config/pa/pa.h (current_function_pretend_args_size,
23409         current_function_decl): Delete declarations.
23410         * config/pa/som.h (current_function_varargs): Delete declaration.
23411         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
23412         declaration.
23413         * config/pyr/pyr.h (current_function_pretend_args_size,
23414         current_function_args_size, current_function_calls_alloca): Delete
23415         declarations.
23416         * config/sh/sh.h (current_function_varargs): Delete declaration.
23417         * config/sparc/sparc.h (current_function_outgoing_args_size,
23418         current_function_calls_alloca, current_function_decl): Delete
23419         declarations.
23420         * config/spur/spur.h (current_function_pretend_args_size,
23421         current_function_calls_alloca): Delete declarations.
23422         * config/v850/v850.c (current_function_outgoing_args_size): Delete
23423         declaration.
23424         * config/vax/vms.h (current_function_name): Delete declaration.
23425         * gcse.c: Include "function.h".
23426         (current_function_name, current_function_calls_setjmp): Delete
23427         declarations.
23428         * haifa-sched.c: Include "function.h".
23429         (forced_labels): Delete declaration.
23430         * jump.c: Likewise.
23431         * reg-stack.c: Likewise.
23432         * reload1.c: Likewise.
23433         * genemit.c (main): Make generated file include function.h.
23434         * genoutput.c (output_prologue): Likewise.
23435
23436         * builtins.c (saveregs_value, apply_args_value): Delete variables.
23437         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
23438         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
23439         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
23440         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
23441         macros for some of them.
23442         (emit_filename, emit_lineno): Delete declarations.
23443         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
23444         regno_pointer_* variables through current_function.
23445         (gen_inline_header_rtx): Delete function.
23446         (save_emit_status): Delete function.
23447         (set_new_last_label_num): New function.
23448         (clear_emit_caches): New function.
23449         (restore_emit_status): Just clear last_labelnum and call
23450         clear_emit_caches.
23451         (get_last_insn_anywhere): Variable sequence_stack is now accessed
23452         through macro seq_stack.
23453         (add_insn_after): Likewise.
23454         (add_insn_before): Likewise.
23455         (remove_insn): Likewise.
23456         (pop_topmost_sequence): Likewise.
23457         (in_sequence_p): Likewise.
23458         (start_sequence_for_rtl_expr): Likewise.
23459         (start_sequence): Likewise, and likewise for
23460         sequence_rtl_expr/seq_rtl_expr.
23461         (push_topmost_sequence): Likewise.
23462         (end_sequence): Likewise.
23463         (init_virtual_regs): Now takes a "struct emit_status *" argument.
23464         All callers changed.  Store into that pointer instead of globals.
23465         (init_emit): Allocate emit elt of current_function.
23466         Changes for sequence_rtl_expr/sequence_stack renaming.
23467         Call clear_emit_caches instead of doing it in-line.
23468         Access regno_pointer_* variables through current_function.
23469         (init_emit_once) Don't clear sequence_stack.
23470
23471         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
23472         Delete variables.
23473         (arg_pointer_save_area): Delete declaration.
23474         (finish_expr_for_function): Renamed from init_queue; no longer static.
23475         (init_expr): Don't call init_queue.
23476         (save_expr_status, restore_expr_status): Delete functions.
23477         (expand_expr): Changes to reflect new layout of struct function.
23478         Don't access current_function_check_memory_usage when current_function
23479         is 0.
23480         * expr.h (forced_labels, save_expr_regs, saveregs_value,
23481         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
23482         current_function_outgoing_args_size, current_function_arg_offset_rtx,
23483         current_function_uses_const_pool, function_call_count,
23484         current_function_uses_pic_offset_table, nonlocal_labels,
23485         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
23486         current_function_check_memory_usage, nonlocal_goto_handler_slots,
23487         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
23488         declarations.
23489         (finish_expr_for_function): Declare.
23490         * flags.h (current_function_has_nonlocal_label,
23491         current_function_has_nonlocal_goto, current_function_is_thunk,
23492         current_function_has_computed_jump): Delete declarations.
23493         * flow.c (forced_labels): Delete declaration.
23494         * function.c (current_function_pops_args,
23495         current_function_returns_struct, current_function_returns_pcc_struct,
23496         current_function_needs_context, current_function_calls_setjmp,
23497         current_function_calls_longjmp, current_function_has_nonlocal_label,
23498         current_function_has_nonlocal_goto, current_function_is_thunk,
23499         current_function_has_computed_jump, current_function_calls_alloca,
23500         current_function_contains_functions, current_function_returns_pointer,
23501         current_function_epilogue_delay_list, current_function_args_size,
23502         current_function_pretend_args_size, current_function_arg_offset_rtx,
23503         current_function_outgoing_args_size, current_function_varargs,
23504         current_function_stdarg, current_function_args_info, cleanup_label,
23505         current_function_name, current_function_uses_const_pool,
23506         current_function_instrument_entry_exit, current_function_return_rtx,
23507         current_function_uses_pic_offset_table, nonlocal_labels,
23508         current_function_internal_arg_pointer, current_function_cannot_inline,
23509         current_function_check_memory_usage, function_call_count,
23510         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
23511         nonlocal_goto_stack_level, return_label, save_expr_regs,
23512         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
23513         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
23514         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
23515         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
23516         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
23517         Delete variables.
23518         (push_function_context_to): Don't save them.  Don't call
23519         save_storage_status, save_emit_status or save_expr_status.
23520         (pop_function_context_from): Don't restore them.  Don't call
23521         restore_storage_status or restore_expr_status.
23522         (get_func_frame_size): New function.
23523         (get_frame_size): Use it.
23524         (assign_outer_stack_local): Reflect some member name changes in struct
23525         function.
23526         (put_reg_into_stack): Likewise.
23527         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
23528         seq_rtl_expr.
23529         (fixup_var_refs): Likewise.
23530         (fix_lexical_addr): Likewise.
23531         (trampoline_address): Likewise.
23532         (prepare_function_start): Clear field inlinable of current_function.
23533         (init_function_for_compilation): New function.
23534         (expand_dummy_function_end): New function.
23535         (expand_function_end): Call finish_expr_for_function.
23536         * function.h (struct emit_status): New; fields moved here from struct
23537         function and from global variables.  Add accessor macros for some of
23538         the fields.
23539         (struct expr_status): Likewise.
23540         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
23541         (struct function): Add fields expr and emit, inlinable, inl_emit,
23542         original_arg_vector, original_decl_initial, inl_last_parm_insn,
23543         inl_max_label_num.  Add many comments.
23544         Add accessor macros for all elts of struct function that no longer
23545         have a global variable.
23546         (cleanup_label, return_label, frame_offset, tail_recursion_label,
23547         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
23548         stack_slot_list): Delete declarations.
23549         (get_func_frame_size): Declare.
23550         (save_expr_status, restore_expr_status, save_emit_status,
23551         save_storage_status, restore_storage_status): Delete declarations.
23552         (init_virtual_regs): Declare.
23553         * output.h (current_function_pops_args,
23554         current_function_returns_struct, current_function_returns_pcc_struct,
23555         current_function_needs_context, current_function_calls_setjmp,
23556         current_function_calls_longjmp, current_function_calls_alloca,
23557         current_function_has_nonlocal_label, current_function_varargs,
23558         current_function_has_computed_jump, current_function_returns_pointer,
23559         current_function_contains_functions, current_function_args_size,
23560         current_function_pretend_args_size, current_function_stdarg,
23561         current_function_outgoing_args_size, current_function_args_info,
23562         current_function_name, current_function_return_rtx,
23563         current_function_epilogue_delay_list,
23564         current_function_uses_const_pool, current_function_cannot_inline):
23565         Delete declarations.
23566         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
23567         regno_reg_rtx): Delete declaration.
23568         (REGNO_POINTER_FLAG): Delete macro.
23569         * stmt.c (expand_goto): Changes to reflect that some fields in struct
23570         function were renamed.
23571         * stor-layout.c (save_storage_status, restore_storage_status): Delete
23572         functions.
23573         * toplev.c: Include "function.h".
23574         (current_function_decl): Delete declaration.
23575         (compile_file): Call init_dummy_function_start and
23576         expand_dummy_function_end around some initializations that need to
23577         emit rtl.
23578         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
23579         Call init_function_for_compilation.
23580         * unroll.c: Include "function.h"
23581         (unroll_loop): Access regno_pointer_* variables through
23582         current_function.
23583
23584         * tree.h (struct tree_decl): Add elt f to saved_insns member.
23585         (DECL_SAVED_INSNS): use it.
23586         (expand_dummy_function_end): Declare.
23587         (init_function_for_compilation): Declare.
23588         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
23589         that it's no longer an INLINE_HEADER.
23590         (expand_call): Likewise.
23591         * integrate.c (finish_inline): Delete function.
23592         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
23593         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
23594         args.  Don't generate an INLINE_HEADER rtx, just return the arg
23595         vector.  All callers changed.
23596         (save_for_inline_copying):  Create a duplicate struct emit_status to
23597         hold the emit state for compiling the current function.  Use this and
23598         the other new fields in struct function that are for integration
23599         instead of an INLINE_HEADER.
23600         Use memcpy instead of bcopy.
23601         Store the current struct function in DECL_SAVED_INSNS of fndecl.
23602         (save_for_inline_nocopy): Similar changes, except no new emit_status
23603         is needed here.
23604         (expand_inline_function): Get information from function structure,
23605         not from an inline header rtx.
23606         (output_inline_function): Lose code to extract the necessary
23607         information from an inline header; simply put back the function
23608         structure into current_function.  Clear its inlinable elt.
23609         * rtl.def (INLINE_HEADER): Delete.
23610         * rtl.h: Delete all accessors for an INLINE_HEADER.
23611         (gen_inline_header_rtx): Delete declaration.
23612         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
23613         Delete declarations.
23614         (REGNO_POINTER_ALIGN): Delete.
23615         (clear_emit_caches): Declare.
23616         (set_new_last_label_num): Declare.
23617
23618 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
23619
23620         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
23621
23622         * except.c (expand_eh_region_start_for_decl): Always start a new block.
23623         * stmt.c (is_eh_region): Make sure current_function is present, too.
23624
23625 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
23626
23627         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
23628         for 64bit PA targets.
23629
23630         * pa.h (SELECT_SECTION): Define.
23631         * som.h (SELECT_SECTION): Delete.
23632
23633 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23634
23635         * alias.c (init_alias_analysis): Wrap call to
23636         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
23637
23638 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
23639
23640         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
23641         <sys/asm.h> contains an asm comment with an apostrophe
23642         * fixinc/inclhack.sh:  regen
23643         * fixinc/fixincl.x:  regen
23644
23645 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
23646
23647         * function.c (init_function_start): Clear prologue & epilogue.
23648         (prologue_epilogue_contains): New function.
23649         * alias.c (init_alias_analysis): Use it.
23650         * rtl.h (prologue_epilogue_contains): Declare it.
23651
23652 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
23653
23654         * jump.c (onlyjump_p): New function.
23655         * rtl.h: Declare it.
23656         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
23657         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
23658
23659 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
23660
23661         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
23662         to invert loops.  Simplify block scanning.
23663
23664 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
23665
23666         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
23667         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
23668
23669 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
23670
23671         * config/sparc/liteelf.h: New file to support sparclite-elf target
23672         * config/sparc/t-sp86x: New file to support sparc86x targets
23673         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
23674         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
23675         * configure.in: Support above target triplets
23676         * configure: Regenerated
23677
23678 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
23679
23680         * fixinc/server.c (server_setup): Do not prefix function used as
23681         parameter with `&'.
23682
23683 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
23684
23685         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
23686         Remove fp reg alternatives.
23687
23688 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
23689
23690         * Makefiin (TAROUTOPTS): Kill.
23691         (install-headers-tar): Use "xpf" for tar headerfile extraction
23692         * i370/x-oe (TAROUTOPTS): Delete.
23693         * m68k/x-apollo68 (TAROUTOPTS): Delete.
23694         * m68k/x-hp320 (TAROUTOPTS): Delete.
23695         * m68k/x-hp320g (TAROUTOPTS): Delete.
23696         * gcc.texi: Update bug reporting text.
23697
23698 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23699
23700         * reg-stack.c (change_stack) Fixed problem with negative array index.
23701
23702 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
23703
23704         * extend.texi, install.texi: Fix spelling mistakes.
23705
23706         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
23707         (s-attrtab); No longer try to use pre-made insn-attrtab file.
23708         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
23709         PREMADE_ATTRTAB_MD.
23710         * mips/t-ecoff: Likewise.
23711         * mips/t-elf: Likewise.
23712         * mips/t-mips: Likewise.
23713         * mips/t-osfrose: Likewise.
23714         * mips/t-r3900: Likewise.
23715         * mips/t-svr3: Likewise.
23716         * mips/t-svr4: Likewise.
23717         * mips/t-ultrix: Likewise.
23718
23719         * gcc.texi: Document recommend means to provide software floating
23720         point libraries in libgcc.a
23721
23722 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
23723
23724         * c-lex.c (yylex): We can have a number with no digits.
23725
23726 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
23727
23728         * jump.c (delete_prior_computation): New function, broken
23729         out of delete_computation.  Check for side effects with
23730         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
23731         multi-word hard registers.
23732         (delete_computation): Use it.  Check for side effects with
23733         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
23734         missing REG_DEAD note for a register which is both set and
23735         used by an insn.
23736
23737 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
23738
23739         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
23740         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
23741         (ASM_FILE_START): Import _mcount with the right type.
23742         (ASM_DECLARE_FUNCTION_NAME): Define.
23743         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
23744         * pa.c (output_function_prologue): Always emit the function's label
23745         here.
23746         * pa.h (TEXT_SPACE_P): Define.
23747         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
23748         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
23749         * som.h (TEXT_SPACE_P): Delete.
23750         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
23751         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
23752
23753 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
23754
23755         * expr.c (emit_group_load): Allow src to be a CONCAT.
23756
23757 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23758
23759         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
23760         (___mulsi3): Use '!' comment character.
23761
23762 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23763
23764         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
23765
23766 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
23767
23768         * gcc.c: Update URLs and mail addresses.
23769         * gcc.texi: Likewise.
23770
23771 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
23772
23773         * rs6000.c (current_file_function_operand): Return zero for
23774         weak functions.
23775         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
23776         weak symbols.
23777         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
23778         for weak symbols.
23779
23780 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
23781
23782         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
23783         allocate space in the stack frame for the PIC register.
23784
23785 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
23786
23787         * m68k.md (xordi3, anddi3): These patterns are not available on
23788         the coldfire.
23789
23790 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
23791
23792         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
23793         (PUT_REAL): Likewise.
23794
23795 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23796
23797         * final.c (shorten_branches): Don't add an alignment for loops
23798         that have no label inside.
23799
23800 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23801
23802         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
23803         prototypes in macro HAVE_cmpstrsi.
23804
23805         * cpplib.c (cpp_get_token): Remove unused label `op3'.
23806
23807         * emit-rtl.c (operand_subword): Remove unused variable
23808         `bits_per_word'.
23809
23810         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
23811
23812         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
23813
23814 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
23815
23816         * cpphash.c (macroexpand): Delete leading whitespace when arg
23817         is concatenated before.
23818         (unsafe_chars): Correct test for whether + and - can extend a
23819         token.
23820
23821         * cppinit.c (cpp_start_read): Do dependencies for
23822         -include/-imacros files also.
23823
23824         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
23825         tokenizing non-directive lines.
23826         (cpp_expand_to_buffer): Temporarily disable no-output mode.
23827         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
23828         the input file.
23829
23830 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23831
23832         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
23833
23834         * c-lex.c: Sync with C++ frontend.
23835         (linemode): New variable.
23836         (parse_float): imag, conversion_errno, and type are output only.
23837         (yylex): Adjust.  Move initial '.' case into main switch.
23838         Use linemode.
23839         (handle_generic_pragma): Just deal with tokens.
23840         (readescape): Use ISXDIGIT and ISGRAPH.
23841         * c-parse.in: Add END_OF_LINE token.
23842
23843         * c-lex.c (lang_init): Generalize.
23844         (nextchar): Remove.  Replace uses with UNGETC.
23845         (skip_white_space): Handle linemode here.  Optimize for cpplib.
23846         (skip_white_space_on_line): Remove.
23847         (extend_token_buffer_to): New fn.
23848         (extend_token_buffer): Use it.
23849         (read_line_number, check_newline): Just deal with tokens.
23850         (token_getch, token_put_back): New fns.
23851         (yylex): Use them.  More cpplib optimizations.  Simplify.
23852
23853 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
23854                           Jason Merrill  <jason@yorick.cygnus.com>
23855
23856         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
23857         (consume_string): Make this smart about USE_CPPLIB.
23858         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
23859         (yylex): Rewrite to be intelligent about USE_CPPLIB.
23860         Also, clean up cases where we redundantly set token_buffer[0].
23861         (read_line_number): New fn.
23862         (ignore_escape_flag): New variable.
23863
23864 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
23865
23866         * a29k/t-a29kbare: Fix some comments.
23867         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
23868         (FPBIT, DPBIT): Define.
23869         * a29k/t-vx29k: Likewise.
23870         * arc/t-arc: Likewise.
23871         * arm/t-arm-elf: Likewise.
23872         * arm/t-bare: Likewise.
23873         * arm/t-pe: Likewise.
23874         * arm/t-pe-thumb: Likewise.
23875         * arm/t-semi: Likewise.
23876         * arm/t-thumb: Likewise.
23877         * arm/t-thumb-elf: Likewise.
23878         * arm/t-thumb-linux: Likewise.
23879         * h8300/t-h8300: Likewise.
23880         * i960/t-i960: Likewise.
23881         * i960/t-vxworks960: Likewise.
23882         * m32r/t-m32r: Likewise.
23883         * mips/t-ecoff: Likewise.
23884         * mips/t-elf: Likewise.
23885         * mips/t-r3900: Likewise.
23886         * pa/t-pro: Likewise.
23887         * rs6000/t-aix43: Likewise.
23888         * rs6000/t-beos: Likewise.
23889         * rs6000/t-newas: Likewise.
23890         * rs6000/t-ppccomm: Likewise.
23891         * rs6000/t-rs6000: Likewise.
23892         * rs6000/t-winnt: Likewise.
23893         * rs6000/t-xnewas: Likewise.
23894         * rs6000/t-xrs6000: Likewise.
23895         * sh/t-sh: Likewise.
23896         * sparc/t-elf: Likewise.
23897         * sparc/t-sparcbare: Likewise.
23898         * sparc/t-sparclite: Likewise.
23899         * sparc/t-splet: Likewise.
23900         * v850/t-v850: Likewise.
23901         * mn10200/t-mn10200: Fix comments.
23902         * mn10300/t-mn10300: Likewise.
23903
23904         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
23905         dummy operand.  Allocate a new pseudo for the dummy operand.
23906         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
23907
23908         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
23909
23910 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
23911
23912         * configure: Rebuilt.
23913         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
23914
23915 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
23916
23917         * recog.c (preproces_constraints): Zero recog_op_alt before
23918         processing the constraints.
23919
23920         * arm.c (typedef minipool_node): Renamed from pool_node.
23921         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
23922         (add_minipool_constant): New function.
23923         (dump_minipool): New function.
23924         (find_barrier): Remove special case for getting the insn size of
23925         an insn that references the constant pool.
23926         (minipool_fixup): New structure.
23927         (push_minipool_barrier): New function.
23928         (push_minipool_fix): New function.
23929         (note_invalid_constants): New function.
23930         (add_pool_constant, dump_table, fixit, broken_move): Delete.
23931         (arm_reorg): Rewrite code to fix up the constant pool into a
23932         series of mini-pools embedded in the insn stream.
23933         (arm_output_epilogue): New function, made mainly from the body
23934         of output_func_epilogue.
23935         (output_func_epilogue): Move insn generation part of epilogue code
23936         to arm_output_epilogue.
23937         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
23938         * arm.md (pool_range): New attribute.
23939         (zero_extendqidi2): Add attribute pool_range.
23940         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
23941         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
23942         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
23943         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
23944         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
23945         (epilogue): New expand.
23946         (epilogue_insn): New insn.  Call arm_output_epilogue.
23947
23948         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
23949         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
23950
23951 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23952
23953         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
23954
23955 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
23956
23957         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
23958
23959 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
23960
23961         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
23962
23963 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
23964
23965         * global.c: Fix comment.
23966
23967 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
23968
23969         * gcc.c (access_check): New static function.
23970         (find_a_file): Use it when searching a directory list.
23971         * collect2.c (find_a_file): Don't accept directories found when
23972         searching a directory list.
23973
23974 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
23975
23976         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
23977         function parameters with `&'.
23978         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
23979
23980 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
23981
23982         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
23983         or tidy_fallthru_edge if the last insn in the block is not
23984         an unconditional jump or a simple conditional jump.
23985
23986 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23987
23988         * Makefile.in (c-decl.o): Depends on defaults.h.
23989
23990 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
23991
23992         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
23993         PA1.1 and above.
23994         (CLASS_MAX_NREGS): Likewise.
23995
23996 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
23997
23998         * cse.c (cse_insn): Fix dumb thinko in last change.
23999
24000 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24001
24002         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
24003         "const char *".
24004
24005 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
24006
24007         * dwarf2out.c (add_location_or_const_value_attribute): Correct
24008         test for sizes of passed and declared parameter types.
24009
24010 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24011
24012         * fixincludes: Fix the return type of bsearch, char* -> void*.
24013
24014         * fixinc/inclhack.def: Likewise.
24015
24016 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
24017
24018         * invoke.texi (-fdump-translation-unit): New option.
24019
24020 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
24021
24022         * expr.h (PROMOTE_PROTOTYPES): Move ...
24023         * defaults.h: ... to here.
24024         * c-decl.c: Include defaults.h instead of expr.h.
24025         * c-typeck.c: Include defaults.h.
24026
24027 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
24028
24029         * toplev.h (errorcount): Declare.
24030         (warningcount): Likewise.
24031         (sorrycount): Likewise.
24032         * c-lex.c (errorcount): Don't declare.
24033         * dwarf2out.c (errorcount): Don't declare.
24034
24035 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
24036
24037         * config/libgloss.h: Add a note discouraging use with ELF.
24038         * configure.in: Don't use libgloss.h for ELF targets.
24039         Always use_collect2 on a.out targets.
24040
24041 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
24042
24043         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
24044         (force_to_mode, case ASHIFTRT): Add shiftrt label.
24045
24046 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24047
24048         * loop.c (strength_reduce): When doing biv->giv conversion, update
24049         reg note of NEXT->insn.
24050
24051 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24052
24053         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
24054
24055 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24056
24057         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
24058         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
24059         Ensure expr.h is included.
24060         * c-typecheck.c (convert_arguments): Ditto.
24061
24062         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
24063
24064         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
24065         * config/convex/convex.h: Ditto.
24066         * config/dsp16xx/dsp16xx.h: Ditto.
24067         * config/fx80/fx80.h: Ditto.
24068         * config/gmicro/gmicro.h: Ditto.
24069         * config/i370/i370.h: Ditto.
24070         * config/i386/i386.h: Ditto.
24071         * config/m32r/m32r.h: Ditto.
24072         * config/m68k/m68k.h: Ditto.
24073         * config/m88k/m88k.h: Ditto.
24074         * config/mips/mips.h: Ditto.
24075         * config/pa/pa.h: Ditto.
24076         * config/pyr/pyr.h: Ditto.
24077         * config/tahoe/tahoe.h: Ditto.
24078         * config/we32k/we32k.h: Ditto.
24079
24080         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
24081         based on arch size.
24082
24083         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
24084
24085         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
24086         from comment.
24087
24088         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
24089
24090 1999-08-02  Richard Henderson  <rth@cygnus.com>
24091
24092         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
24093         for the register spill block.
24094         (m32r_va_arg): New.
24095         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
24096         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
24097
24098         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
24099         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
24100         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
24101
24102 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24103
24104         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
24105         MAX_WCHAR_TYPE defined in sparc.h.
24106         * config/sparc/linuxaout.h: Likewise.
24107         * config/sparc/linux64.h: Likewise.
24108         Also default to -mvis if CPU is UltraSPARC.
24109
24110 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24111
24112         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
24113         (RTX_OK_FOR_OLO10): Likewise.
24114         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
24115         %lo(), allow it in addresses...
24116         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
24117         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
24118         does not make sense.
24119         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
24120         (sparc_output_scratch_registers): New function.
24121         (output_function_prologue, sparc_flat_output_function_prologue): Use
24122         it.
24123         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
24124         defined.
24125         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
24126         * configure.in: Add check for .register pseudo-op support in as and
24127         check for offsetable %lo().
24128         * acconfig.h: Add templates for the above checks.
24129         * configure: Regenerate.
24130
24131 1999-08-02  Richard Henderson  <rth@cygnus.com>
24132
24133         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
24134         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
24135         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
24136
24137 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24138
24139         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24140         reg_biv_class.
24141
24142 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
24143
24144         * config/float-sparc.h: New file.
24145         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
24146         sparc-*-linux-gnu and sparc64-*-linux*.
24147
24148 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24149
24150         * rs6000.c (rs6000_va_list): Type is an array.
24151         (rs6000_va_start): Don't doubly adjust for varargs.
24152         (rs6000_va_arg): Evaluate long long GPR adjustment.
24153
24154 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
24155
24156         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
24157         -maix64 and -maix32.
24158         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
24159         LINK_SPEC): Change appropriately.
24160         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
24161         (u_short_cint_operand): Likewise.
24162         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
24163         for 64-bit hosts.
24164         * rs6000/t-aix43 (MULTILIB): Change to -m64.
24165
24166         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
24167
24168 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
24169
24170         * rs6000/rs6000.c (num_insns_constant_wide): Correct
24171         for type promotion.
24172         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
24173         (non_add_cint_operand): Likewise.
24174         (logical_operand): Likewise.
24175         (non_logical_cint_operand): Likewise.
24176         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
24177         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
24178         (rs6000_select_rtx_section): Suppress warning.
24179         (small_data_operand): Suppress warning.
24180         (rs6000_got_register): Suppress warning.
24181         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
24182         type, so `J' is generally the wrong constraint for a SImode value;
24183         use `L' instead.
24184         (andsi3_internal2): Likewise.
24185         (andsi3_internal3): Likewise.
24186         (iorsi3_internal1): Likewise.
24187         (xorsi3_internal1): Likewise.
24188         (movsi): Likewise.
24189         (movsf_softfloat): Likewise.
24190         (scc insns): Likewise.
24191         (movsi+2): Preserve sign bits of SImode constant.
24192         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
24193         (movdf+1): Sign-extend properly.
24194         (movdi_32+1): Sign-extend properly.
24195         (scc insns): Sign-extend properly.
24196
24197         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
24198         K, L, and T.
24199
24200 1999-08-02  Richard Henderson  <rth@cygnus.com>
24201
24202         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
24203         -mcpu parsing code.
24204         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
24205         * alpha.md (all fp insns): Likewise.
24206
24207 1999-08-02  Nick Clifton  <nickc@cygnus.com>
24208
24209         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
24210         already defined.
24211
24212 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
24213
24214         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
24215         pic_load_label generator directly.
24216         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
24217         No longer a named pattern.
24218
24219 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
24220
24221         * explow.c (force_reg): Call force_operand if X does not
24222         satisfy general_operand.
24223
24224 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
24225
24226         * fix-header.c (main): When testing for CONTINUED, use string
24227         equality, not pointer equality.
24228
24229 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
24230
24231         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
24232
24233 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
24234
24235         * cse.c (cse_insn): Fix loop which deletes insns after a jump
24236         that has become an unconditional jump.
24237
24238         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
24239         (output_function_epilogue): Similarly.
24240
24241 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24242
24243         * tree.h (init_dummy_function_start): Declare.
24244
24245 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24246
24247         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
24248         last_expr_type, last_expr_value, block_start_count, block_stack,
24249         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
24250         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
24251         dynamically in stmt elt of struct function for each function.
24252         (struct nesting): Rename function_call_count elt to n_function_calls,
24253         target_temp_slot_level to block_target_temp_slot_level.  All users
24254         changed.
24255         (struct stmt_status): New structure definition.
24256         Add many accessor macros for stmt_status elements which previously
24257         were global variables.
24258         (init_stmt_for_function): Allocate stmt elt for current_function.
24259         Reflect that block_start_count was renamed to
24260         current_block_start_count.
24261         (save_stmt_status, restore_stmt_status): Delete functions.
24262         (preserve_subexpressions_p): Don't access loop_stack when outside
24263         a function.
24264         (expand_start_bindings): Reflect that block_start_count was renamed to
24265         current_block_start_count.
24266         (expand_fixup): Likewise.
24267         (expand_decl): Don't access block_stack when outside a function.
24268         (expand_decl_cleanup): Likewise.
24269         (expand_dcc_cleanup): Likewise.
24270         (expand_dhc_cleanup): Likewise.
24271         (expand_anon_union_decl): Likewise.
24272         (set_file_and_line_for_stmt): New function.
24273         (in_control_zone_p): New function.
24274
24275         * function.h (struct function): Add new elt stmt.
24276         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
24277         case_stack, nesting_stack, nesting_depth, block_start_count,
24278         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
24279         emit_lineno, goto_fixup_chain.
24280         (save_eh_status, restore_eh_status, save_stmt_status,
24281         restore_stmt_status): Delete declarations.
24282         * function.c (push_function_context_to): Don't call save_stmt_status.
24283         (pop_function_context_to): Don't call restore_stmt_status.
24284         * tree.h (in_control_zone_p): Declare.
24285         * rtl.h (set_file_and_line_for_stmt): Declare.
24286
24287         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
24288         call set_file_and_line_for_stmt.
24289
24290 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
24291
24292         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
24293         Also update copyright.
24294
24295 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24296
24297         * c-pragma.c: Don't include "except.h".
24298         * emit-rtl.c: Likewise.
24299         * stor-layout.c: Likewise.
24300         * tree.c: Likewise.
24301         * varasm.c: Likewise.
24302
24303         * flow.c: Include "function.h".
24304         * tree.h (init_dummy_function_start): Declare new function.
24305
24306         * except.h (struct eh_status): New structure.
24307         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
24308         been included.
24309         (eh_return_stub_label, ehstack, catchstack, ehqueue,
24310         catch_clauses, false_label_stack, caught_return_label_stack,
24311         protect_list, current_function_ehc): Add accessor macros for the
24312         corresponding fields in current_function->eh; delete declarations
24313         for all items that used to be declared here.
24314         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
24315         catch_clauses, false_label_stack, caught_return_label_stack,
24316         protect_list, current_function_ehc): Delete variables.
24317         (init_eh_for_function): Allocate current_function->eh.
24318         (save_eh_status, restore_eh_status): Delete functions.
24319
24320         * function.h (struct function): Add fields next_global and eh.
24321         Delete all exception handling related fields.
24322         * function.c (current_function): New variable.
24323         (all_functions): New variable.
24324         (push_function_context_to): Don't allocate a struct function,
24325         use current_function instead.  Call init_dummy_function_start when
24326         outside a function.  Clear current_function before returning.
24327         (pop_function_context_from): Restore current_function.
24328         Don't free the restored struct function.
24329         (prepare_function_start): New function.
24330         (init_dummy_function_start): New function.
24331         (init_function_start): Break out some code into prepare_function_start
24332         and call it here.
24333
24334         * stmt.c (save_stmt_status): Don't call save_eh_status.
24335         (restore_stmt_status): Don't call restore_eh_status.
24336
24337         * Makefile.in: Update dependencies.
24338
24339 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
24340
24341         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
24342         of depending on a magic constant value.  Update comments.
24343         (hppa_expand_prologue): Similarly.
24344
24345         * pa.md (reload_indi, reload_outdi): Allow any register for the
24346         original reload register.
24347
24348 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
24349
24350         * cccp.c (print_help): Change marcos to macros.
24351
24352 1999-07-30  Richard Henderson  <rth@cygnus.com>
24353
24354         * c-typeck.c (initializer_constant_valid_p): Move ...
24355         * c-common.c (initializer_constant_valid_p): ... here.  Use
24356         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
24357         of label addresses.
24358         * c-common.h (initializer_constant_valid_p): Declare.
24359         * c-tree.h (initializer_constant_valid_p): Remove.
24360
24361 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
24362
24363         * config/i386/sol2-c1.asm: Align the stack.
24364         * config/i386/sol2-gc1.asm: Likewise.
24365
24366 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
24367
24368         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
24369         -Asparclite for sparc86x.
24370         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
24371         sparc86x.
24372         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
24373
24374 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24375
24376         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
24377         the user if using the non-default arch size in BI_ARCH configuration.
24378         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
24379
24380         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
24381         Fix patterns so that they actually match.
24382         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
24383         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
24384         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
24385         TARGET_HARD_MUL32.
24386         (mulsidi3): Reflect this in the expand.
24387         (smulsi3_highpart): Only on TARGET_ARCH32.
24388         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
24389         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
24390         (umulsidi3): Reflect this in the expand.
24391         (umulsi3_highpart): Only on TARGET_ARCH32.
24392         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
24393         don't require g0 to be zero.
24394         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
24395         ({,u}divsi3): New expands.
24396         ({,u}divsi3_sp64): New patterns.
24397         (after lshrdi3_v8plus): Four new patterns to help combiner
24398         optimizing nested mixed mode shifts.
24399
24400         * config/sparc/sparc.c (sparc_override_options): Use deprecated
24401         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
24402         speed things up. Don't use them by default on plain v9 in 64bit
24403         mode, according to what SPAMv9 sais.
24404
24405         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
24406         top 32 bits of %[og][0-7] in signal handlers.
24407         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
24408
24409 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
24410
24411         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
24412         (ashlsi3): Corresponding changes.
24413
24414         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
24415
24416 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
24417
24418         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
24419
24420 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24421
24422         * arm.h (Hint): Delete macro.
24423         Substitute HOST_WIDE_INT for Hint in some prototypes.
24424         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
24425
24426 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
24427
24428         * builtins.c (expand_builtin_setjmp): Use force_operand to
24429         make sure that the buffer address is in a suitable form to be
24430         passed to force_reg.
24431
24432 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
24433
24434         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
24435         them here.
24436
24437 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
24438
24439         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
24440         proper mode in the condition string.
24441         (icacheflush, dcacheflush): Remove modes from match_operands.
24442
24443         * pa.c (emit_move_sequence): Always convert scratch_reg to the
24444         proper mode before using it.
24445
24446         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
24447         pair.
24448
24449         * pa.c (store_reg): Do not call add_high_const generator directly.
24450         (load_reg, set_reg_plus_d): Likewise.
24451         * pa.md (add_high_const): No longer a named pattern.
24452
24453         * pa.c (legitimize_address): Consistently use Pmode rather than
24454         SImode.  Do not call gen_pic2_highpart directly anymore.
24455         * pa.md (pic2_highpart): No longer a named pattern.
24456         (pic2_lo_sum): Similarly.  Reformat to make more readable.
24457
24458         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
24459         needed.
24460
24461         * README: Update.
24462
24463 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24464
24465         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
24466
24467 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
24468
24469         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
24470         and tag the spill mems.
24471         (hppa_va_start): New.
24472         (hppa_va_arg): New.
24473         * pa.h (EXPAND_BUILTIN_VA_START): New.
24474         (EXPAND_BUILTIN_VA_ARG): New.
24475
24476 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
24477
24478         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
24479         and tag the spill mems.
24480         (mn10300_va_start): New.
24481         (mn10300_va_arg): New.
24482         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
24483         (EXPAND_BUILTIN_VA_ARG): New.
24484
24485 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
24486
24487         * mn10200.c (mn10200_va_arg): New.
24488         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
24489
24490 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
24491
24492         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
24493         rather than play with TREE_INT_CST_LOW.
24494
24495 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
24496
24497         * config/arm/telf.h: Include dbxelf.h.
24498         (CPP_PREDEFINES): Only define if not already defined.
24499         (ASM_IDENTIFY_GCC): Likewise.
24500         (SUBTARGET_EXTRA_SECTIONS): Likewise.
24501         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
24502         * config/arm/thumb.h (LINK_SPEC): Only define if not already
24503         defined.
24504         (DBX_DEBUGGING_INFO): Don't define.
24505         * config/arm/linux-telf.h: New file.
24506         * config/arm/linux-tgas.h: New file.
24507         * config/arm/t-thumb-linux: New file.
24508         * config/arm/uclinux-elf.h: New file.
24509         * config/arm/uclinux-telf.h: New file.
24510         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
24511         thumb-*-uclinux): New targets.
24512         * configure: Regenerate.
24513
24514 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
24515
24516         * pa.md (post_store, pre_load): New expanders.
24517         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
24518         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
24519         need to directly generate RTL for them.
24520         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
24521         changes.
24522
24523 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
24524
24525         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
24526         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
24527         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
24528         (secndary_reload_class): Make TARGET_ELF conditional compile.
24529         (print_operand_address): Similar.
24530         (output_toc): Print all values as hex.
24531         (get_issue_rate): Rearrange and add RS64A and PPC630.
24532         * rs6000.h (processor_type): Add RS64A and PPC630.
24533         (PROCESSOR_POWERPC64): New.
24534         (PROMOTE_MODE): Use word_mode.
24535         (RTX_COSTS): Add RS64A and PPC630.
24536         * rs6000.md (scheduling information): Add lmul and ldiv
24537         representing 64-bit integer multiply and divide.  Add rs64a and
24538         PPC630 information.
24539         (ashldi3): Add support for "rldic" instruction.
24540         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
24541
24542 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
24543
24544         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
24545         instead of V8 for sparclite86x in cpu_table.
24546
24547 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24548
24549         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
24550         output_file_directive.
24551
24552 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
24553
24554         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
24555         tree for op1, not the rtl.
24556
24557 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
24558
24559         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
24560         to m88k_va_start, leaving only the register spill.
24561         (m88k_build_va_list): New.
24562         (m88k_va_start): New.
24563         (m88k_va_arg): New.
24564         * m88k.h (BUILD_VA_LIST_TYPE): New.
24565         (EXPAND_BUILTIN_VA_START): New.
24566         (EXPAND_BUILTIN_VA_ARG): New.
24567
24568 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
24569
24570         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
24571         Rename from expand_builtin_saveregs.
24572         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
24573
24574 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
24575
24576         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
24577         for the register spill block.
24578         (i960_build_va_list): New.
24579         (i960_va_start): New.
24580         (i960_va_arg): New.
24581         * i960.h (BUILD_VA_LIST_TYPE): New.
24582         (EXPAND_BUILTIN_VA_START): New.
24583         (EXPAND_BUILTIN_VA_ARG): New.
24584         * i960.md (store_multiple): Use change_address on individul mems.
24585
24586 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
24587
24588         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
24589         an ARRAY_TYPE.
24590         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
24591         (expand_builtin_va_end): Evaluate arg for side effects.
24592         * c-common.c (c_common_nodes_and_builtins): Construct a
24593         va_list_arg_type_node to handle array decomposition to pointer.
24594
24595 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
24596
24597         * except.c (st_dynamic_cleanup): Use force_operand on the
24598         buffer's address.
24599
24600 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
24601
24602         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
24603         * c4x.c (c4x_va_arg): New.
24604
24605 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
24606
24607         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
24608         has manual_pop set.
24609
24610 1999-07-26  Nathan Sidwell  <nathan@acm.org>
24611
24612         * eh-common.h (__eh_matcher): Prototype correctly.
24613
24614 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
24615
24616         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
24617         (TARGET_SINGLE_PIC_BASE): Likewise.
24618         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
24619         definitions.
24620         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
24621         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
24622         (TARGET_OPTIONS): Add -mpic-register=N.
24623         (OUTPUT_INT_ADDR_CONST): New macro.
24624         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
24625         LEGITIMATE_PIC_OPERAND_P): Likewise.
24626         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
24627         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
24628         output_addr_const directly.
24629         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
24630         ARM port.
24631         (thumb_pic_register, thumb_pic_register_string): Declare.
24632
24633         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
24634         from arm.c.
24635         (label_mentioned_p): New function: Imported from arm.c.
24636         (legitimize_pic_address): New function: Imported from arm.c.
24637         (is_pic):New function: Imported from arm.c.
24638         (thumb_finalize_pic):New function: Imported from arm.c.
24639         (add_constant): Cope with PIC constants.
24640         (fixit): Cope with PIC constants.
24641         (output_return): Do not treat the PIC register as live if
24642         TARGET_SINGLE_PIC_BASE is true.
24643         (thumb_function_prologue): Do not treat the PIC register as live if
24644         TARGET_SINGLE_PIC_BASE is true.
24645         (thumb_expand_prologue): Do not treat the PIC register as live if
24646         TARGET_SINGLE_PIC_BASE is true.
24647         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
24648         TARGET_SINGLE_PIC_BASE is true.
24649         (thumb_print_operand): Accept '|'.
24650         (thumb_override_options): Process PIC options.
24651
24652         * config/arm/thumb.md (movsi): Support PIC.
24653         (call_insn): Change "i" constraint to "X".
24654         (call_value_insn): Likewise.
24655         (consttable_4, consttable_8, consttable_end): Set and clear
24656         "making_const_table" as appropriate.
24657         (pic_load_addr, pic_add_dot_plus_four): New insns.
24658
24659         * invoke.texi (Thumb Options): Fix spelling.  Document new
24660         options -msingle-pic-base and -mpic-register=.
24661
24662 1999-07-26  Andrew Haley  <aph@cygnus.com>
24663
24664         * config/m32r/initfini.c (__init): Use a full word immediate for
24665         __fini: this allows it to be placed in any memory region.
24666
24667         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
24668         -mmodel=medium.  This is OK for all memory models.
24669
24670 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
24671
24672         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
24673         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
24674
24675 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
24676
24677         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
24678         defined.
24679
24680         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
24681
24682 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
24683
24684         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
24685         (BUILD_VA_LIST_TYPE): New.
24686         (EXPAND_BUILTIN_VA_START): New.
24687         (EXPAND_BUILTIN_VA_ARG): New.
24688         * i860.c (output_delayed_branch): Disable.
24689         (output_delay_insn): Likewise.
24690         (i860_saveregs): New.
24691         (i860_build_va_list): New.
24692         (i860_va_start): New.
24693         (i860_va_arg): New.
24694         * i860.md: Disable all peepholes using output_delayed_branch.
24695         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
24696
24697 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
24698
24699         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
24700         (BUILD_VA_LIST_TYPE): New.
24701         (EXPAND_BUILTIN_VA_START): New.
24702         (EXPAND_BUILTIN_VA_ARG): New.
24703         * clipper.c (clipper_builtin_saveregs): Only dump registers.
24704         Return the address of the save area.
24705         (clipper_build_va_list): New.
24706         (clipper_va_start): New.
24707         (clipper_va_arg): New.
24708
24709 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
24710
24711         * arc.h (EXPAND_BUILTIN_VA_START): New.
24712         (EXPAND_BUILTIN_VA_ARG): New.
24713         * arc.c (arc_setup_incoming_varargs): Set alias set of
24714         varargs save area.
24715         (arc_va_start): New.
24716         (arc_va_arg): New.
24717
24718 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
24719
24720         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
24721         (BUILD_VA_LIST_TYPE): New.
24722         (EXPAND_BUILTIN_VA_START): New.
24723         (EXPAND_BUILTIN_VA_ARG): New.
24724         * alpha.c (alpha_builtin_saveregs): Delete.
24725         (alpha_build_va_list): New.
24726         (alpha_va_start): New.
24727         (alpha_va_arg): New.
24728
24729 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
24730
24731         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
24732         column zero.
24733         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
24734         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
24735
24736         * gcc.texi: More changes related to list conversion.
24737         * invoke.texi: Likewise.
24738
24739 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
24740
24741         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
24742         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
24743         (expand_builtin_next_arg): Accept ARGLIST not EXP.
24744         (stabilize_va_list): New function.
24745         (std_expand_builtin_va_start): New function.
24746         (expand_builtin_va_start): New function.
24747         (get_varargs_alias_set): New function.
24748         (std_expand_builtin_va_arg): New function.
24749         (expand_builtin_va_arg): New function.
24750         (expand_builtin_va_end): New function.
24751         (expand_builtin_va_copy): New function.
24752         (expand_builtin): Call them.
24753         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
24754         __builtin_{varargs_start,stdarg_start,end,copy}.
24755         (build_va_arg): New function.
24756         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
24757         (build_va_arg): Declare.
24758         * c-decl.c (ptr_type_node, va_list_type_node): New.
24759         * c-parse.gperf (__builtin_va_arg): New.
24760         * c-parse.in (VA_ARG): New token.
24761         (unary_expr): Recognize it.
24762         * expr.c (expand_expr): Expand VA_ARG_EXPR.
24763         * expr.h (std_expand_builtin_va_start): Declare.
24764         (std_expand_builtin_va_arg): Declare.
24765         (expand_builtin_va_arg): Declare.
24766         (get_varargs_alias_set): Declare.
24767         * tree.def (VA_ARG_EXPR): New.
24768         * tree.h (BUILT_IN_VARARGS_START): New.
24769         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
24770         (ptr_type_node, va_list_type_node): Declare.
24771         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
24772         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
24773         * m88k.h, m88k.c: Likewise.
24774         * mn10300.h, mn10300.c: Likewise.
24775         * pa.h, pa.c: Likewise.
24776         * rs6000.h, rs6000.c: Likewise.
24777         * sh.h, sh.c: Likewise.
24778         * sparc.h, sparc.c: Likewise.
24779
24780         * emit-rtl.c (operand_subword): Copy alias set.
24781         (change_address): Likewise.
24782
24783 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
24784
24785         * pa.c (compute_frame_size): Scan all the used callee saved registers,
24786         not just the first one.
24787
24788 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
24789
24790         * config/arm/arm.h (TARGET_SWITCHES): Add
24791         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
24792         (TARGET_OPTIONS): Add -mpic-register=.
24793         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
24794         (arm_pic_register_string): Declare.
24795         (NEED_PLT_GOT): Delete, replace with ...
24796         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
24797         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
24798         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
24799         * config/arm/arm.c (arm_override_options): Add new option
24800         -mpic-register=N.
24801         (arm_pic_register_string): New variable.
24802         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
24803         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
24804         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
24805         (output_return_instruction): Likewise.
24806         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
24807         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
24808         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
24809
24810         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
24811         mention of -msched-prolog.  Document new options -msingle-pic-base
24812         and -mpic-register=.
24813
24814 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
24815
24816         * haifa-sched.c (reemit_notes): Tidy.
24817         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
24818         haifa's routine.
24819
24820 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
24821
24822         * explow.c (trunc_int_for_mode): New function.
24823         (plus_constant_wide): Use it.
24824         * combine.c (simplify_and_const_int): Likewise.
24825         (merge_outer_ops): Likewise.
24826         (simplify_shift_const): Likewise.
24827         * cse.c (simplify_unary_operation): Likewise.
24828         (simplify_binary_operation): Likewise.
24829         * emit-rtl.c (operand_subword): Likewise.
24830         * rtl.h: Declare it.
24831
24832 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24833
24834         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
24835         (use NUM_REGS instead of NUM_INTS).
24836
24837 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24838
24839         * builtins.c: New file.
24840         * expr.c (saveregs_value, apply_args_value):  Delete definition,
24841         moved into builtins.c.
24842         (string_constant): No longer static.
24843         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
24844         apply_args_size, apply_result_size, result_vector,
24845         expand_builtin_apply_args, expand_builtin_apply,
24846         expand_builtin_return): Delete functions, moved into builtins.c.
24847         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
24848         * expr.h (saveregs_value, apply_args_value): Declare variables.
24849         (expand_builtin, string_constant): Declare functions.
24850         * Makefile.in: Update to build builtin.o.
24851
24852 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
24853
24854         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
24855         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
24856         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
24857         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
24858         false.
24859         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
24860         Define to zero.
24861
24862 1999-07-21  Michael Meissner  <meissner@cygnus.com>
24863
24864         * print-rtl.c (print_rtx): Print the names of the virtual
24865         registers.
24866
24867 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
24868
24869         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
24870         introduced in previous delta.
24871
24872 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24873
24874         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
24875         to avoid name clash.
24876
24877 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24878
24879         * c-lex.c (yylex) : Correct the test for overflow when lexing
24880         integer literals.
24881
24882 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
24883
24884         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
24885         (adjust_priority): Always call ADJUST_PRIORITY.
24886         (schedule_insn): Only put insns into the ready at cost 0.
24887         (schedule_block): Remove redundant initial sort.  Give clock_var
24888         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
24889         is not 0.
24890         * tm.texi (MD_SCHED_REORDER): Update docs.
24891
24892         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
24893         * sparc.c (ultra_reorder_called_this_block): Delete.
24894         (ultrasparc_sched_init): Don't set it.
24895         (ultrasparc_sched_reorder): Don't check it.
24896
24897 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
24898
24899         * rs6000.h (struct rs6000_args): Add sysv_gregno.
24900         * rs6000.c (init_cumulative_args): Init sysv_gregno.
24901         (function_arg_boundary): Align DFmode.
24902         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
24903         to get fp reg and stack overflow correct.
24904         (function_arg): Likewise.
24905         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
24906         (setup_incoming_varargs): Restructure for ABI_V4; use
24907         function_arg_advance to skip final named argument.
24908         (expand_builtin_saveregs): Properly unskip the last integer arg
24909         when doing varargs.  Adjust overflow location calculation.
24910
24911         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
24912         explicitly unsigned.
24913         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
24914         (__VA_GP_REGSAVE): Similarly.
24915         (__va_longlong_p): Delete.
24916         (__va_arg_type_violation): New declaration.
24917         (va_arg): Restructure.  Flag promotion errors.  Align double.
24918         TFmode passed by reference.
24919
24920         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
24921         in the HOST_BITS_PER_WIDE_INT > 32 case.
24922
24923 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
24924
24925         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
24926
24927 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
24928
24929         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
24930         * toplev.c (documented_lang_options): Add -fpreprocessed.
24931         * cpplib.h (struct cpp_buffer): Add preprocessed.
24932         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
24933         (cpp_start_read): Don't expand macros or emit an initial #line
24934         directive if -fpreprocessed.
24935
24936 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
24937
24938         * cpplib.h (struct cpp_buffer): Added manual_pop for
24939         better C++ tokenization.
24940         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
24941         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
24942         * c-common.c (cpp_token): Make non-static.
24943
24944 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
24945
24946         * c-common.h: New file.
24947         * c-common.c (permanent_obstack): Delete unused declaration.
24948         (c_global_trees): New array.
24949         (c_common_nodes_and_builtins): New function; split off common code
24950         from init_decl_processing in both c-decl.c and cp/decl.c.
24951         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
24952         c_global_trees and accessor macros defined in c-common.h.
24953         Include c-common.h.
24954         * c-decl.c: Delete definitions for tree nodes that were replaced by
24955         c_global_trees.
24956         (init_decl_processing): Build void_list_node.
24957         Call c_common_nodes_and_builtins; delete code to generate the common
24958         builtins here.
24959         * objc/objc-act.c (build_module_descriptor): Rename variable
24960         void_list_node to avoid clash with c-common.h.
24961
24962         * Makefile.in: Update dependencies.
24963         * objc/Make-lang.in: Likewise.
24964
24965 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
24966
24967         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
24968         (UNIQUE_SECTION_P): Likewise.
24969         (UNIQUE_SECTION): Likewise.
24970
24971 1999-07-19  Linas Vepstas  <linas@linas.org>
24972
24973         * config/i370/README: New file.
24974         * config/i370/linux.h: New file.
24975         * config/i370/mvs.h: New file.
24976         * config/i370/oe.h: New file.
24977         * config/i370/t-linux: New file.
24978         * config/i370/t-mvs: New file.
24979         * config/i370/t-oe: New file.
24980         * config/i370/x-oe: New file.
24981         * config/i370/xm-linux.h: New file.
24982         * config/i370/xm-mvs.h: New file.
24983         * config/i370/xm-oe.h: New file.
24984
24985         * i370.c (label_node_t): Add first_ref_page, label_addr,
24986         label_first_ref, label_last_ref members.
24987         (mvs_need_base_reload): Renamed from mvs_label_emitted.
24988         (MAX_MVS_LABEL_SIZE): Define.
24989         (MAX_LONG_LABEL_SIZE): Define.
24990         (alias_node_t, alias_anchor, alias_number): New.
24991         (mvs_function_table): Reorder for EBCDIC.
24992         (ascebc, ebcasc): Unconditionally define.
24993         (i370_branch_dest, i370_branch_length): New functions.
24994         (i370_short_branch, i370_label_scan): New functions.
24995         (mvs_get_label): Renamed from mvs_add_label.  Search for
24996         an existing label before creating a new one.
24997         (mvs_add_label): New function.
24998         (mvs_get_label_page): New function.
24999         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
25000         over the entire list.
25001         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
25002         (mvs_check_page) [TARGET_ELF_ABI]: New function.
25003         (mvs_add_alias, mvs_need_alias): New functions.
25004         (mvs_get_alias, mvs_check_alias): New functions.
25005         (handle_pragma): New function.
25006         (mvs_function_check): New function.
25007         (unsigned_jump_follows_p): Search harder.
25008         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
25009         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
25010         * i370.h (TARGET_VERSION): Delete.
25011         (CPP_SPEC, CPP_PREDEFINES): Delete.
25012         (mvs_label_emitted): Delete.
25013         (TARGET_EBCDIC): Delete.
25014         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
25015         (HANDLE_PRAGMA): Define.
25016         (HARD_REGNO_NREGS): Handle complex modes.
25017         (HARD_REGNO_MODE_OK): Likewise.
25018         (CLASS_MAX_NREGS): Likewise.
25019         (RET_REG): Likewise.
25020         (EXTRA_CONSTRAINT): Define.
25021         (RETURN_IN_MEMORY): True for DImode.
25022         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
25023         (FUNCTION_PROFILER): Delete.
25024         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
25025         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
25026         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
25027         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
25028         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
25029         (ASM_FILE_START): Add "RMODE ANY".
25030         (ASM_OUTPUT_EXTERNAL): Check for aliases.
25031         (ASM_GLOBALIZE_LABEL): Likewise.
25032         (ASM_OUTPUT_LABELREF): Likewise.
25033         (ASM_OUTPUT_COMMON): Likewise.
25034         (PRINT_OPERAND): Handle 'K', 'W', default.
25035         (PRINT_OPERAND_ADDRESS): New.
25036         (Lots of defines): Add support for TARGET_ELF_ABI.
25037         * i370.md (attr length): New.  Define for all patterns.
25038         (*): Lots of tweeks to assembly output and constraints.
25039
25040 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
25041
25042         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
25043         Disable patterns performing SImode comparisons with SImode values
25044         if TARGET_POWERPC64 and instruction does not sign-extend or does
25045         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
25046         differ for signed quantities.
25047         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
25048         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
25049         (decrement_and_branch_on_count): Add 64-bit variant.
25050
25051 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25052
25053         * final.c (output_asm_insn): When searching for the matching string
25054         for a given dialect, don't run past the end of the list of
25055         alternatives if there are fewer alternatives in the template than
25056         dialects.
25057
25058 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
25059
25060         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
25061         Removed paragraph about compression of files and size limitation,
25062         duplicated in the FAQ.  Use gcc-patches for posting patches.
25063         * gcc.c (main): Updated URL with bug reporting instructions to
25064         gcc.gnu.org.  Removed e-mail address.
25065         * system.h (abort): Likewise.
25066
25067 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25068
25069         * Makefile.in (stmp-multilib-sub): Make the files extracted
25070         from $(LIBGCC1) writable.
25071
25072 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
25073
25074         * config/arm/aout.h: Reformat for improved readability.
25075
25076         * config/arm/arm.h: Reformat for improved readability.
25077         Replace uses of fprintf with asm_fprintf where appropriate.
25078         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
25079         function declaration assembler actions.
25080         (NUM_INTS): New macro: Convert from bytes to words.
25081         (NUM_REGS): New macro: Compute number of registers required to
25082         hold a quanitity of tyep MODE.
25083         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
25084         types.
25085         (NUM_ARG_REGS): New macro: The number of argument registers
25086         available.
25087         (ARG_REGISTER): New macro: Compute the register number of the Nth
25088         argument register.
25089         (LAST_ARG_REGNUM): New macro: The number of the last argument
25090         register.
25091         (SP_REGNUM): New macro: Register number of the stack pointer.
25092         (FP_REGNUM): New macro: Register number of the frame pointer.
25093         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
25094         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
25095         CUMULATIVE_ARGS so that it counts registers not bytes.
25096
25097         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
25098         TARGET_INTERWORK.
25099         Replace uses of fprintf with asm_fprintf where appropriate.
25100         (output_ascii_pseudo_op): Replace with version from thumb.c
25101
25102         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
25103
25104         * config/arm/elf.h (CPP_PREDEFINES): Replace with
25105         SUBTARGET_CPP_SPEC.
25106         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
25107         (ASM_FILE_START): Emit ASM_APP_OFF.
25108
25109 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
25110
25111         * pa.c (compute_frame_size): Round frame according to
25112         STACK_BOUNDARY rather than a hardwired value.
25113
25114         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
25115
25116         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
25117         of "1".
25118         * configure: Rebuilt.
25119
25120         * configure.in (hppa*-*-linux*): New configuration.
25121         * configure: Rebuilt.
25122         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
25123         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
25124         * pa/pa-linux.h: New file.
25125         * pa/t-linux: New file.
25126         * pa/xm-linux.h: New file.
25127
25128         * pa.c (hppa_legitimize_address): Change references from SImode to
25129         either Pmode or word_mode as appropriate.
25130         (emit_move_sequence, store_reg, load_reg): Likewise.
25131         (set_reg_plus_d, hppa_expand_prologue): Likewise.
25132         (output_mul_insn): Likewise.
25133         * pa.h (PROMOTE_MODE): Likewise.
25134         (INITIALZE_TRAMPOLINE): Likewise.
25135         (Pmode): Define to word_mode.
25136
25137         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
25138         value of 4.  Allocate 8 bytes for each FP register save.
25139         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
25140         value of 4.
25141         (hppa_expand_prologue): Likewise.
25142         * pa.h (PROMOTE_MODE): Likewise.
25143         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
25144         (FUNCTION_ARG_BOUNDARY): Likewise.
25145
25146         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
25147
25148         * pa.c (out_of_line_prologue_epilogue): Delete.
25149         (override_options): Remove -mspace related code.
25150         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
25151         (compute_frame_size): Only allocate space for register that
25152         actually need to be saved.
25153         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
25154         (TARGET_SWITCHES): Remove -mspace, -mno-space
25155         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
25156         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
25157         * pa/ee.asm, pa/ee_fp.asm: Delete.
25158
25159         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
25160
25161         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
25162         directive in column zero.
25163
25164 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
25165
25166         * m68k.c (output_function_prologue): Fix computation of save mask
25167         when generating PIC code.
25168
25169 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
25170
25171         * tree.c (build_type_attribute_variant): Move current_obstack restore
25172         after build_qualified_type call.
25173
25174 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
25175
25176         * configure.in: Use t-iris6, even with GNU LD.
25177         * config/mips/iris6gld.h: Fix typo in linker spec.
25178         * config/mips/t-iris6gld: Remove.
25179
25180 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
25181
25182         * rs6000.md (insv, extzv): Remove SImode dependence in named
25183         patterns.  Explicitly generate DImode RTL if PowerPC64 and
25184         operand is DImode.
25185         (insvdi): Reverse start and size in instruction template.
25186
25187 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
25188
25189         * invoke.texi: Typo fixes.
25190
25191 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
25192
25193         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
25194         handle at this time instead of silently generating incorrect code.
25195         (gen_imagpart): Likewise.
25196
25197         * reload.c (find_reloads): Emit a USE for a pseudo register without
25198         a hard register if we could not create an optional reload for the
25199         pseudo.
25200
25201 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25202
25203         * c-typeck.c (output_init_element, process_init_element):
25204         When advancing constructor_unfilled_fields for a RECORD_TYPE,
25205         check for nameless bit fields.
25206
25207 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
25208
25209         * regclass.c (scan_one_insn): Notice subregs that change the
25210         size of their operand.
25211         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
25212
25213 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
25214
25215         * configure.in (alpha*-*-*): Include alpha/t-ieee.
25216         * configure: Rebuilt.
25217         * alpha/t-ieee: New file.
25218
25219 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
25220
25221         * rs6000.c (find_addr_reg): Do not select r0 as an address
25222         register.
25223
25224 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
25225
25226         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
25227
25228 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
25229
25230         * rs6000.md (movsf): Do not force easy FP constants into memory.
25231
25232         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
25233         immed_double_const to ensure they are properly truncated then
25234         sign extended.
25235
25236 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
25237
25238         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
25239         always unless NO_DEBUG is used.  Compile this code
25240         unconditionally.
25241         (replace_symbols_in_block): Compile it unconditionally.
25242
25243 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
25244
25245         * configure.in (i?86-*-elf*): New target.
25246         * configure: Rebuilt.
25247         * i386/i386elf.h, i386/t-i386elf: New files.
25248
25249 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
25250
25251         * toplev.c (main): Don't complain about saying -gdwarf.
25252         (rest_of_compilation): Remove redundant code.
25253
25254 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
25255
25256         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
25257
25258 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
25259
25260         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
25261         "Li960R:", to avoid name clash.
25262
25263 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
25264
25265         * loop.c (check_dbra_loop): When reversing a loop, delete all
25266         REG_EQUAL notes referencing the reversed biv except those which are
25267         for a giv based on it.
25268
25269 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
25270
25271         * version.c: Drop "gcc-" prefix from version #.
25272
25273 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
25274
25275         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
25276         the label if we're being verbose.
25277
25278 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
25279
25280         * m68k.c (output_function_prologue): Add pic register to mask
25281         if live and flag_pic.
25282         (output_function_epilogue): Likewise.
25283
25284 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
25285
25286         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
25287         directives in column zero.
25288
25289         * pa/elf.h (ASM_FILE_START): Define.
25290         * pa/som.h (ASM_FILE_START): Include .level directives.
25291         * pa/hpux10.h (ASM_FILE_START): Delete.
25292         * pa/hpux11.h (ASM_FILE_START): Delete.
25293
25294         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
25295
25296 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25297
25298         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
25299         when reload_out equals reload_in.
25300
25301 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
25302
25303         * invoke.texi (Spec Files): New node: Describe the contents of
25304         spec files.
25305
25306 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
25307
25308         * invoke.texi (DEC Alpha Options): Put @end table at
25309         beginning of line, to avoid confusing texi2html.
25310
25311 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
25312
25313         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
25314         introduced in previous delta.
25315
25316 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
25317
25318         * reload1.c (gen_reload): When synthesizing a 3 operand add
25319         sequence, improve test for when to reload OP1 into the reload
25320         register instead of OP0.
25321
25322 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
25323
25324         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
25325
25326 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
25327
25328         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
25329         string literal.
25330
25331 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
25332
25333         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
25334         (va_dcl): Use __builtin_va_alist_t.
25335
25336 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
25337
25338         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
25339         on the permanent_obstack.
25340         * dwarfout.c (output_type): Likewise.
25341
25342 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25343
25344         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25345         Merged from c-typeck.c and cp/typeck.c.
25346         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25347         Merged into c-common.
25348
25349 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
25350
25351         * c-lex.c (errorcount): Declare it.
25352         (finish_parse): Update errorcount when using CPPLIB.
25353
25354 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
25355
25356         * fixinc/inclhack.def(end_else_label): Double the backslash so
25357         sed gets a chance to see it.
25358         * fixinc/inclhack.sh: regen
25359         * fixinc/fixincl.x: regen
25360
25361 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
25362
25363         Add framework to support armv5 architecture when it becomes
25364         available:
25365
25366         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
25367         (arm_arch5): New variable.
25368         (all_architectures): Add armv5 line.
25369         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
25370         -march=armv5 is specified on the command line.
25371         (arm_arch5): Export this variable.
25372         * invoke.texi: Document new string accepted by -march= switch for
25373         ARM ports.
25374
25375         * config/arm/arm.h: Replace use of constant 12 as a register
25376         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
25377         * config/arm/arm.c: Replace use of constant 12 as a register
25378         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
25379
25380         * config/arm/elf.h: Tidy up.
25381         * config/arm/coff.h: Tidy up.
25382
25383 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
25384
25385         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
25386         * gcc/config/mips/t-iris6gld: New file.
25387         * gcc/config/mips/iris6gld.h: Likewise.
25388
25389 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25390
25391         * c-decl.c (widest_integer_literal_type_node,
25392         widest_unsigned_literal_type) : New.
25393         (init_decl_processing): Handle/use the two new types.
25394         * c-common.c (type_for_size,type_for_mode) : Same.
25395         * c-lex.c (yylex) : Same.
25396         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25397         Same.
25398         * c-tree.h (widest_integer_literal_type_node,
25399         widest_unsigned_literal_type) : New.
25400
25401 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
25402
25403         * dwarfout.c (field_byte_offset): Correctly compute the object's
25404         byte offset for the first bit of a field which crosses an alignment
25405         boundary on a !BYTES_BIG_ENDIAN target.
25406
25407 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
25408
25409         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
25410         ntohs.
25411
25412 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
25413                           Jeff Law <law@cygnus.com>
25414
25415         * ginclude/varargs.h (va_dcl): Use word_mode for type of
25416         __builtin_va_list.
25417
25418         * except.c: Include intl.h.
25419         (expand_eh_return): Set current_function_cannot_inline.
25420         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
25421         * function.h (struct function): Add eh_return_stub_label.
25422         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
25423         * Makefile.in (except.o): Depend on intl.h.
25424
25425 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
25426
25427         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
25428         same as offsettable in cases 1 and 2.
25429
25430 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
25431
25432         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
25433         (extlh, extwh): Likewise.
25434
25435 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25436
25437         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
25438
25439 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
25440
25441         * configure.in: Add arm-pe and thumb-pe targets.
25442         * configure: Regenerate.
25443
25444         * thumb.c (arm_naked_function_p): New function: Determines if
25445         a function is naked (has no gcc generated prologue/epilogue).
25446         (is_called_in_ARM_mode): Return true if the func has the
25447         interfacearm attribute.
25448         (output_return): Do not generate a return for naked functions.
25449         (thumb_function_prologue): Do not generate a prologue for
25450         naked functions.
25451         (thumb_expand_prologue): Do not generate a prologue for naked
25452         functions.
25453         (thumb_expand_epilogue): Do not generate an epilogue for naked
25454         functions.
25455         (arm_valid_machine_decl_attribute): New function, copied from
25456         arm.c:  Permit naked and interfacearm attributes.
25457
25458         * config/arm/pe.c: New file: Support code for arm-pe target.
25459         * config/arm/pe.h: New file: Header file for arm-pe target.
25460         * config/arm/tpe.h: New file: Header file for thumb-pe target.
25461         * config/arm/t-thumb-pe: New file: Makefile fragment for
25462         thumb-pe target.
25463
25464 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
25465
25466         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
25467         -fPIC or -fpic is specified.
25468
25469 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
25470
25471         * expr.c (emit_block_move): Use copy_to_mode_reg for
25472         !TARGET_MEM_FUNCTIONS case too.
25473
25474         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
25475         appropriate.
25476         * configure: Rebuilt.
25477         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
25478         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
25479         definitions made redundant by dbxelf.h inclusion.  Delete
25480         lots of definitions related to assembly output that are
25481         specific to the SOM object format.
25482         * pa.c (output_function_prologue): Do not emit the function's
25483         name for OBJ_ELF.
25484         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
25485         * pa-pro.h: Deleted.
25486         * som.h: New file with SOM specific definitions.
25487         * elf.h: New file with ELF specific definitions.
25488
25489         * elfos.h (const_section): Output a tab before assembler directives.
25490         (ctors_section, dtors_section): Likewise.
25491         (ASM_OUTPUT_SECTION_NAME): Likewise.
25492
25493         * pa/pa1.h: Delete unused file.
25494
25495 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
25496
25497         * configure.in (hppa*-hp-hpux11*): New configuration.
25498         * configure: Rebuilt.
25499         * pa/pa-hpux11.h: New file.
25500         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
25501         command line.
25502
25503         * mips.md (leasi, leadi): New patterns.
25504
25505         * expr.c (emit_block_move): Properly handle case where one of the
25506         block move arguments has a queued increment or decrement.
25507         (clear_storage): Similarly.  Fix formatting goof.
25508
25509 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
25510
25511         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
25512         semicolon from the BSD VA_LIST replacement expression.
25513
25514         * fixinc/inclhack.sh: regen
25515         * fixinc/fixincl.x: regen
25516
25517         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
25518         now use the fixincl program.
25519
25520 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
25521
25522         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
25523         case.  Also make the PIC register call_used.
25524
25525         * m68k.h (FINALIZE_PIC): Delete.
25526         * m68k.c (finalize_pic): Delete.
25527
25528 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
25529
25530         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
25531         to memory.
25532
25533 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
25534
25535         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
25536
25537 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
25538
25539         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
25540
25541 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
25542
25543         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
25544
25545 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
25546
25547         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
25548
25549 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
25550
25551         * rs6000.c (output_toc): Always use hex values for floating-point
25552         constants.  Store single-precision values in upper-half of TOC
25553         entry in 64-bit mode.
25554         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
25555         to final constraints.
25556         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
25557         (fctiwz): Improve accuracy of RTL for pattern.
25558
25559 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
25560
25561         * expr.c (expand_expr): Allow RTL_EXPR's through the
25562         MAX_INTEGER_COMPUTATION_MODE checks.
25563
25564 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
25565
25566         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
25567         such that MASK_SUPPORT_ARCH is not negative.
25568
25569 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
25570
25571         * loop.c (verify_dominator): Properly handle ADDR_VEC and
25572         ADDR_DIFF_VEC insns that appear inside loops.
25573
25574 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
25575                           Jeff Law <law@cygnus.com>
25576
25577         * rs6000.md (movdf_hardfloat32): Revert previous patch.
25578         Handle LO_SUM the same as offsettable in cases 1 and 2.
25579         * rs6000.c (find_addr_reg): Revert previous patch.
25580
25581 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
25582
25583         * system.h (strstr): New external function declaration.
25584         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
25585         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
25586         * config.in, configure: Rebuilt.
25587
25588 1999-06-24  Tom Tromey  <tromey@cygnus.com>
25589
25590         * gcc.c (main): Read user-specified specs files after computing
25591         additional startfile_prefixes.
25592
25593 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
25594
25595         Revert these two patches:
25596
25597         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25598         * loop.c (strength_reduce): When doing biv->giv conversion, update
25599         reg note of NEXT->insn.
25600
25601         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25602         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25603         reg_biv_class.
25604         (recombine_givs): Set ix field after sorting.
25605
25606 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25607
25608         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
25609         for the parts of an UNSPEC / UNSPEC_VOLATILE.
25610
25611 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
25612
25613         *fixinc/inclhack.def:  Add fix development commentary
25614         (read_ret_type): reactivate and add selection clause
25615         (zzz_*): tweak output file name to match what is used in hackshell.tpl
25616         *fixinc/{fixincl.x|inclhack.sh}: regen
25617
25618 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
25619
25620         * expr.c (expand_expr): STRIP_NOPS before checking against
25621         MAX_INTEGER_COMPUTATION_MODE
25622         (check_max_integer_computation_mode): Likewise.
25623
25624 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
25625
25626         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
25627
25628 1999-06-22  Jim Wilson  <wilson@cygnus.com>
25629
25630         * expr.c (store_expr): When target is a promoted subreg, return a
25631         promoted subreg as a result.
25632
25633 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
25634
25635         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
25636         coding standards.
25637         (dwarf2out_define): Mark unused parameters appropriately.
25638         (gen_unspecified_parameters_die): Ditto.
25639         (gen_subprogram_die): Fix signed/unsigned warnings.
25640         (gen_variable_die): Ditto.
25641
25642 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
25643
25644         * fixinc/inclhack.def(end_else_label): combined else_label
25645         and endif_label and fixed the sed expression.
25646         *fixinc/{fixincl.x|inclhack.sh}: regen
25647
25648 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
25649
25650         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
25651         'x' when handling non-offsettable addresses
25652
25653 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
25654
25655         * final.c (shorten_branches): Don't try to split an insn that has
25656         been deleted.
25657
25658 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
25659
25660         * config/mips/mips.c (symbolic_expression_p): New function.
25661         (mips_select_rtx_section): Put symbolic expressions in the
25662         data section, not the read-only data section.
25663
25664 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
25665
25666         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
25667
25668 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
25669
25670         * collect2.c (main): Log frame table count.
25671         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
25672         (scan_prog_file) [COFF]: Handle frame tables.
25673
25674         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
25675         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
25676         * alpha/elf.h: Undef them again.
25677         * alpha/vms.h: Remove their definitions.
25678
25679 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25680
25681         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
25682         remove the clobber of r0 and change the REG_UNUSED note to
25683         REG_INC.
25684
25685 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
25686
25687         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
25688         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
25689         fits in HOST_WIDE_INT and one uses union to access a long constant
25690         as double.
25691
25692 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
25693
25694         * sparc.c (sparc_override_options): Don't allow profiling for
25695         code models other than medlow.
25696         (sparc_function_profiler): New function from old FUNCTION_PROFILER
25697         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
25698         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
25699         (sparc_block_profiler): Likewise.
25700         (sparc_function_block_profiler_exit): Likewise.
25701         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
25702         (FUNCTION_BLOCK_PROFILER): Likewise.
25703         (BLOCK_PROFILER): Likewise.
25704         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
25705         (MCOUNT_FUNCTION): New.
25706         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
25707         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
25708         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
25709         (MCOUNT_FUNCTION): New.
25710         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
25711         (BLOCK_PROFILER): Delete.
25712         (MCOUNT_FUNCTION): New.
25713
25714 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
25715
25716         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
25717
25718 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
25719
25720         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25721         Add the macros.
25722
25723         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25724         Ditto.
25725
25726         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25727         Ditto.
25728
25729         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25730         Ditto.
25731
25732 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
25733
25734         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
25735         types.
25736
25737 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
25738
25739         * i386/djgpp.h (LIB_SPEC): New.
25740         (STARTFILE_SPEC): New.
25741
25742         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
25743
25744 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
25745
25746         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
25747         compiler flags.
25748
25749         * system.h (WSTOPSIG): New macro.
25750
25751 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
25752
25753         * c-pragma.c (push_alignment): Don't ignore alignments greater than
25754         4 bytes.
25755         (insert_pack_attributes): Take into account member natural
25756         alignment.
25757
25758         * i386/winnt.c (exports_head): New static variable.
25759         (i386_pe_record_exported_symbol): New function.
25760         (i386_pe_asm_file_end): Use.
25761         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
25762         symbols to be emitted at end of assembly.
25763         (ASM_DECLARE_OBJECT_NAME): Likewise.
25764         (ASM_DECLARE_FUNCTION_NAME): Likewise.
25765
25766         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
25767         -iwithprefix.
25768
25769 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
25770
25771         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
25772         in last change.
25773
25774 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
25775
25776         * haifa-sched.c (sched_analyze_1): Use free_list instead of
25777         zapping reg_last_uses directly.
25778         (sched_analyze_2, sched_analyze_insn): Likewise.
25779         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
25780
25781 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
25782
25783         * rs6000.md (movdf_hardfloat32): Use worst case insn length
25784         attributes for cases 1 and 2.
25785
25786 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
25787
25788         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
25789         instead of set.
25790
25791 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
25792
25793         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
25794
25795 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
25796
25797         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
25798         PIC_OFFSET_TABLE_REGNUM for general alloaction.
25799         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
25800         must be stacked if it is used for PIC accesses.
25801         * arm.c (use_return_insn): Handle PIC register specially.
25802         (output_return_instruction): Likewise.
25803         (output_func_{prologue,epilogue}): Likewise.
25804         (output_expand_prologue): Likewise.
25805
25806         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
25807         (*strsi_predec): Renamed from *strqi_predec.
25808         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
25809         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
25810
25811         * arm.c (arm_override_options): Remove warning about PIC code
25812         not being supported.
25813
25814 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
25815
25816         * rs6000.c (find_addr_reg): New function.
25817         * rs6000.h (find_addr_reg): Declare.
25818         (offsettable_addr_operand): Delete.
25819         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
25820         from and stores to GPRs.
25821
25822 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
25823
25824         * alpha.c (alpha_expand_block_move): Use get_insns rather than
25825         gen_sequence as argument to emit_no_conflict_block.
25826
25827 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25828
25829         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
25830         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
25831         *fixinc/fixincl.x: regen
25832         *fixinc/inclhack.sh: regen
25833
25834 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
25835
25836         * added support for -mpcrel (PC relative addressing for m68k)
25837         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
25838         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
25839         * m68k.c (print_operand_address): Handle 32-bit PIC case.
25840         (comments for general_src_operand): Add some explanation
25841         about EXTRA_CONSTRAINTS.
25842         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
25843         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
25844         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
25845         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
25846         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
25847         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
25848         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
25849         if not already set.
25850         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
25851         * m68k.h (TARGET_PCREL): New target flag.
25852         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
25853         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
25854         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
25855         contains a SYMBOL_REF.  Relax this constraint during reload, since
25856         we want to use the predicates, not reload's built-in concept of a
25857         valid memory address, to control what insns need reloading.
25858         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
25859         operands (essentially 'g', 'm', and 's' under normal circumstances).
25860         * m68k.c (print_operand): Cause printing of pc-relative addresses
25861         to include pc register.
25862         (print_operand_address): Ditto.
25863         (general_src_operand): Accept operands that are not only
25864         general_operands, but are also valid when used as a pc-relative
25865         source.
25866         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
25867         (memory_src_operand): Similar, for memory_operands.
25868         (pcrel_address): New predicate to accept the special case of a
25869         pc-relative address.
25870         * m68k.md (many patterns): Rewrite common SImode, HImode, and
25871         QImode insns to accept *_src_operand instead of *_operand where
25872         pc-relative operands can fit.  For example, a pc-relative operand
25873         can be used as a memory source operand for addsi3, but not as a
25874         memory destination.
25875         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
25876
25877 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
25878
25879         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
25880         .thumb_set pseudo op to mark aliases of thumb functions.
25881
25882 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
25883
25884         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
25885         preference to ASM_OUTPUT_DEF, if it is defined.
25886
25887         * tm.texi: Document new, optional target macro
25888         ASM_OUTPUT_DEF_FROM_DECLS.
25889
25890 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
25891
25892         * fixincludes: ISCNTL patch
25893         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
25894         (dgux_int_varargs): new for DG/UX
25895         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
25896
25897 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
25898
25899         * invoke.texi (ia32 options): Fix typo.
25900
25901 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25902
25903         * loop.c (strength_reduce): When doing biv->giv conversion, update
25904         reg note of NEXT->insn.
25905
25906 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
25907
25908         * loop.c (move_movables): Note issues with replacing REGs with
25909         SUBREGs.
25910         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
25911
25912 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
25913
25914         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
25915
25916         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
25917         the reference to `mcount' was not correct for the ELF on FreeBSD.
25918
25919 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25920
25921         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25922         reg_biv_class.
25923
25924         (recombine_givs): Set ix field after sorting.
25925
25926 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
25927
25928         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
25929         to safe to extract a subword out of a REG.
25930
25931 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25932
25933         * sh.md (mulsi3): Don't add a no-op move at the end.
25934
25935 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25936
25937         * cse.c (cse_insn): Don't put hard register source into tables for
25938         the last insn of a libcall.
25939
25940 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
25941
25942         * loop.c (strength_reduce): Insert sets of derived givs at every
25943         biv increment, even if it's the only one.
25944
25945 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
25946
25947         * dwarfout.c (add_incomplete_type): New fn.
25948         (output_type): Call it.
25949         (retry_incomplete_types): New fn.
25950         (dwarfout_finish): Call it.
25951
25952         From Eric Raskin <ehr@listworks.com>:
25953         (output_type): Output types for bases.
25954
25955 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
25956
25957         * mips.c (mips_output_conditional_branch): Add `break'
25958         between `default' label and `close braces'.
25959
25960 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
25961
25962         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
25963         specifications and make it realistic.
25964         (LIB_SPEC): Likewise.
25965
25966 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
25967
25968         * config/mips/mips.c (mips_secondary_reload_class): Check for
25969         (PLUS (SP) (REG)) and return appropriate register class.
25970         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
25971         Handle (PLUS (SP) (REG)).
25972         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
25973         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
25974         of emit_insn for tablejump.
25975
25976 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
25977
25978         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
25979         asm_fprintf format string by itself.
25980         (output_function_profiler): Likewise.
25981
25982 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
25983
25984         * combine.c (simplify_logical, case AND): Only call
25985         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
25986         or the constant is positive.
25987
25988 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
25989
25990         * configure.in: Fix typo in rs6000-ibm-aix4 case.
25991         * configure: Regenerate.
25992
25993 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
25994
25995         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
25996         require a sub-version #.
25997         * configure: Rebuilt.
25998
25999 1999-06-14  Robert Lipe  (robertlipe@usa.net)
26000
26001         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
26002
26003 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
26004
26005         * c-typeck.c (process_init_element): Detect excess elements in
26006         char array initializer.
26007
26008 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
26009
26010         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
26011
26012 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
26013
26014         * invoke.texi (Option Summary): Add -fpermissive flag.
26015
26016 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
26017
26018         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
26019         that require PIC code sequences.
26020
26021 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
26022
26023         * configure.in: Add new target: thumb-elf.
26024         * configure: Regenerate.
26025         * config/arm/t-thumb-elf: New file: Makefile fragment for
26026         thumb-elf build.
26027         * config/arm/telf.h: New file: Header file for thumb-elf
26028         build.
26029
26030 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
26031
26032         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
26033         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
26034         initializers is some circumstances.
26035
26036         * fixinc/inclhack.def (endif_label): Add additional selector for
26037         more bogus stuff after #endif statements.
26038         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
26039
26040 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26041
26042         * i386/cygwin.h (SET_ASM_OP): Define.
26043
26044 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26045
26046         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
26047
26048 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26049
26050         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
26051         latter.
26052
26053         * sh.md (ic_invalidate_line_i): Remove second alternative.
26054
26055 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26056
26057         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
26058         test for the presence of valid prototypes.  Delete bypass expr.
26059         (ioctl_fix_ctrl): Correct the selection expression.
26060         (no_double_slash): Correct quoting rules
26061         *fixinc/fixincl.x: regen
26062         *fixinc/inclhack.sh: regen
26063
26064 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
26065
26066         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
26067
26068 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26069
26070         * rs6000.md (movsi_got_internal_mem): Delete.
26071         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
26072         (GOT_TOC_REGNUM): Delete.
26073         (PIC_OFFSET_TABLE_REGNUM): Define.
26074         (FINALIZE_PIC): Disable.
26075         * rs6000.c (rs6000_got_register): New code for fixed pic register.
26076         (rs6000_replace_regno): Delete.
26077         (rs6000_finalize_pic): Likewise.
26078         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
26079
26080 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26081
26082         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
26083         is a note; use <= for the compare; advance P while it is
26084         a NOTE.
26085
26086 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
26087
26088         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
26089         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
26090
26091         * varasm.c (remove_from_pending_weak_list): Verify t->name
26092         is non-NULL before passing it to strcmp.
26093
26094 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26095
26096         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
26097         the typed arguments are not part of a comment
26098         (ioctl_fix_ctrl): Added a purpose comment
26099         *fixinc/fixincl.x: regenerate
26100         *fixinc/inclhack.sh: regenerate
26101
26102 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
26103
26104         * invoke.texi: Add C4x invocation docs.
26105
26106 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
26107
26108         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
26109         Define new macros.
26110         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
26111         TARGET_EXPOSE_LDP.
26112         (c4x_legitimize_reload_address): New function.
26113         * config/c4x/c4x.md: Update docs.
26114
26115 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
26116
26117         * fixincludes: Avoid removing '.'.
26118         * fixinc/fixinc.svr4: Likewise.
26119         * fixinc/fixinc.winnt: Likewise.
26120         * fixinc/inclhack.tpl: Likewise.
26121         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
26122
26123 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26124
26125         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
26126         pattern.
26127         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
26128
26129 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
26130
26131         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
26132         correctly.
26133
26134 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
26135
26136         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
26137         * configure: Regenerate.
26138
26139 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
26140
26141         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
26142         values.
26143
26144 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
26145
26146         * fixinc/inclhack.def (avoid_bool): Also catch
26147         "typedef [unsigned] int bool".
26148         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
26149
26150         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
26151         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
26152         * configure: Rebuilt.
26153
26154 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
26155
26156         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
26157         such that we can override its definitions if necessary.
26158         (CPP_SPEC): New define.  Support processor specific predefines via
26159         %(cpp_cpu).
26160         (CC1_SPEC): New define.  Support processor specific compiler
26161         options via %(cc1_cpu).
26162         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
26163         -static.
26164
26165 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26166
26167         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
26168         between sed's -e flag, and the open-quote following it.
26169         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
26170
26171 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
26172                           Jeffrey A Law  (law@cygnus.com)
26173
26174         * varasm.c (assemble_start_function): Remove the function
26175         from the pending weak decls list when we define a function.
26176         (assemble_variable): Similarly for variables.
26177         (weak_finish): Ignore items on the list with a NULL name.
26178         (remove_from_ending_weak_list); New function to "remove" an item
26179         from the pending weak declarations list.
26180
26181 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
26182
26183         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
26184
26185 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
26186
26187         * c-lex.c (GETC): Redefine to call getch.
26188         (UNGETC): Redefine to call put_back.
26189         (putback_buffer): New structure type.
26190         (putback): New static structure.
26191         (getch): New function.
26192         (put_back): New function.
26193         (yylex): Replace unused bytes from bad multibyte character.
26194
26195 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
26196
26197         * cpplib.c (do_define): Cast `alloca' return value.
26198         (do_include, do_undef, do_pragma): Likewise.
26199         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
26200         values.
26201         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
26202         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
26203
26204 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
26205
26206         * sparc.md (abstf2): This should be an expand.
26207         (split after abstf2_notv9): Fix mode.
26208         (abstf2_hq_v9): New pattern.
26209         (abstf2_v9): Only use when no hard quad.
26210         (absdf2_v9): Fix if target is not the same as source.
26211         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
26212         Add correct output constraints.
26213
26214 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
26215
26216         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
26217         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
26218
26219 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
26220
26221         * mips.h (mips_output_conditional_branch): New function.
26222         (mips_adjust_insn_length): Likewise.
26223         (ASSEMBLER_SCRATCH_REGNUM): New macro.
26224         (ADJUST_INSN_LENGTH): Likewise.
26225         * mips.c (print_operand): Add `F' and `W' for floating-point
26226         comparison opcodes.
26227         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
26228         are now in bytes.
26229         (mips_adjust_insn_length): New function.
26230         (mips_output_conditional_branch): New function.
26231         * mips.md (length): Adjust attribute definition to handle
26232         conditional branches.  Change lengths to bytes, rather than
26233         instructions throughout.  Remove length attribute from
26234         instructions whose length is four bytes, and rely on the default
26235         instead.
26236         (dslot): Fix typo in comment.
26237         Reword conditional branch patterns to use
26238         mips_output_conditional_branch.
26239
26240 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
26241
26242         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
26243         (LIB_SPEC): Likewise.
26244         Link with -lprof1_r for -g/-pg.
26245
26246 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
26247
26248         * loop.c (check_dbra_loop): Fix change of Jan 19.
26249
26250 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
26251
26252         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
26253         (STARTFILE_SPEC):  Define, override the svr4.h version.
26254         (ENDFILE_SPEC):  Likewise.
26255
26256 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
26257
26258         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
26259         * fixinc/fixincl.x: Regenerated.
26260         * fixinc/inclhack.sh: Regenerated.
26261
26262 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26263
26264         * sh.c (barrier_align): Don't return early for normal branch/barrier
26265         when optimizing for SH2.
26266
26267 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
26268
26269         * i386/udk.h (LINK_SPEC): Correct linker search path for
26270         system libraries.
26271
26272 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26273
26274         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
26275         (braf_label_ref_operand): Delete.
26276         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
26277         * sh.md (casesi_jump_2): Operand1 is now the inside of a
26278         label_ref, and has no predicate.
26279         The patten has a predicate to guard against invalid substitutions.
26280         (dummy_jump): Delete.
26281         (casesi): Update use of casesi_jump_2.
26282
26283 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26284
26285         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
26286         *fixinc/fixincl.x: regenerate
26287         *fixinc/inclhack.sh: regenerate
26288
26289 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
26290
26291         * dwarf2out.c (add_incomplete_type): New fn.
26292         (gen_struct_or_union_type_die): Call it.
26293         (retry_incomplete_types): New fn.
26294         (dwarf2out_finish): Call it.
26295
26296 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
26297
26298         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
26299         current block starts with a CODE_LABEL and ends with a CALL and
26300         we can not find all the argument setup instructions for the CALL.
26301
26302 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
26303
26304         Revert this change:
26305         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
26306         something is a candidate for optimize_bit_field_compare.
26307
26308 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26309
26310         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
26311
26312 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
26313
26314         * alpha.c (override_options): Thinko in last patch.
26315
26316         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
26317         (LIB_SPEC): Recognize -pthread.
26318
26319 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
26320
26321         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
26322         definition in config/arm/coff.h
26323         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
26324
26325 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26326
26327         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
26328         fixes that need "file=xxx\n" prepended before invocation
26329         (start_fixer - new): starting the fixer process is complex enough
26330         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
26331         (process): uses the new routine; omit usage of putenv()
26332         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
26333         * fixinc/fixincl.x: regenerate
26334
26335 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
26336
26337         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
26338         and version #s (1.1 -> 2.96) as needed.
26339         * README.g77: Kill way out of date file in the toplevel directory.
26340
26341 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
26342
26343         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
26344         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
26345         * configure: Rebuilt.
26346         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
26347         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
26348         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
26349         (SWITCH_TAKES_ARG): Likewise.
26350         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
26351         * config/t-freebsd: Moved from config/i386/ so it can used for all
26352         FreeBSD targets.
26353
26354 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
26355
26356         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
26357
26358 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
26359
26360         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
26361         * configure: Rebuilt.
26362
26363 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
26364
26365         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
26366         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
26367         * rs6000/rs6000.c (rs6000_file_start): Use putc.
26368         (rs6000_output_load_toc_table): Same.
26369         (output_prolog, output_mi_thunk): Same.
26370         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
26371         (ASM_GLOBALIZE_LABEL): Use putc.
26372
26373 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
26374
26375         * alpha.md (reload_*_help): New patterns and splitters.
26376         (reload_*): Use them.
26377         (mov[qh]i): Likewise.
26378
26379 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
26380
26381         * cccp.c (handle_directive): Handle backslash-newlines in quoted
26382         strings correctly.
26383
26384 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
26385
26386         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
26387
26388 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
26389
26390         * flow.c (mark_regs_live_at_end, insn_dead_p,
26391         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
26392         and HARD_FRAME_POINTER_REGNUM special treatment if reload
26393         hasn't run or the frame pointer is needed.
26394         * haifa-sched.c (attach_deaths): Likewise.
26395         * sched.c (attach_deaths): Likewise.
26396
26397 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
26398
26399         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
26400         calculate_can_reach_end returns nonzero.
26401
26402         * configure.in (native gas tests): Search for an assembler in the
26403         same manner that the installed compiler will.
26404         * configure: Rebuilt.
26405         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
26406
26407         * alias.c (find_base_term): Improve handling of addresses
26408         constructed from binary operations.
26409
26410 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
26411
26412         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
26413
26414 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
26415
26416         * function.h (cleanup_label, frame_offset): Declare.
26417         (tail_recursion_label, tail_recursion_reentry): Likewise.
26418         (arg_pointer_save_area, rtl_expr_chain): Likewise.
26419         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
26420         (tail_recursion_label, tail_recursion_reentry): Likewise.
26421         (arg_pointer_save_area, rtl_expr_chain): Likewise.
26422
26423 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
26424
26425         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
26426         defined.
26427         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
26428         (MAX_OFILE_ALIGNMENT): Define.
26429
26430 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
26431
26432         * fixincl.c: Replace local include scheme with #includes of
26433         gansidecl.h and system.h.
26434         * procopen.c:  Likewise.
26435         * server.c:  Likewise.
26436
26437 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
26438
26439         * i386/t-dgux (EXTRA_PARTS): Add crti.o
26440         (crti.o): Add build rule and dependencies.
26441         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
26442
26443 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26444
26445         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
26446         (LIB_LINUX_SPEC): Likewise.
26447         (LIB_LINUX_SPEC): Add support for -pthread
26448         (CPP_OS_LINUX_SPEC): Likewise.
26449         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
26450         specified.
26451
26452 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
26453
26454         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
26455         conditional move.
26456         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
26457         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
26458         for IEEE math and CC_FCOMI.
26459         (put_jump_code): No IEEE if CC_FCOMI is set.
26460
26461 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
26462
26463         * fold-const.c (fold_truthop): Make the field reference unsigned
26464         when converting a single bit compare.
26465
26466 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26467
26468         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
26469
26470 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
26471
26472         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
26473         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
26474         version did.
26475
26476         * reload.c (push_reload): Do not call remove_address_replacements
26477         when presented with identical optional reloads.
26478
26479 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
26480
26481         * alpha.h (MASK_FIX, TARGET_FIX): New.
26482         (MASK_*): Reorganize constants.
26483         (CPP_AM_FIX_SPEC): New.
26484         (TARGET_SWITCHES): Add FIX.
26485         (EXTRA_SPECS): Likewise.
26486         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
26487         (SECONDARY_MEMORY_NEEDED): Likewise.
26488         (REGISTER_MOVE_COST): Likewise.
26489         * alpha.c (override_options): Add FIX support.  Always use
26490         ALPHA_TP_PROG for ev6.
26491         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
26492         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
26493         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
26494
26495 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
26496
26497         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
26498         something is a candidate for optimize_bit_field_compare.
26499
26500 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
26501
26502         * gcc.texi (Passes): Document branch-shortening.
26503         * invoke.texi (Debugging Options): Document the fact that `-dp'
26504         outputs length information for instructions.
26505
26506 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
26507
26508         * flow.c: Revert previous delta.
26509
26510 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
26511
26512         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
26513         FRAME_POINTER_REGNUM.
26514         (mark_set_1): Ditto.
26515         (mark_used_regs): Ditto.
26516
26517 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
26518
26519         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
26520         (GOT_PCREL): New macro.  Define to 1 if not already defined.
26521         * arm/elf.h (GOT_PCREL): Define to 0.
26522         * arm.c (arm_finalize_pic): Take into account the setting of
26523         GOT_PCREL.
26524
26525 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
26526
26527         * output.h (STRIP_NAME_ENCODING): Provide default definition.
26528         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
26529
26530         * flow.c (mark_set_1): Do not record BLKmode stores as dead
26531         store elimination candidates.
26532
26533 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
26534
26535         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
26536         TARGET_GAS.
26537
26538 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
26539
26540         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
26541         Add use of x-aix41-gld.
26542
26543 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
26544
26545         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
26546         (ASM_OUTPUT_DESTRUCTOR): Define.
26547
26548 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
26549
26550         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
26551         last CODE_LABEL in a loop if we have previously passed a jump
26552         to the top of the loop.
26553
26554 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
26555
26556         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
26557         applying Philip's patch.
26558
26559 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
26560
26561         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
26562         are not VAR_DECLs.
26563
26564 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
26565
26566         * loop.c (strength_reduce): Grow reg_single_usage as needed.
26567
26568 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
26569
26570         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
26571         Also remove a useless comment.
26572
26573 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
26574
26575         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
26576
26577 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
26578
26579         * collect2.c (main): Only generate import or export file and add
26580         to link arguments if non-empty.  Use xmalloc not alloca.
26581         (write_{export,import}_file): Delete.
26582         (write_aix_file): New function.
26583         (locatelib): Use xmalloc not malloc.
26584         (GCC_OK_SYMBOL): Do not check type if aix64.
26585
26586 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
26587
26588         Based on patch by Scott Bambrough and Pat Beirne:
26589         * config/arm/arm.c (making_const_table): New variable.
26590         * config/arm/arm.h (making_const_table): Declare.
26591         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
26592         appropriate.
26593         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
26594         Keep track of when we are building the constant table.
26595
26596 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
26597
26598         * config/arm/arm.c (arm_override_options): Fix erroneous warning
26599         message.
26600
26601 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
26602
26603         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
26604         defined.
26605
26606 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
26607
26608         * tm.texi (FUNCTION_ARG): Correct description of a stack element
26609         in a PARALLEL.
26610
26611 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
26612
26613         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
26614
26615 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
26616
26617         * rs6000.c (output_mi_thunk): Enable full support again.
26618
26619 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
26620
26621         * sh.h (BRANCH_COST): Define.
26622
26623 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
26624
26625         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
26626
26627 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
26628
26629         * function.c (assign_stack_local): Align stack slot propertly.
26630         (assign_outer_stack_local): Likewise.
26631
26632 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
26633
26634         * expr.h (lang_expand_constant): Declare.
26635         * toplev.c (lang_expand_constant): Define it.
26636         * varasm.c (output_constant): Use it.
26637
26638 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26639
26640         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
26641         Change function definitions to K&R style.
26642
26643 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26644
26645         * fixinc/fixincl.c: We must not ignore SIGCLD now.
26646
26647 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
26648
26649         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
26650         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
26651         (several places): omit static initialization
26652         (process): use single fd, since only the read fd is used
26653         * fixinc/gnu-regex.c: define 'const' away, if not supported
26654         * fixinc/procopen.c(several places): omit static initialization
26655         * fixinc/server.c: define 'volitile' away, if not supported
26656
26657 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
26658
26659         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
26660         asm_fprintf and %L to generate the label name.
26661         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
26662         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
26663
26664 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
26665
26666         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
26667         insn for a conditional jump can not be found.
26668
26669 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
26670
26671         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
26672         on variables in specific sections other than .sbss and .sdata.
26673
26674 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
26675
26676         * stmt.c (expand_return): Call start_cleanup_deferral and
26677         end_cleanup_deferral around conditional code.
26678
26679 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
26680
26681         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
26682         filename lists.  Utilizes new "krstr" AutoGen function.
26683         * fixinc/fixincl.x: Rebuilt.
26684
26685 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
26686
26687         * i386.c (output_float_compare): Avoid GNU-C extensions.
26688
26689 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
26690
26691         * version.c: Bump to distinguish mainline tree from the
26692         gcc-2.95 branch.
26693
26694 See ChangeLog.1 for earlier changes.