OSDN Git Service

* config/alpha/alpha.c (alpha_emit_conditional_move): Fail
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-04-07  Richard Henderson  <rth@cygnus.com>
2
3         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
4         if we discover we need a pseudo and no_new_pseudos is true.
5         * config/alpha/alpha.md (ne:DI insn): New.
6         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
7
8 2000-04-07  Richard Henderson  <rth@cygnus.com>
9
10         * rtl.def (COND_EXEC): New.
11         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
12         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
13
14         * genconfig.c (have_cond_arith_flag): Remove.
15         (have_cond_exec_flag): New.
16         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
17         (main): Print HAVE_conditional_execution.
18
19         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
20         (sched_analyze_insn, print_pattern): Likewise.
21         * reload.c (find_equiv_reg): Likewise.
22         * rtlanal.c (reg_referenced_p): Likewise.
23         (note_stores, dead_or_set_regno_p): Likewise.
24         (reg_overlap_mentioned_p): Rewrite to use a switch.
25
26         * ggc.h (struct rtx_def): Forward declare.
27
28         * print-rtl.c (debug_rtx_range): New.
29         * rtl.h (debug_rtx_range): Declare.
30
31         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
32
33         * gcse.c (gcse_main): Don't rebuild the CFG here.
34         (delete_null_pointer_checks): Likewise.
35         * ssa.c (convert_to_ssa): Likewise.
36         * toplev.c (rest_of_compilation): Do it here instead.  Combine
37         sequential calls to TIMEVAR.  Consistently use `insns' instead of
38         `get_insns()'.  Always split insns after reload when optimizing.
39
40         * basic-block.h (merge_blocks_nomove): Declare.
41         (tidy_fallthru_edge): Declare.
42         * flow.c (merge_blocks_nomove): Document as merging into previous
43         blocks.  Remove cruft from between blocks; remove all edges out of A.
44         (tidy_fallthru_edge): Export.
45
46 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
47
48         * ssa.c (compute_conservative_reg_partition): Declare with
49         void arguments.
50         * toplev.c (clean_dump_file): Remove previously-deleted function
51         inadvertantly merged back in.
52         * conflict.c (conflict_graph_add): Use a single call to
53         htab_find_slot to look up and insert.
54
55 2000-04-06  Richard Henderson  <rth@cygnus.com>
56
57         * genrecog.c (*): Rename _last_insn to last_insn.
58         (make_insn_sequence): Set the position of the peephole2 C test
59         to be at the last insn.
60
61 2000-04-06  Richard Henderson  <rth@cygnus.com>
62
63         * flow.c (compute_flow_dominators): Free worklist.
64
65 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
66
67         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
68
69 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
70
71         * rtl.h (INSN_P): New macro.
72         (successor_phi_fn): New typedef.
73         (for_each_successor_phi): New prototype.
74         (in_ssa_form): New variable.
75         (PHI_NODE_P): Likewise.
76         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
77         phi nodes in successors.
78         (mark_used_regs): Add PHI case.
79         (set_phi_alternative_reg): New function.
80         (life_analysis): Assert that dead code elimination is not selected
81         when in SSA form.
82         * toplev.c (to_ssa_time): New variable.
83         (from_ssa_time): Likewise.
84         (compile_file): Zero to_ssa_time and from_ssa_time.
85         Print time to convert to and from SSA.
86         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
87         (print_time): Compute percent fraction as integer.
88         * ssa.c (PHI_NODE_P): Moved to rtl.h.
89         (convert_to_ssa): Check if we're already in SSA.  
90         Don't eliminate dead code in life_analysis.
91         Rerun flow and life analysis at bottom.
92         (eliminate_phi): Use canonical regnos when adding nodes.
93         (mark_reg_in_phi): New function.
94         (mark_phi_and_copy_regs): Likewise.
95         (convert_from_ssa): Rerun life analysis at top.  
96         Use coalesced partition.
97         Check for removing a phi node at the end of the block.
98         (compute_coalesced_reg_partition): New function.
99         (coalesce_regs_in_copies): Likewise.
100         (coalesce_reg_in_phi): Likewise.
101         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
102         (for_each_successor_phi): Likewise.
103         (rename_context): New struct.
104         (rename_block): Use a rename_context with rename_insn_1.  When
105         renaming sets of a subreg, emit a copy of the entire reg first.
106         (rename_insn_1): Treat data as a rename_context *.  Save current
107         insn in set_data.
108         (rename_set_data): Add field set_insn.
109         * Makefile.in (HASHTAB_H): Move up in file.
110         (OBSTACK_H): New macro.
111         (collect2.o): Use OBSTACK_H in dependencies.
112         (sdbout.o): Likewise.
113         (emit-rtl.o): Likewise.
114         (simplify-rtx.o): Likewise.
115         (fix-header.o): Likewise.
116         (OBJS): Add conflict.o.
117         (conflict.o): New rule.
118         * basic-block.h: Include partition.h.
119         (conflict_graph): New typedef.
120         (conflict_graph_enum_fn): Likewise.
121         (conflict_graph_new): New prototype.
122         (conflict_graph_delete): Likewise.
123         (conflict_graph_add): Likewise.
124         (conflict_graph_conflict_p): Likewise.
125         (conflict_graph_enum): Likewise.
126         (conflict_graph_merge_regs): Likewise.
127         (conflict_graph_print): Likewise.
128         (conflict_graph_compute): Likewise.
129         * conflict.c: New file.
130
131 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
132
133         * tlink.c (read_repo_files): Don't look for .rpo info for
134         linker flags.
135
136 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
137
138         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
139
140 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
141
142         * config/sh/lib1funcs.asm (___udivsi3_i4):
143         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
144         only depends on FMOVD_WORKS.
145
146 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
147
148         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
149         make double constant 8-byte aligned.
150
151 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
152
153         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
154         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
155         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
156         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
157         Accept storing GENERAL_REGS into offsetable memory.
158         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
159         building a TFmode constant other than 0.0L into GENERAL_REGS.
160
161 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
162
163         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
164         
165 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
166
167         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
168         (macro_cleanup): No need to cast pbuf->macro.
169         (collect_expansion): Use _cpp_get_define_token.  Goto done if
170         it returns VSPACE.  Remove check for trailing space after
171         CPP_COMMENT.
172         (_cpp_create_definition): Don't diddle flags here.  Return
173         directly on error.
174         (unsafe_chars): Handle c1 being EOF.
175         (push_macro_expansion): Use unsafe_chars for both accidental-paste
176         checks.  Don't push the buffer till after we're done with
177         them.
178         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
179         (PEEKN, FORWARD, GETC, PEEKC): Use them.
180         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
181         appropriately.
182         (_cpp_parse_assertion): Don't NUL terminate.
183         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
184         hspace before calling _cpp_parse_assertion.  Remove all sets
185         of only_seen_white. Treat '\f' as hspace.  Don't do anything
186         special with '\n' here.
187         (maybe_macroexpand): Handle T_EMPTY hash entries without
188         pushing a buffer at all.
189         (cpp_get_token): Handle clearing only_seen_white here.  Handle
190         incrementing the line number here.  Clear
191         potential_control_macro as well as only_seen_white, if
192         appropriate.
193         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
194         (_cpp_get_define_token): New function, basically like
195         _cpp_get_directive_token was but doesn't eat horizontal space.
196         Don't do anything with only_seen_white here.
197         (_cpp_get_directive_token): Just call _cpp_get_define_token
198         repeatedly till it returns non-hspace.
199
200         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
201         (conditional_skip, skip_if_group): Return int.
202         (DIRECTIVE_TABLE): Change origin of all conditional directives
203         to "COND".
204         (TRAD_DIRECT_P): New macro.
205         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
206         an error for a bogus directive, unless -lang-asm.  Use
207         TRAD_DIRECT_P. Loop calling handler functions till one returns
208         zero.
209         (get_macro_name): Don't diddle flags here.
210         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
211         Create T_EMPTY nodes for #define macro /* nothing */.
212         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
213         Use hp->name when calling pass_thru_directive.
214         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
215         Return the result of conditional_skip and/or skip_if_group.
216         Don't call _cpp_output_line_command.
217         (consider_directive_while_skipping): Use _cpp_get_directive_token.
218         Issue -Wtraditional warnings as appropriate.  Don't complain
219         about unrecognized directives.  If we are to stop skipping,
220         return the number of the directive that ended the skip.
221         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
222         expansion and line commands while skipping.  Return the result
223         of consider_directive_while_skipping, if nonzero.
224         (do_endif): Just set potential_control_macro here.
225         (validate_else): Use _cpp_get_directive_token.
226         (do_assert, do_unassert): Don't save pointers into the
227         token_buffer across calls to the lexer.  Use
228         _cpp_get_directive_token.  
229
230         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
231         pointer, not an offset.  Replace 'data', which was a generic
232         pointer, with 'macro', which points to a struct hashnode.
233         (cpp_reader): Add 'potential_control_macro' pointer.
234         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
235         (CPP_BUF_GET, CPP_FORWARD): Delete.
236         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
237         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
238         ACTIVE_MARK_P): Update.
239         (_cpp_get_define_token): New internal function.
240         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
241
242 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
243
244         * configure.in: And here.
245         * configure: Regenerate.
246         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
247         --enable-libstdcxx-v3 is passed at configure time.
248         * config.h.in: Regenerate.
249
250 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
251
252         * final.c (final): Use xcalloc to allocate line_note_exists.
253         * function.c (free_after_compilation): Free the temp_slots.
254         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
255         (combine_temp_slot): Free temp_slots when they get combined.
256         (purge_addressof): Fix typo in comment.
257         * stmt.c (mark_goto_fixup): Mark the fixup itself.
258         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
259
260         * ggc.h: Include varray.h.
261         (ggc_pending_trees): Declare.
262         (ggc_mark_tree_children): Remove declaration.
263         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
264         * ggc-common.c (ggc_pending_trees): New variable.
265         (ggc_mark_roots): Call ggc_mark_trees.
266         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
267         the ggc_pending_trees.
268         * Makefile.in (GGC_H): New variable.  Use it throughout in place
269         of ggc.h.
270         
271 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
272
273         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
274         GET_MODE_SIZE.
275
276 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
277
278         * sh.c (sh_insn_length_adjustment): New function.
279         * sh-protos.h (sh_insn_length_adjustment): Declare.
280         * sh.h (ADJUST_INSN_LENGTH): Use it.
281
282 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
283
284         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
285         from the insn where REG_RETVAL is added.
286         (emit_no_conflict_block): Ditto.
287
288         * md.texi (Standard Names): Clarify when movX is needed.
289
290         * combine.c (simplify_comparison) [MINUS]: Do not replace
291         all (op (minus A B) 0) with (op A B).
292
293 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
294                           J"orn Rennecke <amylaar@cygnus.co.uk>
295
296         * sh.c (block_lump_real_i4): Add missing clobber of T_REG
297         (block_lump_real): Likewise.
298
299 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
300
301         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
302         remaining non-zero debugging masks.
303
304 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
305
306         * basic-block.h (verify_flow_info): Declare.
307         (flow_loop_outside_edge_p): Declare.
308         * flow.c (verify_flow_info): Remove declaration.
309         (clear_log_links, flow_loop_outside_edge_p): Likewise.
310
311 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
312
313         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
314         not C++ comments.
315
316 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
317
318         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
319         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
320         seqdi_zero_trunc+1): Allow splits only if registers are
321         different.
322
323 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
324
325         * acconfig.h: Add HAVE_GAS_HIDDEN.
326         * config.in: Regenerated.
327         * configure.in: Add test for .hidden pseudo-op in gas.
328         * configure: Regenerated.
329         * crtstuff.c: Include auto-host.h.
330         Emit additional .hidden pseudo-op for __dso_handle if the
331         assembler knows about it.
332
333 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
334
335         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
336         before freeing argnames.
337         * cpplib.c (do_ifndef): Cast return value of xstrdup.
338
339 2000-04-05  Michael Meissner  <meissner@redhat.com>
340
341         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
342         Walton <jonboy@gordian.com> to make memory references with update
343         work wtih -mregnames.
344
345 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
346
347         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
348         (regrename_optimize): Rename variables `def_uses' and
349         `ext_basic_blocks' to avoid conflicts with similarly named
350         typedefs in traditional C.
351
352         * calls.c (initialize_argument_information): Fix typo in previous
353         change.
354
355 2000-04-04  Richard Henderson  <rth@cygnus.com>
356
357         * regrename.c (consider_available): Test fixed_regs not
358         PIC_OFFSET_TABLE_REGNUM.
359
360 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
361
362         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
363         crtend.
364         (CRTSTUFF_T_CFLAGS_S): Delete definition.
365         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
366         (ENDFILE_LINUX_SPEC): Always use crtend.
367         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
368         (powerpc-*-linux-gnu): Likewise.
369         * configure: Regenerate.
370
371         * config/rs6000/eabi.h: Don't include sysv4.h.
372         (MULTILIB_DEFAULTS): Don't define.
373         * config/rs6000/eabiaix.h: Don't include eabi.h.
374         * config/rs6000/eabile.h: Delete.
375         * config/rs6000/eabilesim.h: Delete.
376         * config/rs6000/eabisim.h: Don't include eabi.h.
377         * config/rs6000/linux.h: Don't include sysv4.h.
378         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
379         (MULTILIB_DEFAULTS): Don't redefine.
380         * config/rs6000/rtems.h: Don't include eabi.h.
381         * config/rs6000/sol2.h: Don't include sysv4le.h.
382         * config/rs6000/sysv4le.h: Don't include sysv4.h.
383         * config/rs6000/t-ppc: Delete.
384         * config/rs6000/t-ppcgas: Correct comment.
385         * config/rs6000/t-ppcos: Correct comment.  Don't build 
386         multilibs for -fPIC, rather use -fPIC -mstrict-align 
387         as default.
388         * config/rs6000/t-ppc: Delete.
389         * config/rs6000/vxppc.h: Don't include sysv4.h.
390         * config/rs6000/vxppcle.h: Delete.
391         * configure.in: Use multiple header files for p2pc ELF targets
392         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
393         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
394         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
395         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
396         always available for these platforms.
397
398 2000-04-04  Richard Henderson  <rth@cygnus.com>
399
400         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
401
402 2000-04-04  Stan Cox  <scox@cygnus.com> 
403
404         * Makefile.in: Add rules for regrename.o
405         * regrename.c: New file.
406         * rtl.h (regrename_optimize): Add prototype.
407         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
408         (compile_file, decode_d_option): Add support for -frename-registers.
409         (rest_of_compilation): Call regrename_optimize.
410         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
411         New macros.     
412         
413 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
414
415         * Makefile (gccbug): New target.
416         (doc): Depend on it.
417         * gcc.texi (Bugs): Link subnodes.
418         (gccbug): New node.
419         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
420         Document severities, priorities, and classes in bug form.
421
422 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
423
424         * cpplex.c (trigraph_map, speccase): Combine into single
425         table, chartab.
426         (NORMAL, NONTRI): New macros.
427         (_cpp_read_and_prescan): Change to use unified table.  Use
428         is_hspace to test for whitespace.
429
430         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
431         definition that doesn't provoke the "empty body in an
432         if-statement" warning.
433
434 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
435
436         * builtins.c (expand_builtin_strlen): Force the source to
437         be a memory address.
438
439 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
440
441         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
442
443 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
444
445         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
446          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
447         (ECF_IS_CONST): Rename to ECF_CONST.
448         (special_function_p): Make static, change interface.
449         (flags_from_decl_or_type, try_to_integrate): Break out from ...
450         (expand_call) ... here; convert number of variables to flags.
451         (emit_library_call_vlue_1): Likewise.
452         (setjmp_call_p): New function.
453         (initialize_argument_information): Accepts flags as argument;
454         return flags.
455         (precompute_arguments): Likewise.
456         * tree.h (special_function_p): Remove.
457         (setjmp_call_p): Add prototype.
458
459 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
460
461         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
462         so that addresses are offsetable by up to 16 bytes.
463         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
464         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
465         offsetable.
466
467         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
468         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
469         (movsf): Don't force any constant to memory if target is integer
470         hard register.
471         Move fp_zero_operand check below the const0_rtx check.
472         (movtf): Likewise. Also allow fp_zero_operand for stores into
473         memory.
474         (movdf): Likewise. Also allow fp_zero_operand for stores into
475         memory and into integer hard registers.
476         (clear_df, clear_dfp, movdf_const_intreg_sp32,
477         movdf_const_intreg_sp64): Remove.
478         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
479         conditions.
480         (movdf_no_e_insn_v9_sp32): New pattern.
481         (movdf_insn_v9only): Remove.
482         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
483         (movdf_insn_sp64): Remove.
484         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
485         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
486         (following splits): Rewrite conditions. Add two new splits
487         for storing 0.0 into memory and registers.
488         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
489         (movtf_insn_sp32): Redo constraints and conditions.
490         (movtf_insn_vis_sp32): New pattern.
491         (movtf_no_e_insn_sp32): Redo constraints and conditions.
492         (movtf_insn_hq_sp64): Likewise.
493         (movtf_insn_hq_vis_sp64): New pattern.
494         (movtf_insn_sp64): Redo constraints and conditions.
495         (movtf_insn_vis_sp64): New pattern.
496         (movtf_no_e_insn_sp64): Redo constraints and conditions.
497         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
498         or memory.
499         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
500         -mvis or -m64 to take down the number of various reload patterns.
501
502 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
503
504         * pa/pa-64.h: New file.
505         * pa/pa64-regs.h: New file.
506         * pa/pa64-start.h: New file.
507         * pa/t-pa64: New file.
508         * pa/xm-pa64hpux.h: New file.
509
510 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
511
512         * sparc.c (output_restore_regs): Prototype.
513         (sparc_emit_float_lib_cmp): Constification.
514
515         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
516
517         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
518         Prototype.
519
520         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
521         (get_value_hash, hash_rtx): Likewise.
522
523         * ssa.c (compute_conservative_reg_partition): Prototype.
524
525         * tree.c (mark_hash_entry): Prototype.
526
527 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
528
529         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
530         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
531         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
532
533         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
534         * objc/lang-specs.h: Likewise.
535
536 2000-04-03  Neil Booth  <NeilB@earthling.net>
537
538         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
539         and SYNTAX_ERROR2. Replace `' in messages with ''.
540         (op_to_str): Make re-entrant.
541         (_cpp_parse_expr): Implement new error macros. Use | rather
542         than || to logically or 2 boolean integers.  Simply expression
543         checking we have a left operand iff needed.
544
545 2000-04-03  Nick Clifton  <nickc@cygnus.com>
546
547         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
548
549 2000-04-03  Philip Blundell  <philb@gnu.org>
550
551         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
552
553 2000-04-03  Felix Lee  <flee@cygnus.com>
554
555         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
556         (run_shell): Use it. 
557
558 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
559
560         * Makefile.in (stmp-int-hdrs): Make include subdir here...
561         (stmp-fixproto): ...rather than here.
562
563 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
564
565         * pa.c (print_operand): Compute 'base' only inside the code paths
566         that use it.
567
568 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
569
570         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
571         CEIL_DIV_EXPR.
572
573 2000-04-03  Philipp Thomas  <pthomas@suse.de>
574
575         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
576
577 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
578
579         * Makefile.in (alias.o): Depend on $(TREE_H).
580
581 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
582
583         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
584         processing C++.
585         * cpplib.c (_cpp_handle_directive): Improve warnings for
586         traditional C and indented directives.
587
588         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
589         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
590         fixinc/inclhack.def: Indent the # of #include_next one space.
591         * cp/rtti.c: Un-indent #if and #endif.
592
593         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
594         syntax error, but an error has already been printed.
595         * cpplex.c (_cpp_parse_assertion): Give a more specific error
596         message when called with nothing remaining on the line.
597         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
598         OTHER token, not an ASSERTION.
599         * cpplib.c (do_assert): When we create a 'base' node, clear
600         its aschain pointer.
601
602 2000-04-02  Neil Booth <NeilB@earthling.net>
603
604         * cppexp.c:  New typedef op_t.  struct operation and struct 
605         token updated to use it.
606         (op_to_str): New function.
607         (_cpp_parse_expr): Error messages modified to use op_to_str.
608
609 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
610
611         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
612         before checking MUST_PASS_IN_STACK.
613
614 2000-04-02  Neil Booth <NeilB@earthling.net>
615
616         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
617         flags and initial priority into a single constant.  New
618         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
619         (_parse_cpp_expr): Implement new constants.  Take left operand
620         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
621         parse indicated by reducing FINISHED token.  Remove new lines
622         from cpp_error messages.
623
624 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
625
626         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
627         permanent obstack.
628
629 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
630
631         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
632         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
633         the strings and function names on the fly.  Take the #sccs
634         entry out of the table if SCCS_DIRECTIVE is not defined.
635         (_cpp_handle_directive): Decide if the # was at the beginning
636         of the line here.  Issue -pedantic warnings for extended
637         directives here.  Warn about K+R directives with the #
638         indented, and C89/extended directives with the # not indented,
639         here.
640         (do_import, do_include_next, do_warning, do_ident, do_sccs,
641         do_assert, do_unassert): Don't issue pedantic warning here.
642
643         * cpphash.h: Add CPP_WTRADITIONAL macro.
644         * cpplib.h (struct cpp_options): Rename warn_stringify to
645         warn_traditional; update comments.
646         * cppinit.c (handle_option): Set warn_traditional not
647         warn_stringify.
648         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
649         CPP_WTRADITIONAL (pfile).
650         * cpplex.c (_cpp_lex_token): Don't decide if directives should
651         be ignored in -traditional mode here.
652
653         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
654         to initialize speccase[] and trigraph_map[].  Delete all
655         references to pfile->input_speccase.  Always treat '?' as a
656         special character.  Remove table-initialization code from
657         _cpp_init_input_buffer.
658
659         * cpplib.h (struct cpp_reader): Remove input_speccase field.
660         * cppinit.c (cpp_cleanup): Don't free input_speccase.
661
662 2000-04-01  Richard Henderson  <rth@cygnus.com>
663
664         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
665         (mostlyclean): Likewise.
666
667         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
668         (struct dump_file_info, enum dump_file_index, dump_file): New.
669         (open_dump_file): Take a dump_file_index not a suffix, and a decl
670         not a string.  Clean out file if we havn't yet done so.  Do nothing
671         if the dump isn't enabled.
672         (close_dump_file): Do nothing if the dump isn't open.  Dump 
673         graph data if requested.
674         (dump_rtl, clean_dump_file): Remove.
675         (compile_file): Don't clean the dump files.  Only finalize .bp dump
676         if flag_test_coverage or flag_branch_probabilities.  Only finalize
677         .combine dump if optimizing.  Iterate over dump_file to finalize the
678         graph dumps.
679         (rest_of_compilation): Update for open_dump_file/close_dump_file.
680         Convert all uses of dump_rtl.
681         (decode_d_option): Iterate over dump_file to implement 'a' and to
682         locate pass-specific dumps.
683
684 2000-04-01  Neil Booth <NeilB@earthling.net>
685
686         * cppexp.c: Redefine priority constants.
687         (_cpp_parse_expr): Replace left and right priority scheme with
688         single priority logic.  Move LOGICAL to same place as COMPARE.
689         Remove bogus check for multiple unary +/- operators.
690
691 2000-04-01  Neil Booth <NeilB@earthling.net>
692
693         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
694         within the switch statement.  Binary operations break out of
695         the switch naturally.  '(' tokens handled by forcing
696         immediate shift.  ')' handled by forcing immediate reduce to
697         the previous '('.  New error messages.
698         
699 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
700
701         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
702         part', it's already in use.  Use %K instead.  Add a return at the
703         end of what is now %K.
704         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
705
706 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
707
708         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
709         allocate_dynamic_stack_space.
710         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
711         update stack_pointer_delta; do not update arg_size_so_far.
712         (compute_argument_block_size): Use stack_delta instead of
713         stack_pointer_pending and arg_size_so_far.
714         (expand_call): Add sanity checking for stack_pointer_delta;
715         save and restore stack_pointer_delta for SIB, use
716         stack_pointer_delta for alignment; do not update arg_space_so_far.
717         (emit_library_call_value): Use stack_pointer_delta for alignment.
718         (store_one_arg): Do not update arg_space_so_far.
719         * explow.c (adjust_stack, anti_adjust_stack): Update
720         stack_pointer_delta.
721         (allocate_dynamic_stack_space): Add sanity checking for
722         stack_pointer_delta.
723         * expr.c (init_expr, clear_pending_stack_adjust): Clear
724         stack_pointer_delta.
725         (emit_push_insn): Update stack_pointer_delta.
726         * function.h (struct expr_status): Add x_stack_pointer_delta;
727         remove x_arg_space_so_far.
728         (arg_space_so_far): Remove.
729         (stack_pointer_delta): New macro.
730
731 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
732
733         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
734         Reorder struct cpp_options and struct cpp_reader for better 
735         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
736         takes two args.  Change all 'char' flags to 'unsigned char'.
737         Move show_column flag into struct cpp_options.  Don't
738         prototype cpp_options_init.
739         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
740         cppinit.c, cpplex.c, cpplib.c:
741         Replace CPP_OPTIONS (pfile)->whatever with
742         CPP_OPTION (pfile, whatever), and likewise for
743         opts = CPP_OPTIONS (pfile); ... opts->whatever;
744
745         * cppinit.c (merge_include_chains): Take a cpp_reader *.
746         Extract CPP_OPTION (pfile, pending) and work with that
747         directly.
748         (cpp_options_init): Delete.
749         (cpp_reader_init): Turn on on-by-default options here.
750         Allocate the pending structure here.              
751         (cl_options, enum opt_code): Define these from the same table,
752         kept in a large macro.  Add -fshow-column and -fno-show-column
753         options.
754
755         * cpperror.c (v_message): If show_column is off, don't print
756         the column number.
757
758         * cppmain.c: Update for new interface.
759         * fix-header.c: Likewise.
760
761 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
762
763         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
764         definition.
765         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
766         are passed to any invocation of AR_FOR_TARGET.
767         (AR_CREATE_FOR_TARGET): New macro.
768         (AR_EXTRACT_FOR_TARGET): New macro.
769         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
770         AR_EXTRACT_FOR_TARGET.
771         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
772         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
773         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
774         AR_EXTRACT_FOR_TARGET to sub-makes.
775
776 2000-03-31  Neil Booth <NeilB@earthling.net>
777
778         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
779         PAREN_INNER_PRIO.
780         (_cpp_parse_expr): Check for multiple unary +/- operators.
781         Correct priorities of ':' and '?'.  Treat ')' as having a
782         value.  Ensure conditional expression is not void.
783         
784 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
785
786         * alias.c (canon_rtx): Make it global.
787         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
788         equality.
789         * cse.c (struct table_elt): Add canon_exp.
790         (insert): Clear it.
791         (invalidate): Canonicalize expressions only once.
792         * rtl.h (canon_rtx): Declare.
793
794 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
795
796         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
797         * alias.c (reg_known_value): Add comments.
798         (init_alias_analysis): Likewise.
799         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
800         address.
801         (cse_basic_block): Fix typo in comment.
802         * emit-rtl.c: Include hashtab.h.
803         (const_int_htab): New variable.
804         (const_int_htab_hash): New function.
805         (const_int_htab_eq): Likewise.
806         (rtx_htab_mark_1): Likewise.
807         (rtx_htab_mark): Likewise.
808         (gen_rtx_CONST_INT): Cache all CONST_INTs.
809         (unshare_all_rtx): Fix formatting.
810         (init_emit_once): Initialize const_int_htab.
811         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
812         address.
813         * rtl.texi: Document the fact that all CONST_INTs with the same
814         value are shared.
815
816 2000-03-30  Richard Henderson  <rth@cygnus.com>
817
818         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
819
820 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
821
822         * configure.in: Comment out --enable-c-cpplib stanza.
823         * configure: Regenerate.
824
825 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
826
827         * expr.c (store_constructor): Properly compute displacement and
828         alignment when offset is variable.
829
830         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
831         cases of alignment in bytes.
832
833 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
834
835         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
836         since it is used to generate c-parse.y.
837         * objc-parse.c, objc-parse.y: Regenerated.
838
839         * function.c (expand_function_end): Pass alignment argument to
840         emit_block_move in bits, not bytes.
841
842 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
843
844         * expr.c (move_by_pieces_ninsns): Fix one more missing align
845         correction.
846
847         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
848
849         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
850         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
851         * function.c (assign_parms): Likewise.
852         * integrate.c (expand_inline_function): Likewise.
853         * stmt.c (expand_decl): Likewise.
854         (copy_rtx_and_substitute): Likewise.
855         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
856         (clear_by_pieces): Fix error in last change.
857         * emit-rtl.c (init_emit): Set known registers alignment in bits.
858         * function.h (regno_pointer_align): Now unsigned.
859         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
860         is in bits.
861         * config/i386/i386.c (aligned_operand): Likewise.
862         * config/sparc/sparc.c (mem_min_alignment): Likewise.
863         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
864         (unaligned_memory_operand): Likewise.
865         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
866         Also make alignments and sizes unsigned and some whitespace cleanup.
867         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
868
869         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
870         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
871         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
872         (expand_builtin_memset): Likewise, but to clear_storage.
873         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
874         (restore_fixed_argument_area): Likewise.
875         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
876         (load_register_parameters): Likewise, to emit_group_load.
877         (expand_call): Likewise, to emit_group_store and emit_block_move.
878         (emit_library_call_value_1): Likewise, to emit_block_move.
879         (store_one_arg): Likewise, and to emit_push_insn.
880         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
881         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
882         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
883         (emit_block_move, emit_group_load, emit_group_store): Likewise.
884         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
885         (expand_assigment, store_expr, store_constructor_field): Likewise.
886         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
887         (store_constructor, store_field, get_inner_reference): Likewise.
888         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
889         (expand_expr, case COMPONENT_REF): Likewise.
890         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
891         and positions; reindent code.
892         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
893         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
894         (assign_parms): Likewise to emit_group_store.
895         * optabs.c (prepare_cmp_insn): Alignment is in bits.
896         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
897         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
898         (expand_return): Likewise to {extract,store}_bit_field.
899         * stor-layout.c (get_mode_alignment): Minor cleanup.
900         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
901         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
902         
903 2000-03-29  Nick Clifton  <nickc@cygnus.com>
904
905         * config/arm/arm.h: Undo effects of previous delta:
906         (ASM_SPEC): Do not define.
907         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
908
909         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
910         typo. 
911
912 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
913
914         * cppinit.c (cpp_start_read): Call initialize_dependency_output
915         only after reading in the primary source file.
916
917 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
918
919         * c-common.c (c_common_nodes_and_builtins): The first parameter to
920         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
921         or a reference to a va_list.
922         * builtins.c (stabilize_va_list): Simplify now we don't have to
923         work around C array address decay.
924         * c-typeck.c (convert_for_assignment): Handle assignment to
925         a reference parameter by taking the address of the RHS.
926         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
927         (va_copy): Likewise.
928         (__va_copy): Likewise.
929         * ginclude/varargs.h (va_start): Likewise.
930         (__va_copy): Likewise.
931
932 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
933
934         * i386/djgpp.h: Remove extraneous "+".
935
936         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
937
938         * calls.c (expand_call): Fix typo in last change.
939
940 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
941
942         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
943         been expanded.
944
945 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
946
947         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
948         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
949         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
950         * tree.c (bit_position, byte_position): Likewise.
951         * tree.h: Declare new functions.
952
953 2000-03-29  Nick Clifton  <nickc@cygnus.com>
954
955         * config/arm/arm.c: Minor formatting changes/
956         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
957         already defined.
958         (ASM_SPEC): Define if not already defined.
959
960 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
961
962         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
963         _cpp_calc_hash.
964
965 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
966
967         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
968         value, don't output it as unsigned.
969
970 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
971
972         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
973
974 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
975
976         * c-common.c (c_common_nodes_and_builtins): Don't special case
977         cplus_mode when declaring builtin bzero/bcmp, always avoid
978         prototype arguments.
979
980 2000-03-29  Bruce Korb  <bkorb@gnu.org>
981
982         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
983         to a non-file
984
985 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
986
987         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
988         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
989         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
990         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
991         (save_fixed_argument_area, restore_fixed_argument_area):
992         conditionize by #ifdef REG_PARM_STACK_SPACE only.
993         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
994         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
995         (precompute_register_parameters): Avoid #ifdefs on
996         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
997         (stire_one_args): Likewise.
998         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
999         (emit_library_call_value_1): Likewise.
1000         (compute_argument_block_size): Align to STACK_BOUNDARY only for
1001         ACCUMULATE_OUTGOING_ARGS.
1002         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
1003         value.
1004         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
1005         (use_crosses_set_p): Likewise.
1006         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
1007         #define ACCUMULATE_OUTGOING_ARGS 1.
1008         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
1009         frames.
1010         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
1011         constants.
1012         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
1013         (TARGET_SWITCHES): Add push-args, no-push-args,
1014         accumulate-outgoing-args and no-accumulate-outgoing-args.
1015         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
1016         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
1017         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
1018         and PUSH_ROUNDING.
1019         (emit_push_insn): Likewise.
1020         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1021         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
1022         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
1023         (STACK_DYNAMIC_OFFSET): Define correctly for both
1024         ACCUMULATE_OUTGOING_ARGS and normal mode.
1025         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
1026         * tm.texi (PUSH_ARGS): Document.
1027         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
1028
1029 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1030
1031         * flags.h (flag_optimize_sibling_calls): Declare.
1032         * calls.c (expand_call): Fail sibcall when
1033         !flag_optimize_sibling_calls
1034         * invoke.texi (flag_optimize_sibling_calls): Document.
1035         * toplev.c (flag_optimize_sibling_calls): New global variable.
1036         (f_options): Add flag_optimize_sibling_calls.
1037         (rest_of_compilation): Conditionize
1038         optimize_sibling_and_tail_recursive_calls by
1039         flag_optimize_sibling_calls.
1040         (main): Set flag_optimize_sibling_calls for -O2.
1041         * stmt.c (expand_return): Conditionize tail recursion by
1042         flag_optimize_sibling_calls.
1043
1044 2000-03-29  Richard Henderson  <rth@cygnus.com>
1045
1046         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
1047         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
1048
1049 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
1050
1051         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
1052
1053 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1054
1055         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
1056         is given.
1057         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
1058         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
1059         * config/rs6000/aix.h: then modified likewise.
1060
1061 2000-03-28  Richard Henderson  <rth@cygnus.com>
1062
1063         * rtl.h: Redistribute enum reg_note documentation. 
1064         Kill trailing whitespace.
1065         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
1066         Kill trailing whitespace.
1067
1068 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
1069
1070         * cppfiles.c (hash_IHASH): Just return i->hash.
1071         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
1072         htab_find_with_hash.
1073         (cpp_read_file): Likewise.
1074         (find_include_file): Likewise.  Properly initialize
1075         ih->nshort.  Share ih->name and ih->nshort if possible.
1076         * cpphash.c (_cpp_calc_hash): New function.
1077         (hash_HASHNODE): Just return h->hash.
1078         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
1079         htab_find_with_hash.
1080         * cpphash.h: Prototype _cpp_calc_hash.
1081         * cppinit.c (initialize_builtins): Provide a valid hash
1082         to _cpp_make_hashnode, using _cpp_calc_hash.
1083
1084         * cpphash.c (collect_expansion): # is not a special character
1085         in object-like macros.  In -traditional mode, /**/ is not
1086         token paste at the beginning or end of the line.
1087         * cpplib.c (do_include, do_import, do_include_next): If
1088         parse_include fails, return immediately.
1089
1090 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
1091
1092         * config/arm/arm.md (return peepholes): Update to reflect the new
1093         call insn patterns.
1094         * config/arm/arm.c (arm_volatile_func): Also check
1095         current_function_nothrow.
1096         (output_return_instruction, output_func_prologue): Use it.
1097         (arm_output_epilogue, arm_expand_prologue): Likewise.
1098
1099 2000-03-27  Tom Tromey  <tromey@cygnus.com>
1100
1101         * gcc.c (handle_braces): In {x*...} case, break out of loop if
1102         switch is found.
1103
1104 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1105
1106         * expr.c (store_constructor): SIZE now signed.
1107         For EXPR_SIZE, don't evaluate size; just needed if constant.
1108         * fold-const.c (fold): Fix a number of cases when folded tree is
1109         wrong type.
1110         * function.c (flush_addressof): Reenable.
1111         * tree.h (flush_addressof): Likewise.
1112         * toplev.c (independent_decode_option): Look at strings_processed.
1113         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
1114
1115 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
1116
1117         * sibcall.c (indentify_call_return_value): Find last call in the chain;
1118         Allow stack adjustment after function call.
1119
1120         * regmove.c (struct csa_memlist): Make mem field rtx *.
1121         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
1122         (try_apply_stack_adjustment): Replace whole MEM rtx.
1123         (combine_stack_adjustments_for_block): Update calls
1124         to record_one_stack_ref.
1125
1126 2000-03-28  Neil Booth  <NeilB@earthling.net>
1127
1128         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
1129         '\\' rather than a null character, so nulls are not special.  Fix
1130         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
1131         speed trigraph conversion.
1132         (_cpp_init_input_buffer): Initialize trigraph map.
1133
1134 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1135
1136         * config/i386/i386.c (output_387_binary_op): Correct intel
1137         mode assembly output, and add spaces after commas in AT&T
1138         output.  Correct Unixware assembler comment.  Document input
1139         constraints.  Comment fp operations.  Reduce profligate buffer
1140         size.  Remove extraneous abort.  Localize temp var.
1141         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
1142         (output_fix_trunc): Add spaces after commas in assembly output.
1143
1144 2000-03-27  Richard Henderson  <rth@cygnus.com>
1145
1146         * i386-protos.h (ix86_match_ccmode): Declare.
1147         * i386.c (ix86_match_ccmode): New.
1148         (ix86_expand_fp_compare): Update for pattern renames.
1149         (ix86_expand_strlensi_unroll_1): Likewise.
1150         * i386.h (EXTRA_CC_MODES): Add CCZ.
1151         (SELECT_CC_MODE): Use it for EQ/NE zero.
1152         * i386.md (cmpsi_ccz_1): New.
1153         (cmpqi_ccz_1): New.
1154         (*testsi_ccz_1): New.
1155         (testqi_ccz_1): New.
1156         (cmpsi_ccno_1): Rename from cmpsi_0.
1157         (testsi_ccno_1): Rename from testsi_1.
1158         (testqi_ccno_1): Rename from testqi_1.
1159         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
1160         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
1161         (*cmphi_0): Use ix86_match_ccmode.
1162         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
1163         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
1164         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
1165         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
1166         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
1167         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
1168         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
1169         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
1170         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
1171         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
1172         (appropriate peepholes): Likewise.
1173         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
1174         (*subsi_3, *subhi_3, *subqi_3): Remove.
1175         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
1176         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
1177         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
1178         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
1179         (x86_shift_adj_1): Use CCZ.
1180         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
1181
1182 2000-03-27  Stan Cox  <scox@cygnus.com> 
1183
1184         * resource.h (mark_resource_type): New.
1185         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
1186         find_free_register): Use mark_resource_type.
1187         (mark_set_resources): Change include_delayed_effects
1188         to mark_resource_type.
1189         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
1190         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
1191         Use mark_resource_type.
1192         
1193 2000-03-27  Richard Henderson  <rth@cygnus.com>
1194
1195         * i386.md (call_pop_0, call_value_pop_0): New.
1196         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
1197         (call_value_pop_1): Likewise.
1198         (call_0, call_value_0): New.
1199         (call_1, call_value_1): Remove constraint from unused arg.
1200
1201 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1202
1203         * invoke.texi (Spec Files): Document new spec % command created by
1204         Tom Tromey's recent patch.
1205
1206 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
1207
1208         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
1209         if not defined.
1210
1211 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1212
1213         * expr.c (expand_assignment): Fix typo in last change.
1214
1215         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
1216
1217 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1218
1219         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
1220         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
1221         and DECL_INLINE if FUNCTION_DECL.
1222         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
1223         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
1224         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
1225         (combine_parm_decls): Likewise.
1226         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
1227         * print-tree.c (print_node): Likewise.
1228         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
1229         DECL_TRANSPARENT_UNION on proper decl types.
1230         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
1231         * stor-layout.c (layout_decl): Only check DECL_PACKED and
1232         DECL_BIT_FIELD of FIELD_DECL.
1233         * tree.h (DECL_RESULT_FLD): New macro.
1234         
1235         * expr.c (expand_assignment): Add code to handle variable-sized
1236         BLKmode case.
1237
1238 2000-03-26  Richard Henderson  <rth@cygnus.com>
1239
1240         * calls.c (expand_call): Pass parms not original exp to
1241         optimize_tail_recursion.  Mind return value instead of looking
1242         for a barrier.
1243         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
1244         call_expr.  Move checks for call_expr and current_function_decl ...
1245         (expand_return): ... here.
1246
1247 2000-03-26  Tom Tromey  <tromey@cygnus.com>
1248
1249         * gcc.c (handle_braces): Recognize `%{<S}' construct.
1250         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
1251         defines.
1252         (process_command): Use them.
1253         (check_live_switch): Likewise.
1254         (give_switch): Skip ignored switches.
1255
1256 2000-03-26  Jan Hubicka  <jh@suse.cz>
1257
1258         * jump.c (jump_optimize_1): Fix typo in elide optimizations
1259         for minimal jump pass test.
1260
1261 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
1262
1263         * integrate.c (function_cannot_inline_p): Do inline functions that
1264         return `void'.
1265
1266 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1267
1268         * stor-layout.c (layout_type, set_sizetype): early_type_list is
1269         now a list of TREE_LIST entries, not types.
1270         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
1271
1272         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
1273         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
1274         int_bit_position.
1275         * config/mips/mips.c (function_arg): Likewise; also remove cast
1276         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
1277         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
1278         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
1279         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
1280         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
1281         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
1282         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
1283         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
1284         num_adjusts now unsigned.
1285         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
1286         * config/sparc/sparc.c (struct function_arg_record_value_parms):
1287         NREGS now unsigned.
1288         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
1289         as is BITPOS variable; use host_integerp and int_bit_position.
1290         (function_arg_record_value_2): Likewise.
1291         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
1292         Variable REGNO now unsigned.
1293         (function_arg_record_value): NREGS now unsigned.
1294
1295 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
1296
1297         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
1298
1299 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1300
1301         * Rework fields used to describe positions of bitfields and
1302         modify sizes to be unsigned and use HOST_WIDE_INT.
1303         * alias.c (reg_known_value_size): Now unsigned.
1304         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
1305         (really_start_incremental_init): Use bitsize_zero_node.
1306         (push_init_level, pop_init_level, output_init_element): Likewise.
1307         Use bitsize_unit_node and bitsize_one_node.
1308         (output_pending_init_elements, process_init_element): Likewise.
1309         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
1310         (make_extraction): Position and length HOST_WIDE_INT and unsigned
1311         HOST_WIDE_INT, respectively.
1312         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
1313         (num_sign_bit_copies): Returns unsigned.
1314         BITWIDTH now unsigned; rework arithmetic.
1315         Remove recursive call from arg to MAX.
1316         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
1317         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
1318         REGNO now unsigned.
1319         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
1320         (find_split_point, expand_compound_operation, make_extraction): LEN
1321         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
1322         (make_field_assignment): Likewise.
1323         (combine_simplify_rtx): Add cast.
1324         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
1325         (force_to_mode): WIDTH now unsigned; add cast.
1326         (if_then_else_cond): SIZE now unsigned.
1327         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
1328         (extended_count): Now returns unsigned.
1329         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
1330         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
1331         (simplify_comparison): MODE_WIDTH now unsigned.
1332         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
1333         (mark_used_regs_combine): Likewise; rework arithmetic.
1334         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
1335         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
1336         (record_promoted_value): REGNO now unsigned.
1337         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
1338         (get_last_value): REGNO now unsigned.
1339         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
1340         (reg_dead_regno, reg_dead_endregno): Now unsigned.
1341         (remove_death): Arg REGNO now unsigned.
1342         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
1343         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
1344         now unsigned.
1345         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
1346         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
1347         (struct cse_reg_info): REGNO now unsigned.
1348         (cached_regno): Now unsigned.
1349         (REGNO_QTY_VALID_P): Add cast.
1350         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
1351         (remove_invalid_regs): Likewise.
1352         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
1353         as are variables END and I.
1354         (get_cse_reg_info, insert): Likewise.
1355         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
1356         (canon_hash): Likewise.
1357         (insert_regs, lookup_for_remove): REGNO now unsigned.
1358         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
1359         New variable RN.
1360         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
1361         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
1362         * emit-rtl.c (subreg_realpart_p): Add cast.
1363         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
1364         (operand_subword_force): Arg I is now unsigned.
1365         * except.c (eh_regs): Variable I is now unsigned.
1366         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
1367         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
1368         length is unsigned HOST_WIDE_INT; likewise for internal variables.
1369         (store_split_bit_field, extract_fixed_bit_field): Likewise.
1370         (extract_split_bit_field, store_bit_field, extract_bit_field):
1371         Likewise.
1372         * expr.c (store_constructor_fields, store_constructor, store_field):
1373         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
1374         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
1375         (do_jump): Likewise.
1376         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
1377         MAX_SIZE is now unsigned.
1378         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
1379         (emit_group_store): Likewise.
1380         (emit_move_insn): I now unsigned.
1381         (store_constructor): Use host_integerp, tree_low_cst, and
1382         bitsize_unit_node.
1383         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
1384         Rework all calculations to use trees and new fields.
1385         * expr.h (promoted_input_arg): Regno now unsigned.
1386         (store_bit_field, extract_bit_field): Adjust types of pos and size.
1387         (mark_seen_cases): Arg is HOST_WIDE_INT.
1388         * flow.c (verify_wide_reg_1): REGNO now unsigned.
1389         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
1390         precisions and alignments are unsigned.
1391         (optimize_bit_field_compare, fold_truthop): Likewise.
1392         (int_const_binop): Adjust threshold for size_int_type_wide call.
1393         (fold_convert): Likewise.
1394         (size_int_type_wide): Make table larger and fix thinko that only
1395         had half of table used.
1396         (all_ones_mask_p, fold): Precisions are unsigned.
1397         * function.c (put_reg_info_stack): REGNO is unsigned.
1398         (instantiate_decl): Size is HOST_WIDE_INT.
1399         (instantiate_virtual_regs): I is unsigned.
1400         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
1401         (promoted_input_arg): REGNO is unsigned.
1402         * function.h (struct function): x_max_parm_reg is now unsigned.
1403         * gcse.c (max_gcse_regno): Now unsigned.
1404         (struct null_pointer_info): min_reg and max_reg now unsigned.
1405         (lookup_set, next_set): REGNO arg now unsigned.
1406         (compute_hash_table): REGNO and I now unsigned.
1407         (handle_avail_expr): regnum_for_replacing now unsigned.
1408         (cprop_insn): REGNO now unsigned.
1409         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
1410         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
1411         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
1412         * hard-reg-set.h (reg_class_size): Now unsigned.
1413         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
1414         * jump.c (mark_modified_reg): I now unsigned; add cast.
1415         (rtx_equal_for_thread_p): Add cast.
1416         * loop.c (max_reg_before_loop): Now unsigned.
1417         (struct_movable): REGNO now unsigned.
1418         (try_copy_prop): REGNO arg unsigned.
1419         (regs_match_p): XN and YN now unsigned.
1420         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
1421         (strength_reduce): Likewise; NREGS also unsigned.
1422         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
1423         * loop.h (struct iv_class): REGNO now unsigned.
1424         (max_reg_before_loop, first_increment_giv, last_increment_giv):
1425         Now unsigned.
1426         * machmode.h (mode_size, mode_unit_size): Now unsigned.
1427         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
1428         * optabs.c (expand_binop): I and NWORDS now unsigned.
1429         (expand_unop): I now unsigned.
1430         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
1431         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
1432         * real.c (significand_size): Now returns unsigned.
1433         * real.h (significand_size): Likewise.
1434         * regclass.c (reg_class_size): Now unsigned.
1435         (choose_hard_reg_mode): Both operands now unsigned.
1436         (record_reg_classes): REGNO and NR now unsigned.
1437         (reg_scan): NREGS now unsigned.
1438         (reg_scan_update): old_max_regno now unsigned.
1439         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
1440         * reload.c (find_valid_class): BEST_SIZE now unsigned.
1441         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
1442         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
1443         Likewise for variable R.
1444         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
1445         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
1446         (find_equiv_reg): Add casts.
1447         (regno_clobbered_p): Arg REGNO now unsigned.
1448         * reload.h (struct reload): NREGS now unsigned.
1449         (refers_to_regno_for_reload_p): Regno args are unsigned.
1450         (regno_clobbered_p): Likewise.
1451         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
1452         (compute_use_by_pseudos): REGNO now unsigned.
1453         (find_reg): I and J now unsigned, new variable K, and change loop
1454         variables accordingly; THIS_NREGS now unsigned.
1455         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
1456         (spill_hard_reg): REGNO arg now unsigned; add casts.
1457         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
1458         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
1459         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
1460         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
1461         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
1462         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
1463         (emit_reload_insns): REGNO now unsigned.
1464         (reload_cse_move2add): Add cast.
1465         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
1466         and rework loop.
1467         * resource.c (mark_referenced_resources, mark_set_resources): New
1468         variable R; REGNO and LAST_REGNO now unsigned.
1469         (mark_target_live_regs): J and REGNO now unsigned.
1470         * rtl.c (mode_size, mode_unit_size): Now unsigned.
1471         * rtl.h (union rtunion_def): New field rtuint.
1472         (XCUINT): New macro.
1473         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
1474         (operand_subword, operand_subword_force): Word number is unsigned.
1475         (choose_hard_reg_mode): Operands are unsigned.
1476         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
1477         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
1478         (regno_use_in, combine_instructions, remove_death): Likewise.
1479         (reg_scan, reg_scan_update): Likewise.
1480         (extended_count): Return is unsigned.
1481         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
1482         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
1483         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
1484         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
1485         (reg_reg_last_1): FIRS and LAST now unsigned.
1486         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
1487         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
1488         now unsigned.
1489         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
1490         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
1491         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
1492         (replace_regs): Arg NREGS now unsigned.
1493         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
1494         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
1495         (simplify_binary_operation): Likewise.
1496         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
1497         THIS_LAST now unsigned.
1498         (cselib_record_set): Add cast.
1499         * ssa.c (ssa_max_reg_num): Now unsigned.
1500         (rename_block): REGNO now unsigned.
1501         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
1502         sizes now unsigned.
1503         (all_cases_count): Just return -1 not -2.
1504         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
1505         Rework tests to use trees whenever possible.
1506         Use host_integerp and tree_low_cst.
1507         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
1508         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
1509         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
1510         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
1511         (smallest_mode_for_size): Likewise.
1512         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
1513         KNOWN_ALIGN is now an alignment, so simplify code.
1514         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
1515         (start_record_layout): Renamed from new_record_layout_info.
1516         Update to new fields.
1517         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
1518         New functions.
1519         (place_union_field): Renamed from layout_union_field.
1520         Update to use new fields in rli.
1521         (place_field): Renamed from layout_field.
1522         Major rewrite to use new fields in rli; pass alignment to layout_decl.
1523         (finalize_record_size): Rework to use new fields in rli and handle
1524         union.
1525         (compute_record_mode): Rework to simplify and to use new DECL fields.
1526         (finalize_type_size): Make rounding more consistent.
1527         (finish_union_layout): Deleted.
1528         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
1529         (layout_type, case RECORD_TYPE): Call new function names.
1530         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
1531         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
1532         (get_best_mode): UNIT is now unsigned; remove casts.
1533         * tree.c (bit_position): Compute from new fields.
1534         (byte_position, int_byte_position): New functions.
1535         (print_type_hash_statistics): Cast to remove warning.
1536         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
1537         (build_index_type): Likewise; make subtype of sizetype.
1538         (build_index_2_type): Pass sizetype to build_range_type.
1539         (build_common_tree_nodes): Use size_int and bitsize_int to
1540         initialize nodes; add bitsize_{zero,one,unit}_node.
1541         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
1542         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
1543         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
1544         (DECL_FIELD_BITPOS): Deleted.
1545         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
1546         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
1547         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
1548         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
1549         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
1550         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
1551         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
1552         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
1553         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
1554         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
1555         (DECL_ALIGN): Adjust to new field in union.
1556         (DECL_OFFSET_ALIGN): New field.
1557         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
1558         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
1559         (union tree_decl): Add struct for both aligns.
1560         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
1561         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
1562         (struct record_layout_info): Rework fields to have offset
1563         alignment and byte and bit position.
1564         (start_record_layout, place_field): Renamed from old names.
1565         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
1566         (byte_position, int_byte_position): Likewise.
1567         (get_inner_reference): Change types of position and length.
1568         * unroll.c (unroll_loop): New variable R; use for some loops.
1569         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
1570         (calculate_giv_inc): Arg REGNO now unsigned.
1571         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
1572         * varasm.c (assemble_variable): Clean up handling of size using
1573         host_integerp and tree_low_cst.
1574         (decode_addr_const): Use byte, not bit, position.
1575         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
1576         use tree_low_cst and int_bit_position.
1577         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
1578         
1579 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
1580
1581         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
1582         (reorder_block_def): New members eff_head and eff_end.
1583         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
1584         (verify_insn_chain): New function.
1585         (skip_insns_between_block): Add code to skip deleted insns.
1586         Check for note before using.
1587         (chain_reorder_blocks): Replace calls to skip_insns_between_block
1588         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
1589         Check for note before using.
1590         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
1591         (fixup_reorder_chain): Restructure, clean up, defect removal.
1592         (reorder_basic_blocks): Remove last_insn and references to it.
1593         Moved insn chain verification code into a new function (see above).
1594         Delete defective code that sets last insn.
1595         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
1596         all blocks.
1597
1598 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1599
1600         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
1601
1602 2000-03-24  Richard Henderson  <rth@cygnus.com>
1603
1604         * tree.c (lang_safe_for_unsave): Remove.
1605         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
1606         allowing for two levels of unsafeness.  Remove lang hook.
1607         * tree.h: Update declarations.
1608         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
1609         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
1610         Always fail sibcalls when there are pending cleanups.
1611
1612 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
1613
1614         * flow.c (propagate_block): When we delete an ADDR_VEC,
1615         also delete the BARRIER following it if there is one.
1616
1617 2000-03-24  Richard Henderson  <rth@cygnus.com>
1618
1619         * builtins.c (expand_builtin_bzero): Convert `length' argument
1620         to sizetype.
1621
1622 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
1623
1624         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
1625         comparison if regno's are equal.
1626         * calls.c (initialize_argument_informat): Add ecf_flags argument.
1627         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
1628         (expand_call): Update caller.
1629         Avoid making a sibling call if argument size of the callee is larger
1630         than argument size of the caller.
1631         Call hard_function_value with outgoing set if in sibcall pass.
1632         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
1633
1634         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
1635         Change LEAF_REGISTERS from an array initializer to actual array
1636         identifier. Move static global variable into the function.
1637         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
1638         sequences for leaf functions.
1639         * global.c (global_alloc): Likewise.
1640         * tm.texi (LEAF_REGISTERS): Update documentation.
1641
1642         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
1643         TARGET_FLAT leaf disabling hack.
1644         (LEAF_REGISTERS): Changed from an array initializer to actual array
1645         identifier to avoid duplication and remove the above hack.
1646         (FUNCTION_OK_FOR_SIBCALL): Define.
1647         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
1648         always like call attribute.
1649         (eligible_for_sibcall_delay): New attribute.
1650         (sibcall): New delay type.
1651         (sibcall, sibcall_value, sibcall_epilogue): New expands.
1652         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
1653         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
1654         * config/sparc/sparc.c (sparc_leaf_regs): New array.
1655         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
1656         New functions.
1657         (output_function_epilogue): Move part of the code into
1658         output_restore_regs.
1659         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
1660         TYPE_SIBCALL.
1661         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
1662         prototypes.
1663
1664         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
1665         until infrastructure is finished.
1666
1667 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
1668
1669         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
1670         (save_parm_insns): Not here.
1671
1672 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1673
1674         * builtins.c (expand_builtin_bzero): New function.
1675         (expand_builtin): Handle bzero.
1676
1677         * builtins.def: Add BUILT_IN_BZERO.
1678
1679         * c-common.c (c_common_nodes_and_builtins): Provide builtin
1680         prototype & function for bzero.
1681
1682 2000-03-23  Michael Meissner  <meissner@redhat.com>
1683
1684         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
1685         change adding TARGET_FP to the TF floating point insns, except for
1686         trunctfsf2, which generates direct calls to truncdfsf2.
1687
1688 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
1689
1690         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
1691         try to protect against middle-end changes that break binary
1692         compatibility.
1693         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
1694
1695 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1696
1697         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
1698
1699 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1700
1701         * calls.c (expand_call): If TARGET is passed by reference and
1702         is readonly, write a CLOBBER.
1703
1704 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1705
1706         * builtins.c (expand_builtin): Handle bcmp.
1707
1708         * builtins.def: Add BUILT_IN_BCMP.
1709
1710         * c-common.c (c_common_nodes_and_builtins): Provide builtin
1711         prototype & function for bcmp.
1712
1713 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
1714
1715         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
1716         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
1717         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
1718
1719 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
1720
1721         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
1722         alternative when using -fp64 -gp32.
1723
1724 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
1725
1726         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
1727         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
1728         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
1729
1730         * frame.h (frame_state): Revert last change.
1731         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
1732         * libgcc2.c (throw_helper): Revert last change.
1733         
1734 2000-03-22  Richard Henderson  <rth@cygnus.com>
1735
1736         * stmt.c (expand_asm_operands): Don't promote the temporary.
1737
1738 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1739
1740         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
1741         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
1742           c_get_alias_set): Likewise.
1743         * c-decl.c (duplicate_decls): Likewise.
1744         * c-typeck.c (default_conversion,build_unary_op): Likewise.
1745         * calls.c (initialize_argument_information): Likewise.
1746         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
1747         Likewise.
1748         * dwarfout.c (decl_class_context,output_type): Likewise.
1749         * expr.c (get_inner_reference): Likewise.
1750         * fold-const.c (simple_operand_p,fold): Likewise.
1751         * function.c (aggregate_value_p): Likewise.
1752         * stmt.c (expand_asm_operands): Likewise.
1753         * varasm.c (named_section): Likewise.
1754
1755 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
1756
1757         Implement dwarf2 exception handling for the ARM.
1758         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
1759         (DWARF_FRAME_RETURN_COLUMN): Define.
1760         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
1761         REG_FRAME_RELATED_EXPR note.
1762         (emit_sfm): Likewise.
1763         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
1764         * dwarf2out.c (reg_save): Handle saving a register to itself.
1765         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
1766         * except.c (eh_regs): Don't use the static chain reg if it's
1767         callee-saved.
1768         * frame.h (frame_state): Add cfa_saved field.
1769         * frame.c (execute_cfa_insn): Set it.
1770         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
1771         the epilogue.
1772         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
1773         Now takes a parm.
1774         (instantiate_virtual_regs): Adjust.
1775         * tm.texi: Adjust.
1776         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
1777         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
1778         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
1779
1780         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
1781         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
1782
1783 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1784
1785         * builtins.def: New file.
1786
1787         * Makefile.in (TREE_H): Depend on builtins.def.
1788
1789         * builtins.c (built_in_names): Use builtins.def.
1790
1791         * tree.h (built_in_function): Likewise.
1792
1793 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
1794
1795         * tree.c (size_in_bytes): Return size_zero_node, not
1796         integer_zero_node.
1797
1798 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
1799
1800         * config/fp-bit.c (pack_d): Correct the case when a denormal
1801         is rounded up and stops being denormal.
1802
1803 2000-03-21  Richard Henderson  <rth@cygnus.com>
1804
1805         * config/alpha/alpha.c (function_arg): Check for void_type_node
1806         before using MUST_PASS_IN_STACK.
1807
1808 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
1809
1810         * regmove.c (combine_stack_adjustments_for_block): Check that
1811         the stack pointer is a valid memory address.
1812
1813 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
1814
1815         * calls.c: re-install Mar 16 emit_library_call merge.
1816
1817 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
1818
1819         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
1820         we cannot be sure that if reload_completed base register will
1821         be properly aligned.
1822
1823 2000-03-21  Richard Henderson  <rth@cygnus.com>
1824
1825         * flow.c (delete_block): Fix typo last change.
1826
1827 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
1828
1829         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
1830         not COMPLETE_TYPE_P, to check the type of the expression.
1831
1832 2000-03-21  Michael Meissner  <meissner@redhat.com>
1833
1834         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
1835         all floating point insns that just tested the macro
1836         TARGET_HAS_XFLOATING_LIBS.
1837         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
1838         used to only use the gprs.
1839
1840 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
1841
1842         * tree.h (COMPLETE_TYPE_P): New macro.
1843         (COMPLETE_OR_VOID_TYPE_P): New macro.
1844         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
1845         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
1846         * c-aux-info.c (gen_type): Use them.
1847         * c-common.c (c_expand_expr_stmt): Likewise.
1848         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
1849         grokdeclarator, grokparms, finish_struct, start_function,
1850         store_parm_decls, combine_parm_decls): Likewise.
1851         * c-parse.y (cast_expr): Likewise.
1852         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
1853         c_size_in_bytes, c_alignof, build_component_ref,
1854         build_indirect_ref, build_array_ref, convert_arguments,
1855         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
1856         * calls.c (initialize_argument_information): Likewise.
1857         * convert.c (convert_to_integer): Likewise.
1858         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
1859         * dwarfout.c (location_or_const_value_attribute,
1860         output_enumeration_type_die, output_structure_type_die,
1861         output_union_type_die, output_type): Likewise.
1862         * expr.c (safe_from_p, expand_expr): Likewise.
1863         * function.c (assign_parms): Likewise.
1864         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
1865         * tree.c (build_array_type, build_function_type,
1866         build_method_type, build_offset_type, build_complex_type): Likewise.
1867         * c-parse.c, c-parse.h: Regenerated.
1868
1869 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1870
1871         * config/c4x/rtems.h: Include config/rtems.h.
1872
1873 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
1874
1875         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
1876         decl is a FUNCTION_DECL
1877
1878 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
1879
1880         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
1881         function uses output registers.  Don't save RP for leaf functions.
1882         Do save RP even if no epilogue.
1883         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
1884         (CALL_USED_REGISTERS): Unmark in registers.
1885         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
1886         to near the middle.
1887
1888 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
1889
1890         * config/rs6000/rs6000.md (bunordered): New expander.
1891         (bordered): New expander.
1892         (buneq): New expander.
1893         (bunge): New expander.
1894         (bungt): New expander.
1895         (bunle): New expander.
1896         (bunlt): New expander.
1897         (bltgt): New expander.
1898  
1899         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
1900         (ccr_bit_negated_p): New function.
1901         (print_operand): For %C, generate appropriate cror for UNEQ,
1902         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
1903
1904 2000-03-20  Andreas Jaeger  <aj@suse.de>
1905
1906         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
1907         warning.
1908
1909         * tree.h (safe_for_unsave): Prototype.
1910
1911 2000-03-20  Richard Henderson  <rth@cygnus.com>
1912
1913         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
1914         (combine_stack_adjustments_for_block): Don't allow sp references
1915         in the side of a set we're not fixing up.
1916         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
1917         after life_analysis.
1918
1919 2000-03-20  Richard Henderson  <rth@cygnus.com>
1920
1921         * calls.c (expand_call): Don't bother generating tail call
1922         sequences if there are pending cleanups.  Use
1923         expand_start_target_temps/expand_end_target_temps to elide
1924         cleanups created during sibcall expansion.
1925
1926 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
1927
1928         * configure.in: Set $IFS to a value if it doesn't already have one
1929         in the --enable-checking handling.
1930         * configure: Regenerate.
1931
1932 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1933
1934         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
1935         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
1936         Regenerated.
1937
1938 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
1939
1940         * jump.c (delete_noop_moves): Remove code attempting to
1941         combine stack adjustments.
1942
1943 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1944
1945         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
1946         * except.c (emit_cleanup_handler): Use them.
1947         (expand_end_all_catch): Likewise.
1948         * function.c (fixup_var_refs): Likewise.
1949         (expand_function_end): Clear catch_clauses_last.
1950         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
1951         * except.h (struct eh_status): New field x_catch_clauses_last.
1952         (catch_clauses_last): New define.
1953
1954         * Makefile.in (tree.o): Depend on HASHTAB_H.
1955         * tree.c: Include hashtab.h.
1956         (struct type_hash): Remove next field.
1957         (TYPE_HASH_SIZE): Remove.
1958         (TYPE_HASH_INITIAL_SIZE): New define.
1959         (type_hash_table): Change type to htab_t.
1960         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
1961         mark_hash_entry): New functions.
1962         (init_obstacks): Allocate type hash.
1963         (type_hash_lookup): Use htab functions.
1964         (type_hash_add, mark_type_hash): Likewise.
1965         (dump_tree_statistics): Call print_type_hash_statistics.
1966
1967 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1968
1969         * rs6000/t-aix41: New file.
1970
1971         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
1972
1973 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
1974
1975         * tm.texi (Driver): Fix typos and tweak entry for
1976         INCLUDE_DEFAULTS.
1977         Move misplaced STRUCT_FORCE_BLK entry ...
1978         (Storage Layout): ... to here.
1979         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
1980
1981 2000-03-19  Richard Henderson  <rth@cygnus.com>
1982
1983         * flow.c (delete_block): Delete the addr_vec along with the block.
1984         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
1985         reference labels.
1986
1987         * fold-const.c (extract_muldiv): Apply type check for defined
1988         overflow to multiply as well as divide.
1989
1990         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
1991
1992 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
1993
1994         * emit-rtl.c (remove_unncessary_notes): Check that all
1995         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
1996         associated NOTE_BLOCK.
1997         * function.h (identify_blocks): Update comments.
1998         (reorder_blocks): Declare.
1999         * function.c (identify_blocks): Don't take paramters.
2000         (reorder_blocks): Don't take parameters.
2001         * loop.h (find_loop_tree_blocks): Remove.
2002         (unroll_block_trees): Likewise.
2003         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
2004         reorder_blocks instead of unroll_block_trees.h
2005         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
2006         * stmt.c (find_loop_tree_blocks): Remove.
2007         (unroll_block_trees): Likewise.
2008         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
2009         in whole-function mode.
2010         * tree.h (reorder_blocks): Remove declaration.
2011
2012         * expr.c: Include intl.h.
2013         * Makefile.in (expr.o): Depend on intl.h.
2014         
2015 2000-03-18  Richard Henderson  <rth@cygnus.com>
2016
2017         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
2018
2019 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2020
2021         * tree.h (tree_index): Remove enumerals for integer types.
2022         (integer_type_kind): New type.
2023         (integer_types): New variable.
2024         (char_type_node): Adjust.
2025         (signed_char_type_node): Likewise.
2026         (unsigned_char_type_node): Likewise.
2027         (short_integer_type_node): Likewise.
2028         (short_unsigned_type_node): Likewise.
2029         (integer_type_node): Likewise.
2030         (unsigned_type_node): Likewise.
2031         (long_integer_type_node): Likewise.
2032         (long_unsigned_type_node): Likewise.
2033         (long_long_integer_type_node): Likewise.
2034         (long_long_unsigned_type_node): Likewise.
2035         * tree.c (integer_types): New variable.
2036         (init_obstacks): Register it as a root.
2037
2038 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
2039
2040         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
2041         NEXT_INSN. Update last insn in chain.
2042
2043 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
2044
2045         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
2046         with TYPE_DECL_SUPPRESS_DEBUG set.
2047
2048 2000-03-18  Richard Henderson  <rth@cygnus.com>
2049
2050         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
2051
2052 2000-03-18  Richard Henderson  <rth@cygnus.com>
2053
2054         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
2055         care for HALF_PIC_P.
2056         (expander_call_insn_operand): Remove.
2057         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
2058         * i386.h (PREDICATE_CODES): Update.
2059         * i386.md (all call expanders): Remove predicates, remove special
2060         handling for half-pic.
2061         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
2062         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
2063         (sibcall_epilogue): New.
2064
2065 2000-03-17  Richard Henderson  <rth@cygnus.com>
2066
2067         * rtlanal.c (single_set): Reject if the parallel has anything
2068         except SET or USE or CLOBBER.
2069
2070 2000-03-17  Jeff Law  <law@cygnus.com>
2071             Richard Henderson  <rth@cygnus.com>
2072
2073         * Makefile.in (OBJS): Add sibcall.o.
2074         (sibcall.o): New.
2075         * sibcall.c: New file.
2076         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2077         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2078         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2079         Emit sibcall patterns when requested.  Update all callers.
2080         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2081         elimination seems feasable.
2082         * final.c (leaf_function_p): Sibling calls don't discount being
2083         a leaf function.
2084         * flow.c (HAVE_sibcall_epilogue): Provide default.
2085         (find_basic_blocks_1): Sibling calls don't throw.
2086         (make_edges): Make edge from sibling call to EXIT.
2087         (propagate_block): Don't remove sibcall_epilogue insns.
2088         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
2089         (sibcall_epilogue): New.
2090         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2091         (identify_blocks_1): Likewise.  Break out from ...
2092         (identify_blocks): ... here.
2093         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
2094         (reorder_blocks): ... here.
2095         (init_function_for_compilation): Zap prologue/epilogue as varrays.
2096         (record_insns): Extend a varray instead of mallocing new memory.
2097         (contains): Read a varray not array of ints.
2098         (sibcall_epilogue_contains): New.
2099         (thread_prologue_and_epilogue_insns): Emit and record
2100         sibcall_epilogue patterns.
2101         (init_function_once): Allocate prologue/epilogue varrays.
2102         * genflags.c (gen_insn): Treat sibcall patterns as calls.
2103         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2104         Broken out from ...
2105         (save_for_inline_nocopy): ... here.
2106         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
2107         Broken out from ...
2108         (expand_inline_function): ... here.
2109         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
2110         (subst_constants): Handle 'n' formats.
2111         * jump.c (jump_optimize_minimal): New.
2112         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
2113         optimizations if it's set.
2114         * rtl.c (copy_rtx): Do copy jump & call for insns.
2115         * rtl.h (struct rtx_def): Document use of jump and call for insns.
2116         (SIBLING_CALL_P): New.
2117         (sibcall_use_t): New.
2118         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
2119         Invoke optimize_sibling_and_tail_recursive_calls.
2120         * tree.c (lang_safe_for_unsave): New.
2121         (safe_for_unsave): New.
2122         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
2123
2124         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
2125         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
2126         (*sibcall_osf_1, *sibcall_value_osf_1): New.
2127
2128 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
2129
2130         * objc/objc-act.c (encode_method_prototype): Pass types, not
2131         PARM_DECLs, to int_size_in_bytes.
2132
2133 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
2134
2135         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
2136
2137         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2138         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
2139
2140 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2141
2142         * Clean up usages of TREE_INT_CST_LOW.
2143         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
2144         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2145         Regenerated.
2146         * c-tree.h (min_precision): Move declaration to here.
2147         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
2148         (build_unary_op, add_pending_init): Use bit_position.
2149         (pending_init_member, process_init_element): Likewise.
2150         (really_start_incremental_init, push_init_level, pop_init_level):
2151         Don't make copies of nodes or modify them in place, use consistent
2152         types when tracking positions, and use tree routines computations.
2153         (set_init_index, output_init_element): Likewise.
2154         (output_pending_init_elements, process_init_element): Likewise.
2155         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
2156         tree_low_cst and int_bit_position; also minor cleanup.
2157         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
2158         (print_cst_octal): Precision is unsigned.
2159         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
2160         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
2161         (simple_type_align_in_bits): Result is unsigned int.
2162         Use tree_int_low_cst and host_integerp.
2163         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
2164         (field_byte_offset): Result is HOST_WIDE_INT.
2165         Change types of internal variables so alignments are unsigned int,
2166         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
2167         Use host_integerp, tree_low_cst, and int_bit_position.
2168         (add_bit_offset_attribute): Likewise.
2169         (add_data_member_location_attribute): Use tree_cst_low.
2170         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
2171         (add_bit_size_attribute): Use tree_low_cst.
2172         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
2173         * dwarfout.c: Similar changes to dwarf2out.c.
2174         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
2175         * genoutput.c (n_occurences): Return -1 for null string.
2176         (strip_whitespace): Accept null string and make into function.
2177         (scan_operands): Reflect above changes.
2178         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
2179         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
2180         * ssa.c (rename_registers): Add missing cast of arg to bzero.
2181         * tree.c (int_size_in_bytes): Check for too big to represent.
2182         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
2183         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
2184         New declarations.
2185         (min_precision): Delete from here.
2186         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
2187         and int_bit_position.
2188         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
2189         (encode_method_def): Likewise.
2190         (build_ivar_list_initializer): Use int_bit_position.
2191         (generate_shared_structures): Convert size.
2192         (encode_type, encode_complete_bitfield): Use integer_zerop.
2193         (encode_bitfield): Use tree_low_cst and int_bit_position.
2194         
2195 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2196
2197         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
2198
2199 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2200
2201         * call.c (special_function_p): It is only malloc if it returns
2202         Pmode.
2203
2204 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2205
2206         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
2207         (C33_FLAG, TARGET_C3X): Add macros.
2208         (TARGET_SWITCHES): Add -m33 option.
2209         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
2210         
2211 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2212         
2213         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
2214         (PARALLEL_PACK_FLAG): Delete.
2215         (TARGET_SWITCHES): Update.
2216         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
2217
2218 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2219
2220         * fold-const.c (fold): Fix a few cases when the returned result
2221         is not of the same type as the input.
2222
2223 2000-03-16  Nick Clifton  <nickc@cygnus.com>
2224
2225         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
2226         warning.
2227
2228 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2229
2230         * libgcc2.h: Move prototypes above macros with the same name.
2231         Wrap some function prototypes in the conditional which indicates
2232         whether they are supported, i.e. "BITS_PER_UNIT == 8".
2233
2234 2000-03-16  Richard Henderson  <rth@cygnus.com>
2235
2236         * calls.c: Revert last two changes.
2237
2238 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
2239
2240         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
2241         has exponent 0 is a zero.
2242
2243         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
2244         HASH may already be nonzero.  Add code/mode into hash value
2245         immediately after repeat label.
2246         (cselib_lookup): Don't leave the hash table in an inconsistent
2247         state before a hash lookup operation.
2248
2249 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
2250
2251         * i386.md (all HI and QI mode non-move patterns):  Conditionize
2252         by TARGET_[HQ]IMODE_MATH.
2253         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2254         x86_promote_qi_regs): Declare.
2255         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
2256         TARGET_PROMOTE_QI_REGS): New macros.
2257         (PROMOTE_MODE): New macro.
2258         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2259         x86_promote_qi_regs): New global variables.
2260
2261 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
2262
2263         * calls.c (emit_library_call_value_1): Break out from ...; handle
2264         VOIDmode function calls too.
2265         (emit_library_call_value): ... here.
2266         (emit_library_call): Implement by calling emit_library_call_value_1.
2267
2268 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
2269
2270         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
2271         Update arg_space_so_far on stack adjustments.
2272         (emit_library_call, emit_library_call_value): Likewise; take into
2273         account arg_space_so_far and pending_stack_adjust when calculcating
2274         the boundary.
2275
2276 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
2277
2278         * flow.c: Move all basic block reordering code into its own file.
2279         (create_basic_block): Externalize.
2280         * bb-reorder.c: New file. Copy all basic block reordering code from
2281         flow.c to this file.
2282         (reorder_basic_blocks): Fix fencepost error in for-loop.
2283         (reorder_basic_blocks): Remove braces from single statement for-loops.
2284         * basic-block.h: Add declaration for create_basic_block.
2285         * Makefile.in: Add rules for bb-reorder.o.
2286
2287 2000-03-16  Neil Booth  <NeilB@earthling.net>
2288
2289         * cppinit.c (handle_option):  Implement #unassert directive
2290         as -A- command line option.
2291         (print_help):  Update.
2292         * cpptexi.c:  Update.
2293
2294 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2295
2296         * md.texi (Standard Names): Document `jump'.
2297
2298 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2299
2300         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
2301         gotos.
2302
2303 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
2304
2305         See the ChangeLog on the branch for more details.
2306         
2307         * configure.in: Merge in changes from newppc-branch.
2308         * configure: Regenerate.
2309         * config/rs6000/*: Merge in changes from newppc-branch.
2310         Also correct copyright notices.
2311
2312 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
2313
2314         * acconfig.h (HAVE_GAS_WEAK): New define.
2315         * configure.in (assembler weak support): Check for .weak support.
2316         * config.in, configure: Rebuilt.
2317         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
2318         HAVE_GAS_WEAK is defined.
2319
2320 2000-03-15  Nick Clifton  <nickc@cygnus.com>
2321
2322         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
2323         asm_fprintf().
2324
2325 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
2326
2327         * cppfiles.c (open_include_file): New function.
2328         (find_include_file, cpp_read_file): Use it.
2329
2330 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2331
2332         * cpphash.c (dump_hash_helper): Take the slot, not the element.
2333
2334 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
2335
2336         * flow.c (verify_flow_info): Check for unconditional return.
2337
2338 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
2339
2340         * config/ia64/ia64.md (restore_stack_nonlocal): New.
2341         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
2342         (__ia64_restore_stack_nonlocal): New.
2343         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
2344
2345 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2346
2347         * cpphash.c (collect_formal_parameters): Do not complain about
2348         parameter names that just start with `__VA_ARGS__'.
2349
2350 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
2351
2352         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
2353         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
2354         * i386.c (pentiumpro_cost): Set mul cost to 4.
2355         (x86_use_movx): Set for PPro.
2356
2357 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
2358
2359         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
2360         STACK_BOUNDARY for empty frames now.
2361
2362 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
2363
2364         * stor-layout.c (layout_union): Remove.
2365         (layout_union_field): New function, split out from layout_union.
2366         (finish_union_layout): Likewise.
2367         (layout_field): Handle unions by calling layout_union_field.
2368         (finish_record_layout): Handle unions.
2369         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
2370         QUAL_UNION_TYPE handling.
2371
2372 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
2373
2374         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
2375         end of basic block is jump_insn, not barrier; use create_basic_block
2376         instead of creating basic block by hand.
2377
2378 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
2379
2380         * flow.c (reorder_basic_blocks): Account for barriers when writing
2381         over NEXT_INSN (last_bb->end).
2382         (verify_flow_info): Add check for missing barriers.
2383
2384 2000-03-14  Greg McGary  <gkm@gnu.org>
2385
2386         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
2387         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
2388         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
2389         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
2390         __unbounded, __unbounded__): New keywords.
2391         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
2392         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
2393         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
2394
2395 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2396
2397         * cselib.h: New file.
2398         * alias.c: Include "cselib.h".
2399         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
2400         MEMs as two new arguments.
2401         (get_addr): New static function.
2402         (find_base_term): Handle VALUEs.
2403         (memrefs_conflict_p): Likewise.
2404         (true_dependence): Call get_addr on the addresses.
2405         Call fixed_scalar_and_varying_struct_p with addresses that have been
2406         passed through get_addr and canon_rtx.
2407         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
2408         with true_dependence.
2409         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
2410         * loop.c: Include "cselib.h".
2411         (load_mems): Process extended basic block that enters the loop with
2412         cselib.  Use that information to change initialization of the shadow
2413         register so that a constant equivalence is seen by later passes.
2414         * reload1.c: Include "cselib.h".
2415         (reload_cse_invalidate_regno): Delete function.
2416         (reload_cse_mem_conflict_p): Likewise.
2417         (reload_cse_invalidate_mem): Likewise.
2418         (reload_cse_invalidate_rtx): Likewise.
2419         (reload_cse_regno_equal_p): Likewise.
2420         (reload_cse_check_clobber): Likewise.
2421         (reload_cse_record_set): Likewise.
2422         (reg_values): Delete static variable.
2423         (invalidate_regno_rtx): Likewise.
2424         (reload_cse_delete_noop_set): New static function.
2425         (reload_cse_simplify): New static function, broken out of
2426         reload_cse_regs_1.
2427         (reload_cse_noop_set_p): Delete unused argument INSN.
2428         Just call rtx_equal_for_cselib_p on set source and destination.
2429         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
2430         reload_cse_delete_noop_set.  Delete code to keep track of values; use
2431         cselib functions instead.  Delete code to push/pop obstacks.
2432         (reload_cse_simplify_set): Use cselib to find equivalent values.
2433         Delete code to push/pop obstacks.
2434         (reload_cse_simplify_operands): Likewise.
2435         * rtl.def (VALUE): New rtx code.
2436         * rtl.h (union rtunion_def): New elt rt_cselib.
2437         (X0CSELIB, CSELIB_VAL_PTR): New macros.
2438         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
2439         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
2440         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
2441         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
2442         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
2443         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
2444         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
2445         cselib_record_set, cselib_record_sets): New static functions.
2446         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
2447         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
2448         references_value_p): New functions.
2449         (MAX_USELESS_VALUES, REG_VALUES): New macros.
2450         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
2451         n_useless_values, reg_values, callmem, cselib_obstack,
2452         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
2453         New static variables.
2454         * varray.h (union varray_data_tag): New elt te.
2455         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
2456         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
2457         dependencies.
2458
2459 2000-03-14  Nick Clifton  <nickc@cygnus.com>
2460
2461         * gcc.c (do_spec_1): Catch the case where %* is used in a
2462         substitution pattern, but it has not been initialised.
2463         Issue a meaningful error message if an unrecognised operator
2464         is encountered in a spec string.
2465
2466 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
2467
2468         * function.c (prepare_function_start): Correctly initialize
2469         cfun->stack_alignment_needed.
2470
2471 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
2472
2473         * cppfiles.c (find_include_file): Don't assume nshort is a
2474         substring of name.
2475
2476 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
2477
2478         * configure.in (hppa configurations): Add pa32-regs.h to the
2479         list of tm files as appropriate.
2480         * configure: Rebuilt.
2481         * pa.c (compute_frame_size): Remove explicit knowledge about FP
2482         register numbering.
2483         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
2484         (fmpyaddoperands, fmpysuboperands): Likewise.
2485         * pa.h: Remove various definitions which depend on knowing
2486         how registers are numbered.
2487         * pa32-regs.h: New file with PA32 register numbering specific
2488         definitions.
2489
2490 2000-03-14  Richard Henderson  <rth@cygnus.com>
2491
2492         * regmove.c (combine_stack_adjustments): New.
2493         (stack_memref_p, single_set_for_csa): New.
2494         (free_csa_memlist, record_one_stack_memref): New.
2495         (try_apply_stack_adjustment): New.
2496         (combine_stack_adjustments_for_block): New.
2497         * rtl.h (combine_stack_adjustments): Declare.
2498         * toplev.c (rest_of_compilation): Call it.
2499
2500         * i386.md: Revert 2000-01-16 change.
2501
2502 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2503
2504         * gccbug.in: Add web category, gcc specific classes.
2505
2506 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
2507
2508         * stor-layout.c (finalize_record_size): Fix typo.
2509
2510 2000-03-14  Stan Shebs  <shebs@apple.com>
2511
2512         * c-typeck.c (c_alignof): Error on incomplete types.
2513         * extend.texi (Alignment): Document this.
2514
2515 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2516
2517         * cppfiles.c: Include mkdeps.h.
2518         (find_include_file, read_include_file): Remove _cpp_ prefix
2519         from name, make static.
2520         (_cpp_execute_include): New function, broken out of
2521         do_include.
2522
2523         * cpplib.c: Don't include mkdeps.h.
2524         (struct directive): Remove type field. Reorder entries.  The
2525         function takes only one argument.
2526         (struct if_stack): Make type field an int.
2527         (directive_table): Rename to dtable.  Generate it, the
2528         prototypes of the directive handlers, and the enum for the
2529         directive numbers, from a template macro.
2530         (do_ifndef, do_include_next, do_import): New functions.
2531         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
2532         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
2533         do_ident, do_assert, do_unassert, do_sccs): Take only one
2534         argument.
2535         (do_sccs): Define always, but alter behavior based on
2536         SCCS_DIRECTIVE.
2537         (_cpp_handle_directive, consider_directive_while_skipping):
2538         Restructure for new directive table layout.
2539
2540         (pass_thru_directive): Take a directive number, not a pointer
2541         to a struct directive.
2542         (parse_include): New function, broken out of do_include.
2543         (do_include, do_import, do_include_next): Use parse_include
2544         and _cpp_execute_include.
2545         (do_elif, do_else): Test for T_ELSE specifically when checking
2546         for #elif/#else after #else.
2547         (parse_ifdef): New function, broken out of do_ifdef.
2548         (validate_else): Expect a name arg without a leading #.
2549         (if_directive_name): Delete.
2550         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
2551         directive handlers with only one argument.
2552
2553         * cpphash.h: Update prototypes.
2554         (enum node_type): Remove entries for directives.
2555         * Makefile.in: Update dependencies.
2556
2557         * cpphash.c (dump_hash_helper): Only dump nodes of type
2558         T_MACRO.  Emit a newline after each definition.
2559
2560 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2561
2562         * gccbug.in: New file.
2563         * configure.in (all_outputs): Add gccbug.
2564         * Makefile.in (install-common): Install gccbug.
2565         (GCCBUG_INSTALL_NAME): New variable.
2566         * configure: Rebuilt.
2567         
2568 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
2569
2570         * function.c (put_var_into_stack): Use type_for_mode to calculate
2571         part_type.  Use MEM_SET_IN_STRUCT_P.
2572         * expr.c (store_field): Handle CONCAT.
2573         (store_constructor): Use fields_length.
2574         * tree.c (fields_length): New fn.
2575         * tree.h: Declare it.
2576
2577 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2578
2579         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
2580         (cpplex.o): New target.
2581         * po/POTFILES.in: Add cpplex.c.
2582
2583         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
2584         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
2585         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
2586         skip_block_comment, skip_line_comment, skip_comment,
2587         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
2588         _cpp_parse_name, skip_string, parse_string,
2589         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
2590         _cpp_get_directive_token, find_position,
2591         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
2592         (maybe_macroexpand, _cpp_lex_token): New functions.
2593
2594         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
2595         parse_goto_mark): Delete.
2596         (_cpp_handle_eof): New function.
2597         (_cpp_handle_directive): Rename from handle_directive.
2598         (_cpp_output_line_command): Rename from output_line_command.
2599         (do_if, do_elif): Call _cpp_parse_expr directly.
2600         * cppfiles.c (_cpp_read_include_file): Don't call
2601         init_input_buffer here.
2602         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
2603         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
2604         here; pop the token_buffer and skip the rest of the line here.
2605         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
2606         here.
2607
2608         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
2609         Define here.
2610         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
2611         CPP_GOTO_MARK): New macros.
2612         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
2613         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
2614         _cpp_read_and_prescan, _cpp_init_input_buffer,
2615         _cpp_grow_token_buffer, _cpp_get_directive_token,
2616         _cpp_handle_directive, _cpp_handle_eof,
2617         _cpp_output_line_command): Prototype them here.
2618         * cpplib.h (enum cpp_token): Add CPP_MACRO.
2619         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
2620         quote_string, output_line_command): Remove.
2621
2622 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
2623
2624         * stmt.c (expand_end_case): RANGE may be signed, and when checking
2625         whether it is too large we must also verify that it isn't negative.
2626
2627 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
2628
2629         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
2630         (movsi_zero_liveg0): Remove.
2631         (movsf_insn_novis_liveg0): Remove.
2632         (negsi2): Remove.
2633         (negsi2_not_liveg0): Rename to negsi2.
2634         (one_cmplsi2): Remove.
2635         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
2636         (one_cmplsi2_liveg0): Remove.
2637         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
2638         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
2639         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
2640         (PREDICATE_CODES): Remove zero_operand.
2641         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
2642         TARGET_BROKEN_SAVERESTORE.
2643         (zero_operand): Remove.
2644         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
2645         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
2646         options.
2647         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2648         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
2649         TARGET_BROKEN_SAVERESTORE): Remove.
2650         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2651         Remove.
2652         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2653         Remove.
2654         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2655         Remove.
2656
2657         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
2658
2659 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2660
2661         * cpplib.c (do_pragma_implementation): Fix off-by-one error
2662         truncating a string.  Don't assume tokens are nul terminated.
2663         Problem noted by Andreas Jaeger <aj@suse.de>
2664
2665 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
2666
2667         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
2668         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
2669         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
2670
2671 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
2672
2673         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
2674         STRUCTURE_SIZE_BOUNDARY.
2675
2676 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
2677
2678         * tree.h (record_layout_info_s): New structure.
2679         (record_layout_info): New type.
2680         (new_record_layout_info): New function.
2681         (layout_field): Likewise.
2682         (finish_record_layout): Likewise.
2683         * stor-layout.c (layout_record): Remove.
2684         (new_record_layout_info): New function.
2685         (layout_field): New function, broken out from layout_record.
2686         (finalize_record_size): Likewise.
2687         (compute_record_mode): Likewise.
2688         (finalize_type_size): New function, broken out from layout_type.
2689         (finish_record_layout): Likewise.
2690         (layout_type): Use them.
2691         
2692 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
2693
2694         * cpphash.c: Don't include version.h.
2695         (special_symbol) [case T_VERSION]: Look for the string in
2696         hp->value.cpval; don't use version_string.
2697         * cppinit.c (initialize_builtins): Set hp->value.cpval for
2698         __VERSION__ to version_string.
2699         * Makefile.in (cpphash.o): Update deps.
2700
2701 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
2702
2703         Convert cpplib to use libiberty/hashtab.c.
2704
2705         * cpplib.h (struct cpp_reader): Make hashtab and
2706         all_include_files of type 'struct htab *'.  Delete HASHSIZE
2707         and ALL_INCLUDE_HASHSIZE macros.
2708
2709         * cpphash.h: Update prototypes.
2710         (struct hashnode): Remove next, prev, and bucket_hdr members.
2711         Make length a size_t.  Add hash member.
2712         (struct ihash): Remove next member.  Add hash member.  Make
2713         name a flexible array member.
2714
2715         * cppfiles.c: Include hashtab.h.
2716         (include_hash): Delete.
2717         (IHASHSIZE): New macro.
2718         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
2719         (cpp_included): Do the hash lookup here.
2720         (_cpp_find_include_file): Rewrite.
2721         (cpp_read_file): Put the "fake" hash entry into the hash
2722         table.  Honor the control_macro, if it turns out we've seen
2723         the file before.  Don't push the buffer here.
2724         (_cpp_read_include_file): Push the buffer here.
2725         (OMODES): New macro.  Use it whenever we call open(2).
2726
2727         * cpphash.c: Include hashtab.h.
2728         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
2729         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
2730         _cpp_lookup_slot): New functions.
2731         (HASHSIZE): new macro.
2732         (hashf, _cpp_install, _cpp_delete_macro): Delete.
2733         (_cpp_lookup): Use hashtab.h routines.
2734
2735         * cppinit.c: Include hashtab.h.
2736         (cpp_reader_init): Call _cpp_init_macro_hash and
2737         _cpp_init_include_hash.  Don't allocate hashtab directly.
2738         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
2739         pfile->all_include_files.
2740         (initialize_builtins): Use _cpp_make_hashnode and
2741         htab_find_slot to add hash entries.
2742         (cpp_finish): Just call _cpp_dump_macro_hash.
2743         * cpplib.c: Include hashtab.h.
2744         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
2745         create hash entries.
2746         (do_pragma_poison, do_assert): Likewise.
2747         (do_include): Don't push the buffer here.  Don't increment
2748         system_include_depth unless _cpp_read_include_file succeeds.
2749         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
2750         or htab_remove_elt.
2751         (do_pragma_implementation): Use alloca to create copy.
2752
2753         * Makefile.in: Update dependencies.
2754
2755 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2756
2757         * cppinit.c (cl_directive_handler): More K&R fixing.
2758
2759 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
2760
2761         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
2762         STACK_BOUNDARY.
2763         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
2764
2765 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2766
2767         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
2768         Change from char[] to macros.
2769
2770 2000-03-12  Neil Booth  <NeilB@earthling.net>
2771
2772         * cppinit.c (cpp_start_read): Update indirect function
2773         call to K&R C.
2774
2775 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
2776
2777         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
2778         entry.
2779
2780         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2781         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
2782
2783 2000-03-11  Neil Booth  <NeilB@earthling.net>
2784
2785         * cppinit.c (struct pending option): Replace undef with a 
2786         pointer to a directive handling routine.
2787         (struct cpp_pending): Replace separate assert_ and define_ 
2788         lists with one directive_ list.
2789         (new_pending_define): Rename new_pending_directive. Extra
2790         argument is the directive's handling routine.
2791         (handle_option): Update to use new_pending_directive.
2792
2793 2000-03-11  Neil Booth  <NeilB@earthling.net>
2794
2795         * cppfiles.c (file_cleanup, _cpp_find_include_file,
2796         remap_filename, _cpp_read_include_file, actual_directory,
2797         hack_vms_include_specification): Replace bcopy(), index() etc
2798         calls.  Add casts to some allocations.  Make some variables
2799         pointers to const [unsigned] char.
2800         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
2801         collect_formal_parameters): Similarly.
2802         * cppinit.c (struct pending_option, append_include_chain,
2803         cpp_options_init, cpp_reader_init, initialize_standard_includes,
2804         cpp_start_read, new_pending_define, handle_option): Similarly.
2805         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
2806         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
2807         do_pragma_implementation, detect_if_not_defined,
2808         do_ifdef, skip_if_group, cpp_get_token, parse_string,
2809         do_assert, do_unassert): Similarly.
2810         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
2811         function prototypes.
2812         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
2813
2814 2000-03-10  Richard Henderson  <rth@cygnus.com>
2815
2816         * builtins.c (expand_builtin_strlen): Revert last change.
2817         Use emit_insn_before if we're at the beginning of a sequence.
2818
2819 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
2820
2821         * builtins.c (expand_builtin_strlen): Make sure that we have something
2822         at the beginning of the sequence.
2823
2824         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
2825         deferred inlines.
2826
2827         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
2828
2829 2000-03-10  Richard Henderson  <rth@cygnus.com>
2830
2831         * except.c (can_throw): Use INTVAL on a CONST_INT.
2832         (reachable_handlers): Likewise.
2833         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
2834
2835 2000-03-10  Andreas Jaeger  <aj@suse.de>
2836
2837         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
2838         MD_STARTFILE_PREFIX since those are not needed on linux.
2839         (ASM_FILE_START): New, from mips/gnu.h.
2840
2841 2000-03-09  Richard Henderson  <rth@cygnus.com>
2842             Alex Samuel  <samuel@codesourcery.com> and others
2843         
2844         * Makefile.in (ssa.o): New rule.
2845         (OBJS): Add ssa.o.
2846         (STAGESTUFF): Add *.ssa and *.ussa.
2847         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
2848         * rtl.def (PHI): New RTL expression.
2849         * rtl.h (clear_log_links): New declaration.
2850         (convert_to_ssa): Likewise.
2851         (convert_from_ssa): Likewise.
2852         * flow.c (split_edge): If the entry node falls through to the
2853         split edge's source block, split the entry edge.
2854         (clear_log_links): New function.
2855         * toplev.c (ssa_dump): New variable.
2856         (flag_ssa): Likewise.
2857         (f_options): Add "ssa".
2858         (compile_file): Create SSA dump files.
2859         (rest_of_compilation): Go to and from SSA if enabled.
2860         (decide_d_option): Handle -de for SSA dump files.
2861         * ssa.c: New file.
2862         
2863 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
2864
2865         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
2866         same as VAR_DECL.
2867
2868 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
2869
2870         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
2871
2872 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
2873
2874         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
2875         (MD_STARTFILE_PREFIX_1): New macro.
2876
2877 2000-03-09  Robert Lipe  <robertl@sco.com>
2878
2879         * config/ia64/ia64.c: Include system.h.
2880
2881 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
2882
2883         * except.c (nothrow_function_p): If -fno-exceptions, just return.
2884         (init_eh_nesting_info): Likewise.
2885
2886         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
2887         (TREE_NOTHROW): Rename from TREE_RAISES.
2888         * toplev.c (rest_of_compilation): Set it.
2889         * print-tree.c (print_node): Adjust.
2890         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
2891         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
2892         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
2893         REG_EH_REGION note as appropriate.
2894         (libfunc_nothrow): New fn.
2895         (emit_library_call, emit_library_call_value): Use it.
2896         (expand_call): Check TREE_NOTHROW.
2897
2898         * varasm.c (make_decl_rtl): Skip initial '*' when setting
2899         DECL_ASSEMBLER_NAME.
2900
2901 2000-03-09  Andreas Jaeger  <aj@suse.de>
2902
2903         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
2904         (TARGET_MEM_FUNCTIONS): Define.
2905
2906 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
2907
2908         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
2909
2910         * except.c (can_throw): See through a SEQUENCE.
2911         (nothrow_function_p): New fn.
2912         * except.h: Declare it.
2913         * function.c (current_function_nothrow): New var.
2914         (prepare_function_start): Initialize it.
2915         * output.h: Declare it.
2916         * toplev.c (rest_of_compilation): Set it.
2917         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
2918
2919 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
2920
2921         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
2922         match.  (cpp_compare_defs): Count the nul separator when
2923         advancing over argument names.
2924
2925 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
2926
2927         * recog.c (preprocess_constraints): Matching constraints affect
2928         same alternative/different operand, not same operand/different
2929         alternative.
2930         
2931         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
2932         register and a constant specially.
2933
2934 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2935
2936         * libgcc2.h: New file.
2937         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
2938
2939 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
2940
2941         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
2942         * configure: Regenerate.
2943         * config/ia64: New.
2944
2945 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
2946
2947         * Makefile.in (LIBCPP_DEPS): New macro.
2948         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
2949         it to declare deps.
2950         * cpperror.c: Include cpphash.h.
2951         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
2952         dingleberry.
2953         (lex): Don't use CPP_WARN_UNDEF.
2954         (_cpp_parse_expr): Return an int, the truth value.
2955         * cppfiles.c: Include cpphash.h.
2956         (_cpp_merge_include_chains): Move to cppinit.c and make static.
2957         * cppinit.c (include_defaults_array): Disentangle.
2958         (cpp_cleanup): Don't free the if stack here.
2959         (cpp_finish): Pop off all buffers, not just one.
2960         * cpplib.c (eval_if_expr): Return int.
2961         (do_xifdef): Rename do_ifdef.
2962         (handle_directive): Don't use CPP_PREPROCESSED. 
2963         (cpp_get_token): Don't use CPP_C89.
2964         * fix-header.c: Don't use CPP_OPTIONS.
2965
2966         * cpplib.h: Move U_CHAR, enum node_type, struct
2967         file_name_list, struct ihash, is_idchar, is_idstart,
2968         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
2969         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
2970         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
2971         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
2972         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
2973         of _cpp_simplify_pathname, _cpp_find_include_file,
2974         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
2975         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
2976         cppinit.c.
2977         Change all uses of U_CHAR to be unsigned char instead.
2978         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
2979
2980 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
2981
2982         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
2983         (dwarf2out_begin_prologue): Set it.
2984         (output_call_frame_info): Don't emit EH unwind info for leaves.
2985
2986         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
2987         can occur outside of an EH region.
2988         * except.c: Correct comments about rethrow behavior.
2989         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
2990
2991 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
2992
2993         * flow.c (make_edges): Always call make_eh_edge for calls.
2994
2995 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
2996
2997         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
2998         (struct cpp_buffer): Remove fname and underflow fields.
2999         (struct cpp_reader): Remove get_token field.
3000         (struct include_hash): Rename to struct ihash.  Add typedef to
3001         IHASH.
3002         (struct if_stack): Remove fname field.
3003         (IF_STACK_FRAME): Rename to IF_STACK.
3004
3005         * cpperror.c (print_containing_files): Trust that there are no
3006         macro buffers below the top file buffer.
3007         * cppfiles.c: Replace all references to 'struct include_hash'
3008         with 'IHASH'.  Rename initialize_input_buffer to
3009         init_input_buffer.  Don't set or reference cpp_buffer->fname,
3010         use buffer->ihash->name instead.
3011         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
3012         not CPP_NULL_BUFFER.
3013         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
3014         IF_STACK_FRAME, IHASH not struct include_hash.
3015         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
3016         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
3017         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
3018         references to cpp_buffer->fname (delete entirely, or use
3019         ->ihash->name instead) and IF_STACK->fname.
3020         (cpp_push_buffer): Don't set new->underflow.
3021         (do_include): Use cpp_file_buffer.
3022
3023         * cpphash.c (collect_formal_parameters): Remove duplicate
3024         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
3025         used as a macro argument name.  Don't append "..." to namebuf
3026         for varargs macros.  After we're done scanning, go through
3027         namebuf and make it NUL separated, not comma separated.
3028         (_cpp_compare_defs): Remove register tag from variables.
3029         Expect defn->argnames to be NUL separated.
3030         (_cpp_dump_definition): Expect defn->argnames to be NUL
3031         separated and in forward order.
3032         * cpphash.h: Update documentation of argnames field.
3033
3034 2000-03-08  Richard Henderson  <rth@cygnus.com>
3035
3036         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
3037         to fail.  Don't pre-expand the source operand.
3038
3039         * i386.md (strlensi): Initialize eoschar and align before use.
3040
3041 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
3042
3043         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
3044         CONSTRUCTOR element.
3045
3046 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
3047
3048         * mips.c (mips_expand_prologue): If the last 
3049         named argument is the vararg marker "va_list", treat it as
3050         an unnamed argument.
3051
3052 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
3053
3054         * dbxout.c (dbxout_parms): When correcting for promoted 
3055         big-endian parameters, use the mode of the DECL_RTL rather 
3056         than UNITS_PER_WORD.
3057
3058 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
3059
3060         * c-common.h (make_fname_decl): Declare.
3061         * c-common.c (make_fname_decl): Define.
3062         (declare_hidden_char_array): Remove.
3063         (declare_function_name): Use make_fname_decl.
3064         * c-decl.c (c_make_fname_decl): New function.
3065         (init_decl_processing): Set make_fname_decl.
3066
3067 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
3068
3069         * cccp.c (handle_directive): Initialize backslash_newlines_p.
3070
3071 2000-03-07  Philipp Thomas  <pthomas@suse.de>
3072
3073         * po/POTFILES.in: Remove cppalloc.c from file list.
3074
3075 2000-03-07  Steve Chamberlain  <sac@pobox.com>
3076
3077         * pj.c (pj_expand_prologue): current_function->args_info is
3078         now current_function_args_info.  
3079
3080         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
3081         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
3082         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
3083
3084 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3085
3086         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
3087         output as hexadecimal rather than the default octal.
3088
3089 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3090
3091         * cpphash.c (special_symbol): Fix thinko in previous commit.
3092
3093 2000-03-07  Neil Booth  <NeilB@earthling.net>
3094
3095         * cppexp.c (struct operation, left_shift, right_shift,
3096         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
3097         "int"s to "unsigned int"s.
3098         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
3099         Similarly.
3100         * cpplib.h: Update for above.
3101         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
3102         returned from allocations.
3103
3104         * cppinit.c (opt_comp, parse_options): New functions.
3105         (handle_option): Use parse_option to parse a single command
3106         line option, that possibly takes an argument.
3107         (cpp_handle_options): Sort the array of command line options on
3108         first invocation (non-ASCII hosts only).
3109         (print_help): Update.
3110
3111 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3112
3113         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
3114         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
3115         
3116         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
3117         initialized.
3118         * cppinit.c (cpp_cleanup): Free imp->nshort also.
3119
3120         * cpperror.c (cpp_print_containing_files,
3121         cpp_print_file_and_line, v_cpp_message): Rename to
3122         print_containing_files, print_file_and_line, and v_message.
3123         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
3124         to _cpp_parse_expr, parse_escape, and lex.
3125         (parse_charconst): Remove broken multibyte support.
3126         * cppfiles.c (include_hash): Make static.
3127         (cpp_included): New function.
3128         (merge_include_chains, find_include_file, finclude,
3129         simplify_pathname): Rename to _cpp_merge_include_chains,
3130         _cpp_find_include_file, _cpp_read_include_file, and
3131         _cpp_simplify_pathname.
3132         * cpphash.c (cpp_lookup, free_definition, delete_macro,
3133         cpp_install, create_definition, macroexpand, compare_defs,
3134         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
3135         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
3136         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
3137         * cppinit.c (cpp_handle_option): Rename to handle_option, make
3138         static.
3139         * cpplib.c: Remove extern prototype of cpp_parse_expr.
3140
3141         * cpphash.h: Update prototypes.
3142         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
3143
3144 2000-03-07  Andrew Haley  <aph@cygnus.com>
3145
3146         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
3147         PTRDIFF_TYPE should be based solely on Pmode.
3148         (SIZE_TYPE): ditto.
3149
3150 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3151
3152         * rtl.h (rtunion_def): Constify member `rtstr'.
3153         (emit_line_note_after, emit_line_note, emit_line_note_force,
3154         emit_note, decode_asm_operands): Constify.
3155         
3156         * cse.c (canon_hash): Likewise.
3157
3158         * dbxout.c (dbxout_block): Likewise.
3159
3160         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
3161         v_warning_for_asm): Likewise.
3162
3163         * dwarfout.c (function_start_label): Likewise.
3164
3165         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
3166         emit_line_note_force): Likewise.
3167
3168         * final.c (last_filename, asm_insn_count, final_scan_insn,
3169         output_source_line): Likewise.
3170
3171         * function.h (struct emit_status): Likewise.
3172
3173         * gcse.c (hash_expr_1): Likewise.
3174
3175         * genattr.c (gen_attr, main): Likewise.
3176
3177         * genattrtab.c (struct function_unit, current_alternative_string,
3178         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
3179         attr_numeral, check_attr_test, check_attr_value,
3180         convert_set_attr_alternative, convert_set_attr,
3181         compute_alternative_mask, simplify_by_exploding, gen_attr,
3182         gen_unit): Likewise.
3183
3184         * genflags.c (gen_insn): Likewise.
3185
3186         * gengenrtl.c (type_from_format): Likewise.
3187
3188         * genopinit.c (gen_insn): Likewise.
3189
3190         * genoutput.c (n_occurrences, process_template, process_template):
3191         Likewise.
3192
3193         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3194         Likewise.
3195
3196         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3197         Likewise.
3198
3199         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
3200         ggc_set_mark, ggc_get_size): Likewise.
3201
3202         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
3203
3204         * optabs.c (init_one_libfunc): Likewise.
3205
3206         * output.h (assemble_start_function): Likewise.
3207
3208         * recog.c (decode_asm_operands): Likewise.
3209
3210         * toplev.c (rest_of_compilation): Likewise.
3211
3212         * tree.h (emit_line_note_after, emit_line_note,
3213         emit_line_note_force): Likewise.
3214
3215         * varasm.c (asm_output_bss, asm_output_aligned_bss,
3216         asm_emit_uninitialised, assemble_start_function,
3217         assemble_variable, const_hash, compare_constant_1,
3218         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
3219
3220         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
3221
3222         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
3223
3224         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
3225
3226         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
3227
3228         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
3229         arm_dllimport_name_p): Likewise.
3230
3231         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
3232         Likewise.
3233
3234         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
3235
3236         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3237
3238         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
3239         arm_mark_dllexport, arm_mark_dllimport,
3240         arm_pe_encode_section_info): Likewise.
3241
3242         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
3243         ASM_FINISH_DECLARE_OBJECT): Likewise.
3244
3245         * arm/thumb.c (thumb_function_prologue): Likewise.
3246
3247         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
3248
3249         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3250
3251         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
3252
3253         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
3254
3255         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
3256
3257         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3258
3259         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
3260         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
3261
3262         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
3263
3264         * i386/i386.c (asm_output_function_prefix): Likewise.
3265
3266         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
3267
3268         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3269
3270         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
3271
3272         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
3273         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
3274         ASM_OUTPUT_SECTION_NAME): Likewise.
3275
3276         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
3277
3278         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
3279
3280         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
3281
3282         * m32r/m32r.c (m32r_encode_section_info): Likewise.
3283
3284         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3285
3286         * mcore/mcore.c (mcore_encode_section_info): Likewise.
3287
3288         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3289
3290         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3291
3292         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3293
3294         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
3295
3296         * mips/mips.md (movdi, movsi): Likewise.
3297
3298         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3299
3300         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3301
3302         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3303
3304         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
3305         ASM_OUTPUT_ASCII): Likewise.
3306
3307         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
3308         output_mi_thunk, output_toc): Likewise.
3309
3310         * rs6000/rs6000.md (movsi): Likewise.
3311
3312         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
3313
3314         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
3315
3316         * v850/v850.c (print_operand, print_operand_address,
3317         v850_encode_data_area): Likewise.
3318
3319 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
3320         
3321         * config/mips/mips.md (zero_extendsidi2): Always force operand
3322         one to memory for mips16.
3323
3324 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3325
3326         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
3327         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
3328         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
3329         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
3330         (min_precision): Result is unsigned.
3331         (add_double, neg_double, mul_double): Low word is unsigned.
3332         (lshift_double, rshift_double, lrotate_double): Likewise.
3333         (rrotate_double, div_and_round_double): Likewise.
3334         (tree_floor_log2, compare_tree_int): New functions.
3335         (preserve_rtl_expr_temps): New declaration.
3336         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
3337         (decl_attributes): Use tree_log2 to find alignment.
3338         Check for TREE_INT_CST_HIGH for format args.
3339         (min_precision): Now unsigned.
3340         Use tree_floor_log2.
3341         (truthvalue_conversion): Delete long-disabled code.
3342         * c-decl.c (finish_struct): Clean up tests on field width.
3343         (finish_function): Use compare_tree_int.
3344         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
3345         * c-typeck.c (comptypes): Use tree_int_cst_equal.
3346         (default_conversion, digest_init): Use compare_tree_int.
3347         (build_binary_op): Use integer_all_onesp and compare_tree_int.
3348         Fix type errors in forming masks.
3349         * calls.c (initialize_argument_information): Use compare_tree_int.
3350         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3351         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
3352         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
3353         (store_field): Use compare_tree_int.
3354         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
3355         (expand_expr, case ARRAY_REF): Use compare_tree_int.
3356         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
3357         (do_store_flag): Use compare_tree_int.
3358         * fold-const.c (encode, decode): Low part is always unsigned.
3359         (force_fit_type, add_double, neg_double, mul_double): Likewise.
3360         (lshift_double, rshift_double, lrotate_double): Likewise.
3361         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
3362         (fold_convert): Use compare_tree_int.
3363         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
3364         (invert_truthvalue, case INTEGER_CST): Likewise.
3365         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
3366         * mkdeps.c (deps_dummy_targets): Make I unsigned.
3367         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
3368         (lshift_double, rshift_double, lrotate_double, rrotate_double):
3369         Likewise.
3370         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
3371         (expand_end_case): Use compare_tree_int.
3372         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3373         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
3374         (layout_decl): Likewise.
3375         (layout_record, layout_union): Make sizes unsigned.
3376         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
3377         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
3378         * tree.c (struct type_hash): hashcode is unsigned.
3379         (build_type_attribute_variant, type_hash_list): Likewise.
3380         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
3381         (attribute_hash_list, build_array_type, build_method_type): Likewise.
3382         (build_complex_type): Likewise.
3383         (real_value_from_int_cst): Remove unneeded casts.
3384         (integer_all_onesp): Add casts.
3385         (tree_floor_log2, compare_tree_int): New functions.
3386         (build_index_type): Use tree_int_cst_sgn.
3387         * varasm.c (assemble_variable): Use compare_tree_int.
3388
3389 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
3390
3391         * cpphash.c (collect_expansion): Also catch ## at start of macro.
3392
3393         * varasm.c (make_decl_rtl): Don't add a number to members of
3394         local classes.
3395         (make_function_rtl): Likewise.
3396
3397 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3398
3399         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
3400         patch from 2000-01-28.
3401
3402 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
3403
3404         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
3405         filled with an insn from the jump target.
3406
3407 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3408
3409         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
3410         (c4x_external_ref): Likewise.
3411         * config/c4x/c4x.c (struct name_list): Likewise.
3412
3413 1999-12-16  Ben Collins  <bcollins@debian.org>
3414
3415         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
3416         argument to genmultilib.
3417         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
3418         the contents into the multilib.h header.
3419         * gcc.c: Declare multilib_exclusions for the specs file.
3420         (set_multilib_dir): Use it.
3421         (print_multilib_info): Likewise.
3422         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
3423         to pass to genmultilib.
3424
3425 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3426
3427         * builtins.c (built_in_class_names, built_in_names): Constify a
3428         char*.
3429
3430         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
3431         int.
3432         (_mcleanup): Ensure value matches format specifier in sprintf.
3433
3434         * cpphash.c (special_symbol): Don't needlessly cast away
3435         const-ness.
3436
3437         * cppinit.c (base_name): Delete unused prototype.
3438
3439         * mkdeps.c (deps_init): Make definition K&R safe.
3440
3441         * tree.h (built_in_class_names, built_in_names): Constify a
3442         char*.
3443
3444 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
3445
3446         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
3447         floating point instructions for epilogue delay.
3448
3449         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
3450         to gas if it supports .register pseudo.
3451
3452         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
3453         LONG_DOUBLE_TYPE_SIZE if not defined.
3454         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
3455         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
3456         * real.c: Likewise.
3457         * gengenrtl.c: Likewise.
3458         * print-rtl.c: Likewise.
3459         * rtl.c: Likewise.
3460         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
3461         MASK_LONG_DOUBLE_128.
3462         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
3463         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
3464         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
3465         (SUBTARGET_SWITCHES): Define.
3466         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
3467         with -mlong-double-128.
3468         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
3469         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
3470         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
3471         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
3472         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
3473         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
3474         with -mlong-double-128.
3475         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
3476         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
3477         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
3478         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
3479         TARGET_LONG_DOUBLE_128): Define.
3480         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
3481         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
3482         long double on TARGET_ARCH64.
3483
3484 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
3485
3486         * function.c (free_temps_for_rtl_expr): Don't free slots
3487         that have been pushed into a higher level.
3488         
3489         Revert this patch:
3490         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3491
3492 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3493
3494         * basic-block.h (ALLOCA_REG_SET): Remove.
3495         (INITIALIZE_REG_SET): New macro.
3496         * flow.c (update_life_info): Use it.
3497         (calculate_global_regs_live): Likewise.
3498         (propagate_block): Likewise.
3499         * global.c (build_insn_chain): Likewise.
3500         * haifa-sched.c (schedule_region): Likewise.
3501
3502 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
3503
3504         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
3505         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
3506         (DWARF_ARANGES_PAD_SIZE): New define.
3507         (output_aranges): Use it to pad the address range header.
3508         (DWARF_ROUND): Fix for non power of 2 rounding.
3509
3510 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
3511
3512         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
3513
3514 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3515
3516         * tree.def (RTL_EXPR): Update documentation.
3517         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
3518         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
3519         * function.c (preserve_rtl_expr_temp): New function.
3520         (preserve_rtl_expr_temps): Likewise.
3521         (preserve_rtl_expr_result): Use it.
3522
3523         Revert this patch:
3524         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
3525
3526 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
3527
3528         * regmove.c (copy_src_to_dest)  Do not create src->dest move
3529         for unchanging destination.
3530
3531 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
3532
3533         * function.h (struct sequence_stack): Remove rtl_expr.
3534         (struct emit_staus): Likewise.
3535         (seq_rtl_expr): Remove.
3536         * tree.h (free_temps_for_rtl_expr): Don't declare.
3537         (start_sequence_for_rtl_expr): Likewise.
3538         * rtl.h (preserve_rtl_expr_result): Likewise.
3539         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
3540         (start_sequence_for_rtl_expr): Remove.
3541         (push_topmost_sequence): Don't save sequence_rtl_expr.
3542         (pop_topmost_sequence): Remove comment about not restoring it.
3543         (end_sequence): Don't set seq_rtl_expr.
3544         (init_emit): Don't initialize it.
3545         (mark_sequence_stack): Don't mark it.
3546         (mark_emit_status): Likewise.
3547         * except.c (protect_with_terminate): Use
3548         start_sequence_for_rtl_expr, not start_sequence.
3549         * expr.c (expand_expr, case RTL_EXPR): Don't call
3550         preserve_rtl_expr_result or free_temps_for_rtl_expr.
3551         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
3552         (preserve_rtl_expr_result): Remove.
3553         (free_temps_for_rtl_expr): Likewise.
3554         (pop_temp_slots): Likewise.
3555         (mark_temp_slot): Don't mark the rtl_expr.
3556         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
3557         start_sequence_for_rtl_expr.
3558         
3559 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
3560
3561         * mkdeps.c, mkdeps.h: New files.
3562         * po/POTFILES.in: Add them.
3563         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
3564         (cpplib.o, cppinit.o): Depend on mkdeps.h.
3565         (mkdeps.o): New target.
3566
3567         * cppfiles.c: Delete deps_output.
3568         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
3569         OBJECT_SUFFIX, and base_name.
3570         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
3571         the include hash.
3572         (initialize_dependency_output): Use deps_init,
3573         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
3574         all the unnecessary string bashing.
3575         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
3576         level.
3577         * cpplib.c (do_include): Use deps_add_dep.
3578         * cpplib.h (struct cpp_reader): Replace deps_buffer,
3579         deps_allocated_size, deps_size, deps_column members with
3580         single pointer to a struct deps.  Delete prototype of
3581         deps_output.
3582
3583         * cppinit.c: Fix thinko in previous patch.
3584
3585 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3586
3587         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
3588         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
3589         (mode_for_size_tree): New function.
3590         (layout_decl, layout_type): Call it and clean up BLKmode checks.
3591         * tree.h (mode_for_size_tree): New declaration.
3592         
3593         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
3594
3595 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
3596
3597         * stmt.c (is_body_block): Move...
3598         * dwarfout.c, dwarf2out.c: ...from here.
3599         * tree.h: Declare it.
3600         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
3601         * final.c (final_start_function): Do call remove_unnecessary_notes
3602         when scheduling.
3603
3604 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
3605
3606         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
3607         
3608         * cpplib.h (_dollar_ok): New macro.
3609         (is_idchar, is_idstart): Use it.
3610         (IStable): Rename to _cpp_IStable.  Declare it const if
3611         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
3612         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
3613         is_space): Update for renamed IStable.
3614
3615         * cppinit.c: Delete all references to FAKE_CONST and CAT
3616         macros. Define init_IStable as empty macro if gcc >=2.7 or
3617         C99. Change TABLE() to ISTABLE and hardcode name of table.
3618         (cpp_start_read): Don't change the IStable based on
3619         dollars_in_ident.
3620
3621         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
3622         changed.  Handle '$' for char1 correctly.
3623         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
3624
3625         * cppexp.c (tokentab2): Make const.
3626         (cpp_lex): Make toktab const.
3627         * cppinit.c (include_defaults_array): Make const.
3628         (initialize_standard_includes): Make default_include const.
3629
3630 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
3631
3632         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
3633         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
3634         (gen_decl_die): Likewise.
3635         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
3636         (output_decl): Likewise.
3637
3638         * varasm.c (make_function_rtl): If we change the name used in the
3639         rtl, update DECL_ASSEMBLER_NAME accordingly.
3640         (make_decl_rtl): Likewise.
3641
3642         * toplev.c (rest_of_compilation): Tweak formatting.
3643
3644         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
3645         remove_unnecessary_notes.
3646         (debug_ignore_block): New fn.
3647         * toplev.h: Declare it.
3648         * emit-rtl.c (remove_unncessary_notes): Call it.
3649         * dwarf2out.c (dwarf2out_ignore_block): New fn.
3650         * dwarf2out.h: Declare it.
3651         * final.c (final_start_function): Don't call remove_unnecessary_notes
3652         if we did insn scheduling.
3653
3654 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
3655
3656         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
3657         * cpplib.h: Delete SET_CPP_PEDANTIC.
3658
3659 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3660
3661         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
3662         result is a RECORD_TYPE.
3663
3664 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
3665
3666         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
3667
3668 2000-03-03  Richard Henderson  <rth@cygnus.com>
3669
3670         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
3671         addition over compliments over shifts.
3672
3673 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3674
3675         * reload1.c (reload_combine_note_use): Handle return register USEs.
3676         REG case: Handle multi-hard-register hard regs.
3677
3678 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3679
3680         * md.texi: Document use of '*' in insn pattern name.
3681
3682 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
3683
3684         * calls.c (special_function_p): operator new may not be malloc-like.
3685
3686         * gcse.c (dump_hash_table): Really fix error in last change.
3687
3688 2000-03-02  Denis Chertykov  <denisc@overta.ru>
3689
3690         * avr.c (print_operand): Use print_operand_address instead of
3691         output_addr_const.
3692         * avr/libgcc.S: Cleanup code.
3693
3694 2000-03-02  Richard Henderson  <rth@cygnus.com>
3695
3696         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
3697
3698 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
3699
3700         * tree.h (TYPE_ALIGN_UNIT): New macro.
3701
3702 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
3703
3704         * i386.c: (constant_call_address_operand): Reject CONST_INT.
3705
3706 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
3707
3708         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
3709         for the buffer.
3710         (SET_CPP_PEDANTIC): New macro.
3711         * cpplib.c (do_include): Don't bother checking system_header_p.
3712         (do_warning, do_ident, do_assert, do_unassert): Likewise.
3713         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
3714
3715         * function.h (struct expr_status): Add x_arg_space_so_far.
3716         (arg_space_so_far): New macro.
3717         * expr.c (init_expr): Initialize it.
3718         * calls.c (emit_call_1): Reset it.
3719         (compute_argument_block_size, expand_call): Use it.
3720         (expand_call, store_one_arg): Increment it.
3721
3722 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3723
3724         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
3725         a UNION_TYPE.
3726
3727 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
3728
3729         * cppfiles.c (cpp_read_file): New function.
3730
3731         * cpphash.c (collect_expansion): Make sure to reset last_token
3732         to NORM when we hit a string.  Handle trailing whitespace
3733         properly when the expansion is empty.
3734         (create_definition): Disable line commands while parsing the
3735         directive line.
3736         (dump_definition): If pfile->lineno == 0, output a line
3737         command ahead of the dump, and add a trailing newline.
3738
3739         * cppinit.c (append_include_chain): Add fifth argument, which
3740         indicates whether or not system headers are C++ aware.
3741         (initialize_standard_includes): New function,
3742         broken out of read_and_prescan.  Pass 'cxx_aware' value from
3743         the include_defaults_array on to append_include_chain.
3744         (dump_special_to_buffer): Const-ify char array.
3745         (builtin_array): Don't dump __BASE_FILE__.
3746         (cpp_start_read): Use cpp_read_file.  Reorder code for
3747         clarity.  Don't output line commands here for -D/-A/-U
3748         switches.  Don't call deps_output for files included with
3749         -include or -imacros.
3750
3751         * cpplib.c (do_define): Don't pay any attention to the second
3752         argument.
3753         (cpp_expand_to_buffer): Disable line commands while scanning.
3754         (output_line_command): Work in the file buffer.
3755         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
3756         Fix formatting of comments.  Prototype cpp_read_file.
3757
3758 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3759
3760         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
3761         reference the language-equivalent of sizetype.
3762         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
3763         * fold-const.c (size_binop, size_diffop): Put back checks.
3764         * gcse.c (dump_hash_table): Fix minor error in last change.
3765         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
3766         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
3767         all sizetypes.
3768
3769 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
3770
3771         * calls.c (expand_call)  Do not attempt to combine stack adjustments
3772         with inhibit_defer_pop set.
3773
3774 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
3775
3776         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
3777         the DECL_SIZE for a FIELD_DECL.
3778
3779 2000-03-01  Bruce Korb  <bkorb@gnu.org>
3780
3781         * fixinc/inclhack.tpl: remove unused symlinks
3782         * fixinc/README: GCC Maintainer info
3783         * fixinc/inclhack.sh: regen
3784         * fixinc/fixincl.sh: regen
3785
3786 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
3787
3788         * cpphash.c (collect_expansion): Trim trailing white space
3789         from macro definitions, but don't go past the last insertion
3790         point.
3791
3792 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
3793
3794         * i386.md (mulqi3): New pattern.
3795
3796 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
3797
3798         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
3799         token types.
3800         (struct cpp_reader): Add parsing_if_directive and
3801         parsing_define_directive flags.               
3802         (struct cpp_options): Remove output_conditionals flag.
3803         (check_macro_name): Delete prototype.
3804
3805         * cpphash.h (struct macrodef): Delete.
3806         (struct reflist): Separate from struct definition.
3807         (struct definition): Remove unused fields.  Add column number.
3808         (create_definition): Returns a DEFINITION *.  Takes a
3809         cpp_reader * and an int.
3810
3811         * cpphash.c (SKIP_WHITE_SPACE): Delete.
3812         (PEEKC): Copy defn from cpplib.c.
3813         (rest_extension, REST_EXTENSION_LENGTH): Delete.
3814         (struct arg): New.
3815         (struct arglist): Simplify.
3816         (collect_expansion): Rewrite.  Get tokens by calling
3817         cpp_get_token.  Add more error checking.
3818         (collect_formal_parameters): New function, broken out of
3819         create_definition and reworked to use get_directive_token.
3820         (create_definition): All real work is now in collect_expansion
3821         and collect_formal_parameters.  do_define handles finding the
3822         macro name.  Return a DEFINITION, not a MACRODEF.
3823         (macroexpand): Replace bcopy with memcpy throughout.  Replace
3824         character-at-a-time copy loop with memcpy and pointer increments.
3825         (compare-defs): d1->argnames / d2->argnames might be null.
3826
3827         * cpplib.c (copy_rest_of_line): Delete function.
3828         (skip_rest_of_line): Do all the work ourselves.
3829         (skip_string): New function.
3830         (parse_string): Use skip_string.
3831         (get_macro_name): New function.
3832         (check_macro_name): Delete.
3833         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
3834         (cpp_skip_hspace): Use CPP_BUMP_LINE.
3835         (handle_directive): ICE if we're called on a macro buffer.
3836         (do_define): Determine macro name and type (funlike/objlike)
3837         here.  Expunge all uses of MACRODEF.
3838         (cpp_push_buffer): Set line_base to NULL.
3839         (do_undef, read_line_number): Don't worry about getting a POP token.
3840         (eval_if_expression): Set/reset parsing_if_directive around
3841         cpp_parse_expr. Don't clear only_seen_white.
3842         (skip_if_group): Remove output_conditionals logic.  Use
3843         skip_rest_of_line.
3844         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
3845         tokens under appropriate conditions.
3846         (cpp_unassert): Call do_unassert not do_assert.  Oops.
3847
3848         * cppexp.c (parse_defined): New function, break out of
3849         cpp_lex.
3850         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
3851         ourselves, with cpp_defined.
3852         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
3853
3854         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
3855         * gcc.dg/strpaste-2.c: New.
3856
3857 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
3858
3859         * fold-const.c (size_binop): Don't asert inputs are the same and
3860         have TYPE_IS_SIZETYPE set.
3861         (size_diffop): Likewise.
3862
3863 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
3864
3865         * dwarfout.c (output_block): Output abstract blocks even if they
3866         don't have TREE_ASM_WRITTEN set.
3867
3868         * calls.c (emit_library_call): Check for null REG.
3869
3870 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
3871
3872         * c-decl.c (current_function_decl): Move to toplev.c.
3873         (init_decl_processing): Don't add current_function_decl as a ggc
3874         root here.
3875         * dbxout.c (dbxout_symbol): Change return type to int.
3876         (dbxout_symbol_location, dbxout_syms): Likewise.
3877         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
3878         any locals. Use current_function_func_begin_label if set.
3879         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
3880         * dwarf2out.c (dwarf2out_begin_prologue): Set
3881         current_function_func_begin_label.
3882         * final.c (final_start_function): Reset it.
3883         * toplev.c (current_function_decl): Define it here.
3884         (current_function_func_begin_label): New variable.
3885         (main): Add both as ggc roots.
3886         * tree.h (current_function_func_begin_label): Declare.
3887
3888 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3889
3890         * gcse.c: Cleanups throughout: mostly white-space, but also
3891         some minor rearrangement of code.
3892
3893 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
3894
3895         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
3896         returns a PARALLEL.  Use emit_group_load and use_group_regs
3897         as needed.  
3898         (emit_library_call_value): Similarly.
3899
3900         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
3901         * pa/quadlib.asm: Remove.
3902         * pa/quadlib.c: New file.
3903
3904         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
3905         * configure: Rebuilt.
3906
3907 2000-02-29  Philip Blundell  <pb@futuretv.com>
3908
3909         * config/arm/conix-elf.h: New file.
3910         * configure.in (arm*-*-conix*): New configuration.
3911         * configure: Regenerate.
3912
3913 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
3914
3915         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
3916         don't have TREE_ASM_WRITTEN set.
3917
3918 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3919
3920         * Eliminate DECL_FIELD_SIZE.
3921         * builtins.c (built_in_class_names, built_in_names): New variables.
3922         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
3923         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
3924         DECL_SIZE, not DECL_FIELD_SIZE.
3925         * print-tree.c (print_node): Remove code that prints extra blank
3926         lines in some cases.
3927         Properly handle inline and builtin function cases.
3928         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
3929         * tree.h (built_in_class_named, built_in_names): New declarations.
3930         (union tree_decl): Rename internal unions to u1 and u2 and change
3931         some of their components.
3932         Add new field built_in_class.
3933         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
3934         Reflect above changes.
3935         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
3936         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
3937         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
3938         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
3939
3940 2000-02-28  Dmitri Makarov  <dim@windriver.com>
3941
3942         * extend.texi: Document ARM's support for long/short calls.
3943
3944         * invoke.texi: Document ARM's -mlong-calls command line switch.
3945         
3946         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
3947         (arm_encode_call_attribute): Add prototype.
3948         (arm_set_default_type_attribute): Add prototype.
3949         (arm_strip_name_encoding): Add prototype.
3950
3951         * config/arm/arm.c (arm_init_cumulative_args): replace
3952         initialisation og 'long_calls' field with initialisation of
3953         'call_cookie' field.
3954         (enum arm_pragma_enum): New enum.
3955         (arm_pragma_long_calls): New static variable.
3956         (arm_process_pragma): Also process "#pragma long_calls_off".
3957         (arm_valid_type_attribute_p): Accept short_call attribute.
3958         (arm_comp_type_attributes): Check long/short call attributes.
3959         (arm_encode_call_attribute):  New function:  Encode long_call
3960         or short_call attribute in function name.
3961         (arm_set_default_type_attributes): New function: Assign
3962         default attributes to newly defined type.
3963         (current_file_function_operand): New function: Return true if
3964         the symbol is a function which has already been compiled.
3965         (arm_is_longcall_p): New function: Return true if the
3966         indicated function should be called via a long call.
3967         (arm_get_strip_length): New function.  Returns number of
3968         prefix characters to be stripped from a function's name.
3969         (arm_strip_name_encoding): New function.  Strip prefix characters
3970         from a function's name.
3971
3972         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
3973         with 'call_cookie'.
3974         (SHORT_CALL_FAG_CHAR): Define.
3975         (LONG_CALL_FAG_CHAR): Define.
3976         (ENCODED_SHORT_CALL_ATTR_P): Define.
3977         (ENCODED_LONG_CALL_ATTR_P): Define.
3978         (ARM_NAME_ENCODING_LENGTHS): Define.
3979         (STRIP_NAME_ENCODING): Define.
3980         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
3981         (ARM_ENCODE_CALL_TYPE): Define.
3982         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
3983         (ARM_DECLARE_FUNCTION_SIZE): Define.
3984         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
3985
3986         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
3987         if a long call is needed.
3988         (call_value): Ditto.
3989         (call_symbol): Ditto.
3990
3991         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
3992         ARM_DECLARE_FUNCTION_SIZE.
3993
3994         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
3995         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
3996         (ARM_STRIP_NAME_ENCODING): Undefine.
3997         (STRIP_NAME_ENCODING): Undefine.
3998         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
3999         (ASM_DECLARE_FUNCTION_NAME): Ditto.
4000         (ASM_OUTPUT_COMMON): Ditto.
4001         (ASM_DECLARE_OBJECT_NAME): Ditto.
4002
4003         * config/arm/pe.c (arm_dllexport_name_p): Check for
4004         ARM_PE_FLAG_CHAR.
4005         (arm_dllimport_name_p): Ditto.
4006         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
4007         (arm_mark_dllimport): Ditto.
4008         
4009 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4010
4011         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
4012
4013 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
4014
4015         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
4016
4017 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
4018
4019         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
4020         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
4021         NO_BUILTIN_WCHAR_TYPE is not defined.
4022         (CPP_WCHAR_TYPE): Delete.
4023         * cccp.c (main): Don't change wchar_type if cplusplus.
4024         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
4025
4026 2000-02-28  Nick Clifton  <nickc@cygnus.com>
4027
4028         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
4029
4030 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
4031
4032         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
4033         (ASM_WEAKEN_LABEL): Define.
4034  
4035 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
4036
4037         * expr.c (store_constructor): Do not emit USE.
4038         * rtl.h (stupid_life_analysis): Remove.
4039
4040 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4041
4042         * function.c (number_blocks): Reset next_block_index based on
4043         what debugging format is used, not what is defined.
4044         
4045         * lcm.c: Minor reformatting throughout.
4046         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
4047         
4048         * toplev.c (rest_of_compilation): Account for time in
4049         optimize_mode_switching.
4050
4051         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
4052         if only marking labels.
4053
4054 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
4055
4056         * calls.c (expand_call): Attempt to combine stack adjustments with
4057         pending stack adjustments.
4058
4059 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4060
4061         * loop.c (reg_in_basic_block_p): Don't abort when falling through
4062         to the end of the function.
4063
4064 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
4065
4066         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
4067         blocks.
4068         * final.c (next_block_index): Remove.
4069         (max_block_depth): Likewise.
4070         (pending_blocks): Likewise.
4071         (init_final): Don't initialize them.
4072         (final_start_function): Don't set next_block_index.  Set up
4073         BLOCK_NUMBER.
4074         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
4075         * function.h (number_blocks): New function.
4076         * function.c (get_block_vector): New function.
4077         (identify_blocks): Use it.
4078         (reorder_blocks): Set NOTE_BLOCK.
4079         (number_blocks): New function.
4080         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
4081         * tree.h (BLOCK_NUMBER): New macro.
4082         (tree_block): Add block_num field.
4083         * dbxout.c (next_block_number): Remove.
4084         (dbxout_init): Don't set it.
4085         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
4086         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
4087         block numbers.
4088         * toplev.c (rest_of_compilation): Always call
4089         find_loop_tree_blocks.  Fix indentation.
4090         * dwarf2out.c (next_block_number): Remove.
4091         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4092         to determine block numbers.
4093         (gen_inlined_subroutine_die): Likewise.
4094         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
4095         (decls_for_scope): Don't increment next_block_number.
4096         * dwarfout.c (next_block_number): Remove.
4097         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4098         to determine block numbers. 
4099         (output_inlined_subroutine_die): Likewise.
4100         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
4101         (output_decls_for_scope): Don't increment next_block_number.
4102         * sdbout.c (next_block_number): Remove.
4103         (sdbout_block): Use BLOCK_NUMBER.
4104         (sdbout_begin_block): Simplify.
4105         * xcoffout.c (next_block_number): Remove.
4106         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
4107         (xcoffout_begin_block): Don't set next_block_number.
4108         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
4109         next_block_number.
4110         
4111 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4112
4113         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
4114         (expand_builtin_strcpy): Pass correct type to size_binop.
4115         (expand_builtin_strcmp): Likewise.
4116         Clean up conditional structure.
4117         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
4118         (complete_array_type): Don't use size_binop for MAXINDEX.
4119         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
4120         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
4121         (c_alignof): Use size_one_node.
4122         (build_unary_op): Pass arg of proper type to size_binop.
4123         (really_start_incremental_init, push_init_level): Use sizetype for
4124         constructor{,_bit,_unfilled}_index.
4125         (pop_init_label, output_init_element): Likewise.
4126         (output_pending_init_elements, process_init_element): Likewise.
4127         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
4128         * expr.c (store_expr): Use size_int.
4129         (store_constructor): Use proper types for size_binop args.
4130         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
4131         (expand_expr_unaligned): Likewise.
4132         (string_contant): Return object of sizetype.
4133         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
4134         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
4135         (ARGS_SIZE_TREE): Pass proper types to size_binop.
4136         * fold-const.c (int_const_binop): Refine when size_int is called.
4137         (fold_convert): Likewise.
4138         (size_int_wide): Rework to take KIND as arg, only take low order
4139         bits, handle new sizetype_tab datatype, and chain entries in
4140         size_table.
4141         (size_int_type_wide): New function.
4142         (size_binop): Validate types of arguments.
4143         (ssize_binop): Deleted.
4144         (size_diffop): New function.
4145         (extract_muldiv): Only fold division into multiplication for sizetypes.
4146         * function.c (assign_parms): Use size_diffop and make sure
4147         VAR field is of ssizetype; also pass proper type to size_binop.
4148         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
4149         (round_down): Deleted from here.
4150         * store-layout.c (sizetype_tab): Now an array.
4151         (sizetype_set, early_root_list): New variables.
4152         (variable_size): Use size_one_node.
4153         (round_up): Pass proper type to size_binop.
4154         (round_down): Moved to here and corrected as above.
4155         (layout_record): Pass proper arg types to size_binop.
4156         (layout_type): Likewise.
4157         If sizetype_set is zero, record the type just laid out.
4158         (make_unsigned_type): Don't call set_sizetype;
4159         (make_signed_type): Likewise; also, call fixup_signed_type.
4160         (initialize_sizetypes): New function.
4161         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
4162         set name of bitsizetype to "bit_size_type".
4163         Fix up type of sizes of all types made before call.
4164         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
4165         * tree.c (fix_sizetype): Deleted.
4166         (build_common_tree_nodes): Call initialize_sizetypes.
4167         (build_common_tree_nodes_2): Don't call fix_sizetype.
4168         * tree.h (TYPE_IS_SIZETYPE): New macro.
4169         (initialize_sizetype): New declaration.
4170         (enum size_type_kind): New type.
4171         (struct sizetype_tab): Deleted.
4172         (sizetype_tab): Now array; adjust sizetype macros.
4173         (size_diffop, size_int_type_wide): New functions.
4174         (size_int_wide): Change number of args and type; access macros changed.
4175         (ssize_int, sbitsize_int): New macros.
4176         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
4177         (ROUND_TYPE_SIZE_UNIT): New macro.
4178
4179 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
4180
4181         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
4182
4183 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4184
4185         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
4186         Mark as possibly unused.
4187
4188         * cse.c (cse_insn): Delete dead code involving tablejump.
4189         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
4190
4191         * Makefile.in (libcpp.a): Start by deleting it.
4192
4193 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4194
4195         * cpplib.h (enum file_change_code): Added rename_file.
4196         * cpplib.c (do_line): If a filename is given, set file_change to
4197         rename_file.
4198         (output_line_command): If file_change is rename_file, always
4199         output a # directive with the file name.
4200
4201         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
4202
4203 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
4204
4205         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
4206         when copying a PARM_DECL or RESULT_DECL.
4207
4208 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4209
4210         * fix-header.c (recognized_function): Also fix prototypes for
4211         functions taking "void".
4212
4213 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4214
4215         * reload1.c (do_output_reload): Check reg_reloaded_valid before
4216         looking at reg_reloaded_contents.
4217
4218 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
4219
4220         * Makefile.in (STMP_FIXINC): New toggle.
4221         (LIBGCC2_DEPS): Delete all references.
4222         (stmp-headers): Delete target.  All references either deleted
4223         or changed to stmp-int-headers.
4224         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
4225         (LIBCPP_OBJS): Take out cppalloc.o.
4226         (cppalloc.o): Delete target.
4227         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
4228         (gen-protos, fix-header): Link with libiberty.a.
4229         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
4230         to empty.
4231
4232         * configure.in: Remove refs to strerror.
4233         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
4234         * system.h: Take out strerror stanza.
4235
4236         * cpperror.c (my_strerror): Delete function.
4237         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
4238         * cppmain.c (main): Call xmalloc_set_program_name first thing.
4239         * cppalloc.c: Delete file.
4240         * gen-protos.c: Don't provide xrealloc.
4241
4242         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
4243         xstrerror throughout.
4244
4245 2000-02-26  Bruce Korb  <bkorb@gnu.org>
4246
4247         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
4248         match for DOS headers, too.
4249         * fixinc/inclhack.sh,fixincl.x: Regenerate.
4250
4251 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4252
4253         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
4254         is right for most ELF targets.
4255         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
4256         Let the default file use %U properly.
4257         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
4258         default.
4259
4260         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
4261         numbers.
4262
4263 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4264
4265         * toplev.c (documented_lang_options): Correct spelling error.
4266         (decode_d_option, decode_f_option, main): Likewise.
4267
4268         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
4269
4270         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
4271         to tell assembler it is permitted to expand large constants.
4272
4273 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
4274
4275         * protoize.c: (AUX_INFO_SUFFIX): New macro.
4276         (aux_info_suffix): Use.
4277         (SAVE_SUFFIX): New macro.
4278         (save_suffix): Use.
4279         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
4280         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
4281         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
4282
4283         * invoke.texi (Running Protoize): Update documentation.
4284
4285 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
4286
4287         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
4288
4289 2000-02-25  John Wehle  (john@feith.com)
4290
4291         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
4292
4293 2000-02-25  Anthony Green  <green@cygnus.com>
4294
4295         * toplev.c (rest_of_compilation): Rebuild jump labels if
4296         combine_instructions has created a new direct jump.
4297         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
4298         when appropriate.
4299         (combine_instructions): Call try_combine with new argument.
4300         Return non-null value when new direct jump instruction is created.
4301         * rtl.h: combine_instructions returns an int.
4302
4303 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
4304
4305         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
4306         jump when changing a computed jump into a jump to a known
4307         target.
4308
4309 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
4310
4311         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
4312         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
4313
4314         * i386.md (define_expand "clrstrsi"): Fix typo.
4315
4316 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
4317
4318         * rtl.texi: Fix typo.
4319
4320 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4321
4322         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
4323         UNITS_PER_WORD.  Change caller initial_elimination_offset.
4324         (rounded_frame_size): Take into account that argument pushed has
4325         changed.  Fix TARGET_ALIGN_DOUBLE problem.
4326
4327 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
4328
4329         * haifa-sched.c (schedule_block): Explain the real reason
4330         we delete REG_SAVE_NOTEs on the first insn of a block.
4331         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
4332
4333 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
4334
4335         * input.h (push_srcloc): New function.
4336         (pop_srcloc): Likewise.
4337         * toplev.c (push_srcloc): Define it.
4338         (pop_srcloc): Likewise.
4339
4340 2000-02-24  Richard Henderson  <rth@cygnus.com>
4341
4342         * flow.c (life_analysis): When collecting reg info, clear
4343         regs_ever_live.
4344
4345 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4346
4347         Fix bug exposed by reload.c no longer rounding the frame
4348         size to BIGGEST_ALIGNMENT:
4349         * sh.c (rounded_frame_size): New function.
4350         (sh_expand_prologue, sh_expand_epilogue): Use it.
4351         (initial_elimination_offset): Likewise.
4352
4353 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4354
4355         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
4356         * sh-protos.h (sh_need_epilogue): Declare.
4357         * sh.c (sh_need_epilogue_known): New static variable.
4358         (sh_need_epilogue): New function.
4359         (function_epilogue): Clear need_epilogue_known.
4360         * sh.md (return): Split into expander / insn pattern.
4361         Make the expander conditional on ! sh_need_epilogue ().
4362
4363 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
4364
4365         * machmode.h (get_mode_alignment): Declare.
4366         (GET_MODE_ALIGNMENT): Call it.
4367         * stor-layout.c (get_mode_alignment): New function. Make
4368         sure alignment is always power of 2.
4369
4370 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4371
4372         * i386.h: Remove useless definition of "I386" and misleading
4373         comment above it.
4374
4375 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4376
4377         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
4378         under which TREE_PERMANENT will be set.
4379         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
4380         build1): Use TREE_SET_PERMANENT.
4381         * print-tree.c (print_node): Don't report value of
4382         TREE_PERMANENT if ggc_p is true.
4383
4384         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
4385         decide whether to give a type a new alias set.
4386         * objc/objc-act.c (build_objc_string_object): Never copy the string.
4387         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
4388         of value of 'obstack'.
4389
4390
4391 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4392
4393         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
4394
4395 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4396
4397         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
4398         * cpplib.c (cpp_get_token): Produce them.
4399         * cppexp.c (cpp_lex): Handle them.
4400
4401 2000-02-23  Nick Clifton  <nickc@cygnus.com>
4402
4403         * config/arm/arm.c (arm_comp_type_attributes): Simply and
4404         comment tests on type attributes.
4405
4406 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4407
4408         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
4409         conform to documentation.
4410         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
4411         to check for special cases.
4412         * sh-protos.h (sh_loop_align): Declare.
4413         * sh.c (sh_loop_align): Define.
4414
4415 2000-02-22  Andrew Haley  <aph@cygnus.com>
4416
4417         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
4418         (SIZE_TYPE): Is 32 bits when using -mgp32.
4419         (PTRDIFF_TYPE): Ditto.
4420
4421 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4422
4423         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
4424
4425 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4426
4427         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
4428         BIGGEST_FIELD_ALIGNMENT a constant.
4429
4430 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
4431
4432         * dwarf2out.c (output_line_info): Put the marker for the end of
4433         the line number info at the actual end.
4434         (gen_struct_or_union_type_die): Use decl_function_context 
4435         to check for local classes.
4436         * dwarfout.c (output_type): Likewise.
4437
4438 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
4439
4440         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
4441         for arguments with a mode, but no type.
4442         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
4443         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
4444         * pa/long_double.h: New file.
4445         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
4446         both have 128bit wide long doubles.
4447         * configure: Rebuilt.
4448
4449 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4450
4451         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
4452
4453         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
4454         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
4455         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
4456
4457         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
4458
4459         * integrate.c (compare_blocks, find_block): Likewise.
4460
4461         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
4462
4463         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
4464
4465         * stmt.c (stmt_status, set_file_and_line_for_stmt,
4466         expand_asm_operands): Likewise.
4467
4468 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
4469
4470         * predict.c (estimate_probability): Added the pointer heuristic to
4471         the collection of static branch predictors.
4472
4473 2000-02-21  Catherine Moore  <clm@cygnus.com>
4474
4475         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
4476         * invoke.texi (-mfix7000): Document.
4477
4478 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
4479
4480         * diagnostic.c (init_output_buffer): Make it possible to output at
4481         least 32 characters if we're given a too long prefix.
4482
4483 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
4484
4485         * varasm.c (initializer_constant_valid_p): Call
4486         lang_expand_constant to simplify the constant.
4487
4488 2000-02-20  Bruce Korb  <bkorb@gnu.org>
4489
4490         * fixinc/inclhack.def(stdio_va_list):
4491         typedef needs to be disabled.
4492         * fixinc/inclhack.sh: regen
4493         * fixinc/fixincl.x: regen
4494
4495 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
4496
4497         * print-rtl.c (print_rtx): Don't print addresses when
4498         flag_dump_unnumbered.
4499
4500 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4501
4502         * sparc.c (sparc_output_scratch_registers): Mark parameter with
4503         ATTRIBUTE_UNUSED.
4504         (sparc_va_arg, sparc_flat_output_function_prologue,
4505         sparc_flat_output_function_epilogue): Cast value to unsigned in
4506         comparison.
4507         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
4508         
4509         * sparc.md: Add default case in switch.
4510
4511 2000-02-19  Richard Henderson  <rth@cygnus.com>
4512
4513         * c-typeck.c (add_pending_init): Don't abort for multiple
4514         fields at the same offset.
4515         (pending_init_member): Test the correct member.
4516
4517 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4518
4519         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
4520         instead of SImode.
4521         (start_catch_handler) : Same.
4522
4523 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
4524
4525         * Makefile.in: Have flow.o depend on $(EXPR_H)
4526
4527 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4528
4529         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
4530         * c-decl.c (duplicate_decls, finish_enum): Likewise.
4531         (finish_decl): Remove -Wlarger-than code from here.
4532         * flags.h (id_clash_len): Now int.
4533         (larger_than_size): Now HOST_WIDE_INT.
4534         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
4535         Clean up checking to see if in table.
4536         (make_bit_field_ref): Remove extra parm to bitsize_int.
4537         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
4538         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
4539         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
4540         and for computing size of decl.
4541         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
4542         Move -Wlarger-than code to here.
4543         (layout_record): Remove extra arg to bitsize_int.
4544         Set TYPE_BINFO_SIZE_UNIT.
4545         (layout_union): Remove extra arg to bitsize_int.
4546         Use proper type for size of QUAL_UNION.
4547         (layout_type): Remove extra arg to bitsize_int.
4548         * toplev.c (id_clash_len): Now int.
4549         (larger_than_size): Now HOST_WIDE_INT.
4550         (decode_W_option): Clean up id-clash and larger-than- cases.
4551         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
4552         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
4553         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
4554         (struct tree_decl): New field size_unit.
4555         (size_int_wide): No HIGH operand; NUMBER is now signed.
4556         (size_int_2): Deleted.
4557         (size_int, bitsize_int): Don't use it and rework args.
4558         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
4559
4560 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
4561
4562         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
4563
4564 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
4565
4566         * invoke.texi (Warning Options): Add an explanation of why
4567         you might want the -Wfloat-equal flag.
4568
4569 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4570
4571         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
4572         * cppinit.c (new_pending_define): Add cast to avoid warning.
4573         * expmed.c (extract_bit_field): Likewise.
4574         * flow.c (enum reorder_skip_type): New type.
4575         (skip_insns_between_blcok): New it.
4576         Rework to avoid warning about possibly undefined variable.
4577         * function.c (assign_parms): Make thisparm_boundary unsigned.
4578         * genrecog.c (write_switch): Cast XWINT result to int.
4579         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
4580         * mips-tfile.c (init_file): Make two versions of FDR intializer:
4581         one for MIPS and one for Alpha.
4582         (get_tag, copy_object): Add casts to avoid warnings.
4583         * optabs.c (init_one_libfunc): Cast NAME to (char *).
4584         * reload.c (find_reloads): Make TYPE enum reload_type.
4585         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
4586         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
4587         * varasm.c (compare_constant_1): Add cast to avoid warning.
4588         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
4589         to (char *).
4590         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
4591         Cast switch operand of size to int.
4592         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
4593         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
4594         in unhandled case.
4595
4596 2000-02-18  Nick Clifton  <nickc@cygnus.com>
4597
4598         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
4599         anything for an alignment of zero.
4600
4601         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
4602         anything for an alignment of zero.
4603
4604 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
4605
4606         * gcc.texi (Bug Reporting): Refer to bugs.html.
4607         (Bug Lists): Likewise.
4608         * system.h (GCCBUGURL): New preprocessor define.
4609         * rtl.c (fancy_abort): Use it.
4610         * gcc.c (main): Likewise.
4611
4612 2000-02-18  Richard Henderson  <rth@cygnus.com>
4613
4614         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
4615         (life_analysis_1): Subsume into ...
4616         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
4617         Use update_life_info for the relaxation.
4618         (update_life_info): Update REG_BASIC_BLOCK for registers live on
4619         entry and regs_live_at_setjmp.
4620         (set_noop_p): Simplify.
4621         (notice_stack_pointer_modification_1): Renamed from s/_1//.
4622         (record_volatile_insns): Split into ...
4623         (delete_noop_moves): ... here,
4624         (notice_stack_pointer_modification): ... here,
4625         (insn_dead_p): ... and here.
4626         (propagate_block): Don't query INSN_VOLATILE.
4627         (mark_used_regs): Mind !PROP_REG_INFO.
4628         * toplev.c (rest_of_compilation): Call mark_constant_function here,
4629         not in life_analysis.
4630
4631 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
4632
4633         * loop.c (canonicalize_condition): New function,
4634         broken out of get_condition.
4635         (get_condition): Use it.
4636         * expr.h (canonicalize_condition): Prototype it.
4637
4638         * tree.h (tree_int_cst_msb): Declare.
4639         * tree.c (tree_int_cst_msb): New function.
4640
4641 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
4642
4643         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
4644         isn't set.
4645
4646         * invoke.texi (-fmessage-length=n): Document.
4647
4648 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
4649
4650         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
4651
4652 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
4653
4654         * function.c (thread_prologue_and_epilogue_insns): Put a line note
4655         after the prologue.
4656
4657 2000-02-17  Nick Clifton  <nickc@cygnus.com>
4658
4659         * config/arm/thumb.c: Replace includes of system headers with
4660         #include "system.h".
4661
4662 2000-02-16  Richard Henderson  <rth@cygnus.com>
4663
4664         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
4665         Add crtbeginS.o and crtendS.o.
4666         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
4667         (ENDFILE_SPEC): Use crtendS.o.
4668         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
4669
4670         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
4671         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
4672         shared and present.
4673         (__dso_handle): New variable.
4674         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
4675         bias to __CTOR_END__.
4676         
4677 2000-02-16  Richard Henderson  <rth@cygnus.com>
4678
4679         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
4680
4681 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4682
4683         * longlong.h (__clz_tab): Declare as static to match definition.
4684
4685 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
4686         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
4687         (XREF_FILE_NAME): Define.
4688
4689         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
4690         (EH_FRAME_SECTION_ASM_OP): Define.
4691         (IDENT_ASM_OP): Define.
4692         (TEXT_SECTION_ASM_OP): Define.
4693         (CPP_SPEC): Define.
4694         (CTORS_SECTION_ASM_OP): Define.
4695         (CTOR_SECTION_FUNCTION): Use it.
4696         (DTORS_SECTION_ASM_OP): Define.
4697         (DTOR_SECTION_FUNCTION): Use it.
4698
4699 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
4700
4701         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
4702         NOTE_BASIC_BLOCK.
4703
4704         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
4705         debug_bb_n): New functions.
4706         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
4707         * basic-block.h: Prototype new functions.
4708
4709 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
4710
4711         * configure.in: Add support for avr target.
4712         * configure: Rebuilt.
4713
4714         * invoke.texi: Add AVR invocation docs.
4715         * install.texi: Add information about AVR.
4716         * md.texi: Add AVR constraint letters description.
4717         * extend.texi: Add description for AVR specific attributes.
4718
4719 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
4720
4721         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
4722
4723 2000-02-16  Nick Clifton  <nickc@cygnus.com>
4724
4725         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
4726         (make_insn_raw): Move RTL check here.
4727
4728 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4729
4730         * version.c: Include gansidecl.h and version.h.
4731
4732         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
4733         
4734         * configure.in (gcc_version): When setting, narrow search to
4735         lines containing `version_string'.
4736
4737         * Makefile.in (mainversion): Likewise. 
4738         (GCC_H): New variable.
4739         (gcc.h): Delete target.
4740         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
4741         (version.o): Depend on version.h.
4742         (dbxout.o): Don't depend on gcc.h.
4743
4744 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4745                           Michael Meissner  <meissner@cygnus.com>
4746
4747         * md.texi (Simple Constraints): Add item about whitespace.
4748         * genoutput.c (strip_whitespace): New.
4749         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
4750         strip_whitespace for constraints.
4751         Test pointer using NULL, not 0.
4752
4753 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4754
4755         * cpplib.c (do_line): Pedwarn for #line > 32767.
4756
4757         * c-lex.c (readescape): Warn about '\x', but do not reject it.
4758
4759 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
4760
4761         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
4762         to default cpp spec.
4763         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
4764         * cpp.texi: Document __GNUC_PATCHLEVEL__.
4765         * cpp.1: Likewise.
4766
4767         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
4768         default spec.
4769
4770 2000-02-15  Denis Chertykov  <denisc@overta.ru>
4771
4772         * configure.in: Add support for avr target.
4773
4774 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4775
4776         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
4777         (sh_addr_diff_vec_mode): Don't declare.
4778         * sh.c (sh_addr_diff_vec_mode): Delete.
4779
4780 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4781
4782         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
4783
4784 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4785
4786         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
4787         (smulsi3_highpart_i): Name.
4788         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
4789         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
4790         (smulsi3_highpart, umulsi3_highpart): Likewise.
4791
4792         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
4793         correctly independent of endianness.
4794         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
4795         confuse the optimizers.
4796         (mulsidi3+1, umulsidi3+1): New define_split.
4797
4798 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
4799
4800         * config/sh/sh.md: Guard insn splits against illegal registers.
4801         * config/sh/sh.h: Correct comment about macros.
4802
4803 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4804                           Andrew MacLeod  <amacleod@cygnus.com>
4805
4806         * Makefile.in (lcm.o): Depend on insn-attr.h.
4807         * basic-block.h (optimize_mode_switching): Declare.
4808         * lcm.c (tm_p.h, insn-attr.h): #include.
4809         (seginfo, bb_info): New structs.
4810         (antic, transp, comp, delete, insert) : New file-scope static variables.
4811         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
4812         (reg_becomes_live, optimize_mode_switching): Likewise.
4813         * tm.texi: Add description of mode switching macros.
4814         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
4815
4816         * sh-protos.h (remove_dead_before_cse): Remove prototype.
4817         (fldi_ok, fpscr_set_from_mem): New prototypes.
4818         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
4819         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
4820         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
4821         (sh_flag_remove_dead_before_cse): Remove declaration.
4822         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
4823         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
4824         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
4825         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
4826         (barrier_align): Allow for JUMP_INSNS containing a parallel.
4827         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
4828         (fldi_ok): New function.
4829         (get_fpscr_rtx): Add fpscr_rtx as GC root.
4830         (emit_sf_insn): Only generate fpu switches when optimize < 1.
4831         (emit_df_insn): Likewise.
4832         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
4833         (sh_flag_remove_dead_before_cse): Delete.
4834         (get_free_reg, fpscr_set_from_mem): New functions.
4835         * sh.md (movdf, movsf): Remove no_new_pseudos code.
4836         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
4837
4838 2000-02-15  Loren Rittle  <ljrittle@acm.org>
4839
4840         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
4841
4842 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4843
4844         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
4845         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
4846
4847         * cccp.c: Include version.h and/or don't declare `version_string'.
4848         * collect2.c: Likewise.
4849         * alpha.c: Likewise.
4850         * arm/aof.h: Likewise.
4851         * arm/coff.h: Likewise.
4852         * arm/elf.h: Likewise.
4853         * arm/pe.h: Likewise.
4854         * arm/tcoff.h: Likewise.
4855         * arm/telf.h: Likewise.
4856         * arm/tpe.h: Likewise.
4857         * arm/vxarm.h: Likewise.
4858         * convex/convex.c: Likewise.
4859         * i386/dgux.c: Likewise.
4860         * i386/sun386.h: Likewise.
4861         * m88k/m88k.c: Likewise.
4862         * mcore/mcore-pe.h: Likewise.
4863         * mips/mips.h: Likewise.
4864         * romp/romp.h: Likewise.
4865         * sh/sh.c: Likewise.
4866         * cpphash.c: Likewise.
4867         * cppinit.c: Likewise.
4868         * dwarf2out.c: Likewise.
4869         * dwarfout.c: Likewise.
4870         * gcc.c: Likewise.
4871         * gcc.h: Likewise.
4872         * mips-tfile.c: Likewise.
4873         * protoize.c: Likewise.
4874         * toplev.c: Likewise.
4875         * tree.h: Likewise.
4876         
4877         * version.c (version_string): Constify a char*.
4878
4879         * version.h: New file.
4880
4881 2000-02-14  Nick Clifton  <nickc@cygnus.com>
4882
4883         * configure.in: Add mcore-elf and mcore-pe targets.
4884         * configure: Regenerate.
4885
4886         * NEWS: Add note that MCore port has been contributed.
4887
4888         * invoke.texi: Document command line switches for MCore port.
4889         * install.texi: Add MCore to list of supported targets.
4890
4891 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
4892
4893         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
4894         then we will need to import the frame handling functions.
4895         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
4896         to import the frames themselves.
4897
4898 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
4899                           Jason Eckhardt  <jle@cygnus.com>
4900
4901         * basic_block.h: Added prototype for reorder_basic_blocks.
4902         * toplev.c: Changes to add -freorder-blocks and graph dump after
4903         block reordering is done.
4904         * flow.c (reorder_block_def): New structure for use during block
4905         reordering.
4906         (REORDER_BLOCK_*): New macros to access members of above structure.
4907         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
4908         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
4909         functions for block reordering.
4910
4911 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4912
4913         * gcc.texi (Passes): Fix typo.
4914         * md.texi (Standard Names): Ditto.
4915         * tm.texi (Storage Layout): Ditto.
4916
4917 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
4918
4919         * cpplib.c (do_define): Only free the old definition if it
4920         actually had one.
4921
4922 2000-02-13   Neil Booth  <NeilB@earthling.net>
4923
4924         * cppfiles.c (read_and_prescan): When emitting deferred
4925         newlines, test speccase[] again instead of checking each
4926         possible whitespace character in turn.  When we encounter \r,
4927         look behind for \n first, then ahead.
4928
4929 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
4930
4931         * cse.c (cse_altered): New internal flag.
4932         (cse_insn): Set it if we changed an insn.
4933         (cse_main): Clear cse_altered before each basic block.
4934         Only garbage collect if cse_altered is true afterward.
4935
4936 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4937
4938         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
4939
4940 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
4941
4942         * combine.c (simplify_comparison): Fix typo.
4943
4944 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
4945
4946         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
4947         consistently.
4948
4949 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4950
4951         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
4952         previously inserted node instead of root node.  Caller changed.
4953
4954 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4955
4956         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
4957
4958 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4959
4960         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
4961         __dereg_frame_dtor): Add prototype argument.
4962
4963         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
4964
4965         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
4966
4967         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
4968
4969         * gthr-vxworks.h (__gthread_once): Likewise.
4970
4971         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
4972
4973 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
4974
4975         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
4976         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
4977         stack pointer in functions w/o saved registers, output LEAVE more often
4978         on TARGET_USE_LEAVE machines.
4979
4980 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
4981
4982         * config/arm/arm.c (arm_init_cumulative_args); New function:
4983         Initlaise the CUMULATIE_ARGS strcuture for a function
4984         defintion. 
4985         (arm_function_arg): New function: Determine where to place a
4986         function's argument.  Also handles deciding the function's
4987         call cookie.
4988         (current_file_function_operand): New function: Return true if
4989         the symbol is a function which has already been compiled.
4990         (arm_is_long_call_p): New function: Return true if the
4991         indicated function should be called via a long call.
4992         (arm_valid_type_attribute_p): New function: Return true if the
4993         attribute is a valid, arm specific, attribute.
4994         (arm_comp_type_attribute): New function: Return true if the
4995         two types have compatable, arm specific, attributes.
4996
4997         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
4998         structure.
4999         (FUNCTION_ARG): Redefine to call arm_function_arg.
5000         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
5001         structure field.
5002         (INIT_CUMULATIVE_ARGS): Redefine to call
5003         arm_init_cumulative_args.
5004         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
5005         field. 
5006         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
5007         field. 
5008         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
5009         functions.
5010         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
5011         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
5012         (COMP_TYPE_ATTRIBUTES): Define.
5013
5014         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
5015         if a long call is needed.
5016         (call_value): Call arm_is_long_call_p to decide if a long call
5017         is needed.
5018         (call_symbol): Call arm_is_long_call_p to decide if a long call
5019         is needed.
5020
5021         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
5022
5023 2000-02-11  Denis Chertykov  <denisc@overta.ru>
5024
5025         * README.AVR: New file with information about the avr ports.
5026         * config/avr: New directory with avr port files.
5027
5028 2000-02-11  Andreas Jaeger  <aj@suse.de>
5029
5030         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
5031
5032 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
5033
5034         * cpphash.c: Fix formatting, update commentary.
5035         (dump_definition): Take three separate arguments instead of a
5036         MACRODEF structure argument.
5037         * cpphash.h: Update prototype of dump_definition.
5038         * cppinit.c (cpp_finish): Update call of dump_definition.
5039
5040         * cpplib.c (do_define): Always create new hash entry with
5041         T_MACRO type.  Remove redundant check for redefinition of
5042         poisoned identifier.  Update call of dump_definition.
5043         (do_undef): Don't call check_macro_name.  Rename sym_length to
5044         len.
5045         (do_error, do_warning): Don't use copy_rest_of_line or
5046         SKIP_WHITE_SPACE.
5047         (do_warning): Don't use pedwarn for the actual warning,
5048         only the notice about its not being in the standard.  (Fixes
5049         bug with #warning in system headers.)
5050         (do_ident): Stricter argument checking - accept only a single
5051         string after #ident.  Also, macro-expand the line.
5052         (do_xifdef): Use cpp_defined.  De-obfuscate.
5053
5054         (do_pragma): Split out specific pragma handling to separate
5055         functions.  Use get_directive_token.  Update commentary.  Do
5056         not pass on #pragma once or #pragma poison to the front end.
5057         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
5058         do_pragma_default): New.
5059
5060 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
5061
5062         * jump.c (jump_optimize_1): The first operand in a relational
5063         can be a CONST_INT.
5064         * optabs.c (emit_conditional_move): Handle relationals which
5065         have a known true/false result.
5066
5067 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5068
5069         * function.c (thread_prologue_and_epilogue_insns): Don't insert
5070         a RETURN insn into a block which already ends with a jump.
5071
5072 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5073
5074         * haifa-sched.c (BUF_LEN): Increase a lot.
5075
5076 2000-02-11  Nick Clifton  <nickc@cygnus.com>
5077
5078         * configure.in: Add tm_p_file specification for thumb targets.
5079         * configure: Regenerate.
5080
5081         * config/arm/thumb-protos.h: New file: Prototypes for exported
5082         functions defined in thumb.c.
5083
5084 2000-02-11  Robert Lipe  <robertl@sco.com>
5085
5086         * Makefile.in (bootstrap-lean): Remove additional files.
5087         (bootstrap2-lean): Likewise.
5088         (VOL_FILES): List of files for above.
5089
5090 2000-02-11  Nathan Sidwell  <nathan@acm.org>
5091
5092         * cpphash.c (special_symbol): Remove spurious argument to
5093         cpp_lookup.
5094
5095 2000-02-11  Joel Sherrill (joel@OARcorp.com>
5096
5097         * configure.in: (i*86-*-rtems*): Swapped elf and coff
5098         stanzas.
5099         * configure: Rebuilt.
5100
5101 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
5102         
5103         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
5104
5105 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
5106
5107         * pa.c, pa.h: Remove trigraph sequences within comments.
5108
5109 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
5110
5111         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
5112
5113 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
5114
5115         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
5116
5117 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5118         
5119         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
5120
5121 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5122
5123         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
5124         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
5125         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
5126         (ASM_FILE_END): Use c4x_file_end.
5127         * config/c4x/c4x.c (c4x_global_label): New function.
5128         (c4x_external_ref, c4x_file_end): Likewise.
5129
5130         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
5131         (c4x_external_ref, c4x_end_file): Likewise.
5132
5133 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
5134
5135         * cppexp.c: Don't include cpphash.h.
5136         (parse_charconst, cpp_lex): Use cpp_defined.
5137         (cpp_lex): Use get_directive_token throughout.  Remove
5138         unnecessary cases from switch.  Move assertion-handling code
5139         down to OTHER case.
5140         (cpp_parse_expr): If we see '+' or '-', check the context to
5141         determine if they are unary or binary operators.  Streamline
5142         the jumps a bit.  Do not call skip_rest_of_line.
5143
5144         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
5145         static.  Export get_directive_token.  Update commentary.
5146         (cpp_defined): New function.
5147         (do_define): Remove reference to T_PCSTRING.  Call
5148         free_definition to release memory for old definition, when
5149         redefining a macro.
5150         (eval_if_expression): Set only_seen_white to 0 before calling
5151         cpp_parse_expr.  Call skip_rest_of_line after it returns.
5152         (cpp_read_check_assertion): Don't preserve a pointer into the
5153         token buffer across a call to cpp_get_token.
5154
5155         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
5156         * cppfiles.c (redundant_include_p): Use cpp_defined.
5157         * cpphash.c (free_definition): New function.
5158         (delete_macro): Use it.  Update commentary.
5159         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
5160         free_definition.
5161         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
5162         from enum node_type.  Prototype cpp_defined and get_directive_token.
5163         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
5164
5165         * fix-header.c (check_macro_names): Use cpp_defined.
5166         (read_scan_file): Set inhibit_warnings and inhibit_errors in
5167         the options structure.
5168
5169 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5170
5171         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
5172
5173 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
5174
5175         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
5176         rather than die->die_tag.
5177
5178 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5179
5180         * combine.c (make_extraction, force_to_mode): Avoid warning on
5181         mixed-signedness conditionals.
5182         (make_field_assignment, nonzero_bits): Likewise.
5183         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
5184         (store_split_bit_field, extract_split_bit_field): Likewise.
5185         (extract_fixed_bit_field, store_bit_field, 
5186         * expr.c: Change alignment to be unsigned everywhere.
5187         (move_by_pieces, store_constructor_field, store_constructor): 
5188         Alignment parm is unsigned.
5189         (emit_block_move, emit_group_load, emit_group_store): Likewise.
5190         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5191         (do_compare_rtx_and_jump): Likewise.
5192         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
5193         Compare align with GET_MODE_ALIGNMENT.
5194         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
5195         (get_inner_reference): Likewise.
5196         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
5197         (expand_assignment): Local vars for alignment now unsigned.
5198         (store_constructor, store_field, expand_expr, do_jump): Likewise.
5199         (do_compare_and_jump): Likewise.
5200         (store_field): Call new function expr_align.
5201         * expr.h (emit_block_move, emit_group_load, emit_group_store):
5202         Alignment arg now unsigned.
5203         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5204         (do_compare_rtx_and_jump, store_bit_field): Likewise.
5205         (extract_bit_field): Likewise.
5206         * fold-const.c (add_double): Add cast to eliminate signedness warning.
5207         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
5208         (get_best_mode): Alignment arg is unsigned.
5209         * rtl.h (move_by_pieces): Likewise.
5210         * store-layout.c (maximum_field_alignment, set_alignment):
5211         Now unsigned.
5212         (layout_decl): Alignment arg is now unsigned.
5213         Remove unneeded casts.
5214         (layout_record, layout_union, layout_type): Remove unneeded casts.
5215         Local alignment variables now unsigned.
5216         (get_best_mode): Alignment arg now unsigned.
5217         * tree.c (expr_align): New function.
5218         * tree.h (expr_align): Likewise.
5219         (maximum_field_alignment, set_alignment): Now unsigned.
5220         (get_inner_reference): Alignment argument is now pointer to unsigned.
5221         * varasm.c (assemble_variable): Add cast to eliminate warning.
5222
5223 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
5224
5225         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
5226         then store directly into op0.
5227
5228         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
5229         the CALL_INSN, and emit the note immediately after it.
5230
5231 2000-02-10  Nick Clifton  <nickc@cygnus.com>
5232
5233         * config/arm/thumb.md (epilogue): Include a (return) in the
5234         generated insn, and emit it using emit_jump_insn not
5235         emit_insn. 
5236
5237 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
5238
5239         * function.c (assign_temp): Change zero-sized arrays to size 1.
5240         * integrate.c (expand_inline_function): Do not update
5241         stack_alignment_needed
5242         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
5243         add some sanity checking, remove optimization for function with
5244         zero frame size.
5245
5246 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5247
5248         * flow.c (mark_regs_live_at_end): Delete unused variables.
5249
5250         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
5251
5252         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
5253         in macro FRAME_GROWS_DOWNWARD.
5254
5255         * stmt.c (expand_end_bindings): Delete unused variable.
5256
5257         * unroll.c (iteration_info): Mark parameter `loop' with
5258         ATTRIBUTE_UNUSED.
5259
5260 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5261
5262         * fixinc/server.c (load_data): Return NULL if the marker line is
5263         not found.
5264         (run_shell): If load_data returns NULL, retry the command once, in
5265         a new shell.
5266
5267         * configure: Rebuilt.
5268
5269 2000-02-09  Bruce Korb  <bkorb@gnu.org>
5270
5271         * gcc/fixincludes:  ** DELETED **
5272         * gcc/fixcpp:  ** DELETED **
5273         * gcc/fixinc-nt.sed:  ** DELETED **
5274         * gcc/just-fixinc:  ** DELETED **
5275         * gcc/Makefile.in:  Removed out-dated commentary
5276         * gcc/configure.in: Removed fast-fixincludes disablement.
5277         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
5278
5279 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5280         * function.c (thread_prologue_and_epilogue_insns): Uncomment
5281         last change.
5282
5283 2000-02-09  Richard Henderson  <rth@cygnus.com>
5284
5285         * jump.c (delete_insn): Don't delete user labels at -O0.
5286
5287 2000-02-09  Robert Lipe  <robertl@sco.com>
5288
5289         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
5290         Don't link with HOST_LIBS. 
5291
5292 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5293
5294         * configure.in: Correct --help text for --with-dwarf2.
5295         Put tm-dwarf2.h after other tm files, if it's requested.
5296         * configure: Regenerate.
5297         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
5298         defining it.
5299
5300 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5301
5302         * cpplib.h: Provide HASHNODE typedef and forward decl of
5303         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
5304         DEFINITION, struct hashnode, struct macrodef, struct
5305         definition, scan_decls prototype, default defn of
5306         INCLUDE_LEN_FUDGE moved elsewhere.
5307
5308         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
5309         definition, and struct hashnode moved here. Remove the unused
5310         'predefined' field from struct definition.  Replace the 'args'
5311         union with its sole member.  All users updated (cpphash.c).
5312         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
5313         multiple include guard.
5314
5315         * cpphash.c (hashf): Make static; use better algorithm; drop
5316         HASHSIZE parameter; return an unsigned int.
5317         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
5318         used. Calculate HASHSIZE modulus here.
5319         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
5320         here.
5321         (create_definition): Drop PREDEFINITION parameter.
5322         * cpplib.c (do_define): Don't calculate a hash value here.
5323         Don't pass (keyword == NULL) to create_definition.
5324
5325         * scan.h: Prototype scan_decls here.
5326         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
5327         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
5328         callers of cpp_lookup and cpp_install updated.
5329         
5330         * cpphash.c (macarg): Hoist all the flag diddling out of the
5331         function...
5332         (macroexpand): ... and out of the loop that calls macarg.
5333         Skip over the initial paren before macro arguments with
5334         cpp_get_non_space_token; point may be some distance before
5335         that paren.  Abort if it's not there.
5336
5337         * cpplib.c (parse_clear_mark): Delete function.
5338         (parse_set_mark, parse_goto_mark): Make static.
5339         (ACTIVE_MARK_P): New macro.
5340         (skip_block_comment, skip_line_comment): Do not bump the line
5341         if ACTIVE_MARK_P is true.
5342         (cpp_pop_buffer): The buffer to be popped may not have an
5343         active mark.
5344         (cpp_get_token): When looking for the initial paren before
5345         macro arguments, only set a mark in a file buffer, Always
5346         return to that mark before proceeding to call macroexpand or
5347         return a NAME token.
5348
5349         * cpplib.h: Remove prototypes of parse_set_mark,
5350         parse_clear_mark, parse_goto_mark.
5351         (struct cpp_options): Rename 'put_out_comments' to
5352         'discard_comments' and invert its sense.
5353         * cppinit.c, cpphash.c, cpplib.c: All users of
5354         put_out_comments changed to use discard_comments, with
5355         opposite sense.
5356
5357 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5358
5359         * function.c (thread_prologue_and_epilogue_insns): Don't delete
5360         the edge from a block that both jumps and falls through to the
5361         fallthru block.
5362
5363 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
5364
5365         * config/arm/arm.md (movsi): In PIC mode, make sure that a
5366         constant source address is legitimate.
5367
5368 2000-02-09  Philip Blundell  <pb@futuretv.com>
5369
5370         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
5371         correctly.
5372
5373         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
5374         generating PIC.
5375         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
5376
5377 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5378
5379         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
5380         ends with a newline and a NUL.  Don't be so clever manipulating
5381         strings.
5382
5383 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
5384
5385         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
5386         not to BIGGEST_ALIGNMENT.
5387
5388 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
5389
5390         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
5391         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
5392         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
5393         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
5394         * frame.c (execute_cfa_insn): Handle 
5395         DW_CFA_GNU_negative_offset_extended.
5396
5397 2000-02-08  Richard Henderson  <rth@cygnus.com>
5398
5399         * flow.c (tidy_fallthru_edges): Split out from ...
5400         (delete_unreachable_blocks): ... here.
5401         (find_basic_blocks): Use it.
5402
5403 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5404
5405         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
5406
5407 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
5408
5409         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
5410         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
5411         (fix-header.o): Don't depend on cpphash.h.
5412
5413         * scan.c (hashstr): New function. 
5414         * scan.h: Prototype it.
5415         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
5416         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
5417         hashstr.  Report hash table statistics.  Add private     
5418         definition of xrealloc.
5419
5420 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5421
5422         * i386.h (TARGET_SWITCHES): Fix typo in option name.
5423
5424 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
5425
5426         * function.c (thread_prologue_and_epilogue_insns): Don't replace
5427         jumps with returns unless they are jumps to the fallthru block.
5428
5429 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
5430
5431         * i386.md (addqi3_cc): Fix contraints.
5432
5433 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5434
5435         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
5436
5437 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
5438
5439         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
5440         carriage return after a macro name.
5441
5442 2000-02-07  Fred Fish  <fnf@be.com>
5443
5444         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
5445         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
5446
5447 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
5448
5449         * cppfiles.c (deps_output): Count spacers in deps_column.
5450
5451 2000-02-07  Neil Booth  <NeilB@earthling.net>
5452
5453         * cppinit.c (initialize_dependency_output): If there is no
5454         suffix, don't try to look for known suffixes.  Use strrchr.
5455         (cpp_start_read): Remove duplicate initialization.
5456
5457 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
5458
5459         * calls.c (compute_argument_block_size): New argument
5460         preferred_stack_boundary.
5461         (expand_call): update cfun->preferred_stack_boundary, update call of
5462         compute_argument_block_size
5463         (emit_library_call): Increate cfun->preferred_stack_boundary
5464         to PREFERRED_STACK_BOUNDARY
5465         (emit_library_call_value): Likewise.
5466         * explow.c (allocate_dynamic_stack_spave): Likewise.
5467         * function.c (prepare_function_start): Set
5468         cfun->preferred_stack_boundary
5469         * function.h (struct function): Add preferred_stack_boundary field.
5470         * integrate.c (expand_inline_function): Update
5471         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
5472         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
5473         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
5474
5475 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
5476
5477         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
5478         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
5479         cpp_pedwarn, cpp_pedwarn_with_line,
5480         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
5481         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
5482         v_cpp_error_with_line, v_cpp_warning_with_line,
5483         cpp_message_from_errno, cpp_perror_with_name): Delete.
5484
5485         * cpperror.c (cpp_print_containing_files): Take starting
5486         buffer as argument.
5487         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
5488         (v_cpp_message): Now called directly by all entry points.
5489         Remove -1 case.
5490         (cpp_pfatal_with_name, cpp_message): Delete.
5491         (cpp_notice_from_errno, cpp_ice): New functions.
5492         (cpp_notice): Is now for reporting error conditions, just
5493         without an associated file.
5494         (cpp_error, cpp_error_with_line): Don't do anything if
5495         opts->inhibit_errors is on.
5496         (cpp_pedwarn_with_file_and_line): Take column argument also.
5497
5498         * cpplib.h: Update prototypes of exported functions.
5499         (struct cpp_options): Add inhibit_errors.
5500
5501         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
5502         non-error messages.  Include intl.h.
5503
5504         * cppinit.c, cppmain.c: Likewise.  Also, use
5505         cpp_notice_from_errno instead of cpp_perror_with_name or
5506         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
5507
5508         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
5509         report internal errors.
5510
5511         * cpplib.c (do_define): Switch bcopy to memcpy.
5512         Give cpp_pedwarn_with_file_and_line a dummy column argument.
5513
5514         * cpplib.c (copy_rest_of_line): Revert previous change: don't
5515         bail out early if we hit a line comment.
5516
5517 2000-02-06  Richard Henderson  <rth@cygnus.com>
5518
5519         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
5520         * basic-block.h: Declare them.
5521         * emit-rtl.h (active_insn_p): New.
5522         (next_active_insn, prev_active_insn): Use it.
5523         * rtl.h: Declare it.
5524         * function.c (emit_return_into_block): New.
5525         (thread_prologue_and_epilogue_insns): Insert return insns instead
5526         of epilogues when possible.
5527         * jump.c (jump_optimize_1): Remove code to insert a return insn
5528         on the fallthru to the exit block.
5529
5530         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
5531         and for non-empty stack frames.
5532         * i386.md (return): Expand to return-pop as needed.
5533
5534 2000-02-06  Richard Henderson  <rth@cygnus.com>
5535
5536         * simplify-rtx.c (simplify_relational_operation): Canonicalize
5537         constant to op1 for testing.
5538
5539 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5540
5541         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
5542         (fixuns_truncqfqi2): Use it.
5543
5544 2000-02-06  Richard Henderson  <rth@cygnus.com>
5545
5546         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
5547         as a TYPE_LEA insn.
5548
5549         * i386.md (widening and peepholes): Mask the constant instead of
5550         using gen_lowpart.
5551
5552 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
5553
5554         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
5555         input pointer before possibly branching off to the backslash
5556         code.
5557         * cpphash.c (macroexpand): Correctly delete \r escapes when
5558         stringifying parameters.
5559         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
5560         if we can; bail out early if we hit a line comment.
5561         (handle_directive): Treat '# 123' in an .S file just like
5562         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
5563         Return 1 for '# not_a_directive'.
5564         (get_directive_token): Pop macro buffers here, so that
5565         cpp_get_token can't sneakily move past a newline.
5566         Add sanity checks. 
5567         (cpp_get_token): goto randomchar if handle_directive returns 0.
5568
5569         * cppalloc.c: Update copyright.
5570         * cpplib.c: Merge all the static function prototypes into one
5571         block.
5572         * cpplib.h: Remove #if 0 block.
5573
5574         * cpperror.c: Remove #ifdef EMACS block.
5575         * cppmain.c: Likewise.
5576         * cpphash.c: Remove #if 0 blocks.
5577         * cppinit.c: Remove #if 0 blocks, and the -lint option.
5578         * cpplib.c: Remove #if 0 blocks and code referencing
5579         pcp_inside_if or for_lint.  Remove duplicate error message.
5580         Fix error messages for #else after #else or #elif.  Reformat.
5581         Remove archaic TODO list.
5582         * cpplib.h: Remove pcp_inside_if and for_lint flags.
5583
5584 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
5585
5586         * i386/osf1elf.h: Add missing backslash to multiline string.
5587
5588 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5589
5590         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
5591
5592 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5593
5594         * Makefile.in (c-common.o): Depend on $(EXPR_H).
5595
5596         * c-common.c: Include expr.h.
5597
5598         * c-pragma.c (mark_align_stack): Add prototype.
5599
5600         * caller-save.c (add_stored_regs): Likewise.
5601
5602         * combine.c (record_promoted_value): Likewise.
5603
5604         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
5605         Likewise.
5606
5607         * cppinit.c (new_pending_define): Likewise.
5608
5609         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
5610
5611         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
5612         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5613         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
5614         class_scope_p): Likewise.
5615
5616         * dwarf2out.h (dwarf2out_set_demangle_name_func,
5617         dwarf2out_add_library_unit_info): Likewise.
5618
5619         * ggc.h (ggc_page_print_statistics): Likewise.
5620
5621         * haifa-sched.c (propagate_deps): Likewise.
5622
5623         * reg-stack.c (next_flags_user, record_label_references): Likewise.
5624
5625         * rtl.h (set_stack_check_libfunc): Likewise.
5626
5627         * toplev.h (set_fatal_function): Likewise.
5628
5629         * toplev.c (set_fatal_function): Delete prototype.
5630         
5631         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
5632         
5633 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
5634
5635         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
5636         (FUNC_END): Likewise.
5637
5638 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5639
5640         * caller-save.c: Include tm_p.h.
5641
5642 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5643
5644         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
5645
5646 2000-02-04  Neil Booth  <NeilB@earthling.net>
5647
5648         * cccp.c (main): Check 'dir' for a NULL pointer before passing
5649         it to strcmp.
5650
5651 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
5652
5653         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
5654         * genflags.c: Use the max_operand_1 logic from genemit.c to
5655         calculate how many arguments gen_insn prototypes have.  Remove
5656         NO_MD_PROTOTYPES ifdefs from the generated file.
5657         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
5658         file.  Cast gen_insn initializers to insn_gen_fn.
5659         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
5660         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
5661
5662 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5663
5664         * fixinc/Makefile.in (HDR): Add machname.h.
5665         (clean): Likewise.
5666
5667 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5668
5669         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
5670         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
5671         (c4x_cpu_version): Ditto.
5672         * config/c4x/c4x-protos.h: ... here.
5673
5674 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
5675
5676         * dwarf2out.c (add_abstract_origin_attribute): Don't call
5677         gen_abstract_function on our context if we're a nested function.
5678
5679 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5680
5681         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
5682         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
5683
5684 2000-02-04  Bruce Korb  <bkorb@gnu.org>
5685
5686         * fixinc/genfixes(machname.h):
5687         Move the functionality from gen-machine.h into this file.
5688         UNdef MN_NAME_PAT if there are no names to change.
5689         Also, be a little kinder when AutoGen is not present.
5690
5691         * fixinc/Makefile.in(machname.h):
5692         Change the generation rule to use genfixes.
5693
5694         * fixinc/fixfixes.c(machine_name):
5695         machine_name_fix's functionality now dependent upon whether
5696         MN_NAME_PAT is defined.
5697
5698         * fixinc/fixtests.c(machine_name):
5699         ditto.
5700
5701         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
5702         of MN_NAME_PAT.
5703
5704         * fixinc/fixlib.h(mn_get_regexps):
5705         ditto
5706
5707         * fixinc/gen-machine.h: DELETED
5708
5709 2000-02-04  Jan Hubicka  <jh@suse.cz>
5710             Richard Henderson  <rth@cygnus.com>
5711
5712         * i386.c (SAVE_REGS_FIRST): Remove.
5713         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
5714         (ix86_compute_frame_size): Likewise.
5715         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
5716         (ix86_emit_restore_regs): Remove.
5717         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
5718         when a frame pointer is in use.
5719         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
5720         instead of pop to restore a register when profitable; emit leave
5721         when profitable.
5722         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
5723         as a TYPE_LEA insn.
5724         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
5725         * i386.md (prologue_allocate_stack): Remove.
5726         (epilogue_deallocate_stack): Remove.
5727         (pro_epilogue_adjust_stack): New.
5728
5729 2000-02-04  Richard Henderson  <rth@cygnus.com>
5730
5731         * function.c (diddle_return_value): Rework to use a callback function.
5732         Use current_function_return_rtx if it's been set up.
5733         (do_clobber_return_reg, clobber_return_register): New.
5734         (do_use_return_reg, use_return_register): New.
5735         (expand_function_end): Use them.
5736         * stmt.c (expand_null_return): Likewise.
5737         * function.h: Declare them.
5738         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
5739         (mark_reg): Change arguments as appropriate for callback.
5740         * integrate.c (expand_inline_function): Revert 19 Jan change.
5741
5742 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5743
5744         * tm.texi (Values in Registers): Fix typo: "fo" "for".
5745         (Misc): Say the scheduler, not the Haifa scheduler.
5746
5747 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
5748
5749         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
5750         when in_mem is set.  Update all callers.
5751
5752 2000-02-04  Richard Henderson  <rth@cygnus.com>
5753
5754         * i386/openbsd.h (INT_ASM_OP): Define.
5755
5756 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5757
5758         * tm.texi: Fix various typos.
5759
5760 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
5761
5762         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
5763         (MD_STARTFILE_PREFIX_1): New macro.
5764
5765 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
5766
5767         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
5768         destination when needed.
5769         (strmovsi, strsetsi): New expander.
5770         (strmovsi_1, strsetsi_1): New pattern.
5771         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
5772         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
5773         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
5774         * invoke.texi (align-stringops, inline-all-stringops): Document.
5775
5776 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
5777
5778         * i386/netbsd.h (INT_ASM_OP): Define.
5779
5780 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
5781
5782         * cpplib.h (cpp_reader): Add new flag, no_directives.
5783         * cpphash.c (macarg): Set it.
5784         * cpplib.c (handle_directive): If no_directives is on and we
5785         find a directive, issue an error and discard the line.
5786
5787 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
5788
5789         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
5790         FP constants.  Add ! TARGET_FPU check for FP constants.
5791
5792 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
5793         
5794         * flow.c (find_basic_blocks): Don't kill label_value_list
5795         here.
5796         (cleanup_cfg): Kill it here.
5797
5798 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5799
5800         * expr.c (store_field): Ensure ALIGN is no stricter than the
5801         alignment of EXP.
5802
5803 2000-02-02  Richard Henderson  <rth@cygnus.com>
5804
5805         * jump.c (delete_insn): Partially revert 19 Jan change; 
5806         don't convert unused code labels to notes at -O0.
5807
5808 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5809
5810         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
5811         split_all_insns to recreate REG_LABEL notes for flow2 pass.
5812
5813 2000-02-01  Richard Henderson  <rth@cygnus.com>
5814
5815         * i386.c (general_no_elim_operand): New.
5816         (nonmemory_no_elim_operand): New.
5817         (ix86_expand_move): Copy eliminable operands before a push.
5818         * i386-protos.h: Declare new functions.
5819         * i386.h (CAN_ELIMINATE): Simplify.
5820         (PREDICATE_CODES): Update.
5821         * i386.md (push insns): Don't allow eliminable register operands.
5822
5823 2000-02-01  Richard Henderson  <rth@cygnus.com>
5824
5825         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
5826         replace BLKmode with DECL_RTL's mode.
5827
5828 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
5829
5830         * frame.c (find_fde): Convert for loop to do-while so compiler
5831         sees it's always executed at least once.
5832         * libgcc2.c (BBINBUFSIZE): Kill.
5833         (__bb_init_prg): Use fgets.
5834         (__bb_exit_trace_func): Don't paste strings.
5835         * unroll.c (unroll_loop): Initialize unroll_type, not
5836         unroll_number, and tweak logic to match.
5837
5838         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
5839         all failure paths.
5840         (ix86_flags_dependant): Likewise.  Disentangle control flow.
5841         (ix86_sched_reorder): Break guts out to
5842         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
5843         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
5844         any possible use.
5845
5846         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
5847         use string concatenation.  Don't save and restore esi.
5848
5849         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
5850         (machname.h): Remove script to separate file.  Use two-step
5851         sequence so target is not created if script fails.
5852         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
5853         identifiers are defined.
5854         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
5855         an empty string, machine_name doesn't need to do anything at
5856         all.
5857         (is_cxx_header): Add more cases to regexp.
5858         * fixinc/fixlib.h: Update prototype.
5859         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
5860         mn_get_regexps.
5861         * fixinc/fixincl.c: Define NO_BOGOSITY.
5862
5863         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
5864         (hp_sysfile): Add missing comma.
5865         (math_exception): Put the wrapper ifdefs at the beginning and
5866         the end of the file.
5867         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
5868
5869 2000-02-01  Richard Henderson  <rth@cygnus.com>
5870
5871         * sparc.c (fp_zero_operand): Turn into a normal predicate.
5872         Use CONST0_RTX.  Update all callers.
5873         * sparc.h, sparc-protos.h: Update accordingly.
5874         * sparc.md (fp mov insns): Use fp_zero_operand directly
5875         where applicable.
5876
5877 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5878
5879         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
5880         example.
5881
5882 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5883
5884         * Makefile.in (specs.ready): New target.
5885         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
5886
5887 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5888
5889         * fixinc.irix: Use unique filenames for writing into /tmp,
5890         * fixinc.ptx: Likewise.
5891         * fixinc.sco: Likewise.
5892         * fixinc.svr4: Likewise.
5893         * fixinc.winnt: Likewise.
5894
5895 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5896
5897         * tsystem.h: New file.
5898
5899         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
5900         s-crtS): Depend on tsystem.h.
5901
5902         * crtstuff.c: Include tsystem.h.
5903         * frame.c: Likewise.
5904         * libgcc2.c: Likewise.
5905
5906 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
5907
5908         * builtins.c (expand_builtin_memset): Expand for variable sized
5909         lengths too.
5910
5911 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
5912
5913         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
5914         on ABI.
5915
5916 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5917
5918         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
5919
5920         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
5921
5922 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
5923
5924         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
5925         case 3->2 combining (combining with splitting) in which 2 is CC0
5926         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
5927         checked at the begining of the function with the aid of calling 
5928         function 'can_combine_p'. 
5929
5930 2000-01-31  Dave Brolley  <brolley@redhat.com>
5931
5932         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
5933
5934 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
5935
5936         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
5937         new label.
5938
5939 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5940
5941         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
5942         
5943         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
5944         PROTO -> PARAMS.
5945
5946 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
5947
5948         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
5949         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
5950         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
5951         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
5952         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
5953         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
5954         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
5955         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
5956         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
5957         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
5958         
5959         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
5960         Add %(cpp_cpu) to CPP_SPEC.
5961
5962         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
5963         Add %(cc1_cpu) to CC1_SPEC.
5964
5965 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
5966
5967         * c-decl.c (c_decode_option): Accept optional numeric argument to
5968         -Wformat and set warn_format.
5969         * c-common.c: Don't emit warning about non-constant printf format
5970         string unless warn_format > 1.
5971
5972 2000-01-30  Richard Henderson  <rth@cygnus.com>
5973
5974         * alpha.md (return_internal): Allow after reload only.
5975
5976 2000-01-30  Richard Henderson  <rth@cygnus.com>
5977
5978         * i386.c (ix86_compute_frame_size): Omit padding1 if the
5979         local frame size is zero.
5980
5981 2000-01-30  Richard Henderson  <rth@cygnus.com>
5982
5983         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
5984         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
5985         * alpha.md (return): Turn into an expander.
5986         (return_internal): Don't use $26.
5987         (epilogue): Emit the return insn.
5988
5989 2000-01-30  Richard Henderson  <rth@cygnus.com>
5990
5991         * alpha.md (negtf2, abstf2): Fix word order thinko.
5992         (extendsftf2): New.
5993         (trunctfsf2): Avoid intermediate rounding errors.
5994
5995 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
5996
5997         * cppfiles.c (find_position): Drop 'colp' argument, return the
5998         new line base.
5999         (read_and_prescan): Adjust to match.  Don't ever manipulate
6000         line or line_base except via find_position.
6001
6002 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
6003
6004         * c-parse.in: Apply Ulrich's changes from c-parse.y.
6005         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
6006         Regenerate.
6007
6008 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
6009
6010         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
6011         just print "<command line>".  If 'filename' is null or an
6012         empty string, print "<stdin>" for the filename.
6013         * cpplib.c (do_define): Don't print the 'location of the
6014         previous definition' message if we're still parsing the
6015         command line.
6016         (cpp_pedwarn_with_file_and_line): Always call
6017         cpp_file_line_for_message.
6018
6019 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
6020
6021         * flow.c (mark_regs_live_at_end): Fix typo.
6022
6023 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
6024
6025         * c-common.c: Adjust variable names, comments, help strings to c99.
6026         * c-lex.c: Likewise.
6027         * c-parse.y: Likewise.
6028         * c-tree.h: Likewise.
6029         * cccp.c: Likewise.
6030         * cpplib.h: Likewise.
6031         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
6032         * cppinit.c: Likewise.
6033
6034 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6035
6036         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
6037         * c4x.c: Define the optab rtx values.
6038         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
6039         (c4x_emit_libcall): Use new optab rtx values.
6040         (c4x_emit_libcall3): Likewise.
6041         (c4x_emit_libcall_mulhi): Likewise.
6042         * c4x-protos.h: Add prototypes for optab rtx values and change
6043         prototypes for above c4x_emit_libcall functions.
6044
6045 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6046
6047         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
6048         syntax is used.
6049         (c4x_function_prologue): Use regnames intead of float_reg_names when
6050         TI syntax is used.
6051         (c4x_function_epilogue): Likewise.
6052         (c4x_print_operand): Likewise.
6053         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
6054         * c4x.md (set_high): Disable for TARGET_TI.
6055
6056 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6057
6058         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
6059         of framepointer + constant to ADDR_REGS class.
6060         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
6061         * c4x.c (std_or_reg_operand): New function.
6062         * c4x-protos.h (std_or_reg_operand): Prototype it.
6063
6064 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6065
6066         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
6067                 object names as libgcc2.c.
6068         * libgcc.S: Use newly defined names.
6069
6070 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
6071         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
6072         function.
6073         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
6074         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
6075         (FLOW_LOOP_LAST_BLOCK): Likewise.
6076
6077 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6078
6079         * basic-block.h (struct loop): New fields 'first' and 'last'.
6080         * flow.c (flow_loops_find): Compute loop->first and loop->last.
6081         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
6082         and loop->last to check for NOTE_INSN_LOOP_END.
6083
6084 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
6085
6086         * predict.c (estimate_probability): Use the new FIRST and LAST fields
6087         of the loop descriptor rather than HEADER and LATCH. Also added
6088         missing break statements as well making some coding style modifications
6089         as suggested by Michael Hayes.
6090
6091 2000-01-28  Richard Henderson  <rth@cygnus.com>
6092
6093         * flow.c (find_basic_blocks): Remove do_cleanup argument.
6094         Break out that code ...
6095         (cleanup_cfg): ... here.
6096         (commit_one_edge_insertion): Detect a return instruction being
6097         emitted to an edge.  Emit a barrier following; clear fallthru.
6098         (commit_edge_insertions): Verify CFG consistency.
6099         * function.c (expand_function_start): Kill unused variable.
6100         (expand_function_end): Likewise.
6101         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
6102         to insert the epilogue.
6103
6104         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
6105         (delete_null_pointer_checks): Likewise.
6106         * output.h: Likewise.
6107         * reg-stack.c (reg_to_stack): Likewise.
6108         * toplev.c (rest_of_compilation): Likewise.  Run
6109         thread_prologue_and_epilogue_insns after rebuilding the CFG.
6110
6111 2000-01-28  Richard Henderson  <rth@cygnus.com>
6112
6113         * Makefile.in (flow.o): Revert 24 Jan change.
6114         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
6115         FUNCTION_VALUE result to DECL_RESULT's mode.
6116
6117         * haifa-sched.c (schedule_insns): Don't recompute reg info
6118         after reload.
6119
6120 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
6121
6122         * configure.in: Make --enable-cpplib the default.
6123         * configure: Regenerate.
6124         * gcc.dg/990119-1.c: No longer expected to fail.
6125
6126 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
6127
6128         * jump.c (jump_optimize_1): Delete an optimization that is also done
6129         by merge_blocks in flow.
6130
6131 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6132
6133         * diagnostic.c (build_message_string, output_printf,
6134         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
6135         (build_location_prefix): Fix non-literal format string.
6136
6137 2000-01-27  Richard Henderson  <rth@cygnus.com>
6138
6139         * alpha.md (trunctfsf2): New.
6140
6141 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
6142
6143         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
6144
6145 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6146
6147         * cppinit.c (cpp_handle_option): Recognize C++ comments under
6148         -std=gnu89.
6149         * cpplib.c (skip_block_comment, skip_line_comment): Split code
6150         out of...
6151         (skip_comment) ... here.  Permit C++ comments in system
6152         headers always.  Warn about C++ comments in user code under
6153         -std=gnu89 -pedantic.
6154         (copy_comment): Use skip_comment.
6155         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
6156         return EOF.
6157         (consider_directive_while_skipping, do_else, do_endif): Call
6158         validate_else unconditionally.
6159         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
6160         text after the conditional in a system header.
6161         * cpplib.h (struct cpp_buffer): Add flag
6162         warned_cplusplus_comments.
6163
6164 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6165
6166         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
6167         Use unshare_all_rtl_1.
6168         (unshare_all_rtl_again): New function.
6169         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
6170
6171         * function.c (purge_addressof_1): Use unshare_all_rtl_again
6172         rather than resetting the 'used' flags ourself.
6173
6174         * toplev.c (rest_of_compilation): Add current_function_decl
6175         to the unshare_all_rtl call.
6176         * tree.h: Prototype unshare_all_rtl.
6177         * rtl.h: Prototype unshare_all_rtl_again here.
6178
6179 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6180
6181         * genoutput.c (output_prologue): Include ggc.h in generated
6182         files.
6183         * Makefile.in (insn-output.o): Depends on ggc.h.
6184
6185 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
6186             Hans-Peter Nilsson  <hp@bitrange.com>
6187
6188         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
6189         Remove redundant include of xm-ns32k.h.
6190         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
6191         Remove redundant include of xm-ns32k.h.
6192         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
6193         Remove redundant include of xm-ns32k.h.
6194         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
6195
6196         * ns32k/ns32k.h: Update comment on multiply-add instructions.
6197         (TARGET_SWITCHES): Add documentation strings.
6198         (DWARF_FRAME_REGNUM): Override default definition.
6199         (REG_CLASS_CONTENTS): Add comments.
6200         (SUBSET_P): Format to reduce line length.
6201         (SMALL_REGISTER_CLASSES): Make a run time option.
6202         (GO_IF_NONINDEXED_ADDRESS): Reformat.
6203         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
6204         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
6205         (regclass_map): fix typo in comment.
6206         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
6207         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
6208         (trace, reg_or_mem_operand): Delete, unused function.
6209         (calc_address_cost): Small offsets are cheaper than large ones.
6210         (expand_block_move): Generate more efficient code when bytes is a
6211         known at compile time.
6212         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
6213         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
6214         instead of reg_or_mem_operand.
6215
6216         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
6217         not general_operand.  Similarly use "=rm" or stricter, not "=g".
6218         For input operands, use stricter constraints than "g" if not
6219         general_operand.  Similarly use stricter predicate than
6220         "general_operand" when stricter constraints than "g" are present,
6221         except for matching constraints.
6222         (movstrsi): Use "memory_operand" for operands 0 and 1.
6223         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
6224         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
6225         not reg_or_mem_operand.
6226         (udivmoddisi4): Ditto.
6227         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
6228         Use nonimmediate_operand for operand 3, not register_operand.
6229         (udivmoddiqi4_internal): Use register_operand for operand 1, not
6230         reg_or_mem_operand.
6231
6232 2000-01-27  Fred Fish  <fnf@be.com>
6233
6234         * gthr-posix.h: Fix typo; compatibily -> compatibility.
6235         * gthr-single.h: Likewise.
6236         * gthr-solaris.h: Likewise.
6237         * gthr-vxworks.h: Likewise.
6238         * gthr-win32.h: Likewise.
6239         * gthr.h: Likewise.
6240
6241 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6242
6243         * cppinit.c: Add " (cpplib)" to end of string printed by
6244         -v / --version.
6245
6246 2000-01-27  Richard Henderson  <rth@cygnus.com>
6247
6248         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
6249         testing for a signed comparison.
6250         (alpha_emit_floatuns): New.
6251         * alpha-protos.h: Declare it.
6252         * alpha.md (floatunsdisf2, floatunsdidf2): New.
6253         (extendsfdf2): Tidy.
6254
6255 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
6256
6257         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
6258         no -g option specifying debugging format, default to -gstabs+.
6259
6260 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
6261
6262         * calls.c (special_function_p): New argument fork_or_exec.
6263         (expand_call): When profile_arc_flag is set and the function
6264         is in the fork_or_exec group, call __bb_fork_func first.
6265         * libgcc2.c, _bb module (__bb_fork_func): New function.
6266         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
6267         output file.
6268         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
6269         * tree.h (special_function_p): Update prototype.
6270
6271 2000-01-26  Richard Henderson  <rth@cygnus.com>
6272
6273         * alpha.c (alpha_split_tfmode_pair): New.
6274         * alpha-protos.h: Declare it.
6275         * alpha.md (abstf2, negtf2): New.
6276         (movtf insn): Add input G constraint.
6277         (movtf splitter): Use alpha_split_tfmode_pair.
6278
6279 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6280
6281         * i386/cygwin.h: PROTO -> PARAMS.
6282
6283 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
6284
6285         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
6286         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
6287         using _Qp_cmp/_Q_cmp and testing the return value.
6288         (print_operand): Call reverse_condition_maybe_unordered if
6289         we are handling CCFPmode or CCFPEmode.
6290         Handle ORDERED, UN* and LTGT comparisons.
6291         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
6292         if not TARGET_HARD_QUAD.
6293         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
6294         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
6295         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
6296         Adjust gen_b* calls so that they reflect return comparison of
6297         sparc_emit_float_lib_cmp.
6298
6299 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6300
6301         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
6302         incoming operands array is large enough for one more operand.
6303         (alpha_emit_xfloating_arith): Likewise.
6304
6305 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6306
6307         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
6308         file with one line and no trailing newline.
6309         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
6310         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
6311         checking if the match is on the line.
6312         * fixinc/gnu-regex.c: Provide regerror not __regerror.
6313
6314 2000-01-25  Richard Henderson  <rth@cygnus.com>
6315
6316         * sparc.c (output_cbranch): Fix accidental squashing of the
6317         fp branch pre-delay nop.
6318
6319 2000-01-25  Richard Henderson  <rth@cygnus.com>
6320
6321         * tree.def (UNNE_EXPR): Remove.
6322         * c-typeck.c (build_binary_op): Don't handle it.
6323         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
6324
6325         * rtl.def (UNNE): Remove.
6326         (LTGT): Add.
6327         * jump.c (reverse_condition): Update accordingly.
6328         (swap_condition): Likewise.
6329         (comparison_dominates_p): Handle unordered comparisons.
6330         (reverse_condition_maybe_unordered): New.
6331         * rtl.h (reverse_condition_maybe_unordered): Declare.
6332
6333         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
6334         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
6335         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
6336         * sparc.md (bltgt): New.
6337
6338 2000-01-25  Nick Clifton  <nickc@redhat.com>
6339
6340         * emit-rtl.c (emit_insn): Only check machine class insns for
6341         improper emission of a RETURN.
6342
6343 2000-01-25  Richard Henderson  <rth@cygnus.com>
6344
6345         * Makefile.in (flow.o): Depend on $(EXPR_H).
6346         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
6347         duplicate the structure of diddle_return_value for keeping regs live.
6348
6349 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6350
6351         * loop.c (current_loop_info): Delete.
6352         (consec_sets_invariant_p): Add loop argument, update callers.
6353         (get_condition_for_loop): Likewise.
6354         (count_nonfixed_reads, update_giv_derive): Likewise.
6355         (simplify_giv_expr, general_induction_var): Likewise.
6356         (consec_sets_giv, recombine_givs): Likewise.
6357         (move_movables): Delete loop_start and loop_end arguments,
6358         add loop argument, and update callers.
6359         (find_mem_givs, check_final_value): Likewise.
6360         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
6361         (loop_invariant_p): Rename from invariant_p, add loop argument, and
6362         update callers.
6363         (basic_induction_var): Add loop argument, delete loop_level argument,
6364         and update callers.
6365         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
6366         add loop argument, and update callers.
6367         (find_splittable_regs, find_splittable_givs): Likewise.
6368         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
6369         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
6370         (biv_total_increment): Delete loop_start and loop_end arguments;
6371         update callers.
6372         (precondition_loop_p): Delete loop_start and loop_info arguments;
6373         update callers.
6374         * loop.h (get_condition_for_loop): Add loop argument.
6375         (biv_total_increment): Delete loop_start and loop_end arguments.
6376         (precondition_loop_p): Delete loop_start and loop_info arguments;
6377         add loop argument.
6378         (final_biv_value): Delete loop_start and loop_end arguments;
6379         add loop argument.
6380         (final_giv_value, back_branch_in_range_p): Likewise.
6381
6382 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6383
6384         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
6385
6386 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6387
6388         * Makefile.in (c-gperf.h) : Change the "See" pointer to
6389         point to the new "generated_files" doc.
6390
6391 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6392
6393         * config/fp-bit.c (_unord_f2): Fix typo.
6394
6395 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6396
6397         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
6398         c-typeck.c, objc/objc-act.c: Remove all references to obstack
6399         functions obsoleted by GC, such as push_obstacks_nochange,
6400         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
6401         and code which existed only to decide whether or not to call
6402         them.  Remove now-unused NESTED argument from start_function;
6403         all callers changed.  Do not change behavior based on ggc_p.
6404         The use of the ixp_obstack in c-iterate.c and the util_obstack
6405         in objc/objc-act.c remain; these are not obsoleted by garbage
6406         collection.
6407         * c-tree.h: Update prototype for start_function.
6408
6409         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
6410
6411 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6412
6413         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
6414         mips16.
6415
6416 2000-01-25  Richard Henderson  <rth@cygnus.com>
6417
6418         * sparc-protos.h (select_cc_mode): Declare.
6419         * sparc.c (select_cc_mode): New.  Handle unordered compares.
6420         (output_cbranch): Always reverse via code change.  Handle
6421         unordered compares.  Factor tests and string updates.
6422         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
6423         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
6424         * sparc.md (bunordered, bordered): New.
6425         (bungt, bunlt, buneq, bunge, bunle): New.
6426
6427 2000-01-25  Richard Henderson  <rth@cygnus.com>
6428
6429         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
6430         * ggc-common.c (ggc_add_rtx_varray_root): New.
6431         (ggc_mark_rtx_varray): New.
6432         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
6433         functions down below ggc_mark_foo.
6434         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
6435
6436 2000-01-25  Richard Henderson  <rth@cygnus.com>
6437
6438         * alpha.c (secondary_reload_class): Don't allocate a secondary
6439         for integral mode memories into FLOAT_REGS.  Rearrange the more
6440         complicated memory expression inward.
6441
6442 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6443
6444         * inclhack.def: Fixes to play nicer with FreeBSD, and
6445         corrections to comments.
6446         (cxx_unready): Add select expression.
6447         (irix_sockaddr): Add bypass expression.
6448         (machine_ansi_h_va_list): New fix.
6449         (stdio_va_list): No need to edit _BSD_VA_LIST_.
6450         Split out addition of "#include <stdarg.h>" to...
6451         (stdio_stdarg_h): ... here.
6452         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
6453         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
6454         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
6455         size_t.
6456         (ultrix_ifdef): Tighten up select expression.
6457
6458         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
6459         re_ct and max_mach to avoid use of shell.  Make printed names
6460         match names in inclhack.def.  Use static copyright date.
6461         Don't count c_test and test expressions as requiring regex_t
6462         slots.  Add some commentary.
6463         * inclhack.tpl: Do not include the 'This script contains N
6464         fixup scripts' line if PROGRAM is defined.  Use static
6465         copyright date.
6466
6467 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
6468
6469         * dwarf2out.c: include "varray.h", not dyn-string.h.
6470         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
6471         (addr_const_to_string, addr_to_string): Lose.
6472         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
6473         (struct dw_val_struct): val_addr is now an rtx.
6474         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
6475         (used_rtx_varray): New varray.
6476         (dwarf2out_init): Initialize it.
6477         (save_rtx): New fn.
6478         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
6479         addr_to_string.
6480         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
6481         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
6482         * Makefile.in (dwarf2out.o): Update dependencies.
6483
6484 2000-01-24  Richard Henderson  <rth@cygnus.com>
6485
6486         * i386.c (i386_dwarf_output_addr_const): New.
6487         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
6488
6489         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
6490         if defined.
6491         * dwarfout.c (output_mem_loc_descriptor): Likewise.
6492         * i386.c (i386_simplify_dwarf_addr): New.
6493         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
6494
6495 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
6496
6497         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
6498         TYPE_STUB_DECL is NULL.
6499
6500 2000-01-24  Richard Henderson  <rth@cygnus.com>
6501
6502         * builtins.c (expand_tree_builtin): Move ...
6503         * c-common.c (expand_tree_builtin): ... here.
6504
6505 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6506
6507         * loop.h (LOOP_INFO): New accessor macro.
6508         * basic-block.h (struct loop): Rename field `info' to `aux'.
6509         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
6510         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
6511         * unroll.c (loop_iterations, unroll_loop): Likewise.
6512
6513 2000-01-24  Christopher Faylor <cgf@cygnus.com>
6514
6515         * config/i386/t-cygwin: Accomodate new winsup directory layout
6516         when searching for include files.
6517
6518 2000-01-24  Richard Henderson  <rth@cygnus.com>
6519
6520         * rtl.def: Add unordered fp comparisions.
6521         * tree.def: Likewise.
6522         * tree.h: Add ISO C 9x unordered fp comparision builtins.
6523
6524         * builtins.c (expand_tree_builtin): New function.
6525         * c-typeck.c (build_function_call): Use it.
6526         (build_binary_op): Support unordered compares.
6527         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
6528
6529         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
6530         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
6531         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
6532         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
6533         * jump.c (reverse_condition): Don't abort for UNLE etc, but
6534         return UNKNOWN.
6535         (swap_condition): Handle unordered compares.
6536         (thread_jumps): Check can_reverse before reversing.
6537         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
6538         reversed for FP.
6539
6540         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
6541         setcc is present before acking for cmp_optab.  Update all callers.
6542         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
6543         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
6544         * expr.c (expand_expr): Likewise.  Support unordered compares.
6545         (do_jump, do_store_flag): Likewise.
6546         * expr.h (enum libfunc_index): Add unordered compares.
6547
6548         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
6549         (DPBIT_FUNCS): Add _unord_df.
6550         * config/fp-bit.c (_unord_f2): New.
6551         * fp-test.c (main): Try unordered compare builtins.
6552
6553         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
6554         * alpha.c (alpha_comparison_operator): Check mode properly.
6555         (alpha_swapped_comparison_operator): Likewise.
6556         (signed_comparison_operator): Likewise.
6557         (alpha_fp_comparison_operator): New.
6558         (alpha_emit_conditional_branch): Handle unordered compares.
6559         * alpha.h (PREDICATE_CODES): Update.
6560         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
6561         (bunordered, bordered): New.
6562
6563 2000-01-24  Richard Henderson  <rth@cygnus.com>
6564
6565         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
6566         * alpha.md (movtf): New expander, insn, and splitter.
6567
6568 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
6569
6570         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
6571         dead registers.
6572
6573 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
6574
6575         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
6576         (FIXED_REGISTERS, CALL_USED_REGISTERS,
6577          REG_ALLOC_ORDER): Add frame pointer
6578         (FRAME_POINTER_REGNUM): Set to 20
6579         (HARD_FRAME_POINTER_REGNUM): New macro.
6580         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
6581         to HARD_FRAME_POINTER.
6582         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
6583         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
6584         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
6585         (HI_REGISTER_NAMES): Add "frame".
6586         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
6587         (debug_reg): Handle FRAME_POINTER_REGNUM.
6588         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
6589         GENERAL_REGS and INDEX_REGS.
6590         * i386.c (SAVED_REGS_FIRST): new macro.
6591         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
6592         (ix86_decompose_address, memory_address_length): Likewise.
6593         (regclass_map): Add frame pointer.
6594         (call_insn_operand): Handle frame_pointer_rtx.
6595         (reg_no_sp_operand): Likewise.
6596         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
6597         (print_operand, legitimize_pic_address): Fix formating.
6598         (ix86_compute_frame_size): Make static, update prototype, new
6599         parameters padding1, padding2, use ix86_nsaved_regs, use
6600         stack_alignment_needed.
6601         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
6602         to HARD_FRAME_POINTER_REGNUM conversions.
6603         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
6604         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
6605         (print_reg): Abort on FRAME_POINTER_REGNUM
6606
6607 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
6608
6609         * i386.h (PREDICATE_CODES): Add aligned_operand.
6610         * i386.c (aligned_operand): New function.
6611         (ix86_aligned_p): Kill.
6612         * i386.md (movhi_1): Emit mov for aligned operands.
6613         (promoting peep2s): Use aligned_operand.
6614
6615 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
6616
6617         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
6618         expression to allow underscores in macro names.
6619         (fix_char_macro_defines): Increment scanning pointer.
6620
6621 2000-01-23  Richard Henderson  <rth@cygnus.com>
6622
6623         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
6624         * alpha/osf5.h: New file.
6625         * configure.in (alpha-*-osf5): Add it to tm_file.
6626
6627         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
6628
6629         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
6630         (alpha_emit_xfloating_cvt, function_arg): Declare.
6631         * alpha.c (alpha_emit_conditional_branch): Call
6632         alpha_emit_xfloating_compare for TFmode compares.
6633         (alpha_lookup_xfloating_lib_func): New.
6634         (alpha_compute_xfloating_mode_arg): New.
6635         (alpha_emit_xfloating_libcall): New.
6636         (alpha_emit_xfloating_arith): New.
6637         (alpha_emit_xfloating_compare): New.
6638         (alpha_emit_xfloating_cvt): New.
6639         (print_operand): Add default abort case.
6640         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
6641         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
6642         (BIGGEST_ALIGNMENT): Increase to 128 bits.
6643         (RETURN_IN_MEMORY): True for TF/TCmode.
6644         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
6645         (FUNCTION_ARG): Move to function_arg.
6646         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
6647         (ASM_OUTPUT_LONG_DOUBLE): New.
6648         (ASM_OUTPUT_DOUBLE): Always output bits.
6649         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
6650         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
6651         (extenddftf2, trunctfdf2): New.
6652
6653 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6654
6655         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
6656         * config/sparc/sol2.h: ... here.
6657
6658 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6659
6660         * basic-block.h (struct loops): New field `levels'.
6661         * flow.c (flow_loops_level_compute): Traverse all outer loops.
6662         (flow_loop_level_compute): Initialise level to 1.
6663         (flow_loops_find): Set loops->levels.
6664         (flow_loops_dump): Print loops->levels.
6665
6666 2000-01-23  Richard Henderson  <rth@cygnus.com>
6667
6668         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
6669         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
6670
6671 2000-01-23  Richard Henderson  <rth@cygnus.com>
6672
6673         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
6674         * i386.h (DBX_REGISTER_NUMBER): Use them.
6675         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
6676         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
6677         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
6678         * i386/sequent.h: Kill incorrect comment.
6679
6680 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
6681
6682         * ggc-page.c (struct page_entry): Make `context_depth' an
6683         `unsigned short'.
6684         (struct globals): Likewise.
6685
6686 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
6687
6688         * loop.c (check_dbra_loop): When checking a loop for
6689         reversability, check the source of any stores to ensure
6690         they don't depend on an initial value.
6691
6692 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6693
6694         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
6695
6696 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
6697
6698         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
6699         'pz_scan' into scope of entire function.  Only affects
6700         compiles with -DDEBUG.
6701
6702 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
6703
6704         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
6705         section naming to that prior to 2000-01-07 patch.
6706         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
6707         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
6708         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
6709         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
6710         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
6711
6712 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
6713
6714         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
6715         constant.
6716
6717 2000-01-21  Jim Wilson  <wilson@cygnus.com>
6718
6719         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
6720         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
6721
6722 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
6723
6724         * cpphash.c (change_newlines): Delete function.
6725         (struct argdata): Delete 'newlines' and 'use_count' fields.
6726         (macroexpand): Remove code referencing those fields.
6727
6728 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6729
6730         * loop.c (loops_info): New variable.
6731         (loop_optimize): Allocate loops->array and free it on exit.
6732         Allocate memory for loops_info and assign to each loop,
6733         replacing alloca.
6734         (find_and_verify_loops): Do not allocate loops->array.
6735
6736 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
6737
6738         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
6739
6740 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
6741
6742         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
6743         pseudos if expanded after first flow.
6744         (movdi_pic_label_ref): Likewise.
6745
6746 2000-01-20  Richard Henderson  <rth@cygnus.com>
6747
6748         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
6749
6750 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
6751
6752         * Makefile.in (fixinc.sh): Depend on specs.
6753         * fixinc/Makefile.in: Add rule to create machname.h.
6754         (fixlib.o): Depend on machname.h.
6755         * fixinc/fixtests.c (machine_name): New test.
6756         * fixinc/fixfixes.c (machine_name): New fix.
6757         * fixinc/fixlib.c (mn_get_regexps): New helper function for
6758         the machine_name test and fix.
6759         * fixinc/fixlib.h: Prototype it.
6760         * fixinc/inclhack.def (machine_name): Use the C test and fix.
6761         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
6762
6763         * gcc.c (do_spec_1) [case P]: Take care not to create
6764         identifiers with three leading or trailing underscores.
6765
6766         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
6767         (fixincl): Don't specify libraries twice on link line.
6768         (gnu-regex.o): Remove special rule.
6769         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
6770         defined by config.h.  Do not define _REGEX_RE_COMP.
6771         (regcomp): Allocate and initialize a fastmap.
6772         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
6773
6774 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
6775
6776         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
6777
6778 2000-01-19  Richard Henderson  <rth@cygnus.com>
6779
6780         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
6781         arguments with BB.  Update all callers.  Tidy line wrapping.
6782
6783 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
6784
6785         * emit-rtl.c (try_split): Return last_insn if we split the
6786         last_insn.
6787
6788 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
6789
6790         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
6791         (ix86_initial_elimination_offset): Declare.
6792         * i386.c (ix86_nsaved_regs): Break out from ...
6793         (ix86_can_use_return_insn_p): ... here.
6794         (ix86_emit_save_regs): Break out from ...
6795         (ix86_expand_prologue): ... here.
6796         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
6797         out from ...
6798         (ix86_expand_epilogue): ... here.
6799         (ix86_compute_frame_size): Make static, add prototype.
6800         (ix86_initial_elimination_offset): Break out from ...
6801         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
6802
6803 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6804
6805         * recog.h (OUT_FCN): Delete.
6806
6807         * vax.md: Call `get_insn_template' instead of OUT_FCN.
6808
6809 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6810
6811         * cppalloc.c: PROTO -> PARAMS.
6812         * cpperror.c: Likewise.
6813         * cppfiles.c: Likewise.
6814         * cpplib.c: Likewise.
6815         * cpplib.h: Likewise.
6816
6817         * config/arm/arm-protos.h: PROTO -> PARAMS.
6818         * config/arm/arm.c: Likewise.
6819         * config/c4x/c4x.c: Likewise.
6820         * config/fr30/fr30-protos.h: Likewise.
6821         * config/nextstep.c: Likewise.
6822         * config/pa/pa.c: Likewise.
6823         * config/pj/pj.c: Likewise.
6824         * config/rs6000/rs6000.c: Likewise.
6825         * config/v850/v850-protos.h: Likewise.
6826         * config/v850/v850.c: Likewise.
6827
6828 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6829
6830         * i370-protos.h: New file.
6831
6832         * i370.c: Include tm_p.h.  Fix compile time warnings.
6833
6834         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
6835         warnings.
6836
6837         * i370.md: Likewise.
6838
6839 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6840
6841         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
6842         (target_isinf, target_isnan, eisnan): Mark parameter with
6843         ATTRIBUTE_UNUSED.
6844         (eiisinf): Wrap in INFINITY.
6845         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
6846         (ibmtoe): Remove unused variable `rndsav'.
6847
6848 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6849
6850         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
6851         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
6852
6853 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
6854
6855         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
6856         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
6857         (fix_char_macro_defines, fix_char_macro_uses): New functions.
6858
6859         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
6860         Recognize Emacs mode markers also.
6861         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
6862         C++ comments in C++ headers.  Call is_cxx_header only if
6863         necessary.
6864
6865         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
6866         bypass for ncurses.
6867         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
6868         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
6869         ... these, which use the new C fixes.
6870         (math_exception): Escape literal '+' in bypass expression.
6871
6872         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
6873         Regenerate.
6874
6875 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6876
6877         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
6878         inside the MEM.
6879
6880 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6881
6882         * loop.c (loop_optimize): Allocate loop_info structure for each loop
6883         prior to calling scan_loop.
6884
6885 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6886
6887         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
6888         (split_branches, calc_live_regs): Likewise.
6889
6890 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6891
6892         * sh.md (fpu_single, fp_mode): New attributes.
6893
6894 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6895
6896         * loop.c (current_loop_info): Renamed from loop_info_data
6897         and changed to a pointer.
6898         (loop_optimize): Allocate loop_info structure for each loop
6899         and initialise to zero.
6900         (scan_loop): Set current_loop_info.
6901
6902         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
6903         on iteration_var.
6904
6905 2000-01-19  Richard Henderson  <rth@cygnus.com>
6906
6907         * stupid.c: Die die die.
6908         * Makefile.in (OBJS): Remove stupid.o.
6909         (stupid.o): Likewise.
6910
6911         * except.c (emit_eh_context): Don't emit USEs for stupid.
6912         * explow.c (probe_stack_range): Likewise.
6913         * flags.h (obey_regdecls): Remove.
6914         * flow.c (find_basic_blocks): Don't run try_merge_blocks
6915         when not optimizing.
6916         (life_analysis): Limit data collection when not optimizing.
6917         (mark_regs_live_at_end): Always mark the return value registers.
6918         (mark_used_regs): Remove dummy RETURN case.
6919         (print_rtl_with_bb): Don't consult obey_regdecls.
6920         * function.c (use_variable, use_variable_after): Remove.
6921         (assign_parms): Consult optimize not obey_regdecls.
6922         (expand_function_start): Don't emit USEs for stupid.
6923         (expand_function_end): Likewise.
6924         * global.c (build_insn_chain): Export.
6925         * integrate.c (expand_inline_function): Kill return-value USE
6926         handling code.
6927         * jump.c (jump_optimize_1): Do simple jump optimizations and
6928         dead code elimination.
6929         (calculate_can_reach_end): Remove check_deleted argument.
6930         (delete_insn): Patch out insns even when not optimizing.
6931         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
6932         * rtl.h (use_variable, use_variable_after): Remove declarations.
6933         (build_insn_chain): Declare.
6934         * stmt.c (expand_value_return): Don't emit USEs for stupid.
6935         (expand_end_bindings): Likewise.
6936         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
6937         * toplev.c (obey_regdecls): Remove.
6938         (rest_of_compilation): Don't set it.  Kill stupid in favour of
6939         flow1, local-alloc, and reload.
6940         (main): Don't set obey_regdecls.
6941
6942         * config/nextstep.c (handle_pragma): Likewise.
6943
6944         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
6945
6946         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
6947
6948 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6949
6950         * alpha-protos.h: PROTO -> PARAMS.
6951         * alpha.c: Likewise.
6952         * elf.h: Likewise.
6953         * h8300.c: Likewise.
6954         * i386-protos.h: Likewise.
6955         * i386.c: Likewise.
6956         * m32r-protos.h: Likewise.
6957         * m32r.c: Likewise.
6958         * mips.c: Likewise.
6959         * mips.md: Likewise.
6960         * gmon-sol2.c: Likewise.
6961         * sparc.c: Likewise.
6962
6963 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6964
6965         * ns32k-protos.h: New file.
6966
6967         * ns32k.c: Fix compile time warnings.
6968
6969         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
6970         warnings.
6971
6972         * ns32k.md: Likewise.
6973
6974 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6975
6976         * vax-protos.h: New file.
6977
6978         * vax.c: Fix compile time warnings.
6979
6980         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
6981         warnings.
6982
6983         * vax.md: Likewise.
6984
6985         * vaxv.md: Likewise.
6986
6987 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6988
6989         * romp-protos.h: New file.
6990
6991         * romp.c: Fix compile time warnings.
6992
6993         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
6994         warnings.
6995
6996         * romp.md: Likewise.
6997
6998 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6999
7000         * we32k-protos.h: New file.
7001
7002         * we32k.c: Fix compile time warnings.
7003
7004         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
7005         warnings.
7006
7007 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7008
7009         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
7010
7011         * except.c (eh_regs): Likewise.
7012
7013         * final.c (output_operand): Likewise.
7014
7015         * fold-const.c (target_isinf, target_isnan): Likewise.
7016
7017 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
7018
7019         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
7020         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
7021
7022         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
7023         when optimize_size.
7024         (clrstrsi): Rewrite.
7025         (strsethi, strsetqi): New expanders.
7026         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
7027         (cmpstrsi): Emit compare insn before cmpstrsi_1
7028         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
7029         (strlensi_1): Likewise.
7030         (cmpstrsi_1): Likewise; do not output compare.
7031         (strlen expander): Do not unroll when optimizing for size.
7032         (*subsi3_carry): Rename to subsi3_carry
7033         (addqi3_cc): New pattern.
7034         * i386.h (processor_costs): Add move_ratio field.
7035         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
7036         * i386.c (*_cost): Set move_ratio.
7037         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
7038         (x86_expand_strlensi_1): Rewrite the main loop.
7039
7040 2000-01-17  Richard Henderson  <rth@cygnus.com>
7041
7042         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
7043         * cse.c (find_comparison_args, fold_rtx): Likewise.
7044         * integrate.c (subst_constants): Likewise.
7045         * loop.c (get_condition): Likewise.
7046
7047         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
7048
7049         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
7050
7051 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7052
7053         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
7054         (RESTORE_WARN_FLAGS): Unpack it.
7055         Change semantic type of extension to ttype.
7056         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
7057         * c-parse.y, c-parse.c, objc/objc-parse.y,
7058         objc/objc-parse.c: Regenerate.
7059
7060 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
7061
7062         * fixinc/fixlib.c: Add copyright notice.
7063         (compile_re): New function.
7064         * fixinc/fixlib.h: Prototype compile_re.
7065
7066         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
7067         Use compile_re to compile regular expressions.
7068
7069         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
7070         where the pattern matched.
7071
7072         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
7073         use 'replace'.
7074         (ultrix_ansi_compat): Likewise.
7075         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
7076         add egrep test.
7077         (interactv_add2, interactv_add3): Delete.
7078         (x11_sprintf): Don't use filename glob.
7079         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
7080         Regenerate.
7081
7082 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7083
7084         * print-rtl.c: PROTO -> PARAMS.
7085         * real.c: Likewise.
7086         * reg-stack.c: Likewise.
7087         * resource.c: Likewise.
7088         * sdbout.h: Likewise.
7089         * simplify-rtx.c: Likewise.
7090         * stor-layout.c: Likewise.
7091         * stupid.c: Likewise.
7092         * xcoffout.c: Likewise.
7093         * xcoffout.h: Likewise.
7094
7095 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7096
7097         * toplev.c: PROTO -> PARAMS.
7098         * toplev.h: Likewise.
7099         * tree.c: Likewise.
7100         * tree.h: Likewise.
7101         * unroll.c: Likewise.
7102         * varasm.c: Likewise.
7103         * varray.c: Likewise.
7104         * varray.h: Likewise.
7105
7106 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7107
7108         * reload.c: PROTO -> PARAMS.
7109         * reload.h: Likewise.
7110         * reload1.c: Likewise.
7111         * reorg.c: Likewise.
7112         * resource.h: Likewise.
7113         * rtl.c: Likewise.
7114         * rtl.h: Likewise.
7115         * rtlanal.c: Likewise.
7116         * sbitmap.h: Likewise.
7117         * sdbout.c: Likewise.
7118         * stack.h: Likewise.
7119         * stmt.c: Likewise.
7120         * system.h: Likewise.
7121
7122 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7123
7124         * machmode.h: PROTO -> PARAMS.
7125         * mbchar.h: Likewise.
7126         * mips-tdump.c: Likewise.
7127         * mips-tfile.c: Likewise.
7128         * optabs.c: Likewise.
7129         * output.h: Likewise.
7130         * prefix.c: Likewise.
7131         * profile.c: Likewise.
7132         * protoize.c: Likewise.
7133         * real.h: Likewise.
7134         * recog.c: Likewise.
7135         * recog.h: Likewise.
7136         * regclass.c: Likewise.
7137         * regmove.c: Likewise.
7138         * regs.h: Likewise.
7139
7140 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7141
7142         * ggc-common.c: PROTO -> PARAMS.
7143         * ggc-page.c: Likewise.
7144         * ggc-simple.c: Likewise.
7145         * ggc.h: Likewise.
7146         * global.c: Likewise.
7147         * graph.c: Likewise.
7148         * gthr-win32.h: Likewise.
7149         * haifa-sched.c: Likewise.
7150         * halfpic.h: Likewise.
7151         * integrate.c: Likewise.
7152         * integrate.h: Likewise.
7153         * jump.c: Likewise.
7154         * lcm.c: Likewise.
7155         * local-alloc.c: Likewise.
7156         * loop.c: Likewise.
7157         * loop.h: Likewise.
7158
7159 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7160
7161         * genattr.c: PROTO -> PARAMS.
7162         * genattrtab.c: Likewise.
7163         * gencheck.c: Likewise.
7164         * gencodes.c: Likewise.
7165         * genconfig.c: Likewise.
7166         * genemit.c: Likewise.
7167         * genextract.c: Likewise.
7168         * genflags.c: Likewise.
7169         * gengenrtl.c: Likewise.
7170         * genopinit.c: Likewise.
7171         * genoutput.c: Likewise.
7172         * genpeep.c: Likewise.
7173         * genrecog.c: Likewise.
7174
7175 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
7176
7177         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
7178
7179 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7180
7181         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
7182         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
7183         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
7184         * configure, config.in: Rebuilt.
7185
7186 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
7187
7188         * config/i386/i386.md: Add peephole to merge successive stack
7189         adjusts.
7190
7191 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
7192
7193         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
7194         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
7195         when walking backwards to find all the parameter loads when
7196         the basic block ends in a call.
7197
7198 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7199
7200         * loop.c (this_loop_info): Delete.
7201         (uid_loop): Add in place of uid_loop_num.  All uses updated.
7202         (loop_number_exit_count): Delete and replace with entry in loop
7203         structure.  All uses updated.
7204         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7205         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7206         (loop_outer_loop): Likewise.
7207         (loop_invalid, loop_number_exit_labels): Likewise.
7208         (loop_used_count_register): Delete and replace with entry in
7209         loop_info structure.
7210         (find_and_verify_loops): Add loops argument.
7211         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
7212         loop_end, etc. arguments with loop structure pointer.  All callers
7213         changed.
7214         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
7215         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
7216         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
7217         (insert_bct): Likewise.
7218         (basic_induction_var): New argument level.
7219         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
7220         vtop, and cont.  Add used_count_register.
7221         (uid_loop): Delete declaration.
7222         (loop_number_exit_count): Likewise.
7223         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7224         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7225         (loop_outer_loop, loop_used_count_register): Likewise.
7226         (loop_invalid, loop_number_exit_labels): Likewise.
7227         (unroll_loop): Replace loop_start and loop_end arguments
7228         with loop structure pointer.
7229         (loop_precondition_p, loop_iterations): Likewise.
7230         Include basic-block.h.
7231         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
7232         with loop structure pointer.
7233         (loop_precondition_p, loop_iterations): Likewise.
7234         * basic-block.h (struct loop): New entries vtop, cont,
7235         cont_dominator, start, end, top, scan_start, exit_labels,
7236         exit_count.
7237         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
7238
7239 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7240
7241         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
7242
7243 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
7244
7245         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
7246
7247 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7248
7249         * pdp11-protos.h: New file.
7250
7251         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
7252         time warnings.
7253
7254         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
7255         warnings.
7256
7257         * pdp11.md: Likewise.
7258
7259         * 2bsd.h: Likewise.
7260
7261 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7262
7263         * mn10300-protos.h: New file.
7264
7265         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7266         time warnings.
7267
7268         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
7269         warnings.
7270
7271         * mn10300.md: Likewise.
7272
7273 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7274
7275         * mn10200-protos.h: New file.
7276
7277         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
7278         time warnings.
7279
7280         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
7281         warnings.
7282
7283         * mn10200.md: Likewise.
7284
7285 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7286
7287         * h8300-protos.h: New file.
7288
7289         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7290         time warnings.
7291
7292         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
7293         warnings.
7294
7295         * h8300.md: Likewise.
7296
7297 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7298
7299         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
7300         (asm_emit_uninitialised): Likewise.
7301
7302 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
7303
7304         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
7305         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
7306
7307 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7308
7309         * config/mips/mips.c (override_options): Don't turn on extra
7310         alignment for mips16.
7311
7312 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7313
7314         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
7315         eabi, and make sure queued POSTINCREMENT rtl is emitted at
7316         the right point.
7317
7318 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7319
7320         * builtins.c (PAD_VARARGS_DOWN): Define.
7321         (std_expand_builtin_va_arg): Use the above macro.
7322         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
7323         * tm.texi (Register Arguments): Document the above macro.
7324
7325 2000-01-14  Nick Clifton  <nickc@cygnus.com>
7326
7327         * emit-rtl.c (emit_insn): If checking is enabled, make sure
7328         that this function has not been used to emit a jump
7329         instruction.
7330
7331         * jump.c (return_jump_1): Cope with being passed a null rtx.
7332
7333 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7334
7335         * eh-common.h: PROTO -> PARAMS.
7336         * emit-rtl.c: Likewise.
7337         * errors.c: Likewise.
7338         * errors.h: Likewise.
7339         * except.c: Likewise.
7340         * except.h: Likewise.
7341         * explow.c: Likewise.
7342         * expmed.c: Likewise.
7343         * expr.c: Likewise.
7344         * expr.h: Likewise.
7345         * final.c: Likewise.
7346         * fix-header.c: Likewise.
7347         * flow.c: Likewise.
7348         * fold-const.c: Likewise.
7349         * function.c: Likewise.
7350         * function.h: Likewise.
7351         * gcc.c: Likewise.
7352         * gcov-io.h: Likewise.
7353         * gcov.c: Likewise.
7354         * gcse.c: Likewise.
7355
7356 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7357
7358         * sh-protos.h: New file.
7359
7360         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
7361         Add static prototypes.  Fix compile time warnings.
7362
7363         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
7364         * sh.md: Likewise.
7365         * elf.h: Likewise.
7366
7367 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7368
7369         * arc-protos.h: New file.
7370
7371         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
7372         time warnings.
7373
7374         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
7375         warnings.
7376
7377         * arc.md: Likewise.
7378
7379 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7380
7381         * dsp16xx-protos.h: New file.
7382
7383         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
7384         time warnings.
7385
7386         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
7387         warnings.
7388
7389         * dsp16xx.md: Likewise.
7390
7391 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7392
7393         * convex-protos.h: New file.
7394
7395         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
7396         time warnings.
7397
7398         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
7399         warnings.
7400
7401 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7402
7403         * elxsi-protos.h: New file.
7404
7405         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
7406         time warnings.
7407
7408         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
7409         warnings.
7410
7411         * elxsi.md: Likewise.
7412
7413 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7414
7415         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
7416         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
7417         match the comment for MIPS16.
7418
7419 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
7420
7421         * flow.c (split_edge): Do not call set_block_for_insn if we
7422         do not have a basic_block_for_insn structure.
7423
7424         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
7425         and destination functions are 32bit aligned within the trampoline.
7426         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
7427         (TRAMPOLINE_ALIGNMENT): Define.
7428
7429         * cse.c (cse_insn): When changing (set (pc) (reg)) to
7430         (set (pc) (label_ref)), verify the change creates a valid insn.
7431
7432         * fr30.c (call_operand): Tighten and rework to match rules for
7433         call RTL expressions.
7434         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
7435         * fr30.md (call patterns): Improve constraints.
7436
7437 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
7438
7439         * fr30.c (fr30_expand_epilogue): Revert last change.
7440         Use emit_jump_insn for the return insn.
7441
7442 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
7443                           Stan Cox  <scox@cygnus.com>
7444
7445         * predict.c: New file. Preliminary infrastructure work for static
7446         branch prediction and basic block reordering.
7447         * basic-block.h: Add prototype for estimate_probability.
7448         * Makefile.in: Add rules for predict.o.
7449
7450 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
7451
7452         * fixincludes (va_list): Use __not_va_list__ for the dummy.
7453         * fixinc/*: Likewise.
7454
7455 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7456
7457         * cccp.c: PROTO -> PARAMS.
7458         * cexp.y: Likewise.
7459         * collect2.c: Likewise.
7460         * combine.c: Likewise.
7461         * convert.h: Likewise.
7462         * cse.c: Likewise.
7463         * dbxout.c: Likewise.
7464         * dbxout.h: Likewise.
7465         * diagnostic.c: Likewise.
7466         * doprint.c: Likewise.
7467         * dwarf2out.c: Likewise.
7468         * dwarf2out.h: Likewise.
7469         * dwarfout.c: Likewise.
7470         * dwarfout.h: Likewise.
7471         * dyn-string.h: Likewise.
7472
7473 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7474
7475         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
7476         macro conditionals guarding use.
7477
7478         * dwarf2out.c: Include "tm_p.h".
7479
7480         * function.c (locate_and_pad_parm): Mark parameter with
7481         ATTRIBUTE_UNUSED.
7482         (expand_function_end): Likewise for variable `context'.
7483
7484         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
7485
7486 2000-01-13  Nick Clifton  <nickc@cygnus.com>
7487
7488         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
7489         register to prevent compile time warnings.
7490
7491 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
7492
7493         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
7494         to avoid -Wtraditional warning.
7495
7496 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7497
7498         * 1750a-protos.h: New file.
7499
7500         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
7501         time warnings.
7502
7503         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
7504         warnings.
7505
7506         * 1750a.md: Likewise.
7507
7508 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7509
7510         * a29k-protos.h: New file.
7511
7512         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7513         time warnings.
7514
7515         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
7516         warnings.
7517
7518 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7519
7520         * clipper-protos.h: New file.
7521
7522         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
7523         time warnings.
7524
7525         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
7526         warnings.
7527
7528 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7529
7530         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
7531
7532 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
7533
7534         * configure.in (--enable-new-gxx-abi): New option.
7535         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
7536         * Makefile.in (GXX_ABI_FLAG): New variable.
7537         * configure: Regenerate.
7538
7539 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7540
7541         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
7542         * tm.texi (FORCE_STRUCT_BLK): Document.
7543         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
7544
7545 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
7546
7547         * config/ns32k/ns32k.md: Revert Jan 9 change.
7548
7549         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
7550         to a mode-test, if the predicate is address_operand.
7551
7552 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
7553
7554         * combine.c (if_then_else_cond): Be careful about what kinds
7555         of RTL expressions are passed to operand_subword.
7556
7557         * flow.c (split_edge): If we have to insert a new jump, make
7558         sure to associate it with a basic block.
7559
7560         * flow.c (commit_one_edge_insertion): A block with one successor
7561         can end in a JUMP_INSN that is not a simplejump.
7562
7563 2000-01-12  Robert Lipe  <robertl@sco.com>
7564
7565         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
7566         (BUILD_VA_LIST_TYPE): Define.
7567         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
7568         with crtstuff.c.
7569
7570 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
7571
7572         * cccp.c (do_pragma): Add cast to (char *).
7573
7574 2000-01-12  Richard Henderson  <rth@cygnus.com>
7575             Fred Fish  <fnf@be.com>
7576             Jason Merrill  <jason@cygnus.com>
7577
7578         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
7579         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
7580         * i386/beos-elf.h, i386/beos-pe.h: New files.
7581
7582         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
7583         * cross-make (SYSTEM_HEADER_DIR): Define using
7584         CROSS_SYSTEM_HEADER_DIR.
7585
7586         * gcc.c (LIBRARY_PATH_ENV): Provide default.
7587         (process_command): Use it.
7588         (main): Likewise.  Kill trailing = from env vars.
7589         (build_search_list): Put it back.
7590         * collect2.c (main): Use LIBRARY_PATH_ENV.
7591
7592         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
7593         * toplev.c: Use NEED_DECLARATION_ENVIRON.
7594
7595         * tm.texi (Frame Layout): Document SMALL_STACK.
7596         * c-common.c (c_common_nodes_and_builtins): Check it.
7597
7598         * system.h: Undef alloca after including glibc's <stdlib.h>,
7599         if USE_C_ALLOCA is defined.
7600
7601         * gcc.c (set_input): New fn.
7602         (main): After all input files are compiled, reset the input file
7603         info to the first.
7604
7605         * aclocal.m4 (rindex, index): If already defined, don't attempt
7606         to redefine.
7607
7608         * ginclude/varargs.h: (__va_list__): Define ifndef.
7609         * ginclude/stdarg.h: Likewise.
7610
7611         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
7612         instead of unsigned char.
7613
7614         * hash.h (true, false, boolean): Undef before enum.
7615
7616         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
7617         proper type of "HOST_WIDE_INT *", rather than their natural type of
7618         "unsigned HOST_WIDE_INT *".
7619
7620 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7621
7622         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
7623
7624         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
7625
7626         * regclass.c (choose_hard_reg_mode): Likewise.
7627
7628         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
7629
7630         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
7631
7632 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7633
7634         * c-common.c: PROTO -> PARAMS.
7635         * c-common.h: Likewise.
7636         * c-decl.c: Likewise.
7637         * c-iterate.c: Likewise.
7638         * c-lang.c: Likewise.
7639         * c-lex.c: Likewise.
7640         * c-lex.h: Likewise.
7641         * c-parse.in: Likewise.
7642         * c-pragma.c: Likewise.
7643         * c-pragma.h: Likewise.
7644         * c-tree.h: Likewise.
7645         * c-typeck.c: Likewise.
7646         * objc/objc-act.c: Likewise.
7647         * objc/objc-act.h: Likewise.
7648
7649 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7650
7651         * m88k-protos.h: New file.
7652
7653         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7654         time warnings.
7655
7656         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
7657
7658         * m88k.md: Likewise.
7659
7660         * tekXD88.h: Likewise.
7661
7662 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7663
7664         * m68k-protos.h: New file.
7665
7666         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7667         time warnings.
7668
7669         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
7670
7671         * mot3300.h: Likewise.
7672
7673 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
7674
7675         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
7676         extract_bitlst.
7677         (extract_bitlist): Declare bitlen.
7678
7679 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
7680
7681         * cccp.c: Accept and ignore -lang-fortran.
7682
7683         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
7684         qualifiers don't match at any level of pointerness.
7685
7686 2000-01-12  Robert Lipe  <robertl@sco.com>
7687
7688         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
7689
7690 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
7691
7692         * reload1.c (reload_reg_unavailable): New static variable.
7693         (reload_reg_free_p): Test it.
7694         (reload_reg_free_for_value_p): Test it instead of
7695         reload_reg_used.
7696         (choose_reload_regs_init): Compute it.
7697
7698 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
7699
7700         * reorg.c (fill_slots_from_thread): Check modified_in_p
7701         before replacing.
7702
7703 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
7704
7705         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
7706         these nodes even if INTERNALS is not set.
7707
7708 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
7709
7710         * gcse.c (delete_null_pointer_checks_1): Cope when
7711         get_condition cannot determine the condition.
7712
7713 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
7714
7715         * toplev.h (set_message_length): Declare.
7716
7717         * diagnostic.c (obstack_chunk_alloc): Define macro.
7718         (obstack_chunk_free): Likewise.
7719         (struct output_buffer): New data structure.
7720         (vmessage): Remove.
7721         (output_maximum_width): New variable.
7722         (doing_line_wrapping, set_message_length, init_output_buffer,
7723         get_output_prefix, output_space_left, emit_output_prefix,
7724         output_newline, output_append, output_puts, dump_output,
7725         vbuild_message_string, build_message_string, build_location_prefix,
7726         voutput_notice, output_printf, line_wrapper_printf,
7727         vline_wrapper_message_with_location):  New functions. Implement
7728         automatic line wrapping.
7729         (v_message_with_decl): Make it handle automatic line wrapping.
7730         (v_error_with_file_and_line): Likewise.
7731         (v_warning_with_file_and_line): Likewise.
7732         (announce_function): Likewise.
7733         (default_print_error_function): Likewise.
7734
7735 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
7736
7737         * cpplib.h (struct cpp_options): Change lang_asm to char.
7738         Add lang_fortran.
7739         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
7740         done in cpp_handle_option now.
7741         (initialize_builtins): Take out special case code used only by
7742         __STDC_VERSION__.
7743         (cpp_handle_option): Turn off trigraphs and trigraph warnings
7744         if -traditional.  Recognize -lang-fortran and set
7745         lang_fortran, also turn off cplusplus_comments.
7746         (print_help): Document -lang-fortran.
7747         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
7748         lang_asm. Ignore all directives other than `# 123 "file"' if
7749         CPP_PREPROCESSED.
7750         (cpp_get_token): If -traditional, don't recognize directives
7751         unless the # is in column 1.
7752         (parse_string): If lang_fortran or lang_asm, silently
7753         terminate strings ('' or "") at end of line.
7754         Remove unnecessary braces.
7755
7756 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7757             Richard Henderson  <rth@cygnus.com>
7758
7759         * resource.c (mark_referenced_resources): Mark a set strict_low_part
7760         as used.
7761         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
7762         strict_low_part when possible.
7763
7764 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7765
7766         * alias.c: PROTO -> PARAMS.
7767         * basic-block.h: Likewise.
7768         * bitmap.c: Likewise.
7769         * bitmap.h: Likewise.
7770         * builtins.c: Likewise.
7771         * c-aux-info.c: Likewise.
7772         * caller-save.c: Likewise.
7773         * calls.c: Likewise.
7774
7775 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7776
7777         * Makefile.in (toplev.o): Depend on regs.h.
7778
7779         * output.h (tdesc_section): Prototype.
7780
7781         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
7782
7783         * sdbout.c: Include "tm_p.h".
7784
7785         * toplev.c: Include "regs.h".
7786
7787 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
7788
7789         * unroll.c (unroll_loop): Add EH support.
7790
7791 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7792
7793         * pa-protos.h: New file.
7794
7795         * pa.c: Include recog.h and tm_p.h.
7796         (compute_zdepwi_operands, compute_movstrsi_length,
7797         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
7798         find_addr_reg, import_milli): Add static prototypes.
7799         (pa_cpu_string, pa_arch_string): Constify a char*.
7800         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
7801         (read_only_operand): Add argument `mode'.
7802         (singlemove_string, output_move_double, output_fp_move_double,
7803         output_block_move, output_and, output_ior, output_ascii,
7804         remove_useless_addtr_insns, milli_names, output_mul_insn,
7805         output_div_insn, output_mod_insn, output_arg_descriptor,
7806         output_cbranch, output_bb, output_bvb, output_dbra, ,
7807         output_millicode_call, output_call, hppa_encode_label,
7808         output_parallel_movb, output_parallel_addb): Constify a char*.
7809         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
7810         (output_parallel_addb): Remove extra arg to `constrain_operands'
7811
7812         * pa.h:  Move all prototypes to pa-protos.h.
7813         (pa_cpu_string, pa_arch_string): Constify a char*.
7814         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
7815
7816         * pa.md: Call `function_label_operand' with mode argument.
7817         Likewise for `read_only_operand'.
7818         Fix nesting of parens in call to `symbolic_operand'.
7819
7820 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7821
7822         * i860-protos.h: New file.
7823
7824         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
7825         time warnings.
7826
7827         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
7828
7829         * i860.md: Likewise.
7830
7831 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
7832
7833         * i386.md (movstrsi expander): Rewrite.
7834         (movstrsi_1 insn): Deleted.
7835         (strmovhi, strmovqi expander): New expanders.
7836         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
7837         * i386.c (x86_single_stringop): New global variable.
7838         * i386.h (x86_single_stringop): Declare.
7839         (TARGET_SINGLE_STRINGOP): New macro.
7840
7841 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
7842
7843         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
7844         integer vararg POSTINCREMENT before the destination of the jump
7845         for the hard fp case.
7846         (function_arg_pass_by_reference): Pass a copy of CUM to
7847         FUNCTION_ARG.
7848
7849         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
7850         for CONSTANT_ADDRESS_P above while loop for subreg.
7851
7852 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
7853
7854         * flow.c (propagate_block): When a prologue/epilogue insn
7855         is marked dead, unconditionally clear libcall_is_dead and
7856         insn_is_dead, and only dump rtl if warnings aren't being
7857         suppressed.
7858
7859 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
7860
7861         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
7862         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
7863         (FIXED_REGISTERS): Set dirflag as fixed.
7864         (CALL_USED_REGISTERS): Set dirflag as used.
7865         (REG_ALLOC_ORDER): Set dirflag as last one.
7866         (DIRFLAG_REG): New macro.
7867         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
7868         (HI_REGISTER_NAMES): Add dirflag.
7869         (DEBUF_PRINT_REG): Handle dirflag.
7870         * i386.md (type attribute): New cld and str types.
7871         (length_opcode attribute): Set cld and str to 1.
7872         (memory attribute): Set str to unknown - it is not clear from the
7873         patterns.
7874         (pent_np function unit): Prefixed string operations takes 12 cycles
7875         minimally; cld takes 2 cycles.
7876         (ppro_uops attribute): Str is "many" and cld is "few".
7877         (ppro_p0 unit): Handle cld here.
7878         (k6_alux unit): Handle cld and str types.
7879         (k6_load unit): It is ocupied by str opcodes.
7880         (k6_store unit): It is ocupied by str opcodes.
7881         (athlon_decode): Str is vector decoded.
7882         (athlon_ieu): Handle str and cld.
7883         (cld pattern): New.
7884         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
7885         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
7886         cmpstrsi_nz_1 insn): Do not output cld instruction
7887
7888 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
7889
7890         * gcc.texi (G++ and GCC): Add Java and Chill.
7891         (Bug Critera): Don't list languages.
7892
7893         * gcc.texi (Incompatibilities): No longer claim most C compilers
7894         are K&R.
7895
7896         * gcc.texi (G++ and GCC): Update other front-ends list.
7897
7898 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
7899
7900         * i386.c (ix86_expand_setcc): Fix typo.
7901         (ix86_expand_movcc): Similarly.
7902
7903         * Band-aid until haifa's bitset implementation is nuked.
7904         * haifa-sched.c (extract_bitlst): New parameter for size of the
7905         bitset in bits.  All callers changed.  Avoid looking at undefined
7906         bits in the bitset.
7907         (edgeset_bitsize): New variable.
7908         (schedule_region): Initialize edgeset_bitsize.
7909
7910 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7911
7912         * Makefile.in (optabs.o): Depend on real.h
7913         (resource.o): Depend on insn-attr.h
7914
7915         * builtins.c (result_vector): Wrap prototype in macro conditions
7916         governing definition and use.
7917
7918         * c-common.c: Include tm_p.h.
7919
7920         * c-lex.c: Likewise.
7921
7922         * elfos.h: Constify a char*.
7923
7924         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
7925         (get_attr_length, shorten_branches, profile_after_prologue): Mark
7926         parameter with ATTRIBUTE_UNUSED.
7927
7928         * fold-const.c (exact_real_inverse): Wrap variable `i' in
7929         CHECK_FLOAT_VALUE.
7930
7931         * haifa-sched.c (schedule_insns): Mark parameter with
7932         ATTRIBUTE_UNUSED.
7933
7934         * optabs.c: Include real.h.
7935
7936         * real.h (ereal_atof): Add prototype arguments.
7937
7938         * resource.c: Include insn-attr.h.
7939
7940         * sdbout.c (sdbout_queue_anonymous_type,
7941         sdbout_dequeue_anonymous_types): Wrap in macro
7942         SDB_ALLOW_FORWARD_REFERENCES.
7943         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
7944         ATTRIBUTE_UNUSED.
7945
7946         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
7947
7948         * stupid.c: Include tm_p.h.
7949
7950         * tree.c (real_value_from_int_cst): Mark parameter with
7951         ATTRIBUTE_UNUSED.
7952
7953 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7954
7955         * i960-protos.h: New file.
7956
7957         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
7958         time warnings.
7959
7960         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
7961
7962 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7963
7964         * combine.c (expand_field_assignment): Do not discard SUBREGs
7965         while computing nonzero_bits.
7966
7967 2000-01-09  Nick Clifton  <nickc@cygnus.com>
7968
7969         * config/arm/arm.c: Fix compile time warnings about signed vs
7970         unsigned constants.
7971         * config/arm/arm.h: Fix compile time warnings about signed vs
7972         unsigned constants.
7973
7974 2000-01-09  Philip Blundell  <philb@gnu.org>
7975
7976         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
7977         than `ldm' with only one register.
7978         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
7979         only one register.
7980
7981         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
7982         clobbered.
7983
7984 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
7985
7986         * config/ns32k/ns32k.md (load or push effective address): Operand 1
7987         must have SImode.
7988
7989 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7990
7991         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
7992         assignment used as truth value.
7993
7994         * function.c (assign_temp): Mark parameter `dont_promote' with
7995         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
7996         PROMOTE_FOR_CALL_ONLY.
7997
7998         * genrecog.c (write_subroutine): Mark variable `operands' with
7999         ATTRIBUTE_UNUSED.
8000
8001         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
8002         ATTRIBUTE_UNUSED.
8003
8004         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
8005         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
8006
8007         * toplev.c (note_deferral_of_defined_inline_function): Likewise
8008         for `decl'.
8009
8010 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8011
8012         * config/c4x.h: Tidy up comments.
8013         * config/c4x.c: Likewise.
8014
8015 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
8016
8017         * fold-const.c (lshift_double, rshift_double): Handle
8018         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
8019
8020 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8021
8022         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
8023         in prepare_function_start().
8024
8025 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
8026
8027         * config/v850/v850.c (expand_epilogue): Interrupt functions no
8028         longer allocate extra stack for function calls.
8029
8030 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8031
8032         * config/c4x/c4x.md (*subqf3_set): Fix typo.
8033
8034 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8035
8036         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
8037
8038 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
8039
8040         * rs6000.c (processor_target_table): Add power3 as alias for 630.
8041         * aix43.h: Revert Aug 2 change.
8042         (HAS_INIT_SECTION): Define, not visible yet.
8043         (LD_INIT_SWITCH): Define, not visible yet.
8044         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
8045
8046         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
8047
8048         * collect2.c (main): Expand ld2 size further.
8049         (export_object_lst): Cast assignment to avoid warning.
8050         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
8051         (scan_prog_file, COFF): Do not collect initialization or
8052         finalization functions generated for entire shared object if
8053         init/fini support present.
8054
8055 2000-01-07  Nick Clifton  <nickc@cygnus.com>
8056
8057         * config/elfos.h: Tidy up formatting of marcos.  Make sure
8058         that .section directives are always prefixed by a tab.
8059
8060         * config/svr4.h: Add #include "elfos.h" and remove duplicate
8061         definitions.
8062
8063 2000-01-07  Matt Austern  <austern@sgi.com>
8064
8065         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
8066         expon.
8067
8068 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
8069
8070         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
8071         crtstuff.c.
8072         (crtbegin.o, s-crtS): Likewise.
8073
8074 2000-01-06  Richard Henderson  <rth@cygnus.com>
8075
8076         * alpha.md (adddi_2+1): Limit offset such that it will be
8077         loadable with a single ldah+lda pair.
8078         (adddi_2+2): Explicitly fail split if we can't make it work.
8079
8080 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
8081
8082         * protoize.c: Conditionally include unistd.h.
8083         (IS_SAME_PATH_CHAR): New macro.
8084         (IS_SAME_PATH): New macro.
8085         (CPLUS_FILE_SUFFIX): New macro.
8086         (cplus_suffix): New static variable.
8087         (is_abspath): New static function.
8088         (in_system_include_dir): Handle DOS style pathnames.
8089         (file_could_be_converted): Likewise.
8090         (file_normally_convertible): Likewise.
8091         (directory_specified_p): Likewise.
8092         (file_excluded_p): Likewise.
8093         (abspath): Likewise.
8094         (shortpath): Likewise.
8095         (referenced_file_is_newer): Likewise.
8096         (save_def_or_dec): Likewise.
8097         (do_processing): Likewise.
8098         (main): Likewise.
8099         (edit_file): Likewise. Use rename instead of link.
8100         (rename_c_file): Likewise. Don't rename syscalls file.
8101         (munge_compile_params): Define null device for DOS based systems.
8102         (process_aux_info_file): Use binary mode if appliable.
8103         (edit_file): Likewise.
8104         * invoke.texi (Running Protoize): Document C++ suffixes used.
8105
8106         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
8107         IS_DIR_SEPARATOR macros.
8108         * collect2.c: Likewise.
8109         * cppinit.c: Likewise.
8110         * dwarf2out.c: Likewise.
8111         * gcc.c: Likewise.
8112         * gcov.c: Likewise.
8113         * prefix.c: Likewise.
8114         * rtl.c: Likewise.
8115         * toplev.c: Likewise.
8116         * system.h: And move to here.
8117
8118         * prefix.c (update_path): Fix typo in variable name.
8119
8120 2000-01-06  Richard Henderson  <rth@cygnus.com>
8121
8122         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
8123         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
8124         (count_reg_sets_1, count_reg_references): Likewise.
8125         (flow_loops_level_compute): Start counting actual loop depth at 1.
8126         (flow_loops_find): Likewise.
8127         * local-alloc.c (update_equiv_regs): Likewise.
8128         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
8129
8130 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
8131
8132         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
8133         FIRST_PSEUDO_REGISTER
8134         * dwarf2out.c: Don't include frame.h
8135         * dwarfout.c: Likewise
8136         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
8137         frame.h
8138
8139 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
8140
8141         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8142         dead registers.
8143
8144         * i386.c (movsf splitter): Fix typo in my last checkin.
8145
8146 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8147
8148         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
8149         own definition of this macro.
8150         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
8151         flag_data_sections or UNIQUE_SECTION_P are true.
8152
8153         * tm.texi (UNIQUE_SECTION): Document that it can be called for
8154         unitialised data decls.
8155
8156         * config/i386/winnt.c (i386_pe_unique_section): Cope with
8157         being called for uninitialised data.
8158
8159         * config/i386/interix.c (i386_pe_unique_section): Cope with
8160         being called for uninitialised data.
8161
8162         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
8163         for uninitialised data.
8164
8165         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
8166         for uninitialised data.
8167
8168         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
8169         for uninitialised data.
8170
8171         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
8172         (UNIQUE_SECTION_P): Always generate a unique section if
8173         flag_data_sections is true.
8174         (UNIQUE_SECTION): Also generate unique sections for
8175         uninitialised data.
8176         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
8177         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
8178         named_section().
8179
8180 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8181
8182         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
8183         SI, or DI.
8184
8185 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8186
8187         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
8188         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
8189         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
8190         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
8191         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
8192
8193         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
8194
8195 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
8196
8197         * c-decl.c (finish_enum): Simplify code to determine minimum and
8198         maximum values of the enum, and calculate the type.  Remove check
8199         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
8200         the DECL_INITIAL of each enumeration constant with a copy converted
8201         to the enumeration type.  When updating variant types, don't bother
8202         updating the type itself.
8203
8204         * c-typeck.c (build_binary_op): Simplify conditional expressions
8205         when weeding out spurious signed-unsigned warnings.  Add new
8206         spurious warning category: if the unsigned quantity is an enum
8207         and its maximum value fits in signed_type(result_type).  Update
8208         commentary.
8209         (build_conditional_expr): Warn here if one alternative is signed
8210         and the other is unsigned.
8211
8212 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8213
8214         * config/fr30/fr30.h: Remove extraneous comments.
8215
8216 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
8217
8218         * reload1.c (choose_reload_regs): When disabling a reload, also
8219         set reload_spill_index to -1.
8220
8221 2000-01-04  Joel Sherrill (joel@OARcorp.com>
8222
8223         * configure.in (m68*-*-rtemscoff*): New target, formal name for
8224         old m68*-*-rtems*.
8225         (m68*-*-rtemself*): New target.
8226         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
8227         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
8228         (sparc*-*-rtemself*): New target.
8229         (sparc*-*-rtems*): Now elf not a.out.
8230         * config/i386/rtems.h: Include config/rtems.h.
8231         * config/i386/rtemself.h: Include config/rtems.h.
8232         * config/i960/rtems.h: Include config/rtems.h.
8233         * config/m68k/rtems.h: Include config/rtems.h.
8234         * config/m68k/rtemself.h: Include config/rtems.h.
8235         * config/mips/rtems64.h: Include config/rtems.h.
8236         * config/pa/rtems.h: Include config/rtems.h.
8237         * config/rs6000/rtems.h: Include config/rtems.h.
8238         * config/sh/rtems.h: Include config/rtems.h.
8239         * config/sh/rtemself.h: Include config/rtems.h.
8240         * config/sparc/rtems.h: Include config/rtems.h.
8241         * config/sparc/rtemself.h: Include config/rtems.h
8242
8243 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
8244
8245         * final.c (shorten_branches): Correctly compute length of
8246         asms without operands.
8247
8248 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
8249
8250         * configure.in: Add pj target.
8251         * configure: Regenerate.
8252         * config/pj: New directory.
8253         * config/pj/lib1funcs.S: New file.
8254         * config/pj/linux.h: New file.
8255         * config/pj/pj.c: New file.
8256         * config/pj/pj.md: New file.
8257         * config/pj/pjl.h: New file.
8258         * config/pj/t-pj: New file.
8259         * config/pj/xm-pj.h: New file
8260
8261 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
8262
8263         * toplev.c (rest_of_compilation): Run shorten-branches before
8264         reg-stack for now.
8265
8266 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8267
8268         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
8269         macros so that they're consistent with their names.
8270         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8271         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8272
8273 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8274
8275         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
8276         modified inadvertently.
8277
8278 2000-01-04  Joel Sherrill <joel@OARcorp.com>
8279
8280         * configure.in (v850*-*-rtems*): New target.
8281         * configure: Regenerate.
8282         * config/v850/rtems.h: New file.
8283
8284 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
8285
8286         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
8287         (__gthread_key_create): Likewise.
8288         (__gthread_key_dtor):  Likewise.
8289         (__gthread_once): Fix logic.
8290         (__gthread_key_delete): Cast away constness.
8291
8292         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
8293         * invoke.texi: Document.
8294         * i386/mingw32.h (CPP_SPEC): Use.
8295         (LIBGCC_SPEC): Likewise.
8296         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
8297
8298 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8299
8300         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
8301         (HANDLE_PRAGMA_PACK): Undefine.
8302         (SLOW_UNALIGNED_ACCESS): Define.
8303
8304 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8305
8306         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8307         to default definition.
8308         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
8309         (store_fixed_bit_field): Call macro with word_mode and alignment.
8310         (extract_bit_field): Call macro with relevant mode and alignment.
8311         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8312         to default definition.
8313         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
8314         and alignment.
8315         (move_by_pieces_ninsns): Likewise.
8316         (clear_by_pieces): Likewise.
8317         (emit_push_insn): Likewise.
8318         (store_field): Call macro with relevant mode and alignment.
8319         (expand_expr): Likewise.
8320         (expand_expr_unaligned): Likewise.
8321
8322         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
8323         (SLOW_UNALIGNED_ACCESS): Define.
8324         (CASE_VECTOR_MODE): Always use 32-bit offsets.
8325         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
8326         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
8327         (toc_section): Likewise and .toc pseudo-op.
8328         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
8329         64-bit mode.
8330         (TEXT_SECTION_ASM_OP): Likewise.
8331         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
8332         32-bit offsets.
8333
8334         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
8335         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
8336         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
8337         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
8338         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
8339
8340 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
8341
8342         * regclass.c: Revert my Jan 4 change to loop cost computation.
8343
8344 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8345
8346         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
8347         compilation.
8348
8349 2000-01-04  Stan Cox  <scox@cygnus.com>
8350
8351         * haifa-sched.c (build_control_flow): Change unreachable simple
8352         loop test to check if current block has only one predecessor.
8353         (find_rgns): Initialize degree.  Use dest as degree index, not src.
8354
8355 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8356
8357         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
8358
8359         * calls.c (expand_call): Likewise for
8360         `old_stack_arg_under_construction'.
8361
8362         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
8363
8364         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
8365         `save_constant'.
8366
8367         * gcc.c (execute): Likewise for `ut' and `st'.
8368
8369         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
8370
8371         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
8372
8373         * jump.c (jump_optimize_1): Likewise for `temp2'.
8374
8375         * local-alloc.c (block_alloc): Likewise for `r1'.
8376
8377         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
8378
8379         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
8380         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
8381
8382         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
8383         and `set2'.
8384
8385         * reload.c (find_reloads): Likewise for `goal_alternative_number'
8386         and `goal_earlyclobber'.
8387
8388         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
8389
8390         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
8391
8392         * stupid.c (stupid_life_analysis): Likewise for `chain'.
8393
8394         * unroll.c (copy_loop_body): Likewise for `copy'.
8395
8396         * varasm.c (output_constructor): Likewise for `byte'.
8397
8398 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8399
8400         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
8401         all FP constants for constant->reg moves.
8402         (ix86_split_to_parts): Try to convert memory address into immediate
8403         when available in the constant pool.
8404         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
8405         moves.
8406         (LEGITIMATE_CONSTANT_P): Return 1.
8407         * i386.md (pushsf): New splitter to convert constant pool memory
8408         reference to immediate.
8409         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
8410         reload.
8411
8412 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
8413
8414         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
8415         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
8416         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
8417         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
8418         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
8419
8420 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
8421
8422         * ginclude/stdbool.h:  Support compilation as C++.
8423
8424 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8425
8426         * fold-const.c (make_range): Don't try to reverse an unbounded range.
8427
8428 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
8429
8430         * regclass.c (regclass): Properly compute loop_cost.  Adjust
8431         comments.
8432
8433         * regclass.c: Fix minor whitespace problems.
8434
8435 2000-01-03  Anthony Green  <green@cygnus.com>
8436
8437         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
8438         Restore the pic register if required.
8439
8440 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
8441
8442         * c-common.c (format_char_info): Update comment.
8443         (check_format_info): Recognize 'z' modifier in the same way 'Z'
8444         was recognized.  Emit warning for formats new in ISO C99 only
8445         if flag_isoc9x is not set.
8446
8447 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
8448
8449         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
8450
8451 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8452
8453         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
8454         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
8455         (make_compound_operation): Choose cheaper alternative between
8456         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
8457
8458         * regclass.c (op_costs): Remove global variable.
8459         (record_reg_classes): New parameter "op_costs" and "reg_pref".
8460         (record_operand_costs): Break out from ...
8461         (scan_one_insn): ... here.
8462         (dump_regclass): Make dumps nicer.
8463         (regclass): Dump preferrences choosed and changes done during passes.
8464
8465 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
8466
8467         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
8468
8469 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
8470
8471         * config/sparc/sparc.c (gen_df_reg): New function.
8472         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
8473         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
8474         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
8475         movtf_cc_reg_sp64+1): Use it.
8476
8477 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
8478
8479         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
8480         copied LABEL_DECLs.
8481
8482 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8483
8484         * config/i386/i386.c (ix86_expand_unary_operator): Function
8485         definition made void.
8486         (ix86_expand_binary_operator): Update outdated preceding comment.
8487         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
8488         prototype.
8489
8490         * config/i386/i386.c (override_options): Fix option-name typo.
8491
8492 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
8493
8494         * system.h (CEIL): Define.
8495         * builtins.c (CEIL): Remove.
8496         * expmed.c (CEIL): Likewise.
8497         * expr.c (CEIL): Likewise.
8498         * stor-layout.c (CEIL): Likewise.
8499
8500 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8501
8502         * expr.c (store_constructor_field): Fix typo introduced with last
8503         gcc2 merge.
8504
8505 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
8506
8507         * tree.h (BINFO_N_BASETYPES): New macro.
8508
8509 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
8510
8511         * expmed.c (emit_store_flag): Prevent losing a pending stack
8512         adjust the same way we prevent losing queued increments.
8513
8514 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8515
8516         * function.c (update_temp_slot_address): Handle case where sum of
8517         temporary address plus offset in register is a valid address.
8518
8519 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
8520
8521         * genrecog.c (change_state) Corrected typo.
8522
8523 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8524
8525         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
8526         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
8527         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
8528
8529 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
8530
8531         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
8532         case, expand GT comparisons correctly.  Fix a comment before this
8533         part of the code.
8534
8535 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
8536
8537         * dwarfout.c: Include "frame.h"
8538         * dwarf2out.c: Likewise.
8539         * Makefile.in (dwarfout.o): Depend on frame.h
8540         (dwarf2out.o): Likewise.
8541
8542 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
8543
8544         Restore i386 binary compatibility in Dwarf EH info.
8545         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
8546         value of FIRST_PSEUDO_REGISTER.
8547         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
8548         (struct frame_state): Use DWARF_FRAME_REGISTERS.
8549         * dwarfout.c (output_reg_number): Ditto.
8550         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
8551         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
8552
8553 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
8554
8555         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
8556         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
8557         (<hack>_RE_CT): not needed
8558         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
8559         rewritten to scan the file text once only
8560         "template<..." test added
8561         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
8562         (is_cxx_header): declaration added
8563         * fixinc/fixtests.c(is_cxx_header): removed
8564         (apply_fix_p_t): removed
8565         (double_slash_test): is_cxx_header is only called once now
8566         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
8567         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
8568         within the templates.
8569         The borken spelling of "broken" was fixed.
8570         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
8571         The default level depends on FIXINC_DEBUG.
8572
8573 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8574
8575         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
8576         Otherwise provide a declaration for atexit.
8577         (init_dummy): Make sure dummy call to atexit is nevertheless
8578         called with correct number of args.
8579
8580         * frame.c: Update comments referring to other files.
8581
8582         * libgcc2.c: Likewise.
8583
8584 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8585
8586         * cse.c (free_element, get_element): Remove unused prototypes.
8587
8588         * fold-const.c (extract_muldiv): Initialize variables `op0' and
8589         `op1'.
8590
8591         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
8592         `else' clauses.
8593
8594 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
8595
8596         * configure.in,configure: case arm for mn10200-*-* now sets
8597         float_format=i32 so that float.h will correctly claim "double"
8598         to be 32 bits. Ran autoconf to generate configure from .in file.
8599
8600 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
8601
8602         * pa.md (conditional zero): If op1 is a register, force it into
8603         the same register as op0.
8604
8605 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
8606
8607         * tree.h (BINFO_BASETYPES): Improve documentation.
8608
8609 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8610
8611         * configure.in (--enable-checking): Use a more portable `for'
8612         loop syntax.
8613
8614 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8615
8616         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
8617         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
8618
8619         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
8620         Delete files.
8621
8622         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
8623         Delete descriptions.
8624
8625         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
8626         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
8627         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
8628         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
8629         xm-svr4.h: Remove all instances of sys_siglist handling.
8630
8631 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
8632
8633         * config/sparc/sparc.md (cmp_zero_qi,
8634         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
8635         cmp_zero_extendqidi2_andcc_set): New patterns.
8636
8637 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
8638
8639         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
8640         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
8641         (fpgnulib.c, xfgnulib.c): Add rules.
8642         * m68k/t-mot3300-gas: Likewise.
8643
8644 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
8645
8646         * configure.in: Avoid [[ by using test and changequote.  Add
8647         changequote required by 1999-12-14 change.
8648         * configure: Rebuild.
8649
8650 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
8651
8652         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
8653
8654 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
8655
8656         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
8657         * flow.c (find_use_as_address): Likewise.
8658         * function.c (fixup_var_refs_1): Likewise.
8659         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
8660         * jump.c (invert_exp, redirect_exp): Likewise.
8661         * loop.c (replace_call_address): Likewise.
8662         (count_nonfixed_reads): Likewise.
8663         * rtlanal.c (modified_between_p): Likewise.
8664         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
8665         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
8666         * unroll.c (remap_split_bivs): Likewise.
8667
8668 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8669
8670         * diagnostic.c (v_message_with_decl): Use .* format specifier
8671         instead of building the format specifier width manually.
8672
8673         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
8674         determining whether to provide a prototype.  Remove the
8675         sys_siglist clause in the conditional.
8676
8677 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8678
8679         * fold-const.c (operand_equal_p): Use memcmp to compare string
8680         constants.
8681         Suggested by D. J. Bernstein
8682
8683 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
8684
8685         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
8686         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
8687         compiling libgcc2.
8688         * config/mips/mips.h (TARGET_64BIT): Likewise.
8689         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
8690         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
8691         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
8692         dsps.  Give routines proper names if SI/DI modes are not used.
8693         * longlong.h: Use DWunion instead of DIunion.
8694
8695 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
8696
8697         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
8698         GC_CHECKING, GC_ALWAYS_COLLECT.
8699         * configure.in: Allow --enable-checking with an argument
8700         listing check modes to enable.
8701         * config.in, configure: Rebuilt.
8702         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
8703         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
8704         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
8705         ENABLE_GC_ALWAYS_COLLECT.
8706         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
8707         throughout.
8708         * tree.h, tree.c: Change ENABLE_CHECKING to
8709         ENABLE_TREE_CHECKING throughout.
8710
8711 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8712
8713         * fold-const.c (fold_truthop): Properly check for FP RHS.
8714
8715 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
8716
8717         * toplev.h (note_deferall_of_defined_inline_function): Declare.
8718         * toplev.c (note_deferral_of_defined_inline_function): New
8719         function, split out from ...
8720         (rest_of_compilation): ... here.  Use it.
8721
8722 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8723
8724         * expr.c (store_constructor): Don't call clear_storage if size is
8725         variable.
8726
8727 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8728
8729         * Makefile.in (toplev.o): Depend on loop.h.
8730
8731         * dwarfout.c: Include tm_p.h.
8732
8733         * emit-rtl.c (restore_emit_status): Mark parameter with
8734         ATTRIBUTE_UNUSED.
8735
8736         * final.c (final_scan_insn): Likewise.
8737
8738         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
8739         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
8740         flow_depth_first_order_compute, flow_loop_pre_header_find,
8741         flow_loop_tree_node_add, flow_loops_tree_build,
8742         flow_loop_level_compute, flow_loops_level_compute,
8743         flow_loop_outside_edge_p): Add prototypes.
8744         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
8745
8746         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
8747         Mark with ATTRIBUTE_NORETURN.
8748
8749         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
8750
8751         * local-alloc.c (no_conflict_p): Likewise.
8752
8753         * loop.c (insert_bct): Hide definitions of variables with hidden
8754         usage.
8755         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
8756
8757         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
8758         with ATTRIBUTE_UNUSED.
8759         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
8760         (reg_scan): Likewise.
8761
8762         * reload.c (find_reloads): Remove unused variables `changed'.
8763
8764         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
8765         away const-ness.
8766         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
8767         Remove unused variable `insn'.
8768
8769         * toplev.c: Include loop.h.
8770         (report_file_and_line): Remove unnecessary prototype.
8771
8772         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
8773
8774         * unroll.c (biv_total_increment): Likewise.
8775
8776 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8777
8778         * reload1.c (emit_input_reload_insns): Restore old behaviour
8779         wrt. 'special' reloads.
8780
8781 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
8782
8783         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
8784         hash.h.  (cse.c): Don't depend on hashtab.h.
8785
8786         * cse.c: Don't include hashtab.h.
8787         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
8788         of dead functions.
8789         * ggc-simple.c: Don't include hash.h.
8790
8791 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
8792
8793         * dwarf2out.c (add_abstract_origin_attribute): Call
8794         gen_abstract_function on our function context.
8795
8796 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
8797
8798         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
8799
8800 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8801
8802         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
8803         case in switch.
8804
8805 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8806
8807         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
8808         constraints to "a!r".
8809
8810 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
8811
8812         * Makefile.in (calls.o): Depend on function.h.
8813         (alias.o): Likewise.
8814
8815 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
8816
8817         * reload1.c (emit_reload_insns): Break out code and variables into...
8818         (input_reload_insns, other_input_address_reload_insns,
8819         other_input_reload_insns, input_address_reload_insns,
8820         inpaddr_address_reload_insns, output_reload_insns,
8821         output_address_reload_insns, outaddr_address_reload_insns,
8822         operand_reload_insns, other_operand_reload_insns,
8823         other_output_reload_insns): ... new static variables, and...
8824         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
8825         do_output_reload): ... new functions.
8826
8827 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8828
8829         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
8830
8831 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8832
8833         * md.texi: Add c4x constraints documentation.
8834
8835 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8836
8837         * config/i386/dgux.c (struct option): Rename to
8838         lang_independent_option.
8839         (struct m_options): Add description field.
8840         (output_options): Rename option type, add sep declaration, output
8841         ix86_cpu_string and ix86_arch_string only if set.
8842         (output_file_start): Rename option type.
8843
8844 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
8845
8846         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
8847         stmp-int-hdrs.
8848         (libgcc2.a): Similarly.
8849
8850 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
8851
8852         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
8853         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
8854         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
8855
8856 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
8857
8858         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
8859         Remove redundant initialization of "frexpon" and "expon".
8860
8861 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8862
8863         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
8864
8865         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
8866         (store_constructor_field, expand_expr): Pass new arg.
8867
8868 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
8869
8870         * Makefile.in (explow.o): Depend on function.h.
8871
8872         * stor-layout.c (set_sizetype): Fix typo.
8873
8874 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
8875
8876         * function.c (cfun): Renamed from current_function.  All users
8877         changed.
8878         * function.h (cfun): Rename declaration as well.
8879
8880         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
8881         to be of type regset_head, not regset.  All users changed by adding
8882         address operator.
8883         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
8884
8885 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8886
8887         * config/c4x/rtems.h: New file.
8888
8889 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
8890
8891         * reload1.c (spill_failure): Take class of failed reload as argument
8892         and print it.  Caller changed.
8893
8894 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8895
8896         * rs6000.h (SUBTARGET_DEFAULT): New macro.
8897         (TARGET_SWITCHES): Allow subtargets to default switches.
8898         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
8899
8900 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
8901
8902         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
8903         in a main program.
8904
8905 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
8906
8907         * cccp.c (main): Define __STDC_VERSION__ as necessary.
8908         * cppinit.c (cpp_handle_option): Likewise.
8909
8910         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
8911         determine when to define.
8912
8913 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
8914
8915         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
8916         cmove with mismatched test and data modes.
8917
8918 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
8919
8920         * c-typeck.c (c_expand_start_case): Don't warn for long switch
8921         in system headers.
8922
8923 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8924
8925         * alias.c: Minor reformatting.
8926         * flow.c: Likewise.
8927         * regs.h: Likewise.
8928         * stor-layout.c: Likewise.
8929         * fold-const.c: Likewise.
8930         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
8931         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
8932         not arg itself.
8933         (size_int_wide): Cache nodes even if garbage collecting.
8934         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
8935         of SAVE_EXPR has no side effects.
8936         * cse.c: Move a comment.
8937         * tree.c: Minor reformatting.
8938         (int_size_in_bytes): Return -1 if constant overflows.
8939
8940 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8941
8942         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
8943
8944 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
8945
8946         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
8947         after any change to c-parse.in, even if objc-parse.y didn't
8948         change.  Oops.
8949
8950 1999-12-18  David S. Miller  <davem@redhat.com>
8951
8952         * toplev.c (rest_of_compilation): Restore BLOCK tree
8953         reconstruction and branch shortening changes lost in
8954         December 18th change.
8955
8956 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
8957
8958         * config/arm/linux-elf.h: Change all instances of
8959         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
8960         * config/arm/uclinux-elf.h: Likewise.
8961
8962 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
8963
8964         * toplev.c (notice, vmessage, v_message_with_file_and_line,
8965         v_message_with_decl, file_and_line_for_asm,
8966         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
8967         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
8968         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
8969         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
8970         pfatal_with_name, fatal_io_error, need_error_newline,
8971         last_error_function, last_error_tick, announce_function,
8972         default_print_error_function, print_error_function,
8973         report_error_function, fnotice, error_with_file_and_line,
8974         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
8975         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
8976         warning_with_decl, warning_for_asm, warning, pedwarn,
8977         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
8978         diagnostic.c
8979         (compile_file): Use fnotice instead of notice.  Adjust call.
8980
8981         * diagnostic.c: New file.
8982
8983         * Makefile.in (OBJS): Include diagnostic.o
8984         (diagnostic.o): Define dependence.
8985
8986 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8987
8988         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
8989         Tweak formatting.
8990
8991 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8992
8993         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
8994
8995 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
8996
8997         * fixtests.c (is_cxx_header): New fn, split out of
8998         double_slash_test.
8999         (else_endif_label): Allow "#endif // comment" in C++ headers,
9000         as determined by is_cxx_header.
9001         * fixfixes.c (else_endif_label_fix): Update comment.
9002         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
9003         a tty.
9004         * genfixes: Correct double thinko in commandline parsing.
9005         * hackshell.tpl: Generate correct sh syntax for bypass
9006         entries.
9007
9008         * inclhack.def (all): Whenever an inserted preprocessor
9009         conditional is split over multiple lines, use double
9010         backslashes in this file so the fixed header will be readable.
9011
9012         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
9013         and add bypass entry for correct version of this header.
9014         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
9015         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
9016
9017         (hpux8_bogus_inlines): New fix, split from...
9018         (ultrix_atof_param) ... here.
9019         (math_expression): Add bypass entry keyed to glibc comment
9020         indicating the problem has been dealt with; disable
9021         unnecessary sed operations; update commentary.
9022         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
9023         add select and bypass entries, simplify shell operation.
9024         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
9025
9026         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
9027          ultrix_atof_param): Add select entry.
9028         (stdio_va_list, sunos_mather_decl): Add bypass entry.
9029         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
9030         comments with the fixes they describe.
9031
9032         * c-parse.in (string action): Do not warn about ANSI string
9033         concatenation in system headers.  Affects C parser only.
9034         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
9035
9036 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9037
9038         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
9039         compiling libgcc2 the macro depends always on arch cpp defines.
9040
9041 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
9042
9043         * loop.c (insert_loop_mem): Don't record MEMs from inside
9044         EXPR_LISTs.
9045
9046 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
9047
9048         * regclass.c (regclass): Do not use flowgraph when not optimizing.
9049
9050         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
9051         notes too, create one when replacement failed, attempt to simplify
9052         resulting notes.
9053         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
9054         or REG_EQUIV notes.
9055
9056 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9057
9058         * crtstuff.c (__dso_handle): Declare.
9059         (__cxa_finalize): Likewise.
9060         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
9061         non-NULL.
9062
9063         * invoke.texi: Document -fuse-cxa-atexit.
9064
9065         * tree.h (ptr_type_node): Document.
9066         (const_ptr_type_node): Likewise.
9067
9068 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9069
9070         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
9071         (optimize_reg_copy_2): Likewise.
9072         (optimize_reg_copy_3): Likewise.
9073         (fixup_match_2): Likewise.
9074         (regmove_optimize): Likewise.
9075         (fixup_match_1): Liekwise.
9076
9077         * i386.md (HI to SImode promoting splitters): Rewrite.
9078         (pushsf mem peep2): New.
9079         (testhi to andhi peep2): Remove.
9080         * i386.h (x86_promote_QImode): New.
9081         (TARGET_PROMOTE_QImode): New.
9082         (PREDICATE_CODES): Add promotable_binary_operator.
9083         * i386.c (x86_promote_QImode0: New.
9084         (promotable_binary_operator): New.
9085         * i386-protos.h (promotable_binary_operator): New.
9086
9087         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
9088         condition.
9089         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
9090
9091 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9092
9093         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
9094         * function.c (insert_block_after_note): Remove.
9095         (retrofit_block): Likewise.
9096         (identify_blocks): Fix indentation.
9097         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
9098         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
9099         * function.h (insert_block_after_note): Remove prototype.
9100         (retrofit_block): Likewise.
9101         * integrate.c (expand_inline_function): Don't call
9102         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
9103         just expand_start_bindings.  Use the block_map to remap old
9104         NOTE_BLOCKs to new ones.
9105         (integrate_decl_tree): Keep track of remapped blocks.
9106         * integrate.h (struct inline_remap): Add block_map.
9107         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
9108         NOTE_BLOCK on the notes.
9109         (expand_start_bindings): Rename to ...
9110         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
9111         (expand_end_bindings): Set NOTE_BLOCK.
9112         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
9113         reconstruct the BLOCK tree.
9114         * tree.h (expand_start_bindings): Macroize.  Call ...
9115         (expand_start_bindings_and_block): New function.
9116
9117 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9118
9119         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
9120         to match the format.
9121
9122 1999-12-16  David S. Miller  <davem@redhat.com>
9123
9124         * expr.c (emit_move_insn_1): Only emit clobbers if one of
9125         the outputs is a SUBREG.
9126         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
9127         change.
9128
9129         * config/sparc/sparc.c (epilogue_renumber): Add default case
9130         to switch stmt.
9131
9132 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9133
9134         * toplev.c (rest_of_compilation): Run branch shortening after
9135         reg-stack.
9136
9137         * regclass.c (loop_depth): Remove
9138         (scan_one_insn): Do not handle LOOP_NOTE insns.
9139         (regclass): Go through basic blocks and set loop_cost
9140
9141 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
9142
9143         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
9144
9145 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9146
9147         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
9148         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
9149         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
9150
9151 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
9152
9153         * loop.c (insert_loop_mem): Ignore memory clobbers.
9154
9155         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
9156         to (OP A B).
9157
9158 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
9159
9160         * profile.c: Remove redundant #include "output.h".
9161
9162         * h8300.md (HImode preinc peephole): Fix typo.
9163
9164 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9165
9166         * function.c (retrofit_block): Abort if we don't find a suitable insn.
9167         (insert_block_after_note): Abort if we don't have a previous block.
9168         Remove FN parameter.
9169         * function.h: Adjust.
9170
9171 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
9172
9173         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
9174         argument more than once.
9175
9176 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9177
9178         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
9179
9180 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
9181
9182         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
9183
9184 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9185
9186         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
9187         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
9188         update stack_alignment_needed.
9189         (prepare_function_start): Initialize stack_alignment_needed
9190         * function.h (struct function): Add field stack_alignment_needed.
9191
9192 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9193
9194         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
9195         Handle live_throughout / dead_or_set instead of live_before /
9196         live_after.
9197         (save_call_clobbered_regs): Get register livenessinformation from
9198         chain->live_throughout.
9199         (add_stored_regs): New function.
9200         (insert_restore, insert_save): Add restored / saved registers to
9201         dead_or_set.
9202         * global.c (reg_dies): New parameter chain.
9203         (reg_becomes_live): Third parameter is regs_set now.
9204         Changed all callers.
9205         (reg_dies): New parameter chain.  Changed all callers.
9206         (build_insn_chain): Set live_throughout instead of
9207         live_before / live_after.
9208         * reload.h (struct insn_chain): Replace members live_before /
9209         live_after with live_throughout / dead_or_set.
9210         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
9211         instead of live_before / live_after.
9212         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
9213         (order_regs_for_reload, find_reg, finish_spills): Likewise.
9214         (choose_reload_regs_init): Likewise.
9215         * stupid.c (current_chain, find_clobbered_regs): Delete.
9216         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
9217         instead of chain->live_before / chain->live_after.
9218         (mark_hard_ref): New function.
9219         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
9220
9221 1999-12-15  David S. Miller  <davem@redhat.com>
9222
9223         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
9224
9225 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9226
9227         * flow.c (calculate_loop_depth): Make global, remove prototype,
9228         rewrite to use new loop infrastructure.
9229         (find_basic_block): Remove calculate_loop_depth call.
9230         * toplev.c (rest_of_compilation): Call find_basic_block.
9231         * output.h (calculate_loop_depth): Declare.
9232
9233         * flow.c (dump_flow_info): Dump loop_depth.
9234         (flow_loops_nodes_find): Increase loop_depth for basic block in the
9235         body.
9236         (flow_loops_find): Initialize the loop_depth for each basic block.
9237
9238 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9239
9240         * tree.c (decl_function_context): Handle virtual functions.
9241
9242         * tlink.c (scan_linker_output): Don't look in demangled name when
9243         looking for linker output keywords.
9244
9245         * dwarfout.c (output_type): We can defer namespace-scope classes.
9246
9247 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
9248
9249         * regclass.c (record_reg_classes): Update comment for merging
9250         register class preferences in reg->reg copies.  Tighten conditions
9251         for merging register class preferences in reg->reg copies.
9252
9253 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
9254
9255         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
9256
9257 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
9258
9259         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
9260         (INIT_SECTION_ASM_OP): Delete.
9261         (FINI_SECTION_ASM_OP): Delete.
9262         (STARTFILE_SPEC): Define to hold just crtbegin.o.
9263
9264 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
9265
9266         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
9267         the abstract origin wasn't emitted.
9268
9269         * dwarf2out.c (class_scope_p): New fn.
9270         (gen_subprogram_die): Use it.
9271         (gen_variable_die): Use it.  Tweak logic.
9272         (gen_struct_or_union_type_die): Check context_die to determine
9273         if we're function-local.
9274         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
9275
9276 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9277
9278         * loop.c (check_dbra_loop): Can't reverse a biv that has
9279         maybe_multiple set.
9280
9281 1999-12-14  Nick Clifton  <nickc@cygnus.com>
9282
9283         * config/arm/arm.c: Add support for -mcpu=arm720 command line
9284         switch.
9285
9286 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9287
9288         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
9289         for givs made from biv increments.
9290
9291 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
9292
9293         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
9294         * alpha.c (override_options): Recognize -mcpu=ev67.
9295         * alpha.h (CPP_CPU_EV67_SPEC): New.
9296         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
9297         (EXTRA_SPECS): Update.
9298
9299 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
9300
9301         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
9302         appropriate for -lang-c89 and -std=*.
9303         * cppinit.c (cpp_handle_option): Likewise.
9304         (new_pending_define): New, split out from cpp_handle_option.
9305         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
9306         or enable trigraphs for -ansi/-std=*.
9307
9308         * ginclude/stdarg.h (__va_copy): New.
9309         (va_copy): Don't define for C89.
9310
9311 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
9312
9313         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
9314         for long long multiply-accumulate.
9315
9316 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9317
9318         * regclass.c (scan_one_insn): Set loop_cost to 1 when
9319         optimizing for size.
9320
9321 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9322
9323         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
9324         if something changed.  Back out that part of yesterday's changes.
9325
9326         * loop.c (loop_max_reg): New static variable.
9327         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
9328         max_reg_num.
9329         (scan_loop): Call reg_scan_update whenever we may have added new
9330         registers, and update loop_max_reg.
9331
9332 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9333
9334         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
9335         when source does not die.
9336
9337         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
9338
9339 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
9340
9341         * config/sparc/linux64.h (TARGET_LIVE_G0,
9342         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
9343         variants on Linux.
9344         * config/sparc/linux.h (TARGET_LIVE_G0,
9345         TARGET_BROKEN_SAVERESTORE): Likewise.
9346         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
9347         TARGET_BROKEN_SAVERESTORE): Likewise.
9348
9349         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
9350         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
9351         not %g2.
9352         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
9353         as sparc64 block profiling register.
9354         * config/sparc/sparc.c (sparc_override_options): Allow block
9355         profiling with -m32.
9356         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
9357         profiling register.
9358         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
9359         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
9360         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
9361
9362         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
9363         for sparc64.
9364         * config/sparc/sparc.h: Likewise.
9365         * config/sparc/xm-sysv4-64.h: Likewise.
9366         * config/float-sparc.h: Likewise.
9367         * glimits.h: Likewise.
9368         * longlong.h: Likewise.
9369
9370         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
9371         (ASM_IDENTIFY_GCC): Remove.
9372
9373 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9374
9375         * combine.c (combine_simplify_rtx): Don't make shared rtl.
9376         (simplify_logical): Likewise.
9377
9378 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9379
9380         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
9381         * cppfiles.c (INO_T_EQ): Likewise.
9382
9383 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9384
9385         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
9386         * i386/mingw32.h (LIB_SPEC): Likewise.
9387         (STARTFILE_SPEC): Likewise.
9388         * i386/uwin.h (LIB_SPEC): Likewise.
9389         (STARTFILE_SPEC): Likewise.
9390
9391         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
9392         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
9393
9394 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
9395
9396         * combine.c (combine_simplify_rtx): Fix order of checks for
9397         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
9398
9399 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
9400
9401         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
9402         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
9403
9404 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
9405
9406         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
9407         defined.
9408         * regclass.c (inv_reg_alloc_order): New array.
9409         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
9410
9411         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
9412         counted_for_groups, counted_for_nongroups.  Add fields rld and
9413         n_reloads.
9414         * reload.c (push_secondary_reload): Don't set nongroup field of
9415         new reloads.
9416         (push_reload): Likewise.
9417         (find_reloads): Delete code to compute nongroup fields.
9418         * reload1.c (reload_insn_firstobj): New static variable.
9419         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
9420         users changed.
9421         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
9422         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
9423         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
9424         functions.
9425         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
9426         functions.
9427         (struct hard_reg_n_uses): Deleted.
9428         (potential_reload_regs): Deleted.
9429         (init_reload): Initialize spilled_pseudos and pseudos_counted.
9430         (reload): Don't try to allocate reload registers if we already know
9431         we have to make another pass.  Call select_reload_regs.  Free memory
9432         starting with reload_firstobj when starting another pass.
9433         Don't allocate spilled_pseudos.
9434         (calculate_needs_all_insns): Call copy_reloads for an insn that
9435         needs reloads; don't call calculate_needs.
9436         (spill_cost): New static array.
9437         (used_spill_regs_local): New static variable.
9438         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
9439         to compute potential_reload_regs.
9440         (find_reload_regs): Completely rewritten to use find_reg.
9441         (allocate_reload_reg): Don't test counted_for_groups or
9442         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
9443         all cllers changed.
9444         (choose_reload_regs): Add fallback code that uses the existing
9445         register allocation from find_reload_regs.
9446
9447 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
9448
9449         * flow.c (create_edge_list): Cast xmalloc return value.
9450
9451 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
9452
9453         * doprnt.c: Remove incorrect comment closure.
9454
9455         * cse.c: Fix a few minor whitespace goofs.
9456
9457 1999-12-13  Don Bowman  <don@pixstream.com>
9458
9459         * mips/vxworks.h: Fix problem with comment termination.
9460         (EXTRA_SECTIONS): Add in_sbss.
9461         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
9462
9463 1999-12-12  David S. Miller  <davem@redhat.com>
9464
9465         * cse.c (struct cse_reg_info): Add hash_next member,
9466         reorder rest of struct for better packing on 64-bit
9467         hosts.
9468         (cse_reg_info_tree): Kill.
9469         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
9470         REGHASH_FN): New custom pow2 hash mechanism.
9471         (NBUCKETS): Kill.
9472         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
9473         use a pow2 hash table.
9474         (get_cse_reg_info): Rework to use new REGHASH.
9475         (new_basic_block): Likewise, use HASH_SIZE, and inline
9476         free_element call.
9477         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
9478         and inline free_element call.
9479         (lookup_as_function, insert, flush_hash_table, invalidate,
9480         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
9481         invalidate_for_call, use_related_value, find_comparison_args,
9482         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
9483         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
9484         get_element): Kill.
9485
9486 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
9487
9488         * cse.c (cse_basic_block): Free qty_table consistently.
9489
9490 1999-12-12  David S. Miller  <davem@redhat.com>
9491             Jakub Jelinek    <jakub@redhat.com>
9492
9493         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
9494         SUBREGs by hand, gen the appropriate hard reg directly.
9495         (movtf reg/mem split): Likewise and alter_subreg on destination
9496         if necessary.
9497         (movtf mem/reg split): Similarly.
9498         (movdf_cc_sp64): Rename from hidden pattern.
9499         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
9500         (movtf_cc_sp64, following split): New pattern and splitter.
9501         (movdf_cc_reg_sp64): Rename from hidden pattern.
9502         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
9503         TARGET_HARD_QUAD.
9504         (movtf_cc_reg_sp64, following split): New pattern and splitter.
9505
9506 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
9507
9508         * loop.c (load_mems): Don't hoist written floating point mem
9509         if -ffloat-store.
9510
9511 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
9512
9513         * except.h (struct eh_queue): Add `next' pointer.
9514         (struct eh_status): Make x_ehqueue a pointer.
9515         (push_ehqueue):  Declare.
9516         (pop_ehqueue): Likewise.
9517         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
9518         pointer.
9519         (expand_fixup_region_end): Likewise.
9520         (expand_leftover_cleanups): Likewise.
9521         (push_ehqueue): Define.
9522         (pop_ehqueue): Likewise.
9523         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
9524         than doing it inline.
9525         (expand_start_all_catch):  Adjust now that ehqueue is a
9526         pointer.
9527         (mark_eh_queue): Mark all level of the queue.
9528         (mark_eh_status):  Adjust now that ehqueue is a
9529         pointer.
9530         (init_eh_for_function): Allocate ehqueue.
9531         (free_eh_status): Free it.
9532         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
9533         expansion for a fixup.
9534
9535 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9536
9537         * gthr-single.h (__gthread_active_p): Add prototype arguments.
9538
9539         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
9540         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
9541         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
9542         function_ptr, getpagesize, __enable_execute_stack,
9543         __enable_execute_stack, __clear_insn_cache,
9544         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
9545         _cleanup, _exit, __default_terminate, __terminate_func,
9546         __terminate, __empty, __throw, new_eh_context,
9547         eh_context_initialize, eh_context_static, eh_context_specific,
9548         get_eh_context, __get_eh_context, __get_eh_info,
9549         init_reg_size_table, eh_threads_initialize,
9550         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
9551         __unwinding_cleanup, throw_helper, __throw, __rethrow,
9552         __pure_virtual): Add prototype arguments.
9553         (__bb_exit_func): Cast a sizeof to long when comparing against one.
9554         Cast a signed value to unsigned long when comparing against one.
9555         (new_eh_context): Wrap in _GTHREADS macro.
9556         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
9557         declaration.
9558         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
9559         (throw_helper): Initialize variables `handler_p' and `pc_p'.
9560
9561 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9562
9563         * combine.c (record_promoted_value): Remove unused variable
9564         `links2'.
9565
9566         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
9567
9568         * global.c (record_conflicts): Likewise for `j'.
9569
9570         * genoutput.c (output_insn_data): Don't unnecessarily cast away
9571         const-ness.
9572
9573 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9574
9575         * i386-protos.h (output_387_binary_op, output_fix_trunc,
9576         output_fp_compare): Constify a char*.
9577
9578         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
9579         static prototypes.
9580         (override_options, ix86_comp_type_attributes, print_operand,
9581         output_387_binary_op, output_fix_trunc, output_fp_compare):
9582         Constify a char*.
9583         (ix86_sched_reorder): Mark parameter `clock_var' with
9584         ATTRIBUTE_UNUSED.
9585
9586         * i386.h (DEBUG_PRINT_REG): Constify a char*.
9587
9588 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
9589
9590         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
9591         operand, for use in the Java front-end.
9592
9593 1999-12-10  Ben Collins  <bcollins@debian.org>
9594
9595         * configure.in: Fix typo for "-64" in 64bit as check.
9596         * configure: Rebuilt.
9597
9598 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
9599
9600         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
9601         appropriate.
9602
9603 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9604
9605         * c-parse.in (string): With -Wtraditional, warn if ANSI string
9606         concatenation is utilized.
9607
9608         * invoke.texi (-Wtraditional): Document it.
9609
9610 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9611
9612         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
9613         Cast a ptrdiff_t to long and pass it to printf with %ld.
9614
9615 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
9616
9617         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
9618         68881, we have no 68881 registers at all.
9619         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
9620         value in a 68881 register if it is available.
9621
9622 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
9623
9624         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
9625         for long long multiply-accumulate.
9626
9627 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
9628
9629         * loop.c (insert_loop_mem): Undo last change.
9630
9631 1999-12-10  David S. Miller  <davem@redhat.com>
9632
9633         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
9634         New functions.
9635         * config/sparc/sparc-protos.h: Add them.
9636         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
9637         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
9638         constraints which use those helpers.
9639         (EXTRA_CONSTRAINT): Use this new macro.
9640         * md.texi: Update sparc target constraints documentation.
9641         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
9642         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
9643         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
9644         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
9645         (movsf high/lo_sum split): Rework for new patterns.
9646         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
9647
9648 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
9649
9650         * c-common.c (c_common_nodes_and_builtins):
9651         Create __builtin_ptrdiff_t and __builtin_size_t.
9652
9653 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
9654
9655         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
9656
9657 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9658
9659         * regclass.c (globalize_reg): Re-instate test that allows
9660         fixed registers to be declared as a variable even after functions
9661         are defined.
9662
9663 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9664
9665         * i386.md (cpu attribute): Add "athlon".
9666         (athlon_decode): New attribute.
9667         (Athlon scheduling units definitions): New.
9668         (fcmp and shld patterns): Set athlon_decode to "vector".
9669         * i386.c (athlon_cost): New.
9670         (m_ATHLON): New.
9671         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
9672         x86_use_sahf): Set for Athlon.
9673         (x86_use_fiop): Unset for Athlon.
9674         (override_options): Define Athlon alignments and "athlon" name.
9675         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
9676         * i386.h (TARGET_ATHLON): New.
9677         (enum processor_type): Add PROCESSOR_ATHLON.
9678         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
9679         for CPU_DEFAULT==5
9680         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
9681
9682 1999-12-09  Andreas Jaeger  <aj@suse.de>
9683
9684         * loop.c (record_biv): Declare parameter as int.
9685
9686         * config/i386/i386-protos.h: Declare long_memory_operand.
9687
9688 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
9689
9690         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
9691         EXPR_WITH_FILE_LOCATION.
9692
9693 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
9694
9695         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
9696         in expander.
9697
9698         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
9699
9700         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
9701         updating code.
9702
9703 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
9704
9705         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
9706         default on linux64 again.
9707         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
9708         models for multilibing.
9709         * genmultilib: Accept | as alternative separator within a set in
9710         MULTILIB_OPTIONS.
9711
9712         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
9713
9714         * calls.c (precompute_arguments): Make sure initial_value contains
9715         value pseudo which CSE expects.
9716         * cse.c (struct set): New entry orig_src.
9717         (cse_insn): Set it early on entry, use it for libcall EQUIV note
9718         replacement.
9719
9720 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
9721
9722         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
9723
9724 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
9725
9726         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
9727
9728 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
9729
9730         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
9731         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
9732
9733         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
9734         if TARGET_ARCH32.
9735
9736         * longlong.h: Merge in changes from glibc.
9737         Also don't clobber %g2 register in 32bit SPARC assembly, so that
9738         -mno-app-regs libgcc can be compiled.
9739         * libgcc2.c: Add defines so that the updated longlong.h
9740         can be used in libgcc2.a. Also, make sure on most architectures
9741         (at least on all which have optimized code in longlong.h defined
9742         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
9743
9744 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9745
9746         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
9747         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
9748         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
9749         is GNU ld.
9750         * configure: Rebuilt.
9751
9752 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
9753
9754         * alpha.c (secondary_reload_class): For !BWX, sub-simode
9755         outputs require a register.
9756
9757 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
9758
9759         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
9760         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
9761         functions like dptoul will be resolved.
9762         (libgcc2.a): Make sure that the object files from DPBIT are named
9763         differently (prefix `_dp') from those that would be coming from
9764         FPBIT.
9765
9766 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
9767
9768         * configure.in: When target is sparc* and tm_file contains 64,
9769         test for 64bit support in assembler.  If not supported, remove
9770         sparc/t-sol2-64 from target-dependent Makefile fragments.
9771         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
9772         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
9773         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
9774         * acconfig.h (AS_SPARC64_FLAG): Added.
9775         * configure, config.in: Rebuilt.
9776         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
9777         support.  Use AS_SPARC64_FLAG.
9778
9779 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
9780
9781         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
9782         suitable for holding OFmode values so that gcc works with complex
9783         quad long doubles.
9784         (hard_64bit_mode_classes): Likewise.
9785
9786         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
9787         so that it is actually matched.
9788         (sethi_di_medlow): Likewise.
9789
9790         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
9791         as legitimate constant if -mvis.
9792         * config/sparc/sparc.md (movtf): Likewise.
9793         (clear_sf): Use const_double_operand.
9794         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
9795
9796         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
9797         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
9798         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
9799         routines, _Qp_* cannot be handled like that now.
9800         (INIT_TARGET_OPTABS): Likewise.
9801         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
9802         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
9803         sparc_emit_float_lib_cmp if ARCH64 and soft float.
9804         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
9805         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
9806         divtf3, sqrttf3): New expanders.
9807         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
9808         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
9809         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
9810         non-_hq patterns.
9811
9812         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
9813         * configure: Rebuilt.
9814         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
9815         -mcpu is given and we're doing 64bit compiles.
9816
9817 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
9818
9819         * loop.h (struct induction): Add multi_insn_incr.
9820         * loop.c (basic_induction_var): New multi_insn_incr argument.
9821         Set it if we search back through previous insns for the biv.
9822         (record_biv): New multi_insn_incr argument; fill in struct induction.
9823         (strength_reduce): Discard an iv with multiple bivs, any of
9824         which require multiple insns to increment.
9825
9826 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9827
9828         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
9829         documentation.
9830
9831 1999-12-06  David S. Miller  <davem@redhat.com>
9832
9833         * combine.c (check_promoted_subreg): Do not conditionalize this upon
9834         PROMOTE_FUNCTION_RETURN.
9835
9836 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
9837
9838         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
9839         and handle REG_UNUSED note on insn.
9840
9841         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
9842         inner_mask instead of mask.
9843
9844 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
9845
9846         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
9847         zero if there was an error.
9848
9849 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
9850
9851         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
9852         output string.
9853
9854         * longlong.h: Fix clobbers in SPARC asm statements.
9855
9856         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
9857         valid sethi operations when TARGET_ARCH64.
9858
9859         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
9860         always use move_by_pieces to avoid infinite recursion.
9861         (restore_fixed_argument_area): Likewise.
9862
9863         * combine.c (check_promoted_subreg, record_promoted_value): New
9864         functions.
9865         (combine_instructions): Use them to retain nonzero and sign bit
9866         information after SUBREGs are eliminated by optimizations in
9867         this pass if PROMOTE_FUNCTION_RETURN.
9868
9869         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
9870         .register declaration. Don't use variables with __ prefixes.
9871
9872 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9873
9874         * fold-const.c (optimize_bit_field_compare): Only use one mode
9875         for both RHS and LHS in non-constant case.
9876
9877 1999-12-06  Nathan Sidwell  <nathan@acm.org>
9878
9879         * frame.c (start_fde_sort): Only allocate erratic array, if
9880         linear one was allocated. Return allocated flag.
9881         (fde_insert): Only insert, if there's a valid array.
9882         (fde_end_sort): Split, sort and merge if linear and erratic
9883         arrays exist, else just sort linear one.
9884         (search_fdes): New function. Linear search through original fde
9885         structure.
9886         (frame_init): Permit multiple initializations. Cope with
9887         memory shortages.
9888         (find_fde): Fallback on linear search, if failed to sort array.
9889         (__deregister_frame_info): Only free sorted array, if we
9890         allocated it.
9891
9892 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
9893
9894         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
9895
9896 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
9897
9898         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
9899
9900 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
9901
9902         * tree.h (special_function_p): Declare.
9903         * calls.c (special_function_p): Make it global.  Don't take `name'
9904         as a parameter.  Fix typo in 1999-11-28 change.
9905         (expand_cal): Adjust.
9906
9907 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
9908
9909         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
9910         * tree.h (EXPR_WFL_FILENAME): Define in terms of
9911         EXPR_WFL_FILENAME_NODE.
9912         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
9913         the TREE_CHAIN.
9914         * print-tree.c (print_note): Print TREE_PRIVATE and
9915         TREE_PROTECTED.
9916
9917         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
9918         the original die cannot be found.
9919
9920         * varray.h (varray_head_tag): Add elements_used.
9921         (VARRAY_PUSH): New macro.
9922         (VARRAY_POP): Likewise.
9923         (VARRAY_TOP): Likewise.
9924         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
9925         types.
9926         * varray.c (varray_init): Initialize elements_used.
9927         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
9928         (INTEGRATE_H): New variable.
9929         (integrate.o): Depend on INTEGRATE_H.
9930         (unroll.o): Likewise.
9931
9932         * function.h (insert_block_after_note): Declare.
9933         * function.c (insert_block_after_note): Split out from ...
9934         (retrofit_block): ... here.
9935
9936         * stmt.c (expand_fixup): Fix typo in comment.
9937
9938 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9939
9940         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
9941         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
9942         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
9943         (regmove_optimize, fixup_match_1): Likewise.
9944
9945 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9946
9947         * flow.c (flow_loops_dump): Add missing argument when calling
9948         flow_loop_nested_p.
9949
9950 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
9951             Greg McGary  <gkm@gnu.org>
9952
9953         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
9954         (init_attributes): Add A_NO_LIMIT_STACK.
9955         (decl_attributes): Handle A_NO_LIMIT_STACK.
9956         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
9957         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
9958         Handle stack bounds checking.
9959         * flags.h (flag_stack_check): Use the word 'probe' rather than
9960         'check', because the flag doesn't actually cause any checking to
9961         be done.
9962         * function.c (expand_function_start): Set
9963         current_function_limit_stack.
9964         * function.h (struct function): Add limit_stack.
9965         (current_function_limit_stack): Define.
9966         * invoke.texi (Code Gen Options): Document new options.
9967         * rtl.h: Declare stack_limit_rtx.
9968         * toplev.c (stack_limit_rtx): New variable.
9969         (decode_f_option): Handle new options -fstack-limit-register=REG,
9970         -fstack-limit-symbol=IDENT, -fno-stack-limit.
9971         (main): Add stack_limit_rtx as GC root.
9972         * tree.h (DECL_NO_LIMIT_STACK): New macro.
9973         (struct tree_decl): New member no_limit_stack.
9974
9975         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
9976         stack_limit_rtx.
9977         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
9978         (conditional_trap+1): Get new mnemonic correct.
9979         (conditional_trap+2): New pattern for DImode traps.
9980
9981         * config/m68k/m68k.c (output_function_prologue): Handle
9982         stack_limit_rtx.
9983         * config/m68k/m68k.md (trap): New insn.
9984         (conditional_trap): New insn.
9985         * md.texi (Standard Names): Document `trap' and
9986         `conditional_trap'.
9987         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
9988         so a cc0 setter doesn't get emitted at some random place in the
9989         function.
9990
9991         * config/i960/i960.md (trap): New insn.
9992         (conditional_trap): New expander.
9993         (conditional_trap+1, conditional_trap+2): New insns for signed
9994         and unsigned cases.
9995         * config/i960/i960.c (i960_function_prologue): Use
9996         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
9997
9998 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
9999                           Geoffrey Keating  <geoffk@cygnus.com>
10000
10001         * flags.h (warn_padded, warn_packed): Add global var decls.
10002         * toplev.c (warn_padded, warn_packed): Add global var defns.
10003         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
10004         * stor-layout.c (layout_record): Add local variable `type'
10005         to hold often-used TREE_TYPE (field).  Add local variable
10006         `unpacked_align' to hold alignment that would be in force
10007         if no `packed' attribute were present.  Warn if `packed' attribute
10008         is unnecessary, or even harmful.  Warn when gcc inserts padding
10009         to satisfy alignment requirements of members.  Use NULL_TREE
10010         when checking whether var_size is set.
10011         * invoke.texi: Document new flags.
10012
10013 1999-12-03  Nathan Sidwell  <nathan@acm.org>
10014
10015         * frame.c (fde_split): Reimplement to avoid variable sized array.
10016
10017 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10018
10019         * combine.c (try_combine): Before fixing up LOG_LINKS for the
10020         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
10021
10022 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
10023
10024         * invoke.texi: Document the mips option -mno-crt0
10025
10026 1999-12-02  Mike Karr  <mkarr@mathworks.com>
10027
10028         * cccp.c (argdata): Added free_ptr member.
10029         (macroexpand): Initialize free_ptr of each argument. When an
10030         argument's buffers are freed, if the argument's free_ptr corresponds
10031         to a buffer on the input stack, then return the free_ptr to that stack
10032         frame, otherwise, free it.
10033         (macarg): If an argument begins and ends on the same input stack level,
10034         then transfer the free_ptr of that buffer to the argument in case
10035         the stack is popped during the processing of a subsequent argument.
10036
10037 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
10038
10039         * loop.c (note_reg_stored): New function.
10040         (struct note_reg_stored_arg): New structure.
10041         (try_copy_prop): Change to be more conservative; only replace within
10042         one extended basic block and stop replacing if a store to the
10043         replacement reg is seen.
10044
10045 1999-12-02  Nick Clifton  <nickc@cygnus.com>
10046
10047         * config/fp-bit.c: Initialise all fields of the NAN
10048         constants.
10049
10050         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
10051         to HANDLE_PRAGMA.
10052
10053 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
10054
10055         * i386.md (extend?f?f2): Force the input into a register, not
10056         the output.
10057
10058 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
10059
10060         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
10061         regclass' sake.
10062         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
10063         alternative because setting up 64bit constant is usually costly,
10064         especially when reload is in progress or completed.
10065         (movdf_const_intreg_sp64): Likewise.
10066         (movdf_const_intreg split): Fix building up constants when
10067         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
10068
10069 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
10070
10071         * combine.c (if_then_else_cond): Use const_true_rtx instead of
10072         const1_rtx for return values in EQ/NE comparison against (const_int 0)
10073         case.
10074
10075         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
10076         (asm_file_start): Emit .am33 into assembly file when compiling for
10077         the AM33.
10078         (print_operand_address): Handle POST_INC addresses.
10079         (can_use_return_insn, initial_offset): Check AM33 registers too.
10080         (expand_prologue): Check & save AM33 registers too.
10081         (expand_epilogue): Similarly.
10082         (secondary_reload_class): Handle AM33 specific secondary reloads.
10083         (output_tst): Emit efficient code for the AM33 too.
10084         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
10085         (TARGET_SWITCHES): Add -mam33 switch.
10086         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
10087         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
10088         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
10089         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
10090         (enum reg_class, REG_CLASS_NAMES): Likewise.
10091         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
10092         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
10093         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
10094         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
10095         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
10096         (HAVE_POST_INCREMENT): Define.
10097         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
10098         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
10099         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
10100         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
10101         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
10102         (zero_extend to SI from QI/HI): Likewise.
10103         (sign_extend to SI from QI/HI): Likewise.
10104         (mulsidi3, umulsidi3): New patterns for the AM33.
10105         (tstsi with zero extension from QI/HI): Add AM33 variants.
10106         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
10107         (return_internal_regs, store_movm): Handle new AM33 registers.
10108         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
10109         (LIBGCC, INSTALL_LIBGCC): Likewise.
10110         * invoke.texi: Document new flags.
10111
10112 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10113
10114         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
10115         (addsi3_carry): Likewise.
10116         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
10117         (sbbsi3_carry): Likewise.
10118         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
10119         (mulhi3): Likewise.
10120         (test?i_1): Ensure that only one operand is memory.
10121         (conditional move patterns): likewise.
10122         (shift and rotate patterns): Rewrite to expander, add
10123         "binary_operator_ok" to the condition.
10124
10125         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
10126         * i386.h (procesor_costs): Add movzbl_load field.
10127         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
10128         non-Q registers, accept DImode registers anywhere.
10129         (Q_CLASS_P): New.
10130         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
10131         * i386.c (*_cost): Set value for movxbl_load field.
10132
10133         * (addsi): New add to lea splitter.
10134         (ashlsi): Likewise.
10135         (lea to add/shift peep2): New.
10136
10137 1999-12-01  Mark Salter <msalter@cygnus.com>
10138
10139         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
10140         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
10141         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
10142
10143 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10144
10145         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
10146         * i386.md (movsi_xor): New.
10147         (movsi_or): New.
10148         (movsi_1, movhi_1, movqi_1): Remove.
10149         (movsi_2): Rename to movsi_1.
10150         (movhi_2): Rename to movhi_1.
10151         (movqi_2): Rename to movqi_1.
10152         (movdi_1): Remove; remove splitter.
10153         (movdi_2): Rename to movdi_1.
10154         (divmodsi4 splitter): Do not emit clobbers for move patterns.
10155         (long move peep2): Do not create QI or HI mode mov0s
10156         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
10157
10158         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
10159         rewrite splitters.
10160
10161         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
10162         (abs?f2_if): Likewise.
10163
10164 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
10165
10166         * ggc.h (ggc_test_and_set_mark): New macro.
10167         (ggc_mark_rtx): Use ggc_test_and_set_mark.
10168         (ggc_mark_tree): Likewise.
10169         (ggc_mark_rtvec): Likewise.
10170         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
10171
10172 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
10173
10174         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
10175         containing types.
10176         (decl_scope_table): Just an array of trees now.
10177         (push_decl_scope): Simplify.
10178         (dwarf2out_init): Adjust.
10179         (local_scope_p): New fn.
10180         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
10181         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
10182         (gen_typedef_die): Likewise.
10183         (gen_lexical_block_die): Don't call push/pop_decl_scope.
10184         (gen_inlined_subroutine_die): Likewise.
10185         (gen_abstract_function): Set current_function_decl temporarily.
10186         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
10187         Handle block extern declarations.  Don't call push/pop_decl_scope.
10188         (gen_decl_die): Fix logic for block externs.
10189
10190 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10191
10192         * calls.c (special_function_p): Remove `realloc' and add `strdup'
10193         to the list of functions which have attribute malloc by default.
10194
10195 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10196
10197         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
10198         integer constant does not match the traditional type, limit the
10199         warnings to cases where the base of the type is ten.
10200
10201         * invoke.texi (-Wtraditional): Document it.
10202
10203 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10204
10205         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
10206         * rs6000.md: Only access a CONST_INT with INTVAL
10207
10208 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
10209
10210         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
10211         (compute_nearerout): Likewise.
10212         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
10213         size_t to unsigned long for formatting.
10214
10215 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10216
10217         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
10218         Allow the user to override call-used/fixed state of %g2-5
10219         registers from the command line (with the exception of %g4 for
10220         embedded model).
10221         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
10222         there is a higher chance of having a leaf function.
10223         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
10224         for ARCH64 which has %ccr register.
10225         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
10226         patterns.
10227         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
10228         insn accept into delay slot any insn which does not use %[ol]
10229         registers.  Accept some LO_SUM and shift left by 1 for the normal
10230         restore case.
10231         (output_function_epilogue): Likewise.
10232         (epilogue_renumber): Added argument which inhibits any renumbering
10233         and just tests if the rtx does not use any %[ol] registers.
10234         (output_return): Reflect above change.
10235
10236 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10237
10238         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
10239         aggregate passing for sizes <= 16 bytes.
10240
10241 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10242
10243         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
10244         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
10245         * reload.c (find_dummy_reload): Likewise.
10246         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
10247         * reload1.c (reload_as_needed): Likewise.
10248         * stupid.c (stupid_find_reg): Likewise.
10249         * tm.texi (Obsolete Register Macros): Delete section.
10250         * gmicro.h: Remove all traces of the two macros.
10251         * i386.h: Likewise.
10252         * m88k.h: Likewise.
10253         * mips.h: Likewise.
10254
10255 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
10256
10257         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
10258         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
10259         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
10260         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
10261         units for the sparclite86x chip.
10262         (flush): Revert October 14th change; add SImode specifically.
10263         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
10264         * invoke.texi: Document it.
10265
10266 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
10267
10268         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
10269         psimode_truncation_operand.
10270
10271         * config/mn10200/mn10200.c (psimode_truncation_operand): New
10272         function.  Return true if the operand is either a MEM valid
10273         for a PSImode address or not a MEM at all.
10274
10275         * config/mn10200/mn10200.md (truncsipsi2): Use
10276         psimode_truncation_operand.
10277
10278 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10279
10280         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
10281         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
10282         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
10283         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
10284         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
10285         (flow_loop_level_compute, low_loops_level_compute): Likewise.
10286         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
10287         * basic-block.h: Protect from multiple inclusion.
10288         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
10289         (struct loops, struct loop): Define structures.
10290         * sbitmap.c (sbitmap_a_subset_b_p): New function.
10291         * sbitmap.h: Protect from multiple inclusion.
10292         (sbitmap_a_subset_b_p): Add prototype.
10293         * Makefile.in (LOOP_H): New macro.
10294         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
10295
10296 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
10297
10298         * cppinit.c (CAT): The argument list of this macro may not contain
10299         spaces !
10300
10301 1999-11-29  David S. Miller  <davem@redhat.com>
10302
10303         Move quantity tables and register equivalence chains into
10304         per-qty and per-register structure arrays respectively.
10305         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
10306         qty_const_insn, qty_comparison_code, qty_comparison_const,
10307         qty_comparison_qty): Delete, replace with...
10308         (qty_table): this structure table.
10309         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
10310         (reg_eqv_table): this structure table.
10311         (make_new_qty): Add argument MODE.  Caller updated.
10312         Update to use qty_table and reg_eqv_table.
10313         (make_regs_eqv, delete_reg_equiv, insert_regs,
10314         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
10315         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
10316         cse_process_notes, cse_main, cse_basic_block): Likewise.
10317
10318 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10319
10320         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
10321         operation if C is negative.
10322         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
10323         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
10324         law for some divisions if constant is negative and change other
10325         divisions to the opposite rounding.
10326
10327         * expr.c (store_constructor_field): If bit position is not multiple
10328         of alignment of TARGET's mode, use BLKmode.
10329
10330         * expr.c (expand_expr_unaligned): Add more code from full case
10331         that is needed when OP0 is in a register.
10332
10333 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10334
10335         * dwarfout.c (field_byte_offset): Size can be zero if there was
10336         an error.
10337
10338 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10339
10340         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
10341         (associate_trees): Delete unused var TEM.
10342         (extract_muldiv): Delete unused var CANCEL_P.
10343
10344         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
10345         (target_isinf, target_isnan, target_negative): Add return types to
10346         function definitions.
10347
10348 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
10349
10350         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
10351         * fixinc/hackshell.tpl: ditto
10352         * fixinc/fixtests.c(double_slash_test): more C++ header testing
10353         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
10354
10355 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10356
10357         * reload.c (push_reload): When looking for a register to put into
10358         reg_rtx, make sure all hard regs in a multi-reg register are in the
10359         right class and nonfixed.
10360
10361         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
10362         pending_read_insns, pending_write_insns, pending_read_mems,
10363         pending_write_mems, pending_list_length, last_pending_memory_flush,
10364         last_function_call, sched_before_next_call): Move static variables
10365         into a structure.
10366         (bb_ prefixed versions): Replace with single array bb_deps.
10367         (struct deps): New structure.
10368         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
10369         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
10370         argument of type "struct deps *"; use that instead of global
10371         variables.  All callers changed.
10372         (init_rgn_data_dependencies): Delete function.
10373         (init_rtx_vector): Delete function.
10374         (init_deps): New function.
10375
10376         (free_pending_lists): Simplify, we always use the bb_deps array even
10377         if only one basic block.
10378         (compute_block_backward_dependences): Likewise.
10379         (schedule_region): Likewise.
10380
10381         (propagate_deps): New function, broken out of
10382         compute_block_backward_dependences.
10383         (compute_block_backward_dependences): Use it.
10384
10385         * alpha.md: Delete useless patterns that tried to work around
10386         register elimination problems.
10387
10388         * unroll.c (loop_iterations): Don't abort if iteration variable
10389         was made by loop.
10390
10391         From Joern Rennecke:
10392         * reload1.c (reloads_conflict): Reverse test comparing operand
10393         numbers when testing for conflict between output/outaddr reloads.
10394
10395 1999-11-29  David S. Miller  <davem@redhat.com>
10396
10397         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
10398         arg.
10399         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
10400
10401 1999-11-28  Robert Lipe  <robertl@cygnus.com>
10402
10403         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
10404         table from .fini into .dtor.
10405
10406 1999-11-28  Anthony Green  <green@cygnus.com>
10407
10408         * tree.h (struct tree_decl): Add malloc_flag.
10409         (DECL_IS_MALLOC): Define.
10410         * c-common.c (attrs): Add A_MALLOC attribute.
10411         (init_attributes): Add this attribute to the table.
10412         (decl_attributes): Handle malloc attribute.
10413         * calls.c (special_function_p): Check for the malloc attribute.
10414         * extend.texi (Function Attributes): Document malloc attribute.
10415
10416 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
10417
10418         * pa.md (reload shift-add patterns): Remove.
10419
10420 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10421
10422         * reorg.c (dbr_schedule) Print more statistics. Corrected
10423         problem when printing info when 3 delay slots are filled.
10424
10425 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
10426
10427         * combine.c (setup_incoming_promotions): Pass an outgoing
10428         regno to FUNCTION_ARG_REGNO_P which it expects.
10429
10430 1999-11-28  Andreas Jaeger  <aj@suse.de>
10431
10432         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
10433
10434 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
10435
10436         * cccp.c (do_include): Avoid initialization of automatic variable.
10437
10438         * integrate.c (mark_stores): Function definition made void, to match
10439         previous declaration.
10440         * regclass.c (dump_regclass): Ditto.
10441         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
10442
10443 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10444
10445         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
10446         known to be multiple of divisor.
10447
10448         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
10449
10450         * combine.c (try_combine): Add code to try to merge a set of a
10451         two-word pseudo to a constant with a setting of one of those words
10452         to a constant.
10453
10454         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
10455         (split_tree): Completely rework to make more general.
10456         (make_range, fold): Call negate_expr.
10457         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
10458         (fold, associate): Call new split_tree and associate_trees.
10459         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
10460
10461 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
10462
10463         * loop.c (try_copy_prop): Avoid GNU C extension.
10464
10465 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
10466
10467         * except.c (init_eh_for_function): Still zero eh_return_context,
10468         eh_return_stack_adjust, and eh_return_handler.
10469
10470         * except.h (eh_status): Adjust documentation for x_protect_list.
10471         (begin_protect_partials): New function.
10472         * except.c (enqueue_eh_entry): Fix formatting.
10473         (get_first_handler): Add consistency check.
10474         (add_partial_entry): Adjust usage of protect_list.
10475         (emit_cleanup_handler): Save and restore ehqueue.
10476         (expand_start_all_catch): Add comment.
10477         (begin_protect_partials): New function.
10478         (end_protect_partials): Adjust usage of protect_list.
10479         (init_eh_for_function): Use xcalloc.
10480
10481 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10482
10483         * c-common.c (check_format_info): Don't call a variadic function
10484         with a non-literal format string.
10485
10486         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
10487
10488         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
10489         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
10490         Likewise.
10491
10492         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
10493         Likewise.
10494
10495         * collect2.c (collect_wait): Likewise.
10496
10497         * dbxout.c (dbxout_type): Likewise.
10498
10499         * gcc.c (do_spec_1): Likewise.
10500
10501         * genemit.c (gen_insn, gen_expand): Likewise.
10502
10503         * genrecog.c (write_switch, write_subroutine): Likewise.
10504
10505         * mips-tfile.c (catch_signal, botch): Likewise.
10506
10507         * print-rtl.c (print_rtx): Likewise.
10508
10509         * toplev.c (default_print_error_function, report_error_function,
10510         _fatal_insn): Likewise.
10511
10512 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
10513
10514         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
10515
10516 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10517
10518         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
10519         operations when needed.
10520         * i386.md (fop_?f_comm): New.
10521         (fop_?f_1): Do not accept commutative operands.
10522
10523 1999-11-25  Andreas Jaeger  <aj@suse.de>
10524
10525         * config/mips/mips.md (casesi_internal): Add missing brace.
10526
10527 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
10528
10529         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
10530         (splice_child_die): Handle moving a child DIE from the declaration
10531         DIE of a class to its specification.
10532         (gen_struct_or_union_type_die): Use 'complete' consistently.
10533         (gen_decl_die): Generate the virtual context DIE first.
10534         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
10535
10536 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
10537
10538         * config/mips/mips.md (call_value_multiple_interanal1): New.
10539
10540 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
10541
10542         * dwarf2out.c (free_AT, free_die): New fns.
10543         (remove_children): Call them.
10544         (output_line_info): Disable removal of duplicate notes.
10545
10546         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
10547         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
10548         means pretend the type isn't defined.
10549         Don't defer emitting types.
10550         (gen_type_die_for_member): New fn.
10551         (gen_decl_die): Call it.
10552         (splice_child_die): New fn.
10553         (gen_member_die): Call it rather than generate duplicate dies.
10554
10555         Defer emitting information for the abstract instance of an inline
10556         until we either inline it or emit an out-of-line copy.
10557         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
10558         from output_inline_function if DECL_ABSTRACT is also set.
10559         (block_ultimate_origin): Likewise.
10560         (gen_abstract_function): New fn.
10561         (gen_decl_die, gen_inlined_subroutine_die): Call it.
10562         (gen_subprogram_die):  An abstract instance is not a declaration
10563         just because it doesn't match current_function_decl.  Don't abort
10564         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
10565         has an abstract origin.
10566         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
10567         abstract instance here.
10568
10569 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
10570
10571         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
10572         where we need to reload fpul from a system register.
10573
10574 1999-11-24  Andreas Jaeger  <aj@suse.de>
10575
10576         * config/mips/linux.h (CPP_PREDEFINES): Added.
10577         (LINK_SPEC): Remove -Y since this is only needed on sparc.
10578
10579 1999-11-24  Andreas Jaeger  <aj@suse.de>
10580
10581         * config/mips/linux.h (TARGET_VERSION): Added.
10582         (HANDLE_SYSV_PRAGMA): Added.
10583         (DEFAULT_VTABLE_THUNKS): Added.
10584
10585 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10586
10587         * local-alloc.c (qty): New structure and static variable.
10588         (qty_phys_reg): Remove, all references changed to qty.
10589         (qty_n_refs): Likewise.
10590         (qty_min_class): Likewise.
10591         (qty_birth): Likewise.
10592         (qty_death): Likewise.
10593         (qty_size): Likewise.
10594         (qty_mode): Likewise.
10595         (qty_n_calls_crossed): Likewise.
10596         (qty_alternate_class): Likewise.
10597         (qty_changes_size): Likewise.
10598         (qty_first_reg): Likewise.
10599         (alloc_qty): Rename variable QTY to QTYNO.
10600         (finf_free_reg): Likewise.
10601         (local_alloc): Allocate qty, do not allocate the removed variables.
10602
10603 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
10604
10605         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
10606         when -membedded-pic is passed.
10607
10608         * config/mips/mips.md (casesi): Handle 64-bit case too.
10609         (casesi_internal_di): New insn.
10610
10611         * config/mips/mips.c (embedded_pic_offset): Always make the
10612         embedded-pic subtractions relative to the name of the current
10613         function by use of the magic string "..CURRENT_FUNCTION".
10614         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
10615
10616 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
10617
10618         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
10619         of (const_int 0), when what we really care about is
10620         whether it's a zero constant anyway.
10621         (div_trap_mips16): Likewise.
10622
10623 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
10624
10625         * loop.c (loop_optimize): Always find_loop_tree_blocks and
10626         unroll_block_trees when generating debuggable code.
10627
10628         * tree.h (unsave_expr_1): New function.
10629         (lang_unsave): New variable.
10630         (get_callee_fndecl): New function.
10631         * tree.c (unsave_expr_now_r): New function.
10632         (lang_unsave): Define.
10633         (unsave_expr_1): Likewise.
10634         (unsave_expr_now_r): Split out from unsave_expr_now.
10635         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
10636         call unsave_expr_now_r.
10637         (get_callee_fndecl): Define.
10638
10639         * Makefile.in (gencheck): Don't depend on lang_tree_files.
10640         (gencheck.o): Do depend on lang_tree_files.
10641
10642         * integrate.h (copy_decl_for_inlining): New declaration.
10643         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
10644         (copy_decl_for_inlining): New function.
10645         (integrate_parm_decls): Use it.
10646         (integrate_decl_tree): Likewise.
10647
10648 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
10649
10650         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
10651         the second two from the first.
10652         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
10653         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
10654         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
10655         ISA_HAS_FP4.
10656         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
10657         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
10658         ISA_HAS_FP4.
10659
10660 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
10661
10662         * pa.md (call_internal_symref, call_value_internal_symref): No mode
10663         needed on the address operand.
10664         * pa.c (call_operand_address): Check for the correct mode.
10665
10666 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
10667
10668         * loop.c: Include "basic-block.h".
10669         (try_copy_prop, replace_loop_reg): New functions.
10670         (load_mems): Detect registers that just hold copies of the hoisted
10671         mem, and call try_copy_prop to eliminate them.
10672         * Makefile.in (loop.o): Update dependencies.
10673
10674 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
10675
10676         * Makefile.in (gencheck.o): Depend on gencheck.h.
10677         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
10678         (insn-peep.o): Depend on except.h and function.h.
10679         (insn-attrtab.o): Depend on RECOG_H.
10680         (insn-output.o): Depend on toplev.h and flags.h.
10681         (gengenrtl.o): Depend on real.h.
10682         (gen-protos.o): Depend on cpplib.h and cpphash.h.
10683         Unify all dependencies to be on RECOG_H rather than recog.h.
10684
10685 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10686
10687         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
10688         * configure.in: Try building a bi-arch 32/64-bit compiler on
10689         sparc-*-solaris2.7 and higher.
10690         * configure: Rebuild.
10691
10692 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
10693
10694         * config/freebsd.h: New, FreeBSD architecture independent file.
10695         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
10696         independent pieces.
10697         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
10698         directly by i386/freebsd.h.
10699         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
10700         independent configuration file.
10701         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
10702         directly by i386/freebsd.h.
10703         * configure: Rebuilt.
10704
10705         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
10706         which is in the user's namespace.
10707         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
10708         `i386' which is not in our namespace.
10709
10710 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
10711
10712         * invoke.texi (ARM Options): Add in -mno-alignment-traps
10713
10714 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
10715
10716         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
10717         (add_dwarf_attr, add_child_die): Just push onto the front.
10718         (reverse_die_lists): New fn.
10719         (add_sibling_attributes): Use it.
10720         (push_decl_scope): Reorganize.
10721         (add_name_and_src_coords_attributes): Don't set file and line for
10722         an artificial decl.
10723         (gen_subprogram_die): An artificial function doesn't need to match
10724         file and line.
10725         (gen_compile_unit_die): Return the generated die.  Only add
10726         AT_comp_dir if the filename is relative.
10727         (remove_AT): Simplify loop.  Also free string values.
10728         (output_die): A DIE ref can't be null.
10729         (output_value_format, value_format): Take a dw_attr_ref.
10730         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
10731         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10732         AT_addr, AT_lbl): New fns.
10733         (various): Use them.
10734         (various): Constify.
10735
10736 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10737
10738         * combine.c (combine_simplify_rtx): When handling a SUBREG,
10739         take SUBREG_WORD into account.
10740         (if_then_else_cond): Likewise.
10741
10742 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
10743
10744         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
10745         clause from BSD license, pursuant with
10746
10747           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
10748
10749 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
10750
10751         * loop.c (load_mems): Reformat slightly.
10752         * basic-block.h (regset_head): New typedef.
10753         (INIT_REG_SET): New macro.
10754
10755 1999-11-22  Bruce Korb  <autogen@linuxbox.com
10756
10757         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
10758         (mips-dec-bsd*): non-functional code
10759         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
10760
10761         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
10762         added three replacement fixes
10763         (no_double_slash): removed comments that are not (any longer) pertinent
10764         (bad_lval): this fix currently runs against many files.
10765         The comment seems to indicate that we should select for files
10766         containing 'pragma extern_prefix'.
10767
10768         * fixinc/fixinc.x86-linux-gnu: deleted
10769         * fixinc/inclhack.sh:  regen
10770         * fixinc/fixincl.x:  regen
10771         * fixinc/fixincl.sh:  regen
10772
10773 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
10774
10775         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
10776         its code is INSN and it has no notes.
10777
10778 1999-11-22  Andrew Haley  <aph@cygnus.com>
10779
10780         * varasm.c (function_defined): Remove.
10781         (make_function_rtl): Don't set function_defined.
10782         (make_decl_rtl): Remove global register warning.
10783         * regclass.c (no_global_reg_vars): New variable.
10784         (globalize_reg): Warn if function has already been defined.
10785         (regclass_init): Set no_global_reg_vars.
10786
10787 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10788
10789         * regclass.c (reg_pref): New structure and static variable
10790         (prefclass): Delete.
10791         (altclass): Delete.
10792         (all uses of prefclass and altclass): Use reg_pref instead.
10793
10794 1999-11-21  Nick Clifton  <nickc@cygnus.com>
10795
10796         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
10797         -malignment-traps.
10798         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
10799         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
10800         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
10801
10802 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
10803
10804         * varasm.c (output_constructor): Solve problem with long long
10805         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
10806
10807 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10808
10809         * global.c (allocno): New structure and static variable.
10810         (allocno_reg): Remove, all references replaced by allocno.
10811         (allocno_size): Likewise.
10812         (hard_reg_conflicts): Likewise.
10813         (hard_reg_preferences): Likewise.
10814         (hard_reg_copy_preferences): Likewise.
10815         (hard_reg_full_preferences): Likewise.
10816         (regs_someone_prefers): Likewise.
10817         (allocno_calls_crossed): Likewise.
10818         (allocno_n_refs): Likewise.
10819         (allocno_live_length): Likewise.
10820         (find_reg): Rename ALLOCNO to NUM.
10821
10822         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
10823         references updated.
10824         (may_move_out_cost): New variable.
10825         (init_reg_sets_1): Initialize may_move_out_cost.
10826         (record_reg_classes): Use may_move_out_cost.
10827
10828         * regclass.c (dump_regclass): New function.
10829         (regclass): New parameter DUMP, call DUMP_REGCLASS.
10830         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
10831         pass rtl_dump_file to regclass.
10832         * rtl.h (regclass): Update prototype.
10833
10834 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10835
10836         * i386.md (neg, not and abs patterns): Revmap to use
10837         ix86_expand_unary_operator and ix86_unary_operator_ok.
10838         (add?f and sub?f expanders): Force operand 1 to register.
10839         * i386.c (ix86_expand_unary_operator): Rewrite.
10840         (ix86_unary_operator_ok): Ensure that memory operands
10841         match real opcode.
10842         (ix86_binary_operator_ok): Do not allow operand 1 to
10843         come into memory and operand 0 not.
10844         (ix86_expand_binary_operator): Ensure that
10845         src1 is not non-matching memory.
10846
10847         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
10848         to support integer registers and memory.
10849         (abss?2_integer): Likewise.
10850
10851         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
10852         (REG_CLASS_NAMES): Likewise.
10853         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
10854         and GENERAL_REGS.
10855         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
10856         (movsf): Likewise; unify 4th and 5th alternative.
10857         (pushdf): Likewise.
10858         (movdf_1): Likewise; rename to movdf_integer.
10859         (pushxf): Likewise; rename to pushxf_integer; fix output template;
10860         remove redundant splitter.
10861         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
10862         (movdf_nointeger): New.
10863         (movxf_nointeger): New.
10864         (pushxf_nointeger): New.
10865
10866         * i386.md (extend?f?f): Split to expander and pattern, refuse two
10867         memory operands in patterns.
10868         (fop*): Refuse two memory operands.
10869
10870         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
10871         on !TARGET_USE_CLTD CPUs.
10872
10873 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
10874
10875         * extend.texi: Document C++ restricted pointers and references.
10876
10877 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
10878
10879         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
10880         (invalidate_skipped_set): Call it unconditionally.
10881         (cse_set_around_loop): Likewise.
10882
10883 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
10884
10885         * rtl.texi (mem): Add documentation for alias-set argument
10886         to RTX `mem'.
10887
10888 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10889
10890         * i386.h (struct_processor_costs): New fields int_load, int_store,
10891         fp_move, fp_load and fp_store
10892         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
10893         fp->int moves
10894         (MEMORY_MOVE_COST): New macro.
10895         * i386.c (386_cost): Define new fields.
10896         (i486_cost): Likewise.
10897         (pentium_cost): Likewise.
10898         (pentiumpro_cost): Likewise.
10899         (k6_cost): Likewise.
10900
10901 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
10902                           Geoffrey Keating  <geoffk@cygnus.com>
10903
10904         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
10905
10906         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
10907         MASK_ALIGN_INT.
10908
10909         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
10910         (TARGET_STRICT_ALIGNMENT): New macro.
10911         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
10912         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
10913         * invoke.texi (M680x0 Options): Document -mstrict-align.
10914
10915 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
10916                           Richard Henderson  <rth@cygnus.com>
10917
10918         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
10919         (ix86_split_long_move): Declare.
10920         * i386.c (split_xf, ix86_split_movdi): Remove.
10921         (ix86_split_to_parts, ix86_split_long_move): New.
10922         * i386.md (dimode move splitters): Use ix86_split_long_move.
10923         (dfmode move splitters): Likewise.
10924         (xfmode move splitters): Likewise.
10925         (movsf_1): Allow F->r.
10926         (movdf_1, movxf_1): Allow F->ro.
10927
10928 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
10929
10930         * except.h (struct eh_entry): Add goto_entry_p.
10931         (eh_region_from_symbol): Remove prototype.
10932         * except.c (find_func_region_from_symbol): New function.
10933         (emit_cleanup_handler): Likewise.
10934         (eh_region_from_symbol): Make it static.
10935         (add_new_handler): Verify the argument.
10936         (find_func_region): Update comment.
10937         (expand_eh_region_end): Expand handlers here, rater than waiting
10938         until expand_leftover_cleanups or start_all_catch.
10939         (expand_leftover_cleanups): Don't expand here.
10940         (expand_start_all_catch): Or here.
10941         (expand_rethrow): Check the return value from find_func_region.
10942         * function.c (expand_function_end): Emit the catch_clauses.
10943
10944 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
10945
10946         * integrate.c (expand_inline_function): Add necessary check for NULL.
10947
10948 1999-11-18  Nick Clifton  <nickc@cygnus.com>
10949
10950         * toplev.c (main): Correctly detect an unrecognised option.
10951
10952         * cppinit.c (cpp_handle_option): Do not claim to have consumed
10953         a -f option if it has not been recognised.
10954
10955 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
10956
10957         * basic-block.h (update_life_extent): Remove trailing comma on
10958         enumeration type list.
10959
10960 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10961
10962         * varasm.c (output_constructor) Solved problem with long long
10963         bitfields. Corrected calculating this_time and shift. Also
10964         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
10965
10966 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
10967
10968         * flow.c (split_edge): Take looping structure into account when
10969         determining where to put the new block note.
10970
10971 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
10972
10973         * Makefile.in (ggc-none.o): Provide host specific version if
10974         needed.
10975
10976 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
10977
10978         * cse.c (delete_trivially_dead_insns): Identify no-op insns
10979         containing subregs too.
10980
10981 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
10982
10983         * invoke.texi: Add documentation for -muninit-const-in-rodata.
10984         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
10985         (TARGET_UNINIT_CONST_IN_RODATA): Define.
10986         (text_section): Add switches -munint-const-in-rodata and
10987         -mno-uninit-const-in-rodata.
10988         (ASM_OUTPUT_COMMON): Remove.
10989         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
10990         const objects should be placed in read-only data. Otherwise declare
10991         them in common.
10992
10993 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
10994
10995         * jump.c (jump_optimize_1): Revert last change.
10996
10997 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
10998
10999         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
11000         test if optimizing for size.
11001
11002 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
11003
11004         * Makefile.in (toplev.o): Depend on except.h.
11005         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
11006
11007 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11008
11009         * i386.md (divmodsi4): Rewrite to expander.
11010         (*divmodsi4_nocltd): New.
11011         (*divmodsi4_cltd): New.
11012         (divmodsi4 splitter): Handle the case when input comes in edx.
11013         (udivmodhi4): Do not use constraints in exander.
11014         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
11015
11016 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
11017
11018         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
11019         for the common case.
11020
11021 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
11022
11023         * explow.c (hard_function_value): Add outgoing argument.
11024         * expr.h (hard_function_value): Declare it.
11025         * calls.c (expand_call, emit_library_call_value): Update callers.
11026         * function.c (aggregate_value_p): Ditto.
11027         (diddle_return_value): Must look at the outgoing registers
11028         on archs with register windows.
11029
11030 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
11031
11032         * alpha.c (alpha_build_va_list): Use make_lang_type and
11033         initialize TYPE_NAME for the va_list record.
11034
11035         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
11036
11037         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
11038         for printing.
11039         * ggc.h (struct ggc_statistics): Rearrange elements for better
11040         packing on 64-bit hosts.
11041         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
11042         (compute_nearerout): Likewise.
11043
11044 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
11045
11046         * config/rs6000/rs6000.c (first_reg_to_save): Save
11047         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
11048
11049 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
11050
11051         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
11052         notion of nesting to find the DIE for a type or function.
11053         DIEs can go in limbo even if we got a context_die.
11054         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
11055         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
11056         for local type.
11057         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
11058         (gen_type_die): Writing out the context doesn't cause member class
11059         template instantiations to be written out as well.
11060
11061 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
11062
11063         * rs6000.h (ASM_OUTPUT_DEF): New.
11064         Based on proposed addition from David Edelsohn.
11065
11066 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
11067             Bruce Korb  <autogen@linuxbox.com>
11068
11069         * fixinc/inclhack.def
11070         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
11071         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
11072                 in net/inet.h.
11073         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
11074         (svr4_endian): enabled with SVR5
11075         (svr4_mkdev): simplified syntax and enabled with SVR5
11076
11077 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
11078
11079         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
11080         * configure: Rebuilt.
11081         * config/t-freebsd-thread: New file.
11082
11083 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
11084
11085         * i386.c (ix86_decompose_address): Verify the base is a REG
11086         before trying to examine its register number.
11087
11088         * basic-block.h: Remove all #defines and prototypes related to
11089         integer lists.
11090         (free_bb_mem, compute_preds_succs): Remove prototype.
11091         * rtl.h (free_bb_mem): Remove prototype.
11092         * flow.c (alloc_int_list_node); Remove function.
11093         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
11094         (compute_preds_succs, free_bb_mem): Likewise.
11095         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
11096         * toplev.c (rest_of_compilation): Likewise.
11097         * haifa-sched.c (build_control_flow): Use flow generated edge
11098         list to build the haifa specific edge list.
11099         (find_rgns): Use new CFG data structures instead of pred/succ lists.
11100         (schedule_insns): Do not build pred/succ lists anymore.  Instead
11101         build the edge table.
11102
11103         * basic-block.h (dump_bb_data): Remove declaration.
11104         * flow.c (dump_bb_data): Remove function.
11105         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
11106         (sbitmap_union_of_predsucc): Likewise.
11107
11108         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
11109         argument.  All callers changed.
11110         (delete_null_pointer_checks_1): No longer need to compute the
11111         pred/succ lists.
11112
11113         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
11114         All callers changed.
11115         (pre_expr_reaches_here_p_work): Likewise.
11116         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
11117         * lcm.c (compute_laterin): Fix initialization of LATER.
11118         (compute_nearerout): Similarly for NEARER.
11119
11120 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11121
11122         * cse.c (set_nonvarying_address_components): Delete unused function.
11123         (refers_to_p): Likewise.
11124
11125 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
11126
11127         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
11128         needed.
11129
11130 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11131
11132         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
11133         definition in do while (0).
11134
11135 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
11136
11137         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
11138
11139 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
11140
11141         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
11142
11143 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
11144
11145         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
11146         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
11147         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
11148         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
11149
11150         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
11151         saved on the stack.  Output more accurate stack frame statistics
11152         into assembler file.
11153
11154 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
11155
11156         * genextract.c (record_insn_name): New function.
11157         (get_insn_name): No longer a stub.
11158         (main): Call record_insn_name for each insn.  After each label
11159         written, print the insn name in a comment.
11160
11161 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11162
11163         * output.h (const_section, init_section, fini_section): Add
11164         prototypes.
11165
11166         * alpha/elf.h (const_section): Delete declaration.
11167
11168         * svr4.h (const_section): Likewise.
11169
11170 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
11171
11172         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
11173         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
11174         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
11175         expressions.
11176         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
11177         variable-sized array bounds.
11178
11179 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
11180
11181         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
11182         ASM_OUTPUT_LABEL.
11183
11184 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11185
11186         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
11187         addresses the same way GO_IF_LEGITIMATE_INDEX does.
11188
11189 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11190
11191         * cse.c (hash_arg_in_struct): Delete.
11192         (struct table_elt): Delete elt in_struct.
11193         (struct set): Delete elt src_in_struct.
11194         (merge_equiv_classes): Don't set either hash_arg_in_struct or
11195         the corresponding in_struct elts.
11196         (canon_hash): Likewise.
11197         (safe_hash): Likewise.
11198         (find_best_addr): Likewise.
11199         (record_jump_cond): Likewise.
11200         (cse_insn): Likewise.
11201
11202 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
11203
11204         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
11205
11206         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
11207         unsigned types.
11208
11209 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
11210
11211         * function.c (diddle_return_value): Put back check that the DECL_RTL
11212         for the function is a register.
11213
11214         * function.c (diddle_return_value): Use hard_function_value to
11215         get an rtx suitable for use in the USE/CLOBBER insn.
11216
11217         * global.c (global_conflicts): Update comments.
11218         (record_conflicts): No need to record conflicts between pseudos here.
11219
11220 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
11221
11222         * fixinc/fixincl.c: Added verbose levels for status messages
11223
11224 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11225
11226         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
11227         operand as argument to expand_and or expand_binop.
11228
11229 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
11230
11231         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
11232         gcc_add_string_root.
11233
11234 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
11235
11236         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
11237
11238 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
11239
11240         * flow.c (compute_flow_dominators): Initially put all blocks on
11241         the worklist.
11242         * lcm.c (compute_antinout_edge, compute_available): Similarly.
11243         * gcse.c (compute_cprop_avinout): Remove.
11244         (compute_cprop_data): Use compute_available.
11245         (delete_null_pointer_checks_1): Use compute_available.
11246
11247         * basic-block.h (compute_available): Returns a void now.
11248         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
11249         to return a value anymore.
11250         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
11251         worklists.  Fix boundary cases. Compute maximal solutions.
11252         (compute_laterin, compute_nearerout): Similarly.
11253
11254         * dwarf2out.c (add_AT_location_description): Allow
11255         (mem (plus (pseudo) (...)) too.
11256
11257 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
11258
11259         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
11260
11261 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
11262                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11263
11264         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
11265
11266         * gansidecl.h: Likewise.
11267
11268         * rtl.c: Likewise.
11269
11270         * rtl.h: Likewise.
11271
11272         * toplev.h: Likewise.
11273
11274         * tree.c: Likewise.
11275
11276         * tree.h: Likewise.
11277
11278         * varray.c: Likewise.
11279
11280         * varray.h: Likewise.
11281
11282 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
11283
11284         * gcov.c (struct arcdata): Add hits and total, remove prob.
11285         (output_branch_counts): New.
11286         (process_args): Set output_branch_counts if -c.
11287         (calculate_branch_probs): Store hits and total instead of
11288         percentage.
11289         (output_data): Emit counts if output_branch_counts is true.
11290         * gcov.texi (Invoking Gcov): Document -c switch..
11291
11292 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
11293
11294         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
11295         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
11296
11297 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
11298
11299         * invoke.texi (C Dialect Options): Add missing builtins from
11300         c-common.c to list.
11301         * extend.texi (Other Builtins): Copy to this list.
11302
11303 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11304
11305         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
11306         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
11307         redundant bitmap.h.
11308
11309 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
11310
11311         * flow.c (compute_flow_dominators): No longer treat basic block 0
11312         or (n_basic_blocks - 1) specially.  Clear the AUX field before
11313         starting computation of doms/pdoms.  Fix initial state for pdoms.
11314
11315 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11316
11317         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
11318         match rtl.o's: added ggc.h and toplev.h
11319         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
11320         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
11321         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
11322
11323 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
11324
11325         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
11326         from HAVE_DOS_BASED_FILESYSTEM.
11327         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
11328         HAVE_DOS_BASED_FILESYSTEM.
11329         (main): Likewise.
11330         (split_directories): Only special-case DOS file names if
11331         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
11332         instead of explicit tests.  Conditionalize on !VMS.
11333         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
11334         tests.  Conditionalize on !VMS.
11335         (process_command): Only use make_relative_prefix if !VMS.
11336         (free_split_directories): Conditionalize on !VMS.
11337         (DIR_UP): Conditionalize on !VMS.
11338
11339 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11340
11341         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
11342
11343 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11344
11345         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
11346         case.
11347
11348 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
11349
11350         * invoke.texi (Environment Variables): Document relative path
11351         lookup.
11352         * gcc.c (DIR_UP): If not defined, define as "..".
11353         (standard_bindir_prefix): New static, holds target location to
11354         install binaries.
11355         (split_directories): New function to split a filename into
11356         component directories.
11357         (free_split_directories): New function, release memory allocated
11358         by split_directories.
11359         (make_relative_prefix): New function, make a relative pathname if
11360         the compiler is not in the expected location.
11361         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
11362         can figure out an appropriate prefix from argv[0].
11363         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
11364         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
11365         STANDARD_BINDIR_PREFIX.
11366
11367 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11368
11369         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
11370         in c4x.c.
11371         * config/c4x/c4x.h: Moved prototypes to c4x.h.
11372         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
11373         c4x_secondary_memory_needed) Delete.
11374         (fp_zero_operand): Add mode argument.
11375
11376 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
11377
11378         * reload1.c (reload_reg_free_for_value_p): Don't use a register
11379         that is in reload_reg_used.
11380
11381 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
11382
11383         * config/arm/arm-protos.h: New file: Prototypes for functions
11384         defined in arm.c and pe.c.
11385         * config/arm/arm.h: Fix compile time warnings.
11386         * config/arm/arm.c: Fix compile time warnings.
11387         * config/arm/pe.h: Fix compile time warnings.
11388         * config/arm/aout.h: Fix compile time warnings.
11389
11390 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
11391
11392         * config/m32r/m32r-protos.h: New file: Prototypes for functions
11393         defined in m32r.c
11394
11395         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
11396         Add support for subtargets.
11397         Add prototypes for new predicates.
11398         Add scheduling macros.
11399
11400         * config/m32r/m32r.c: Fix compile time warnings.
11401         (int8_operand): New predicate function.
11402         (reg_or_cmp_int16_operand): New predicate function.
11403         (extend_operand): New predicate function.
11404         (m32r_adjust_code): New scheduling function.
11405         (m32r_adjust_priorty): New scheduling function.
11406         (m32r_sched_init): New scheduling function.
11407         (m32r_sched_reorder): New scheduling function.
11408         (m32r_sched_variable_issue): New scheduling function.
11409         (direct_return): New codegen function.
11410         (m32r_not_same_reg): New rtl testsing function.
11411
11412         * config/m32r/m32r.md: Fix compile time warnings.
11413         Add support for pre decrement and post increment memory
11414         references.
11415         Add S<cc> patterns.
11416         Add fabs patterns.
11417
11418 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11419
11420         * global.c (EXECUTE_IF_CONFLICT): Don't define.
11421         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
11422         (find_reg): Likewise.
11423
11424 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
11425
11426         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
11427         to avoid assembler errors.
11428
11429 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
11430
11431         * config/v850/v850-protos.h: New file: Prototypes for functions
11432         defined in v850.c
11433         * config/v850/v850.h: Move prototypes to v850-protos.h
11434         * config/v850/v850.c: Move prototypes to v850-protos.h
11435         * config/v850/v850.md: Fix compile time warnings.
11436
11437         * config/fr30/fr30-protos.h: New file: Prototypes for functions
11438         defined in fr30.c
11439         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
11440         * config/fr30/fr30.c: Fix compile time warnings.
11441         * config/fr30/fr30.md: Fix compile time warnings.
11442
11443 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
11444
11445         * tree.h (get_containing_scope): Declare it.
11446         * tree.c (get_containing_scope): New fucntion.
11447         (decl_function_context): Use it.
11448         * toplev.c (rest_of_compilation): Use get_containing_scope.
11449
11450 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11451
11452         * Makefile.in (rtl.o): Depend on toplev.h.
11453
11454 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
11455
11456         * cse.c (delete_trivially_dead_insns): Replace alloca with
11457         xmalloc/xcalloc.
11458         * except.c (update_rethrow_references): Likewise.
11459         (init_eh_nesting_info): Likewise.
11460         * function.c (identify_blocks): Likewise.
11461         * gcse.c (dump_hash_table): Likewise.
11462         * graph.c (print_rtl_graph_with_bb): Likewise.
11463         * loop.c (combine_movables): Likewise.
11464         (move_movables): Likewise.
11465         (count_loop_regs_set): Likewise.
11466         (strength_reduce): Likewise.
11467         * profile.c (compute_branch_probabilities): New function, split
11468         out from ...
11469         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
11470         * regclass.c (regclass): Likewise.
11471         * regmove.c (regmove_optimize): Likewise.
11472         * toplev.c (compile_file): Likewise.
11473         (main): Don't mess with the stack rlimit.
11474
11475 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
11476
11477         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
11478         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
11479
11480 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
11481
11482         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
11483
11484 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
11485
11486         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
11487         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
11488         macro expansion.
11489
11490 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
11491
11492         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
11493
11494 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
11495
11496         * gcse.c (post_dominators): Kill.
11497         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
11498         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
11499         pass in a pdom array since we do not need pdoms.
11500         * haifa-sched.c (schedule_insns): Similarly.
11501         * flow.c (compute_dominators): Remove dead function.
11502         (compute_flow_dominators): Do not compute doms or pdoms if the
11503         caller does not request them.  Split up loop to build doms and
11504         pdoms.  Use a worklist to compute doms and pdoms.
11505         * basic-block.h (compute_dominators): Remove prototype.
11506
11507 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
11508
11509         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
11510         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
11511         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
11512         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
11513         (cant_move, fed_by_spec_load, is_load_insn): Remove.
11514         (schedule_region): Remove unused variable.
11515         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
11516
11517 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
11518
11519         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
11520         (update_equiv_regs): Likewise.
11521         (block_alloc): Likewise.
11522         * reg-stack.c (reg_to_stack): Likewise.
11523         (convert_regs_2): Likewise.
11524         * reload1.c (reload_as_needed): Likewise.
11525
11526 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
11527
11528         * Makefile.in (dbxout.o): Depend on ggc.h.
11529         (dwarf2out.o): Likewise.
11530         (xcoffout.o): Likewise.
11531         * dbxout.c: Include ggc.h.
11532         (dbxout_init): Register lastfile as a root.
11533         * dwarf2out.c: Include ggc.h.
11534         (dwarf2out_line): Register lastfile as a root.
11535         * xcoffout.c: Include ggc.h.
11536         (xcoffout_source_line): Register xcoff_lastfile as a root.
11537
11538 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
11539
11540         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
11541
11542 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
11543
11544         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
11545         defined.
11546         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
11547
11548 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11549
11550         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
11551         (EXECUTE_IF_CONFLICT): Likewise.
11552         (ALLOCNO_LIVE_P): Avoid signed division.
11553         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
11554         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
11555         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
11556
11557 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
11558
11559         * haifa-sched.c (schedule_block): Don't crash if there's no
11560         next insn for an interblock movement.
11561         (add_branch_dependences): Don't allow clobber insns to move either.
11562
11563 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
11564
11565         * i386.c (split_xf): New.
11566         * i386-protos.h: Declare it.
11567         * i386.md (movxf_1): Add general regs alternatives.
11568         (movxf_1+1): New splitter for same.
11569
11570 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
11571
11572         * function.c (purge_addressof_1): Add missing return values.
11573
11574 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
11575
11576         * function.c (is_addressof): New function.  Returns true if
11577         the given piece of RTL is an ADDRESSOF.
11578         (purge_addressof_1): Make boolean.  Return false if the
11579         ADDRESSOFs could not be purged.
11580         (purge_addressof): If ADDRESSOFs could not be purged from the
11581         notes attached to an insn, remove the offending note(s),
11582         unless they are attached to a libcall.
11583
11584 1999-11-05  Andreas Jaeger  <aj@suse.de>
11585
11586         * genoutput.c (null_operand =): Initialize all fields.
11587
11588         * errors.h: Add extern to prototypes.
11589
11590 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
11591
11592         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
11593         * configure: Rebuilt.
11594
11595 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11596
11597         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
11598         (mirror_conflicts): New function.
11599         (global_alloc): Call it.
11600         (expand_preferences): Remove redundant CONFLICTP test.
11601         (find_reg, dump_conflicts): Likewise.
11602         (prune_preferences): Process conflicts one word at a time.
11603
11604 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
11605
11606         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
11607         instead of an explicit loop.
11608
11609 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
11610
11611         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
11612         if REG_RETVAL check succeeds, then put classp in src_elt.
11613
11614 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
11615
11616         * function.c (pad_to_arg_alignment): Only update argument_pad
11617         if the argument's alignment is greater than STACK_BOUNDARY.
11618
11619 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
11620
11621         * bitmap.h (BITMAP_XFREE): New.
11622         * flow.c (life_analysis): Use it.
11623         (life_analysis_1): Free blocks.
11624
11625         * combine.c (undo_commit): New.
11626         (try_combine): Use it.  Don't zap undobuf.undos.
11627         (combine_instructions): Don't zap undobuf.undos; free the
11628         undobuf.frees list.
11629
11630         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
11631
11632         * stmt.c (cost_table_): New.
11633         (estimate_case_costs): Use it instead of xmalloc.
11634
11635         * toplev.c (compile_file): Reuse dumpname memory instead
11636         of strdup'ing it.
11637
11638 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
11639
11640         * reg-stack.c (convert_regs_1): Initialize target_stack->top
11641         after verifying an EH edge.
11642
11643         * haifa-sched.c (init_rgn_data_dependences): Correctly
11644         size bb_pending_lists_length when zeroing.
11645
11646 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
11647
11648         * function.c (diddle_return_value): New.
11649         (expand_function_end): Use it.
11650         * stmt.c (expand_null_return): Likewise.
11651         (expand_value_return): Likewise.
11652
11653         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
11654
11655         * reload1.c (reload): Don't remove return value clobbers.
11656
11657 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
11658
11659         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
11660
11661 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
11662
11663         * cse.c (cse_main): Use xmalloc, not alloca.
11664         (cse_basic_block): Likewise.
11665         * local-alloc.c (local_alloc): Likewise.
11666
11667 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
11668                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11669
11670         * rtl.c: Include toplev.h.
11671         (fatal): Remove declaration.
11672
11673 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
11674
11675         * haifa-sched.c (schedule_block): Fix thinko.
11676
11677 1999-11-03  James McKelvey <mckelvey@fafnir.com>
11678
11679         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
11680         S_IR* defined values
11681
11682 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
11683
11684         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
11685         call `malloc' instead.
11686
11687 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
11688
11689         * flags.h (flag_renumber_insns): Declare.
11690         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
11691         renumbering table.
11692         * rtl.h (renumber_insns): Change prototype.
11693         * toplev.c (flag_renumber_insns): Define.
11694         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
11695
11696 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
11697
11698         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
11699         and fpsqrtd.  Use them and create fdiv function unit to more
11700         accurately represent fpu sqrt pipeline semantics on UltraSparc.
11701         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
11702
11703 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
11704
11705         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
11706         3 on UltraSparc.
11707         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
11708         insn into ready list, do not use just a raw swap.
11709
11710 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
11711
11712         * rtl.h (renumber_insns): New function.
11713         (remove_unnecessary_notes): Likewise.
11714         * emit-rtl.c (renumber_insns): Define.
11715         (remove_unncessary_notes): Likewise.
11716         * toplev.c (rest_of_compilation): Remove dead code.
11717         Use renumber_insns and remove_unncessary_notes.
11718
11719         * gcse.c (struct null_pointer_info): New type.
11720         (get_bitmap_width): New function.
11721         (current_block): Remove.
11722         (nonnull_local): Likewise.
11723         (nonnull_killed): Likewise.
11724         (invalidate_nonnull_info): Take a null_pointer_info as input.
11725         (delete_null_pointer_checks_1): New function.
11726         (delete_null_pointer_checks): Use it.
11727
11728         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
11729         (split_edges): Likewise.
11730         (schedule_block): Likewise.
11731         (compute_block_backward_dependencies): Likewise.
11732         (schedule_region): Likewise.
11733         (schedule_insns): Likewise.
11734
11735 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
11736
11737         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
11738         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
11739         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
11740         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
11741         * jump.c (delete_unreferenced_labels): Don't delete if
11742         LABEL_ALTERNATE_NAME is set.
11743         * print-rtl.c (print_rtx): Dump alternate name.
11744         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
11745         * rtl.h (LABEL_ALTERNATE_NAME): Define.
11746         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
11747         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
11748
11749 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11750
11751         * fix-header.c (recognized_extern, recognized_function): Constify
11752         a char*.
11753
11754         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
11755         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
11756         (compute_available): Remove unused variable `last'.
11757         (compute_nearerout): Remove unused variable `temp_bitmap'.
11758         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
11759         Remove unused variable `x'.
11760
11761         * scan.h (recognized_function, recognized_extern): Constify a
11762         char*.
11763
11764         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
11765
11766 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11767
11768         * varasm.c (decode_rtx_const): Use XSTR to access the string
11769         of a SYMBOL_REF.
11770
11771 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
11772
11773         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
11774
11775 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11776
11777         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
11778
11779 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
11780
11781         * pa.c (ireg_operand): New function.
11782         * pa.h (PREDICATE_CODES): Handle ireg_operand.
11783         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
11784         Fix out of date comment.
11785
11786         * pa.md (negdi2): Turn into expander + anonymous pattern.
11787
11788         * reload.c (find_reloads): Fix typos in recent change.
11789
11790         * dwarf2out.c: Do not include ctype.h.
11791
11792 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11793
11794         * regclass.c (record_reg_classes): Always use may_move_cost when
11795         seeing how operand fits with various register classes.
11796
11797 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
11798
11799         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
11800         * toplev.c: Revert Nov 1 13:22 change.
11801
11802 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
11803
11804         * config/pa/pa.md (height reduction patterns): Add checks for
11805         overlapping operands to avoid semantic-destroying splits for
11806         height reduction patterns.
11807
11808 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11809
11810         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
11811         have been an hyphen, fixed.
11812         * configure: Rebuilt.
11813
11814 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
11815
11816         * config/arm/tpe.h: Add prototypes for exported functions.
11817         * config/arm/pe.c: Fix compile time warnings.
11818         * config/arm/semi.h: Fix compile time warnings.
11819         * config/arm/arm.c: Fix compile time warnings.
11820         * config/arm/arm.h: Fix compile time warnings.
11821         * config/arm/arm.md: Fix compile time warnings.
11822         * config/arm/thumb.c: Fix compile time warnings.
11823         * config/arm/thumb.h: Fix compile time warnings.
11824         * config/arm/thumb.md: Fix compile time warnings.
11825
11826 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
11827
11828         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
11829         detection code
11830
11831         * unroll.c (unroll_loop): Remove LOOP notes when loop is
11832         completely unrolled.
11833
11834 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11835
11836         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
11837
11838 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
11839
11840         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
11841         * rtl.h (rtx_equal_p): Move prototype.
11842         * rtl.c (rtx_equal_function_value_matters): Move from
11843         rtlanal.c
11844         (rtx_equal_p): Likewise.
11845         * rtlanal.c (rtx_equal_function_value_matters): Delete.
11846         (rtx_equal_p): Likewise.
11847
11848 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
11849
11850         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
11851         ! HAS_INIT_SECTION.
11852
11853 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
11854
11855         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
11856
11857         * pa.h (ADDR_VEC_ALIGN): Define.
11858
11859         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
11860         notes when presented with "if (foo) break; end_of_loop" and
11861         the break sequence gets moved out of the loop.
11862
11863         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
11864         Remove explicit zero initializations of entries within MAP.
11865
11866 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
11867
11868         * reg-stack.c (convert_regs_1): Handle EH edges specially.
11869
11870 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
11871
11872         * bitmap.h (BITMAP_XMALLOC): New macro.
11873         * flow.c (CLEAN_ALLOCA): Remove.
11874         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
11875         (life_analysis): Likewise.
11876         (update_life_info): Don't use CLEAN_ALLOCA.
11877         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
11878         (calculate_global_regs_live): Likewise.
11879         (print_rtl_with_bb): Likewise.
11880         (verify_flow_info): Likewise.
11881         * global.c (global_alloc): Likewise.
11882         (global_conflicts): Likewise.
11883         * integrate.c (save_for_inline_nocopy): Likewise.
11884         (expand_inline_function): Likewise.
11885         * jump.c (jump_optimize_1): Likewise.
11886         (duplicate_loop_exit_test): Likewise.
11887         (thread_jumps): Likewise.
11888         * loop.c (loop_optimize): Likewise.
11889         (combine_givs): Likewise.
11890         (recombine_givs): Likewise.
11891         * reorg.c (dbr_schedule): Likewise.
11892         * unroll.c (unroll_loop): Likewise.
11893
11894         * combine.c (combine_instructions): Use xmalloc instead of alloca.
11895
11896 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
11897
11898         * toplev.c (rest_of_compilation): Don't optimize the CFG
11899         when rebuilding, just before dbr.
11900
11901 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11902
11903         * output.h (assemble_end_function, assemble_destructor,
11904         assemble_constructor, assemble_gc_entry, assemble_global,
11905         assemble_label, output_constant_pool) Constify a char*.
11906
11907         * varasm.c (assemble_destructor, assemble_constructor,
11908         assemble_gc_entry, assemble_end_function, assemble_global,
11909         assemble_label, output_constant_pool): Likewise.
11910
11911 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
11912
11913         * config/arm/thumb.c (thumb_expand_prologue): Add comments
11914         explaining what is goin on in this function.
11915
11916 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11917
11918         * regclass.c (record_reg_classes): In matching case, recompute
11919         costs since the direction of movement is different.
11920
11921 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
11922
11923         * resource.c (mark_target_live_regs): For unconditional branches,
11924         the resources found at the branch target should be added to the
11925         resources found so far, not intersected.
11926
11927 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
11928
11929         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
11930         old cpp's.
11931         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
11932         (sys/mman.h): Include this file only if #HAVE_MMAP.
11933         (run_compiles): Initialize `esac_fmt' with one old KR string, not
11934         with automatically concatenated ANSI strings.
11935
11936 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
11937
11938         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
11939         (DIV_ROUND_UP): Robustify.
11940         (ggc_recalculate_in_use_p): New function.
11941         (release_pages): Don't inline it.
11942         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
11943         outer contexts.
11944         (ggc_pop_context): Use ggc_recalculate_in_use_p.
11945         (clear_marks): Always save in_use_p.
11946         (sweep_pages): Use ggc_recalculate_in_use_p.
11947         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
11948         Release pages before counting statistics.
11949
11950 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
11951
11952         * toplev.c (rest_of_compilation): Fix thinko in this change:
11953
11954         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
11955
11956         (rest_of_compilation): If inside an inlined external function,
11957         pretend we are just being declared.
11958
11959 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
11960
11961         * flow.c (calculate_global_regs_live): Fix thinko.
11962
11963         * integrate.c (expand_inline_function): Fix bugs in previous
11964         change from Oct 28, 1999.
11965
11966 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
11967
11968         * stmt.c (expand_value_return): Fix typo in this change:
11969
11970         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11971         (expand_value_return): Correctly convert VAL when promoting function
11972         return; support RETURN_REG being a PARALLEL.
11973
11974 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
11975
11976         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
11977
11978 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11979
11980         * hard-reg-set.h (reg_names): Constify a char*.
11981
11982         * regclass.c  (reg_names): Likewise.
11983
11984         * regs.h (reg_names): Likewise
11985
11986         * a29k/a29k.c (reg_names): Delete declaration.
11987
11988         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
11989
11990         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
11991         arc_output_function_epilogue): Likewise.
11992
11993         * elxsi/elxsi.c (reg_names): Likewise.
11994
11995         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
11996
11997         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
11998         Likewise.
11999
12000         * m88k/m88k.c (output_function_profiler): Likewise.
12001
12002         * sparc/sparc.c (sparc_flat_output_function_prologue,
12003         sparc_flat_output_function_epilogue): Likewise.
12004
12005 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
12006
12007         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
12008         warning from -Wuninitialized and put it under -W.
12009         * function.c (uninitialized_vars_warning): Warn only when the
12010         corresponding flag is set.
12011
12012 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
12013
12014         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
12015         is nonzero and the single set does not have an elt, then assign
12016         it an elt.
12017
12018         * simplify-rtx.c: New file.
12019         * Makefile.in (OBJS): Add simplify-rtx.o
12020         (simplify-rtx.o): Add dependencies.
12021         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
12022         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
12023         (cse_gen_binary, simplify_unary_operation): Delete.
12024         (simplify_binary_operation, simplify_plus_minus): Likewise.
12025         (check_fold_consts, simplify_relation_operation): Likewise.
12026         (simplify_ternary_operation): Likewise.
12027         (delete_trivially_dead_insns): Simplify the contents of the
12028         REG_EQUAL note before trying to substitute it into the source
12029         of the reg-reg copy at the end of a libcall sequence.
12030
12031         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
12032         references/callers changed.
12033
12034         * mn10200.c (mn10200_va_arg): Force the return value into a
12035         register.
12036
12037         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
12038
12039         * cccp.c (macroexpand): Avoid out of range accesses for omitted
12040         arguments.
12041
12042 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
12043
12044         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
12045
12046 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
12047
12048         * fold-const.c (fold): Fix thinko when optimizing comparisons
12049         against -0.0.
12050
12051 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
12052
12053         * gcc.texi (Passes): Update front-end files to their current
12054         location.
12055
12056 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
12057
12058         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
12059         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
12060         (PREDICATE_CODES): Add addition_operation.
12061         * alpha-protos.h (addition_operation): Declare.
12062         (secondary_reload_class): Likewise.
12063         * alpha.c (addition_operation): New.
12064         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
12065         * alpha.md (adddi3): Turn into expander.
12066         (*lda, *adddi_2): New.
12067         (movsf, movdf patterns): Don't preference integer regs.
12068         (movsi, movdi patterns): Don't preference fp regs.
12069
12070 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
12071
12072         * genrecog.c (write_switch): Check for duplicate CODE cases.
12073
12074 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
12075
12076         * ggc-common.c: Update pre-function commentary.
12077         * ggc-page.c: Likewise.
12078         (poison): Remove.
12079         (poison_pages): Use memset directly.
12080         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
12081         (ggc_collect): Poison before sweeping.
12082         * ggc-simple.c: Update pre-function commentary.
12083         (ggc_alloc_obj): Poison non-zeroed memory.
12084
12085 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
12086
12087         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
12088         match format string, even on 64-bit hosts.
12089         * gcc-page.c (ggc_page_print_statistics): Likewise.
12090
12091 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
12092
12093         * config/i386/i386.c (ix86_cpu): Revert last patch.
12094         * config/i386/i386.h (ix86_cpu): Ditto.
12095
12096 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
12097
12098         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
12099         TYPE_SIZE, convert type of result to sizetype.
12100
12101 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
12102
12103         * flow.c (count_or_remove_death_notes): Equate NULL with the
12104         universal set.
12105
12106         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
12107         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
12108         dbr_schedule.
12109
12110         * i386.c (pic_label_no): Delete.
12111         (ix86_attr_length_default): Don't use single_set to peek
12112         inside a parallel.
12113
12114         * recog.c (peephole2_optimize): Allow recog_next_insn to index
12115         the first insn after bb->end.
12116         * i386.md (push mem peeps): Scratch is live after evaluation
12117         of the memory.
12118         (cmp mem peep): Similarly.
12119
12120 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
12121
12122         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
12123         * function.c (pad_to_arg_alignment): Add missing braces.
12124
12125 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12126
12127         * alpha/alpha-protos.h (literal_section): Add prototype.
12128         (alpha_need_linkage, alpha_start_function,alpha_end_function):
12129         Constify a char*.
12130
12131         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
12132         prototype.
12133         (alpha_start_function, alpha_end_function, float_strings,
12134         alpha_need_linkage): Constify a char*
12135
12136         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
12137
12138         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
12139
12140         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12141
12142         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
12143
12144 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12145
12146         * flow.c (debug_flow_info): Add prototype.
12147
12148         * gcc.c (main): Likewise.
12149
12150         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
12151         Likewise.
12152
12153         * reload1.c (failed_reload, set_reload_reg): Likewise.
12154
12155         * mips-tfile.c (main): Likewise.
12156         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
12157         with ATTRIBUTE_NORETURN.
12158
12159 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
12160
12161         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
12162         DECL is not a memory ref.
12163
12164 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
12165
12166         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
12167         * config/i386/i386.c (ix86_cpu): Add extern attribute.
12168
12169 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
12170
12171         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
12172         * config/mips/elf64.h: ditto.
12173
12174 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
12175
12176         * expr.c (emit_push_insn): New argument alignment_pad.
12177         Update all callers.  Adjust stack pointer based on alignment pad.
12178         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
12179         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
12180         (locate_and_pad_parm): New argument alignment_pad.  Update all
12181         callers.
12182         * expr.h (emit_push_insn): Update prototype.
12183         (locate_and_pad_parm): Update prototype.
12184         * calls.c (arg_data):  Add new field alignment_pad.
12185         (initialize_argument_information): Initialize alignment_pad.
12186
12187 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
12188
12189         * except.c (free_eh_nesting_info): Free the info itself.
12190         * function.c (free_after_compilation): Don't free NULL.
12191         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
12192         (pre_edge_insert): Free inserted.
12193         * stmt.c (free_stmt_status): Don't free NULL.
12194
12195 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
12196
12197         * gcov.c (DIR_SEPARATOR): Provide default.
12198         (output_data): Add test for MS-DOS format absolute filename.
12199         (fancy_abort): Correct program name.
12200         (open_files): Open all files in binary mode.
12201         * libgcc2.c (__bb_exit_func): Likewise.
12202
12203         * profile.c (init_branch_prob): Specify binary when opening files.
12204
12205         * flags.h (flag_unwind_tables): New decl.
12206         * toplev.c (flag_unwind_table): New definition.
12207         (f_options): Add -funwind-tables.
12208         (decode_g_option): Clarify warning when unknown -g option is given.
12209         (rest_of_compilation): If inside an inlined external function,
12210         pretend we are just being declared.
12211
12212         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
12213         (dwarf2out_frame_finish): Likewise.
12214
12215 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
12216
12217         * fold-const.c (merge_ranges): If not in0, but in1, handle
12218         upper bounds equal like subset case.
12219
12220 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
12221
12222         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
12223         passed in a register but moved to the stack.
12224
12225 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
12226
12227         * gcc.c (pass_exit_codes, greatest_status): New variables.
12228         (struct option_map): Add entry for "--pass-exit-codes".
12229         (execute): Update greatest_status if error.
12230         (display_help): Add documentation for -pass-exit-codes.
12231         (process_command): Handle -pass-exit-codes.
12232         (main): Look at pass_exit_codes and greatest_status on call to exit.
12233
12234 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12235
12236         * reload.c (find_reloads): Refine test for no input reload
12237         case to not includes reloads emitted after insn.
12238
12239         * function.c (find_temp_slots_from_address): Handle sum involving
12240         a register that points to a temp slot.
12241         (update_temp_slot_address): Make recursive call if both old and
12242         new are PLUS with a common operand.
12243         * calls.c (expand_call): Mark temp slot for result as having
12244         address taken.
12245
12246         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
12247
12248         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
12249         component as well as "BINUTILS".
12250
12251         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
12252         * integrate.c (copy_rtx_and_substitute): Likewise.
12253         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
12254         All callers changed.
12255         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
12256
12257         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
12258         gdb extensions, write size of type; also be more consistent
12259         in using references when this is a subtype.
12260
12261         * pa.md (extv, extzv, insv): Use define_expand to reject constant
12262         that is out of range.
12263
12264         * loop.c (unknown_constant_address_altered): New variable.
12265         (prescan_loop): Initialize it.
12266         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
12267         (invariant_p, case MEM): Remove handling for volatile and readonly;
12268         check new variable if readonly.
12269         (check_dbra_loop): Chdeck unknown_constant_address_altered.
12270
12271         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
12272         (addr_affects_sp_p): Removed from note_mem_written and only
12273         define #ifdef AUTO_INC_DEC.
12274
12275         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
12276
12277         * regclass.c (record_reg_classes): Properly handle register move
12278         directions.
12279
12280         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
12281         Don't think valid if both operands are invalid.
12282         (struct constant_descriptor): New field RTL.
12283         (mark_const_hash_entry): Mark it.
12284         (record_constant{,_rtx}): Initialize it.
12285         (output_constant_def): Allocate RTL in permanent obstack and
12286         save in table.
12287         ({record,compare}_constant_1): Modes must match for
12288         CONSTRUCTOR of ARRAY_TYPE.
12289
12290         * c-common.h (initializer_constant_valid_p): Delete decl from here.
12291         * output.h (initializer_constant_valid_p): Move decl to here.
12292         * c-common.c (initializer_constant_valid_p): Delete function from here.
12293         * varasm.c (initializer_constant_valid_p): Move function to here.
12294
12295         * tree.h (STRIP_SIGN_NOPS): New macro.
12296         * fold-const.c (optimize_minmax_comparison): New function.
12297         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
12298         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
12299         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
12300         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
12301         widening conversions.
12302         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
12303         to look at size of mode, not precision of type; also add missing cases.
12304         (optimize_bit_field_compare, decode_field_reference): Don't try to
12305         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
12306
12307         * dwarf2out.c (ctype.h): Include.
12308         (dwarf2out_set_demangle_name_func): New function.
12309         (size_of_line_info): Deleted.
12310         (output_line_info): Compute size of line info table from difference
12311         of labels.
12312         (base_type_die, add_name_attribute): Call demangle function, if any.
12313         (field_byte_offset): Use bits per word for variable length fields.
12314         (gen_array_type_die): Add array name.
12315         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
12316         (dwarf2out_add_library_unit_info): New function.
12317
12318         * explow.c (set_stack_check_libfunc): New function.
12319         (stack_check_libfunc): New static variable.
12320         (probe_stack_range): Allow front-end to set up a libfunc to call.
12321
12322         * combine.c (simplify_comparison): When making comparison in wider
12323         mode, check for having commuted an AND and a SUBREG.
12324         (contains_muldiv): New function.
12325         (try_combine): Call it when dividing a PARALLEL.
12326         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
12327         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
12328         a PLUS.
12329         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
12330         use one of the CLOBBERs instead.
12331         (if_then_else_cond): If comparing against zero, just return thing
12332         being compared.
12333
12334         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
12335         Don't generate shifts and subtract if have conditional arithmetic.
12336
12337         * rtl.h (delete_barrier): New declaration.
12338         * jump.c (jump_optimize): Set up to handle conditional call.
12339         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
12340         (delete_barrier): New function.
12341
12342         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
12343
12344         * recog.c (nonmemory_operand): Accept ADDRESSOF.
12345
12346         * tree.c (build_type_attribute_variant): Push to obstack of
12347         ttype around type_hash_canon call.
12348
12349         * expr.c (placeholder_list): Move decl to file scope.
12350         (expand_expr): Don't force access to volatile just because its
12351         address is taken.
12352         If ignoring reference operations, just expand the operands.
12353         (expand_expr, case COMPONENT_REF): Propagate
12354         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
12355         Refine test for using bitfield operations vs pointer punning.
12356         (expand_expr, case CONVERT_EXPR): If converting to
12357         BLKmode UNION_TYPE from BLKmode, just return inner object.
12358         Use proper mode in store_field call.
12359         Properly set sizes of object to store and total size in store_field
12360         call for convert to union.
12361         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
12362         memory (like for ADDR_EXPR).  Also, don't put constant in register if
12363         we'll want it in memory.
12364         (readonly_fields_p): New function.
12365         (expand_expr, case INDIRECT_REF): Call it if LHS.
12366         (expand_assignment): Handle a RESULT_DECL where
12367         DECL_RTL is a PARALLEL.
12368         (do_jump, case WITH_RECORD_EXPR): New case.
12369         (get_inner_reference): Always go inside a CONVERT_EXPR
12370         and NOP_EXPR if both modes are the same.
12371         (store_field): Use bitfield operations if size of bitsize is not same
12372         as size of RHS's type.
12373         Check for bitpos not a multiple of alignment in BLKmode case.
12374         Do block move in largest possible alignment.
12375         (store_constructor): Set BITSIZE to -1 for variable size and properly
12376         in case of array of BLKmode.
12377         (expand_expr_unaligned): New function.
12378         (do_compare_and_jump): Call it.
12379
12380         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
12381         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
12382         does not include 'o'.
12383
12384         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
12385         both SET_DEST and SET_SRC reference a virtual register.
12386         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
12387
12388         * integrate.c (expand_inline_function): Handle case of setting
12389         virtual stack vars register (from built in setjmp); when parameter
12390         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
12391         (subst_constant): Add new parm, MEMONLY.
12392         (expand_inline_function, integrate_parm_decls): Pass new parm.
12393         (integrate_decl_tree): Likewise.
12394         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
12395         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
12396         (copy_rtx_and_substitute, case SET): Add explicit calls to
12397         copy_rtx_and_substitute for both sides.
12398
12399         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
12400         constraints.
12401         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
12402         within INDEX_TYPE, instead of before.
12403         (fixup_gotos): Use f->target_rtl, not the next insn,
12404         since latter may be from a later fixup.
12405         (expand_value_return): Correctly convert VAL when promoting function
12406         return; support RETURN_REG being a PARALLEL.
12407         (expand_return): When checking for result in regs and having
12408         cleanup, consider PARALLEL in DECL_RTL as being in regs.
12409
12410 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
12411
12412         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
12413         last_nominal_fname): Mark const.
12414         (struct include_hash: name, nshort, control_macro): Mark
12415         const.
12416         (struct macrodef: symnam): Mark const.
12417         (struct if_stack: fname): Mark const.
12418         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
12419         (IStable): New character-syntax array which encompasses all
12420         the old is_foo arrays.
12421         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
12422         is_space): New macros for interrogating IStable.
12423         (check_macro_name): Kill last argument.  All callers changed.
12424
12425         * cppinit.c (initialize_char_syntax): Delete.
12426         (is_idchar, is_idstart, is_hor_space, is_space,
12427         trigraph_table): Delete.
12428         (IStable): New.  Initialize with clever macros to avoid
12429         information duplication.
12430         (builtin_array): Table of builtins to get rid of explicit list
12431         in initialize_builtins.
12432         (initialize_builtins): Use builtins_array.
12433         (cpp_start_read): Call init_IStable, and set IStable['$'] if
12434         opts->dollars_in_ident.
12435
12436         * cppexp.c: Change all refs to is_xyz[] arrays to use new
12437         is_xyz() macros.
12438         (cpp_parse_expr): Avoid 'format string is not constant'
12439         warning. Use ISGRAPH to identify printable chars.
12440         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
12441         is_xyz() macros.
12442         (read_and_prescan): Map trigraphs to chars with open-coded
12443         if-else-if-... sequence, not a lookup table.
12444         * cpphash.c: Change all refs to is_xyz[] arrays to use new
12445         is_xyz() macros.
12446         * cpplib.c: Change all refs to is_xyz[] arrays to use new
12447         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
12448         (check_macro_name): Remove ability to report an invalid
12449         assertion name, which is never used.
12450         (do_line): Constify a couple of char *'s.
12451         * cppmain.c (main): Call cpp_cleanup before returning.
12452
12453 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
12454
12455         * ggc.h (struct ggc_statistics): New type.
12456         (ggc_get_size): New function.
12457         (ggc_print_statistics): Likewise.
12458         * ggc-common.c (ggc_stats): New variable.
12459         (ggc_mark_rtx_children): Keep statistics.
12460         (ggc_mark_tree_children): Likewise.
12461         (ggc_print_statistics): New function.
12462         * ggc-page.c (struct globals): Add bytes_mapped field.
12463         (alloc_anon): Update it.
12464         (release_pages): Likewise.
12465         (ggc_get_size): New function.
12466         (ggc_page_print_statistics): New function.
12467         * ggc-simple.c (ggc_get_size): New function.
12468
12469 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
12470
12471         * flow.c (propagate_block): When the last reference to a label
12472         before an ADDR_VEC is deleted because the reference is a dead
12473         store, delete the ADDR_VEC.
12474
12475 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
12476
12477         * resource.c (find_free_register): Don't use the frame pointer
12478         if frame_pointer_needed.
12479
12480 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
12481
12482         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
12483         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
12484
12485         * config/i960/i960.c (i960_va_start): New locals base, num.
12486         Use INDIRECT_REF instead of ARRAY_REF on valist.
12487         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
12488
12489 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
12490
12491         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
12492
12493 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
12494
12495         * tree.def (PLACEHOLDER_EXPR): Update comments.
12496
12497 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12498
12499         * c-common.c (check_format_info): Avoid non-literal format string
12500         warnings when `first_arg_num' is zero.
12501
12502 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12503
12504         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
12505
12506 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
12507
12508         * arm.md (casesi_insn): Add a clobber of the condition code
12509         register.
12510
12511 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
12512
12513         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
12514         used by both cc1 and cc1plus.
12515
12516 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
12517
12518         * config/arm/arm.c: Initialise arm_structure_size_boundary to
12519         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
12520         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
12521         to the value 32 if it has not already been defined.
12522         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
12523         Override definition in arm.h with a value of 8.
12524
12525 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
12526
12527         * c-pragma.c (push_alignment): Don't check the return value
12528         of xmalloc.
12529
12530 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
12531
12532         * sparc.h (ADJUST_COST): Fix thinko.
12533
12534 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
12535
12536         * cccp.c (rescan): Fixed obp pointer handling around call to
12537         check_expand subroutine.
12538
12539 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
12540
12541         * gcse.c (delete_null_pointer_checks): Only record non-null info
12542         for pseudos when examining stores.
12543
12544         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
12545         splitters for these patterns.  Use "#" for output templates.
12546         (addsi3_carryin_shift): New pattern.
12547
12548 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
12549
12550         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
12551         of the function return register into a plain REG until
12552         after function inlining is done.
12553
12554 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
12555
12556         * jump.c (jump_optimize_1): If we did cross-jumping, and
12557         the data will matter, rebuild the CFG.
12558         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
12559         not optimizing.  Don't run shorten_branches.
12560         * toplev.c (rest_of_compilation): Run shorten_branches after
12561         reg_to_stack.
12562
12563 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
12564
12565         * rtl.h (note_stores): Add additional paramter.
12566         * rtlanal.c (reg_set_p_1): Take additional paramter.
12567         (reg_set_last_1): Likewise.
12568         (reg_set_p): Adjust call to note_stores.
12569         (reg_set_last): Likewise.
12570         (note_stores): Pass data parameter to worker function.
12571         * alias.c (record_set): Take additional parameter.
12572         (init_alias_analysis): Pass it.
12573         * caller-save.c (mark_set_regs): Take additional parameter.
12574         (save_call_clobbered_regs): Pass NULL to note_stores.
12575         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
12576         parameter.
12577         (record_dead_and_set_regs_1): Likewise.
12578         (reg_dead_at_p_1): Likewise.
12579         (combine_instructions): Adjust calls to note_stores.
12580         (try_combine): Likewise.
12581         (record_dead_insn): Remove.
12582         (record_dead_and_set_regs): Adjust calls to note_stores.
12583         (reg_dead_at_p): Likewise.
12584         * cse.c (invalidate_skipped_set): Take additional parameter.
12585         (cse_check_loop_start): Likewise.
12586         (cse_check_loop_start_value): Remove.
12587         (cse_set_around_loop): Adjust calls to note_stores.
12588         * flow.c (notice_stack_pointer_modification): Take additional
12589         parameter.  Remove duplicate declaration.
12590         (record_volatile_insns): Adjust calls to note_stores.
12591         * gcse.c (record_set_info): Take additional parameter.
12592         (record_last_set_info): Likewise.
12593         (invalidate_nonnull_info): Likewise.
12594         (record_set_insn): Remove.
12595         (compute_sets): Adjust calls to note_stores.
12596         (last_set_insn): Remove.
12597         (compute_hash_table): Adjust calls to note_stores.
12598         (insert_insn_end_bb): Likewise.
12599         (delete_null_pointer_checks): Likewise.
12600         * global.c (mark_reg_store): Take additional parameter.
12601         (mark_reg_clobber): Likewise.
12602         (reg_becomes_live): Likewise.
12603         (global_conflicts): Adjust calls to note_stores.
12604         (build_insn_chain): Likewise.
12605         * integrate.c (note_modified_parmregs): Take additional parameter.
12606         (mark_stores): Likewise.  Make it static.
12607         (save_for_inline_nocopy): Adjust calls to note_stores.
12608         (try_constants): Likewise.
12609         * integrate.h (mark_stores): Remove declaration.
12610         * jump.c (mark_modified_reg): Take additional parameter.
12611         (thread_jumps): Adjust calls to note_stores.
12612         * local-alloc.c (validate_equiv_mem_from_store): Take additional
12613         parameter.
12614         (no_equiv): Likewise.
12615         (reg_is_set): Likewise.
12616         (validate_equiv_mem): Adjust calls to note_stores.
12617         (update_equiv_regs): Likewise.
12618         (block_alloc): Likewise.
12619         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
12620         (note_addr_stored): Take additional parameter.
12621         (note_set_pseudo_multiple_uses): Likewise.
12622         (record_initial): Likewise.
12623         (prescan_loop): Adjust calls to note_stores.
12624         (strength_reduce): Likewise.
12625         (check_dbra_loop): Likewise.
12626         * regmove.c (flags_set_1): Take additional paramter.
12627         (mark_flags_life_zones): Adjust calls to note_stores.
12628         * reload1.c (mark_not_eliminable): Take additional parameter.
12629         (forget_old_reloads_1): Likewise.
12630         (reload_cse_invalidate_rtx): Likewise.
12631         (reload_cse_check_clobber): Likewise.
12632         (reload_combine_note_store): Likewise.
12633         (move2add_note_store): Likewise.
12634         (reload): Adjust calls to note_stores.
12635         (reload_as_needed): Likewise.
12636         (emit_reload_insns): Likewise.
12637         (reload_cse_regs_1): Likewise.
12638         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
12639         (reload_combine): Adjust calls to note_stores.
12640         * resource.c (update_live_status): Take additional paramter.
12641         (mark_target_live_regs): Adjust calls to note_stores.
12642         * stupid.c (find_clobbered_regs): Take additional parameter.
12643         (stupid_life_analysis): Adjust calls to note_stores.
12644
12645 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
12646
12647         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
12648         definition.
12649
12650         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
12651         definition.
12652
12653         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
12654         of the variable arm_structure_size_boundary.
12655
12656 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
12657
12658         * alias.c (init_alias_analysis): Allocate reg_known_value and
12659         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
12660         and reg_seen.
12661         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
12662         * cse.c (cse_main): Call end_alias_analysis.
12663         * haifa-sched.c (schedule_insns): Likewise.
12664         * local-alloc. (update_equiv_regs): Likewise.
12665         * reload1.c (reload_cse_regs): Likewise.
12666
12667 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12668
12669         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
12670         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
12671         mapping from MASK_FPU.
12672
12673 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
12674
12675         * sparc.md (call): Don't bound structure return size to 0xfff.
12676
12677 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
12678
12679         * resource.c (mark_target_live_regs): Check that the target
12680         insn wasn't created after compute_bb_for_insn.
12681
12682 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
12683
12684         * ggc-page.c (poison_pages): Don't be overzealous.
12685
12686 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
12687
12688         * alias.c: Update comments for ADDRESS.
12689         (nonlocal_reference_p): Look inside the ADDRESS to determine if
12690         it is a local memory reference.
12691
12692         * c-typeck.c (build_function_call): Check that the built-in
12693         function is of class BUILT_IN_NORMAL before trying to recongize
12694         it as BUILT_IN_ABS.
12695         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
12696         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
12697
12698 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
12699
12700         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
12701         of alloca.
12702         (pre_gcse): Likewise.
12703         (hoist_expr_reaches_here_p): Likewise.
12704         (hoist_code): Likewise.
12705         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
12706         code to ...
12707         (pre_expr_reaches_here_p_work): ... here.
12708         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
12709         code to ...
12710         (expr_reaches_here_p_work): ... here.
12711
12712 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
12713
12714         * resource.c (find_basic_block): Delete.
12715         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
12716         (init_resource_info): Call compute_bb_for_insn.
12717
12718 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
12719
12720         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
12721         with already adjacent blocks, but no fallthru.
12722         (merge_blocks_move_successor_nojumps): Simplify.
12723         (debug_flow_info): New.
12724
12725         * toplev.c (rest_of_compilation): Open jump1 dump file before
12726         jump and close after, as opposed to just using dump_rtl.
12727
12728 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12729
12730         * reload.h (earlyclobber_operand_p): Declare.
12731         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
12732         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
12733         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
12734         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
12735
12736 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
12737                           Richard Henderson  <rth@cygnus.com>
12738
12739         * emit-rtl.c (emit_block_insn_before): New.
12740         (emit_block_insn_after): New.
12741         * basic-block.h: Declare them.
12742
12743         * bitmap.h: Protect from multiple inclusion.
12744
12745         * recog.c (scratch_operand): Handle VOIDmode correctly.
12746
12747         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
12748
12749         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
12750         * function.c (assign_parms): Likewise.
12751         * global.c (global_conflicts): Clarify STACK_REGS commentary.
12752
12753         * reg-stack.c (max_uid): Remove.
12754         (blocks, block_begin, block_end, block_drops_in): Remove.
12755         (block_stack_in, block_out_reg_set, block_number): Remove.
12756         (struct block_info_def, BLOCK_INFO): New.
12757         (enum emit_where): New.
12758         (current_block): New.
12759         (BLOCK_NUM): Remove.
12760         (mark_regs_pat, record_label_references): Remove.
12761         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
12762         (nan): New.
12763         (goto_block_pat, print_blocks, dump_stack_info): Remove.
12764         (reg_to_stack): Simplified test for existance of fp code.  Use
12765         flow.c code.  Call shorten_branches after cross-jump opt.
12766         (check_asm_stack_operands): Renamed from record_asm_reg_life.
12767         Return false if the asm doesn't use stack regs.  Don't do life
12768         analysis on the asm.
12769         (emit_pop_insn): Replace function pointer arg `when' with
12770         enum `where'.  Update all callers.
12771         (change_stack): Likewise.  Update basic block end.
12772         (emit_swap_insn): Use current_block->head to limit reverse search
12773         for start of block.  Use emit_block_insn_after.
12774         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
12775         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
12776         structure assignment instead of bcopy.
12777         (print_stack): New.
12778         (convert_regs_entry, convert_regs_exit): New.
12779         (convert_regs_1, convert_regs_2): Split out from convert_regs.
12780         Work on basic blocks and the CFG.
12781         (convert_regs): Use them.
12782
12783         * i386.c (output_fix_trunc): Remove code for DImode input operand
12784         not at top-of-stack.
12785         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
12786         appropriate mode.
12787         (fix_truncdi_1): Allow any mode scratch.
12788
12789 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
12790
12791         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
12792         * linux.h, netbsd.h, vms.h: Not here.
12793
12794 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
12795
12796         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
12797         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
12798         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
12799         CONDITIONAL_REGISTER_USEAGE): Use them.
12800         * config/mips/mips.c (mips_move_1word,mips_move_2words,
12801         gen_conditional_branch,override_options) : Use them.
12802         * config/mips/mips.md : Use them.
12803
12804 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
12805
12806         * i386.md (zero_extendqihi2): Use SImode register name with andl.
12807
12808 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
12809
12810         * integrate.c (function_cannot_inline_p): Don't allow inlining
12811         if setjmp is used.
12812
12813 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12814
12815         * c-parse.in (cast_expr): Constify.
12816
12817         * cccp.c (special_symbol): Likewise.
12818
12819         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
12820
12821         * dwarf2out.c (base_type_die): Likewise.
12822
12823         * global.c (allocno_compare): Likewise.
12824
12825         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
12826
12827         * regclass.c (fix_register): Likewise.
12828
12829         * rtl.h (fix_register): Likewise.
12830
12831         * stupid.c (stupid_reg_compare): Likewise.
12832
12833         * toplev.c (decode_f_option): Likewise.
12834
12835         * tree.c (build_complex_type): Likewise.
12836
12837 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
12838
12839         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
12840
12841 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12842
12843         * reload.c (find_reloads): Compute mode and nregs fields of all
12844         reloads.
12845         * reload1.c (calculate_needs_all_insns): Simplify a bit.
12846         (calculate_needs): Use precomputed mode/nregs values.
12847         (allocate_reload_reg): Likewise.
12848         Break out two...
12849         (failed_reload, set_reload_reg): ... new functions.
12850         (choose_reload_regs_init): New function, mostly broken out from...
12851         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
12852         Also lose one #if 0 block.
12853
12854 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
12855
12856         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
12857         substitution.
12858
12859 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
12860
12861         * tree.h (BLOCK_TYPE_TAGS): Remove.
12862         (BLOCK_END_NOTE): Likewise.
12863         (BLOCK_LIVE_RANGE_FLAG): Likewise.
12864         (BLOCK_LIVE_RANGE_START): Likewise.
12865         (BLOCK_LIVE_RANGE_END): Likewise.
12866         (tree_block): Remove live_range_flag, live_range_var_flag, and
12867         type_tags.  Remove end_note, live_range_start, and live_range_end.
12868         (remember_end_note): Remove prototype.
12869         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
12870         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
12871         remember_end_note.
12872         * ggc-common.c (ggc_mark_tree_children): Don't mark
12873         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
12874         * integrate.c (adjust_copied_decl_tree): Remove.
12875         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
12876         * stmt.c (last_block_end_note): Remove.
12877         (init_stmt): Don't add a GC root for it.
12878         (expand_fixup): Don't set it.
12879         (remember_end_note): Remove.
12880         (expand_end_bindings): Don't set last_block_end_note.
12881
12882 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12883
12884         * reload1.c (reload_reg_free_for_value_p): Show
12885         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
12886         reloads.
12887
12888 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
12889
12890         * expmed.c (extract_bit_field): Allow for the case of non-integer
12891         objects that are smaller than a word (like SFmode on a 64-bit
12892         machine).
12893
12894         * loop.c (basic_induction_var): A non-integer variable which is
12895         being set by a paradoxical subreg is probably not a biv.
12896
12897 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12898
12899         * prefix.c (translate_name) Check for empty prefix string.
12900
12901 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
12902
12903         * Makefile.in (CPP_CROSS_NAME): New variable.
12904         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
12905         xcpp.
12906         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
12907         names of the files to be uninstalled.
12908
12909 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
12910
12911         * collect2.c (IS_DIR_SEPARATOR): Define.
12912         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
12913
12914         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
12915         functions too.
12916
12917         * haifa-sched.c (add_dependence): Update the true dependency
12918         cache the first time we add a true dependence to the LOG_LINKS chain.
12919
12920 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
12921
12922         * fold-const.c (fold): Fix comment.
12923
12924 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12925
12926         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
12927         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
12928         dbxout_start_new_source_file, dbxout_source_file,
12929         dbxout_source_line, dbxout_finish, dbxout_type_fields,
12930         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
12931         Constify a char*.
12932         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
12933         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
12934         (dbxout_block): Initialize variable `blocknum'.
12935
12936         * dbxout.h (dbxout_init, dbxout_finish,
12937         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
12938         dbxout_args, dbxout_source_line): Constify a char*.
12939
12940         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
12941         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
12942         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
12943         low_pc_attribute, high_pc_attribute, body_begin_attribute,
12944         body_end_attribute, comp_dir_attribute, sf_names_attribute,
12945         src_info_attribute, mac_info_attribute, producer_attribute,
12946         lookup_filename, generate_macinfo_entry, fundamental_type_code,
12947         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
12948         dwarfout_undef): Constify a char*.
12949         (add_incomplete_type, retry_incomplete_types): Add prototypes.
12950
12951         * dwarfout.h (dwarfout_define, dwarfout_undef,
12952         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
12953
12954 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
12955
12956         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
12957         (MULTILIB_ISA_DEFAULT): New.
12958         (MULTILIB_DEFAULTS): Use it.
12959         * config/mips/mips.c (): Remove the now unnecessary definition
12960         of MIPS_ISA_DEFAULT.
12961         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
12962         unnecessary definition.
12963
12964 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
12965
12966         * arm.md (pic_load_addr): Add constraints to operand 1.
12967
12968 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
12969
12970         * fixinc/genfixes:  Provide a means for specifying -D options to
12971         AutoGen
12972
12973 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
12974
12975         * arm.c (arm_override_options): Correct initialization of
12976         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
12977         arm_is_strong, and arm_is_6_or_7.
12978
12979         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
12980         (note_set_pseudo_multiple_uses): New function.
12981         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
12982         if a pseudo set in the loop exit is used elsewhere.
12983
12984 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
12985
12986         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
12987
12988 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
12989
12990         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
12991         a single load-address pattern.
12992
12993 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
12994
12995         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
12996         depending on whether or not line-number notes are present.
12997
12998 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12999
13000         * cccp.c (progname, file_buf, default_include, include_file,
13001         macrodef, definition, hashval, wchar_type, user_label_prefix,
13002         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
13003         expand_to_temp_buffer, is_system_include, base_name,
13004         absolute_filename, read_name_map, open_include_file,
13005         record_control_macro, check_precompiled, check_preconditions,
13006         pcfinclude, pass_thru_directive, create_definition,
13007         check_macro_name, comp_def_part, collect_expansion,
13008         check_assertion, read_token_list, assertion_install,
13009         assertion_lookup, eval_if_expression, conditional_skip,
13010         validate_else, skip_quoted_string, quote_string, macarg1,
13011         error_from_errno, install, lookup, hashf, dump_defn_1,
13012         perror_with_name, pfatal_with_name, main, trigraph_pcp,
13013         check_white_space, rescan, handle_directive, monthnames,
13014         special_symbol, do_include, remap_include_file, write_output,
13015         arglist, do_assert, do_unassert, do_line, do_error, do_once,
13016         do_ident, do_sccs, do_xifdef, skip_if_group,
13017         output_line_directive, macroexpand, macarg, change_newlines,
13018         initialize_builtins, make_definition): Constify a char*.
13019
13020         * pcp.h (stringdef): Likewise.
13021
13022 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
13023
13024         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
13025         not of pattern.
13026
13027 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
13028                           Richard Henderson  <rth@cygnus.com>
13029
13030         * alias.c: Include ggc.h.
13031         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
13032         (record_set): Verify enough room in reg_base_value.
13033         (init_alias_analysis): Allocate reg_base_value with xcalloc.
13034         Register it as a GC root.
13035         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
13036         * Makefile.in (alias.o): Depend on ggc.h.
13037
13038         * unroll.c (unroll_loop): Verify the insn before a barrier
13039         is a JUMP_INSN before checking JUMP_LABEL.
13040
13041 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13042
13043         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
13044         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
13045         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
13046         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
13047         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
13048         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
13049
13050 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13051
13052         * output.h (ctors_section, dtors_section, bss_section): Prototype.
13053
13054         * alpha/alpha-interix.h (text_section): Delete prototype.
13055         * alpha/elf.h (text_section): Likewise.
13056         * arm/linux-elf.h (text_section): Likewise.
13057         * arm/linux-telf.h (text_section): Likewise.
13058         * c4x/c4x.h (text_section): Likewise.
13059         * dsp16xx/dsp16xx.h (bss_section): Likewise.
13060         * elfos.h (text_section): Likewise.
13061         * i386/aix386ng.h (text_section): Likewise.
13062         * i386/i386-interix.h (text_section): Likewise.
13063         * i386/sco5.h (text_section): Likewise.
13064         * i386/svr3gas.h (text_section): Likewise.
13065         * nextstep.h (text_section): Likewise.
13066         * psos.h (text_section): Likewise.
13067         * ptx4.h (text_section): Likewise.
13068         * svr3.h (text_section): Likewise.
13069         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
13070
13071 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13072
13073         * final.c (peephole): Delete prototype.
13074
13075         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
13076         (pre_insert_copies): Remove unused variable `bb'.
13077
13078         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
13079         prototypes.
13080
13081         * output.h (peephole): Add prototype.
13082
13083 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
13084
13085         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
13086         -O0.
13087
13088 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
13089
13090         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
13091         for inlined declarations.
13092
13093 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
13094
13095         * arm.c (logical_binary_operator): New fucntion.
13096         * arm.h (logical_binary_operator): Declare it.
13097         (PREDICATE_CODES): Handle logical_binary_operator.
13098         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
13099         output constraints.  Add appropriate splitters.
13100         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
13101         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
13102         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
13103
13104 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13105
13106         * genoutput.c (struct operand_data): New elt eliminable.
13107         (output_operand_data): Write it.
13108         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
13109         (compare_operands): Take it into account.
13110         * recog.h (struct insn_operand_data): New elt eliminable.
13111         * reload1.c (check_eliminable_occurrences, elimination_effects): New
13112         functions.
13113         (old_asm_operands_vec, new_asm_operands_vec): Delete.
13114         (eliminate_regs): Move code that detects changes to elimination
13115         target regs into new function elimination_effects.
13116         Delete one #if 0 block.
13117         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
13118         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
13119         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
13120         Only call eliminate_regs for real operands of the insn, not for parts
13121         of its structure or parts matched by things like match_operator.
13122         Use elimination_effects and check_eliminable_occurrences.  Use
13123         copy_insn to duplicate the pattern when not in the final pass.
13124
13125 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
13126
13127         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
13128         and fld.
13129
13130 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
13131
13132         * fixinc/README: document the "mach" machine matching test
13133         * fixinc/fixfixes.c: Implement the #else/#endif label fix
13134         * fixinc/fixtests.c: Implement the #else/#endif label test
13135         * fixinc/inclhack.def: utilize these tests and fixes
13136         * fixinc/inclhack.sh:  regen
13137         * fixinc/fixincl.x:  regen
13138         * fixinc/fixincl.sh:  regen
13139
13140 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
13141
13142         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
13143         depend on ggc.h.
13144
13145 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
13146
13147         * gcc.1: Document exit codes.
13148
13149 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13150
13151         * calls.c: Include tm_p.h later, so everything we need is defined.
13152         * expr.c: Likewise.
13153         * function.c: Likewise.
13154
13155         * except.c: Include tm_p.h.
13156
13157         * sparc.c: Likewise.
13158         (dwarf2out_cfi_label): Don't prototype.
13159         (check_return_regs, epilogue_renumber,
13160         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
13161         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
13162         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
13163         ultra_schedule_insn): Add static prototype.
13164         (data_segment_operand, text_segment_operand): Call itself with the
13165         proper number of arguments.
13166         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
13167
13168         * sparc.h: Move all declarations to sparc-protos.h.
13169         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
13170         symbolic_operand.
13171
13172         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
13173
13174         * config/svr4.h (text_section, ctors_section, dtors_section): Add
13175         Prototypes.
13176         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
13177         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
13178         ASM_OUTPUT_ASCII): Constify a char*.
13179
13180         * sparc-protos.h: New file for sparc prototypes.
13181
13182 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13183
13184         * function.c (record_insns, contains): Always declare and define.
13185         (record_insns): Mark with ATTRIBUTE_UNUSED.
13186
13187 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13188
13189         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
13190         to .section when outputting a .bss section to deal with multiple
13191         .bss input sections (as happens with -fdata-sections)
13192         Also output %progbits, not @progbits so the assembler doesn't treat as
13193         a comment.
13194         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
13195
13196         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
13197         thumb parts even when building with non-thumb CPUs, by forcing
13198         thumb mode.
13199
13200 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
13201
13202         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
13203         (movdf_const_intreg_sp64): Similarly.
13204
13205         * local-alloc.c (update_equiv_regs): Check the correct insn
13206         for pre-existing REG_EQUIV notes.
13207
13208 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
13209
13210         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
13211         block reached by a branch if we're not going to actually process
13212         this block.
13213
13214 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
13215
13216         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
13217         a local extern function declaration.
13218
13219 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
13220
13221         * i386.c (ix86_expand_prologue): Properly wrap USE around
13222         reg for CALL_INSN_FUNCTION_USAGE.
13223
13224 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
13225
13226         * config/mips/mips.md (movdf_internal1a): Allow floating-point
13227         move between GP_REGs.
13228
13229 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
13230
13231         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
13232         the mode size when finding out if an offset is legal.
13233
13234 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
13235
13236         * basic-block.h (PROP_*): Move constants from ...
13237         * flow.c: ... here.
13238         (compute_bb_for_insn): Free the array before reallocating.
13239         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
13240         (allocate_reg_life_data): Reset all reg variables collected by
13241         propagate_block.
13242         (get_block_head_tail): Don't convert from bb to block.
13243         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
13244         (find_insn_reg_weight): Take block not bb.
13245         (schedule_block): Don't set block num for moved insns.
13246         (schedule_region): Don't update_life_info or find_insn_reg_weight.
13247         (schedule_insns): Do it here instead.
13248         * combine.c (combine_instructions): Invoke compute_bb_for_insn
13249         before update_life_info.
13250         * recog.c (split_all_insns, peephole2_optimize): Update for
13251         new arg to update_life_info.
13252         * rtlanal.c (remove_note): Cope with NULL note.
13253         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
13254         if we did sched1.
13255
13256 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
13257
13258         * jump.c (jump_optimize_1): More accurately detect casesi insns.
13259
13260         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
13261         block records so that merge_blocks_nomove will clean up correctly.
13262         (split_edge): Handle casesi insns.
13263
13264         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
13265
13266 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
13267
13268         * pa.md (call, call_value): Do not emit a blockage after restoring
13269         the PIC register.
13270
13271 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
13272
13273         * c-typeck.c (c_expand_asm_operands): Fix typo.
13274
13275 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13276
13277         * arm.c (fpu_rhs_operand): Verify modes.
13278         (fpu_add_operand): Likewise.
13279         (di_operand): Likewise.
13280         (soft_df_operand): Likewise.
13281
13282 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
13283
13284         * arm.c (arm_return_in_memory): APCS rules state that the elements
13285         of a structure returned in a register must be 'integer-like'.
13286
13287 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
13288
13289         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
13290         in the source tree when the generated targets are out of date
13291         * fixinc/genfixes: Alter it to run individual fixes for make.
13292         * fixinc/README: rewrite
13293         * fixinc/inclhack.def: moved initial comments to README
13294
13295 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
13296
13297         * toplev.c (main): Do not generate an error message if an
13298         unrecognised command line switch is recognisable by another
13299         language.  If extra_warnings are enabled, then generate a
13300         warning message instead.
13301
13302 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13303
13304         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
13305         (insert_pack_attributes): Delete prototype.
13306
13307         * c-pragma.c (default_alignment): New static variable.
13308         (push_alignment): Initialize to current effective alignment.
13309         (pop_alignment): Use to set new alignment.
13310         (insert_pack_attributes): Delete function.
13311         (handle_pragma_token): Set default_alignment as well each time
13312         a #pragma pack(<n>) is encountered.
13313
13314 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
13315
13316         * reg-stack.c (stack_result): Aggregates are not returned in
13317         stack registers.
13318
13319 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
13320
13321         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
13322
13323 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
13324
13325         * basic-block.h (set_block_num): Declare.
13326         * flow.c (update_life_info): Don't call compute_bb_for_insn
13327         or free_basic_block_vars.
13328         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
13329         (insn_orig_block): Remove.
13330         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
13331         (schedule_block): Keep BLOCK_NUM up-to-date.
13332         (schedule_insns): Use compute_bb_for_insn.
13333         * recog.c (split_all_insns): Likewise.
13334         (peephole2_optimize): Likewise.
13335
13336 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
13337
13338         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
13339         if the pic register is used.
13340
13341 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13342
13343         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
13344         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
13345         if that tests TREE_PERMANENT.
13346
13347 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
13348
13349         * cse.c (invalidate_for_call): Do not remove memory references from
13350         the table here.  It's handled elsewhere.
13351
13352         * haifa-sched.c (add_dependence): Protect references to the
13353         true dependency cache with #ifdef INSN_SCHEDULING.
13354         (remove_dependence): Similarly.
13355
13356         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
13357         to the cfg code that this is a return instruction.
13358         * mn10300.md (return_internal): Similarly.
13359
13360         * combine.c (get_last_value): If the last set of a register
13361         is after subst_low_cuid, then we can not use it to determine
13362         the register's last value.
13363
13364 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13365
13366         * Makefile.in: Back out previous change.
13367
13368 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
13369
13370         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
13371
13372         * haifa-sched.c (add_dependence): Only check/update the cache
13373         if it exists.
13374         (remove_dependence): Likewise.
13375         (schedule_insns): Only create the true_dependency_cache if the
13376         average number of instructions in a basic block is very large.
13377
13378 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13379
13380         * Makefile.in (ggc-common.o): Depend on genrtl.h.
13381         (ggc-simple.o): Likewise.
13382         (ggc-page.o): Likewise.
13383
13384 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
13385
13386         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
13387         Prototype for exported functions.
13388         (pre_lcm, pre_rev_lcm): Remove prototypes.
13389         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
13390         (compute_available): Move to lcm.c, and change parameter order.
13391         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
13392         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
13393         (gcse_main): No longer call compute_preds_succs.  Rebuild the
13394         set table after reach pre pass.
13395         (pre_insert_map, pre_delete_map, edge_list): New.
13396         (alloc_pre_mem): Allocate edge vectors.
13397         (free_pre_mem): Delete edge vectors.
13398         (compute_pre_data): Call new edge based lcm routines.
13399         (process_insert_insn): New function.
13400         (insert_insn_end_bb): Use it.
13401         (pre_edge_insert): New function.
13402         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
13403         needed.
13404         (pre_insert_copies): Revamp using new edge based lcm outputs.
13405         (pre_delete): Likewise.
13406         (one_pre_gcse_pass): Insert & remove fake edges to the exit
13407         block.
13408         (compute_code_hoist_vbeinout): New new edge based routines.
13409         * lcm.c: Remove all the old LCM functions.  Replace with new ones
13410         that work with the new cfg datastructures and work with edges
13411         instead of blocks.
13412
13413 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13414
13415         * reload.h (struct reload): Add new fields "mode" and "nregs".
13416         * reload1.c: Change all occurrences of reload_mode and reload_nregs
13417         to reference the "mode" and "nregs" field within struct reload.
13418
13419 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
13420
13421         * haifa-sched.c (true_dependency_cache): New.
13422         (add_dependence): Use the true dependency cache to avoid expensive
13423         walks down the LOG_LINKS dependency list.  Add entries to the
13424         cache as necessary.
13425         (remove_dependence): Remove entries from the true dependency cache
13426         as needed.
13427         (schedule_insns): Allocate and initialize and free the true
13428         dependency cache.
13429
13430         * haifa-sched.c (schedule_insns): Do not remove inter-block
13431         dependencies anymore.
13432
13433 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
13434
13435         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
13436         * i386/t-winnt: Likewise.
13437
13438 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
13439
13440         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
13441
13442 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
13443
13444         * Makefile.in (LANGUAGES): Omit "proto".
13445         (clean): Remove stale comment about removing unprotoize.c.
13446
13447 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13448
13449         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
13450         using arithmetic on void pointers.
13451
13452 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
13453
13454         * haifa-sched.c (compute_block_forward_dependencies): Only check
13455         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
13456
13457 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
13458
13459         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
13460         (expr_equiv_p): Reject memories with different alias sets.
13461
13462 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
13463
13464         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
13465         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
13466         (f_options): Add "bounded-pointers" and "bounds-check" entries.
13467         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
13468         (lang_init): Set default for flag_bounds_check if still "unspecified".
13469
13470 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13471
13472         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
13473
13474 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13475
13476         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
13477         instructions.
13478
13479 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13480
13481         * config/c4x/c4x.md (*db_noclobber,
13482         *decrement_and_branch_until_zero_noclobber): New patterns and
13483         associated splitters.
13484
13485 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13486
13487         * config/c4x/c4x.md (parallel instruction patterns): Rework
13488         constraints to keep reload happy.
13489
13490 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13491
13492         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
13493         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
13494         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
13495         Add new patterns and associated post-reload splitters.
13496
13497 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13498
13499         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
13500
13501 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13502
13503         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
13504         if appropriate.
13505         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
13506
13507 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13508
13509         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
13510         memory mode.
13511
13512 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
13513
13514         * pa.c (move_operand): Rely on memory_address_p to determine the
13515         validity of non-indexed memory addresses.
13516         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
13517         operand in DFmode and SFmode when generating PA2.0 code.
13518
13519 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
13520
13521         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
13522
13523 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
13524
13525         * mips.c (function_prologue): Fix argument types.
13526         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
13527         (casesi_internal): Write to the scratch register.
13528
13529 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
13530
13531         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
13532         to U_CHAR **.
13533         (parse_charconst): Delete unnecessary cast when calling
13534         cpp_parse_escape.
13535         (cpplib.h): Kill prototype of cpp_parse_escape.
13536
13537 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
13538
13539         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
13540         * unroll.c (unroll_loop): Cast return value of alloca.
13541         * i370/i370.c: Include function.h and toplev.h.
13542         (i370_label_scan): Remove c++ commented abort.
13543         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
13544         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
13545         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
13546         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
13547
13548 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
13549
13550         * config/t-freebsd: Do not override USER_H.
13551         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
13552
13553 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
13554                           Mumit Khan  <khan@xraylith.wisc.edu>
13555
13556         * c-parse.in (component_decl): Support anonymous struct/union.
13557         (%expect): Update.
13558         * c-parse.y: Regenerate.
13559         * c-parse.c: Likewise.
13560         * objc/objc-parse.y: Likewise.
13561         * objc/objc-parse.c: Likewise.
13562         * c-decl.c (finish_struct): Don't sort the fields.
13563         (field_decl_cmp): Delete unused function.
13564
13565 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
13566
13567         * sparc.md (movsf_const_intreg): Revert last constraint change.
13568         (movdf_const_intreg_sp32): Likewise.
13569
13570 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
13571
13572         * cse.c: Include hashtab.h instead of splay-tree.h
13573         (struct cse_reg_info): No longer use variant union.  Add new
13574         field "regno".  All references changed to avoid union.
13575         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
13576         (free_cse_reg_info): Remove.
13577         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
13578         (get_cse_reg_info): Revamp to use expandable hash tables instead
13579         of splay trees.  Initialize new fields in cse_reg_info structure.
13580         (new_basic_block): Similarly.
13581
13582 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
13583
13584         * genrecog.c (message_with_line): Prototype.
13585         (validate_pattern): Pass along the set for the dest, not a flag.
13586         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
13587         Check for PC/CC0 as sources.
13588         (nodes_identical): Check for children position match before
13589         allowing the combination.
13590
13591         * rtl.c (read_rtx): Track line number across \\\n.
13592
13593 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
13594
13595         * mips.h (SPECIAL_MODE_PREDICATES): New.
13596         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
13597         (movdi+1, movsi+1): Add output reload constraint.
13598         (casesi_internal): Likewise.  Fix commentary.
13599         (return_internal): Use pmode_register_operand.
13600
13601 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
13602
13603         * 1750a.md (movstrqi): Add missing output reload constraint.
13604         (call_value): Likewise.
13605         * a29k.md (cpxxx patterns): Add missing match_operator mode.
13606         (jmpfdec): Add missing inout reload constraint.
13607         * elxsi.md (addsi patterns): Add missing output reload constraint.
13608         (move from sp): Use @ alternates.
13609         (call_value): No constraint on output.
13610         * fr30.md (movsi_pop): Add missing output reload constraint.
13611         (movsf_constant_store): Likewise.
13612         (splits): Remove constraints.
13613         (subsi3): Add missing mode.
13614         * i370.md (cmpstrsi+1): Add missing output reload constraint.
13615         (call_value): Likewise.
13616         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
13617         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
13618         * m32r.md (movsicc_internal): Add output reload constraint.
13619         (movstrsi_internal): Add inout reload constraints.
13620         * m88k.h (reg_names): Don't declare.
13621         (SPECIAL_MODE_PREDICATES): New.
13622         * m88k.md (*): Use register_operand not reg_or_0_operand
13623         on destinations.
13624         * mn10200.h (PREDICATE_CODES): New.
13625         * ns32k.md (ffs pattern): Add output reload constraint.
13626         * pdp11.md (sob pattern): Add inout reload constraint.
13627         * sh.md (splits): Remove constraints.
13628         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
13629         * v850.md (pattern_is_ok_for_epilogue): Likewise.
13630         * vax.md (jgequ pattern): Add inout reload constraint.
13631
13632 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
13633
13634         * configure.in (djgpp): Revert previous patch.
13635         * configure: Rebuit.
13636         * config/i386/djgpp.h: Revert previous patch.
13637
13638 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
13639
13640         * fixinc/inclhack.def: Restore patch lost during last merge of
13641         "no_bogosity" branch.
13642         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
13643
13644 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13645
13646         * fixincludes: Add a HPUX 11 fix for inttypes.h.
13647         * fixinc/inclhack.def: Same.
13648         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
13649
13650 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
13651
13652         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
13653         as the base of a PLUS.
13654
13655 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13656
13657         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
13658         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
13659
13660 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
13661
13662         * pa.md (post_stw+1): Use pmode_register_operand.
13663         (dcacheflush, icacheflush): Likewise.
13664
13665         * i386.md (movstricthi_1): Allow r/r.
13666
13667 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
13668
13669         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
13670         to (not (and (arg0) (arg1))). Similary for and.
13671
13672         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
13673         fallthrough to associate code.
13674         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
13675         bits in common.
13676
13677         * combine.c (simplify_logical): Convert XOR to IOR if operands have
13678         no bits in common; remove XOR to ROTATE conversion.
13679
13680 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13681
13682         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
13683
13684 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13685
13686         * config/c4x/c4x.c (dst_operand): New.
13687         (PREDICATE_CODES): Update.
13688         * config/c4x/c4x.h (dst_operand): Declare it.
13689         * config/c4x/c4x.md:  Define mode for each unspec usage.
13690         (move patterns):  Use dst_operand predicate instead of src_operand.
13691         (movqi_update, movqf_update): Delete.
13692
13693 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
13694
13695         * recog.c (pmode_register_operand): New.
13696         * recog.h: Declare it.
13697         * genrecog.c (pred_codes): Likewise.
13698         (special_mode_pred_table): Likewise.
13699         (validate_pattern): Don't warn no mode for address_operand.
13700
13701         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
13702         if the operand is not insn-like.
13703
13704 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
13705                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
13706
13707         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
13708
13709 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
13710
13711         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
13712         instead of general_operand in a SET_DEST.  Use const_double_operand
13713         instead of an explicit test against CONST_DOUBLE.
13714         (movsf_const_lo): Add missing register mode.
13715         (goto_handler_and_restore): Add auxiliary test for Pmode.
13716         (flush): Adjust to use address_operand.
13717         (return_sf_no_fpu): Add missing output constraint.
13718
13719 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
13720
13721         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
13722         for call return value.
13723         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
13724
13725 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
13726
13727         * toplev.c (main): Only warn about options for other languages.
13728         * collect2.c (main): Pass -w to sub-gcc.
13729
13730 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
13731
13732         * flow.c (propagate_block): Add call-clobbered registers to
13733         significant too.
13734
13735         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
13736         zapping mem_set_list.
13737         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
13738         (mark_set_1, mark_used_regs): Likewise.
13739
13740 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
13741
13742         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
13743
13744 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13745
13746         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
13747         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
13748         options. Also add a new item "C-only Warning Options" to the
13749         option summary.
13750
13751 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
13752
13753         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
13754         from multiple calls.
13755
13756 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
13757
13758         * i386.md (call value patterns): Move to the end of the file.
13759         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
13760
13761 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
13762
13763         * configure.in (djgpp configuration): Define extra_objects..
13764         * configure: Rebuilt.
13765         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
13766         (DTORS_SECTION_ASM_OP): Define.
13767         (INIT_SECTION_ASM_OP): Define.
13768         (FINI_SECTION_ASM_OP): Define.
13769         (DATA_SECTION_ASM_OP): Define.
13770         (TEXT_SECTION_ASM_OP): Define.
13771         (EH_FRAME_SECTION_ASM_OP): Define.
13772         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
13773         (STARTFILE_SPEC): Add crtbegin.o.
13774         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
13775         to here from LINK_COMMAND_SPEC.
13776         (DO_GLOBAL_CTORS_BODY): Define.
13777         (CRTSTUFF_USE_FINI_SECTION): Define
13778         (HAS_INIT_SECTION): Delete.
13779
13780 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
13781
13782         * Makefile.in (all.cross): Depend on xcpp$(exeext).
13783
13784 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
13785
13786         * pa.h (PREDICATE_CODES): New.
13787
13788         * genrecog.c (validate_pattern): Condense the destination
13789         non-lvalue message.
13790
13791 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
13792
13793         * alpha.md (call-1): Supply missing mode for operator.
13794         (*): Add missing output reload constraints.  Remove constraints
13795         from define_splits.
13796
13797         * i386.h (SPECIAL_MODE_PREDICATES): New.
13798         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
13799         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
13800         (addsi_lea_3): Add missing mode for op 3.
13801         (prologue_set_got, prologue_get_pc): Add missing modes.
13802         (*) Add missing output reload constraints.
13803
13804 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
13805
13806         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
13807         check for member bit-size overflow and use var_size if it occurs.
13808         (layout_record): Use bitsize_int() to define the type size in bits.
13809         Likewise for computation and assignment to DECL_FIELD_BITPOS.
13810         (layout_decl): Likewise when assigning to DECL_SIZE.
13811
13812 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
13813
13814         * genrecog.c (validate_pattern): Typo last change.  Verify
13815         that output operands have output reloads.
13816
13817 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
13818
13819         * genrecog.c (special_mode_pred_table): New.
13820         (NUM_SPECIAL_MODE_PREDS): New.
13821         (find_operand): New.
13822         (validate_pattern): New argument `insn'.  Warn for assignment to
13823         any predicate accepting non-lvalues.  Conditionaly warn for
13824         match_operand without a mode.  Try much harder to match source
13825         and destination modes on a set.
13826         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
13827
13828 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
13829
13830         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
13831
13832 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
13833
13834         * combine.c (simplify_logical): Recognize xor pattern that encodes
13835         rotation.
13836
13837 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13838
13839         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
13840         alignment.
13841
13842 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
13843
13844         * ggc-page.c (MAP_FAILED): Provide default.
13845
13846 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
13847
13848         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
13849         * sparc.h (PREDICATE_CODES): Update.
13850
13851 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
13852
13853         * alpha.c (some_ni_operand): New.
13854         * alpha-protos.h: Declare it.
13855         * alpha.h (PREDICATE_CODES): Update.
13856         * alpha.md (sXaddq reload insns): Use some_ni_operand
13857         for SET_DEST instead of some_operand.
13858
13859 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
13860                           Jim Wilson  <wilson@cygnus.com>
13861
13862         * genrecog.c (maybe_both_true_2): Don't compare modes of
13863         two DT_pred tests.
13864         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
13865         after find_afterward.
13866         (debug_decision_1): Dump next and afterward codes.
13867
13868 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
13869
13870         * rtl.c (dump_and_abort): Remove.
13871         (fatal_with_file_and_line): New.
13872         (fatal_expected_char): New.
13873         (read_rtx_lineno, read_rtx_filename): New.
13874         (read_skip_spaces): Track line number.
13875         (read_name): Use fatal_with_file_and_line.
13876         (read_rtx): Use fatal_expected_char.  Track line number.
13877         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
13878
13879         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
13880         if it isn't a CODE_LABEL.
13881
13882         * genattr.c (main): Set read_rtx_filename.
13883         * genattrtab.c (main): Likewise.
13884         * gencodes.c (main): Likewise.
13885         * genconfig.c (main): Likewise.
13886         * genemit.c (main): Likewise.
13887         * genextract.c (main): Likewise.
13888         * genflags.c (main): Likewise.
13889         * genopinit.c (main): Likewise.
13890         * genoutput.c (main): Likewise.
13891         * genpeep.c (main): Likewise.
13892
13893         * genrecog.c (decision_test.u.insn): Add `lineno'.
13894         (pattern_lineno, error_count): New variables.
13895         (message_with_line): New.
13896         (add_to_sequence): Break out checking code to ...
13897         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
13898         (merge_insn): Use message_with_line.
13899         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
13900         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
13901
13902 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13903
13904         * expr.c (store_constructor): Clear union if constructor is empty.
13905
13906 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
13907
13908         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
13909         Add !endian checks.  Change %{...} to %(...).
13910
13911 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
13912
13913         * i386.md (*addsi3_cc): Renamed from addcsi3.
13914         (*addsi3_carry): Renamed from addxsi3.
13915         (*subsi3_cc): Renamed from subcsi3.
13916         (*subsi3_carry): Renamed from subxsi3.
13917         (*xorqi_cc_1): Renamed from xorcqi_1.
13918         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
13919         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
13920
13921 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
13922
13923         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
13924         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
13925
13926 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
13927
13928         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
13929         climb up the chain of insns.
13930
13931 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
13932
13933         * genrecog.c (write_subroutine): Careful for null trees.
13934         (process_tree): Don't elide empty functions.
13935
13936 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
13937
13938         * Makefile.in (genrtl.o): Depend on ggc.h.
13939         * configure.in (valloc): Probe for it.
13940         (with-gc): Use ggc-page if valloc present.
13941         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
13942         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
13943         (ggc_alloc_string): Moved from ggc-page.c.
13944         * ggc-none.c (ggc_alloc_obj): New.
13945         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
13946         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
13947         (struct globals): Likewise for dev_zero_fd.
13948         (init_ggc): Likewise for it's initialization.
13949         (ggc_allocated_p): Move careful dereference from ...
13950         (ggc_lookup_page_table): ... here.  Delete.
13951         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
13952         (alloc_anon): Use valloc if no mmap.
13953         (release_pages): Use free if using valloc.
13954         (ggc_alloc_obj): Renamed from alloc_obj.
13955         (ggc_set_mark): Renamed from mark_obj.
13956         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
13957         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
13958         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
13959         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
13960         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
13961         (ggc_collect): Use fp printing instead of our own rounding.
13962         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
13963         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
13964         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
13965         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
13966         (struct ggc_string, struct ggc_any): Delete.
13967         (offsetof): Provide default definition.
13968         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
13969         (PTR_KEY): New.
13970         (struct ggc_mem): New, from corpse of ggc_any.
13971         (struct ggc_status): Delete.
13972         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
13973         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
13974         (n_strings_collected, n_anys_collected): Delete.
13975         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
13976         (ggc_alloc_string, ggc_alloc): Delete.
13977         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
13978         (ggc_free_string, ggc_free_any): Delete.
13979         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
13980         (ggc_compare_addresses, ggc_mark_string): Delete.
13981         (ggc_mark_string_if_gcable, ggc_mark): Delete.
13982         (search_data): Delete.
13983         (struct globals): New.
13984         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
13985         (tree_insert, tree_lookup): New.
13986         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
13987         (clear_marks, sweep_objs): New.
13988         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
13989         (init_ggc): Set allocated_last_gc.
13990         (ggc_push_context): Gut.  Use G.context.
13991         (ggc_pop_context): Likewise.
13992         (ggc_pop_context_1): New.
13993         (debug_ggc_tree): New.
13994         (debug_ggc_balance, tally_leaves): New.
13995         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
13996         (ggc_mark_string_if_gcable): Remove decl.
13997         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
13998         (ggc_mark_rtvec_children): New.
13999         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
14000         (ggc_mark_if_gcable): New decl.
14001         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
14002         (ggc_alloc_tree, ggc_alloc): Likewise.
14003         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
14004         (ggc_alloc_obj): New decl.
14005         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
14006         (ggc_alloc_tree, ggc_alloc): Likewise.
14007         (ggc_set_mark): New decl.
14008         * rtl.h (struct rtx_def): Remove gc_mark.
14009         (struct rtvec_def): Likewise.
14010         * tree.h (struct tree_common): Likewise.
14011
14012 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
14013
14014         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
14015         float_format and thread_file definitions.
14016         * configure: Rebuilt.
14017
14018 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
14019
14020         * extend.texi (Function Names): Document types of function names.
14021
14022 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14023
14024         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
14025         an earlyclobbered output conflict with RELOAD_INPUT reloads.
14026
14027 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14028
14029         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
14030
14031 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14032
14033         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
14034
14035 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
14036
14037         * collect2.c (main): Do prelimnary link on AIX if rflag.
14038
14039 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14040
14041         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
14042         __CTOR_LIST__ in opposite order, which is the correct order for sorted
14043         constructors.
14044         (__do_global_dtors): similarly for __DTOR_LIST__.
14045
14046 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14047                                 Diego Novillo <dnovillo@cygnus.com>
14048
14049         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
14050         FPUL_REGS.
14051
14052 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
14053
14054         * fixincl/*: Merged "no_bogosity" branch
14055         * fixincl/fixlib.h: protect against doubly defining t_bool
14056         * fixincl/server.h: protect against doubly defining t_bool
14057
14058 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
14059
14060         * genoutput.c: Include toplev.h.
14061
14062 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
14063
14064         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
14065         Undef.
14066         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
14067         * configure: Regenerate.
14068
14069 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
14070
14071         * gcse.c (delete_null_pointer_checks): Returns void.
14072
14073 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14074
14075         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
14076         * emit-rtl.c (copy_insn_1): Likewise.
14077
14078 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
14079
14080         * config/mips/mips.c (mips_build_va_list): Correct
14081         TREE_CHAIN setting when hard-float.
14082         (mips_va_start): Use corrected setting.
14083         (mips_va_arg): Likewise.  Also pass a tree to build of
14084         POSTINCREMENT_EXPR rather than a naked 'int'.
14085
14086 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
14087
14088         * ggc.h (ggc_push_context): Fix comment.
14089         (ggc_pop_context): Likewise.
14090         (mark_string_if_gcable): Likewise.
14091         * ggc-common.c (ggc_mark_rtx_children): Use
14092         ggc_mark_string_if_gcable.
14093         * ggc-page.c (ggc_lookup_page_table): New function.
14094         (ggc_allocated_p): Likewise.
14095         (mark_obj): Fix formatting.
14096         (ggc_mark_string_if_gcable): New function.
14097         * ggc-simple.c (ggc_allocated_strings): New variable.
14098         (ggc_strings_used): Likewise.
14099         (ggc_compare_addresses): New function.
14100         (ggc_pop_context): Pop the `any' memory too.
14101         (ggc_mark_string_if_gcable): New function.
14102         (ggc_collect): Initialize and tear down ggc_allocated_strings.
14103
14104 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
14105
14106         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
14107         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
14108         * rs6000.c (expand_block_move): Match movstrsi_?reg register
14109         changes.
14110
14111 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
14112
14113         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
14114         (sched_reg_live_length, sched_reg_basic_block): Delete.
14115         (current_block_num, bb_live_regs, old_live_regs): Delete.
14116         (dead_notes, struct sometimes): Delete.
14117         (sched_note_set, birthing_insn_p): Delete.
14118         (adjust_priority): Gut useless reg lifetime code.
14119         (create_reg_dead_note, attach_deaths): Delete.
14120         (attach_deaths_insn, new_sometimes_live): Delete.
14121         (finish_sometimes_live): Delete.
14122         (find_pre_sched_live, find_post_sched_live): Delete.
14123         (update_reg_usage): Delete.
14124         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
14125         (schedule_insns): Delete reg lifetime code.
14126         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
14127         (unlink_other_notes): Adjust REG_NOTE commentary.
14128         (reemit_notes): Use REG_SAVE_NOTE.
14129         (schedule_block): Likewise.
14130         (schedule_region): Allocate bitmap of blocks in region.  Use
14131         count_or_remove_death_notes.  Use update_life_info.
14132
14133         * rtl.h (REG_SAVE_NOTE): New.
14134         * rtl.c (reg_note_name): Update.
14135
14136 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
14137
14138         * combine.c (refresh_blocks, need_refresh): New.
14139         (combine_instructions): Allocate refresh_blocks.  Invoke
14140         update_life_info if needed.
14141         (distribute_notes): Mark refresh_blocks instead of installing
14142         USE insns.
14143         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
14144         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
14145
14146         * Makefile.in (recog.o): Depend on basic-block.h.
14147
14148 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
14149
14150         * genrecog.c (add_to_sequence): Thinko last change: delete
14151         shadowing allow_const_int variable.
14152
14153 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14154
14155         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
14156         __GNUC__ and __GNUC_MINOR__.
14157
14158         * gansidecl.h: Likewise.
14159
14160         * rtl.c: Likewise.
14161
14162         * rtl.h: Likewise.
14163
14164         * toplev.h: Likewise.
14165
14166         * tree.c: Likewise.
14167
14168         * tree.h: Likewise.
14169
14170         * varray.c: Likewise.
14171
14172         * varray.h: Likewise.
14173
14174 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14175
14176         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
14177         use one before a jump table.
14178
14179         * rtl.def (ADDRESS): Change documentation to match reality.
14180         * md.texi: Don't document it.
14181         * gmicro.md (load address pattern): Use 'p' constraint, delete use
14182         of ADDRESS rtx.
14183
14184         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
14185
14186 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
14187
14188         * genrecog.c (add_to_sequence): Move allow_const_int test outside
14189         known predicate block; default allow_const_int true.
14190         (debug_decision_list): New.
14191
14192 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
14193
14194         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
14195
14196 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
14197
14198         * gcse.c (gcse_main): Avoid global optimizations if we have a
14199         large number of basic blocks and the ratio of edges to blocks
14200         is high.
14201         (delete_null_pointer_checks): Likewise.
14202
14203 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
14204
14205         * c-common.c (check_format_info): Warn if format string isn't a
14206         string literal.
14207
14208 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14209
14210         * configure.in (arm*-*-*): Don't let autoconf remove brackets
14211         * configure: regenerate
14212
14213 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
14214
14215         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
14216         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
14217         (peepholes): Re-enable.
14218
14219 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
14220
14221         * Makefile.in (flow.o): Depend on TREE_H.
14222         * basic-block.h (REG_SET_EQUAL_P): New.
14223         (XOR_REG_SET): New.
14224         (n_edges): Declare.
14225         (free_regset_vector): Remove declaration.
14226         (flow_delete_insn_chain): Declare.
14227         (enum update_life_extent): New.
14228         (update_life_info, count_or_remove_death_notes): Declare.
14229         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
14230         Verify register live at bb->global_live_at_start before adding USE.
14231         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
14232         (CLEAN_ALLOCA): New.
14233         (n_edges): New.
14234         (PROP_*): New flags.
14235         (find_basic_blocks_1): Use alloc_EXPR_LIST.
14236         (clear_edges): Zero n_edges.
14237         (make_edge): Increment n_edges.
14238         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
14239         (flow_delete_insn_chain): Export.
14240         (delete_block): Decrement n_edges.
14241         (merge_blocks_nomove): Likewise.
14242         (life_analysis): Give life_analysis_1 PROP flags.
14243         (verify_wide_reg_1, verify_wide_reg): New.
14244         (verify_local_live_at_start): New.
14245         (update_life_info): Rewrite to call into propogate_block.
14246         (mark_reg): New.
14247         (mark_regs_live_at_end): After reload, if epilogue as rtl,
14248         always mark stack pointer.  Conditionally mark PIC register.
14249         After reload, mark call-saved registers, return regsiters.
14250         (life_analysis_1): Accept PROP flags not remove_dead_code.
14251         Call mark_regs_live_at_end before zeroing regs_ever_live.
14252         Use calculate_global_regs_live.  Copy global_live_at_end before
14253         calling final propagate_block.  Zero reg_next_use on exit.
14254         (calculate_global_regs_live): New.
14255         (allocate_bb_life_data): Don't allocate bb->local_set.
14256         (init_regset_vector, free_regset_vector): Remove.
14257         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
14258         Test flags before every operation.  Warn if prologue/epilogue insn
14259         would have been deleted.
14260         (mark_set_regs, mark_set_1): Accept and use FLAGS.
14261         Use alloc_EXPR_LIST.
14262         (mark_used_regs): Accept and use FLAGS, not FINAL.
14263         Remove special handling for RETURN.
14264         (try_pre_increment): Use alloc_EXPR_LIST.
14265         (dump_flow_info): Dump n_edges.
14266         (unlink_insn_chain, split_hard_reg_notes): Remove.
14267         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
14268         (find_insn_with_note, new_insn_dead_notes): Remove.
14269         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
14270         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
14271         (replace_insns): Remove.
14272         (count_or_remove_death_notes): New.
14273         (verify_flow_info): Abort on error after all checks.
14274         (remove_edge): Decrement n_edges.
14275         (remove_fake_edges): Tweek format.
14276         * haifa-sched.c (schedule_insns): Use split_all_insns.
14277         * output.h (update_life_info): Remove declaration.
14278         * recog.c (split_all_insns): From the corpse of split_block_insns,
14279         do the whole function block by block.  Use update_life_info.
14280         (recog_last_allowed_insn): New.
14281         (recog_next_insn): Mind it.
14282         (peephole2_optimize): Set it.  Walk backwards through blocks.
14283         Use update_life_info.
14284         * rtl.h (update_flow_info, replace_insns): Remove declarations.
14285         (split_all_insns): Declare.
14286         * toplev.c (rest_of_compilation): Thread prologue before flow2.
14287         Use split_all_insns.
14288
14289         * i386.md (or -1 peep2s): Disable.
14290
14291 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
14292
14293         * config/mips/mips.md (movstrsi+[123]) : Combine these into
14294         a single pattern.  Scrap the 'd' versions as unnecessary.
14295
14296         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
14297         tablejump_mips162,tablejump_internal4): The operands to a
14298         label_ref must be VOIDmode.
14299
14300 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14301
14302         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
14303
14304 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14305
14306         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
14307
14308 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14309
14310         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
14311         cache every function if ggc_p.
14312
14313 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14314
14315         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
14316         instead of copy_rtx.  Accept sequences that contain asm statements.
14317         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
14318         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
14319         orig_asm_operands_vector, copy_asm_operands_vector,
14320         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
14321         variables.
14322         * rtl.h (copy_insn, copy_insn_1): Declare.
14323
14324 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14325
14326         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
14327
14328         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
14329         arguments to `current_file_function_operand'.
14330
14331         * genrecog.c: Include hard-reg-set.h and resource.h in the
14332         generated output file.
14333
14334         * real.c: Include tm_p.h.
14335
14336 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14337
14338         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
14339         output operand.
14340
14341 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
14342
14343         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
14344         before the fctiwz insn.
14345
14346 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14347                           Mark Mitchell  <mark@codesourcery.com>
14348
14349         * tree.c (make_lang_type_fn): New funtion pointer.
14350         (make_lang_type): Call it.
14351         * tree.h (make_lang_type): Declare.
14352         (make_lang_type_fn): Likewise.
14353         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
14354
14355 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
14356
14357         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
14358         make sure that HIGH instructions are copied into BASE_REGS.
14359
14360 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
14361
14362         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
14363
14364 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
14365
14366         * c-decl.c (finish_struct): Use simpler method of
14367         removing elements of a singly-linked list.
14368
14369 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
14370
14371         * alpha.md (peephole2's): Comment out peephole2's that generate
14372         buggy code.
14373
14374 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
14375
14376         * genrecog.c (add_to_sequence): Disable mode check for
14377         wildcard matches.
14378
14379 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14380
14381         * ggc-simple.c (init_ggc): Set empty_string.
14382
14383 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
14384
14385         * configure.in: Detect mmap.  Add --with-gc=foo to select
14386         garbage collector; default to page if mmap available.
14387         * Makefile.in (GGC): Substitute.
14388
14389 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
14390
14391         * c-decl.c (ggc_p): Enable.
14392
14393 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14394
14395         * flow.c (verify_flow_info): Make it extern & unconditionally define.
14396
14397 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
14398
14399         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
14400         string for little-endian-data.
14401
14402 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
14403
14404         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
14405         case somebody tries to compile --enable-checking code with gcc
14406         1.34 or such.
14407
14408 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
14409
14410         * genrecog.c (add_to_sequence): Verify operand to label_ref is
14411         VOIDmode.
14412
14413 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
14414
14415         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
14416         * jump.c (jump_optimize_1): Document why.
14417
14418 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14419
14420         * collect2.c (scan_prog_file, scan_libraries): Prototype function
14421         pointers and casts for `int_handler' and `quit_handler'.
14422
14423         * flow.c (verify_flow_info, split_hard_reg_notes,
14424         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
14425         remove_edge, remove_fake_successors): Add static prototypes.
14426         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
14427         (mark_set_1): Initialize variable `regno'.
14428         (unlink_insn_chain): Likewise for variable `curr'.
14429         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
14430
14431         * loop.c (strength_reduce): Initialize variable
14432         `unrolled_insn_copies'.
14433         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
14434         prototypes.  Change these functions to take const PTR parameters
14435         to avoid prototype conflict when used as the comparson argument
14436         for qsort.
14437         (check_dbra_loop): Initialize variable `comparison_val'.
14438
14439         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
14440         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
14441         (find_valid_class): Initialize variable `best_class'.
14442         (find_reloads): Call memcpy, not bcopy.
14443
14444         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
14445         (hard_reg_use_compare): Don't needlessly cast away const.
14446         (reload_reg_class_lower): Likewise.
14447         (choose_reload_regs): Initialize variable `regno'.
14448
14449 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
14450
14451         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
14452
14453 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
14454
14455         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
14456         ({,d}discard): Add forward declarations.  Declare parameter as
14457         unused.
14458         (main_without_main): Explicitly declare return type to be int.
14459         (memcpy): Properly declare.
14460
14461         * libgcc2.c (toplevel): If inhibit_libc is defined and not
14462         building the trampoline support, declare malloc, free, and
14463         atexit.
14464         (__clear_cache): Mark arguments as potentially unused.
14465
14466         * frame.c (toplevel): If inhibit_libc is defined, declare
14467         malloc and free.
14468
14469 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
14470
14471         * flow.c (make_edge): Accept an optional 2D bitmap in which
14472         to cache edge existence.  Update all callers.
14473         (make_label_edge, make_eh_edge): Pass through the edge cache.
14474         (make_edges): Provide the cache.
14475
14476 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14477
14478         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
14479         a char*.
14480         (local_mbtowc): Change the type of variable `i' from int to size_t.
14481
14482         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
14483         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
14484
14485 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
14486
14487         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
14488         after other includes that define the appropriate types.  Include
14489         tm_p.h for getting user prototypes.
14490         * ggc-callbacks.c (toplevel): Ditto.
14491         * ggc-none.c (toplevel): Ditto.
14492         * gcc-page.c (toplevel): Ditto.
14493         * ggc-simple.c (toplevel): Ditto.
14494
14495 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
14496                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
14497
14498         * config/mips/mips.c (mips_move_2words): Split doubles if
14499         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
14500
14501 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
14502
14503         * genrecog.c (struct decision_test): New.
14504         (struct decision): Remove test-related members, sort the rest by size.
14505         (IS_SPLIT): Simplify.
14506         (new_decision, new_decision_test): New.
14507         (add_to_sequence): Use them.  No special handling for args of
14508         non-MATCH codes.
14509         (maybe_both_true): Renamed from not_both_true; return sense changed.
14510         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
14511         of maybe_both_true and adjusted for decision_test.
14512         (position_merit): Remove.
14513         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
14514         (merge_accept_insn): New, broken out of merge_trees.
14515         (merge_trees): Use them.  No special case for c_test; no node
14516         splitting; use test type instead of position_merit.
14517         (factor_tests): New.
14518         (simplify_tests): New.
14519         (break_out_subroutines): Don't write code now.
14520         (find_afterward): New.
14521         (write_afterward, write_switch, write_cond): New.
14522         (write_action, is_unconditional): New.
14523         (write_node): New.  Use them.
14524         (write_tree_1): Rewrite.  Use the new functions above.
14525         (write_tree): Remove afterward processing.
14526         (write_subroutine): Simplify function variant emission.
14527         (write_subroutines): New.
14528         (same_codes, clear_codes): Remove.
14529         (same_modes, clear_modes): Remove.
14530         (write_header): New, broken out of main.
14531         (make_insn_sequence): Use new_decision and new_decision_test.
14532         (process_tree): New, broken out of main.
14533         (main): Adjust for merge_trees interface change.
14534         Don't #define operands in the output file.
14535         (record_insn_name): New, broken out of make_insn_sequence.
14536         (debug_decision_2, debug_decision_1, debug_decision_0): New.
14537         (debug_decision): New.
14538
14539 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
14540
14541         * resource.c (find_free_register): Mark class_str argument const.
14542         * resource.h: Update prototype to match.
14543
14544         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
14545         * i386.md: Give all anonymous insns names.
14546
14547 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
14548
14549         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
14550         blocks.
14551
14552 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
14553
14554         * toplev.c (dbr_sched_time): Unconditional.
14555         (peephole2_time): New.
14556         (compile_file): Add pass numbers to all of the dump file suffixes.
14557         Dump peephole2_time.  Don't dump times for non-applicable passes.
14558         (rest_of_compilation): Add pass numbers to dump file suffixes.
14559         Conditionalize calls to the scheduler.
14560         * invoke.texi: Update.
14561
14562 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
14563
14564         * flow.c (make_edges): Fix insn iteration.
14565         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
14566         (find_basic_blocks_1): Fix spelling mistake.
14567
14568 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
14569
14570         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
14571         always have side-effects.  Use memset not bzero.
14572         (make_node): Likewise.
14573
14574 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
14575
14576         * stmt.c (expand_anon_union_decl): When any of the elements of the
14577         union is addressable, so is the entire union.
14578
14579 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
14580
14581         * sbitmap.c (sbitmap_ones): Don't set too many bits.
14582
14583         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
14584         * bitmap.c (bitmap_operation): Return true iff TO changed.
14585         (bitmap_equal_p): New.
14586         (bitmap_bit_p): Tidy arithmetic.
14587         (debug_bitmap_file): Likewise.
14588
14589 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
14590
14591         * toplev.c (rest_of_compilation): Turn on cse_not_expected
14592         before cse2 instead of after.
14593
14594 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
14595
14596         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
14597         register offsets.
14598
14599 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14600
14601         * cppinit.c (is_idchar initializer): Loosen tests to accept
14602         gcc 2.>6 and >2.
14603
14604 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
14605
14606         * mips.md: Define conditional move patterns for floating point
14607         operands and DI mode conditions.
14608
14609 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
14610
14611         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
14612         always have side-effects.
14613
14614 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
14615
14616         * mn10200.c (asm_file_start): Fix typo.
14617
14618         * cppinit.c (is_idchar initializer): Tighten tests for when
14619         to put the table into initialized memory.
14620
14621         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
14622         not an array of rtunion.
14623         * gcc-page.c (ggc_alloc_rtvec): Similarly.
14624         * gcc-simple (ggc_free_rtvec): Similarly.
14625
14626         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
14627         of rtunions.
14628
14629         * mbchar.h: Add missing #endif.
14630
14631         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
14632         (FPBIT, DPBIT): Define.
14633
14634 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14635
14636         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
14637
14638         * profile.c (instrument_arcs, output_gcov_string,
14639         tablejump_entry_p): Add static prototypes.
14640         (output_gcov_string): Constify a char*.
14641
14642         * regmove.c (replacement_quality, fixup_match_2): Add static
14643         prototypes.
14644
14645         * resource.h (reg_dead_p): Add extern prototype.
14646
14647         * rtl.c (trim_filename): Add static prototype.
14648
14649         * scan-decls.c (skip_to_closing_brace): Likewise.
14650
14651         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
14652         (expand_end_case): Initialize variable `range'.
14653         (emit_case_nodes): Remove unused prototype `rtx_fn'.
14654
14655         * varasm.c (asm_emit_uninitialised): Add static prototype.
14656         (asm_emit_uninitialised, assemble_variable): Mark parameter with
14657         ATTRIBUTE_UNUSED.
14658
14659 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14660
14661         * cpplib.c (if_directive_nameo): Add static prototype.
14662
14663         * cse.c (cse_insn): Remove unused variable `p'.
14664
14665         * except.c (create_rethrow_ref, push_entry,
14666         receive_exception_label, new_eh_region_entry, find_func_region,
14667         clear_function_eh_region, process_nestinfo): Add static prototypes.
14668         (get_reg_for_handler): Hide definition.
14669         (process_nestinfo): Initialize variable `extra_handlers'.
14670
14671         * expr.h (expand_builtin_longjmp): Add extern prototype.
14672
14673         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
14674
14675         * function.c (prepare_function_start): Likewise.
14676         (pop_function_context_from): Mark parameter `context' with
14677         ATTRIBUTE_UNUSED.
14678         (push_temp_slots_for_block, flush_addressof): Hide definition.
14679
14680         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
14681         solve_program_flow_graph, calculate_branch_probs,
14682         function_summary, main, fancy_abort): Add prototypes.
14683
14684         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
14685         (add_hash): Constify a char*.
14686
14687         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
14688         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
14689         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
14690
14691         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
14692
14693         * lists.c (free_list, zap_lists): Likewise.
14694
14695 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14696
14697         * alias.c (nonlocal_reference_p): Add static prototype.
14698
14699         * bitmap.c (bitmap_element_allocate): Prototype args in function
14700         pointer cast.
14701
14702         * builtins.c (stabilize_va_list): Add static prototype.
14703         (expand_builtin_va_arg): Constify a char*.
14704
14705         * c-lex.c (getch, put_back, extend_token_buffer_to,
14706         read_line_number, token_getch, token_put_back): Add static
14707         prototypes.
14708
14709         * c-parse.gperf (hash, is_reserved_word): Likewise.
14710
14711         * cccp.c (is_dir_separator): Likewise.
14712
14713 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14714
14715         * graph.h: New file to prototype functions exported by graph.c.
14716
14717         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
14718
14719         * graph.c: Include graph.h.
14720
14721         * toplev.c: Likewise.  Remove redundant prototypes.
14722
14723 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
14724
14725         * invoke.texi: Removed duplicated description for -Q.
14726
14727 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
14728
14729         * extend.texi: Grammar fix in __extension__ text.
14730
14731 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
14732
14733         * md.texi (define_peephole2): New section.
14734
14735 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
14736
14737         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
14738         (mov $-1 to or peepholer): Enable for pentium when optimizing for
14739         speed.
14740
14741 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
14742
14743         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
14744
14745 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
14746
14747         * i386.md (ffs expander): Emit Pentium friendly code for
14748         TARGET_PENTIUM.
14749
14750 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
14751
14752         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
14753         for non-trees.
14754         (build1): Likewise.
14755
14756 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14757
14758         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
14759
14760 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
14761
14762         * config/m68k/m68k.c (use_return_insn): Return false if the pic
14763         register is in use.
14764
14765 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14766
14767         * md.texi (No Constraints): Delete section.
14768         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
14769         * final.c (final_scan_insn): We always have register constraints.
14770         * genattrtab.c: Don't include "insn-config.h".
14771         (write_attr_case): We always have register constraints.
14772         * genconfig.c (register_constraint_flag): Delete.
14773         (walk_insn_part): Don't check whether we have register constraints.
14774         (main): Don't write out "#define REGISTER_CONSTRAINTS".
14775         * genoutput.c (have_constraints): Delete.
14776         (main): Don't set it.
14777         (output_operand_data): We always have constraints.
14778         (scan_operands): Likewise.
14779         (compare_operands): Likewise.
14780         * local-alloc.c (block_alloc): We always have constraints.
14781         (requires_inout): Always compile this function.
14782         * recog.c (extract_insn): We always have constraints.
14783         (constrain_operands, reg_fits_class_p): Always compile these
14784         functions.
14785         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
14786         fields.
14787         (struct insn_operand_data): Likewise.
14788         * regclass.c (regclass): We always have constraints.
14789         (record_reg_classes, copy_cost, record_address_regs,
14790         auto_inc_dec_reg_p): Always compile these functions.
14791         * regmove.c (regmove_optimize): We always have constraints.
14792         * reload.c (find_reloads): Likewise.
14793         * reload1.c (reload): Likewise.
14794         (reload_cse_simplify_operands): Likewise.
14795         * i860.c (output_delay_insn): Likewise.
14796
14797 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
14798
14799         * iris6.h (BUILD_VA_LIST_TYPE): Define.
14800
14801 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14802
14803         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
14804         for the va_list record.
14805
14806 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
14807
14808         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
14809         prologues.
14810
14811 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
14812
14813         * alias.c: Include insn-flags.h.
14814         * Makefile.in (alias.o): Update.
14815
14816 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
14817
14818         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
14819         to LTU and GEU.  Handle more cases using sbb.
14820
14821 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
14822
14823         * i386.md (truncatexfdf splitters): Do not use subreg.
14824         (fop XFmode patterns): Fix mode in operand testing.
14825
14826 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
14827
14828         * jump.c (jump_optimize_1): Amend last change to test only the
14829         form of the operand, not the insn.
14830
14831         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
14832         not register_operand to determine when B may need preloading.
14833
14834 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
14835
14836         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
14837         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
14838         (call-value patterns): Move to end of file.
14839         (*): Remove mode from label_ref in (pc) context.
14840         (movstrqi): Use memory not general_operand for BLKmode operands.
14841         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
14842         to register_operand operands.
14843         (peep2 patterns): Convert from commented-out peephole patterns.
14844
14845 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14846
14847         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
14848         to BUILT_IN_INIT_DWARF_REG_SIZES.
14849         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
14850         Renamed from BUILT_IN_DWARF_REG_SIZE; call
14851         expand_builtin_init_dwarf_reg_sizes.
14852         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
14853         with __builtin_init_dwarf_reg_size_table.
14854         * dwarf2out.c (struct reg_size_range): Delete.
14855         (expand_builtin_init_dwarf_reg_sizes): New function.
14856         (expand_builtin_dwarf_reg_size): Delete.
14857         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
14858         (expand_builtin_dwarf_reg_size): Don't declare.
14859         * libgcc2.c (dwarf_reg_size_table_initialized): New.
14860         (dwarf_reg_size_table): New.
14861         (init_reg_size_table): New function.
14862         (copy_reg): Use dwarf_reg_size_table.
14863         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
14864         before use.
14865
14866 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
14867
14868         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
14869         Correctly build argument list to constructor and destructor functions.
14870
14871 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
14872
14873         * c-tree.h (warn_float_equal): Declare.
14874         * c-decl.c (warn_float_equal): Define.
14875         (c_decode_option): Recognize -W[no-]float-equal.
14876         * c-typeck.c (build_binary_op): Conditionally warn
14877         about equality tests of floating point types.
14878         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
14879         * invoke.texi: Add docs for -Wfloat-equal warning.
14880
14881 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
14882
14883         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
14884         generating RTL directly.
14885         * mips.h (INIT_TARGET_OPTABS): Likewise.
14886         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
14887
14888         * expr.h (init_mov_optab): Delete declaration
14889
14890         * h8300.c (WORD_REG_USED): Update to avoid useless register
14891         saves in interrupt functions and functions which never return.
14892
14893         * cse.c (struct set): Delete inner_dest_loc field.
14894         (cse_insn): Remove assignments to inner_dest_loc field.
14895
14896 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
14897
14898         * ggc-page.c: Don't include <unistd.h> etc taken care of
14899         by "system.h".  Include <sys/mman.h> afterward.
14900
14901 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
14902
14903         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
14904         ggc_alloc_string.
14905
14906 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
14907
14908         * xcoffout.c (xcoffout_declare_function): Add documentation.
14909         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
14910         TARGET_64BIT.  Compare constant to -1, not bit pattern.
14911         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
14912         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
14913         gen_movsi typos.
14914
14915 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
14916
14917         * dwarf2out.c (add_abstract_origin_attribute): Abort if
14918         origin_die is NULL.
14919         (gen_inlined_enumeration_type_die): Do not abort if the type has
14920         not been writeen out.
14921         (gen_inlined_structure_type_die): Do not abort if the type has
14922         not been writeen out.
14923         (gen_inlined_union_type_die): Do not abort if the type has
14924         not been writeen out.
14925         (gen_tagged_type_instantiation_die): Do not abort if the type
14926         has not been written out.
14927
14928 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14929
14930         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
14931         call it.
14932         * reg-stack.c (straighten_stack): Copy hard reg set with
14933         COPY_HARD_REG_SET.
14934
14935 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
14936
14937         * builtins.c (stabilize_va_list): Stabilize array type va_list
14938         to a pointer type, not the base record type.
14939         (expand_builtin_va_copy): Dereference the pointers explicitly;
14940         use the correct size for the copy.
14941
14942         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
14943         (rs6000_va_arg): Likewise.
14944
14945 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
14946
14947         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
14948
14949 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
14950
14951         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
14952         field.
14953         (DECL_BUILT_IN_CLASS): Adjust accordingly.
14954
14955 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
14956
14957         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
14958         (init_ggc): Use it instead of a constant.
14959         (ggc_collect): Bound allocated_last_gc by it.
14960
14961 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
14962
14963         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
14964         with va_list.
14965
14966 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
14967
14968         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
14969         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
14970         * configure:  Regen.
14971         * config/mips/openbsd.h:  New, OpenBSD little endian target.
14972         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
14973         * config/mips/xm-openbsd.h:  New, OpenBSD host.
14974
14975 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
14976
14977         * config/m68k/m68k.c (output_function_prologue,
14978         output_function_epilogue): Use
14979         current_function_uses_pic_offset_table instead of regs_ever_live
14980         to decide whether to save/restore pic register.
14981         (legitimize_pic_address): Don't modify regs_ever_live any more.
14982
14983 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
14984
14985         * function.h (struct function): Add x_dont_save_pending_sizes_p.
14986         * stor-layout.c (variable_size): Don't add sizes to the pending
14987         sizes list if x_dont_save_pending_sizes_p is set.
14988
14989 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
14990
14991         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
14992         for symbolic_operand().
14993         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
14994
14995 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14996
14997         * combine.c (gen_rtx_combine): Add missing call to va_end().
14998
14999         * final.c (asm_fprintf): Likewise.
15000
15001         * genattrtab.c (attr_rtx): Likewise.
15002
15003 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
15004
15005         * cse.c: Update comments.
15006         (cse_insn): When converting a conditional/computed jump into
15007         an unconditional jump, always make sure a BARRIER immediately
15008         follows the converted jump.  Do not delete unreachable code.
15009         (cse_basic_block): Do not delete unreachable code.
15010         * toplev.c (rest_of_compilation): Move call to
15011         delete_trivially_dead_insns after the conditional call to
15012         jump_optimize.
15013
15014 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15015
15016         * collect2.c (make_temp_file): Don't prototype.
15017
15018         * gcc.c (make_temp_file): Likewise.
15019
15020         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
15021
15022 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
15023
15024         * varasm.c (asm_emit_uninitialised): New function: Generate
15025         the assembler statements necessary to declare an uninitialised
15026         variable.
15027         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
15028         variable.
15029         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
15030         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
15031         section.
15032         (assemble_variable): Use asm_emit_uninitialised to emit an
15033         uninitialised variable.
15034
15035 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
15036
15037         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
15038         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
15039         <geoffk@cygnus.com>.
15040
15041 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15042
15043         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
15044         * c-common.h (builtin_function): Don't declare.
15045
15046         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
15047         DECL_BUILT_IN.
15048         (pushdecl): Likewise.
15049         (finish_decl): Likewise.
15050         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
15051         int.  All callers changed.
15052         Set the builtin's DECL_BUILT_IN_CLASS.
15053         * tree.h (enum built_in_class): New.
15054         (enum built_in_function): Delete NOT_BUILT_IN.
15055         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
15056         in a union.
15057         (DECL_SET_FUNCTION_CODE): Likewise.
15058         (DECL_BUILT_IN_CLASS): New macro.
15059         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
15060         (struct tree_decl): Split builtin function code field into a
15061         struct.
15062         (builtin_function): Declare.
15063
15064 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
15065
15066         * optabs.c (init_traps): Fix typo in last change.
15067
15068 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
15069
15070         * toplev.c (rest_of_decl_compilation): Update comment.
15071
15072 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15073
15074         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
15075         in .sbss if appropriate.
15076         (EXTRA_SECTION_FUNCTIONS): Add sbss.
15077         (SBSS_SECTION_ASM_OP): New macro.
15078         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
15079         (EXTRA_SECTIONS): Add in_sbss.
15080         * config/mips/mips.h: Prototype sbss_section.
15081
15082 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
15083
15084         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
15085         to disappear.
15086
15087 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
15088
15089         * optabs.c (init_traps): Register trap_rtx as a GC root.
15090
15091 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15092
15093         * config/mips/mips.c (function_arg_pass_by_reference): Define
15094         unconditionally, since it's called unconditionally.
15095
15096 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
15097
15098         * toplev.c (documented_lang_options): Add -fshort-wchar.
15099         * c-decl.c (c_decode_option): Likewise.
15100         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
15101         for wchar_t.
15102         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
15103         * gcc.c (default_compilers): If -fshort-wchar,
15104         override __WCHAR_TYPE__.
15105         * tm.texi (C Dialect Options): Add -fshort-wchar.
15106
15107         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
15108         symbol for a variable.
15109
15110         * cpplib.h (CPP_PREPROCESSED): New macro.
15111         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
15112         we're seeing this input for a second time.
15113
15114 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
15115
15116         * emit-rtl.c (init_emit_once): Initialize modes first.
15117
15118 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
15119
15120         * config/i386/i386.c (pic_label_name): Change to char pointer.
15121         (global_offset_table): New variable.
15122         (load_pic_register): Fill global_offset_table if it hasn't
15123         already been done.  Allocate pic_label_name dynamically.
15124         * ggc.h (empty_string): New variable.
15125         * ggc-simple.c (empty_string): Likewise.
15126         (init_ggc): Allocate empty_string and add as root.
15127         * stmt.c (digit_strings): New variable.
15128         (init_stmt): Add last_block_end_note as root.  Allocate and
15129         initialize digit_strings.
15130         (expand_asm_operands): Use empty_string instead of string
15131         constant.  Use digit_strings instead of string constants.
15132         * profile.c (init_arc_profiler): Allocate string with
15133         ggc_alloc_string instead of xmalloc.
15134         (output_func_start_profiler): Likewise.
15135         * c-typeck.c (digest_init): Check if init is error_mark_node.
15136
15137 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
15138                           Richard Henderson  <rth@cygnus.com>
15139
15140         * ggc-page.c: New file.
15141         * Makefile.in (ggc-page.o): New.
15142
15143 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
15144
15145         * invoke.texi: Document -fdelete-null-pointer-checks
15146         * toplev.c (flag_delete_null_pointer_checks): New.
15147         (f_options): Add entry for -fdelete-null-pointer-checks.
15148         (rest_of_compilation): Conditionalize null pointer check
15149         elimination on flag_delete_null_pointer_checks.
15150         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
15151
15152 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
15153
15154         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
15155         copyright notice and special exception to GPL.
15156
15157 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15158
15159         * abi64.h (mips_function_value): Add prototype arguments.
15160
15161         * mips-protos.h: New file with mips prototypes.
15162
15163         * mips.c: Include "tm_p.h".
15164         (mktemp, lookup_name): Add prototype arguments.
15165         (extern_list, string_constant, mips_fill_delay_slot,
15166         mips_output_external, mips_output_external_libcall,
15167         mips_output_filename, mips_declare_object, function_prologue,
15168         mips_expand_prologue, function_epilogue, mips16_constant,
15169         build_mips16_function_stub, mips_output_conditional_branch):
15170         Constify a char*.
15171         (mips_va_start): Remove unused variable `u'.
15172         (mips_va_arg): Cast value to unsigned when comparing against one.
15173         (trace): Delete.
15174         (save_restore_insns, mips_expand_prologue): Add missing arg in
15175         call to `large_int'.
15176
15177         * mips.h: Move prototypes to mips-protos.h.
15178         (data_section, memory_address_p, rdata_section,
15179         readonly_data_section, simple_epilogue_p, text_section): Delete
15180         prototypes delcared elsewhere.
15181         (mips_epilogue_delay_slots, print_options): Delete unused decls.
15182         (trace): Delete.
15183         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
15184
15185         * mips.md: Delete extra args in call to `mips_move_2words'.
15186
15187         * xm-iris6.h (alloca): Add prototype argument.
15188
15189         * genpeep.c: Include "tm_p.h" in generated output file.
15190
15191 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15192
15193         * basic-block.h (find_edge_index): Change parameters.
15194         * flow.c (verify_edge_list): Pass basic_block parameters to
15195         find_edge_index instead of integers.
15196
15197 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
15198
15199         * combine.c (simplify_comparison): Use an unsigned shift to adjust
15200         the constant.
15201
15202 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
15203
15204         * gcc.1: Fix a formatting error.
15205
15206 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15207
15208         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
15209         i786, mn10200, mn10300, pdp11, v850.
15210
15211 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
15212
15213         * libgcc2.c (num_digits): Add prototype with
15214         __attribute__((const)).
15215         (__terminate): Add prototype.
15216
15217 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
15218
15219         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
15220
15221         * alpha/alpha.c (print_operand): Fix type of `code'.
15222         (alpha_output_filename): Constify.
15223         * alpha/alpha.h: Move all function declarations ...
15224         * alpha/alpha-protos.h: ... here.  New file.
15225         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
15226         (SECTION_FUNCTION_TEMPLATE): Likewise.
15227
15228 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15229
15230         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
15231         * expr.c (expand_expr): Likewise.
15232         (do_jump): Likewise.
15233         (do_store_flag): Pass ccp_store_flag to can_compare_p.
15234         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
15235         accessor macros.
15236         (enum can_compare_purpose): New.
15237         (can_compare_p): Adjust prototype.
15238         (prepare_cmp_insn, prepare_operand): Declare.
15239         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
15240         * optabs.c (cmp_available_p): Deleted.
15241         (expand_abs): Pass ccp_jump to can_compare_p.
15242         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
15243         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
15244         Call can_compare_p rather than cmp_available_p.
15245         (prepare_operand): No longer static.
15246         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
15247         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
15248         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
15249         sequence to use emit_cmp_and_jump_insns.
15250         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
15251
15252 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
15253
15254         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
15255         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
15256         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
15257         (plus (reg) (const_int 0))
15258         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
15259
15260 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
15261
15262         * rs6000.c (expand_block_move): DImode loads and stores require
15263         word-aligned displacements.  Increment address registers with
15264         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
15265
15266 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
15267
15268         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
15269         is no name for the base type, rather than segfault.  If we are
15270         writing out a complex integer type, use DW_ATE_lo_user.
15271
15272         * expr.c (emit_move_insn_1): If we are copying a complex that fits
15273         in one word or less (complex char, complex short, or on 64 bit
15274         systems complex float) to/from a hard register, copy it through
15275         memory instead of dying in gen_{real,imag}part.  If we have a
15276         short complex type, prevent inlining since it allocates stack
15277         memory.
15278
15279         * tree.c (build_complex_type): If we are writing dwarf2 output,
15280         generate a name for complex integer types.
15281
15282 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15283
15284         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
15285         * flow.c (remove_edge): Remove extra whitespace.
15286         (remove_fake_edges): Fix comment.
15287         (add_noreturn_fake_exit_edges): Use the correct name.
15288
15289 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
15290
15291         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
15292         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
15293         (clean): Depend on INTL_CLEAN.
15294         (maintainer-clean): Adjust.
15295
15296 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15297
15298         * configure.in (AC_PREREQ): Bump to 2.13.
15299         (AC_C_STRINGIZE): Call this instead of using a custom macro.
15300
15301         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
15302
15303         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
15304
15305         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
15306
15307         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
15308         (HAVE_STRINGIZE): Define.
15309
15310 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
15311
15312         * c-parse.in: save and restore warn_pointer_arith on __extension__
15313         along with pedantic.
15314         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
15315         Set the type of extension to itype rather than $<itype>1 kludge.
15316         * extend.texi (Alternate Keywords): Adjust documentation.
15317         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
15318
15319 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
15320
15321         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
15322         most assembler templates.
15323
15324         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
15325         FP loads and stores.
15326         (following_call): Always return zero for the PA8000.
15327         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
15328         FP loads and stores.
15329         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
15330
15331         * pa.h (BRANCH_COST): Define.
15332
15333         * pa.md (return, return_internal): Use bve for PA2.0.
15334
15335         * pa.md (fused multiply): Add variants which reduce height for the
15336         fused multiply, but which still generate 2 insns.
15337         (fnegabs): Similarly.
15338
15339         * pa.md (subsi3): Turn into an expander.  Create two anonymous
15340         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
15341         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
15342
15343         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
15344         for TARGET_PA_20.
15345         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
15346         code generation.
15347         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
15348         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
15349
15350         * regclass.c (init_regs): Add "top_of_stack" as a garbage
15351         collection root.
15352
15353         * flow.c (record_active_eh_regions): Terminate loop after finding
15354         the last insn in the last basic block.
15355
15356 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15357
15358         * config/c4x/c4x.md: Delete parallel instruction peepholes.
15359
15360 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15361
15362         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
15363
15364 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15365
15366         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
15367         splitting to not use output template.
15368
15369 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15370
15371         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
15372         * config/c4x/c4x.c (c4x_va_start): New function.
15373
15374 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
15375
15376         * genrecog.c (not_both_true): Handle correctly cases when called for
15377         tests with different positions in the insn.
15378
15379 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15380
15381         * machmode.h (HOST_PTR_PRINTF): Move from here ...
15382
15383         * system.h (HOST_PTR_PRINTF): ... to here.
15384
15385         * mips-tfile.c: Don't include machmode.h.
15386
15387         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
15388         (mips-tfile.o): Don't depend on machmode.h.
15389
15390 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15391
15392         * haifa-sched.c (sched_analyze): Rename local variable `region' to
15393         avoid conflicts with typedef struct `region' at the top level scope.
15394
15395 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
15396
15397         * basic-block.h (basic_block): Add eh_beg, eh_end.
15398         * flow.c (entry_exit_blocks): Update.
15399         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
15400         Call new functions.
15401         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
15402         lists.c functions to allocate insn lists.
15403         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
15404         edge creation ...
15405         (make_eh_edge): ... here.  New.
15406         (move_stray_eh_region_notes): New.
15407         (record_active_eh_regions): New.
15408         (delete_unreachable_blocks): Split out block merging ...
15409         (try_merge_blocks): ... here.  New.
15410         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
15411         Dump debugging data.
15412         (merge_blocks_move_successor_nojumps): Likewise.
15413         (merge_blocks): Use eh_beg+eh_end to validate block movement.
15414
15415 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15416
15417         * extend.texi (Bound member functions): Document unbound pmf
15418         conversion.
15419
15420 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15421
15422         * flow.c (split_edge): Handle insertion on a fallthrough edge which
15423         has the EXIT_BLOCK as a dest.
15424
15425 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15426
15427         * flow.c (remove_edge): New function to remove an edge from the
15428         flow graph.
15429         (remove_fake_successors): New function to remove fake successor edges.
15430         (remove_fake_edges): New function to remove all fake edges from the
15431         flow graph.
15432         (add_fake_exit_edges): New function to add fake edges from all blocks
15433         with no successors to the exit block.
15434         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
15435         prototypes for new functions.
15436
15437 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15438
15439         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
15440         Use Pmode to determine whether to output .dword or .word.
15441
15442 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
15443
15444         * tree.c (built_in_filename): New variable.
15445         (BUILT_IN_FILENAME): New macro.
15446         (init_tree_codes): Allocate built_in_filename.
15447         (make_node): Use built_in_filename instead of string constant.
15448
15449 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
15450
15451         * configure.in: Add fr30 target.
15452         * configure: Regenerate.
15453         * config/fr30: New directory.
15454         * config/fr30/crti.asm: New file.
15455         * config/fr30/fr30.c: New file.
15456         * config/fr30/crtn.asm: New file.
15457         * config/fr30/fr30.h: New file.
15458         * config/fr30/fr30.md: New file.
15459         * config/fr30/lib1funcs.asm: New file.
15460         * config/fr30/t-fr30: New file.
15461         * config/fr30/xm-fr30.h: New file.
15462
15463 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
15464
15465         * flow.c (merge_blocks_move_successor_nojumps): Delete the
15466         BARRIER at the end of the successor, not the BARRIER before
15467         the successor.
15468
15469         * pa.c (pa_add_gc_roots): Fix thinko in last change.
15470
15471 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
15472
15473         * stmt.c (any_pending_cleanups): Don't crash when
15474         current_function->stmt is unset.
15475
15476 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15477
15478         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
15479         other initializations that may use it for relative offsets.
15480
15481 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15482
15483         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
15484         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
15485         * config/i386/sol2dbg.h: Removed.
15486         * config/i386/sol2gas.h: New file, to enable gas work-around.
15487         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
15488         Don't use sol2dbg.h.
15489         * configure: Rebuilt.
15490
15491 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
15492
15493         * invoke.texi (-fthis-is-variable): Remove documentation.
15494
15495 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
15496
15497         * basic-block.h (compute_bb_for_insn): Declare.
15498         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
15499         to use; set size of basic_block_for_insn directly.
15500         (find_basic_blocks): Update.
15501
15502 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15503
15504         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
15505
15506 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15507
15508         * crtstuff.c (ON_EXIT): Delete empty macro definition.
15509         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
15510
15511 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
15512
15513         * c-decl.c (c_decode_option): Extend comment.
15514
15515 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
15516
15517         * toplev.c (progname): Make 'const char *'
15518         (flag_print_mem): Move out of main.
15519         (version_flag): Move out of main.
15520         (filename): Move out of main.
15521         (debug_args): Remove g prefix from options.
15522         (documented_lang_options): Remove cpplib specific options.
15523         (display_help): Add g prefix to debug options.
15524         (check_lang_option): Delete this function.
15525         (decode_d_option): New function: Decode -d... option.
15526         (decode_f_option): New function: Decode -f... option.
15527         (decode_W_option): New function: Decode -W... option.
15528         (decode_g_option): New function: Decode -g... option.
15529         (independent_decode_option): New function: Decode a language
15530         independent command line option.
15531         (main): Invoke lang_decode_option and then
15532         independent_decode_option on each command line option in
15533         turn.
15534
15535 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
15536
15537         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
15538          * fold-const.c (fold_range_test): Do not try to fold the range
15539          test if the rhs or lhs has side effects.
15540
15541         * basic-block.h (compute_flow_dominators): Declare.
15542
15543         * gcse.c (alloc_code_hoist_mem): New function.
15544         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
15545         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
15546         (hoist_code, one_code_hoisting_pass): Likewise.
15547         (gcse_main): If optimizing for size, then hoist expressions
15548         computed in multiple dominated basic blocks.
15549
15550         * gcse.c (invalid_nonnull_info): New function.
15551         (delete_null_pointer_checks): Likewise.
15552         * rtl.h (delete_null_pointer_checks): Declare.
15553         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
15554
15555         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
15556         (merge-blocks_move_successor_nojumps): Likewise.
15557         (merge_blocks): Allow merging of some blocks, even if it requires
15558         physical movement of the blocks, but not if it requires new jumps.
15559
15560         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
15561         Callers and prototype changed.
15562         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
15563
15564 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15565
15566         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
15567         -YP when both -p and -pg are present.  From i386/sol2.h.
15568
15569 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15570
15571         * Makefile.in (distclean): Delete tm_p.h.
15572         * configure.in: Create a new file, "tm_p.h", from a list in
15573         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
15574         "i386/i386-protos.h".
15575
15576         * alias.c: Include "tm_p.h".
15577         * c-typeck.c: Likewise.
15578         * calls.c: Likewise.
15579         * cse.c: Likewise.
15580         * emit-rtl.c: Likewise.
15581         * explow.c: Likewise.
15582         * expmed.c: Likewise.
15583         * expr.c: Likewise.
15584         * final.c: Likewise.
15585         * flow.c: Likewise.
15586         * fold-const.c: Likewise.
15587         * function.c: Likewise.
15588         * gcse.c: Likewise.
15589         * global.c: Likewise.
15590         * haifa-sched.c: Likewise.
15591         * integrate.c: Likewise.
15592         * jump.c: Likewise.
15593         * local-alloc.c: Likewise.
15594         * loop.c: Likewise.
15595         * optabs.c: Likewise.
15596         * recog.c: Likewise.
15597         * reg-stack.c: Likewise.
15598         * regclass.c: Likewise.
15599         * regmove.c: Likewise.
15600         * reload.c: Likewise.
15601         * reload1.c: Likewise.
15602         * reorg.c: Likewise.
15603         * resource.c: Likewise.
15604         * stmt.c: Likewise.
15605         * stor-layout.c: Likewise.
15606         * toplev.c: Likewise.
15607         * tree.c: Likewise.
15608         * unroll.c: Likewise.
15609         * genattrtab.c (main): Make generated file include "tm_p.h".
15610         * genemit.c (main): Likewise.
15611         * genoutput.c (main): Likewise.
15612         * genrecog.c (main): Likewise.
15613
15614         * i386.h: Delete all prototypes.
15615         * i386.c: Include "tm_p.h".
15616         (ix86_attr_length_default): Call constant_call_address_operand
15617         with correct number of arguments.
15618         * i386-protos.h: New file.
15619         * i386.md (unnamed patterns): Call constant_call_address_operand
15620         with correct number of arguments.
15621         (exception_receiver): Call load_pic_register with correct number
15622         of arguments.
15623
15624 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
15625
15626         * c-pragma.c (mark_align_stack): Dereference the void* properly.
15627
15628 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
15629
15630         * rtl.h (insns_safe_to_move_p): New function.
15631         * loop.c (find_and_verify_loops): Use it.
15632         * rtlanal.c (insns_safe_to_move_p): Define it.
15633
15634 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
15635
15636         * c-pragma.c: Include ggc.h.
15637         * Makefile.in (c-pragma.o): Update.
15638
15639 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15640
15641         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
15642         (LIB_SPEC): Likewise.
15643         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
15644         Reindent -YP/-p/-pg.
15645         Copied from config/sparc/sol2.h.
15646
15647 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
15648
15649         * c-pragma.c (mark_align_stack): New.
15650         (init_pragma): New.
15651         * c-pragma.h (init_pragma): Declare it.
15652         * c-lex.c (init_parse): Call it.
15653
15654 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15655
15656         * configure.in: Pick up thread library on Solaris/x86 just
15657         like on Solaris/sparc.
15658         * configure: Rebuilt.
15659
15660 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
15661
15662         * rtl.h (global_rtx_index): New enum.
15663         (global_rtl): Change to array of rtx.
15664         (pc_rtx, cc0_rtx): Redefine accordingly.
15665         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
15666         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
15667         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
15668         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
15669         (const_int_rtx): Change to array of rtx.
15670         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
15671         accordingly.
15672         * emit-rtl.c (global_rtl): Change to array of rtx.
15673         (const_int_rtx): Change to aray of rtx.
15674         (gen_rtx_CONST_INT): Redefine accordingly.
15675         (init_emit_once): Allocate and initialize global_rtl.  Likewise
15676         for const_int_rtx.  Add both as GC roots.
15677         * genattrtab.c (global_rtl): Update declaration.
15678
15679 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
15680
15681         * Makefile (USER_H): Add iso646.h back.
15682
15683 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
15684
15685         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
15686         zapping the LOG_LINKS of sched_before_next_call.
15687
15688         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
15689         * pa.c (insn_refs_are_delayed): Renamed from
15690         insn_sets_and_refs_are_delayed.
15691
15692 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
15693
15694         * functiion.h (struct function): Add x_whole_function_mode_p.
15695         (retrofit_block): Declare.
15696         * function.c (retrofit_block): New function.
15697         (identify_blocks): Add assertions.  Allow an incomplete set of
15698         block notes if we're still generating code for the function.
15699         * integrate.c: Include loop.h.
15700         (expand_inline_function): Call find_loop_tree_blocks to map block
15701         notes to blocks when in whole-function mode.  Use retrofit_block
15702         to insert new BLOCKs for the inlined function, rather than
15703         insert_block.
15704         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
15705         * Makefile.in (integrate.o): Depend on loop.h.
15706
15707 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
15708
15709         * tree.h (warn_about_unused_variables): Declare.
15710         * stmt.c (warn_about_unused_variables): New function, split out
15711         from ...
15712         (expand_end_bindings): Here.
15713
15714 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
15715
15716         * stmt.c (preserve_subexpressions_p): Don't crash when
15717         current_function->stmt is unset.
15718
15719 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
15720
15721         * stmt.c (expand_start_bindings): Allow callers to pass a flag
15722         indicating that no NOTE_INSN_BLOCK_BEG note is required.
15723         (expand_start_target_temps): Use it.
15724         * except.c (expand_eh_region_start_for_decl): Likewise.
15725         * expr.c (expand_expr): Likewise.
15726
15727 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15728
15729         * fold-const.c (operand_equal_p): Pay attention to side effects.
15730
15731 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
15732
15733         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
15734         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
15735
15736         * tlink.c (scan_linker_output): Look for keywords before accepting
15737         a mangled name in quotes.
15738
15739 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
15740
15741         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
15742         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
15743
15744 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
15745
15746         * alpha.md: Revert Thu Nov 26 change that came in through the
15747         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
15748         Avoid earlyclobber when possible.
15749
15750 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15751
15752         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
15753
15754         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
15755         Define HAVE_ON_EXIT.
15756
15757 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15758
15759         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
15760         CTYPE_CONV in all ctype macros.
15761
15762         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
15763         from system.h.
15764
15765         * cexp.y (initialize_random_junk): Likewise.
15766
15767         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
15768
15769         * i370.c (handle_pragma): Likewise.
15770
15771         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
15772
15773         * v850.c (override_options): Likewise.
15774
15775         * doprint.c (_doprnt): Likewise.
15776
15777         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
15778         Likewise.
15779
15780         * fixinc/server.c (load_data): Likewise.
15781
15782         * fold-const.c (real_hex_to_f): Likewise.
15783
15784         * genattr.c (write_upcase, gen_attr): Likewise.
15785
15786         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
15787         write_upcase): Likewise.
15788
15789         * genemit.c (print_code): Likewise.
15790
15791         * genopinit.c (gen_insn): Likewise.
15792
15793         * genpeep.c (print_code): Likewise.
15794
15795         * genrecog.c (print_code): Likewise.
15796
15797         * optabs.c (init_libfuncs): Likewise.
15798
15799 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
15800
15801         * haifa-sched.c (sched_analyze): Keep the list of notes organized
15802         in pairs.
15803         (reemit_notes): Likewise.
15804
15805 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
15806
15807         * ggc.h (ggc_root): Move to ggc-common.c.
15808         (roots): Remove.
15809         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
15810         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
15811         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
15812         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
15813         * ggc-common.c (ggc_root): Move from ggc.h.
15814         (roots): Declare, static.
15815         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
15816         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
15817         null or check/set mark bit.
15818         (ggc_mark_roots): New.
15819         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
15820
15821 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
15822
15823         * m32r.c: Include toplev.h.
15824         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
15825         (gen_compare): Rename swap_p to must_swap to match uses.
15826         Add default abort case.
15827         (m32r_output_function_epilogue): Remove unused variables.
15828         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
15829         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
15830         define to empty parameter list.  Update all uses.
15831         (predicate decls): Use enum machine_mode not int.
15832         * m32r.md (movsi): Call abort, not fatal_insn.
15833         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
15834
15835 1999-09-14  Andrew Haley  <aph@cygnus.com>
15836
15837         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
15838         use $0 instead of 0.
15839
15840 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15841
15842         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
15843         computation out of loop over hard regs.
15844
15845 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
15846
15847         * function.c (identify_blocks): Don't shadow a variable in an
15848         outer scope.
15849         * integrate.c (integrate_decl_tree): Don't use pushlevel,
15850         pushdecl, or poplevel to build up the new BLOCK tree.
15851         (expand_inline_function): Likewise.
15852         (integrate_parm_decls): Likewise.
15853
15854 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
15855
15856         * c-typeck.c (qualify_type): Merge qualifiers from both types.
15857
15858 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
15859
15860         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
15861         * invoke.texi: Document this change.
15862
15863 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
15864
15865         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
15866         Free the struct.
15867         (mark_emit_status): Renamed from mark_emit_state.
15868         * except.c (mark_eh_status): Renamed from mark_eh_state.
15869         Check not null before marking.
15870         (free_eh_status): New.
15871         * expr.c (mark_expr_status, free_expr_status): New.
15872         * function.c (free_machine_status): New.
15873         (free_after_parsing): New.
15874         (free_after_compilation): Move bits to free_after_parsing; call
15875         free_eh_status, free_expr_status; zero the marked members of the
15876         function state.
15877         (prepare_function_start): No can_garbage_collect.
15878         Call init_eh_for_function.
15879         (expand_dummy_function_end): Free up current_function state.
15880         (mark_function_status): Renamed from mark_function_state.
15881         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
15882         * function.h (struct function): No can_garbage_collect.
15883         (free_machine_status, free_after_parsing): Declare.
15884         (free_eh_status, free_expr_status): Declare.
15885         * ggc.h (mark_expr_status): Declare.
15886         * stmt.c (free_stmt_status): Free the struct.
15887         (mark_stmt_status): Renamed from mark_stmt_state.
15888         (init_stmt): Don't call init_eh.
15889         (init_stmt_for_function): Don't call init_eh_for_function.
15890         * toplev.c (compile_file): Call init_eh.
15891         (rest_of_compilation): Free basic block info before ggc_collect.
15892         Call free_after_parsing; conditionally call free_after_compilation.
15893         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
15894         Check not null before marking.
15895         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
15896
15897 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
15898
15899         * c-lex.c (yylex): Initialize warn.
15900
15901 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
15902
15903         * pa.c (emit_move_sequence): Properly set the mode of the scratch
15904         register when performing secondary reloads for the SAR register.
15905
15906 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
15907
15908         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
15909         (NOTE_BLOCK): New macro.
15910         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
15911         * function.h (identify_blocks): Change prototype.
15912         * function.c (identify_blocks): Simplify.
15913         (reorder_blocks): Likewise.
15914         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
15915         NOTE_INSN_BLOCK_{BEG,END}.
15916         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
15917         the list of saved notes if the note isn't a
15918         NOTE_INSN_BLOCK_{BEG,END}.
15919         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
15920         NOTE_BLOCK_NUMBER.
15921         (reemit_notes): Adjust recreation of notes to reflect new saved
15922         note structure.
15923         * print-rtl.c (print_rtx): Print the address of the BLOCK when
15924         printing a block note.
15925         * stmt.c (block_vector): Remove.
15926         (find_loop_tree_blocks): Simplify.
15927         (unroll_block_trees): Likewise.
15928         * tree.h (reorder_block): Change prototype.
15929
15930 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
15931
15932         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
15933         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
15934         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
15935         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
15936         (atexit, exit): Simplify.
15937         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
15938         * config/lots: Remove defns of HAVE_ATEXIT.
15939
15940 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
15941
15942         * calls.c (precompute_arguments): Fix typo in comment.
15943         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
15944         TARGET_EXPR.
15945
15946 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
15947
15948         * dsp16xx.c (override_options): Fix typos in GC root registration.
15949
15950 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
15951
15952         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
15953         from config/svr4.h.
15954         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
15955         (FUNCTION_PROFILER): Redefine appropriately for Linux.
15956         (CC1_SPEC): Likewise.
15957
15958 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15959
15960         * genattr.c (main): Add extern prototype.  Call return, not exit.
15961         * genattrtab.c (main): Likewise.
15962         * gencheck.c (main): Likewise.
15963         * gencodes.c (main): Likewise.
15964         * genconfig.c (main): Likewise.
15965         * genemit.c (main): Likewise.
15966         * genextract.c (main): Likewise.
15967         * genflags.c (main): Likewise.
15968         * gengenrtl.c (main): Likewise.
15969         * genopinit.c (main): Likewise.
15970         * genoutput.c (main): Likewise.
15971         * genpeep.c (main): Likewise.
15972         * genrecog.c (main): Likewise.
15973
15974         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
15975         * genattrtab.c (get_insn_name): Likewise.
15976         * gencodes.c (get_insn_name): Likewise.
15977         * genconfig.c (get_insn_name): Likewise.
15978         * genemit.c (get_insn_name): Likewise.
15979         * genextract.c (get_insn_name): Likewise.
15980         * genflags.c (get_insn_name): Likewise.
15981         * genopinit.c (get_insn_name): Likewise.
15982         * genpeep.c (get_insn_name): Likewise.
15983
15984         * gencheck.c (usage): Add static prototype.
15985         * genextract.c (print_path): Constify a char*.
15986         * genopinit.c (optabs): Likewise.
15987         * genoutput.c (operand_data, data, output_predicate_decls,
15988         compare_operands): Likewise.
15989         * genrecog.c (write_tree): Add default case in switch.
15990
15991 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15992
15993         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
15994
15995         * print-rtl.c (get_insn_name): Remove prototype.
15996
15997         * toplev.h (progname): Declare const.
15998
15999         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
16000         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
16001         dump_sched_info, dump_local_alloc, regset_release_memory,
16002         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
16003         error_with_file_and_line, error_with_decl, error_for_asm, error,
16004         fatal, warning_with_file_and_line, warning_with_decl, warning,
16005         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
16006         Remove redundant prototypes.
16007
16008         (notice, check_lang_option, report_file_and_line, vnotice,
16009         mark_file_stack): Add static prototype.
16010         (set_fatal_function): Add prototype.
16011         (vnotice, report_file_and_line, set_fatal_function,
16012         check_lang_option): Constify a char*.
16013         (main): Prototype.  Call return, not exit.
16014
16015 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16016
16017         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
16018
16019         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
16020
16021         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
16022
16023         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
16024
16025 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16026
16027         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
16028         behave as if it's zero in all cases.
16029         (expand_function_start): Adjust call to assign_parms.
16030         * tree.h (assign_parms): Adjust prototype.
16031         * objc/objc-act.c (hack_method_prototype): Adjust call to
16032         assign_parms.
16033
16034 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
16035
16036         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
16037         arg_pointer_rtx fixed if the argument pointer register is
16038         not fixed.
16039         (NONZERO_BASE_PLUS_P): Likewise.
16040
16041 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
16042
16043         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
16044         match_insn2 to match_insn.
16045         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
16046
16047 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
16048
16049         * Makefile.in (USER_H): Remove va-foo.h.
16050
16051         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
16052         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
16053         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
16054         va-spur.h,va-v850.h}: Remove.
16055
16056 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
16057
16058         * sparc/sparc.md (eligible_for_return_delay): New attribute.
16059         (in_return_delay): Use it instead of match_insn.
16060
16061 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16062
16063         * config/alpha/va_list.h (va-alpha.h): Do not include.
16064         (__gnuc_va_list): Typedef as in varargs.h.
16065
16066 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
16067
16068         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
16069         DECL_LIVE_RANGE_RTL.
16070
16071 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
16072
16073         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
16074         not NOTE_BLOCK_NUMBER.
16075         (expand_eh_region_end): Likewise.
16076         (find_exception_handler_labels): Likewise.
16077         (scan_region): Likewise.
16078         (exception_optimize): Likewise.
16079         (update_rethrow_references): Likewise.
16080         (set_insn_eh_region): Likewise.
16081         * final.c (final_scan_insn): Likewise.
16082         * flow.c (make_edges): Likewise.
16083         * integrate.c (expand_inline_function): Likewise.
16084         * print-rtl.c (print_rtx): Likewise.
16085
16086 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
16087
16088         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
16089         terms of builtin functions and types.
16090
16091         * mips.c (mips_build_va_list): New.
16092         (mips_va_start, mips_va_arg): New.
16093         * mips.h (BUILD_VA_LIST_TYPE): New.
16094         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16095
16096         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
16097         (sh_build_va_list, sh_va_start, sh_va_arg): New.
16098         * sh.h (BUILD_VA_LIST_TYPE): New.
16099         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16100
16101 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
16102
16103         * recog.h (struct recog_data): Make dup_num, operand_address_p,
16104         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
16105         (struct insn_data): Likewise with n_operands, n_dups,
16106         n_alternatives, output_format.
16107         * regclass.c (scan_one_insn): Cast n_operands to int before
16108         arithmetic inside comparison.
16109
16110 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
16111
16112         * toplev.c (compile_function): Unconditionally emit nop.
16113
16114 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16115
16116         * haifa-sched.c (actual_hazard): Move declaration of variable
16117         `this_cost' into the scope where it is used.
16118
16119 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16120
16121         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
16122         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
16123         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
16124
16125         * genrecog.c (make_insn_sequence): Call memset, not bzero.
16126
16127         * jump.c (find_insert_position): Don't declare or define unless
16128         !HAVE_conditional_arithmetic.
16129         (returnjump_p_1, delete_prior_computation): Add static prototypes.
16130
16131         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
16132
16133         * recog.c (offsettable_address_p): Prototype function pointer.
16134         (preprocess_constraints): Call memset, not bzero.
16135
16136         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
16137         (gcc_obstack_init): Don't declare.
16138         (fix_sizetype): Add static prototype.
16139         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
16140         (tree_cons): Call memset, not bzero.
16141
16142         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
16143         definition in macro ASM_WEAKEN_LABEL.
16144         (mark_const_hash_entry): Add static prototype.
16145
16146 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16147
16148         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
16149
16150         * unroll.c (find_common_reg_term, subtract_reg_term,
16151         loop_find_equiv_value): Add static prototypes.
16152         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
16153         (copy_loop_body): Remove unreachable break statement.
16154
16155         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
16156
16157         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
16158
16159 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16160
16161         Undo some changes from the gcc2 merge:
16162         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
16163         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
16164         pointers.
16165
16166         Undo this change:
16167         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
16168         * emit-rtl.c (gen_lowpart_common): Disable optimization of
16169         initialized float-int union if the value is a NaN.
16170
16171 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16172
16173         * gthr-win32.h: New file.
16174
16175         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
16176         shared as a valid attribute.
16177         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
16178         * extend.texi: Document `shared' variable attribute.
16179
16180 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
16181
16182         * configure.in: Handle --enable-threads on FreeBSD.
16183         * configure: Rebuit.
16184
16185 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
16186
16187         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
16188         thread support.
16189         * configure: Rebuilt.
16190
16191 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
16192                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
16193                           Rosimildo DaSilva <rdasilva@connecttel.com>
16194
16195         * configure.in (m68k-*-rtemscoff*): Added.
16196         * configure.in (mips64orion-*-rtems*): Converted to ELF.
16197         * configure.in (sparc-*-rtemsaout*): Added as alias for old
16198         sparc-rtems configuration.
16199         * configure.in (sparc-*-rtemself*): Added.
16200         * configure.in (sparc-*-rtems*): Now ELF not a.out.
16201         * config/i386/rtems.h: Added comment.
16202         * config/sparc/rtemself.h: New file.
16203
16204         * configure.in (m68k-rtemself): Added.
16205         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
16206         and DWARF_DEBUGGING_INFO.
16207         * config/m68k/crti.s: New file.
16208         * config/m68k/crtn.s: New file.
16209         * config/m68k/t-crtstuff: New file.
16210         * config/m68k/rtemself.h: New file.
16211
16212         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
16213         global ctor/dtor and C++ exception handling.
16214         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
16215         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
16216         ENDFILE_SPEC.
16217         * config/i386/t-rtems-i386: New File.
16218
16219 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
16220
16221         * stmt.c (expand_end_case): Return right away if the case stack is
16222         empty.
16223
16224 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
16225
16226         * Makefile.in (version.c): Remove rule incorrectly brought in from
16227         the gcc2 merge.
16228
16229 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
16230
16231         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
16232         * msdos/top.sed:  Take into account a prepended $(SHELL) to
16233         move-if-change.
16234         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
16235
16236         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
16237
16238 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16239
16240         * regmove.c (fixup_match_1): Don't change an unchanging register.
16241         (stable_but_for_p): Renamed to:
16242         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
16243         Changed all callers.
16244
16245 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
16246
16247         * loop.c (strength_reduce): Don't call reg_used_between_p if the
16248         insn from BL2 is after the insn from BL.
16249
16250 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
16251
16252         * recog.h (INSN_OUTPUT_FORMAT_*): New.
16253         (struct insn_data): Merge `template' and `outfun' into `output'.
16254         Add `output_format'.
16255         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
16256         (struct data): Remove `outfun'; add `output_format'.
16257         (name_for_index): Remove declaration.
16258         (output_insn_data): Handle output formats.
16259         (process_template): Emit the bare array for @.
16260         (gen_expand, gen_split): Set output_format to NONE.
16261         * output.h (get_insn_template): Declare.
16262         * final.c (get_insn_template): New.
16263         (final_scan_insn): Use it.
16264         * toplev.c (compile_file): Likewise.
16265
16266         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16267         * i860/i860.c (output_delayed_branch): Likewise.
16268         (output_delay_insn): Likewise.
16269
16270 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16271
16272         * rtl.c (obstack_alloc_rtx): Removed.
16273
16274 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
16275
16276         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
16277
16278 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
16279
16280         * i386.c (call_insn_operand): Reject const_int.
16281         (expander_call_insn_operand): Use call_insn_operand.
16282
16283 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16284
16285         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
16286
16287 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
16288
16289         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
16290         Use DImode operation.
16291
16292 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
16293
16294         * gcc.c: Include sys/resource.h.
16295         (report_times): New flag.
16296         (execute):  If report_times is set, calculate and report the
16297         CPU time consumed by each subprocess.
16298
16299         (rus, prus): New globals.
16300         (option_map): Add --time.
16301         (display_help): Document -time.
16302         (process_command): Set report_times if -time is given.
16303         Turn off -pipe if -time is given.
16304
16305         * invoke.texi: Document new option -time.
16306
16307         * configure.in: Check for getrusage.  Check if we have to
16308         prototype getrusage.
16309         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
16310         * configure: Regenerate.
16311         * config.in: Regenerate.
16312
16313 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
16314
16315         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
16316         fields.
16317
16318 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
16319
16320         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
16321         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
16322         (nan): Return _thenan_sf or _thenan_df as appropriate.
16323         (L_thenan_sf): Define _thenan_sf.
16324         (L_thenan_df): Define _thenan_df.
16325
16326         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
16327         (DPBIT_FUNCS): Add _thenan_df.
16328
16329 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
16330
16331         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
16332         TYPE_SIZE_UNIT.
16333
16334 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16335
16336         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
16337
16338         * gcc.h: New file.
16339         (lang_specific_driver): Don't take a function pointer parameter.
16340         All callers changed.
16341
16342         * gcc.c: Include gcc.h.
16343         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
16344         lang_specific_extra_outfiles, fatal): Don't declare.
16345         (multilib_defaults_raw): Constify.
16346         (read_specs): Call memset, rather than bzero.
16347         (main): Call return, not exit.
16348         (lookup_compiler): Call memcpy, not bcopy.
16349         (fatal): Make extern.
16350
16351         * cppspec.c: Include gcc.h.
16352         (lang_specific_driver): Initialize variable `quote'.  Constify a
16353         char*.  All calls to the function pointer parameter now
16354         explicitly call `fatal'.
16355
16356         * gccspec.c (lang_specific_driver): Include gcc.h.
16357
16358 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
16359
16360         * arm.c (note_invalid_constants): Use recog_data.operand_type
16361         for recog_op_type.
16362
16363 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16364
16365         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
16366         Declare.
16367
16368         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
16369         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16370         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16371         reload_secondary_in_reload, reload_secondary_out_reload,
16372         reload_secondary_in_icode, reload_secondary_out_icode,
16373         reload_reg_rtx, reload_when_needed): Delete declarations.
16374         (struct reload): New structure.
16375         (rld): Declare new array.
16376         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
16377         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16378         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16379         reload_secondary_in_reload, reload_secondary_out_reload,
16380         reload_secondary_in_icode, reload_secondary_out_icode,
16381         reload_reg_rtx, reload_when_needed): Delete definitions.
16382         (rld): New array.
16383         (whole file): Replace uses of the deleted arrays with uses of rld.
16384         * reload1.c (whole file): Replace uses of the deleted arrays with
16385         uses of rld.
16386         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
16387         explicit loops, not with bcopy.
16388
16389 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
16390
16391         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
16392         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
16393         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
16394         insn_name): Delete and consolidate into new structures.
16395         (insn_operand_predicate_fn): New.
16396         (insn_output_fn): New.
16397         (insn_gen_fn): New.
16398         (struct insn_operand_data): New.
16399         (struct insn_data): New.
16400         (insn_data): New.
16401         (OUT_FCN): Update for insn_data change.
16402         * builtins.c (expand_builtin_strlen): Likewise.
16403         (expand_builtin_memcmp): Likewise.
16404         * combine.c (make_extraction, simplify_comparison): Likewise.
16405         * cse.c (canon_reg, cse_insn): Likewise.
16406         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
16407         * expmed.c (store_bit_field, extract_bit_field): Likewise.
16408         (emit_store_flag): Likewise.
16409         * expr.c (convert_move, emit_block_move): Likewise.
16410         (clear_storage, emit_push_insn, expand_increment): Likewise.
16411         (do_store_flag): Likewise.
16412         * expr.h (GEN_FCN): Likewise.
16413         (insn_gen_function): Die.
16414         * final.c (final_scan_insn): Update for insn_data change.
16415         (output_asm_name): Likewise.
16416         * function.c (fixup_var_refs_1): Likewise.
16417         * loop.c (check_dbra_loop): Likewise.
16418         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
16419         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
16420         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
16421         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
16422         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
16423         * regmove.c (gen_add3_insn): Likewise.
16424         * reload.c (push_secondary_reload, combine_reloads): Likewise.
16425         (find_reloads, find_reloads_address_1): Likewise.
16426         (debug_reload_to_stream): Likewise.
16427         * reload1.c (emit_reload_insns, gen_reload): Likewise.
16428         * stmt.c (expand_end_case): Likewise.
16429         * toplev.c (compile_file): Likewise.
16430
16431         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16432         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
16433
16434         * print-rtl.c (insn_name_ptr): Remove declaration.
16435         (get_insn_name): Declare.
16436         (print_rtx): Use it.
16437         * genoutput.c (insn_name_ptr): Remove.
16438         (next_operand_number): New.
16439         (struct operand_data): New.
16440         (null_operand, odata, odata_end): New.
16441         (struct data): Use struct operand_data.
16442         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
16443         (get_insn_name): Renamed from name_for_index.
16444         (output_prologue): Define NO_MD_PROTOTYPES.
16445         (output_predicate_decls): Break out from output_epilogue.
16446         Iterate over the operands list.
16447         (output_operand_data): Break out from output_epilogue.  Emit
16448         just the operands list.
16449         (output_insn_data): Break out from output_epilogue.  Emit just
16450         the insn data.
16451         (output_epilogue): Remove.
16452         (output_get_insn_name): New.
16453         (constraints, op_n_alternatives, predicates, address_p): Die.
16454         (modes, strict_low, seen): Die.
16455         (scan_operands): Take new param `d' instead of writing to
16456         seven global variables.
16457         (compare_operands): New.
16458         (place_operands): New.
16459         (validate_insn_alternatives): Update for struct data change.
16460         (gen_insn): Don't zero or copy 7 global arrays.  Update for
16461         scan_operands; call place_operands.
16462         (gen_peephole, gen_expand, gen_split): Likewise.
16463         (main): Update for new output routines.
16464
16465         * genattr.c (insn_name_ptr): Remove.
16466         (get_insn_name): New function.
16467         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
16468         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
16469         * genrecog.c: Likewise.
16470
16471         * alpha.md (adddi3): Make `pattern' array static.
16472
16473 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16474
16475         * config/c4x/c4x.h (c4x_rpts_cycles_string,
16476         c4x_cpu_version_string): Constify char *.
16477         * config/c4x/c4x.c (c4x_rpts_cycles_string,
16478         c4x_cpu_version_string): Likewise.
16479
16480 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
16481
16482         * tree.c (save_tree_status): Revert 10 Sep change.
16483         (restore_tree_status): Likewise.  Call obstack_free with NULL
16484         before freeing the obstack proper.
16485
16486 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
16487
16488         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
16489
16490         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
16491         surrounding context.
16492
16493 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
16494
16495         * tree.c (type_hash_canon): Put all types in the hash-table, when
16496         GC'ing.
16497
16498 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
16499
16500         * recog.h (struct recog_data, recog_data): New.
16501         (recog_foo variables): Kill.
16502         * recog.c (recog_operand, recog_operand_loc): Kill.
16503         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
16504         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
16505         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
16506         (recog_data): Define.
16507         (extract_insn): Update all recog_foo references to use recog_data.
16508         (preprocess_constraints, constrain_operands): Likewise.
16509         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
16510         * genattrtab.c (main): Likewise.
16511         * genextract.c (main): Likewise.
16512         * genoutput.c: Likewise.
16513         * genrecog.c (write_subroutine, main): Likewise.
16514         * local-alloc.c (block_alloc): Likewise.
16515         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
16516         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
16517         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
16518         * reload.c (find_reloads, find_reloads_toplev): Likewise.
16519         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
16520         (reload_cse_simplify_operands): Likewise.
16521
16522         * arc/arc.c (arc_final_prescan_insn): Likewise.
16523         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
16524         * h8300/h8300.c (notice_update_cc): Likewise.
16525         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
16526         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
16527         * mn10200/mn10200.c (notice_update_cc): Likewise.
16528         * mn10300/mn10300.c (notice_update_cc): Likewise.
16529         * romp/romp.c (update_cc): Likewise.
16530         * sparc/sparc.c (check_pic): Likewise.
16531         * v850/v850.c (notice_update_cc): Likewise.
16532
16533         * genemit.c (main): Don't declare recog_operand.
16534
16535 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
16536
16537         * ggc.h (rtvec_def): Forward declare.
16538         (tree_node): Likewise.
16539         (ggc_root): Define.
16540         (roots): Declare.
16541         (ggc_set_mark_rtx): Add prototype.
16542         (ggc_set_mark_rtvec): Likewise.
16543         (ggc_set_mark_tree): Likewise.
16544         * ggc-simple.c (ggc_root): Don't define.
16545         (roots): Don't declare.
16546         (ggc_mark_rtx): Remove.
16547         (ggc_mark_rtvec): Likewise.
16548         (ggc_mark_tree): Likewise.
16549         (ggc_mark_varray): Likewise.
16550         (ggc_mark_tree_hash_table_entry): Likewise.
16551         (ggc_mark_tree_hash_table): Likewise.
16552         (ggc_set_mart_rtx): New function.
16553         (ggc_set_mark_rtvec): Likewise.
16554         (ggc_set_mark_tree): Likewise.
16555         (ggc_add_root): Remove.
16556         (ggc_add_rtx_root): Likewise.
16557         (ggc_remove_tree_root): Likewise.
16558         (ggc_add_string_root): Likewise.
16559         (ggc_add_tree_varray_root): Likewise.
16560         (ggc_add_tree_hash_table_root): Likewise.
16561         (ggc_del_root): Likewise.
16562         (ggc_mark_rtx_ptr): Likewise.
16563         (ggc_mark_tree_ptr): Likewise.
16564         (ggc_mark_string_ptr): Likewise.
16565         (ggc_mark_tree_varray_ptr): Likewise.
16566         (ggc_mark_tree_hash_table_ptr): Likewise.
16567         * ggc-common.c: New file.
16568         * Makefile.in (OBJS): Add ggc-common.o.
16569         (ggc-common.o): List dependencies.
16570
16571 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
16572
16573         * cppalloc.c (xstrdup): Use memcpy.
16574         * cpperror.c (cpp_print_containing_files): Don't use
16575         cpp_notice.
16576         * cpplib.c (conditional_skip): Set temp->lineno.
16577         (do_endif): Make error message less obscure.
16578         (if_directive_name): New function.
16579         (cpp_get_token [case EOF]): Unwind the if stack and generate
16580         error messages for each unterminated conditional in this file.
16581         (parse_string):  Do not behave differently if -traditional.
16582
16583 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
16584
16585         * builtins.c (expand_builtin_va_arg): Cope with an array-type
16586         va_list decomposing to pointer-type.
16587         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
16588         (rs6000_va_arg): Likewise.
16589
16590 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
16591
16592         * except.c (start_dynamic_handler): Compute size using
16593         STACK_SAVEAREA_MODE.
16594
16595 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16596
16597         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
16598         include directory headers.  Don't define strrchr.  Don't provide
16599         my_* replacement functions.  Prefer PTR over `pointer_type'.
16600         Don't prototype system functions.  Don't redefine getopt.
16601
16602         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
16603         safe_read, safe_write, save_pointers, restore_pointers,
16604         is_id_char, in_system_include_dir, directory_specified_p,
16605         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
16606         find_corresponding_lparen, referenced_file_is_newer,
16607         save_def_or_dec, munge_compile_params, gen_aux_info_file,
16608         process_aux_info_file, identify_lineno, check_source,
16609         seek_to_line, forward_to_next_token_char, output_bytes,
16610         output_string, output_up_to, other_variable_style_function,
16611         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
16612         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
16613         find_static_definition, connect_defs_and_decs, add_local_decl,
16614         add_global_decls, needs_to_be_converted, visit_each_hash_node,
16615         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
16616         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
16617         scan_for_missed_items, edit_file, string_list_cons): Add static
16618         prototypes.
16619         (standard_exec_prefix, target_machine, target_version,
16620         default_syscalls_dir, string_list, string_list_cons, find_file,
16621         do_cleaning): Constify a char*.
16622         (safe_read, safe_write): Use PTR, not a char*.
16623         (is_id_char): Take an int, not a char.
16624         (main): Add prototype.  Call return, not exit.
16625
16626 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
16627
16628         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
16629         when comparing types.
16630
16631 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
16632
16633         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
16634         (strength_reduce): Release the varrays from the no-bivs early exit.
16635
16636         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
16637         the loop over the registers.
16638
16639         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
16640         for a new obstack.
16641         (restore_tree_status): Check that instead when freeing the obstack.
16642
16643 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
16644
16645         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
16646         as pointers.
16647
16648 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16649
16650         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
16651         operand size modifiers.
16652
16653 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16654
16655         * c-common.c (c_common_nodes_and_builtins): Don't build
16656         va_list_type_node.
16657         * c-common.h (enum c_tree_index and related accesor macros): Remove
16658         everything now declared in tree.h.
16659         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
16660         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
16661         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
16662         (error_mark_node, void_type_node, char_type_node, integer_type_node,
16663         unsigned_type_node, ptr_type_node, va_list_type_node,
16664         integer_zero_node, null_pointer_node, integer_one_node): Delete.
16665         (init_decl_processing): Call build_common_tree_nodes and
16666         build_common_tree_nodes_2 instead of building their nodes here.
16667         Don't add roots for these nodes.
16668         * stor-layout.c (size_zero_node, size_one_node): Delete.
16669         (set_sizetype): Make a new node for bitsizetype each time.
16670         * tree.c (global_trees): New variable.
16671         (init_obstacks): Add a gc root for it.
16672         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
16673         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
16674         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
16675         (build_common_tree_nodes): New function.
16676         (fix_sizetype): New function.
16677         (build_common_tree_nodes_2): New function.
16678         * tree.h (enum tree_index): New.
16679         (global_trees): Declare.
16680         Add accessor macros for all nodes now moved to global_trees.
16681         Delete their declarations.
16682
16683 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
16684
16685         * c-decl.c (finish_function): When processing a nested function,
16686         push and pop GC context around rest_of_compilation.
16687
16688 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
16689
16690         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
16691         Default ix86_arch to PROCESSOR_I386.
16692         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
16693         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
16694         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
16695         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
16696         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
16697         (EXTRA_SPECS): Remove deleted specs.
16698
16699 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
16700
16701         * function.c (assign_stack_local_1): Allocate from
16702         function->x_frame_offset, not frame_offset.
16703
16704 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
16705
16706         * ggc.h (lang_cleanup_tree): Remove.
16707         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
16708         * ggc-callbacks.c (lang_cleanup_tree): Remove.
16709
16710         * c-decl.c (finish_struct): Use ggc_alloc to allocate
16711         TYPE_LANG_SPECIFIC when garbage collecting.
16712         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
16713         (lang_cleanup_tree): Remove.
16714
16715 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16716
16717         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
16718         * crtstuff.c: Not here.
16719         * dwarf2out.c: Or here.
16720         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
16721         info.
16722
16723 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
16724
16725         * function.h (free_after_compilation): Remove decl parameter.
16726         (free_varasm_status0: Likewise.
16727         (free_emit_status): Likewise.
16728         (free_stmt_status): Likewise.
16729         (free_after_compilation): Likewise.
16730         (init_lang_status): New variable.
16731         (free_lang_status): Likewise.
16732         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
16733         * function.c (init_lang_status): New variable.
16734         (free_lang_status): Likewise.
16735         (push_function_context_to): Don't set function::decl here.
16736         (free_after_copmilation): Make decl parameter implicit.  Call
16737         free_lang_status if defined.
16738         (prepare_function_start): Call init_lang_status if defined.
16739         (init_function_start): Set function::decl here.
16740         * profile.c (output_func_start_profiler): Don't call pushdecl
16741         until we've actually started the function.
16742         * stmt.c (free_stmt_status): Make decl parameter implicit.
16743         * toplev.c (rest_of_compilation): Don't pass decl to
16744         free_after_compilation.
16745         * varasm.c (free_varasm_status): Likewise.
16746
16747 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16748
16749         * except.c (call_get_eh_context): Add root when allocating static
16750         tree variable.
16751
16752 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
16753
16754         * arm.c: Include "ggc.h".
16755         (arm_add_gc_roots): New function.
16756         (arm_override_options): Call it.
16757         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
16758
16759         * arm.md (define_asm_attributes): Add a pool_range attribute.
16760
16761 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
16762
16763         * extend.texi (Volatiles): New node.
16764
16765 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
16766
16767         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
16768         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
16769         (struct ggc_any): Replace `mark' with `magic_mark'.
16770         (ggc_alloc_string): Use memcpy, not bcopy.
16771         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
16772         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
16773         (ggc_free_any): New.
16774         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
16775         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
16776         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
16777         Use IS_MARKED. Use ggc_free_any.
16778
16779 1999-09-09  Scott Bambrough <scottb@netwinder.org>
16780
16781         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
16782
16783 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
16784
16785         * toplev.c (main): Always init_ggc.
16786
16787 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
16788
16789         * except.c (find_all_handler_type_matches): Free the list if
16790         we found no matches.
16791
16792         * combine.c (SUBST): Break out to a real function do_SUBST.
16793         (SUBST_INT): Likewise.
16794         * gcse.c (free_pre_mem): Free `temp_bitmap'.
16795         (pre_insert): Free `inserted'.
16796         * loop.c (basic_induction_var): Always set `location'.
16797
16798         * function.c (expand_function_end): Add initial_trampoline as a root.
16799         * rtl.h (init_varasm_once): Declare.
16800         * toplev.c (compile_file): Call it.
16801         * ggc-simple.c (ggc_mark_string_ptr): New.
16802         (ggc_add_string_root): New.
16803         (ggc_collect): Disable collection avoidance temporarily.
16804         * ggc.h (ggc_add_string_root): Declare.
16805         * except.c (create_rethrow_ref): Use ggc_alloc_string.
16806         * optabs.c (init_libfuncs): Likewise.
16807         * varasm.c (named_section): Use ggc_alloc_string.
16808         (make_function_rtl): Likewise.
16809         (make_decl_rtl): Likewise.
16810         (assemble_static_space): Likewise.
16811         (assemble_trampoline_template): Likewise.
16812         (output_constant_def): Likewise.
16813         (force_const_mem): Likewise.
16814         (mark_const_hash_entry): New.
16815         (mark_pool_sym_hash_table): New.
16816         (mark_varasm_state): Use it.
16817         (init_varasm_once): New.
16818
16819         * expr.h (init_one_libfunc): Declare.
16820         * optabs.c (init_one_libfunc): New.
16821         (init_optabs): Use it.
16822         * config/gofast.h: Likewise.
16823         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
16824         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
16825
16826 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16827
16828         * Makefile.in (cppexp.o): Depend on cpphash.h.
16829         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
16830         Include cpphash.h.
16831         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
16832         * cpplib.c (do_define): Generalise to handle poisoned definitions,
16833         redefining poisoned identifiers, etc.
16834         (do_undef): Don't allow poisoned identifiers to be undefined.
16835         (do_pragma): Add #pragma poison.
16836         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
16837
16838         * cccp.c: Add T_POISON node type.
16839         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
16840         poisoned xxx.
16841         (do_define): Generalise to handle poisoned definitions,
16842         redefining poisoned identifiers, etc.
16843         (do_undef): Don't allow poisoned identifiers to be undefined.
16844         (do_pragma): Add #pragma poison.
16845         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
16846
16847         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
16848         * c-pragma.h: Add ps_poison state.  We now always have generic
16849         pragmas.
16850
16851 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
16852
16853         * ggc.h (ggc_alloc): New function.
16854         (ggc_mark): Likewise.
16855         * ggc-simple.c (ggc_any): New structure.
16856         (ggc_status): Add anys.
16857         (n_anys_collected): New variable.
16858         (ggc_alloc): Define.
16859         (ggc_mark): Likewise.
16860         (ggc_collect): Collect the anys.
16861
16862 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16863
16864         * c-decl.c (mark_binding_level): Make static to match prototype.
16865
16866 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
16867
16868         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
16869
16870 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
16871
16872         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
16873         will use into account.  Expand the max width to 5.
16874         * rtl.c: Likewise.
16875
16876 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
16877
16878         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
16879         for the rtx length.
16880
16881 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
16882
16883         * alpha.md (call value patterns): Remove the result predicates.
16884
16885 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
16886
16887         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
16888         last change.
16889
16890 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16891
16892         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
16893         changed from extern char *, to extern PTR.  Also fix typo in
16894         NEED_DECLARATION_REALLOC test.
16895
16896         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
16897
16898 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16899
16900         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
16901         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
16902         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
16903         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
16904
16905         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
16906
16907         * cccp.c (pcfinclude): Likewise.
16908
16909         * global.c (allocno_compare): Likewise.
16910
16911         * haifa-sched.c (rank_for_schedule): Likewise.
16912
16913         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
16914
16915         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
16916
16917         * stupid.c (stupid_reg_compare): Likewise.
16918
16919         * tree.c (_obstack_allocated_p): Likewise.
16920
16921         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
16922
16923 1999-09-08  Bruce Korb  autogen@linuxbox.com
16924
16925         * Makefile.in: Give the hapless gperf user a hint about
16926         why "gperf -F" fails.
16927
16928 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
16929
16930         * lists.c: Include ggc.h.
16931         (zap_lists): New.
16932         (init_EXPR_INSN_LIST_cache): Install it.
16933
16934         * ggc-simple.c (init_ggc): Absorb the old init.
16935         (ggc_push_context): Use xcalloc.
16936         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
16937         (ggc_collect): Add [rvts] tags to the collection stats.
16938
16939 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
16940
16941         * cccp.c (main): Fix handling of -include and -imacros options.
16942
16943 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
16944
16945         * cpplib.c (cpp_push_buffer): Fix order of arguments.
16946
16947 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
16948
16949         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
16950         genrtl.c.
16951
16952 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
16953
16954         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
16955         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
16956         and SET_DEST. Update comment.
16957
16958 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16959
16960         * config/c4x/c4x.c: Include ggc.h.
16961         (c4x_add_gc_roots): New function.
16962         (c4x_override_options): Call c4x_add_gc_roots.
16963
16964 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
16965
16966         * defaults.h (TARGET_ESC): Move ...
16967         * system.h: ... here, where Linas had it in the first place.  Silly me.
16968
16969 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
16970
16971         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
16972         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
16973         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
16974         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
16975         * defaults.h (TARGET_ESC): Add default.
16976
16977 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
16978
16979         * configure.in: add i370-*-openedition, i370-*-mvs and
16980         i370-*-linux targets
16981
16982 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
16983
16984         * dsp16xxx.c: Include ggc.h
16985         (override_options): Mark GC roots.
16986         * mn10200.c: Include ggc.h.
16987         (asm_file_start): Mark GC roots.
16988         * tahoe.c: Include ggc.h.
16989         (extensible_operand): Mark GC roots.
16990
16991 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
16992
16993         * README: Add section discussing status of ELF ABI.
16994         * i370.c: Fix misc spelling mistakes.
16995         (i370_label_scan): Updated notes, exception handling.
16996         (i370_function_prolog): Simplify ELF stack handling.
16997         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
16998         (STACK_GROWS_DOWNWARD): ELF stack grows down.
16999         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
17000         * i370.md: (movdi): Add notes.
17001         (floatsidf2): Use stack not rtca for scratch float area.
17002         (iorsi3): Correct operand constraints.
17003         * x-oe: Restore TAROUTOPTS which are used by pax.
17004
17005 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
17006
17007         * rs6000.c: Include ggc.h.
17008         (rs6000_add_gc_roots): New function.
17009         (override_options): Call it.
17010
17011 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
17012
17013         * alpha.h (alpha_compare): New.
17014         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
17015         * alpha.c: Likewise for the definitions.
17016         (alpha_emit_conditional_branch): Update for alpha_compare.
17017         (alpha_emit_conditional_move): Likewise.
17018         * alpha.md (cmpdf, cmpdi): Likewise.
17019         (setcc patterns): Likewise.  Zero alpha_compare after use.
17020         (sne): Optimize (x != 0) into (0U < x).
17021
17022 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
17023
17024         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
17025         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
17026         (INIT_EXPANDERS): Remove.
17027         * alpha.c: Include ggc.h.
17028         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
17029         (alpha_init_machine_status, alpha_mark_machine_status): New.
17030         (override_options): Install them.
17031         (struct machine_function): Moved to alpha.h.
17032         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
17033         (alpha_init_expanders): Remove.
17034         (alpha_return_addr): Adjust to use current_function->machine.
17035         (alpha_ra_ever_killed): Likewise.
17036         (alpha_expand_epilogue): Likewise.
17037         * alpha.md (eh_epilogue): Likewise.
17038
17039 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
17040                           Melissa O'Neill  <oneill@cs.sfu.ca>
17041                           Geoffrey Keating  <geoffk@cygnus.com>
17042
17043         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
17044         call-used registers (call-saved registers must still be contiguous
17045         and end with r31, of course).
17046
17047 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
17048
17049         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
17050         (self_promoting_type_p): Delete.
17051         (self_promoting_args_p): Move ...
17052         * c-common.c: ... here.
17053         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
17054         (simple_type_promotes_to): New.
17055         * builtins.c (lang_type_promotes_to): New.
17056         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
17057         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
17058         * c-common.h: ... here.
17059         (self_promoting_args_p, simple_type_promotes_to): Declare.
17060         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
17061         (grokdeclarator): Likewise.
17062         * tree.h (lang_type_promotes_to): Declare.
17063
17064 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
17065
17066         Add some machine-dependent GC roots.
17067         * sparc.c: Include ggc.h.
17068         (sparc_add_gc_roots): New function.
17069         (mark_ultrasparc_pipeline_state): Likewise.
17070         (override_options): Call sparc_add_gc_roots.
17071         * pa.c: Include ggc.h.
17072         (pa_add_gc_roots): New function.
17073         (mark_deferred_plabels): Likewise.
17074         (override_options): Call pa_add_gc_roots.
17075         * mips.c: Include ggc.h.
17076         (mips_add_gc_roots): New function.
17077         (override_options): Use it.
17078
17079 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17080
17081         * cpperror.c (cpp_file_line_for_message): Constify a char*.
17082
17083         * cppexp.c (parse_number, parse_charconst, cpp_lex,
17084         cpp_parse_expr): Add static prototypes.
17085         (parse_charconst): Don't cast away const-ness.
17086         (token): Constify a char*.
17087
17088         * cppfiles.c (file_name_list, include_hash, find_include_file,
17089         finclude, initialize_input_buffer): Constify a char*.
17090         (file_cleanup, find_position): Add static prototypes.
17091
17092         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
17093         collect_expansion): Add static prototypes.
17094         (cpp_install, create_definition, monthnames): Constify a char*.
17095
17096         * cpphash.h (cpp_install): Likewise.
17097
17098         * cppinit.c (known_suffixes, default_include,
17099         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
17100         (base_name, dump_special_to_buffer, initialize_dependency_output):
17101         Add static prototypes.
17102
17103         * cpplib.c (my_strerror): Constify a char*.
17104         (null_underflow, null_cleanup, skip_comment, copy_comment,
17105         copy_rest_of_line, handle_directive, pass_thru_directive,
17106         get_directive_token, read_line_number, cpp_print_file_and_line,
17107         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
17108         v_cpp_warning_with_line, detect_if_not_defined,
17109         consider_directive_while_skipping): Add static prototypes.
17110         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
17111         cpp_pedwarn_with_file_and_line): Constify a char*.
17112
17113         * cpplib.h (cpp_options, include_hash, progname, definition,
17114         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
17115         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
17116         find_include_file, deps_output, include_hash): Constify a char*.
17117
17118         * cppmain.c (progname): Constify.
17119         (main): Add prototype.  Use return, not exit.
17120
17121         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
17122         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
17123         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
17124         check_protection): Add static prototype.
17125         (xfree): Remove.
17126         (progname, recognized_macrom, recognized_extern): Constify a char*.
17127         (main): Add prototype.
17128
17129         * gen-protos.c (progname): Constify a char*.
17130
17131 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
17132
17133         * emit-rtl.c (free_emit_status): Take decl as a parameter.
17134         (init_emit_once): Add more GC roots.
17135         * except.c (mark_func_eh_entry): New function.
17136         (mark_eh_node): Mark false_label and rethrow_label.
17137         (init_eh): Add more GC roots.
17138         * function.c (free_after_compilation): Take decl as a paramter.
17139         Call free_stmt_status.
17140         (mark_function_state): Don't assume x_parm_reg_stack_loc is
17141         non-NULL.
17142         * function.h (free_after_compilation): Change prototype.
17143         (free_varasm_status): Likewise.
17144         (free_emit_status): Likewise.
17145         (free_stmt_status): New function.
17146         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
17147         Remove, replacing with ...
17148         (ggc_status): New structure.
17149         (ggc_chain): New variable.
17150         (init_gcc): Define.
17151         (ggc_push_context): New function.
17152         (ggc_pop_context): Likewise.
17153         (ggc_alloc_rtx): Adjust for use of ggc_chain.
17154         (ggc_alloc_rtvec): Likewise.
17155         (ggc_alloc_tree): Likewise.
17156         (ggc_alloc_string): Likewise.
17157         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
17158         (ggc_mark_tree): Give language-dependent code a chance to mark
17159         `x' nodes.
17160         (ggc_mark_tree_varray): Handle empty arrays.
17161         (ggc_collect): Adjust for use of ggc_chain.  Clear
17162         bytes_alloced_since_last_gc.
17163         * ggc.h (ggc_pop_context): New function.
17164         (ggc_push_context): Likewise.
17165         * print-tree.c (print_node): Don't print obstacks when GC'ing.
17166         * stmt.c (free_stmt_status): New function.
17167         (init_stmt_for_function): Clear last_expr_value.
17168         * toplev.c (rest_of_compilation): Always call free_after_compilation.
17169         Conditionalize call to ggc_collect.
17170         (main): Call init_ggc.
17171         * tree.c (push_obstacks): Do the push, even when GC'ing.
17172         (push_obstacks_nochange): Likewise.
17173         (pop_obstacks): Liekwise.
17174         * varasm.c (free_varasm_status): Take decl as a parameter.
17175
17176 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17177
17178         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
17179         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
17180         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
17181         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
17182
17183 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
17184
17185         * pa/x-pa-mpeix: New file for the MPE port.
17186
17187         * pa/quadlib.asm: New file for long double support.
17188
17189         * configure.in: Add hppa1.0-*-mpeix for MPE port.
17190         * configure: Rebuilt.
17191
17192 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
17193
17194         * final.c (shorten_branches): Fix last change.
17195
17196 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
17197
17198         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
17199
17200 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
17201
17202         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
17203         details.
17204
17205 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17206
17207         * c-aux-info.c (concat): Don't define.
17208
17209         * cccp.c (my_strerror): Likewise.  All callers changed to use
17210         xstrerror instead.
17211         (do_include): Call xstrdup, not xmalloc/strcpy.
17212         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
17213         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
17214
17215         * collect2.c (my_strsignal): Likewise.  All callers changed to use
17216         strsignal instead.
17217         (locatelib): Call xstrdup, not xmalloc/strcpy.
17218
17219         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
17220
17221         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
17222
17223         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
17224
17225         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
17226
17227         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
17228
17229         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
17230
17231         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
17232         malloc/realloc.
17233         (find_all_handler_type_matches): Likewise.  Don't check return
17234         value.
17235         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
17236         xmalloc, not malloc.
17237         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
17238
17239         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
17240         (init_spec): Call xcalloc, not xmalloc/bzero.
17241         (set_spec): Call xstrdup, not save_string.
17242         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
17243         (find_a_file): Call xstrdup, not xmalloc/strcpy.
17244         (process_command): Call xstrdup, not save_string.
17245         (main): Call xcalloc, not xmalloc/bzero.
17246
17247         * gcov.c (xmalloc): Don't define.
17248         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
17249         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
17250         (output_data): Call xcalloc, not xmalloc/bzero.
17251
17252         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
17253
17254         * mips-tdump.c (xmalloc): Don't define.
17255         (print_symbol): Call xmalloc, not malloc.
17256         (read_tfile): Call xcalloc, not calloc.
17257
17258         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
17259         Don't define.  All callers of xfree/my_strsignal changed to use
17260         free/strsignal instead.
17261         (allocate_cluster): Call xcalloc, not calloc.
17262
17263         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
17264         Fix memory leak, free allocated memory.
17265
17266         * prefix.c (translate_name): Call xstrdup, not save_string.
17267         (update_path): Likewise.
17268
17269         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
17270
17271         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
17272         Don't define.  Callers of xfree/savestring2 changed to use
17273         free/concat instead.
17274
17275         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
17276         (init_elim_table): Likewise.
17277
17278         * resource.c (init_resource_info): Likewise.
17279
17280         * stupid.c (stupid_life_analysis): Likewise.
17281
17282         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
17283         (open_dump_file): Call concat, not xmalloc/strcpy/...
17284         (clean_dump_file): Likewise.
17285         (compile_file): Call xstrdup, not xmalloc/strcpy.
17286
17287 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
17288
17289         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
17290         * v850.c (v850_va_arg): New.
17291
17292 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17293
17294         * haifa-sched.c: Tidy comments.
17295
17296 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17297
17298         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
17299         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
17300         $(out_object_file)): Depend on ggc.h.
17301         * c-common.c: Include "ggc.h".
17302         (combine_strings): If doing GC, use ggc_alloc_string.
17303         * c-decl.c: Include "ggc.h".
17304         (ggc_p): Define with value 0.
17305         (mark_binding_level): New function.
17306         (init_decl_processing): Add GC roots.
17307         (mark_c_function_context): New function.
17308         (lang_mark_false_label_stack): New function.
17309         (lang_mark_tree): New function.
17310         (lang_cleanup_tree): New function.
17311         * c-lang.c: Include "ggc.h".
17312         (lang_init): Call c_parse_init.
17313         * c-lex.c: Include "ggc.h".
17314         (check_linenum): If doing GC, don't copy filenames to permanent
17315         obstack.
17316         * c-parse.in: Include "ggc.h".
17317         (c_parse_init): New function.
17318         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
17319         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
17320
17321         * except.c (mark_eh_state): Mark more state.
17322         * function.c (mark_function_state): Likewise.
17323         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
17324         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
17325         * toplev.c (mark_file_stack): New function.
17326         (compile_file): If doing GC, use ggc_alloc_string on input filename.
17327         (main): Add root for input_file_stack.
17328
17329         * i386.c: Include "ggc.h".
17330         (ix86_mark_machine_status): New function.
17331         (override_options): Set mark_machine_status.
17332
17333 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17334
17335         * tree.c (copy_node): Copy node contents also if doing GC.
17336
17337 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17338
17339         * collect2.c (scan_libraries): Fix double-thinko :-).
17340
17341 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
17342
17343         * collect2.c (scan_libraries): Fix thinko.
17344
17345         * cse.c (delete_trivially_dead_insns): Do not skip the last
17346         insn if it is a real insn.
17347
17348 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
17349
17350         * Makefile.in (ggc-simple.o): Depend on hash.h.
17351         * ggc.h (ggc_add_tree_hash_table_root): Declare.
17352         (ggc_mark_tree_varray): Likewise.
17353         (ggc_mark_tree_hash_table): Likewise.
17354         * ggc-simple.c: Include hash.h.
17355         (ggc_mark_tree_hash_table_ptr): New function.
17356         (ggc_mark_tree_hash_table_entry): Likewise.
17357         (ggc_mark_tree_hash_table): Likewise.
17358         (ggc_add_tree_hash_table_root): Likewise.
17359         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
17360         rtx, when defining fields.
17361
17362 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17363
17364         * profile.c (output_func_start_profiler): Remove apparently
17365         nonsensical call to start_sequence.
17366
17367 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
17368
17369         * clipper/clipper.c (clipper_va_start): Fix typos.
17370
17371         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
17372         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
17373         (spur_va_arg): New stub.
17374
17375         * configure.in: Comment out pyramid.
17376
17377 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
17378
17379         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
17380         don't conflict with the bits that win32, cygwin, and dgux
17381         defines.
17382
17383 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
17384                           Bernd Schmidt <bernds@cygnus.co.uk>
17385
17386         * integrate.c (function_cannot_inline_p): Do not inline
17387         functions with forced labels.
17388
17389 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
17390                           Bernd Schmidt <bernds@cygnus.co.uk>
17391                           Mark Mitchell  <mark@codesourcery.com>
17392
17393         * Makefile.in (ggc-simple.o): Depend on varray.h.
17394         (rtl.o): Depend on ggc.h.
17395         (genattrtab.o): Depend on ggc.h.
17396         (print-tree.o): Likewise.
17397         (fold-const.o): Likewise.
17398         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
17399         (make_insn_raw): Don't cache insns when GC'ing.
17400         (emit_insn_before): Likewise.
17401         (emit_insn_after): Likewise.
17402         (emit_insn): Likewise.
17403         (start_sequence): Use xmalloc to allocate the sequence_stack.
17404         (end_sequence): Add free to free it.
17405         (gen_sequence): Don't cache insns when GC'ing.
17406         (clear_emit_caches): Don't use sequence_element_free_list.
17407         (init_emit): Use xcalloc, not xmalloc+bzero.
17408         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
17409         * function.c (pop_function_context_from): Use free to free the
17410         fixup_var_refs_queue.
17411         (put_reg_into_stack): Allocate it with xmalloc.
17412         * genattrtab.c: Include ggc.h.
17413         (operate_exp): Don't use obstack_free when GC'ing.
17414         (simplify_cond): Likewise.
17415         (simplify_text_exp): Likewise.
17416         (optimize_attrs): Likewise.
17417         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
17418         GC'ing.
17419         (gencode): Generate a #include for ggc.h.
17420         * ggc-callbacks.c (ggc_p): Define it to zero.
17421         * ggc-none.c (ggc_p): Likewise.
17422         * ggc-simple.c: Include varray.h.
17423         (ggc_mark_tree_varray): New function.
17424         (ggc_add_tree_varray_root): Likewise.
17425         (ggc_mark_tree_varray_ptr): Likewise.
17426         * ggc.h (ggc_p): Declare.
17427         (varray_head_tag): Likewise.
17428         (ggc_add_tree_varray_root): Declare.
17429         * print-tree.c (print_node): Don't check for TREE_PERMANENT
17430         inconsistencies when GC'ing.
17431         * rtl.c: Include ggc.h.
17432         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
17433         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
17434         (rtx_free): Don't call obstack_free when GC'ing.
17435         * toplev.c (rest_of_compilation): Call ggc_collect after every
17436         pass, if GC'ing.
17437         * tree.c (push_obstacks): Do nothing, if GC'ing.
17438         (pop_obstacks_nochange): Likewise.
17439         (pop_obstacks): Likewise.
17440         (make_node): Use ggc_alloc_tree when GC'ing.
17441         (copy_node): Likewise.
17442         (get_identifier): Use ggc_alloc_string when GC'ing.
17443         (build_string): Likewise.
17444         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
17445         (tree_cons): Likewise.
17446         (build1): Likewise.
17447         (type_hash_canon): Don't call obstack_free when GC'ing.
17448
17449 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
17450
17451         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
17452         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
17453
17454 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
17455                           Bernd Schmidt <bernds@cygnus.co.uk>
17456                           Mark Mitchell  <mark@codesourcery.com>
17457
17458         * Makefile.in (stor-layout.o): Depend on ggc.h.
17459         (expr.o): Depend on ggc.h.
17460         (profile.o): Depend on ggc.h.
17461         (stor-layout.o): Depend on ggc.h.
17462         * emit-rtl.c (init_emit_once): Add gc roots.
17463         * expr.c: Include ggc.h.
17464         (emit_block_move): Add gc roots.
17465         (clear_storage): Likewise.
17466         * expr.h (init_stor_layout_once): New function.
17467         * profile.c: Include ggc.h.
17468         (init_arc_profiler): profiler_label is a root.
17469         * scan.c (make_sstring_space): Trust xrealloc to function
17470         correctly with first parameter NULL.
17471         * stor-layout.c: Include ggc.h.
17472         (set_sizetype): Add gc root.
17473         (init_stor_layout_once): New function.
17474         * toplev.c (compile_file): Call it.
17475
17476 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
17477                           Bernd Schmidt <bernds@cygnus.co.uk>
17478                           Mark Mitchell  <mark@codesourcery.com>
17479
17480         * Makefile.in (tree.o): Depend on ggc.h.
17481         (varasm.o): Likewise.
17482         (function.o): Likewise.
17483         (stmt.o): Likewise.
17484         (except.o): Likewise.
17485         (optabs.o): Likewise.
17486         (emit-rtl.o): Likewise.
17487         * emit-rtl.c: Include ggc.h.
17488         (sequence_element_free_list): Remove, and all references.
17489         (mark_sequence): New functions.
17490         (mark_emit_state): New function.
17491         * except.c: Include ggc.h.
17492         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
17493         (mark_tree_label_node): New functions.
17494         (mark_eh_state): New function.
17495         * function.c: Include ggc.h.
17496         (mark_temp_slot, mark_function_chain): New functions.
17497         (mark_function_state): New function.
17498         (init_function_once): New function.
17499         * function.h (init_function_once): New function.
17500         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
17501         * ggc.h (label_node): Declare.
17502         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
17503         (lang_mark_false_label_stack): New function.
17504         (mark_temp_slot): Remove declaration.
17505         (mark_function_chain): Likewise.
17506         (mark_eh_state): Adjust prototype.
17507         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
17508         Likewise.
17509         * optabs.c: Include ggc.h.
17510         (mark_optab): New function.
17511         (init_optabs): Add gc roots.
17512         * stmt.c: Include ggc.h.
17513         (mark_cond_nesting, mark_loop_nesting): New functions.
17514         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
17515         (mark_stmt_state): New function.
17516         * toplev.c (compile_file): Call init_function_once.
17517         * tree.c: Include ggc.h.
17518         (type_hash): Move declaration earlier in file.
17519         (TYPE_HASH_SIZE, type_hash_table): Likewise.
17520         (init_obstacks): Add gc roots.
17521         (mark_type_hash): New function.
17522         * varasm.c: Include ggc.h.
17523         (mark_pool_constant): New function.
17524         (mark_varasm_state): New function.
17525
17526 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17527
17528         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
17529
17530 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
17531
17532         * c-decl.c (struct language_function): Renamed from struct c_function.
17533         Delete elt NEXT.
17534         (c_function_chain): Delete.
17535         (push_c_function_context): New arg F.  Don't warn about nested
17536         functions here.  Fill LANGUAGE elt of F.  Delete code to update
17537         c_function_chain.  Don't call push_function_context.
17538         (pop_c_function_context): New arg F.  Restore from there instead of
17539         from c_function_chain.  Don't call pop_function_context.  Clear out
17540         LANGUAGE field of F when done.
17541         * c-lang.c: Include "function.h"
17542         (lang_init): Initialize save_lang_status and restore_lang_status.
17543         * c-parse.in (nested_function, nested_function_notype): Warn about
17544         nested functions.  Call push_function_context/pop_function_context
17545         instead of the _c_ variants.
17546         * c-tree.h (push_c_function_context, pop_c_function_context): Update
17547         prototype.
17548         * Makefile.in (c-lang.o): Update dependencies.
17549
17550         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
17551         regno_pointer_flag, regno_pointer_align.
17552         (gen_reg_rtx): Use xrealloc to enlarge them.
17553         (free_emit_status): New function.
17554         * function.c (mark_machine_status, mark_lang_status): New variables.
17555         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
17556         in some bits from assign_stack_local.  All callers changed to use new
17557         name.
17558         (assign_stack_local): Just call assign_stack_local_1.
17559         (free_after_compilation): New function.
17560         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
17561         (trampoline_address): Likewise.
17562         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
17563         (prepare_function_start): Explicitly clear some more variables.
17564         * function.h (struct function): New elt can_garbage_collect.
17565         (mark_machine_status, mark_lang_status): Declare variables.
17566         (free_after_compilation, free_emit_status, free_varasm_status,
17567         init_varasm_status): Declare functions.
17568         * toplev.c (rest_of_compilation): Call free_after_compilation when
17569         done with the current function.
17570         * varasm.c (free_varasm_status): New function.
17571
17572 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
17573
17574         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
17575         (EXPAND_BUILTIN_VA_ARG): Define.
17576         * sparc.c (sparc_va_start): New.
17577         (sparc_va_arg): New.
17578
17579 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17580
17581         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
17582
17583 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17584
17585         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
17586
17587 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
17588
17589         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
17590         (OBJS): Add $(GGC).
17591         (ggc-callbacks.o): New target.
17592         * ggc-callbacks.c: New file.
17593
17594 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17595
17596         * expr.h: Collapse individual optab and libfunc vars to arrays.
17597         (optab_index, libfunc_index): New enumerations.
17598         (optab_table, libfunc_table): New arrays.
17599         Add accessor macros for both.
17600
17601         * optabs.c (optab_table, libfunc_table): New.
17602         Delete declarations for individual optab and libfunc vars.
17603
17604 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
17605
17606         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
17607
17608 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
17609
17610         * Makefile.in (GGC, GGC_LIB): New.
17611         (HOST_RTL): Include ggc-none.o.
17612         (ggc-simple.o): New target.
17613         (ggc-none.o): Likewise.
17614         * tree.h (tree_common): Add gc_mark.
17615         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
17616         (struct rtvec_def): Add gc_mark.
17617         * emit-rtl.c (global_rtl): Update static initializers to contain
17618         enough initializers.
17619         * ggc.h, ggc-none.c, ggc-simple.c: New files.
17620         * toplev.c (gc_time): New variable.
17621         (all_time): New variable.
17622         (compile_file): Print gc time.
17623         (print_time): Calculate percentage of the whole.
17624
17625 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17626
17627         Change obstack memory management and varasm constant pool handling so
17628         that nested functions are treated like any other functions.
17629         * function.c (init_machine_status): New variable.
17630         (push_function_context_to): Set contains_functions for the outer
17631         function.  Don't call save_varasm_status.
17632         (pop_function_context_from): Don't call restore_varasm_status.  Don't
17633         set current_function_contains_functions.
17634         (prepare_function_start): Call init_varasm_status rather than
17635         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
17636         is non-null.
17637         * function.h (struct function) Add field varasm.  Delete fields
17638         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
17639         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
17640         (init_machine_status): Declare.
17641         (save_varasm_status, restore_varasm_status): Delete declarations.
17642         (save_tree_status, restore_tree_status): Delete last argument.
17643         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
17644         code.  All callers changed.
17645         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
17646         save_constants_in_decl_trees, restore_constants, save_constants,
17647         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
17648         functions.
17649         (inlining): New variable.
17650         (reg_map, label_map, insn_map, orig_asm_operands_vector,
17651         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
17652         variables.
17653         (save_for_inline_nocopy): Don't save constants.
17654         Don't set inl_emit field in current_function.
17655         (expand_inline_function): Use emit field, not inl_emit, of the inlined
17656         function.  Set new variable inlining before
17657         calling copy_rtx_and_substitute.
17658         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
17659         constant pool references if inlining is nonzero.
17660         Delete ADDRESS and (most of the) CONST cases.
17661         (output_inline_function): Save and restore current_function/
17662         current_function_decl.  Delete restore_constants code.  Don't call
17663         init_const_rtx_hash_table.
17664         * output.h (init_const_rtx_hash_table): Don't declare.
17665         * rtl.h (struct function): Declare.
17666         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
17667         * toplev.c (rest_of_compilation): Don't treat nested functions or
17668         functions containing them specially.  Delete all code to deal with
17669         save_for_inline_copying.
17670         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
17671         inline_obstacks): Delete variables.
17672         (save_tree_status): Lose arg CONTEXT.  All callers changed.
17673         Simply allocate a new function_maybepermanent_obstack for the new
17674         function, delete all the special cases.
17675         Don't save inline_obstacks.
17676         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
17677         Delete special handling for function_maybepermanent_obstack; simply
17678         free it if empty.
17679         Don't restore inline_obstacks.
17680         (permanent_allocation):  Delete code that frees inline_obstacks.
17681         (print_inline_obstack_statistics): Delete function.
17682         (dump_tree_statistics): Don't call it.
17683         * varasm.c (struct varasm_status): New.
17684         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
17685         last_pool, pool_offset, const_double_chain): Delete global
17686         variables, replace with accessor macros.
17687         (immed_double_const): Don't walk const_double_chain outside a
17688         function, but don't treat nested functions specially anymore.
17689         (immed_real_const_1): Likewise.
17690         (clear_const_double_mem): Don't treat nested functions specially.
17691         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
17692         (save_varasm_status, restore_varasm_status): Delete functions.
17693         (init_varasm_status): New function.
17694         (force_const_mem): Don't treat nested functions specially.
17695         (find_pool_constant): Accept new arg F, search for constants in
17696         that function's pool rather than the current one.  All callers
17697         changed.
17698         (get_pool_constant_for_function, get_pool_mode_for_function): New
17699         functions.
17700
17701         * i386.c (init_386_machine_status): New function, mostly from
17702         clear_386_stack_locals.
17703         (struct machine_functions): Rename element names to avoid name
17704         clashes.
17705         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
17706         macros, replacing global variables.
17707         (clear_386_stack_locals, save_386_machine_status,
17708         restore_386_machine_status): Delete functions.
17709         (override_options): Initialize init_machine_status.
17710         * i386.h (INIT_EXPANDERS): Delete macro.
17711         (save_386_machine_status, restore_386_machine_status,
17712         clear_386_stack_locals): Delete declarations.
17713
17714 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17715
17716         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
17717         (doloop_begin):  Simplify pattern and use emit_jump_insn.
17718         (doloop_end): Simplify pattern, switch operand order,
17719         and use emit_jump_insn.
17720
17721 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17722
17723         * function.h (struct function): Add new element LANGUAGE.
17724         (save_lang_status): Declare new variable.
17725         (restore_lang_status): Likewise.
17726         * function.c (save_lang_status): Define.
17727         (restore_lang_status): Likewise.
17728         (push_function_context_to): Call language-specific save function.
17729         (pop_function_context_from): Call language-specific restore function.
17730
17731 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
17732
17733         * i386.md (movsf_1): Check REG_P before use of REGNO.
17734         (movdf_1): Likewise.
17735         (movxf_1): Likewise.
17736         (extendsfdf2): Likewise.
17737         (extendsfxf2): Likewise.
17738         (extenddfxf2): Likewise.
17739
17740 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17741
17742         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
17743         constants into memory.
17744         (c4x_shiftable_constant): New function.
17745         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
17746         (c4x_shiftable_constant): Declare.
17747         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
17748         ashlqi3_noclobber): Add new patterns and associated splitters.
17749
17750 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
17751
17752         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
17753         * dwarf2out.c (dwarf2out_frame_init): Likewise.
17754         * final.c (shorten_branches): Likewise.
17755         * global.c (global_alloc): Likewise.
17756         * haifa-sched.c (build_control_flow): Likewise.
17757         * stmt.c (check_for_full_enumeration_handling): Likewise.
17758         (estimate_case_costs): Likewise.
17759
17760 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
17761
17762         * rtl.h (RTL_CHECKC2): Fix typo in last change.
17763
17764 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
17765
17766         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
17767         (recompute_reg_usage): Likewise.
17768         * rtlanal.c (find_regno_fusage): Likewise.
17769
17770         * rtl.c (rtl_check_failed_code1): New function.
17771         (rtl_check_failed_code2): New.
17772         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
17773         (RTL_CHECKC1, RTL_CHECKC2): New.
17774         (XC*): New accessor macros.
17775         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
17776         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
17777         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
17778         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
17779         (TRAP_*, RANGE_INFO_*): Likewise.
17780
17781 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17782
17783         * Makefile.in (tlink.o): Don't depend on toplev.h.
17784
17785         * collect2.c (c_file, o_file, export_file, import_file, ldout,
17786         output_file, nm_file_name, ldd_file_name, strip_file_name,
17787         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
17788         add_prefix, prefix_from_env, prefix_from_string, do_wait,
17789         fork_execute, maybe_unlink, add_to_list,
17790         extract_init_priority, write_list, dump_list,
17791         dump_prefix_list, write_list_with_asm, write_c_file,
17792         write_c_file_stat, write_c_file_glob, scan_prog_file,
17793         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
17794         ignore_library, extract_string, notice, dump_file, target_machine,
17795         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
17796         read_file, print_load_command): Constify a char*.
17797         (fdopen, error, fatal, fatal_perror): Don't prototype.
17798         (my_strerror): Remove.  All callers use xstrerror instead.
17799         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
17800         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
17801         to xcalloc/strcpy/strcat/...  to one call to concat.
17802         (main, scan_prog_file, scan_libraries): Use an intermediate
17803         `const char **' to build an argv array.
17804         (mapfile, libselect, libcompare, locatelib): Add prototypes.
17805
17806         * collect2.h (collect_execute, collect_wait, dump_file,
17807         file_exists): Constify a char*.
17808         (ldout, c_file_name, temporary_obstack, permanent_obstack,
17809         temporary_firstobj, vflag, debug): Add extern declarations.
17810         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
17811
17812         * tlink.c: Don't include toplev.h.
17813         (vflag, debug, ldout, c_file_name, temporary_obstack,
17814         permanent_obstack, temporary_firstobj): Don't declare.
17815         (tlink_execute, frob_extension, symbol_hash_lookup,
17816         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
17817         recompile_files, read_repo_files, demangle_new_symbols,
17818         scan_linker_output): Constify a char*.
17819         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
17820         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
17821
17822 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
17823
17824         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
17825         (relative) rather than jsr (absolute) subroutine call insns.
17826         * config/m68k/m68k-coff.h: Ditto.
17827
17828 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
17829
17830         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
17831         now rework these too.
17832         (arm_reorg): If an insn can't reach the end of the current pool,
17833         ensure that we emit that pool before the insn.
17834
17835 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
17836
17837         * tlink.c (scan_linker_output): Skip the initial underscore in
17838         a mangled name if appropriate.
17839
17840 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17841
17842         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
17843         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
17844         error_with_ivar, gen_declarator, create_builtin_decl,
17845         my_build_string, generate_descriptor_table, generate_ivars_list,
17846         generate_dispatch_table, check_protocols, TAG_GETCLASS,
17847         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
17848         dump_base_name, lang_decode_option, build_encode_expr,
17849         start_class, finish_class, encode_pointer, really_start_method,
17850         gen_declaration, dump_interface, handle_class_ref, handle_impent):
17851         Constify.
17852         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
17853         Add static prototypes.
17854         (build_objc_string_decl, build_selector_reference_decl,
17855         encode_bitfield, build_class_reference_decl): Remove unused
17856         parameter, all callers changed.
17857         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
17858         (objc_printable_name): Likewise.  Change second parameter to type int.
17859         (init_objc): Use memcpy, not bcopy, to avoid casts.
17860
17861 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
17862
17863         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
17864         reg notes on a deleted insn.
17865         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
17866
17867 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
17868
17869         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
17870
17871 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17872
17873         * stmt.c (expand_asm_operands): Fix index into inout_mode when
17874         reading it.
17875
17876 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
17877
17878         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
17879         * tm.texi (MD_ASM_CLOBBERS): Document it.
17880
17881 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
17882
17883         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
17884         * except.c (expand_rethrow): Remove unused variable.
17885         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
17886         * flow.c (replace_insns): Likewise.
17887         (create_edge_list, verify_edge_list): Likewise.
17888         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
17889
17890         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
17891         is special code to run.
17892         (main): Don't define operands to emit_operand.
17893         * genrecog.c (main): Don't emit an empty peephole2_insn function.
17894
17895         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
17896
17897         * alpha/alpha.h (normal_memory_operand): Declare.
17898         (reg_no_subreg_operand): Declare.
17899         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
17900
17901 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
17902
17903         * c-parse.in (compstmt_primary_start): New, broken out of first
17904         part of compstmt handling in primary.
17905         (primary): Use it.  Add an error clause.
17906         (compstmt_nostart): Renamed from compstmt; remove all
17907         initial invocations of compstmt_start.
17908         (compstmt): New.
17909
17910 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
17911
17912         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
17913         needed.
17914
17915 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
17916
17917         * combine.c (simplify_shift_const): Remove extra semicolon.
17918         * dwarf2out.c (remove_AT): Likewise.
17919         * expmed.c (expand_mult): Likewise.
17920         * gcov.c (create_program_flow_graph): Likewise.
17921         * reorg.c (mostly_true_jump): Likewise.
17922
17923 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
17924
17925         * fold-const.c (fold_range_test): Do not try to fold the range
17926         test if the rhs or lhs has side effects.
17927
17928         * combine.c (simplify_rtx): Recognize another case of a synthesized
17929         sign extension.
17930
17931         * varasm.c (mark_constant_pool): When marking indirect references,
17932         only look at SYMBOL_REFs.
17933
17934         * except.c (expand_fixup_region_end): Do not peek at
17935         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
17936
17937 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
17938
17939         * flags.h: New variables align_loops, align_loops_log,
17940         align_jumps, align_jumps_log, align_labels, align_labels_log,
17941         align_functions, align_functions_log.
17942         * toplev.c: Define them.
17943         (f_options): Handle -falign-* when they have no argument.
17944         (main): Add logic to set variables for -falign-functions,
17945         -falign-jumps, -falign-labels, -falign-loops.
17946         Make it -fsched-verbose=<n> and -finline-limit=<n>.
17947         (display_help): Change help to match options.
17948         * final.c (LABEL_ALIGN): Default to align_labels_log.
17949         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
17950         (LOOP_ALIGN): Default to align_loops_log.
17951         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
17952         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
17953         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
17954         * varasm.c (assemble_start_function): Handle align_functions.
17955
17956         * config/sparc/sparc.h: Don't declare sparc_align_*.
17957         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
17958         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
17959         sparc.c.
17960         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
17961         it's a promise.
17962         * config/sparc/sparc.c: Delete sparc_align_loops,
17963         sparc_align_jumps, sparc_align_funcs and the corresponding string
17964         variables.
17965         (sparc_override_options): Default align_functions on ultrasparc.
17966         Delete -malign-* handling.
17967
17968         * config/mips/mips.c (override_options):  On 64-bit targets,
17969         try to align code to 64-bit boundaries.
17970         (print_operand): New substitution, %~,
17971         which aligns labels to align_labels_log.
17972         * config/mips/mips.md (div_trap_normal): Use %~.
17973         (div_trap_mips16): Likewise.
17974         (abssi): Likewise.
17975         (absdi2): Likewise.
17976         (ffssi2): Likewise.
17977         (ffsdi2): Likewise.
17978         (ashldi3_internal): Likewise.
17979         (ashrdi3_internal): Likewise.
17980         (lshrdi3_internal): Likewise.
17981         (casesi_internal): Likewise.
17982
17983 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
17984
17985         Merge new ia32 backend from the branch!
17986
17987         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
17988         See ChangeLog.P2 on new_ia32_branch for details.
17989
17990         * rtl.h (stack_regs_mentioned_p): Delete prototype.
17991         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
17992         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
17993         * i386/gas.h (ASM_FILE_START): Define.
17994         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
17995         for name change of ix86_valid_decl_attribute_p.
17996         (i386_pe_valid_type_attribute_p): Similarly.
17997
17998 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
17999
18000         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
18001         to step through CC modes.
18002
18003 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18004
18005         * regmove.c (fixup_match_1): Don't move INSN in front of P if
18006         it would end up in the shadow of a live flags regsiter.
18007
18008 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18009
18010         * reload1.c: Fix many indentation problems.
18011         * reload.c: Likewise.
18012
18013 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
18014
18015         * alias.c (non_local_reference_p): Constify fmt.
18016
18017 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
18018
18019         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
18020
18021 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
18022
18023         * cse.c (delete_trivially_dead_insns): Do not delete stores to
18024         the internal_arg_pointer.
18025
18026 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
18027
18028         Merge peephole2 from new_ia32_branch:
18029         * Makefile.in (STAGESTUFF): Add *.peephole2.
18030         (mostlyclean): Likewise.
18031         (recog.o): Depend on resource.h.
18032
18033         * final.c (peephole): Conditionalize decl on HAVE_peephole.
18034         (final_scan_insn): Likewise for the invocation of peephole.
18035         * genconfig.c (main): Look for peephole and peephole2 patterns.
18036         Emit HAVE_peephole* accordingly.
18037         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
18038         * flags.h (flag_peephole2): Declare.
18039         * toplev.c: New pass peephole2.  New flag -fpeephole2.
18040
18041         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
18042         * gencodes.c (main): Likewise.
18043         * genextract.c (main): Likewise.
18044         * genoutput.c (main): Likewise.
18045         * genemit.c (max_operand_1): Look for the max scratch operand.
18046         (gen_rtx_scratch): New.
18047         (gen_exp): Use it, and pass on new arg subroutine_type.
18048         (gen_expand): Take max scratch into account.
18049         (gen_split): Emit peephole2 functions.
18050         (output_peephole2_scratch): New.
18051         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
18052         * genrecog.c (routine_type): Add PEEPHOLE2.
18053         (IS_SPLIT): New.
18054         (make_insn_sequence): Match outer parallel for peep2.  Discard
18055         top level scratches and dups.
18056         (add_to_sequence): New args insn_type and top.  Update all callers.
18057         Handle toplevel peep2 matching insns.
18058         (write_subroutine): Handle peep2.
18059         (write_tree_1): Likewise.
18060         (write_tree): Likewise.
18061         (main): Likewise.
18062         (change_state): New arg afterward.  Update all callers.
18063         Handle matching separate insns.
18064         * recog.c (recog_next_insn): New.
18065         (peephole2_optimize): New.
18066         * rtl.def (DEFINE_PEEPHOLE2): New.
18067         * resource.c (find_free_register): New argument last_insn.  Use it
18068         to find a register available through the entire span.
18069         * resource.h (find_free_register): Update prototype.
18070
18071 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
18072
18073         * i386.c (output_strlen_unroll): Don't write xops[7]
18074         label if it wasn't set.
18075
18076 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
18077
18078         * cpplib.c (struct directive): Const-ify name pointer and
18079         function pointer prototype.
18080         (validate_else, do_define, do_line, do_include, do_undef,
18081         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
18082         do_elif, do_endif, do_sccs, do_assert, do_unassert,
18083         do_warning): Const-ify second arg.
18084         (directive_table): Mark const.  Reorder entries by frequency
18085         of usage, record statistics.
18086
18087 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
18088
18089         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
18090         bounds- check RTL accesses if --enable-checking.
18091         (RTVEC_ELT): Bounds check if --enable-checking.
18092         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
18093         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
18094         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
18095         GET_NUM_ELEM.
18096         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
18097         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
18098
18099         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
18100         (NOTE_SOURCE_FILE): Use X0STR.
18101         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
18102         MEM_ALIAS_SET): Use X0INT.
18103         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
18104         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
18105         Use X0EXP.
18106         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
18107         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
18108         (rtl_check_failed_bounds, rtl_check_failed_type1,
18109         rtl_check_failed_type2, rtvec_check_failed_bounds): New
18110         functions.
18111         (fancy_abort): Fix comment.
18112
18113         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
18114         (cse_insn): Decrement LABEL_NUSES for jump target before
18115         deleting jump insn.
18116         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
18117         * final.c (alter_subreg): Compute regno before changing x to
18118         REG; set REGNO(x) after changing it.
18119         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
18120         notes containing CONST_INTs.
18121         (delete_eh_regions): Use NOTE_EH_HANDLER.
18122         * function.c (put_reg_into_stack): Make reg a MEM before
18123         initializing it.
18124         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
18125         delete insn.
18126         (gen_mem_addressof): Make reg a MEM before initializing it.
18127         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
18128         X0WINT.
18129         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
18130         deleting an insn, not after.
18131         (block_alloc): Only look at PATTERN(insn) if we have to, and
18132         only if it's format class 'i'.
18133         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
18134         CONST_INT before using its INTVAL.
18135         * print-rtl.c (print_rtx): Use X0STR.
18136         * regmove.c (fixup_match_1): Don't look at PATTERN of
18137         non-class-'i' insn chain elements.
18138         * reload.c (loc_mentioned_in_p): Take address of
18139         in->fld[1].rtx directly.
18140         * reload1.c (reload): Change reg to a MEM before initializing
18141         it.
18142         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
18143         have no names.
18144         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
18145
18146 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
18147
18148         * config/mips/mips.c (machine_dependent_reorg): Force a
18149         barrier to output the local constant pool if a barrier hasn't
18150         been found at a natural point in the instruction stream.
18151
18152 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18153
18154         * c-parse.in (language_string): Constify.
18155
18156         * dwarf2out.c (language_string): Remove declaration.
18157
18158         * dwarfout.c (language_string): Likewise.
18159
18160         * toplev.c (language_string, init_parse, finish_parse): Likewise.
18161
18162         * tree.h (language_string, init_parse, finish_parse): Declare.
18163
18164         * i386/sun386.h (language_string): Remove declaration.
18165
18166         * mips.h (language_string): Likewise.
18167
18168         * nextstep.h (language_string): Likewise.
18169
18170         * nextstep21.h (language_string): Likewise.
18171
18172         * rs6000.c (language_string): Likewise.
18173
18174 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18175
18176         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
18177         (getpwd.o): Remove target.
18178
18179         * getpwd.c: Delete file.  Its in libiberty now.
18180
18181         * dbxout.c (getpwd): Don't prototype.
18182         * dwarf2out.c (getpwd): Likewise
18183         * dwarfout.c (getpwd): Likewise
18184         * final.c (getpwd): Likewise.
18185         * protoize.c (getpwd): Likewise.
18186
18187 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18188
18189         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
18190
18191 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18192
18193         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
18194         mark_set_resources.
18195
18196 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
18197
18198         * fixinc/Makefile.in (subdir): New.
18199         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
18200         (Makefile): New.
18201
18202 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18203
18204         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
18205         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
18206         be shared.
18207
18208         * invoke.texi: Fix typo.
18209
18210         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
18211         changed.  Handle autoincrement addressing modes.
18212
18213         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
18214         just like we would the virtual incoming args register when
18215         integrating.
18216
18217 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
18218
18219         * rs6000.h (ASM_FILE_START): Specify complete filename, including
18220         path, in .file directive.
18221
18222 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
18223
18224         * gcc.texi (External Bugs): Remove obsolete note about Perl on
18225         SunOS.
18226
18227 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
18228
18229         * stdbool.h: Make the typedef name _Bool, with bool a #defined
18230         alias.
18231
18232 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18233
18234         * tree.c (tree_code_name): Constify a char*.
18235
18236         * tree.h (tree_code_name, decl_printable_name): Likewise.
18237
18238         * function.h (struct function): Likewise.
18239
18240         * toplev.c (decl_name, decl_printable_name): Likewise.
18241
18242         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
18243
18244         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
18245         (init_objc): Remove function pointer cast.
18246
18247 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
18248
18249         * pa.md (interspace_jump): New pattern.
18250         (builtin_longjmp): New expander.
18251
18252 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
18253
18254         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
18255         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
18256         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
18257
18258 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
18259
18260         * jump.c (delete_prior_computation): Also check calls
18261         to constant functions.  Don't bother checking for a
18262         REG_UNUSED note before adding it.
18263         (delete_computation): Handle multi-word hard registers
18264         when synthesizing missing REG_DEAD notes for a register
18265         which is both set and used by an insn.
18266
18267 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18268
18269         * loop.c (this_loop_info): New variable.
18270         (loop_has_call, loop_has_volatile, loop_has_tablejump,
18271         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
18272         All uses updated.
18273         (prescan_loop, strength_reduce): New argument loop_info.  All callers
18274         updated.
18275         (scan_loop): New variable loop_info, initialise to address of
18276         this_loop_info.
18277         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
18278         Delete variable loop_has_multiple_exit targets and replace with
18279         field in this_loop_info.
18280         (find_and_verify_loops): Rename this_loop to this_loop_num.
18281         (strength_reduce): Delete loop_iteration_info.  Replace variable
18282         loop_info with function argument of same name.
18283         (insert_bct): Rework test for loop being completely unrolled.
18284
18285         * loop.h (struct loop_info): New fields num, loops_enclosed,
18286         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
18287         has_indirect_jump, and cont.  Redefine use of unroll_number.
18288         (loop_unroll_number): Delete.
18289
18290         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
18291         field of loop_info.
18292         (loop_iterations): Delete variable vtop and instead use
18293         loop_info->vtop computed in prescan_loop.
18294
18295 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
18296
18297         * fix-header.c (main): Do not pass a null pointer to strcmp.
18298
18299 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
18300
18301         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
18302         filenames.
18303         * configure: Rebuilt.
18304
18305 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
18306
18307         * jump.c (jump_optimize_1): Do not delete assignments to
18308         internal_arg_pointer.
18309         * cse.c (delete_trivially_dead_insns): Always consider a set of
18310         the internal_arg_pointer live.
18311
18312 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
18313
18314         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
18315         (update_life_info) [REG_WAS_0]: Search the original insns rather
18316         than the new insns for the note.  Fix typos finding note_dest.
18317         If no dest found, discard the note rather than abort.
18318         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
18319         (replace_insns): Remove the old insn list after update_life_info
18320         not before.
18321
18322 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
18323
18324         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
18325         sched_analyze_insn.
18326         (sched_analyze_1): Let add_dependence care for not adding dups.
18327         (sched_analyze_2): Likewise.
18328         (add_branch_dependences): Likewise.
18329
18330 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18331
18332         * i386/winnt.c (export_list): New type.
18333         (exports_head): Rename to
18334         (export_head):  this.
18335         (i386_pe_record_exported_symbol): Add is_data flag.
18336         (i386_pe_asm_file_end): Emit directive for exported variables.
18337         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
18338         prototype.
18339         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
18340         (ASM_DECLARE_OBJECT_NAME): Likewise.
18341         (ASM_DECLARE_FUNCTION_NAME): Likewise.
18342         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
18343
18344 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
18345
18346         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
18347
18348         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
18349         operand.
18350
18351 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
18352
18353         * config/openbsd.h: Define SET_ASM_OP.
18354         * tm.texi: cross-reference SET_ASM_OP in the index.
18355
18356 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
18357
18358         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
18359         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
18360         and class_narrowest_mode at compile time.  Kill init_rtl.
18361         Mark rtx_length, mode_class, mode_size, mode_unit_size,
18362         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
18363         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
18364         EXTRA_CC_NAMES.
18365         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
18366         format.
18367         * rtl.h: Declare rtx_length and rtx_format as const.
18368         * machmode.def: Define CC().  Use CC() to define CCmode.  If
18369         EXTRA_CC_MODES is defined, expand it here.
18370         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
18371         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
18372         const.  Kill all references to EXTRA_CC_MODES.
18373
18374         * toplev.c: Don't prototype or call init_rtl.
18375         * optabs.c: Don't call init_mov_optab.
18376         * genemit.c: Don't generate init_mov_optab.  Don't call
18377         init_rtl.
18378         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
18379         here.
18380         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
18381         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
18382         genrecog.c: Don't call init_rtl.
18383
18384         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
18385         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
18386         definition of EXTRA_CC_MODES.
18387
18388         * md.texi: Kill ref to EXTRA_CC_NAMES.
18389         * tm.texi: Document new way to define EXTRA_CC_MODES.
18390
18391         * genrecog.c: Do not look up the name of a define_split.
18392         (Unrelated bugfix.)
18393
18394 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
18395
18396         * config/v850/v850.md: Fix typo introduced by previous delta.
18397
18398 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18399
18400         * gcc.c (fatal): Make definition static to match prototype.
18401
18402 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18403
18404         * combine.c (get_last_value): Don't look for earlier sets if the last
18405         known set is somewhere in between the insns being combined.
18406
18407 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
18408
18409         * configure.in: Don't use shell ! to negate exit codes
18410         * configure: Regenerate
18411
18412 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
18413
18414         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
18415         the fact that ALIGN is measured in bits, not bytes.
18416
18417 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
18418
18419         * errors.c: New file; defines functions error, warning, and
18420         fatal, variables have_error and progname.
18421         * errors.h: New file; prototypes and decls for stuff in errors.c.
18422
18423         * Makefile: Add rules to build errors.o and
18424         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
18425         genopinit, genrecog, genextract, genpeep, genattr, and
18426         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
18427         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
18428         genpeep.o, genattr.o, and genoutput.o.
18429
18430         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
18431         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
18432         define or prototype fatal.  Set progname at beginning of main.
18433         * genoutput.c:  Likewise, and don't define or prototype error
18434         either.
18435
18436         * c-typeck.c (c_expand_start_case): Return immediately if exp
18437         is an ERROR_MARK.
18438         * fold-const.c (operand_equal_p): Return immediately if arg1
18439         or arg0 are ERROR_MARKs.
18440         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
18441         fields of type ERROR_MARK when calculating if the record can
18442         go in a register.
18443
18444 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
18445         with much help from Jeffrey A Law and Richard Henderson
18446
18447         * i386.md: In the 6 insns which call output_fix_trunc,
18448         earlyclobber operands[0].
18449
18450 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
18451
18452         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
18453         creating new registers.
18454
18455 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
18456
18457         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
18458         i386_reg_alloc_order, i386_regparm_string,
18459         i386_align_loops_string, i386_align_jumps_string,
18460         i386_align_funcs_string, i386_preferred_stack_boundary_string,
18461         and i386_branch_cost_string as type "const char *".
18462         * i386.c: Define all above strings as type "const char *".
18463
18464 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
18465
18466         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
18467         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
18468
18469 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
18470
18471         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
18472         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
18473
18474 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
18475
18476         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
18477         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
18478         (dwarf2out_line, dwarf2out_finish): Likewise.
18479         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
18480
18481 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18482
18483         * tree.c (lang_unsave_expr_now) : Correct return type.
18484         * tree.h (lang_unsave_expr_now) : Same.
18485
18486 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
18487
18488         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
18489         instead of duplicating code.
18490
18491 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18492
18493         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
18494
18495 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
18496
18497         * tree.h: fancy_abort always takes three args.
18498         * resource.c: Move include of system.h before toplev.h.
18499
18500 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
18501
18502         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
18503         as SYMBOL_REFs.
18504
18505 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
18506
18507         * system.h: Don't redefine abort or trim_filename.
18508         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
18509         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
18510         whether or not __FUNCTION__ is available.
18511         * tree.h: Duplicate rtl.h's definition of abort, for files
18512         that don't include rtl.h.  Delete all code to perform type
18513         checking with a compiler other than GCC.
18514         * varray.h: Delete all code to perform type checking with a
18515         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
18516         its arguments exactly once, using a statement expression.
18517         Adjust the VARRAY_<type> accessor macros to match.
18518         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
18519         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
18520         caller's location.  Define fatal_insn and fatal_insn_not_found
18521         as macros that use _fatal_insn and _fatal_insn_not_found.
18522         (fancy_abort, trim_filename): Kill prototypes.
18523
18524         * rtl.c (trim_filename): Move here from toplev.c.
18525         (fancy_abort): New function.
18526         (DIR_SEPARATOR): Provide default definition.
18527         * tree.c (tree_check_failed, tree_class_check_failed): Go
18528         through fancy_abort.
18529         (tree_check, tree_class_check, cst_or_constructor_check,
18530         expr_check): Delete.
18531         * varray.c (varray_check_failed): New function.
18532         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
18533         _fatal_insn and _fatal_insn_not_found.  Go through
18534         fancy_abort.
18535         (trim_filename, fancy_abort): Delete.
18536
18537         * builtins.c (expand_builtin_args_info): Report ICE with abort.
18538         * except.c (start_catch_handler): Report ICE with error/abort
18539         combo.
18540         * final.c (output_operand_lossage): Likewise.
18541         * flow.c (verify_flow_info): Likewise.
18542
18543         * gcc.c: Prototype fatal.
18544         * gengenrtl.c: Undef abort after including rtl.h not system.h.
18545         * genattr.c, genattrtab.c, genemit.c, genextract.c,
18546         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
18547         Don't define fancy_abort.
18548
18549 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
18550
18551         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
18552         canonization.
18553
18554 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
18555
18556         * m88k.h (VERSION_INFO2): Kill.
18557         (VERSION_STRING): Kill.
18558         (TM_RCS_ID): Kill.
18559         (VERSION_INFO1): Tidy.
18560         (TARGET_VERSION): Update.
18561         * m88k/dgux.h (VERSION_INFO2): Kill.
18562         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
18563         * m88k/luna.h (VERSION_INFO1): Tidy.
18564         * m88k/sysv4.h (VERSION_INFO1): Likewise.
18565         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
18566         (output_file_start): Adjust for death of VERSION_STRING.
18567
18568 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
18569
18570         * cpplib.c (detect_if_not_defined): New function.
18571         (do_if): Use it to detect potential once-only headers.
18572
18573 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
18574
18575         * c-common.c (combine_strings): Always set TREE_CONSTANT.
18576
18577 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18578
18579         * combine.c (nonzero_bits) : Allow single-ly set registers to be
18580         anywere in the function only if they are pseudos and set before
18581         being used (not live at the start of the function).
18582         (num_sign_bit_copies) : Same.
18583         (get_last_value_validate) : Same.
18584         (get_last_value) : Same.
18585
18586 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
18587
18588         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
18589         where N and M are constant and N is an integer multiple of M.
18590
18591 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18592
18593         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
18594         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
18595         sbitmap_union_of_preds): Add prototypes.
18596         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
18597         the intersection of successors with the new flow graph structures.
18598         (sbitmap_intersection_of_preds): New function to compute the
18599         intersection of predecessors with the new flow graph structures.
18600         (sbitmap_union_of_succs): New function to compute the union of
18601         successors with the new flow graph structures.
18602         (sbitmap_union_of_preds): New function to compute the union of
18603         predecessors with the new flow graph structures.
18604         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
18605         (expr_reaches_here_p): Use edge and basic_block structures instead
18606         of s_preds and s_succs.
18607         (compute_cprop_avinout): Use new sbitmap routines.
18608         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
18609         of s_preds and s_succs.
18610         * flow.c (compute_flow_dominators): Compute dominators using
18611         edges and basic blocks instead of s_preds and s_succs.
18612
18613 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18614
18615         * lists.c (unused_insn_list, unused_expr_list): New file for
18616         maintaining various types of lists. New statics for maintaining a
18617         cache of available INSN_LIST and EXPR_LIST nodes.
18618         (free_list): Static function for freeing a list of INSN/EXPR nodes.
18619         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
18620         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
18621         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
18622         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
18623         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
18624         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
18625         (free_INSN_LIST_node): Free an individual INSN_LIST node.
18626         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
18627         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
18628         (remove_dependence, free_pending_lists): Use new global routines.
18629         (flush_pending_lists, sched_analyze_insn): Use new global routines.
18630         (sched_analyze, compute_block_backward_dependences): Use new routines.
18631         (sched_analyze_1, sched_analyze_2): Use new routines.
18632         (schedule_insns): Use new global routines.
18633         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
18634         prototypes.
18635         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
18636         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
18637         prototypes.
18638         * toplev.c (rest_of_compilation): Initialize node cache.
18639         * Makefile.in (OBJS): Add lists.o to list of object files.
18640         (lists.o): Add dependancies.
18641
18642 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
18643
18644         * config/v850/v850.md: Fix compile time warning messages.
18645         * config/v850/v850.c: Fix compile time warning messages.
18646         * config/v850/v850.h: Fix compile time warning messages.
18647
18648 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18649
18650         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
18651         Remove unused prototype for `init_lengths'.
18652
18653 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18654
18655         * calls.c (emit_call_1): Mark parameter `stack_size' with
18656         ATTRIBUTE_UNUSED.
18657         (expand_call): Initialize variable `insn'.
18658         (emit_library_call): Likewise for variable `high_to_save'.
18659         (emit_library_call_value): Likewise.
18660         (store_one_arg): Likewise for variables `lower_bound' and
18661         `upper_bound'.
18662
18663         * combine.c (try_combine): Likewise for variables `i2_code_number'
18664         and `other_code_number'.
18665         (find_split_point): Likewise for variables `pos', `unsignedp' and
18666         `inner'.
18667         (simplify_if_then_else): Likewise for variables `op' and `c1'.
18668         (simplify_and_const_int): Remove unused variable `width'.
18669         (merge_outer_ops): Likewise.
18670
18671         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
18672         HOST_WIDE_INT' when comparing against one.
18673         (simplify_relational_operation): Likewise.
18674         (cse_insn): Initialize variables `src_eqv_volatile',
18675         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
18676
18677         * final.c (init_final): Constify parameter `filename'.
18678         (final_start_function): Mark parameter `optimize' with
18679         ATTRIBUTE_UNUSED.
18680         (profile_function): Likewise for parameters `first' and `optimize'.
18681         (output_source_line): Likewise for parameter `file'.
18682
18683         * integrate.c (subst_constants): Cast a value to `size_t' when
18684         comparing against one.
18685         (mark_stores): Initialize variable `mode'.  Cast a value to
18686         `size_t' when comparing against one.
18687
18688         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
18689
18690         * loop.c (move_movables): Initialize variable `first'.
18691         (strength_reduce): Likewise for variable `increment'.
18692         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
18693         value to `size_t' when comparing against one.
18694         (load_mems): Initialize variable `end_label'.
18695
18696         * output.h (init_final): Constify parameter.
18697
18698         * reload.c (decompose): Initialize variable `base'.
18699
18700         * reload1.c (reload): Likewise for variable `is_scalar'.
18701         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
18702         (choose_reload_regs): Initialize variable `mode'.
18703         (emit_reload_insns): Likewise for variable `store_insn'.
18704         (reload_cse_noop_set_p): Mark parameter `insn' with
18705         ATTRIBUTE_UNUSED.
18706         (reload_combine): Initialize variable `set'.
18707
18708         * unroll.c (unroll_loop): Likewise for variable `local_label'.
18709         (copy_loop_body): Cast a value to `size_t' when comparing against
18710         one.
18711
18712         * varasm.c (assemble_variable): Initialize variable `size_tree'.
18713         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
18714         (remove_from_pending_weak_list): Mark parameter `name' with
18715         ATTRIBUTE_UNUSED.
18716
18717 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18718
18719         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
18720         gcse dump file.
18721
18722 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
18723
18724         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
18725         (ASM_DECLARE_FUNCTION_NAME): Define.
18726         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
18727         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
18728         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
18729         not already defined.
18730
18731 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
18732
18733         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
18734         of n_popped when call/call_value are not defined.
18735
18736 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
18737
18738         * tm.texi: GNU CC -> GCC conversion.
18739         (CC1_SPEC): Indicate it is used for all language front ends.
18740
18741 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
18742
18743         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
18744         NOTE_INSN_EH_REGION_END correctly.
18745
18746 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
18747                           Jeff Law <law@cygnus.com>
18748
18749         * loop.c (strength_reduce): Automatically unroll loops if the
18750         unrolled loop size is smaller than the rolled loop size.
18751
18752         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
18753         and delete comment that code should be rewritten.
18754
18755 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
18756
18757         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
18758         as reachable.
18759
18760         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
18761
18762 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18763
18764         * fixinc/mkfixinc.sh: Don't fix uwin headers.
18765         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
18766         (LINK_SPEC): Add -u _main when building executables.
18767         (ASM_DECLARE_FUNCTION): Update from Cygwin.
18768         (ASM_FILE_END): Use the default for ix86-pe.
18769         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
18770
18771 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
18772
18773         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
18774         and ASM_CLOSE_PAREN are empty strings.
18775
18776 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
18777                           Geoffrey Keating <geoffk@cygnus.com>
18778
18779         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
18780         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
18781         (unprotoize.o): Ditto.
18782         (test-protoize-simple): Don't define STD_PROTO_DIR.
18783         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
18784         changes to make 'test-protoize-simple' pass.
18785         (STD_PROTO_DIR): Remove define.
18786         (STANDARD_EXEC_PREFIX): Supply default define.
18787         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
18788         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
18789         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
18790         (GET_ENV_PATH_LIST): New macro.
18791         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
18792         (do_processing): Initialize default_syscalls_dir using new
18793         macros.  Use it to initialize syscalls_absolute_filename.
18794
18795 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
18796
18797         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
18798         B into a register before emit_conditional_move.
18799
18800 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
18801
18802         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
18803         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
18804         multiplicand out of (+ (* a b) (* c d)).
18805
18806 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
18807                           Richard Henderson  <rth@cygnus.com>
18808
18809         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
18810         (new_insn_dead_notes): Likewise.
18811         (update_n_sets): Likewise.
18812         (update_flow_info): Move to flow.c, renamed to update_life_info;
18813         extend to handle multiple source insns.
18814         * flow.c: Include resource.h
18815         (unlink_insn_chain): New.
18816         (split_hard_reg_notes): New.
18817         (maybe_add_dead_note): New.
18818         (maybe_add_dead_note_use): New.
18819         (find_insn_with_note): New.
18820         (new_insn_dead_notes): New.
18821         (update_n_sets): New.
18822         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
18823         (maybe_remove_dead_notes): New.
18824         (update_life_info): New.
18825         (prepend_reg_notes): New.
18826         (replace_insns): New.
18827         * output.h (update_life_info): Declare.
18828         * recog.c (split_block_insns): Use update_life_info.
18829         * resource.c (find_free_register): Use reg_alloc_order, don't use
18830         fixed regs, make sure the mode is supported, don't use new regs.
18831         (reg_dead_p): New.
18832         * rtl.h (replace_insns): Declare.
18833
18834 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
18835
18836         * expr.c (expand_expr): Cope with COND_EXPRs with one
18837         non-returning branch.
18838
18839 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
18840
18841         * expr.c (store_expr): Always pass down the target, even when not
18842         doing CSE.
18843
18844 1999-08-24  Nick Clifton  <nickc@cygnus.com>
18845
18846         * configure.in: Define target_cpu_default for v850 targets.
18847         * configure: Regenerate
18848
18849         * config/v850/v850.h (TARGET_CPU_generic): Define.
18850         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
18851         addresses are 4 byte aligned.
18852
18853         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
18854         addresses.
18855
18856 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18857
18858         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
18859         (main): Add prototypes.
18860
18861         * genattrtab.c (substitute_address, write_const_num_delay_slots,
18862         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
18863         (write_attr_get): Emit prototypes along with function definition.
18864         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
18865         (write_complex_function): Emit static prototype along with
18866         function definition.
18867
18868         * genemit.c (gen_split): Emit prototypes along with function
18869         definition.
18870
18871         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
18872         Likewise for predicates and `insn_operand_predicate'.
18873         (process_template): Emit static prototype along with function
18874         definition.
18875
18876         * genrecog.c (make_insn_sequence): Constify a char*.  Add
18877         prototypes for get_split_*().
18878         (write_subroutine): Emit prototypes along with function
18879         definition.
18880
18881 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18882
18883         * gcse.c (find_avail_set): Follow chains of register-register copies.
18884         Use oprs_not_set_p to guarantee that the returned value can be
18885         substituted.
18886         (cprop_insn): Don't verify the return value of find_avail_set with
18887         oprs_not_set_p.
18888
18889         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
18890         (cprop_cc0_jump): New function.
18891         (cprop_insn): Break out new function cprop_jump and use it.
18892         Also use cprop_cc0_jump for machines with CC0.
18893         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
18894
18895         * tree.h (current_function_calls_setjmp,
18896         current_function_calls_longjmp): Delete declarations.
18897         * dsp16xx.c: Include "function.h".
18898         * elxsi.c: Likewise.
18899         * gmicro.c: Likewise.
18900         * h8300.c: Likewise.
18901         * i370.c: Likewise.
18902         * m32r.c: Likewise.
18903         * mn10200.c: Likewise.
18904         * mn10300.c: Likewise.
18905         * ns32k.c: Likewise.
18906         * spur.c: Likewise.
18907         * v850.c: Likewise.
18908
18909         * rtl.h (rtx_equal_function_value_matters): Declare.
18910         * toplev.c (rtx_equal_function_value_matters): Don't declare.
18911         * cse.c: Likewise.
18912         * function.c: Likewise.
18913         * emit-rtl.c: Likewise.
18914
18915 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
18916
18917         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
18918         call.
18919
18920 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18921
18922         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
18923         exactly.
18924
18925 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
18926
18927         * cpp.texi: Add a node documenting macro varargs (copied
18928         from extend.texi).
18929
18930 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
18931
18932         * cppspec.c: Put a null pointer at the end of the new argv.
18933
18934 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
18935
18936         * configure.in: Remove code to select/de-select the haifa
18937         scheduler.  Every scheduled port gets haifa now.
18938         * configure: Rebuilt.
18939         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
18940         * sched.c Deleted.
18941         * Makefile.in: Corresponding changes.
18942
18943 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18944
18945         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
18946         All callers changed.
18947         (prepare_float_lib_cmp): Likewise.
18948         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
18949         * expr.h (emit_float_lib_cmp): Delete declaration.
18950         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
18951         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
18952         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
18953         specially.
18954         (cmptf): Now conditional on TARGET_HARD_QUAD.
18955
18956 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
18957
18958         * resource.c (mark_target_live_regs): Use
18959         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
18960
18961 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18962
18963         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
18964
18965         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
18966
18967         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
18968
18969 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18970
18971         * rtl.h (rtx_format): Constify a char*.
18972
18973         * rtl.c (rtx_format): Likewise.
18974         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
18975         (init_rtl): Use accessor macro, not `rtx_format'.
18976
18977         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
18978         char*.
18979
18980         * caller-save.c (mark_referenced_regs): Likewise.
18981
18982         * combine.c (subst, make_compound_operation, known_cond,
18983         gen_rtx_combine, update_table_tick, get_last_value_validate,
18984         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
18985
18986         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
18987         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
18988         count_reg_usage): Likewise.
18989
18990         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
18991         Likewise.
18992
18993         * final.c (leaf_renumber_regs_insn): Likewise.
18994
18995         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
18996         dump_edge_info, count_reg_references): Likewise.
18997
18998         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
18999         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
19000         Likewise.
19001
19002         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
19003         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
19004         add_label_notes): Likewise.
19005
19006         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
19007         clear_struct_flag, count_sub_rtxs, count_alternatives,
19008         compares_alternatives_p, contained_in_p, walk_attr_value,
19009         write_expr_attr_cache): Likewise.
19010
19011         * genconfig.c (walk_insn_part): Likewise.
19012
19013         * genemit.c (max_operand_1, gen_exp): Likewise.
19014
19015         * genextract.c (walk_rtx): Likewise.
19016
19017         * genflags.c (num_operands): Likewise.
19018
19019         * genoutput.c (scan_operands): Likewise.
19020
19021         * genpeep.c (match_rtx): Likewise.
19022
19023         * genrecog.c (add_to_sequence): Likewise.
19024
19025         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
19026         Likewise.
19027
19028         * integrate.c (save_constants, copy_for_inline,
19029         copy_rtx_and_substitute, subst_constants, restore_constants):
19030         Likewise.
19031
19032         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
19033         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
19034
19035         * local-alloc.c (contains_replace_regs, memref_referenced_p):
19036         Likewise.
19037
19038         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
19039         add_label_notes, replace_call_address, count_nonfixed_reads,
19040         invariant_p, find_single_use_in_loop, find_mem_givs,
19041         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
19042         Likewise.
19043
19044         * print-rtl.c (reg_names, print_rtx): Likewise.
19045
19046         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
19047
19048         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
19049         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
19050         print_blocks): Likewise.
19051
19052         * regclass.c (fix_register, record_address_regs,
19053         reg_scan_mark_refs): Likewise.
19054
19055         * regmove.c (stable_but_for_p): Likewise.
19056
19057         * reload.c (loc_mentioned_in_p, operands_match_p,
19058         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
19059         copy_replacements, refers_to_regno_for_reload_p,
19060         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
19061         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
19062         Likewise.
19063
19064         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
19065         delete_address_reloads_1, count_occurrences,
19066         reload_cse_mem_conflict_p, reload_combine_note_use,
19067         add_auto_inc_notes): Likewise.
19068
19069         * resource.c (mark_referenced_resources, mark_set_resources):
19070         Likewise.
19071
19072         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
19073         reg_mentioned_p, regs_set_between_p, modified_between_p,
19074         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
19075         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
19076         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
19077         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
19078
19079         * sched.c (sched_analyze_2, attach_deaths): Likewise.
19080
19081         * stupid.c (stupid_mark_refs): Likewise.
19082
19083         * unroll.c (remap_split_bivs): Likewise.
19084
19085         * varasm.c (mark_constants): Likewise.
19086
19087         * a29k/a29k.c (uses_local_reg_p): Likewise.
19088
19089         * alpha/alpha.c (summarize_insn): Likewise.
19090
19091         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
19092         eliminate_lr2ip): Likewise.
19093
19094         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
19095
19096         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
19097         reg_mentioned_in_mem): Likewise.
19098
19099         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
19100         symbolic_reference_mentioned_p): Likewise.
19101
19102         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
19103
19104         * sh/sh.c (regs_used, mark_use): Likewise.
19105
19106         * vax/vax.c (vax_rtx_cost): Likewise.
19107
19108 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19109
19110         * machmode.h (mode_name): Constify a char*.
19111
19112         * rtl.c (mode_name): Likewise.
19113
19114         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
19115
19116         * optabs.c (init_libfuncs): Constify a char*.
19117
19118         * print-tree.c (mode_name): Remove redundant declaration.
19119         (print_node): Use accessor macro, not `mode_name'.
19120
19121         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
19122         not `mode_name'.
19123         (new_spill_reg): Constify a char*.
19124
19125         * tree.c (mode_name): Remove redundant declaration.
19126
19127 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19128
19129         * rtl.c (rtx_name): Constify a char*.
19130
19131         * rtl.h (rtx_name, fix_sched_param): Likewise.
19132
19133         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
19134         (mypr): Use accessor macro, not `rtx_name'.
19135
19136         * genemit.c (print_code): Constify a char*.
19137
19138         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
19139
19140         * genpeep.c (print_code): Constify a char*.
19141
19142         * genrecog.c (print_code): Likewise.
19143
19144         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
19145         end_bb): Add static prototype.
19146         (draw_edge): Constify a char*.
19147         (end_bb): Remove unused parameter.
19148
19149         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
19150         print_block_visualization): Constify a char*.
19151
19152 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
19153
19154         * c-common.c (c_get_alias_set): Update comment.
19155
19156 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19157
19158         * linux.h (LIB_SPEC): Added.
19159
19160 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19161
19162         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
19163
19164 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
19165
19166         * tree.c (expr_check): Fix typo in last change.
19167
19168 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
19169
19170         * rtl.def (NOTE): Change format to "iuu0n".
19171         (ADDR_DIFF_VEC): Change format to "eEee0".
19172         (ADDRESSOF): Change format to "eit".
19173
19174         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
19175         (RTVEC_ELT): Change to match.
19176         (XVECEXP): Use XVEC and RTVEC_ELT.
19177         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
19178         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
19179         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
19180         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
19181         TRAP_CONDITION, TRAP_CODE): Use XEXP.
19182         (INTVAL): Use XWINT.
19183         (ADDRESSOF_DECL): Use XTREE.
19184         (SET_ADDRESSOF_DECL): Delete.
19185         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
19186         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
19187         ifdefed out since 2.6 at least.
19188         (gen_rtvec_vv): Delete prototype.
19189
19190         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
19191         not rtunion.
19192         (copy_most_rtx): Handle 't' format letter.
19193         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
19194         (gen_rtvec_vv): Delete function.  All callers changed to use
19195         gen_rtvec_v instead.
19196         * print-rtl.c (print_rtx): Move special casing of NOTEs to
19197         the '0' format letter.
19198
19199         * function.c (gen_mem_addressof): Don't use
19200         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
19201         instead.
19202         * integrate.c (copy_rtx_and_substitute): Likewise.
19203         Copy 't' slots with XTREE.
19204         (subst_constants): Treat 't' slots like '[swi]' slots.
19205         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
19206         * jump.c (rtx_equal_for_thread_p): Likewise.
19207         * rtlanal.c (rtx_equal_p): Likewise.
19208         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
19209         only four arguments.
19210         * gengenrtl.c (type_from_format): Provide correct types for
19211         'b' and 't' slots.
19212
19213
19214         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
19215         If a recent gcc is in use (always in stage2 and beyond), use
19216         statement expressions, so we don't make a function call unless
19217         the check fails.  Evaluate arguments exactly once.
19218         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
19219         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
19220         Delete.
19221         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
19222         they evaluate their arguments exactly once, irrespective of
19223         the compiler in use.
19224
19225         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
19226         is used by the currently-enabled check macros.  This is:
19227         (tree_check_failed, tree_class_check_failed): For gcc.
19228         (tree_check, tree_class_check, cst_or_constructor_check,
19229         expr_check): For other compilers.
19230
19231         * gencheck.c: Do not define any *_CHECK1 macros.
19232
19233 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
19234                           Mark Mitchell <mark@codesourcery.com>
19235
19236         * c-common.c (c_get_alias_set): Fix support for poitners and
19237         references.
19238
19239 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
19240
19241         * alias.c: Include tree.h.
19242         (nonlocal_reference_p, mark_constant_function): New functions.
19243         * flow.c (life_analysis): Call mark_constant_function.
19244         * rtl.h (mark_constant_function): Declare it.
19245
19246 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
19247
19248         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
19249         unrecognisable switches.
19250
19251 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19252
19253         * loop.c (recombine_givs): Set ix field after sorting.
19254         (recombine_givs): Remove bogus index / giv lockstep looping.
19255
19256 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19257
19258         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
19259         on CODE.
19260         (emit_store_flag_force): Use do_compare_rtx_and_jump.
19261         (do_cmp_and_jump): Formatting fixes.
19262         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
19263         do_compare_rtx_and_jump instead of compare_from_rtx.
19264         (do_compare_rtx_and_jump): New function; mostly copied from
19265         compare_from_rtx.
19266         (do_jump_for_compare): Delete.
19267         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
19268         MIN_EXPR.
19269         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
19270         of compare/do_jump_for_compare pairs.
19271         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
19272         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
19273         compare_from_rtx/do_jump_for_compare pairs.
19274         (do_jump_by_parts_equality): Likewise.
19275         (do_jump_by_parts_equality_rtx): Likewise.
19276         * expr.h (do_compare_rtx_and_jump): Declare.
19277         * optabs.c (prepare_cmp_insn): New function, contains most of the code
19278         that used to be in emit_cmp_insn.
19279         (cmp_available_p): New function.
19280         (prepare_operand): New function.
19281         (emit_cmp_and_jump_insn_1): New function, contains some code that used
19282         to be in emit_cmp_insn.
19283         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
19284         parameters to be pointers; don't emit final compare but modify some of
19285         the values pointed to by the args so the caller can perform the
19286         correct comparison.
19287         (expand_binop): Call emit_store_flag_force with signed forms of
19288         comparison code.
19289         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
19290         emit_jump_insn pair.
19291         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
19292         emit_cmp_and_jump_insn_1.  Call emit_queue.
19293         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
19294         arg.
19295         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
19296         jump sets cc0 before deleting it.
19297         * integrate.c (expand_inline_function): Likewise.
19298         * unroll.c (unroll_loop): Similar changes in several places.
19299         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
19300         before deleting it.
19301
19302 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19303
19304         * Makefile.in (insn-recog.o): Update dependencies.
19305         * genrecog.c (main): Make generated file include "function.h".
19306
19307 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
19308
19309         * cse.c (cse_insn): Call never_reached_warning when a jump is
19310         changed to be unconditional.
19311         * flags.h: Declare warn_notreached.
19312         * flow.c (delete_block): Call never_reached_warning when
19313         a block is deleted.
19314         * jump.c (delete_barrier_successors): Call never_reached_warning
19315         when we delete everything after a BARRIER.
19316         (never_reached_warning): New function.
19317         * rtl.h: Declare never_reached_warning.
19318         * toplev.c (warn_notreached): New variable.
19319         (lang_independent_options): Set warn_notreached
19320         when -Wunreachable-code.
19321         (compile_file): We need line numbers for -Wunreachable-code.
19322
19323 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
19324
19325         * haifa-sched.c (insn_unit): Fix typo on out of range test.
19326         * sched.c (insn_unit): Likewise.
19327
19328 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
19329
19330         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
19331
19332 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19333
19334         * flow.c (create_edge_list): Use xmalloc, not malloc.
19335
19336 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
19337
19338         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
19339         C-style comments.  Do not lose the character before double slash.
19340
19341 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19342
19343         * basic-block.h (struct edge_list): Stucture to maintain a vector
19344         of edges.
19345         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
19346          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
19347         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
19348         New function prototypes.
19349         * flow.c (create_edge_list): Function to create an edge list.
19350         (free_edge_list): Discards memory used by an edge list.
19351         (print_edge_list): Debug output showing an edge list.
19352         (verify_edge_list): Internal consistency check for an edge list.
19353         (find_edge_index): Function to find an edge index for a pred and succ.
19354
19355 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
19356
19357         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
19358         hashtable.
19359
19360 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
19361
19362         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
19363
19364 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
19365
19366         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
19367
19368 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
19369
19370         * toplev.c (rest_of_compilation): Allow machine dependent
19371         reorganisation pass to place information into the RTL dump
19372         file if it so wishes.
19373
19374 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
19375
19376         * explow.c (hard_function_value): Use VOIDmode instead of
19377         MAX_MACHINE_MODE.
19378         * stmt.c (expand_return): Likewise.
19379         * stor-layout.c (get_best_mode): Likewise.
19380
19381         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
19382         emit call instead of emit_insn call.
19383
19384 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19385
19386         * configure.in: Handle --disable/enable-win32-registry.
19387         * install.texi: Document --disable/enable-win32-registry.
19388         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
19389         (WIN32_REGISTRY_KEY): New macro.
19390         * prefix.c: Use to enable/disable win32-specific code.
19391         (lookup_key): Use versioned key.
19392         * configure: Regenerate.
19393         * config.in: Likewise.
19394
19395 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
19396
19397         * cpplib.c (read_line_number): New fn, split out of...
19398         (do_line): Here.
19399
19400 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19401
19402         tree.c (lang_unsave_expr_now) : New.
19403         (unsave_expr_now): Call lang_unsave_expr_now.
19404         tree.h (lang_unsave_expr_now) : New.
19405
19406 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
19407
19408         * toplev.c (flag_new_exceptions): On by default.
19409
19410 1999-08-13  Michael Meissner  <meissner@cygnus.com>
19411
19412         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
19413
19414 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19415
19416         * dwarfout.c (fundamental_type_code): Return FT_boolean for
19417         INTEGER_TYPE with precision==1, it's __java_boolean.
19418
19419 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19420
19421         * global.c (prune_preferences): Move some invariants out of the
19422         inner loop.
19423
19424 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
19425
19426         * configure.in (alpha*-dec-osf*): Add osf5.
19427
19428 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
19429
19430         * configure.in: Rework handling of ARM GNU/Linux slightly.
19431         (arm*-*-linux-gnuoldld): New target.
19432         * configure: Regenerate.
19433         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
19434         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
19435         * config/arm/linux-oldld.h: New file.
19436         * config/arm/linux-elf26.h: Don't include linux-elf.h.
19437         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
19438         Don't define.
19439         * config/arm/linux-elf.h (ASM_SPEC): Define.
19440         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
19441         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
19442         for 26-bit APCS and old linker.
19443         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
19444         `arm_elf'.
19445         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
19446         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
19447         don't define `arm' or `arm_elf'.
19448         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
19449         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
19450
19451 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
19452
19453         * rtl.texi: Fix typo.
19454
19455 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
19456
19457         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
19458
19459 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
19460
19461         * extend.texi (C++ Signatures): Remove node.
19462         * invoke.texi: Remove discussion of -fhandle-signatures,
19463         signature, sigof, __signature__, and __sigof__.
19464
19465 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
19466
19467         * Makefile.in (JAVAGC): Removed.
19468
19469 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19470
19471         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
19472
19473 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
19474
19475         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
19476
19477 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
19478
19479         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
19480         a register that is already known to be a pointer.
19481
19482 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
19483
19484         * fixinc/inclhack.tpl: Only install assert.h conditionally.
19485         * fixinc/inclhack.sh: Regenerated.
19486         * fixinc/fixincl.sh: Regenerated.
19487
19488 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
19489
19490         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
19491         Fix documentation of -ansi flag to describe its C++ behavior.
19492         Remove bogus reference to GCC 2.9.
19493
19494 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
19495
19496         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
19497         note if it is non-NULL.
19498
19499 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19500
19501         * except.h (eh_nesting_info): Add new structure defintion.
19502         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
19503         (reachable_handlers, update_rethrow_references): Add function
19504         prototypes.
19505         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
19506         a rethrow symbol instead of an integer exception region number.
19507         * flow.c (Make_edges): Use new exception nesting routines to determine
19508         which handlers are reachable from a CALL or asynchronous insn.
19509         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
19510         goto receivers.
19511         (delete_eh_regions): Update rethrow labels, and don't delete
19512         regions which are the target of a rethrow.
19513         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
19514         avoid overloading the SYMBOL_REF_USED flag.
19515         (rethrow_symbol_map): Use new rethrow_ref field.
19516         (rethrow_used): Use new rethrow_ref field.
19517         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
19518         of an integer.  Fix formatting.
19519         (output_exception_table_entry): Use new rethrow_ref field.
19520         (can_throw): Check for EH_REGION_NOTE before deciding
19521         whether a CALL can throw or not.
19522         (scan_region): Call rethrow_used() instead of accessing data structure.
19523         (update_rethrow_references): New function to make sure only regions
19524         which are still targets of a rethrow are flagged as such.
19525         (process_nestinfo): New static function to initialize a handler
19526         list for a specific region.
19527         (init_eh_nesting_info): New function to allocate and initialize
19528         the list of all EH handlers reachable from all regions.
19529         (reachable_handlers): New function to retrieve the list of handlers
19530         reachable from a specific region and insn.
19531         (free_eh_nesting_info): New function to dispose of a list of
19532         reachable handlers.
19533
19534 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19535
19536         * flow.c (split_edge): Set JUMP_LABEL field.
19537         (commit_one_edge_insertion): Set head correctly for insert_before.
19538         When inserting insns, update insn block numbers if allocated.
19539
19540 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19541
19542         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
19543         retry_incomplete_types): Add static prototype.
19544         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
19545         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
19546         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
19547         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
19548         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
19549         Constify a char*.
19550
19551         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
19552         dwarf2out_start_source_file, dwarf2out_line): Likewise.
19553
19554 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19555
19556         * output.h (assemble_name): Constify a char*.
19557
19558         * varasm.c (UNIQUE_SECTION, assemble_start_function,
19559         assemble_variable, assemble_name): Likewise.
19560
19561         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
19562
19563         * arm/pe.c (arm_pe_unique_section): Likewise.
19564
19565         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
19566
19567         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
19568
19569         * i386/interix.c (i386_pe_unique_section): Likewise.
19570
19571         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
19572
19573         * i386/winnt.c (i386_pe_unique_section): Likewise.
19574
19575         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
19576
19577         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
19578
19579         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
19580
19581         * pa/pa.c (output_call): Likewise.
19582
19583         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
19584
19585         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
19586
19587         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
19588         Likewise.
19589
19590         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
19591         Likewise.
19592
19593         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
19594
19595         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
19596         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
19597
19598         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
19599
19600 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19601
19602         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
19603
19604 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19605
19606         * tree.h (lang_identify): Constify a char*.
19607         (print_error_function): Add extern prototype.  Constify a char*.
19608
19609         * c-lang.c (lang_identify): Constify a char*.
19610
19611         * objc/objc-act.c (lang_identify): Constify a char*.
19612
19613 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19614
19615         * genpeep.c (main): Make generated file include "function.h".
19616         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
19617
19618 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19619
19620         * Makefile.in: Update dependencies.
19621         * alias.c: Include "function.h"
19622         * c-decl.c: Likewise.
19623         * caller-save.c: Likewise.
19624         * calls.c: Likewise.
19625         * combine.c: Likewise.
19626         * cse.c: Likewise.
19627         * explow.c: Likewise.
19628         * final.c: Likewise.
19629         * global.c: Likewise.
19630         * graph.c: Likewise.
19631         * local-alloc.c: Likewise.
19632         * loop.c: Likewise.
19633         * optabs.c: Likewise.
19634         * profile.c: Likewise.
19635         * recog.c: Likewise.
19636         * regclass.c: Likewise.
19637         * regmove.c: Likewise.
19638         * reload.c: Likewise.
19639         * reorg.c: Likewise.
19640         * resource.c: Likewise.
19641         * sched.c: Likewise.
19642         * stupid.c: Likewise.
19643         * config/1750a/1750a.c: Likewise.
19644         * config/a29k/a29k.c: Likewise.
19645         * config/arc/arc.c: Likewise.
19646         * config/arm/arm.c: Likewise.
19647         * config/arm/thumb.c: Likewise.
19648         * config/c4x/c4x.c: Likewise.
19649         * config/clipper/clipper.c: Likewise.
19650         * config/convex/convex.c: Likewise.
19651         * config/fx80/fx80.c: Likewise.
19652         * config/i860/i860.c: Likewise.
19653         * config/m68k/m68k.c: Likewise.
19654         * config/m88k/m88k.c: Likewise.
19655         * config/mips/mips.c: Likewise.
19656         * config/pdp11/pdp11.c: Likewise.
19657         * config/pyr/pyr.c: Likewise.
19658         * config/romp/romp.c: Likewise.
19659         * config/sh/sh.c: Likewise.
19660         * config/tahoe/tahoe.c: Likewise.
19661         * config/vax/vax.c: Likewise.
19662         * config/we32k/we32k.c: Likewise.
19663         * config/sparc/sparc.c: Include "function.h".
19664         (mem_min_alignment): Test current_function rather than
19665         regno_pointer_align.
19666         * config/pa/pa.c: Likewise.
19667         (compute_frame_size): Delete declaration of
19668         current_function_outgoing_args_size.
19669         * config/arc/arc.h (current_function_varargs): Delete declaration.
19670         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
19671         declaration.
19672         * config/i370/i370.h (current_function_outgoing_args_size): Delete
19673         declaration.
19674         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
19675         current_function_uses_pic_offset_table.
19676         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
19677         of current_function_returns_pointer.
19678         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19679         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19680         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19681         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19682         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19683         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19684         * config/m88k/m88k.c: Include "function.h"
19685         (call_used_regs, current_function_pretend_args_size,
19686         current_function_outgoing_args_size, frame_pointer_needed): Delete
19687         declarations.
19688         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
19689         declaration.
19690         * config/mips/mips.h (current_function_calls_alloca): Delete
19691         declaration.
19692         * config/mn10200/mn10200.h (current_function_needs_context,
19693         rtx_equal_function_value_matters): Delete declarations.
19694         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
19695         flag_pic): Delete declarations.
19696         * config/pa/pa.h (current_function_pretend_args_size,
19697         current_function_decl): Delete declarations.
19698         * config/pa/som.h (current_function_varargs): Delete declaration.
19699         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
19700         declaration.
19701         * config/pyr/pyr.h (current_function_pretend_args_size,
19702         current_function_args_size, current_function_calls_alloca): Delete
19703         declarations.
19704         * config/sh/sh.h (current_function_varargs): Delete declaration.
19705         * config/sparc/sparc.h (current_function_outgoing_args_size,
19706         current_function_calls_alloca, current_function_decl): Delete
19707         declarations.
19708         * config/spur/spur.h (current_function_pretend_args_size,
19709         current_function_calls_alloca): Delete declarations.
19710         * config/v850/v850.c (current_function_outgoing_args_size): Delete
19711         declaration.
19712         * config/vax/vms.h (current_function_name): Delete declaration.
19713         * gcse.c: Include "function.h".
19714         (current_function_name, current_function_calls_setjmp): Delete
19715         declarations.
19716         * haifa-sched.c: Include "function.h".
19717         (forced_labels): Delete declaration.
19718         * jump.c: Likewise.
19719         * reg-stack.c: Likewise.
19720         * reload1.c: Likewise.
19721         * genemit.c (main): Make generated file include function.h.
19722         * genoutput.c (output_prologue): Likewise.
19723
19724         * builtins.c (saveregs_value, apply_args_value): Delete variables.
19725         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
19726         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
19727         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
19728         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
19729         macros for some of them.
19730         (emit_filename, emit_lineno): Delete declarations.
19731         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
19732         regno_pointer_* variables through current_function.
19733         (gen_inline_header_rtx): Delete function.
19734         (save_emit_status): Delete function.
19735         (set_new_last_label_num): New function.
19736         (clear_emit_caches): New function.
19737         (restore_emit_status): Just clear last_labelnum and call
19738         clear_emit_caches.
19739         (get_last_insn_anywhere): Variable sequence_stack is now accessed
19740         through macro seq_stack.
19741         (add_insn_after): Likewise.
19742         (add_insn_before): Likewise.
19743         (remove_insn): Likewise.
19744         (pop_topmost_sequence): Likewise.
19745         (in_sequence_p): Likewise.
19746         (start_sequence_for_rtl_expr): Likewise.
19747         (start_sequence): Likewise, and likewise for
19748         sequence_rtl_expr/seq_rtl_expr.
19749         (push_topmost_sequence): Likewise.
19750         (end_sequence): Likewise.
19751         (init_virtual_regs): Now takes a "struct emit_status *" argument.
19752         All callers changed.  Store into that pointer instead of globals.
19753         (init_emit): Allocate emit elt of current_function.
19754         Changes for sequence_rtl_expr/sequence_stack renaming.
19755         Call clear_emit_caches instead of doing it in-line.
19756         Access regno_pointer_* variables through current_function.
19757         (init_emit_once) Don't clear sequence_stack.
19758
19759         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
19760         Delete variables.
19761         (arg_pointer_save_area): Delete declaration.
19762         (finish_expr_for_function): Renamed from init_queue; no longer static.
19763         (init_expr): Don't call init_queue.
19764         (save_expr_status, restore_expr_status): Delete functions.
19765         (expand_expr): Changes to reflect new layout of struct function.
19766         Don't access current_function_check_memory_usage when current_function
19767         is 0.
19768         * expr.h (forced_labels, save_expr_regs, saveregs_value,
19769         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
19770         current_function_outgoing_args_size, current_function_arg_offset_rtx,
19771         current_function_uses_const_pool, function_call_count,
19772         current_function_uses_pic_offset_table, nonlocal_labels,
19773         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
19774         current_function_check_memory_usage, nonlocal_goto_handler_slots,
19775         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
19776         declarations.
19777         (finish_expr_for_function): Declare.
19778         * flags.h (current_function_has_nonlocal_label,
19779         current_function_has_nonlocal_goto, current_function_is_thunk,
19780         current_function_has_computed_jump): Delete declarations.
19781         * flow.c (forced_labels): Delete declaration.
19782         * function.c (current_function_pops_args,
19783         current_function_returns_struct, current_function_returns_pcc_struct,
19784         current_function_needs_context, current_function_calls_setjmp,
19785         current_function_calls_longjmp, current_function_has_nonlocal_label,
19786         current_function_has_nonlocal_goto, current_function_is_thunk,
19787         current_function_has_computed_jump, current_function_calls_alloca,
19788         current_function_contains_functions, current_function_returns_pointer,
19789         current_function_epilogue_delay_list, current_function_args_size,
19790         current_function_pretend_args_size, current_function_arg_offset_rtx,
19791         current_function_outgoing_args_size, current_function_varargs,
19792         current_function_stdarg, current_function_args_info, cleanup_label,
19793         current_function_name, current_function_uses_const_pool,
19794         current_function_instrument_entry_exit, current_function_return_rtx,
19795         current_function_uses_pic_offset_table, nonlocal_labels,
19796         current_function_internal_arg_pointer, current_function_cannot_inline,
19797         current_function_check_memory_usage, function_call_count,
19798         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
19799         nonlocal_goto_stack_level, return_label, save_expr_regs,
19800         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
19801         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
19802         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
19803         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
19804         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
19805         Delete variables.
19806         (push_function_context_to): Don't save them.  Don't call
19807         save_storage_status, save_emit_status or save_expr_status.
19808         (pop_function_context_from): Don't restore them.  Don't call
19809         restore_storage_status or restore_expr_status.
19810         (get_func_frame_size): New function.
19811         (get_frame_size): Use it.
19812         (assign_outer_stack_local): Reflect some member name changes in struct
19813         function.
19814         (put_reg_into_stack): Likewise.
19815         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
19816         seq_rtl_expr.
19817         (fixup_var_refs): Likewise.
19818         (fix_lexical_addr): Likewise.
19819         (trampoline_address): Likewise.
19820         (prepare_function_start): Clear field inlinable of current_function.
19821         (init_function_for_compilation): New function.
19822         (expand_dummy_function_end): New function.
19823         (expand_function_end): Call finish_expr_for_function.
19824         * function.h (struct emit_status): New; fields moved here from struct
19825         function and from global variables.  Add accessor macros for some of
19826         the fields.
19827         (struct expr_status): Likewise.
19828         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
19829         (struct function): Add fields expr and emit, inlinable, inl_emit,
19830         original_arg_vector, original_decl_initial, inl_last_parm_insn,
19831         inl_max_label_num.  Add many comments.
19832         Add accessor macros for all elts of struct function that no longer
19833         have a global variable.
19834         (cleanup_label, return_label, frame_offset, tail_recursion_label,
19835         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
19836         stack_slot_list): Delete declarations.
19837         (get_func_frame_size): Declare.
19838         (save_expr_status, restore_expr_status, save_emit_status,
19839         save_storage_status, restore_storage_status): Delete declarations.
19840         (init_virtual_regs): Declare.
19841         * output.h (current_function_pops_args,
19842         current_function_returns_struct, current_function_returns_pcc_struct,
19843         current_function_needs_context, current_function_calls_setjmp,
19844         current_function_calls_longjmp, current_function_calls_alloca,
19845         current_function_has_nonlocal_label, current_function_varargs,
19846         current_function_has_computed_jump, current_function_returns_pointer,
19847         current_function_contains_functions, current_function_args_size,
19848         current_function_pretend_args_size, current_function_stdarg,
19849         current_function_outgoing_args_size, current_function_args_info,
19850         current_function_name, current_function_return_rtx,
19851         current_function_epilogue_delay_list,
19852         current_function_uses_const_pool, current_function_cannot_inline):
19853         Delete declarations.
19854         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
19855         regno_reg_rtx): Delete declaration.
19856         (REGNO_POINTER_FLAG): Delete macro.
19857         * stmt.c (expand_goto): Changes to reflect that some fields in struct
19858         function were renamed.
19859         * stor-layout.c (save_storage_status, restore_storage_status): Delete
19860         functions.
19861         * toplev.c: Include "function.h".
19862         (current_function_decl): Delete declaration.
19863         (compile_file): Call init_dummy_function_start and
19864         expand_dummy_function_end around some initializations that need to
19865         emit rtl.
19866         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
19867         Call init_function_for_compilation.
19868         * unroll.c: Include "function.h"
19869         (unroll_loop): Access regno_pointer_* variables through
19870         current_function.
19871
19872         * tree.h (struct tree_decl): Add elt f to saved_insns member.
19873         (DECL_SAVED_INSNS): use it.
19874         (expand_dummy_function_end): Declare.
19875         (init_function_for_compilation): Declare.
19876         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
19877         that it's no longer an INLINE_HEADER.
19878         (expand_call): Likewise.
19879         * integrate.c (finish_inline): Delete function.
19880         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
19881         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
19882         args.  Don't generate an INLINE_HEADER rtx, just return the arg
19883         vector.  All callers changed.
19884         (save_for_inline_copying):  Create a duplicate struct emit_status to
19885         hold the emit state for compiling the current function.  Use this and
19886         the other new fields in struct function that are for integration
19887         instead of an INLINE_HEADER.
19888         Use memcpy instead of bcopy.
19889         Store the current struct function in DECL_SAVED_INSNS of fndecl.
19890         (save_for_inline_nocopy): Similar changes, except no new emit_status
19891         is needed here.
19892         (expand_inline_function): Get information from function structure,
19893         not from an inline header rtx.
19894         (output_inline_function): Lose code to extract the necessary
19895         information from an inline header; simply put back the function
19896         structure into current_function.  Clear its inlinable elt.
19897         * rtl.def (INLINE_HEADER): Delete.
19898         * rtl.h: Delete all accessors for an INLINE_HEADER.
19899         (gen_inline_header_rtx): Delete declaration.
19900         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
19901         Delete declarations.
19902         (REGNO_POINTER_ALIGN): Delete.
19903         (clear_emit_caches): Declare.
19904         (set_new_last_label_num): Declare.
19905
19906 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
19907
19908         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
19909
19910         * except.c (expand_eh_region_start_for_decl): Always start a new block.
19911         * stmt.c (is_eh_region): Make sure current_function is present, too.
19912
19913 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
19914
19915         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
19916         for 64bit PA targets.
19917
19918         * pa.h (SELECT_SECTION): Define.
19919         * som.h (SELECT_SECTION): Delete.
19920
19921 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19922
19923         * alias.c (init_alias_analysis): Wrap call to
19924         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
19925
19926 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
19927
19928         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
19929         <sys/asm.h> contains an asm comment with an apostrophe
19930         * fixinc/inclhack.sh:  regen
19931         * fixinc/fixincl.x:  regen
19932
19933 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
19934
19935         * function.c (init_function_start): Clear prologue & epilogue.
19936         (prologue_epilogue_contains): New function.
19937         * alias.c (init_alias_analysis): Use it.
19938         * rtl.h (prologue_epilogue_contains): Declare it.
19939
19940 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
19941
19942         * jump.c (onlyjump_p): New function.
19943         * rtl.h: Declare it.
19944         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
19945         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
19946
19947 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
19948
19949         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
19950         to invert loops.  Simplify block scanning.
19951
19952 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
19953
19954         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
19955         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
19956
19957 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
19958
19959         * config/sparc/liteelf.h: New file to support sparclite-elf target
19960         * config/sparc/t-sp86x: New file to support sparc86x targets
19961         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
19962         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
19963         * configure.in: Support above target triplets
19964         * configure: Regenerated
19965
19966 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
19967
19968         * fixinc/server.c (server_setup): Do not prefix function used as
19969         parameter with `&'.
19970
19971 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
19972
19973         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
19974         Remove fp reg alternatives.
19975
19976 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
19977
19978         * Makefiin (TAROUTOPTS): Kill.
19979         (install-headers-tar): Use "xpf" for tar headerfile extraction
19980         * i370/x-oe (TAROUTOPTS): Delete.
19981         * m68k/x-apollo68 (TAROUTOPTS): Delete.
19982         * m68k/x-hp320 (TAROUTOPTS): Delete.
19983         * m68k/x-hp320g (TAROUTOPTS): Delete.
19984         * gcc.texi: Update bug reporting text.
19985
19986 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19987
19988         * reg-stack.c (change_stack) Fixed problem with negative array index.
19989
19990 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
19991
19992         * extend.texi, install.texi: Fix spelling mistakes.
19993
19994         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
19995         (s-attrtab); No longer try to use pre-made insn-attrtab file.
19996         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
19997         PREMADE_ATTRTAB_MD.
19998         * mips/t-ecoff: Likewise.
19999         * mips/t-elf: Likewise.
20000         * mips/t-mips: Likewise.
20001         * mips/t-osfrose: Likewise.
20002         * mips/t-r3900: Likewise.
20003         * mips/t-svr3: Likewise.
20004         * mips/t-svr4: Likewise.
20005         * mips/t-ultrix: Likewise.
20006
20007         * gcc.texi: Document recommend means to provide software floating
20008         point libraries in libgcc.a
20009
20010 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
20011
20012         * c-lex.c (yylex): We can have a number with no digits.
20013
20014 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
20015
20016         * jump.c (delete_prior_computation): New function, broken
20017         out of delete_computation.  Check for side effects with
20018         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
20019         multi-word hard registers.
20020         (delete_computation): Use it.  Check for side effects with
20021         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
20022         missing REG_DEAD note for a register which is both set and
20023         used by an insn.
20024
20025 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
20026
20027         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
20028         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
20029         (ASM_FILE_START): Import _mcount with the right type.
20030         (ASM_DECLARE_FUNCTION_NAME): Define.
20031         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
20032         * pa.c (output_function_prologue): Always emit the function's label
20033         here.
20034         * pa.h (TEXT_SPACE_P): Define.
20035         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
20036         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
20037         * som.h (TEXT_SPACE_P): Delete.
20038         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
20039         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
20040
20041 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
20042
20043         * expr.c (emit_group_load): Allow src to be a CONCAT.
20044
20045 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20046
20047         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
20048         (___mulsi3): Use '!' comment character.
20049
20050 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20051
20052         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
20053
20054 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
20055
20056         * gcc.c: Update URLs and mail addresses.
20057         * gcc.texi: Likewise.
20058
20059 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
20060
20061         * rs6000.c (current_file_function_operand): Return zero for
20062         weak functions.
20063         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
20064         weak symbols.
20065         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
20066         for weak symbols.
20067
20068 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
20069
20070         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
20071         allocate space in the stack frame for the PIC register.
20072
20073 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
20074
20075         * m68k.md (xordi3, anddi3): These patterns are not available on
20076         the coldfire.
20077
20078 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
20079
20080         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
20081         (PUT_REAL): Likewise.
20082
20083 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20084
20085         * final.c (shorten_branches): Don't add an alignment for loops
20086         that have no label inside.
20087
20088 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20089
20090         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
20091         prototypes in macro HAVE_cmpstrsi.
20092
20093         * cpplib.c (cpp_get_token): Remove unused label `op3'.
20094
20095         * emit-rtl.c (operand_subword): Remove unused variable
20096         `bits_per_word'.
20097
20098         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
20099
20100         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
20101
20102 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
20103
20104         * cpphash.c (macroexpand): Delete leading whitespace when arg
20105         is concatenated before.
20106         (unsafe_chars): Correct test for whether + and - can extend a
20107         token.
20108
20109         * cppinit.c (cpp_start_read): Do dependencies for
20110         -include/-imacros files also.
20111
20112         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
20113         tokenizing non-directive lines.
20114         (cpp_expand_to_buffer): Temporarily disable no-output mode.
20115         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
20116         the input file.
20117
20118 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20119
20120         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
20121
20122         * c-lex.c: Sync with C++ frontend.
20123         (linemode): New variable.
20124         (parse_float): imag, conversion_errno, and type are output only.
20125         (yylex): Adjust.  Move initial '.' case into main switch.
20126         Use linemode.
20127         (handle_generic_pragma): Just deal with tokens.
20128         (readescape): Use ISXDIGIT and ISGRAPH.
20129         * c-parse.in: Add END_OF_LINE token.
20130
20131         * c-lex.c (lang_init): Generalize.
20132         (nextchar): Remove.  Replace uses with UNGETC.
20133         (skip_white_space): Handle linemode here.  Optimize for cpplib.
20134         (skip_white_space_on_line): Remove.
20135         (extend_token_buffer_to): New fn.
20136         (extend_token_buffer): Use it.
20137         (read_line_number, check_newline): Just deal with tokens.
20138         (token_getch, token_put_back): New fns.
20139         (yylex): Use them.  More cpplib optimizations.  Simplify.
20140
20141 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20142                           Jason Merrill  <jason@yorick.cygnus.com>
20143
20144         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
20145         (consume_string): Make this smart about USE_CPPLIB.
20146         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
20147         (yylex): Rewrite to be intelligent about USE_CPPLIB.
20148         Also, clean up cases where we redundantly set token_buffer[0].
20149         (read_line_number): New fn.
20150         (ignore_escape_flag): New variable.
20151
20152 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
20153
20154         * a29k/t-a29kbare: Fix some comments.
20155         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
20156         (FPBIT, DPBIT): Define.
20157         * a29k/t-vx29k: Likewise.
20158         * arc/t-arc: Likewise.
20159         * arm/t-arm-elf: Likewise.
20160         * arm/t-bare: Likewise.
20161         * arm/t-pe: Likewise.
20162         * arm/t-pe-thumb: Likewise.
20163         * arm/t-semi: Likewise.
20164         * arm/t-thumb: Likewise.
20165         * arm/t-thumb-elf: Likewise.
20166         * arm/t-thumb-linux: Likewise.
20167         * h8300/t-h8300: Likewise.
20168         * i960/t-i960: Likewise.
20169         * i960/t-vxworks960: Likewise.
20170         * m32r/t-m32r: Likewise.
20171         * mips/t-ecoff: Likewise.
20172         * mips/t-elf: Likewise.
20173         * mips/t-r3900: Likewise.
20174         * pa/t-pro: Likewise.
20175         * rs6000/t-aix43: Likewise.
20176         * rs6000/t-beos: Likewise.
20177         * rs6000/t-newas: Likewise.
20178         * rs6000/t-ppccomm: Likewise.
20179         * rs6000/t-rs6000: Likewise.
20180         * rs6000/t-winnt: Likewise.
20181         * rs6000/t-xnewas: Likewise.
20182         * rs6000/t-xrs6000: Likewise.
20183         * sh/t-sh: Likewise.
20184         * sparc/t-elf: Likewise.
20185         * sparc/t-sparcbare: Likewise.
20186         * sparc/t-sparclite: Likewise.
20187         * sparc/t-splet: Likewise.
20188         * v850/t-v850: Likewise.
20189         * mn10200/t-mn10200: Fix comments.
20190         * mn10300/t-mn10300: Likewise.
20191
20192         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
20193         dummy operand.  Allocate a new pseudo for the dummy operand.
20194         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
20195
20196         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
20197
20198 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
20199
20200         * configure: Rebuilt.
20201         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
20202
20203 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
20204
20205         * recog.c (preproces_constraints): Zero recog_op_alt before
20206         processing the constraints.
20207
20208         * arm.c (typedef minipool_node): Renamed from pool_node.
20209         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
20210         (add_minipool_constant): New function.
20211         (dump_minipool): New function.
20212         (find_barrier): Remove special case for getting the insn size of
20213         an insn that references the constant pool.
20214         (minipool_fixup): New structure.
20215         (push_minipool_barrier): New function.
20216         (push_minipool_fix): New function.
20217         (note_invalid_constants): New function.
20218         (add_pool_constant, dump_table, fixit, broken_move): Delete.
20219         (arm_reorg): Rewrite code to fix up the constant pool into a
20220         series of mini-pools embedded in the insn stream.
20221         (arm_output_epilogue): New function, made mainly from the body
20222         of output_func_epilogue.
20223         (output_func_epilogue): Move insn generation part of epilogue code
20224         to arm_output_epilogue.
20225         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
20226         * arm.md (pool_range): New attribute.
20227         (zero_extendqidi2): Add attribute pool_range.
20228         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
20229         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
20230         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
20231         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
20232         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
20233         (epilogue): New expand.
20234         (epilogue_insn): New insn.  Call arm_output_epilogue.
20235
20236         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
20237         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
20238
20239 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20240
20241         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20242
20243 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
20244
20245         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
20246
20247 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
20248
20249         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
20250
20251 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
20252
20253         * global.c: Fix comment.
20254
20255 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
20256
20257         * gcc.c (access_check): New static function.
20258         (find_a_file): Use it when searching a directory list.
20259         * collect2.c (find_a_file): Don't accept directories found when
20260         searching a directory list.
20261
20262 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
20263
20264         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
20265         function parameters with `&'.
20266         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
20267
20268 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
20269
20270         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
20271         or tidy_fallthru_edge if the last insn in the block is not
20272         an unconditional jump or a simple conditional jump.
20273
20274 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20275
20276         * Makefile.in (c-decl.o): Depends on defaults.h.
20277
20278 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
20279
20280         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
20281         PA1.1 and above.
20282         (CLASS_MAX_NREGS): Likewise.
20283
20284 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
20285
20286         * cse.c (cse_insn): Fix dumb thinko in last change.
20287
20288 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20289
20290         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
20291         "const char *".
20292
20293 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
20294
20295         * dwarf2out.c (add_location_or_const_value_attribute): Correct
20296         test for sizes of passed and declared parameter types.
20297
20298 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20299
20300         * fixincludes: Fix the return type of bsearch, char* -> void*.
20301
20302         * fixinc/inclhack.def: Likewise.
20303
20304 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
20305
20306         * invoke.texi (-fdump-translation-unit): New option.
20307
20308 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
20309
20310         * expr.h (PROMOTE_PROTOTYPES): Move ...
20311         * defaults.h: ... to here.
20312         * c-decl.c: Include defaults.h instead of expr.h.
20313         * c-typeck.c: Include defaults.h.
20314
20315 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
20316
20317         * toplev.h (errorcount): Declare.
20318         (warningcount): Likewise.
20319         (sorrycount): Likewise.
20320         * c-lex.c (errorcount): Don't declare.
20321         * dwarf2out.c (errorcount): Don't declare.
20322
20323 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
20324
20325         * config/libgloss.h: Add a note discouraging use with ELF.
20326         * configure.in: Don't use libgloss.h for ELF targets.
20327         Always use_collect2 on a.out targets.
20328
20329 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
20330
20331         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
20332         (force_to_mode, case ASHIFTRT): Add shiftrt label.
20333
20334 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20335
20336         * loop.c (strength_reduce): When doing biv->giv conversion, update
20337         reg note of NEXT->insn.
20338
20339 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20340
20341         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
20342
20343 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20344
20345         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
20346         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
20347         Ensure expr.h is included.
20348         * c-typecheck.c (convert_arguments): Ditto.
20349
20350         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
20351
20352         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
20353         * config/convex/convex.h: Ditto.
20354         * config/dsp16xx/dsp16xx.h: Ditto.
20355         * config/fx80/fx80.h: Ditto.
20356         * config/gmicro/gmicro.h: Ditto.
20357         * config/i370/i370.h: Ditto.
20358         * config/i386/i386.h: Ditto.
20359         * config/m32r/m32r.h: Ditto.
20360         * config/m68k/m68k.h: Ditto.
20361         * config/m88k/m88k.h: Ditto.
20362         * config/mips/mips.h: Ditto.
20363         * config/pa/pa.h: Ditto.
20364         * config/pyr/pyr.h: Ditto.
20365         * config/tahoe/tahoe.h: Ditto.
20366         * config/we32k/we32k.h: Ditto.
20367
20368         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
20369         based on arch size.
20370
20371         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
20372
20373         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
20374         from comment.
20375
20376         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
20377
20378 1999-08-02  Richard Henderson  <rth@cygnus.com>
20379
20380         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
20381         for the register spill block.
20382         (m32r_va_arg): New.
20383         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
20384         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
20385
20386         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
20387         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
20388         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
20389
20390 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20391
20392         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
20393         MAX_WCHAR_TYPE defined in sparc.h.
20394         * config/sparc/linuxaout.h: Likewise.
20395         * config/sparc/linux64.h: Likewise.
20396         Also default to -mvis if CPU is UltraSPARC.
20397
20398 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20399
20400         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
20401         (RTX_OK_FOR_OLO10): Likewise.
20402         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
20403         %lo(), allow it in addresses...
20404         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
20405         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
20406         does not make sense.
20407         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
20408         (sparc_output_scratch_registers): New function.
20409         (output_function_prologue, sparc_flat_output_function_prologue): Use
20410         it.
20411         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
20412         defined.
20413         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
20414         * configure.in: Add check for .register pseudo-op support in as and
20415         check for offsetable %lo().
20416         * acconfig.h: Add templates for the above checks.
20417         * configure: Regenerate.
20418
20419 1999-08-02  Richard Henderson  <rth@cygnus.com>
20420
20421         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
20422         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
20423         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
20424
20425 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20426
20427         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20428         reg_biv_class.
20429
20430 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20431
20432         * config/float-sparc.h: New file.
20433         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
20434         sparc-*-linux-gnu and sparc64-*-linux*.
20435
20436 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20437
20438         * rs6000.c (rs6000_va_list): Type is an array.
20439         (rs6000_va_start): Don't doubly adjust for varargs.
20440         (rs6000_va_arg): Evaluate long long GPR adjustment.
20441
20442 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
20443
20444         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
20445         -maix64 and -maix32.
20446         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
20447         LINK_SPEC): Change appropriately.
20448         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
20449         (u_short_cint_operand): Likewise.
20450         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
20451         for 64-bit hosts.
20452         * rs6000/t-aix43 (MULTILIB): Change to -m64.
20453
20454         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
20455
20456 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
20457
20458         * rs6000/rs6000.c (num_insns_constant_wide): Correct
20459         for type promotion.
20460         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
20461         (non_add_cint_operand): Likewise.
20462         (logical_operand): Likewise.
20463         (non_logical_cint_operand): Likewise.
20464         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
20465         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
20466         (rs6000_select_rtx_section): Suppress warning.
20467         (small_data_operand): Suppress warning.
20468         (rs6000_got_register): Suppress warning.
20469         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
20470         type, so `J' is generally the wrong constraint for a SImode value;
20471         use `L' instead.
20472         (andsi3_internal2): Likewise.
20473         (andsi3_internal3): Likewise.
20474         (iorsi3_internal1): Likewise.
20475         (xorsi3_internal1): Likewise.
20476         (movsi): Likewise.
20477         (movsf_softfloat): Likewise.
20478         (scc insns): Likewise.
20479         (movsi+2): Preserve sign bits of SImode constant.
20480         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
20481         (movdf+1): Sign-extend properly.
20482         (movdi_32+1): Sign-extend properly.
20483         (scc insns): Sign-extend properly.
20484
20485         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
20486         K, L, and T.
20487
20488 1999-08-02  Richard Henderson  <rth@cygnus.com>
20489
20490         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
20491         -mcpu parsing code.
20492         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
20493         * alpha.md (all fp insns): Likewise.
20494
20495 1999-08-02  Nick Clifton  <nickc@cygnus.com>
20496
20497         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
20498         already defined.
20499
20500 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
20501
20502         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
20503         pic_load_label generator directly.
20504         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
20505         No longer a named pattern.
20506
20507 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
20508
20509         * explow.c (force_reg): Call force_operand if X does not
20510         satisfy general_operand.
20511
20512 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
20513
20514         * fix-header.c (main): When testing for CONTINUED, use string
20515         equality, not pointer equality.
20516
20517 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
20518
20519         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
20520
20521 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
20522
20523         * cse.c (cse_insn): Fix loop which deletes insns after a jump
20524         that has become an unconditional jump.
20525
20526         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
20527         (output_function_epilogue): Similarly.
20528
20529 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20530
20531         * tree.h (init_dummy_function_start): Declare.
20532
20533 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20534
20535         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
20536         last_expr_type, last_expr_value, block_start_count, block_stack,
20537         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
20538         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
20539         dynamically in stmt elt of struct function for each function.
20540         (struct nesting): Rename function_call_count elt to n_function_calls,
20541         target_temp_slot_level to block_target_temp_slot_level.  All users
20542         changed.
20543         (struct stmt_status): New structure definition.
20544         Add many accessor macros for stmt_status elements which previously
20545         were global variables.
20546         (init_stmt_for_function): Allocate stmt elt for current_function.
20547         Reflect that block_start_count was renamed to
20548         current_block_start_count.
20549         (save_stmt_status, restore_stmt_status): Delete functions.
20550         (preserve_subexpressions_p): Don't access loop_stack when outside
20551         a function.
20552         (expand_start_bindings): Reflect that block_start_count was renamed to
20553         current_block_start_count.
20554         (expand_fixup): Likewise.
20555         (expand_decl): Don't access block_stack when outside a function.
20556         (expand_decl_cleanup): Likewise.
20557         (expand_dcc_cleanup): Likewise.
20558         (expand_dhc_cleanup): Likewise.
20559         (expand_anon_union_decl): Likewise.
20560         (set_file_and_line_for_stmt): New function.
20561         (in_control_zone_p): New function.
20562
20563         * function.h (struct function): Add new elt stmt.
20564         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
20565         case_stack, nesting_stack, nesting_depth, block_start_count,
20566         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
20567         emit_lineno, goto_fixup_chain.
20568         (save_eh_status, restore_eh_status, save_stmt_status,
20569         restore_stmt_status): Delete declarations.
20570         * function.c (push_function_context_to): Don't call save_stmt_status.
20571         (pop_function_context_to): Don't call restore_stmt_status.
20572         * tree.h (in_control_zone_p): Declare.
20573         * rtl.h (set_file_and_line_for_stmt): Declare.
20574
20575         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
20576         call set_file_and_line_for_stmt.
20577
20578 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
20579
20580         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
20581         Also update copyright.
20582
20583 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20584
20585         * c-pragma.c: Don't include "except.h".
20586         * emit-rtl.c: Likewise.
20587         * stor-layout.c: Likewise.
20588         * tree.c: Likewise.
20589         * varasm.c: Likewise.
20590
20591         * flow.c: Include "function.h".
20592         * tree.h (init_dummy_function_start): Declare new function.
20593
20594         * except.h (struct eh_status): New structure.
20595         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
20596         been included.
20597         (eh_return_stub_label, ehstack, catchstack, ehqueue,
20598         catch_clauses, false_label_stack, caught_return_label_stack,
20599         protect_list, current_function_ehc): Add accessor macros for the
20600         corresponding fields in current_function->eh; delete declarations
20601         for all items that used to be declared here.
20602         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
20603         catch_clauses, false_label_stack, caught_return_label_stack,
20604         protect_list, current_function_ehc): Delete variables.
20605         (init_eh_for_function): Allocate current_function->eh.
20606         (save_eh_status, restore_eh_status): Delete functions.
20607
20608         * function.h (struct function): Add fields next_global and eh.
20609         Delete all exception handling related fields.
20610         * function.c (current_function): New variable.
20611         (all_functions): New variable.
20612         (push_function_context_to): Don't allocate a struct function,
20613         use current_function instead.  Call init_dummy_function_start when
20614         outside a function.  Clear current_function before returning.
20615         (pop_function_context_from): Restore current_function.
20616         Don't free the restored struct function.
20617         (prepare_function_start): New function.
20618         (init_dummy_function_start): New function.
20619         (init_function_start): Break out some code into prepare_function_start
20620         and call it here.
20621
20622         * stmt.c (save_stmt_status): Don't call save_eh_status.
20623         (restore_stmt_status): Don't call restore_eh_status.
20624
20625         * Makefile.in: Update dependencies.
20626
20627 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
20628
20629         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
20630         of depending on a magic constant value.  Update comments.
20631         (hppa_expand_prologue): Similarly.
20632
20633         * pa.md (reload_indi, reload_outdi): Allow any register for the
20634         original reload register.
20635
20636 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
20637
20638         * cccp.c (print_help): Change marcos to macros.
20639
20640 1999-07-30  Richard Henderson  <rth@cygnus.com>
20641
20642         * c-typeck.c (initializer_constant_valid_p): Move ...
20643         * c-common.c (initializer_constant_valid_p): ... here.  Use
20644         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
20645         of label addresses.
20646         * c-common.h (initializer_constant_valid_p): Declare.
20647         * c-tree.h (initializer_constant_valid_p): Remove.
20648
20649 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
20650
20651         * config/i386/sol2-c1.asm: Align the stack.
20652         * config/i386/sol2-gc1.asm: Likewise.
20653
20654 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
20655
20656         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
20657         -Asparclite for sparc86x.
20658         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
20659         sparc86x.
20660         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
20661
20662 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
20663
20664         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
20665         the user if using the non-default arch size in BI_ARCH configuration.
20666         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
20667
20668         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
20669         Fix patterns so that they actually match.
20670         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
20671         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
20672         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
20673         TARGET_HARD_MUL32.
20674         (mulsidi3): Reflect this in the expand.
20675         (smulsi3_highpart): Only on TARGET_ARCH32.
20676         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
20677         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
20678         (umulsidi3): Reflect this in the expand.
20679         (umulsi3_highpart): Only on TARGET_ARCH32.
20680         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
20681         don't require g0 to be zero.
20682         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
20683         ({,u}divsi3): New expands.
20684         ({,u}divsi3_sp64): New patterns.
20685         (after lshrdi3_v8plus): Four new patterns to help combiner
20686         optimizing nested mixed mode shifts.
20687
20688         * config/sparc/sparc.c (sparc_override_options): Use deprecated
20689         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
20690         speed things up. Don't use them by default on plain v9 in 64bit
20691         mode, according to what SPAMv9 sais.
20692
20693         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
20694         top 32 bits of %[og][0-7] in signal handlers.
20695         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
20696
20697 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
20698
20699         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
20700         (ashlsi3): Corresponding changes.
20701
20702         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
20703
20704 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
20705
20706         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
20707
20708 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20709
20710         * arm.h (Hint): Delete macro.
20711         Substitute HOST_WIDE_INT for Hint in some prototypes.
20712         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
20713
20714 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
20715
20716         * builtins.c (expand_builtin_setjmp): Use force_operand to
20717         make sure that the buffer address is in a suitable form to be
20718         passed to force_reg.
20719
20720 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
20721
20722         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
20723         them here.
20724
20725 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
20726
20727         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
20728         proper mode in the condition string.
20729         (icacheflush, dcacheflush): Remove modes from match_operands.
20730
20731         * pa.c (emit_move_sequence): Always convert scratch_reg to the
20732         proper mode before using it.
20733
20734         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
20735         pair.
20736
20737         * pa.c (store_reg): Do not call add_high_const generator directly.
20738         (load_reg, set_reg_plus_d): Likewise.
20739         * pa.md (add_high_const): No longer a named pattern.
20740
20741         * pa.c (legitimize_address): Consistently use Pmode rather than
20742         SImode.  Do not call gen_pic2_highpart directly anymore.
20743         * pa.md (pic2_highpart): No longer a named pattern.
20744         (pic2_lo_sum): Similarly.  Reformat to make more readable.
20745
20746         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
20747         needed.
20748
20749         * README: Update.
20750
20751 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20752
20753         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
20754
20755 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
20756
20757         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
20758         and tag the spill mems.
20759         (hppa_va_start): New.
20760         (hppa_va_arg): New.
20761         * pa.h (EXPAND_BUILTIN_VA_START): New.
20762         (EXPAND_BUILTIN_VA_ARG): New.
20763
20764 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
20765
20766         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
20767         and tag the spill mems.
20768         (mn10300_va_start): New.
20769         (mn10300_va_arg): New.
20770         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
20771         (EXPAND_BUILTIN_VA_ARG): New.
20772
20773 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
20774
20775         * mn10200.c (mn10200_va_arg): New.
20776         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
20777
20778 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
20779
20780         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
20781         rather than play with TREE_INT_CST_LOW.
20782
20783 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
20784
20785         * config/arm/telf.h: Include dbxelf.h.
20786         (CPP_PREDEFINES): Only define if not already defined.
20787         (ASM_IDENTIFY_GCC): Likewise.
20788         (SUBTARGET_EXTRA_SECTIONS): Likewise.
20789         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
20790         * config/arm/thumb.h (LINK_SPEC): Only define if not already
20791         defined.
20792         (DBX_DEBUGGING_INFO): Don't define.
20793         * config/arm/linux-telf.h: New file.
20794         * config/arm/linux-tgas.h: New file.
20795         * config/arm/t-thumb-linux: New file.
20796         * config/arm/uclinux-elf.h: New file.
20797         * config/arm/uclinux-telf.h: New file.
20798         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
20799         thumb-*-uclinux): New targets.
20800         * configure: Regenerate.
20801
20802 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
20803
20804         * pa.md (post_store, pre_load): New expanders.
20805         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
20806         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
20807         need to directly generate RTL for them.
20808         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
20809         changes.
20810
20811 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
20812
20813         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
20814         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
20815         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
20816         (secndary_reload_class): Make TARGET_ELF conditional compile.
20817         (print_operand_address): Similar.
20818         (output_toc): Print all values as hex.
20819         (get_issue_rate): Rearrange and add RS64A and PPC630.
20820         * rs6000.h (processor_type): Add RS64A and PPC630.
20821         (PROCESSOR_POWERPC64): New.
20822         (PROMOTE_MODE): Use word_mode.
20823         (RTX_COSTS): Add RS64A and PPC630.
20824         * rs6000.md (scheduling information): Add lmul and ldiv
20825         representing 64-bit integer multiply and divide.  Add rs64a and
20826         PPC630 information.
20827         (ashldi3): Add support for "rldic" instruction.
20828         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
20829
20830 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
20831
20832         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
20833         instead of V8 for sparclite86x in cpu_table.
20834
20835 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20836
20837         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
20838         output_file_directive.
20839
20840 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
20841
20842         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
20843         tree for op1, not the rtl.
20844
20845 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
20846
20847         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
20848         to m88k_va_start, leaving only the register spill.
20849         (m88k_build_va_list): New.
20850         (m88k_va_start): New.
20851         (m88k_va_arg): New.
20852         * m88k.h (BUILD_VA_LIST_TYPE): New.
20853         (EXPAND_BUILTIN_VA_START): New.
20854         (EXPAND_BUILTIN_VA_ARG): New.
20855
20856 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
20857
20858         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
20859         Rename from expand_builtin_saveregs.
20860         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
20861
20862 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
20863
20864         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
20865         for the register spill block.
20866         (i960_build_va_list): New.
20867         (i960_va_start): New.
20868         (i960_va_arg): New.
20869         * i960.h (BUILD_VA_LIST_TYPE): New.
20870         (EXPAND_BUILTIN_VA_START): New.
20871         (EXPAND_BUILTIN_VA_ARG): New.
20872         * i960.md (store_multiple): Use change_address on individul mems.
20873
20874 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
20875
20876         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
20877         an ARRAY_TYPE.
20878         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
20879         (expand_builtin_va_end): Evaluate arg for side effects.
20880         * c-common.c (c_common_nodes_and_builtins): Construct a
20881         va_list_arg_type_node to handle array decomposition to pointer.
20882
20883 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
20884
20885         * except.c (st_dynamic_cleanup): Use force_operand on the
20886         buffer's address.
20887
20888 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
20889
20890         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
20891         * c4x.c (c4x_va_arg): New.
20892
20893 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
20894
20895         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
20896         has manual_pop set.
20897
20898 1999-07-26  Nathan Sidwell  <nathan@acm.org>
20899
20900         * eh-common.h (__eh_matcher): Prototype correctly.
20901
20902 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
20903
20904         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
20905         (TARGET_SINGLE_PIC_BASE): Likewise.
20906         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
20907         definitions.
20908         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
20909         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
20910         (TARGET_OPTIONS): Add -mpic-register=N.
20911         (OUTPUT_INT_ADDR_CONST): New macro.
20912         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
20913         LEGITIMATE_PIC_OPERAND_P): Likewise.
20914         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
20915         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
20916         output_addr_const directly.
20917         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
20918         ARM port.
20919         (thumb_pic_register, thumb_pic_register_string): Declare.
20920
20921         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
20922         from arm.c.
20923         (label_mentioned_p): New function: Imported from arm.c.
20924         (legitimize_pic_address): New function: Imported from arm.c.
20925         (is_pic):New function: Imported from arm.c.
20926         (thumb_finalize_pic):New function: Imported from arm.c.
20927         (add_constant): Cope with PIC constants.
20928         (fixit): Cope with PIC constants.
20929         (output_return): Do not treat the PIC register as live if
20930         TARGET_SINGLE_PIC_BASE is true.
20931         (thumb_function_prologue): Do not treat the PIC register as live if
20932         TARGET_SINGLE_PIC_BASE is true.
20933         (thumb_expand_prologue): Do not treat the PIC register as live if
20934         TARGET_SINGLE_PIC_BASE is true.
20935         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
20936         TARGET_SINGLE_PIC_BASE is true.
20937         (thumb_print_operand): Accept '|'.
20938         (thumb_override_options): Process PIC options.
20939
20940         * config/arm/thumb.md (movsi): Support PIC.
20941         (call_insn): Change "i" constraint to "X".
20942         (call_value_insn): Likewise.
20943         (consttable_4, consttable_8, consttable_end): Set and clear
20944         "making_const_table" as appropriate.
20945         (pic_load_addr, pic_add_dot_plus_four): New insns.
20946
20947         * invoke.texi (Thumb Options): Fix spelling.  Document new
20948         options -msingle-pic-base and -mpic-register=.
20949
20950 1999-07-26  Andrew Haley  <aph@cygnus.com>
20951
20952         * config/m32r/initfini.c (__init): Use a full word immediate for
20953         __fini: this allows it to be placed in any memory region.
20954
20955         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
20956         -mmodel=medium.  This is OK for all memory models.
20957
20958 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
20959
20960         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
20961         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
20962
20963 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
20964
20965         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
20966         defined.
20967
20968         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
20969
20970 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
20971
20972         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
20973         (BUILD_VA_LIST_TYPE): New.
20974         (EXPAND_BUILTIN_VA_START): New.
20975         (EXPAND_BUILTIN_VA_ARG): New.
20976         * i860.c (output_delayed_branch): Disable.
20977         (output_delay_insn): Likewise.
20978         (i860_saveregs): New.
20979         (i860_build_va_list): New.
20980         (i860_va_start): New.
20981         (i860_va_arg): New.
20982         * i860.md: Disable all peepholes using output_delayed_branch.
20983         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
20984
20985 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
20986
20987         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
20988         (BUILD_VA_LIST_TYPE): New.
20989         (EXPAND_BUILTIN_VA_START): New.
20990         (EXPAND_BUILTIN_VA_ARG): New.
20991         * clipper.c (clipper_builtin_saveregs): Only dump registers.
20992         Return the address of the save area.
20993         (clipper_build_va_list): New.
20994         (clipper_va_start): New.
20995         (clipper_va_arg): New.
20996
20997 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
20998
20999         * arc.h (EXPAND_BUILTIN_VA_START): New.
21000         (EXPAND_BUILTIN_VA_ARG): New.
21001         * arc.c (arc_setup_incoming_varargs): Set alias set of
21002         varargs save area.
21003         (arc_va_start): New.
21004         (arc_va_arg): New.
21005
21006 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
21007
21008         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
21009         (BUILD_VA_LIST_TYPE): New.
21010         (EXPAND_BUILTIN_VA_START): New.
21011         (EXPAND_BUILTIN_VA_ARG): New.
21012         * alpha.c (alpha_builtin_saveregs): Delete.
21013         (alpha_build_va_list): New.
21014         (alpha_va_start): New.
21015         (alpha_va_arg): New.
21016
21017 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
21018
21019         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
21020         column zero.
21021         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
21022         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
21023
21024         * gcc.texi: More changes related to list conversion.
21025         * invoke.texi: Likewise.
21026
21027 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
21028
21029         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
21030         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
21031         (expand_builtin_next_arg): Accept ARGLIST not EXP.
21032         (stabilize_va_list): New function.
21033         (std_expand_builtin_va_start): New function.
21034         (expand_builtin_va_start): New function.
21035         (get_varargs_alias_set): New function.
21036         (std_expand_builtin_va_arg): New function.
21037         (expand_builtin_va_arg): New function.
21038         (expand_builtin_va_end): New function.
21039         (expand_builtin_va_copy): New function.
21040         (expand_builtin): Call them.
21041         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
21042         __builtin_{varargs_start,stdarg_start,end,copy}.
21043         (build_va_arg): New function.
21044         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
21045         (build_va_arg): Declare.
21046         * c-decl.c (ptr_type_node, va_list_type_node): New.
21047         * c-parse.gperf (__builtin_va_arg): New.
21048         * c-parse.in (VA_ARG): New token.
21049         (unary_expr): Recognize it.
21050         * expr.c (expand_expr): Expand VA_ARG_EXPR.
21051         * expr.h (std_expand_builtin_va_start): Declare.
21052         (std_expand_builtin_va_arg): Declare.
21053         (expand_builtin_va_arg): Declare.
21054         (get_varargs_alias_set): Declare.
21055         * tree.def (VA_ARG_EXPR): New.
21056         * tree.h (BUILT_IN_VARARGS_START): New.
21057         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
21058         (ptr_type_node, va_list_type_node): Declare.
21059         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
21060         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
21061         * m88k.h, m88k.c: Likewise.
21062         * mn10300.h, mn10300.c: Likewise.
21063         * pa.h, pa.c: Likewise.
21064         * rs6000.h, rs6000.c: Likewise.
21065         * sh.h, sh.c: Likewise.
21066         * sparc.h, sparc.c: Likewise.
21067
21068         * emit-rtl.c (operand_subword): Copy alias set.
21069         (change_address): Likewise.
21070
21071 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
21072
21073         * pa.c (compute_frame_size): Scan all the used callee saved registers,
21074         not just the first one.
21075
21076 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
21077
21078         * config/arm/arm.h (TARGET_SWITCHES): Add
21079         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
21080         (TARGET_OPTIONS): Add -mpic-register=.
21081         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
21082         (arm_pic_register_string): Declare.
21083         (NEED_PLT_GOT): Delete, replace with ...
21084         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
21085         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
21086         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
21087         * config/arm/arm.c (arm_override_options): Add new option
21088         -mpic-register=N.
21089         (arm_pic_register_string): New variable.
21090         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
21091         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
21092         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
21093         (output_return_instruction): Likewise.
21094         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
21095         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
21096         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
21097
21098         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
21099         mention of -msched-prolog.  Document new options -msingle-pic-base
21100         and -mpic-register=.
21101
21102 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
21103
21104         * haifa-sched.c (reemit_notes): Tidy.
21105         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
21106         haifa's routine.
21107
21108 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
21109
21110         * explow.c (trunc_int_for_mode): New function.
21111         (plus_constant_wide): Use it.
21112         * combine.c (simplify_and_const_int): Likewise.
21113         (merge_outer_ops): Likewise.
21114         (simplify_shift_const): Likewise.
21115         * cse.c (simplify_unary_operation): Likewise.
21116         (simplify_binary_operation): Likewise.
21117         * emit-rtl.c (operand_subword): Likewise.
21118         * rtl.h: Declare it.
21119
21120 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21121
21122         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
21123         (use NUM_REGS instead of NUM_INTS).
21124
21125 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21126
21127         * builtins.c: New file.
21128         * expr.c (saveregs_value, apply_args_value):  Delete definition,
21129         moved into builtins.c.
21130         (string_constant): No longer static.
21131         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
21132         apply_args_size, apply_result_size, result_vector,
21133         expand_builtin_apply_args, expand_builtin_apply,
21134         expand_builtin_return): Delete functions, moved into builtins.c.
21135         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
21136         * expr.h (saveregs_value, apply_args_value): Declare variables.
21137         (expand_builtin, string_constant): Declare functions.
21138         * Makefile.in: Update to build builtin.o.
21139
21140 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
21141
21142         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
21143         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
21144         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
21145         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
21146         false.
21147         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
21148         Define to zero.
21149
21150 1999-07-21  Michael Meissner  <meissner@cygnus.com>
21151
21152         * print-rtl.c (print_rtx): Print the names of the virtual
21153         registers.
21154
21155 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
21156
21157         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
21158         introduced in previous delta.
21159
21160 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21161
21162         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
21163         to avoid name clash.
21164
21165 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21166
21167         * c-lex.c (yylex) : Correct the test for overflow when lexing
21168         integer literals.
21169
21170 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
21171
21172         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
21173         (adjust_priority): Always call ADJUST_PRIORITY.
21174         (schedule_insn): Only put insns into the ready at cost 0.
21175         (schedule_block): Remove redundant initial sort.  Give clock_var
21176         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
21177         is not 0.
21178         * tm.texi (MD_SCHED_REORDER): Update docs.
21179
21180         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
21181         * sparc.c (ultra_reorder_called_this_block): Delete.
21182         (ultrasparc_sched_init): Don't set it.
21183         (ultrasparc_sched_reorder): Don't check it.
21184
21185 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
21186
21187         * rs6000.h (struct rs6000_args): Add sysv_gregno.
21188         * rs6000.c (init_cumulative_args): Init sysv_gregno.
21189         (function_arg_boundary): Align DFmode.
21190         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
21191         to get fp reg and stack overflow correct.
21192         (function_arg): Likewise.
21193         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
21194         (setup_incoming_varargs): Restructure for ABI_V4; use
21195         function_arg_advance to skip final named argument.
21196         (expand_builtin_saveregs): Properly unskip the last integer arg
21197         when doing varargs.  Adjust overflow location calculation.
21198
21199         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
21200         explicitly unsigned.
21201         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
21202         (__VA_GP_REGSAVE): Similarly.
21203         (__va_longlong_p): Delete.
21204         (__va_arg_type_violation): New declaration.
21205         (va_arg): Restructure.  Flag promotion errors.  Align double.
21206         TFmode passed by reference.
21207
21208         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
21209         in the HOST_BITS_PER_WIDE_INT > 32 case.
21210
21211 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
21212
21213         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
21214
21215 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
21216
21217         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
21218         * toplev.c (documented_lang_options): Add -fpreprocessed.
21219         * cpplib.h (struct cpp_buffer): Add preprocessed.
21220         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
21221         (cpp_start_read): Don't expand macros or emit an initial #line
21222         directive if -fpreprocessed.
21223
21224 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21225
21226         * cpplib.h (struct cpp_buffer): Added manual_pop for
21227         better C++ tokenization.
21228         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
21229         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
21230         * c-common.c (cpp_token): Make non-static.
21231
21232 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21233
21234         * c-common.h: New file.
21235         * c-common.c (permanent_obstack): Delete unused declaration.
21236         (c_global_trees): New array.
21237         (c_common_nodes_and_builtins): New function; split off common code
21238         from init_decl_processing in both c-decl.c and cp/decl.c.
21239         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
21240         c_global_trees and accessor macros defined in c-common.h.
21241         Include c-common.h.
21242         * c-decl.c: Delete definitions for tree nodes that were replaced by
21243         c_global_trees.
21244         (init_decl_processing): Build void_list_node.
21245         Call c_common_nodes_and_builtins; delete code to generate the common
21246         builtins here.
21247         * objc/objc-act.c (build_module_descriptor): Rename variable
21248         void_list_node to avoid clash with c-common.h.
21249
21250         * Makefile.in: Update dependencies.
21251         * objc/Make-lang.in: Likewise.
21252
21253 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
21254
21255         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
21256         (UNIQUE_SECTION_P): Likewise.
21257         (UNIQUE_SECTION): Likewise.
21258
21259 1999-07-19  Linas Vepstas  <linas@linas.org>
21260
21261         * config/i370/README: New file.
21262         * config/i370/linux.h: New file.
21263         * config/i370/mvs.h: New file.
21264         * config/i370/oe.h: New file.
21265         * config/i370/t-linux: New file.
21266         * config/i370/t-mvs: New file.
21267         * config/i370/t-oe: New file.
21268         * config/i370/x-oe: New file.
21269         * config/i370/xm-linux.h: New file.
21270         * config/i370/xm-mvs.h: New file.
21271         * config/i370/xm-oe.h: New file.
21272
21273         * i370.c (label_node_t): Add first_ref_page, label_addr,
21274         label_first_ref, label_last_ref members.
21275         (mvs_need_base_reload): Renamed from mvs_label_emitted.
21276         (MAX_MVS_LABEL_SIZE): Define.
21277         (MAX_LONG_LABEL_SIZE): Define.
21278         (alias_node_t, alias_anchor, alias_number): New.
21279         (mvs_function_table): Reorder for EBCDIC.
21280         (ascebc, ebcasc): Unconditionally define.
21281         (i370_branch_dest, i370_branch_length): New functions.
21282         (i370_short_branch, i370_label_scan): New functions.
21283         (mvs_get_label): Renamed from mvs_add_label.  Search for
21284         an existing label before creating a new one.
21285         (mvs_add_label): New function.
21286         (mvs_get_label_page): New function.
21287         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
21288         over the entire list.
21289         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
21290         (mvs_check_page) [TARGET_ELF_ABI]: New function.
21291         (mvs_add_alias, mvs_need_alias): New functions.
21292         (mvs_get_alias, mvs_check_alias): New functions.
21293         (handle_pragma): New function.
21294         (mvs_function_check): New function.
21295         (unsigned_jump_follows_p): Search harder.
21296         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
21297         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
21298         * i370.h (TARGET_VERSION): Delete.
21299         (CPP_SPEC, CPP_PREDEFINES): Delete.
21300         (mvs_label_emitted): Delete.
21301         (TARGET_EBCDIC): Delete.
21302         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
21303         (HANDLE_PRAGMA): Define.
21304         (HARD_REGNO_NREGS): Handle complex modes.
21305         (HARD_REGNO_MODE_OK): Likewise.
21306         (CLASS_MAX_NREGS): Likewise.
21307         (RET_REG): Likewise.
21308         (EXTRA_CONSTRAINT): Define.
21309         (RETURN_IN_MEMORY): True for DImode.
21310         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
21311         (FUNCTION_PROFILER): Delete.
21312         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
21313         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
21314         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
21315         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
21316         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
21317         (ASM_FILE_START): Add "RMODE ANY".
21318         (ASM_OUTPUT_EXTERNAL): Check for aliases.
21319         (ASM_GLOBALIZE_LABEL): Likewise.
21320         (ASM_OUTPUT_LABELREF): Likewise.
21321         (ASM_OUTPUT_COMMON): Likewise.
21322         (PRINT_OPERAND): Handle 'K', 'W', default.
21323         (PRINT_OPERAND_ADDRESS): New.
21324         (Lots of defines): Add support for TARGET_ELF_ABI.
21325         * i370.md (attr length): New.  Define for all patterns.
21326         (*): Lots of tweeks to assembly output and constraints.
21327
21328 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
21329
21330         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
21331         Disable patterns performing SImode comparisons with SImode values
21332         if TARGET_POWERPC64 and instruction does not sign-extend or does
21333         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
21334         differ for signed quantities.
21335         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
21336         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
21337         (decrement_and_branch_on_count): Add 64-bit variant.
21338
21339 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21340
21341         * final.c (output_asm_insn): When searching for the matching string
21342         for a given dialect, don't run past the end of the list of
21343         alternatives if there are fewer alternatives in the template than
21344         dialects.
21345
21346 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
21347
21348         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
21349         Removed paragraph about compression of files and size limitation,
21350         duplicated in the FAQ.  Use gcc-patches for posting patches.
21351         * gcc.c (main): Updated URL with bug reporting instructions to
21352         gcc.gnu.org.  Removed e-mail address.
21353         * system.h (abort): Likewise.
21354
21355 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21356
21357         * Makefile.in (stmp-multilib-sub): Make the files extracted
21358         from $(LIBGCC1) writable.
21359
21360 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
21361
21362         * config/arm/aout.h: Reformat for improved readability.
21363
21364         * config/arm/arm.h: Reformat for improved readability.
21365         Replace uses of fprintf with asm_fprintf where appropriate.
21366         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
21367         function declaration assembler actions.
21368         (NUM_INTS): New macro: Convert from bytes to words.
21369         (NUM_REGS): New macro: Compute number of registers required to
21370         hold a quanitity of tyep MODE.
21371         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
21372         types.
21373         (NUM_ARG_REGS): New macro: The number of argument registers
21374         available.
21375         (ARG_REGISTER): New macro: Compute the register number of the Nth
21376         argument register.
21377         (LAST_ARG_REGNUM): New macro: The number of the last argument
21378         register.
21379         (SP_REGNUM): New macro: Register number of the stack pointer.
21380         (FP_REGNUM): New macro: Register number of the frame pointer.
21381         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
21382         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
21383         CUMULATIVE_ARGS so that it counts registers not bytes.
21384
21385         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
21386         TARGET_INTERWORK.
21387         Replace uses of fprintf with asm_fprintf where appropriate.
21388         (output_ascii_pseudo_op): Replace with version from thumb.c
21389
21390         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
21391
21392         * config/arm/elf.h (CPP_PREDEFINES): Replace with
21393         SUBTARGET_CPP_SPEC.
21394         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
21395         (ASM_FILE_START): Emit ASM_APP_OFF.
21396
21397 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
21398
21399         * pa.c (compute_frame_size): Round frame according to
21400         STACK_BOUNDARY rather than a hardwired value.
21401
21402         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
21403
21404         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
21405         of "1".
21406         * configure: Rebuilt.
21407
21408         * configure.in (hppa*-*-linux*): New configuration.
21409         * configure: Rebuilt.
21410         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
21411         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
21412         * pa/pa-linux.h: New file.
21413         * pa/t-linux: New file.
21414         * pa/xm-linux.h: New file.
21415
21416         * pa.c (hppa_legitimize_address): Change references from SImode to
21417         either Pmode or word_mode as appropriate.
21418         (emit_move_sequence, store_reg, load_reg): Likewise.
21419         (set_reg_plus_d, hppa_expand_prologue): Likewise.
21420         (output_mul_insn): Likewise.
21421         * pa.h (PROMOTE_MODE): Likewise.
21422         (INITIALZE_TRAMPOLINE): Likewise.
21423         (Pmode): Define to word_mode.
21424
21425         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
21426         value of 4.  Allocate 8 bytes for each FP register save.
21427         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
21428         value of 4.
21429         (hppa_expand_prologue): Likewise.
21430         * pa.h (PROMOTE_MODE): Likewise.
21431         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
21432         (FUNCTION_ARG_BOUNDARY): Likewise.
21433
21434         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
21435
21436         * pa.c (out_of_line_prologue_epilogue): Delete.
21437         (override_options): Remove -mspace related code.
21438         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
21439         (compute_frame_size): Only allocate space for register that
21440         actually need to be saved.
21441         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
21442         (TARGET_SWITCHES): Remove -mspace, -mno-space
21443         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
21444         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
21445         * pa/ee.asm, pa/ee_fp.asm: Delete.
21446
21447         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
21448
21449         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
21450         directive in column zero.
21451
21452 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
21453
21454         * m68k.c (output_function_prologue): Fix computation of save mask
21455         when generating PIC code.
21456
21457 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
21458
21459         * tree.c (build_type_attribute_variant): Move current_obstack restore
21460         after build_qualified_type call.
21461
21462 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
21463
21464         * configure.in: Use t-iris6, even with GNU LD.
21465         * config/mips/iris6gld.h: Fix typo in linker spec.
21466         * config/mips/t-iris6gld: Remove.
21467
21468 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
21469
21470         * rs6000.md (insv, extzv): Remove SImode dependence in named
21471         patterns.  Explicitly generate DImode RTL if PowerPC64 and
21472         operand is DImode.
21473         (insvdi): Reverse start and size in instruction template.
21474
21475 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
21476
21477         * invoke.texi: Typo fixes.
21478
21479 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
21480
21481         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
21482         handle at this time instead of silently generating incorrect code.
21483         (gen_imagpart): Likewise.
21484
21485         * reload.c (find_reloads): Emit a USE for a pseudo register without
21486         a hard register if we could not create an optional reload for the
21487         pseudo.
21488
21489 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21490
21491         * c-typeck.c (output_init_element, process_init_element):
21492         When advancing constructor_unfilled_fields for a RECORD_TYPE,
21493         check for nameless bit fields.
21494
21495 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
21496
21497         * regclass.c (scan_one_insn): Notice subregs that change the
21498         size of their operand.
21499         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
21500
21501 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
21502
21503         * configure.in (alpha*-*-*): Include alpha/t-ieee.
21504         * configure: Rebuilt.
21505         * alpha/t-ieee: New file.
21506
21507 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
21508
21509         * rs6000.c (find_addr_reg): Do not select r0 as an address
21510         register.
21511
21512 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
21513
21514         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
21515
21516 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
21517
21518         * rs6000.md (movsf): Do not force easy FP constants into memory.
21519
21520         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
21521         immed_double_const to ensure they are properly truncated then
21522         sign extended.
21523
21524 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
21525
21526         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
21527         always unless NO_DEBUG is used.  Compile this code
21528         unconditionally.
21529         (replace_symbols_in_block): Compile it unconditionally.
21530
21531 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
21532
21533         * configure.in (i?86-*-elf*): New target.
21534         * configure: Rebuilt.
21535         * i386/i386elf.h, i386/t-i386elf: New files.
21536
21537 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21538
21539         * toplev.c (main): Don't complain about saying -gdwarf.
21540         (rest_of_compilation): Remove redundant code.
21541
21542 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
21543
21544         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
21545
21546 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
21547
21548         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
21549         "Li960R:", to avoid name clash.
21550
21551 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21552
21553         * loop.c (check_dbra_loop): When reversing a loop, delete all
21554         REG_EQUAL notes referencing the reversed biv except those which are
21555         for a giv based on it.
21556
21557 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
21558
21559         * version.c: Drop "gcc-" prefix from version #.
21560
21561 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
21562
21563         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
21564         the label if we're being verbose.
21565
21566 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
21567
21568         * m68k.c (output_function_prologue): Add pic register to mask
21569         if live and flag_pic.
21570         (output_function_epilogue): Likewise.
21571
21572 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
21573
21574         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
21575         directives in column zero.
21576
21577         * pa/elf.h (ASM_FILE_START): Define.
21578         * pa/som.h (ASM_FILE_START): Include .level directives.
21579         * pa/hpux10.h (ASM_FILE_START): Delete.
21580         * pa/hpux11.h (ASM_FILE_START): Delete.
21581
21582         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
21583
21584 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21585
21586         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
21587         when reload_out equals reload_in.
21588
21589 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
21590
21591         * invoke.texi (Spec Files): New node: Describe the contents of
21592         spec files.
21593
21594 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
21595
21596         * invoke.texi (DEC Alpha Options): Put @end table at
21597         beginning of line, to avoid confusing texi2html.
21598
21599 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
21600
21601         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
21602         introduced in previous delta.
21603
21604 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
21605
21606         * reload1.c (gen_reload): When synthesizing a 3 operand add
21607         sequence, improve test for when to reload OP1 into the reload
21608         register instead of OP0.
21609
21610 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
21611
21612         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
21613
21614 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
21615
21616         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
21617         string literal.
21618
21619 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
21620
21621         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
21622         (va_dcl): Use __builtin_va_alist_t.
21623
21624 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
21625
21626         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
21627         on the permanent_obstack.
21628         * dwarfout.c (output_type): Likewise.
21629
21630 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21631
21632         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21633         Merged from c-typeck.c and cp/typeck.c.
21634         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21635         Merged into c-common.
21636
21637 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
21638
21639         * c-lex.c (errorcount): Declare it.
21640         (finish_parse): Update errorcount when using CPPLIB.
21641
21642 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
21643
21644         * fixinc/inclhack.def(end_else_label): Double the backslash so
21645         sed gets a chance to see it.
21646         * fixinc/inclhack.sh: regen
21647         * fixinc/fixincl.x: regen
21648
21649 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
21650
21651         Add framework to support armv5 architecture when it becomes
21652         available:
21653
21654         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
21655         (arm_arch5): New variable.
21656         (all_architectures): Add armv5 line.
21657         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
21658         -march=armv5 is specified on the command line.
21659         (arm_arch5): Export this variable.
21660         * invoke.texi: Document new string accepted by -march= switch for
21661         ARM ports.
21662
21663         * config/arm/arm.h: Replace use of constant 12 as a register
21664         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
21665         * config/arm/arm.c: Replace use of constant 12 as a register
21666         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
21667
21668         * config/arm/elf.h: Tidy up.
21669         * config/arm/coff.h: Tidy up.
21670
21671 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
21672
21673         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
21674         * gcc/config/mips/t-iris6gld: New file.
21675         * gcc/config/mips/iris6gld.h: Likewise.
21676
21677 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21678
21679         * c-decl.c (widest_integer_literal_type_node,
21680         widest_unsigned_literal_type) : New.
21681         (init_decl_processing): Handle/use the two new types.
21682         * c-common.c (type_for_size,type_for_mode) : Same.
21683         * c-lex.c (yylex) : Same.
21684         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21685         Same.
21686         * c-tree.h (widest_integer_literal_type_node,
21687         widest_unsigned_literal_type) : New.
21688
21689 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
21690
21691         * dwarfout.c (field_byte_offset): Correctly compute the object's
21692         byte offset for the first bit of a field which crosses an alignment
21693         boundary on a !BYTES_BIG_ENDIAN target.
21694
21695 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
21696
21697         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
21698         ntohs.
21699
21700 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
21701                           Jeff Law <law@cygnus.com>
21702
21703         * ginclude/varargs.h (va_dcl): Use word_mode for type of
21704         __builtin_va_list.
21705
21706         * except.c: Include intl.h.
21707         (expand_eh_return): Set current_function_cannot_inline.
21708         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
21709         * function.h (struct function): Add eh_return_stub_label.
21710         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
21711         * Makefile.in (except.o): Depend on intl.h.
21712
21713 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
21714
21715         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
21716         same as offsettable in cases 1 and 2.
21717
21718 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
21719
21720         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
21721         (extlh, extwh): Likewise.
21722
21723 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21724
21725         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
21726
21727 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
21728
21729         * configure.in: Add arm-pe and thumb-pe targets.
21730         * configure: Regenerate.
21731
21732         * thumb.c (arm_naked_function_p): New function: Determines if
21733         a function is naked (has no gcc generated prologue/epilogue).
21734         (is_called_in_ARM_mode): Return true if the func has the
21735         interfacearm attribute.
21736         (output_return): Do not generate a return for naked functions.
21737         (thumb_function_prologue): Do not generate a prologue for
21738         naked functions.
21739         (thumb_expand_prologue): Do not generate a prologue for naked
21740         functions.
21741         (thumb_expand_epilogue): Do not generate an epilogue for naked
21742         functions.
21743         (arm_valid_machine_decl_attribute): New function, copied from
21744         arm.c:  Permit naked and interfacearm attributes.
21745
21746         * config/arm/pe.c: New file: Support code for arm-pe target.
21747         * config/arm/pe.h: New file: Header file for arm-pe target.
21748         * config/arm/tpe.h: New file: Header file for thumb-pe target.
21749         * config/arm/t-thumb-pe: New file: Makefile fragment for
21750         thumb-pe target.
21751
21752 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
21753
21754         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
21755         -fPIC or -fpic is specified.
21756
21757 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
21758
21759         * expr.c (emit_block_move): Use copy_to_mode_reg for
21760         !TARGET_MEM_FUNCTIONS case too.
21761
21762         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
21763         appropriate.
21764         * configure: Rebuilt.
21765         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
21766         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
21767         definitions made redundant by dbxelf.h inclusion.  Delete
21768         lots of definitions related to assembly output that are
21769         specific to the SOM object format.
21770         * pa.c (output_function_prologue): Do not emit the function's
21771         name for OBJ_ELF.
21772         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
21773         * pa-pro.h: Deleted.
21774         * som.h: New file with SOM specific definitions.
21775         * elf.h: New file with ELF specific definitions.
21776
21777         * elfos.h (const_section): Output a tab before assembler directives.
21778         (ctors_section, dtors_section): Likewise.
21779         (ASM_OUTPUT_SECTION_NAME): Likewise.
21780
21781         * pa/pa1.h: Delete unused file.
21782
21783 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
21784
21785         * configure.in (hppa*-hp-hpux11*): New configuration.
21786         * configure: Rebuilt.
21787         * pa/pa-hpux11.h: New file.
21788         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
21789         command line.
21790
21791         * mips.md (leasi, leadi): New patterns.
21792
21793         * expr.c (emit_block_move): Properly handle case where one of the
21794         block move arguments has a queued increment or decrement.
21795         (clear_storage): Similarly.  Fix formatting goof.
21796
21797 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
21798
21799         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
21800         semicolon from the BSD VA_LIST replacement expression.
21801
21802         * fixinc/inclhack.sh: regen
21803         * fixinc/fixincl.x: regen
21804
21805         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
21806         now use the fixincl program.
21807
21808 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
21809
21810         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
21811         case.  Also make the PIC register call_used.
21812
21813         * m68k.h (FINALIZE_PIC): Delete.
21814         * m68k.c (finalize_pic): Delete.
21815
21816 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
21817
21818         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
21819         to memory.
21820
21821 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
21822
21823         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
21824
21825 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
21826
21827         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
21828
21829 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
21830
21831         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
21832
21833 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
21834
21835         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
21836
21837 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
21838
21839         * rs6000.c (output_toc): Always use hex values for floating-point
21840         constants.  Store single-precision values in upper-half of TOC
21841         entry in 64-bit mode.
21842         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
21843         to final constraints.
21844         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
21845         (fctiwz): Improve accuracy of RTL for pattern.
21846
21847 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21848
21849         * expr.c (expand_expr): Allow RTL_EXPR's through the
21850         MAX_INTEGER_COMPUTATION_MODE checks.
21851
21852 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
21853
21854         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
21855         such that MASK_SUPPORT_ARCH is not negative.
21856
21857 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
21858
21859         * loop.c (verify_dominator): Properly handle ADDR_VEC and
21860         ADDR_DIFF_VEC insns that appear inside loops.
21861
21862 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
21863                           Jeff Law <law@cygnus.com>
21864
21865         * rs6000.md (movdf_hardfloat32): Revert previous patch.
21866         Handle LO_SUM the same as offsettable in cases 1 and 2.
21867         * rs6000.c (find_addr_reg): Revert previous patch.
21868
21869 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
21870
21871         * system.h (strstr): New external function declaration.
21872         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
21873         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
21874         * config.in, configure: Rebuilt.
21875
21876 1999-06-24  Tom Tromey  <tromey@cygnus.com>
21877
21878         * gcc.c (main): Read user-specified specs files after computing
21879         additional startfile_prefixes.
21880
21881 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
21882
21883         Revert these two patches:
21884
21885         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21886         * loop.c (strength_reduce): When doing biv->giv conversion, update
21887         reg note of NEXT->insn.
21888
21889         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21890         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21891         reg_biv_class.
21892         (recombine_givs): Set ix field after sorting.
21893
21894 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21895
21896         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
21897         for the parts of an UNSPEC / UNSPEC_VOLATILE.
21898
21899 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
21900
21901         *fixinc/inclhack.def:  Add fix development commentary
21902         (read_ret_type): reactivate and add selection clause
21903         (zzz_*): tweak output file name to match what is used in hackshell.tpl
21904         *fixinc/{fixincl.x|inclhack.sh}: regen
21905
21906 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
21907
21908         * expr.c (expand_expr): STRIP_NOPS before checking against
21909         MAX_INTEGER_COMPUTATION_MODE
21910         (check_max_integer_computation_mode): Likewise.
21911
21912 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
21913
21914         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
21915
21916 1999-06-22  Jim Wilson  <wilson@cygnus.com>
21917
21918         * expr.c (store_expr): When target is a promoted subreg, return a
21919         promoted subreg as a result.
21920
21921 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
21922
21923         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
21924         coding standards.
21925         (dwarf2out_define): Mark unused parameters appropriately.
21926         (gen_unspecified_parameters_die): Ditto.
21927         (gen_subprogram_die): Fix signed/unsigned warnings.
21928         (gen_variable_die): Ditto.
21929
21930 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
21931
21932         * fixinc/inclhack.def(end_else_label): combined else_label
21933         and endif_label and fixed the sed expression.
21934         *fixinc/{fixincl.x|inclhack.sh}: regen
21935
21936 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
21937
21938         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
21939         'x' when handling non-offsettable addresses
21940
21941 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
21942
21943         * final.c (shorten_branches): Don't try to split an insn that has
21944         been deleted.
21945
21946 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
21947
21948         * config/mips/mips.c (symbolic_expression_p): New function.
21949         (mips_select_rtx_section): Put symbolic expressions in the
21950         data section, not the read-only data section.
21951
21952 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
21953
21954         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
21955
21956 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
21957
21958         * collect2.c (main): Log frame table count.
21959         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
21960         (scan_prog_file) [COFF]: Handle frame tables.
21961
21962         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
21963         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
21964         * alpha/elf.h: Undef them again.
21965         * alpha/vms.h: Remove their definitions.
21966
21967 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21968
21969         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
21970         remove the clobber of r0 and change the REG_UNUSED note to
21971         REG_INC.
21972
21973 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
21974
21975         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
21976         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
21977         fits in HOST_WIDE_INT and one uses union to access a long constant
21978         as double.
21979
21980 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
21981
21982         * sparc.c (sparc_override_options): Don't allow profiling for
21983         code models other than medlow.
21984         (sparc_function_profiler): New function from old FUNCTION_PROFILER
21985         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
21986         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
21987         (sparc_block_profiler): Likewise.
21988         (sparc_function_block_profiler_exit): Likewise.
21989         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
21990         (FUNCTION_BLOCK_PROFILER): Likewise.
21991         (BLOCK_PROFILER): Likewise.
21992         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
21993         (MCOUNT_FUNCTION): New.
21994         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
21995         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
21996         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
21997         (MCOUNT_FUNCTION): New.
21998         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
21999         (BLOCK_PROFILER): Delete.
22000         (MCOUNT_FUNCTION): New.
22001
22002 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
22003
22004         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
22005
22006 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
22007
22008         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22009         Add the macros.
22010
22011         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22012         Ditto.
22013
22014         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22015         Ditto.
22016
22017         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
22018         Ditto.
22019
22020 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
22021
22022         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
22023         types.
22024
22025 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
22026
22027         * i386/djgpp.h (LIB_SPEC): New.
22028         (STARTFILE_SPEC): New.
22029
22030         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
22031
22032 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
22033
22034         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
22035         compiler flags.
22036
22037         * system.h (WSTOPSIG): New macro.
22038
22039 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22040
22041         * c-pragma.c (push_alignment): Don't ignore alignments greater than
22042         4 bytes.
22043         (insert_pack_attributes): Take into account member natural
22044         alignment.
22045
22046         * i386/winnt.c (exports_head): New static variable.
22047         (i386_pe_record_exported_symbol): New function.
22048         (i386_pe_asm_file_end): Use.
22049         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
22050         symbols to be emitted at end of assembly.
22051         (ASM_DECLARE_OBJECT_NAME): Likewise.
22052         (ASM_DECLARE_FUNCTION_NAME): Likewise.
22053
22054         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
22055         -iwithprefix.
22056
22057 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
22058
22059         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
22060         in last change.
22061
22062 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
22063
22064         * haifa-sched.c (sched_analyze_1): Use free_list instead of
22065         zapping reg_last_uses directly.
22066         (sched_analyze_2, sched_analyze_insn): Likewise.
22067         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
22068
22069 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
22070
22071         * rs6000.md (movdf_hardfloat32): Use worst case insn length
22072         attributes for cases 1 and 2.
22073
22074 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
22075
22076         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
22077         instead of set.
22078
22079 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
22080
22081         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
22082
22083 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
22084
22085         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
22086         PIC_OFFSET_TABLE_REGNUM for general alloaction.
22087         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
22088         must be stacked if it is used for PIC accesses.
22089         * arm.c (use_return_insn): Handle PIC register specially.
22090         (output_return_instruction): Likewise.
22091         (output_func_{prologue,epilogue}): Likewise.
22092         (output_expand_prologue): Likewise.
22093
22094         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
22095         (*strsi_predec): Renamed from *strqi_predec.
22096         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
22097         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
22098
22099         * arm.c (arm_override_options): Remove warning about PIC code
22100         not being supported.
22101
22102 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
22103
22104         * rs6000.c (find_addr_reg): New function.
22105         * rs6000.h (find_addr_reg): Declare.
22106         (offsettable_addr_operand): Delete.
22107         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
22108         from and stores to GPRs.
22109
22110 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
22111
22112         * alpha.c (alpha_expand_block_move): Use get_insns rather than
22113         gen_sequence as argument to emit_no_conflict_block.
22114
22115 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22116
22117         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
22118         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
22119         *fixinc/fixincl.x: regen
22120         *fixinc/inclhack.sh: regen
22121
22122 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
22123
22124         * added support for -mpcrel (PC relative addressing for m68k)
22125         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
22126         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
22127         * m68k.c (print_operand_address): Handle 32-bit PIC case.
22128         (comments for general_src_operand): Add some explanation
22129         about EXTRA_CONSTRAINTS.
22130         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
22131         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
22132         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
22133         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
22134         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
22135         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
22136         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
22137         if not already set.
22138         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
22139         * m68k.h (TARGET_PCREL): New target flag.
22140         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
22141         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
22142         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
22143         contains a SYMBOL_REF.  Relax this constraint during reload, since
22144         we want to use the predicates, not reload's built-in concept of a
22145         valid memory address, to control what insns need reloading.
22146         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
22147         operands (essentially 'g', 'm', and 's' under normal circumstances).
22148         * m68k.c (print_operand): Cause printing of pc-relative addresses
22149         to include pc register.
22150         (print_operand_address): Ditto.
22151         (general_src_operand): Accept operands that are not only
22152         general_operands, but are also valid when used as a pc-relative
22153         source.
22154         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
22155         (memory_src_operand): Similar, for memory_operands.
22156         (pcrel_address): New predicate to accept the special case of a
22157         pc-relative address.
22158         * m68k.md (many patterns): Rewrite common SImode, HImode, and
22159         QImode insns to accept *_src_operand instead of *_operand where
22160         pc-relative operands can fit.  For example, a pc-relative operand
22161         can be used as a memory source operand for addsi3, but not as a
22162         memory destination.
22163         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
22164
22165 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
22166
22167         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
22168         .thumb_set pseudo op to mark aliases of thumb functions.
22169
22170 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
22171
22172         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
22173         preference to ASM_OUTPUT_DEF, if it is defined.
22174
22175         * tm.texi: Document new, optional target macro
22176         ASM_OUTPUT_DEF_FROM_DECLS.
22177
22178 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22179
22180         * fixincludes: ISCNTL patch
22181         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
22182         (dgux_int_varargs): new for DG/UX
22183         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
22184
22185 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
22186
22187         * invoke.texi (ia32 options): Fix typo.
22188
22189 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22190
22191         * loop.c (strength_reduce): When doing biv->giv conversion, update
22192         reg note of NEXT->insn.
22193
22194 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
22195
22196         * loop.c (move_movables): Note issues with replacing REGs with
22197         SUBREGs.
22198         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
22199
22200 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
22201
22202         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
22203
22204         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
22205         the reference to `mcount' was not correct for the ELF on FreeBSD.
22206
22207 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22208
22209         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22210         reg_biv_class.
22211
22212         (recombine_givs): Set ix field after sorting.
22213
22214 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
22215
22216         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
22217         to safe to extract a subword out of a REG.
22218
22219 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22220
22221         * sh.md (mulsi3): Don't add a no-op move at the end.
22222
22223 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22224
22225         * cse.c (cse_insn): Don't put hard register source into tables for
22226         the last insn of a libcall.
22227
22228 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22229
22230         * loop.c (strength_reduce): Insert sets of derived givs at every
22231         biv increment, even if it's the only one.
22232
22233 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
22234
22235         * dwarfout.c (add_incomplete_type): New fn.
22236         (output_type): Call it.
22237         (retry_incomplete_types): New fn.
22238         (dwarfout_finish): Call it.
22239
22240         From Eric Raskin <ehr@listworks.com>:
22241         (output_type): Output types for bases.
22242
22243 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22244
22245         * mips.c (mips_output_conditional_branch): Add `break'
22246         between `default' label and `close braces'.
22247
22248 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
22249
22250         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
22251         specifications and make it realistic.
22252         (LIB_SPEC): Likewise.
22253
22254 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
22255
22256         * config/mips/mips.c (mips_secondary_reload_class): Check for
22257         (PLUS (SP) (REG)) and return appropriate register class.
22258         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
22259         Handle (PLUS (SP) (REG)).
22260         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
22261         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
22262         of emit_insn for tablejump.
22263
22264 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
22265
22266         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
22267         asm_fprintf format string by itself.
22268         (output_function_profiler): Likewise.
22269
22270 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
22271
22272         * combine.c (simplify_logical, case AND): Only call
22273         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
22274         or the constant is positive.
22275
22276 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
22277
22278         * configure.in: Fix typo in rs6000-ibm-aix4 case.
22279         * configure: Regenerate.
22280
22281 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
22282
22283         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
22284         require a sub-version #.
22285         * configure: Rebuilt.
22286
22287 1999-06-14  Robert Lipe  (robertlipe@usa.net)
22288
22289         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
22290
22291 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
22292
22293         * c-typeck.c (process_init_element): Detect excess elements in
22294         char array initializer.
22295
22296 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
22297
22298         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
22299
22300 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22301
22302         * invoke.texi (Option Summary): Add -fpermissive flag.
22303
22304 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
22305
22306         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
22307         that require PIC code sequences.
22308
22309 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
22310
22311         * configure.in: Add new target: thumb-elf.
22312         * configure: Regenerate.
22313         * config/arm/t-thumb-elf: New file: Makefile fragment for
22314         thumb-elf build.
22315         * config/arm/telf.h: New file: Header file for thumb-elf
22316         build.
22317
22318 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
22319
22320         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
22321         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
22322         initializers is some circumstances.
22323
22324         * fixinc/inclhack.def (endif_label): Add additional selector for
22325         more bogus stuff after #endif statements.
22326         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
22327
22328 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22329
22330         * i386/cygwin.h (SET_ASM_OP): Define.
22331
22332 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22333
22334         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
22335
22336 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22337
22338         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
22339         latter.
22340
22341         * sh.md (ic_invalidate_line_i): Remove second alternative.
22342
22343 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22344
22345         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
22346         test for the presence of valid prototypes.  Delete bypass expr.
22347         (ioctl_fix_ctrl): Correct the selection expression.
22348         (no_double_slash): Correct quoting rules
22349         *fixinc/fixincl.x: regen
22350         *fixinc/inclhack.sh: regen
22351
22352 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
22353
22354         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
22355
22356 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22357
22358         * rs6000.md (movsi_got_internal_mem): Delete.
22359         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
22360         (GOT_TOC_REGNUM): Delete.
22361         (PIC_OFFSET_TABLE_REGNUM): Define.
22362         (FINALIZE_PIC): Disable.
22363         * rs6000.c (rs6000_got_register): New code for fixed pic register.
22364         (rs6000_replace_regno): Delete.
22365         (rs6000_finalize_pic): Likewise.
22366         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
22367
22368 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22369
22370         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
22371         is a note; use <= for the compare; advance P while it is
22372         a NOTE.
22373
22374 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
22375
22376         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
22377         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
22378
22379         * varasm.c (remove_from_pending_weak_list): Verify t->name
22380         is non-NULL before passing it to strcmp.
22381
22382 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22383
22384         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
22385         the typed arguments are not part of a comment
22386         (ioctl_fix_ctrl): Added a purpose comment
22387         *fixinc/fixincl.x: regenerate
22388         *fixinc/inclhack.sh: regenerate
22389
22390 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22391
22392         * invoke.texi: Add C4x invocation docs.
22393
22394 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22395
22396         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
22397         Define new macros.
22398         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
22399         TARGET_EXPOSE_LDP.
22400         (c4x_legitimize_reload_address): New function.
22401         * config/c4x/c4x.md: Update docs.
22402
22403 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
22404
22405         * fixincludes: Avoid removing '.'.
22406         * fixinc/fixinc.svr4: Likewise.
22407         * fixinc/fixinc.winnt: Likewise.
22408         * fixinc/inclhack.tpl: Likewise.
22409         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
22410
22411 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22412
22413         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
22414         pattern.
22415         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
22416
22417 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22418
22419         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
22420         correctly.
22421
22422 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
22423
22424         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
22425         * configure: Regenerate.
22426
22427 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
22428
22429         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
22430         values.
22431
22432 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
22433
22434         * fixinc/inclhack.def (avoid_bool): Also catch
22435         "typedef [unsigned] int bool".
22436         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
22437
22438         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
22439         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
22440         * configure: Rebuilt.
22441
22442 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
22443
22444         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
22445         such that we can override its definitions if necessary.
22446         (CPP_SPEC): New define.  Support processor specific predefines via
22447         %(cpp_cpu).
22448         (CC1_SPEC): New define.  Support processor specific compiler
22449         options via %(cc1_cpu).
22450         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
22451         -static.
22452
22453 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22454
22455         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
22456         between sed's -e flag, and the open-quote following it.
22457         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
22458
22459 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
22460                           Jeffrey A Law  (law@cygnus.com)
22461
22462         * varasm.c (assemble_start_function): Remove the function
22463         from the pending weak decls list when we define a function.
22464         (assemble_variable): Similarly for variables.
22465         (weak_finish): Ignore items on the list with a NULL name.
22466         (remove_from_ending_weak_list); New function to "remove" an item
22467         from the pending weak declarations list.
22468
22469 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22470
22471         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
22472
22473 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
22474
22475         * c-lex.c (GETC): Redefine to call getch.
22476         (UNGETC): Redefine to call put_back.
22477         (putback_buffer): New structure type.
22478         (putback): New static structure.
22479         (getch): New function.
22480         (put_back): New function.
22481         (yylex): Replace unused bytes from bad multibyte character.
22482
22483 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
22484
22485         * cpplib.c (do_define): Cast `alloca' return value.
22486         (do_include, do_undef, do_pragma): Likewise.
22487         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
22488         values.
22489         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
22490         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
22491
22492 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22493
22494         * sparc.md (abstf2): This should be an expand.
22495         (split after abstf2_notv9): Fix mode.
22496         (abstf2_hq_v9): New pattern.
22497         (abstf2_v9): Only use when no hard quad.
22498         (absdf2_v9): Fix if target is not the same as source.
22499         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
22500         Add correct output constraints.
22501
22502 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
22503
22504         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
22505         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
22506
22507 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
22508
22509         * mips.h (mips_output_conditional_branch): New function.
22510         (mips_adjust_insn_length): Likewise.
22511         (ASSEMBLER_SCRATCH_REGNUM): New macro.
22512         (ADJUST_INSN_LENGTH): Likewise.
22513         * mips.c (print_operand): Add `F' and `W' for floating-point
22514         comparison opcodes.
22515         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
22516         are now in bytes.
22517         (mips_adjust_insn_length): New function.
22518         (mips_output_conditional_branch): New function.
22519         * mips.md (length): Adjust attribute definition to handle
22520         conditional branches.  Change lengths to bytes, rather than
22521         instructions throughout.  Remove length attribute from
22522         instructions whose length is four bytes, and rely on the default
22523         instead.
22524         (dslot): Fix typo in comment.
22525         Reword conditional branch patterns to use
22526         mips_output_conditional_branch.
22527
22528 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
22529
22530         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
22531         (LIB_SPEC): Likewise.
22532         Link with -lprof1_r for -g/-pg.
22533
22534 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22535
22536         * loop.c (check_dbra_loop): Fix change of Jan 19.
22537
22538 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
22539
22540         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
22541         (STARTFILE_SPEC):  Define, override the svr4.h version.
22542         (ENDFILE_SPEC):  Likewise.
22543
22544 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
22545
22546         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
22547         * fixinc/fixincl.x: Regenerated.
22548         * fixinc/inclhack.sh: Regenerated.
22549
22550 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22551
22552         * sh.c (barrier_align): Don't return early for normal branch/barrier
22553         when optimizing for SH2.
22554
22555 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
22556
22557         * i386/udk.h (LINK_SPEC): Correct linker search path for
22558         system libraries.
22559
22560 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22561
22562         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
22563         (braf_label_ref_operand): Delete.
22564         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
22565         * sh.md (casesi_jump_2): Operand1 is now the inside of a
22566         label_ref, and has no predicate.
22567         The patten has a predicate to guard against invalid substitutions.
22568         (dummy_jump): Delete.
22569         (casesi): Update use of casesi_jump_2.
22570
22571 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22572
22573         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
22574         *fixinc/fixincl.x: regenerate
22575         *fixinc/inclhack.sh: regenerate
22576
22577 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
22578
22579         * dwarf2out.c (add_incomplete_type): New fn.
22580         (gen_struct_or_union_type_die): Call it.
22581         (retry_incomplete_types): New fn.
22582         (dwarf2out_finish): Call it.
22583
22584 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
22585
22586         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
22587         current block starts with a CODE_LABEL and ends with a CALL and
22588         we can not find all the argument setup instructions for the CALL.
22589
22590 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
22591
22592         Revert this change:
22593         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
22594         something is a candidate for optimize_bit_field_compare.
22595
22596 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22597
22598         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
22599
22600 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
22601
22602         * alpha.c (override_options): Thinko in last patch.
22603
22604         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
22605         (LIB_SPEC): Recognize -pthread.
22606
22607 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
22608
22609         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
22610         definition in config/arm/coff.h
22611         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
22612
22613 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22614
22615         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
22616         fixes that need "file=xxx\n" prepended before invocation
22617         (start_fixer - new): starting the fixer process is complex enough
22618         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
22619         (process): uses the new routine; omit usage of putenv()
22620         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
22621         * fixinc/fixincl.x: regenerate
22622
22623 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
22624
22625         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
22626         and version #s (1.1 -> 2.96) as needed.
22627         * README.g77: Kill way out of date file in the toplevel directory.
22628
22629 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
22630
22631         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
22632         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
22633         * configure: Rebuilt.
22634         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
22635         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
22636         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
22637         (SWITCH_TAKES_ARG): Likewise.
22638         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
22639         * config/t-freebsd: Moved from config/i386/ so it can used for all
22640         FreeBSD targets.
22641
22642 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
22643
22644         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
22645
22646 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
22647
22648         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
22649         * configure: Rebuilt.
22650
22651 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
22652
22653         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
22654         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
22655         * rs6000/rs6000.c (rs6000_file_start): Use putc.
22656         (rs6000_output_load_toc_table): Same.
22657         (output_prolog, output_mi_thunk): Same.
22658         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
22659         (ASM_GLOBALIZE_LABEL): Use putc.
22660
22661 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
22662
22663         * alpha.md (reload_*_help): New patterns and splitters.
22664         (reload_*): Use them.
22665         (mov[qh]i): Likewise.
22666
22667 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
22668
22669         * cccp.c (handle_directive): Handle backslash-newlines in quoted
22670         strings correctly.
22671
22672 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
22673
22674         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
22675
22676 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
22677
22678         * flow.c (mark_regs_live_at_end, insn_dead_p,
22679         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
22680         and HARD_FRAME_POINTER_REGNUM special treatment if reload
22681         hasn't run or the frame pointer is needed.
22682         * haifa-sched.c (attach_deaths): Likewise.
22683         * sched.c (attach_deaths): Likewise.
22684
22685 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
22686
22687         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
22688         calculate_can_reach_end returns nonzero.
22689
22690         * configure.in (native gas tests): Search for an assembler in the
22691         same manner that the installed compiler will.
22692         * configure: Rebuilt.
22693         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
22694
22695         * alias.c (find_base_term): Improve handling of addresses
22696         constructed from binary operations.
22697
22698 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
22699
22700         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
22701
22702 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
22703
22704         * function.h (cleanup_label, frame_offset): Declare.
22705         (tail_recursion_label, tail_recursion_reentry): Likewise.
22706         (arg_pointer_save_area, rtl_expr_chain): Likewise.
22707         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
22708         (tail_recursion_label, tail_recursion_reentry): Likewise.
22709         (arg_pointer_save_area, rtl_expr_chain): Likewise.
22710
22711 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
22712
22713         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
22714         defined.
22715         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
22716         (MAX_OFILE_ALIGNMENT): Define.
22717
22718 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
22719
22720         * fixincl.c: Replace local include scheme with #includes of
22721         gansidecl.h and system.h.
22722         * procopen.c:  Likewise.
22723         * server.c:  Likewise.
22724
22725 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
22726
22727         * i386/t-dgux (EXTRA_PARTS): Add crti.o
22728         (crti.o): Add build rule and dependencies.
22729         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
22730
22731 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22732
22733         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
22734         (LIB_LINUX_SPEC): Likewise.
22735         (LIB_LINUX_SPEC): Add support for -pthread
22736         (CPP_OS_LINUX_SPEC): Likewise.
22737         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
22738         specified.
22739
22740 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
22741
22742         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
22743         conditional move.
22744         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
22745         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
22746         for IEEE math and CC_FCOMI.
22747         (put_jump_code): No IEEE if CC_FCOMI is set.
22748
22749 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22750
22751         * fold-const.c (fold_truthop): Make the field reference unsigned
22752         when converting a single bit compare.
22753
22754 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22755
22756         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
22757
22758 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
22759
22760         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
22761         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
22762         version did.
22763
22764         * reload.c (push_reload): Do not call remove_address_replacements
22765         when presented with identical optional reloads.
22766
22767 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
22768
22769         * alpha.h (MASK_FIX, TARGET_FIX): New.
22770         (MASK_*): Reorganize constants.
22771         (CPP_AM_FIX_SPEC): New.
22772         (TARGET_SWITCHES): Add FIX.
22773         (EXTRA_SPECS): Likewise.
22774         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
22775         (SECONDARY_MEMORY_NEEDED): Likewise.
22776         (REGISTER_MOVE_COST): Likewise.
22777         * alpha.c (override_options): Add FIX support.  Always use
22778         ALPHA_TP_PROG for ev6.
22779         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
22780         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
22781         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
22782
22783 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
22784
22785         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
22786         something is a candidate for optimize_bit_field_compare.
22787
22788 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
22789
22790         * gcc.texi (Passes): Document branch-shortening.
22791         * invoke.texi (Debugging Options): Document the fact that `-dp'
22792         outputs length information for instructions.
22793
22794 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
22795
22796         * flow.c: Revert previous delta.
22797
22798 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
22799
22800         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
22801         FRAME_POINTER_REGNUM.
22802         (mark_set_1): Ditto.
22803         (mark_used_regs): Ditto.
22804
22805 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
22806
22807         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
22808         (GOT_PCREL): New macro.  Define to 1 if not already defined.
22809         * arm/elf.h (GOT_PCREL): Define to 0.
22810         * arm.c (arm_finalize_pic): Take into account the setting of
22811         GOT_PCREL.
22812
22813 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
22814
22815         * output.h (STRIP_NAME_ENCODING): Provide default definition.
22816         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
22817
22818         * flow.c (mark_set_1): Do not record BLKmode stores as dead
22819         store elimination candidates.
22820
22821 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22822
22823         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
22824         TARGET_GAS.
22825
22826 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
22827
22828         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
22829         Add use of x-aix41-gld.
22830
22831 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22832
22833         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
22834         (ASM_OUTPUT_DESTRUCTOR): Define.
22835
22836 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
22837
22838         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
22839         last CODE_LABEL in a loop if we have previously passed a jump
22840         to the top of the loop.
22841
22842 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
22843
22844         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
22845         applying Philip's patch.
22846
22847 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
22848
22849         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
22850         are not VAR_DECLs.
22851
22852 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
22853
22854         * loop.c (strength_reduce): Grow reg_single_usage as needed.
22855
22856 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
22857
22858         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
22859         Also remove a useless comment.
22860
22861 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22862
22863         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
22864
22865 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
22866
22867         * collect2.c (main): Only generate import or export file and add
22868         to link arguments if non-empty.  Use xmalloc not alloca.
22869         (write_{export,import}_file): Delete.
22870         (write_aix_file): New function.
22871         (locatelib): Use xmalloc not malloc.
22872         (GCC_OK_SYMBOL): Do not check type if aix64.
22873
22874 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
22875
22876         Based on patch by Scott Bambrough and Pat Beirne:
22877         * config/arm/arm.c (making_const_table): New variable.
22878         * config/arm/arm.h (making_const_table): Declare.
22879         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
22880         appropriate.
22881         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
22882         Keep track of when we are building the constant table.
22883
22884 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
22885
22886         * config/arm/arm.c (arm_override_options): Fix erroneous warning
22887         message.
22888
22889 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
22890
22891         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
22892         defined.
22893
22894 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
22895
22896         * tm.texi (FUNCTION_ARG): Correct description of a stack element
22897         in a PARALLEL.
22898
22899 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
22900
22901         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
22902
22903 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22904
22905         * rs6000.c (output_mi_thunk): Enable full support again.
22906
22907 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22908
22909         * sh.h (BRANCH_COST): Define.
22910
22911 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
22912
22913         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
22914
22915 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
22916
22917         * function.c (assign_stack_local): Align stack slot propertly.
22918         (assign_outer_stack_local): Likewise.
22919
22920 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
22921
22922         * expr.h (lang_expand_constant): Declare.
22923         * toplev.c (lang_expand_constant): Define it.
22924         * varasm.c (output_constant): Use it.
22925
22926 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22927
22928         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
22929         Change function definitions to K&R style.
22930
22931 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22932
22933         * fixinc/fixincl.c: We must not ignore SIGCLD now.
22934
22935 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
22936
22937         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
22938         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
22939         (several places): omit static initialization
22940         (process): use single fd, since only the read fd is used
22941         * fixinc/gnu-regex.c: define 'const' away, if not supported
22942         * fixinc/procopen.c(several places): omit static initialization
22943         * fixinc/server.c: define 'volitile' away, if not supported
22944
22945 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22946
22947         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
22948         asm_fprintf and %L to generate the label name.
22949         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
22950         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
22951
22952 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
22953
22954         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
22955         insn for a conditional jump can not be found.
22956
22957 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
22958
22959         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
22960         on variables in specific sections other than .sbss and .sdata.
22961
22962 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
22963
22964         * stmt.c (expand_return): Call start_cleanup_deferral and
22965         end_cleanup_deferral around conditional code.
22966
22967 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22968
22969         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
22970         filename lists.  Utilizes new "krstr" AutoGen function.
22971         * fixinc/fixincl.x: Rebuilt.
22972
22973 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
22974
22975         * i386.c (output_float_compare): Avoid GNU-C extensions.
22976
22977 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
22978
22979         * version.c: Bump to distinguish mainline tree from the
22980         gcc-2.95 branch.
22981
22982 See ChangeLog.1 for earlier changes.