OSDN Git Service

* basic-block.h (merge_blocks_nomove): Declare.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-04-07  Richard Henderson  <rth@cygnus.com>
2
3         * basic-block.h (merge_blocks_nomove): Declare.
4         (tidy_fallthru_edge): Declare.
5         * flow.c (merge_blocks_nomove): Document as merging into previous
6         blocks.  Remove cruft from between blocks; remove all edges out of A.
7         (tidy_fallthru_edge): Export.
8
9 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
10
11         * ssa.c (compute_conservative_reg_partition): Declare with
12         void arguments.
13         * toplev.c (clean_dump_file): Remove previously-deleted function
14         inadvertantly merged back in.
15         * conflict.c (conflict_graph_add): Use a single call to
16         htab_find_slot to look up and insert.
17
18 2000-04-06  Richard Henderson  <rth@cygnus.com>
19
20         * genrecog.c (*): Rename _last_insn to last_insn.
21         (make_insn_sequence): Set the position of the peephole2 C test
22         to be at the last insn.
23
24 2000-04-06  Richard Henderson  <rth@cygnus.com>
25
26         * flow.c (compute_flow_dominators): Free worklist.
27
28 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
29
30         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
31
32 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
33
34         * rtl.h (INSN_P): New macro.
35         (successor_phi_fn): New typedef.
36         (for_each_successor_phi): New prototype.
37         (in_ssa_form): New variable.
38         (PHI_NODE_P): Likewise.
39         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
40         phi nodes in successors.
41         (mark_used_regs): Add PHI case.
42         (set_phi_alternative_reg): New function.
43         (life_analysis): Assert that dead code elimination is not selected
44         when in SSA form.
45         * toplev.c (to_ssa_time): New variable.
46         (from_ssa_time): Likewise.
47         (compile_file): Zero to_ssa_time and from_ssa_time.
48         Print time to convert to and from SSA.
49         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
50         (print_time): Compute percent fraction as integer.
51         * ssa.c (PHI_NODE_P): Moved to rtl.h.
52         (convert_to_ssa): Check if we're already in SSA.  
53         Don't eliminate dead code in life_analysis.
54         Rerun flow and life analysis at bottom.
55         (eliminate_phi): Use canonical regnos when adding nodes.
56         (mark_reg_in_phi): New function.
57         (mark_phi_and_copy_regs): Likewise.
58         (convert_from_ssa): Rerun life analysis at top.  
59         Use coalesced partition.
60         Check for removing a phi node at the end of the block.
61         (compute_coalesced_reg_partition): New function.
62         (coalesce_regs_in_copies): Likewise.
63         (coalesce_reg_in_phi): Likewise.
64         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
65         (for_each_successor_phi): Likewise.
66         (rename_context): New struct.
67         (rename_block): Use a rename_context with rename_insn_1.  When
68         renaming sets of a subreg, emit a copy of the entire reg first.
69         (rename_insn_1): Treat data as a rename_context *.  Save current
70         insn in set_data.
71         (rename_set_data): Add field set_insn.
72         * Makefile.in (HASHTAB_H): Move up in file.
73         (OBSTACK_H): New macro.
74         (collect2.o): Use OBSTACK_H in dependencies.
75         (sdbout.o): Likewise.
76         (emit-rtl.o): Likewise.
77         (simplify-rtx.o): Likewise.
78         (fix-header.o): Likewise.
79         (OBJS): Add conflict.o.
80         (conflict.o): New rule.
81         * basic-block.h: Include partition.h.
82         (conflict_graph): New typedef.
83         (conflict_graph_enum_fn): Likewise.
84         (conflict_graph_new): New prototype.
85         (conflict_graph_delete): Likewise.
86         (conflict_graph_add): Likewise.
87         (conflict_graph_conflict_p): Likewise.
88         (conflict_graph_enum): Likewise.
89         (conflict_graph_merge_regs): Likewise.
90         (conflict_graph_print): Likewise.
91         (conflict_graph_compute): Likewise.
92         * conflict.c: New file.
93
94 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
95
96         * tlink.c (read_repo_files): Don't look for .rpo info for
97         linker flags.
98
99 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
100
101         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
102
103 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
104
105         * config/sh/lib1funcs.asm (___udivsi3_i4):
106         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
107         only depends on FMOVD_WORKS.
108
109 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
110
111         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
112         make double constant 8-byte aligned.
113
114 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
115
116         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
117         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
118         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
119         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
120         Accept storing GENERAL_REGS into offsetable memory.
121         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
122         building a TFmode constant other than 0.0L into GENERAL_REGS.
123
124 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
125
126         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
127         
128 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
129
130         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
131         (macro_cleanup): No need to cast pbuf->macro.
132         (collect_expansion): Use _cpp_get_define_token.  Goto done if
133         it returns VSPACE.  Remove check for trailing space after
134         CPP_COMMENT.
135         (_cpp_create_definition): Don't diddle flags here.  Return
136         directly on error.
137         (unsafe_chars): Handle c1 being EOF.
138         (push_macro_expansion): Use unsafe_chars for both accidental-paste
139         checks.  Don't push the buffer till after we're done with
140         them.
141         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
142         (PEEKN, FORWARD, GETC, PEEKC): Use them.
143         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
144         appropriately.
145         (_cpp_parse_assertion): Don't NUL terminate.
146         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
147         hspace before calling _cpp_parse_assertion.  Remove all sets
148         of only_seen_white. Treat '\f' as hspace.  Don't do anything
149         special with '\n' here.
150         (maybe_macroexpand): Handle T_EMPTY hash entries without
151         pushing a buffer at all.
152         (cpp_get_token): Handle clearing only_seen_white here.  Handle
153         incrementing the line number here.  Clear
154         potential_control_macro as well as only_seen_white, if
155         appropriate.
156         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
157         (_cpp_get_define_token): New function, basically like
158         _cpp_get_directive_token was but doesn't eat horizontal space.
159         Don't do anything with only_seen_white here.
160         (_cpp_get_directive_token): Just call _cpp_get_define_token
161         repeatedly till it returns non-hspace.
162
163         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
164         (conditional_skip, skip_if_group): Return int.
165         (DIRECTIVE_TABLE): Change origin of all conditional directives
166         to "COND".
167         (TRAD_DIRECT_P): New macro.
168         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
169         an error for a bogus directive, unless -lang-asm.  Use
170         TRAD_DIRECT_P. Loop calling handler functions till one returns
171         zero.
172         (get_macro_name): Don't diddle flags here.
173         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
174         Create T_EMPTY nodes for #define macro /* nothing */.
175         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
176         Use hp->name when calling pass_thru_directive.
177         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
178         Return the result of conditional_skip and/or skip_if_group.
179         Don't call _cpp_output_line_command.
180         (consider_directive_while_skipping): Use _cpp_get_directive_token.
181         Issue -Wtraditional warnings as appropriate.  Don't complain
182         about unrecognized directives.  If we are to stop skipping,
183         return the number of the directive that ended the skip.
184         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
185         expansion and line commands while skipping.  Return the result
186         of consider_directive_while_skipping, if nonzero.
187         (do_endif): Just set potential_control_macro here.
188         (validate_else): Use _cpp_get_directive_token.
189         (do_assert, do_unassert): Don't save pointers into the
190         token_buffer across calls to the lexer.  Use
191         _cpp_get_directive_token.  
192
193         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
194         pointer, not an offset.  Replace 'data', which was a generic
195         pointer, with 'macro', which points to a struct hashnode.
196         (cpp_reader): Add 'potential_control_macro' pointer.
197         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
198         (CPP_BUF_GET, CPP_FORWARD): Delete.
199         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
200         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
201         ACTIVE_MARK_P): Update.
202         (_cpp_get_define_token): New internal function.
203         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
204
205 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
206
207         * configure.in: And here.
208         * configure: Regenerate.
209         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
210         --enable-libstdcxx-v3 is passed at configure time.
211         * config.h.in: Regenerate.
212
213 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
214
215         * final.c (final): Use xcalloc to allocate line_note_exists.
216         * function.c (free_after_compilation): Free the temp_slots.
217         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
218         (combine_temp_slot): Free temp_slots when they get combined.
219         (purge_addressof): Fix typo in comment.
220         * stmt.c (mark_goto_fixup): Mark the fixup itself.
221         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
222
223         * ggc.h: Include varray.h.
224         (ggc_pending_trees): Declare.
225         (ggc_mark_tree_children): Remove declaration.
226         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
227         * ggc-common.c (ggc_pending_trees): New variable.
228         (ggc_mark_roots): Call ggc_mark_trees.
229         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
230         the ggc_pending_trees.
231         * Makefile.in (GGC_H): New variable.  Use it throughout in place
232         of ggc.h.
233         
234 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
235
236         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
237         GET_MODE_SIZE.
238
239 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
240
241         * sh.c (sh_insn_length_adjustment): New function.
242         * sh-protos.h (sh_insn_length_adjustment): Declare.
243         * sh.h (ADJUST_INSN_LENGTH): Use it.
244
245 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
246
247         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
248         from the insn where REG_RETVAL is added.
249         (emit_no_conflict_block): Ditto.
250
251         * md.texi (Standard Names): Clarify when movX is needed.
252
253         * combine.c (simplify_comparison) [MINUS]: Do not replace
254         all (op (minus A B) 0) with (op A B).
255
256 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
257                           J"orn Rennecke <amylaar@cygnus.co.uk>
258
259         * sh.c (block_lump_real_i4): Add missing clobber of T_REG
260         (block_lump_real): Likewise.
261
262 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
263
264         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
265         remaining non-zero debugging masks.
266
267 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
268
269         * basic-block.h (verify_flow_info): Declare.
270         (flow_loop_outside_edge_p): Declare.
271         * flow.c (verify_flow_info): Remove declaration.
272         (clear_log_links, flow_loop_outside_edge_p): Likewise.
273
274 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
275
276         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
277         not C++ comments.
278
279 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
280
281         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
282         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
283         seqdi_zero_trunc+1): Allow splits only if registers are
284         different.
285
286 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
287
288         * acconfig.h: Add HAVE_GAS_HIDDEN.
289         * config.in: Regenerated.
290         * configure.in: Add test for .hidden pseudo-op in gas.
291         * configure: Regenerated.
292         * crtstuff.c: Include auto-host.h.
293         Emit additional .hidden pseudo-op for __dso_handle if the
294         assembler knows about it.
295
296 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
297
298         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
299         before freeing argnames.
300         * cpplib.c (do_ifndef): Cast return value of xstrdup.
301
302 2000-04-05  Michael Meissner  <meissner@redhat.com>
303
304         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
305         Walton <jonboy@gordian.com> to make memory references with update
306         work wtih -mregnames.
307
308 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
309
310         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
311         (regrename_optimize): Rename variables `def_uses' and
312         `ext_basic_blocks' to avoid conflicts with similarly named
313         typedefs in traditional C.
314
315         * calls.c (initialize_argument_information): Fix typo in previous
316         change.
317
318 2000-04-04  Richard Henderson  <rth@cygnus.com>
319
320         * regrename.c (consider_available): Test fixed_regs not
321         PIC_OFFSET_TABLE_REGNUM.
322
323 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
324
325         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
326         crtend.
327         (CRTSTUFF_T_CFLAGS_S): Delete definition.
328         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
329         (ENDFILE_LINUX_SPEC): Always use crtend.
330         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
331         (powerpc-*-linux-gnu): Likewise.
332         * configure: Regenerate.
333
334         * config/rs6000/eabi.h: Don't include sysv4.h.
335         (MULTILIB_DEFAULTS): Don't define.
336         * config/rs6000/eabiaix.h: Don't include eabi.h.
337         * config/rs6000/eabile.h: Delete.
338         * config/rs6000/eabilesim.h: Delete.
339         * config/rs6000/eabisim.h: Don't include eabi.h.
340         * config/rs6000/linux.h: Don't include sysv4.h.
341         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
342         (MULTILIB_DEFAULTS): Don't redefine.
343         * config/rs6000/rtems.h: Don't include eabi.h.
344         * config/rs6000/sol2.h: Don't include sysv4le.h.
345         * config/rs6000/sysv4le.h: Don't include sysv4.h.
346         * config/rs6000/t-ppc: Delete.
347         * config/rs6000/t-ppcgas: Correct comment.
348         * config/rs6000/t-ppcos: Correct comment.  Don't build 
349         multilibs for -fPIC, rather use -fPIC -mstrict-align 
350         as default.
351         * config/rs6000/t-ppc: Delete.
352         * config/rs6000/vxppc.h: Don't include sysv4.h.
353         * config/rs6000/vxppcle.h: Delete.
354         * configure.in: Use multiple header files for p2pc ELF targets
355         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
356         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
357         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
358         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
359         always available for these platforms.
360
361 2000-04-04  Richard Henderson  <rth@cygnus.com>
362
363         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
364
365 2000-04-04  Stan Cox  <scox@cygnus.com> 
366
367         * Makefile.in: Add rules for regrename.o
368         * regrename.c: New file.
369         * rtl.h (regrename_optimize): Add prototype.
370         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
371         (compile_file, decode_d_option): Add support for -frename-registers.
372         (rest_of_compilation): Call regrename_optimize.
373         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
374         New macros.     
375         
376 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
377
378         * Makefile (gccbug): New target.
379         (doc): Depend on it.
380         * gcc.texi (Bugs): Link subnodes.
381         (gccbug): New node.
382         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
383         Document severities, priorities, and classes in bug form.
384
385 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
386
387         * cpplex.c (trigraph_map, speccase): Combine into single
388         table, chartab.
389         (NORMAL, NONTRI): New macros.
390         (_cpp_read_and_prescan): Change to use unified table.  Use
391         is_hspace to test for whitespace.
392
393         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
394         definition that doesn't provoke the "empty body in an
395         if-statement" warning.
396
397 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
398
399         * builtins.c (expand_builtin_strlen): Force the source to
400         be a memory address.
401
402 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
403
404         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
405
406 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
407
408         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
409          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
410         (ECF_IS_CONST): Rename to ECF_CONST.
411         (special_function_p): Make static, change interface.
412         (flags_from_decl_or_type, try_to_integrate): Break out from ...
413         (expand_call) ... here; convert number of variables to flags.
414         (emit_library_call_vlue_1): Likewise.
415         (setjmp_call_p): New function.
416         (initialize_argument_information): Accepts flags as argument;
417         return flags.
418         (precompute_arguments): Likewise.
419         * tree.h (special_function_p): Remove.
420         (setjmp_call_p): Add prototype.
421
422 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
423
424         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
425         so that addresses are offsetable by up to 16 bytes.
426         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
427         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
428         offsetable.
429
430         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
431         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
432         (movsf): Don't force any constant to memory if target is integer
433         hard register.
434         Move fp_zero_operand check below the const0_rtx check.
435         (movtf): Likewise. Also allow fp_zero_operand for stores into
436         memory.
437         (movdf): Likewise. Also allow fp_zero_operand for stores into
438         memory and into integer hard registers.
439         (clear_df, clear_dfp, movdf_const_intreg_sp32,
440         movdf_const_intreg_sp64): Remove.
441         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
442         conditions.
443         (movdf_no_e_insn_v9_sp32): New pattern.
444         (movdf_insn_v9only): Remove.
445         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
446         (movdf_insn_sp64): Remove.
447         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
448         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
449         (following splits): Rewrite conditions. Add two new splits
450         for storing 0.0 into memory and registers.
451         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
452         (movtf_insn_sp32): Redo constraints and conditions.
453         (movtf_insn_vis_sp32): New pattern.
454         (movtf_no_e_insn_sp32): Redo constraints and conditions.
455         (movtf_insn_hq_sp64): Likewise.
456         (movtf_insn_hq_vis_sp64): New pattern.
457         (movtf_insn_sp64): Redo constraints and conditions.
458         (movtf_insn_vis_sp64): New pattern.
459         (movtf_no_e_insn_sp64): Redo constraints and conditions.
460         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
461         or memory.
462         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
463         -mvis or -m64 to take down the number of various reload patterns.
464
465 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
466
467         * pa/pa-64.h: New file.
468         * pa/pa64-regs.h: New file.
469         * pa/pa64-start.h: New file.
470         * pa/t-pa64: New file.
471         * pa/xm-pa64hpux.h: New file.
472
473 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
474
475         * sparc.c (output_restore_regs): Prototype.
476         (sparc_emit_float_lib_cmp): Constification.
477
478         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
479
480         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
481         Prototype.
482
483         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
484         (get_value_hash, hash_rtx): Likewise.
485
486         * ssa.c (compute_conservative_reg_partition): Prototype.
487
488         * tree.c (mark_hash_entry): Prototype.
489
490 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
491
492         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
493         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
494         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
495
496         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
497         * objc/lang-specs.h: Likewise.
498
499 2000-04-03  Neil Booth  <NeilB@earthling.net>
500
501         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
502         and SYNTAX_ERROR2. Replace `' in messages with ''.
503         (op_to_str): Make re-entrant.
504         (_cpp_parse_expr): Implement new error macros. Use | rather
505         than || to logically or 2 boolean integers.  Simply expression
506         checking we have a left operand iff needed.
507
508 2000-04-03  Nick Clifton  <nickc@cygnus.com>
509
510         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
511
512 2000-04-03  Philip Blundell  <philb@gnu.org>
513
514         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
515
516 2000-04-03  Felix Lee  <flee@cygnus.com>
517
518         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
519         (run_shell): Use it. 
520
521 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
522
523         * Makefile.in (stmp-int-hdrs): Make include subdir here...
524         (stmp-fixproto): ...rather than here.
525
526 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
527
528         * pa.c (print_operand): Compute 'base' only inside the code paths
529         that use it.
530
531 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
532
533         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
534         CEIL_DIV_EXPR.
535
536 2000-04-03  Philipp Thomas  <pthomas@suse.de>
537
538         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
539
540 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
541
542         * Makefile.in (alias.o): Depend on $(TREE_H).
543
544 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
545
546         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
547         processing C++.
548         * cpplib.c (_cpp_handle_directive): Improve warnings for
549         traditional C and indented directives.
550
551         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
552         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
553         fixinc/inclhack.def: Indent the # of #include_next one space.
554         * cp/rtti.c: Un-indent #if and #endif.
555
556         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
557         syntax error, but an error has already been printed.
558         * cpplex.c (_cpp_parse_assertion): Give a more specific error
559         message when called with nothing remaining on the line.
560         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
561         OTHER token, not an ASSERTION.
562         * cpplib.c (do_assert): When we create a 'base' node, clear
563         its aschain pointer.
564
565 2000-04-02  Neil Booth <NeilB@earthling.net>
566
567         * cppexp.c:  New typedef op_t.  struct operation and struct 
568         token updated to use it.
569         (op_to_str): New function.
570         (_cpp_parse_expr): Error messages modified to use op_to_str.
571
572 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
573
574         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
575         before checking MUST_PASS_IN_STACK.
576
577 2000-04-02  Neil Booth <NeilB@earthling.net>
578
579         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
580         flags and initial priority into a single constant.  New
581         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
582         (_parse_cpp_expr): Implement new constants.  Take left operand
583         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
584         parse indicated by reducing FINISHED token.  Remove new lines
585         from cpp_error messages.
586
587 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
588
589         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
590         permanent obstack.
591
592 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
593
594         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
595         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
596         the strings and function names on the fly.  Take the #sccs
597         entry out of the table if SCCS_DIRECTIVE is not defined.
598         (_cpp_handle_directive): Decide if the # was at the beginning
599         of the line here.  Issue -pedantic warnings for extended
600         directives here.  Warn about K+R directives with the #
601         indented, and C89/extended directives with the # not indented,
602         here.
603         (do_import, do_include_next, do_warning, do_ident, do_sccs,
604         do_assert, do_unassert): Don't issue pedantic warning here.
605
606         * cpphash.h: Add CPP_WTRADITIONAL macro.
607         * cpplib.h (struct cpp_options): Rename warn_stringify to
608         warn_traditional; update comments.
609         * cppinit.c (handle_option): Set warn_traditional not
610         warn_stringify.
611         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
612         CPP_WTRADITIONAL (pfile).
613         * cpplex.c (_cpp_lex_token): Don't decide if directives should
614         be ignored in -traditional mode here.
615
616         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
617         to initialize speccase[] and trigraph_map[].  Delete all
618         references to pfile->input_speccase.  Always treat '?' as a
619         special character.  Remove table-initialization code from
620         _cpp_init_input_buffer.
621
622         * cpplib.h (struct cpp_reader): Remove input_speccase field.
623         * cppinit.c (cpp_cleanup): Don't free input_speccase.
624
625 2000-04-01  Richard Henderson  <rth@cygnus.com>
626
627         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
628         (mostlyclean): Likewise.
629
630         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
631         (struct dump_file_info, enum dump_file_index, dump_file): New.
632         (open_dump_file): Take a dump_file_index not a suffix, and a decl
633         not a string.  Clean out file if we havn't yet done so.  Do nothing
634         if the dump isn't enabled.
635         (close_dump_file): Do nothing if the dump isn't open.  Dump 
636         graph data if requested.
637         (dump_rtl, clean_dump_file): Remove.
638         (compile_file): Don't clean the dump files.  Only finalize .bp dump
639         if flag_test_coverage or flag_branch_probabilities.  Only finalize
640         .combine dump if optimizing.  Iterate over dump_file to finalize the
641         graph dumps.
642         (rest_of_compilation): Update for open_dump_file/close_dump_file.
643         Convert all uses of dump_rtl.
644         (decode_d_option): Iterate over dump_file to implement 'a' and to
645         locate pass-specific dumps.
646
647 2000-04-01  Neil Booth <NeilB@earthling.net>
648
649         * cppexp.c: Redefine priority constants.
650         (_cpp_parse_expr): Replace left and right priority scheme with
651         single priority logic.  Move LOGICAL to same place as COMPARE.
652         Remove bogus check for multiple unary +/- operators.
653
654 2000-04-01  Neil Booth <NeilB@earthling.net>
655
656         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
657         within the switch statement.  Binary operations break out of
658         the switch naturally.  '(' tokens handled by forcing
659         immediate shift.  ')' handled by forcing immediate reduce to
660         the previous '('.  New error messages.
661         
662 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
663
664         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
665         part', it's already in use.  Use %K instead.  Add a return at the
666         end of what is now %K.
667         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
668
669 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
670
671         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
672         allocate_dynamic_stack_space.
673         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
674         update stack_pointer_delta; do not update arg_size_so_far.
675         (compute_argument_block_size): Use stack_delta instead of
676         stack_pointer_pending and arg_size_so_far.
677         (expand_call): Add sanity checking for stack_pointer_delta;
678         save and restore stack_pointer_delta for SIB, use
679         stack_pointer_delta for alignment; do not update arg_space_so_far.
680         (emit_library_call_value): Use stack_pointer_delta for alignment.
681         (store_one_arg): Do not update arg_space_so_far.
682         * explow.c (adjust_stack, anti_adjust_stack): Update
683         stack_pointer_delta.
684         (allocate_dynamic_stack_space): Add sanity checking for
685         stack_pointer_delta.
686         * expr.c (init_expr, clear_pending_stack_adjust): Clear
687         stack_pointer_delta.
688         (emit_push_insn): Update stack_pointer_delta.
689         * function.h (struct expr_status): Add x_stack_pointer_delta;
690         remove x_arg_space_so_far.
691         (arg_space_so_far): Remove.
692         (stack_pointer_delta): New macro.
693
694 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
695
696         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
697         Reorder struct cpp_options and struct cpp_reader for better 
698         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
699         takes two args.  Change all 'char' flags to 'unsigned char'.
700         Move show_column flag into struct cpp_options.  Don't
701         prototype cpp_options_init.
702         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
703         cppinit.c, cpplex.c, cpplib.c:
704         Replace CPP_OPTIONS (pfile)->whatever with
705         CPP_OPTION (pfile, whatever), and likewise for
706         opts = CPP_OPTIONS (pfile); ... opts->whatever;
707
708         * cppinit.c (merge_include_chains): Take a cpp_reader *.
709         Extract CPP_OPTION (pfile, pending) and work with that
710         directly.
711         (cpp_options_init): Delete.
712         (cpp_reader_init): Turn on on-by-default options here.
713         Allocate the pending structure here.              
714         (cl_options, enum opt_code): Define these from the same table,
715         kept in a large macro.  Add -fshow-column and -fno-show-column
716         options.
717
718         * cpperror.c (v_message): If show_column is off, don't print
719         the column number.
720
721         * cppmain.c: Update for new interface.
722         * fix-header.c: Likewise.
723
724 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
725
726         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
727         definition.
728         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
729         are passed to any invocation of AR_FOR_TARGET.
730         (AR_CREATE_FOR_TARGET): New macro.
731         (AR_EXTRACT_FOR_TARGET): New macro.
732         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
733         AR_EXTRACT_FOR_TARGET.
734         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
735         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
736         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
737         AR_EXTRACT_FOR_TARGET to sub-makes.
738
739 2000-03-31  Neil Booth <NeilB@earthling.net>
740
741         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
742         PAREN_INNER_PRIO.
743         (_cpp_parse_expr): Check for multiple unary +/- operators.
744         Correct priorities of ':' and '?'.  Treat ')' as having a
745         value.  Ensure conditional expression is not void.
746         
747 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
748
749         * alias.c (canon_rtx): Make it global.
750         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
751         equality.
752         * cse.c (struct table_elt): Add canon_exp.
753         (insert): Clear it.
754         (invalidate): Canonicalize expressions only once.
755         * rtl.h (canon_rtx): Declare.
756
757 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
758
759         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
760         * alias.c (reg_known_value): Add comments.
761         (init_alias_analysis): Likewise.
762         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
763         address.
764         (cse_basic_block): Fix typo in comment.
765         * emit-rtl.c: Include hashtab.h.
766         (const_int_htab): New variable.
767         (const_int_htab_hash): New function.
768         (const_int_htab_eq): Likewise.
769         (rtx_htab_mark_1): Likewise.
770         (rtx_htab_mark): Likewise.
771         (gen_rtx_CONST_INT): Cache all CONST_INTs.
772         (unshare_all_rtx): Fix formatting.
773         (init_emit_once): Initialize const_int_htab.
774         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
775         address.
776         * rtl.texi: Document the fact that all CONST_INTs with the same
777         value are shared.
778
779 2000-03-30  Richard Henderson  <rth@cygnus.com>
780
781         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
782
783 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
784
785         * configure.in: Comment out --enable-c-cpplib stanza.
786         * configure: Regenerate.
787
788 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
789
790         * expr.c (store_constructor): Properly compute displacement and
791         alignment when offset is variable.
792
793         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
794         cases of alignment in bytes.
795
796 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
797
798         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
799         since it is used to generate c-parse.y.
800         * objc-parse.c, objc-parse.y: Regenerated.
801
802         * function.c (expand_function_end): Pass alignment argument to
803         emit_block_move in bits, not bytes.
804
805 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
806
807         * expr.c (move_by_pieces_ninsns): Fix one more missing align
808         correction.
809
810         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
811
812         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
813         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
814         * function.c (assign_parms): Likewise.
815         * integrate.c (expand_inline_function): Likewise.
816         * stmt.c (expand_decl): Likewise.
817         (copy_rtx_and_substitute): Likewise.
818         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
819         (clear_by_pieces): Fix error in last change.
820         * emit-rtl.c (init_emit): Set known registers alignment in bits.
821         * function.h (regno_pointer_align): Now unsigned.
822         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
823         is in bits.
824         * config/i386/i386.c (aligned_operand): Likewise.
825         * config/sparc/sparc.c (mem_min_alignment): Likewise.
826         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
827         (unaligned_memory_operand): Likewise.
828         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
829         Also make alignments and sizes unsigned and some whitespace cleanup.
830         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
831
832         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
833         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
834         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
835         (expand_builtin_memset): Likewise, but to clear_storage.
836         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
837         (restore_fixed_argument_area): Likewise.
838         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
839         (load_register_parameters): Likewise, to emit_group_load.
840         (expand_call): Likewise, to emit_group_store and emit_block_move.
841         (emit_library_call_value_1): Likewise, to emit_block_move.
842         (store_one_arg): Likewise, and to emit_push_insn.
843         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
844         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
845         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
846         (emit_block_move, emit_group_load, emit_group_store): Likewise.
847         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
848         (expand_assigment, store_expr, store_constructor_field): Likewise.
849         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
850         (store_constructor, store_field, get_inner_reference): Likewise.
851         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
852         (expand_expr, case COMPONENT_REF): Likewise.
853         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
854         and positions; reindent code.
855         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
856         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
857         (assign_parms): Likewise to emit_group_store.
858         * optabs.c (prepare_cmp_insn): Alignment is in bits.
859         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
860         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
861         (expand_return): Likewise to {extract,store}_bit_field.
862         * stor-layout.c (get_mode_alignment): Minor cleanup.
863         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
864         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
865         
866 2000-03-29  Nick Clifton  <nickc@cygnus.com>
867
868         * config/arm/arm.h: Undo effects of previous delta:
869         (ASM_SPEC): Do not define.
870         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
871
872         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
873         typo. 
874
875 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
876
877         * cppinit.c (cpp_start_read): Call initialize_dependency_output
878         only after reading in the primary source file.
879
880 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
881
882         * c-common.c (c_common_nodes_and_builtins): The first parameter to
883         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
884         or a reference to a va_list.
885         * builtins.c (stabilize_va_list): Simplify now we don't have to
886         work around C array address decay.
887         * c-typeck.c (convert_for_assignment): Handle assignment to
888         a reference parameter by taking the address of the RHS.
889         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
890         (va_copy): Likewise.
891         (__va_copy): Likewise.
892         * ginclude/varargs.h (va_start): Likewise.
893         (__va_copy): Likewise.
894
895 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
896
897         * i386/djgpp.h: Remove extraneous "+".
898
899         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
900
901         * calls.c (expand_call): Fix typo in last change.
902
903 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
904
905         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
906         been expanded.
907
908 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
909
910         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
911         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
912         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
913         * tree.c (bit_position, byte_position): Likewise.
914         * tree.h: Declare new functions.
915
916 2000-03-29  Nick Clifton  <nickc@cygnus.com>
917
918         * config/arm/arm.c: Minor formatting changes/
919         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
920         already defined.
921         (ASM_SPEC): Define if not already defined.
922
923 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
924
925         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
926         _cpp_calc_hash.
927
928 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
929
930         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
931         value, don't output it as unsigned.
932
933 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
934
935         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
936
937 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
938
939         * c-common.c (c_common_nodes_and_builtins): Don't special case
940         cplus_mode when declaring builtin bzero/bcmp, always avoid
941         prototype arguments.
942
943 2000-03-29  Bruce Korb  <bkorb@gnu.org>
944
945         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
946         to a non-file
947
948 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
949
950         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
951         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
952         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
953         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
954         (save_fixed_argument_area, restore_fixed_argument_area):
955         conditionize by #ifdef REG_PARM_STACK_SPACE only.
956         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
957         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
958         (precompute_register_parameters): Avoid #ifdefs on
959         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
960         (stire_one_args): Likewise.
961         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
962         (emit_library_call_value_1): Likewise.
963         (compute_argument_block_size): Align to STACK_BOUNDARY only for
964         ACCUMULATE_OUTGOING_ARGS.
965         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
966         value.
967         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
968         (use_crosses_set_p): Likewise.
969         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
970         #define ACCUMULATE_OUTGOING_ARGS 1.
971         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
972         frames.
973         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
974         constants.
975         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
976         (TARGET_SWITCHES): Add push-args, no-push-args,
977         accumulate-outgoing-args and no-accumulate-outgoing-args.
978         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
979         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
980         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
981         and PUSH_ROUNDING.
982         (emit_push_insn): Likewise.
983         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
984         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
985         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
986         (STACK_DYNAMIC_OFFSET): Define correctly for both
987         ACCUMULATE_OUTGOING_ARGS and normal mode.
988         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
989         * tm.texi (PUSH_ARGS): Document.
990         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
991
992 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
993
994         * flags.h (flag_optimize_sibling_calls): Declare.
995         * calls.c (expand_call): Fail sibcall when
996         !flag_optimize_sibling_calls
997         * invoke.texi (flag_optimize_sibling_calls): Document.
998         * toplev.c (flag_optimize_sibling_calls): New global variable.
999         (f_options): Add flag_optimize_sibling_calls.
1000         (rest_of_compilation): Conditionize
1001         optimize_sibling_and_tail_recursive_calls by
1002         flag_optimize_sibling_calls.
1003         (main): Set flag_optimize_sibling_calls for -O2.
1004         * stmt.c (expand_return): Conditionize tail recursion by
1005         flag_optimize_sibling_calls.
1006
1007 2000-03-29  Richard Henderson  <rth@cygnus.com>
1008
1009         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
1010         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
1011
1012 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
1013
1014         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
1015
1016 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1017
1018         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
1019         is given.
1020         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
1021         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
1022         * config/rs6000/aix.h: then modified likewise.
1023
1024 2000-03-28  Richard Henderson  <rth@cygnus.com>
1025
1026         * rtl.h: Redistribute enum reg_note documentation. 
1027         Kill trailing whitespace.
1028         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
1029         Kill trailing whitespace.
1030
1031 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
1032
1033         * cppfiles.c (hash_IHASH): Just return i->hash.
1034         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
1035         htab_find_with_hash.
1036         (cpp_read_file): Likewise.
1037         (find_include_file): Likewise.  Properly initialize
1038         ih->nshort.  Share ih->name and ih->nshort if possible.
1039         * cpphash.c (_cpp_calc_hash): New function.
1040         (hash_HASHNODE): Just return h->hash.
1041         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
1042         htab_find_with_hash.
1043         * cpphash.h: Prototype _cpp_calc_hash.
1044         * cppinit.c (initialize_builtins): Provide a valid hash
1045         to _cpp_make_hashnode, using _cpp_calc_hash.
1046
1047         * cpphash.c (collect_expansion): # is not a special character
1048         in object-like macros.  In -traditional mode, /**/ is not
1049         token paste at the beginning or end of the line.
1050         * cpplib.c (do_include, do_import, do_include_next): If
1051         parse_include fails, return immediately.
1052
1053 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
1054
1055         * config/arm/arm.md (return peepholes): Update to reflect the new
1056         call insn patterns.
1057         * config/arm/arm.c (arm_volatile_func): Also check
1058         current_function_nothrow.
1059         (output_return_instruction, output_func_prologue): Use it.
1060         (arm_output_epilogue, arm_expand_prologue): Likewise.
1061
1062 2000-03-27  Tom Tromey  <tromey@cygnus.com>
1063
1064         * gcc.c (handle_braces): In {x*...} case, break out of loop if
1065         switch is found.
1066
1067 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1068
1069         * expr.c (store_constructor): SIZE now signed.
1070         For EXPR_SIZE, don't evaluate size; just needed if constant.
1071         * fold-const.c (fold): Fix a number of cases when folded tree is
1072         wrong type.
1073         * function.c (flush_addressof): Reenable.
1074         * tree.h (flush_addressof): Likewise.
1075         * toplev.c (independent_decode_option): Look at strings_processed.
1076         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
1077
1078 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
1079
1080         * sibcall.c (indentify_call_return_value): Find last call in the chain;
1081         Allow stack adjustment after function call.
1082
1083         * regmove.c (struct csa_memlist): Make mem field rtx *.
1084         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
1085         (try_apply_stack_adjustment): Replace whole MEM rtx.
1086         (combine_stack_adjustments_for_block): Update calls
1087         to record_one_stack_ref.
1088
1089 2000-03-28  Neil Booth  <NeilB@earthling.net>
1090
1091         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
1092         '\\' rather than a null character, so nulls are not special.  Fix
1093         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
1094         speed trigraph conversion.
1095         (_cpp_init_input_buffer): Initialize trigraph map.
1096
1097 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1098
1099         * config/i386/i386.c (output_387_binary_op): Correct intel
1100         mode assembly output, and add spaces after commas in AT&T
1101         output.  Correct Unixware assembler comment.  Document input
1102         constraints.  Comment fp operations.  Reduce profligate buffer
1103         size.  Remove extraneous abort.  Localize temp var.
1104         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
1105         (output_fix_trunc): Add spaces after commas in assembly output.
1106
1107 2000-03-27  Richard Henderson  <rth@cygnus.com>
1108
1109         * i386-protos.h (ix86_match_ccmode): Declare.
1110         * i386.c (ix86_match_ccmode): New.
1111         (ix86_expand_fp_compare): Update for pattern renames.
1112         (ix86_expand_strlensi_unroll_1): Likewise.
1113         * i386.h (EXTRA_CC_MODES): Add CCZ.
1114         (SELECT_CC_MODE): Use it for EQ/NE zero.
1115         * i386.md (cmpsi_ccz_1): New.
1116         (cmpqi_ccz_1): New.
1117         (*testsi_ccz_1): New.
1118         (testqi_ccz_1): New.
1119         (cmpsi_ccno_1): Rename from cmpsi_0.
1120         (testsi_ccno_1): Rename from testsi_1.
1121         (testqi_ccno_1): Rename from testqi_1.
1122         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
1123         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
1124         (*cmphi_0): Use ix86_match_ccmode.
1125         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
1126         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
1127         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
1128         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
1129         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
1130         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
1131         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
1132         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
1133         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
1134         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
1135         (appropriate peepholes): Likewise.
1136         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
1137         (*subsi_3, *subhi_3, *subqi_3): Remove.
1138         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
1139         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
1140         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
1141         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
1142         (x86_shift_adj_1): Use CCZ.
1143         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
1144
1145 2000-03-27  Stan Cox  <scox@cygnus.com> 
1146
1147         * resource.h (mark_resource_type): New.
1148         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
1149         find_free_register): Use mark_resource_type.
1150         (mark_set_resources): Change include_delayed_effects
1151         to mark_resource_type.
1152         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
1153         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
1154         Use mark_resource_type.
1155         
1156 2000-03-27  Richard Henderson  <rth@cygnus.com>
1157
1158         * i386.md (call_pop_0, call_value_pop_0): New.
1159         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
1160         (call_value_pop_1): Likewise.
1161         (call_0, call_value_0): New.
1162         (call_1, call_value_1): Remove constraint from unused arg.
1163
1164 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1165
1166         * invoke.texi (Spec Files): Document new spec % command created by
1167         Tom Tromey's recent patch.
1168
1169 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
1170
1171         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
1172         if not defined.
1173
1174 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1175
1176         * expr.c (expand_assignment): Fix typo in last change.
1177
1178         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
1179
1180 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1181
1182         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
1183         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
1184         and DECL_INLINE if FUNCTION_DECL.
1185         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
1186         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
1187         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
1188         (combine_parm_decls): Likewise.
1189         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
1190         * print-tree.c (print_node): Likewise.
1191         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
1192         DECL_TRANSPARENT_UNION on proper decl types.
1193         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
1194         * stor-layout.c (layout_decl): Only check DECL_PACKED and
1195         DECL_BIT_FIELD of FIELD_DECL.
1196         * tree.h (DECL_RESULT_FLD): New macro.
1197         
1198         * expr.c (expand_assignment): Add code to handle variable-sized
1199         BLKmode case.
1200
1201 2000-03-26  Richard Henderson  <rth@cygnus.com>
1202
1203         * calls.c (expand_call): Pass parms not original exp to
1204         optimize_tail_recursion.  Mind return value instead of looking
1205         for a barrier.
1206         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
1207         call_expr.  Move checks for call_expr and current_function_decl ...
1208         (expand_return): ... here.
1209
1210 2000-03-26  Tom Tromey  <tromey@cygnus.com>
1211
1212         * gcc.c (handle_braces): Recognize `%{<S}' construct.
1213         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
1214         defines.
1215         (process_command): Use them.
1216         (check_live_switch): Likewise.
1217         (give_switch): Skip ignored switches.
1218
1219 2000-03-26  Jan Hubicka  <jh@suse.cz>
1220
1221         * jump.c (jump_optimize_1): Fix typo in elide optimizations
1222         for minimal jump pass test.
1223
1224 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
1225
1226         * integrate.c (function_cannot_inline_p): Do inline functions that
1227         return `void'.
1228
1229 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1230
1231         * stor-layout.c (layout_type, set_sizetype): early_type_list is
1232         now a list of TREE_LIST entries, not types.
1233         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
1234
1235         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
1236         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
1237         int_bit_position.
1238         * config/mips/mips.c (function_arg): Likewise; also remove cast
1239         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
1240         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
1241         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
1242         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
1243         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
1244         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
1245         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
1246         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
1247         num_adjusts now unsigned.
1248         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
1249         * config/sparc/sparc.c (struct function_arg_record_value_parms):
1250         NREGS now unsigned.
1251         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
1252         as is BITPOS variable; use host_integerp and int_bit_position.
1253         (function_arg_record_value_2): Likewise.
1254         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
1255         Variable REGNO now unsigned.
1256         (function_arg_record_value): NREGS now unsigned.
1257
1258 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
1259
1260         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
1261
1262 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1263
1264         * Rework fields used to describe positions of bitfields and
1265         modify sizes to be unsigned and use HOST_WIDE_INT.
1266         * alias.c (reg_known_value_size): Now unsigned.
1267         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
1268         (really_start_incremental_init): Use bitsize_zero_node.
1269         (push_init_level, pop_init_level, output_init_element): Likewise.
1270         Use bitsize_unit_node and bitsize_one_node.
1271         (output_pending_init_elements, process_init_element): Likewise.
1272         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
1273         (make_extraction): Position and length HOST_WIDE_INT and unsigned
1274         HOST_WIDE_INT, respectively.
1275         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
1276         (num_sign_bit_copies): Returns unsigned.
1277         BITWIDTH now unsigned; rework arithmetic.
1278         Remove recursive call from arg to MAX.
1279         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
1280         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
1281         REGNO now unsigned.
1282         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
1283         (find_split_point, expand_compound_operation, make_extraction): LEN
1284         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
1285         (make_field_assignment): Likewise.
1286         (combine_simplify_rtx): Add cast.
1287         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
1288         (force_to_mode): WIDTH now unsigned; add cast.
1289         (if_then_else_cond): SIZE now unsigned.
1290         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
1291         (extended_count): Now returns unsigned.
1292         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
1293         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
1294         (simplify_comparison): MODE_WIDTH now unsigned.
1295         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
1296         (mark_used_regs_combine): Likewise; rework arithmetic.
1297         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
1298         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
1299         (record_promoted_value): REGNO now unsigned.
1300         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
1301         (get_last_value): REGNO now unsigned.
1302         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
1303         (reg_dead_regno, reg_dead_endregno): Now unsigned.
1304         (remove_death): Arg REGNO now unsigned.
1305         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
1306         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
1307         now unsigned.
1308         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
1309         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
1310         (struct cse_reg_info): REGNO now unsigned.
1311         (cached_regno): Now unsigned.
1312         (REGNO_QTY_VALID_P): Add cast.
1313         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
1314         (remove_invalid_regs): Likewise.
1315         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
1316         as are variables END and I.
1317         (get_cse_reg_info, insert): Likewise.
1318         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
1319         (canon_hash): Likewise.
1320         (insert_regs, lookup_for_remove): REGNO now unsigned.
1321         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
1322         New variable RN.
1323         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
1324         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
1325         * emit-rtl.c (subreg_realpart_p): Add cast.
1326         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
1327         (operand_subword_force): Arg I is now unsigned.
1328         * except.c (eh_regs): Variable I is now unsigned.
1329         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
1330         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
1331         length is unsigned HOST_WIDE_INT; likewise for internal variables.
1332         (store_split_bit_field, extract_fixed_bit_field): Likewise.
1333         (extract_split_bit_field, store_bit_field, extract_bit_field):
1334         Likewise.
1335         * expr.c (store_constructor_fields, store_constructor, store_field):
1336         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
1337         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
1338         (do_jump): Likewise.
1339         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
1340         MAX_SIZE is now unsigned.
1341         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
1342         (emit_group_store): Likewise.
1343         (emit_move_insn): I now unsigned.
1344         (store_constructor): Use host_integerp, tree_low_cst, and
1345         bitsize_unit_node.
1346         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
1347         Rework all calculations to use trees and new fields.
1348         * expr.h (promoted_input_arg): Regno now unsigned.
1349         (store_bit_field, extract_bit_field): Adjust types of pos and size.
1350         (mark_seen_cases): Arg is HOST_WIDE_INT.
1351         * flow.c (verify_wide_reg_1): REGNO now unsigned.
1352         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
1353         precisions and alignments are unsigned.
1354         (optimize_bit_field_compare, fold_truthop): Likewise.
1355         (int_const_binop): Adjust threshold for size_int_type_wide call.
1356         (fold_convert): Likewise.
1357         (size_int_type_wide): Make table larger and fix thinko that only
1358         had half of table used.
1359         (all_ones_mask_p, fold): Precisions are unsigned.
1360         * function.c (put_reg_info_stack): REGNO is unsigned.
1361         (instantiate_decl): Size is HOST_WIDE_INT.
1362         (instantiate_virtual_regs): I is unsigned.
1363         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
1364         (promoted_input_arg): REGNO is unsigned.
1365         * function.h (struct function): x_max_parm_reg is now unsigned.
1366         * gcse.c (max_gcse_regno): Now unsigned.
1367         (struct null_pointer_info): min_reg and max_reg now unsigned.
1368         (lookup_set, next_set): REGNO arg now unsigned.
1369         (compute_hash_table): REGNO and I now unsigned.
1370         (handle_avail_expr): regnum_for_replacing now unsigned.
1371         (cprop_insn): REGNO now unsigned.
1372         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
1373         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
1374         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
1375         * hard-reg-set.h (reg_class_size): Now unsigned.
1376         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
1377         * jump.c (mark_modified_reg): I now unsigned; add cast.
1378         (rtx_equal_for_thread_p): Add cast.
1379         * loop.c (max_reg_before_loop): Now unsigned.
1380         (struct_movable): REGNO now unsigned.
1381         (try_copy_prop): REGNO arg unsigned.
1382         (regs_match_p): XN and YN now unsigned.
1383         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
1384         (strength_reduce): Likewise; NREGS also unsigned.
1385         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
1386         * loop.h (struct iv_class): REGNO now unsigned.
1387         (max_reg_before_loop, first_increment_giv, last_increment_giv):
1388         Now unsigned.
1389         * machmode.h (mode_size, mode_unit_size): Now unsigned.
1390         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
1391         * optabs.c (expand_binop): I and NWORDS now unsigned.
1392         (expand_unop): I now unsigned.
1393         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
1394         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
1395         * real.c (significand_size): Now returns unsigned.
1396         * real.h (significand_size): Likewise.
1397         * regclass.c (reg_class_size): Now unsigned.
1398         (choose_hard_reg_mode): Both operands now unsigned.
1399         (record_reg_classes): REGNO and NR now unsigned.
1400         (reg_scan): NREGS now unsigned.
1401         (reg_scan_update): old_max_regno now unsigned.
1402         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
1403         * reload.c (find_valid_class): BEST_SIZE now unsigned.
1404         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
1405         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
1406         Likewise for variable R.
1407         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
1408         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
1409         (find_equiv_reg): Add casts.
1410         (regno_clobbered_p): Arg REGNO now unsigned.
1411         * reload.h (struct reload): NREGS now unsigned.
1412         (refers_to_regno_for_reload_p): Regno args are unsigned.
1413         (regno_clobbered_p): Likewise.
1414         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
1415         (compute_use_by_pseudos): REGNO now unsigned.
1416         (find_reg): I and J now unsigned, new variable K, and change loop
1417         variables accordingly; THIS_NREGS now unsigned.
1418         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
1419         (spill_hard_reg): REGNO arg now unsigned; add casts.
1420         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
1421         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
1422         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
1423         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
1424         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
1425         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
1426         (emit_reload_insns): REGNO now unsigned.
1427         (reload_cse_move2add): Add cast.
1428         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
1429         and rework loop.
1430         * resource.c (mark_referenced_resources, mark_set_resources): New
1431         variable R; REGNO and LAST_REGNO now unsigned.
1432         (mark_target_live_regs): J and REGNO now unsigned.
1433         * rtl.c (mode_size, mode_unit_size): Now unsigned.
1434         * rtl.h (union rtunion_def): New field rtuint.
1435         (XCUINT): New macro.
1436         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
1437         (operand_subword, operand_subword_force): Word number is unsigned.
1438         (choose_hard_reg_mode): Operands are unsigned.
1439         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
1440         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
1441         (regno_use_in, combine_instructions, remove_death): Likewise.
1442         (reg_scan, reg_scan_update): Likewise.
1443         (extended_count): Return is unsigned.
1444         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
1445         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
1446         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
1447         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
1448         (reg_reg_last_1): FIRS and LAST now unsigned.
1449         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
1450         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
1451         now unsigned.
1452         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
1453         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
1454         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
1455         (replace_regs): Arg NREGS now unsigned.
1456         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
1457         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
1458         (simplify_binary_operation): Likewise.
1459         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
1460         THIS_LAST now unsigned.
1461         (cselib_record_set): Add cast.
1462         * ssa.c (ssa_max_reg_num): Now unsigned.
1463         (rename_block): REGNO now unsigned.
1464         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
1465         sizes now unsigned.
1466         (all_cases_count): Just return -1 not -2.
1467         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
1468         Rework tests to use trees whenever possible.
1469         Use host_integerp and tree_low_cst.
1470         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
1471         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
1472         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
1473         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
1474         (smallest_mode_for_size): Likewise.
1475         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
1476         KNOWN_ALIGN is now an alignment, so simplify code.
1477         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
1478         (start_record_layout): Renamed from new_record_layout_info.
1479         Update to new fields.
1480         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
1481         New functions.
1482         (place_union_field): Renamed from layout_union_field.
1483         Update to use new fields in rli.
1484         (place_field): Renamed from layout_field.
1485         Major rewrite to use new fields in rli; pass alignment to layout_decl.
1486         (finalize_record_size): Rework to use new fields in rli and handle
1487         union.
1488         (compute_record_mode): Rework to simplify and to use new DECL fields.
1489         (finalize_type_size): Make rounding more consistent.
1490         (finish_union_layout): Deleted.
1491         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
1492         (layout_type, case RECORD_TYPE): Call new function names.
1493         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
1494         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
1495         (get_best_mode): UNIT is now unsigned; remove casts.
1496         * tree.c (bit_position): Compute from new fields.
1497         (byte_position, int_byte_position): New functions.
1498         (print_type_hash_statistics): Cast to remove warning.
1499         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
1500         (build_index_type): Likewise; make subtype of sizetype.
1501         (build_index_2_type): Pass sizetype to build_range_type.
1502         (build_common_tree_nodes): Use size_int and bitsize_int to
1503         initialize nodes; add bitsize_{zero,one,unit}_node.
1504         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
1505         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
1506         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
1507         (DECL_FIELD_BITPOS): Deleted.
1508         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
1509         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
1510         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
1511         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
1512         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
1513         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
1514         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
1515         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
1516         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
1517         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
1518         (DECL_ALIGN): Adjust to new field in union.
1519         (DECL_OFFSET_ALIGN): New field.
1520         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
1521         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
1522         (union tree_decl): Add struct for both aligns.
1523         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
1524         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
1525         (struct record_layout_info): Rework fields to have offset
1526         alignment and byte and bit position.
1527         (start_record_layout, place_field): Renamed from old names.
1528         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
1529         (byte_position, int_byte_position): Likewise.
1530         (get_inner_reference): Change types of position and length.
1531         * unroll.c (unroll_loop): New variable R; use for some loops.
1532         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
1533         (calculate_giv_inc): Arg REGNO now unsigned.
1534         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
1535         * varasm.c (assemble_variable): Clean up handling of size using
1536         host_integerp and tree_low_cst.
1537         (decode_addr_const): Use byte, not bit, position.
1538         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
1539         use tree_low_cst and int_bit_position.
1540         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
1541         
1542 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
1543
1544         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
1545         (reorder_block_def): New members eff_head and eff_end.
1546         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
1547         (verify_insn_chain): New function.
1548         (skip_insns_between_block): Add code to skip deleted insns.
1549         Check for note before using.
1550         (chain_reorder_blocks): Replace calls to skip_insns_between_block
1551         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
1552         Check for note before using.
1553         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
1554         (fixup_reorder_chain): Restructure, clean up, defect removal.
1555         (reorder_basic_blocks): Remove last_insn and references to it.
1556         Moved insn chain verification code into a new function (see above).
1557         Delete defective code that sets last insn.
1558         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
1559         all blocks.
1560
1561 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1562
1563         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
1564
1565 2000-03-24  Richard Henderson  <rth@cygnus.com>
1566
1567         * tree.c (lang_safe_for_unsave): Remove.
1568         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
1569         allowing for two levels of unsafeness.  Remove lang hook.
1570         * tree.h: Update declarations.
1571         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
1572         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
1573         Always fail sibcalls when there are pending cleanups.
1574
1575 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
1576
1577         * flow.c (propagate_block): When we delete an ADDR_VEC,
1578         also delete the BARRIER following it if there is one.
1579
1580 2000-03-24  Richard Henderson  <rth@cygnus.com>
1581
1582         * builtins.c (expand_builtin_bzero): Convert `length' argument
1583         to sizetype.
1584
1585 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
1586
1587         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
1588         comparison if regno's are equal.
1589         * calls.c (initialize_argument_informat): Add ecf_flags argument.
1590         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
1591         (expand_call): Update caller.
1592         Avoid making a sibling call if argument size of the callee is larger
1593         than argument size of the caller.
1594         Call hard_function_value with outgoing set if in sibcall pass.
1595         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
1596
1597         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
1598         Change LEAF_REGISTERS from an array initializer to actual array
1599         identifier. Move static global variable into the function.
1600         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
1601         sequences for leaf functions.
1602         * global.c (global_alloc): Likewise.
1603         * tm.texi (LEAF_REGISTERS): Update documentation.
1604
1605         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
1606         TARGET_FLAT leaf disabling hack.
1607         (LEAF_REGISTERS): Changed from an array initializer to actual array
1608         identifier to avoid duplication and remove the above hack.
1609         (FUNCTION_OK_FOR_SIBCALL): Define.
1610         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
1611         always like call attribute.
1612         (eligible_for_sibcall_delay): New attribute.
1613         (sibcall): New delay type.
1614         (sibcall, sibcall_value, sibcall_epilogue): New expands.
1615         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
1616         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
1617         * config/sparc/sparc.c (sparc_leaf_regs): New array.
1618         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
1619         New functions.
1620         (output_function_epilogue): Move part of the code into
1621         output_restore_regs.
1622         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
1623         TYPE_SIBCALL.
1624         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
1625         prototypes.
1626
1627         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
1628         until infrastructure is finished.
1629
1630 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
1631
1632         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
1633         (save_parm_insns): Not here.
1634
1635 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1636
1637         * builtins.c (expand_builtin_bzero): New function.
1638         (expand_builtin): Handle bzero.
1639
1640         * builtins.def: Add BUILT_IN_BZERO.
1641
1642         * c-common.c (c_common_nodes_and_builtins): Provide builtin
1643         prototype & function for bzero.
1644
1645 2000-03-23  Michael Meissner  <meissner@redhat.com>
1646
1647         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
1648         change adding TARGET_FP to the TF floating point insns, except for
1649         trunctfsf2, which generates direct calls to truncdfsf2.
1650
1651 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
1652
1653         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
1654         try to protect against middle-end changes that break binary
1655         compatibility.
1656         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
1657
1658 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1659
1660         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
1661
1662 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1663
1664         * calls.c (expand_call): If TARGET is passed by reference and
1665         is readonly, write a CLOBBER.
1666
1667 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1668
1669         * builtins.c (expand_builtin): Handle bcmp.
1670
1671         * builtins.def: Add BUILT_IN_BCMP.
1672
1673         * c-common.c (c_common_nodes_and_builtins): Provide builtin
1674         prototype & function for bcmp.
1675
1676 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
1677
1678         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
1679         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
1680         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
1681
1682 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
1683
1684         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
1685         alternative when using -fp64 -gp32.
1686
1687 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
1688
1689         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
1690         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
1691         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
1692
1693         * frame.h (frame_state): Revert last change.
1694         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
1695         * libgcc2.c (throw_helper): Revert last change.
1696         
1697 2000-03-22  Richard Henderson  <rth@cygnus.com>
1698
1699         * stmt.c (expand_asm_operands): Don't promote the temporary.
1700
1701 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1702
1703         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
1704         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
1705           c_get_alias_set): Likewise.
1706         * c-decl.c (duplicate_decls): Likewise.
1707         * c-typeck.c (default_conversion,build_unary_op): Likewise.
1708         * calls.c (initialize_argument_information): Likewise.
1709         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
1710         Likewise.
1711         * dwarfout.c (decl_class_context,output_type): Likewise.
1712         * expr.c (get_inner_reference): Likewise.
1713         * fold-const.c (simple_operand_p,fold): Likewise.
1714         * function.c (aggregate_value_p): Likewise.
1715         * stmt.c (expand_asm_operands): Likewise.
1716         * varasm.c (named_section): Likewise.
1717
1718 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
1719
1720         Implement dwarf2 exception handling for the ARM.
1721         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
1722         (DWARF_FRAME_RETURN_COLUMN): Define.
1723         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
1724         REG_FRAME_RELATED_EXPR note.
1725         (emit_sfm): Likewise.
1726         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
1727         * dwarf2out.c (reg_save): Handle saving a register to itself.
1728         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
1729         * except.c (eh_regs): Don't use the static chain reg if it's
1730         callee-saved.
1731         * frame.h (frame_state): Add cfa_saved field.
1732         * frame.c (execute_cfa_insn): Set it.
1733         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
1734         the epilogue.
1735         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
1736         Now takes a parm.
1737         (instantiate_virtual_regs): Adjust.
1738         * tm.texi: Adjust.
1739         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
1740         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
1741         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
1742
1743         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
1744         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
1745
1746 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1747
1748         * builtins.def: New file.
1749
1750         * Makefile.in (TREE_H): Depend on builtins.def.
1751
1752         * builtins.c (built_in_names): Use builtins.def.
1753
1754         * tree.h (built_in_function): Likewise.
1755
1756 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
1757
1758         * tree.c (size_in_bytes): Return size_zero_node, not
1759         integer_zero_node.
1760
1761 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
1762
1763         * config/fp-bit.c (pack_d): Correct the case when a denormal
1764         is rounded up and stops being denormal.
1765
1766 2000-03-21  Richard Henderson  <rth@cygnus.com>
1767
1768         * config/alpha/alpha.c (function_arg): Check for void_type_node
1769         before using MUST_PASS_IN_STACK.
1770
1771 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
1772
1773         * regmove.c (combine_stack_adjustments_for_block): Check that
1774         the stack pointer is a valid memory address.
1775
1776 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
1777
1778         * calls.c: re-install Mar 16 emit_library_call merge.
1779
1780 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
1781
1782         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
1783         we cannot be sure that if reload_completed base register will
1784         be properly aligned.
1785
1786 2000-03-21  Richard Henderson  <rth@cygnus.com>
1787
1788         * flow.c (delete_block): Fix typo last change.
1789
1790 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
1791
1792         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
1793         not COMPLETE_TYPE_P, to check the type of the expression.
1794
1795 2000-03-21  Michael Meissner  <meissner@redhat.com>
1796
1797         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
1798         all floating point insns that just tested the macro
1799         TARGET_HAS_XFLOATING_LIBS.
1800         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
1801         used to only use the gprs.
1802
1803 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
1804
1805         * tree.h (COMPLETE_TYPE_P): New macro.
1806         (COMPLETE_OR_VOID_TYPE_P): New macro.
1807         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
1808         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
1809         * c-aux-info.c (gen_type): Use them.
1810         * c-common.c (c_expand_expr_stmt): Likewise.
1811         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
1812         grokdeclarator, grokparms, finish_struct, start_function,
1813         store_parm_decls, combine_parm_decls): Likewise.
1814         * c-parse.y (cast_expr): Likewise.
1815         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
1816         c_size_in_bytes, c_alignof, build_component_ref,
1817         build_indirect_ref, build_array_ref, convert_arguments,
1818         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
1819         * calls.c (initialize_argument_information): Likewise.
1820         * convert.c (convert_to_integer): Likewise.
1821         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
1822         * dwarfout.c (location_or_const_value_attribute,
1823         output_enumeration_type_die, output_structure_type_die,
1824         output_union_type_die, output_type): Likewise.
1825         * expr.c (safe_from_p, expand_expr): Likewise.
1826         * function.c (assign_parms): Likewise.
1827         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
1828         * tree.c (build_array_type, build_function_type,
1829         build_method_type, build_offset_type, build_complex_type): Likewise.
1830         * c-parse.c, c-parse.h: Regenerated.
1831
1832 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1833
1834         * config/c4x/rtems.h: Include config/rtems.h.
1835
1836 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
1837
1838         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
1839         decl is a FUNCTION_DECL
1840
1841 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
1842
1843         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
1844         function uses output registers.  Don't save RP for leaf functions.
1845         Do save RP even if no epilogue.
1846         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
1847         (CALL_USED_REGISTERS): Unmark in registers.
1848         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
1849         to near the middle.
1850
1851 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
1852
1853         * config/rs6000/rs6000.md (bunordered): New expander.
1854         (bordered): New expander.
1855         (buneq): New expander.
1856         (bunge): New expander.
1857         (bungt): New expander.
1858         (bunle): New expander.
1859         (bunlt): New expander.
1860         (bltgt): New expander.
1861  
1862         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
1863         (ccr_bit_negated_p): New function.
1864         (print_operand): For %C, generate appropriate cror for UNEQ,
1865         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
1866
1867 2000-03-20  Andreas Jaeger  <aj@suse.de>
1868
1869         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
1870         warning.
1871
1872         * tree.h (safe_for_unsave): Prototype.
1873
1874 2000-03-20  Richard Henderson  <rth@cygnus.com>
1875
1876         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
1877         (combine_stack_adjustments_for_block): Don't allow sp references
1878         in the side of a set we're not fixing up.
1879         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
1880         after life_analysis.
1881
1882 2000-03-20  Richard Henderson  <rth@cygnus.com>
1883
1884         * calls.c (expand_call): Don't bother generating tail call
1885         sequences if there are pending cleanups.  Use
1886         expand_start_target_temps/expand_end_target_temps to elide
1887         cleanups created during sibcall expansion.
1888
1889 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
1890
1891         * configure.in: Set $IFS to a value if it doesn't already have one
1892         in the --enable-checking handling.
1893         * configure: Regenerate.
1894
1895 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1896
1897         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
1898         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
1899         Regenerated.
1900
1901 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
1902
1903         * jump.c (delete_noop_moves): Remove code attempting to
1904         combine stack adjustments.
1905
1906 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1907
1908         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
1909         * except.c (emit_cleanup_handler): Use them.
1910         (expand_end_all_catch): Likewise.
1911         * function.c (fixup_var_refs): Likewise.
1912         (expand_function_end): Clear catch_clauses_last.
1913         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
1914         * except.h (struct eh_status): New field x_catch_clauses_last.
1915         (catch_clauses_last): New define.
1916
1917         * Makefile.in (tree.o): Depend on HASHTAB_H.
1918         * tree.c: Include hashtab.h.
1919         (struct type_hash): Remove next field.
1920         (TYPE_HASH_SIZE): Remove.
1921         (TYPE_HASH_INITIAL_SIZE): New define.
1922         (type_hash_table): Change type to htab_t.
1923         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
1924         mark_hash_entry): New functions.
1925         (init_obstacks): Allocate type hash.
1926         (type_hash_lookup): Use htab functions.
1927         (type_hash_add, mark_type_hash): Likewise.
1928         (dump_tree_statistics): Call print_type_hash_statistics.
1929
1930 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1931
1932         * rs6000/t-aix41: New file.
1933
1934         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
1935
1936 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
1937
1938         * tm.texi (Driver): Fix typos and tweak entry for
1939         INCLUDE_DEFAULTS.
1940         Move misplaced STRUCT_FORCE_BLK entry ...
1941         (Storage Layout): ... to here.
1942         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
1943
1944 2000-03-19  Richard Henderson  <rth@cygnus.com>
1945
1946         * flow.c (delete_block): Delete the addr_vec along with the block.
1947         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
1948         reference labels.
1949
1950         * fold-const.c (extract_muldiv): Apply type check for defined
1951         overflow to multiply as well as divide.
1952
1953         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
1954
1955 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
1956
1957         * emit-rtl.c (remove_unncessary_notes): Check that all
1958         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
1959         associated NOTE_BLOCK.
1960         * function.h (identify_blocks): Update comments.
1961         (reorder_blocks): Declare.
1962         * function.c (identify_blocks): Don't take paramters.
1963         (reorder_blocks): Don't take parameters.
1964         * loop.h (find_loop_tree_blocks): Remove.
1965         (unroll_block_trees): Likewise.
1966         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
1967         reorder_blocks instead of unroll_block_trees.h
1968         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
1969         * stmt.c (find_loop_tree_blocks): Remove.
1970         (unroll_block_trees): Likewise.
1971         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
1972         in whole-function mode.
1973         * tree.h (reorder_blocks): Remove declaration.
1974
1975         * expr.c: Include intl.h.
1976         * Makefile.in (expr.o): Depend on intl.h.
1977         
1978 2000-03-18  Richard Henderson  <rth@cygnus.com>
1979
1980         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
1981
1982 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
1983
1984         * tree.h (tree_index): Remove enumerals for integer types.
1985         (integer_type_kind): New type.
1986         (integer_types): New variable.
1987         (char_type_node): Adjust.
1988         (signed_char_type_node): Likewise.
1989         (unsigned_char_type_node): Likewise.
1990         (short_integer_type_node): Likewise.
1991         (short_unsigned_type_node): Likewise.
1992         (integer_type_node): Likewise.
1993         (unsigned_type_node): Likewise.
1994         (long_integer_type_node): Likewise.
1995         (long_unsigned_type_node): Likewise.
1996         (long_long_integer_type_node): Likewise.
1997         (long_long_unsigned_type_node): Likewise.
1998         * tree.c (integer_types): New variable.
1999         (init_obstacks): Register it as a root.
2000
2001 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
2002
2003         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
2004         NEXT_INSN. Update last insn in chain.
2005
2006 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
2007
2008         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
2009         with TYPE_DECL_SUPPRESS_DEBUG set.
2010
2011 2000-03-18  Richard Henderson  <rth@cygnus.com>
2012
2013         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
2014
2015 2000-03-18  Richard Henderson  <rth@cygnus.com>
2016
2017         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
2018         care for HALF_PIC_P.
2019         (expander_call_insn_operand): Remove.
2020         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
2021         * i386.h (PREDICATE_CODES): Update.
2022         * i386.md (all call expanders): Remove predicates, remove special
2023         handling for half-pic.
2024         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
2025         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
2026         (sibcall_epilogue): New.
2027
2028 2000-03-17  Richard Henderson  <rth@cygnus.com>
2029
2030         * rtlanal.c (single_set): Reject if the parallel has anything
2031         except SET or USE or CLOBBER.
2032
2033 2000-03-17  Jeff Law  <law@cygnus.com>
2034             Richard Henderson  <rth@cygnus.com>
2035
2036         * Makefile.in (OBJS): Add sibcall.o.
2037         (sibcall.o): New.
2038         * sibcall.c: New file.
2039         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2040         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2041         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2042         Emit sibcall patterns when requested.  Update all callers.
2043         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2044         elimination seems feasable.
2045         * final.c (leaf_function_p): Sibling calls don't discount being
2046         a leaf function.
2047         * flow.c (HAVE_sibcall_epilogue): Provide default.
2048         (find_basic_blocks_1): Sibling calls don't throw.
2049         (make_edges): Make edge from sibling call to EXIT.
2050         (propagate_block): Don't remove sibcall_epilogue insns.
2051         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
2052         (sibcall_epilogue): New.
2053         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2054         (identify_blocks_1): Likewise.  Break out from ...
2055         (identify_blocks): ... here.
2056         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
2057         (reorder_blocks): ... here.
2058         (init_function_for_compilation): Zap prologue/epilogue as varrays.
2059         (record_insns): Extend a varray instead of mallocing new memory.
2060         (contains): Read a varray not array of ints.
2061         (sibcall_epilogue_contains): New.
2062         (thread_prologue_and_epilogue_insns): Emit and record
2063         sibcall_epilogue patterns.
2064         (init_function_once): Allocate prologue/epilogue varrays.
2065         * genflags.c (gen_insn): Treat sibcall patterns as calls.
2066         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2067         Broken out from ...
2068         (save_for_inline_nocopy): ... here.
2069         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
2070         Broken out from ...
2071         (expand_inline_function): ... here.
2072         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
2073         (subst_constants): Handle 'n' formats.
2074         * jump.c (jump_optimize_minimal): New.
2075         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
2076         optimizations if it's set.
2077         * rtl.c (copy_rtx): Do copy jump & call for insns.
2078         * rtl.h (struct rtx_def): Document use of jump and call for insns.
2079         (SIBLING_CALL_P): New.
2080         (sibcall_use_t): New.
2081         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
2082         Invoke optimize_sibling_and_tail_recursive_calls.
2083         * tree.c (lang_safe_for_unsave): New.
2084         (safe_for_unsave): New.
2085         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
2086
2087         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
2088         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
2089         (*sibcall_osf_1, *sibcall_value_osf_1): New.
2090
2091 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
2092
2093         * objc/objc-act.c (encode_method_prototype): Pass types, not
2094         PARM_DECLs, to int_size_in_bytes.
2095
2096 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
2097
2098         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
2099
2100         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2101         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
2102
2103 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2104
2105         * Clean up usages of TREE_INT_CST_LOW.
2106         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
2107         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2108         Regenerated.
2109         * c-tree.h (min_precision): Move declaration to here.
2110         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
2111         (build_unary_op, add_pending_init): Use bit_position.
2112         (pending_init_member, process_init_element): Likewise.
2113         (really_start_incremental_init, push_init_level, pop_init_level):
2114         Don't make copies of nodes or modify them in place, use consistent
2115         types when tracking positions, and use tree routines computations.
2116         (set_init_index, output_init_element): Likewise.
2117         (output_pending_init_elements, process_init_element): Likewise.
2118         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
2119         tree_low_cst and int_bit_position; also minor cleanup.
2120         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
2121         (print_cst_octal): Precision is unsigned.
2122         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
2123         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
2124         (simple_type_align_in_bits): Result is unsigned int.
2125         Use tree_int_low_cst and host_integerp.
2126         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
2127         (field_byte_offset): Result is HOST_WIDE_INT.
2128         Change types of internal variables so alignments are unsigned int,
2129         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
2130         Use host_integerp, tree_low_cst, and int_bit_position.
2131         (add_bit_offset_attribute): Likewise.
2132         (add_data_member_location_attribute): Use tree_cst_low.
2133         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
2134         (add_bit_size_attribute): Use tree_low_cst.
2135         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
2136         * dwarfout.c: Similar changes to dwarf2out.c.
2137         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
2138         * genoutput.c (n_occurences): Return -1 for null string.
2139         (strip_whitespace): Accept null string and make into function.
2140         (scan_operands): Reflect above changes.
2141         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
2142         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
2143         * ssa.c (rename_registers): Add missing cast of arg to bzero.
2144         * tree.c (int_size_in_bytes): Check for too big to represent.
2145         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
2146         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
2147         New declarations.
2148         (min_precision): Delete from here.
2149         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
2150         and int_bit_position.
2151         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
2152         (encode_method_def): Likewise.
2153         (build_ivar_list_initializer): Use int_bit_position.
2154         (generate_shared_structures): Convert size.
2155         (encode_type, encode_complete_bitfield): Use integer_zerop.
2156         (encode_bitfield): Use tree_low_cst and int_bit_position.
2157         
2158 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2159
2160         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
2161
2162 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2163
2164         * call.c (special_function_p): It is only malloc if it returns
2165         Pmode.
2166
2167 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2168
2169         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
2170         (C33_FLAG, TARGET_C3X): Add macros.
2171         (TARGET_SWITCHES): Add -m33 option.
2172         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
2173         
2174 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2175         
2176         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
2177         (PARALLEL_PACK_FLAG): Delete.
2178         (TARGET_SWITCHES): Update.
2179         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
2180
2181 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2182
2183         * fold-const.c (fold): Fix a few cases when the returned result
2184         is not of the same type as the input.
2185
2186 2000-03-16  Nick Clifton  <nickc@cygnus.com>
2187
2188         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
2189         warning.
2190
2191 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2192
2193         * libgcc2.h: Move prototypes above macros with the same name.
2194         Wrap some function prototypes in the conditional which indicates
2195         whether they are supported, i.e. "BITS_PER_UNIT == 8".
2196
2197 2000-03-16  Richard Henderson  <rth@cygnus.com>
2198
2199         * calls.c: Revert last two changes.
2200
2201 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
2202
2203         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
2204         has exponent 0 is a zero.
2205
2206         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
2207         HASH may already be nonzero.  Add code/mode into hash value
2208         immediately after repeat label.
2209         (cselib_lookup): Don't leave the hash table in an inconsistent
2210         state before a hash lookup operation.
2211
2212 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
2213
2214         * i386.md (all HI and QI mode non-move patterns):  Conditionize
2215         by TARGET_[HQ]IMODE_MATH.
2216         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2217         x86_promote_qi_regs): Declare.
2218         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
2219         TARGET_PROMOTE_QI_REGS): New macros.
2220         (PROMOTE_MODE): New macro.
2221         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2222         x86_promote_qi_regs): New global variables.
2223
2224 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
2225
2226         * calls.c (emit_library_call_value_1): Break out from ...; handle
2227         VOIDmode function calls too.
2228         (emit_library_call_value): ... here.
2229         (emit_library_call): Implement by calling emit_library_call_value_1.
2230
2231 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
2232
2233         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
2234         Update arg_space_so_far on stack adjustments.
2235         (emit_library_call, emit_library_call_value): Likewise; take into
2236         account arg_space_so_far and pending_stack_adjust when calculcating
2237         the boundary.
2238
2239 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
2240
2241         * flow.c: Move all basic block reordering code into its own file.
2242         (create_basic_block): Externalize.
2243         * bb-reorder.c: New file. Copy all basic block reordering code from
2244         flow.c to this file.
2245         (reorder_basic_blocks): Fix fencepost error in for-loop.
2246         (reorder_basic_blocks): Remove braces from single statement for-loops.
2247         * basic-block.h: Add declaration for create_basic_block.
2248         * Makefile.in: Add rules for bb-reorder.o.
2249
2250 2000-03-16  Neil Booth  <NeilB@earthling.net>
2251
2252         * cppinit.c (handle_option):  Implement #unassert directive
2253         as -A- command line option.
2254         (print_help):  Update.
2255         * cpptexi.c:  Update.
2256
2257 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2258
2259         * md.texi (Standard Names): Document `jump'.
2260
2261 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2262
2263         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
2264         gotos.
2265
2266 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
2267
2268         See the ChangeLog on the branch for more details.
2269         
2270         * configure.in: Merge in changes from newppc-branch.
2271         * configure: Regenerate.
2272         * config/rs6000/*: Merge in changes from newppc-branch.
2273         Also correct copyright notices.
2274
2275 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
2276
2277         * acconfig.h (HAVE_GAS_WEAK): New define.
2278         * configure.in (assembler weak support): Check for .weak support.
2279         * config.in, configure: Rebuilt.
2280         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
2281         HAVE_GAS_WEAK is defined.
2282
2283 2000-03-15  Nick Clifton  <nickc@cygnus.com>
2284
2285         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
2286         asm_fprintf().
2287
2288 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
2289
2290         * cppfiles.c (open_include_file): New function.
2291         (find_include_file, cpp_read_file): Use it.
2292
2293 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2294
2295         * cpphash.c (dump_hash_helper): Take the slot, not the element.
2296
2297 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
2298
2299         * flow.c (verify_flow_info): Check for unconditional return.
2300
2301 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
2302
2303         * config/ia64/ia64.md (restore_stack_nonlocal): New.
2304         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
2305         (__ia64_restore_stack_nonlocal): New.
2306         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
2307
2308 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2309
2310         * cpphash.c (collect_formal_parameters): Do not complain about
2311         parameter names that just start with `__VA_ARGS__'.
2312
2313 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
2314
2315         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
2316         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
2317         * i386.c (pentiumpro_cost): Set mul cost to 4.
2318         (x86_use_movx): Set for PPro.
2319
2320 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
2321
2322         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
2323         STACK_BOUNDARY for empty frames now.
2324
2325 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
2326
2327         * stor-layout.c (layout_union): Remove.
2328         (layout_union_field): New function, split out from layout_union.
2329         (finish_union_layout): Likewise.
2330         (layout_field): Handle unions by calling layout_union_field.
2331         (finish_record_layout): Handle unions.
2332         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
2333         QUAL_UNION_TYPE handling.
2334
2335 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
2336
2337         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
2338         end of basic block is jump_insn, not barrier; use create_basic_block
2339         instead of creating basic block by hand.
2340
2341 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
2342
2343         * flow.c (reorder_basic_blocks): Account for barriers when writing
2344         over NEXT_INSN (last_bb->end).
2345         (verify_flow_info): Add check for missing barriers.
2346
2347 2000-03-14  Greg McGary  <gkm@gnu.org>
2348
2349         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
2350         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
2351         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
2352         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
2353         __unbounded, __unbounded__): New keywords.
2354         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
2355         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
2356         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
2357
2358 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2359
2360         * cselib.h: New file.
2361         * alias.c: Include "cselib.h".
2362         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
2363         MEMs as two new arguments.
2364         (get_addr): New static function.
2365         (find_base_term): Handle VALUEs.
2366         (memrefs_conflict_p): Likewise.
2367         (true_dependence): Call get_addr on the addresses.
2368         Call fixed_scalar_and_varying_struct_p with addresses that have been
2369         passed through get_addr and canon_rtx.
2370         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
2371         with true_dependence.
2372         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
2373         * loop.c: Include "cselib.h".
2374         (load_mems): Process extended basic block that enters the loop with
2375         cselib.  Use that information to change initialization of the shadow
2376         register so that a constant equivalence is seen by later passes.
2377         * reload1.c: Include "cselib.h".
2378         (reload_cse_invalidate_regno): Delete function.
2379         (reload_cse_mem_conflict_p): Likewise.
2380         (reload_cse_invalidate_mem): Likewise.
2381         (reload_cse_invalidate_rtx): Likewise.
2382         (reload_cse_regno_equal_p): Likewise.
2383         (reload_cse_check_clobber): Likewise.
2384         (reload_cse_record_set): Likewise.
2385         (reg_values): Delete static variable.
2386         (invalidate_regno_rtx): Likewise.
2387         (reload_cse_delete_noop_set): New static function.
2388         (reload_cse_simplify): New static function, broken out of
2389         reload_cse_regs_1.
2390         (reload_cse_noop_set_p): Delete unused argument INSN.
2391         Just call rtx_equal_for_cselib_p on set source and destination.
2392         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
2393         reload_cse_delete_noop_set.  Delete code to keep track of values; use
2394         cselib functions instead.  Delete code to push/pop obstacks.
2395         (reload_cse_simplify_set): Use cselib to find equivalent values.
2396         Delete code to push/pop obstacks.
2397         (reload_cse_simplify_operands): Likewise.
2398         * rtl.def (VALUE): New rtx code.
2399         * rtl.h (union rtunion_def): New elt rt_cselib.
2400         (X0CSELIB, CSELIB_VAL_PTR): New macros.
2401         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
2402         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
2403         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
2404         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
2405         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
2406         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
2407         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
2408         cselib_record_set, cselib_record_sets): New static functions.
2409         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
2410         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
2411         references_value_p): New functions.
2412         (MAX_USELESS_VALUES, REG_VALUES): New macros.
2413         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
2414         n_useless_values, reg_values, callmem, cselib_obstack,
2415         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
2416         New static variables.
2417         * varray.h (union varray_data_tag): New elt te.
2418         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
2419         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
2420         dependencies.
2421
2422 2000-03-14  Nick Clifton  <nickc@cygnus.com>
2423
2424         * gcc.c (do_spec_1): Catch the case where %* is used in a
2425         substitution pattern, but it has not been initialised.
2426         Issue a meaningful error message if an unrecognised operator
2427         is encountered in a spec string.
2428
2429 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
2430
2431         * function.c (prepare_function_start): Correctly initialize
2432         cfun->stack_alignment_needed.
2433
2434 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
2435
2436         * cppfiles.c (find_include_file): Don't assume nshort is a
2437         substring of name.
2438
2439 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
2440
2441         * configure.in (hppa configurations): Add pa32-regs.h to the
2442         list of tm files as appropriate.
2443         * configure: Rebuilt.
2444         * pa.c (compute_frame_size): Remove explicit knowledge about FP
2445         register numbering.
2446         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
2447         (fmpyaddoperands, fmpysuboperands): Likewise.
2448         * pa.h: Remove various definitions which depend on knowing
2449         how registers are numbered.
2450         * pa32-regs.h: New file with PA32 register numbering specific
2451         definitions.
2452
2453 2000-03-14  Richard Henderson  <rth@cygnus.com>
2454
2455         * regmove.c (combine_stack_adjustments): New.
2456         (stack_memref_p, single_set_for_csa): New.
2457         (free_csa_memlist, record_one_stack_memref): New.
2458         (try_apply_stack_adjustment): New.
2459         (combine_stack_adjustments_for_block): New.
2460         * rtl.h (combine_stack_adjustments): Declare.
2461         * toplev.c (rest_of_compilation): Call it.
2462
2463         * i386.md: Revert 2000-01-16 change.
2464
2465 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2466
2467         * gccbug.in: Add web category, gcc specific classes.
2468
2469 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
2470
2471         * stor-layout.c (finalize_record_size): Fix typo.
2472
2473 2000-03-14  Stan Shebs  <shebs@apple.com>
2474
2475         * c-typeck.c (c_alignof): Error on incomplete types.
2476         * extend.texi (Alignment): Document this.
2477
2478 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2479
2480         * cppfiles.c: Include mkdeps.h.
2481         (find_include_file, read_include_file): Remove _cpp_ prefix
2482         from name, make static.
2483         (_cpp_execute_include): New function, broken out of
2484         do_include.
2485
2486         * cpplib.c: Don't include mkdeps.h.
2487         (struct directive): Remove type field. Reorder entries.  The
2488         function takes only one argument.
2489         (struct if_stack): Make type field an int.
2490         (directive_table): Rename to dtable.  Generate it, the
2491         prototypes of the directive handlers, and the enum for the
2492         directive numbers, from a template macro.
2493         (do_ifndef, do_include_next, do_import): New functions.
2494         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
2495         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
2496         do_ident, do_assert, do_unassert, do_sccs): Take only one
2497         argument.
2498         (do_sccs): Define always, but alter behavior based on
2499         SCCS_DIRECTIVE.
2500         (_cpp_handle_directive, consider_directive_while_skipping):
2501         Restructure for new directive table layout.
2502
2503         (pass_thru_directive): Take a directive number, not a pointer
2504         to a struct directive.
2505         (parse_include): New function, broken out of do_include.
2506         (do_include, do_import, do_include_next): Use parse_include
2507         and _cpp_execute_include.
2508         (do_elif, do_else): Test for T_ELSE specifically when checking
2509         for #elif/#else after #else.
2510         (parse_ifdef): New function, broken out of do_ifdef.
2511         (validate_else): Expect a name arg without a leading #.
2512         (if_directive_name): Delete.
2513         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
2514         directive handlers with only one argument.
2515
2516         * cpphash.h: Update prototypes.
2517         (enum node_type): Remove entries for directives.
2518         * Makefile.in: Update dependencies.
2519
2520         * cpphash.c (dump_hash_helper): Only dump nodes of type
2521         T_MACRO.  Emit a newline after each definition.
2522
2523 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2524
2525         * gccbug.in: New file.
2526         * configure.in (all_outputs): Add gccbug.
2527         * Makefile.in (install-common): Install gccbug.
2528         (GCCBUG_INSTALL_NAME): New variable.
2529         * configure: Rebuilt.
2530         
2531 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
2532
2533         * function.c (put_var_into_stack): Use type_for_mode to calculate
2534         part_type.  Use MEM_SET_IN_STRUCT_P.
2535         * expr.c (store_field): Handle CONCAT.
2536         (store_constructor): Use fields_length.
2537         * tree.c (fields_length): New fn.
2538         * tree.h: Declare it.
2539
2540 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2541
2542         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
2543         (cpplex.o): New target.
2544         * po/POTFILES.in: Add cpplex.c.
2545
2546         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
2547         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
2548         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
2549         skip_block_comment, skip_line_comment, skip_comment,
2550         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
2551         _cpp_parse_name, skip_string, parse_string,
2552         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
2553         _cpp_get_directive_token, find_position,
2554         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
2555         (maybe_macroexpand, _cpp_lex_token): New functions.
2556
2557         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
2558         parse_goto_mark): Delete.
2559         (_cpp_handle_eof): New function.
2560         (_cpp_handle_directive): Rename from handle_directive.
2561         (_cpp_output_line_command): Rename from output_line_command.
2562         (do_if, do_elif): Call _cpp_parse_expr directly.
2563         * cppfiles.c (_cpp_read_include_file): Don't call
2564         init_input_buffer here.
2565         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
2566         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
2567         here; pop the token_buffer and skip the rest of the line here.
2568         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
2569         here.
2570
2571         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
2572         Define here.
2573         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
2574         CPP_GOTO_MARK): New macros.
2575         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
2576         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
2577         _cpp_read_and_prescan, _cpp_init_input_buffer,
2578         _cpp_grow_token_buffer, _cpp_get_directive_token,
2579         _cpp_handle_directive, _cpp_handle_eof,
2580         _cpp_output_line_command): Prototype them here.
2581         * cpplib.h (enum cpp_token): Add CPP_MACRO.
2582         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
2583         quote_string, output_line_command): Remove.
2584
2585 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
2586
2587         * stmt.c (expand_end_case): RANGE may be signed, and when checking
2588         whether it is too large we must also verify that it isn't negative.
2589
2590 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
2591
2592         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
2593         (movsi_zero_liveg0): Remove.
2594         (movsf_insn_novis_liveg0): Remove.
2595         (negsi2): Remove.
2596         (negsi2_not_liveg0): Rename to negsi2.
2597         (one_cmplsi2): Remove.
2598         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
2599         (one_cmplsi2_liveg0): Remove.
2600         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
2601         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
2602         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
2603         (PREDICATE_CODES): Remove zero_operand.
2604         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
2605         TARGET_BROKEN_SAVERESTORE.
2606         (zero_operand): Remove.
2607         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
2608         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
2609         options.
2610         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2611         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
2612         TARGET_BROKEN_SAVERESTORE): Remove.
2613         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2614         Remove.
2615         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2616         Remove.
2617         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2618         Remove.
2619
2620         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
2621
2622 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2623
2624         * cpplib.c (do_pragma_implementation): Fix off-by-one error
2625         truncating a string.  Don't assume tokens are nul terminated.
2626         Problem noted by Andreas Jaeger <aj@suse.de>
2627
2628 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
2629
2630         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
2631         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
2632         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
2633
2634 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
2635
2636         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
2637         STRUCTURE_SIZE_BOUNDARY.
2638
2639 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
2640
2641         * tree.h (record_layout_info_s): New structure.
2642         (record_layout_info): New type.
2643         (new_record_layout_info): New function.
2644         (layout_field): Likewise.
2645         (finish_record_layout): Likewise.
2646         * stor-layout.c (layout_record): Remove.
2647         (new_record_layout_info): New function.
2648         (layout_field): New function, broken out from layout_record.
2649         (finalize_record_size): Likewise.
2650         (compute_record_mode): Likewise.
2651         (finalize_type_size): New function, broken out from layout_type.
2652         (finish_record_layout): Likewise.
2653         (layout_type): Use them.
2654         
2655 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
2656
2657         * cpphash.c: Don't include version.h.
2658         (special_symbol) [case T_VERSION]: Look for the string in
2659         hp->value.cpval; don't use version_string.
2660         * cppinit.c (initialize_builtins): Set hp->value.cpval for
2661         __VERSION__ to version_string.
2662         * Makefile.in (cpphash.o): Update deps.
2663
2664 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
2665
2666         Convert cpplib to use libiberty/hashtab.c.
2667
2668         * cpplib.h (struct cpp_reader): Make hashtab and
2669         all_include_files of type 'struct htab *'.  Delete HASHSIZE
2670         and ALL_INCLUDE_HASHSIZE macros.
2671
2672         * cpphash.h: Update prototypes.
2673         (struct hashnode): Remove next, prev, and bucket_hdr members.
2674         Make length a size_t.  Add hash member.
2675         (struct ihash): Remove next member.  Add hash member.  Make
2676         name a flexible array member.
2677
2678         * cppfiles.c: Include hashtab.h.
2679         (include_hash): Delete.
2680         (IHASHSIZE): New macro.
2681         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
2682         (cpp_included): Do the hash lookup here.
2683         (_cpp_find_include_file): Rewrite.
2684         (cpp_read_file): Put the "fake" hash entry into the hash
2685         table.  Honor the control_macro, if it turns out we've seen
2686         the file before.  Don't push the buffer here.
2687         (_cpp_read_include_file): Push the buffer here.
2688         (OMODES): New macro.  Use it whenever we call open(2).
2689
2690         * cpphash.c: Include hashtab.h.
2691         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
2692         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
2693         _cpp_lookup_slot): New functions.
2694         (HASHSIZE): new macro.
2695         (hashf, _cpp_install, _cpp_delete_macro): Delete.
2696         (_cpp_lookup): Use hashtab.h routines.
2697
2698         * cppinit.c: Include hashtab.h.
2699         (cpp_reader_init): Call _cpp_init_macro_hash and
2700         _cpp_init_include_hash.  Don't allocate hashtab directly.
2701         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
2702         pfile->all_include_files.
2703         (initialize_builtins): Use _cpp_make_hashnode and
2704         htab_find_slot to add hash entries.
2705         (cpp_finish): Just call _cpp_dump_macro_hash.
2706         * cpplib.c: Include hashtab.h.
2707         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
2708         create hash entries.
2709         (do_pragma_poison, do_assert): Likewise.
2710         (do_include): Don't push the buffer here.  Don't increment
2711         system_include_depth unless _cpp_read_include_file succeeds.
2712         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
2713         or htab_remove_elt.
2714         (do_pragma_implementation): Use alloca to create copy.
2715
2716         * Makefile.in: Update dependencies.
2717
2718 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2719
2720         * cppinit.c (cl_directive_handler): More K&R fixing.
2721
2722 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
2723
2724         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
2725         STACK_BOUNDARY.
2726         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
2727
2728 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2729
2730         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
2731         Change from char[] to macros.
2732
2733 2000-03-12  Neil Booth  <NeilB@earthling.net>
2734
2735         * cppinit.c (cpp_start_read): Update indirect function
2736         call to K&R C.
2737
2738 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
2739
2740         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
2741         entry.
2742
2743         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2744         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
2745
2746 2000-03-11  Neil Booth  <NeilB@earthling.net>
2747
2748         * cppinit.c (struct pending option): Replace undef with a 
2749         pointer to a directive handling routine.
2750         (struct cpp_pending): Replace separate assert_ and define_ 
2751         lists with one directive_ list.
2752         (new_pending_define): Rename new_pending_directive. Extra
2753         argument is the directive's handling routine.
2754         (handle_option): Update to use new_pending_directive.
2755
2756 2000-03-11  Neil Booth  <NeilB@earthling.net>
2757
2758         * cppfiles.c (file_cleanup, _cpp_find_include_file,
2759         remap_filename, _cpp_read_include_file, actual_directory,
2760         hack_vms_include_specification): Replace bcopy(), index() etc
2761         calls.  Add casts to some allocations.  Make some variables
2762         pointers to const [unsigned] char.
2763         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
2764         collect_formal_parameters): Similarly.
2765         * cppinit.c (struct pending_option, append_include_chain,
2766         cpp_options_init, cpp_reader_init, initialize_standard_includes,
2767         cpp_start_read, new_pending_define, handle_option): Similarly.
2768         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
2769         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
2770         do_pragma_implementation, detect_if_not_defined,
2771         do_ifdef, skip_if_group, cpp_get_token, parse_string,
2772         do_assert, do_unassert): Similarly.
2773         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
2774         function prototypes.
2775         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
2776
2777 2000-03-10  Richard Henderson  <rth@cygnus.com>
2778
2779         * builtins.c (expand_builtin_strlen): Revert last change.
2780         Use emit_insn_before if we're at the beginning of a sequence.
2781
2782 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
2783
2784         * builtins.c (expand_builtin_strlen): Make sure that we have something
2785         at the beginning of the sequence.
2786
2787         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
2788         deferred inlines.
2789
2790         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
2791
2792 2000-03-10  Richard Henderson  <rth@cygnus.com>
2793
2794         * except.c (can_throw): Use INTVAL on a CONST_INT.
2795         (reachable_handlers): Likewise.
2796         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
2797
2798 2000-03-10  Andreas Jaeger  <aj@suse.de>
2799
2800         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
2801         MD_STARTFILE_PREFIX since those are not needed on linux.
2802         (ASM_FILE_START): New, from mips/gnu.h.
2803
2804 2000-03-09  Richard Henderson  <rth@cygnus.com>
2805             Alex Samuel  <samuel@codesourcery.com> and others
2806         
2807         * Makefile.in (ssa.o): New rule.
2808         (OBJS): Add ssa.o.
2809         (STAGESTUFF): Add *.ssa and *.ussa.
2810         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
2811         * rtl.def (PHI): New RTL expression.
2812         * rtl.h (clear_log_links): New declaration.
2813         (convert_to_ssa): Likewise.
2814         (convert_from_ssa): Likewise.
2815         * flow.c (split_edge): If the entry node falls through to the
2816         split edge's source block, split the entry edge.
2817         (clear_log_links): New function.
2818         * toplev.c (ssa_dump): New variable.
2819         (flag_ssa): Likewise.
2820         (f_options): Add "ssa".
2821         (compile_file): Create SSA dump files.
2822         (rest_of_compilation): Go to and from SSA if enabled.
2823         (decide_d_option): Handle -de for SSA dump files.
2824         * ssa.c: New file.
2825         
2826 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
2827
2828         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
2829         same as VAR_DECL.
2830
2831 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
2832
2833         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
2834
2835 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
2836
2837         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
2838         (MD_STARTFILE_PREFIX_1): New macro.
2839
2840 2000-03-09  Robert Lipe  <robertl@sco.com>
2841
2842         * config/ia64/ia64.c: Include system.h.
2843
2844 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
2845
2846         * except.c (nothrow_function_p): If -fno-exceptions, just return.
2847         (init_eh_nesting_info): Likewise.
2848
2849         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
2850         (TREE_NOTHROW): Rename from TREE_RAISES.
2851         * toplev.c (rest_of_compilation): Set it.
2852         * print-tree.c (print_node): Adjust.
2853         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
2854         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
2855         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
2856         REG_EH_REGION note as appropriate.
2857         (libfunc_nothrow): New fn.
2858         (emit_library_call, emit_library_call_value): Use it.
2859         (expand_call): Check TREE_NOTHROW.
2860
2861         * varasm.c (make_decl_rtl): Skip initial '*' when setting
2862         DECL_ASSEMBLER_NAME.
2863
2864 2000-03-09  Andreas Jaeger  <aj@suse.de>
2865
2866         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
2867         (TARGET_MEM_FUNCTIONS): Define.
2868
2869 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
2870
2871         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
2872
2873         * except.c (can_throw): See through a SEQUENCE.
2874         (nothrow_function_p): New fn.
2875         * except.h: Declare it.
2876         * function.c (current_function_nothrow): New var.
2877         (prepare_function_start): Initialize it.
2878         * output.h: Declare it.
2879         * toplev.c (rest_of_compilation): Set it.
2880         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
2881
2882 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
2883
2884         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
2885         match.  (cpp_compare_defs): Count the nul separator when
2886         advancing over argument names.
2887
2888 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
2889
2890         * recog.c (preprocess_constraints): Matching constraints affect
2891         same alternative/different operand, not same operand/different
2892         alternative.
2893         
2894         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
2895         register and a constant specially.
2896
2897 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2898
2899         * libgcc2.h: New file.
2900         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
2901
2902 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
2903
2904         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
2905         * configure: Regenerate.
2906         * config/ia64: New.
2907
2908 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
2909
2910         * Makefile.in (LIBCPP_DEPS): New macro.
2911         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
2912         it to declare deps.
2913         * cpperror.c: Include cpphash.h.
2914         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
2915         dingleberry.
2916         (lex): Don't use CPP_WARN_UNDEF.
2917         (_cpp_parse_expr): Return an int, the truth value.
2918         * cppfiles.c: Include cpphash.h.
2919         (_cpp_merge_include_chains): Move to cppinit.c and make static.
2920         * cppinit.c (include_defaults_array): Disentangle.
2921         (cpp_cleanup): Don't free the if stack here.
2922         (cpp_finish): Pop off all buffers, not just one.
2923         * cpplib.c (eval_if_expr): Return int.
2924         (do_xifdef): Rename do_ifdef.
2925         (handle_directive): Don't use CPP_PREPROCESSED. 
2926         (cpp_get_token): Don't use CPP_C89.
2927         * fix-header.c: Don't use CPP_OPTIONS.
2928
2929         * cpplib.h: Move U_CHAR, enum node_type, struct
2930         file_name_list, struct ihash, is_idchar, is_idstart,
2931         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
2932         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
2933         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
2934         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
2935         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
2936         of _cpp_simplify_pathname, _cpp_find_include_file,
2937         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
2938         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
2939         cppinit.c.
2940         Change all uses of U_CHAR to be unsigned char instead.
2941         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
2942
2943 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
2944
2945         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
2946         (dwarf2out_begin_prologue): Set it.
2947         (output_call_frame_info): Don't emit EH unwind info for leaves.
2948
2949         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
2950         can occur outside of an EH region.
2951         * except.c: Correct comments about rethrow behavior.
2952         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
2953
2954 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
2955
2956         * flow.c (make_edges): Always call make_eh_edge for calls.
2957
2958 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
2959
2960         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
2961         (struct cpp_buffer): Remove fname and underflow fields.
2962         (struct cpp_reader): Remove get_token field.
2963         (struct include_hash): Rename to struct ihash.  Add typedef to
2964         IHASH.
2965         (struct if_stack): Remove fname field.
2966         (IF_STACK_FRAME): Rename to IF_STACK.
2967
2968         * cpperror.c (print_containing_files): Trust that there are no
2969         macro buffers below the top file buffer.
2970         * cppfiles.c: Replace all references to 'struct include_hash'
2971         with 'IHASH'.  Rename initialize_input_buffer to
2972         init_input_buffer.  Don't set or reference cpp_buffer->fname,
2973         use buffer->ihash->name instead.
2974         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
2975         not CPP_NULL_BUFFER.
2976         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
2977         IF_STACK_FRAME, IHASH not struct include_hash.
2978         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
2979         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
2980         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
2981         references to cpp_buffer->fname (delete entirely, or use
2982         ->ihash->name instead) and IF_STACK->fname.
2983         (cpp_push_buffer): Don't set new->underflow.
2984         (do_include): Use cpp_file_buffer.
2985
2986         * cpphash.c (collect_formal_parameters): Remove duplicate
2987         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
2988         used as a macro argument name.  Don't append "..." to namebuf
2989         for varargs macros.  After we're done scanning, go through
2990         namebuf and make it NUL separated, not comma separated.
2991         (_cpp_compare_defs): Remove register tag from variables.
2992         Expect defn->argnames to be NUL separated.
2993         (_cpp_dump_definition): Expect defn->argnames to be NUL
2994         separated and in forward order.
2995         * cpphash.h: Update documentation of argnames field.
2996
2997 2000-03-08  Richard Henderson  <rth@cygnus.com>
2998
2999         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
3000         to fail.  Don't pre-expand the source operand.
3001
3002         * i386.md (strlensi): Initialize eoschar and align before use.
3003
3004 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
3005
3006         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
3007         CONSTRUCTOR element.
3008
3009 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
3010
3011         * mips.c (mips_expand_prologue): If the last 
3012         named argument is the vararg marker "va_list", treat it as
3013         an unnamed argument.
3014
3015 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
3016
3017         * dbxout.c (dbxout_parms): When correcting for promoted 
3018         big-endian parameters, use the mode of the DECL_RTL rather 
3019         than UNITS_PER_WORD.
3020
3021 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
3022
3023         * c-common.h (make_fname_decl): Declare.
3024         * c-common.c (make_fname_decl): Define.
3025         (declare_hidden_char_array): Remove.
3026         (declare_function_name): Use make_fname_decl.
3027         * c-decl.c (c_make_fname_decl): New function.
3028         (init_decl_processing): Set make_fname_decl.
3029
3030 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
3031
3032         * cccp.c (handle_directive): Initialize backslash_newlines_p.
3033
3034 2000-03-07  Philipp Thomas  <pthomas@suse.de>
3035
3036         * po/POTFILES.in: Remove cppalloc.c from file list.
3037
3038 2000-03-07  Steve Chamberlain  <sac@pobox.com>
3039
3040         * pj.c (pj_expand_prologue): current_function->args_info is
3041         now current_function_args_info.  
3042
3043         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
3044         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
3045         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
3046
3047 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3048
3049         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
3050         output as hexadecimal rather than the default octal.
3051
3052 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3053
3054         * cpphash.c (special_symbol): Fix thinko in previous commit.
3055
3056 2000-03-07  Neil Booth  <NeilB@earthling.net>
3057
3058         * cppexp.c (struct operation, left_shift, right_shift,
3059         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
3060         "int"s to "unsigned int"s.
3061         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
3062         Similarly.
3063         * cpplib.h: Update for above.
3064         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
3065         returned from allocations.
3066
3067         * cppinit.c (opt_comp, parse_options): New functions.
3068         (handle_option): Use parse_option to parse a single command
3069         line option, that possibly takes an argument.
3070         (cpp_handle_options): Sort the array of command line options on
3071         first invocation (non-ASCII hosts only).
3072         (print_help): Update.
3073
3074 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3075
3076         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
3077         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
3078         
3079         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
3080         initialized.
3081         * cppinit.c (cpp_cleanup): Free imp->nshort also.
3082
3083         * cpperror.c (cpp_print_containing_files,
3084         cpp_print_file_and_line, v_cpp_message): Rename to
3085         print_containing_files, print_file_and_line, and v_message.
3086         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
3087         to _cpp_parse_expr, parse_escape, and lex.
3088         (parse_charconst): Remove broken multibyte support.
3089         * cppfiles.c (include_hash): Make static.
3090         (cpp_included): New function.
3091         (merge_include_chains, find_include_file, finclude,
3092         simplify_pathname): Rename to _cpp_merge_include_chains,
3093         _cpp_find_include_file, _cpp_read_include_file, and
3094         _cpp_simplify_pathname.
3095         * cpphash.c (cpp_lookup, free_definition, delete_macro,
3096         cpp_install, create_definition, macroexpand, compare_defs,
3097         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
3098         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
3099         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
3100         * cppinit.c (cpp_handle_option): Rename to handle_option, make
3101         static.
3102         * cpplib.c: Remove extern prototype of cpp_parse_expr.
3103
3104         * cpphash.h: Update prototypes.
3105         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
3106
3107 2000-03-07  Andrew Haley  <aph@cygnus.com>
3108
3109         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
3110         PTRDIFF_TYPE should be based solely on Pmode.
3111         (SIZE_TYPE): ditto.
3112
3113 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3114
3115         * rtl.h (rtunion_def): Constify member `rtstr'.
3116         (emit_line_note_after, emit_line_note, emit_line_note_force,
3117         emit_note, decode_asm_operands): Constify.
3118         
3119         * cse.c (canon_hash): Likewise.
3120
3121         * dbxout.c (dbxout_block): Likewise.
3122
3123         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
3124         v_warning_for_asm): Likewise.
3125
3126         * dwarfout.c (function_start_label): Likewise.
3127
3128         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
3129         emit_line_note_force): Likewise.
3130
3131         * final.c (last_filename, asm_insn_count, final_scan_insn,
3132         output_source_line): Likewise.
3133
3134         * function.h (struct emit_status): Likewise.
3135
3136         * gcse.c (hash_expr_1): Likewise.
3137
3138         * genattr.c (gen_attr, main): Likewise.
3139
3140         * genattrtab.c (struct function_unit, current_alternative_string,
3141         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
3142         attr_numeral, check_attr_test, check_attr_value,
3143         convert_set_attr_alternative, convert_set_attr,
3144         compute_alternative_mask, simplify_by_exploding, gen_attr,
3145         gen_unit): Likewise.
3146
3147         * genflags.c (gen_insn): Likewise.
3148
3149         * gengenrtl.c (type_from_format): Likewise.
3150
3151         * genopinit.c (gen_insn): Likewise.
3152
3153         * genoutput.c (n_occurrences, process_template, process_template):
3154         Likewise.
3155
3156         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3157         Likewise.
3158
3159         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3160         Likewise.
3161
3162         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
3163         ggc_set_mark, ggc_get_size): Likewise.
3164
3165         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
3166
3167         * optabs.c (init_one_libfunc): Likewise.
3168
3169         * output.h (assemble_start_function): Likewise.
3170
3171         * recog.c (decode_asm_operands): Likewise.
3172
3173         * toplev.c (rest_of_compilation): Likewise.
3174
3175         * tree.h (emit_line_note_after, emit_line_note,
3176         emit_line_note_force): Likewise.
3177
3178         * varasm.c (asm_output_bss, asm_output_aligned_bss,
3179         asm_emit_uninitialised, assemble_start_function,
3180         assemble_variable, const_hash, compare_constant_1,
3181         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
3182
3183         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
3184
3185         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
3186
3187         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
3188
3189         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
3190
3191         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
3192         arm_dllimport_name_p): Likewise.
3193
3194         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
3195         Likewise.
3196
3197         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
3198
3199         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3200
3201         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
3202         arm_mark_dllexport, arm_mark_dllimport,
3203         arm_pe_encode_section_info): Likewise.
3204
3205         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
3206         ASM_FINISH_DECLARE_OBJECT): Likewise.
3207
3208         * arm/thumb.c (thumb_function_prologue): Likewise.
3209
3210         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
3211
3212         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3213
3214         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
3215
3216         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
3217
3218         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
3219
3220         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3221
3222         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
3223         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
3224
3225         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
3226
3227         * i386/i386.c (asm_output_function_prefix): Likewise.
3228
3229         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
3230
3231         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3232
3233         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
3234
3235         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
3236         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
3237         ASM_OUTPUT_SECTION_NAME): Likewise.
3238
3239         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
3240
3241         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
3242
3243         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
3244
3245         * m32r/m32r.c (m32r_encode_section_info): Likewise.
3246
3247         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3248
3249         * mcore/mcore.c (mcore_encode_section_info): Likewise.
3250
3251         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3252
3253         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3254
3255         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3256
3257         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
3258
3259         * mips/mips.md (movdi, movsi): Likewise.
3260
3261         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3262
3263         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3264
3265         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3266
3267         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
3268         ASM_OUTPUT_ASCII): Likewise.
3269
3270         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
3271         output_mi_thunk, output_toc): Likewise.
3272
3273         * rs6000/rs6000.md (movsi): Likewise.
3274
3275         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
3276
3277         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
3278
3279         * v850/v850.c (print_operand, print_operand_address,
3280         v850_encode_data_area): Likewise.
3281
3282 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
3283         
3284         * config/mips/mips.md (zero_extendsidi2): Always force operand
3285         one to memory for mips16.
3286
3287 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3288
3289         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
3290         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
3291         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
3292         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
3293         (min_precision): Result is unsigned.
3294         (add_double, neg_double, mul_double): Low word is unsigned.
3295         (lshift_double, rshift_double, lrotate_double): Likewise.
3296         (rrotate_double, div_and_round_double): Likewise.
3297         (tree_floor_log2, compare_tree_int): New functions.
3298         (preserve_rtl_expr_temps): New declaration.
3299         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
3300         (decl_attributes): Use tree_log2 to find alignment.
3301         Check for TREE_INT_CST_HIGH for format args.
3302         (min_precision): Now unsigned.
3303         Use tree_floor_log2.
3304         (truthvalue_conversion): Delete long-disabled code.
3305         * c-decl.c (finish_struct): Clean up tests on field width.
3306         (finish_function): Use compare_tree_int.
3307         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
3308         * c-typeck.c (comptypes): Use tree_int_cst_equal.
3309         (default_conversion, digest_init): Use compare_tree_int.
3310         (build_binary_op): Use integer_all_onesp and compare_tree_int.
3311         Fix type errors in forming masks.
3312         * calls.c (initialize_argument_information): Use compare_tree_int.
3313         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3314         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
3315         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
3316         (store_field): Use compare_tree_int.
3317         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
3318         (expand_expr, case ARRAY_REF): Use compare_tree_int.
3319         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
3320         (do_store_flag): Use compare_tree_int.
3321         * fold-const.c (encode, decode): Low part is always unsigned.
3322         (force_fit_type, add_double, neg_double, mul_double): Likewise.
3323         (lshift_double, rshift_double, lrotate_double): Likewise.
3324         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
3325         (fold_convert): Use compare_tree_int.
3326         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
3327         (invert_truthvalue, case INTEGER_CST): Likewise.
3328         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
3329         * mkdeps.c (deps_dummy_targets): Make I unsigned.
3330         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
3331         (lshift_double, rshift_double, lrotate_double, rrotate_double):
3332         Likewise.
3333         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
3334         (expand_end_case): Use compare_tree_int.
3335         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3336         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
3337         (layout_decl): Likewise.
3338         (layout_record, layout_union): Make sizes unsigned.
3339         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
3340         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
3341         * tree.c (struct type_hash): hashcode is unsigned.
3342         (build_type_attribute_variant, type_hash_list): Likewise.
3343         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
3344         (attribute_hash_list, build_array_type, build_method_type): Likewise.
3345         (build_complex_type): Likewise.
3346         (real_value_from_int_cst): Remove unneeded casts.
3347         (integer_all_onesp): Add casts.
3348         (tree_floor_log2, compare_tree_int): New functions.
3349         (build_index_type): Use tree_int_cst_sgn.
3350         * varasm.c (assemble_variable): Use compare_tree_int.
3351
3352 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
3353
3354         * cpphash.c (collect_expansion): Also catch ## at start of macro.
3355
3356         * varasm.c (make_decl_rtl): Don't add a number to members of
3357         local classes.
3358         (make_function_rtl): Likewise.
3359
3360 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3361
3362         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
3363         patch from 2000-01-28.
3364
3365 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
3366
3367         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
3368         filled with an insn from the jump target.
3369
3370 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3371
3372         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
3373         (c4x_external_ref): Likewise.
3374         * config/c4x/c4x.c (struct name_list): Likewise.
3375
3376 1999-12-16  Ben Collins  <bcollins@debian.org>
3377
3378         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
3379         argument to genmultilib.
3380         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
3381         the contents into the multilib.h header.
3382         * gcc.c: Declare multilib_exclusions for the specs file.
3383         (set_multilib_dir): Use it.
3384         (print_multilib_info): Likewise.
3385         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
3386         to pass to genmultilib.
3387
3388 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3389
3390         * builtins.c (built_in_class_names, built_in_names): Constify a
3391         char*.
3392
3393         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
3394         int.
3395         (_mcleanup): Ensure value matches format specifier in sprintf.
3396
3397         * cpphash.c (special_symbol): Don't needlessly cast away
3398         const-ness.
3399
3400         * cppinit.c (base_name): Delete unused prototype.
3401
3402         * mkdeps.c (deps_init): Make definition K&R safe.
3403
3404         * tree.h (built_in_class_names, built_in_names): Constify a
3405         char*.
3406
3407 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
3408
3409         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
3410         floating point instructions for epilogue delay.
3411
3412         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
3413         to gas if it supports .register pseudo.
3414
3415         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
3416         LONG_DOUBLE_TYPE_SIZE if not defined.
3417         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
3418         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
3419         * real.c: Likewise.
3420         * gengenrtl.c: Likewise.
3421         * print-rtl.c: Likewise.
3422         * rtl.c: Likewise.
3423         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
3424         MASK_LONG_DOUBLE_128.
3425         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
3426         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
3427         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
3428         (SUBTARGET_SWITCHES): Define.
3429         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
3430         with -mlong-double-128.
3431         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
3432         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
3433         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
3434         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
3435         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
3436         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
3437         with -mlong-double-128.
3438         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
3439         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
3440         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
3441         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
3442         TARGET_LONG_DOUBLE_128): Define.
3443         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
3444         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
3445         long double on TARGET_ARCH64.
3446
3447 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
3448
3449         * function.c (free_temps_for_rtl_expr): Don't free slots
3450         that have been pushed into a higher level.
3451         
3452         Revert this patch:
3453         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3454
3455 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3456
3457         * basic-block.h (ALLOCA_REG_SET): Remove.
3458         (INITIALIZE_REG_SET): New macro.
3459         * flow.c (update_life_info): Use it.
3460         (calculate_global_regs_live): Likewise.
3461         (propagate_block): Likewise.
3462         * global.c (build_insn_chain): Likewise.
3463         * haifa-sched.c (schedule_region): Likewise.
3464
3465 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
3466
3467         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
3468         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
3469         (DWARF_ARANGES_PAD_SIZE): New define.
3470         (output_aranges): Use it to pad the address range header.
3471         (DWARF_ROUND): Fix for non power of 2 rounding.
3472
3473 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
3474
3475         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
3476
3477 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3478
3479         * tree.def (RTL_EXPR): Update documentation.
3480         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
3481         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
3482         * function.c (preserve_rtl_expr_temp): New function.
3483         (preserve_rtl_expr_temps): Likewise.
3484         (preserve_rtl_expr_result): Use it.
3485
3486         Revert this patch:
3487         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
3488
3489 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
3490
3491         * regmove.c (copy_src_to_dest)  Do not create src->dest move
3492         for unchanging destination.
3493
3494 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
3495
3496         * function.h (struct sequence_stack): Remove rtl_expr.
3497         (struct emit_staus): Likewise.
3498         (seq_rtl_expr): Remove.
3499         * tree.h (free_temps_for_rtl_expr): Don't declare.
3500         (start_sequence_for_rtl_expr): Likewise.
3501         * rtl.h (preserve_rtl_expr_result): Likewise.
3502         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
3503         (start_sequence_for_rtl_expr): Remove.
3504         (push_topmost_sequence): Don't save sequence_rtl_expr.
3505         (pop_topmost_sequence): Remove comment about not restoring it.
3506         (end_sequence): Don't set seq_rtl_expr.
3507         (init_emit): Don't initialize it.
3508         (mark_sequence_stack): Don't mark it.
3509         (mark_emit_status): Likewise.
3510         * except.c (protect_with_terminate): Use
3511         start_sequence_for_rtl_expr, not start_sequence.
3512         * expr.c (expand_expr, case RTL_EXPR): Don't call
3513         preserve_rtl_expr_result or free_temps_for_rtl_expr.
3514         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
3515         (preserve_rtl_expr_result): Remove.
3516         (free_temps_for_rtl_expr): Likewise.
3517         (pop_temp_slots): Likewise.
3518         (mark_temp_slot): Don't mark the rtl_expr.
3519         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
3520         start_sequence_for_rtl_expr.
3521         
3522 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
3523
3524         * mkdeps.c, mkdeps.h: New files.
3525         * po/POTFILES.in: Add them.
3526         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
3527         (cpplib.o, cppinit.o): Depend on mkdeps.h.
3528         (mkdeps.o): New target.
3529
3530         * cppfiles.c: Delete deps_output.
3531         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
3532         OBJECT_SUFFIX, and base_name.
3533         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
3534         the include hash.
3535         (initialize_dependency_output): Use deps_init,
3536         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
3537         all the unnecessary string bashing.
3538         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
3539         level.
3540         * cpplib.c (do_include): Use deps_add_dep.
3541         * cpplib.h (struct cpp_reader): Replace deps_buffer,
3542         deps_allocated_size, deps_size, deps_column members with
3543         single pointer to a struct deps.  Delete prototype of
3544         deps_output.
3545
3546         * cppinit.c: Fix thinko in previous patch.
3547
3548 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3549
3550         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
3551         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
3552         (mode_for_size_tree): New function.
3553         (layout_decl, layout_type): Call it and clean up BLKmode checks.
3554         * tree.h (mode_for_size_tree): New declaration.
3555         
3556         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
3557
3558 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
3559
3560         * stmt.c (is_body_block): Move...
3561         * dwarfout.c, dwarf2out.c: ...from here.
3562         * tree.h: Declare it.
3563         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
3564         * final.c (final_start_function): Do call remove_unnecessary_notes
3565         when scheduling.
3566
3567 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
3568
3569         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
3570         
3571         * cpplib.h (_dollar_ok): New macro.
3572         (is_idchar, is_idstart): Use it.
3573         (IStable): Rename to _cpp_IStable.  Declare it const if
3574         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
3575         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
3576         is_space): Update for renamed IStable.
3577
3578         * cppinit.c: Delete all references to FAKE_CONST and CAT
3579         macros. Define init_IStable as empty macro if gcc >=2.7 or
3580         C99. Change TABLE() to ISTABLE and hardcode name of table.
3581         (cpp_start_read): Don't change the IStable based on
3582         dollars_in_ident.
3583
3584         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
3585         changed.  Handle '$' for char1 correctly.
3586         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
3587
3588         * cppexp.c (tokentab2): Make const.
3589         (cpp_lex): Make toktab const.
3590         * cppinit.c (include_defaults_array): Make const.
3591         (initialize_standard_includes): Make default_include const.
3592
3593 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
3594
3595         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
3596         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
3597         (gen_decl_die): Likewise.
3598         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
3599         (output_decl): Likewise.
3600
3601         * varasm.c (make_function_rtl): If we change the name used in the
3602         rtl, update DECL_ASSEMBLER_NAME accordingly.
3603         (make_decl_rtl): Likewise.
3604
3605         * toplev.c (rest_of_compilation): Tweak formatting.
3606
3607         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
3608         remove_unnecessary_notes.
3609         (debug_ignore_block): New fn.
3610         * toplev.h: Declare it.
3611         * emit-rtl.c (remove_unncessary_notes): Call it.
3612         * dwarf2out.c (dwarf2out_ignore_block): New fn.
3613         * dwarf2out.h: Declare it.
3614         * final.c (final_start_function): Don't call remove_unnecessary_notes
3615         if we did insn scheduling.
3616
3617 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
3618
3619         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
3620         * cpplib.h: Delete SET_CPP_PEDANTIC.
3621
3622 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3623
3624         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
3625         result is a RECORD_TYPE.
3626
3627 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
3628
3629         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
3630
3631 2000-03-03  Richard Henderson  <rth@cygnus.com>
3632
3633         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
3634         addition over compliments over shifts.
3635
3636 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3637
3638         * reload1.c (reload_combine_note_use): Handle return register USEs.
3639         REG case: Handle multi-hard-register hard regs.
3640
3641 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3642
3643         * md.texi: Document use of '*' in insn pattern name.
3644
3645 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
3646
3647         * calls.c (special_function_p): operator new may not be malloc-like.
3648
3649         * gcse.c (dump_hash_table): Really fix error in last change.
3650
3651 2000-03-02  Denis Chertykov  <denisc@overta.ru>
3652
3653         * avr.c (print_operand): Use print_operand_address instead of
3654         output_addr_const.
3655         * avr/libgcc.S: Cleanup code.
3656
3657 2000-03-02  Richard Henderson  <rth@cygnus.com>
3658
3659         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
3660
3661 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
3662
3663         * tree.h (TYPE_ALIGN_UNIT): New macro.
3664
3665 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
3666
3667         * i386.c: (constant_call_address_operand): Reject CONST_INT.
3668
3669 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
3670
3671         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
3672         for the buffer.
3673         (SET_CPP_PEDANTIC): New macro.
3674         * cpplib.c (do_include): Don't bother checking system_header_p.
3675         (do_warning, do_ident, do_assert, do_unassert): Likewise.
3676         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
3677
3678         * function.h (struct expr_status): Add x_arg_space_so_far.
3679         (arg_space_so_far): New macro.
3680         * expr.c (init_expr): Initialize it.
3681         * calls.c (emit_call_1): Reset it.
3682         (compute_argument_block_size, expand_call): Use it.
3683         (expand_call, store_one_arg): Increment it.
3684
3685 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3686
3687         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
3688         a UNION_TYPE.
3689
3690 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
3691
3692         * cppfiles.c (cpp_read_file): New function.
3693
3694         * cpphash.c (collect_expansion): Make sure to reset last_token
3695         to NORM when we hit a string.  Handle trailing whitespace
3696         properly when the expansion is empty.
3697         (create_definition): Disable line commands while parsing the
3698         directive line.
3699         (dump_definition): If pfile->lineno == 0, output a line
3700         command ahead of the dump, and add a trailing newline.
3701
3702         * cppinit.c (append_include_chain): Add fifth argument, which
3703         indicates whether or not system headers are C++ aware.
3704         (initialize_standard_includes): New function,
3705         broken out of read_and_prescan.  Pass 'cxx_aware' value from
3706         the include_defaults_array on to append_include_chain.
3707         (dump_special_to_buffer): Const-ify char array.
3708         (builtin_array): Don't dump __BASE_FILE__.
3709         (cpp_start_read): Use cpp_read_file.  Reorder code for
3710         clarity.  Don't output line commands here for -D/-A/-U
3711         switches.  Don't call deps_output for files included with
3712         -include or -imacros.
3713
3714         * cpplib.c (do_define): Don't pay any attention to the second
3715         argument.
3716         (cpp_expand_to_buffer): Disable line commands while scanning.
3717         (output_line_command): Work in the file buffer.
3718         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
3719         Fix formatting of comments.  Prototype cpp_read_file.
3720
3721 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3722
3723         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
3724         reference the language-equivalent of sizetype.
3725         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
3726         * fold-const.c (size_binop, size_diffop): Put back checks.
3727         * gcse.c (dump_hash_table): Fix minor error in last change.
3728         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
3729         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
3730         all sizetypes.
3731
3732 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
3733
3734         * calls.c (expand_call)  Do not attempt to combine stack adjustments
3735         with inhibit_defer_pop set.
3736
3737 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
3738
3739         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
3740         the DECL_SIZE for a FIELD_DECL.
3741
3742 2000-03-01  Bruce Korb  <bkorb@gnu.org>
3743
3744         * fixinc/inclhack.tpl: remove unused symlinks
3745         * fixinc/README: GCC Maintainer info
3746         * fixinc/inclhack.sh: regen
3747         * fixinc/fixincl.sh: regen
3748
3749 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
3750
3751         * cpphash.c (collect_expansion): Trim trailing white space
3752         from macro definitions, but don't go past the last insertion
3753         point.
3754
3755 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
3756
3757         * i386.md (mulqi3): New pattern.
3758
3759 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
3760
3761         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
3762         token types.
3763         (struct cpp_reader): Add parsing_if_directive and
3764         parsing_define_directive flags.               
3765         (struct cpp_options): Remove output_conditionals flag.
3766         (check_macro_name): Delete prototype.
3767
3768         * cpphash.h (struct macrodef): Delete.
3769         (struct reflist): Separate from struct definition.
3770         (struct definition): Remove unused fields.  Add column number.
3771         (create_definition): Returns a DEFINITION *.  Takes a
3772         cpp_reader * and an int.
3773
3774         * cpphash.c (SKIP_WHITE_SPACE): Delete.
3775         (PEEKC): Copy defn from cpplib.c.
3776         (rest_extension, REST_EXTENSION_LENGTH): Delete.
3777         (struct arg): New.
3778         (struct arglist): Simplify.
3779         (collect_expansion): Rewrite.  Get tokens by calling
3780         cpp_get_token.  Add more error checking.
3781         (collect_formal_parameters): New function, broken out of
3782         create_definition and reworked to use get_directive_token.
3783         (create_definition): All real work is now in collect_expansion
3784         and collect_formal_parameters.  do_define handles finding the
3785         macro name.  Return a DEFINITION, not a MACRODEF.
3786         (macroexpand): Replace bcopy with memcpy throughout.  Replace
3787         character-at-a-time copy loop with memcpy and pointer increments.
3788         (compare-defs): d1->argnames / d2->argnames might be null.
3789
3790         * cpplib.c (copy_rest_of_line): Delete function.
3791         (skip_rest_of_line): Do all the work ourselves.
3792         (skip_string): New function.
3793         (parse_string): Use skip_string.
3794         (get_macro_name): New function.
3795         (check_macro_name): Delete.
3796         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
3797         (cpp_skip_hspace): Use CPP_BUMP_LINE.
3798         (handle_directive): ICE if we're called on a macro buffer.
3799         (do_define): Determine macro name and type (funlike/objlike)
3800         here.  Expunge all uses of MACRODEF.
3801         (cpp_push_buffer): Set line_base to NULL.
3802         (do_undef, read_line_number): Don't worry about getting a POP token.
3803         (eval_if_expression): Set/reset parsing_if_directive around
3804         cpp_parse_expr. Don't clear only_seen_white.
3805         (skip_if_group): Remove output_conditionals logic.  Use
3806         skip_rest_of_line.
3807         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
3808         tokens under appropriate conditions.
3809         (cpp_unassert): Call do_unassert not do_assert.  Oops.
3810
3811         * cppexp.c (parse_defined): New function, break out of
3812         cpp_lex.
3813         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
3814         ourselves, with cpp_defined.
3815         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
3816
3817         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
3818         * gcc.dg/strpaste-2.c: New.
3819
3820 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
3821
3822         * fold-const.c (size_binop): Don't asert inputs are the same and
3823         have TYPE_IS_SIZETYPE set.
3824         (size_diffop): Likewise.
3825
3826 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
3827
3828         * dwarfout.c (output_block): Output abstract blocks even if they
3829         don't have TREE_ASM_WRITTEN set.
3830
3831         * calls.c (emit_library_call): Check for null REG.
3832
3833 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
3834
3835         * c-decl.c (current_function_decl): Move to toplev.c.
3836         (init_decl_processing): Don't add current_function_decl as a ggc
3837         root here.
3838         * dbxout.c (dbxout_symbol): Change return type to int.
3839         (dbxout_symbol_location, dbxout_syms): Likewise.
3840         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
3841         any locals. Use current_function_func_begin_label if set.
3842         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
3843         * dwarf2out.c (dwarf2out_begin_prologue): Set
3844         current_function_func_begin_label.
3845         * final.c (final_start_function): Reset it.
3846         * toplev.c (current_function_decl): Define it here.
3847         (current_function_func_begin_label): New variable.
3848         (main): Add both as ggc roots.
3849         * tree.h (current_function_func_begin_label): Declare.
3850
3851 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3852
3853         * gcse.c: Cleanups throughout: mostly white-space, but also
3854         some minor rearrangement of code.
3855
3856 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
3857
3858         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
3859         returns a PARALLEL.  Use emit_group_load and use_group_regs
3860         as needed.  
3861         (emit_library_call_value): Similarly.
3862
3863         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
3864         * pa/quadlib.asm: Remove.
3865         * pa/quadlib.c: New file.
3866
3867         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
3868         * configure: Rebuilt.
3869
3870 2000-02-29  Philip Blundell  <pb@futuretv.com>
3871
3872         * config/arm/conix-elf.h: New file.
3873         * configure.in (arm*-*-conix*): New configuration.
3874         * configure: Regenerate.
3875
3876 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
3877
3878         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
3879         don't have TREE_ASM_WRITTEN set.
3880
3881 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3882
3883         * Eliminate DECL_FIELD_SIZE.
3884         * builtins.c (built_in_class_names, built_in_names): New variables.
3885         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
3886         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
3887         DECL_SIZE, not DECL_FIELD_SIZE.
3888         * print-tree.c (print_node): Remove code that prints extra blank
3889         lines in some cases.
3890         Properly handle inline and builtin function cases.
3891         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
3892         * tree.h (built_in_class_named, built_in_names): New declarations.
3893         (union tree_decl): Rename internal unions to u1 and u2 and change
3894         some of their components.
3895         Add new field built_in_class.
3896         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
3897         Reflect above changes.
3898         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
3899         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
3900         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
3901         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
3902
3903 2000-02-28  Dmitri Makarov  <dim@windriver.com>
3904
3905         * extend.texi: Document ARM's support for long/short calls.
3906
3907         * invoke.texi: Document ARM's -mlong-calls command line switch.
3908         
3909         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
3910         (arm_encode_call_attribute): Add prototype.
3911         (arm_set_default_type_attribute): Add prototype.
3912         (arm_strip_name_encoding): Add prototype.
3913
3914         * config/arm/arm.c (arm_init_cumulative_args): replace
3915         initialisation og 'long_calls' field with initialisation of
3916         'call_cookie' field.
3917         (enum arm_pragma_enum): New enum.
3918         (arm_pragma_long_calls): New static variable.
3919         (arm_process_pragma): Also process "#pragma long_calls_off".
3920         (arm_valid_type_attribute_p): Accept short_call attribute.
3921         (arm_comp_type_attributes): Check long/short call attributes.
3922         (arm_encode_call_attribute):  New function:  Encode long_call
3923         or short_call attribute in function name.
3924         (arm_set_default_type_attributes): New function: Assign
3925         default attributes to newly defined type.
3926         (current_file_function_operand): New function: Return true if
3927         the symbol is a function which has already been compiled.
3928         (arm_is_longcall_p): New function: Return true if the
3929         indicated function should be called via a long call.
3930         (arm_get_strip_length): New function.  Returns number of
3931         prefix characters to be stripped from a function's name.
3932         (arm_strip_name_encoding): New function.  Strip prefix characters
3933         from a function's name.
3934
3935         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
3936         with 'call_cookie'.
3937         (SHORT_CALL_FAG_CHAR): Define.
3938         (LONG_CALL_FAG_CHAR): Define.
3939         (ENCODED_SHORT_CALL_ATTR_P): Define.
3940         (ENCODED_LONG_CALL_ATTR_P): Define.
3941         (ARM_NAME_ENCODING_LENGTHS): Define.
3942         (STRIP_NAME_ENCODING): Define.
3943         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
3944         (ARM_ENCODE_CALL_TYPE): Define.
3945         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
3946         (ARM_DECLARE_FUNCTION_SIZE): Define.
3947         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
3948
3949         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
3950         if a long call is needed.
3951         (call_value): Ditto.
3952         (call_symbol): Ditto.
3953
3954         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
3955         ARM_DECLARE_FUNCTION_SIZE.
3956
3957         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
3958         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
3959         (ARM_STRIP_NAME_ENCODING): Undefine.
3960         (STRIP_NAME_ENCODING): Undefine.
3961         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
3962         (ASM_DECLARE_FUNCTION_NAME): Ditto.
3963         (ASM_OUTPUT_COMMON): Ditto.
3964         (ASM_DECLARE_OBJECT_NAME): Ditto.
3965
3966         * config/arm/pe.c (arm_dllexport_name_p): Check for
3967         ARM_PE_FLAG_CHAR.
3968         (arm_dllimport_name_p): Ditto.
3969         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
3970         (arm_mark_dllimport): Ditto.
3971         
3972 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3973
3974         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
3975
3976 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
3977
3978         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
3979
3980 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
3981
3982         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
3983         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
3984         NO_BUILTIN_WCHAR_TYPE is not defined.
3985         (CPP_WCHAR_TYPE): Delete.
3986         * cccp.c (main): Don't change wchar_type if cplusplus.
3987         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
3988
3989 2000-02-28  Nick Clifton  <nickc@cygnus.com>
3990
3991         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
3992
3993 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
3994
3995         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
3996         (ASM_WEAKEN_LABEL): Define.
3997  
3998 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
3999
4000         * expr.c (store_constructor): Do not emit USE.
4001         * rtl.h (stupid_life_analysis): Remove.
4002
4003 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4004
4005         * function.c (number_blocks): Reset next_block_index based on
4006         what debugging format is used, not what is defined.
4007         
4008         * lcm.c: Minor reformatting throughout.
4009         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
4010         
4011         * toplev.c (rest_of_compilation): Account for time in
4012         optimize_mode_switching.
4013
4014         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
4015         if only marking labels.
4016
4017 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
4018
4019         * calls.c (expand_call): Attempt to combine stack adjustments with
4020         pending stack adjustments.
4021
4022 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4023
4024         * loop.c (reg_in_basic_block_p): Don't abort when falling through
4025         to the end of the function.
4026
4027 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
4028
4029         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
4030         blocks.
4031         * final.c (next_block_index): Remove.
4032         (max_block_depth): Likewise.
4033         (pending_blocks): Likewise.
4034         (init_final): Don't initialize them.
4035         (final_start_function): Don't set next_block_index.  Set up
4036         BLOCK_NUMBER.
4037         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
4038         * function.h (number_blocks): New function.
4039         * function.c (get_block_vector): New function.
4040         (identify_blocks): Use it.
4041         (reorder_blocks): Set NOTE_BLOCK.
4042         (number_blocks): New function.
4043         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
4044         * tree.h (BLOCK_NUMBER): New macro.
4045         (tree_block): Add block_num field.
4046         * dbxout.c (next_block_number): Remove.
4047         (dbxout_init): Don't set it.
4048         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
4049         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
4050         block numbers.
4051         * toplev.c (rest_of_compilation): Always call
4052         find_loop_tree_blocks.  Fix indentation.
4053         * dwarf2out.c (next_block_number): Remove.
4054         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4055         to determine block numbers.
4056         (gen_inlined_subroutine_die): Likewise.
4057         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
4058         (decls_for_scope): Don't increment next_block_number.
4059         * dwarfout.c (next_block_number): Remove.
4060         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4061         to determine block numbers. 
4062         (output_inlined_subroutine_die): Likewise.
4063         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
4064         (output_decls_for_scope): Don't increment next_block_number.
4065         * sdbout.c (next_block_number): Remove.
4066         (sdbout_block): Use BLOCK_NUMBER.
4067         (sdbout_begin_block): Simplify.
4068         * xcoffout.c (next_block_number): Remove.
4069         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
4070         (xcoffout_begin_block): Don't set next_block_number.
4071         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
4072         next_block_number.
4073         
4074 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4075
4076         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
4077         (expand_builtin_strcpy): Pass correct type to size_binop.
4078         (expand_builtin_strcmp): Likewise.
4079         Clean up conditional structure.
4080         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
4081         (complete_array_type): Don't use size_binop for MAXINDEX.
4082         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
4083         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
4084         (c_alignof): Use size_one_node.
4085         (build_unary_op): Pass arg of proper type to size_binop.
4086         (really_start_incremental_init, push_init_level): Use sizetype for
4087         constructor{,_bit,_unfilled}_index.
4088         (pop_init_label, output_init_element): Likewise.
4089         (output_pending_init_elements, process_init_element): Likewise.
4090         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
4091         * expr.c (store_expr): Use size_int.
4092         (store_constructor): Use proper types for size_binop args.
4093         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
4094         (expand_expr_unaligned): Likewise.
4095         (string_contant): Return object of sizetype.
4096         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
4097         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
4098         (ARGS_SIZE_TREE): Pass proper types to size_binop.
4099         * fold-const.c (int_const_binop): Refine when size_int is called.
4100         (fold_convert): Likewise.
4101         (size_int_wide): Rework to take KIND as arg, only take low order
4102         bits, handle new sizetype_tab datatype, and chain entries in
4103         size_table.
4104         (size_int_type_wide): New function.
4105         (size_binop): Validate types of arguments.
4106         (ssize_binop): Deleted.
4107         (size_diffop): New function.
4108         (extract_muldiv): Only fold division into multiplication for sizetypes.
4109         * function.c (assign_parms): Use size_diffop and make sure
4110         VAR field is of ssizetype; also pass proper type to size_binop.
4111         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
4112         (round_down): Deleted from here.
4113         * store-layout.c (sizetype_tab): Now an array.
4114         (sizetype_set, early_root_list): New variables.
4115         (variable_size): Use size_one_node.
4116         (round_up): Pass proper type to size_binop.
4117         (round_down): Moved to here and corrected as above.
4118         (layout_record): Pass proper arg types to size_binop.
4119         (layout_type): Likewise.
4120         If sizetype_set is zero, record the type just laid out.
4121         (make_unsigned_type): Don't call set_sizetype;
4122         (make_signed_type): Likewise; also, call fixup_signed_type.
4123         (initialize_sizetypes): New function.
4124         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
4125         set name of bitsizetype to "bit_size_type".
4126         Fix up type of sizes of all types made before call.
4127         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
4128         * tree.c (fix_sizetype): Deleted.
4129         (build_common_tree_nodes): Call initialize_sizetypes.
4130         (build_common_tree_nodes_2): Don't call fix_sizetype.
4131         * tree.h (TYPE_IS_SIZETYPE): New macro.
4132         (initialize_sizetype): New declaration.
4133         (enum size_type_kind): New type.
4134         (struct sizetype_tab): Deleted.
4135         (sizetype_tab): Now array; adjust sizetype macros.
4136         (size_diffop, size_int_type_wide): New functions.
4137         (size_int_wide): Change number of args and type; access macros changed.
4138         (ssize_int, sbitsize_int): New macros.
4139         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
4140         (ROUND_TYPE_SIZE_UNIT): New macro.
4141
4142 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
4143
4144         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
4145
4146 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4147
4148         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
4149         Mark as possibly unused.
4150
4151         * cse.c (cse_insn): Delete dead code involving tablejump.
4152         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
4153
4154         * Makefile.in (libcpp.a): Start by deleting it.
4155
4156 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4157
4158         * cpplib.h (enum file_change_code): Added rename_file.
4159         * cpplib.c (do_line): If a filename is given, set file_change to
4160         rename_file.
4161         (output_line_command): If file_change is rename_file, always
4162         output a # directive with the file name.
4163
4164         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
4165
4166 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
4167
4168         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
4169         when copying a PARM_DECL or RESULT_DECL.
4170
4171 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4172
4173         * fix-header.c (recognized_function): Also fix prototypes for
4174         functions taking "void".
4175
4176 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4177
4178         * reload1.c (do_output_reload): Check reg_reloaded_valid before
4179         looking at reg_reloaded_contents.
4180
4181 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
4182
4183         * Makefile.in (STMP_FIXINC): New toggle.
4184         (LIBGCC2_DEPS): Delete all references.
4185         (stmp-headers): Delete target.  All references either deleted
4186         or changed to stmp-int-headers.
4187         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
4188         (LIBCPP_OBJS): Take out cppalloc.o.
4189         (cppalloc.o): Delete target.
4190         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
4191         (gen-protos, fix-header): Link with libiberty.a.
4192         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
4193         to empty.
4194
4195         * configure.in: Remove refs to strerror.
4196         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
4197         * system.h: Take out strerror stanza.
4198
4199         * cpperror.c (my_strerror): Delete function.
4200         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
4201         * cppmain.c (main): Call xmalloc_set_program_name first thing.
4202         * cppalloc.c: Delete file.
4203         * gen-protos.c: Don't provide xrealloc.
4204
4205         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
4206         xstrerror throughout.
4207
4208 2000-02-26  Bruce Korb  <bkorb@gnu.org>
4209
4210         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
4211         match for DOS headers, too.
4212         * fixinc/inclhack.sh,fixincl.x: Regenerate.
4213
4214 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4215
4216         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
4217         is right for most ELF targets.
4218         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
4219         Let the default file use %U properly.
4220         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
4221         default.
4222
4223         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
4224         numbers.
4225
4226 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4227
4228         * toplev.c (documented_lang_options): Correct spelling error.
4229         (decode_d_option, decode_f_option, main): Likewise.
4230
4231         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
4232
4233         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
4234         to tell assembler it is permitted to expand large constants.
4235
4236 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
4237
4238         * protoize.c: (AUX_INFO_SUFFIX): New macro.
4239         (aux_info_suffix): Use.
4240         (SAVE_SUFFIX): New macro.
4241         (save_suffix): Use.
4242         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
4243         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
4244         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
4245
4246         * invoke.texi (Running Protoize): Update documentation.
4247
4248 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
4249
4250         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
4251
4252 2000-02-25  John Wehle  (john@feith.com)
4253
4254         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
4255
4256 2000-02-25  Anthony Green  <green@cygnus.com>
4257
4258         * toplev.c (rest_of_compilation): Rebuild jump labels if
4259         combine_instructions has created a new direct jump.
4260         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
4261         when appropriate.
4262         (combine_instructions): Call try_combine with new argument.
4263         Return non-null value when new direct jump instruction is created.
4264         * rtl.h: combine_instructions returns an int.
4265
4266 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
4267
4268         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
4269         jump when changing a computed jump into a jump to a known
4270         target.
4271
4272 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
4273
4274         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
4275         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
4276
4277         * i386.md (define_expand "clrstrsi"): Fix typo.
4278
4279 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
4280
4281         * rtl.texi: Fix typo.
4282
4283 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4284
4285         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
4286         UNITS_PER_WORD.  Change caller initial_elimination_offset.
4287         (rounded_frame_size): Take into account that argument pushed has
4288         changed.  Fix TARGET_ALIGN_DOUBLE problem.
4289
4290 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
4291
4292         * haifa-sched.c (schedule_block): Explain the real reason
4293         we delete REG_SAVE_NOTEs on the first insn of a block.
4294         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
4295
4296 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
4297
4298         * input.h (push_srcloc): New function.
4299         (pop_srcloc): Likewise.
4300         * toplev.c (push_srcloc): Define it.
4301         (pop_srcloc): Likewise.
4302
4303 2000-02-24  Richard Henderson  <rth@cygnus.com>
4304
4305         * flow.c (life_analysis): When collecting reg info, clear
4306         regs_ever_live.
4307
4308 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4309
4310         Fix bug exposed by reload.c no longer rounding the frame
4311         size to BIGGEST_ALIGNMENT:
4312         * sh.c (rounded_frame_size): New function.
4313         (sh_expand_prologue, sh_expand_epilogue): Use it.
4314         (initial_elimination_offset): Likewise.
4315
4316 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4317
4318         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
4319         * sh-protos.h (sh_need_epilogue): Declare.
4320         * sh.c (sh_need_epilogue_known): New static variable.
4321         (sh_need_epilogue): New function.
4322         (function_epilogue): Clear need_epilogue_known.
4323         * sh.md (return): Split into expander / insn pattern.
4324         Make the expander conditional on ! sh_need_epilogue ().
4325
4326 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
4327
4328         * machmode.h (get_mode_alignment): Declare.
4329         (GET_MODE_ALIGNMENT): Call it.
4330         * stor-layout.c (get_mode_alignment): New function. Make
4331         sure alignment is always power of 2.
4332
4333 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4334
4335         * i386.h: Remove useless definition of "I386" and misleading
4336         comment above it.
4337
4338 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4339
4340         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
4341         under which TREE_PERMANENT will be set.
4342         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
4343         build1): Use TREE_SET_PERMANENT.
4344         * print-tree.c (print_node): Don't report value of
4345         TREE_PERMANENT if ggc_p is true.
4346
4347         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
4348         decide whether to give a type a new alias set.
4349         * objc/objc-act.c (build_objc_string_object): Never copy the string.
4350         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
4351         of value of 'obstack'.
4352
4353
4354 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4355
4356         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
4357
4358 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4359
4360         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
4361         * cpplib.c (cpp_get_token): Produce them.
4362         * cppexp.c (cpp_lex): Handle them.
4363
4364 2000-02-23  Nick Clifton  <nickc@cygnus.com>
4365
4366         * config/arm/arm.c (arm_comp_type_attributes): Simply and
4367         comment tests on type attributes.
4368
4369 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4370
4371         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
4372         conform to documentation.
4373         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
4374         to check for special cases.
4375         * sh-protos.h (sh_loop_align): Declare.
4376         * sh.c (sh_loop_align): Define.
4377
4378 2000-02-22  Andrew Haley  <aph@cygnus.com>
4379
4380         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
4381         (SIZE_TYPE): Is 32 bits when using -mgp32.
4382         (PTRDIFF_TYPE): Ditto.
4383
4384 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4385
4386         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
4387
4388 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4389
4390         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
4391         BIGGEST_FIELD_ALIGNMENT a constant.
4392
4393 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
4394
4395         * dwarf2out.c (output_line_info): Put the marker for the end of
4396         the line number info at the actual end.
4397         (gen_struct_or_union_type_die): Use decl_function_context 
4398         to check for local classes.
4399         * dwarfout.c (output_type): Likewise.
4400
4401 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
4402
4403         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
4404         for arguments with a mode, but no type.
4405         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
4406         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
4407         * pa/long_double.h: New file.
4408         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
4409         both have 128bit wide long doubles.
4410         * configure: Rebuilt.
4411
4412 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4413
4414         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
4415
4416         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
4417         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
4418         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
4419
4420         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
4421
4422         * integrate.c (compare_blocks, find_block): Likewise.
4423
4424         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
4425
4426         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
4427
4428         * stmt.c (stmt_status, set_file_and_line_for_stmt,
4429         expand_asm_operands): Likewise.
4430
4431 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
4432
4433         * predict.c (estimate_probability): Added the pointer heuristic to
4434         the collection of static branch predictors.
4435
4436 2000-02-21  Catherine Moore  <clm@cygnus.com>
4437
4438         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
4439         * invoke.texi (-mfix7000): Document.
4440
4441 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
4442
4443         * diagnostic.c (init_output_buffer): Make it possible to output at
4444         least 32 characters if we're given a too long prefix.
4445
4446 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
4447
4448         * varasm.c (initializer_constant_valid_p): Call
4449         lang_expand_constant to simplify the constant.
4450
4451 2000-02-20  Bruce Korb  <bkorb@gnu.org>
4452
4453         * fixinc/inclhack.def(stdio_va_list):
4454         typedef needs to be disabled.
4455         * fixinc/inclhack.sh: regen
4456         * fixinc/fixincl.x: regen
4457
4458 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
4459
4460         * print-rtl.c (print_rtx): Don't print addresses when
4461         flag_dump_unnumbered.
4462
4463 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4464
4465         * sparc.c (sparc_output_scratch_registers): Mark parameter with
4466         ATTRIBUTE_UNUSED.
4467         (sparc_va_arg, sparc_flat_output_function_prologue,
4468         sparc_flat_output_function_epilogue): Cast value to unsigned in
4469         comparison.
4470         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
4471         
4472         * sparc.md: Add default case in switch.
4473
4474 2000-02-19  Richard Henderson  <rth@cygnus.com>
4475
4476         * c-typeck.c (add_pending_init): Don't abort for multiple
4477         fields at the same offset.
4478         (pending_init_member): Test the correct member.
4479
4480 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4481
4482         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
4483         instead of SImode.
4484         (start_catch_handler) : Same.
4485
4486 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
4487
4488         * Makefile.in: Have flow.o depend on $(EXPR_H)
4489
4490 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4491
4492         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
4493         * c-decl.c (duplicate_decls, finish_enum): Likewise.
4494         (finish_decl): Remove -Wlarger-than code from here.
4495         * flags.h (id_clash_len): Now int.
4496         (larger_than_size): Now HOST_WIDE_INT.
4497         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
4498         Clean up checking to see if in table.
4499         (make_bit_field_ref): Remove extra parm to bitsize_int.
4500         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
4501         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
4502         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
4503         and for computing size of decl.
4504         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
4505         Move -Wlarger-than code to here.
4506         (layout_record): Remove extra arg to bitsize_int.
4507         Set TYPE_BINFO_SIZE_UNIT.
4508         (layout_union): Remove extra arg to bitsize_int.
4509         Use proper type for size of QUAL_UNION.
4510         (layout_type): Remove extra arg to bitsize_int.
4511         * toplev.c (id_clash_len): Now int.
4512         (larger_than_size): Now HOST_WIDE_INT.
4513         (decode_W_option): Clean up id-clash and larger-than- cases.
4514         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
4515         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
4516         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
4517         (struct tree_decl): New field size_unit.
4518         (size_int_wide): No HIGH operand; NUMBER is now signed.
4519         (size_int_2): Deleted.
4520         (size_int, bitsize_int): Don't use it and rework args.
4521         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
4522
4523 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
4524
4525         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
4526
4527 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
4528
4529         * invoke.texi (Warning Options): Add an explanation of why
4530         you might want the -Wfloat-equal flag.
4531
4532 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4533
4534         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
4535         * cppinit.c (new_pending_define): Add cast to avoid warning.
4536         * expmed.c (extract_bit_field): Likewise.
4537         * flow.c (enum reorder_skip_type): New type.
4538         (skip_insns_between_blcok): New it.
4539         Rework to avoid warning about possibly undefined variable.
4540         * function.c (assign_parms): Make thisparm_boundary unsigned.
4541         * genrecog.c (write_switch): Cast XWINT result to int.
4542         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
4543         * mips-tfile.c (init_file): Make two versions of FDR intializer:
4544         one for MIPS and one for Alpha.
4545         (get_tag, copy_object): Add casts to avoid warnings.
4546         * optabs.c (init_one_libfunc): Cast NAME to (char *).
4547         * reload.c (find_reloads): Make TYPE enum reload_type.
4548         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
4549         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
4550         * varasm.c (compare_constant_1): Add cast to avoid warning.
4551         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
4552         to (char *).
4553         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
4554         Cast switch operand of size to int.
4555         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
4556         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
4557         in unhandled case.
4558
4559 2000-02-18  Nick Clifton  <nickc@cygnus.com>
4560
4561         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
4562         anything for an alignment of zero.
4563
4564         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
4565         anything for an alignment of zero.
4566
4567 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
4568
4569         * gcc.texi (Bug Reporting): Refer to bugs.html.
4570         (Bug Lists): Likewise.
4571         * system.h (GCCBUGURL): New preprocessor define.
4572         * rtl.c (fancy_abort): Use it.
4573         * gcc.c (main): Likewise.
4574
4575 2000-02-18  Richard Henderson  <rth@cygnus.com>
4576
4577         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
4578         (life_analysis_1): Subsume into ...
4579         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
4580         Use update_life_info for the relaxation.
4581         (update_life_info): Update REG_BASIC_BLOCK for registers live on
4582         entry and regs_live_at_setjmp.
4583         (set_noop_p): Simplify.
4584         (notice_stack_pointer_modification_1): Renamed from s/_1//.
4585         (record_volatile_insns): Split into ...
4586         (delete_noop_moves): ... here,
4587         (notice_stack_pointer_modification): ... here,
4588         (insn_dead_p): ... and here.
4589         (propagate_block): Don't query INSN_VOLATILE.
4590         (mark_used_regs): Mind !PROP_REG_INFO.
4591         * toplev.c (rest_of_compilation): Call mark_constant_function here,
4592         not in life_analysis.
4593
4594 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
4595
4596         * loop.c (canonicalize_condition): New function,
4597         broken out of get_condition.
4598         (get_condition): Use it.
4599         * expr.h (canonicalize_condition): Prototype it.
4600
4601         * tree.h (tree_int_cst_msb): Declare.
4602         * tree.c (tree_int_cst_msb): New function.
4603
4604 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
4605
4606         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
4607         isn't set.
4608
4609         * invoke.texi (-fmessage-length=n): Document.
4610
4611 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
4612
4613         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
4614
4615 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
4616
4617         * function.c (thread_prologue_and_epilogue_insns): Put a line note
4618         after the prologue.
4619
4620 2000-02-17  Nick Clifton  <nickc@cygnus.com>
4621
4622         * config/arm/thumb.c: Replace includes of system headers with
4623         #include "system.h".
4624
4625 2000-02-16  Richard Henderson  <rth@cygnus.com>
4626
4627         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
4628         Add crtbeginS.o and crtendS.o.
4629         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
4630         (ENDFILE_SPEC): Use crtendS.o.
4631         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
4632
4633         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
4634         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
4635         shared and present.
4636         (__dso_handle): New variable.
4637         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
4638         bias to __CTOR_END__.
4639         
4640 2000-02-16  Richard Henderson  <rth@cygnus.com>
4641
4642         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
4643
4644 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4645
4646         * longlong.h (__clz_tab): Declare as static to match definition.
4647
4648 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
4649         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
4650         (XREF_FILE_NAME): Define.
4651
4652         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
4653         (EH_FRAME_SECTION_ASM_OP): Define.
4654         (IDENT_ASM_OP): Define.
4655         (TEXT_SECTION_ASM_OP): Define.
4656         (CPP_SPEC): Define.
4657         (CTORS_SECTION_ASM_OP): Define.
4658         (CTOR_SECTION_FUNCTION): Use it.
4659         (DTORS_SECTION_ASM_OP): Define.
4660         (DTOR_SECTION_FUNCTION): Use it.
4661
4662 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
4663
4664         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
4665         NOTE_BASIC_BLOCK.
4666
4667         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
4668         debug_bb_n): New functions.
4669         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
4670         * basic-block.h: Prototype new functions.
4671
4672 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
4673
4674         * configure.in: Add support for avr target.
4675         * configure: Rebuilt.
4676
4677         * invoke.texi: Add AVR invocation docs.
4678         * install.texi: Add information about AVR.
4679         * md.texi: Add AVR constraint letters description.
4680         * extend.texi: Add description for AVR specific attributes.
4681
4682 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
4683
4684         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
4685
4686 2000-02-16  Nick Clifton  <nickc@cygnus.com>
4687
4688         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
4689         (make_insn_raw): Move RTL check here.
4690
4691 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4692
4693         * version.c: Include gansidecl.h and version.h.
4694
4695         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
4696         
4697         * configure.in (gcc_version): When setting, narrow search to
4698         lines containing `version_string'.
4699
4700         * Makefile.in (mainversion): Likewise. 
4701         (GCC_H): New variable.
4702         (gcc.h): Delete target.
4703         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
4704         (version.o): Depend on version.h.
4705         (dbxout.o): Don't depend on gcc.h.
4706
4707 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4708                           Michael Meissner  <meissner@cygnus.com>
4709
4710         * md.texi (Simple Constraints): Add item about whitespace.
4711         * genoutput.c (strip_whitespace): New.
4712         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
4713         strip_whitespace for constraints.
4714         Test pointer using NULL, not 0.
4715
4716 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4717
4718         * cpplib.c (do_line): Pedwarn for #line > 32767.
4719
4720         * c-lex.c (readescape): Warn about '\x', but do not reject it.
4721
4722 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
4723
4724         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
4725         to default cpp spec.
4726         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
4727         * cpp.texi: Document __GNUC_PATCHLEVEL__.
4728         * cpp.1: Likewise.
4729
4730         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
4731         default spec.
4732
4733 2000-02-15  Denis Chertykov  <denisc@overta.ru>
4734
4735         * configure.in: Add support for avr target.
4736
4737 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4738
4739         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
4740         (sh_addr_diff_vec_mode): Don't declare.
4741         * sh.c (sh_addr_diff_vec_mode): Delete.
4742
4743 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4744
4745         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
4746
4747 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4748
4749         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
4750         (smulsi3_highpart_i): Name.
4751         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
4752         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
4753         (smulsi3_highpart, umulsi3_highpart): Likewise.
4754
4755         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
4756         correctly independent of endianness.
4757         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
4758         confuse the optimizers.
4759         (mulsidi3+1, umulsidi3+1): New define_split.
4760
4761 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
4762
4763         * config/sh/sh.md: Guard insn splits against illegal registers.
4764         * config/sh/sh.h: Correct comment about macros.
4765
4766 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4767                           Andrew MacLeod  <amacleod@cygnus.com>
4768
4769         * Makefile.in (lcm.o): Depend on insn-attr.h.
4770         * basic-block.h (optimize_mode_switching): Declare.
4771         * lcm.c (tm_p.h, insn-attr.h): #include.
4772         (seginfo, bb_info): New structs.
4773         (antic, transp, comp, delete, insert) : New file-scope static variables.
4774         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
4775         (reg_becomes_live, optimize_mode_switching): Likewise.
4776         * tm.texi: Add description of mode switching macros.
4777         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
4778
4779         * sh-protos.h (remove_dead_before_cse): Remove prototype.
4780         (fldi_ok, fpscr_set_from_mem): New prototypes.
4781         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
4782         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
4783         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
4784         (sh_flag_remove_dead_before_cse): Remove declaration.
4785         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
4786         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
4787         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
4788         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
4789         (barrier_align): Allow for JUMP_INSNS containing a parallel.
4790         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
4791         (fldi_ok): New function.
4792         (get_fpscr_rtx): Add fpscr_rtx as GC root.
4793         (emit_sf_insn): Only generate fpu switches when optimize < 1.
4794         (emit_df_insn): Likewise.
4795         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
4796         (sh_flag_remove_dead_before_cse): Delete.
4797         (get_free_reg, fpscr_set_from_mem): New functions.
4798         * sh.md (movdf, movsf): Remove no_new_pseudos code.
4799         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
4800
4801 2000-02-15  Loren Rittle  <ljrittle@acm.org>
4802
4803         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
4804
4805 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4806
4807         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
4808         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
4809
4810         * cccp.c: Include version.h and/or don't declare `version_string'.
4811         * collect2.c: Likewise.
4812         * alpha.c: Likewise.
4813         * arm/aof.h: Likewise.
4814         * arm/coff.h: Likewise.
4815         * arm/elf.h: Likewise.
4816         * arm/pe.h: Likewise.
4817         * arm/tcoff.h: Likewise.
4818         * arm/telf.h: Likewise.
4819         * arm/tpe.h: Likewise.
4820         * arm/vxarm.h: Likewise.
4821         * convex/convex.c: Likewise.
4822         * i386/dgux.c: Likewise.
4823         * i386/sun386.h: Likewise.
4824         * m88k/m88k.c: Likewise.
4825         * mcore/mcore-pe.h: Likewise.
4826         * mips/mips.h: Likewise.
4827         * romp/romp.h: Likewise.
4828         * sh/sh.c: Likewise.
4829         * cpphash.c: Likewise.
4830         * cppinit.c: Likewise.
4831         * dwarf2out.c: Likewise.
4832         * dwarfout.c: Likewise.
4833         * gcc.c: Likewise.
4834         * gcc.h: Likewise.
4835         * mips-tfile.c: Likewise.
4836         * protoize.c: Likewise.
4837         * toplev.c: Likewise.
4838         * tree.h: Likewise.
4839         
4840         * version.c (version_string): Constify a char*.
4841
4842         * version.h: New file.
4843
4844 2000-02-14  Nick Clifton  <nickc@cygnus.com>
4845
4846         * configure.in: Add mcore-elf and mcore-pe targets.
4847         * configure: Regenerate.
4848
4849         * NEWS: Add note that MCore port has been contributed.
4850
4851         * invoke.texi: Document command line switches for MCore port.
4852         * install.texi: Add MCore to list of supported targets.
4853
4854 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
4855
4856         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
4857         then we will need to import the frame handling functions.
4858         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
4859         to import the frames themselves.
4860
4861 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
4862                           Jason Eckhardt  <jle@cygnus.com>
4863
4864         * basic_block.h: Added prototype for reorder_basic_blocks.
4865         * toplev.c: Changes to add -freorder-blocks and graph dump after
4866         block reordering is done.
4867         * flow.c (reorder_block_def): New structure for use during block
4868         reordering.
4869         (REORDER_BLOCK_*): New macros to access members of above structure.
4870         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
4871         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
4872         functions for block reordering.
4873
4874 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4875
4876         * gcc.texi (Passes): Fix typo.
4877         * md.texi (Standard Names): Ditto.
4878         * tm.texi (Storage Layout): Ditto.
4879
4880 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
4881
4882         * cpplib.c (do_define): Only free the old definition if it
4883         actually had one.
4884
4885 2000-02-13   Neil Booth  <NeilB@earthling.net>
4886
4887         * cppfiles.c (read_and_prescan): When emitting deferred
4888         newlines, test speccase[] again instead of checking each
4889         possible whitespace character in turn.  When we encounter \r,
4890         look behind for \n first, then ahead.
4891
4892 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
4893
4894         * cse.c (cse_altered): New internal flag.
4895         (cse_insn): Set it if we changed an insn.
4896         (cse_main): Clear cse_altered before each basic block.
4897         Only garbage collect if cse_altered is true afterward.
4898
4899 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4900
4901         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
4902
4903 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
4904
4905         * combine.c (simplify_comparison): Fix typo.
4906
4907 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
4908
4909         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
4910         consistently.
4911
4912 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4913
4914         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
4915         previously inserted node instead of root node.  Caller changed.
4916
4917 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4918
4919         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
4920
4921 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4922
4923         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
4924         __dereg_frame_dtor): Add prototype argument.
4925
4926         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
4927
4928         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
4929
4930         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
4931
4932         * gthr-vxworks.h (__gthread_once): Likewise.
4933
4934         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
4935
4936 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
4937
4938         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
4939         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
4940         stack pointer in functions w/o saved registers, output LEAVE more often
4941         on TARGET_USE_LEAVE machines.
4942
4943 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
4944
4945         * config/arm/arm.c (arm_init_cumulative_args); New function:
4946         Initlaise the CUMULATIE_ARGS strcuture for a function
4947         defintion. 
4948         (arm_function_arg): New function: Determine where to place a
4949         function's argument.  Also handles deciding the function's
4950         call cookie.
4951         (current_file_function_operand): New function: Return true if
4952         the symbol is a function which has already been compiled.
4953         (arm_is_long_call_p): New function: Return true if the
4954         indicated function should be called via a long call.
4955         (arm_valid_type_attribute_p): New function: Return true if the
4956         attribute is a valid, arm specific, attribute.
4957         (arm_comp_type_attribute): New function: Return true if the
4958         two types have compatable, arm specific, attributes.
4959
4960         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
4961         structure.
4962         (FUNCTION_ARG): Redefine to call arm_function_arg.
4963         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
4964         structure field.
4965         (INIT_CUMULATIVE_ARGS): Redefine to call
4966         arm_init_cumulative_args.
4967         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
4968         field. 
4969         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
4970         field. 
4971         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
4972         functions.
4973         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
4974         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
4975         (COMP_TYPE_ATTRIBUTES): Define.
4976
4977         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
4978         if a long call is needed.
4979         (call_value): Call arm_is_long_call_p to decide if a long call
4980         is needed.
4981         (call_symbol): Call arm_is_long_call_p to decide if a long call
4982         is needed.
4983
4984         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
4985
4986 2000-02-11  Denis Chertykov  <denisc@overta.ru>
4987
4988         * README.AVR: New file with information about the avr ports.
4989         * config/avr: New directory with avr port files.
4990
4991 2000-02-11  Andreas Jaeger  <aj@suse.de>
4992
4993         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
4994
4995 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
4996
4997         * cpphash.c: Fix formatting, update commentary.
4998         (dump_definition): Take three separate arguments instead of a
4999         MACRODEF structure argument.
5000         * cpphash.h: Update prototype of dump_definition.
5001         * cppinit.c (cpp_finish): Update call of dump_definition.
5002
5003         * cpplib.c (do_define): Always create new hash entry with
5004         T_MACRO type.  Remove redundant check for redefinition of
5005         poisoned identifier.  Update call of dump_definition.
5006         (do_undef): Don't call check_macro_name.  Rename sym_length to
5007         len.
5008         (do_error, do_warning): Don't use copy_rest_of_line or
5009         SKIP_WHITE_SPACE.
5010         (do_warning): Don't use pedwarn for the actual warning,
5011         only the notice about its not being in the standard.  (Fixes
5012         bug with #warning in system headers.)
5013         (do_ident): Stricter argument checking - accept only a single
5014         string after #ident.  Also, macro-expand the line.
5015         (do_xifdef): Use cpp_defined.  De-obfuscate.
5016
5017         (do_pragma): Split out specific pragma handling to separate
5018         functions.  Use get_directive_token.  Update commentary.  Do
5019         not pass on #pragma once or #pragma poison to the front end.
5020         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
5021         do_pragma_default): New.
5022
5023 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
5024
5025         * jump.c (jump_optimize_1): The first operand in a relational
5026         can be a CONST_INT.
5027         * optabs.c (emit_conditional_move): Handle relationals which
5028         have a known true/false result.
5029
5030 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5031
5032         * function.c (thread_prologue_and_epilogue_insns): Don't insert
5033         a RETURN insn into a block which already ends with a jump.
5034
5035 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5036
5037         * haifa-sched.c (BUF_LEN): Increase a lot.
5038
5039 2000-02-11  Nick Clifton  <nickc@cygnus.com>
5040
5041         * configure.in: Add tm_p_file specification for thumb targets.
5042         * configure: Regenerate.
5043
5044         * config/arm/thumb-protos.h: New file: Prototypes for exported
5045         functions defined in thumb.c.
5046
5047 2000-02-11  Robert Lipe  <robertl@sco.com>
5048
5049         * Makefile.in (bootstrap-lean): Remove additional files.
5050         (bootstrap2-lean): Likewise.
5051         (VOL_FILES): List of files for above.
5052
5053 2000-02-11  Nathan Sidwell  <nathan@acm.org>
5054
5055         * cpphash.c (special_symbol): Remove spurious argument to
5056         cpp_lookup.
5057
5058 2000-02-11  Joel Sherrill (joel@OARcorp.com>
5059
5060         * configure.in: (i*86-*-rtems*): Swapped elf and coff
5061         stanzas.
5062         * configure: Rebuilt.
5063
5064 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
5065         
5066         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
5067
5068 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
5069
5070         * pa.c, pa.h: Remove trigraph sequences within comments.
5071
5072 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
5073
5074         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
5075
5076 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
5077
5078         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
5079
5080 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5081         
5082         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
5083
5084 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5085
5086         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
5087         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
5088         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
5089         (ASM_FILE_END): Use c4x_file_end.
5090         * config/c4x/c4x.c (c4x_global_label): New function.
5091         (c4x_external_ref, c4x_file_end): Likewise.
5092
5093         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
5094         (c4x_external_ref, c4x_end_file): Likewise.
5095
5096 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
5097
5098         * cppexp.c: Don't include cpphash.h.
5099         (parse_charconst, cpp_lex): Use cpp_defined.
5100         (cpp_lex): Use get_directive_token throughout.  Remove
5101         unnecessary cases from switch.  Move assertion-handling code
5102         down to OTHER case.
5103         (cpp_parse_expr): If we see '+' or '-', check the context to
5104         determine if they are unary or binary operators.  Streamline
5105         the jumps a bit.  Do not call skip_rest_of_line.
5106
5107         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
5108         static.  Export get_directive_token.  Update commentary.
5109         (cpp_defined): New function.
5110         (do_define): Remove reference to T_PCSTRING.  Call
5111         free_definition to release memory for old definition, when
5112         redefining a macro.
5113         (eval_if_expression): Set only_seen_white to 0 before calling
5114         cpp_parse_expr.  Call skip_rest_of_line after it returns.
5115         (cpp_read_check_assertion): Don't preserve a pointer into the
5116         token buffer across a call to cpp_get_token.
5117
5118         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
5119         * cppfiles.c (redundant_include_p): Use cpp_defined.
5120         * cpphash.c (free_definition): New function.
5121         (delete_macro): Use it.  Update commentary.
5122         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
5123         free_definition.
5124         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
5125         from enum node_type.  Prototype cpp_defined and get_directive_token.
5126         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
5127
5128         * fix-header.c (check_macro_names): Use cpp_defined.
5129         (read_scan_file): Set inhibit_warnings and inhibit_errors in
5130         the options structure.
5131
5132 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5133
5134         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
5135
5136 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
5137
5138         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
5139         rather than die->die_tag.
5140
5141 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5142
5143         * combine.c (make_extraction, force_to_mode): Avoid warning on
5144         mixed-signedness conditionals.
5145         (make_field_assignment, nonzero_bits): Likewise.
5146         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
5147         (store_split_bit_field, extract_split_bit_field): Likewise.
5148         (extract_fixed_bit_field, store_bit_field, 
5149         * expr.c: Change alignment to be unsigned everywhere.
5150         (move_by_pieces, store_constructor_field, store_constructor): 
5151         Alignment parm is unsigned.
5152         (emit_block_move, emit_group_load, emit_group_store): Likewise.
5153         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5154         (do_compare_rtx_and_jump): Likewise.
5155         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
5156         Compare align with GET_MODE_ALIGNMENT.
5157         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
5158         (get_inner_reference): Likewise.
5159         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
5160         (expand_assignment): Local vars for alignment now unsigned.
5161         (store_constructor, store_field, expand_expr, do_jump): Likewise.
5162         (do_compare_and_jump): Likewise.
5163         (store_field): Call new function expr_align.
5164         * expr.h (emit_block_move, emit_group_load, emit_group_store):
5165         Alignment arg now unsigned.
5166         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5167         (do_compare_rtx_and_jump, store_bit_field): Likewise.
5168         (extract_bit_field): Likewise.
5169         * fold-const.c (add_double): Add cast to eliminate signedness warning.
5170         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
5171         (get_best_mode): Alignment arg is unsigned.
5172         * rtl.h (move_by_pieces): Likewise.
5173         * store-layout.c (maximum_field_alignment, set_alignment):
5174         Now unsigned.
5175         (layout_decl): Alignment arg is now unsigned.
5176         Remove unneeded casts.
5177         (layout_record, layout_union, layout_type): Remove unneeded casts.
5178         Local alignment variables now unsigned.
5179         (get_best_mode): Alignment arg now unsigned.
5180         * tree.c (expr_align): New function.
5181         * tree.h (expr_align): Likewise.
5182         (maximum_field_alignment, set_alignment): Now unsigned.
5183         (get_inner_reference): Alignment argument is now pointer to unsigned.
5184         * varasm.c (assemble_variable): Add cast to eliminate warning.
5185
5186 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
5187
5188         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
5189         then store directly into op0.
5190
5191         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
5192         the CALL_INSN, and emit the note immediately after it.
5193
5194 2000-02-10  Nick Clifton  <nickc@cygnus.com>
5195
5196         * config/arm/thumb.md (epilogue): Include a (return) in the
5197         generated insn, and emit it using emit_jump_insn not
5198         emit_insn. 
5199
5200 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
5201
5202         * function.c (assign_temp): Change zero-sized arrays to size 1.
5203         * integrate.c (expand_inline_function): Do not update
5204         stack_alignment_needed
5205         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
5206         add some sanity checking, remove optimization for function with
5207         zero frame size.
5208
5209 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5210
5211         * flow.c (mark_regs_live_at_end): Delete unused variables.
5212
5213         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
5214
5215         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
5216         in macro FRAME_GROWS_DOWNWARD.
5217
5218         * stmt.c (expand_end_bindings): Delete unused variable.
5219
5220         * unroll.c (iteration_info): Mark parameter `loop' with
5221         ATTRIBUTE_UNUSED.
5222
5223 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5224
5225         * fixinc/server.c (load_data): Return NULL if the marker line is
5226         not found.
5227         (run_shell): If load_data returns NULL, retry the command once, in
5228         a new shell.
5229
5230         * configure: Rebuilt.
5231
5232 2000-02-09  Bruce Korb  <bkorb@gnu.org>
5233
5234         * gcc/fixincludes:  ** DELETED **
5235         * gcc/fixcpp:  ** DELETED **
5236         * gcc/fixinc-nt.sed:  ** DELETED **
5237         * gcc/just-fixinc:  ** DELETED **
5238         * gcc/Makefile.in:  Removed out-dated commentary
5239         * gcc/configure.in: Removed fast-fixincludes disablement.
5240         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
5241
5242 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5243         * function.c (thread_prologue_and_epilogue_insns): Uncomment
5244         last change.
5245
5246 2000-02-09  Richard Henderson  <rth@cygnus.com>
5247
5248         * jump.c (delete_insn): Don't delete user labels at -O0.
5249
5250 2000-02-09  Robert Lipe  <robertl@sco.com>
5251
5252         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
5253         Don't link with HOST_LIBS. 
5254
5255 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5256
5257         * configure.in: Correct --help text for --with-dwarf2.
5258         Put tm-dwarf2.h after other tm files, if it's requested.
5259         * configure: Regenerate.
5260         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
5261         defining it.
5262
5263 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5264
5265         * cpplib.h: Provide HASHNODE typedef and forward decl of
5266         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
5267         DEFINITION, struct hashnode, struct macrodef, struct
5268         definition, scan_decls prototype, default defn of
5269         INCLUDE_LEN_FUDGE moved elsewhere.
5270
5271         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
5272         definition, and struct hashnode moved here. Remove the unused
5273         'predefined' field from struct definition.  Replace the 'args'
5274         union with its sole member.  All users updated (cpphash.c).
5275         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
5276         multiple include guard.
5277
5278         * cpphash.c (hashf): Make static; use better algorithm; drop
5279         HASHSIZE parameter; return an unsigned int.
5280         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
5281         used. Calculate HASHSIZE modulus here.
5282         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
5283         here.
5284         (create_definition): Drop PREDEFINITION parameter.
5285         * cpplib.c (do_define): Don't calculate a hash value here.
5286         Don't pass (keyword == NULL) to create_definition.
5287
5288         * scan.h: Prototype scan_decls here.
5289         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
5290         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
5291         callers of cpp_lookup and cpp_install updated.
5292         
5293         * cpphash.c (macarg): Hoist all the flag diddling out of the
5294         function...
5295         (macroexpand): ... and out of the loop that calls macarg.
5296         Skip over the initial paren before macro arguments with
5297         cpp_get_non_space_token; point may be some distance before
5298         that paren.  Abort if it's not there.
5299
5300         * cpplib.c (parse_clear_mark): Delete function.
5301         (parse_set_mark, parse_goto_mark): Make static.
5302         (ACTIVE_MARK_P): New macro.
5303         (skip_block_comment, skip_line_comment): Do not bump the line
5304         if ACTIVE_MARK_P is true.
5305         (cpp_pop_buffer): The buffer to be popped may not have an
5306         active mark.
5307         (cpp_get_token): When looking for the initial paren before
5308         macro arguments, only set a mark in a file buffer, Always
5309         return to that mark before proceeding to call macroexpand or
5310         return a NAME token.
5311
5312         * cpplib.h: Remove prototypes of parse_set_mark,
5313         parse_clear_mark, parse_goto_mark.
5314         (struct cpp_options): Rename 'put_out_comments' to
5315         'discard_comments' and invert its sense.
5316         * cppinit.c, cpphash.c, cpplib.c: All users of
5317         put_out_comments changed to use discard_comments, with
5318         opposite sense.
5319
5320 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5321
5322         * function.c (thread_prologue_and_epilogue_insns): Don't delete
5323         the edge from a block that both jumps and falls through to the
5324         fallthru block.
5325
5326 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
5327
5328         * config/arm/arm.md (movsi): In PIC mode, make sure that a
5329         constant source address is legitimate.
5330
5331 2000-02-09  Philip Blundell  <pb@futuretv.com>
5332
5333         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
5334         correctly.
5335
5336         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
5337         generating PIC.
5338         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
5339
5340 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5341
5342         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
5343         ends with a newline and a NUL.  Don't be so clever manipulating
5344         strings.
5345
5346 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
5347
5348         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
5349         not to BIGGEST_ALIGNMENT.
5350
5351 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
5352
5353         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
5354         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
5355         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
5356         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
5357         * frame.c (execute_cfa_insn): Handle 
5358         DW_CFA_GNU_negative_offset_extended.
5359
5360 2000-02-08  Richard Henderson  <rth@cygnus.com>
5361
5362         * flow.c (tidy_fallthru_edges): Split out from ...
5363         (delete_unreachable_blocks): ... here.
5364         (find_basic_blocks): Use it.
5365
5366 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5367
5368         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
5369
5370 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
5371
5372         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
5373         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
5374         (fix-header.o): Don't depend on cpphash.h.
5375
5376         * scan.c (hashstr): New function. 
5377         * scan.h: Prototype it.
5378         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
5379         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
5380         hashstr.  Report hash table statistics.  Add private     
5381         definition of xrealloc.
5382
5383 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5384
5385         * i386.h (TARGET_SWITCHES): Fix typo in option name.
5386
5387 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
5388
5389         * function.c (thread_prologue_and_epilogue_insns): Don't replace
5390         jumps with returns unless they are jumps to the fallthru block.
5391
5392 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
5393
5394         * i386.md (addqi3_cc): Fix contraints.
5395
5396 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5397
5398         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
5399
5400 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
5401
5402         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
5403         carriage return after a macro name.
5404
5405 2000-02-07  Fred Fish  <fnf@be.com>
5406
5407         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
5408         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
5409
5410 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
5411
5412         * cppfiles.c (deps_output): Count spacers in deps_column.
5413
5414 2000-02-07  Neil Booth  <NeilB@earthling.net>
5415
5416         * cppinit.c (initialize_dependency_output): If there is no
5417         suffix, don't try to look for known suffixes.  Use strrchr.
5418         (cpp_start_read): Remove duplicate initialization.
5419
5420 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
5421
5422         * calls.c (compute_argument_block_size): New argument
5423         preferred_stack_boundary.
5424         (expand_call): update cfun->preferred_stack_boundary, update call of
5425         compute_argument_block_size
5426         (emit_library_call): Increate cfun->preferred_stack_boundary
5427         to PREFERRED_STACK_BOUNDARY
5428         (emit_library_call_value): Likewise.
5429         * explow.c (allocate_dynamic_stack_spave): Likewise.
5430         * function.c (prepare_function_start): Set
5431         cfun->preferred_stack_boundary
5432         * function.h (struct function): Add preferred_stack_boundary field.
5433         * integrate.c (expand_inline_function): Update
5434         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
5435         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
5436         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
5437
5438 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
5439
5440         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
5441         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
5442         cpp_pedwarn, cpp_pedwarn_with_line,
5443         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
5444         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
5445         v_cpp_error_with_line, v_cpp_warning_with_line,
5446         cpp_message_from_errno, cpp_perror_with_name): Delete.
5447
5448         * cpperror.c (cpp_print_containing_files): Take starting
5449         buffer as argument.
5450         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
5451         (v_cpp_message): Now called directly by all entry points.
5452         Remove -1 case.
5453         (cpp_pfatal_with_name, cpp_message): Delete.
5454         (cpp_notice_from_errno, cpp_ice): New functions.
5455         (cpp_notice): Is now for reporting error conditions, just
5456         without an associated file.
5457         (cpp_error, cpp_error_with_line): Don't do anything if
5458         opts->inhibit_errors is on.
5459         (cpp_pedwarn_with_file_and_line): Take column argument also.
5460
5461         * cpplib.h: Update prototypes of exported functions.
5462         (struct cpp_options): Add inhibit_errors.
5463
5464         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
5465         non-error messages.  Include intl.h.
5466
5467         * cppinit.c, cppmain.c: Likewise.  Also, use
5468         cpp_notice_from_errno instead of cpp_perror_with_name or
5469         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
5470
5471         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
5472         report internal errors.
5473
5474         * cpplib.c (do_define): Switch bcopy to memcpy.
5475         Give cpp_pedwarn_with_file_and_line a dummy column argument.
5476
5477         * cpplib.c (copy_rest_of_line): Revert previous change: don't
5478         bail out early if we hit a line comment.
5479
5480 2000-02-06  Richard Henderson  <rth@cygnus.com>
5481
5482         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
5483         * basic-block.h: Declare them.
5484         * emit-rtl.h (active_insn_p): New.
5485         (next_active_insn, prev_active_insn): Use it.
5486         * rtl.h: Declare it.
5487         * function.c (emit_return_into_block): New.
5488         (thread_prologue_and_epilogue_insns): Insert return insns instead
5489         of epilogues when possible.
5490         * jump.c (jump_optimize_1): Remove code to insert a return insn
5491         on the fallthru to the exit block.
5492
5493         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
5494         and for non-empty stack frames.
5495         * i386.md (return): Expand to return-pop as needed.
5496
5497 2000-02-06  Richard Henderson  <rth@cygnus.com>
5498
5499         * simplify-rtx.c (simplify_relational_operation): Canonicalize
5500         constant to op1 for testing.
5501
5502 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5503
5504         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
5505         (fixuns_truncqfqi2): Use it.
5506
5507 2000-02-06  Richard Henderson  <rth@cygnus.com>
5508
5509         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
5510         as a TYPE_LEA insn.
5511
5512         * i386.md (widening and peepholes): Mask the constant instead of
5513         using gen_lowpart.
5514
5515 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
5516
5517         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
5518         input pointer before possibly branching off to the backslash
5519         code.
5520         * cpphash.c (macroexpand): Correctly delete \r escapes when
5521         stringifying parameters.
5522         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
5523         if we can; bail out early if we hit a line comment.
5524         (handle_directive): Treat '# 123' in an .S file just like
5525         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
5526         Return 1 for '# not_a_directive'.
5527         (get_directive_token): Pop macro buffers here, so that
5528         cpp_get_token can't sneakily move past a newline.
5529         Add sanity checks. 
5530         (cpp_get_token): goto randomchar if handle_directive returns 0.
5531
5532         * cppalloc.c: Update copyright.
5533         * cpplib.c: Merge all the static function prototypes into one
5534         block.
5535         * cpplib.h: Remove #if 0 block.
5536
5537         * cpperror.c: Remove #ifdef EMACS block.
5538         * cppmain.c: Likewise.
5539         * cpphash.c: Remove #if 0 blocks.
5540         * cppinit.c: Remove #if 0 blocks, and the -lint option.
5541         * cpplib.c: Remove #if 0 blocks and code referencing
5542         pcp_inside_if or for_lint.  Remove duplicate error message.
5543         Fix error messages for #else after #else or #elif.  Reformat.
5544         Remove archaic TODO list.
5545         * cpplib.h: Remove pcp_inside_if and for_lint flags.
5546
5547 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
5548
5549         * i386/osf1elf.h: Add missing backslash to multiline string.
5550
5551 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5552
5553         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
5554
5555 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5556
5557         * Makefile.in (c-common.o): Depend on $(EXPR_H).
5558
5559         * c-common.c: Include expr.h.
5560
5561         * c-pragma.c (mark_align_stack): Add prototype.
5562
5563         * caller-save.c (add_stored_regs): Likewise.
5564
5565         * combine.c (record_promoted_value): Likewise.
5566
5567         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
5568         Likewise.
5569
5570         * cppinit.c (new_pending_define): Likewise.
5571
5572         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
5573
5574         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
5575         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5576         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
5577         class_scope_p): Likewise.
5578
5579         * dwarf2out.h (dwarf2out_set_demangle_name_func,
5580         dwarf2out_add_library_unit_info): Likewise.
5581
5582         * ggc.h (ggc_page_print_statistics): Likewise.
5583
5584         * haifa-sched.c (propagate_deps): Likewise.
5585
5586         * reg-stack.c (next_flags_user, record_label_references): Likewise.
5587
5588         * rtl.h (set_stack_check_libfunc): Likewise.
5589
5590         * toplev.h (set_fatal_function): Likewise.
5591
5592         * toplev.c (set_fatal_function): Delete prototype.
5593         
5594         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
5595         
5596 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
5597
5598         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
5599         (FUNC_END): Likewise.
5600
5601 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5602
5603         * caller-save.c: Include tm_p.h.
5604
5605 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5606
5607         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
5608
5609 2000-02-04  Neil Booth  <NeilB@earthling.net>
5610
5611         * cccp.c (main): Check 'dir' for a NULL pointer before passing
5612         it to strcmp.
5613
5614 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
5615
5616         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
5617         * genflags.c: Use the max_operand_1 logic from genemit.c to
5618         calculate how many arguments gen_insn prototypes have.  Remove
5619         NO_MD_PROTOTYPES ifdefs from the generated file.
5620         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
5621         file.  Cast gen_insn initializers to insn_gen_fn.
5622         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
5623         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
5624
5625 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5626
5627         * fixinc/Makefile.in (HDR): Add machname.h.
5628         (clean): Likewise.
5629
5630 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5631
5632         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
5633         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
5634         (c4x_cpu_version): Ditto.
5635         * config/c4x/c4x-protos.h: ... here.
5636
5637 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
5638
5639         * dwarf2out.c (add_abstract_origin_attribute): Don't call
5640         gen_abstract_function on our context if we're a nested function.
5641
5642 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5643
5644         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
5645         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
5646
5647 2000-02-04  Bruce Korb  <bkorb@gnu.org>
5648
5649         * fixinc/genfixes(machname.h):
5650         Move the functionality from gen-machine.h into this file.
5651         UNdef MN_NAME_PAT if there are no names to change.
5652         Also, be a little kinder when AutoGen is not present.
5653
5654         * fixinc/Makefile.in(machname.h):
5655         Change the generation rule to use genfixes.
5656
5657         * fixinc/fixfixes.c(machine_name):
5658         machine_name_fix's functionality now dependent upon whether
5659         MN_NAME_PAT is defined.
5660
5661         * fixinc/fixtests.c(machine_name):
5662         ditto.
5663
5664         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
5665         of MN_NAME_PAT.
5666
5667         * fixinc/fixlib.h(mn_get_regexps):
5668         ditto
5669
5670         * fixinc/gen-machine.h: DELETED
5671
5672 2000-02-04  Jan Hubicka  <jh@suse.cz>
5673             Richard Henderson  <rth@cygnus.com>
5674
5675         * i386.c (SAVE_REGS_FIRST): Remove.
5676         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
5677         (ix86_compute_frame_size): Likewise.
5678         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
5679         (ix86_emit_restore_regs): Remove.
5680         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
5681         when a frame pointer is in use.
5682         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
5683         instead of pop to restore a register when profitable; emit leave
5684         when profitable.
5685         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
5686         as a TYPE_LEA insn.
5687         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
5688         * i386.md (prologue_allocate_stack): Remove.
5689         (epilogue_deallocate_stack): Remove.
5690         (pro_epilogue_adjust_stack): New.
5691
5692 2000-02-04  Richard Henderson  <rth@cygnus.com>
5693
5694         * function.c (diddle_return_value): Rework to use a callback function.
5695         Use current_function_return_rtx if it's been set up.
5696         (do_clobber_return_reg, clobber_return_register): New.
5697         (do_use_return_reg, use_return_register): New.
5698         (expand_function_end): Use them.
5699         * stmt.c (expand_null_return): Likewise.
5700         * function.h: Declare them.
5701         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
5702         (mark_reg): Change arguments as appropriate for callback.
5703         * integrate.c (expand_inline_function): Revert 19 Jan change.
5704
5705 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5706
5707         * tm.texi (Values in Registers): Fix typo: "fo" "for".
5708         (Misc): Say the scheduler, not the Haifa scheduler.
5709
5710 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
5711
5712         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
5713         when in_mem is set.  Update all callers.
5714
5715 2000-02-04  Richard Henderson  <rth@cygnus.com>
5716
5717         * i386/openbsd.h (INT_ASM_OP): Define.
5718
5719 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5720
5721         * tm.texi: Fix various typos.
5722
5723 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
5724
5725         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
5726         (MD_STARTFILE_PREFIX_1): New macro.
5727
5728 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
5729
5730         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
5731         destination when needed.
5732         (strmovsi, strsetsi): New expander.
5733         (strmovsi_1, strsetsi_1): New pattern.
5734         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
5735         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
5736         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
5737         * invoke.texi (align-stringops, inline-all-stringops): Document.
5738
5739 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
5740
5741         * i386/netbsd.h (INT_ASM_OP): Define.
5742
5743 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
5744
5745         * cpplib.h (cpp_reader): Add new flag, no_directives.
5746         * cpphash.c (macarg): Set it.
5747         * cpplib.c (handle_directive): If no_directives is on and we
5748         find a directive, issue an error and discard the line.
5749
5750 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
5751
5752         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
5753         FP constants.  Add ! TARGET_FPU check for FP constants.
5754
5755 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
5756         
5757         * flow.c (find_basic_blocks): Don't kill label_value_list
5758         here.
5759         (cleanup_cfg): Kill it here.
5760
5761 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5762
5763         * expr.c (store_field): Ensure ALIGN is no stricter than the
5764         alignment of EXP.
5765
5766 2000-02-02  Richard Henderson  <rth@cygnus.com>
5767
5768         * jump.c (delete_insn): Partially revert 19 Jan change; 
5769         don't convert unused code labels to notes at -O0.
5770
5771 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5772
5773         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
5774         split_all_insns to recreate REG_LABEL notes for flow2 pass.
5775
5776 2000-02-01  Richard Henderson  <rth@cygnus.com>
5777
5778         * i386.c (general_no_elim_operand): New.
5779         (nonmemory_no_elim_operand): New.
5780         (ix86_expand_move): Copy eliminable operands before a push.
5781         * i386-protos.h: Declare new functions.
5782         * i386.h (CAN_ELIMINATE): Simplify.
5783         (PREDICATE_CODES): Update.
5784         * i386.md (push insns): Don't allow eliminable register operands.
5785
5786 2000-02-01  Richard Henderson  <rth@cygnus.com>
5787
5788         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
5789         replace BLKmode with DECL_RTL's mode.
5790
5791 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
5792
5793         * frame.c (find_fde): Convert for loop to do-while so compiler
5794         sees it's always executed at least once.
5795         * libgcc2.c (BBINBUFSIZE): Kill.
5796         (__bb_init_prg): Use fgets.
5797         (__bb_exit_trace_func): Don't paste strings.
5798         * unroll.c (unroll_loop): Initialize unroll_type, not
5799         unroll_number, and tweak logic to match.
5800
5801         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
5802         all failure paths.
5803         (ix86_flags_dependant): Likewise.  Disentangle control flow.
5804         (ix86_sched_reorder): Break guts out to
5805         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
5806         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
5807         any possible use.
5808
5809         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
5810         use string concatenation.  Don't save and restore esi.
5811
5812         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
5813         (machname.h): Remove script to separate file.  Use two-step
5814         sequence so target is not created if script fails.
5815         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
5816         identifiers are defined.
5817         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
5818         an empty string, machine_name doesn't need to do anything at
5819         all.
5820         (is_cxx_header): Add more cases to regexp.
5821         * fixinc/fixlib.h: Update prototype.
5822         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
5823         mn_get_regexps.
5824         * fixinc/fixincl.c: Define NO_BOGOSITY.
5825
5826         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
5827         (hp_sysfile): Add missing comma.
5828         (math_exception): Put the wrapper ifdefs at the beginning and
5829         the end of the file.
5830         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
5831
5832 2000-02-01  Richard Henderson  <rth@cygnus.com>
5833
5834         * sparc.c (fp_zero_operand): Turn into a normal predicate.
5835         Use CONST0_RTX.  Update all callers.
5836         * sparc.h, sparc-protos.h: Update accordingly.
5837         * sparc.md (fp mov insns): Use fp_zero_operand directly
5838         where applicable.
5839
5840 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5841
5842         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
5843         example.
5844
5845 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5846
5847         * Makefile.in (specs.ready): New target.
5848         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
5849
5850 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5851
5852         * fixinc.irix: Use unique filenames for writing into /tmp,
5853         * fixinc.ptx: Likewise.
5854         * fixinc.sco: Likewise.
5855         * fixinc.svr4: Likewise.
5856         * fixinc.winnt: Likewise.
5857
5858 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5859
5860         * tsystem.h: New file.
5861
5862         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
5863         s-crtS): Depend on tsystem.h.
5864
5865         * crtstuff.c: Include tsystem.h.
5866         * frame.c: Likewise.
5867         * libgcc2.c: Likewise.
5868
5869 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
5870
5871         * builtins.c (expand_builtin_memset): Expand for variable sized
5872         lengths too.
5873
5874 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
5875
5876         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
5877         on ABI.
5878
5879 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5880
5881         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
5882
5883         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
5884
5885 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
5886
5887         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
5888         case 3->2 combining (combining with splitting) in which 2 is CC0
5889         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
5890         checked at the begining of the function with the aid of calling 
5891         function 'can_combine_p'. 
5892
5893 2000-01-31  Dave Brolley  <brolley@redhat.com>
5894
5895         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
5896
5897 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
5898
5899         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
5900         new label.
5901
5902 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5903
5904         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
5905         
5906         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
5907         PROTO -> PARAMS.
5908
5909 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
5910
5911         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
5912         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
5913         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
5914         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
5915         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
5916         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
5917         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
5918         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
5919         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
5920         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
5921         
5922         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
5923         Add %(cpp_cpu) to CPP_SPEC.
5924
5925         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
5926         Add %(cc1_cpu) to CC1_SPEC.
5927
5928 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
5929
5930         * c-decl.c (c_decode_option): Accept optional numeric argument to
5931         -Wformat and set warn_format.
5932         * c-common.c: Don't emit warning about non-constant printf format
5933         string unless warn_format > 1.
5934
5935 2000-01-30  Richard Henderson  <rth@cygnus.com>
5936
5937         * alpha.md (return_internal): Allow after reload only.
5938
5939 2000-01-30  Richard Henderson  <rth@cygnus.com>
5940
5941         * i386.c (ix86_compute_frame_size): Omit padding1 if the
5942         local frame size is zero.
5943
5944 2000-01-30  Richard Henderson  <rth@cygnus.com>
5945
5946         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
5947         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
5948         * alpha.md (return): Turn into an expander.
5949         (return_internal): Don't use $26.
5950         (epilogue): Emit the return insn.
5951
5952 2000-01-30  Richard Henderson  <rth@cygnus.com>
5953
5954         * alpha.md (negtf2, abstf2): Fix word order thinko.
5955         (extendsftf2): New.
5956         (trunctfsf2): Avoid intermediate rounding errors.
5957
5958 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
5959
5960         * cppfiles.c (find_position): Drop 'colp' argument, return the
5961         new line base.
5962         (read_and_prescan): Adjust to match.  Don't ever manipulate
5963         line or line_base except via find_position.
5964
5965 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
5966
5967         * c-parse.in: Apply Ulrich's changes from c-parse.y.
5968         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
5969         Regenerate.
5970
5971 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
5972
5973         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
5974         just print "<command line>".  If 'filename' is null or an
5975         empty string, print "<stdin>" for the filename.
5976         * cpplib.c (do_define): Don't print the 'location of the
5977         previous definition' message if we're still parsing the
5978         command line.
5979         (cpp_pedwarn_with_file_and_line): Always call
5980         cpp_file_line_for_message.
5981
5982 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
5983
5984         * flow.c (mark_regs_live_at_end): Fix typo.
5985
5986 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
5987
5988         * c-common.c: Adjust variable names, comments, help strings to c99.
5989         * c-lex.c: Likewise.
5990         * c-parse.y: Likewise.
5991         * c-tree.h: Likewise.
5992         * cccp.c: Likewise.
5993         * cpplib.h: Likewise.
5994         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
5995         * cppinit.c: Likewise.
5996
5997 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5998
5999         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
6000         * c4x.c: Define the optab rtx values.
6001         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
6002         (c4x_emit_libcall): Use new optab rtx values.
6003         (c4x_emit_libcall3): Likewise.
6004         (c4x_emit_libcall_mulhi): Likewise.
6005         * c4x-protos.h: Add prototypes for optab rtx values and change
6006         prototypes for above c4x_emit_libcall functions.
6007
6008 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6009
6010         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
6011         syntax is used.
6012         (c4x_function_prologue): Use regnames intead of float_reg_names when
6013         TI syntax is used.
6014         (c4x_function_epilogue): Likewise.
6015         (c4x_print_operand): Likewise.
6016         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
6017         * c4x.md (set_high): Disable for TARGET_TI.
6018
6019 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6020
6021         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
6022         of framepointer + constant to ADDR_REGS class.
6023         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
6024         * c4x.c (std_or_reg_operand): New function.
6025         * c4x-protos.h (std_or_reg_operand): Prototype it.
6026
6027 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6028
6029         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
6030                 object names as libgcc2.c.
6031         * libgcc.S: Use newly defined names.
6032
6033 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
6034         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
6035         function.
6036         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
6037         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
6038         (FLOW_LOOP_LAST_BLOCK): Likewise.
6039
6040 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6041
6042         * basic-block.h (struct loop): New fields 'first' and 'last'.
6043         * flow.c (flow_loops_find): Compute loop->first and loop->last.
6044         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
6045         and loop->last to check for NOTE_INSN_LOOP_END.
6046
6047 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
6048
6049         * predict.c (estimate_probability): Use the new FIRST and LAST fields
6050         of the loop descriptor rather than HEADER and LATCH. Also added
6051         missing break statements as well making some coding style modifications
6052         as suggested by Michael Hayes.
6053
6054 2000-01-28  Richard Henderson  <rth@cygnus.com>
6055
6056         * flow.c (find_basic_blocks): Remove do_cleanup argument.
6057         Break out that code ...
6058         (cleanup_cfg): ... here.
6059         (commit_one_edge_insertion): Detect a return instruction being
6060         emitted to an edge.  Emit a barrier following; clear fallthru.
6061         (commit_edge_insertions): Verify CFG consistency.
6062         * function.c (expand_function_start): Kill unused variable.
6063         (expand_function_end): Likewise.
6064         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
6065         to insert the epilogue.
6066
6067         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
6068         (delete_null_pointer_checks): Likewise.
6069         * output.h: Likewise.
6070         * reg-stack.c (reg_to_stack): Likewise.
6071         * toplev.c (rest_of_compilation): Likewise.  Run
6072         thread_prologue_and_epilogue_insns after rebuilding the CFG.
6073
6074 2000-01-28  Richard Henderson  <rth@cygnus.com>
6075
6076         * Makefile.in (flow.o): Revert 24 Jan change.
6077         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
6078         FUNCTION_VALUE result to DECL_RESULT's mode.
6079
6080         * haifa-sched.c (schedule_insns): Don't recompute reg info
6081         after reload.
6082
6083 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
6084
6085         * configure.in: Make --enable-cpplib the default.
6086         * configure: Regenerate.
6087         * gcc.dg/990119-1.c: No longer expected to fail.
6088
6089 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
6090
6091         * jump.c (jump_optimize_1): Delete an optimization that is also done
6092         by merge_blocks in flow.
6093
6094 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6095
6096         * diagnostic.c (build_message_string, output_printf,
6097         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
6098         (build_location_prefix): Fix non-literal format string.
6099
6100 2000-01-27  Richard Henderson  <rth@cygnus.com>
6101
6102         * alpha.md (trunctfsf2): New.
6103
6104 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
6105
6106         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
6107
6108 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6109
6110         * cppinit.c (cpp_handle_option): Recognize C++ comments under
6111         -std=gnu89.
6112         * cpplib.c (skip_block_comment, skip_line_comment): Split code
6113         out of...
6114         (skip_comment) ... here.  Permit C++ comments in system
6115         headers always.  Warn about C++ comments in user code under
6116         -std=gnu89 -pedantic.
6117         (copy_comment): Use skip_comment.
6118         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
6119         return EOF.
6120         (consider_directive_while_skipping, do_else, do_endif): Call
6121         validate_else unconditionally.
6122         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
6123         text after the conditional in a system header.
6124         * cpplib.h (struct cpp_buffer): Add flag
6125         warned_cplusplus_comments.
6126
6127 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6128
6129         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
6130         Use unshare_all_rtl_1.
6131         (unshare_all_rtl_again): New function.
6132         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
6133
6134         * function.c (purge_addressof_1): Use unshare_all_rtl_again
6135         rather than resetting the 'used' flags ourself.
6136
6137         * toplev.c (rest_of_compilation): Add current_function_decl
6138         to the unshare_all_rtl call.
6139         * tree.h: Prototype unshare_all_rtl.
6140         * rtl.h: Prototype unshare_all_rtl_again here.
6141
6142 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6143
6144         * genoutput.c (output_prologue): Include ggc.h in generated
6145         files.
6146         * Makefile.in (insn-output.o): Depends on ggc.h.
6147
6148 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
6149             Hans-Peter Nilsson  <hp@bitrange.com>
6150
6151         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
6152         Remove redundant include of xm-ns32k.h.
6153         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
6154         Remove redundant include of xm-ns32k.h.
6155         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
6156         Remove redundant include of xm-ns32k.h.
6157         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
6158
6159         * ns32k/ns32k.h: Update comment on multiply-add instructions.
6160         (TARGET_SWITCHES): Add documentation strings.
6161         (DWARF_FRAME_REGNUM): Override default definition.
6162         (REG_CLASS_CONTENTS): Add comments.
6163         (SUBSET_P): Format to reduce line length.
6164         (SMALL_REGISTER_CLASSES): Make a run time option.
6165         (GO_IF_NONINDEXED_ADDRESS): Reformat.
6166         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
6167         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
6168         (regclass_map): fix typo in comment.
6169         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
6170         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
6171         (trace, reg_or_mem_operand): Delete, unused function.
6172         (calc_address_cost): Small offsets are cheaper than large ones.
6173         (expand_block_move): Generate more efficient code when bytes is a
6174         known at compile time.
6175         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
6176         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
6177         instead of reg_or_mem_operand.
6178
6179         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
6180         not general_operand.  Similarly use "=rm" or stricter, not "=g".
6181         For input operands, use stricter constraints than "g" if not
6182         general_operand.  Similarly use stricter predicate than
6183         "general_operand" when stricter constraints than "g" are present,
6184         except for matching constraints.
6185         (movstrsi): Use "memory_operand" for operands 0 and 1.
6186         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
6187         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
6188         not reg_or_mem_operand.
6189         (udivmoddisi4): Ditto.
6190         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
6191         Use nonimmediate_operand for operand 3, not register_operand.
6192         (udivmoddiqi4_internal): Use register_operand for operand 1, not
6193         reg_or_mem_operand.
6194
6195 2000-01-27  Fred Fish  <fnf@be.com>
6196
6197         * gthr-posix.h: Fix typo; compatibily -> compatibility.
6198         * gthr-single.h: Likewise.
6199         * gthr-solaris.h: Likewise.
6200         * gthr-vxworks.h: Likewise.
6201         * gthr-win32.h: Likewise.
6202         * gthr.h: Likewise.
6203
6204 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6205
6206         * cppinit.c: Add " (cpplib)" to end of string printed by
6207         -v / --version.
6208
6209 2000-01-27  Richard Henderson  <rth@cygnus.com>
6210
6211         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
6212         testing for a signed comparison.
6213         (alpha_emit_floatuns): New.
6214         * alpha-protos.h: Declare it.
6215         * alpha.md (floatunsdisf2, floatunsdidf2): New.
6216         (extendsfdf2): Tidy.
6217
6218 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
6219
6220         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
6221         no -g option specifying debugging format, default to -gstabs+.
6222
6223 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
6224
6225         * calls.c (special_function_p): New argument fork_or_exec.
6226         (expand_call): When profile_arc_flag is set and the function
6227         is in the fork_or_exec group, call __bb_fork_func first.
6228         * libgcc2.c, _bb module (__bb_fork_func): New function.
6229         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
6230         output file.
6231         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
6232         * tree.h (special_function_p): Update prototype.
6233
6234 2000-01-26  Richard Henderson  <rth@cygnus.com>
6235
6236         * alpha.c (alpha_split_tfmode_pair): New.
6237         * alpha-protos.h: Declare it.
6238         * alpha.md (abstf2, negtf2): New.
6239         (movtf insn): Add input G constraint.
6240         (movtf splitter): Use alpha_split_tfmode_pair.
6241
6242 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6243
6244         * i386/cygwin.h: PROTO -> PARAMS.
6245
6246 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
6247
6248         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
6249         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
6250         using _Qp_cmp/_Q_cmp and testing the return value.
6251         (print_operand): Call reverse_condition_maybe_unordered if
6252         we are handling CCFPmode or CCFPEmode.
6253         Handle ORDERED, UN* and LTGT comparisons.
6254         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
6255         if not TARGET_HARD_QUAD.
6256         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
6257         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
6258         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
6259         Adjust gen_b* calls so that they reflect return comparison of
6260         sparc_emit_float_lib_cmp.
6261
6262 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6263
6264         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
6265         incoming operands array is large enough for one more operand.
6266         (alpha_emit_xfloating_arith): Likewise.
6267
6268 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6269
6270         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
6271         file with one line and no trailing newline.
6272         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
6273         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
6274         checking if the match is on the line.
6275         * fixinc/gnu-regex.c: Provide regerror not __regerror.
6276
6277 2000-01-25  Richard Henderson  <rth@cygnus.com>
6278
6279         * sparc.c (output_cbranch): Fix accidental squashing of the
6280         fp branch pre-delay nop.
6281
6282 2000-01-25  Richard Henderson  <rth@cygnus.com>
6283
6284         * tree.def (UNNE_EXPR): Remove.
6285         * c-typeck.c (build_binary_op): Don't handle it.
6286         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
6287
6288         * rtl.def (UNNE): Remove.
6289         (LTGT): Add.
6290         * jump.c (reverse_condition): Update accordingly.
6291         (swap_condition): Likewise.
6292         (comparison_dominates_p): Handle unordered comparisons.
6293         (reverse_condition_maybe_unordered): New.
6294         * rtl.h (reverse_condition_maybe_unordered): Declare.
6295
6296         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
6297         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
6298         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
6299         * sparc.md (bltgt): New.
6300
6301 2000-01-25  Nick Clifton  <nickc@redhat.com>
6302
6303         * emit-rtl.c (emit_insn): Only check machine class insns for
6304         improper emission of a RETURN.
6305
6306 2000-01-25  Richard Henderson  <rth@cygnus.com>
6307
6308         * Makefile.in (flow.o): Depend on $(EXPR_H).
6309         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
6310         duplicate the structure of diddle_return_value for keeping regs live.
6311
6312 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6313
6314         * loop.c (current_loop_info): Delete.
6315         (consec_sets_invariant_p): Add loop argument, update callers.
6316         (get_condition_for_loop): Likewise.
6317         (count_nonfixed_reads, update_giv_derive): Likewise.
6318         (simplify_giv_expr, general_induction_var): Likewise.
6319         (consec_sets_giv, recombine_givs): Likewise.
6320         (move_movables): Delete loop_start and loop_end arguments,
6321         add loop argument, and update callers.
6322         (find_mem_givs, check_final_value): Likewise.
6323         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
6324         (loop_invariant_p): Rename from invariant_p, add loop argument, and
6325         update callers.
6326         (basic_induction_var): Add loop argument, delete loop_level argument,
6327         and update callers.
6328         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
6329         add loop argument, and update callers.
6330         (find_splittable_regs, find_splittable_givs): Likewise.
6331         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
6332         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
6333         (biv_total_increment): Delete loop_start and loop_end arguments;
6334         update callers.
6335         (precondition_loop_p): Delete loop_start and loop_info arguments;
6336         update callers.
6337         * loop.h (get_condition_for_loop): Add loop argument.
6338         (biv_total_increment): Delete loop_start and loop_end arguments.
6339         (precondition_loop_p): Delete loop_start and loop_info arguments;
6340         add loop argument.
6341         (final_biv_value): Delete loop_start and loop_end arguments;
6342         add loop argument.
6343         (final_giv_value, back_branch_in_range_p): Likewise.
6344
6345 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6346
6347         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
6348
6349 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6350
6351         * Makefile.in (c-gperf.h) : Change the "See" pointer to
6352         point to the new "generated_files" doc.
6353
6354 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6355
6356         * config/fp-bit.c (_unord_f2): Fix typo.
6357
6358 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6359
6360         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
6361         c-typeck.c, objc/objc-act.c: Remove all references to obstack
6362         functions obsoleted by GC, such as push_obstacks_nochange,
6363         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
6364         and code which existed only to decide whether or not to call
6365         them.  Remove now-unused NESTED argument from start_function;
6366         all callers changed.  Do not change behavior based on ggc_p.
6367         The use of the ixp_obstack in c-iterate.c and the util_obstack
6368         in objc/objc-act.c remain; these are not obsoleted by garbage
6369         collection.
6370         * c-tree.h: Update prototype for start_function.
6371
6372         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
6373
6374 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6375
6376         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
6377         mips16.
6378
6379 2000-01-25  Richard Henderson  <rth@cygnus.com>
6380
6381         * sparc-protos.h (select_cc_mode): Declare.
6382         * sparc.c (select_cc_mode): New.  Handle unordered compares.
6383         (output_cbranch): Always reverse via code change.  Handle
6384         unordered compares.  Factor tests and string updates.
6385         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
6386         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
6387         * sparc.md (bunordered, bordered): New.
6388         (bungt, bunlt, buneq, bunge, bunle): New.
6389
6390 2000-01-25  Richard Henderson  <rth@cygnus.com>
6391
6392         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
6393         * ggc-common.c (ggc_add_rtx_varray_root): New.
6394         (ggc_mark_rtx_varray): New.
6395         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
6396         functions down below ggc_mark_foo.
6397         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
6398
6399 2000-01-25  Richard Henderson  <rth@cygnus.com>
6400
6401         * alpha.c (secondary_reload_class): Don't allocate a secondary
6402         for integral mode memories into FLOAT_REGS.  Rearrange the more
6403         complicated memory expression inward.
6404
6405 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6406
6407         * inclhack.def: Fixes to play nicer with FreeBSD, and
6408         corrections to comments.
6409         (cxx_unready): Add select expression.
6410         (irix_sockaddr): Add bypass expression.
6411         (machine_ansi_h_va_list): New fix.
6412         (stdio_va_list): No need to edit _BSD_VA_LIST_.
6413         Split out addition of "#include <stdarg.h>" to...
6414         (stdio_stdarg_h): ... here.
6415         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
6416         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
6417         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
6418         size_t.
6419         (ultrix_ifdef): Tighten up select expression.
6420
6421         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
6422         re_ct and max_mach to avoid use of shell.  Make printed names
6423         match names in inclhack.def.  Use static copyright date.
6424         Don't count c_test and test expressions as requiring regex_t
6425         slots.  Add some commentary.
6426         * inclhack.tpl: Do not include the 'This script contains N
6427         fixup scripts' line if PROGRAM is defined.  Use static
6428         copyright date.
6429
6430 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
6431
6432         * dwarf2out.c: include "varray.h", not dyn-string.h.
6433         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
6434         (addr_const_to_string, addr_to_string): Lose.
6435         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
6436         (struct dw_val_struct): val_addr is now an rtx.
6437         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
6438         (used_rtx_varray): New varray.
6439         (dwarf2out_init): Initialize it.
6440         (save_rtx): New fn.
6441         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
6442         addr_to_string.
6443         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
6444         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
6445         * Makefile.in (dwarf2out.o): Update dependencies.
6446
6447 2000-01-24  Richard Henderson  <rth@cygnus.com>
6448
6449         * i386.c (i386_dwarf_output_addr_const): New.
6450         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
6451
6452         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
6453         if defined.
6454         * dwarfout.c (output_mem_loc_descriptor): Likewise.
6455         * i386.c (i386_simplify_dwarf_addr): New.
6456         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
6457
6458 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
6459
6460         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
6461         TYPE_STUB_DECL is NULL.
6462
6463 2000-01-24  Richard Henderson  <rth@cygnus.com>
6464
6465         * builtins.c (expand_tree_builtin): Move ...
6466         * c-common.c (expand_tree_builtin): ... here.
6467
6468 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6469
6470         * loop.h (LOOP_INFO): New accessor macro.
6471         * basic-block.h (struct loop): Rename field `info' to `aux'.
6472         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
6473         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
6474         * unroll.c (loop_iterations, unroll_loop): Likewise.
6475
6476 2000-01-24  Christopher Faylor <cgf@cygnus.com>
6477
6478         * config/i386/t-cygwin: Accomodate new winsup directory layout
6479         when searching for include files.
6480
6481 2000-01-24  Richard Henderson  <rth@cygnus.com>
6482
6483         * rtl.def: Add unordered fp comparisions.
6484         * tree.def: Likewise.
6485         * tree.h: Add ISO C 9x unordered fp comparision builtins.
6486
6487         * builtins.c (expand_tree_builtin): New function.
6488         * c-typeck.c (build_function_call): Use it.
6489         (build_binary_op): Support unordered compares.
6490         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
6491
6492         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
6493         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
6494         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
6495         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
6496         * jump.c (reverse_condition): Don't abort for UNLE etc, but
6497         return UNKNOWN.
6498         (swap_condition): Handle unordered compares.
6499         (thread_jumps): Check can_reverse before reversing.
6500         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
6501         reversed for FP.
6502
6503         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
6504         setcc is present before acking for cmp_optab.  Update all callers.
6505         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
6506         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
6507         * expr.c (expand_expr): Likewise.  Support unordered compares.
6508         (do_jump, do_store_flag): Likewise.
6509         * expr.h (enum libfunc_index): Add unordered compares.
6510
6511         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
6512         (DPBIT_FUNCS): Add _unord_df.
6513         * config/fp-bit.c (_unord_f2): New.
6514         * fp-test.c (main): Try unordered compare builtins.
6515
6516         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
6517         * alpha.c (alpha_comparison_operator): Check mode properly.
6518         (alpha_swapped_comparison_operator): Likewise.
6519         (signed_comparison_operator): Likewise.
6520         (alpha_fp_comparison_operator): New.
6521         (alpha_emit_conditional_branch): Handle unordered compares.
6522         * alpha.h (PREDICATE_CODES): Update.
6523         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
6524         (bunordered, bordered): New.
6525
6526 2000-01-24  Richard Henderson  <rth@cygnus.com>
6527
6528         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
6529         * alpha.md (movtf): New expander, insn, and splitter.
6530
6531 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
6532
6533         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
6534         dead registers.
6535
6536 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
6537
6538         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
6539         (FIXED_REGISTERS, CALL_USED_REGISTERS,
6540          REG_ALLOC_ORDER): Add frame pointer
6541         (FRAME_POINTER_REGNUM): Set to 20
6542         (HARD_FRAME_POINTER_REGNUM): New macro.
6543         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
6544         to HARD_FRAME_POINTER.
6545         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
6546         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
6547         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
6548         (HI_REGISTER_NAMES): Add "frame".
6549         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
6550         (debug_reg): Handle FRAME_POINTER_REGNUM.
6551         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
6552         GENERAL_REGS and INDEX_REGS.
6553         * i386.c (SAVED_REGS_FIRST): new macro.
6554         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
6555         (ix86_decompose_address, memory_address_length): Likewise.
6556         (regclass_map): Add frame pointer.
6557         (call_insn_operand): Handle frame_pointer_rtx.
6558         (reg_no_sp_operand): Likewise.
6559         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
6560         (print_operand, legitimize_pic_address): Fix formating.
6561         (ix86_compute_frame_size): Make static, update prototype, new
6562         parameters padding1, padding2, use ix86_nsaved_regs, use
6563         stack_alignment_needed.
6564         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
6565         to HARD_FRAME_POINTER_REGNUM conversions.
6566         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
6567         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
6568         (print_reg): Abort on FRAME_POINTER_REGNUM
6569
6570 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
6571
6572         * i386.h (PREDICATE_CODES): Add aligned_operand.
6573         * i386.c (aligned_operand): New function.
6574         (ix86_aligned_p): Kill.
6575         * i386.md (movhi_1): Emit mov for aligned operands.
6576         (promoting peep2s): Use aligned_operand.
6577
6578 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
6579
6580         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
6581         expression to allow underscores in macro names.
6582         (fix_char_macro_defines): Increment scanning pointer.
6583
6584 2000-01-23  Richard Henderson  <rth@cygnus.com>
6585
6586         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
6587         * alpha/osf5.h: New file.
6588         * configure.in (alpha-*-osf5): Add it to tm_file.
6589
6590         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
6591
6592         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
6593         (alpha_emit_xfloating_cvt, function_arg): Declare.
6594         * alpha.c (alpha_emit_conditional_branch): Call
6595         alpha_emit_xfloating_compare for TFmode compares.
6596         (alpha_lookup_xfloating_lib_func): New.
6597         (alpha_compute_xfloating_mode_arg): New.
6598         (alpha_emit_xfloating_libcall): New.
6599         (alpha_emit_xfloating_arith): New.
6600         (alpha_emit_xfloating_compare): New.
6601         (alpha_emit_xfloating_cvt): New.
6602         (print_operand): Add default abort case.
6603         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
6604         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
6605         (BIGGEST_ALIGNMENT): Increase to 128 bits.
6606         (RETURN_IN_MEMORY): True for TF/TCmode.
6607         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
6608         (FUNCTION_ARG): Move to function_arg.
6609         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
6610         (ASM_OUTPUT_LONG_DOUBLE): New.
6611         (ASM_OUTPUT_DOUBLE): Always output bits.
6612         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
6613         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
6614         (extenddftf2, trunctfdf2): New.
6615
6616 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6617
6618         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
6619         * config/sparc/sol2.h: ... here.
6620
6621 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6622
6623         * basic-block.h (struct loops): New field `levels'.
6624         * flow.c (flow_loops_level_compute): Traverse all outer loops.
6625         (flow_loop_level_compute): Initialise level to 1.
6626         (flow_loops_find): Set loops->levels.
6627         (flow_loops_dump): Print loops->levels.
6628
6629 2000-01-23  Richard Henderson  <rth@cygnus.com>
6630
6631         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
6632         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
6633
6634 2000-01-23  Richard Henderson  <rth@cygnus.com>
6635
6636         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
6637         * i386.h (DBX_REGISTER_NUMBER): Use them.
6638         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
6639         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
6640         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
6641         * i386/sequent.h: Kill incorrect comment.
6642
6643 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
6644
6645         * ggc-page.c (struct page_entry): Make `context_depth' an
6646         `unsigned short'.
6647         (struct globals): Likewise.
6648
6649 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
6650
6651         * loop.c (check_dbra_loop): When checking a loop for
6652         reversability, check the source of any stores to ensure
6653         they don't depend on an initial value.
6654
6655 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6656
6657         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
6658
6659 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
6660
6661         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
6662         'pz_scan' into scope of entire function.  Only affects
6663         compiles with -DDEBUG.
6664
6665 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
6666
6667         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
6668         section naming to that prior to 2000-01-07 patch.
6669         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
6670         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
6671         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
6672         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
6673         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
6674
6675 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
6676
6677         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
6678         constant.
6679
6680 2000-01-21  Jim Wilson  <wilson@cygnus.com>
6681
6682         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
6683         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
6684
6685 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
6686
6687         * cpphash.c (change_newlines): Delete function.
6688         (struct argdata): Delete 'newlines' and 'use_count' fields.
6689         (macroexpand): Remove code referencing those fields.
6690
6691 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6692
6693         * loop.c (loops_info): New variable.
6694         (loop_optimize): Allocate loops->array and free it on exit.
6695         Allocate memory for loops_info and assign to each loop,
6696         replacing alloca.
6697         (find_and_verify_loops): Do not allocate loops->array.
6698
6699 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
6700
6701         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
6702
6703 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
6704
6705         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
6706         pseudos if expanded after first flow.
6707         (movdi_pic_label_ref): Likewise.
6708
6709 2000-01-20  Richard Henderson  <rth@cygnus.com>
6710
6711         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
6712
6713 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
6714
6715         * Makefile.in (fixinc.sh): Depend on specs.
6716         * fixinc/Makefile.in: Add rule to create machname.h.
6717         (fixlib.o): Depend on machname.h.
6718         * fixinc/fixtests.c (machine_name): New test.
6719         * fixinc/fixfixes.c (machine_name): New fix.
6720         * fixinc/fixlib.c (mn_get_regexps): New helper function for
6721         the machine_name test and fix.
6722         * fixinc/fixlib.h: Prototype it.
6723         * fixinc/inclhack.def (machine_name): Use the C test and fix.
6724         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
6725
6726         * gcc.c (do_spec_1) [case P]: Take care not to create
6727         identifiers with three leading or trailing underscores.
6728
6729         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
6730         (fixincl): Don't specify libraries twice on link line.
6731         (gnu-regex.o): Remove special rule.
6732         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
6733         defined by config.h.  Do not define _REGEX_RE_COMP.
6734         (regcomp): Allocate and initialize a fastmap.
6735         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
6736
6737 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
6738
6739         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
6740
6741 2000-01-19  Richard Henderson  <rth@cygnus.com>
6742
6743         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
6744         arguments with BB.  Update all callers.  Tidy line wrapping.
6745
6746 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
6747
6748         * emit-rtl.c (try_split): Return last_insn if we split the
6749         last_insn.
6750
6751 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
6752
6753         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
6754         (ix86_initial_elimination_offset): Declare.
6755         * i386.c (ix86_nsaved_regs): Break out from ...
6756         (ix86_can_use_return_insn_p): ... here.
6757         (ix86_emit_save_regs): Break out from ...
6758         (ix86_expand_prologue): ... here.
6759         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
6760         out from ...
6761         (ix86_expand_epilogue): ... here.
6762         (ix86_compute_frame_size): Make static, add prototype.
6763         (ix86_initial_elimination_offset): Break out from ...
6764         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
6765
6766 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6767
6768         * recog.h (OUT_FCN): Delete.
6769
6770         * vax.md: Call `get_insn_template' instead of OUT_FCN.
6771
6772 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6773
6774         * cppalloc.c: PROTO -> PARAMS.
6775         * cpperror.c: Likewise.
6776         * cppfiles.c: Likewise.
6777         * cpplib.c: Likewise.
6778         * cpplib.h: Likewise.
6779
6780         * config/arm/arm-protos.h: PROTO -> PARAMS.
6781         * config/arm/arm.c: Likewise.
6782         * config/c4x/c4x.c: Likewise.
6783         * config/fr30/fr30-protos.h: Likewise.
6784         * config/nextstep.c: Likewise.
6785         * config/pa/pa.c: Likewise.
6786         * config/pj/pj.c: Likewise.
6787         * config/rs6000/rs6000.c: Likewise.
6788         * config/v850/v850-protos.h: Likewise.
6789         * config/v850/v850.c: Likewise.
6790
6791 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6792
6793         * i370-protos.h: New file.
6794
6795         * i370.c: Include tm_p.h.  Fix compile time warnings.
6796
6797         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
6798         warnings.
6799
6800         * i370.md: Likewise.
6801
6802 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6803
6804         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
6805         (target_isinf, target_isnan, eisnan): Mark parameter with
6806         ATTRIBUTE_UNUSED.
6807         (eiisinf): Wrap in INFINITY.
6808         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
6809         (ibmtoe): Remove unused variable `rndsav'.
6810
6811 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6812
6813         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
6814         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
6815
6816 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
6817
6818         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
6819         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
6820         (fix_char_macro_defines, fix_char_macro_uses): New functions.
6821
6822         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
6823         Recognize Emacs mode markers also.
6824         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
6825         C++ comments in C++ headers.  Call is_cxx_header only if
6826         necessary.
6827
6828         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
6829         bypass for ncurses.
6830         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
6831         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
6832         ... these, which use the new C fixes.
6833         (math_exception): Escape literal '+' in bypass expression.
6834
6835         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
6836         Regenerate.
6837
6838 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6839
6840         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
6841         inside the MEM.
6842
6843 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6844
6845         * loop.c (loop_optimize): Allocate loop_info structure for each loop
6846         prior to calling scan_loop.
6847
6848 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6849
6850         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
6851         (split_branches, calc_live_regs): Likewise.
6852
6853 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6854
6855         * sh.md (fpu_single, fp_mode): New attributes.
6856
6857 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6858
6859         * loop.c (current_loop_info): Renamed from loop_info_data
6860         and changed to a pointer.
6861         (loop_optimize): Allocate loop_info structure for each loop
6862         and initialise to zero.
6863         (scan_loop): Set current_loop_info.
6864
6865         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
6866         on iteration_var.
6867
6868 2000-01-19  Richard Henderson  <rth@cygnus.com>
6869
6870         * stupid.c: Die die die.
6871         * Makefile.in (OBJS): Remove stupid.o.
6872         (stupid.o): Likewise.
6873
6874         * except.c (emit_eh_context): Don't emit USEs for stupid.
6875         * explow.c (probe_stack_range): Likewise.
6876         * flags.h (obey_regdecls): Remove.
6877         * flow.c (find_basic_blocks): Don't run try_merge_blocks
6878         when not optimizing.
6879         (life_analysis): Limit data collection when not optimizing.
6880         (mark_regs_live_at_end): Always mark the return value registers.
6881         (mark_used_regs): Remove dummy RETURN case.
6882         (print_rtl_with_bb): Don't consult obey_regdecls.
6883         * function.c (use_variable, use_variable_after): Remove.
6884         (assign_parms): Consult optimize not obey_regdecls.
6885         (expand_function_start): Don't emit USEs for stupid.
6886         (expand_function_end): Likewise.
6887         * global.c (build_insn_chain): Export.
6888         * integrate.c (expand_inline_function): Kill return-value USE
6889         handling code.
6890         * jump.c (jump_optimize_1): Do simple jump optimizations and
6891         dead code elimination.
6892         (calculate_can_reach_end): Remove check_deleted argument.
6893         (delete_insn): Patch out insns even when not optimizing.
6894         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
6895         * rtl.h (use_variable, use_variable_after): Remove declarations.
6896         (build_insn_chain): Declare.
6897         * stmt.c (expand_value_return): Don't emit USEs for stupid.
6898         (expand_end_bindings): Likewise.
6899         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
6900         * toplev.c (obey_regdecls): Remove.
6901         (rest_of_compilation): Don't set it.  Kill stupid in favour of
6902         flow1, local-alloc, and reload.
6903         (main): Don't set obey_regdecls.
6904
6905         * config/nextstep.c (handle_pragma): Likewise.
6906
6907         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
6908
6909         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
6910
6911 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6912
6913         * alpha-protos.h: PROTO -> PARAMS.
6914         * alpha.c: Likewise.
6915         * elf.h: Likewise.
6916         * h8300.c: Likewise.
6917         * i386-protos.h: Likewise.
6918         * i386.c: Likewise.
6919         * m32r-protos.h: Likewise.
6920         * m32r.c: Likewise.
6921         * mips.c: Likewise.
6922         * mips.md: Likewise.
6923         * gmon-sol2.c: Likewise.
6924         * sparc.c: Likewise.
6925
6926 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6927
6928         * ns32k-protos.h: New file.
6929
6930         * ns32k.c: Fix compile time warnings.
6931
6932         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
6933         warnings.
6934
6935         * ns32k.md: Likewise.
6936
6937 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6938
6939         * vax-protos.h: New file.
6940
6941         * vax.c: Fix compile time warnings.
6942
6943         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
6944         warnings.
6945
6946         * vax.md: Likewise.
6947
6948         * vaxv.md: Likewise.
6949
6950 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6951
6952         * romp-protos.h: New file.
6953
6954         * romp.c: Fix compile time warnings.
6955
6956         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
6957         warnings.
6958
6959         * romp.md: Likewise.
6960
6961 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6962
6963         * we32k-protos.h: New file.
6964
6965         * we32k.c: Fix compile time warnings.
6966
6967         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
6968         warnings.
6969
6970 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6971
6972         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
6973
6974         * except.c (eh_regs): Likewise.
6975
6976         * final.c (output_operand): Likewise.
6977
6978         * fold-const.c (target_isinf, target_isnan): Likewise.
6979
6980 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
6981
6982         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
6983         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
6984
6985         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
6986         when optimize_size.
6987         (clrstrsi): Rewrite.
6988         (strsethi, strsetqi): New expanders.
6989         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
6990         (cmpstrsi): Emit compare insn before cmpstrsi_1
6991         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
6992         (strlensi_1): Likewise.
6993         (cmpstrsi_1): Likewise; do not output compare.
6994         (strlen expander): Do not unroll when optimizing for size.
6995         (*subsi3_carry): Rename to subsi3_carry
6996         (addqi3_cc): New pattern.
6997         * i386.h (processor_costs): Add move_ratio field.
6998         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
6999         * i386.c (*_cost): Set move_ratio.
7000         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
7001         (x86_expand_strlensi_1): Rewrite the main loop.
7002
7003 2000-01-17  Richard Henderson  <rth@cygnus.com>
7004
7005         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
7006         * cse.c (find_comparison_args, fold_rtx): Likewise.
7007         * integrate.c (subst_constants): Likewise.
7008         * loop.c (get_condition): Likewise.
7009
7010         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
7011
7012         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
7013
7014 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7015
7016         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
7017         (RESTORE_WARN_FLAGS): Unpack it.
7018         Change semantic type of extension to ttype.
7019         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
7020         * c-parse.y, c-parse.c, objc/objc-parse.y,
7021         objc/objc-parse.c: Regenerate.
7022
7023 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
7024
7025         * fixinc/fixlib.c: Add copyright notice.
7026         (compile_re): New function.
7027         * fixinc/fixlib.h: Prototype compile_re.
7028
7029         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
7030         Use compile_re to compile regular expressions.
7031
7032         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
7033         where the pattern matched.
7034
7035         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
7036         use 'replace'.
7037         (ultrix_ansi_compat): Likewise.
7038         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
7039         add egrep test.
7040         (interactv_add2, interactv_add3): Delete.
7041         (x11_sprintf): Don't use filename glob.
7042         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
7043         Regenerate.
7044
7045 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7046
7047         * print-rtl.c: PROTO -> PARAMS.
7048         * real.c: Likewise.
7049         * reg-stack.c: Likewise.
7050         * resource.c: Likewise.
7051         * sdbout.h: Likewise.
7052         * simplify-rtx.c: Likewise.
7053         * stor-layout.c: Likewise.
7054         * stupid.c: Likewise.
7055         * xcoffout.c: Likewise.
7056         * xcoffout.h: Likewise.
7057
7058 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7059
7060         * toplev.c: PROTO -> PARAMS.
7061         * toplev.h: Likewise.
7062         * tree.c: Likewise.
7063         * tree.h: Likewise.
7064         * unroll.c: Likewise.
7065         * varasm.c: Likewise.
7066         * varray.c: Likewise.
7067         * varray.h: Likewise.
7068
7069 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7070
7071         * reload.c: PROTO -> PARAMS.
7072         * reload.h: Likewise.
7073         * reload1.c: Likewise.
7074         * reorg.c: Likewise.
7075         * resource.h: Likewise.
7076         * rtl.c: Likewise.
7077         * rtl.h: Likewise.
7078         * rtlanal.c: Likewise.
7079         * sbitmap.h: Likewise.
7080         * sdbout.c: Likewise.
7081         * stack.h: Likewise.
7082         * stmt.c: Likewise.
7083         * system.h: Likewise.
7084
7085 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7086
7087         * machmode.h: PROTO -> PARAMS.
7088         * mbchar.h: Likewise.
7089         * mips-tdump.c: Likewise.
7090         * mips-tfile.c: Likewise.
7091         * optabs.c: Likewise.
7092         * output.h: Likewise.
7093         * prefix.c: Likewise.
7094         * profile.c: Likewise.
7095         * protoize.c: Likewise.
7096         * real.h: Likewise.
7097         * recog.c: Likewise.
7098         * recog.h: Likewise.
7099         * regclass.c: Likewise.
7100         * regmove.c: Likewise.
7101         * regs.h: Likewise.
7102
7103 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7104
7105         * ggc-common.c: PROTO -> PARAMS.
7106         * ggc-page.c: Likewise.
7107         * ggc-simple.c: Likewise.
7108         * ggc.h: Likewise.
7109         * global.c: Likewise.
7110         * graph.c: Likewise.
7111         * gthr-win32.h: Likewise.
7112         * haifa-sched.c: Likewise.
7113         * halfpic.h: Likewise.
7114         * integrate.c: Likewise.
7115         * integrate.h: Likewise.
7116         * jump.c: Likewise.
7117         * lcm.c: Likewise.
7118         * local-alloc.c: Likewise.
7119         * loop.c: Likewise.
7120         * loop.h: Likewise.
7121
7122 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7123
7124         * genattr.c: PROTO -> PARAMS.
7125         * genattrtab.c: Likewise.
7126         * gencheck.c: Likewise.
7127         * gencodes.c: Likewise.
7128         * genconfig.c: Likewise.
7129         * genemit.c: Likewise.
7130         * genextract.c: Likewise.
7131         * genflags.c: Likewise.
7132         * gengenrtl.c: Likewise.
7133         * genopinit.c: Likewise.
7134         * genoutput.c: Likewise.
7135         * genpeep.c: Likewise.
7136         * genrecog.c: Likewise.
7137
7138 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
7139
7140         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
7141
7142 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7143
7144         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
7145         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
7146         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
7147         * configure, config.in: Rebuilt.
7148
7149 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
7150
7151         * config/i386/i386.md: Add peephole to merge successive stack
7152         adjusts.
7153
7154 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
7155
7156         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
7157         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
7158         when walking backwards to find all the parameter loads when
7159         the basic block ends in a call.
7160
7161 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7162
7163         * loop.c (this_loop_info): Delete.
7164         (uid_loop): Add in place of uid_loop_num.  All uses updated.
7165         (loop_number_exit_count): Delete and replace with entry in loop
7166         structure.  All uses updated.
7167         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7168         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7169         (loop_outer_loop): Likewise.
7170         (loop_invalid, loop_number_exit_labels): Likewise.
7171         (loop_used_count_register): Delete and replace with entry in
7172         loop_info structure.
7173         (find_and_verify_loops): Add loops argument.
7174         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
7175         loop_end, etc. arguments with loop structure pointer.  All callers
7176         changed.
7177         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
7178         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
7179         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
7180         (insert_bct): Likewise.
7181         (basic_induction_var): New argument level.
7182         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
7183         vtop, and cont.  Add used_count_register.
7184         (uid_loop): Delete declaration.
7185         (loop_number_exit_count): Likewise.
7186         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7187         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7188         (loop_outer_loop, loop_used_count_register): Likewise.
7189         (loop_invalid, loop_number_exit_labels): Likewise.
7190         (unroll_loop): Replace loop_start and loop_end arguments
7191         with loop structure pointer.
7192         (loop_precondition_p, loop_iterations): Likewise.
7193         Include basic-block.h.
7194         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
7195         with loop structure pointer.
7196         (loop_precondition_p, loop_iterations): Likewise.
7197         * basic-block.h (struct loop): New entries vtop, cont,
7198         cont_dominator, start, end, top, scan_start, exit_labels,
7199         exit_count.
7200         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
7201
7202 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7203
7204         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
7205
7206 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
7207
7208         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
7209
7210 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7211
7212         * pdp11-protos.h: New file.
7213
7214         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
7215         time warnings.
7216
7217         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
7218         warnings.
7219
7220         * pdp11.md: Likewise.
7221
7222         * 2bsd.h: Likewise.
7223
7224 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7225
7226         * mn10300-protos.h: New file.
7227
7228         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7229         time warnings.
7230
7231         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
7232         warnings.
7233
7234         * mn10300.md: Likewise.
7235
7236 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7237
7238         * mn10200-protos.h: New file.
7239
7240         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
7241         time warnings.
7242
7243         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
7244         warnings.
7245
7246         * mn10200.md: Likewise.
7247
7248 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7249
7250         * h8300-protos.h: New file.
7251
7252         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7253         time warnings.
7254
7255         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
7256         warnings.
7257
7258         * h8300.md: Likewise.
7259
7260 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7261
7262         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
7263         (asm_emit_uninitialised): Likewise.
7264
7265 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
7266
7267         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
7268         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
7269
7270 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7271
7272         * config/mips/mips.c (override_options): Don't turn on extra
7273         alignment for mips16.
7274
7275 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7276
7277         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
7278         eabi, and make sure queued POSTINCREMENT rtl is emitted at
7279         the right point.
7280
7281 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7282
7283         * builtins.c (PAD_VARARGS_DOWN): Define.
7284         (std_expand_builtin_va_arg): Use the above macro.
7285         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
7286         * tm.texi (Register Arguments): Document the above macro.
7287
7288 2000-01-14  Nick Clifton  <nickc@cygnus.com>
7289
7290         * emit-rtl.c (emit_insn): If checking is enabled, make sure
7291         that this function has not been used to emit a jump
7292         instruction.
7293
7294         * jump.c (return_jump_1): Cope with being passed a null rtx.
7295
7296 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7297
7298         * eh-common.h: PROTO -> PARAMS.
7299         * emit-rtl.c: Likewise.
7300         * errors.c: Likewise.
7301         * errors.h: Likewise.
7302         * except.c: Likewise.
7303         * except.h: Likewise.
7304         * explow.c: Likewise.
7305         * expmed.c: Likewise.
7306         * expr.c: Likewise.
7307         * expr.h: Likewise.
7308         * final.c: Likewise.
7309         * fix-header.c: Likewise.
7310         * flow.c: Likewise.
7311         * fold-const.c: Likewise.
7312         * function.c: Likewise.
7313         * function.h: Likewise.
7314         * gcc.c: Likewise.
7315         * gcov-io.h: Likewise.
7316         * gcov.c: Likewise.
7317         * gcse.c: Likewise.
7318
7319 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7320
7321         * sh-protos.h: New file.
7322
7323         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
7324         Add static prototypes.  Fix compile time warnings.
7325
7326         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
7327         * sh.md: Likewise.
7328         * elf.h: Likewise.
7329
7330 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7331
7332         * arc-protos.h: New file.
7333
7334         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
7335         time warnings.
7336
7337         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
7338         warnings.
7339
7340         * arc.md: Likewise.
7341
7342 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7343
7344         * dsp16xx-protos.h: New file.
7345
7346         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
7347         time warnings.
7348
7349         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
7350         warnings.
7351
7352         * dsp16xx.md: Likewise.
7353
7354 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7355
7356         * convex-protos.h: New file.
7357
7358         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
7359         time warnings.
7360
7361         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
7362         warnings.
7363
7364 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7365
7366         * elxsi-protos.h: New file.
7367
7368         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
7369         time warnings.
7370
7371         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
7372         warnings.
7373
7374         * elxsi.md: Likewise.
7375
7376 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7377
7378         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
7379         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
7380         match the comment for MIPS16.
7381
7382 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
7383
7384         * flow.c (split_edge): Do not call set_block_for_insn if we
7385         do not have a basic_block_for_insn structure.
7386
7387         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
7388         and destination functions are 32bit aligned within the trampoline.
7389         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
7390         (TRAMPOLINE_ALIGNMENT): Define.
7391
7392         * cse.c (cse_insn): When changing (set (pc) (reg)) to
7393         (set (pc) (label_ref)), verify the change creates a valid insn.
7394
7395         * fr30.c (call_operand): Tighten and rework to match rules for
7396         call RTL expressions.
7397         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
7398         * fr30.md (call patterns): Improve constraints.
7399
7400 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
7401
7402         * fr30.c (fr30_expand_epilogue): Revert last change.
7403         Use emit_jump_insn for the return insn.
7404
7405 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
7406                           Stan Cox  <scox@cygnus.com>
7407
7408         * predict.c: New file. Preliminary infrastructure work for static
7409         branch prediction and basic block reordering.
7410         * basic-block.h: Add prototype for estimate_probability.
7411         * Makefile.in: Add rules for predict.o.
7412
7413 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
7414
7415         * fixincludes (va_list): Use __not_va_list__ for the dummy.
7416         * fixinc/*: Likewise.
7417
7418 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7419
7420         * cccp.c: PROTO -> PARAMS.
7421         * cexp.y: Likewise.
7422         * collect2.c: Likewise.
7423         * combine.c: Likewise.
7424         * convert.h: Likewise.
7425         * cse.c: Likewise.
7426         * dbxout.c: Likewise.
7427         * dbxout.h: Likewise.
7428         * diagnostic.c: Likewise.
7429         * doprint.c: Likewise.
7430         * dwarf2out.c: Likewise.
7431         * dwarf2out.h: Likewise.
7432         * dwarfout.c: Likewise.
7433         * dwarfout.h: Likewise.
7434         * dyn-string.h: Likewise.
7435
7436 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7437
7438         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
7439         macro conditionals guarding use.
7440
7441         * dwarf2out.c: Include "tm_p.h".
7442
7443         * function.c (locate_and_pad_parm): Mark parameter with
7444         ATTRIBUTE_UNUSED.
7445         (expand_function_end): Likewise for variable `context'.
7446
7447         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
7448
7449 2000-01-13  Nick Clifton  <nickc@cygnus.com>
7450
7451         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
7452         register to prevent compile time warnings.
7453
7454 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
7455
7456         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
7457         to avoid -Wtraditional warning.
7458
7459 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7460
7461         * 1750a-protos.h: New file.
7462
7463         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
7464         time warnings.
7465
7466         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
7467         warnings.
7468
7469         * 1750a.md: Likewise.
7470
7471 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7472
7473         * a29k-protos.h: New file.
7474
7475         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7476         time warnings.
7477
7478         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
7479         warnings.
7480
7481 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7482
7483         * clipper-protos.h: New file.
7484
7485         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
7486         time warnings.
7487
7488         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
7489         warnings.
7490
7491 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7492
7493         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
7494
7495 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
7496
7497         * configure.in (--enable-new-gxx-abi): New option.
7498         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
7499         * Makefile.in (GXX_ABI_FLAG): New variable.
7500         * configure: Regenerate.
7501
7502 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7503
7504         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
7505         * tm.texi (FORCE_STRUCT_BLK): Document.
7506         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
7507
7508 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
7509
7510         * config/ns32k/ns32k.md: Revert Jan 9 change.
7511
7512         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
7513         to a mode-test, if the predicate is address_operand.
7514
7515 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
7516
7517         * combine.c (if_then_else_cond): Be careful about what kinds
7518         of RTL expressions are passed to operand_subword.
7519
7520         * flow.c (split_edge): If we have to insert a new jump, make
7521         sure to associate it with a basic block.
7522
7523         * flow.c (commit_one_edge_insertion): A block with one successor
7524         can end in a JUMP_INSN that is not a simplejump.
7525
7526 2000-01-12  Robert Lipe  <robertl@sco.com>
7527
7528         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
7529         (BUILD_VA_LIST_TYPE): Define.
7530         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
7531         with crtstuff.c.
7532
7533 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
7534
7535         * cccp.c (do_pragma): Add cast to (char *).
7536
7537 2000-01-12  Richard Henderson  <rth@cygnus.com>
7538             Fred Fish  <fnf@be.com>
7539             Jason Merrill  <jason@cygnus.com>
7540
7541         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
7542         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
7543         * i386/beos-elf.h, i386/beos-pe.h: New files.
7544
7545         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
7546         * cross-make (SYSTEM_HEADER_DIR): Define using
7547         CROSS_SYSTEM_HEADER_DIR.
7548
7549         * gcc.c (LIBRARY_PATH_ENV): Provide default.
7550         (process_command): Use it.
7551         (main): Likewise.  Kill trailing = from env vars.
7552         (build_search_list): Put it back.
7553         * collect2.c (main): Use LIBRARY_PATH_ENV.
7554
7555         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
7556         * toplev.c: Use NEED_DECLARATION_ENVIRON.
7557
7558         * tm.texi (Frame Layout): Document SMALL_STACK.
7559         * c-common.c (c_common_nodes_and_builtins): Check it.
7560
7561         * system.h: Undef alloca after including glibc's <stdlib.h>,
7562         if USE_C_ALLOCA is defined.
7563
7564         * gcc.c (set_input): New fn.
7565         (main): After all input files are compiled, reset the input file
7566         info to the first.
7567
7568         * aclocal.m4 (rindex, index): If already defined, don't attempt
7569         to redefine.
7570
7571         * ginclude/varargs.h: (__va_list__): Define ifndef.
7572         * ginclude/stdarg.h: Likewise.
7573
7574         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
7575         instead of unsigned char.
7576
7577         * hash.h (true, false, boolean): Undef before enum.
7578
7579         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
7580         proper type of "HOST_WIDE_INT *", rather than their natural type of
7581         "unsigned HOST_WIDE_INT *".
7582
7583 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7584
7585         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
7586
7587         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
7588
7589         * regclass.c (choose_hard_reg_mode): Likewise.
7590
7591         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
7592
7593         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
7594
7595 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7596
7597         * c-common.c: PROTO -> PARAMS.
7598         * c-common.h: Likewise.
7599         * c-decl.c: Likewise.
7600         * c-iterate.c: Likewise.
7601         * c-lang.c: Likewise.
7602         * c-lex.c: Likewise.
7603         * c-lex.h: Likewise.
7604         * c-parse.in: Likewise.
7605         * c-pragma.c: Likewise.
7606         * c-pragma.h: Likewise.
7607         * c-tree.h: Likewise.
7608         * c-typeck.c: Likewise.
7609         * objc/objc-act.c: Likewise.
7610         * objc/objc-act.h: Likewise.
7611
7612 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7613
7614         * m88k-protos.h: New file.
7615
7616         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7617         time warnings.
7618
7619         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
7620
7621         * m88k.md: Likewise.
7622
7623         * tekXD88.h: Likewise.
7624
7625 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7626
7627         * m68k-protos.h: New file.
7628
7629         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7630         time warnings.
7631
7632         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
7633
7634         * mot3300.h: Likewise.
7635
7636 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
7637
7638         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
7639         extract_bitlst.
7640         (extract_bitlist): Declare bitlen.
7641
7642 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
7643
7644         * cccp.c: Accept and ignore -lang-fortran.
7645
7646         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
7647         qualifiers don't match at any level of pointerness.
7648
7649 2000-01-12  Robert Lipe  <robertl@sco.com>
7650
7651         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
7652
7653 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
7654
7655         * reload1.c (reload_reg_unavailable): New static variable.
7656         (reload_reg_free_p): Test it.
7657         (reload_reg_free_for_value_p): Test it instead of
7658         reload_reg_used.
7659         (choose_reload_regs_init): Compute it.
7660
7661 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
7662
7663         * reorg.c (fill_slots_from_thread): Check modified_in_p
7664         before replacing.
7665
7666 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
7667
7668         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
7669         these nodes even if INTERNALS is not set.
7670
7671 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
7672
7673         * gcse.c (delete_null_pointer_checks_1): Cope when
7674         get_condition cannot determine the condition.
7675
7676 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
7677
7678         * toplev.h (set_message_length): Declare.
7679
7680         * diagnostic.c (obstack_chunk_alloc): Define macro.
7681         (obstack_chunk_free): Likewise.
7682         (struct output_buffer): New data structure.
7683         (vmessage): Remove.
7684         (output_maximum_width): New variable.
7685         (doing_line_wrapping, set_message_length, init_output_buffer,
7686         get_output_prefix, output_space_left, emit_output_prefix,
7687         output_newline, output_append, output_puts, dump_output,
7688         vbuild_message_string, build_message_string, build_location_prefix,
7689         voutput_notice, output_printf, line_wrapper_printf,
7690         vline_wrapper_message_with_location):  New functions. Implement
7691         automatic line wrapping.
7692         (v_message_with_decl): Make it handle automatic line wrapping.
7693         (v_error_with_file_and_line): Likewise.
7694         (v_warning_with_file_and_line): Likewise.
7695         (announce_function): Likewise.
7696         (default_print_error_function): Likewise.
7697
7698 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
7699
7700         * cpplib.h (struct cpp_options): Change lang_asm to char.
7701         Add lang_fortran.
7702         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
7703         done in cpp_handle_option now.
7704         (initialize_builtins): Take out special case code used only by
7705         __STDC_VERSION__.
7706         (cpp_handle_option): Turn off trigraphs and trigraph warnings
7707         if -traditional.  Recognize -lang-fortran and set
7708         lang_fortran, also turn off cplusplus_comments.
7709         (print_help): Document -lang-fortran.
7710         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
7711         lang_asm. Ignore all directives other than `# 123 "file"' if
7712         CPP_PREPROCESSED.
7713         (cpp_get_token): If -traditional, don't recognize directives
7714         unless the # is in column 1.
7715         (parse_string): If lang_fortran or lang_asm, silently
7716         terminate strings ('' or "") at end of line.
7717         Remove unnecessary braces.
7718
7719 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7720             Richard Henderson  <rth@cygnus.com>
7721
7722         * resource.c (mark_referenced_resources): Mark a set strict_low_part
7723         as used.
7724         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
7725         strict_low_part when possible.
7726
7727 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7728
7729         * alias.c: PROTO -> PARAMS.
7730         * basic-block.h: Likewise.
7731         * bitmap.c: Likewise.
7732         * bitmap.h: Likewise.
7733         * builtins.c: Likewise.
7734         * c-aux-info.c: Likewise.
7735         * caller-save.c: Likewise.
7736         * calls.c: Likewise.
7737
7738 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7739
7740         * Makefile.in (toplev.o): Depend on regs.h.
7741
7742         * output.h (tdesc_section): Prototype.
7743
7744         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
7745
7746         * sdbout.c: Include "tm_p.h".
7747
7748         * toplev.c: Include "regs.h".
7749
7750 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
7751
7752         * unroll.c (unroll_loop): Add EH support.
7753
7754 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7755
7756         * pa-protos.h: New file.
7757
7758         * pa.c: Include recog.h and tm_p.h.
7759         (compute_zdepwi_operands, compute_movstrsi_length,
7760         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
7761         find_addr_reg, import_milli): Add static prototypes.
7762         (pa_cpu_string, pa_arch_string): Constify a char*.
7763         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
7764         (read_only_operand): Add argument `mode'.
7765         (singlemove_string, output_move_double, output_fp_move_double,
7766         output_block_move, output_and, output_ior, output_ascii,
7767         remove_useless_addtr_insns, milli_names, output_mul_insn,
7768         output_div_insn, output_mod_insn, output_arg_descriptor,
7769         output_cbranch, output_bb, output_bvb, output_dbra, ,
7770         output_millicode_call, output_call, hppa_encode_label,
7771         output_parallel_movb, output_parallel_addb): Constify a char*.
7772         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
7773         (output_parallel_addb): Remove extra arg to `constrain_operands'
7774
7775         * pa.h:  Move all prototypes to pa-protos.h.
7776         (pa_cpu_string, pa_arch_string): Constify a char*.
7777         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
7778
7779         * pa.md: Call `function_label_operand' with mode argument.
7780         Likewise for `read_only_operand'.
7781         Fix nesting of parens in call to `symbolic_operand'.
7782
7783 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7784
7785         * i860-protos.h: New file.
7786
7787         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
7788         time warnings.
7789
7790         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
7791
7792         * i860.md: Likewise.
7793
7794 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
7795
7796         * i386.md (movstrsi expander): Rewrite.
7797         (movstrsi_1 insn): Deleted.
7798         (strmovhi, strmovqi expander): New expanders.
7799         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
7800         * i386.c (x86_single_stringop): New global variable.
7801         * i386.h (x86_single_stringop): Declare.
7802         (TARGET_SINGLE_STRINGOP): New macro.
7803
7804 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
7805
7806         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
7807         integer vararg POSTINCREMENT before the destination of the jump
7808         for the hard fp case.
7809         (function_arg_pass_by_reference): Pass a copy of CUM to
7810         FUNCTION_ARG.
7811
7812         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
7813         for CONSTANT_ADDRESS_P above while loop for subreg.
7814
7815 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
7816
7817         * flow.c (propagate_block): When a prologue/epilogue insn
7818         is marked dead, unconditionally clear libcall_is_dead and
7819         insn_is_dead, and only dump rtl if warnings aren't being
7820         suppressed.
7821
7822 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
7823
7824         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
7825         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
7826         (FIXED_REGISTERS): Set dirflag as fixed.
7827         (CALL_USED_REGISTERS): Set dirflag as used.
7828         (REG_ALLOC_ORDER): Set dirflag as last one.
7829         (DIRFLAG_REG): New macro.
7830         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
7831         (HI_REGISTER_NAMES): Add dirflag.
7832         (DEBUF_PRINT_REG): Handle dirflag.
7833         * i386.md (type attribute): New cld and str types.
7834         (length_opcode attribute): Set cld and str to 1.
7835         (memory attribute): Set str to unknown - it is not clear from the
7836         patterns.
7837         (pent_np function unit): Prefixed string operations takes 12 cycles
7838         minimally; cld takes 2 cycles.
7839         (ppro_uops attribute): Str is "many" and cld is "few".
7840         (ppro_p0 unit): Handle cld here.
7841         (k6_alux unit): Handle cld and str types.
7842         (k6_load unit): It is ocupied by str opcodes.
7843         (k6_store unit): It is ocupied by str opcodes.
7844         (athlon_decode): Str is vector decoded.
7845         (athlon_ieu): Handle str and cld.
7846         (cld pattern): New.
7847         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
7848         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
7849         cmpstrsi_nz_1 insn): Do not output cld instruction
7850
7851 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
7852
7853         * gcc.texi (G++ and GCC): Add Java and Chill.
7854         (Bug Critera): Don't list languages.
7855
7856         * gcc.texi (Incompatibilities): No longer claim most C compilers
7857         are K&R.
7858
7859         * gcc.texi (G++ and GCC): Update other front-ends list.
7860
7861 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
7862
7863         * i386.c (ix86_expand_setcc): Fix typo.
7864         (ix86_expand_movcc): Similarly.
7865
7866         * Band-aid until haifa's bitset implementation is nuked.
7867         * haifa-sched.c (extract_bitlst): New parameter for size of the
7868         bitset in bits.  All callers changed.  Avoid looking at undefined
7869         bits in the bitset.
7870         (edgeset_bitsize): New variable.
7871         (schedule_region): Initialize edgeset_bitsize.
7872
7873 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7874
7875         * Makefile.in (optabs.o): Depend on real.h
7876         (resource.o): Depend on insn-attr.h
7877
7878         * builtins.c (result_vector): Wrap prototype in macro conditions
7879         governing definition and use.
7880
7881         * c-common.c: Include tm_p.h.
7882
7883         * c-lex.c: Likewise.
7884
7885         * elfos.h: Constify a char*.
7886
7887         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
7888         (get_attr_length, shorten_branches, profile_after_prologue): Mark
7889         parameter with ATTRIBUTE_UNUSED.
7890
7891         * fold-const.c (exact_real_inverse): Wrap variable `i' in
7892         CHECK_FLOAT_VALUE.
7893
7894         * haifa-sched.c (schedule_insns): Mark parameter with
7895         ATTRIBUTE_UNUSED.
7896
7897         * optabs.c: Include real.h.
7898
7899         * real.h (ereal_atof): Add prototype arguments.
7900
7901         * resource.c: Include insn-attr.h.
7902
7903         * sdbout.c (sdbout_queue_anonymous_type,
7904         sdbout_dequeue_anonymous_types): Wrap in macro
7905         SDB_ALLOW_FORWARD_REFERENCES.
7906         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
7907         ATTRIBUTE_UNUSED.
7908
7909         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
7910
7911         * stupid.c: Include tm_p.h.
7912
7913         * tree.c (real_value_from_int_cst): Mark parameter with
7914         ATTRIBUTE_UNUSED.
7915
7916 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7917
7918         * i960-protos.h: New file.
7919
7920         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
7921         time warnings.
7922
7923         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
7924
7925 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7926
7927         * combine.c (expand_field_assignment): Do not discard SUBREGs
7928         while computing nonzero_bits.
7929
7930 2000-01-09  Nick Clifton  <nickc@cygnus.com>
7931
7932         * config/arm/arm.c: Fix compile time warnings about signed vs
7933         unsigned constants.
7934         * config/arm/arm.h: Fix compile time warnings about signed vs
7935         unsigned constants.
7936
7937 2000-01-09  Philip Blundell  <philb@gnu.org>
7938
7939         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
7940         than `ldm' with only one register.
7941         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
7942         only one register.
7943
7944         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
7945         clobbered.
7946
7947 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
7948
7949         * config/ns32k/ns32k.md (load or push effective address): Operand 1
7950         must have SImode.
7951
7952 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7953
7954         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
7955         assignment used as truth value.
7956
7957         * function.c (assign_temp): Mark parameter `dont_promote' with
7958         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
7959         PROMOTE_FOR_CALL_ONLY.
7960
7961         * genrecog.c (write_subroutine): Mark variable `operands' with
7962         ATTRIBUTE_UNUSED.
7963
7964         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
7965         ATTRIBUTE_UNUSED.
7966
7967         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
7968         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
7969
7970         * toplev.c (note_deferral_of_defined_inline_function): Likewise
7971         for `decl'.
7972
7973 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7974
7975         * config/c4x.h: Tidy up comments.
7976         * config/c4x.c: Likewise.
7977
7978 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
7979
7980         * fold-const.c (lshift_double, rshift_double): Handle
7981         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
7982
7983 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7984
7985         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
7986         in prepare_function_start().
7987
7988 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
7989
7990         * config/v850/v850.c (expand_epilogue): Interrupt functions no
7991         longer allocate extra stack for function calls.
7992
7993 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7994
7995         * config/c4x/c4x.md (*subqf3_set): Fix typo.
7996
7997 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7998
7999         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
8000
8001 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
8002
8003         * rs6000.c (processor_target_table): Add power3 as alias for 630.
8004         * aix43.h: Revert Aug 2 change.
8005         (HAS_INIT_SECTION): Define, not visible yet.
8006         (LD_INIT_SWITCH): Define, not visible yet.
8007         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
8008
8009         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
8010
8011         * collect2.c (main): Expand ld2 size further.
8012         (export_object_lst): Cast assignment to avoid warning.
8013         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
8014         (scan_prog_file, COFF): Do not collect initialization or
8015         finalization functions generated for entire shared object if
8016         init/fini support present.
8017
8018 2000-01-07  Nick Clifton  <nickc@cygnus.com>
8019
8020         * config/elfos.h: Tidy up formatting of marcos.  Make sure
8021         that .section directives are always prefixed by a tab.
8022
8023         * config/svr4.h: Add #include "elfos.h" and remove duplicate
8024         definitions.
8025
8026 2000-01-07  Matt Austern  <austern@sgi.com>
8027
8028         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
8029         expon.
8030
8031 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
8032
8033         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
8034         crtstuff.c.
8035         (crtbegin.o, s-crtS): Likewise.
8036
8037 2000-01-06  Richard Henderson  <rth@cygnus.com>
8038
8039         * alpha.md (adddi_2+1): Limit offset such that it will be
8040         loadable with a single ldah+lda pair.
8041         (adddi_2+2): Explicitly fail split if we can't make it work.
8042
8043 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
8044
8045         * protoize.c: Conditionally include unistd.h.
8046         (IS_SAME_PATH_CHAR): New macro.
8047         (IS_SAME_PATH): New macro.
8048         (CPLUS_FILE_SUFFIX): New macro.
8049         (cplus_suffix): New static variable.
8050         (is_abspath): New static function.
8051         (in_system_include_dir): Handle DOS style pathnames.
8052         (file_could_be_converted): Likewise.
8053         (file_normally_convertible): Likewise.
8054         (directory_specified_p): Likewise.
8055         (file_excluded_p): Likewise.
8056         (abspath): Likewise.
8057         (shortpath): Likewise.
8058         (referenced_file_is_newer): Likewise.
8059         (save_def_or_dec): Likewise.
8060         (do_processing): Likewise.
8061         (main): Likewise.
8062         (edit_file): Likewise. Use rename instead of link.
8063         (rename_c_file): Likewise. Don't rename syscalls file.
8064         (munge_compile_params): Define null device for DOS based systems.
8065         (process_aux_info_file): Use binary mode if appliable.
8066         (edit_file): Likewise.
8067         * invoke.texi (Running Protoize): Document C++ suffixes used.
8068
8069         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
8070         IS_DIR_SEPARATOR macros.
8071         * collect2.c: Likewise.
8072         * cppinit.c: Likewise.
8073         * dwarf2out.c: Likewise.
8074         * gcc.c: Likewise.
8075         * gcov.c: Likewise.
8076         * prefix.c: Likewise.
8077         * rtl.c: Likewise.
8078         * toplev.c: Likewise.
8079         * system.h: And move to here.
8080
8081         * prefix.c (update_path): Fix typo in variable name.
8082
8083 2000-01-06  Richard Henderson  <rth@cygnus.com>
8084
8085         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
8086         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
8087         (count_reg_sets_1, count_reg_references): Likewise.
8088         (flow_loops_level_compute): Start counting actual loop depth at 1.
8089         (flow_loops_find): Likewise.
8090         * local-alloc.c (update_equiv_regs): Likewise.
8091         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
8092
8093 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
8094
8095         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
8096         FIRST_PSEUDO_REGISTER
8097         * dwarf2out.c: Don't include frame.h
8098         * dwarfout.c: Likewise
8099         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
8100         frame.h
8101
8102 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
8103
8104         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8105         dead registers.
8106
8107         * i386.c (movsf splitter): Fix typo in my last checkin.
8108
8109 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8110
8111         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
8112         own definition of this macro.
8113         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
8114         flag_data_sections or UNIQUE_SECTION_P are true.
8115
8116         * tm.texi (UNIQUE_SECTION): Document that it can be called for
8117         unitialised data decls.
8118
8119         * config/i386/winnt.c (i386_pe_unique_section): Cope with
8120         being called for uninitialised data.
8121
8122         * config/i386/interix.c (i386_pe_unique_section): Cope with
8123         being called for uninitialised data.
8124
8125         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
8126         for uninitialised data.
8127
8128         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
8129         for uninitialised data.
8130
8131         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
8132         for uninitialised data.
8133
8134         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
8135         (UNIQUE_SECTION_P): Always generate a unique section if
8136         flag_data_sections is true.
8137         (UNIQUE_SECTION): Also generate unique sections for
8138         uninitialised data.
8139         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
8140         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
8141         named_section().
8142
8143 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8144
8145         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
8146         SI, or DI.
8147
8148 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8149
8150         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
8151         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
8152         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
8153         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
8154         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
8155
8156         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
8157
8158 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
8159
8160         * c-decl.c (finish_enum): Simplify code to determine minimum and
8161         maximum values of the enum, and calculate the type.  Remove check
8162         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
8163         the DECL_INITIAL of each enumeration constant with a copy converted
8164         to the enumeration type.  When updating variant types, don't bother
8165         updating the type itself.
8166
8167         * c-typeck.c (build_binary_op): Simplify conditional expressions
8168         when weeding out spurious signed-unsigned warnings.  Add new
8169         spurious warning category: if the unsigned quantity is an enum
8170         and its maximum value fits in signed_type(result_type).  Update
8171         commentary.
8172         (build_conditional_expr): Warn here if one alternative is signed
8173         and the other is unsigned.
8174
8175 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8176
8177         * config/fr30/fr30.h: Remove extraneous comments.
8178
8179 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
8180
8181         * reload1.c (choose_reload_regs): When disabling a reload, also
8182         set reload_spill_index to -1.
8183
8184 2000-01-04  Joel Sherrill (joel@OARcorp.com>
8185
8186         * configure.in (m68*-*-rtemscoff*): New target, formal name for
8187         old m68*-*-rtems*.
8188         (m68*-*-rtemself*): New target.
8189         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
8190         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
8191         (sparc*-*-rtemself*): New target.
8192         (sparc*-*-rtems*): Now elf not a.out.
8193         * config/i386/rtems.h: Include config/rtems.h.
8194         * config/i386/rtemself.h: Include config/rtems.h.
8195         * config/i960/rtems.h: Include config/rtems.h.
8196         * config/m68k/rtems.h: Include config/rtems.h.
8197         * config/m68k/rtemself.h: Include config/rtems.h.
8198         * config/mips/rtems64.h: Include config/rtems.h.
8199         * config/pa/rtems.h: Include config/rtems.h.
8200         * config/rs6000/rtems.h: Include config/rtems.h.
8201         * config/sh/rtems.h: Include config/rtems.h.
8202         * config/sh/rtemself.h: Include config/rtems.h.
8203         * config/sparc/rtems.h: Include config/rtems.h.
8204         * config/sparc/rtemself.h: Include config/rtems.h
8205
8206 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
8207
8208         * final.c (shorten_branches): Correctly compute length of
8209         asms without operands.
8210
8211 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
8212
8213         * configure.in: Add pj target.
8214         * configure: Regenerate.
8215         * config/pj: New directory.
8216         * config/pj/lib1funcs.S: New file.
8217         * config/pj/linux.h: New file.
8218         * config/pj/pj.c: New file.
8219         * config/pj/pj.md: New file.
8220         * config/pj/pjl.h: New file.
8221         * config/pj/t-pj: New file.
8222         * config/pj/xm-pj.h: New file
8223
8224 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
8225
8226         * toplev.c (rest_of_compilation): Run shorten-branches before
8227         reg-stack for now.
8228
8229 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8230
8231         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
8232         macros so that they're consistent with their names.
8233         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8234         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8235
8236 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8237
8238         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
8239         modified inadvertently.
8240
8241 2000-01-04  Joel Sherrill <joel@OARcorp.com>
8242
8243         * configure.in (v850*-*-rtems*): New target.
8244         * configure: Regenerate.
8245         * config/v850/rtems.h: New file.
8246
8247 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
8248
8249         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
8250         (__gthread_key_create): Likewise.
8251         (__gthread_key_dtor):  Likewise.
8252         (__gthread_once): Fix logic.
8253         (__gthread_key_delete): Cast away constness.
8254
8255         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
8256         * invoke.texi: Document.
8257         * i386/mingw32.h (CPP_SPEC): Use.
8258         (LIBGCC_SPEC): Likewise.
8259         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
8260
8261 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8262
8263         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
8264         (HANDLE_PRAGMA_PACK): Undefine.
8265         (SLOW_UNALIGNED_ACCESS): Define.
8266
8267 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8268
8269         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8270         to default definition.
8271         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
8272         (store_fixed_bit_field): Call macro with word_mode and alignment.
8273         (extract_bit_field): Call macro with relevant mode and alignment.
8274         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8275         to default definition.
8276         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
8277         and alignment.
8278         (move_by_pieces_ninsns): Likewise.
8279         (clear_by_pieces): Likewise.
8280         (emit_push_insn): Likewise.
8281         (store_field): Call macro with relevant mode and alignment.
8282         (expand_expr): Likewise.
8283         (expand_expr_unaligned): Likewise.
8284
8285         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
8286         (SLOW_UNALIGNED_ACCESS): Define.
8287         (CASE_VECTOR_MODE): Always use 32-bit offsets.
8288         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
8289         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
8290         (toc_section): Likewise and .toc pseudo-op.
8291         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
8292         64-bit mode.
8293         (TEXT_SECTION_ASM_OP): Likewise.
8294         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
8295         32-bit offsets.
8296
8297         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
8298         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
8299         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
8300         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
8301         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
8302
8303 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
8304
8305         * regclass.c: Revert my Jan 4 change to loop cost computation.
8306
8307 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8308
8309         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
8310         compilation.
8311
8312 2000-01-04  Stan Cox  <scox@cygnus.com>
8313
8314         * haifa-sched.c (build_control_flow): Change unreachable simple
8315         loop test to check if current block has only one predecessor.
8316         (find_rgns): Initialize degree.  Use dest as degree index, not src.
8317
8318 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8319
8320         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
8321
8322         * calls.c (expand_call): Likewise for
8323         `old_stack_arg_under_construction'.
8324
8325         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
8326
8327         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
8328         `save_constant'.
8329
8330         * gcc.c (execute): Likewise for `ut' and `st'.
8331
8332         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
8333
8334         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
8335
8336         * jump.c (jump_optimize_1): Likewise for `temp2'.
8337
8338         * local-alloc.c (block_alloc): Likewise for `r1'.
8339
8340         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
8341
8342         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
8343         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
8344
8345         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
8346         and `set2'.
8347
8348         * reload.c (find_reloads): Likewise for `goal_alternative_number'
8349         and `goal_earlyclobber'.
8350
8351         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
8352
8353         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
8354
8355         * stupid.c (stupid_life_analysis): Likewise for `chain'.
8356
8357         * unroll.c (copy_loop_body): Likewise for `copy'.
8358
8359         * varasm.c (output_constructor): Likewise for `byte'.
8360
8361 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8362
8363         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
8364         all FP constants for constant->reg moves.
8365         (ix86_split_to_parts): Try to convert memory address into immediate
8366         when available in the constant pool.
8367         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
8368         moves.
8369         (LEGITIMATE_CONSTANT_P): Return 1.
8370         * i386.md (pushsf): New splitter to convert constant pool memory
8371         reference to immediate.
8372         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
8373         reload.
8374
8375 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
8376
8377         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
8378         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
8379         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
8380         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
8381         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
8382
8383 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
8384
8385         * ginclude/stdbool.h:  Support compilation as C++.
8386
8387 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8388
8389         * fold-const.c (make_range): Don't try to reverse an unbounded range.
8390
8391 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
8392
8393         * regclass.c (regclass): Properly compute loop_cost.  Adjust
8394         comments.
8395
8396         * regclass.c: Fix minor whitespace problems.
8397
8398 2000-01-03  Anthony Green  <green@cygnus.com>
8399
8400         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
8401         Restore the pic register if required.
8402
8403 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
8404
8405         * c-common.c (format_char_info): Update comment.
8406         (check_format_info): Recognize 'z' modifier in the same way 'Z'
8407         was recognized.  Emit warning for formats new in ISO C99 only
8408         if flag_isoc9x is not set.
8409
8410 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
8411
8412         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
8413
8414 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8415
8416         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
8417         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
8418         (make_compound_operation): Choose cheaper alternative between
8419         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
8420
8421         * regclass.c (op_costs): Remove global variable.
8422         (record_reg_classes): New parameter "op_costs" and "reg_pref".
8423         (record_operand_costs): Break out from ...
8424         (scan_one_insn): ... here.
8425         (dump_regclass): Make dumps nicer.
8426         (regclass): Dump preferrences choosed and changes done during passes.
8427
8428 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
8429
8430         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
8431
8432 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
8433
8434         * config/sparc/sparc.c (gen_df_reg): New function.
8435         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
8436         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
8437         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
8438         movtf_cc_reg_sp64+1): Use it.
8439
8440 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
8441
8442         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
8443         copied LABEL_DECLs.
8444
8445 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8446
8447         * config/i386/i386.c (ix86_expand_unary_operator): Function
8448         definition made void.
8449         (ix86_expand_binary_operator): Update outdated preceding comment.
8450         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
8451         prototype.
8452
8453         * config/i386/i386.c (override_options): Fix option-name typo.
8454
8455 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
8456
8457         * system.h (CEIL): Define.
8458         * builtins.c (CEIL): Remove.
8459         * expmed.c (CEIL): Likewise.
8460         * expr.c (CEIL): Likewise.
8461         * stor-layout.c (CEIL): Likewise.
8462
8463 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8464
8465         * expr.c (store_constructor_field): Fix typo introduced with last
8466         gcc2 merge.
8467
8468 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
8469
8470         * tree.h (BINFO_N_BASETYPES): New macro.
8471
8472 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
8473
8474         * expmed.c (emit_store_flag): Prevent losing a pending stack
8475         adjust the same way we prevent losing queued increments.
8476
8477 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8478
8479         * function.c (update_temp_slot_address): Handle case where sum of
8480         temporary address plus offset in register is a valid address.
8481
8482 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
8483
8484         * genrecog.c (change_state) Corrected typo.
8485
8486 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8487
8488         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
8489         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
8490         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
8491
8492 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
8493
8494         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
8495         case, expand GT comparisons correctly.  Fix a comment before this
8496         part of the code.
8497
8498 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
8499
8500         * dwarfout.c: Include "frame.h"
8501         * dwarf2out.c: Likewise.
8502         * Makefile.in (dwarfout.o): Depend on frame.h
8503         (dwarf2out.o): Likewise.
8504
8505 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
8506
8507         Restore i386 binary compatibility in Dwarf EH info.
8508         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
8509         value of FIRST_PSEUDO_REGISTER.
8510         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
8511         (struct frame_state): Use DWARF_FRAME_REGISTERS.
8512         * dwarfout.c (output_reg_number): Ditto.
8513         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
8514         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
8515
8516 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
8517
8518         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
8519         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
8520         (<hack>_RE_CT): not needed
8521         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
8522         rewritten to scan the file text once only
8523         "template<..." test added
8524         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
8525         (is_cxx_header): declaration added
8526         * fixinc/fixtests.c(is_cxx_header): removed
8527         (apply_fix_p_t): removed
8528         (double_slash_test): is_cxx_header is only called once now
8529         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
8530         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
8531         within the templates.
8532         The borken spelling of "broken" was fixed.
8533         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
8534         The default level depends on FIXINC_DEBUG.
8535
8536 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8537
8538         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
8539         Otherwise provide a declaration for atexit.
8540         (init_dummy): Make sure dummy call to atexit is nevertheless
8541         called with correct number of args.
8542
8543         * frame.c: Update comments referring to other files.
8544
8545         * libgcc2.c: Likewise.
8546
8547 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8548
8549         * cse.c (free_element, get_element): Remove unused prototypes.
8550
8551         * fold-const.c (extract_muldiv): Initialize variables `op0' and
8552         `op1'.
8553
8554         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
8555         `else' clauses.
8556
8557 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
8558
8559         * configure.in,configure: case arm for mn10200-*-* now sets
8560         float_format=i32 so that float.h will correctly claim "double"
8561         to be 32 bits. Ran autoconf to generate configure from .in file.
8562
8563 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
8564
8565         * pa.md (conditional zero): If op1 is a register, force it into
8566         the same register as op0.
8567
8568 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
8569
8570         * tree.h (BINFO_BASETYPES): Improve documentation.
8571
8572 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8573
8574         * configure.in (--enable-checking): Use a more portable `for'
8575         loop syntax.
8576
8577 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8578
8579         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
8580         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
8581
8582         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
8583         Delete files.
8584
8585         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
8586         Delete descriptions.
8587
8588         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
8589         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
8590         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
8591         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
8592         xm-svr4.h: Remove all instances of sys_siglist handling.
8593
8594 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
8595
8596         * config/sparc/sparc.md (cmp_zero_qi,
8597         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
8598         cmp_zero_extendqidi2_andcc_set): New patterns.
8599
8600 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
8601
8602         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
8603         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
8604         (fpgnulib.c, xfgnulib.c): Add rules.
8605         * m68k/t-mot3300-gas: Likewise.
8606
8607 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
8608
8609         * configure.in: Avoid [[ by using test and changequote.  Add
8610         changequote required by 1999-12-14 change.
8611         * configure: Rebuild.
8612
8613 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
8614
8615         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
8616
8617 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
8618
8619         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
8620         * flow.c (find_use_as_address): Likewise.
8621         * function.c (fixup_var_refs_1): Likewise.
8622         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
8623         * jump.c (invert_exp, redirect_exp): Likewise.
8624         * loop.c (replace_call_address): Likewise.
8625         (count_nonfixed_reads): Likewise.
8626         * rtlanal.c (modified_between_p): Likewise.
8627         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
8628         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
8629         * unroll.c (remap_split_bivs): Likewise.
8630
8631 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8632
8633         * diagnostic.c (v_message_with_decl): Use .* format specifier
8634         instead of building the format specifier width manually.
8635
8636         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
8637         determining whether to provide a prototype.  Remove the
8638         sys_siglist clause in the conditional.
8639
8640 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8641
8642         * fold-const.c (operand_equal_p): Use memcmp to compare string
8643         constants.
8644         Suggested by D. J. Bernstein
8645
8646 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
8647
8648         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
8649         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
8650         compiling libgcc2.
8651         * config/mips/mips.h (TARGET_64BIT): Likewise.
8652         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
8653         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
8654         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
8655         dsps.  Give routines proper names if SI/DI modes are not used.
8656         * longlong.h: Use DWunion instead of DIunion.
8657
8658 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
8659
8660         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
8661         GC_CHECKING, GC_ALWAYS_COLLECT.
8662         * configure.in: Allow --enable-checking with an argument
8663         listing check modes to enable.
8664         * config.in, configure: Rebuilt.
8665         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
8666         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
8667         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
8668         ENABLE_GC_ALWAYS_COLLECT.
8669         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
8670         throughout.
8671         * tree.h, tree.c: Change ENABLE_CHECKING to
8672         ENABLE_TREE_CHECKING throughout.
8673
8674 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8675
8676         * fold-const.c (fold_truthop): Properly check for FP RHS.
8677
8678 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
8679
8680         * toplev.h (note_deferall_of_defined_inline_function): Declare.
8681         * toplev.c (note_deferral_of_defined_inline_function): New
8682         function, split out from ...
8683         (rest_of_compilation): ... here.  Use it.
8684
8685 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8686
8687         * expr.c (store_constructor): Don't call clear_storage if size is
8688         variable.
8689
8690 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8691
8692         * Makefile.in (toplev.o): Depend on loop.h.
8693
8694         * dwarfout.c: Include tm_p.h.
8695
8696         * emit-rtl.c (restore_emit_status): Mark parameter with
8697         ATTRIBUTE_UNUSED.
8698
8699         * final.c (final_scan_insn): Likewise.
8700
8701         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
8702         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
8703         flow_depth_first_order_compute, flow_loop_pre_header_find,
8704         flow_loop_tree_node_add, flow_loops_tree_build,
8705         flow_loop_level_compute, flow_loops_level_compute,
8706         flow_loop_outside_edge_p): Add prototypes.
8707         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
8708
8709         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
8710         Mark with ATTRIBUTE_NORETURN.
8711
8712         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
8713
8714         * local-alloc.c (no_conflict_p): Likewise.
8715
8716         * loop.c (insert_bct): Hide definitions of variables with hidden
8717         usage.
8718         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
8719
8720         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
8721         with ATTRIBUTE_UNUSED.
8722         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
8723         (reg_scan): Likewise.
8724
8725         * reload.c (find_reloads): Remove unused variables `changed'.
8726
8727         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
8728         away const-ness.
8729         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
8730         Remove unused variable `insn'.
8731
8732         * toplev.c: Include loop.h.
8733         (report_file_and_line): Remove unnecessary prototype.
8734
8735         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
8736
8737         * unroll.c (biv_total_increment): Likewise.
8738
8739 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8740
8741         * reload1.c (emit_input_reload_insns): Restore old behaviour
8742         wrt. 'special' reloads.
8743
8744 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
8745
8746         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
8747         hash.h.  (cse.c): Don't depend on hashtab.h.
8748
8749         * cse.c: Don't include hashtab.h.
8750         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
8751         of dead functions.
8752         * ggc-simple.c: Don't include hash.h.
8753
8754 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
8755
8756         * dwarf2out.c (add_abstract_origin_attribute): Call
8757         gen_abstract_function on our function context.
8758
8759 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
8760
8761         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
8762
8763 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8764
8765         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
8766         case in switch.
8767
8768 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8769
8770         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
8771         constraints to "a!r".
8772
8773 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
8774
8775         * Makefile.in (calls.o): Depend on function.h.
8776         (alias.o): Likewise.
8777
8778 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
8779
8780         * reload1.c (emit_reload_insns): Break out code and variables into...
8781         (input_reload_insns, other_input_address_reload_insns,
8782         other_input_reload_insns, input_address_reload_insns,
8783         inpaddr_address_reload_insns, output_reload_insns,
8784         output_address_reload_insns, outaddr_address_reload_insns,
8785         operand_reload_insns, other_operand_reload_insns,
8786         other_output_reload_insns): ... new static variables, and...
8787         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
8788         do_output_reload): ... new functions.
8789
8790 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8791
8792         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
8793
8794 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8795
8796         * md.texi: Add c4x constraints documentation.
8797
8798 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8799
8800         * config/i386/dgux.c (struct option): Rename to
8801         lang_independent_option.
8802         (struct m_options): Add description field.
8803         (output_options): Rename option type, add sep declaration, output
8804         ix86_cpu_string and ix86_arch_string only if set.
8805         (output_file_start): Rename option type.
8806
8807 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
8808
8809         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
8810         stmp-int-hdrs.
8811         (libgcc2.a): Similarly.
8812
8813 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
8814
8815         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
8816         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
8817         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
8818
8819 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
8820
8821         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
8822         Remove redundant initialization of "frexpon" and "expon".
8823
8824 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8825
8826         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
8827
8828         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
8829         (store_constructor_field, expand_expr): Pass new arg.
8830
8831 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
8832
8833         * Makefile.in (explow.o): Depend on function.h.
8834
8835         * stor-layout.c (set_sizetype): Fix typo.
8836
8837 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
8838
8839         * function.c (cfun): Renamed from current_function.  All users
8840         changed.
8841         * function.h (cfun): Rename declaration as well.
8842
8843         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
8844         to be of type regset_head, not regset.  All users changed by adding
8845         address operator.
8846         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
8847
8848 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8849
8850         * config/c4x/rtems.h: New file.
8851
8852 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
8853
8854         * reload1.c (spill_failure): Take class of failed reload as argument
8855         and print it.  Caller changed.
8856
8857 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8858
8859         * rs6000.h (SUBTARGET_DEFAULT): New macro.
8860         (TARGET_SWITCHES): Allow subtargets to default switches.
8861         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
8862
8863 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
8864
8865         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
8866         in a main program.
8867
8868 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
8869
8870         * cccp.c (main): Define __STDC_VERSION__ as necessary.
8871         * cppinit.c (cpp_handle_option): Likewise.
8872
8873         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
8874         determine when to define.
8875
8876 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
8877
8878         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
8879         cmove with mismatched test and data modes.
8880
8881 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
8882
8883         * c-typeck.c (c_expand_start_case): Don't warn for long switch
8884         in system headers.
8885
8886 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8887
8888         * alias.c: Minor reformatting.
8889         * flow.c: Likewise.
8890         * regs.h: Likewise.
8891         * stor-layout.c: Likewise.
8892         * fold-const.c: Likewise.
8893         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
8894         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
8895         not arg itself.
8896         (size_int_wide): Cache nodes even if garbage collecting.
8897         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
8898         of SAVE_EXPR has no side effects.
8899         * cse.c: Move a comment.
8900         * tree.c: Minor reformatting.
8901         (int_size_in_bytes): Return -1 if constant overflows.
8902
8903 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8904
8905         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
8906
8907 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
8908
8909         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
8910         after any change to c-parse.in, even if objc-parse.y didn't
8911         change.  Oops.
8912
8913 1999-12-18  David S. Miller  <davem@redhat.com>
8914
8915         * toplev.c (rest_of_compilation): Restore BLOCK tree
8916         reconstruction and branch shortening changes lost in
8917         December 18th change.
8918
8919 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
8920
8921         * config/arm/linux-elf.h: Change all instances of
8922         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
8923         * config/arm/uclinux-elf.h: Likewise.
8924
8925 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
8926
8927         * toplev.c (notice, vmessage, v_message_with_file_and_line,
8928         v_message_with_decl, file_and_line_for_asm,
8929         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
8930         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
8931         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
8932         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
8933         pfatal_with_name, fatal_io_error, need_error_newline,
8934         last_error_function, last_error_tick, announce_function,
8935         default_print_error_function, print_error_function,
8936         report_error_function, fnotice, error_with_file_and_line,
8937         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
8938         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
8939         warning_with_decl, warning_for_asm, warning, pedwarn,
8940         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
8941         diagnostic.c
8942         (compile_file): Use fnotice instead of notice.  Adjust call.
8943
8944         * diagnostic.c: New file.
8945
8946         * Makefile.in (OBJS): Include diagnostic.o
8947         (diagnostic.o): Define dependence.
8948
8949 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8950
8951         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
8952         Tweak formatting.
8953
8954 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8955
8956         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
8957
8958 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
8959
8960         * fixtests.c (is_cxx_header): New fn, split out of
8961         double_slash_test.
8962         (else_endif_label): Allow "#endif // comment" in C++ headers,
8963         as determined by is_cxx_header.
8964         * fixfixes.c (else_endif_label_fix): Update comment.
8965         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
8966         a tty.
8967         * genfixes: Correct double thinko in commandline parsing.
8968         * hackshell.tpl: Generate correct sh syntax for bypass
8969         entries.
8970
8971         * inclhack.def (all): Whenever an inserted preprocessor
8972         conditional is split over multiple lines, use double
8973         backslashes in this file so the fixed header will be readable.
8974
8975         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
8976         and add bypass entry for correct version of this header.
8977         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
8978         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
8979
8980         (hpux8_bogus_inlines): New fix, split from...
8981         (ultrix_atof_param) ... here.
8982         (math_expression): Add bypass entry keyed to glibc comment
8983         indicating the problem has been dealt with; disable
8984         unnecessary sed operations; update commentary.
8985         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
8986         add select and bypass entries, simplify shell operation.
8987         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
8988
8989         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
8990          ultrix_atof_param): Add select entry.
8991         (stdio_va_list, sunos_mather_decl): Add bypass entry.
8992         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
8993         comments with the fixes they describe.
8994
8995         * c-parse.in (string action): Do not warn about ANSI string
8996         concatenation in system headers.  Affects C parser only.
8997         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
8998
8999 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9000
9001         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
9002         compiling libgcc2 the macro depends always on arch cpp defines.
9003
9004 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
9005
9006         * loop.c (insert_loop_mem): Don't record MEMs from inside
9007         EXPR_LISTs.
9008
9009 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
9010
9011         * regclass.c (regclass): Do not use flowgraph when not optimizing.
9012
9013         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
9014         notes too, create one when replacement failed, attempt to simplify
9015         resulting notes.
9016         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
9017         or REG_EQUIV notes.
9018
9019 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9020
9021         * crtstuff.c (__dso_handle): Declare.
9022         (__cxa_finalize): Likewise.
9023         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
9024         non-NULL.
9025
9026         * invoke.texi: Document -fuse-cxa-atexit.
9027
9028         * tree.h (ptr_type_node): Document.
9029         (const_ptr_type_node): Likewise.
9030
9031 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9032
9033         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
9034         (optimize_reg_copy_2): Likewise.
9035         (optimize_reg_copy_3): Likewise.
9036         (fixup_match_2): Likewise.
9037         (regmove_optimize): Likewise.
9038         (fixup_match_1): Liekwise.
9039
9040         * i386.md (HI to SImode promoting splitters): Rewrite.
9041         (pushsf mem peep2): New.
9042         (testhi to andhi peep2): Remove.
9043         * i386.h (x86_promote_QImode): New.
9044         (TARGET_PROMOTE_QImode): New.
9045         (PREDICATE_CODES): Add promotable_binary_operator.
9046         * i386.c (x86_promote_QImode0: New.
9047         (promotable_binary_operator): New.
9048         * i386-protos.h (promotable_binary_operator): New.
9049
9050         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
9051         condition.
9052         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
9053
9054 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9055
9056         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
9057         * function.c (insert_block_after_note): Remove.
9058         (retrofit_block): Likewise.
9059         (identify_blocks): Fix indentation.
9060         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
9061         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
9062         * function.h (insert_block_after_note): Remove prototype.
9063         (retrofit_block): Likewise.
9064         * integrate.c (expand_inline_function): Don't call
9065         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
9066         just expand_start_bindings.  Use the block_map to remap old
9067         NOTE_BLOCKs to new ones.
9068         (integrate_decl_tree): Keep track of remapped blocks.
9069         * integrate.h (struct inline_remap): Add block_map.
9070         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
9071         NOTE_BLOCK on the notes.
9072         (expand_start_bindings): Rename to ...
9073         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
9074         (expand_end_bindings): Set NOTE_BLOCK.
9075         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
9076         reconstruct the BLOCK tree.
9077         * tree.h (expand_start_bindings): Macroize.  Call ...
9078         (expand_start_bindings_and_block): New function.
9079
9080 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9081
9082         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
9083         to match the format.
9084
9085 1999-12-16  David S. Miller  <davem@redhat.com>
9086
9087         * expr.c (emit_move_insn_1): Only emit clobbers if one of
9088         the outputs is a SUBREG.
9089         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
9090         change.
9091
9092         * config/sparc/sparc.c (epilogue_renumber): Add default case
9093         to switch stmt.
9094
9095 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9096
9097         * toplev.c (rest_of_compilation): Run branch shortening after
9098         reg-stack.
9099
9100         * regclass.c (loop_depth): Remove
9101         (scan_one_insn): Do not handle LOOP_NOTE insns.
9102         (regclass): Go through basic blocks and set loop_cost
9103
9104 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
9105
9106         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
9107
9108 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9109
9110         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
9111         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
9112         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
9113
9114 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
9115
9116         * loop.c (insert_loop_mem): Ignore memory clobbers.
9117
9118         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
9119         to (OP A B).
9120
9121 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
9122
9123         * profile.c: Remove redundant #include "output.h".
9124
9125         * h8300.md (HImode preinc peephole): Fix typo.
9126
9127 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9128
9129         * function.c (retrofit_block): Abort if we don't find a suitable insn.
9130         (insert_block_after_note): Abort if we don't have a previous block.
9131         Remove FN parameter.
9132         * function.h: Adjust.
9133
9134 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
9135
9136         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
9137         argument more than once.
9138
9139 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9140
9141         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
9142
9143 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
9144
9145         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
9146
9147 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9148
9149         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
9150         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
9151         update stack_alignment_needed.
9152         (prepare_function_start): Initialize stack_alignment_needed
9153         * function.h (struct function): Add field stack_alignment_needed.
9154
9155 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9156
9157         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
9158         Handle live_throughout / dead_or_set instead of live_before /
9159         live_after.
9160         (save_call_clobbered_regs): Get register livenessinformation from
9161         chain->live_throughout.
9162         (add_stored_regs): New function.
9163         (insert_restore, insert_save): Add restored / saved registers to
9164         dead_or_set.
9165         * global.c (reg_dies): New parameter chain.
9166         (reg_becomes_live): Third parameter is regs_set now.
9167         Changed all callers.
9168         (reg_dies): New parameter chain.  Changed all callers.
9169         (build_insn_chain): Set live_throughout instead of
9170         live_before / live_after.
9171         * reload.h (struct insn_chain): Replace members live_before /
9172         live_after with live_throughout / dead_or_set.
9173         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
9174         instead of live_before / live_after.
9175         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
9176         (order_regs_for_reload, find_reg, finish_spills): Likewise.
9177         (choose_reload_regs_init): Likewise.
9178         * stupid.c (current_chain, find_clobbered_regs): Delete.
9179         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
9180         instead of chain->live_before / chain->live_after.
9181         (mark_hard_ref): New function.
9182         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
9183
9184 1999-12-15  David S. Miller  <davem@redhat.com>
9185
9186         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
9187
9188 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9189
9190         * flow.c (calculate_loop_depth): Make global, remove prototype,
9191         rewrite to use new loop infrastructure.
9192         (find_basic_block): Remove calculate_loop_depth call.
9193         * toplev.c (rest_of_compilation): Call find_basic_block.
9194         * output.h (calculate_loop_depth): Declare.
9195
9196         * flow.c (dump_flow_info): Dump loop_depth.
9197         (flow_loops_nodes_find): Increase loop_depth for basic block in the
9198         body.
9199         (flow_loops_find): Initialize the loop_depth for each basic block.
9200
9201 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9202
9203         * tree.c (decl_function_context): Handle virtual functions.
9204
9205         * tlink.c (scan_linker_output): Don't look in demangled name when
9206         looking for linker output keywords.
9207
9208         * dwarfout.c (output_type): We can defer namespace-scope classes.
9209
9210 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
9211
9212         * regclass.c (record_reg_classes): Update comment for merging
9213         register class preferences in reg->reg copies.  Tighten conditions
9214         for merging register class preferences in reg->reg copies.
9215
9216 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
9217
9218         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
9219
9220 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
9221
9222         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
9223         (INIT_SECTION_ASM_OP): Delete.
9224         (FINI_SECTION_ASM_OP): Delete.
9225         (STARTFILE_SPEC): Define to hold just crtbegin.o.
9226
9227 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
9228
9229         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
9230         the abstract origin wasn't emitted.
9231
9232         * dwarf2out.c (class_scope_p): New fn.
9233         (gen_subprogram_die): Use it.
9234         (gen_variable_die): Use it.  Tweak logic.
9235         (gen_struct_or_union_type_die): Check context_die to determine
9236         if we're function-local.
9237         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
9238
9239 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9240
9241         * loop.c (check_dbra_loop): Can't reverse a biv that has
9242         maybe_multiple set.
9243
9244 1999-12-14  Nick Clifton  <nickc@cygnus.com>
9245
9246         * config/arm/arm.c: Add support for -mcpu=arm720 command line
9247         switch.
9248
9249 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9250
9251         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
9252         for givs made from biv increments.
9253
9254 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
9255
9256         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
9257         * alpha.c (override_options): Recognize -mcpu=ev67.
9258         * alpha.h (CPP_CPU_EV67_SPEC): New.
9259         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
9260         (EXTRA_SPECS): Update.
9261
9262 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
9263
9264         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
9265         appropriate for -lang-c89 and -std=*.
9266         * cppinit.c (cpp_handle_option): Likewise.
9267         (new_pending_define): New, split out from cpp_handle_option.
9268         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
9269         or enable trigraphs for -ansi/-std=*.
9270
9271         * ginclude/stdarg.h (__va_copy): New.
9272         (va_copy): Don't define for C89.
9273
9274 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
9275
9276         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
9277         for long long multiply-accumulate.
9278
9279 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9280
9281         * regclass.c (scan_one_insn): Set loop_cost to 1 when
9282         optimizing for size.
9283
9284 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9285
9286         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
9287         if something changed.  Back out that part of yesterday's changes.
9288
9289         * loop.c (loop_max_reg): New static variable.
9290         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
9291         max_reg_num.
9292         (scan_loop): Call reg_scan_update whenever we may have added new
9293         registers, and update loop_max_reg.
9294
9295 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9296
9297         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
9298         when source does not die.
9299
9300         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
9301
9302 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
9303
9304         * config/sparc/linux64.h (TARGET_LIVE_G0,
9305         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
9306         variants on Linux.
9307         * config/sparc/linux.h (TARGET_LIVE_G0,
9308         TARGET_BROKEN_SAVERESTORE): Likewise.
9309         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
9310         TARGET_BROKEN_SAVERESTORE): Likewise.
9311
9312         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
9313         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
9314         not %g2.
9315         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
9316         as sparc64 block profiling register.
9317         * config/sparc/sparc.c (sparc_override_options): Allow block
9318         profiling with -m32.
9319         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
9320         profiling register.
9321         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
9322         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
9323         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
9324
9325         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
9326         for sparc64.
9327         * config/sparc/sparc.h: Likewise.
9328         * config/sparc/xm-sysv4-64.h: Likewise.
9329         * config/float-sparc.h: Likewise.
9330         * glimits.h: Likewise.
9331         * longlong.h: Likewise.
9332
9333         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
9334         (ASM_IDENTIFY_GCC): Remove.
9335
9336 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9337
9338         * combine.c (combine_simplify_rtx): Don't make shared rtl.
9339         (simplify_logical): Likewise.
9340
9341 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9342
9343         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
9344         * cppfiles.c (INO_T_EQ): Likewise.
9345
9346 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9347
9348         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
9349         * i386/mingw32.h (LIB_SPEC): Likewise.
9350         (STARTFILE_SPEC): Likewise.
9351         * i386/uwin.h (LIB_SPEC): Likewise.
9352         (STARTFILE_SPEC): Likewise.
9353
9354         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
9355         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
9356
9357 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
9358
9359         * combine.c (combine_simplify_rtx): Fix order of checks for
9360         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
9361
9362 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
9363
9364         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
9365         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
9366
9367 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
9368
9369         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
9370         defined.
9371         * regclass.c (inv_reg_alloc_order): New array.
9372         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
9373
9374         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
9375         counted_for_groups, counted_for_nongroups.  Add fields rld and
9376         n_reloads.
9377         * reload.c (push_secondary_reload): Don't set nongroup field of
9378         new reloads.
9379         (push_reload): Likewise.
9380         (find_reloads): Delete code to compute nongroup fields.
9381         * reload1.c (reload_insn_firstobj): New static variable.
9382         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
9383         users changed.
9384         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
9385         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
9386         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
9387         functions.
9388         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
9389         functions.
9390         (struct hard_reg_n_uses): Deleted.
9391         (potential_reload_regs): Deleted.
9392         (init_reload): Initialize spilled_pseudos and pseudos_counted.
9393         (reload): Don't try to allocate reload registers if we already know
9394         we have to make another pass.  Call select_reload_regs.  Free memory
9395         starting with reload_firstobj when starting another pass.
9396         Don't allocate spilled_pseudos.
9397         (calculate_needs_all_insns): Call copy_reloads for an insn that
9398         needs reloads; don't call calculate_needs.
9399         (spill_cost): New static array.
9400         (used_spill_regs_local): New static variable.
9401         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
9402         to compute potential_reload_regs.
9403         (find_reload_regs): Completely rewritten to use find_reg.
9404         (allocate_reload_reg): Don't test counted_for_groups or
9405         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
9406         all cllers changed.
9407         (choose_reload_regs): Add fallback code that uses the existing
9408         register allocation from find_reload_regs.
9409
9410 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
9411
9412         * flow.c (create_edge_list): Cast xmalloc return value.
9413
9414 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
9415
9416         * doprnt.c: Remove incorrect comment closure.
9417
9418         * cse.c: Fix a few minor whitespace goofs.
9419
9420 1999-12-13  Don Bowman  <don@pixstream.com>
9421
9422         * mips/vxworks.h: Fix problem with comment termination.
9423         (EXTRA_SECTIONS): Add in_sbss.
9424         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
9425
9426 1999-12-12  David S. Miller  <davem@redhat.com>
9427
9428         * cse.c (struct cse_reg_info): Add hash_next member,
9429         reorder rest of struct for better packing on 64-bit
9430         hosts.
9431         (cse_reg_info_tree): Kill.
9432         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
9433         REGHASH_FN): New custom pow2 hash mechanism.
9434         (NBUCKETS): Kill.
9435         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
9436         use a pow2 hash table.
9437         (get_cse_reg_info): Rework to use new REGHASH.
9438         (new_basic_block): Likewise, use HASH_SIZE, and inline
9439         free_element call.
9440         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
9441         and inline free_element call.
9442         (lookup_as_function, insert, flush_hash_table, invalidate,
9443         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
9444         invalidate_for_call, use_related_value, find_comparison_args,
9445         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
9446         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
9447         get_element): Kill.
9448
9449 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
9450
9451         * cse.c (cse_basic_block): Free qty_table consistently.
9452
9453 1999-12-12  David S. Miller  <davem@redhat.com>
9454             Jakub Jelinek    <jakub@redhat.com>
9455
9456         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
9457         SUBREGs by hand, gen the appropriate hard reg directly.
9458         (movtf reg/mem split): Likewise and alter_subreg on destination
9459         if necessary.
9460         (movtf mem/reg split): Similarly.
9461         (movdf_cc_sp64): Rename from hidden pattern.
9462         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
9463         (movtf_cc_sp64, following split): New pattern and splitter.
9464         (movdf_cc_reg_sp64): Rename from hidden pattern.
9465         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
9466         TARGET_HARD_QUAD.
9467         (movtf_cc_reg_sp64, following split): New pattern and splitter.
9468
9469 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
9470
9471         * loop.c (load_mems): Don't hoist written floating point mem
9472         if -ffloat-store.
9473
9474 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
9475
9476         * except.h (struct eh_queue): Add `next' pointer.
9477         (struct eh_status): Make x_ehqueue a pointer.
9478         (push_ehqueue):  Declare.
9479         (pop_ehqueue): Likewise.
9480         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
9481         pointer.
9482         (expand_fixup_region_end): Likewise.
9483         (expand_leftover_cleanups): Likewise.
9484         (push_ehqueue): Define.
9485         (pop_ehqueue): Likewise.
9486         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
9487         than doing it inline.
9488         (expand_start_all_catch):  Adjust now that ehqueue is a
9489         pointer.
9490         (mark_eh_queue): Mark all level of the queue.
9491         (mark_eh_status):  Adjust now that ehqueue is a
9492         pointer.
9493         (init_eh_for_function): Allocate ehqueue.
9494         (free_eh_status): Free it.
9495         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
9496         expansion for a fixup.
9497
9498 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9499
9500         * gthr-single.h (__gthread_active_p): Add prototype arguments.
9501
9502         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
9503         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
9504         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
9505         function_ptr, getpagesize, __enable_execute_stack,
9506         __enable_execute_stack, __clear_insn_cache,
9507         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
9508         _cleanup, _exit, __default_terminate, __terminate_func,
9509         __terminate, __empty, __throw, new_eh_context,
9510         eh_context_initialize, eh_context_static, eh_context_specific,
9511         get_eh_context, __get_eh_context, __get_eh_info,
9512         init_reg_size_table, eh_threads_initialize,
9513         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
9514         __unwinding_cleanup, throw_helper, __throw, __rethrow,
9515         __pure_virtual): Add prototype arguments.
9516         (__bb_exit_func): Cast a sizeof to long when comparing against one.
9517         Cast a signed value to unsigned long when comparing against one.
9518         (new_eh_context): Wrap in _GTHREADS macro.
9519         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
9520         declaration.
9521         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
9522         (throw_helper): Initialize variables `handler_p' and `pc_p'.
9523
9524 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9525
9526         * combine.c (record_promoted_value): Remove unused variable
9527         `links2'.
9528
9529         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
9530
9531         * global.c (record_conflicts): Likewise for `j'.
9532
9533         * genoutput.c (output_insn_data): Don't unnecessarily cast away
9534         const-ness.
9535
9536 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9537
9538         * i386-protos.h (output_387_binary_op, output_fix_trunc,
9539         output_fp_compare): Constify a char*.
9540
9541         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
9542         static prototypes.
9543         (override_options, ix86_comp_type_attributes, print_operand,
9544         output_387_binary_op, output_fix_trunc, output_fp_compare):
9545         Constify a char*.
9546         (ix86_sched_reorder): Mark parameter `clock_var' with
9547         ATTRIBUTE_UNUSED.
9548
9549         * i386.h (DEBUG_PRINT_REG): Constify a char*.
9550
9551 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
9552
9553         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
9554         operand, for use in the Java front-end.
9555
9556 1999-12-10  Ben Collins  <bcollins@debian.org>
9557
9558         * configure.in: Fix typo for "-64" in 64bit as check.
9559         * configure: Rebuilt.
9560
9561 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
9562
9563         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
9564         appropriate.
9565
9566 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9567
9568         * c-parse.in (string): With -Wtraditional, warn if ANSI string
9569         concatenation is utilized.
9570
9571         * invoke.texi (-Wtraditional): Document it.
9572
9573 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9574
9575         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
9576         Cast a ptrdiff_t to long and pass it to printf with %ld.
9577
9578 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
9579
9580         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
9581         68881, we have no 68881 registers at all.
9582         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
9583         value in a 68881 register if it is available.
9584
9585 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
9586
9587         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
9588         for long long multiply-accumulate.
9589
9590 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
9591
9592         * loop.c (insert_loop_mem): Undo last change.
9593
9594 1999-12-10  David S. Miller  <davem@redhat.com>
9595
9596         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
9597         New functions.
9598         * config/sparc/sparc-protos.h: Add them.
9599         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
9600         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
9601         constraints which use those helpers.
9602         (EXTRA_CONSTRAINT): Use this new macro.
9603         * md.texi: Update sparc target constraints documentation.
9604         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
9605         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
9606         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
9607         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
9608         (movsf high/lo_sum split): Rework for new patterns.
9609         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
9610
9611 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
9612
9613         * c-common.c (c_common_nodes_and_builtins):
9614         Create __builtin_ptrdiff_t and __builtin_size_t.
9615
9616 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
9617
9618         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
9619
9620 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9621
9622         * regclass.c (globalize_reg): Re-instate test that allows
9623         fixed registers to be declared as a variable even after functions
9624         are defined.
9625
9626 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9627
9628         * i386.md (cpu attribute): Add "athlon".
9629         (athlon_decode): New attribute.
9630         (Athlon scheduling units definitions): New.
9631         (fcmp and shld patterns): Set athlon_decode to "vector".
9632         * i386.c (athlon_cost): New.
9633         (m_ATHLON): New.
9634         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
9635         x86_use_sahf): Set for Athlon.
9636         (x86_use_fiop): Unset for Athlon.
9637         (override_options): Define Athlon alignments and "athlon" name.
9638         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
9639         * i386.h (TARGET_ATHLON): New.
9640         (enum processor_type): Add PROCESSOR_ATHLON.
9641         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
9642         for CPU_DEFAULT==5
9643         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
9644
9645 1999-12-09  Andreas Jaeger  <aj@suse.de>
9646
9647         * loop.c (record_biv): Declare parameter as int.
9648
9649         * config/i386/i386-protos.h: Declare long_memory_operand.
9650
9651 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
9652
9653         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
9654         EXPR_WITH_FILE_LOCATION.
9655
9656 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
9657
9658         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
9659         in expander.
9660
9661         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
9662
9663         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
9664         updating code.
9665
9666 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
9667
9668         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
9669         default on linux64 again.
9670         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
9671         models for multilibing.
9672         * genmultilib: Accept | as alternative separator within a set in
9673         MULTILIB_OPTIONS.
9674
9675         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
9676
9677         * calls.c (precompute_arguments): Make sure initial_value contains
9678         value pseudo which CSE expects.
9679         * cse.c (struct set): New entry orig_src.
9680         (cse_insn): Set it early on entry, use it for libcall EQUIV note
9681         replacement.
9682
9683 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
9684
9685         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
9686
9687 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
9688
9689         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
9690
9691 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
9692
9693         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
9694         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
9695
9696         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
9697         if TARGET_ARCH32.
9698
9699         * longlong.h: Merge in changes from glibc.
9700         Also don't clobber %g2 register in 32bit SPARC assembly, so that
9701         -mno-app-regs libgcc can be compiled.
9702         * libgcc2.c: Add defines so that the updated longlong.h
9703         can be used in libgcc2.a. Also, make sure on most architectures
9704         (at least on all which have optimized code in longlong.h defined
9705         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
9706
9707 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9708
9709         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
9710         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
9711         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
9712         is GNU ld.
9713         * configure: Rebuilt.
9714
9715 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
9716
9717         * alpha.c (secondary_reload_class): For !BWX, sub-simode
9718         outputs require a register.
9719
9720 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
9721
9722         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
9723         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
9724         functions like dptoul will be resolved.
9725         (libgcc2.a): Make sure that the object files from DPBIT are named
9726         differently (prefix `_dp') from those that would be coming from
9727         FPBIT.
9728
9729 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
9730
9731         * configure.in: When target is sparc* and tm_file contains 64,
9732         test for 64bit support in assembler.  If not supported, remove
9733         sparc/t-sol2-64 from target-dependent Makefile fragments.
9734         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
9735         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
9736         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
9737         * acconfig.h (AS_SPARC64_FLAG): Added.
9738         * configure, config.in: Rebuilt.
9739         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
9740         support.  Use AS_SPARC64_FLAG.
9741
9742 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
9743
9744         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
9745         suitable for holding OFmode values so that gcc works with complex
9746         quad long doubles.
9747         (hard_64bit_mode_classes): Likewise.
9748
9749         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
9750         so that it is actually matched.
9751         (sethi_di_medlow): Likewise.
9752
9753         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
9754         as legitimate constant if -mvis.
9755         * config/sparc/sparc.md (movtf): Likewise.
9756         (clear_sf): Use const_double_operand.
9757         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
9758
9759         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
9760         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
9761         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
9762         routines, _Qp_* cannot be handled like that now.
9763         (INIT_TARGET_OPTABS): Likewise.
9764         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
9765         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
9766         sparc_emit_float_lib_cmp if ARCH64 and soft float.
9767         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
9768         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
9769         divtf3, sqrttf3): New expanders.
9770         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
9771         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
9772         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
9773         non-_hq patterns.
9774
9775         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
9776         * configure: Rebuilt.
9777         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
9778         -mcpu is given and we're doing 64bit compiles.
9779
9780 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
9781
9782         * loop.h (struct induction): Add multi_insn_incr.
9783         * loop.c (basic_induction_var): New multi_insn_incr argument.
9784         Set it if we search back through previous insns for the biv.
9785         (record_biv): New multi_insn_incr argument; fill in struct induction.
9786         (strength_reduce): Discard an iv with multiple bivs, any of
9787         which require multiple insns to increment.
9788
9789 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9790
9791         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
9792         documentation.
9793
9794 1999-12-06  David S. Miller  <davem@redhat.com>
9795
9796         * combine.c (check_promoted_subreg): Do not conditionalize this upon
9797         PROMOTE_FUNCTION_RETURN.
9798
9799 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
9800
9801         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
9802         and handle REG_UNUSED note on insn.
9803
9804         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
9805         inner_mask instead of mask.
9806
9807 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
9808
9809         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
9810         zero if there was an error.
9811
9812 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
9813
9814         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
9815         output string.
9816
9817         * longlong.h: Fix clobbers in SPARC asm statements.
9818
9819         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
9820         valid sethi operations when TARGET_ARCH64.
9821
9822         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
9823         always use move_by_pieces to avoid infinite recursion.
9824         (restore_fixed_argument_area): Likewise.
9825
9826         * combine.c (check_promoted_subreg, record_promoted_value): New
9827         functions.
9828         (combine_instructions): Use them to retain nonzero and sign bit
9829         information after SUBREGs are eliminated by optimizations in
9830         this pass if PROMOTE_FUNCTION_RETURN.
9831
9832         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
9833         .register declaration. Don't use variables with __ prefixes.
9834
9835 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9836
9837         * fold-const.c (optimize_bit_field_compare): Only use one mode
9838         for both RHS and LHS in non-constant case.
9839
9840 1999-12-06  Nathan Sidwell  <nathan@acm.org>
9841
9842         * frame.c (start_fde_sort): Only allocate erratic array, if
9843         linear one was allocated. Return allocated flag.
9844         (fde_insert): Only insert, if there's a valid array.
9845         (fde_end_sort): Split, sort and merge if linear and erratic
9846         arrays exist, else just sort linear one.
9847         (search_fdes): New function. Linear search through original fde
9848         structure.
9849         (frame_init): Permit multiple initializations. Cope with
9850         memory shortages.
9851         (find_fde): Fallback on linear search, if failed to sort array.
9852         (__deregister_frame_info): Only free sorted array, if we
9853         allocated it.
9854
9855 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
9856
9857         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
9858
9859 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
9860
9861         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
9862
9863 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
9864
9865         * tree.h (special_function_p): Declare.
9866         * calls.c (special_function_p): Make it global.  Don't take `name'
9867         as a parameter.  Fix typo in 1999-11-28 change.
9868         (expand_cal): Adjust.
9869
9870 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
9871
9872         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
9873         * tree.h (EXPR_WFL_FILENAME): Define in terms of
9874         EXPR_WFL_FILENAME_NODE.
9875         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
9876         the TREE_CHAIN.
9877         * print-tree.c (print_note): Print TREE_PRIVATE and
9878         TREE_PROTECTED.
9879
9880         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
9881         the original die cannot be found.
9882
9883         * varray.h (varray_head_tag): Add elements_used.
9884         (VARRAY_PUSH): New macro.
9885         (VARRAY_POP): Likewise.
9886         (VARRAY_TOP): Likewise.
9887         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
9888         types.
9889         * varray.c (varray_init): Initialize elements_used.
9890         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
9891         (INTEGRATE_H): New variable.
9892         (integrate.o): Depend on INTEGRATE_H.
9893         (unroll.o): Likewise.
9894
9895         * function.h (insert_block_after_note): Declare.
9896         * function.c (insert_block_after_note): Split out from ...
9897         (retrofit_block): ... here.
9898
9899         * stmt.c (expand_fixup): Fix typo in comment.
9900
9901 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9902
9903         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
9904         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
9905         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
9906         (regmove_optimize, fixup_match_1): Likewise.
9907
9908 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9909
9910         * flow.c (flow_loops_dump): Add missing argument when calling
9911         flow_loop_nested_p.
9912
9913 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
9914             Greg McGary  <gkm@gnu.org>
9915
9916         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
9917         (init_attributes): Add A_NO_LIMIT_STACK.
9918         (decl_attributes): Handle A_NO_LIMIT_STACK.
9919         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
9920         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
9921         Handle stack bounds checking.
9922         * flags.h (flag_stack_check): Use the word 'probe' rather than
9923         'check', because the flag doesn't actually cause any checking to
9924         be done.
9925         * function.c (expand_function_start): Set
9926         current_function_limit_stack.
9927         * function.h (struct function): Add limit_stack.
9928         (current_function_limit_stack): Define.
9929         * invoke.texi (Code Gen Options): Document new options.
9930         * rtl.h: Declare stack_limit_rtx.
9931         * toplev.c (stack_limit_rtx): New variable.
9932         (decode_f_option): Handle new options -fstack-limit-register=REG,
9933         -fstack-limit-symbol=IDENT, -fno-stack-limit.
9934         (main): Add stack_limit_rtx as GC root.
9935         * tree.h (DECL_NO_LIMIT_STACK): New macro.
9936         (struct tree_decl): New member no_limit_stack.
9937
9938         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
9939         stack_limit_rtx.
9940         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
9941         (conditional_trap+1): Get new mnemonic correct.
9942         (conditional_trap+2): New pattern for DImode traps.
9943
9944         * config/m68k/m68k.c (output_function_prologue): Handle
9945         stack_limit_rtx.
9946         * config/m68k/m68k.md (trap): New insn.
9947         (conditional_trap): New insn.
9948         * md.texi (Standard Names): Document `trap' and
9949         `conditional_trap'.
9950         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
9951         so a cc0 setter doesn't get emitted at some random place in the
9952         function.
9953
9954         * config/i960/i960.md (trap): New insn.
9955         (conditional_trap): New expander.
9956         (conditional_trap+1, conditional_trap+2): New insns for signed
9957         and unsigned cases.
9958         * config/i960/i960.c (i960_function_prologue): Use
9959         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
9960
9961 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
9962                           Geoffrey Keating  <geoffk@cygnus.com>
9963
9964         * flags.h (warn_padded, warn_packed): Add global var decls.
9965         * toplev.c (warn_padded, warn_packed): Add global var defns.
9966         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
9967         * stor-layout.c (layout_record): Add local variable `type'
9968         to hold often-used TREE_TYPE (field).  Add local variable
9969         `unpacked_align' to hold alignment that would be in force
9970         if no `packed' attribute were present.  Warn if `packed' attribute
9971         is unnecessary, or even harmful.  Warn when gcc inserts padding
9972         to satisfy alignment requirements of members.  Use NULL_TREE
9973         when checking whether var_size is set.
9974         * invoke.texi: Document new flags.
9975
9976 1999-12-03  Nathan Sidwell  <nathan@acm.org>
9977
9978         * frame.c (fde_split): Reimplement to avoid variable sized array.
9979
9980 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9981
9982         * combine.c (try_combine): Before fixing up LOG_LINKS for the
9983         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
9984
9985 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
9986
9987         * invoke.texi: Document the mips option -mno-crt0
9988
9989 1999-12-02  Mike Karr  <mkarr@mathworks.com>
9990
9991         * cccp.c (argdata): Added free_ptr member.
9992         (macroexpand): Initialize free_ptr of each argument. When an
9993         argument's buffers are freed, if the argument's free_ptr corresponds
9994         to a buffer on the input stack, then return the free_ptr to that stack
9995         frame, otherwise, free it.
9996         (macarg): If an argument begins and ends on the same input stack level,
9997         then transfer the free_ptr of that buffer to the argument in case
9998         the stack is popped during the processing of a subsequent argument.
9999
10000 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
10001
10002         * loop.c (note_reg_stored): New function.
10003         (struct note_reg_stored_arg): New structure.
10004         (try_copy_prop): Change to be more conservative; only replace within
10005         one extended basic block and stop replacing if a store to the
10006         replacement reg is seen.
10007
10008 1999-12-02  Nick Clifton  <nickc@cygnus.com>
10009
10010         * config/fp-bit.c: Initialise all fields of the NAN
10011         constants.
10012
10013         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
10014         to HANDLE_PRAGMA.
10015
10016 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
10017
10018         * i386.md (extend?f?f2): Force the input into a register, not
10019         the output.
10020
10021 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
10022
10023         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
10024         regclass' sake.
10025         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
10026         alternative because setting up 64bit constant is usually costly,
10027         especially when reload is in progress or completed.
10028         (movdf_const_intreg_sp64): Likewise.
10029         (movdf_const_intreg split): Fix building up constants when
10030         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
10031
10032 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
10033
10034         * combine.c (if_then_else_cond): Use const_true_rtx instead of
10035         const1_rtx for return values in EQ/NE comparison against (const_int 0)
10036         case.
10037
10038         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
10039         (asm_file_start): Emit .am33 into assembly file when compiling for
10040         the AM33.
10041         (print_operand_address): Handle POST_INC addresses.
10042         (can_use_return_insn, initial_offset): Check AM33 registers too.
10043         (expand_prologue): Check & save AM33 registers too.
10044         (expand_epilogue): Similarly.
10045         (secondary_reload_class): Handle AM33 specific secondary reloads.
10046         (output_tst): Emit efficient code for the AM33 too.
10047         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
10048         (TARGET_SWITCHES): Add -mam33 switch.
10049         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
10050         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
10051         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
10052         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
10053         (enum reg_class, REG_CLASS_NAMES): Likewise.
10054         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
10055         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
10056         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
10057         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
10058         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
10059         (HAVE_POST_INCREMENT): Define.
10060         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
10061         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
10062         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
10063         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
10064         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
10065         (zero_extend to SI from QI/HI): Likewise.
10066         (sign_extend to SI from QI/HI): Likewise.
10067         (mulsidi3, umulsidi3): New patterns for the AM33.
10068         (tstsi with zero extension from QI/HI): Add AM33 variants.
10069         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
10070         (return_internal_regs, store_movm): Handle new AM33 registers.
10071         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
10072         (LIBGCC, INSTALL_LIBGCC): Likewise.
10073         * invoke.texi: Document new flags.
10074
10075 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10076
10077         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
10078         (addsi3_carry): Likewise.
10079         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
10080         (sbbsi3_carry): Likewise.
10081         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
10082         (mulhi3): Likewise.
10083         (test?i_1): Ensure that only one operand is memory.
10084         (conditional move patterns): likewise.
10085         (shift and rotate patterns): Rewrite to expander, add
10086         "binary_operator_ok" to the condition.
10087
10088         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
10089         * i386.h (procesor_costs): Add movzbl_load field.
10090         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
10091         non-Q registers, accept DImode registers anywhere.
10092         (Q_CLASS_P): New.
10093         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
10094         * i386.c (*_cost): Set value for movxbl_load field.
10095
10096         * (addsi): New add to lea splitter.
10097         (ashlsi): Likewise.
10098         (lea to add/shift peep2): New.
10099
10100 1999-12-01  Mark Salter <msalter@cygnus.com>
10101
10102         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
10103         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
10104         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
10105
10106 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10107
10108         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
10109         * i386.md (movsi_xor): New.
10110         (movsi_or): New.
10111         (movsi_1, movhi_1, movqi_1): Remove.
10112         (movsi_2): Rename to movsi_1.
10113         (movhi_2): Rename to movhi_1.
10114         (movqi_2): Rename to movqi_1.
10115         (movdi_1): Remove; remove splitter.
10116         (movdi_2): Rename to movdi_1.
10117         (divmodsi4 splitter): Do not emit clobbers for move patterns.
10118         (long move peep2): Do not create QI or HI mode mov0s
10119         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
10120
10121         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
10122         rewrite splitters.
10123
10124         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
10125         (abs?f2_if): Likewise.
10126
10127 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
10128
10129         * ggc.h (ggc_test_and_set_mark): New macro.
10130         (ggc_mark_rtx): Use ggc_test_and_set_mark.
10131         (ggc_mark_tree): Likewise.
10132         (ggc_mark_rtvec): Likewise.
10133         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
10134
10135 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
10136
10137         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
10138         containing types.
10139         (decl_scope_table): Just an array of trees now.
10140         (push_decl_scope): Simplify.
10141         (dwarf2out_init): Adjust.
10142         (local_scope_p): New fn.
10143         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
10144         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
10145         (gen_typedef_die): Likewise.
10146         (gen_lexical_block_die): Don't call push/pop_decl_scope.
10147         (gen_inlined_subroutine_die): Likewise.
10148         (gen_abstract_function): Set current_function_decl temporarily.
10149         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
10150         Handle block extern declarations.  Don't call push/pop_decl_scope.
10151         (gen_decl_die): Fix logic for block externs.
10152
10153 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10154
10155         * calls.c (special_function_p): Remove `realloc' and add `strdup'
10156         to the list of functions which have attribute malloc by default.
10157
10158 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10159
10160         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
10161         integer constant does not match the traditional type, limit the
10162         warnings to cases where the base of the type is ten.
10163
10164         * invoke.texi (-Wtraditional): Document it.
10165
10166 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10167
10168         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
10169         * rs6000.md: Only access a CONST_INT with INTVAL
10170
10171 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
10172
10173         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
10174         (compute_nearerout): Likewise.
10175         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
10176         size_t to unsigned long for formatting.
10177
10178 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10179
10180         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
10181         Allow the user to override call-used/fixed state of %g2-5
10182         registers from the command line (with the exception of %g4 for
10183         embedded model).
10184         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
10185         there is a higher chance of having a leaf function.
10186         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
10187         for ARCH64 which has %ccr register.
10188         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
10189         patterns.
10190         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
10191         insn accept into delay slot any insn which does not use %[ol]
10192         registers.  Accept some LO_SUM and shift left by 1 for the normal
10193         restore case.
10194         (output_function_epilogue): Likewise.
10195         (epilogue_renumber): Added argument which inhibits any renumbering
10196         and just tests if the rtx does not use any %[ol] registers.
10197         (output_return): Reflect above change.
10198
10199 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10200
10201         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
10202         aggregate passing for sizes <= 16 bytes.
10203
10204 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10205
10206         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
10207         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
10208         * reload.c (find_dummy_reload): Likewise.
10209         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
10210         * reload1.c (reload_as_needed): Likewise.
10211         * stupid.c (stupid_find_reg): Likewise.
10212         * tm.texi (Obsolete Register Macros): Delete section.
10213         * gmicro.h: Remove all traces of the two macros.
10214         * i386.h: Likewise.
10215         * m88k.h: Likewise.
10216         * mips.h: Likewise.
10217
10218 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
10219
10220         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
10221         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
10222         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
10223         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
10224         units for the sparclite86x chip.
10225         (flush): Revert October 14th change; add SImode specifically.
10226         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
10227         * invoke.texi: Document it.
10228
10229 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
10230
10231         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
10232         psimode_truncation_operand.
10233
10234         * config/mn10200/mn10200.c (psimode_truncation_operand): New
10235         function.  Return true if the operand is either a MEM valid
10236         for a PSImode address or not a MEM at all.
10237
10238         * config/mn10200/mn10200.md (truncsipsi2): Use
10239         psimode_truncation_operand.
10240
10241 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10242
10243         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
10244         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
10245         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
10246         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
10247         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
10248         (flow_loop_level_compute, low_loops_level_compute): Likewise.
10249         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
10250         * basic-block.h: Protect from multiple inclusion.
10251         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
10252         (struct loops, struct loop): Define structures.
10253         * sbitmap.c (sbitmap_a_subset_b_p): New function.
10254         * sbitmap.h: Protect from multiple inclusion.
10255         (sbitmap_a_subset_b_p): Add prototype.
10256         * Makefile.in (LOOP_H): New macro.
10257         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
10258
10259 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
10260
10261         * cppinit.c (CAT): The argument list of this macro may not contain
10262         spaces !
10263
10264 1999-11-29  David S. Miller  <davem@redhat.com>
10265
10266         Move quantity tables and register equivalence chains into
10267         per-qty and per-register structure arrays respectively.
10268         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
10269         qty_const_insn, qty_comparison_code, qty_comparison_const,
10270         qty_comparison_qty): Delete, replace with...
10271         (qty_table): this structure table.
10272         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
10273         (reg_eqv_table): this structure table.
10274         (make_new_qty): Add argument MODE.  Caller updated.
10275         Update to use qty_table and reg_eqv_table.
10276         (make_regs_eqv, delete_reg_equiv, insert_regs,
10277         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
10278         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
10279         cse_process_notes, cse_main, cse_basic_block): Likewise.
10280
10281 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10282
10283         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
10284         operation if C is negative.
10285         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
10286         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
10287         law for some divisions if constant is negative and change other
10288         divisions to the opposite rounding.
10289
10290         * expr.c (store_constructor_field): If bit position is not multiple
10291         of alignment of TARGET's mode, use BLKmode.
10292
10293         * expr.c (expand_expr_unaligned): Add more code from full case
10294         that is needed when OP0 is in a register.
10295
10296 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10297
10298         * dwarfout.c (field_byte_offset): Size can be zero if there was
10299         an error.
10300
10301 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10302
10303         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
10304         (associate_trees): Delete unused var TEM.
10305         (extract_muldiv): Delete unused var CANCEL_P.
10306
10307         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
10308         (target_isinf, target_isnan, target_negative): Add return types to
10309         function definitions.
10310
10311 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
10312
10313         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
10314         * fixinc/hackshell.tpl: ditto
10315         * fixinc/fixtests.c(double_slash_test): more C++ header testing
10316         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
10317
10318 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10319
10320         * reload.c (push_reload): When looking for a register to put into
10321         reg_rtx, make sure all hard regs in a multi-reg register are in the
10322         right class and nonfixed.
10323
10324         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
10325         pending_read_insns, pending_write_insns, pending_read_mems,
10326         pending_write_mems, pending_list_length, last_pending_memory_flush,
10327         last_function_call, sched_before_next_call): Move static variables
10328         into a structure.
10329         (bb_ prefixed versions): Replace with single array bb_deps.
10330         (struct deps): New structure.
10331         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
10332         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
10333         argument of type "struct deps *"; use that instead of global
10334         variables.  All callers changed.
10335         (init_rgn_data_dependencies): Delete function.
10336         (init_rtx_vector): Delete function.
10337         (init_deps): New function.
10338
10339         (free_pending_lists): Simplify, we always use the bb_deps array even
10340         if only one basic block.
10341         (compute_block_backward_dependences): Likewise.
10342         (schedule_region): Likewise.
10343
10344         (propagate_deps): New function, broken out of
10345         compute_block_backward_dependences.
10346         (compute_block_backward_dependences): Use it.
10347
10348         * alpha.md: Delete useless patterns that tried to work around
10349         register elimination problems.
10350
10351         * unroll.c (loop_iterations): Don't abort if iteration variable
10352         was made by loop.
10353
10354         From Joern Rennecke:
10355         * reload1.c (reloads_conflict): Reverse test comparing operand
10356         numbers when testing for conflict between output/outaddr reloads.
10357
10358 1999-11-29  David S. Miller  <davem@redhat.com>
10359
10360         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
10361         arg.
10362         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
10363
10364 1999-11-28  Robert Lipe  <robertl@cygnus.com>
10365
10366         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
10367         table from .fini into .dtor.
10368
10369 1999-11-28  Anthony Green  <green@cygnus.com>
10370
10371         * tree.h (struct tree_decl): Add malloc_flag.
10372         (DECL_IS_MALLOC): Define.
10373         * c-common.c (attrs): Add A_MALLOC attribute.
10374         (init_attributes): Add this attribute to the table.
10375         (decl_attributes): Handle malloc attribute.
10376         * calls.c (special_function_p): Check for the malloc attribute.
10377         * extend.texi (Function Attributes): Document malloc attribute.
10378
10379 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
10380
10381         * pa.md (reload shift-add patterns): Remove.
10382
10383 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10384
10385         * reorg.c (dbr_schedule) Print more statistics. Corrected
10386         problem when printing info when 3 delay slots are filled.
10387
10388 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
10389
10390         * combine.c (setup_incoming_promotions): Pass an outgoing
10391         regno to FUNCTION_ARG_REGNO_P which it expects.
10392
10393 1999-11-28  Andreas Jaeger  <aj@suse.de>
10394
10395         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
10396
10397 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
10398
10399         * cccp.c (do_include): Avoid initialization of automatic variable.
10400
10401         * integrate.c (mark_stores): Function definition made void, to match
10402         previous declaration.
10403         * regclass.c (dump_regclass): Ditto.
10404         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
10405
10406 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10407
10408         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
10409         known to be multiple of divisor.
10410
10411         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
10412
10413         * combine.c (try_combine): Add code to try to merge a set of a
10414         two-word pseudo to a constant with a setting of one of those words
10415         to a constant.
10416
10417         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
10418         (split_tree): Completely rework to make more general.
10419         (make_range, fold): Call negate_expr.
10420         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
10421         (fold, associate): Call new split_tree and associate_trees.
10422         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
10423
10424 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
10425
10426         * loop.c (try_copy_prop): Avoid GNU C extension.
10427
10428 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
10429
10430         * except.c (init_eh_for_function): Still zero eh_return_context,
10431         eh_return_stack_adjust, and eh_return_handler.
10432
10433         * except.h (eh_status): Adjust documentation for x_protect_list.
10434         (begin_protect_partials): New function.
10435         * except.c (enqueue_eh_entry): Fix formatting.
10436         (get_first_handler): Add consistency check.
10437         (add_partial_entry): Adjust usage of protect_list.
10438         (emit_cleanup_handler): Save and restore ehqueue.
10439         (expand_start_all_catch): Add comment.
10440         (begin_protect_partials): New function.
10441         (end_protect_partials): Adjust usage of protect_list.
10442         (init_eh_for_function): Use xcalloc.
10443
10444 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10445
10446         * c-common.c (check_format_info): Don't call a variadic function
10447         with a non-literal format string.
10448
10449         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
10450
10451         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
10452         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
10453         Likewise.
10454
10455         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
10456         Likewise.
10457
10458         * collect2.c (collect_wait): Likewise.
10459
10460         * dbxout.c (dbxout_type): Likewise.
10461
10462         * gcc.c (do_spec_1): Likewise.
10463
10464         * genemit.c (gen_insn, gen_expand): Likewise.
10465
10466         * genrecog.c (write_switch, write_subroutine): Likewise.
10467
10468         * mips-tfile.c (catch_signal, botch): Likewise.
10469
10470         * print-rtl.c (print_rtx): Likewise.
10471
10472         * toplev.c (default_print_error_function, report_error_function,
10473         _fatal_insn): Likewise.
10474
10475 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
10476
10477         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
10478
10479 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10480
10481         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
10482         operations when needed.
10483         * i386.md (fop_?f_comm): New.
10484         (fop_?f_1): Do not accept commutative operands.
10485
10486 1999-11-25  Andreas Jaeger  <aj@suse.de>
10487
10488         * config/mips/mips.md (casesi_internal): Add missing brace.
10489
10490 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
10491
10492         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
10493         (splice_child_die): Handle moving a child DIE from the declaration
10494         DIE of a class to its specification.
10495         (gen_struct_or_union_type_die): Use 'complete' consistently.
10496         (gen_decl_die): Generate the virtual context DIE first.
10497         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
10498
10499 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
10500
10501         * config/mips/mips.md (call_value_multiple_interanal1): New.
10502
10503 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
10504
10505         * dwarf2out.c (free_AT, free_die): New fns.
10506         (remove_children): Call them.
10507         (output_line_info): Disable removal of duplicate notes.
10508
10509         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
10510         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
10511         means pretend the type isn't defined.
10512         Don't defer emitting types.
10513         (gen_type_die_for_member): New fn.
10514         (gen_decl_die): Call it.
10515         (splice_child_die): New fn.
10516         (gen_member_die): Call it rather than generate duplicate dies.
10517
10518         Defer emitting information for the abstract instance of an inline
10519         until we either inline it or emit an out-of-line copy.
10520         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
10521         from output_inline_function if DECL_ABSTRACT is also set.
10522         (block_ultimate_origin): Likewise.
10523         (gen_abstract_function): New fn.
10524         (gen_decl_die, gen_inlined_subroutine_die): Call it.
10525         (gen_subprogram_die):  An abstract instance is not a declaration
10526         just because it doesn't match current_function_decl.  Don't abort
10527         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
10528         has an abstract origin.
10529         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
10530         abstract instance here.
10531
10532 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
10533
10534         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
10535         where we need to reload fpul from a system register.
10536
10537 1999-11-24  Andreas Jaeger  <aj@suse.de>
10538
10539         * config/mips/linux.h (CPP_PREDEFINES): Added.
10540         (LINK_SPEC): Remove -Y since this is only needed on sparc.
10541
10542 1999-11-24  Andreas Jaeger  <aj@suse.de>
10543
10544         * config/mips/linux.h (TARGET_VERSION): Added.
10545         (HANDLE_SYSV_PRAGMA): Added.
10546         (DEFAULT_VTABLE_THUNKS): Added.
10547
10548 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10549
10550         * local-alloc.c (qty): New structure and static variable.
10551         (qty_phys_reg): Remove, all references changed to qty.
10552         (qty_n_refs): Likewise.
10553         (qty_min_class): Likewise.
10554         (qty_birth): Likewise.
10555         (qty_death): Likewise.
10556         (qty_size): Likewise.
10557         (qty_mode): Likewise.
10558         (qty_n_calls_crossed): Likewise.
10559         (qty_alternate_class): Likewise.
10560         (qty_changes_size): Likewise.
10561         (qty_first_reg): Likewise.
10562         (alloc_qty): Rename variable QTY to QTYNO.
10563         (finf_free_reg): Likewise.
10564         (local_alloc): Allocate qty, do not allocate the removed variables.
10565
10566 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
10567
10568         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
10569         when -membedded-pic is passed.
10570
10571         * config/mips/mips.md (casesi): Handle 64-bit case too.
10572         (casesi_internal_di): New insn.
10573
10574         * config/mips/mips.c (embedded_pic_offset): Always make the
10575         embedded-pic subtractions relative to the name of the current
10576         function by use of the magic string "..CURRENT_FUNCTION".
10577         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
10578
10579 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
10580
10581         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
10582         of (const_int 0), when what we really care about is
10583         whether it's a zero constant anyway.
10584         (div_trap_mips16): Likewise.
10585
10586 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
10587
10588         * loop.c (loop_optimize): Always find_loop_tree_blocks and
10589         unroll_block_trees when generating debuggable code.
10590
10591         * tree.h (unsave_expr_1): New function.
10592         (lang_unsave): New variable.
10593         (get_callee_fndecl): New function.
10594         * tree.c (unsave_expr_now_r): New function.
10595         (lang_unsave): Define.
10596         (unsave_expr_1): Likewise.
10597         (unsave_expr_now_r): Split out from unsave_expr_now.
10598         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
10599         call unsave_expr_now_r.
10600         (get_callee_fndecl): Define.
10601
10602         * Makefile.in (gencheck): Don't depend on lang_tree_files.
10603         (gencheck.o): Do depend on lang_tree_files.
10604
10605         * integrate.h (copy_decl_for_inlining): New declaration.
10606         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
10607         (copy_decl_for_inlining): New function.
10608         (integrate_parm_decls): Use it.
10609         (integrate_decl_tree): Likewise.
10610
10611 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
10612
10613         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
10614         the second two from the first.
10615         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
10616         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
10617         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
10618         ISA_HAS_FP4.
10619         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
10620         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
10621         ISA_HAS_FP4.
10622
10623 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
10624
10625         * pa.md (call_internal_symref, call_value_internal_symref): No mode
10626         needed on the address operand.
10627         * pa.c (call_operand_address): Check for the correct mode.
10628
10629 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
10630
10631         * loop.c: Include "basic-block.h".
10632         (try_copy_prop, replace_loop_reg): New functions.
10633         (load_mems): Detect registers that just hold copies of the hoisted
10634         mem, and call try_copy_prop to eliminate them.
10635         * Makefile.in (loop.o): Update dependencies.
10636
10637 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
10638
10639         * Makefile.in (gencheck.o): Depend on gencheck.h.
10640         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
10641         (insn-peep.o): Depend on except.h and function.h.
10642         (insn-attrtab.o): Depend on RECOG_H.
10643         (insn-output.o): Depend on toplev.h and flags.h.
10644         (gengenrtl.o): Depend on real.h.
10645         (gen-protos.o): Depend on cpplib.h and cpphash.h.
10646         Unify all dependencies to be on RECOG_H rather than recog.h.
10647
10648 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10649
10650         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
10651         * configure.in: Try building a bi-arch 32/64-bit compiler on
10652         sparc-*-solaris2.7 and higher.
10653         * configure: Rebuild.
10654
10655 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
10656
10657         * config/freebsd.h: New, FreeBSD architecture independent file.
10658         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
10659         independent pieces.
10660         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
10661         directly by i386/freebsd.h.
10662         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
10663         independent configuration file.
10664         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
10665         directly by i386/freebsd.h.
10666         * configure: Rebuilt.
10667
10668         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
10669         which is in the user's namespace.
10670         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
10671         `i386' which is not in our namespace.
10672
10673 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
10674
10675         * invoke.texi (ARM Options): Add in -mno-alignment-traps
10676
10677 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
10678
10679         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
10680         (add_dwarf_attr, add_child_die): Just push onto the front.
10681         (reverse_die_lists): New fn.
10682         (add_sibling_attributes): Use it.
10683         (push_decl_scope): Reorganize.
10684         (add_name_and_src_coords_attributes): Don't set file and line for
10685         an artificial decl.
10686         (gen_subprogram_die): An artificial function doesn't need to match
10687         file and line.
10688         (gen_compile_unit_die): Return the generated die.  Only add
10689         AT_comp_dir if the filename is relative.
10690         (remove_AT): Simplify loop.  Also free string values.
10691         (output_die): A DIE ref can't be null.
10692         (output_value_format, value_format): Take a dw_attr_ref.
10693         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
10694         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10695         AT_addr, AT_lbl): New fns.
10696         (various): Use them.
10697         (various): Constify.
10698
10699 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10700
10701         * combine.c (combine_simplify_rtx): When handling a SUBREG,
10702         take SUBREG_WORD into account.
10703         (if_then_else_cond): Likewise.
10704
10705 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
10706
10707         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
10708         clause from BSD license, pursuant with
10709
10710           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
10711
10712 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
10713
10714         * loop.c (load_mems): Reformat slightly.
10715         * basic-block.h (regset_head): New typedef.
10716         (INIT_REG_SET): New macro.
10717
10718 1999-11-22  Bruce Korb  <autogen@linuxbox.com
10719
10720         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
10721         (mips-dec-bsd*): non-functional code
10722         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
10723
10724         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
10725         added three replacement fixes
10726         (no_double_slash): removed comments that are not (any longer) pertinent
10727         (bad_lval): this fix currently runs against many files.
10728         The comment seems to indicate that we should select for files
10729         containing 'pragma extern_prefix'.
10730
10731         * fixinc/fixinc.x86-linux-gnu: deleted
10732         * fixinc/inclhack.sh:  regen
10733         * fixinc/fixincl.x:  regen
10734         * fixinc/fixincl.sh:  regen
10735
10736 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
10737
10738         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
10739         its code is INSN and it has no notes.
10740
10741 1999-11-22  Andrew Haley  <aph@cygnus.com>
10742
10743         * varasm.c (function_defined): Remove.
10744         (make_function_rtl): Don't set function_defined.
10745         (make_decl_rtl): Remove global register warning.
10746         * regclass.c (no_global_reg_vars): New variable.
10747         (globalize_reg): Warn if function has already been defined.
10748         (regclass_init): Set no_global_reg_vars.
10749
10750 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10751
10752         * regclass.c (reg_pref): New structure and static variable
10753         (prefclass): Delete.
10754         (altclass): Delete.
10755         (all uses of prefclass and altclass): Use reg_pref instead.
10756
10757 1999-11-21  Nick Clifton  <nickc@cygnus.com>
10758
10759         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
10760         -malignment-traps.
10761         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
10762         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
10763         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
10764
10765 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
10766
10767         * varasm.c (output_constructor): Solve problem with long long
10768         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
10769
10770 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10771
10772         * global.c (allocno): New structure and static variable.
10773         (allocno_reg): Remove, all references replaced by allocno.
10774         (allocno_size): Likewise.
10775         (hard_reg_conflicts): Likewise.
10776         (hard_reg_preferences): Likewise.
10777         (hard_reg_copy_preferences): Likewise.
10778         (hard_reg_full_preferences): Likewise.
10779         (regs_someone_prefers): Likewise.
10780         (allocno_calls_crossed): Likewise.
10781         (allocno_n_refs): Likewise.
10782         (allocno_live_length): Likewise.
10783         (find_reg): Rename ALLOCNO to NUM.
10784
10785         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
10786         references updated.
10787         (may_move_out_cost): New variable.
10788         (init_reg_sets_1): Initialize may_move_out_cost.
10789         (record_reg_classes): Use may_move_out_cost.
10790
10791         * regclass.c (dump_regclass): New function.
10792         (regclass): New parameter DUMP, call DUMP_REGCLASS.
10793         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
10794         pass rtl_dump_file to regclass.
10795         * rtl.h (regclass): Update prototype.
10796
10797 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10798
10799         * i386.md (neg, not and abs patterns): Revmap to use
10800         ix86_expand_unary_operator and ix86_unary_operator_ok.
10801         (add?f and sub?f expanders): Force operand 1 to register.
10802         * i386.c (ix86_expand_unary_operator): Rewrite.
10803         (ix86_unary_operator_ok): Ensure that memory operands
10804         match real opcode.
10805         (ix86_binary_operator_ok): Do not allow operand 1 to
10806         come into memory and operand 0 not.
10807         (ix86_expand_binary_operator): Ensure that
10808         src1 is not non-matching memory.
10809
10810         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
10811         to support integer registers and memory.
10812         (abss?2_integer): Likewise.
10813
10814         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
10815         (REG_CLASS_NAMES): Likewise.
10816         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
10817         and GENERAL_REGS.
10818         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
10819         (movsf): Likewise; unify 4th and 5th alternative.
10820         (pushdf): Likewise.
10821         (movdf_1): Likewise; rename to movdf_integer.
10822         (pushxf): Likewise; rename to pushxf_integer; fix output template;
10823         remove redundant splitter.
10824         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
10825         (movdf_nointeger): New.
10826         (movxf_nointeger): New.
10827         (pushxf_nointeger): New.
10828
10829         * i386.md (extend?f?f): Split to expander and pattern, refuse two
10830         memory operands in patterns.
10831         (fop*): Refuse two memory operands.
10832
10833         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
10834         on !TARGET_USE_CLTD CPUs.
10835
10836 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
10837
10838         * extend.texi: Document C++ restricted pointers and references.
10839
10840 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
10841
10842         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
10843         (invalidate_skipped_set): Call it unconditionally.
10844         (cse_set_around_loop): Likewise.
10845
10846 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
10847
10848         * rtl.texi (mem): Add documentation for alias-set argument
10849         to RTX `mem'.
10850
10851 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10852
10853         * i386.h (struct_processor_costs): New fields int_load, int_store,
10854         fp_move, fp_load and fp_store
10855         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
10856         fp->int moves
10857         (MEMORY_MOVE_COST): New macro.
10858         * i386.c (386_cost): Define new fields.
10859         (i486_cost): Likewise.
10860         (pentium_cost): Likewise.
10861         (pentiumpro_cost): Likewise.
10862         (k6_cost): Likewise.
10863
10864 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
10865                           Geoffrey Keating  <geoffk@cygnus.com>
10866
10867         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
10868
10869         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
10870         MASK_ALIGN_INT.
10871
10872         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
10873         (TARGET_STRICT_ALIGNMENT): New macro.
10874         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
10875         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
10876         * invoke.texi (M680x0 Options): Document -mstrict-align.
10877
10878 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
10879                           Richard Henderson  <rth@cygnus.com>
10880
10881         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
10882         (ix86_split_long_move): Declare.
10883         * i386.c (split_xf, ix86_split_movdi): Remove.
10884         (ix86_split_to_parts, ix86_split_long_move): New.
10885         * i386.md (dimode move splitters): Use ix86_split_long_move.
10886         (dfmode move splitters): Likewise.
10887         (xfmode move splitters): Likewise.
10888         (movsf_1): Allow F->r.
10889         (movdf_1, movxf_1): Allow F->ro.
10890
10891 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
10892
10893         * except.h (struct eh_entry): Add goto_entry_p.
10894         (eh_region_from_symbol): Remove prototype.
10895         * except.c (find_func_region_from_symbol): New function.
10896         (emit_cleanup_handler): Likewise.
10897         (eh_region_from_symbol): Make it static.
10898         (add_new_handler): Verify the argument.
10899         (find_func_region): Update comment.
10900         (expand_eh_region_end): Expand handlers here, rater than waiting
10901         until expand_leftover_cleanups or start_all_catch.
10902         (expand_leftover_cleanups): Don't expand here.
10903         (expand_start_all_catch): Or here.
10904         (expand_rethrow): Check the return value from find_func_region.
10905         * function.c (expand_function_end): Emit the catch_clauses.
10906
10907 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
10908
10909         * integrate.c (expand_inline_function): Add necessary check for NULL.
10910
10911 1999-11-18  Nick Clifton  <nickc@cygnus.com>
10912
10913         * toplev.c (main): Correctly detect an unrecognised option.
10914
10915         * cppinit.c (cpp_handle_option): Do not claim to have consumed
10916         a -f option if it has not been recognised.
10917
10918 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
10919
10920         * basic-block.h (update_life_extent): Remove trailing comma on
10921         enumeration type list.
10922
10923 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10924
10925         * varasm.c (output_constructor) Solved problem with long long
10926         bitfields. Corrected calculating this_time and shift. Also
10927         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
10928
10929 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
10930
10931         * flow.c (split_edge): Take looping structure into account when
10932         determining where to put the new block note.
10933
10934 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
10935
10936         * Makefile.in (ggc-none.o): Provide host specific version if
10937         needed.
10938
10939 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
10940
10941         * cse.c (delete_trivially_dead_insns): Identify no-op insns
10942         containing subregs too.
10943
10944 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
10945
10946         * invoke.texi: Add documentation for -muninit-const-in-rodata.
10947         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
10948         (TARGET_UNINIT_CONST_IN_RODATA): Define.
10949         (text_section): Add switches -munint-const-in-rodata and
10950         -mno-uninit-const-in-rodata.
10951         (ASM_OUTPUT_COMMON): Remove.
10952         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
10953         const objects should be placed in read-only data. Otherwise declare
10954         them in common.
10955
10956 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
10957
10958         * jump.c (jump_optimize_1): Revert last change.
10959
10960 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
10961
10962         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
10963         test if optimizing for size.
10964
10965 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
10966
10967         * Makefile.in (toplev.o): Depend on except.h.
10968         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
10969
10970 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10971
10972         * i386.md (divmodsi4): Rewrite to expander.
10973         (*divmodsi4_nocltd): New.
10974         (*divmodsi4_cltd): New.
10975         (divmodsi4 splitter): Handle the case when input comes in edx.
10976         (udivmodhi4): Do not use constraints in exander.
10977         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
10978
10979 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
10980
10981         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
10982         for the common case.
10983
10984 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
10985
10986         * explow.c (hard_function_value): Add outgoing argument.
10987         * expr.h (hard_function_value): Declare it.
10988         * calls.c (expand_call, emit_library_call_value): Update callers.
10989         * function.c (aggregate_value_p): Ditto.
10990         (diddle_return_value): Must look at the outgoing registers
10991         on archs with register windows.
10992
10993 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
10994
10995         * alpha.c (alpha_build_va_list): Use make_lang_type and
10996         initialize TYPE_NAME for the va_list record.
10997
10998         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
10999
11000         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
11001         for printing.
11002         * ggc.h (struct ggc_statistics): Rearrange elements for better
11003         packing on 64-bit hosts.
11004         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
11005         (compute_nearerout): Likewise.
11006
11007 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
11008
11009         * config/rs6000/rs6000.c (first_reg_to_save): Save
11010         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
11011
11012 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
11013
11014         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
11015         notion of nesting to find the DIE for a type or function.
11016         DIEs can go in limbo even if we got a context_die.
11017         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
11018         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
11019         for local type.
11020         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
11021         (gen_type_die): Writing out the context doesn't cause member class
11022         template instantiations to be written out as well.
11023
11024 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
11025
11026         * rs6000.h (ASM_OUTPUT_DEF): New.
11027         Based on proposed addition from David Edelsohn.
11028
11029 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
11030             Bruce Korb  <autogen@linuxbox.com>
11031
11032         * fixinc/inclhack.def
11033         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
11034         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
11035                 in net/inet.h.
11036         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
11037         (svr4_endian): enabled with SVR5
11038         (svr4_mkdev): simplified syntax and enabled with SVR5
11039
11040 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
11041
11042         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
11043         * configure: Rebuilt.
11044         * config/t-freebsd-thread: New file.
11045
11046 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
11047
11048         * i386.c (ix86_decompose_address): Verify the base is a REG
11049         before trying to examine its register number.
11050
11051         * basic-block.h: Remove all #defines and prototypes related to
11052         integer lists.
11053         (free_bb_mem, compute_preds_succs): Remove prototype.
11054         * rtl.h (free_bb_mem): Remove prototype.
11055         * flow.c (alloc_int_list_node); Remove function.
11056         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
11057         (compute_preds_succs, free_bb_mem): Likewise.
11058         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
11059         * toplev.c (rest_of_compilation): Likewise.
11060         * haifa-sched.c (build_control_flow): Use flow generated edge
11061         list to build the haifa specific edge list.
11062         (find_rgns): Use new CFG data structures instead of pred/succ lists.
11063         (schedule_insns): Do not build pred/succ lists anymore.  Instead
11064         build the edge table.
11065
11066         * basic-block.h (dump_bb_data): Remove declaration.
11067         * flow.c (dump_bb_data): Remove function.
11068         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
11069         (sbitmap_union_of_predsucc): Likewise.
11070
11071         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
11072         argument.  All callers changed.
11073         (delete_null_pointer_checks_1): No longer need to compute the
11074         pred/succ lists.
11075
11076         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
11077         All callers changed.
11078         (pre_expr_reaches_here_p_work): Likewise.
11079         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
11080         * lcm.c (compute_laterin): Fix initialization of LATER.
11081         (compute_nearerout): Similarly for NEARER.
11082
11083 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11084
11085         * cse.c (set_nonvarying_address_components): Delete unused function.
11086         (refers_to_p): Likewise.
11087
11088 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
11089
11090         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
11091         needed.
11092
11093 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11094
11095         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
11096         definition in do while (0).
11097
11098 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
11099
11100         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
11101
11102 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
11103
11104         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
11105
11106 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
11107
11108         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
11109         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
11110         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
11111         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
11112
11113         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
11114         saved on the stack.  Output more accurate stack frame statistics
11115         into assembler file.
11116
11117 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
11118
11119         * genextract.c (record_insn_name): New function.
11120         (get_insn_name): No longer a stub.
11121         (main): Call record_insn_name for each insn.  After each label
11122         written, print the insn name in a comment.
11123
11124 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11125
11126         * output.h (const_section, init_section, fini_section): Add
11127         prototypes.
11128
11129         * alpha/elf.h (const_section): Delete declaration.
11130
11131         * svr4.h (const_section): Likewise.
11132
11133 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
11134
11135         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
11136         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
11137         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
11138         expressions.
11139         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
11140         variable-sized array bounds.
11141
11142 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
11143
11144         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
11145         ASM_OUTPUT_LABEL.
11146
11147 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11148
11149         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
11150         addresses the same way GO_IF_LEGITIMATE_INDEX does.
11151
11152 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11153
11154         * cse.c (hash_arg_in_struct): Delete.
11155         (struct table_elt): Delete elt in_struct.
11156         (struct set): Delete elt src_in_struct.
11157         (merge_equiv_classes): Don't set either hash_arg_in_struct or
11158         the corresponding in_struct elts.
11159         (canon_hash): Likewise.
11160         (safe_hash): Likewise.
11161         (find_best_addr): Likewise.
11162         (record_jump_cond): Likewise.
11163         (cse_insn): Likewise.
11164
11165 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
11166
11167         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
11168
11169         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
11170         unsigned types.
11171
11172 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
11173
11174         * function.c (diddle_return_value): Put back check that the DECL_RTL
11175         for the function is a register.
11176
11177         * function.c (diddle_return_value): Use hard_function_value to
11178         get an rtx suitable for use in the USE/CLOBBER insn.
11179
11180         * global.c (global_conflicts): Update comments.
11181         (record_conflicts): No need to record conflicts between pseudos here.
11182
11183 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
11184
11185         * fixinc/fixincl.c: Added verbose levels for status messages
11186
11187 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11188
11189         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
11190         operand as argument to expand_and or expand_binop.
11191
11192 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
11193
11194         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
11195         gcc_add_string_root.
11196
11197 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
11198
11199         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
11200
11201 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
11202
11203         * flow.c (compute_flow_dominators): Initially put all blocks on
11204         the worklist.
11205         * lcm.c (compute_antinout_edge, compute_available): Similarly.
11206         * gcse.c (compute_cprop_avinout): Remove.
11207         (compute_cprop_data): Use compute_available.
11208         (delete_null_pointer_checks_1): Use compute_available.
11209
11210         * basic-block.h (compute_available): Returns a void now.
11211         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
11212         to return a value anymore.
11213         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
11214         worklists.  Fix boundary cases. Compute maximal solutions.
11215         (compute_laterin, compute_nearerout): Similarly.
11216
11217         * dwarf2out.c (add_AT_location_description): Allow
11218         (mem (plus (pseudo) (...)) too.
11219
11220 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
11221
11222         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
11223
11224 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
11225                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11226
11227         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
11228
11229         * gansidecl.h: Likewise.
11230
11231         * rtl.c: Likewise.
11232
11233         * rtl.h: Likewise.
11234
11235         * toplev.h: Likewise.
11236
11237         * tree.c: Likewise.
11238
11239         * tree.h: Likewise.
11240
11241         * varray.c: Likewise.
11242
11243         * varray.h: Likewise.
11244
11245 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
11246
11247         * gcov.c (struct arcdata): Add hits and total, remove prob.
11248         (output_branch_counts): New.
11249         (process_args): Set output_branch_counts if -c.
11250         (calculate_branch_probs): Store hits and total instead of
11251         percentage.
11252         (output_data): Emit counts if output_branch_counts is true.
11253         * gcov.texi (Invoking Gcov): Document -c switch..
11254
11255 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
11256
11257         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
11258         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
11259
11260 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
11261
11262         * invoke.texi (C Dialect Options): Add missing builtins from
11263         c-common.c to list.
11264         * extend.texi (Other Builtins): Copy to this list.
11265
11266 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11267
11268         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
11269         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
11270         redundant bitmap.h.
11271
11272 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
11273
11274         * flow.c (compute_flow_dominators): No longer treat basic block 0
11275         or (n_basic_blocks - 1) specially.  Clear the AUX field before
11276         starting computation of doms/pdoms.  Fix initial state for pdoms.
11277
11278 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11279
11280         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
11281         match rtl.o's: added ggc.h and toplev.h
11282         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
11283         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
11284         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
11285
11286 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
11287
11288         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
11289         from HAVE_DOS_BASED_FILESYSTEM.
11290         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
11291         HAVE_DOS_BASED_FILESYSTEM.
11292         (main): Likewise.
11293         (split_directories): Only special-case DOS file names if
11294         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
11295         instead of explicit tests.  Conditionalize on !VMS.
11296         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
11297         tests.  Conditionalize on !VMS.
11298         (process_command): Only use make_relative_prefix if !VMS.
11299         (free_split_directories): Conditionalize on !VMS.
11300         (DIR_UP): Conditionalize on !VMS.
11301
11302 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11303
11304         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
11305
11306 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11307
11308         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
11309         case.
11310
11311 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
11312
11313         * invoke.texi (Environment Variables): Document relative path
11314         lookup.
11315         * gcc.c (DIR_UP): If not defined, define as "..".
11316         (standard_bindir_prefix): New static, holds target location to
11317         install binaries.
11318         (split_directories): New function to split a filename into
11319         component directories.
11320         (free_split_directories): New function, release memory allocated
11321         by split_directories.
11322         (make_relative_prefix): New function, make a relative pathname if
11323         the compiler is not in the expected location.
11324         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
11325         can figure out an appropriate prefix from argv[0].
11326         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
11327         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
11328         STANDARD_BINDIR_PREFIX.
11329
11330 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11331
11332         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
11333         in c4x.c.
11334         * config/c4x/c4x.h: Moved prototypes to c4x.h.
11335         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
11336         c4x_secondary_memory_needed) Delete.
11337         (fp_zero_operand): Add mode argument.
11338
11339 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
11340
11341         * reload1.c (reload_reg_free_for_value_p): Don't use a register
11342         that is in reload_reg_used.
11343
11344 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
11345
11346         * config/arm/arm-protos.h: New file: Prototypes for functions
11347         defined in arm.c and pe.c.
11348         * config/arm/arm.h: Fix compile time warnings.
11349         * config/arm/arm.c: Fix compile time warnings.
11350         * config/arm/pe.h: Fix compile time warnings.
11351         * config/arm/aout.h: Fix compile time warnings.
11352
11353 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
11354
11355         * config/m32r/m32r-protos.h: New file: Prototypes for functions
11356         defined in m32r.c
11357
11358         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
11359         Add support for subtargets.
11360         Add prototypes for new predicates.
11361         Add scheduling macros.
11362
11363         * config/m32r/m32r.c: Fix compile time warnings.
11364         (int8_operand): New predicate function.
11365         (reg_or_cmp_int16_operand): New predicate function.
11366         (extend_operand): New predicate function.
11367         (m32r_adjust_code): New scheduling function.
11368         (m32r_adjust_priorty): New scheduling function.
11369         (m32r_sched_init): New scheduling function.
11370         (m32r_sched_reorder): New scheduling function.
11371         (m32r_sched_variable_issue): New scheduling function.
11372         (direct_return): New codegen function.
11373         (m32r_not_same_reg): New rtl testsing function.
11374
11375         * config/m32r/m32r.md: Fix compile time warnings.
11376         Add support for pre decrement and post increment memory
11377         references.
11378         Add S<cc> patterns.
11379         Add fabs patterns.
11380
11381 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11382
11383         * global.c (EXECUTE_IF_CONFLICT): Don't define.
11384         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
11385         (find_reg): Likewise.
11386
11387 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
11388
11389         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
11390         to avoid assembler errors.
11391
11392 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
11393
11394         * config/v850/v850-protos.h: New file: Prototypes for functions
11395         defined in v850.c
11396         * config/v850/v850.h: Move prototypes to v850-protos.h
11397         * config/v850/v850.c: Move prototypes to v850-protos.h
11398         * config/v850/v850.md: Fix compile time warnings.
11399
11400         * config/fr30/fr30-protos.h: New file: Prototypes for functions
11401         defined in fr30.c
11402         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
11403         * config/fr30/fr30.c: Fix compile time warnings.
11404         * config/fr30/fr30.md: Fix compile time warnings.
11405
11406 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
11407
11408         * tree.h (get_containing_scope): Declare it.
11409         * tree.c (get_containing_scope): New fucntion.
11410         (decl_function_context): Use it.
11411         * toplev.c (rest_of_compilation): Use get_containing_scope.
11412
11413 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11414
11415         * Makefile.in (rtl.o): Depend on toplev.h.
11416
11417 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
11418
11419         * cse.c (delete_trivially_dead_insns): Replace alloca with
11420         xmalloc/xcalloc.
11421         * except.c (update_rethrow_references): Likewise.
11422         (init_eh_nesting_info): Likewise.
11423         * function.c (identify_blocks): Likewise.
11424         * gcse.c (dump_hash_table): Likewise.
11425         * graph.c (print_rtl_graph_with_bb): Likewise.
11426         * loop.c (combine_movables): Likewise.
11427         (move_movables): Likewise.
11428         (count_loop_regs_set): Likewise.
11429         (strength_reduce): Likewise.
11430         * profile.c (compute_branch_probabilities): New function, split
11431         out from ...
11432         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
11433         * regclass.c (regclass): Likewise.
11434         * regmove.c (regmove_optimize): Likewise.
11435         * toplev.c (compile_file): Likewise.
11436         (main): Don't mess with the stack rlimit.
11437
11438 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
11439
11440         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
11441         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
11442
11443 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
11444
11445         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
11446
11447 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
11448
11449         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
11450         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
11451         macro expansion.
11452
11453 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
11454
11455         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
11456
11457 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
11458
11459         * gcse.c (post_dominators): Kill.
11460         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
11461         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
11462         pass in a pdom array since we do not need pdoms.
11463         * haifa-sched.c (schedule_insns): Similarly.
11464         * flow.c (compute_dominators): Remove dead function.
11465         (compute_flow_dominators): Do not compute doms or pdoms if the
11466         caller does not request them.  Split up loop to build doms and
11467         pdoms.  Use a worklist to compute doms and pdoms.
11468         * basic-block.h (compute_dominators): Remove prototype.
11469
11470 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
11471
11472         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
11473         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
11474         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
11475         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
11476         (cant_move, fed_by_spec_load, is_load_insn): Remove.
11477         (schedule_region): Remove unused variable.
11478         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
11479
11480 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
11481
11482         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
11483         (update_equiv_regs): Likewise.
11484         (block_alloc): Likewise.
11485         * reg-stack.c (reg_to_stack): Likewise.
11486         (convert_regs_2): Likewise.
11487         * reload1.c (reload_as_needed): Likewise.
11488
11489 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
11490
11491         * Makefile.in (dbxout.o): Depend on ggc.h.
11492         (dwarf2out.o): Likewise.
11493         (xcoffout.o): Likewise.
11494         * dbxout.c: Include ggc.h.
11495         (dbxout_init): Register lastfile as a root.
11496         * dwarf2out.c: Include ggc.h.
11497         (dwarf2out_line): Register lastfile as a root.
11498         * xcoffout.c: Include ggc.h.
11499         (xcoffout_source_line): Register xcoff_lastfile as a root.
11500
11501 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
11502
11503         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
11504
11505 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
11506
11507         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
11508         defined.
11509         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
11510
11511 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11512
11513         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
11514         (EXECUTE_IF_CONFLICT): Likewise.
11515         (ALLOCNO_LIVE_P): Avoid signed division.
11516         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
11517         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
11518         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
11519
11520 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
11521
11522         * haifa-sched.c (schedule_block): Don't crash if there's no
11523         next insn for an interblock movement.
11524         (add_branch_dependences): Don't allow clobber insns to move either.
11525
11526 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
11527
11528         * i386.c (split_xf): New.
11529         * i386-protos.h: Declare it.
11530         * i386.md (movxf_1): Add general regs alternatives.
11531         (movxf_1+1): New splitter for same.
11532
11533 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
11534
11535         * function.c (purge_addressof_1): Add missing return values.
11536
11537 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
11538
11539         * function.c (is_addressof): New function.  Returns true if
11540         the given piece of RTL is an ADDRESSOF.
11541         (purge_addressof_1): Make boolean.  Return false if the
11542         ADDRESSOFs could not be purged.
11543         (purge_addressof): If ADDRESSOFs could not be purged from the
11544         notes attached to an insn, remove the offending note(s),
11545         unless they are attached to a libcall.
11546
11547 1999-11-05  Andreas Jaeger  <aj@suse.de>
11548
11549         * genoutput.c (null_operand =): Initialize all fields.
11550
11551         * errors.h: Add extern to prototypes.
11552
11553 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
11554
11555         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
11556         * configure: Rebuilt.
11557
11558 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11559
11560         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
11561         (mirror_conflicts): New function.
11562         (global_alloc): Call it.
11563         (expand_preferences): Remove redundant CONFLICTP test.
11564         (find_reg, dump_conflicts): Likewise.
11565         (prune_preferences): Process conflicts one word at a time.
11566
11567 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
11568
11569         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
11570         instead of an explicit loop.
11571
11572 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
11573
11574         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
11575         if REG_RETVAL check succeeds, then put classp in src_elt.
11576
11577 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
11578
11579         * function.c (pad_to_arg_alignment): Only update argument_pad
11580         if the argument's alignment is greater than STACK_BOUNDARY.
11581
11582 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
11583
11584         * bitmap.h (BITMAP_XFREE): New.
11585         * flow.c (life_analysis): Use it.
11586         (life_analysis_1): Free blocks.
11587
11588         * combine.c (undo_commit): New.
11589         (try_combine): Use it.  Don't zap undobuf.undos.
11590         (combine_instructions): Don't zap undobuf.undos; free the
11591         undobuf.frees list.
11592
11593         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
11594
11595         * stmt.c (cost_table_): New.
11596         (estimate_case_costs): Use it instead of xmalloc.
11597
11598         * toplev.c (compile_file): Reuse dumpname memory instead
11599         of strdup'ing it.
11600
11601 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
11602
11603         * reg-stack.c (convert_regs_1): Initialize target_stack->top
11604         after verifying an EH edge.
11605
11606         * haifa-sched.c (init_rgn_data_dependences): Correctly
11607         size bb_pending_lists_length when zeroing.
11608
11609 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
11610
11611         * function.c (diddle_return_value): New.
11612         (expand_function_end): Use it.
11613         * stmt.c (expand_null_return): Likewise.
11614         (expand_value_return): Likewise.
11615
11616         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
11617
11618         * reload1.c (reload): Don't remove return value clobbers.
11619
11620 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
11621
11622         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
11623
11624 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
11625
11626         * cse.c (cse_main): Use xmalloc, not alloca.
11627         (cse_basic_block): Likewise.
11628         * local-alloc.c (local_alloc): Likewise.
11629
11630 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
11631                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11632
11633         * rtl.c: Include toplev.h.
11634         (fatal): Remove declaration.
11635
11636 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
11637
11638         * haifa-sched.c (schedule_block): Fix thinko.
11639
11640 1999-11-03  James McKelvey <mckelvey@fafnir.com>
11641
11642         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
11643         S_IR* defined values
11644
11645 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
11646
11647         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
11648         call `malloc' instead.
11649
11650 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
11651
11652         * flags.h (flag_renumber_insns): Declare.
11653         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
11654         renumbering table.
11655         * rtl.h (renumber_insns): Change prototype.
11656         * toplev.c (flag_renumber_insns): Define.
11657         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
11658
11659 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
11660
11661         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
11662         and fpsqrtd.  Use them and create fdiv function unit to more
11663         accurately represent fpu sqrt pipeline semantics on UltraSparc.
11664         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
11665
11666 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
11667
11668         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
11669         3 on UltraSparc.
11670         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
11671         insn into ready list, do not use just a raw swap.
11672
11673 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
11674
11675         * rtl.h (renumber_insns): New function.
11676         (remove_unnecessary_notes): Likewise.
11677         * emit-rtl.c (renumber_insns): Define.
11678         (remove_unncessary_notes): Likewise.
11679         * toplev.c (rest_of_compilation): Remove dead code.
11680         Use renumber_insns and remove_unncessary_notes.
11681
11682         * gcse.c (struct null_pointer_info): New type.
11683         (get_bitmap_width): New function.
11684         (current_block): Remove.
11685         (nonnull_local): Likewise.
11686         (nonnull_killed): Likewise.
11687         (invalidate_nonnull_info): Take a null_pointer_info as input.
11688         (delete_null_pointer_checks_1): New function.
11689         (delete_null_pointer_checks): Use it.
11690
11691         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
11692         (split_edges): Likewise.
11693         (schedule_block): Likewise.
11694         (compute_block_backward_dependencies): Likewise.
11695         (schedule_region): Likewise.
11696         (schedule_insns): Likewise.
11697
11698 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
11699
11700         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
11701         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
11702         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
11703         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
11704         * jump.c (delete_unreferenced_labels): Don't delete if
11705         LABEL_ALTERNATE_NAME is set.
11706         * print-rtl.c (print_rtx): Dump alternate name.
11707         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
11708         * rtl.h (LABEL_ALTERNATE_NAME): Define.
11709         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
11710         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
11711
11712 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11713
11714         * fix-header.c (recognized_extern, recognized_function): Constify
11715         a char*.
11716
11717         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
11718         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
11719         (compute_available): Remove unused variable `last'.
11720         (compute_nearerout): Remove unused variable `temp_bitmap'.
11721         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
11722         Remove unused variable `x'.
11723
11724         * scan.h (recognized_function, recognized_extern): Constify a
11725         char*.
11726
11727         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
11728
11729 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11730
11731         * varasm.c (decode_rtx_const): Use XSTR to access the string
11732         of a SYMBOL_REF.
11733
11734 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
11735
11736         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
11737
11738 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11739
11740         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
11741
11742 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
11743
11744         * pa.c (ireg_operand): New function.
11745         * pa.h (PREDICATE_CODES): Handle ireg_operand.
11746         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
11747         Fix out of date comment.
11748
11749         * pa.md (negdi2): Turn into expander + anonymous pattern.
11750
11751         * reload.c (find_reloads): Fix typos in recent change.
11752
11753         * dwarf2out.c: Do not include ctype.h.
11754
11755 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11756
11757         * regclass.c (record_reg_classes): Always use may_move_cost when
11758         seeing how operand fits with various register classes.
11759
11760 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
11761
11762         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
11763         * toplev.c: Revert Nov 1 13:22 change.
11764
11765 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
11766
11767         * config/pa/pa.md (height reduction patterns): Add checks for
11768         overlapping operands to avoid semantic-destroying splits for
11769         height reduction patterns.
11770
11771 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11772
11773         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
11774         have been an hyphen, fixed.
11775         * configure: Rebuilt.
11776
11777 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
11778
11779         * config/arm/tpe.h: Add prototypes for exported functions.
11780         * config/arm/pe.c: Fix compile time warnings.
11781         * config/arm/semi.h: Fix compile time warnings.
11782         * config/arm/arm.c: Fix compile time warnings.
11783         * config/arm/arm.h: Fix compile time warnings.
11784         * config/arm/arm.md: Fix compile time warnings.
11785         * config/arm/thumb.c: Fix compile time warnings.
11786         * config/arm/thumb.h: Fix compile time warnings.
11787         * config/arm/thumb.md: Fix compile time warnings.
11788
11789 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
11790
11791         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
11792         detection code
11793
11794         * unroll.c (unroll_loop): Remove LOOP notes when loop is
11795         completely unrolled.
11796
11797 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11798
11799         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
11800
11801 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
11802
11803         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
11804         * rtl.h (rtx_equal_p): Move prototype.
11805         * rtl.c (rtx_equal_function_value_matters): Move from
11806         rtlanal.c
11807         (rtx_equal_p): Likewise.
11808         * rtlanal.c (rtx_equal_function_value_matters): Delete.
11809         (rtx_equal_p): Likewise.
11810
11811 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
11812
11813         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
11814         ! HAS_INIT_SECTION.
11815
11816 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
11817
11818         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
11819
11820         * pa.h (ADDR_VEC_ALIGN): Define.
11821
11822         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
11823         notes when presented with "if (foo) break; end_of_loop" and
11824         the break sequence gets moved out of the loop.
11825
11826         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
11827         Remove explicit zero initializations of entries within MAP.
11828
11829 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
11830
11831         * reg-stack.c (convert_regs_1): Handle EH edges specially.
11832
11833 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
11834
11835         * bitmap.h (BITMAP_XMALLOC): New macro.
11836         * flow.c (CLEAN_ALLOCA): Remove.
11837         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
11838         (life_analysis): Likewise.
11839         (update_life_info): Don't use CLEAN_ALLOCA.
11840         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
11841         (calculate_global_regs_live): Likewise.
11842         (print_rtl_with_bb): Likewise.
11843         (verify_flow_info): Likewise.
11844         * global.c (global_alloc): Likewise.
11845         (global_conflicts): Likewise.
11846         * integrate.c (save_for_inline_nocopy): Likewise.
11847         (expand_inline_function): Likewise.
11848         * jump.c (jump_optimize_1): Likewise.
11849         (duplicate_loop_exit_test): Likewise.
11850         (thread_jumps): Likewise.
11851         * loop.c (loop_optimize): Likewise.
11852         (combine_givs): Likewise.
11853         (recombine_givs): Likewise.
11854         * reorg.c (dbr_schedule): Likewise.
11855         * unroll.c (unroll_loop): Likewise.
11856
11857         * combine.c (combine_instructions): Use xmalloc instead of alloca.
11858
11859 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
11860
11861         * toplev.c (rest_of_compilation): Don't optimize the CFG
11862         when rebuilding, just before dbr.
11863
11864 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11865
11866         * output.h (assemble_end_function, assemble_destructor,
11867         assemble_constructor, assemble_gc_entry, assemble_global,
11868         assemble_label, output_constant_pool) Constify a char*.
11869
11870         * varasm.c (assemble_destructor, assemble_constructor,
11871         assemble_gc_entry, assemble_end_function, assemble_global,
11872         assemble_label, output_constant_pool): Likewise.
11873
11874 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
11875
11876         * config/arm/thumb.c (thumb_expand_prologue): Add comments
11877         explaining what is goin on in this function.
11878
11879 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11880
11881         * regclass.c (record_reg_classes): In matching case, recompute
11882         costs since the direction of movement is different.
11883
11884 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
11885
11886         * resource.c (mark_target_live_regs): For unconditional branches,
11887         the resources found at the branch target should be added to the
11888         resources found so far, not intersected.
11889
11890 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
11891
11892         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
11893         old cpp's.
11894         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
11895         (sys/mman.h): Include this file only if #HAVE_MMAP.
11896         (run_compiles): Initialize `esac_fmt' with one old KR string, not
11897         with automatically concatenated ANSI strings.
11898
11899 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
11900
11901         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
11902         (DIV_ROUND_UP): Robustify.
11903         (ggc_recalculate_in_use_p): New function.
11904         (release_pages): Don't inline it.
11905         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
11906         outer contexts.
11907         (ggc_pop_context): Use ggc_recalculate_in_use_p.
11908         (clear_marks): Always save in_use_p.
11909         (sweep_pages): Use ggc_recalculate_in_use_p.
11910         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
11911         Release pages before counting statistics.
11912
11913 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
11914
11915         * toplev.c (rest_of_compilation): Fix thinko in this change:
11916
11917         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
11918
11919         (rest_of_compilation): If inside an inlined external function,
11920         pretend we are just being declared.
11921
11922 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
11923
11924         * flow.c (calculate_global_regs_live): Fix thinko.
11925
11926         * integrate.c (expand_inline_function): Fix bugs in previous
11927         change from Oct 28, 1999.
11928
11929 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
11930
11931         * stmt.c (expand_value_return): Fix typo in this change:
11932
11933         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11934         (expand_value_return): Correctly convert VAL when promoting function
11935         return; support RETURN_REG being a PARALLEL.
11936
11937 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
11938
11939         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
11940
11941 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11942
11943         * hard-reg-set.h (reg_names): Constify a char*.
11944
11945         * regclass.c  (reg_names): Likewise.
11946
11947         * regs.h (reg_names): Likewise
11948
11949         * a29k/a29k.c (reg_names): Delete declaration.
11950
11951         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
11952
11953         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
11954         arc_output_function_epilogue): Likewise.
11955
11956         * elxsi/elxsi.c (reg_names): Likewise.
11957
11958         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
11959
11960         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
11961         Likewise.
11962
11963         * m88k/m88k.c (output_function_profiler): Likewise.
11964
11965         * sparc/sparc.c (sparc_flat_output_function_prologue,
11966         sparc_flat_output_function_epilogue): Likewise.
11967
11968 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
11969
11970         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
11971         warning from -Wuninitialized and put it under -W.
11972         * function.c (uninitialized_vars_warning): Warn only when the
11973         corresponding flag is set.
11974
11975 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
11976
11977         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
11978         is nonzero and the single set does not have an elt, then assign
11979         it an elt.
11980
11981         * simplify-rtx.c: New file.
11982         * Makefile.in (OBJS): Add simplify-rtx.o
11983         (simplify-rtx.o): Add dependencies.
11984         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
11985         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
11986         (cse_gen_binary, simplify_unary_operation): Delete.
11987         (simplify_binary_operation, simplify_plus_minus): Likewise.
11988         (check_fold_consts, simplify_relation_operation): Likewise.
11989         (simplify_ternary_operation): Likewise.
11990         (delete_trivially_dead_insns): Simplify the contents of the
11991         REG_EQUAL note before trying to substitute it into the source
11992         of the reg-reg copy at the end of a libcall sequence.
11993
11994         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
11995         references/callers changed.
11996
11997         * mn10200.c (mn10200_va_arg): Force the return value into a
11998         register.
11999
12000         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
12001
12002         * cccp.c (macroexpand): Avoid out of range accesses for omitted
12003         arguments.
12004
12005 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
12006
12007         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
12008
12009 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
12010
12011         * fold-const.c (fold): Fix thinko when optimizing comparisons
12012         against -0.0.
12013
12014 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
12015
12016         * gcc.texi (Passes): Update front-end files to their current
12017         location.
12018
12019 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
12020
12021         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
12022         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
12023         (PREDICATE_CODES): Add addition_operation.
12024         * alpha-protos.h (addition_operation): Declare.
12025         (secondary_reload_class): Likewise.
12026         * alpha.c (addition_operation): New.
12027         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
12028         * alpha.md (adddi3): Turn into expander.
12029         (*lda, *adddi_2): New.
12030         (movsf, movdf patterns): Don't preference integer regs.
12031         (movsi, movdi patterns): Don't preference fp regs.
12032
12033 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
12034
12035         * genrecog.c (write_switch): Check for duplicate CODE cases.
12036
12037 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
12038
12039         * ggc-common.c: Update pre-function commentary.
12040         * ggc-page.c: Likewise.
12041         (poison): Remove.
12042         (poison_pages): Use memset directly.
12043         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
12044         (ggc_collect): Poison before sweeping.
12045         * ggc-simple.c: Update pre-function commentary.
12046         (ggc_alloc_obj): Poison non-zeroed memory.
12047
12048 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
12049
12050         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
12051         match format string, even on 64-bit hosts.
12052         * gcc-page.c (ggc_page_print_statistics): Likewise.
12053
12054 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
12055
12056         * config/i386/i386.c (ix86_cpu): Revert last patch.
12057         * config/i386/i386.h (ix86_cpu): Ditto.
12058
12059 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
12060
12061         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
12062         TYPE_SIZE, convert type of result to sizetype.
12063
12064 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
12065
12066         * flow.c (count_or_remove_death_notes): Equate NULL with the
12067         universal set.
12068
12069         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
12070         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
12071         dbr_schedule.
12072
12073         * i386.c (pic_label_no): Delete.
12074         (ix86_attr_length_default): Don't use single_set to peek
12075         inside a parallel.
12076
12077         * recog.c (peephole2_optimize): Allow recog_next_insn to index
12078         the first insn after bb->end.
12079         * i386.md (push mem peeps): Scratch is live after evaluation
12080         of the memory.
12081         (cmp mem peep): Similarly.
12082
12083 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
12084
12085         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
12086         * function.c (pad_to_arg_alignment): Add missing braces.
12087
12088 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12089
12090         * alpha/alpha-protos.h (literal_section): Add prototype.
12091         (alpha_need_linkage, alpha_start_function,alpha_end_function):
12092         Constify a char*.
12093
12094         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
12095         prototype.
12096         (alpha_start_function, alpha_end_function, float_strings,
12097         alpha_need_linkage): Constify a char*
12098
12099         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
12100
12101         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
12102
12103         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12104
12105         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
12106
12107 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12108
12109         * flow.c (debug_flow_info): Add prototype.
12110
12111         * gcc.c (main): Likewise.
12112
12113         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
12114         Likewise.
12115
12116         * reload1.c (failed_reload, set_reload_reg): Likewise.
12117
12118         * mips-tfile.c (main): Likewise.
12119         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
12120         with ATTRIBUTE_NORETURN.
12121
12122 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
12123
12124         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
12125         DECL is not a memory ref.
12126
12127 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
12128
12129         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
12130         * config/i386/i386.c (ix86_cpu): Add extern attribute.
12131
12132 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
12133
12134         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
12135         * config/mips/elf64.h: ditto.
12136
12137 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
12138
12139         * expr.c (emit_push_insn): New argument alignment_pad.
12140         Update all callers.  Adjust stack pointer based on alignment pad.
12141         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
12142         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
12143         (locate_and_pad_parm): New argument alignment_pad.  Update all
12144         callers.
12145         * expr.h (emit_push_insn): Update prototype.
12146         (locate_and_pad_parm): Update prototype.
12147         * calls.c (arg_data):  Add new field alignment_pad.
12148         (initialize_argument_information): Initialize alignment_pad.
12149
12150 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
12151
12152         * except.c (free_eh_nesting_info): Free the info itself.
12153         * function.c (free_after_compilation): Don't free NULL.
12154         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
12155         (pre_edge_insert): Free inserted.
12156         * stmt.c (free_stmt_status): Don't free NULL.
12157
12158 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
12159
12160         * gcov.c (DIR_SEPARATOR): Provide default.
12161         (output_data): Add test for MS-DOS format absolute filename.
12162         (fancy_abort): Correct program name.
12163         (open_files): Open all files in binary mode.
12164         * libgcc2.c (__bb_exit_func): Likewise.
12165
12166         * profile.c (init_branch_prob): Specify binary when opening files.
12167
12168         * flags.h (flag_unwind_tables): New decl.
12169         * toplev.c (flag_unwind_table): New definition.
12170         (f_options): Add -funwind-tables.
12171         (decode_g_option): Clarify warning when unknown -g option is given.
12172         (rest_of_compilation): If inside an inlined external function,
12173         pretend we are just being declared.
12174
12175         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
12176         (dwarf2out_frame_finish): Likewise.
12177
12178 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
12179
12180         * fold-const.c (merge_ranges): If not in0, but in1, handle
12181         upper bounds equal like subset case.
12182
12183 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
12184
12185         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
12186         passed in a register but moved to the stack.
12187
12188 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
12189
12190         * gcc.c (pass_exit_codes, greatest_status): New variables.
12191         (struct option_map): Add entry for "--pass-exit-codes".
12192         (execute): Update greatest_status if error.
12193         (display_help): Add documentation for -pass-exit-codes.
12194         (process_command): Handle -pass-exit-codes.
12195         (main): Look at pass_exit_codes and greatest_status on call to exit.
12196
12197 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12198
12199         * reload.c (find_reloads): Refine test for no input reload
12200         case to not includes reloads emitted after insn.
12201
12202         * function.c (find_temp_slots_from_address): Handle sum involving
12203         a register that points to a temp slot.
12204         (update_temp_slot_address): Make recursive call if both old and
12205         new are PLUS with a common operand.
12206         * calls.c (expand_call): Mark temp slot for result as having
12207         address taken.
12208
12209         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
12210
12211         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
12212         component as well as "BINUTILS".
12213
12214         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
12215         * integrate.c (copy_rtx_and_substitute): Likewise.
12216         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
12217         All callers changed.
12218         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
12219
12220         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
12221         gdb extensions, write size of type; also be more consistent
12222         in using references when this is a subtype.
12223
12224         * pa.md (extv, extzv, insv): Use define_expand to reject constant
12225         that is out of range.
12226
12227         * loop.c (unknown_constant_address_altered): New variable.
12228         (prescan_loop): Initialize it.
12229         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
12230         (invariant_p, case MEM): Remove handling for volatile and readonly;
12231         check new variable if readonly.
12232         (check_dbra_loop): Chdeck unknown_constant_address_altered.
12233
12234         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
12235         (addr_affects_sp_p): Removed from note_mem_written and only
12236         define #ifdef AUTO_INC_DEC.
12237
12238         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
12239
12240         * regclass.c (record_reg_classes): Properly handle register move
12241         directions.
12242
12243         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
12244         Don't think valid if both operands are invalid.
12245         (struct constant_descriptor): New field RTL.
12246         (mark_const_hash_entry): Mark it.
12247         (record_constant{,_rtx}): Initialize it.
12248         (output_constant_def): Allocate RTL in permanent obstack and
12249         save in table.
12250         ({record,compare}_constant_1): Modes must match for
12251         CONSTRUCTOR of ARRAY_TYPE.
12252
12253         * c-common.h (initializer_constant_valid_p): Delete decl from here.
12254         * output.h (initializer_constant_valid_p): Move decl to here.
12255         * c-common.c (initializer_constant_valid_p): Delete function from here.
12256         * varasm.c (initializer_constant_valid_p): Move function to here.
12257
12258         * tree.h (STRIP_SIGN_NOPS): New macro.
12259         * fold-const.c (optimize_minmax_comparison): New function.
12260         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
12261         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
12262         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
12263         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
12264         widening conversions.
12265         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
12266         to look at size of mode, not precision of type; also add missing cases.
12267         (optimize_bit_field_compare, decode_field_reference): Don't try to
12268         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
12269
12270         * dwarf2out.c (ctype.h): Include.
12271         (dwarf2out_set_demangle_name_func): New function.
12272         (size_of_line_info): Deleted.
12273         (output_line_info): Compute size of line info table from difference
12274         of labels.
12275         (base_type_die, add_name_attribute): Call demangle function, if any.
12276         (field_byte_offset): Use bits per word for variable length fields.
12277         (gen_array_type_die): Add array name.
12278         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
12279         (dwarf2out_add_library_unit_info): New function.
12280
12281         * explow.c (set_stack_check_libfunc): New function.
12282         (stack_check_libfunc): New static variable.
12283         (probe_stack_range): Allow front-end to set up a libfunc to call.
12284
12285         * combine.c (simplify_comparison): When making comparison in wider
12286         mode, check for having commuted an AND and a SUBREG.
12287         (contains_muldiv): New function.
12288         (try_combine): Call it when dividing a PARALLEL.
12289         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
12290         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
12291         a PLUS.
12292         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
12293         use one of the CLOBBERs instead.
12294         (if_then_else_cond): If comparing against zero, just return thing
12295         being compared.
12296
12297         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
12298         Don't generate shifts and subtract if have conditional arithmetic.
12299
12300         * rtl.h (delete_barrier): New declaration.
12301         * jump.c (jump_optimize): Set up to handle conditional call.
12302         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
12303         (delete_barrier): New function.
12304
12305         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
12306
12307         * recog.c (nonmemory_operand): Accept ADDRESSOF.
12308
12309         * tree.c (build_type_attribute_variant): Push to obstack of
12310         ttype around type_hash_canon call.
12311
12312         * expr.c (placeholder_list): Move decl to file scope.
12313         (expand_expr): Don't force access to volatile just because its
12314         address is taken.
12315         If ignoring reference operations, just expand the operands.
12316         (expand_expr, case COMPONENT_REF): Propagate
12317         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
12318         Refine test for using bitfield operations vs pointer punning.
12319         (expand_expr, case CONVERT_EXPR): If converting to
12320         BLKmode UNION_TYPE from BLKmode, just return inner object.
12321         Use proper mode in store_field call.
12322         Properly set sizes of object to store and total size in store_field
12323         call for convert to union.
12324         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
12325         memory (like for ADDR_EXPR).  Also, don't put constant in register if
12326         we'll want it in memory.
12327         (readonly_fields_p): New function.
12328         (expand_expr, case INDIRECT_REF): Call it if LHS.
12329         (expand_assignment): Handle a RESULT_DECL where
12330         DECL_RTL is a PARALLEL.
12331         (do_jump, case WITH_RECORD_EXPR): New case.
12332         (get_inner_reference): Always go inside a CONVERT_EXPR
12333         and NOP_EXPR if both modes are the same.
12334         (store_field): Use bitfield operations if size of bitsize is not same
12335         as size of RHS's type.
12336         Check for bitpos not a multiple of alignment in BLKmode case.
12337         Do block move in largest possible alignment.
12338         (store_constructor): Set BITSIZE to -1 for variable size and properly
12339         in case of array of BLKmode.
12340         (expand_expr_unaligned): New function.
12341         (do_compare_and_jump): Call it.
12342
12343         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
12344         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
12345         does not include 'o'.
12346
12347         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
12348         both SET_DEST and SET_SRC reference a virtual register.
12349         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
12350
12351         * integrate.c (expand_inline_function): Handle case of setting
12352         virtual stack vars register (from built in setjmp); when parameter
12353         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
12354         (subst_constant): Add new parm, MEMONLY.
12355         (expand_inline_function, integrate_parm_decls): Pass new parm.
12356         (integrate_decl_tree): Likewise.
12357         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
12358         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
12359         (copy_rtx_and_substitute, case SET): Add explicit calls to
12360         copy_rtx_and_substitute for both sides.
12361
12362         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
12363         constraints.
12364         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
12365         within INDEX_TYPE, instead of before.
12366         (fixup_gotos): Use f->target_rtl, not the next insn,
12367         since latter may be from a later fixup.
12368         (expand_value_return): Correctly convert VAL when promoting function
12369         return; support RETURN_REG being a PARALLEL.
12370         (expand_return): When checking for result in regs and having
12371         cleanup, consider PARALLEL in DECL_RTL as being in regs.
12372
12373 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
12374
12375         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
12376         last_nominal_fname): Mark const.
12377         (struct include_hash: name, nshort, control_macro): Mark
12378         const.
12379         (struct macrodef: symnam): Mark const.
12380         (struct if_stack: fname): Mark const.
12381         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
12382         (IStable): New character-syntax array which encompasses all
12383         the old is_foo arrays.
12384         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
12385         is_space): New macros for interrogating IStable.
12386         (check_macro_name): Kill last argument.  All callers changed.
12387
12388         * cppinit.c (initialize_char_syntax): Delete.
12389         (is_idchar, is_idstart, is_hor_space, is_space,
12390         trigraph_table): Delete.
12391         (IStable): New.  Initialize with clever macros to avoid
12392         information duplication.
12393         (builtin_array): Table of builtins to get rid of explicit list
12394         in initialize_builtins.
12395         (initialize_builtins): Use builtins_array.
12396         (cpp_start_read): Call init_IStable, and set IStable['$'] if
12397         opts->dollars_in_ident.
12398
12399         * cppexp.c: Change all refs to is_xyz[] arrays to use new
12400         is_xyz() macros.
12401         (cpp_parse_expr): Avoid 'format string is not constant'
12402         warning. Use ISGRAPH to identify printable chars.
12403         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
12404         is_xyz() macros.
12405         (read_and_prescan): Map trigraphs to chars with open-coded
12406         if-else-if-... sequence, not a lookup table.
12407         * cpphash.c: Change all refs to is_xyz[] arrays to use new
12408         is_xyz() macros.
12409         * cpplib.c: Change all refs to is_xyz[] arrays to use new
12410         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
12411         (check_macro_name): Remove ability to report an invalid
12412         assertion name, which is never used.
12413         (do_line): Constify a couple of char *'s.
12414         * cppmain.c (main): Call cpp_cleanup before returning.
12415
12416 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
12417
12418         * ggc.h (struct ggc_statistics): New type.
12419         (ggc_get_size): New function.
12420         (ggc_print_statistics): Likewise.
12421         * ggc-common.c (ggc_stats): New variable.
12422         (ggc_mark_rtx_children): Keep statistics.
12423         (ggc_mark_tree_children): Likewise.
12424         (ggc_print_statistics): New function.
12425         * ggc-page.c (struct globals): Add bytes_mapped field.
12426         (alloc_anon): Update it.
12427         (release_pages): Likewise.
12428         (ggc_get_size): New function.
12429         (ggc_page_print_statistics): New function.
12430         * ggc-simple.c (ggc_get_size): New function.
12431
12432 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
12433
12434         * flow.c (propagate_block): When the last reference to a label
12435         before an ADDR_VEC is deleted because the reference is a dead
12436         store, delete the ADDR_VEC.
12437
12438 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
12439
12440         * resource.c (find_free_register): Don't use the frame pointer
12441         if frame_pointer_needed.
12442
12443 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
12444
12445         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
12446         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
12447
12448         * config/i960/i960.c (i960_va_start): New locals base, num.
12449         Use INDIRECT_REF instead of ARRAY_REF on valist.
12450         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
12451
12452 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
12453
12454         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
12455
12456 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
12457
12458         * tree.def (PLACEHOLDER_EXPR): Update comments.
12459
12460 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12461
12462         * c-common.c (check_format_info): Avoid non-literal format string
12463         warnings when `first_arg_num' is zero.
12464
12465 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12466
12467         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
12468
12469 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
12470
12471         * arm.md (casesi_insn): Add a clobber of the condition code
12472         register.
12473
12474 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
12475
12476         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
12477         used by both cc1 and cc1plus.
12478
12479 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
12480
12481         * config/arm/arm.c: Initialise arm_structure_size_boundary to
12482         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
12483         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
12484         to the value 32 if it has not already been defined.
12485         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
12486         Override definition in arm.h with a value of 8.
12487
12488 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
12489
12490         * c-pragma.c (push_alignment): Don't check the return value
12491         of xmalloc.
12492
12493 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
12494
12495         * sparc.h (ADJUST_COST): Fix thinko.
12496
12497 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
12498
12499         * cccp.c (rescan): Fixed obp pointer handling around call to
12500         check_expand subroutine.
12501
12502 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
12503
12504         * gcse.c (delete_null_pointer_checks): Only record non-null info
12505         for pseudos when examining stores.
12506
12507         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
12508         splitters for these patterns.  Use "#" for output templates.
12509         (addsi3_carryin_shift): New pattern.
12510
12511 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
12512
12513         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
12514         of the function return register into a plain REG until
12515         after function inlining is done.
12516
12517 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
12518
12519         * jump.c (jump_optimize_1): If we did cross-jumping, and
12520         the data will matter, rebuild the CFG.
12521         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
12522         not optimizing.  Don't run shorten_branches.
12523         * toplev.c (rest_of_compilation): Run shorten_branches after
12524         reg_to_stack.
12525
12526 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
12527
12528         * rtl.h (note_stores): Add additional paramter.
12529         * rtlanal.c (reg_set_p_1): Take additional paramter.
12530         (reg_set_last_1): Likewise.
12531         (reg_set_p): Adjust call to note_stores.
12532         (reg_set_last): Likewise.
12533         (note_stores): Pass data parameter to worker function.
12534         * alias.c (record_set): Take additional parameter.
12535         (init_alias_analysis): Pass it.
12536         * caller-save.c (mark_set_regs): Take additional parameter.
12537         (save_call_clobbered_regs): Pass NULL to note_stores.
12538         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
12539         parameter.
12540         (record_dead_and_set_regs_1): Likewise.
12541         (reg_dead_at_p_1): Likewise.
12542         (combine_instructions): Adjust calls to note_stores.
12543         (try_combine): Likewise.
12544         (record_dead_insn): Remove.
12545         (record_dead_and_set_regs): Adjust calls to note_stores.
12546         (reg_dead_at_p): Likewise.
12547         * cse.c (invalidate_skipped_set): Take additional parameter.
12548         (cse_check_loop_start): Likewise.
12549         (cse_check_loop_start_value): Remove.
12550         (cse_set_around_loop): Adjust calls to note_stores.
12551         * flow.c (notice_stack_pointer_modification): Take additional
12552         parameter.  Remove duplicate declaration.
12553         (record_volatile_insns): Adjust calls to note_stores.
12554         * gcse.c (record_set_info): Take additional parameter.
12555         (record_last_set_info): Likewise.
12556         (invalidate_nonnull_info): Likewise.
12557         (record_set_insn): Remove.
12558         (compute_sets): Adjust calls to note_stores.
12559         (last_set_insn): Remove.
12560         (compute_hash_table): Adjust calls to note_stores.
12561         (insert_insn_end_bb): Likewise.
12562         (delete_null_pointer_checks): Likewise.
12563         * global.c (mark_reg_store): Take additional parameter.
12564         (mark_reg_clobber): Likewise.
12565         (reg_becomes_live): Likewise.
12566         (global_conflicts): Adjust calls to note_stores.
12567         (build_insn_chain): Likewise.
12568         * integrate.c (note_modified_parmregs): Take additional parameter.
12569         (mark_stores): Likewise.  Make it static.
12570         (save_for_inline_nocopy): Adjust calls to note_stores.
12571         (try_constants): Likewise.
12572         * integrate.h (mark_stores): Remove declaration.
12573         * jump.c (mark_modified_reg): Take additional parameter.
12574         (thread_jumps): Adjust calls to note_stores.
12575         * local-alloc.c (validate_equiv_mem_from_store): Take additional
12576         parameter.
12577         (no_equiv): Likewise.
12578         (reg_is_set): Likewise.
12579         (validate_equiv_mem): Adjust calls to note_stores.
12580         (update_equiv_regs): Likewise.
12581         (block_alloc): Likewise.
12582         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
12583         (note_addr_stored): Take additional parameter.
12584         (note_set_pseudo_multiple_uses): Likewise.
12585         (record_initial): Likewise.
12586         (prescan_loop): Adjust calls to note_stores.
12587         (strength_reduce): Likewise.
12588         (check_dbra_loop): Likewise.
12589         * regmove.c (flags_set_1): Take additional paramter.
12590         (mark_flags_life_zones): Adjust calls to note_stores.
12591         * reload1.c (mark_not_eliminable): Take additional parameter.
12592         (forget_old_reloads_1): Likewise.
12593         (reload_cse_invalidate_rtx): Likewise.
12594         (reload_cse_check_clobber): Likewise.
12595         (reload_combine_note_store): Likewise.
12596         (move2add_note_store): Likewise.
12597         (reload): Adjust calls to note_stores.
12598         (reload_as_needed): Likewise.
12599         (emit_reload_insns): Likewise.
12600         (reload_cse_regs_1): Likewise.
12601         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
12602         (reload_combine): Adjust calls to note_stores.
12603         * resource.c (update_live_status): Take additional paramter.
12604         (mark_target_live_regs): Adjust calls to note_stores.
12605         * stupid.c (find_clobbered_regs): Take additional parameter.
12606         (stupid_life_analysis): Adjust calls to note_stores.
12607
12608 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
12609
12610         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
12611         definition.
12612
12613         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
12614         definition.
12615
12616         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
12617         of the variable arm_structure_size_boundary.
12618
12619 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
12620
12621         * alias.c (init_alias_analysis): Allocate reg_known_value and
12622         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
12623         and reg_seen.
12624         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
12625         * cse.c (cse_main): Call end_alias_analysis.
12626         * haifa-sched.c (schedule_insns): Likewise.
12627         * local-alloc. (update_equiv_regs): Likewise.
12628         * reload1.c (reload_cse_regs): Likewise.
12629
12630 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12631
12632         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
12633         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
12634         mapping from MASK_FPU.
12635
12636 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
12637
12638         * sparc.md (call): Don't bound structure return size to 0xfff.
12639
12640 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
12641
12642         * resource.c (mark_target_live_regs): Check that the target
12643         insn wasn't created after compute_bb_for_insn.
12644
12645 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
12646
12647         * ggc-page.c (poison_pages): Don't be overzealous.
12648
12649 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
12650
12651         * alias.c: Update comments for ADDRESS.
12652         (nonlocal_reference_p): Look inside the ADDRESS to determine if
12653         it is a local memory reference.
12654
12655         * c-typeck.c (build_function_call): Check that the built-in
12656         function is of class BUILT_IN_NORMAL before trying to recongize
12657         it as BUILT_IN_ABS.
12658         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
12659         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
12660
12661 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
12662
12663         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
12664         of alloca.
12665         (pre_gcse): Likewise.
12666         (hoist_expr_reaches_here_p): Likewise.
12667         (hoist_code): Likewise.
12668         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
12669         code to ...
12670         (pre_expr_reaches_here_p_work): ... here.
12671         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
12672         code to ...
12673         (expr_reaches_here_p_work): ... here.
12674
12675 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
12676
12677         * resource.c (find_basic_block): Delete.
12678         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
12679         (init_resource_info): Call compute_bb_for_insn.
12680
12681 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
12682
12683         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
12684         with already adjacent blocks, but no fallthru.
12685         (merge_blocks_move_successor_nojumps): Simplify.
12686         (debug_flow_info): New.
12687
12688         * toplev.c (rest_of_compilation): Open jump1 dump file before
12689         jump and close after, as opposed to just using dump_rtl.
12690
12691 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12692
12693         * reload.h (earlyclobber_operand_p): Declare.
12694         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
12695         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
12696         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
12697         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
12698
12699 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
12700                           Richard Henderson  <rth@cygnus.com>
12701
12702         * emit-rtl.c (emit_block_insn_before): New.
12703         (emit_block_insn_after): New.
12704         * basic-block.h: Declare them.
12705
12706         * bitmap.h: Protect from multiple inclusion.
12707
12708         * recog.c (scratch_operand): Handle VOIDmode correctly.
12709
12710         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
12711
12712         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
12713         * function.c (assign_parms): Likewise.
12714         * global.c (global_conflicts): Clarify STACK_REGS commentary.
12715
12716         * reg-stack.c (max_uid): Remove.
12717         (blocks, block_begin, block_end, block_drops_in): Remove.
12718         (block_stack_in, block_out_reg_set, block_number): Remove.
12719         (struct block_info_def, BLOCK_INFO): New.
12720         (enum emit_where): New.
12721         (current_block): New.
12722         (BLOCK_NUM): Remove.
12723         (mark_regs_pat, record_label_references): Remove.
12724         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
12725         (nan): New.
12726         (goto_block_pat, print_blocks, dump_stack_info): Remove.
12727         (reg_to_stack): Simplified test for existance of fp code.  Use
12728         flow.c code.  Call shorten_branches after cross-jump opt.
12729         (check_asm_stack_operands): Renamed from record_asm_reg_life.
12730         Return false if the asm doesn't use stack regs.  Don't do life
12731         analysis on the asm.
12732         (emit_pop_insn): Replace function pointer arg `when' with
12733         enum `where'.  Update all callers.
12734         (change_stack): Likewise.  Update basic block end.
12735         (emit_swap_insn): Use current_block->head to limit reverse search
12736         for start of block.  Use emit_block_insn_after.
12737         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
12738         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
12739         structure assignment instead of bcopy.
12740         (print_stack): New.
12741         (convert_regs_entry, convert_regs_exit): New.
12742         (convert_regs_1, convert_regs_2): Split out from convert_regs.
12743         Work on basic blocks and the CFG.
12744         (convert_regs): Use them.
12745
12746         * i386.c (output_fix_trunc): Remove code for DImode input operand
12747         not at top-of-stack.
12748         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
12749         appropriate mode.
12750         (fix_truncdi_1): Allow any mode scratch.
12751
12752 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
12753
12754         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
12755         * linux.h, netbsd.h, vms.h: Not here.
12756
12757 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
12758
12759         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
12760         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
12761         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
12762         CONDITIONAL_REGISTER_USEAGE): Use them.
12763         * config/mips/mips.c (mips_move_1word,mips_move_2words,
12764         gen_conditional_branch,override_options) : Use them.
12765         * config/mips/mips.md : Use them.
12766
12767 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
12768
12769         * i386.md (zero_extendqihi2): Use SImode register name with andl.
12770
12771 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
12772
12773         * integrate.c (function_cannot_inline_p): Don't allow inlining
12774         if setjmp is used.
12775
12776 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12777
12778         * c-parse.in (cast_expr): Constify.
12779
12780         * cccp.c (special_symbol): Likewise.
12781
12782         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
12783
12784         * dwarf2out.c (base_type_die): Likewise.
12785
12786         * global.c (allocno_compare): Likewise.
12787
12788         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
12789
12790         * regclass.c (fix_register): Likewise.
12791
12792         * rtl.h (fix_register): Likewise.
12793
12794         * stupid.c (stupid_reg_compare): Likewise.
12795
12796         * toplev.c (decode_f_option): Likewise.
12797
12798         * tree.c (build_complex_type): Likewise.
12799
12800 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
12801
12802         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
12803
12804 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12805
12806         * reload.c (find_reloads): Compute mode and nregs fields of all
12807         reloads.
12808         * reload1.c (calculate_needs_all_insns): Simplify a bit.
12809         (calculate_needs): Use precomputed mode/nregs values.
12810         (allocate_reload_reg): Likewise.
12811         Break out two...
12812         (failed_reload, set_reload_reg): ... new functions.
12813         (choose_reload_regs_init): New function, mostly broken out from...
12814         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
12815         Also lose one #if 0 block.
12816
12817 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
12818
12819         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
12820         substitution.
12821
12822 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
12823
12824         * tree.h (BLOCK_TYPE_TAGS): Remove.
12825         (BLOCK_END_NOTE): Likewise.
12826         (BLOCK_LIVE_RANGE_FLAG): Likewise.
12827         (BLOCK_LIVE_RANGE_START): Likewise.
12828         (BLOCK_LIVE_RANGE_END): Likewise.
12829         (tree_block): Remove live_range_flag, live_range_var_flag, and
12830         type_tags.  Remove end_note, live_range_start, and live_range_end.
12831         (remember_end_note): Remove prototype.
12832         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
12833         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
12834         remember_end_note.
12835         * ggc-common.c (ggc_mark_tree_children): Don't mark
12836         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
12837         * integrate.c (adjust_copied_decl_tree): Remove.
12838         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
12839         * stmt.c (last_block_end_note): Remove.
12840         (init_stmt): Don't add a GC root for it.
12841         (expand_fixup): Don't set it.
12842         (remember_end_note): Remove.
12843         (expand_end_bindings): Don't set last_block_end_note.
12844
12845 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12846
12847         * reload1.c (reload_reg_free_for_value_p): Show
12848         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
12849         reloads.
12850
12851 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
12852
12853         * expmed.c (extract_bit_field): Allow for the case of non-integer
12854         objects that are smaller than a word (like SFmode on a 64-bit
12855         machine).
12856
12857         * loop.c (basic_induction_var): A non-integer variable which is
12858         being set by a paradoxical subreg is probably not a biv.
12859
12860 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12861
12862         * prefix.c (translate_name) Check for empty prefix string.
12863
12864 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
12865
12866         * Makefile.in (CPP_CROSS_NAME): New variable.
12867         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
12868         xcpp.
12869         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
12870         names of the files to be uninstalled.
12871
12872 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
12873
12874         * collect2.c (IS_DIR_SEPARATOR): Define.
12875         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
12876
12877         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
12878         functions too.
12879
12880         * haifa-sched.c (add_dependence): Update the true dependency
12881         cache the first time we add a true dependence to the LOG_LINKS chain.
12882
12883 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
12884
12885         * fold-const.c (fold): Fix comment.
12886
12887 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12888
12889         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
12890         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
12891         dbxout_start_new_source_file, dbxout_source_file,
12892         dbxout_source_line, dbxout_finish, dbxout_type_fields,
12893         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
12894         Constify a char*.
12895         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
12896         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
12897         (dbxout_block): Initialize variable `blocknum'.
12898
12899         * dbxout.h (dbxout_init, dbxout_finish,
12900         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
12901         dbxout_args, dbxout_source_line): Constify a char*.
12902
12903         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
12904         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
12905         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
12906         low_pc_attribute, high_pc_attribute, body_begin_attribute,
12907         body_end_attribute, comp_dir_attribute, sf_names_attribute,
12908         src_info_attribute, mac_info_attribute, producer_attribute,
12909         lookup_filename, generate_macinfo_entry, fundamental_type_code,
12910         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
12911         dwarfout_undef): Constify a char*.
12912         (add_incomplete_type, retry_incomplete_types): Add prototypes.
12913
12914         * dwarfout.h (dwarfout_define, dwarfout_undef,
12915         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
12916
12917 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
12918
12919         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
12920         (MULTILIB_ISA_DEFAULT): New.
12921         (MULTILIB_DEFAULTS): Use it.
12922         * config/mips/mips.c (): Remove the now unnecessary definition
12923         of MIPS_ISA_DEFAULT.
12924         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
12925         unnecessary definition.
12926
12927 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
12928
12929         * arm.md (pic_load_addr): Add constraints to operand 1.
12930
12931 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
12932
12933         * fixinc/genfixes:  Provide a means for specifying -D options to
12934         AutoGen
12935
12936 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
12937
12938         * arm.c (arm_override_options): Correct initialization of
12939         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
12940         arm_is_strong, and arm_is_6_or_7.
12941
12942         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
12943         (note_set_pseudo_multiple_uses): New function.
12944         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
12945         if a pseudo set in the loop exit is used elsewhere.
12946
12947 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
12948
12949         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
12950
12951 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
12952
12953         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
12954         a single load-address pattern.
12955
12956 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
12957
12958         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
12959         depending on whether or not line-number notes are present.
12960
12961 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12962
12963         * cccp.c (progname, file_buf, default_include, include_file,
12964         macrodef, definition, hashval, wchar_type, user_label_prefix,
12965         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
12966         expand_to_temp_buffer, is_system_include, base_name,
12967         absolute_filename, read_name_map, open_include_file,
12968         record_control_macro, check_precompiled, check_preconditions,
12969         pcfinclude, pass_thru_directive, create_definition,
12970         check_macro_name, comp_def_part, collect_expansion,
12971         check_assertion, read_token_list, assertion_install,
12972         assertion_lookup, eval_if_expression, conditional_skip,
12973         validate_else, skip_quoted_string, quote_string, macarg1,
12974         error_from_errno, install, lookup, hashf, dump_defn_1,
12975         perror_with_name, pfatal_with_name, main, trigraph_pcp,
12976         check_white_space, rescan, handle_directive, monthnames,
12977         special_symbol, do_include, remap_include_file, write_output,
12978         arglist, do_assert, do_unassert, do_line, do_error, do_once,
12979         do_ident, do_sccs, do_xifdef, skip_if_group,
12980         output_line_directive, macroexpand, macarg, change_newlines,
12981         initialize_builtins, make_definition): Constify a char*.
12982
12983         * pcp.h (stringdef): Likewise.
12984
12985 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
12986
12987         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
12988         not of pattern.
12989
12990 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
12991                           Richard Henderson  <rth@cygnus.com>
12992
12993         * alias.c: Include ggc.h.
12994         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
12995         (record_set): Verify enough room in reg_base_value.
12996         (init_alias_analysis): Allocate reg_base_value with xcalloc.
12997         Register it as a GC root.
12998         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
12999         * Makefile.in (alias.o): Depend on ggc.h.
13000
13001         * unroll.c (unroll_loop): Verify the insn before a barrier
13002         is a JUMP_INSN before checking JUMP_LABEL.
13003
13004 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13005
13006         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
13007         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
13008         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
13009         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
13010         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
13011         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
13012
13013 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13014
13015         * output.h (ctors_section, dtors_section, bss_section): Prototype.
13016
13017         * alpha/alpha-interix.h (text_section): Delete prototype.
13018         * alpha/elf.h (text_section): Likewise.
13019         * arm/linux-elf.h (text_section): Likewise.
13020         * arm/linux-telf.h (text_section): Likewise.
13021         * c4x/c4x.h (text_section): Likewise.
13022         * dsp16xx/dsp16xx.h (bss_section): Likewise.
13023         * elfos.h (text_section): Likewise.
13024         * i386/aix386ng.h (text_section): Likewise.
13025         * i386/i386-interix.h (text_section): Likewise.
13026         * i386/sco5.h (text_section): Likewise.
13027         * i386/svr3gas.h (text_section): Likewise.
13028         * nextstep.h (text_section): Likewise.
13029         * psos.h (text_section): Likewise.
13030         * ptx4.h (text_section): Likewise.
13031         * svr3.h (text_section): Likewise.
13032         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
13033
13034 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13035
13036         * final.c (peephole): Delete prototype.
13037
13038         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
13039         (pre_insert_copies): Remove unused variable `bb'.
13040
13041         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
13042         prototypes.
13043
13044         * output.h (peephole): Add prototype.
13045
13046 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
13047
13048         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
13049         -O0.
13050
13051 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
13052
13053         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
13054         for inlined declarations.
13055
13056 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
13057
13058         * arm.c (logical_binary_operator): New fucntion.
13059         * arm.h (logical_binary_operator): Declare it.
13060         (PREDICATE_CODES): Handle logical_binary_operator.
13061         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
13062         output constraints.  Add appropriate splitters.
13063         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
13064         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
13065         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
13066
13067 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13068
13069         * genoutput.c (struct operand_data): New elt eliminable.
13070         (output_operand_data): Write it.
13071         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
13072         (compare_operands): Take it into account.
13073         * recog.h (struct insn_operand_data): New elt eliminable.
13074         * reload1.c (check_eliminable_occurrences, elimination_effects): New
13075         functions.
13076         (old_asm_operands_vec, new_asm_operands_vec): Delete.
13077         (eliminate_regs): Move code that detects changes to elimination
13078         target regs into new function elimination_effects.
13079         Delete one #if 0 block.
13080         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
13081         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
13082         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
13083         Only call eliminate_regs for real operands of the insn, not for parts
13084         of its structure or parts matched by things like match_operator.
13085         Use elimination_effects and check_eliminable_occurrences.  Use
13086         copy_insn to duplicate the pattern when not in the final pass.
13087
13088 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
13089
13090         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
13091         and fld.
13092
13093 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
13094
13095         * fixinc/README: document the "mach" machine matching test
13096         * fixinc/fixfixes.c: Implement the #else/#endif label fix
13097         * fixinc/fixtests.c: Implement the #else/#endif label test
13098         * fixinc/inclhack.def: utilize these tests and fixes
13099         * fixinc/inclhack.sh:  regen
13100         * fixinc/fixincl.x:  regen
13101         * fixinc/fixincl.sh:  regen
13102
13103 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
13104
13105         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
13106         depend on ggc.h.
13107
13108 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
13109
13110         * gcc.1: Document exit codes.
13111
13112 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13113
13114         * calls.c: Include tm_p.h later, so everything we need is defined.
13115         * expr.c: Likewise.
13116         * function.c: Likewise.
13117
13118         * except.c: Include tm_p.h.
13119
13120         * sparc.c: Likewise.
13121         (dwarf2out_cfi_label): Don't prototype.
13122         (check_return_regs, epilogue_renumber,
13123         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
13124         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
13125         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
13126         ultra_schedule_insn): Add static prototype.
13127         (data_segment_operand, text_segment_operand): Call itself with the
13128         proper number of arguments.
13129         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
13130
13131         * sparc.h: Move all declarations to sparc-protos.h.
13132         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
13133         symbolic_operand.
13134
13135         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
13136
13137         * config/svr4.h (text_section, ctors_section, dtors_section): Add
13138         Prototypes.
13139         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
13140         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
13141         ASM_OUTPUT_ASCII): Constify a char*.
13142
13143         * sparc-protos.h: New file for sparc prototypes.
13144
13145 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13146
13147         * function.c (record_insns, contains): Always declare and define.
13148         (record_insns): Mark with ATTRIBUTE_UNUSED.
13149
13150 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13151
13152         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
13153         to .section when outputting a .bss section to deal with multiple
13154         .bss input sections (as happens with -fdata-sections)
13155         Also output %progbits, not @progbits so the assembler doesn't treat as
13156         a comment.
13157         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
13158
13159         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
13160         thumb parts even when building with non-thumb CPUs, by forcing
13161         thumb mode.
13162
13163 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
13164
13165         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
13166         (movdf_const_intreg_sp64): Similarly.
13167
13168         * local-alloc.c (update_equiv_regs): Check the correct insn
13169         for pre-existing REG_EQUIV notes.
13170
13171 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
13172
13173         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
13174         block reached by a branch if we're not going to actually process
13175         this block.
13176
13177 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
13178
13179         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
13180         a local extern function declaration.
13181
13182 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
13183
13184         * i386.c (ix86_expand_prologue): Properly wrap USE around
13185         reg for CALL_INSN_FUNCTION_USAGE.
13186
13187 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
13188
13189         * config/mips/mips.md (movdf_internal1a): Allow floating-point
13190         move between GP_REGs.
13191
13192 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
13193
13194         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
13195         the mode size when finding out if an offset is legal.
13196
13197 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
13198
13199         * basic-block.h (PROP_*): Move constants from ...
13200         * flow.c: ... here.
13201         (compute_bb_for_insn): Free the array before reallocating.
13202         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
13203         (allocate_reg_life_data): Reset all reg variables collected by
13204         propagate_block.
13205         (get_block_head_tail): Don't convert from bb to block.
13206         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
13207         (find_insn_reg_weight): Take block not bb.
13208         (schedule_block): Don't set block num for moved insns.
13209         (schedule_region): Don't update_life_info or find_insn_reg_weight.
13210         (schedule_insns): Do it here instead.
13211         * combine.c (combine_instructions): Invoke compute_bb_for_insn
13212         before update_life_info.
13213         * recog.c (split_all_insns, peephole2_optimize): Update for
13214         new arg to update_life_info.
13215         * rtlanal.c (remove_note): Cope with NULL note.
13216         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
13217         if we did sched1.
13218
13219 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
13220
13221         * jump.c (jump_optimize_1): More accurately detect casesi insns.
13222
13223         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
13224         block records so that merge_blocks_nomove will clean up correctly.
13225         (split_edge): Handle casesi insns.
13226
13227         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
13228
13229 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
13230
13231         * pa.md (call, call_value): Do not emit a blockage after restoring
13232         the PIC register.
13233
13234 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
13235
13236         * c-typeck.c (c_expand_asm_operands): Fix typo.
13237
13238 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13239
13240         * arm.c (fpu_rhs_operand): Verify modes.
13241         (fpu_add_operand): Likewise.
13242         (di_operand): Likewise.
13243         (soft_df_operand): Likewise.
13244
13245 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
13246
13247         * arm.c (arm_return_in_memory): APCS rules state that the elements
13248         of a structure returned in a register must be 'integer-like'.
13249
13250 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
13251
13252         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
13253         in the source tree when the generated targets are out of date
13254         * fixinc/genfixes: Alter it to run individual fixes for make.
13255         * fixinc/README: rewrite
13256         * fixinc/inclhack.def: moved initial comments to README
13257
13258 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
13259
13260         * toplev.c (main): Do not generate an error message if an
13261         unrecognised command line switch is recognisable by another
13262         language.  If extra_warnings are enabled, then generate a
13263         warning message instead.
13264
13265 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13266
13267         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
13268         (insert_pack_attributes): Delete prototype.
13269
13270         * c-pragma.c (default_alignment): New static variable.
13271         (push_alignment): Initialize to current effective alignment.
13272         (pop_alignment): Use to set new alignment.
13273         (insert_pack_attributes): Delete function.
13274         (handle_pragma_token): Set default_alignment as well each time
13275         a #pragma pack(<n>) is encountered.
13276
13277 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
13278
13279         * reg-stack.c (stack_result): Aggregates are not returned in
13280         stack registers.
13281
13282 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
13283
13284         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
13285
13286 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
13287
13288         * basic-block.h (set_block_num): Declare.
13289         * flow.c (update_life_info): Don't call compute_bb_for_insn
13290         or free_basic_block_vars.
13291         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
13292         (insn_orig_block): Remove.
13293         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
13294         (schedule_block): Keep BLOCK_NUM up-to-date.
13295         (schedule_insns): Use compute_bb_for_insn.
13296         * recog.c (split_all_insns): Likewise.
13297         (peephole2_optimize): Likewise.
13298
13299 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
13300
13301         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
13302         if the pic register is used.
13303
13304 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13305
13306         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
13307         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
13308         if that tests TREE_PERMANENT.
13309
13310 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
13311
13312         * cse.c (invalidate_for_call): Do not remove memory references from
13313         the table here.  It's handled elsewhere.
13314
13315         * haifa-sched.c (add_dependence): Protect references to the
13316         true dependency cache with #ifdef INSN_SCHEDULING.
13317         (remove_dependence): Similarly.
13318
13319         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
13320         to the cfg code that this is a return instruction.
13321         * mn10300.md (return_internal): Similarly.
13322
13323         * combine.c (get_last_value): If the last set of a register
13324         is after subst_low_cuid, then we can not use it to determine
13325         the register's last value.
13326
13327 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13328
13329         * Makefile.in: Back out previous change.
13330
13331 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
13332
13333         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
13334
13335         * haifa-sched.c (add_dependence): Only check/update the cache
13336         if it exists.
13337         (remove_dependence): Likewise.
13338         (schedule_insns): Only create the true_dependency_cache if the
13339         average number of instructions in a basic block is very large.
13340
13341 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13342
13343         * Makefile.in (ggc-common.o): Depend on genrtl.h.
13344         (ggc-simple.o): Likewise.
13345         (ggc-page.o): Likewise.
13346
13347 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
13348
13349         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
13350         Prototype for exported functions.
13351         (pre_lcm, pre_rev_lcm): Remove prototypes.
13352         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
13353         (compute_available): Move to lcm.c, and change parameter order.
13354         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
13355         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
13356         (gcse_main): No longer call compute_preds_succs.  Rebuild the
13357         set table after reach pre pass.
13358         (pre_insert_map, pre_delete_map, edge_list): New.
13359         (alloc_pre_mem): Allocate edge vectors.
13360         (free_pre_mem): Delete edge vectors.
13361         (compute_pre_data): Call new edge based lcm routines.
13362         (process_insert_insn): New function.
13363         (insert_insn_end_bb): Use it.
13364         (pre_edge_insert): New function.
13365         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
13366         needed.
13367         (pre_insert_copies): Revamp using new edge based lcm outputs.
13368         (pre_delete): Likewise.
13369         (one_pre_gcse_pass): Insert & remove fake edges to the exit
13370         block.
13371         (compute_code_hoist_vbeinout): New new edge based routines.
13372         * lcm.c: Remove all the old LCM functions.  Replace with new ones
13373         that work with the new cfg datastructures and work with edges
13374         instead of blocks.
13375
13376 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13377
13378         * reload.h (struct reload): Add new fields "mode" and "nregs".
13379         * reload1.c: Change all occurrences of reload_mode and reload_nregs
13380         to reference the "mode" and "nregs" field within struct reload.
13381
13382 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
13383
13384         * haifa-sched.c (true_dependency_cache): New.
13385         (add_dependence): Use the true dependency cache to avoid expensive
13386         walks down the LOG_LINKS dependency list.  Add entries to the
13387         cache as necessary.
13388         (remove_dependence): Remove entries from the true dependency cache
13389         as needed.
13390         (schedule_insns): Allocate and initialize and free the true
13391         dependency cache.
13392
13393         * haifa-sched.c (schedule_insns): Do not remove inter-block
13394         dependencies anymore.
13395
13396 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
13397
13398         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
13399         * i386/t-winnt: Likewise.
13400
13401 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
13402
13403         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
13404
13405 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
13406
13407         * Makefile.in (LANGUAGES): Omit "proto".
13408         (clean): Remove stale comment about removing unprotoize.c.
13409
13410 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13411
13412         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
13413         using arithmetic on void pointers.
13414
13415 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
13416
13417         * haifa-sched.c (compute_block_forward_dependencies): Only check
13418         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
13419
13420 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
13421
13422         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
13423         (expr_equiv_p): Reject memories with different alias sets.
13424
13425 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
13426
13427         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
13428         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
13429         (f_options): Add "bounded-pointers" and "bounds-check" entries.
13430         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
13431         (lang_init): Set default for flag_bounds_check if still "unspecified".
13432
13433 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13434
13435         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
13436
13437 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13438
13439         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
13440         instructions.
13441
13442 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13443
13444         * config/c4x/c4x.md (*db_noclobber,
13445         *decrement_and_branch_until_zero_noclobber): New patterns and
13446         associated splitters.
13447
13448 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13449
13450         * config/c4x/c4x.md (parallel instruction patterns): Rework
13451         constraints to keep reload happy.
13452
13453 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13454
13455         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
13456         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
13457         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
13458         Add new patterns and associated post-reload splitters.
13459
13460 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13461
13462         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
13463
13464 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13465
13466         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
13467         if appropriate.
13468         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
13469
13470 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13471
13472         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
13473         memory mode.
13474
13475 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
13476
13477         * pa.c (move_operand): Rely on memory_address_p to determine the
13478         validity of non-indexed memory addresses.
13479         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
13480         operand in DFmode and SFmode when generating PA2.0 code.
13481
13482 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
13483
13484         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
13485
13486 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
13487
13488         * mips.c (function_prologue): Fix argument types.
13489         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
13490         (casesi_internal): Write to the scratch register.
13491
13492 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
13493
13494         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
13495         to U_CHAR **.
13496         (parse_charconst): Delete unnecessary cast when calling
13497         cpp_parse_escape.
13498         (cpplib.h): Kill prototype of cpp_parse_escape.
13499
13500 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
13501
13502         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
13503         * unroll.c (unroll_loop): Cast return value of alloca.
13504         * i370/i370.c: Include function.h and toplev.h.
13505         (i370_label_scan): Remove c++ commented abort.
13506         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
13507         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
13508         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
13509         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
13510
13511 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
13512
13513         * config/t-freebsd: Do not override USER_H.
13514         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
13515
13516 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
13517                           Mumit Khan  <khan@xraylith.wisc.edu>
13518
13519         * c-parse.in (component_decl): Support anonymous struct/union.
13520         (%expect): Update.
13521         * c-parse.y: Regenerate.
13522         * c-parse.c: Likewise.
13523         * objc/objc-parse.y: Likewise.
13524         * objc/objc-parse.c: Likewise.
13525         * c-decl.c (finish_struct): Don't sort the fields.
13526         (field_decl_cmp): Delete unused function.
13527
13528 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
13529
13530         * sparc.md (movsf_const_intreg): Revert last constraint change.
13531         (movdf_const_intreg_sp32): Likewise.
13532
13533 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
13534
13535         * cse.c: Include hashtab.h instead of splay-tree.h
13536         (struct cse_reg_info): No longer use variant union.  Add new
13537         field "regno".  All references changed to avoid union.
13538         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
13539         (free_cse_reg_info): Remove.
13540         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
13541         (get_cse_reg_info): Revamp to use expandable hash tables instead
13542         of splay trees.  Initialize new fields in cse_reg_info structure.
13543         (new_basic_block): Similarly.
13544
13545 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
13546
13547         * genrecog.c (message_with_line): Prototype.
13548         (validate_pattern): Pass along the set for the dest, not a flag.
13549         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
13550         Check for PC/CC0 as sources.
13551         (nodes_identical): Check for children position match before
13552         allowing the combination.
13553
13554         * rtl.c (read_rtx): Track line number across \\\n.
13555
13556 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
13557
13558         * mips.h (SPECIAL_MODE_PREDICATES): New.
13559         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
13560         (movdi+1, movsi+1): Add output reload constraint.
13561         (casesi_internal): Likewise.  Fix commentary.
13562         (return_internal): Use pmode_register_operand.
13563
13564 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
13565
13566         * 1750a.md (movstrqi): Add missing output reload constraint.
13567         (call_value): Likewise.
13568         * a29k.md (cpxxx patterns): Add missing match_operator mode.
13569         (jmpfdec): Add missing inout reload constraint.
13570         * elxsi.md (addsi patterns): Add missing output reload constraint.
13571         (move from sp): Use @ alternates.
13572         (call_value): No constraint on output.
13573         * fr30.md (movsi_pop): Add missing output reload constraint.
13574         (movsf_constant_store): Likewise.
13575         (splits): Remove constraints.
13576         (subsi3): Add missing mode.
13577         * i370.md (cmpstrsi+1): Add missing output reload constraint.
13578         (call_value): Likewise.
13579         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
13580         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
13581         * m32r.md (movsicc_internal): Add output reload constraint.
13582         (movstrsi_internal): Add inout reload constraints.
13583         * m88k.h (reg_names): Don't declare.
13584         (SPECIAL_MODE_PREDICATES): New.
13585         * m88k.md (*): Use register_operand not reg_or_0_operand
13586         on destinations.
13587         * mn10200.h (PREDICATE_CODES): New.
13588         * ns32k.md (ffs pattern): Add output reload constraint.
13589         * pdp11.md (sob pattern): Add inout reload constraint.
13590         * sh.md (splits): Remove constraints.
13591         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
13592         * v850.md (pattern_is_ok_for_epilogue): Likewise.
13593         * vax.md (jgequ pattern): Add inout reload constraint.
13594
13595 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
13596
13597         * configure.in (djgpp): Revert previous patch.
13598         * configure: Rebuit.
13599         * config/i386/djgpp.h: Revert previous patch.
13600
13601 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
13602
13603         * fixinc/inclhack.def: Restore patch lost during last merge of
13604         "no_bogosity" branch.
13605         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
13606
13607 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13608
13609         * fixincludes: Add a HPUX 11 fix for inttypes.h.
13610         * fixinc/inclhack.def: Same.
13611         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
13612
13613 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
13614
13615         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
13616         as the base of a PLUS.
13617
13618 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13619
13620         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
13621         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
13622
13623 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
13624
13625         * pa.md (post_stw+1): Use pmode_register_operand.
13626         (dcacheflush, icacheflush): Likewise.
13627
13628         * i386.md (movstricthi_1): Allow r/r.
13629
13630 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
13631
13632         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
13633         to (not (and (arg0) (arg1))). Similary for and.
13634
13635         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
13636         fallthrough to associate code.
13637         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
13638         bits in common.
13639
13640         * combine.c (simplify_logical): Convert XOR to IOR if operands have
13641         no bits in common; remove XOR to ROTATE conversion.
13642
13643 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13644
13645         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
13646
13647 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13648
13649         * config/c4x/c4x.c (dst_operand): New.
13650         (PREDICATE_CODES): Update.
13651         * config/c4x/c4x.h (dst_operand): Declare it.
13652         * config/c4x/c4x.md:  Define mode for each unspec usage.
13653         (move patterns):  Use dst_operand predicate instead of src_operand.
13654         (movqi_update, movqf_update): Delete.
13655
13656 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
13657
13658         * recog.c (pmode_register_operand): New.
13659         * recog.h: Declare it.
13660         * genrecog.c (pred_codes): Likewise.
13661         (special_mode_pred_table): Likewise.
13662         (validate_pattern): Don't warn no mode for address_operand.
13663
13664         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
13665         if the operand is not insn-like.
13666
13667 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
13668                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
13669
13670         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
13671
13672 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
13673
13674         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
13675         instead of general_operand in a SET_DEST.  Use const_double_operand
13676         instead of an explicit test against CONST_DOUBLE.
13677         (movsf_const_lo): Add missing register mode.
13678         (goto_handler_and_restore): Add auxiliary test for Pmode.
13679         (flush): Adjust to use address_operand.
13680         (return_sf_no_fpu): Add missing output constraint.
13681
13682 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
13683
13684         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
13685         for call return value.
13686         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
13687
13688 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
13689
13690         * toplev.c (main): Only warn about options for other languages.
13691         * collect2.c (main): Pass -w to sub-gcc.
13692
13693 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
13694
13695         * flow.c (propagate_block): Add call-clobbered registers to
13696         significant too.
13697
13698         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
13699         zapping mem_set_list.
13700         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
13701         (mark_set_1, mark_used_regs): Likewise.
13702
13703 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
13704
13705         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
13706
13707 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13708
13709         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
13710         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
13711         options. Also add a new item "C-only Warning Options" to the
13712         option summary.
13713
13714 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
13715
13716         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
13717         from multiple calls.
13718
13719 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
13720
13721         * i386.md (call value patterns): Move to the end of the file.
13722         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
13723
13724 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
13725
13726         * configure.in (djgpp configuration): Define extra_objects..
13727         * configure: Rebuilt.
13728         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
13729         (DTORS_SECTION_ASM_OP): Define.
13730         (INIT_SECTION_ASM_OP): Define.
13731         (FINI_SECTION_ASM_OP): Define.
13732         (DATA_SECTION_ASM_OP): Define.
13733         (TEXT_SECTION_ASM_OP): Define.
13734         (EH_FRAME_SECTION_ASM_OP): Define.
13735         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
13736         (STARTFILE_SPEC): Add crtbegin.o.
13737         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
13738         to here from LINK_COMMAND_SPEC.
13739         (DO_GLOBAL_CTORS_BODY): Define.
13740         (CRTSTUFF_USE_FINI_SECTION): Define
13741         (HAS_INIT_SECTION): Delete.
13742
13743 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
13744
13745         * Makefile.in (all.cross): Depend on xcpp$(exeext).
13746
13747 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
13748
13749         * pa.h (PREDICATE_CODES): New.
13750
13751         * genrecog.c (validate_pattern): Condense the destination
13752         non-lvalue message.
13753
13754 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
13755
13756         * alpha.md (call-1): Supply missing mode for operator.
13757         (*): Add missing output reload constraints.  Remove constraints
13758         from define_splits.
13759
13760         * i386.h (SPECIAL_MODE_PREDICATES): New.
13761         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
13762         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
13763         (addsi_lea_3): Add missing mode for op 3.
13764         (prologue_set_got, prologue_get_pc): Add missing modes.
13765         (*) Add missing output reload constraints.
13766
13767 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
13768
13769         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
13770         check for member bit-size overflow and use var_size if it occurs.
13771         (layout_record): Use bitsize_int() to define the type size in bits.
13772         Likewise for computation and assignment to DECL_FIELD_BITPOS.
13773         (layout_decl): Likewise when assigning to DECL_SIZE.
13774
13775 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
13776
13777         * genrecog.c (validate_pattern): Typo last change.  Verify
13778         that output operands have output reloads.
13779
13780 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
13781
13782         * genrecog.c (special_mode_pred_table): New.
13783         (NUM_SPECIAL_MODE_PREDS): New.
13784         (find_operand): New.
13785         (validate_pattern): New argument `insn'.  Warn for assignment to
13786         any predicate accepting non-lvalues.  Conditionaly warn for
13787         match_operand without a mode.  Try much harder to match source
13788         and destination modes on a set.
13789         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
13790
13791 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
13792
13793         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
13794
13795 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
13796
13797         * combine.c (simplify_logical): Recognize xor pattern that encodes
13798         rotation.
13799
13800 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13801
13802         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
13803         alignment.
13804
13805 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
13806
13807         * ggc-page.c (MAP_FAILED): Provide default.
13808
13809 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
13810
13811         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
13812         * sparc.h (PREDICATE_CODES): Update.
13813
13814 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
13815
13816         * alpha.c (some_ni_operand): New.
13817         * alpha-protos.h: Declare it.
13818         * alpha.h (PREDICATE_CODES): Update.
13819         * alpha.md (sXaddq reload insns): Use some_ni_operand
13820         for SET_DEST instead of some_operand.
13821
13822 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
13823                           Jim Wilson  <wilson@cygnus.com>
13824
13825         * genrecog.c (maybe_both_true_2): Don't compare modes of
13826         two DT_pred tests.
13827         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
13828         after find_afterward.
13829         (debug_decision_1): Dump next and afterward codes.
13830
13831 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
13832
13833         * rtl.c (dump_and_abort): Remove.
13834         (fatal_with_file_and_line): New.
13835         (fatal_expected_char): New.
13836         (read_rtx_lineno, read_rtx_filename): New.
13837         (read_skip_spaces): Track line number.
13838         (read_name): Use fatal_with_file_and_line.
13839         (read_rtx): Use fatal_expected_char.  Track line number.
13840         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
13841
13842         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
13843         if it isn't a CODE_LABEL.
13844
13845         * genattr.c (main): Set read_rtx_filename.
13846         * genattrtab.c (main): Likewise.
13847         * gencodes.c (main): Likewise.
13848         * genconfig.c (main): Likewise.
13849         * genemit.c (main): Likewise.
13850         * genextract.c (main): Likewise.
13851         * genflags.c (main): Likewise.
13852         * genopinit.c (main): Likewise.
13853         * genoutput.c (main): Likewise.
13854         * genpeep.c (main): Likewise.
13855
13856         * genrecog.c (decision_test.u.insn): Add `lineno'.
13857         (pattern_lineno, error_count): New variables.
13858         (message_with_line): New.
13859         (add_to_sequence): Break out checking code to ...
13860         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
13861         (merge_insn): Use message_with_line.
13862         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
13863         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
13864
13865 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13866
13867         * expr.c (store_constructor): Clear union if constructor is empty.
13868
13869 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
13870
13871         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
13872         Add !endian checks.  Change %{...} to %(...).
13873
13874 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
13875
13876         * i386.md (*addsi3_cc): Renamed from addcsi3.
13877         (*addsi3_carry): Renamed from addxsi3.
13878         (*subsi3_cc): Renamed from subcsi3.
13879         (*subsi3_carry): Renamed from subxsi3.
13880         (*xorqi_cc_1): Renamed from xorcqi_1.
13881         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
13882         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
13883
13884 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
13885
13886         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
13887         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
13888
13889 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
13890
13891         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
13892         climb up the chain of insns.
13893
13894 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
13895
13896         * genrecog.c (write_subroutine): Careful for null trees.
13897         (process_tree): Don't elide empty functions.
13898
13899 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
13900
13901         * Makefile.in (genrtl.o): Depend on ggc.h.
13902         * configure.in (valloc): Probe for it.
13903         (with-gc): Use ggc-page if valloc present.
13904         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
13905         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
13906         (ggc_alloc_string): Moved from ggc-page.c.
13907         * ggc-none.c (ggc_alloc_obj): New.
13908         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
13909         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
13910         (struct globals): Likewise for dev_zero_fd.
13911         (init_ggc): Likewise for it's initialization.
13912         (ggc_allocated_p): Move careful dereference from ...
13913         (ggc_lookup_page_table): ... here.  Delete.
13914         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
13915         (alloc_anon): Use valloc if no mmap.
13916         (release_pages): Use free if using valloc.
13917         (ggc_alloc_obj): Renamed from alloc_obj.
13918         (ggc_set_mark): Renamed from mark_obj.
13919         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
13920         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
13921         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
13922         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
13923         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
13924         (ggc_collect): Use fp printing instead of our own rounding.
13925         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
13926         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
13927         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
13928         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
13929         (struct ggc_string, struct ggc_any): Delete.
13930         (offsetof): Provide default definition.
13931         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
13932         (PTR_KEY): New.
13933         (struct ggc_mem): New, from corpse of ggc_any.
13934         (struct ggc_status): Delete.
13935         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
13936         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
13937         (n_strings_collected, n_anys_collected): Delete.
13938         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
13939         (ggc_alloc_string, ggc_alloc): Delete.
13940         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
13941         (ggc_free_string, ggc_free_any): Delete.
13942         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
13943         (ggc_compare_addresses, ggc_mark_string): Delete.
13944         (ggc_mark_string_if_gcable, ggc_mark): Delete.
13945         (search_data): Delete.
13946         (struct globals): New.
13947         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
13948         (tree_insert, tree_lookup): New.
13949         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
13950         (clear_marks, sweep_objs): New.
13951         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
13952         (init_ggc): Set allocated_last_gc.
13953         (ggc_push_context): Gut.  Use G.context.
13954         (ggc_pop_context): Likewise.
13955         (ggc_pop_context_1): New.
13956         (debug_ggc_tree): New.
13957         (debug_ggc_balance, tally_leaves): New.
13958         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
13959         (ggc_mark_string_if_gcable): Remove decl.
13960         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
13961         (ggc_mark_rtvec_children): New.
13962         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
13963         (ggc_mark_if_gcable): New decl.
13964         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
13965         (ggc_alloc_tree, ggc_alloc): Likewise.
13966         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
13967         (ggc_alloc_obj): New decl.
13968         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
13969         (ggc_alloc_tree, ggc_alloc): Likewise.
13970         (ggc_set_mark): New decl.
13971         * rtl.h (struct rtx_def): Remove gc_mark.
13972         (struct rtvec_def): Likewise.
13973         * tree.h (struct tree_common): Likewise.
13974
13975 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
13976
13977         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
13978         float_format and thread_file definitions.
13979         * configure: Rebuilt.
13980
13981 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
13982
13983         * extend.texi (Function Names): Document types of function names.
13984
13985 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13986
13987         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
13988         an earlyclobbered output conflict with RELOAD_INPUT reloads.
13989
13990 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13991
13992         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
13993
13994 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13995
13996         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
13997
13998 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
13999
14000         * collect2.c (main): Do prelimnary link on AIX if rflag.
14001
14002 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14003
14004         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
14005         __CTOR_LIST__ in opposite order, which is the correct order for sorted
14006         constructors.
14007         (__do_global_dtors): similarly for __DTOR_LIST__.
14008
14009 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14010                                 Diego Novillo <dnovillo@cygnus.com>
14011
14012         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
14013         FPUL_REGS.
14014
14015 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
14016
14017         * fixincl/*: Merged "no_bogosity" branch
14018         * fixincl/fixlib.h: protect against doubly defining t_bool
14019         * fixincl/server.h: protect against doubly defining t_bool
14020
14021 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
14022
14023         * genoutput.c: Include toplev.h.
14024
14025 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
14026
14027         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
14028         Undef.
14029         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
14030         * configure: Regenerate.
14031
14032 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
14033
14034         * gcse.c (delete_null_pointer_checks): Returns void.
14035
14036 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14037
14038         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
14039         * emit-rtl.c (copy_insn_1): Likewise.
14040
14041 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
14042
14043         * config/mips/mips.c (mips_build_va_list): Correct
14044         TREE_CHAIN setting when hard-float.
14045         (mips_va_start): Use corrected setting.
14046         (mips_va_arg): Likewise.  Also pass a tree to build of
14047         POSTINCREMENT_EXPR rather than a naked 'int'.
14048
14049 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
14050
14051         * ggc.h (ggc_push_context): Fix comment.
14052         (ggc_pop_context): Likewise.
14053         (mark_string_if_gcable): Likewise.
14054         * ggc-common.c (ggc_mark_rtx_children): Use
14055         ggc_mark_string_if_gcable.
14056         * ggc-page.c (ggc_lookup_page_table): New function.
14057         (ggc_allocated_p): Likewise.
14058         (mark_obj): Fix formatting.
14059         (ggc_mark_string_if_gcable): New function.
14060         * ggc-simple.c (ggc_allocated_strings): New variable.
14061         (ggc_strings_used): Likewise.
14062         (ggc_compare_addresses): New function.
14063         (ggc_pop_context): Pop the `any' memory too.
14064         (ggc_mark_string_if_gcable): New function.
14065         (ggc_collect): Initialize and tear down ggc_allocated_strings.
14066
14067 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
14068
14069         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
14070         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
14071         * rs6000.c (expand_block_move): Match movstrsi_?reg register
14072         changes.
14073
14074 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
14075
14076         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
14077         (sched_reg_live_length, sched_reg_basic_block): Delete.
14078         (current_block_num, bb_live_regs, old_live_regs): Delete.
14079         (dead_notes, struct sometimes): Delete.
14080         (sched_note_set, birthing_insn_p): Delete.
14081         (adjust_priority): Gut useless reg lifetime code.
14082         (create_reg_dead_note, attach_deaths): Delete.
14083         (attach_deaths_insn, new_sometimes_live): Delete.
14084         (finish_sometimes_live): Delete.
14085         (find_pre_sched_live, find_post_sched_live): Delete.
14086         (update_reg_usage): Delete.
14087         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
14088         (schedule_insns): Delete reg lifetime code.
14089         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
14090         (unlink_other_notes): Adjust REG_NOTE commentary.
14091         (reemit_notes): Use REG_SAVE_NOTE.
14092         (schedule_block): Likewise.
14093         (schedule_region): Allocate bitmap of blocks in region.  Use
14094         count_or_remove_death_notes.  Use update_life_info.
14095
14096         * rtl.h (REG_SAVE_NOTE): New.
14097         * rtl.c (reg_note_name): Update.
14098
14099 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
14100
14101         * combine.c (refresh_blocks, need_refresh): New.
14102         (combine_instructions): Allocate refresh_blocks.  Invoke
14103         update_life_info if needed.
14104         (distribute_notes): Mark refresh_blocks instead of installing
14105         USE insns.
14106         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
14107         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
14108
14109         * Makefile.in (recog.o): Depend on basic-block.h.
14110
14111 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
14112
14113         * genrecog.c (add_to_sequence): Thinko last change: delete
14114         shadowing allow_const_int variable.
14115
14116 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14117
14118         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
14119         __GNUC__ and __GNUC_MINOR__.
14120
14121         * gansidecl.h: Likewise.
14122
14123         * rtl.c: Likewise.
14124
14125         * rtl.h: Likewise.
14126
14127         * toplev.h: Likewise.
14128
14129         * tree.c: Likewise.
14130
14131         * tree.h: Likewise.
14132
14133         * varray.c: Likewise.
14134
14135         * varray.h: Likewise.
14136
14137 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14138
14139         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
14140         use one before a jump table.
14141
14142         * rtl.def (ADDRESS): Change documentation to match reality.
14143         * md.texi: Don't document it.
14144         * gmicro.md (load address pattern): Use 'p' constraint, delete use
14145         of ADDRESS rtx.
14146
14147         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
14148
14149 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
14150
14151         * genrecog.c (add_to_sequence): Move allow_const_int test outside
14152         known predicate block; default allow_const_int true.
14153         (debug_decision_list): New.
14154
14155 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
14156
14157         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
14158
14159 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
14160
14161         * gcse.c (gcse_main): Avoid global optimizations if we have a
14162         large number of basic blocks and the ratio of edges to blocks
14163         is high.
14164         (delete_null_pointer_checks): Likewise.
14165
14166 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
14167
14168         * c-common.c (check_format_info): Warn if format string isn't a
14169         string literal.
14170
14171 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14172
14173         * configure.in (arm*-*-*): Don't let autoconf remove brackets
14174         * configure: regenerate
14175
14176 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
14177
14178         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
14179         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
14180         (peepholes): Re-enable.
14181
14182 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
14183
14184         * Makefile.in (flow.o): Depend on TREE_H.
14185         * basic-block.h (REG_SET_EQUAL_P): New.
14186         (XOR_REG_SET): New.
14187         (n_edges): Declare.
14188         (free_regset_vector): Remove declaration.
14189         (flow_delete_insn_chain): Declare.
14190         (enum update_life_extent): New.
14191         (update_life_info, count_or_remove_death_notes): Declare.
14192         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
14193         Verify register live at bb->global_live_at_start before adding USE.
14194         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
14195         (CLEAN_ALLOCA): New.
14196         (n_edges): New.
14197         (PROP_*): New flags.
14198         (find_basic_blocks_1): Use alloc_EXPR_LIST.
14199         (clear_edges): Zero n_edges.
14200         (make_edge): Increment n_edges.
14201         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
14202         (flow_delete_insn_chain): Export.
14203         (delete_block): Decrement n_edges.
14204         (merge_blocks_nomove): Likewise.
14205         (life_analysis): Give life_analysis_1 PROP flags.
14206         (verify_wide_reg_1, verify_wide_reg): New.
14207         (verify_local_live_at_start): New.
14208         (update_life_info): Rewrite to call into propogate_block.
14209         (mark_reg): New.
14210         (mark_regs_live_at_end): After reload, if epilogue as rtl,
14211         always mark stack pointer.  Conditionally mark PIC register.
14212         After reload, mark call-saved registers, return regsiters.
14213         (life_analysis_1): Accept PROP flags not remove_dead_code.
14214         Call mark_regs_live_at_end before zeroing regs_ever_live.
14215         Use calculate_global_regs_live.  Copy global_live_at_end before
14216         calling final propagate_block.  Zero reg_next_use on exit.
14217         (calculate_global_regs_live): New.
14218         (allocate_bb_life_data): Don't allocate bb->local_set.
14219         (init_regset_vector, free_regset_vector): Remove.
14220         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
14221         Test flags before every operation.  Warn if prologue/epilogue insn
14222         would have been deleted.
14223         (mark_set_regs, mark_set_1): Accept and use FLAGS.
14224         Use alloc_EXPR_LIST.
14225         (mark_used_regs): Accept and use FLAGS, not FINAL.
14226         Remove special handling for RETURN.
14227         (try_pre_increment): Use alloc_EXPR_LIST.
14228         (dump_flow_info): Dump n_edges.
14229         (unlink_insn_chain, split_hard_reg_notes): Remove.
14230         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
14231         (find_insn_with_note, new_insn_dead_notes): Remove.
14232         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
14233         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
14234         (replace_insns): Remove.
14235         (count_or_remove_death_notes): New.
14236         (verify_flow_info): Abort on error after all checks.
14237         (remove_edge): Decrement n_edges.
14238         (remove_fake_edges): Tweek format.
14239         * haifa-sched.c (schedule_insns): Use split_all_insns.
14240         * output.h (update_life_info): Remove declaration.
14241         * recog.c (split_all_insns): From the corpse of split_block_insns,
14242         do the whole function block by block.  Use update_life_info.
14243         (recog_last_allowed_insn): New.
14244         (recog_next_insn): Mind it.
14245         (peephole2_optimize): Set it.  Walk backwards through blocks.
14246         Use update_life_info.
14247         * rtl.h (update_flow_info, replace_insns): Remove declarations.
14248         (split_all_insns): Declare.
14249         * toplev.c (rest_of_compilation): Thread prologue before flow2.
14250         Use split_all_insns.
14251
14252         * i386.md (or -1 peep2s): Disable.
14253
14254 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
14255
14256         * config/mips/mips.md (movstrsi+[123]) : Combine these into
14257         a single pattern.  Scrap the 'd' versions as unnecessary.
14258
14259         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
14260         tablejump_mips162,tablejump_internal4): The operands to a
14261         label_ref must be VOIDmode.
14262
14263 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14264
14265         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
14266
14267 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14268
14269         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
14270
14271 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14272
14273         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
14274         cache every function if ggc_p.
14275
14276 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14277
14278         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
14279         instead of copy_rtx.  Accept sequences that contain asm statements.
14280         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
14281         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
14282         orig_asm_operands_vector, copy_asm_operands_vector,
14283         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
14284         variables.
14285         * rtl.h (copy_insn, copy_insn_1): Declare.
14286
14287 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14288
14289         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
14290
14291         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
14292         arguments to `current_file_function_operand'.
14293
14294         * genrecog.c: Include hard-reg-set.h and resource.h in the
14295         generated output file.
14296
14297         * real.c: Include tm_p.h.
14298
14299 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14300
14301         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
14302         output operand.
14303
14304 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
14305
14306         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
14307         before the fctiwz insn.
14308
14309 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14310                           Mark Mitchell  <mark@codesourcery.com>
14311
14312         * tree.c (make_lang_type_fn): New funtion pointer.
14313         (make_lang_type): Call it.
14314         * tree.h (make_lang_type): Declare.
14315         (make_lang_type_fn): Likewise.
14316         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
14317
14318 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
14319
14320         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
14321         make sure that HIGH instructions are copied into BASE_REGS.
14322
14323 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
14324
14325         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
14326
14327 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
14328
14329         * c-decl.c (finish_struct): Use simpler method of
14330         removing elements of a singly-linked list.
14331
14332 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
14333
14334         * alpha.md (peephole2's): Comment out peephole2's that generate
14335         buggy code.
14336
14337 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
14338
14339         * genrecog.c (add_to_sequence): Disable mode check for
14340         wildcard matches.
14341
14342 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14343
14344         * ggc-simple.c (init_ggc): Set empty_string.
14345
14346 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
14347
14348         * configure.in: Detect mmap.  Add --with-gc=foo to select
14349         garbage collector; default to page if mmap available.
14350         * Makefile.in (GGC): Substitute.
14351
14352 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
14353
14354         * c-decl.c (ggc_p): Enable.
14355
14356 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14357
14358         * flow.c (verify_flow_info): Make it extern & unconditionally define.
14359
14360 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
14361
14362         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
14363         string for little-endian-data.
14364
14365 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
14366
14367         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
14368         case somebody tries to compile --enable-checking code with gcc
14369         1.34 or such.
14370
14371 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
14372
14373         * genrecog.c (add_to_sequence): Verify operand to label_ref is
14374         VOIDmode.
14375
14376 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
14377
14378         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
14379         * jump.c (jump_optimize_1): Document why.
14380
14381 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14382
14383         * collect2.c (scan_prog_file, scan_libraries): Prototype function
14384         pointers and casts for `int_handler' and `quit_handler'.
14385
14386         * flow.c (verify_flow_info, split_hard_reg_notes,
14387         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
14388         remove_edge, remove_fake_successors): Add static prototypes.
14389         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
14390         (mark_set_1): Initialize variable `regno'.
14391         (unlink_insn_chain): Likewise for variable `curr'.
14392         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
14393
14394         * loop.c (strength_reduce): Initialize variable
14395         `unrolled_insn_copies'.
14396         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
14397         prototypes.  Change these functions to take const PTR parameters
14398         to avoid prototype conflict when used as the comparson argument
14399         for qsort.
14400         (check_dbra_loop): Initialize variable `comparison_val'.
14401
14402         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
14403         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
14404         (find_valid_class): Initialize variable `best_class'.
14405         (find_reloads): Call memcpy, not bcopy.
14406
14407         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
14408         (hard_reg_use_compare): Don't needlessly cast away const.
14409         (reload_reg_class_lower): Likewise.
14410         (choose_reload_regs): Initialize variable `regno'.
14411
14412 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
14413
14414         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
14415
14416 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
14417
14418         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
14419         ({,d}discard): Add forward declarations.  Declare parameter as
14420         unused.
14421         (main_without_main): Explicitly declare return type to be int.
14422         (memcpy): Properly declare.
14423
14424         * libgcc2.c (toplevel): If inhibit_libc is defined and not
14425         building the trampoline support, declare malloc, free, and
14426         atexit.
14427         (__clear_cache): Mark arguments as potentially unused.
14428
14429         * frame.c (toplevel): If inhibit_libc is defined, declare
14430         malloc and free.
14431
14432 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
14433
14434         * flow.c (make_edge): Accept an optional 2D bitmap in which
14435         to cache edge existence.  Update all callers.
14436         (make_label_edge, make_eh_edge): Pass through the edge cache.
14437         (make_edges): Provide the cache.
14438
14439 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14440
14441         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
14442         a char*.
14443         (local_mbtowc): Change the type of variable `i' from int to size_t.
14444
14445         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
14446         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
14447
14448 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
14449
14450         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
14451         after other includes that define the appropriate types.  Include
14452         tm_p.h for getting user prototypes.
14453         * ggc-callbacks.c (toplevel): Ditto.
14454         * ggc-none.c (toplevel): Ditto.
14455         * gcc-page.c (toplevel): Ditto.
14456         * ggc-simple.c (toplevel): Ditto.
14457
14458 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
14459                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
14460
14461         * config/mips/mips.c (mips_move_2words): Split doubles if
14462         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
14463
14464 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
14465
14466         * genrecog.c (struct decision_test): New.
14467         (struct decision): Remove test-related members, sort the rest by size.
14468         (IS_SPLIT): Simplify.
14469         (new_decision, new_decision_test): New.
14470         (add_to_sequence): Use them.  No special handling for args of
14471         non-MATCH codes.
14472         (maybe_both_true): Renamed from not_both_true; return sense changed.
14473         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
14474         of maybe_both_true and adjusted for decision_test.
14475         (position_merit): Remove.
14476         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
14477         (merge_accept_insn): New, broken out of merge_trees.
14478         (merge_trees): Use them.  No special case for c_test; no node
14479         splitting; use test type instead of position_merit.
14480         (factor_tests): New.
14481         (simplify_tests): New.
14482         (break_out_subroutines): Don't write code now.
14483         (find_afterward): New.
14484         (write_afterward, write_switch, write_cond): New.
14485         (write_action, is_unconditional): New.
14486         (write_node): New.  Use them.
14487         (write_tree_1): Rewrite.  Use the new functions above.
14488         (write_tree): Remove afterward processing.
14489         (write_subroutine): Simplify function variant emission.
14490         (write_subroutines): New.
14491         (same_codes, clear_codes): Remove.
14492         (same_modes, clear_modes): Remove.
14493         (write_header): New, broken out of main.
14494         (make_insn_sequence): Use new_decision and new_decision_test.
14495         (process_tree): New, broken out of main.
14496         (main): Adjust for merge_trees interface change.
14497         Don't #define operands in the output file.
14498         (record_insn_name): New, broken out of make_insn_sequence.
14499         (debug_decision_2, debug_decision_1, debug_decision_0): New.
14500         (debug_decision): New.
14501
14502 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
14503
14504         * resource.c (find_free_register): Mark class_str argument const.
14505         * resource.h: Update prototype to match.
14506
14507         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
14508         * i386.md: Give all anonymous insns names.
14509
14510 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
14511
14512         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
14513         blocks.
14514
14515 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
14516
14517         * toplev.c (dbr_sched_time): Unconditional.
14518         (peephole2_time): New.
14519         (compile_file): Add pass numbers to all of the dump file suffixes.
14520         Dump peephole2_time.  Don't dump times for non-applicable passes.
14521         (rest_of_compilation): Add pass numbers to dump file suffixes.
14522         Conditionalize calls to the scheduler.
14523         * invoke.texi: Update.
14524
14525 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
14526
14527         * flow.c (make_edges): Fix insn iteration.
14528         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
14529         (find_basic_blocks_1): Fix spelling mistake.
14530
14531 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
14532
14533         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
14534         always have side-effects.  Use memset not bzero.
14535         (make_node): Likewise.
14536
14537 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
14538
14539         * stmt.c (expand_anon_union_decl): When any of the elements of the
14540         union is addressable, so is the entire union.
14541
14542 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
14543
14544         * sbitmap.c (sbitmap_ones): Don't set too many bits.
14545
14546         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
14547         * bitmap.c (bitmap_operation): Return true iff TO changed.
14548         (bitmap_equal_p): New.
14549         (bitmap_bit_p): Tidy arithmetic.
14550         (debug_bitmap_file): Likewise.
14551
14552 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
14553
14554         * toplev.c (rest_of_compilation): Turn on cse_not_expected
14555         before cse2 instead of after.
14556
14557 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
14558
14559         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
14560         register offsets.
14561
14562 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14563
14564         * cppinit.c (is_idchar initializer): Loosen tests to accept
14565         gcc 2.>6 and >2.
14566
14567 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
14568
14569         * mips.md: Define conditional move patterns for floating point
14570         operands and DI mode conditions.
14571
14572 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
14573
14574         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
14575         always have side-effects.
14576
14577 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
14578
14579         * mn10200.c (asm_file_start): Fix typo.
14580
14581         * cppinit.c (is_idchar initializer): Tighten tests for when
14582         to put the table into initialized memory.
14583
14584         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
14585         not an array of rtunion.
14586         * gcc-page.c (ggc_alloc_rtvec): Similarly.
14587         * gcc-simple (ggc_free_rtvec): Similarly.
14588
14589         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
14590         of rtunions.
14591
14592         * mbchar.h: Add missing #endif.
14593
14594         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
14595         (FPBIT, DPBIT): Define.
14596
14597 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14598
14599         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
14600
14601         * profile.c (instrument_arcs, output_gcov_string,
14602         tablejump_entry_p): Add static prototypes.
14603         (output_gcov_string): Constify a char*.
14604
14605         * regmove.c (replacement_quality, fixup_match_2): Add static
14606         prototypes.
14607
14608         * resource.h (reg_dead_p): Add extern prototype.
14609
14610         * rtl.c (trim_filename): Add static prototype.
14611
14612         * scan-decls.c (skip_to_closing_brace): Likewise.
14613
14614         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
14615         (expand_end_case): Initialize variable `range'.
14616         (emit_case_nodes): Remove unused prototype `rtx_fn'.
14617
14618         * varasm.c (asm_emit_uninitialised): Add static prototype.
14619         (asm_emit_uninitialised, assemble_variable): Mark parameter with
14620         ATTRIBUTE_UNUSED.
14621
14622 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14623
14624         * cpplib.c (if_directive_nameo): Add static prototype.
14625
14626         * cse.c (cse_insn): Remove unused variable `p'.
14627
14628         * except.c (create_rethrow_ref, push_entry,
14629         receive_exception_label, new_eh_region_entry, find_func_region,
14630         clear_function_eh_region, process_nestinfo): Add static prototypes.
14631         (get_reg_for_handler): Hide definition.
14632         (process_nestinfo): Initialize variable `extra_handlers'.
14633
14634         * expr.h (expand_builtin_longjmp): Add extern prototype.
14635
14636         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
14637
14638         * function.c (prepare_function_start): Likewise.
14639         (pop_function_context_from): Mark parameter `context' with
14640         ATTRIBUTE_UNUSED.
14641         (push_temp_slots_for_block, flush_addressof): Hide definition.
14642
14643         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
14644         solve_program_flow_graph, calculate_branch_probs,
14645         function_summary, main, fancy_abort): Add prototypes.
14646
14647         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
14648         (add_hash): Constify a char*.
14649
14650         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
14651         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
14652         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
14653
14654         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
14655
14656         * lists.c (free_list, zap_lists): Likewise.
14657
14658 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14659
14660         * alias.c (nonlocal_reference_p): Add static prototype.
14661
14662         * bitmap.c (bitmap_element_allocate): Prototype args in function
14663         pointer cast.
14664
14665         * builtins.c (stabilize_va_list): Add static prototype.
14666         (expand_builtin_va_arg): Constify a char*.
14667
14668         * c-lex.c (getch, put_back, extend_token_buffer_to,
14669         read_line_number, token_getch, token_put_back): Add static
14670         prototypes.
14671
14672         * c-parse.gperf (hash, is_reserved_word): Likewise.
14673
14674         * cccp.c (is_dir_separator): Likewise.
14675
14676 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14677
14678         * graph.h: New file to prototype functions exported by graph.c.
14679
14680         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
14681
14682         * graph.c: Include graph.h.
14683
14684         * toplev.c: Likewise.  Remove redundant prototypes.
14685
14686 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
14687
14688         * invoke.texi: Removed duplicated description for -Q.
14689
14690 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
14691
14692         * extend.texi: Grammar fix in __extension__ text.
14693
14694 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
14695
14696         * md.texi (define_peephole2): New section.
14697
14698 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
14699
14700         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
14701         (mov $-1 to or peepholer): Enable for pentium when optimizing for
14702         speed.
14703
14704 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
14705
14706         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
14707
14708 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
14709
14710         * i386.md (ffs expander): Emit Pentium friendly code for
14711         TARGET_PENTIUM.
14712
14713 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
14714
14715         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
14716         for non-trees.
14717         (build1): Likewise.
14718
14719 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14720
14721         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
14722
14723 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
14724
14725         * config/m68k/m68k.c (use_return_insn): Return false if the pic
14726         register is in use.
14727
14728 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14729
14730         * md.texi (No Constraints): Delete section.
14731         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
14732         * final.c (final_scan_insn): We always have register constraints.
14733         * genattrtab.c: Don't include "insn-config.h".
14734         (write_attr_case): We always have register constraints.
14735         * genconfig.c (register_constraint_flag): Delete.
14736         (walk_insn_part): Don't check whether we have register constraints.
14737         (main): Don't write out "#define REGISTER_CONSTRAINTS".
14738         * genoutput.c (have_constraints): Delete.
14739         (main): Don't set it.
14740         (output_operand_data): We always have constraints.
14741         (scan_operands): Likewise.
14742         (compare_operands): Likewise.
14743         * local-alloc.c (block_alloc): We always have constraints.
14744         (requires_inout): Always compile this function.
14745         * recog.c (extract_insn): We always have constraints.
14746         (constrain_operands, reg_fits_class_p): Always compile these
14747         functions.
14748         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
14749         fields.
14750         (struct insn_operand_data): Likewise.
14751         * regclass.c (regclass): We always have constraints.
14752         (record_reg_classes, copy_cost, record_address_regs,
14753         auto_inc_dec_reg_p): Always compile these functions.
14754         * regmove.c (regmove_optimize): We always have constraints.
14755         * reload.c (find_reloads): Likewise.
14756         * reload1.c (reload): Likewise.
14757         (reload_cse_simplify_operands): Likewise.
14758         * i860.c (output_delay_insn): Likewise.
14759
14760 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
14761
14762         * iris6.h (BUILD_VA_LIST_TYPE): Define.
14763
14764 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14765
14766         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
14767         for the va_list record.
14768
14769 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
14770
14771         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
14772         prologues.
14773
14774 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
14775
14776         * alias.c: Include insn-flags.h.
14777         * Makefile.in (alias.o): Update.
14778
14779 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
14780
14781         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
14782         to LTU and GEU.  Handle more cases using sbb.
14783
14784 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
14785
14786         * i386.md (truncatexfdf splitters): Do not use subreg.
14787         (fop XFmode patterns): Fix mode in operand testing.
14788
14789 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
14790
14791         * jump.c (jump_optimize_1): Amend last change to test only the
14792         form of the operand, not the insn.
14793
14794         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
14795         not register_operand to determine when B may need preloading.
14796
14797 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
14798
14799         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
14800         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
14801         (call-value patterns): Move to end of file.
14802         (*): Remove mode from label_ref in (pc) context.
14803         (movstrqi): Use memory not general_operand for BLKmode operands.
14804         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
14805         to register_operand operands.
14806         (peep2 patterns): Convert from commented-out peephole patterns.
14807
14808 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14809
14810         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
14811         to BUILT_IN_INIT_DWARF_REG_SIZES.
14812         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
14813         Renamed from BUILT_IN_DWARF_REG_SIZE; call
14814         expand_builtin_init_dwarf_reg_sizes.
14815         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
14816         with __builtin_init_dwarf_reg_size_table.
14817         * dwarf2out.c (struct reg_size_range): Delete.
14818         (expand_builtin_init_dwarf_reg_sizes): New function.
14819         (expand_builtin_dwarf_reg_size): Delete.
14820         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
14821         (expand_builtin_dwarf_reg_size): Don't declare.
14822         * libgcc2.c (dwarf_reg_size_table_initialized): New.
14823         (dwarf_reg_size_table): New.
14824         (init_reg_size_table): New function.
14825         (copy_reg): Use dwarf_reg_size_table.
14826         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
14827         before use.
14828
14829 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
14830
14831         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
14832         Correctly build argument list to constructor and destructor functions.
14833
14834 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
14835
14836         * c-tree.h (warn_float_equal): Declare.
14837         * c-decl.c (warn_float_equal): Define.
14838         (c_decode_option): Recognize -W[no-]float-equal.
14839         * c-typeck.c (build_binary_op): Conditionally warn
14840         about equality tests of floating point types.
14841         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
14842         * invoke.texi: Add docs for -Wfloat-equal warning.
14843
14844 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
14845
14846         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
14847         generating RTL directly.
14848         * mips.h (INIT_TARGET_OPTABS): Likewise.
14849         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
14850
14851         * expr.h (init_mov_optab): Delete declaration
14852
14853         * h8300.c (WORD_REG_USED): Update to avoid useless register
14854         saves in interrupt functions and functions which never return.
14855
14856         * cse.c (struct set): Delete inner_dest_loc field.
14857         (cse_insn): Remove assignments to inner_dest_loc field.
14858
14859 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
14860
14861         * ggc-page.c: Don't include <unistd.h> etc taken care of
14862         by "system.h".  Include <sys/mman.h> afterward.
14863
14864 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
14865
14866         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
14867         ggc_alloc_string.
14868
14869 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
14870
14871         * xcoffout.c (xcoffout_declare_function): Add documentation.
14872         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
14873         TARGET_64BIT.  Compare constant to -1, not bit pattern.
14874         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
14875         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
14876         gen_movsi typos.
14877
14878 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
14879
14880         * dwarf2out.c (add_abstract_origin_attribute): Abort if
14881         origin_die is NULL.
14882         (gen_inlined_enumeration_type_die): Do not abort if the type has
14883         not been writeen out.
14884         (gen_inlined_structure_type_die): Do not abort if the type has
14885         not been writeen out.
14886         (gen_inlined_union_type_die): Do not abort if the type has
14887         not been writeen out.
14888         (gen_tagged_type_instantiation_die): Do not abort if the type
14889         has not been written out.
14890
14891 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14892
14893         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
14894         call it.
14895         * reg-stack.c (straighten_stack): Copy hard reg set with
14896         COPY_HARD_REG_SET.
14897
14898 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
14899
14900         * builtins.c (stabilize_va_list): Stabilize array type va_list
14901         to a pointer type, not the base record type.
14902         (expand_builtin_va_copy): Dereference the pointers explicitly;
14903         use the correct size for the copy.
14904
14905         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
14906         (rs6000_va_arg): Likewise.
14907
14908 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
14909
14910         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
14911
14912 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
14913
14914         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
14915         field.
14916         (DECL_BUILT_IN_CLASS): Adjust accordingly.
14917
14918 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
14919
14920         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
14921         (init_ggc): Use it instead of a constant.
14922         (ggc_collect): Bound allocated_last_gc by it.
14923
14924 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
14925
14926         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
14927         with va_list.
14928
14929 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
14930
14931         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
14932         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
14933         * configure:  Regen.
14934         * config/mips/openbsd.h:  New, OpenBSD little endian target.
14935         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
14936         * config/mips/xm-openbsd.h:  New, OpenBSD host.
14937
14938 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
14939
14940         * config/m68k/m68k.c (output_function_prologue,
14941         output_function_epilogue): Use
14942         current_function_uses_pic_offset_table instead of regs_ever_live
14943         to decide whether to save/restore pic register.
14944         (legitimize_pic_address): Don't modify regs_ever_live any more.
14945
14946 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
14947
14948         * function.h (struct function): Add x_dont_save_pending_sizes_p.
14949         * stor-layout.c (variable_size): Don't add sizes to the pending
14950         sizes list if x_dont_save_pending_sizes_p is set.
14951
14952 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
14953
14954         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
14955         for symbolic_operand().
14956         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
14957
14958 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14959
14960         * combine.c (gen_rtx_combine): Add missing call to va_end().
14961
14962         * final.c (asm_fprintf): Likewise.
14963
14964         * genattrtab.c (attr_rtx): Likewise.
14965
14966 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
14967
14968         * cse.c: Update comments.
14969         (cse_insn): When converting a conditional/computed jump into
14970         an unconditional jump, always make sure a BARRIER immediately
14971         follows the converted jump.  Do not delete unreachable code.
14972         (cse_basic_block): Do not delete unreachable code.
14973         * toplev.c (rest_of_compilation): Move call to
14974         delete_trivially_dead_insns after the conditional call to
14975         jump_optimize.
14976
14977 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14978
14979         * collect2.c (make_temp_file): Don't prototype.
14980
14981         * gcc.c (make_temp_file): Likewise.
14982
14983         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
14984
14985 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
14986
14987         * varasm.c (asm_emit_uninitialised): New function: Generate
14988         the assembler statements necessary to declare an uninitialised
14989         variable.
14990         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
14991         variable.
14992         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
14993         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
14994         section.
14995         (assemble_variable): Use asm_emit_uninitialised to emit an
14996         uninitialised variable.
14997
14998 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
14999
15000         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
15001         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
15002         <geoffk@cygnus.com>.
15003
15004 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15005
15006         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
15007         * c-common.h (builtin_function): Don't declare.
15008
15009         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
15010         DECL_BUILT_IN.
15011         (pushdecl): Likewise.
15012         (finish_decl): Likewise.
15013         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
15014         int.  All callers changed.
15015         Set the builtin's DECL_BUILT_IN_CLASS.
15016         * tree.h (enum built_in_class): New.
15017         (enum built_in_function): Delete NOT_BUILT_IN.
15018         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
15019         in a union.
15020         (DECL_SET_FUNCTION_CODE): Likewise.
15021         (DECL_BUILT_IN_CLASS): New macro.
15022         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
15023         (struct tree_decl): Split builtin function code field into a
15024         struct.
15025         (builtin_function): Declare.
15026
15027 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
15028
15029         * optabs.c (init_traps): Fix typo in last change.
15030
15031 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
15032
15033         * toplev.c (rest_of_decl_compilation): Update comment.
15034
15035 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15036
15037         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
15038         in .sbss if appropriate.
15039         (EXTRA_SECTION_FUNCTIONS): Add sbss.
15040         (SBSS_SECTION_ASM_OP): New macro.
15041         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
15042         (EXTRA_SECTIONS): Add in_sbss.
15043         * config/mips/mips.h: Prototype sbss_section.
15044
15045 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
15046
15047         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
15048         to disappear.
15049
15050 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
15051
15052         * optabs.c (init_traps): Register trap_rtx as a GC root.
15053
15054 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15055
15056         * config/mips/mips.c (function_arg_pass_by_reference): Define
15057         unconditionally, since it's called unconditionally.
15058
15059 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
15060
15061         * toplev.c (documented_lang_options): Add -fshort-wchar.
15062         * c-decl.c (c_decode_option): Likewise.
15063         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
15064         for wchar_t.
15065         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
15066         * gcc.c (default_compilers): If -fshort-wchar,
15067         override __WCHAR_TYPE__.
15068         * tm.texi (C Dialect Options): Add -fshort-wchar.
15069
15070         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
15071         symbol for a variable.
15072
15073         * cpplib.h (CPP_PREPROCESSED): New macro.
15074         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
15075         we're seeing this input for a second time.
15076
15077 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
15078
15079         * emit-rtl.c (init_emit_once): Initialize modes first.
15080
15081 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
15082
15083         * config/i386/i386.c (pic_label_name): Change to char pointer.
15084         (global_offset_table): New variable.
15085         (load_pic_register): Fill global_offset_table if it hasn't
15086         already been done.  Allocate pic_label_name dynamically.
15087         * ggc.h (empty_string): New variable.
15088         * ggc-simple.c (empty_string): Likewise.
15089         (init_ggc): Allocate empty_string and add as root.
15090         * stmt.c (digit_strings): New variable.
15091         (init_stmt): Add last_block_end_note as root.  Allocate and
15092         initialize digit_strings.
15093         (expand_asm_operands): Use empty_string instead of string
15094         constant.  Use digit_strings instead of string constants.
15095         * profile.c (init_arc_profiler): Allocate string with
15096         ggc_alloc_string instead of xmalloc.
15097         (output_func_start_profiler): Likewise.
15098         * c-typeck.c (digest_init): Check if init is error_mark_node.
15099
15100 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
15101                           Richard Henderson  <rth@cygnus.com>
15102
15103         * ggc-page.c: New file.
15104         * Makefile.in (ggc-page.o): New.
15105
15106 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
15107
15108         * invoke.texi: Document -fdelete-null-pointer-checks
15109         * toplev.c (flag_delete_null_pointer_checks): New.
15110         (f_options): Add entry for -fdelete-null-pointer-checks.
15111         (rest_of_compilation): Conditionalize null pointer check
15112         elimination on flag_delete_null_pointer_checks.
15113         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
15114
15115 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
15116
15117         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
15118         copyright notice and special exception to GPL.
15119
15120 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15121
15122         * abi64.h (mips_function_value): Add prototype arguments.
15123
15124         * mips-protos.h: New file with mips prototypes.
15125
15126         * mips.c: Include "tm_p.h".
15127         (mktemp, lookup_name): Add prototype arguments.
15128         (extern_list, string_constant, mips_fill_delay_slot,
15129         mips_output_external, mips_output_external_libcall,
15130         mips_output_filename, mips_declare_object, function_prologue,
15131         mips_expand_prologue, function_epilogue, mips16_constant,
15132         build_mips16_function_stub, mips_output_conditional_branch):
15133         Constify a char*.
15134         (mips_va_start): Remove unused variable `u'.
15135         (mips_va_arg): Cast value to unsigned when comparing against one.
15136         (trace): Delete.
15137         (save_restore_insns, mips_expand_prologue): Add missing arg in
15138         call to `large_int'.
15139
15140         * mips.h: Move prototypes to mips-protos.h.
15141         (data_section, memory_address_p, rdata_section,
15142         readonly_data_section, simple_epilogue_p, text_section): Delete
15143         prototypes delcared elsewhere.
15144         (mips_epilogue_delay_slots, print_options): Delete unused decls.
15145         (trace): Delete.
15146         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
15147
15148         * mips.md: Delete extra args in call to `mips_move_2words'.
15149
15150         * xm-iris6.h (alloca): Add prototype argument.
15151
15152         * genpeep.c: Include "tm_p.h" in generated output file.
15153
15154 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15155
15156         * basic-block.h (find_edge_index): Change parameters.
15157         * flow.c (verify_edge_list): Pass basic_block parameters to
15158         find_edge_index instead of integers.
15159
15160 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
15161
15162         * combine.c (simplify_comparison): Use an unsigned shift to adjust
15163         the constant.
15164
15165 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
15166
15167         * gcc.1: Fix a formatting error.
15168
15169 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15170
15171         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
15172         i786, mn10200, mn10300, pdp11, v850.
15173
15174 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
15175
15176         * libgcc2.c (num_digits): Add prototype with
15177         __attribute__((const)).
15178         (__terminate): Add prototype.
15179
15180 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
15181
15182         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
15183
15184         * alpha/alpha.c (print_operand): Fix type of `code'.
15185         (alpha_output_filename): Constify.
15186         * alpha/alpha.h: Move all function declarations ...
15187         * alpha/alpha-protos.h: ... here.  New file.
15188         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
15189         (SECTION_FUNCTION_TEMPLATE): Likewise.
15190
15191 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15192
15193         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
15194         * expr.c (expand_expr): Likewise.
15195         (do_jump): Likewise.
15196         (do_store_flag): Pass ccp_store_flag to can_compare_p.
15197         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
15198         accessor macros.
15199         (enum can_compare_purpose): New.
15200         (can_compare_p): Adjust prototype.
15201         (prepare_cmp_insn, prepare_operand): Declare.
15202         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
15203         * optabs.c (cmp_available_p): Deleted.
15204         (expand_abs): Pass ccp_jump to can_compare_p.
15205         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
15206         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
15207         Call can_compare_p rather than cmp_available_p.
15208         (prepare_operand): No longer static.
15209         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
15210         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
15211         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
15212         sequence to use emit_cmp_and_jump_insns.
15213         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
15214
15215 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
15216
15217         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
15218         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
15219         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
15220         (plus (reg) (const_int 0))
15221         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
15222
15223 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
15224
15225         * rs6000.c (expand_block_move): DImode loads and stores require
15226         word-aligned displacements.  Increment address registers with
15227         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
15228
15229 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
15230
15231         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
15232         is no name for the base type, rather than segfault.  If we are
15233         writing out a complex integer type, use DW_ATE_lo_user.
15234
15235         * expr.c (emit_move_insn_1): If we are copying a complex that fits
15236         in one word or less (complex char, complex short, or on 64 bit
15237         systems complex float) to/from a hard register, copy it through
15238         memory instead of dying in gen_{real,imag}part.  If we have a
15239         short complex type, prevent inlining since it allocates stack
15240         memory.
15241
15242         * tree.c (build_complex_type): If we are writing dwarf2 output,
15243         generate a name for complex integer types.
15244
15245 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15246
15247         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
15248         * flow.c (remove_edge): Remove extra whitespace.
15249         (remove_fake_edges): Fix comment.
15250         (add_noreturn_fake_exit_edges): Use the correct name.
15251
15252 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
15253
15254         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
15255         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
15256         (clean): Depend on INTL_CLEAN.
15257         (maintainer-clean): Adjust.
15258
15259 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15260
15261         * configure.in (AC_PREREQ): Bump to 2.13.
15262         (AC_C_STRINGIZE): Call this instead of using a custom macro.
15263
15264         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
15265
15266         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
15267
15268         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
15269
15270         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
15271         (HAVE_STRINGIZE): Define.
15272
15273 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
15274
15275         * c-parse.in: save and restore warn_pointer_arith on __extension__
15276         along with pedantic.
15277         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
15278         Set the type of extension to itype rather than $<itype>1 kludge.
15279         * extend.texi (Alternate Keywords): Adjust documentation.
15280         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
15281
15282 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
15283
15284         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
15285         most assembler templates.
15286
15287         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
15288         FP loads and stores.
15289         (following_call): Always return zero for the PA8000.
15290         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
15291         FP loads and stores.
15292         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
15293
15294         * pa.h (BRANCH_COST): Define.
15295
15296         * pa.md (return, return_internal): Use bve for PA2.0.
15297
15298         * pa.md (fused multiply): Add variants which reduce height for the
15299         fused multiply, but which still generate 2 insns.
15300         (fnegabs): Similarly.
15301
15302         * pa.md (subsi3): Turn into an expander.  Create two anonymous
15303         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
15304         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
15305
15306         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
15307         for TARGET_PA_20.
15308         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
15309         code generation.
15310         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
15311         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
15312
15313         * regclass.c (init_regs): Add "top_of_stack" as a garbage
15314         collection root.
15315
15316         * flow.c (record_active_eh_regions): Terminate loop after finding
15317         the last insn in the last basic block.
15318
15319 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15320
15321         * config/c4x/c4x.md: Delete parallel instruction peepholes.
15322
15323 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15324
15325         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
15326
15327 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15328
15329         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
15330         splitting to not use output template.
15331
15332 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15333
15334         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
15335         * config/c4x/c4x.c (c4x_va_start): New function.
15336
15337 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
15338
15339         * genrecog.c (not_both_true): Handle correctly cases when called for
15340         tests with different positions in the insn.
15341
15342 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15343
15344         * machmode.h (HOST_PTR_PRINTF): Move from here ...
15345
15346         * system.h (HOST_PTR_PRINTF): ... to here.
15347
15348         * mips-tfile.c: Don't include machmode.h.
15349
15350         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
15351         (mips-tfile.o): Don't depend on machmode.h.
15352
15353 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15354
15355         * haifa-sched.c (sched_analyze): Rename local variable `region' to
15356         avoid conflicts with typedef struct `region' at the top level scope.
15357
15358 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
15359
15360         * basic-block.h (basic_block): Add eh_beg, eh_end.
15361         * flow.c (entry_exit_blocks): Update.
15362         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
15363         Call new functions.
15364         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
15365         lists.c functions to allocate insn lists.
15366         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
15367         edge creation ...
15368         (make_eh_edge): ... here.  New.
15369         (move_stray_eh_region_notes): New.
15370         (record_active_eh_regions): New.
15371         (delete_unreachable_blocks): Split out block merging ...
15372         (try_merge_blocks): ... here.  New.
15373         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
15374         Dump debugging data.
15375         (merge_blocks_move_successor_nojumps): Likewise.
15376         (merge_blocks): Use eh_beg+eh_end to validate block movement.
15377
15378 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15379
15380         * extend.texi (Bound member functions): Document unbound pmf
15381         conversion.
15382
15383 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15384
15385         * flow.c (split_edge): Handle insertion on a fallthrough edge which
15386         has the EXIT_BLOCK as a dest.
15387
15388 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15389
15390         * flow.c (remove_edge): New function to remove an edge from the
15391         flow graph.
15392         (remove_fake_successors): New function to remove fake successor edges.
15393         (remove_fake_edges): New function to remove all fake edges from the
15394         flow graph.
15395         (add_fake_exit_edges): New function to add fake edges from all blocks
15396         with no successors to the exit block.
15397         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
15398         prototypes for new functions.
15399
15400 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15401
15402         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
15403         Use Pmode to determine whether to output .dword or .word.
15404
15405 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
15406
15407         * tree.c (built_in_filename): New variable.
15408         (BUILT_IN_FILENAME): New macro.
15409         (init_tree_codes): Allocate built_in_filename.
15410         (make_node): Use built_in_filename instead of string constant.
15411
15412 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
15413
15414         * configure.in: Add fr30 target.
15415         * configure: Regenerate.
15416         * config/fr30: New directory.
15417         * config/fr30/crti.asm: New file.
15418         * config/fr30/fr30.c: New file.
15419         * config/fr30/crtn.asm: New file.
15420         * config/fr30/fr30.h: New file.
15421         * config/fr30/fr30.md: New file.
15422         * config/fr30/lib1funcs.asm: New file.
15423         * config/fr30/t-fr30: New file.
15424         * config/fr30/xm-fr30.h: New file.
15425
15426 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
15427
15428         * flow.c (merge_blocks_move_successor_nojumps): Delete the
15429         BARRIER at the end of the successor, not the BARRIER before
15430         the successor.
15431
15432         * pa.c (pa_add_gc_roots): Fix thinko in last change.
15433
15434 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
15435
15436         * stmt.c (any_pending_cleanups): Don't crash when
15437         current_function->stmt is unset.
15438
15439 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15440
15441         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
15442         other initializations that may use it for relative offsets.
15443
15444 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15445
15446         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
15447         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
15448         * config/i386/sol2dbg.h: Removed.
15449         * config/i386/sol2gas.h: New file, to enable gas work-around.
15450         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
15451         Don't use sol2dbg.h.
15452         * configure: Rebuilt.
15453
15454 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
15455
15456         * invoke.texi (-fthis-is-variable): Remove documentation.
15457
15458 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
15459
15460         * basic-block.h (compute_bb_for_insn): Declare.
15461         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
15462         to use; set size of basic_block_for_insn directly.
15463         (find_basic_blocks): Update.
15464
15465 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15466
15467         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
15468
15469 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15470
15471         * crtstuff.c (ON_EXIT): Delete empty macro definition.
15472         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
15473
15474 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
15475
15476         * c-decl.c (c_decode_option): Extend comment.
15477
15478 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
15479
15480         * toplev.c (progname): Make 'const char *'
15481         (flag_print_mem): Move out of main.
15482         (version_flag): Move out of main.
15483         (filename): Move out of main.
15484         (debug_args): Remove g prefix from options.
15485         (documented_lang_options): Remove cpplib specific options.
15486         (display_help): Add g prefix to debug options.
15487         (check_lang_option): Delete this function.
15488         (decode_d_option): New function: Decode -d... option.
15489         (decode_f_option): New function: Decode -f... option.
15490         (decode_W_option): New function: Decode -W... option.
15491         (decode_g_option): New function: Decode -g... option.
15492         (independent_decode_option): New function: Decode a language
15493         independent command line option.
15494         (main): Invoke lang_decode_option and then
15495         independent_decode_option on each command line option in
15496         turn.
15497
15498 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
15499
15500         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
15501          * fold-const.c (fold_range_test): Do not try to fold the range
15502          test if the rhs or lhs has side effects.
15503
15504         * basic-block.h (compute_flow_dominators): Declare.
15505
15506         * gcse.c (alloc_code_hoist_mem): New function.
15507         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
15508         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
15509         (hoist_code, one_code_hoisting_pass): Likewise.
15510         (gcse_main): If optimizing for size, then hoist expressions
15511         computed in multiple dominated basic blocks.
15512
15513         * gcse.c (invalid_nonnull_info): New function.
15514         (delete_null_pointer_checks): Likewise.
15515         * rtl.h (delete_null_pointer_checks): Declare.
15516         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
15517
15518         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
15519         (merge-blocks_move_successor_nojumps): Likewise.
15520         (merge_blocks): Allow merging of some blocks, even if it requires
15521         physical movement of the blocks, but not if it requires new jumps.
15522
15523         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
15524         Callers and prototype changed.
15525         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
15526
15527 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15528
15529         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
15530         -YP when both -p and -pg are present.  From i386/sol2.h.
15531
15532 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15533
15534         * Makefile.in (distclean): Delete tm_p.h.
15535         * configure.in: Create a new file, "tm_p.h", from a list in
15536         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
15537         "i386/i386-protos.h".
15538
15539         * alias.c: Include "tm_p.h".
15540         * c-typeck.c: Likewise.
15541         * calls.c: Likewise.
15542         * cse.c: Likewise.
15543         * emit-rtl.c: Likewise.
15544         * explow.c: Likewise.
15545         * expmed.c: Likewise.
15546         * expr.c: Likewise.
15547         * final.c: Likewise.
15548         * flow.c: Likewise.
15549         * fold-const.c: Likewise.
15550         * function.c: Likewise.
15551         * gcse.c: Likewise.
15552         * global.c: Likewise.
15553         * haifa-sched.c: Likewise.
15554         * integrate.c: Likewise.
15555         * jump.c: Likewise.
15556         * local-alloc.c: Likewise.
15557         * loop.c: Likewise.
15558         * optabs.c: Likewise.
15559         * recog.c: Likewise.
15560         * reg-stack.c: Likewise.
15561         * regclass.c: Likewise.
15562         * regmove.c: Likewise.
15563         * reload.c: Likewise.
15564         * reload1.c: Likewise.
15565         * reorg.c: Likewise.
15566         * resource.c: Likewise.
15567         * stmt.c: Likewise.
15568         * stor-layout.c: Likewise.
15569         * toplev.c: Likewise.
15570         * tree.c: Likewise.
15571         * unroll.c: Likewise.
15572         * genattrtab.c (main): Make generated file include "tm_p.h".
15573         * genemit.c (main): Likewise.
15574         * genoutput.c (main): Likewise.
15575         * genrecog.c (main): Likewise.
15576
15577         * i386.h: Delete all prototypes.
15578         * i386.c: Include "tm_p.h".
15579         (ix86_attr_length_default): Call constant_call_address_operand
15580         with correct number of arguments.
15581         * i386-protos.h: New file.
15582         * i386.md (unnamed patterns): Call constant_call_address_operand
15583         with correct number of arguments.
15584         (exception_receiver): Call load_pic_register with correct number
15585         of arguments.
15586
15587 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
15588
15589         * c-pragma.c (mark_align_stack): Dereference the void* properly.
15590
15591 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
15592
15593         * rtl.h (insns_safe_to_move_p): New function.
15594         * loop.c (find_and_verify_loops): Use it.
15595         * rtlanal.c (insns_safe_to_move_p): Define it.
15596
15597 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
15598
15599         * c-pragma.c: Include ggc.h.
15600         * Makefile.in (c-pragma.o): Update.
15601
15602 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15603
15604         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
15605         (LIB_SPEC): Likewise.
15606         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
15607         Reindent -YP/-p/-pg.
15608         Copied from config/sparc/sol2.h.
15609
15610 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
15611
15612         * c-pragma.c (mark_align_stack): New.
15613         (init_pragma): New.
15614         * c-pragma.h (init_pragma): Declare it.
15615         * c-lex.c (init_parse): Call it.
15616
15617 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15618
15619         * configure.in: Pick up thread library on Solaris/x86 just
15620         like on Solaris/sparc.
15621         * configure: Rebuilt.
15622
15623 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
15624
15625         * rtl.h (global_rtx_index): New enum.
15626         (global_rtl): Change to array of rtx.
15627         (pc_rtx, cc0_rtx): Redefine accordingly.
15628         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
15629         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
15630         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
15631         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
15632         (const_int_rtx): Change to array of rtx.
15633         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
15634         accordingly.
15635         * emit-rtl.c (global_rtl): Change to array of rtx.
15636         (const_int_rtx): Change to aray of rtx.
15637         (gen_rtx_CONST_INT): Redefine accordingly.
15638         (init_emit_once): Allocate and initialize global_rtl.  Likewise
15639         for const_int_rtx.  Add both as GC roots.
15640         * genattrtab.c (global_rtl): Update declaration.
15641
15642 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
15643
15644         * Makefile (USER_H): Add iso646.h back.
15645
15646 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
15647
15648         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
15649         zapping the LOG_LINKS of sched_before_next_call.
15650
15651         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
15652         * pa.c (insn_refs_are_delayed): Renamed from
15653         insn_sets_and_refs_are_delayed.
15654
15655 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
15656
15657         * functiion.h (struct function): Add x_whole_function_mode_p.
15658         (retrofit_block): Declare.
15659         * function.c (retrofit_block): New function.
15660         (identify_blocks): Add assertions.  Allow an incomplete set of
15661         block notes if we're still generating code for the function.
15662         * integrate.c: Include loop.h.
15663         (expand_inline_function): Call find_loop_tree_blocks to map block
15664         notes to blocks when in whole-function mode.  Use retrofit_block
15665         to insert new BLOCKs for the inlined function, rather than
15666         insert_block.
15667         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
15668         * Makefile.in (integrate.o): Depend on loop.h.
15669
15670 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
15671
15672         * tree.h (warn_about_unused_variables): Declare.
15673         * stmt.c (warn_about_unused_variables): New function, split out
15674         from ...
15675         (expand_end_bindings): Here.
15676
15677 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
15678
15679         * stmt.c (preserve_subexpressions_p): Don't crash when
15680         current_function->stmt is unset.
15681
15682 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
15683
15684         * stmt.c (expand_start_bindings): Allow callers to pass a flag
15685         indicating that no NOTE_INSN_BLOCK_BEG note is required.
15686         (expand_start_target_temps): Use it.
15687         * except.c (expand_eh_region_start_for_decl): Likewise.
15688         * expr.c (expand_expr): Likewise.
15689
15690 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15691
15692         * fold-const.c (operand_equal_p): Pay attention to side effects.
15693
15694 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
15695
15696         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
15697         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
15698
15699         * tlink.c (scan_linker_output): Look for keywords before accepting
15700         a mangled name in quotes.
15701
15702 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
15703
15704         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
15705         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
15706
15707 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
15708
15709         * alpha.md: Revert Thu Nov 26 change that came in through the
15710         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
15711         Avoid earlyclobber when possible.
15712
15713 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15714
15715         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
15716
15717         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
15718         Define HAVE_ON_EXIT.
15719
15720 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15721
15722         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
15723         CTYPE_CONV in all ctype macros.
15724
15725         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
15726         from system.h.
15727
15728         * cexp.y (initialize_random_junk): Likewise.
15729
15730         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
15731
15732         * i370.c (handle_pragma): Likewise.
15733
15734         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
15735
15736         * v850.c (override_options): Likewise.
15737
15738         * doprint.c (_doprnt): Likewise.
15739
15740         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
15741         Likewise.
15742
15743         * fixinc/server.c (load_data): Likewise.
15744
15745         * fold-const.c (real_hex_to_f): Likewise.
15746
15747         * genattr.c (write_upcase, gen_attr): Likewise.
15748
15749         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
15750         write_upcase): Likewise.
15751
15752         * genemit.c (print_code): Likewise.
15753
15754         * genopinit.c (gen_insn): Likewise.
15755
15756         * genpeep.c (print_code): Likewise.
15757
15758         * genrecog.c (print_code): Likewise.
15759
15760         * optabs.c (init_libfuncs): Likewise.
15761
15762 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
15763
15764         * haifa-sched.c (sched_analyze): Keep the list of notes organized
15765         in pairs.
15766         (reemit_notes): Likewise.
15767
15768 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
15769
15770         * ggc.h (ggc_root): Move to ggc-common.c.
15771         (roots): Remove.
15772         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
15773         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
15774         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
15775         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
15776         * ggc-common.c (ggc_root): Move from ggc.h.
15777         (roots): Declare, static.
15778         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
15779         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
15780         null or check/set mark bit.
15781         (ggc_mark_roots): New.
15782         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
15783
15784 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
15785
15786         * m32r.c: Include toplev.h.
15787         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
15788         (gen_compare): Rename swap_p to must_swap to match uses.
15789         Add default abort case.
15790         (m32r_output_function_epilogue): Remove unused variables.
15791         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
15792         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
15793         define to empty parameter list.  Update all uses.
15794         (predicate decls): Use enum machine_mode not int.
15795         * m32r.md (movsi): Call abort, not fatal_insn.
15796         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
15797
15798 1999-09-14  Andrew Haley  <aph@cygnus.com>
15799
15800         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
15801         use $0 instead of 0.
15802
15803 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15804
15805         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
15806         computation out of loop over hard regs.
15807
15808 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
15809
15810         * function.c (identify_blocks): Don't shadow a variable in an
15811         outer scope.
15812         * integrate.c (integrate_decl_tree): Don't use pushlevel,
15813         pushdecl, or poplevel to build up the new BLOCK tree.
15814         (expand_inline_function): Likewise.
15815         (integrate_parm_decls): Likewise.
15816
15817 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
15818
15819         * c-typeck.c (qualify_type): Merge qualifiers from both types.
15820
15821 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
15822
15823         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
15824         * invoke.texi: Document this change.
15825
15826 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
15827
15828         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
15829         Free the struct.
15830         (mark_emit_status): Renamed from mark_emit_state.
15831         * except.c (mark_eh_status): Renamed from mark_eh_state.
15832         Check not null before marking.
15833         (free_eh_status): New.
15834         * expr.c (mark_expr_status, free_expr_status): New.
15835         * function.c (free_machine_status): New.
15836         (free_after_parsing): New.
15837         (free_after_compilation): Move bits to free_after_parsing; call
15838         free_eh_status, free_expr_status; zero the marked members of the
15839         function state.
15840         (prepare_function_start): No can_garbage_collect.
15841         Call init_eh_for_function.
15842         (expand_dummy_function_end): Free up current_function state.
15843         (mark_function_status): Renamed from mark_function_state.
15844         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
15845         * function.h (struct function): No can_garbage_collect.
15846         (free_machine_status, free_after_parsing): Declare.
15847         (free_eh_status, free_expr_status): Declare.
15848         * ggc.h (mark_expr_status): Declare.
15849         * stmt.c (free_stmt_status): Free the struct.
15850         (mark_stmt_status): Renamed from mark_stmt_state.
15851         (init_stmt): Don't call init_eh.
15852         (init_stmt_for_function): Don't call init_eh_for_function.
15853         * toplev.c (compile_file): Call init_eh.
15854         (rest_of_compilation): Free basic block info before ggc_collect.
15855         Call free_after_parsing; conditionally call free_after_compilation.
15856         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
15857         Check not null before marking.
15858         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
15859
15860 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
15861
15862         * c-lex.c (yylex): Initialize warn.
15863
15864 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
15865
15866         * pa.c (emit_move_sequence): Properly set the mode of the scratch
15867         register when performing secondary reloads for the SAR register.
15868
15869 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
15870
15871         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
15872         (NOTE_BLOCK): New macro.
15873         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
15874         * function.h (identify_blocks): Change prototype.
15875         * function.c (identify_blocks): Simplify.
15876         (reorder_blocks): Likewise.
15877         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
15878         NOTE_INSN_BLOCK_{BEG,END}.
15879         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
15880         the list of saved notes if the note isn't a
15881         NOTE_INSN_BLOCK_{BEG,END}.
15882         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
15883         NOTE_BLOCK_NUMBER.
15884         (reemit_notes): Adjust recreation of notes to reflect new saved
15885         note structure.
15886         * print-rtl.c (print_rtx): Print the address of the BLOCK when
15887         printing a block note.
15888         * stmt.c (block_vector): Remove.
15889         (find_loop_tree_blocks): Simplify.
15890         (unroll_block_trees): Likewise.
15891         * tree.h (reorder_block): Change prototype.
15892
15893 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
15894
15895         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
15896         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
15897         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
15898         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
15899         (atexit, exit): Simplify.
15900         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
15901         * config/lots: Remove defns of HAVE_ATEXIT.
15902
15903 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
15904
15905         * calls.c (precompute_arguments): Fix typo in comment.
15906         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
15907         TARGET_EXPR.
15908
15909 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
15910
15911         * dsp16xx.c (override_options): Fix typos in GC root registration.
15912
15913 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
15914
15915         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
15916         from config/svr4.h.
15917         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
15918         (FUNCTION_PROFILER): Redefine appropriately for Linux.
15919         (CC1_SPEC): Likewise.
15920
15921 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15922
15923         * genattr.c (main): Add extern prototype.  Call return, not exit.
15924         * genattrtab.c (main): Likewise.
15925         * gencheck.c (main): Likewise.
15926         * gencodes.c (main): Likewise.
15927         * genconfig.c (main): Likewise.
15928         * genemit.c (main): Likewise.
15929         * genextract.c (main): Likewise.
15930         * genflags.c (main): Likewise.
15931         * gengenrtl.c (main): Likewise.
15932         * genopinit.c (main): Likewise.
15933         * genoutput.c (main): Likewise.
15934         * genpeep.c (main): Likewise.
15935         * genrecog.c (main): Likewise.
15936
15937         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
15938         * genattrtab.c (get_insn_name): Likewise.
15939         * gencodes.c (get_insn_name): Likewise.
15940         * genconfig.c (get_insn_name): Likewise.
15941         * genemit.c (get_insn_name): Likewise.
15942         * genextract.c (get_insn_name): Likewise.
15943         * genflags.c (get_insn_name): Likewise.
15944         * genopinit.c (get_insn_name): Likewise.
15945         * genpeep.c (get_insn_name): Likewise.
15946
15947         * gencheck.c (usage): Add static prototype.
15948         * genextract.c (print_path): Constify a char*.
15949         * genopinit.c (optabs): Likewise.
15950         * genoutput.c (operand_data, data, output_predicate_decls,
15951         compare_operands): Likewise.
15952         * genrecog.c (write_tree): Add default case in switch.
15953
15954 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15955
15956         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
15957
15958         * print-rtl.c (get_insn_name): Remove prototype.
15959
15960         * toplev.h (progname): Declare const.
15961
15962         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
15963         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
15964         dump_sched_info, dump_local_alloc, regset_release_memory,
15965         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
15966         error_with_file_and_line, error_with_decl, error_for_asm, error,
15967         fatal, warning_with_file_and_line, warning_with_decl, warning,
15968         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
15969         Remove redundant prototypes.
15970
15971         (notice, check_lang_option, report_file_and_line, vnotice,
15972         mark_file_stack): Add static prototype.
15973         (set_fatal_function): Add prototype.
15974         (vnotice, report_file_and_line, set_fatal_function,
15975         check_lang_option): Constify a char*.
15976         (main): Prototype.  Call return, not exit.
15977
15978 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15979
15980         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
15981
15982         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
15983
15984         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
15985
15986         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
15987
15988 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15989
15990         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
15991         behave as if it's zero in all cases.
15992         (expand_function_start): Adjust call to assign_parms.
15993         * tree.h (assign_parms): Adjust prototype.
15994         * objc/objc-act.c (hack_method_prototype): Adjust call to
15995         assign_parms.
15996
15997 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
15998
15999         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
16000         arg_pointer_rtx fixed if the argument pointer register is
16001         not fixed.
16002         (NONZERO_BASE_PLUS_P): Likewise.
16003
16004 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
16005
16006         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
16007         match_insn2 to match_insn.
16008         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
16009
16010 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
16011
16012         * Makefile.in (USER_H): Remove va-foo.h.
16013
16014         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
16015         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
16016         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
16017         va-spur.h,va-v850.h}: Remove.
16018
16019 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
16020
16021         * sparc/sparc.md (eligible_for_return_delay): New attribute.
16022         (in_return_delay): Use it instead of match_insn.
16023
16024 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16025
16026         * config/alpha/va_list.h (va-alpha.h): Do not include.
16027         (__gnuc_va_list): Typedef as in varargs.h.
16028
16029 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
16030
16031         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
16032         DECL_LIVE_RANGE_RTL.
16033
16034 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
16035
16036         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
16037         not NOTE_BLOCK_NUMBER.
16038         (expand_eh_region_end): Likewise.
16039         (find_exception_handler_labels): Likewise.
16040         (scan_region): Likewise.
16041         (exception_optimize): Likewise.
16042         (update_rethrow_references): Likewise.
16043         (set_insn_eh_region): Likewise.
16044         * final.c (final_scan_insn): Likewise.
16045         * flow.c (make_edges): Likewise.
16046         * integrate.c (expand_inline_function): Likewise.
16047         * print-rtl.c (print_rtx): Likewise.
16048
16049 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
16050
16051         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
16052         terms of builtin functions and types.
16053
16054         * mips.c (mips_build_va_list): New.
16055         (mips_va_start, mips_va_arg): New.
16056         * mips.h (BUILD_VA_LIST_TYPE): New.
16057         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16058
16059         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
16060         (sh_build_va_list, sh_va_start, sh_va_arg): New.
16061         * sh.h (BUILD_VA_LIST_TYPE): New.
16062         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16063
16064 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
16065
16066         * recog.h (struct recog_data): Make dup_num, operand_address_p,
16067         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
16068         (struct insn_data): Likewise with n_operands, n_dups,
16069         n_alternatives, output_format.
16070         * regclass.c (scan_one_insn): Cast n_operands to int before
16071         arithmetic inside comparison.
16072
16073 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
16074
16075         * toplev.c (compile_function): Unconditionally emit nop.
16076
16077 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16078
16079         * haifa-sched.c (actual_hazard): Move declaration of variable
16080         `this_cost' into the scope where it is used.
16081
16082 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16083
16084         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
16085         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
16086         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
16087
16088         * genrecog.c (make_insn_sequence): Call memset, not bzero.
16089
16090         * jump.c (find_insert_position): Don't declare or define unless
16091         !HAVE_conditional_arithmetic.
16092         (returnjump_p_1, delete_prior_computation): Add static prototypes.
16093
16094         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
16095
16096         * recog.c (offsettable_address_p): Prototype function pointer.
16097         (preprocess_constraints): Call memset, not bzero.
16098
16099         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
16100         (gcc_obstack_init): Don't declare.
16101         (fix_sizetype): Add static prototype.
16102         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
16103         (tree_cons): Call memset, not bzero.
16104
16105         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
16106         definition in macro ASM_WEAKEN_LABEL.
16107         (mark_const_hash_entry): Add static prototype.
16108
16109 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16110
16111         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
16112
16113         * unroll.c (find_common_reg_term, subtract_reg_term,
16114         loop_find_equiv_value): Add static prototypes.
16115         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
16116         (copy_loop_body): Remove unreachable break statement.
16117
16118         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
16119
16120         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
16121
16122 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16123
16124         Undo some changes from the gcc2 merge:
16125         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
16126         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
16127         pointers.
16128
16129         Undo this change:
16130         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
16131         * emit-rtl.c (gen_lowpart_common): Disable optimization of
16132         initialized float-int union if the value is a NaN.
16133
16134 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16135
16136         * gthr-win32.h: New file.
16137
16138         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
16139         shared as a valid attribute.
16140         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
16141         * extend.texi: Document `shared' variable attribute.
16142
16143 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
16144
16145         * configure.in: Handle --enable-threads on FreeBSD.
16146         * configure: Rebuit.
16147
16148 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
16149
16150         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
16151         thread support.
16152         * configure: Rebuilt.
16153
16154 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
16155                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
16156                           Rosimildo DaSilva <rdasilva@connecttel.com>
16157
16158         * configure.in (m68k-*-rtemscoff*): Added.
16159         * configure.in (mips64orion-*-rtems*): Converted to ELF.
16160         * configure.in (sparc-*-rtemsaout*): Added as alias for old
16161         sparc-rtems configuration.
16162         * configure.in (sparc-*-rtemself*): Added.
16163         * configure.in (sparc-*-rtems*): Now ELF not a.out.
16164         * config/i386/rtems.h: Added comment.
16165         * config/sparc/rtemself.h: New file.
16166
16167         * configure.in (m68k-rtemself): Added.
16168         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
16169         and DWARF_DEBUGGING_INFO.
16170         * config/m68k/crti.s: New file.
16171         * config/m68k/crtn.s: New file.
16172         * config/m68k/t-crtstuff: New file.
16173         * config/m68k/rtemself.h: New file.
16174
16175         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
16176         global ctor/dtor and C++ exception handling.
16177         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
16178         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
16179         ENDFILE_SPEC.
16180         * config/i386/t-rtems-i386: New File.
16181
16182 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
16183
16184         * stmt.c (expand_end_case): Return right away if the case stack is
16185         empty.
16186
16187 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
16188
16189         * Makefile.in (version.c): Remove rule incorrectly brought in from
16190         the gcc2 merge.
16191
16192 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
16193
16194         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
16195         * msdos/top.sed:  Take into account a prepended $(SHELL) to
16196         move-if-change.
16197         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
16198
16199         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
16200
16201 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16202
16203         * regmove.c (fixup_match_1): Don't change an unchanging register.
16204         (stable_but_for_p): Renamed to:
16205         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
16206         Changed all callers.
16207
16208 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
16209
16210         * loop.c (strength_reduce): Don't call reg_used_between_p if the
16211         insn from BL2 is after the insn from BL.
16212
16213 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
16214
16215         * recog.h (INSN_OUTPUT_FORMAT_*): New.
16216         (struct insn_data): Merge `template' and `outfun' into `output'.
16217         Add `output_format'.
16218         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
16219         (struct data): Remove `outfun'; add `output_format'.
16220         (name_for_index): Remove declaration.
16221         (output_insn_data): Handle output formats.
16222         (process_template): Emit the bare array for @.
16223         (gen_expand, gen_split): Set output_format to NONE.
16224         * output.h (get_insn_template): Declare.
16225         * final.c (get_insn_template): New.
16226         (final_scan_insn): Use it.
16227         * toplev.c (compile_file): Likewise.
16228
16229         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16230         * i860/i860.c (output_delayed_branch): Likewise.
16231         (output_delay_insn): Likewise.
16232
16233 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16234
16235         * rtl.c (obstack_alloc_rtx): Removed.
16236
16237 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
16238
16239         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
16240
16241 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
16242
16243         * i386.c (call_insn_operand): Reject const_int.
16244         (expander_call_insn_operand): Use call_insn_operand.
16245
16246 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16247
16248         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
16249
16250 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
16251
16252         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
16253         Use DImode operation.
16254
16255 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
16256
16257         * gcc.c: Include sys/resource.h.
16258         (report_times): New flag.
16259         (execute):  If report_times is set, calculate and report the
16260         CPU time consumed by each subprocess.
16261
16262         (rus, prus): New globals.
16263         (option_map): Add --time.
16264         (display_help): Document -time.
16265         (process_command): Set report_times if -time is given.
16266         Turn off -pipe if -time is given.
16267
16268         * invoke.texi: Document new option -time.
16269
16270         * configure.in: Check for getrusage.  Check if we have to
16271         prototype getrusage.
16272         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
16273         * configure: Regenerate.
16274         * config.in: Regenerate.
16275
16276 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
16277
16278         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
16279         fields.
16280
16281 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
16282
16283         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
16284         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
16285         (nan): Return _thenan_sf or _thenan_df as appropriate.
16286         (L_thenan_sf): Define _thenan_sf.
16287         (L_thenan_df): Define _thenan_df.
16288
16289         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
16290         (DPBIT_FUNCS): Add _thenan_df.
16291
16292 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
16293
16294         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
16295         TYPE_SIZE_UNIT.
16296
16297 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16298
16299         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
16300
16301         * gcc.h: New file.
16302         (lang_specific_driver): Don't take a function pointer parameter.
16303         All callers changed.
16304
16305         * gcc.c: Include gcc.h.
16306         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
16307         lang_specific_extra_outfiles, fatal): Don't declare.
16308         (multilib_defaults_raw): Constify.
16309         (read_specs): Call memset, rather than bzero.
16310         (main): Call return, not exit.
16311         (lookup_compiler): Call memcpy, not bcopy.
16312         (fatal): Make extern.
16313
16314         * cppspec.c: Include gcc.h.
16315         (lang_specific_driver): Initialize variable `quote'.  Constify a
16316         char*.  All calls to the function pointer parameter now
16317         explicitly call `fatal'.
16318
16319         * gccspec.c (lang_specific_driver): Include gcc.h.
16320
16321 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
16322
16323         * arm.c (note_invalid_constants): Use recog_data.operand_type
16324         for recog_op_type.
16325
16326 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16327
16328         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
16329         Declare.
16330
16331         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
16332         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16333         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16334         reload_secondary_in_reload, reload_secondary_out_reload,
16335         reload_secondary_in_icode, reload_secondary_out_icode,
16336         reload_reg_rtx, reload_when_needed): Delete declarations.
16337         (struct reload): New structure.
16338         (rld): Declare new array.
16339         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
16340         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16341         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16342         reload_secondary_in_reload, reload_secondary_out_reload,
16343         reload_secondary_in_icode, reload_secondary_out_icode,
16344         reload_reg_rtx, reload_when_needed): Delete definitions.
16345         (rld): New array.
16346         (whole file): Replace uses of the deleted arrays with uses of rld.
16347         * reload1.c (whole file): Replace uses of the deleted arrays with
16348         uses of rld.
16349         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
16350         explicit loops, not with bcopy.
16351
16352 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
16353
16354         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
16355         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
16356         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
16357         insn_name): Delete and consolidate into new structures.
16358         (insn_operand_predicate_fn): New.
16359         (insn_output_fn): New.
16360         (insn_gen_fn): New.
16361         (struct insn_operand_data): New.
16362         (struct insn_data): New.
16363         (insn_data): New.
16364         (OUT_FCN): Update for insn_data change.
16365         * builtins.c (expand_builtin_strlen): Likewise.
16366         (expand_builtin_memcmp): Likewise.
16367         * combine.c (make_extraction, simplify_comparison): Likewise.
16368         * cse.c (canon_reg, cse_insn): Likewise.
16369         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
16370         * expmed.c (store_bit_field, extract_bit_field): Likewise.
16371         (emit_store_flag): Likewise.
16372         * expr.c (convert_move, emit_block_move): Likewise.
16373         (clear_storage, emit_push_insn, expand_increment): Likewise.
16374         (do_store_flag): Likewise.
16375         * expr.h (GEN_FCN): Likewise.
16376         (insn_gen_function): Die.
16377         * final.c (final_scan_insn): Update for insn_data change.
16378         (output_asm_name): Likewise.
16379         * function.c (fixup_var_refs_1): Likewise.
16380         * loop.c (check_dbra_loop): Likewise.
16381         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
16382         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
16383         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
16384         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
16385         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
16386         * regmove.c (gen_add3_insn): Likewise.
16387         * reload.c (push_secondary_reload, combine_reloads): Likewise.
16388         (find_reloads, find_reloads_address_1): Likewise.
16389         (debug_reload_to_stream): Likewise.
16390         * reload1.c (emit_reload_insns, gen_reload): Likewise.
16391         * stmt.c (expand_end_case): Likewise.
16392         * toplev.c (compile_file): Likewise.
16393
16394         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16395         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
16396
16397         * print-rtl.c (insn_name_ptr): Remove declaration.
16398         (get_insn_name): Declare.
16399         (print_rtx): Use it.
16400         * genoutput.c (insn_name_ptr): Remove.
16401         (next_operand_number): New.
16402         (struct operand_data): New.
16403         (null_operand, odata, odata_end): New.
16404         (struct data): Use struct operand_data.
16405         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
16406         (get_insn_name): Renamed from name_for_index.
16407         (output_prologue): Define NO_MD_PROTOTYPES.
16408         (output_predicate_decls): Break out from output_epilogue.
16409         Iterate over the operands list.
16410         (output_operand_data): Break out from output_epilogue.  Emit
16411         just the operands list.
16412         (output_insn_data): Break out from output_epilogue.  Emit just
16413         the insn data.
16414         (output_epilogue): Remove.
16415         (output_get_insn_name): New.
16416         (constraints, op_n_alternatives, predicates, address_p): Die.
16417         (modes, strict_low, seen): Die.
16418         (scan_operands): Take new param `d' instead of writing to
16419         seven global variables.
16420         (compare_operands): New.
16421         (place_operands): New.
16422         (validate_insn_alternatives): Update for struct data change.
16423         (gen_insn): Don't zero or copy 7 global arrays.  Update for
16424         scan_operands; call place_operands.
16425         (gen_peephole, gen_expand, gen_split): Likewise.
16426         (main): Update for new output routines.
16427
16428         * genattr.c (insn_name_ptr): Remove.
16429         (get_insn_name): New function.
16430         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
16431         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
16432         * genrecog.c: Likewise.
16433
16434         * alpha.md (adddi3): Make `pattern' array static.
16435
16436 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16437
16438         * config/c4x/c4x.h (c4x_rpts_cycles_string,
16439         c4x_cpu_version_string): Constify char *.
16440         * config/c4x/c4x.c (c4x_rpts_cycles_string,
16441         c4x_cpu_version_string): Likewise.
16442
16443 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
16444
16445         * tree.c (save_tree_status): Revert 10 Sep change.
16446         (restore_tree_status): Likewise.  Call obstack_free with NULL
16447         before freeing the obstack proper.
16448
16449 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
16450
16451         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
16452
16453         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
16454         surrounding context.
16455
16456 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
16457
16458         * tree.c (type_hash_canon): Put all types in the hash-table, when
16459         GC'ing.
16460
16461 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
16462
16463         * recog.h (struct recog_data, recog_data): New.
16464         (recog_foo variables): Kill.
16465         * recog.c (recog_operand, recog_operand_loc): Kill.
16466         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
16467         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
16468         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
16469         (recog_data): Define.
16470         (extract_insn): Update all recog_foo references to use recog_data.
16471         (preprocess_constraints, constrain_operands): Likewise.
16472         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
16473         * genattrtab.c (main): Likewise.
16474         * genextract.c (main): Likewise.
16475         * genoutput.c: Likewise.
16476         * genrecog.c (write_subroutine, main): Likewise.
16477         * local-alloc.c (block_alloc): Likewise.
16478         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
16479         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
16480         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
16481         * reload.c (find_reloads, find_reloads_toplev): Likewise.
16482         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
16483         (reload_cse_simplify_operands): Likewise.
16484
16485         * arc/arc.c (arc_final_prescan_insn): Likewise.
16486         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
16487         * h8300/h8300.c (notice_update_cc): Likewise.
16488         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
16489         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
16490         * mn10200/mn10200.c (notice_update_cc): Likewise.
16491         * mn10300/mn10300.c (notice_update_cc): Likewise.
16492         * romp/romp.c (update_cc): Likewise.
16493         * sparc/sparc.c (check_pic): Likewise.
16494         * v850/v850.c (notice_update_cc): Likewise.
16495
16496         * genemit.c (main): Don't declare recog_operand.
16497
16498 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
16499
16500         * ggc.h (rtvec_def): Forward declare.
16501         (tree_node): Likewise.
16502         (ggc_root): Define.
16503         (roots): Declare.
16504         (ggc_set_mark_rtx): Add prototype.
16505         (ggc_set_mark_rtvec): Likewise.
16506         (ggc_set_mark_tree): Likewise.
16507         * ggc-simple.c (ggc_root): Don't define.
16508         (roots): Don't declare.
16509         (ggc_mark_rtx): Remove.
16510         (ggc_mark_rtvec): Likewise.
16511         (ggc_mark_tree): Likewise.
16512         (ggc_mark_varray): Likewise.
16513         (ggc_mark_tree_hash_table_entry): Likewise.
16514         (ggc_mark_tree_hash_table): Likewise.
16515         (ggc_set_mart_rtx): New function.
16516         (ggc_set_mark_rtvec): Likewise.
16517         (ggc_set_mark_tree): Likewise.
16518         (ggc_add_root): Remove.
16519         (ggc_add_rtx_root): Likewise.
16520         (ggc_remove_tree_root): Likewise.
16521         (ggc_add_string_root): Likewise.
16522         (ggc_add_tree_varray_root): Likewise.
16523         (ggc_add_tree_hash_table_root): Likewise.
16524         (ggc_del_root): Likewise.
16525         (ggc_mark_rtx_ptr): Likewise.
16526         (ggc_mark_tree_ptr): Likewise.
16527         (ggc_mark_string_ptr): Likewise.
16528         (ggc_mark_tree_varray_ptr): Likewise.
16529         (ggc_mark_tree_hash_table_ptr): Likewise.
16530         * ggc-common.c: New file.
16531         * Makefile.in (OBJS): Add ggc-common.o.
16532         (ggc-common.o): List dependencies.
16533
16534 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
16535
16536         * cppalloc.c (xstrdup): Use memcpy.
16537         * cpperror.c (cpp_print_containing_files): Don't use
16538         cpp_notice.
16539         * cpplib.c (conditional_skip): Set temp->lineno.
16540         (do_endif): Make error message less obscure.
16541         (if_directive_name): New function.
16542         (cpp_get_token [case EOF]): Unwind the if stack and generate
16543         error messages for each unterminated conditional in this file.
16544         (parse_string):  Do not behave differently if -traditional.
16545
16546 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
16547
16548         * builtins.c (expand_builtin_va_arg): Cope with an array-type
16549         va_list decomposing to pointer-type.
16550         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
16551         (rs6000_va_arg): Likewise.
16552
16553 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
16554
16555         * except.c (start_dynamic_handler): Compute size using
16556         STACK_SAVEAREA_MODE.
16557
16558 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16559
16560         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
16561         include directory headers.  Don't define strrchr.  Don't provide
16562         my_* replacement functions.  Prefer PTR over `pointer_type'.
16563         Don't prototype system functions.  Don't redefine getopt.
16564
16565         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
16566         safe_read, safe_write, save_pointers, restore_pointers,
16567         is_id_char, in_system_include_dir, directory_specified_p,
16568         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
16569         find_corresponding_lparen, referenced_file_is_newer,
16570         save_def_or_dec, munge_compile_params, gen_aux_info_file,
16571         process_aux_info_file, identify_lineno, check_source,
16572         seek_to_line, forward_to_next_token_char, output_bytes,
16573         output_string, output_up_to, other_variable_style_function,
16574         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
16575         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
16576         find_static_definition, connect_defs_and_decs, add_local_decl,
16577         add_global_decls, needs_to_be_converted, visit_each_hash_node,
16578         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
16579         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
16580         scan_for_missed_items, edit_file, string_list_cons): Add static
16581         prototypes.
16582         (standard_exec_prefix, target_machine, target_version,
16583         default_syscalls_dir, string_list, string_list_cons, find_file,
16584         do_cleaning): Constify a char*.
16585         (safe_read, safe_write): Use PTR, not a char*.
16586         (is_id_char): Take an int, not a char.
16587         (main): Add prototype.  Call return, not exit.
16588
16589 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
16590
16591         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
16592         when comparing types.
16593
16594 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
16595
16596         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
16597         (strength_reduce): Release the varrays from the no-bivs early exit.
16598
16599         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
16600         the loop over the registers.
16601
16602         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
16603         for a new obstack.
16604         (restore_tree_status): Check that instead when freeing the obstack.
16605
16606 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
16607
16608         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
16609         as pointers.
16610
16611 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16612
16613         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
16614         operand size modifiers.
16615
16616 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16617
16618         * c-common.c (c_common_nodes_and_builtins): Don't build
16619         va_list_type_node.
16620         * c-common.h (enum c_tree_index and related accesor macros): Remove
16621         everything now declared in tree.h.
16622         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
16623         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
16624         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
16625         (error_mark_node, void_type_node, char_type_node, integer_type_node,
16626         unsigned_type_node, ptr_type_node, va_list_type_node,
16627         integer_zero_node, null_pointer_node, integer_one_node): Delete.
16628         (init_decl_processing): Call build_common_tree_nodes and
16629         build_common_tree_nodes_2 instead of building their nodes here.
16630         Don't add roots for these nodes.
16631         * stor-layout.c (size_zero_node, size_one_node): Delete.
16632         (set_sizetype): Make a new node for bitsizetype each time.
16633         * tree.c (global_trees): New variable.
16634         (init_obstacks): Add a gc root for it.
16635         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
16636         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
16637         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
16638         (build_common_tree_nodes): New function.
16639         (fix_sizetype): New function.
16640         (build_common_tree_nodes_2): New function.
16641         * tree.h (enum tree_index): New.
16642         (global_trees): Declare.
16643         Add accessor macros for all nodes now moved to global_trees.
16644         Delete their declarations.
16645
16646 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
16647
16648         * c-decl.c (finish_function): When processing a nested function,
16649         push and pop GC context around rest_of_compilation.
16650
16651 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
16652
16653         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
16654         Default ix86_arch to PROCESSOR_I386.
16655         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
16656         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
16657         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
16658         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
16659         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
16660         (EXTRA_SPECS): Remove deleted specs.
16661
16662 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
16663
16664         * function.c (assign_stack_local_1): Allocate from
16665         function->x_frame_offset, not frame_offset.
16666
16667 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
16668
16669         * ggc.h (lang_cleanup_tree): Remove.
16670         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
16671         * ggc-callbacks.c (lang_cleanup_tree): Remove.
16672
16673         * c-decl.c (finish_struct): Use ggc_alloc to allocate
16674         TYPE_LANG_SPECIFIC when garbage collecting.
16675         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
16676         (lang_cleanup_tree): Remove.
16677
16678 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16679
16680         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
16681         * crtstuff.c: Not here.
16682         * dwarf2out.c: Or here.
16683         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
16684         info.
16685
16686 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
16687
16688         * function.h (free_after_compilation): Remove decl parameter.
16689         (free_varasm_status0: Likewise.
16690         (free_emit_status): Likewise.
16691         (free_stmt_status): Likewise.
16692         (free_after_compilation): Likewise.
16693         (init_lang_status): New variable.
16694         (free_lang_status): Likewise.
16695         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
16696         * function.c (init_lang_status): New variable.
16697         (free_lang_status): Likewise.
16698         (push_function_context_to): Don't set function::decl here.
16699         (free_after_copmilation): Make decl parameter implicit.  Call
16700         free_lang_status if defined.
16701         (prepare_function_start): Call init_lang_status if defined.
16702         (init_function_start): Set function::decl here.
16703         * profile.c (output_func_start_profiler): Don't call pushdecl
16704         until we've actually started the function.
16705         * stmt.c (free_stmt_status): Make decl parameter implicit.
16706         * toplev.c (rest_of_compilation): Don't pass decl to
16707         free_after_compilation.
16708         * varasm.c (free_varasm_status): Likewise.
16709
16710 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16711
16712         * except.c (call_get_eh_context): Add root when allocating static
16713         tree variable.
16714
16715 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
16716
16717         * arm.c: Include "ggc.h".
16718         (arm_add_gc_roots): New function.
16719         (arm_override_options): Call it.
16720         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
16721
16722         * arm.md (define_asm_attributes): Add a pool_range attribute.
16723
16724 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
16725
16726         * extend.texi (Volatiles): New node.
16727
16728 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
16729
16730         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
16731         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
16732         (struct ggc_any): Replace `mark' with `magic_mark'.
16733         (ggc_alloc_string): Use memcpy, not bcopy.
16734         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
16735         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
16736         (ggc_free_any): New.
16737         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
16738         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
16739         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
16740         Use IS_MARKED. Use ggc_free_any.
16741
16742 1999-09-09  Scott Bambrough <scottb@netwinder.org>
16743
16744         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
16745
16746 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
16747
16748         * toplev.c (main): Always init_ggc.
16749
16750 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
16751
16752         * except.c (find_all_handler_type_matches): Free the list if
16753         we found no matches.
16754
16755         * combine.c (SUBST): Break out to a real function do_SUBST.
16756         (SUBST_INT): Likewise.
16757         * gcse.c (free_pre_mem): Free `temp_bitmap'.
16758         (pre_insert): Free `inserted'.
16759         * loop.c (basic_induction_var): Always set `location'.
16760
16761         * function.c (expand_function_end): Add initial_trampoline as a root.
16762         * rtl.h (init_varasm_once): Declare.
16763         * toplev.c (compile_file): Call it.
16764         * ggc-simple.c (ggc_mark_string_ptr): New.
16765         (ggc_add_string_root): New.
16766         (ggc_collect): Disable collection avoidance temporarily.
16767         * ggc.h (ggc_add_string_root): Declare.
16768         * except.c (create_rethrow_ref): Use ggc_alloc_string.
16769         * optabs.c (init_libfuncs): Likewise.
16770         * varasm.c (named_section): Use ggc_alloc_string.
16771         (make_function_rtl): Likewise.
16772         (make_decl_rtl): Likewise.
16773         (assemble_static_space): Likewise.
16774         (assemble_trampoline_template): Likewise.
16775         (output_constant_def): Likewise.
16776         (force_const_mem): Likewise.
16777         (mark_const_hash_entry): New.
16778         (mark_pool_sym_hash_table): New.
16779         (mark_varasm_state): Use it.
16780         (init_varasm_once): New.
16781
16782         * expr.h (init_one_libfunc): Declare.
16783         * optabs.c (init_one_libfunc): New.
16784         (init_optabs): Use it.
16785         * config/gofast.h: Likewise.
16786         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
16787         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
16788
16789 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16790
16791         * Makefile.in (cppexp.o): Depend on cpphash.h.
16792         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
16793         Include cpphash.h.
16794         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
16795         * cpplib.c (do_define): Generalise to handle poisoned definitions,
16796         redefining poisoned identifiers, etc.
16797         (do_undef): Don't allow poisoned identifiers to be undefined.
16798         (do_pragma): Add #pragma poison.
16799         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
16800
16801         * cccp.c: Add T_POISON node type.
16802         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
16803         poisoned xxx.
16804         (do_define): Generalise to handle poisoned definitions,
16805         redefining poisoned identifiers, etc.
16806         (do_undef): Don't allow poisoned identifiers to be undefined.
16807         (do_pragma): Add #pragma poison.
16808         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
16809
16810         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
16811         * c-pragma.h: Add ps_poison state.  We now always have generic
16812         pragmas.
16813
16814 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
16815
16816         * ggc.h (ggc_alloc): New function.
16817         (ggc_mark): Likewise.
16818         * ggc-simple.c (ggc_any): New structure.
16819         (ggc_status): Add anys.
16820         (n_anys_collected): New variable.
16821         (ggc_alloc): Define.
16822         (ggc_mark): Likewise.
16823         (ggc_collect): Collect the anys.
16824
16825 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16826
16827         * c-decl.c (mark_binding_level): Make static to match prototype.
16828
16829 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
16830
16831         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
16832
16833 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
16834
16835         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
16836         will use into account.  Expand the max width to 5.
16837         * rtl.c: Likewise.
16838
16839 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
16840
16841         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
16842         for the rtx length.
16843
16844 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
16845
16846         * alpha.md (call value patterns): Remove the result predicates.
16847
16848 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
16849
16850         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
16851         last change.
16852
16853 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16854
16855         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
16856         changed from extern char *, to extern PTR.  Also fix typo in
16857         NEED_DECLARATION_REALLOC test.
16858
16859         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
16860
16861 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16862
16863         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
16864         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
16865         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
16866         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
16867
16868         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
16869
16870         * cccp.c (pcfinclude): Likewise.
16871
16872         * global.c (allocno_compare): Likewise.
16873
16874         * haifa-sched.c (rank_for_schedule): Likewise.
16875
16876         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
16877
16878         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
16879
16880         * stupid.c (stupid_reg_compare): Likewise.
16881
16882         * tree.c (_obstack_allocated_p): Likewise.
16883
16884         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
16885
16886 1999-09-08  Bruce Korb  autogen@linuxbox.com
16887
16888         * Makefile.in: Give the hapless gperf user a hint about
16889         why "gperf -F" fails.
16890
16891 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
16892
16893         * lists.c: Include ggc.h.
16894         (zap_lists): New.
16895         (init_EXPR_INSN_LIST_cache): Install it.
16896
16897         * ggc-simple.c (init_ggc): Absorb the old init.
16898         (ggc_push_context): Use xcalloc.
16899         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
16900         (ggc_collect): Add [rvts] tags to the collection stats.
16901
16902 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
16903
16904         * cccp.c (main): Fix handling of -include and -imacros options.
16905
16906 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
16907
16908         * cpplib.c (cpp_push_buffer): Fix order of arguments.
16909
16910 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
16911
16912         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
16913         genrtl.c.
16914
16915 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
16916
16917         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
16918         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
16919         and SET_DEST. Update comment.
16920
16921 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16922
16923         * config/c4x/c4x.c: Include ggc.h.
16924         (c4x_add_gc_roots): New function.
16925         (c4x_override_options): Call c4x_add_gc_roots.
16926
16927 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
16928
16929         * defaults.h (TARGET_ESC): Move ...
16930         * system.h: ... here, where Linas had it in the first place.  Silly me.
16931
16932 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
16933
16934         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
16935         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
16936         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
16937         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
16938         * defaults.h (TARGET_ESC): Add default.
16939
16940 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
16941
16942         * configure.in: add i370-*-openedition, i370-*-mvs and
16943         i370-*-linux targets
16944
16945 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
16946
16947         * dsp16xxx.c: Include ggc.h
16948         (override_options): Mark GC roots.
16949         * mn10200.c: Include ggc.h.
16950         (asm_file_start): Mark GC roots.
16951         * tahoe.c: Include ggc.h.
16952         (extensible_operand): Mark GC roots.
16953
16954 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
16955
16956         * README: Add section discussing status of ELF ABI.
16957         * i370.c: Fix misc spelling mistakes.
16958         (i370_label_scan): Updated notes, exception handling.
16959         (i370_function_prolog): Simplify ELF stack handling.
16960         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
16961         (STACK_GROWS_DOWNWARD): ELF stack grows down.
16962         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
16963         * i370.md: (movdi): Add notes.
16964         (floatsidf2): Use stack not rtca for scratch float area.
16965         (iorsi3): Correct operand constraints.
16966         * x-oe: Restore TAROUTOPTS which are used by pax.
16967
16968 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
16969
16970         * rs6000.c: Include ggc.h.
16971         (rs6000_add_gc_roots): New function.
16972         (override_options): Call it.
16973
16974 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
16975
16976         * alpha.h (alpha_compare): New.
16977         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
16978         * alpha.c: Likewise for the definitions.
16979         (alpha_emit_conditional_branch): Update for alpha_compare.
16980         (alpha_emit_conditional_move): Likewise.
16981         * alpha.md (cmpdf, cmpdi): Likewise.
16982         (setcc patterns): Likewise.  Zero alpha_compare after use.
16983         (sne): Optimize (x != 0) into (0U < x).
16984
16985 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
16986
16987         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
16988         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
16989         (INIT_EXPANDERS): Remove.
16990         * alpha.c: Include ggc.h.
16991         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
16992         (alpha_init_machine_status, alpha_mark_machine_status): New.
16993         (override_options): Install them.
16994         (struct machine_function): Moved to alpha.h.
16995         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
16996         (alpha_init_expanders): Remove.
16997         (alpha_return_addr): Adjust to use current_function->machine.
16998         (alpha_ra_ever_killed): Likewise.
16999         (alpha_expand_epilogue): Likewise.
17000         * alpha.md (eh_epilogue): Likewise.
17001
17002 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
17003                           Melissa O'Neill  <oneill@cs.sfu.ca>
17004                           Geoffrey Keating  <geoffk@cygnus.com>
17005
17006         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
17007         call-used registers (call-saved registers must still be contiguous
17008         and end with r31, of course).
17009
17010 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
17011
17012         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
17013         (self_promoting_type_p): Delete.
17014         (self_promoting_args_p): Move ...
17015         * c-common.c: ... here.
17016         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
17017         (simple_type_promotes_to): New.
17018         * builtins.c (lang_type_promotes_to): New.
17019         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
17020         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
17021         * c-common.h: ... here.
17022         (self_promoting_args_p, simple_type_promotes_to): Declare.
17023         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
17024         (grokdeclarator): Likewise.
17025         * tree.h (lang_type_promotes_to): Declare.
17026
17027 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
17028
17029         Add some machine-dependent GC roots.
17030         * sparc.c: Include ggc.h.
17031         (sparc_add_gc_roots): New function.
17032         (mark_ultrasparc_pipeline_state): Likewise.
17033         (override_options): Call sparc_add_gc_roots.
17034         * pa.c: Include ggc.h.
17035         (pa_add_gc_roots): New function.
17036         (mark_deferred_plabels): Likewise.
17037         (override_options): Call pa_add_gc_roots.
17038         * mips.c: Include ggc.h.
17039         (mips_add_gc_roots): New function.
17040         (override_options): Use it.
17041
17042 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17043
17044         * cpperror.c (cpp_file_line_for_message): Constify a char*.
17045
17046         * cppexp.c (parse_number, parse_charconst, cpp_lex,
17047         cpp_parse_expr): Add static prototypes.
17048         (parse_charconst): Don't cast away const-ness.
17049         (token): Constify a char*.
17050
17051         * cppfiles.c (file_name_list, include_hash, find_include_file,
17052         finclude, initialize_input_buffer): Constify a char*.
17053         (file_cleanup, find_position): Add static prototypes.
17054
17055         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
17056         collect_expansion): Add static prototypes.
17057         (cpp_install, create_definition, monthnames): Constify a char*.
17058
17059         * cpphash.h (cpp_install): Likewise.
17060
17061         * cppinit.c (known_suffixes, default_include,
17062         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
17063         (base_name, dump_special_to_buffer, initialize_dependency_output):
17064         Add static prototypes.
17065
17066         * cpplib.c (my_strerror): Constify a char*.
17067         (null_underflow, null_cleanup, skip_comment, copy_comment,
17068         copy_rest_of_line, handle_directive, pass_thru_directive,
17069         get_directive_token, read_line_number, cpp_print_file_and_line,
17070         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
17071         v_cpp_warning_with_line, detect_if_not_defined,
17072         consider_directive_while_skipping): Add static prototypes.
17073         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
17074         cpp_pedwarn_with_file_and_line): Constify a char*.
17075
17076         * cpplib.h (cpp_options, include_hash, progname, definition,
17077         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
17078         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
17079         find_include_file, deps_output, include_hash): Constify a char*.
17080
17081         * cppmain.c (progname): Constify.
17082         (main): Add prototype.  Use return, not exit.
17083
17084         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
17085         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
17086         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
17087         check_protection): Add static prototype.
17088         (xfree): Remove.
17089         (progname, recognized_macrom, recognized_extern): Constify a char*.
17090         (main): Add prototype.
17091
17092         * gen-protos.c (progname): Constify a char*.
17093
17094 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
17095
17096         * emit-rtl.c (free_emit_status): Take decl as a parameter.
17097         (init_emit_once): Add more GC roots.
17098         * except.c (mark_func_eh_entry): New function.
17099         (mark_eh_node): Mark false_label and rethrow_label.
17100         (init_eh): Add more GC roots.
17101         * function.c (free_after_compilation): Take decl as a paramter.
17102         Call free_stmt_status.
17103         (mark_function_state): Don't assume x_parm_reg_stack_loc is
17104         non-NULL.
17105         * function.h (free_after_compilation): Change prototype.
17106         (free_varasm_status): Likewise.
17107         (free_emit_status): Likewise.
17108         (free_stmt_status): New function.
17109         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
17110         Remove, replacing with ...
17111         (ggc_status): New structure.
17112         (ggc_chain): New variable.
17113         (init_gcc): Define.
17114         (ggc_push_context): New function.
17115         (ggc_pop_context): Likewise.
17116         (ggc_alloc_rtx): Adjust for use of ggc_chain.
17117         (ggc_alloc_rtvec): Likewise.
17118         (ggc_alloc_tree): Likewise.
17119         (ggc_alloc_string): Likewise.
17120         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
17121         (ggc_mark_tree): Give language-dependent code a chance to mark
17122         `x' nodes.
17123         (ggc_mark_tree_varray): Handle empty arrays.
17124         (ggc_collect): Adjust for use of ggc_chain.  Clear
17125         bytes_alloced_since_last_gc.
17126         * ggc.h (ggc_pop_context): New function.
17127         (ggc_push_context): Likewise.
17128         * print-tree.c (print_node): Don't print obstacks when GC'ing.
17129         * stmt.c (free_stmt_status): New function.
17130         (init_stmt_for_function): Clear last_expr_value.
17131         * toplev.c (rest_of_compilation): Always call free_after_compilation.
17132         Conditionalize call to ggc_collect.
17133         (main): Call init_ggc.
17134         * tree.c (push_obstacks): Do the push, even when GC'ing.
17135         (push_obstacks_nochange): Likewise.
17136         (pop_obstacks): Liekwise.
17137         * varasm.c (free_varasm_status): Take decl as a parameter.
17138
17139 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17140
17141         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
17142         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
17143         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
17144         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
17145
17146 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
17147
17148         * pa/x-pa-mpeix: New file for the MPE port.
17149
17150         * pa/quadlib.asm: New file for long double support.
17151
17152         * configure.in: Add hppa1.0-*-mpeix for MPE port.
17153         * configure: Rebuilt.
17154
17155 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
17156
17157         * final.c (shorten_branches): Fix last change.
17158
17159 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
17160
17161         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
17162
17163 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
17164
17165         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
17166         details.
17167
17168 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17169
17170         * c-aux-info.c (concat): Don't define.
17171
17172         * cccp.c (my_strerror): Likewise.  All callers changed to use
17173         xstrerror instead.
17174         (do_include): Call xstrdup, not xmalloc/strcpy.
17175         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
17176         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
17177
17178         * collect2.c (my_strsignal): Likewise.  All callers changed to use
17179         strsignal instead.
17180         (locatelib): Call xstrdup, not xmalloc/strcpy.
17181
17182         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
17183
17184         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
17185
17186         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
17187
17188         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
17189
17190         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
17191
17192         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
17193
17194         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
17195         malloc/realloc.
17196         (find_all_handler_type_matches): Likewise.  Don't check return
17197         value.
17198         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
17199         xmalloc, not malloc.
17200         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
17201
17202         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
17203         (init_spec): Call xcalloc, not xmalloc/bzero.
17204         (set_spec): Call xstrdup, not save_string.
17205         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
17206         (find_a_file): Call xstrdup, not xmalloc/strcpy.
17207         (process_command): Call xstrdup, not save_string.
17208         (main): Call xcalloc, not xmalloc/bzero.
17209
17210         * gcov.c (xmalloc): Don't define.
17211         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
17212         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
17213         (output_data): Call xcalloc, not xmalloc/bzero.
17214
17215         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
17216
17217         * mips-tdump.c (xmalloc): Don't define.
17218         (print_symbol): Call xmalloc, not malloc.
17219         (read_tfile): Call xcalloc, not calloc.
17220
17221         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
17222         Don't define.  All callers of xfree/my_strsignal changed to use
17223         free/strsignal instead.
17224         (allocate_cluster): Call xcalloc, not calloc.
17225
17226         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
17227         Fix memory leak, free allocated memory.
17228
17229         * prefix.c (translate_name): Call xstrdup, not save_string.
17230         (update_path): Likewise.
17231
17232         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
17233
17234         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
17235         Don't define.  Callers of xfree/savestring2 changed to use
17236         free/concat instead.
17237
17238         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
17239         (init_elim_table): Likewise.
17240
17241         * resource.c (init_resource_info): Likewise.
17242
17243         * stupid.c (stupid_life_analysis): Likewise.
17244
17245         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
17246         (open_dump_file): Call concat, not xmalloc/strcpy/...
17247         (clean_dump_file): Likewise.
17248         (compile_file): Call xstrdup, not xmalloc/strcpy.
17249
17250 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
17251
17252         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
17253         * v850.c (v850_va_arg): New.
17254
17255 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17256
17257         * haifa-sched.c: Tidy comments.
17258
17259 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17260
17261         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
17262         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
17263         $(out_object_file)): Depend on ggc.h.
17264         * c-common.c: Include "ggc.h".
17265         (combine_strings): If doing GC, use ggc_alloc_string.
17266         * c-decl.c: Include "ggc.h".
17267         (ggc_p): Define with value 0.
17268         (mark_binding_level): New function.
17269         (init_decl_processing): Add GC roots.
17270         (mark_c_function_context): New function.
17271         (lang_mark_false_label_stack): New function.
17272         (lang_mark_tree): New function.
17273         (lang_cleanup_tree): New function.
17274         * c-lang.c: Include "ggc.h".
17275         (lang_init): Call c_parse_init.
17276         * c-lex.c: Include "ggc.h".
17277         (check_linenum): If doing GC, don't copy filenames to permanent
17278         obstack.
17279         * c-parse.in: Include "ggc.h".
17280         (c_parse_init): New function.
17281         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
17282         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
17283
17284         * except.c (mark_eh_state): Mark more state.
17285         * function.c (mark_function_state): Likewise.
17286         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
17287         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
17288         * toplev.c (mark_file_stack): New function.
17289         (compile_file): If doing GC, use ggc_alloc_string on input filename.
17290         (main): Add root for input_file_stack.
17291
17292         * i386.c: Include "ggc.h".
17293         (ix86_mark_machine_status): New function.
17294         (override_options): Set mark_machine_status.
17295
17296 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17297
17298         * tree.c (copy_node): Copy node contents also if doing GC.
17299
17300 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17301
17302         * collect2.c (scan_libraries): Fix double-thinko :-).
17303
17304 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
17305
17306         * collect2.c (scan_libraries): Fix thinko.
17307
17308         * cse.c (delete_trivially_dead_insns): Do not skip the last
17309         insn if it is a real insn.
17310
17311 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
17312
17313         * Makefile.in (ggc-simple.o): Depend on hash.h.
17314         * ggc.h (ggc_add_tree_hash_table_root): Declare.
17315         (ggc_mark_tree_varray): Likewise.
17316         (ggc_mark_tree_hash_table): Likewise.
17317         * ggc-simple.c: Include hash.h.
17318         (ggc_mark_tree_hash_table_ptr): New function.
17319         (ggc_mark_tree_hash_table_entry): Likewise.
17320         (ggc_mark_tree_hash_table): Likewise.
17321         (ggc_add_tree_hash_table_root): Likewise.
17322         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
17323         rtx, when defining fields.
17324
17325 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17326
17327         * profile.c (output_func_start_profiler): Remove apparently
17328         nonsensical call to start_sequence.
17329
17330 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
17331
17332         * clipper/clipper.c (clipper_va_start): Fix typos.
17333
17334         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
17335         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
17336         (spur_va_arg): New stub.
17337
17338         * configure.in: Comment out pyramid.
17339
17340 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
17341
17342         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
17343         don't conflict with the bits that win32, cygwin, and dgux
17344         defines.
17345
17346 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
17347                           Bernd Schmidt <bernds@cygnus.co.uk>
17348
17349         * integrate.c (function_cannot_inline_p): Do not inline
17350         functions with forced labels.
17351
17352 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
17353                           Bernd Schmidt <bernds@cygnus.co.uk>
17354                           Mark Mitchell  <mark@codesourcery.com>
17355
17356         * Makefile.in (ggc-simple.o): Depend on varray.h.
17357         (rtl.o): Depend on ggc.h.
17358         (genattrtab.o): Depend on ggc.h.
17359         (print-tree.o): Likewise.
17360         (fold-const.o): Likewise.
17361         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
17362         (make_insn_raw): Don't cache insns when GC'ing.
17363         (emit_insn_before): Likewise.
17364         (emit_insn_after): Likewise.
17365         (emit_insn): Likewise.
17366         (start_sequence): Use xmalloc to allocate the sequence_stack.
17367         (end_sequence): Add free to free it.
17368         (gen_sequence): Don't cache insns when GC'ing.
17369         (clear_emit_caches): Don't use sequence_element_free_list.
17370         (init_emit): Use xcalloc, not xmalloc+bzero.
17371         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
17372         * function.c (pop_function_context_from): Use free to free the
17373         fixup_var_refs_queue.
17374         (put_reg_into_stack): Allocate it with xmalloc.
17375         * genattrtab.c: Include ggc.h.
17376         (operate_exp): Don't use obstack_free when GC'ing.
17377         (simplify_cond): Likewise.
17378         (simplify_text_exp): Likewise.
17379         (optimize_attrs): Likewise.
17380         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
17381         GC'ing.
17382         (gencode): Generate a #include for ggc.h.
17383         * ggc-callbacks.c (ggc_p): Define it to zero.
17384         * ggc-none.c (ggc_p): Likewise.
17385         * ggc-simple.c: Include varray.h.
17386         (ggc_mark_tree_varray): New function.
17387         (ggc_add_tree_varray_root): Likewise.
17388         (ggc_mark_tree_varray_ptr): Likewise.
17389         * ggc.h (ggc_p): Declare.
17390         (varray_head_tag): Likewise.
17391         (ggc_add_tree_varray_root): Declare.
17392         * print-tree.c (print_node): Don't check for TREE_PERMANENT
17393         inconsistencies when GC'ing.
17394         * rtl.c: Include ggc.h.
17395         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
17396         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
17397         (rtx_free): Don't call obstack_free when GC'ing.
17398         * toplev.c (rest_of_compilation): Call ggc_collect after every
17399         pass, if GC'ing.
17400         * tree.c (push_obstacks): Do nothing, if GC'ing.
17401         (pop_obstacks_nochange): Likewise.
17402         (pop_obstacks): Likewise.
17403         (make_node): Use ggc_alloc_tree when GC'ing.
17404         (copy_node): Likewise.
17405         (get_identifier): Use ggc_alloc_string when GC'ing.
17406         (build_string): Likewise.
17407         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
17408         (tree_cons): Likewise.
17409         (build1): Likewise.
17410         (type_hash_canon): Don't call obstack_free when GC'ing.
17411
17412 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
17413
17414         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
17415         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
17416
17417 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
17418                           Bernd Schmidt <bernds@cygnus.co.uk>
17419                           Mark Mitchell  <mark@codesourcery.com>
17420
17421         * Makefile.in (stor-layout.o): Depend on ggc.h.
17422         (expr.o): Depend on ggc.h.
17423         (profile.o): Depend on ggc.h.
17424         (stor-layout.o): Depend on ggc.h.
17425         * emit-rtl.c (init_emit_once): Add gc roots.
17426         * expr.c: Include ggc.h.
17427         (emit_block_move): Add gc roots.
17428         (clear_storage): Likewise.
17429         * expr.h (init_stor_layout_once): New function.
17430         * profile.c: Include ggc.h.
17431         (init_arc_profiler): profiler_label is a root.
17432         * scan.c (make_sstring_space): Trust xrealloc to function
17433         correctly with first parameter NULL.
17434         * stor-layout.c: Include ggc.h.
17435         (set_sizetype): Add gc root.
17436         (init_stor_layout_once): New function.
17437         * toplev.c (compile_file): Call it.
17438
17439 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
17440                           Bernd Schmidt <bernds@cygnus.co.uk>
17441                           Mark Mitchell  <mark@codesourcery.com>
17442
17443         * Makefile.in (tree.o): Depend on ggc.h.
17444         (varasm.o): Likewise.
17445         (function.o): Likewise.
17446         (stmt.o): Likewise.
17447         (except.o): Likewise.
17448         (optabs.o): Likewise.
17449         (emit-rtl.o): Likewise.
17450         * emit-rtl.c: Include ggc.h.
17451         (sequence_element_free_list): Remove, and all references.
17452         (mark_sequence): New functions.
17453         (mark_emit_state): New function.
17454         * except.c: Include ggc.h.
17455         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
17456         (mark_tree_label_node): New functions.
17457         (mark_eh_state): New function.
17458         * function.c: Include ggc.h.
17459         (mark_temp_slot, mark_function_chain): New functions.
17460         (mark_function_state): New function.
17461         (init_function_once): New function.
17462         * function.h (init_function_once): New function.
17463         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
17464         * ggc.h (label_node): Declare.
17465         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
17466         (lang_mark_false_label_stack): New function.
17467         (mark_temp_slot): Remove declaration.
17468         (mark_function_chain): Likewise.
17469         (mark_eh_state): Adjust prototype.
17470         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
17471         Likewise.
17472         * optabs.c: Include ggc.h.
17473         (mark_optab): New function.
17474         (init_optabs): Add gc roots.
17475         * stmt.c: Include ggc.h.
17476         (mark_cond_nesting, mark_loop_nesting): New functions.
17477         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
17478         (mark_stmt_state): New function.
17479         * toplev.c (compile_file): Call init_function_once.
17480         * tree.c: Include ggc.h.
17481         (type_hash): Move declaration earlier in file.
17482         (TYPE_HASH_SIZE, type_hash_table): Likewise.
17483         (init_obstacks): Add gc roots.
17484         (mark_type_hash): New function.
17485         * varasm.c: Include ggc.h.
17486         (mark_pool_constant): New function.
17487         (mark_varasm_state): New function.
17488
17489 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17490
17491         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
17492
17493 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
17494
17495         * c-decl.c (struct language_function): Renamed from struct c_function.
17496         Delete elt NEXT.
17497         (c_function_chain): Delete.
17498         (push_c_function_context): New arg F.  Don't warn about nested
17499         functions here.  Fill LANGUAGE elt of F.  Delete code to update
17500         c_function_chain.  Don't call push_function_context.
17501         (pop_c_function_context): New arg F.  Restore from there instead of
17502         from c_function_chain.  Don't call pop_function_context.  Clear out
17503         LANGUAGE field of F when done.
17504         * c-lang.c: Include "function.h"
17505         (lang_init): Initialize save_lang_status and restore_lang_status.
17506         * c-parse.in (nested_function, nested_function_notype): Warn about
17507         nested functions.  Call push_function_context/pop_function_context
17508         instead of the _c_ variants.
17509         * c-tree.h (push_c_function_context, pop_c_function_context): Update
17510         prototype.
17511         * Makefile.in (c-lang.o): Update dependencies.
17512
17513         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
17514         regno_pointer_flag, regno_pointer_align.
17515         (gen_reg_rtx): Use xrealloc to enlarge them.
17516         (free_emit_status): New function.
17517         * function.c (mark_machine_status, mark_lang_status): New variables.
17518         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
17519         in some bits from assign_stack_local.  All callers changed to use new
17520         name.
17521         (assign_stack_local): Just call assign_stack_local_1.
17522         (free_after_compilation): New function.
17523         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
17524         (trampoline_address): Likewise.
17525         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
17526         (prepare_function_start): Explicitly clear some more variables.
17527         * function.h (struct function): New elt can_garbage_collect.
17528         (mark_machine_status, mark_lang_status): Declare variables.
17529         (free_after_compilation, free_emit_status, free_varasm_status,
17530         init_varasm_status): Declare functions.
17531         * toplev.c (rest_of_compilation): Call free_after_compilation when
17532         done with the current function.
17533         * varasm.c (free_varasm_status): New function.
17534
17535 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
17536
17537         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
17538         (EXPAND_BUILTIN_VA_ARG): Define.
17539         * sparc.c (sparc_va_start): New.
17540         (sparc_va_arg): New.
17541
17542 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17543
17544         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
17545
17546 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17547
17548         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
17549
17550 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
17551
17552         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
17553         (OBJS): Add $(GGC).
17554         (ggc-callbacks.o): New target.
17555         * ggc-callbacks.c: New file.
17556
17557 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17558
17559         * expr.h: Collapse individual optab and libfunc vars to arrays.
17560         (optab_index, libfunc_index): New enumerations.
17561         (optab_table, libfunc_table): New arrays.
17562         Add accessor macros for both.
17563
17564         * optabs.c (optab_table, libfunc_table): New.
17565         Delete declarations for individual optab and libfunc vars.
17566
17567 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
17568
17569         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
17570
17571 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
17572
17573         * Makefile.in (GGC, GGC_LIB): New.
17574         (HOST_RTL): Include ggc-none.o.
17575         (ggc-simple.o): New target.
17576         (ggc-none.o): Likewise.
17577         * tree.h (tree_common): Add gc_mark.
17578         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
17579         (struct rtvec_def): Add gc_mark.
17580         * emit-rtl.c (global_rtl): Update static initializers to contain
17581         enough initializers.
17582         * ggc.h, ggc-none.c, ggc-simple.c: New files.
17583         * toplev.c (gc_time): New variable.
17584         (all_time): New variable.
17585         (compile_file): Print gc time.
17586         (print_time): Calculate percentage of the whole.
17587
17588 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17589
17590         Change obstack memory management and varasm constant pool handling so
17591         that nested functions are treated like any other functions.
17592         * function.c (init_machine_status): New variable.
17593         (push_function_context_to): Set contains_functions for the outer
17594         function.  Don't call save_varasm_status.
17595         (pop_function_context_from): Don't call restore_varasm_status.  Don't
17596         set current_function_contains_functions.
17597         (prepare_function_start): Call init_varasm_status rather than
17598         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
17599         is non-null.
17600         * function.h (struct function) Add field varasm.  Delete fields
17601         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
17602         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
17603         (init_machine_status): Declare.
17604         (save_varasm_status, restore_varasm_status): Delete declarations.
17605         (save_tree_status, restore_tree_status): Delete last argument.
17606         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
17607         code.  All callers changed.
17608         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
17609         save_constants_in_decl_trees, restore_constants, save_constants,
17610         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
17611         functions.
17612         (inlining): New variable.
17613         (reg_map, label_map, insn_map, orig_asm_operands_vector,
17614         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
17615         variables.
17616         (save_for_inline_nocopy): Don't save constants.
17617         Don't set inl_emit field in current_function.
17618         (expand_inline_function): Use emit field, not inl_emit, of the inlined
17619         function.  Set new variable inlining before
17620         calling copy_rtx_and_substitute.
17621         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
17622         constant pool references if inlining is nonzero.
17623         Delete ADDRESS and (most of the) CONST cases.
17624         (output_inline_function): Save and restore current_function/
17625         current_function_decl.  Delete restore_constants code.  Don't call
17626         init_const_rtx_hash_table.
17627         * output.h (init_const_rtx_hash_table): Don't declare.
17628         * rtl.h (struct function): Declare.
17629         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
17630         * toplev.c (rest_of_compilation): Don't treat nested functions or
17631         functions containing them specially.  Delete all code to deal with
17632         save_for_inline_copying.
17633         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
17634         inline_obstacks): Delete variables.
17635         (save_tree_status): Lose arg CONTEXT.  All callers changed.
17636         Simply allocate a new function_maybepermanent_obstack for the new
17637         function, delete all the special cases.
17638         Don't save inline_obstacks.
17639         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
17640         Delete special handling for function_maybepermanent_obstack; simply
17641         free it if empty.
17642         Don't restore inline_obstacks.
17643         (permanent_allocation):  Delete code that frees inline_obstacks.
17644         (print_inline_obstack_statistics): Delete function.
17645         (dump_tree_statistics): Don't call it.
17646         * varasm.c (struct varasm_status): New.
17647         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
17648         last_pool, pool_offset, const_double_chain): Delete global
17649         variables, replace with accessor macros.
17650         (immed_double_const): Don't walk const_double_chain outside a
17651         function, but don't treat nested functions specially anymore.
17652         (immed_real_const_1): Likewise.
17653         (clear_const_double_mem): Don't treat nested functions specially.
17654         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
17655         (save_varasm_status, restore_varasm_status): Delete functions.
17656         (init_varasm_status): New function.
17657         (force_const_mem): Don't treat nested functions specially.
17658         (find_pool_constant): Accept new arg F, search for constants in
17659         that function's pool rather than the current one.  All callers
17660         changed.
17661         (get_pool_constant_for_function, get_pool_mode_for_function): New
17662         functions.
17663
17664         * i386.c (init_386_machine_status): New function, mostly from
17665         clear_386_stack_locals.
17666         (struct machine_functions): Rename element names to avoid name
17667         clashes.
17668         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
17669         macros, replacing global variables.
17670         (clear_386_stack_locals, save_386_machine_status,
17671         restore_386_machine_status): Delete functions.
17672         (override_options): Initialize init_machine_status.
17673         * i386.h (INIT_EXPANDERS): Delete macro.
17674         (save_386_machine_status, restore_386_machine_status,
17675         clear_386_stack_locals): Delete declarations.
17676
17677 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17678
17679         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
17680         (doloop_begin):  Simplify pattern and use emit_jump_insn.
17681         (doloop_end): Simplify pattern, switch operand order,
17682         and use emit_jump_insn.
17683
17684 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17685
17686         * function.h (struct function): Add new element LANGUAGE.
17687         (save_lang_status): Declare new variable.
17688         (restore_lang_status): Likewise.
17689         * function.c (save_lang_status): Define.
17690         (restore_lang_status): Likewise.
17691         (push_function_context_to): Call language-specific save function.
17692         (pop_function_context_from): Call language-specific restore function.
17693
17694 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
17695
17696         * i386.md (movsf_1): Check REG_P before use of REGNO.
17697         (movdf_1): Likewise.
17698         (movxf_1): Likewise.
17699         (extendsfdf2): Likewise.
17700         (extendsfxf2): Likewise.
17701         (extenddfxf2): Likewise.
17702
17703 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17704
17705         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
17706         constants into memory.
17707         (c4x_shiftable_constant): New function.
17708         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
17709         (c4x_shiftable_constant): Declare.
17710         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
17711         ashlqi3_noclobber): Add new patterns and associated splitters.
17712
17713 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
17714
17715         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
17716         * dwarf2out.c (dwarf2out_frame_init): Likewise.
17717         * final.c (shorten_branches): Likewise.
17718         * global.c (global_alloc): Likewise.
17719         * haifa-sched.c (build_control_flow): Likewise.
17720         * stmt.c (check_for_full_enumeration_handling): Likewise.
17721         (estimate_case_costs): Likewise.
17722
17723 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
17724
17725         * rtl.h (RTL_CHECKC2): Fix typo in last change.
17726
17727 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
17728
17729         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
17730         (recompute_reg_usage): Likewise.
17731         * rtlanal.c (find_regno_fusage): Likewise.
17732
17733         * rtl.c (rtl_check_failed_code1): New function.
17734         (rtl_check_failed_code2): New.
17735         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
17736         (RTL_CHECKC1, RTL_CHECKC2): New.
17737         (XC*): New accessor macros.
17738         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
17739         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
17740         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
17741         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
17742         (TRAP_*, RANGE_INFO_*): Likewise.
17743
17744 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17745
17746         * Makefile.in (tlink.o): Don't depend on toplev.h.
17747
17748         * collect2.c (c_file, o_file, export_file, import_file, ldout,
17749         output_file, nm_file_name, ldd_file_name, strip_file_name,
17750         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
17751         add_prefix, prefix_from_env, prefix_from_string, do_wait,
17752         fork_execute, maybe_unlink, add_to_list,
17753         extract_init_priority, write_list, dump_list,
17754         dump_prefix_list, write_list_with_asm, write_c_file,
17755         write_c_file_stat, write_c_file_glob, scan_prog_file,
17756         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
17757         ignore_library, extract_string, notice, dump_file, target_machine,
17758         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
17759         read_file, print_load_command): Constify a char*.
17760         (fdopen, error, fatal, fatal_perror): Don't prototype.
17761         (my_strerror): Remove.  All callers use xstrerror instead.
17762         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
17763         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
17764         to xcalloc/strcpy/strcat/...  to one call to concat.
17765         (main, scan_prog_file, scan_libraries): Use an intermediate
17766         `const char **' to build an argv array.
17767         (mapfile, libselect, libcompare, locatelib): Add prototypes.
17768
17769         * collect2.h (collect_execute, collect_wait, dump_file,
17770         file_exists): Constify a char*.
17771         (ldout, c_file_name, temporary_obstack, permanent_obstack,
17772         temporary_firstobj, vflag, debug): Add extern declarations.
17773         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
17774
17775         * tlink.c: Don't include toplev.h.
17776         (vflag, debug, ldout, c_file_name, temporary_obstack,
17777         permanent_obstack, temporary_firstobj): Don't declare.
17778         (tlink_execute, frob_extension, symbol_hash_lookup,
17779         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
17780         recompile_files, read_repo_files, demangle_new_symbols,
17781         scan_linker_output): Constify a char*.
17782         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
17783         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
17784
17785 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
17786
17787         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
17788         (relative) rather than jsr (absolute) subroutine call insns.
17789         * config/m68k/m68k-coff.h: Ditto.
17790
17791 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
17792
17793         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
17794         now rework these too.
17795         (arm_reorg): If an insn can't reach the end of the current pool,
17796         ensure that we emit that pool before the insn.
17797
17798 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
17799
17800         * tlink.c (scan_linker_output): Skip the initial underscore in
17801         a mangled name if appropriate.
17802
17803 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17804
17805         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
17806         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
17807         error_with_ivar, gen_declarator, create_builtin_decl,
17808         my_build_string, generate_descriptor_table, generate_ivars_list,
17809         generate_dispatch_table, check_protocols, TAG_GETCLASS,
17810         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
17811         dump_base_name, lang_decode_option, build_encode_expr,
17812         start_class, finish_class, encode_pointer, really_start_method,
17813         gen_declaration, dump_interface, handle_class_ref, handle_impent):
17814         Constify.
17815         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
17816         Add static prototypes.
17817         (build_objc_string_decl, build_selector_reference_decl,
17818         encode_bitfield, build_class_reference_decl): Remove unused
17819         parameter, all callers changed.
17820         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
17821         (objc_printable_name): Likewise.  Change second parameter to type int.
17822         (init_objc): Use memcpy, not bcopy, to avoid casts.
17823
17824 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
17825
17826         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
17827         reg notes on a deleted insn.
17828         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
17829
17830 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
17831
17832         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
17833
17834 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17835
17836         * stmt.c (expand_asm_operands): Fix index into inout_mode when
17837         reading it.
17838
17839 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
17840
17841         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
17842         * tm.texi (MD_ASM_CLOBBERS): Document it.
17843
17844 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
17845
17846         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
17847         * except.c (expand_rethrow): Remove unused variable.
17848         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
17849         * flow.c (replace_insns): Likewise.
17850         (create_edge_list, verify_edge_list): Likewise.
17851         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
17852
17853         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
17854         is special code to run.
17855         (main): Don't define operands to emit_operand.
17856         * genrecog.c (main): Don't emit an empty peephole2_insn function.
17857
17858         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
17859
17860         * alpha/alpha.h (normal_memory_operand): Declare.
17861         (reg_no_subreg_operand): Declare.
17862         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
17863
17864 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
17865
17866         * c-parse.in (compstmt_primary_start): New, broken out of first
17867         part of compstmt handling in primary.
17868         (primary): Use it.  Add an error clause.
17869         (compstmt_nostart): Renamed from compstmt; remove all
17870         initial invocations of compstmt_start.
17871         (compstmt): New.
17872
17873 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
17874
17875         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
17876         needed.
17877
17878 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
17879
17880         * combine.c (simplify_shift_const): Remove extra semicolon.
17881         * dwarf2out.c (remove_AT): Likewise.
17882         * expmed.c (expand_mult): Likewise.
17883         * gcov.c (create_program_flow_graph): Likewise.
17884         * reorg.c (mostly_true_jump): Likewise.
17885
17886 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
17887
17888         * fold-const.c (fold_range_test): Do not try to fold the range
17889         test if the rhs or lhs has side effects.
17890
17891         * combine.c (simplify_rtx): Recognize another case of a synthesized
17892         sign extension.
17893
17894         * varasm.c (mark_constant_pool): When marking indirect references,
17895         only look at SYMBOL_REFs.
17896
17897         * except.c (expand_fixup_region_end): Do not peek at
17898         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
17899
17900 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
17901
17902         * flags.h: New variables align_loops, align_loops_log,
17903         align_jumps, align_jumps_log, align_labels, align_labels_log,
17904         align_functions, align_functions_log.
17905         * toplev.c: Define them.
17906         (f_options): Handle -falign-* when they have no argument.
17907         (main): Add logic to set variables for -falign-functions,
17908         -falign-jumps, -falign-labels, -falign-loops.
17909         Make it -fsched-verbose=<n> and -finline-limit=<n>.
17910         (display_help): Change help to match options.
17911         * final.c (LABEL_ALIGN): Default to align_labels_log.
17912         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
17913         (LOOP_ALIGN): Default to align_loops_log.
17914         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
17915         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
17916         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
17917         * varasm.c (assemble_start_function): Handle align_functions.
17918
17919         * config/sparc/sparc.h: Don't declare sparc_align_*.
17920         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
17921         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
17922         sparc.c.
17923         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
17924         it's a promise.
17925         * config/sparc/sparc.c: Delete sparc_align_loops,
17926         sparc_align_jumps, sparc_align_funcs and the corresponding string
17927         variables.
17928         (sparc_override_options): Default align_functions on ultrasparc.
17929         Delete -malign-* handling.
17930
17931         * config/mips/mips.c (override_options):  On 64-bit targets,
17932         try to align code to 64-bit boundaries.
17933         (print_operand): New substitution, %~,
17934         which aligns labels to align_labels_log.
17935         * config/mips/mips.md (div_trap_normal): Use %~.
17936         (div_trap_mips16): Likewise.
17937         (abssi): Likewise.
17938         (absdi2): Likewise.
17939         (ffssi2): Likewise.
17940         (ffsdi2): Likewise.
17941         (ashldi3_internal): Likewise.
17942         (ashrdi3_internal): Likewise.
17943         (lshrdi3_internal): Likewise.
17944         (casesi_internal): Likewise.
17945
17946 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
17947
17948         Merge new ia32 backend from the branch!
17949
17950         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
17951         See ChangeLog.P2 on new_ia32_branch for details.
17952
17953         * rtl.h (stack_regs_mentioned_p): Delete prototype.
17954         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
17955         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
17956         * i386/gas.h (ASM_FILE_START): Define.
17957         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
17958         for name change of ix86_valid_decl_attribute_p.
17959         (i386_pe_valid_type_attribute_p): Similarly.
17960
17961 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
17962
17963         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
17964         to step through CC modes.
17965
17966 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17967
17968         * regmove.c (fixup_match_1): Don't move INSN in front of P if
17969         it would end up in the shadow of a live flags regsiter.
17970
17971 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17972
17973         * reload1.c: Fix many indentation problems.
17974         * reload.c: Likewise.
17975
17976 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
17977
17978         * alias.c (non_local_reference_p): Constify fmt.
17979
17980 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
17981
17982         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
17983
17984 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
17985
17986         * cse.c (delete_trivially_dead_insns): Do not delete stores to
17987         the internal_arg_pointer.
17988
17989 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
17990
17991         Merge peephole2 from new_ia32_branch:
17992         * Makefile.in (STAGESTUFF): Add *.peephole2.
17993         (mostlyclean): Likewise.
17994         (recog.o): Depend on resource.h.
17995
17996         * final.c (peephole): Conditionalize decl on HAVE_peephole.
17997         (final_scan_insn): Likewise for the invocation of peephole.
17998         * genconfig.c (main): Look for peephole and peephole2 patterns.
17999         Emit HAVE_peephole* accordingly.
18000         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
18001         * flags.h (flag_peephole2): Declare.
18002         * toplev.c: New pass peephole2.  New flag -fpeephole2.
18003
18004         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
18005         * gencodes.c (main): Likewise.
18006         * genextract.c (main): Likewise.
18007         * genoutput.c (main): Likewise.
18008         * genemit.c (max_operand_1): Look for the max scratch operand.
18009         (gen_rtx_scratch): New.
18010         (gen_exp): Use it, and pass on new arg subroutine_type.
18011         (gen_expand): Take max scratch into account.
18012         (gen_split): Emit peephole2 functions.
18013         (output_peephole2_scratch): New.
18014         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
18015         * genrecog.c (routine_type): Add PEEPHOLE2.
18016         (IS_SPLIT): New.
18017         (make_insn_sequence): Match outer parallel for peep2.  Discard
18018         top level scratches and dups.
18019         (add_to_sequence): New args insn_type and top.  Update all callers.
18020         Handle toplevel peep2 matching insns.
18021         (write_subroutine): Handle peep2.
18022         (write_tree_1): Likewise.
18023         (write_tree): Likewise.
18024         (main): Likewise.
18025         (change_state): New arg afterward.  Update all callers.
18026         Handle matching separate insns.
18027         * recog.c (recog_next_insn): New.
18028         (peephole2_optimize): New.
18029         * rtl.def (DEFINE_PEEPHOLE2): New.
18030         * resource.c (find_free_register): New argument last_insn.  Use it
18031         to find a register available through the entire span.
18032         * resource.h (find_free_register): Update prototype.
18033
18034 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
18035
18036         * i386.c (output_strlen_unroll): Don't write xops[7]
18037         label if it wasn't set.
18038
18039 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
18040
18041         * cpplib.c (struct directive): Const-ify name pointer and
18042         function pointer prototype.
18043         (validate_else, do_define, do_line, do_include, do_undef,
18044         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
18045         do_elif, do_endif, do_sccs, do_assert, do_unassert,
18046         do_warning): Const-ify second arg.
18047         (directive_table): Mark const.  Reorder entries by frequency
18048         of usage, record statistics.
18049
18050 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
18051
18052         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
18053         bounds- check RTL accesses if --enable-checking.
18054         (RTVEC_ELT): Bounds check if --enable-checking.
18055         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
18056         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
18057         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
18058         GET_NUM_ELEM.
18059         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
18060         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
18061
18062         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
18063         (NOTE_SOURCE_FILE): Use X0STR.
18064         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
18065         MEM_ALIAS_SET): Use X0INT.
18066         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
18067         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
18068         Use X0EXP.
18069         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
18070         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
18071         (rtl_check_failed_bounds, rtl_check_failed_type1,
18072         rtl_check_failed_type2, rtvec_check_failed_bounds): New
18073         functions.
18074         (fancy_abort): Fix comment.
18075
18076         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
18077         (cse_insn): Decrement LABEL_NUSES for jump target before
18078         deleting jump insn.
18079         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
18080         * final.c (alter_subreg): Compute regno before changing x to
18081         REG; set REGNO(x) after changing it.
18082         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
18083         notes containing CONST_INTs.
18084         (delete_eh_regions): Use NOTE_EH_HANDLER.
18085         * function.c (put_reg_into_stack): Make reg a MEM before
18086         initializing it.
18087         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
18088         delete insn.
18089         (gen_mem_addressof): Make reg a MEM before initializing it.
18090         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
18091         X0WINT.
18092         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
18093         deleting an insn, not after.
18094         (block_alloc): Only look at PATTERN(insn) if we have to, and
18095         only if it's format class 'i'.
18096         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
18097         CONST_INT before using its INTVAL.
18098         * print-rtl.c (print_rtx): Use X0STR.
18099         * regmove.c (fixup_match_1): Don't look at PATTERN of
18100         non-class-'i' insn chain elements.
18101         * reload.c (loc_mentioned_in_p): Take address of
18102         in->fld[1].rtx directly.
18103         * reload1.c (reload): Change reg to a MEM before initializing
18104         it.
18105         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
18106         have no names.
18107         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
18108
18109 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
18110
18111         * config/mips/mips.c (machine_dependent_reorg): Force a
18112         barrier to output the local constant pool if a barrier hasn't
18113         been found at a natural point in the instruction stream.
18114
18115 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18116
18117         * c-parse.in (language_string): Constify.
18118
18119         * dwarf2out.c (language_string): Remove declaration.
18120
18121         * dwarfout.c (language_string): Likewise.
18122
18123         * toplev.c (language_string, init_parse, finish_parse): Likewise.
18124
18125         * tree.h (language_string, init_parse, finish_parse): Declare.
18126
18127         * i386/sun386.h (language_string): Remove declaration.
18128
18129         * mips.h (language_string): Likewise.
18130
18131         * nextstep.h (language_string): Likewise.
18132
18133         * nextstep21.h (language_string): Likewise.
18134
18135         * rs6000.c (language_string): Likewise.
18136
18137 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18138
18139         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
18140         (getpwd.o): Remove target.
18141
18142         * getpwd.c: Delete file.  Its in libiberty now.
18143
18144         * dbxout.c (getpwd): Don't prototype.
18145         * dwarf2out.c (getpwd): Likewise
18146         * dwarfout.c (getpwd): Likewise
18147         * final.c (getpwd): Likewise.
18148         * protoize.c (getpwd): Likewise.
18149
18150 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18151
18152         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
18153
18154 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18155
18156         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
18157         mark_set_resources.
18158
18159 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
18160
18161         * fixinc/Makefile.in (subdir): New.
18162         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
18163         (Makefile): New.
18164
18165 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18166
18167         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
18168         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
18169         be shared.
18170
18171         * invoke.texi: Fix typo.
18172
18173         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
18174         changed.  Handle autoincrement addressing modes.
18175
18176         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
18177         just like we would the virtual incoming args register when
18178         integrating.
18179
18180 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
18181
18182         * rs6000.h (ASM_FILE_START): Specify complete filename, including
18183         path, in .file directive.
18184
18185 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
18186
18187         * gcc.texi (External Bugs): Remove obsolete note about Perl on
18188         SunOS.
18189
18190 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
18191
18192         * stdbool.h: Make the typedef name _Bool, with bool a #defined
18193         alias.
18194
18195 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18196
18197         * tree.c (tree_code_name): Constify a char*.
18198
18199         * tree.h (tree_code_name, decl_printable_name): Likewise.
18200
18201         * function.h (struct function): Likewise.
18202
18203         * toplev.c (decl_name, decl_printable_name): Likewise.
18204
18205         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
18206
18207         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
18208         (init_objc): Remove function pointer cast.
18209
18210 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
18211
18212         * pa.md (interspace_jump): New pattern.
18213         (builtin_longjmp): New expander.
18214
18215 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
18216
18217         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
18218         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
18219         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
18220
18221 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
18222
18223         * jump.c (delete_prior_computation): Also check calls
18224         to constant functions.  Don't bother checking for a
18225         REG_UNUSED note before adding it.
18226         (delete_computation): Handle multi-word hard registers
18227         when synthesizing missing REG_DEAD notes for a register
18228         which is both set and used by an insn.
18229
18230 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18231
18232         * loop.c (this_loop_info): New variable.
18233         (loop_has_call, loop_has_volatile, loop_has_tablejump,
18234         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
18235         All uses updated.
18236         (prescan_loop, strength_reduce): New argument loop_info.  All callers
18237         updated.
18238         (scan_loop): New variable loop_info, initialise to address of
18239         this_loop_info.
18240         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
18241         Delete variable loop_has_multiple_exit targets and replace with
18242         field in this_loop_info.
18243         (find_and_verify_loops): Rename this_loop to this_loop_num.
18244         (strength_reduce): Delete loop_iteration_info.  Replace variable
18245         loop_info with function argument of same name.
18246         (insert_bct): Rework test for loop being completely unrolled.
18247
18248         * loop.h (struct loop_info): New fields num, loops_enclosed,
18249         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
18250         has_indirect_jump, and cont.  Redefine use of unroll_number.
18251         (loop_unroll_number): Delete.
18252
18253         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
18254         field of loop_info.
18255         (loop_iterations): Delete variable vtop and instead use
18256         loop_info->vtop computed in prescan_loop.
18257
18258 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
18259
18260         * fix-header.c (main): Do not pass a null pointer to strcmp.
18261
18262 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
18263
18264         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
18265         filenames.
18266         * configure: Rebuilt.
18267
18268 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
18269
18270         * jump.c (jump_optimize_1): Do not delete assignments to
18271         internal_arg_pointer.
18272         * cse.c (delete_trivially_dead_insns): Always consider a set of
18273         the internal_arg_pointer live.
18274
18275 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
18276
18277         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
18278         (update_life_info) [REG_WAS_0]: Search the original insns rather
18279         than the new insns for the note.  Fix typos finding note_dest.
18280         If no dest found, discard the note rather than abort.
18281         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
18282         (replace_insns): Remove the old insn list after update_life_info
18283         not before.
18284
18285 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
18286
18287         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
18288         sched_analyze_insn.
18289         (sched_analyze_1): Let add_dependence care for not adding dups.
18290         (sched_analyze_2): Likewise.
18291         (add_branch_dependences): Likewise.
18292
18293 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18294
18295         * i386/winnt.c (export_list): New type.
18296         (exports_head): Rename to
18297         (export_head):  this.
18298         (i386_pe_record_exported_symbol): Add is_data flag.
18299         (i386_pe_asm_file_end): Emit directive for exported variables.
18300         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
18301         prototype.
18302         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
18303         (ASM_DECLARE_OBJECT_NAME): Likewise.
18304         (ASM_DECLARE_FUNCTION_NAME): Likewise.
18305         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
18306
18307 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
18308
18309         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
18310
18311         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
18312         operand.
18313
18314 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
18315
18316         * config/openbsd.h: Define SET_ASM_OP.
18317         * tm.texi: cross-reference SET_ASM_OP in the index.
18318
18319 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
18320
18321         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
18322         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
18323         and class_narrowest_mode at compile time.  Kill init_rtl.
18324         Mark rtx_length, mode_class, mode_size, mode_unit_size,
18325         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
18326         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
18327         EXTRA_CC_NAMES.
18328         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
18329         format.
18330         * rtl.h: Declare rtx_length and rtx_format as const.
18331         * machmode.def: Define CC().  Use CC() to define CCmode.  If
18332         EXTRA_CC_MODES is defined, expand it here.
18333         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
18334         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
18335         const.  Kill all references to EXTRA_CC_MODES.
18336
18337         * toplev.c: Don't prototype or call init_rtl.
18338         * optabs.c: Don't call init_mov_optab.
18339         * genemit.c: Don't generate init_mov_optab.  Don't call
18340         init_rtl.
18341         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
18342         here.
18343         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
18344         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
18345         genrecog.c: Don't call init_rtl.
18346
18347         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
18348         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
18349         definition of EXTRA_CC_MODES.
18350
18351         * md.texi: Kill ref to EXTRA_CC_NAMES.
18352         * tm.texi: Document new way to define EXTRA_CC_MODES.
18353
18354         * genrecog.c: Do not look up the name of a define_split.
18355         (Unrelated bugfix.)
18356
18357 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
18358
18359         * config/v850/v850.md: Fix typo introduced by previous delta.
18360
18361 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18362
18363         * gcc.c (fatal): Make definition static to match prototype.
18364
18365 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18366
18367         * combine.c (get_last_value): Don't look for earlier sets if the last
18368         known set is somewhere in between the insns being combined.
18369
18370 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
18371
18372         * configure.in: Don't use shell ! to negate exit codes
18373         * configure: Regenerate
18374
18375 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
18376
18377         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
18378         the fact that ALIGN is measured in bits, not bytes.
18379
18380 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
18381
18382         * errors.c: New file; defines functions error, warning, and
18383         fatal, variables have_error and progname.
18384         * errors.h: New file; prototypes and decls for stuff in errors.c.
18385
18386         * Makefile: Add rules to build errors.o and
18387         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
18388         genopinit, genrecog, genextract, genpeep, genattr, and
18389         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
18390         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
18391         genpeep.o, genattr.o, and genoutput.o.
18392
18393         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
18394         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
18395         define or prototype fatal.  Set progname at beginning of main.
18396         * genoutput.c:  Likewise, and don't define or prototype error
18397         either.
18398
18399         * c-typeck.c (c_expand_start_case): Return immediately if exp
18400         is an ERROR_MARK.
18401         * fold-const.c (operand_equal_p): Return immediately if arg1
18402         or arg0 are ERROR_MARKs.
18403         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
18404         fields of type ERROR_MARK when calculating if the record can
18405         go in a register.
18406
18407 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
18408         with much help from Jeffrey A Law and Richard Henderson
18409
18410         * i386.md: In the 6 insns which call output_fix_trunc,
18411         earlyclobber operands[0].
18412
18413 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
18414
18415         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
18416         creating new registers.
18417
18418 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
18419
18420         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
18421         i386_reg_alloc_order, i386_regparm_string,
18422         i386_align_loops_string, i386_align_jumps_string,
18423         i386_align_funcs_string, i386_preferred_stack_boundary_string,
18424         and i386_branch_cost_string as type "const char *".
18425         * i386.c: Define all above strings as type "const char *".
18426
18427 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
18428
18429         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
18430         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
18431
18432 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
18433
18434         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
18435         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
18436
18437 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
18438
18439         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
18440         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
18441         (dwarf2out_line, dwarf2out_finish): Likewise.
18442         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
18443
18444 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18445
18446         * tree.c (lang_unsave_expr_now) : Correct return type.
18447         * tree.h (lang_unsave_expr_now) : Same.
18448
18449 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
18450
18451         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
18452         instead of duplicating code.
18453
18454 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18455
18456         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
18457
18458 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
18459
18460         * tree.h: fancy_abort always takes three args.
18461         * resource.c: Move include of system.h before toplev.h.
18462
18463 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
18464
18465         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
18466         as SYMBOL_REFs.
18467
18468 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
18469
18470         * system.h: Don't redefine abort or trim_filename.
18471         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
18472         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
18473         whether or not __FUNCTION__ is available.
18474         * tree.h: Duplicate rtl.h's definition of abort, for files
18475         that don't include rtl.h.  Delete all code to perform type
18476         checking with a compiler other than GCC.
18477         * varray.h: Delete all code to perform type checking with a
18478         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
18479         its arguments exactly once, using a statement expression.
18480         Adjust the VARRAY_<type> accessor macros to match.
18481         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
18482         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
18483         caller's location.  Define fatal_insn and fatal_insn_not_found
18484         as macros that use _fatal_insn and _fatal_insn_not_found.
18485         (fancy_abort, trim_filename): Kill prototypes.
18486
18487         * rtl.c (trim_filename): Move here from toplev.c.
18488         (fancy_abort): New function.
18489         (DIR_SEPARATOR): Provide default definition.
18490         * tree.c (tree_check_failed, tree_class_check_failed): Go
18491         through fancy_abort.
18492         (tree_check, tree_class_check, cst_or_constructor_check,
18493         expr_check): Delete.
18494         * varray.c (varray_check_failed): New function.
18495         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
18496         _fatal_insn and _fatal_insn_not_found.  Go through
18497         fancy_abort.
18498         (trim_filename, fancy_abort): Delete.
18499
18500         * builtins.c (expand_builtin_args_info): Report ICE with abort.
18501         * except.c (start_catch_handler): Report ICE with error/abort
18502         combo.
18503         * final.c (output_operand_lossage): Likewise.
18504         * flow.c (verify_flow_info): Likewise.
18505
18506         * gcc.c: Prototype fatal.
18507         * gengenrtl.c: Undef abort after including rtl.h not system.h.
18508         * genattr.c, genattrtab.c, genemit.c, genextract.c,
18509         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
18510         Don't define fancy_abort.
18511
18512 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
18513
18514         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
18515         canonization.
18516
18517 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
18518
18519         * m88k.h (VERSION_INFO2): Kill.
18520         (VERSION_STRING): Kill.
18521         (TM_RCS_ID): Kill.
18522         (VERSION_INFO1): Tidy.
18523         (TARGET_VERSION): Update.
18524         * m88k/dgux.h (VERSION_INFO2): Kill.
18525         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
18526         * m88k/luna.h (VERSION_INFO1): Tidy.
18527         * m88k/sysv4.h (VERSION_INFO1): Likewise.
18528         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
18529         (output_file_start): Adjust for death of VERSION_STRING.
18530
18531 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
18532
18533         * cpplib.c (detect_if_not_defined): New function.
18534         (do_if): Use it to detect potential once-only headers.
18535
18536 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
18537
18538         * c-common.c (combine_strings): Always set TREE_CONSTANT.
18539
18540 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18541
18542         * combine.c (nonzero_bits) : Allow single-ly set registers to be
18543         anywere in the function only if they are pseudos and set before
18544         being used (not live at the start of the function).
18545         (num_sign_bit_copies) : Same.
18546         (get_last_value_validate) : Same.
18547         (get_last_value) : Same.
18548
18549 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
18550
18551         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
18552         where N and M are constant and N is an integer multiple of M.
18553
18554 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18555
18556         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
18557         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
18558         sbitmap_union_of_preds): Add prototypes.
18559         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
18560         the intersection of successors with the new flow graph structures.
18561         (sbitmap_intersection_of_preds): New function to compute the
18562         intersection of predecessors with the new flow graph structures.
18563         (sbitmap_union_of_succs): New function to compute the union of
18564         successors with the new flow graph structures.
18565         (sbitmap_union_of_preds): New function to compute the union of
18566         predecessors with the new flow graph structures.
18567         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
18568         (expr_reaches_here_p): Use edge and basic_block structures instead
18569         of s_preds and s_succs.
18570         (compute_cprop_avinout): Use new sbitmap routines.
18571         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
18572         of s_preds and s_succs.
18573         * flow.c (compute_flow_dominators): Compute dominators using
18574         edges and basic blocks instead of s_preds and s_succs.
18575
18576 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18577
18578         * lists.c (unused_insn_list, unused_expr_list): New file for
18579         maintaining various types of lists. New statics for maintaining a
18580         cache of available INSN_LIST and EXPR_LIST nodes.
18581         (free_list): Static function for freeing a list of INSN/EXPR nodes.
18582         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
18583         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
18584         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
18585         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
18586         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
18587         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
18588         (free_INSN_LIST_node): Free an individual INSN_LIST node.
18589         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
18590         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
18591         (remove_dependence, free_pending_lists): Use new global routines.
18592         (flush_pending_lists, sched_analyze_insn): Use new global routines.
18593         (sched_analyze, compute_block_backward_dependences): Use new routines.
18594         (sched_analyze_1, sched_analyze_2): Use new routines.
18595         (schedule_insns): Use new global routines.
18596         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
18597         prototypes.
18598         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
18599         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
18600         prototypes.
18601         * toplev.c (rest_of_compilation): Initialize node cache.
18602         * Makefile.in (OBJS): Add lists.o to list of object files.
18603         (lists.o): Add dependancies.
18604
18605 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
18606
18607         * config/v850/v850.md: Fix compile time warning messages.
18608         * config/v850/v850.c: Fix compile time warning messages.
18609         * config/v850/v850.h: Fix compile time warning messages.
18610
18611 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18612
18613         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
18614         Remove unused prototype for `init_lengths'.
18615
18616 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18617
18618         * calls.c (emit_call_1): Mark parameter `stack_size' with
18619         ATTRIBUTE_UNUSED.
18620         (expand_call): Initialize variable `insn'.
18621         (emit_library_call): Likewise for variable `high_to_save'.
18622         (emit_library_call_value): Likewise.
18623         (store_one_arg): Likewise for variables `lower_bound' and
18624         `upper_bound'.
18625
18626         * combine.c (try_combine): Likewise for variables `i2_code_number'
18627         and `other_code_number'.
18628         (find_split_point): Likewise for variables `pos', `unsignedp' and
18629         `inner'.
18630         (simplify_if_then_else): Likewise for variables `op' and `c1'.
18631         (simplify_and_const_int): Remove unused variable `width'.
18632         (merge_outer_ops): Likewise.
18633
18634         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
18635         HOST_WIDE_INT' when comparing against one.
18636         (simplify_relational_operation): Likewise.
18637         (cse_insn): Initialize variables `src_eqv_volatile',
18638         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
18639
18640         * final.c (init_final): Constify parameter `filename'.
18641         (final_start_function): Mark parameter `optimize' with
18642         ATTRIBUTE_UNUSED.
18643         (profile_function): Likewise for parameters `first' and `optimize'.
18644         (output_source_line): Likewise for parameter `file'.
18645
18646         * integrate.c (subst_constants): Cast a value to `size_t' when
18647         comparing against one.
18648         (mark_stores): Initialize variable `mode'.  Cast a value to
18649         `size_t' when comparing against one.
18650
18651         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
18652
18653         * loop.c (move_movables): Initialize variable `first'.
18654         (strength_reduce): Likewise for variable `increment'.
18655         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
18656         value to `size_t' when comparing against one.
18657         (load_mems): Initialize variable `end_label'.
18658
18659         * output.h (init_final): Constify parameter.
18660
18661         * reload.c (decompose): Initialize variable `base'.
18662
18663         * reload1.c (reload): Likewise for variable `is_scalar'.
18664         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
18665         (choose_reload_regs): Initialize variable `mode'.
18666         (emit_reload_insns): Likewise for variable `store_insn'.
18667         (reload_cse_noop_set_p): Mark parameter `insn' with
18668         ATTRIBUTE_UNUSED.
18669         (reload_combine): Initialize variable `set'.
18670
18671         * unroll.c (unroll_loop): Likewise for variable `local_label'.
18672         (copy_loop_body): Cast a value to `size_t' when comparing against
18673         one.
18674
18675         * varasm.c (assemble_variable): Initialize variable `size_tree'.
18676         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
18677         (remove_from_pending_weak_list): Mark parameter `name' with
18678         ATTRIBUTE_UNUSED.
18679
18680 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18681
18682         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
18683         gcse dump file.
18684
18685 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
18686
18687         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
18688         (ASM_DECLARE_FUNCTION_NAME): Define.
18689         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
18690         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
18691         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
18692         not already defined.
18693
18694 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
18695
18696         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
18697         of n_popped when call/call_value are not defined.
18698
18699 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
18700
18701         * tm.texi: GNU CC -> GCC conversion.
18702         (CC1_SPEC): Indicate it is used for all language front ends.
18703
18704 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
18705
18706         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
18707         NOTE_INSN_EH_REGION_END correctly.
18708
18709 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
18710                           Jeff Law <law@cygnus.com>
18711
18712         * loop.c (strength_reduce): Automatically unroll loops if the
18713         unrolled loop size is smaller than the rolled loop size.
18714
18715         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
18716         and delete comment that code should be rewritten.
18717
18718 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
18719
18720         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
18721         as reachable.
18722
18723         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
18724
18725 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18726
18727         * fixinc/mkfixinc.sh: Don't fix uwin headers.
18728         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
18729         (LINK_SPEC): Add -u _main when building executables.
18730         (ASM_DECLARE_FUNCTION): Update from Cygwin.
18731         (ASM_FILE_END): Use the default for ix86-pe.
18732         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
18733
18734 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
18735
18736         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
18737         and ASM_CLOSE_PAREN are empty strings.
18738
18739 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
18740                           Geoffrey Keating <geoffk@cygnus.com>
18741
18742         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
18743         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
18744         (unprotoize.o): Ditto.
18745         (test-protoize-simple): Don't define STD_PROTO_DIR.
18746         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
18747         changes to make 'test-protoize-simple' pass.
18748         (STD_PROTO_DIR): Remove define.
18749         (STANDARD_EXEC_PREFIX): Supply default define.
18750         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
18751         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
18752         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
18753         (GET_ENV_PATH_LIST): New macro.
18754         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
18755         (do_processing): Initialize default_syscalls_dir using new
18756         macros.  Use it to initialize syscalls_absolute_filename.
18757
18758 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
18759
18760         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
18761         B into a register before emit_conditional_move.
18762
18763 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
18764
18765         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
18766         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
18767         multiplicand out of (+ (* a b) (* c d)).
18768
18769 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
18770                           Richard Henderson  <rth@cygnus.com>
18771
18772         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
18773         (new_insn_dead_notes): Likewise.
18774         (update_n_sets): Likewise.
18775         (update_flow_info): Move to flow.c, renamed to update_life_info;
18776         extend to handle multiple source insns.
18777         * flow.c: Include resource.h
18778         (unlink_insn_chain): New.
18779         (split_hard_reg_notes): New.
18780         (maybe_add_dead_note): New.
18781         (maybe_add_dead_note_use): New.
18782         (find_insn_with_note): New.
18783         (new_insn_dead_notes): New.
18784         (update_n_sets): New.
18785         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
18786         (maybe_remove_dead_notes): New.
18787         (update_life_info): New.
18788         (prepend_reg_notes): New.
18789         (replace_insns): New.
18790         * output.h (update_life_info): Declare.
18791         * recog.c (split_block_insns): Use update_life_info.
18792         * resource.c (find_free_register): Use reg_alloc_order, don't use
18793         fixed regs, make sure the mode is supported, don't use new regs.
18794         (reg_dead_p): New.
18795         * rtl.h (replace_insns): Declare.
18796
18797 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
18798
18799         * expr.c (expand_expr): Cope with COND_EXPRs with one
18800         non-returning branch.
18801
18802 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
18803
18804         * expr.c (store_expr): Always pass down the target, even when not
18805         doing CSE.
18806
18807 1999-08-24  Nick Clifton  <nickc@cygnus.com>
18808
18809         * configure.in: Define target_cpu_default for v850 targets.
18810         * configure: Regenerate
18811
18812         * config/v850/v850.h (TARGET_CPU_generic): Define.
18813         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
18814         addresses are 4 byte aligned.
18815
18816         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
18817         addresses.
18818
18819 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18820
18821         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
18822         (main): Add prototypes.
18823
18824         * genattrtab.c (substitute_address, write_const_num_delay_slots,
18825         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
18826         (write_attr_get): Emit prototypes along with function definition.
18827         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
18828         (write_complex_function): Emit static prototype along with
18829         function definition.
18830
18831         * genemit.c (gen_split): Emit prototypes along with function
18832         definition.
18833
18834         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
18835         Likewise for predicates and `insn_operand_predicate'.
18836         (process_template): Emit static prototype along with function
18837         definition.
18838
18839         * genrecog.c (make_insn_sequence): Constify a char*.  Add
18840         prototypes for get_split_*().
18841         (write_subroutine): Emit prototypes along with function
18842         definition.
18843
18844 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18845
18846         * gcse.c (find_avail_set): Follow chains of register-register copies.
18847         Use oprs_not_set_p to guarantee that the returned value can be
18848         substituted.
18849         (cprop_insn): Don't verify the return value of find_avail_set with
18850         oprs_not_set_p.
18851
18852         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
18853         (cprop_cc0_jump): New function.
18854         (cprop_insn): Break out new function cprop_jump and use it.
18855         Also use cprop_cc0_jump for machines with CC0.
18856         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
18857
18858         * tree.h (current_function_calls_setjmp,
18859         current_function_calls_longjmp): Delete declarations.
18860         * dsp16xx.c: Include "function.h".
18861         * elxsi.c: Likewise.
18862         * gmicro.c: Likewise.
18863         * h8300.c: Likewise.
18864         * i370.c: Likewise.
18865         * m32r.c: Likewise.
18866         * mn10200.c: Likewise.
18867         * mn10300.c: Likewise.
18868         * ns32k.c: Likewise.
18869         * spur.c: Likewise.
18870         * v850.c: Likewise.
18871
18872         * rtl.h (rtx_equal_function_value_matters): Declare.
18873         * toplev.c (rtx_equal_function_value_matters): Don't declare.
18874         * cse.c: Likewise.
18875         * function.c: Likewise.
18876         * emit-rtl.c: Likewise.
18877
18878 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
18879
18880         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
18881         call.
18882
18883 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18884
18885         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
18886         exactly.
18887
18888 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
18889
18890         * cpp.texi: Add a node documenting macro varargs (copied
18891         from extend.texi).
18892
18893 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
18894
18895         * cppspec.c: Put a null pointer at the end of the new argv.
18896
18897 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
18898
18899         * configure.in: Remove code to select/de-select the haifa
18900         scheduler.  Every scheduled port gets haifa now.
18901         * configure: Rebuilt.
18902         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
18903         * sched.c Deleted.
18904         * Makefile.in: Corresponding changes.
18905
18906 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18907
18908         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
18909         All callers changed.
18910         (prepare_float_lib_cmp): Likewise.
18911         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
18912         * expr.h (emit_float_lib_cmp): Delete declaration.
18913         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
18914         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
18915         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
18916         specially.
18917         (cmptf): Now conditional on TARGET_HARD_QUAD.
18918
18919 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
18920
18921         * resource.c (mark_target_live_regs): Use
18922         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
18923
18924 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18925
18926         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
18927
18928         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
18929
18930         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
18931
18932 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18933
18934         * rtl.h (rtx_format): Constify a char*.
18935
18936         * rtl.c (rtx_format): Likewise.
18937         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
18938         (init_rtl): Use accessor macro, not `rtx_format'.
18939
18940         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
18941         char*.
18942
18943         * caller-save.c (mark_referenced_regs): Likewise.
18944
18945         * combine.c (subst, make_compound_operation, known_cond,
18946         gen_rtx_combine, update_table_tick, get_last_value_validate,
18947         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
18948
18949         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
18950         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
18951         count_reg_usage): Likewise.
18952
18953         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
18954         Likewise.
18955
18956         * final.c (leaf_renumber_regs_insn): Likewise.
18957
18958         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
18959         dump_edge_info, count_reg_references): Likewise.
18960
18961         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
18962         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
18963         Likewise.
18964
18965         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
18966         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
18967         add_label_notes): Likewise.
18968
18969         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
18970         clear_struct_flag, count_sub_rtxs, count_alternatives,
18971         compares_alternatives_p, contained_in_p, walk_attr_value,
18972         write_expr_attr_cache): Likewise.
18973
18974         * genconfig.c (walk_insn_part): Likewise.
18975
18976         * genemit.c (max_operand_1, gen_exp): Likewise.
18977
18978         * genextract.c (walk_rtx): Likewise.
18979
18980         * genflags.c (num_operands): Likewise.
18981
18982         * genoutput.c (scan_operands): Likewise.
18983
18984         * genpeep.c (match_rtx): Likewise.
18985
18986         * genrecog.c (add_to_sequence): Likewise.
18987
18988         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
18989         Likewise.
18990
18991         * integrate.c (save_constants, copy_for_inline,
18992         copy_rtx_and_substitute, subst_constants, restore_constants):
18993         Likewise.
18994
18995         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
18996         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
18997
18998         * local-alloc.c (contains_replace_regs, memref_referenced_p):
18999         Likewise.
19000
19001         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
19002         add_label_notes, replace_call_address, count_nonfixed_reads,
19003         invariant_p, find_single_use_in_loop, find_mem_givs,
19004         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
19005         Likewise.
19006
19007         * print-rtl.c (reg_names, print_rtx): Likewise.
19008
19009         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
19010
19011         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
19012         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
19013         print_blocks): Likewise.
19014
19015         * regclass.c (fix_register, record_address_regs,
19016         reg_scan_mark_refs): Likewise.
19017
19018         * regmove.c (stable_but_for_p): Likewise.
19019
19020         * reload.c (loc_mentioned_in_p, operands_match_p,
19021         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
19022         copy_replacements, refers_to_regno_for_reload_p,
19023         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
19024         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
19025         Likewise.
19026
19027         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
19028         delete_address_reloads_1, count_occurrences,
19029         reload_cse_mem_conflict_p, reload_combine_note_use,
19030         add_auto_inc_notes): Likewise.
19031
19032         * resource.c (mark_referenced_resources, mark_set_resources):
19033         Likewise.
19034
19035         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
19036         reg_mentioned_p, regs_set_between_p, modified_between_p,
19037         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
19038         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
19039         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
19040         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
19041
19042         * sched.c (sched_analyze_2, attach_deaths): Likewise.
19043
19044         * stupid.c (stupid_mark_refs): Likewise.
19045
19046         * unroll.c (remap_split_bivs): Likewise.
19047
19048         * varasm.c (mark_constants): Likewise.
19049
19050         * a29k/a29k.c (uses_local_reg_p): Likewise.
19051
19052         * alpha/alpha.c (summarize_insn): Likewise.
19053
19054         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
19055         eliminate_lr2ip): Likewise.
19056
19057         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
19058
19059         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
19060         reg_mentioned_in_mem): Likewise.
19061
19062         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
19063         symbolic_reference_mentioned_p): Likewise.
19064
19065         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
19066
19067         * sh/sh.c (regs_used, mark_use): Likewise.
19068
19069         * vax/vax.c (vax_rtx_cost): Likewise.
19070
19071 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19072
19073         * machmode.h (mode_name): Constify a char*.
19074
19075         * rtl.c (mode_name): Likewise.
19076
19077         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
19078
19079         * optabs.c (init_libfuncs): Constify a char*.
19080
19081         * print-tree.c (mode_name): Remove redundant declaration.
19082         (print_node): Use accessor macro, not `mode_name'.
19083
19084         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
19085         not `mode_name'.
19086         (new_spill_reg): Constify a char*.
19087
19088         * tree.c (mode_name): Remove redundant declaration.
19089
19090 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19091
19092         * rtl.c (rtx_name): Constify a char*.
19093
19094         * rtl.h (rtx_name, fix_sched_param): Likewise.
19095
19096         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
19097         (mypr): Use accessor macro, not `rtx_name'.
19098
19099         * genemit.c (print_code): Constify a char*.
19100
19101         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
19102
19103         * genpeep.c (print_code): Constify a char*.
19104
19105         * genrecog.c (print_code): Likewise.
19106
19107         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
19108         end_bb): Add static prototype.
19109         (draw_edge): Constify a char*.
19110         (end_bb): Remove unused parameter.
19111
19112         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
19113         print_block_visualization): Constify a char*.
19114
19115 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
19116
19117         * c-common.c (c_get_alias_set): Update comment.
19118
19119 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19120
19121         * linux.h (LIB_SPEC): Added.
19122
19123 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19124
19125         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
19126
19127 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
19128
19129         * tree.c (expr_check): Fix typo in last change.
19130
19131 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
19132
19133         * rtl.def (NOTE): Change format to "iuu0n".
19134         (ADDR_DIFF_VEC): Change format to "eEee0".
19135         (ADDRESSOF): Change format to "eit".
19136
19137         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
19138         (RTVEC_ELT): Change to match.
19139         (XVECEXP): Use XVEC and RTVEC_ELT.
19140         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
19141         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
19142         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
19143         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
19144         TRAP_CONDITION, TRAP_CODE): Use XEXP.
19145         (INTVAL): Use XWINT.
19146         (ADDRESSOF_DECL): Use XTREE.
19147         (SET_ADDRESSOF_DECL): Delete.
19148         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
19149         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
19150         ifdefed out since 2.6 at least.
19151         (gen_rtvec_vv): Delete prototype.
19152
19153         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
19154         not rtunion.
19155         (copy_most_rtx): Handle 't' format letter.
19156         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
19157         (gen_rtvec_vv): Delete function.  All callers changed to use
19158         gen_rtvec_v instead.
19159         * print-rtl.c (print_rtx): Move special casing of NOTEs to
19160         the '0' format letter.
19161
19162         * function.c (gen_mem_addressof): Don't use
19163         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
19164         instead.
19165         * integrate.c (copy_rtx_and_substitute): Likewise.
19166         Copy 't' slots with XTREE.
19167         (subst_constants): Treat 't' slots like '[swi]' slots.
19168         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
19169         * jump.c (rtx_equal_for_thread_p): Likewise.
19170         * rtlanal.c (rtx_equal_p): Likewise.
19171         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
19172         only four arguments.
19173         * gengenrtl.c (type_from_format): Provide correct types for
19174         'b' and 't' slots.
19175
19176
19177         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
19178         If a recent gcc is in use (always in stage2 and beyond), use
19179         statement expressions, so we don't make a function call unless
19180         the check fails.  Evaluate arguments exactly once.
19181         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
19182         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
19183         Delete.
19184         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
19185         they evaluate their arguments exactly once, irrespective of
19186         the compiler in use.
19187
19188         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
19189         is used by the currently-enabled check macros.  This is:
19190         (tree_check_failed, tree_class_check_failed): For gcc.
19191         (tree_check, tree_class_check, cst_or_constructor_check,
19192         expr_check): For other compilers.
19193
19194         * gencheck.c: Do not define any *_CHECK1 macros.
19195
19196 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
19197                           Mark Mitchell <mark@codesourcery.com>
19198
19199         * c-common.c (c_get_alias_set): Fix support for poitners and
19200         references.
19201
19202 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
19203
19204         * alias.c: Include tree.h.
19205         (nonlocal_reference_p, mark_constant_function): New functions.
19206         * flow.c (life_analysis): Call mark_constant_function.
19207         * rtl.h (mark_constant_function): Declare it.
19208
19209 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
19210
19211         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
19212         unrecognisable switches.
19213
19214 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19215
19216         * loop.c (recombine_givs): Set ix field after sorting.
19217         (recombine_givs): Remove bogus index / giv lockstep looping.
19218
19219 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19220
19221         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
19222         on CODE.
19223         (emit_store_flag_force): Use do_compare_rtx_and_jump.
19224         (do_cmp_and_jump): Formatting fixes.
19225         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
19226         do_compare_rtx_and_jump instead of compare_from_rtx.
19227         (do_compare_rtx_and_jump): New function; mostly copied from
19228         compare_from_rtx.
19229         (do_jump_for_compare): Delete.
19230         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
19231         MIN_EXPR.
19232         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
19233         of compare/do_jump_for_compare pairs.
19234         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
19235         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
19236         compare_from_rtx/do_jump_for_compare pairs.
19237         (do_jump_by_parts_equality): Likewise.
19238         (do_jump_by_parts_equality_rtx): Likewise.
19239         * expr.h (do_compare_rtx_and_jump): Declare.
19240         * optabs.c (prepare_cmp_insn): New function, contains most of the code
19241         that used to be in emit_cmp_insn.
19242         (cmp_available_p): New function.
19243         (prepare_operand): New function.
19244         (emit_cmp_and_jump_insn_1): New function, contains some code that used
19245         to be in emit_cmp_insn.
19246         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
19247         parameters to be pointers; don't emit final compare but modify some of
19248         the values pointed to by the args so the caller can perform the
19249         correct comparison.
19250         (expand_binop): Call emit_store_flag_force with signed forms of
19251         comparison code.
19252         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
19253         emit_jump_insn pair.
19254         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
19255         emit_cmp_and_jump_insn_1.  Call emit_queue.
19256         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
19257         arg.
19258         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
19259         jump sets cc0 before deleting it.
19260         * integrate.c (expand_inline_function): Likewise.
19261         * unroll.c (unroll_loop): Similar changes in several places.
19262         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
19263         before deleting it.
19264
19265 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19266
19267         * Makefile.in (insn-recog.o): Update dependencies.
19268         * genrecog.c (main): Make generated file include "function.h".
19269
19270 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
19271
19272         * cse.c (cse_insn): Call never_reached_warning when a jump is
19273         changed to be unconditional.
19274         * flags.h: Declare warn_notreached.
19275         * flow.c (delete_block): Call never_reached_warning when
19276         a block is deleted.
19277         * jump.c (delete_barrier_successors): Call never_reached_warning
19278         when we delete everything after a BARRIER.
19279         (never_reached_warning): New function.
19280         * rtl.h: Declare never_reached_warning.
19281         * toplev.c (warn_notreached): New variable.
19282         (lang_independent_options): Set warn_notreached
19283         when -Wunreachable-code.
19284         (compile_file): We need line numbers for -Wunreachable-code.
19285
19286 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
19287
19288         * haifa-sched.c (insn_unit): Fix typo on out of range test.
19289         * sched.c (insn_unit): Likewise.
19290
19291 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
19292
19293         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
19294
19295 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19296
19297         * flow.c (create_edge_list): Use xmalloc, not malloc.
19298
19299 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
19300
19301         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
19302         C-style comments.  Do not lose the character before double slash.
19303
19304 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19305
19306         * basic-block.h (struct edge_list): Stucture to maintain a vector
19307         of edges.
19308         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
19309          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
19310         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
19311         New function prototypes.
19312         * flow.c (create_edge_list): Function to create an edge list.
19313         (free_edge_list): Discards memory used by an edge list.
19314         (print_edge_list): Debug output showing an edge list.
19315         (verify_edge_list): Internal consistency check for an edge list.
19316         (find_edge_index): Function to find an edge index for a pred and succ.
19317
19318 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
19319
19320         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
19321         hashtable.
19322
19323 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
19324
19325         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
19326
19327 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
19328
19329         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
19330
19331 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
19332
19333         * toplev.c (rest_of_compilation): Allow machine dependent
19334         reorganisation pass to place information into the RTL dump
19335         file if it so wishes.
19336
19337 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
19338
19339         * explow.c (hard_function_value): Use VOIDmode instead of
19340         MAX_MACHINE_MODE.
19341         * stmt.c (expand_return): Likewise.
19342         * stor-layout.c (get_best_mode): Likewise.
19343
19344         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
19345         emit call instead of emit_insn call.
19346
19347 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19348
19349         * configure.in: Handle --disable/enable-win32-registry.
19350         * install.texi: Document --disable/enable-win32-registry.
19351         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
19352         (WIN32_REGISTRY_KEY): New macro.
19353         * prefix.c: Use to enable/disable win32-specific code.
19354         (lookup_key): Use versioned key.
19355         * configure: Regenerate.
19356         * config.in: Likewise.
19357
19358 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
19359
19360         * cpplib.c (read_line_number): New fn, split out of...
19361         (do_line): Here.
19362
19363 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19364
19365         tree.c (lang_unsave_expr_now) : New.
19366         (unsave_expr_now): Call lang_unsave_expr_now.
19367         tree.h (lang_unsave_expr_now) : New.
19368
19369 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
19370
19371         * toplev.c (flag_new_exceptions): On by default.
19372
19373 1999-08-13  Michael Meissner  <meissner@cygnus.com>
19374
19375         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
19376
19377 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19378
19379         * dwarfout.c (fundamental_type_code): Return FT_boolean for
19380         INTEGER_TYPE with precision==1, it's __java_boolean.
19381
19382 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19383
19384         * global.c (prune_preferences): Move some invariants out of the
19385         inner loop.
19386
19387 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
19388
19389         * configure.in (alpha*-dec-osf*): Add osf5.
19390
19391 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
19392
19393         * configure.in: Rework handling of ARM GNU/Linux slightly.
19394         (arm*-*-linux-gnuoldld): New target.
19395         * configure: Regenerate.
19396         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
19397         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
19398         * config/arm/linux-oldld.h: New file.
19399         * config/arm/linux-elf26.h: Don't include linux-elf.h.
19400         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
19401         Don't define.
19402         * config/arm/linux-elf.h (ASM_SPEC): Define.
19403         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
19404         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
19405         for 26-bit APCS and old linker.
19406         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
19407         `arm_elf'.
19408         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
19409         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
19410         don't define `arm' or `arm_elf'.
19411         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
19412         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
19413
19414 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
19415
19416         * rtl.texi: Fix typo.
19417
19418 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
19419
19420         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
19421
19422 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
19423
19424         * extend.texi (C++ Signatures): Remove node.
19425         * invoke.texi: Remove discussion of -fhandle-signatures,
19426         signature, sigof, __signature__, and __sigof__.
19427
19428 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
19429
19430         * Makefile.in (JAVAGC): Removed.
19431
19432 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19433
19434         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
19435
19436 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
19437
19438         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
19439
19440 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
19441
19442         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
19443         a register that is already known to be a pointer.
19444
19445 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
19446
19447         * fixinc/inclhack.tpl: Only install assert.h conditionally.
19448         * fixinc/inclhack.sh: Regenerated.
19449         * fixinc/fixincl.sh: Regenerated.
19450
19451 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
19452
19453         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
19454         Fix documentation of -ansi flag to describe its C++ behavior.
19455         Remove bogus reference to GCC 2.9.
19456
19457 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
19458
19459         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
19460         note if it is non-NULL.
19461
19462 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19463
19464         * except.h (eh_nesting_info): Add new structure defintion.
19465         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
19466         (reachable_handlers, update_rethrow_references): Add function
19467         prototypes.
19468         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
19469         a rethrow symbol instead of an integer exception region number.
19470         * flow.c (Make_edges): Use new exception nesting routines to determine
19471         which handlers are reachable from a CALL or asynchronous insn.
19472         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
19473         goto receivers.
19474         (delete_eh_regions): Update rethrow labels, and don't delete
19475         regions which are the target of a rethrow.
19476         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
19477         avoid overloading the SYMBOL_REF_USED flag.
19478         (rethrow_symbol_map): Use new rethrow_ref field.
19479         (rethrow_used): Use new rethrow_ref field.
19480         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
19481         of an integer.  Fix formatting.
19482         (output_exception_table_entry): Use new rethrow_ref field.
19483         (can_throw): Check for EH_REGION_NOTE before deciding
19484         whether a CALL can throw or not.
19485         (scan_region): Call rethrow_used() instead of accessing data structure.
19486         (update_rethrow_references): New function to make sure only regions
19487         which are still targets of a rethrow are flagged as such.
19488         (process_nestinfo): New static function to initialize a handler
19489         list for a specific region.
19490         (init_eh_nesting_info): New function to allocate and initialize
19491         the list of all EH handlers reachable from all regions.
19492         (reachable_handlers): New function to retrieve the list of handlers
19493         reachable from a specific region and insn.
19494         (free_eh_nesting_info): New function to dispose of a list of
19495         reachable handlers.
19496
19497 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19498
19499         * flow.c (split_edge): Set JUMP_LABEL field.
19500         (commit_one_edge_insertion): Set head correctly for insert_before.
19501         When inserting insns, update insn block numbers if allocated.
19502
19503 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19504
19505         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
19506         retry_incomplete_types): Add static prototype.
19507         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
19508         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
19509         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
19510         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
19511         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
19512         Constify a char*.
19513
19514         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
19515         dwarf2out_start_source_file, dwarf2out_line): Likewise.
19516
19517 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19518
19519         * output.h (assemble_name): Constify a char*.
19520
19521         * varasm.c (UNIQUE_SECTION, assemble_start_function,
19522         assemble_variable, assemble_name): Likewise.
19523
19524         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
19525
19526         * arm/pe.c (arm_pe_unique_section): Likewise.
19527
19528         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
19529
19530         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
19531
19532         * i386/interix.c (i386_pe_unique_section): Likewise.
19533
19534         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
19535
19536         * i386/winnt.c (i386_pe_unique_section): Likewise.
19537
19538         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
19539
19540         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
19541
19542         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
19543
19544         * pa/pa.c (output_call): Likewise.
19545
19546         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
19547
19548         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
19549
19550         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
19551         Likewise.
19552
19553         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
19554         Likewise.
19555
19556         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
19557
19558         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
19559         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
19560
19561         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
19562
19563 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19564
19565         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
19566
19567 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19568
19569         * tree.h (lang_identify): Constify a char*.
19570         (print_error_function): Add extern prototype.  Constify a char*.
19571
19572         * c-lang.c (lang_identify): Constify a char*.
19573
19574         * objc/objc-act.c (lang_identify): Constify a char*.
19575
19576 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19577
19578         * genpeep.c (main): Make generated file include "function.h".
19579         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
19580
19581 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19582
19583         * Makefile.in: Update dependencies.
19584         * alias.c: Include "function.h"
19585         * c-decl.c: Likewise.
19586         * caller-save.c: Likewise.
19587         * calls.c: Likewise.
19588         * combine.c: Likewise.
19589         * cse.c: Likewise.
19590         * explow.c: Likewise.
19591         * final.c: Likewise.
19592         * global.c: Likewise.
19593         * graph.c: Likewise.
19594         * local-alloc.c: Likewise.
19595         * loop.c: Likewise.
19596         * optabs.c: Likewise.
19597         * profile.c: Likewise.
19598         * recog.c: Likewise.
19599         * regclass.c: Likewise.
19600         * regmove.c: Likewise.
19601         * reload.c: Likewise.
19602         * reorg.c: Likewise.
19603         * resource.c: Likewise.
19604         * sched.c: Likewise.
19605         * stupid.c: Likewise.
19606         * config/1750a/1750a.c: Likewise.
19607         * config/a29k/a29k.c: Likewise.
19608         * config/arc/arc.c: Likewise.
19609         * config/arm/arm.c: Likewise.
19610         * config/arm/thumb.c: Likewise.
19611         * config/c4x/c4x.c: Likewise.
19612         * config/clipper/clipper.c: Likewise.
19613         * config/convex/convex.c: Likewise.
19614         * config/fx80/fx80.c: Likewise.
19615         * config/i860/i860.c: Likewise.
19616         * config/m68k/m68k.c: Likewise.
19617         * config/m88k/m88k.c: Likewise.
19618         * config/mips/mips.c: Likewise.
19619         * config/pdp11/pdp11.c: Likewise.
19620         * config/pyr/pyr.c: Likewise.
19621         * config/romp/romp.c: Likewise.
19622         * config/sh/sh.c: Likewise.
19623         * config/tahoe/tahoe.c: Likewise.
19624         * config/vax/vax.c: Likewise.
19625         * config/we32k/we32k.c: Likewise.
19626         * config/sparc/sparc.c: Include "function.h".
19627         (mem_min_alignment): Test current_function rather than
19628         regno_pointer_align.
19629         * config/pa/pa.c: Likewise.
19630         (compute_frame_size): Delete declaration of
19631         current_function_outgoing_args_size.
19632         * config/arc/arc.h (current_function_varargs): Delete declaration.
19633         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
19634         declaration.
19635         * config/i370/i370.h (current_function_outgoing_args_size): Delete
19636         declaration.
19637         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
19638         current_function_uses_pic_offset_table.
19639         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
19640         of current_function_returns_pointer.
19641         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19642         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19643         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19644         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19645         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19646         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19647         * config/m88k/m88k.c: Include "function.h"
19648         (call_used_regs, current_function_pretend_args_size,
19649         current_function_outgoing_args_size, frame_pointer_needed): Delete
19650         declarations.
19651         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
19652         declaration.
19653         * config/mips/mips.h (current_function_calls_alloca): Delete
19654         declaration.
19655         * config/mn10200/mn10200.h (current_function_needs_context,
19656         rtx_equal_function_value_matters): Delete declarations.
19657         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
19658         flag_pic): Delete declarations.
19659         * config/pa/pa.h (current_function_pretend_args_size,
19660         current_function_decl): Delete declarations.
19661         * config/pa/som.h (current_function_varargs): Delete declaration.
19662         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
19663         declaration.
19664         * config/pyr/pyr.h (current_function_pretend_args_size,
19665         current_function_args_size, current_function_calls_alloca): Delete
19666         declarations.
19667         * config/sh/sh.h (current_function_varargs): Delete declaration.
19668         * config/sparc/sparc.h (current_function_outgoing_args_size,
19669         current_function_calls_alloca, current_function_decl): Delete
19670         declarations.
19671         * config/spur/spur.h (current_function_pretend_args_size,
19672         current_function_calls_alloca): Delete declarations.
19673         * config/v850/v850.c (current_function_outgoing_args_size): Delete
19674         declaration.
19675         * config/vax/vms.h (current_function_name): Delete declaration.
19676         * gcse.c: Include "function.h".
19677         (current_function_name, current_function_calls_setjmp): Delete
19678         declarations.
19679         * haifa-sched.c: Include "function.h".
19680         (forced_labels): Delete declaration.
19681         * jump.c: Likewise.
19682         * reg-stack.c: Likewise.
19683         * reload1.c: Likewise.
19684         * genemit.c (main): Make generated file include function.h.
19685         * genoutput.c (output_prologue): Likewise.
19686
19687         * builtins.c (saveregs_value, apply_args_value): Delete variables.
19688         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
19689         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
19690         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
19691         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
19692         macros for some of them.
19693         (emit_filename, emit_lineno): Delete declarations.
19694         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
19695         regno_pointer_* variables through current_function.
19696         (gen_inline_header_rtx): Delete function.
19697         (save_emit_status): Delete function.
19698         (set_new_last_label_num): New function.
19699         (clear_emit_caches): New function.
19700         (restore_emit_status): Just clear last_labelnum and call
19701         clear_emit_caches.
19702         (get_last_insn_anywhere): Variable sequence_stack is now accessed
19703         through macro seq_stack.
19704         (add_insn_after): Likewise.
19705         (add_insn_before): Likewise.
19706         (remove_insn): Likewise.
19707         (pop_topmost_sequence): Likewise.
19708         (in_sequence_p): Likewise.
19709         (start_sequence_for_rtl_expr): Likewise.
19710         (start_sequence): Likewise, and likewise for
19711         sequence_rtl_expr/seq_rtl_expr.
19712         (push_topmost_sequence): Likewise.
19713         (end_sequence): Likewise.
19714         (init_virtual_regs): Now takes a "struct emit_status *" argument.
19715         All callers changed.  Store into that pointer instead of globals.
19716         (init_emit): Allocate emit elt of current_function.
19717         Changes for sequence_rtl_expr/sequence_stack renaming.
19718         Call clear_emit_caches instead of doing it in-line.
19719         Access regno_pointer_* variables through current_function.
19720         (init_emit_once) Don't clear sequence_stack.
19721
19722         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
19723         Delete variables.
19724         (arg_pointer_save_area): Delete declaration.
19725         (finish_expr_for_function): Renamed from init_queue; no longer static.
19726         (init_expr): Don't call init_queue.
19727         (save_expr_status, restore_expr_status): Delete functions.
19728         (expand_expr): Changes to reflect new layout of struct function.
19729         Don't access current_function_check_memory_usage when current_function
19730         is 0.
19731         * expr.h (forced_labels, save_expr_regs, saveregs_value,
19732         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
19733         current_function_outgoing_args_size, current_function_arg_offset_rtx,
19734         current_function_uses_const_pool, function_call_count,
19735         current_function_uses_pic_offset_table, nonlocal_labels,
19736         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
19737         current_function_check_memory_usage, nonlocal_goto_handler_slots,
19738         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
19739         declarations.
19740         (finish_expr_for_function): Declare.
19741         * flags.h (current_function_has_nonlocal_label,
19742         current_function_has_nonlocal_goto, current_function_is_thunk,
19743         current_function_has_computed_jump): Delete declarations.
19744         * flow.c (forced_labels): Delete declaration.
19745         * function.c (current_function_pops_args,
19746         current_function_returns_struct, current_function_returns_pcc_struct,
19747         current_function_needs_context, current_function_calls_setjmp,
19748         current_function_calls_longjmp, current_function_has_nonlocal_label,
19749         current_function_has_nonlocal_goto, current_function_is_thunk,
19750         current_function_has_computed_jump, current_function_calls_alloca,
19751         current_function_contains_functions, current_function_returns_pointer,
19752         current_function_epilogue_delay_list, current_function_args_size,
19753         current_function_pretend_args_size, current_function_arg_offset_rtx,
19754         current_function_outgoing_args_size, current_function_varargs,
19755         current_function_stdarg, current_function_args_info, cleanup_label,
19756         current_function_name, current_function_uses_const_pool,
19757         current_function_instrument_entry_exit, current_function_return_rtx,
19758         current_function_uses_pic_offset_table, nonlocal_labels,
19759         current_function_internal_arg_pointer, current_function_cannot_inline,
19760         current_function_check_memory_usage, function_call_count,
19761         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
19762         nonlocal_goto_stack_level, return_label, save_expr_regs,
19763         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
19764         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
19765         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
19766         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
19767         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
19768         Delete variables.
19769         (push_function_context_to): Don't save them.  Don't call
19770         save_storage_status, save_emit_status or save_expr_status.
19771         (pop_function_context_from): Don't restore them.  Don't call
19772         restore_storage_status or restore_expr_status.
19773         (get_func_frame_size): New function.
19774         (get_frame_size): Use it.
19775         (assign_outer_stack_local): Reflect some member name changes in struct
19776         function.
19777         (put_reg_into_stack): Likewise.
19778         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
19779         seq_rtl_expr.
19780         (fixup_var_refs): Likewise.
19781         (fix_lexical_addr): Likewise.
19782         (trampoline_address): Likewise.
19783         (prepare_function_start): Clear field inlinable of current_function.
19784         (init_function_for_compilation): New function.
19785         (expand_dummy_function_end): New function.
19786         (expand_function_end): Call finish_expr_for_function.
19787         * function.h (struct emit_status): New; fields moved here from struct
19788         function and from global variables.  Add accessor macros for some of
19789         the fields.
19790         (struct expr_status): Likewise.
19791         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
19792         (struct function): Add fields expr and emit, inlinable, inl_emit,
19793         original_arg_vector, original_decl_initial, inl_last_parm_insn,
19794         inl_max_label_num.  Add many comments.
19795         Add accessor macros for all elts of struct function that no longer
19796         have a global variable.
19797         (cleanup_label, return_label, frame_offset, tail_recursion_label,
19798         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
19799         stack_slot_list): Delete declarations.
19800         (get_func_frame_size): Declare.
19801         (save_expr_status, restore_expr_status, save_emit_status,
19802         save_storage_status, restore_storage_status): Delete declarations.
19803         (init_virtual_regs): Declare.
19804         * output.h (current_function_pops_args,
19805         current_function_returns_struct, current_function_returns_pcc_struct,
19806         current_function_needs_context, current_function_calls_setjmp,
19807         current_function_calls_longjmp, current_function_calls_alloca,
19808         current_function_has_nonlocal_label, current_function_varargs,
19809         current_function_has_computed_jump, current_function_returns_pointer,
19810         current_function_contains_functions, current_function_args_size,
19811         current_function_pretend_args_size, current_function_stdarg,
19812         current_function_outgoing_args_size, current_function_args_info,
19813         current_function_name, current_function_return_rtx,
19814         current_function_epilogue_delay_list,
19815         current_function_uses_const_pool, current_function_cannot_inline):
19816         Delete declarations.
19817         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
19818         regno_reg_rtx): Delete declaration.
19819         (REGNO_POINTER_FLAG): Delete macro.
19820         * stmt.c (expand_goto): Changes to reflect that some fields in struct
19821         function were renamed.
19822         * stor-layout.c (save_storage_status, restore_storage_status): Delete
19823         functions.
19824         * toplev.c: Include "function.h".
19825         (current_function_decl): Delete declaration.
19826         (compile_file): Call init_dummy_function_start and
19827         expand_dummy_function_end around some initializations that need to
19828         emit rtl.
19829         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
19830         Call init_function_for_compilation.
19831         * unroll.c: Include "function.h"
19832         (unroll_loop): Access regno_pointer_* variables through
19833         current_function.
19834
19835         * tree.h (struct tree_decl): Add elt f to saved_insns member.
19836         (DECL_SAVED_INSNS): use it.
19837         (expand_dummy_function_end): Declare.
19838         (init_function_for_compilation): Declare.
19839         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
19840         that it's no longer an INLINE_HEADER.
19841         (expand_call): Likewise.
19842         * integrate.c (finish_inline): Delete function.
19843         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
19844         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
19845         args.  Don't generate an INLINE_HEADER rtx, just return the arg
19846         vector.  All callers changed.
19847         (save_for_inline_copying):  Create a duplicate struct emit_status to
19848         hold the emit state for compiling the current function.  Use this and
19849         the other new fields in struct function that are for integration
19850         instead of an INLINE_HEADER.
19851         Use memcpy instead of bcopy.
19852         Store the current struct function in DECL_SAVED_INSNS of fndecl.
19853         (save_for_inline_nocopy): Similar changes, except no new emit_status
19854         is needed here.
19855         (expand_inline_function): Get information from function structure,
19856         not from an inline header rtx.
19857         (output_inline_function): Lose code to extract the necessary
19858         information from an inline header; simply put back the function
19859         structure into current_function.  Clear its inlinable elt.
19860         * rtl.def (INLINE_HEADER): Delete.
19861         * rtl.h: Delete all accessors for an INLINE_HEADER.
19862         (gen_inline_header_rtx): Delete declaration.
19863         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
19864         Delete declarations.
19865         (REGNO_POINTER_ALIGN): Delete.
19866         (clear_emit_caches): Declare.
19867         (set_new_last_label_num): Declare.
19868
19869 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
19870
19871         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
19872
19873         * except.c (expand_eh_region_start_for_decl): Always start a new block.
19874         * stmt.c (is_eh_region): Make sure current_function is present, too.
19875
19876 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
19877
19878         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
19879         for 64bit PA targets.
19880
19881         * pa.h (SELECT_SECTION): Define.
19882         * som.h (SELECT_SECTION): Delete.
19883
19884 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19885
19886         * alias.c (init_alias_analysis): Wrap call to
19887         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
19888
19889 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
19890
19891         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
19892         <sys/asm.h> contains an asm comment with an apostrophe
19893         * fixinc/inclhack.sh:  regen
19894         * fixinc/fixincl.x:  regen
19895
19896 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
19897
19898         * function.c (init_function_start): Clear prologue & epilogue.
19899         (prologue_epilogue_contains): New function.
19900         * alias.c (init_alias_analysis): Use it.
19901         * rtl.h (prologue_epilogue_contains): Declare it.
19902
19903 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
19904
19905         * jump.c (onlyjump_p): New function.
19906         * rtl.h: Declare it.
19907         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
19908         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
19909
19910 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
19911
19912         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
19913         to invert loops.  Simplify block scanning.
19914
19915 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
19916
19917         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
19918         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
19919
19920 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
19921
19922         * config/sparc/liteelf.h: New file to support sparclite-elf target
19923         * config/sparc/t-sp86x: New file to support sparc86x targets
19924         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
19925         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
19926         * configure.in: Support above target triplets
19927         * configure: Regenerated
19928
19929 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
19930
19931         * fixinc/server.c (server_setup): Do not prefix function used as
19932         parameter with `&'.
19933
19934 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
19935
19936         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
19937         Remove fp reg alternatives.
19938
19939 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
19940
19941         * Makefiin (TAROUTOPTS): Kill.
19942         (install-headers-tar): Use "xpf" for tar headerfile extraction
19943         * i370/x-oe (TAROUTOPTS): Delete.
19944         * m68k/x-apollo68 (TAROUTOPTS): Delete.
19945         * m68k/x-hp320 (TAROUTOPTS): Delete.
19946         * m68k/x-hp320g (TAROUTOPTS): Delete.
19947         * gcc.texi: Update bug reporting text.
19948
19949 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19950
19951         * reg-stack.c (change_stack) Fixed problem with negative array index.
19952
19953 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
19954
19955         * extend.texi, install.texi: Fix spelling mistakes.
19956
19957         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
19958         (s-attrtab); No longer try to use pre-made insn-attrtab file.
19959         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
19960         PREMADE_ATTRTAB_MD.
19961         * mips/t-ecoff: Likewise.
19962         * mips/t-elf: Likewise.
19963         * mips/t-mips: Likewise.
19964         * mips/t-osfrose: Likewise.
19965         * mips/t-r3900: Likewise.
19966         * mips/t-svr3: Likewise.
19967         * mips/t-svr4: Likewise.
19968         * mips/t-ultrix: Likewise.
19969
19970         * gcc.texi: Document recommend means to provide software floating
19971         point libraries in libgcc.a
19972
19973 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
19974
19975         * c-lex.c (yylex): We can have a number with no digits.
19976
19977 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
19978
19979         * jump.c (delete_prior_computation): New function, broken
19980         out of delete_computation.  Check for side effects with
19981         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
19982         multi-word hard registers.
19983         (delete_computation): Use it.  Check for side effects with
19984         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
19985         missing REG_DEAD note for a register which is both set and
19986         used by an insn.
19987
19988 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
19989
19990         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
19991         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
19992         (ASM_FILE_START): Import _mcount with the right type.
19993         (ASM_DECLARE_FUNCTION_NAME): Define.
19994         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
19995         * pa.c (output_function_prologue): Always emit the function's label
19996         here.
19997         * pa.h (TEXT_SPACE_P): Define.
19998         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
19999         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
20000         * som.h (TEXT_SPACE_P): Delete.
20001         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
20002         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
20003
20004 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
20005
20006         * expr.c (emit_group_load): Allow src to be a CONCAT.
20007
20008 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20009
20010         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
20011         (___mulsi3): Use '!' comment character.
20012
20013 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20014
20015         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
20016
20017 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
20018
20019         * gcc.c: Update URLs and mail addresses.
20020         * gcc.texi: Likewise.
20021
20022 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
20023
20024         * rs6000.c (current_file_function_operand): Return zero for
20025         weak functions.
20026         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
20027         weak symbols.
20028         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
20029         for weak symbols.
20030
20031 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
20032
20033         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
20034         allocate space in the stack frame for the PIC register.
20035
20036 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
20037
20038         * m68k.md (xordi3, anddi3): These patterns are not available on
20039         the coldfire.
20040
20041 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
20042
20043         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
20044         (PUT_REAL): Likewise.
20045
20046 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20047
20048         * final.c (shorten_branches): Don't add an alignment for loops
20049         that have no label inside.
20050
20051 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20052
20053         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
20054         prototypes in macro HAVE_cmpstrsi.
20055
20056         * cpplib.c (cpp_get_token): Remove unused label `op3'.
20057
20058         * emit-rtl.c (operand_subword): Remove unused variable
20059         `bits_per_word'.
20060
20061         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
20062
20063         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
20064
20065 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
20066
20067         * cpphash.c (macroexpand): Delete leading whitespace when arg
20068         is concatenated before.
20069         (unsafe_chars): Correct test for whether + and - can extend a
20070         token.
20071
20072         * cppinit.c (cpp_start_read): Do dependencies for
20073         -include/-imacros files also.
20074
20075         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
20076         tokenizing non-directive lines.
20077         (cpp_expand_to_buffer): Temporarily disable no-output mode.
20078         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
20079         the input file.
20080
20081 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20082
20083         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
20084
20085         * c-lex.c: Sync with C++ frontend.
20086         (linemode): New variable.
20087         (parse_float): imag, conversion_errno, and type are output only.
20088         (yylex): Adjust.  Move initial '.' case into main switch.
20089         Use linemode.
20090         (handle_generic_pragma): Just deal with tokens.
20091         (readescape): Use ISXDIGIT and ISGRAPH.
20092         * c-parse.in: Add END_OF_LINE token.
20093
20094         * c-lex.c (lang_init): Generalize.
20095         (nextchar): Remove.  Replace uses with UNGETC.
20096         (skip_white_space): Handle linemode here.  Optimize for cpplib.
20097         (skip_white_space_on_line): Remove.
20098         (extend_token_buffer_to): New fn.
20099         (extend_token_buffer): Use it.
20100         (read_line_number, check_newline): Just deal with tokens.
20101         (token_getch, token_put_back): New fns.
20102         (yylex): Use them.  More cpplib optimizations.  Simplify.
20103
20104 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20105                           Jason Merrill  <jason@yorick.cygnus.com>
20106
20107         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
20108         (consume_string): Make this smart about USE_CPPLIB.
20109         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
20110         (yylex): Rewrite to be intelligent about USE_CPPLIB.
20111         Also, clean up cases where we redundantly set token_buffer[0].
20112         (read_line_number): New fn.
20113         (ignore_escape_flag): New variable.
20114
20115 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
20116
20117         * a29k/t-a29kbare: Fix some comments.
20118         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
20119         (FPBIT, DPBIT): Define.
20120         * a29k/t-vx29k: Likewise.
20121         * arc/t-arc: Likewise.
20122         * arm/t-arm-elf: Likewise.
20123         * arm/t-bare: Likewise.
20124         * arm/t-pe: Likewise.
20125         * arm/t-pe-thumb: Likewise.
20126         * arm/t-semi: Likewise.
20127         * arm/t-thumb: Likewise.
20128         * arm/t-thumb-elf: Likewise.
20129         * arm/t-thumb-linux: Likewise.
20130         * h8300/t-h8300: Likewise.
20131         * i960/t-i960: Likewise.
20132         * i960/t-vxworks960: Likewise.
20133         * m32r/t-m32r: Likewise.
20134         * mips/t-ecoff: Likewise.
20135         * mips/t-elf: Likewise.
20136         * mips/t-r3900: Likewise.
20137         * pa/t-pro: Likewise.
20138         * rs6000/t-aix43: Likewise.
20139         * rs6000/t-beos: Likewise.
20140         * rs6000/t-newas: Likewise.
20141         * rs6000/t-ppccomm: Likewise.
20142         * rs6000/t-rs6000: Likewise.
20143         * rs6000/t-winnt: Likewise.
20144         * rs6000/t-xnewas: Likewise.
20145         * rs6000/t-xrs6000: Likewise.
20146         * sh/t-sh: Likewise.
20147         * sparc/t-elf: Likewise.
20148         * sparc/t-sparcbare: Likewise.
20149         * sparc/t-sparclite: Likewise.
20150         * sparc/t-splet: Likewise.
20151         * v850/t-v850: Likewise.
20152         * mn10200/t-mn10200: Fix comments.
20153         * mn10300/t-mn10300: Likewise.
20154
20155         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
20156         dummy operand.  Allocate a new pseudo for the dummy operand.
20157         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
20158
20159         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
20160
20161 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
20162
20163         * configure: Rebuilt.
20164         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
20165
20166 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
20167
20168         * recog.c (preproces_constraints): Zero recog_op_alt before
20169         processing the constraints.
20170
20171         * arm.c (typedef minipool_node): Renamed from pool_node.
20172         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
20173         (add_minipool_constant): New function.
20174         (dump_minipool): New function.
20175         (find_barrier): Remove special case for getting the insn size of
20176         an insn that references the constant pool.
20177         (minipool_fixup): New structure.
20178         (push_minipool_barrier): New function.
20179         (push_minipool_fix): New function.
20180         (note_invalid_constants): New function.
20181         (add_pool_constant, dump_table, fixit, broken_move): Delete.
20182         (arm_reorg): Rewrite code to fix up the constant pool into a
20183         series of mini-pools embedded in the insn stream.
20184         (arm_output_epilogue): New function, made mainly from the body
20185         of output_func_epilogue.
20186         (output_func_epilogue): Move insn generation part of epilogue code
20187         to arm_output_epilogue.
20188         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
20189         * arm.md (pool_range): New attribute.
20190         (zero_extendqidi2): Add attribute pool_range.
20191         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
20192         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
20193         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
20194         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
20195         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
20196         (epilogue): New expand.
20197         (epilogue_insn): New insn.  Call arm_output_epilogue.
20198
20199         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
20200         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
20201
20202 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20203
20204         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20205
20206 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
20207
20208         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
20209
20210 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
20211
20212         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
20213
20214 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
20215
20216         * global.c: Fix comment.
20217
20218 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
20219
20220         * gcc.c (access_check): New static function.
20221         (find_a_file): Use it when searching a directory list.
20222         * collect2.c (find_a_file): Don't accept directories found when
20223         searching a directory list.
20224
20225 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
20226
20227         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
20228         function parameters with `&'.
20229         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
20230
20231 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
20232
20233         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
20234         or tidy_fallthru_edge if the last insn in the block is not
20235         an unconditional jump or a simple conditional jump.
20236
20237 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20238
20239         * Makefile.in (c-decl.o): Depends on defaults.h.
20240
20241 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
20242
20243         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
20244         PA1.1 and above.
20245         (CLASS_MAX_NREGS): Likewise.
20246
20247 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
20248
20249         * cse.c (cse_insn): Fix dumb thinko in last change.
20250
20251 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20252
20253         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
20254         "const char *".
20255
20256 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
20257
20258         * dwarf2out.c (add_location_or_const_value_attribute): Correct
20259         test for sizes of passed and declared parameter types.
20260
20261 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20262
20263         * fixincludes: Fix the return type of bsearch, char* -> void*.
20264
20265         * fixinc/inclhack.def: Likewise.
20266
20267 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
20268
20269         * invoke.texi (-fdump-translation-unit): New option.
20270
20271 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
20272
20273         * expr.h (PROMOTE_PROTOTYPES): Move ...
20274         * defaults.h: ... to here.
20275         * c-decl.c: Include defaults.h instead of expr.h.
20276         * c-typeck.c: Include defaults.h.
20277
20278 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
20279
20280         * toplev.h (errorcount): Declare.
20281         (warningcount): Likewise.
20282         (sorrycount): Likewise.
20283         * c-lex.c (errorcount): Don't declare.
20284         * dwarf2out.c (errorcount): Don't declare.
20285
20286 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
20287
20288         * config/libgloss.h: Add a note discouraging use with ELF.
20289         * configure.in: Don't use libgloss.h for ELF targets.
20290         Always use_collect2 on a.out targets.
20291
20292 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
20293
20294         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
20295         (force_to_mode, case ASHIFTRT): Add shiftrt label.
20296
20297 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20298
20299         * loop.c (strength_reduce): When doing biv->giv conversion, update
20300         reg note of NEXT->insn.
20301
20302 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20303
20304         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
20305
20306 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20307
20308         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
20309         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
20310         Ensure expr.h is included.
20311         * c-typecheck.c (convert_arguments): Ditto.
20312
20313         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
20314
20315         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
20316         * config/convex/convex.h: Ditto.
20317         * config/dsp16xx/dsp16xx.h: Ditto.
20318         * config/fx80/fx80.h: Ditto.
20319         * config/gmicro/gmicro.h: Ditto.
20320         * config/i370/i370.h: Ditto.
20321         * config/i386/i386.h: Ditto.
20322         * config/m32r/m32r.h: Ditto.
20323         * config/m68k/m68k.h: Ditto.
20324         * config/m88k/m88k.h: Ditto.
20325         * config/mips/mips.h: Ditto.
20326         * config/pa/pa.h: Ditto.
20327         * config/pyr/pyr.h: Ditto.
20328         * config/tahoe/tahoe.h: Ditto.
20329         * config/we32k/we32k.h: Ditto.
20330
20331         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
20332         based on arch size.
20333
20334         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
20335
20336         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
20337         from comment.
20338
20339         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
20340
20341 1999-08-02  Richard Henderson  <rth@cygnus.com>
20342
20343         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
20344         for the register spill block.
20345         (m32r_va_arg): New.
20346         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
20347         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
20348
20349         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
20350         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
20351         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
20352
20353 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20354
20355         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
20356         MAX_WCHAR_TYPE defined in sparc.h.
20357         * config/sparc/linuxaout.h: Likewise.
20358         * config/sparc/linux64.h: Likewise.
20359         Also default to -mvis if CPU is UltraSPARC.
20360
20361 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20362
20363         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
20364         (RTX_OK_FOR_OLO10): Likewise.
20365         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
20366         %lo(), allow it in addresses...
20367         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
20368         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
20369         does not make sense.
20370         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
20371         (sparc_output_scratch_registers): New function.
20372         (output_function_prologue, sparc_flat_output_function_prologue): Use
20373         it.
20374         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
20375         defined.
20376         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
20377         * configure.in: Add check for .register pseudo-op support in as and
20378         check for offsetable %lo().
20379         * acconfig.h: Add templates for the above checks.
20380         * configure: Regenerate.
20381
20382 1999-08-02  Richard Henderson  <rth@cygnus.com>
20383
20384         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
20385         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
20386         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
20387
20388 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20389
20390         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20391         reg_biv_class.
20392
20393 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20394
20395         * config/float-sparc.h: New file.
20396         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
20397         sparc-*-linux-gnu and sparc64-*-linux*.
20398
20399 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20400
20401         * rs6000.c (rs6000_va_list): Type is an array.
20402         (rs6000_va_start): Don't doubly adjust for varargs.
20403         (rs6000_va_arg): Evaluate long long GPR adjustment.
20404
20405 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
20406
20407         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
20408         -maix64 and -maix32.
20409         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
20410         LINK_SPEC): Change appropriately.
20411         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
20412         (u_short_cint_operand): Likewise.
20413         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
20414         for 64-bit hosts.
20415         * rs6000/t-aix43 (MULTILIB): Change to -m64.
20416
20417         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
20418
20419 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
20420
20421         * rs6000/rs6000.c (num_insns_constant_wide): Correct
20422         for type promotion.
20423         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
20424         (non_add_cint_operand): Likewise.
20425         (logical_operand): Likewise.
20426         (non_logical_cint_operand): Likewise.
20427         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
20428         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
20429         (rs6000_select_rtx_section): Suppress warning.
20430         (small_data_operand): Suppress warning.
20431         (rs6000_got_register): Suppress warning.
20432         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
20433         type, so `J' is generally the wrong constraint for a SImode value;
20434         use `L' instead.
20435         (andsi3_internal2): Likewise.
20436         (andsi3_internal3): Likewise.
20437         (iorsi3_internal1): Likewise.
20438         (xorsi3_internal1): Likewise.
20439         (movsi): Likewise.
20440         (movsf_softfloat): Likewise.
20441         (scc insns): Likewise.
20442         (movsi+2): Preserve sign bits of SImode constant.
20443         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
20444         (movdf+1): Sign-extend properly.
20445         (movdi_32+1): Sign-extend properly.
20446         (scc insns): Sign-extend properly.
20447
20448         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
20449         K, L, and T.
20450
20451 1999-08-02  Richard Henderson  <rth@cygnus.com>
20452
20453         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
20454         -mcpu parsing code.
20455         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
20456         * alpha.md (all fp insns): Likewise.
20457
20458 1999-08-02  Nick Clifton  <nickc@cygnus.com>
20459
20460         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
20461         already defined.
20462
20463 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
20464
20465         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
20466         pic_load_label generator directly.
20467         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
20468         No longer a named pattern.
20469
20470 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
20471
20472         * explow.c (force_reg): Call force_operand if X does not
20473         satisfy general_operand.
20474
20475 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
20476
20477         * fix-header.c (main): When testing for CONTINUED, use string
20478         equality, not pointer equality.
20479
20480 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
20481
20482         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
20483
20484 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
20485
20486         * cse.c (cse_insn): Fix loop which deletes insns after a jump
20487         that has become an unconditional jump.
20488
20489         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
20490         (output_function_epilogue): Similarly.
20491
20492 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20493
20494         * tree.h (init_dummy_function_start): Declare.
20495
20496 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20497
20498         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
20499         last_expr_type, last_expr_value, block_start_count, block_stack,
20500         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
20501         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
20502         dynamically in stmt elt of struct function for each function.
20503         (struct nesting): Rename function_call_count elt to n_function_calls,
20504         target_temp_slot_level to block_target_temp_slot_level.  All users
20505         changed.
20506         (struct stmt_status): New structure definition.
20507         Add many accessor macros for stmt_status elements which previously
20508         were global variables.
20509         (init_stmt_for_function): Allocate stmt elt for current_function.
20510         Reflect that block_start_count was renamed to
20511         current_block_start_count.
20512         (save_stmt_status, restore_stmt_status): Delete functions.
20513         (preserve_subexpressions_p): Don't access loop_stack when outside
20514         a function.
20515         (expand_start_bindings): Reflect that block_start_count was renamed to
20516         current_block_start_count.
20517         (expand_fixup): Likewise.
20518         (expand_decl): Don't access block_stack when outside a function.
20519         (expand_decl_cleanup): Likewise.
20520         (expand_dcc_cleanup): Likewise.
20521         (expand_dhc_cleanup): Likewise.
20522         (expand_anon_union_decl): Likewise.
20523         (set_file_and_line_for_stmt): New function.
20524         (in_control_zone_p): New function.
20525
20526         * function.h (struct function): Add new elt stmt.
20527         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
20528         case_stack, nesting_stack, nesting_depth, block_start_count,
20529         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
20530         emit_lineno, goto_fixup_chain.
20531         (save_eh_status, restore_eh_status, save_stmt_status,
20532         restore_stmt_status): Delete declarations.
20533         * function.c (push_function_context_to): Don't call save_stmt_status.
20534         (pop_function_context_to): Don't call restore_stmt_status.
20535         * tree.h (in_control_zone_p): Declare.
20536         * rtl.h (set_file_and_line_for_stmt): Declare.
20537
20538         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
20539         call set_file_and_line_for_stmt.
20540
20541 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
20542
20543         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
20544         Also update copyright.
20545
20546 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20547
20548         * c-pragma.c: Don't include "except.h".
20549         * emit-rtl.c: Likewise.
20550         * stor-layout.c: Likewise.
20551         * tree.c: Likewise.
20552         * varasm.c: Likewise.
20553
20554         * flow.c: Include "function.h".
20555         * tree.h (init_dummy_function_start): Declare new function.
20556
20557         * except.h (struct eh_status): New structure.
20558         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
20559         been included.
20560         (eh_return_stub_label, ehstack, catchstack, ehqueue,
20561         catch_clauses, false_label_stack, caught_return_label_stack,
20562         protect_list, current_function_ehc): Add accessor macros for the
20563         corresponding fields in current_function->eh; delete declarations
20564         for all items that used to be declared here.
20565         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
20566         catch_clauses, false_label_stack, caught_return_label_stack,
20567         protect_list, current_function_ehc): Delete variables.
20568         (init_eh_for_function): Allocate current_function->eh.
20569         (save_eh_status, restore_eh_status): Delete functions.
20570
20571         * function.h (struct function): Add fields next_global and eh.
20572         Delete all exception handling related fields.
20573         * function.c (current_function): New variable.
20574         (all_functions): New variable.
20575         (push_function_context_to): Don't allocate a struct function,
20576         use current_function instead.  Call init_dummy_function_start when
20577         outside a function.  Clear current_function before returning.
20578         (pop_function_context_from): Restore current_function.
20579         Don't free the restored struct function.
20580         (prepare_function_start): New function.
20581         (init_dummy_function_start): New function.
20582         (init_function_start): Break out some code into prepare_function_start
20583         and call it here.
20584
20585         * stmt.c (save_stmt_status): Don't call save_eh_status.
20586         (restore_stmt_status): Don't call restore_eh_status.
20587
20588         * Makefile.in: Update dependencies.
20589
20590 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
20591
20592         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
20593         of depending on a magic constant value.  Update comments.
20594         (hppa_expand_prologue): Similarly.
20595
20596         * pa.md (reload_indi, reload_outdi): Allow any register for the
20597         original reload register.
20598
20599 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
20600
20601         * cccp.c (print_help): Change marcos to macros.
20602
20603 1999-07-30  Richard Henderson  <rth@cygnus.com>
20604
20605         * c-typeck.c (initializer_constant_valid_p): Move ...
20606         * c-common.c (initializer_constant_valid_p): ... here.  Use
20607         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
20608         of label addresses.
20609         * c-common.h (initializer_constant_valid_p): Declare.
20610         * c-tree.h (initializer_constant_valid_p): Remove.
20611
20612 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
20613
20614         * config/i386/sol2-c1.asm: Align the stack.
20615         * config/i386/sol2-gc1.asm: Likewise.
20616
20617 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
20618
20619         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
20620         -Asparclite for sparc86x.
20621         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
20622         sparc86x.
20623         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
20624
20625 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
20626
20627         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
20628         the user if using the non-default arch size in BI_ARCH configuration.
20629         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
20630
20631         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
20632         Fix patterns so that they actually match.
20633         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
20634         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
20635         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
20636         TARGET_HARD_MUL32.
20637         (mulsidi3): Reflect this in the expand.
20638         (smulsi3_highpart): Only on TARGET_ARCH32.
20639         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
20640         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
20641         (umulsidi3): Reflect this in the expand.
20642         (umulsi3_highpart): Only on TARGET_ARCH32.
20643         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
20644         don't require g0 to be zero.
20645         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
20646         ({,u}divsi3): New expands.
20647         ({,u}divsi3_sp64): New patterns.
20648         (after lshrdi3_v8plus): Four new patterns to help combiner
20649         optimizing nested mixed mode shifts.
20650
20651         * config/sparc/sparc.c (sparc_override_options): Use deprecated
20652         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
20653         speed things up. Don't use them by default on plain v9 in 64bit
20654         mode, according to what SPAMv9 sais.
20655
20656         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
20657         top 32 bits of %[og][0-7] in signal handlers.
20658         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
20659
20660 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
20661
20662         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
20663         (ashlsi3): Corresponding changes.
20664
20665         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
20666
20667 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
20668
20669         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
20670
20671 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20672
20673         * arm.h (Hint): Delete macro.
20674         Substitute HOST_WIDE_INT for Hint in some prototypes.
20675         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
20676
20677 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
20678
20679         * builtins.c (expand_builtin_setjmp): Use force_operand to
20680         make sure that the buffer address is in a suitable form to be
20681         passed to force_reg.
20682
20683 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
20684
20685         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
20686         them here.
20687
20688 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
20689
20690         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
20691         proper mode in the condition string.
20692         (icacheflush, dcacheflush): Remove modes from match_operands.
20693
20694         * pa.c (emit_move_sequence): Always convert scratch_reg to the
20695         proper mode before using it.
20696
20697         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
20698         pair.
20699
20700         * pa.c (store_reg): Do not call add_high_const generator directly.
20701         (load_reg, set_reg_plus_d): Likewise.
20702         * pa.md (add_high_const): No longer a named pattern.
20703
20704         * pa.c (legitimize_address): Consistently use Pmode rather than
20705         SImode.  Do not call gen_pic2_highpart directly anymore.
20706         * pa.md (pic2_highpart): No longer a named pattern.
20707         (pic2_lo_sum): Similarly.  Reformat to make more readable.
20708
20709         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
20710         needed.
20711
20712         * README: Update.
20713
20714 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20715
20716         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
20717
20718 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
20719
20720         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
20721         and tag the spill mems.
20722         (hppa_va_start): New.
20723         (hppa_va_arg): New.
20724         * pa.h (EXPAND_BUILTIN_VA_START): New.
20725         (EXPAND_BUILTIN_VA_ARG): New.
20726
20727 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
20728
20729         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
20730         and tag the spill mems.
20731         (mn10300_va_start): New.
20732         (mn10300_va_arg): New.
20733         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
20734         (EXPAND_BUILTIN_VA_ARG): New.
20735
20736 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
20737
20738         * mn10200.c (mn10200_va_arg): New.
20739         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
20740
20741 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
20742
20743         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
20744         rather than play with TREE_INT_CST_LOW.
20745
20746 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
20747
20748         * config/arm/telf.h: Include dbxelf.h.
20749         (CPP_PREDEFINES): Only define if not already defined.
20750         (ASM_IDENTIFY_GCC): Likewise.
20751         (SUBTARGET_EXTRA_SECTIONS): Likewise.
20752         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
20753         * config/arm/thumb.h (LINK_SPEC): Only define if not already
20754         defined.
20755         (DBX_DEBUGGING_INFO): Don't define.
20756         * config/arm/linux-telf.h: New file.
20757         * config/arm/linux-tgas.h: New file.
20758         * config/arm/t-thumb-linux: New file.
20759         * config/arm/uclinux-elf.h: New file.
20760         * config/arm/uclinux-telf.h: New file.
20761         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
20762         thumb-*-uclinux): New targets.
20763         * configure: Regenerate.
20764
20765 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
20766
20767         * pa.md (post_store, pre_load): New expanders.
20768         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
20769         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
20770         need to directly generate RTL for them.
20771         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
20772         changes.
20773
20774 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
20775
20776         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
20777         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
20778         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
20779         (secndary_reload_class): Make TARGET_ELF conditional compile.
20780         (print_operand_address): Similar.
20781         (output_toc): Print all values as hex.
20782         (get_issue_rate): Rearrange and add RS64A and PPC630.
20783         * rs6000.h (processor_type): Add RS64A and PPC630.
20784         (PROCESSOR_POWERPC64): New.
20785         (PROMOTE_MODE): Use word_mode.
20786         (RTX_COSTS): Add RS64A and PPC630.
20787         * rs6000.md (scheduling information): Add lmul and ldiv
20788         representing 64-bit integer multiply and divide.  Add rs64a and
20789         PPC630 information.
20790         (ashldi3): Add support for "rldic" instruction.
20791         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
20792
20793 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
20794
20795         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
20796         instead of V8 for sparclite86x in cpu_table.
20797
20798 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20799
20800         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
20801         output_file_directive.
20802
20803 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
20804
20805         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
20806         tree for op1, not the rtl.
20807
20808 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
20809
20810         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
20811         to m88k_va_start, leaving only the register spill.
20812         (m88k_build_va_list): New.
20813         (m88k_va_start): New.
20814         (m88k_va_arg): New.
20815         * m88k.h (BUILD_VA_LIST_TYPE): New.
20816         (EXPAND_BUILTIN_VA_START): New.
20817         (EXPAND_BUILTIN_VA_ARG): New.
20818
20819 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
20820
20821         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
20822         Rename from expand_builtin_saveregs.
20823         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
20824
20825 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
20826
20827         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
20828         for the register spill block.
20829         (i960_build_va_list): New.
20830         (i960_va_start): New.
20831         (i960_va_arg): New.
20832         * i960.h (BUILD_VA_LIST_TYPE): New.
20833         (EXPAND_BUILTIN_VA_START): New.
20834         (EXPAND_BUILTIN_VA_ARG): New.
20835         * i960.md (store_multiple): Use change_address on individul mems.
20836
20837 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
20838
20839         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
20840         an ARRAY_TYPE.
20841         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
20842         (expand_builtin_va_end): Evaluate arg for side effects.
20843         * c-common.c (c_common_nodes_and_builtins): Construct a
20844         va_list_arg_type_node to handle array decomposition to pointer.
20845
20846 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
20847
20848         * except.c (st_dynamic_cleanup): Use force_operand on the
20849         buffer's address.
20850
20851 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
20852
20853         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
20854         * c4x.c (c4x_va_arg): New.
20855
20856 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
20857
20858         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
20859         has manual_pop set.
20860
20861 1999-07-26  Nathan Sidwell  <nathan@acm.org>
20862
20863         * eh-common.h (__eh_matcher): Prototype correctly.
20864
20865 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
20866
20867         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
20868         (TARGET_SINGLE_PIC_BASE): Likewise.
20869         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
20870         definitions.
20871         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
20872         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
20873         (TARGET_OPTIONS): Add -mpic-register=N.
20874         (OUTPUT_INT_ADDR_CONST): New macro.
20875         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
20876         LEGITIMATE_PIC_OPERAND_P): Likewise.
20877         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
20878         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
20879         output_addr_const directly.
20880         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
20881         ARM port.
20882         (thumb_pic_register, thumb_pic_register_string): Declare.
20883
20884         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
20885         from arm.c.
20886         (label_mentioned_p): New function: Imported from arm.c.
20887         (legitimize_pic_address): New function: Imported from arm.c.
20888         (is_pic):New function: Imported from arm.c.
20889         (thumb_finalize_pic):New function: Imported from arm.c.
20890         (add_constant): Cope with PIC constants.
20891         (fixit): Cope with PIC constants.
20892         (output_return): Do not treat the PIC register as live if
20893         TARGET_SINGLE_PIC_BASE is true.
20894         (thumb_function_prologue): Do not treat the PIC register as live if
20895         TARGET_SINGLE_PIC_BASE is true.
20896         (thumb_expand_prologue): Do not treat the PIC register as live if
20897         TARGET_SINGLE_PIC_BASE is true.
20898         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
20899         TARGET_SINGLE_PIC_BASE is true.
20900         (thumb_print_operand): Accept '|'.
20901         (thumb_override_options): Process PIC options.
20902
20903         * config/arm/thumb.md (movsi): Support PIC.
20904         (call_insn): Change "i" constraint to "X".
20905         (call_value_insn): Likewise.
20906         (consttable_4, consttable_8, consttable_end): Set and clear
20907         "making_const_table" as appropriate.
20908         (pic_load_addr, pic_add_dot_plus_four): New insns.
20909
20910         * invoke.texi (Thumb Options): Fix spelling.  Document new
20911         options -msingle-pic-base and -mpic-register=.
20912
20913 1999-07-26  Andrew Haley  <aph@cygnus.com>
20914
20915         * config/m32r/initfini.c (__init): Use a full word immediate for
20916         __fini: this allows it to be placed in any memory region.
20917
20918         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
20919         -mmodel=medium.  This is OK for all memory models.
20920
20921 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
20922
20923         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
20924         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
20925
20926 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
20927
20928         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
20929         defined.
20930
20931         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
20932
20933 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
20934
20935         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
20936         (BUILD_VA_LIST_TYPE): New.
20937         (EXPAND_BUILTIN_VA_START): New.
20938         (EXPAND_BUILTIN_VA_ARG): New.
20939         * i860.c (output_delayed_branch): Disable.
20940         (output_delay_insn): Likewise.
20941         (i860_saveregs): New.
20942         (i860_build_va_list): New.
20943         (i860_va_start): New.
20944         (i860_va_arg): New.
20945         * i860.md: Disable all peepholes using output_delayed_branch.
20946         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
20947
20948 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
20949
20950         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
20951         (BUILD_VA_LIST_TYPE): New.
20952         (EXPAND_BUILTIN_VA_START): New.
20953         (EXPAND_BUILTIN_VA_ARG): New.
20954         * clipper.c (clipper_builtin_saveregs): Only dump registers.
20955         Return the address of the save area.
20956         (clipper_build_va_list): New.
20957         (clipper_va_start): New.
20958         (clipper_va_arg): New.
20959
20960 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
20961
20962         * arc.h (EXPAND_BUILTIN_VA_START): New.
20963         (EXPAND_BUILTIN_VA_ARG): New.
20964         * arc.c (arc_setup_incoming_varargs): Set alias set of
20965         varargs save area.
20966         (arc_va_start): New.
20967         (arc_va_arg): New.
20968
20969 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
20970
20971         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
20972         (BUILD_VA_LIST_TYPE): New.
20973         (EXPAND_BUILTIN_VA_START): New.
20974         (EXPAND_BUILTIN_VA_ARG): New.
20975         * alpha.c (alpha_builtin_saveregs): Delete.
20976         (alpha_build_va_list): New.
20977         (alpha_va_start): New.
20978         (alpha_va_arg): New.
20979
20980 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
20981
20982         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
20983         column zero.
20984         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
20985         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
20986
20987         * gcc.texi: More changes related to list conversion.
20988         * invoke.texi: Likewise.
20989
20990 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
20991
20992         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
20993         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
20994         (expand_builtin_next_arg): Accept ARGLIST not EXP.
20995         (stabilize_va_list): New function.
20996         (std_expand_builtin_va_start): New function.
20997         (expand_builtin_va_start): New function.
20998         (get_varargs_alias_set): New function.
20999         (std_expand_builtin_va_arg): New function.
21000         (expand_builtin_va_arg): New function.
21001         (expand_builtin_va_end): New function.
21002         (expand_builtin_va_copy): New function.
21003         (expand_builtin): Call them.
21004         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
21005         __builtin_{varargs_start,stdarg_start,end,copy}.
21006         (build_va_arg): New function.
21007         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
21008         (build_va_arg): Declare.
21009         * c-decl.c (ptr_type_node, va_list_type_node): New.
21010         * c-parse.gperf (__builtin_va_arg): New.
21011         * c-parse.in (VA_ARG): New token.
21012         (unary_expr): Recognize it.
21013         * expr.c (expand_expr): Expand VA_ARG_EXPR.
21014         * expr.h (std_expand_builtin_va_start): Declare.
21015         (std_expand_builtin_va_arg): Declare.
21016         (expand_builtin_va_arg): Declare.
21017         (get_varargs_alias_set): Declare.
21018         * tree.def (VA_ARG_EXPR): New.
21019         * tree.h (BUILT_IN_VARARGS_START): New.
21020         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
21021         (ptr_type_node, va_list_type_node): Declare.
21022         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
21023         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
21024         * m88k.h, m88k.c: Likewise.
21025         * mn10300.h, mn10300.c: Likewise.
21026         * pa.h, pa.c: Likewise.
21027         * rs6000.h, rs6000.c: Likewise.
21028         * sh.h, sh.c: Likewise.
21029         * sparc.h, sparc.c: Likewise.
21030
21031         * emit-rtl.c (operand_subword): Copy alias set.
21032         (change_address): Likewise.
21033
21034 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
21035
21036         * pa.c (compute_frame_size): Scan all the used callee saved registers,
21037         not just the first one.
21038
21039 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
21040
21041         * config/arm/arm.h (TARGET_SWITCHES): Add
21042         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
21043         (TARGET_OPTIONS): Add -mpic-register=.
21044         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
21045         (arm_pic_register_string): Declare.
21046         (NEED_PLT_GOT): Delete, replace with ...
21047         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
21048         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
21049         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
21050         * config/arm/arm.c (arm_override_options): Add new option
21051         -mpic-register=N.
21052         (arm_pic_register_string): New variable.
21053         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
21054         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
21055         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
21056         (output_return_instruction): Likewise.
21057         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
21058         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
21059         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
21060
21061         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
21062         mention of -msched-prolog.  Document new options -msingle-pic-base
21063         and -mpic-register=.
21064
21065 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
21066
21067         * haifa-sched.c (reemit_notes): Tidy.
21068         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
21069         haifa's routine.
21070
21071 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
21072
21073         * explow.c (trunc_int_for_mode): New function.
21074         (plus_constant_wide): Use it.
21075         * combine.c (simplify_and_const_int): Likewise.
21076         (merge_outer_ops): Likewise.
21077         (simplify_shift_const): Likewise.
21078         * cse.c (simplify_unary_operation): Likewise.
21079         (simplify_binary_operation): Likewise.
21080         * emit-rtl.c (operand_subword): Likewise.
21081         * rtl.h: Declare it.
21082
21083 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21084
21085         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
21086         (use NUM_REGS instead of NUM_INTS).
21087
21088 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21089
21090         * builtins.c: New file.
21091         * expr.c (saveregs_value, apply_args_value):  Delete definition,
21092         moved into builtins.c.
21093         (string_constant): No longer static.
21094         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
21095         apply_args_size, apply_result_size, result_vector,
21096         expand_builtin_apply_args, expand_builtin_apply,
21097         expand_builtin_return): Delete functions, moved into builtins.c.
21098         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
21099         * expr.h (saveregs_value, apply_args_value): Declare variables.
21100         (expand_builtin, string_constant): Declare functions.
21101         * Makefile.in: Update to build builtin.o.
21102
21103 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
21104
21105         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
21106         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
21107         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
21108         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
21109         false.
21110         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
21111         Define to zero.
21112
21113 1999-07-21  Michael Meissner  <meissner@cygnus.com>
21114
21115         * print-rtl.c (print_rtx): Print the names of the virtual
21116         registers.
21117
21118 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
21119
21120         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
21121         introduced in previous delta.
21122
21123 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21124
21125         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
21126         to avoid name clash.
21127
21128 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21129
21130         * c-lex.c (yylex) : Correct the test for overflow when lexing
21131         integer literals.
21132
21133 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
21134
21135         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
21136         (adjust_priority): Always call ADJUST_PRIORITY.
21137         (schedule_insn): Only put insns into the ready at cost 0.
21138         (schedule_block): Remove redundant initial sort.  Give clock_var
21139         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
21140         is not 0.
21141         * tm.texi (MD_SCHED_REORDER): Update docs.
21142
21143         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
21144         * sparc.c (ultra_reorder_called_this_block): Delete.
21145         (ultrasparc_sched_init): Don't set it.
21146         (ultrasparc_sched_reorder): Don't check it.
21147
21148 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
21149
21150         * rs6000.h (struct rs6000_args): Add sysv_gregno.
21151         * rs6000.c (init_cumulative_args): Init sysv_gregno.
21152         (function_arg_boundary): Align DFmode.
21153         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
21154         to get fp reg and stack overflow correct.
21155         (function_arg): Likewise.
21156         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
21157         (setup_incoming_varargs): Restructure for ABI_V4; use
21158         function_arg_advance to skip final named argument.
21159         (expand_builtin_saveregs): Properly unskip the last integer arg
21160         when doing varargs.  Adjust overflow location calculation.
21161
21162         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
21163         explicitly unsigned.
21164         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
21165         (__VA_GP_REGSAVE): Similarly.
21166         (__va_longlong_p): Delete.
21167         (__va_arg_type_violation): New declaration.
21168         (va_arg): Restructure.  Flag promotion errors.  Align double.
21169         TFmode passed by reference.
21170
21171         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
21172         in the HOST_BITS_PER_WIDE_INT > 32 case.
21173
21174 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
21175
21176         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
21177
21178 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
21179
21180         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
21181         * toplev.c (documented_lang_options): Add -fpreprocessed.
21182         * cpplib.h (struct cpp_buffer): Add preprocessed.
21183         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
21184         (cpp_start_read): Don't expand macros or emit an initial #line
21185         directive if -fpreprocessed.
21186
21187 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21188
21189         * cpplib.h (struct cpp_buffer): Added manual_pop for
21190         better C++ tokenization.
21191         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
21192         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
21193         * c-common.c (cpp_token): Make non-static.
21194
21195 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21196
21197         * c-common.h: New file.
21198         * c-common.c (permanent_obstack): Delete unused declaration.
21199         (c_global_trees): New array.
21200         (c_common_nodes_and_builtins): New function; split off common code
21201         from init_decl_processing in both c-decl.c and cp/decl.c.
21202         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
21203         c_global_trees and accessor macros defined in c-common.h.
21204         Include c-common.h.
21205         * c-decl.c: Delete definitions for tree nodes that were replaced by
21206         c_global_trees.
21207         (init_decl_processing): Build void_list_node.
21208         Call c_common_nodes_and_builtins; delete code to generate the common
21209         builtins here.
21210         * objc/objc-act.c (build_module_descriptor): Rename variable
21211         void_list_node to avoid clash with c-common.h.
21212
21213         * Makefile.in: Update dependencies.
21214         * objc/Make-lang.in: Likewise.
21215
21216 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
21217
21218         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
21219         (UNIQUE_SECTION_P): Likewise.
21220         (UNIQUE_SECTION): Likewise.
21221
21222 1999-07-19  Linas Vepstas  <linas@linas.org>
21223
21224         * config/i370/README: New file.
21225         * config/i370/linux.h: New file.
21226         * config/i370/mvs.h: New file.
21227         * config/i370/oe.h: New file.
21228         * config/i370/t-linux: New file.
21229         * config/i370/t-mvs: New file.
21230         * config/i370/t-oe: New file.
21231         * config/i370/x-oe: New file.
21232         * config/i370/xm-linux.h: New file.
21233         * config/i370/xm-mvs.h: New file.
21234         * config/i370/xm-oe.h: New file.
21235
21236         * i370.c (label_node_t): Add first_ref_page, label_addr,
21237         label_first_ref, label_last_ref members.
21238         (mvs_need_base_reload): Renamed from mvs_label_emitted.
21239         (MAX_MVS_LABEL_SIZE): Define.
21240         (MAX_LONG_LABEL_SIZE): Define.
21241         (alias_node_t, alias_anchor, alias_number): New.
21242         (mvs_function_table): Reorder for EBCDIC.
21243         (ascebc, ebcasc): Unconditionally define.
21244         (i370_branch_dest, i370_branch_length): New functions.
21245         (i370_short_branch, i370_label_scan): New functions.
21246         (mvs_get_label): Renamed from mvs_add_label.  Search for
21247         an existing label before creating a new one.
21248         (mvs_add_label): New function.
21249         (mvs_get_label_page): New function.
21250         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
21251         over the entire list.
21252         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
21253         (mvs_check_page) [TARGET_ELF_ABI]: New function.
21254         (mvs_add_alias, mvs_need_alias): New functions.
21255         (mvs_get_alias, mvs_check_alias): New functions.
21256         (handle_pragma): New function.
21257         (mvs_function_check): New function.
21258         (unsigned_jump_follows_p): Search harder.
21259         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
21260         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
21261         * i370.h (TARGET_VERSION): Delete.
21262         (CPP_SPEC, CPP_PREDEFINES): Delete.
21263         (mvs_label_emitted): Delete.
21264         (TARGET_EBCDIC): Delete.
21265         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
21266         (HANDLE_PRAGMA): Define.
21267         (HARD_REGNO_NREGS): Handle complex modes.
21268         (HARD_REGNO_MODE_OK): Likewise.
21269         (CLASS_MAX_NREGS): Likewise.
21270         (RET_REG): Likewise.
21271         (EXTRA_CONSTRAINT): Define.
21272         (RETURN_IN_MEMORY): True for DImode.
21273         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
21274         (FUNCTION_PROFILER): Delete.
21275         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
21276         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
21277         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
21278         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
21279         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
21280         (ASM_FILE_START): Add "RMODE ANY".
21281         (ASM_OUTPUT_EXTERNAL): Check for aliases.
21282         (ASM_GLOBALIZE_LABEL): Likewise.
21283         (ASM_OUTPUT_LABELREF): Likewise.
21284         (ASM_OUTPUT_COMMON): Likewise.
21285         (PRINT_OPERAND): Handle 'K', 'W', default.
21286         (PRINT_OPERAND_ADDRESS): New.
21287         (Lots of defines): Add support for TARGET_ELF_ABI.
21288         * i370.md (attr length): New.  Define for all patterns.
21289         (*): Lots of tweeks to assembly output and constraints.
21290
21291 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
21292
21293         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
21294         Disable patterns performing SImode comparisons with SImode values
21295         if TARGET_POWERPC64 and instruction does not sign-extend or does
21296         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
21297         differ for signed quantities.
21298         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
21299         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
21300         (decrement_and_branch_on_count): Add 64-bit variant.
21301
21302 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21303
21304         * final.c (output_asm_insn): When searching for the matching string
21305         for a given dialect, don't run past the end of the list of
21306         alternatives if there are fewer alternatives in the template than
21307         dialects.
21308
21309 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
21310
21311         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
21312         Removed paragraph about compression of files and size limitation,
21313         duplicated in the FAQ.  Use gcc-patches for posting patches.
21314         * gcc.c (main): Updated URL with bug reporting instructions to
21315         gcc.gnu.org.  Removed e-mail address.
21316         * system.h (abort): Likewise.
21317
21318 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21319
21320         * Makefile.in (stmp-multilib-sub): Make the files extracted
21321         from $(LIBGCC1) writable.
21322
21323 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
21324
21325         * config/arm/aout.h: Reformat for improved readability.
21326
21327         * config/arm/arm.h: Reformat for improved readability.
21328         Replace uses of fprintf with asm_fprintf where appropriate.
21329         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
21330         function declaration assembler actions.
21331         (NUM_INTS): New macro: Convert from bytes to words.
21332         (NUM_REGS): New macro: Compute number of registers required to
21333         hold a quanitity of tyep MODE.
21334         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
21335         types.
21336         (NUM_ARG_REGS): New macro: The number of argument registers
21337         available.
21338         (ARG_REGISTER): New macro: Compute the register number of the Nth
21339         argument register.
21340         (LAST_ARG_REGNUM): New macro: The number of the last argument
21341         register.
21342         (SP_REGNUM): New macro: Register number of the stack pointer.
21343         (FP_REGNUM): New macro: Register number of the frame pointer.
21344         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
21345         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
21346         CUMULATIVE_ARGS so that it counts registers not bytes.
21347
21348         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
21349         TARGET_INTERWORK.
21350         Replace uses of fprintf with asm_fprintf where appropriate.
21351         (output_ascii_pseudo_op): Replace with version from thumb.c
21352
21353         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
21354
21355         * config/arm/elf.h (CPP_PREDEFINES): Replace with
21356         SUBTARGET_CPP_SPEC.
21357         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
21358         (ASM_FILE_START): Emit ASM_APP_OFF.
21359
21360 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
21361
21362         * pa.c (compute_frame_size): Round frame according to
21363         STACK_BOUNDARY rather than a hardwired value.
21364
21365         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
21366
21367         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
21368         of "1".
21369         * configure: Rebuilt.
21370
21371         * configure.in (hppa*-*-linux*): New configuration.
21372         * configure: Rebuilt.
21373         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
21374         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
21375         * pa/pa-linux.h: New file.
21376         * pa/t-linux: New file.
21377         * pa/xm-linux.h: New file.
21378
21379         * pa.c (hppa_legitimize_address): Change references from SImode to
21380         either Pmode or word_mode as appropriate.
21381         (emit_move_sequence, store_reg, load_reg): Likewise.
21382         (set_reg_plus_d, hppa_expand_prologue): Likewise.
21383         (output_mul_insn): Likewise.
21384         * pa.h (PROMOTE_MODE): Likewise.
21385         (INITIALZE_TRAMPOLINE): Likewise.
21386         (Pmode): Define to word_mode.
21387
21388         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
21389         value of 4.  Allocate 8 bytes for each FP register save.
21390         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
21391         value of 4.
21392         (hppa_expand_prologue): Likewise.
21393         * pa.h (PROMOTE_MODE): Likewise.
21394         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
21395         (FUNCTION_ARG_BOUNDARY): Likewise.
21396
21397         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
21398
21399         * pa.c (out_of_line_prologue_epilogue): Delete.
21400         (override_options): Remove -mspace related code.
21401         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
21402         (compute_frame_size): Only allocate space for register that
21403         actually need to be saved.
21404         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
21405         (TARGET_SWITCHES): Remove -mspace, -mno-space
21406         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
21407         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
21408         * pa/ee.asm, pa/ee_fp.asm: Delete.
21409
21410         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
21411
21412         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
21413         directive in column zero.
21414
21415 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
21416
21417         * m68k.c (output_function_prologue): Fix computation of save mask
21418         when generating PIC code.
21419
21420 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
21421
21422         * tree.c (build_type_attribute_variant): Move current_obstack restore
21423         after build_qualified_type call.
21424
21425 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
21426
21427         * configure.in: Use t-iris6, even with GNU LD.
21428         * config/mips/iris6gld.h: Fix typo in linker spec.
21429         * config/mips/t-iris6gld: Remove.
21430
21431 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
21432
21433         * rs6000.md (insv, extzv): Remove SImode dependence in named
21434         patterns.  Explicitly generate DImode RTL if PowerPC64 and
21435         operand is DImode.
21436         (insvdi): Reverse start and size in instruction template.
21437
21438 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
21439
21440         * invoke.texi: Typo fixes.
21441
21442 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
21443
21444         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
21445         handle at this time instead of silently generating incorrect code.
21446         (gen_imagpart): Likewise.
21447
21448         * reload.c (find_reloads): Emit a USE for a pseudo register without
21449         a hard register if we could not create an optional reload for the
21450         pseudo.
21451
21452 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21453
21454         * c-typeck.c (output_init_element, process_init_element):
21455         When advancing constructor_unfilled_fields for a RECORD_TYPE,
21456         check for nameless bit fields.
21457
21458 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
21459
21460         * regclass.c (scan_one_insn): Notice subregs that change the
21461         size of their operand.
21462         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
21463
21464 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
21465
21466         * configure.in (alpha*-*-*): Include alpha/t-ieee.
21467         * configure: Rebuilt.
21468         * alpha/t-ieee: New file.
21469
21470 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
21471
21472         * rs6000.c (find_addr_reg): Do not select r0 as an address
21473         register.
21474
21475 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
21476
21477         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
21478
21479 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
21480
21481         * rs6000.md (movsf): Do not force easy FP constants into memory.
21482
21483         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
21484         immed_double_const to ensure they are properly truncated then
21485         sign extended.
21486
21487 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
21488
21489         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
21490         always unless NO_DEBUG is used.  Compile this code
21491         unconditionally.
21492         (replace_symbols_in_block): Compile it unconditionally.
21493
21494 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
21495
21496         * configure.in (i?86-*-elf*): New target.
21497         * configure: Rebuilt.
21498         * i386/i386elf.h, i386/t-i386elf: New files.
21499
21500 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21501
21502         * toplev.c (main): Don't complain about saying -gdwarf.
21503         (rest_of_compilation): Remove redundant code.
21504
21505 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
21506
21507         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
21508
21509 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
21510
21511         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
21512         "Li960R:", to avoid name clash.
21513
21514 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21515
21516         * loop.c (check_dbra_loop): When reversing a loop, delete all
21517         REG_EQUAL notes referencing the reversed biv except those which are
21518         for a giv based on it.
21519
21520 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
21521
21522         * version.c: Drop "gcc-" prefix from version #.
21523
21524 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
21525
21526         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
21527         the label if we're being verbose.
21528
21529 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
21530
21531         * m68k.c (output_function_prologue): Add pic register to mask
21532         if live and flag_pic.
21533         (output_function_epilogue): Likewise.
21534
21535 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
21536
21537         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
21538         directives in column zero.
21539
21540         * pa/elf.h (ASM_FILE_START): Define.
21541         * pa/som.h (ASM_FILE_START): Include .level directives.
21542         * pa/hpux10.h (ASM_FILE_START): Delete.
21543         * pa/hpux11.h (ASM_FILE_START): Delete.
21544
21545         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
21546
21547 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21548
21549         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
21550         when reload_out equals reload_in.
21551
21552 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
21553
21554         * invoke.texi (Spec Files): New node: Describe the contents of
21555         spec files.
21556
21557 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
21558
21559         * invoke.texi (DEC Alpha Options): Put @end table at
21560         beginning of line, to avoid confusing texi2html.
21561
21562 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
21563
21564         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
21565         introduced in previous delta.
21566
21567 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
21568
21569         * reload1.c (gen_reload): When synthesizing a 3 operand add
21570         sequence, improve test for when to reload OP1 into the reload
21571         register instead of OP0.
21572
21573 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
21574
21575         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
21576
21577 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
21578
21579         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
21580         string literal.
21581
21582 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
21583
21584         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
21585         (va_dcl): Use __builtin_va_alist_t.
21586
21587 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
21588
21589         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
21590         on the permanent_obstack.
21591         * dwarfout.c (output_type): Likewise.
21592
21593 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21594
21595         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21596         Merged from c-typeck.c and cp/typeck.c.
21597         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21598         Merged into c-common.
21599
21600 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
21601
21602         * c-lex.c (errorcount): Declare it.
21603         (finish_parse): Update errorcount when using CPPLIB.
21604
21605 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
21606
21607         * fixinc/inclhack.def(end_else_label): Double the backslash so
21608         sed gets a chance to see it.
21609         * fixinc/inclhack.sh: regen
21610         * fixinc/fixincl.x: regen
21611
21612 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
21613
21614         Add framework to support armv5 architecture when it becomes
21615         available:
21616
21617         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
21618         (arm_arch5): New variable.
21619         (all_architectures): Add armv5 line.
21620         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
21621         -march=armv5 is specified on the command line.
21622         (arm_arch5): Export this variable.
21623         * invoke.texi: Document new string accepted by -march= switch for
21624         ARM ports.
21625
21626         * config/arm/arm.h: Replace use of constant 12 as a register
21627         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
21628         * config/arm/arm.c: Replace use of constant 12 as a register
21629         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
21630
21631         * config/arm/elf.h: Tidy up.
21632         * config/arm/coff.h: Tidy up.
21633
21634 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
21635
21636         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
21637         * gcc/config/mips/t-iris6gld: New file.
21638         * gcc/config/mips/iris6gld.h: Likewise.
21639
21640 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21641
21642         * c-decl.c (widest_integer_literal_type_node,
21643         widest_unsigned_literal_type) : New.
21644         (init_decl_processing): Handle/use the two new types.
21645         * c-common.c (type_for_size,type_for_mode) : Same.
21646         * c-lex.c (yylex) : Same.
21647         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21648         Same.
21649         * c-tree.h (widest_integer_literal_type_node,
21650         widest_unsigned_literal_type) : New.
21651
21652 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
21653
21654         * dwarfout.c (field_byte_offset): Correctly compute the object's
21655         byte offset for the first bit of a field which crosses an alignment
21656         boundary on a !BYTES_BIG_ENDIAN target.
21657
21658 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
21659
21660         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
21661         ntohs.
21662
21663 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
21664                           Jeff Law <law@cygnus.com>
21665
21666         * ginclude/varargs.h (va_dcl): Use word_mode for type of
21667         __builtin_va_list.
21668
21669         * except.c: Include intl.h.
21670         (expand_eh_return): Set current_function_cannot_inline.
21671         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
21672         * function.h (struct function): Add eh_return_stub_label.
21673         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
21674         * Makefile.in (except.o): Depend on intl.h.
21675
21676 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
21677
21678         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
21679         same as offsettable in cases 1 and 2.
21680
21681 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
21682
21683         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
21684         (extlh, extwh): Likewise.
21685
21686 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21687
21688         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
21689
21690 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
21691
21692         * configure.in: Add arm-pe and thumb-pe targets.
21693         * configure: Regenerate.
21694
21695         * thumb.c (arm_naked_function_p): New function: Determines if
21696         a function is naked (has no gcc generated prologue/epilogue).
21697         (is_called_in_ARM_mode): Return true if the func has the
21698         interfacearm attribute.
21699         (output_return): Do not generate a return for naked functions.
21700         (thumb_function_prologue): Do not generate a prologue for
21701         naked functions.
21702         (thumb_expand_prologue): Do not generate a prologue for naked
21703         functions.
21704         (thumb_expand_epilogue): Do not generate an epilogue for naked
21705         functions.
21706         (arm_valid_machine_decl_attribute): New function, copied from
21707         arm.c:  Permit naked and interfacearm attributes.
21708
21709         * config/arm/pe.c: New file: Support code for arm-pe target.
21710         * config/arm/pe.h: New file: Header file for arm-pe target.
21711         * config/arm/tpe.h: New file: Header file for thumb-pe target.
21712         * config/arm/t-thumb-pe: New file: Makefile fragment for
21713         thumb-pe target.
21714
21715 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
21716
21717         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
21718         -fPIC or -fpic is specified.
21719
21720 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
21721
21722         * expr.c (emit_block_move): Use copy_to_mode_reg for
21723         !TARGET_MEM_FUNCTIONS case too.
21724
21725         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
21726         appropriate.
21727         * configure: Rebuilt.
21728         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
21729         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
21730         definitions made redundant by dbxelf.h inclusion.  Delete
21731         lots of definitions related to assembly output that are
21732         specific to the SOM object format.
21733         * pa.c (output_function_prologue): Do not emit the function's
21734         name for OBJ_ELF.
21735         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
21736         * pa-pro.h: Deleted.
21737         * som.h: New file with SOM specific definitions.
21738         * elf.h: New file with ELF specific definitions.
21739
21740         * elfos.h (const_section): Output a tab before assembler directives.
21741         (ctors_section, dtors_section): Likewise.
21742         (ASM_OUTPUT_SECTION_NAME): Likewise.
21743
21744         * pa/pa1.h: Delete unused file.
21745
21746 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
21747
21748         * configure.in (hppa*-hp-hpux11*): New configuration.
21749         * configure: Rebuilt.
21750         * pa/pa-hpux11.h: New file.
21751         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
21752         command line.
21753
21754         * mips.md (leasi, leadi): New patterns.
21755
21756         * expr.c (emit_block_move): Properly handle case where one of the
21757         block move arguments has a queued increment or decrement.
21758         (clear_storage): Similarly.  Fix formatting goof.
21759
21760 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
21761
21762         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
21763         semicolon from the BSD VA_LIST replacement expression.
21764
21765         * fixinc/inclhack.sh: regen
21766         * fixinc/fixincl.x: regen
21767
21768         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
21769         now use the fixincl program.
21770
21771 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
21772
21773         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
21774         case.  Also make the PIC register call_used.
21775
21776         * m68k.h (FINALIZE_PIC): Delete.
21777         * m68k.c (finalize_pic): Delete.
21778
21779 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
21780
21781         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
21782         to memory.
21783
21784 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
21785
21786         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
21787
21788 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
21789
21790         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
21791
21792 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
21793
21794         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
21795
21796 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
21797
21798         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
21799
21800 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
21801
21802         * rs6000.c (output_toc): Always use hex values for floating-point
21803         constants.  Store single-precision values in upper-half of TOC
21804         entry in 64-bit mode.
21805         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
21806         to final constraints.
21807         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
21808         (fctiwz): Improve accuracy of RTL for pattern.
21809
21810 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21811
21812         * expr.c (expand_expr): Allow RTL_EXPR's through the
21813         MAX_INTEGER_COMPUTATION_MODE checks.
21814
21815 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
21816
21817         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
21818         such that MASK_SUPPORT_ARCH is not negative.
21819
21820 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
21821
21822         * loop.c (verify_dominator): Properly handle ADDR_VEC and
21823         ADDR_DIFF_VEC insns that appear inside loops.
21824
21825 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
21826                           Jeff Law <law@cygnus.com>
21827
21828         * rs6000.md (movdf_hardfloat32): Revert previous patch.
21829         Handle LO_SUM the same as offsettable in cases 1 and 2.
21830         * rs6000.c (find_addr_reg): Revert previous patch.
21831
21832 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
21833
21834         * system.h (strstr): New external function declaration.
21835         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
21836         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
21837         * config.in, configure: Rebuilt.
21838
21839 1999-06-24  Tom Tromey  <tromey@cygnus.com>
21840
21841         * gcc.c (main): Read user-specified specs files after computing
21842         additional startfile_prefixes.
21843
21844 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
21845
21846         Revert these two patches:
21847
21848         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21849         * loop.c (strength_reduce): When doing biv->giv conversion, update
21850         reg note of NEXT->insn.
21851
21852         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21853         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21854         reg_biv_class.
21855         (recombine_givs): Set ix field after sorting.
21856
21857 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21858
21859         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
21860         for the parts of an UNSPEC / UNSPEC_VOLATILE.
21861
21862 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
21863
21864         *fixinc/inclhack.def:  Add fix development commentary
21865         (read_ret_type): reactivate and add selection clause
21866         (zzz_*): tweak output file name to match what is used in hackshell.tpl
21867         *fixinc/{fixincl.x|inclhack.sh}: regen
21868
21869 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
21870
21871         * expr.c (expand_expr): STRIP_NOPS before checking against
21872         MAX_INTEGER_COMPUTATION_MODE
21873         (check_max_integer_computation_mode): Likewise.
21874
21875 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
21876
21877         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
21878
21879 1999-06-22  Jim Wilson  <wilson@cygnus.com>
21880
21881         * expr.c (store_expr): When target is a promoted subreg, return a
21882         promoted subreg as a result.
21883
21884 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
21885
21886         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
21887         coding standards.
21888         (dwarf2out_define): Mark unused parameters appropriately.
21889         (gen_unspecified_parameters_die): Ditto.
21890         (gen_subprogram_die): Fix signed/unsigned warnings.
21891         (gen_variable_die): Ditto.
21892
21893 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
21894
21895         * fixinc/inclhack.def(end_else_label): combined else_label
21896         and endif_label and fixed the sed expression.
21897         *fixinc/{fixincl.x|inclhack.sh}: regen
21898
21899 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
21900
21901         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
21902         'x' when handling non-offsettable addresses
21903
21904 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
21905
21906         * final.c (shorten_branches): Don't try to split an insn that has
21907         been deleted.
21908
21909 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
21910
21911         * config/mips/mips.c (symbolic_expression_p): New function.
21912         (mips_select_rtx_section): Put symbolic expressions in the
21913         data section, not the read-only data section.
21914
21915 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
21916
21917         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
21918
21919 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
21920
21921         * collect2.c (main): Log frame table count.
21922         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
21923         (scan_prog_file) [COFF]: Handle frame tables.
21924
21925         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
21926         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
21927         * alpha/elf.h: Undef them again.
21928         * alpha/vms.h: Remove their definitions.
21929
21930 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21931
21932         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
21933         remove the clobber of r0 and change the REG_UNUSED note to
21934         REG_INC.
21935
21936 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
21937
21938         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
21939         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
21940         fits in HOST_WIDE_INT and one uses union to access a long constant
21941         as double.
21942
21943 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
21944
21945         * sparc.c (sparc_override_options): Don't allow profiling for
21946         code models other than medlow.
21947         (sparc_function_profiler): New function from old FUNCTION_PROFILER
21948         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
21949         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
21950         (sparc_block_profiler): Likewise.
21951         (sparc_function_block_profiler_exit): Likewise.
21952         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
21953         (FUNCTION_BLOCK_PROFILER): Likewise.
21954         (BLOCK_PROFILER): Likewise.
21955         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
21956         (MCOUNT_FUNCTION): New.
21957         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
21958         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
21959         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
21960         (MCOUNT_FUNCTION): New.
21961         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
21962         (BLOCK_PROFILER): Delete.
21963         (MCOUNT_FUNCTION): New.
21964
21965 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
21966
21967         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
21968
21969 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
21970
21971         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21972         Add the macros.
21973
21974         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21975         Ditto.
21976
21977         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21978         Ditto.
21979
21980         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21981         Ditto.
21982
21983 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
21984
21985         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
21986         types.
21987
21988 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
21989
21990         * i386/djgpp.h (LIB_SPEC): New.
21991         (STARTFILE_SPEC): New.
21992
21993         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
21994
21995 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
21996
21997         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
21998         compiler flags.
21999
22000         * system.h (WSTOPSIG): New macro.
22001
22002 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22003
22004         * c-pragma.c (push_alignment): Don't ignore alignments greater than
22005         4 bytes.
22006         (insert_pack_attributes): Take into account member natural
22007         alignment.
22008
22009         * i386/winnt.c (exports_head): New static variable.
22010         (i386_pe_record_exported_symbol): New function.
22011         (i386_pe_asm_file_end): Use.
22012         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
22013         symbols to be emitted at end of assembly.
22014         (ASM_DECLARE_OBJECT_NAME): Likewise.
22015         (ASM_DECLARE_FUNCTION_NAME): Likewise.
22016
22017         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
22018         -iwithprefix.
22019
22020 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
22021
22022         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
22023         in last change.
22024
22025 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
22026
22027         * haifa-sched.c (sched_analyze_1): Use free_list instead of
22028         zapping reg_last_uses directly.
22029         (sched_analyze_2, sched_analyze_insn): Likewise.
22030         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
22031
22032 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
22033
22034         * rs6000.md (movdf_hardfloat32): Use worst case insn length
22035         attributes for cases 1 and 2.
22036
22037 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
22038
22039         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
22040         instead of set.
22041
22042 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
22043
22044         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
22045
22046 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
22047
22048         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
22049         PIC_OFFSET_TABLE_REGNUM for general alloaction.
22050         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
22051         must be stacked if it is used for PIC accesses.
22052         * arm.c (use_return_insn): Handle PIC register specially.
22053         (output_return_instruction): Likewise.
22054         (output_func_{prologue,epilogue}): Likewise.
22055         (output_expand_prologue): Likewise.
22056
22057         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
22058         (*strsi_predec): Renamed from *strqi_predec.
22059         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
22060         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
22061
22062         * arm.c (arm_override_options): Remove warning about PIC code
22063         not being supported.
22064
22065 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
22066
22067         * rs6000.c (find_addr_reg): New function.
22068         * rs6000.h (find_addr_reg): Declare.
22069         (offsettable_addr_operand): Delete.
22070         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
22071         from and stores to GPRs.
22072
22073 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
22074
22075         * alpha.c (alpha_expand_block_move): Use get_insns rather than
22076         gen_sequence as argument to emit_no_conflict_block.
22077
22078 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22079
22080         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
22081         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
22082         *fixinc/fixincl.x: regen
22083         *fixinc/inclhack.sh: regen
22084
22085 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
22086
22087         * added support for -mpcrel (PC relative addressing for m68k)
22088         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
22089         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
22090         * m68k.c (print_operand_address): Handle 32-bit PIC case.
22091         (comments for general_src_operand): Add some explanation
22092         about EXTRA_CONSTRAINTS.
22093         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
22094         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
22095         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
22096         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
22097         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
22098         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
22099         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
22100         if not already set.
22101         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
22102         * m68k.h (TARGET_PCREL): New target flag.
22103         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
22104         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
22105         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
22106         contains a SYMBOL_REF.  Relax this constraint during reload, since
22107         we want to use the predicates, not reload's built-in concept of a
22108         valid memory address, to control what insns need reloading.
22109         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
22110         operands (essentially 'g', 'm', and 's' under normal circumstances).
22111         * m68k.c (print_operand): Cause printing of pc-relative addresses
22112         to include pc register.
22113         (print_operand_address): Ditto.
22114         (general_src_operand): Accept operands that are not only
22115         general_operands, but are also valid when used as a pc-relative
22116         source.
22117         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
22118         (memory_src_operand): Similar, for memory_operands.
22119         (pcrel_address): New predicate to accept the special case of a
22120         pc-relative address.
22121         * m68k.md (many patterns): Rewrite common SImode, HImode, and
22122         QImode insns to accept *_src_operand instead of *_operand where
22123         pc-relative operands can fit.  For example, a pc-relative operand
22124         can be used as a memory source operand for addsi3, but not as a
22125         memory destination.
22126         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
22127
22128 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
22129
22130         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
22131         .thumb_set pseudo op to mark aliases of thumb functions.
22132
22133 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
22134
22135         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
22136         preference to ASM_OUTPUT_DEF, if it is defined.
22137
22138         * tm.texi: Document new, optional target macro
22139         ASM_OUTPUT_DEF_FROM_DECLS.
22140
22141 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22142
22143         * fixincludes: ISCNTL patch
22144         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
22145         (dgux_int_varargs): new for DG/UX
22146         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
22147
22148 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
22149
22150         * invoke.texi (ia32 options): Fix typo.
22151
22152 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22153
22154         * loop.c (strength_reduce): When doing biv->giv conversion, update
22155         reg note of NEXT->insn.
22156
22157 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
22158
22159         * loop.c (move_movables): Note issues with replacing REGs with
22160         SUBREGs.
22161         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
22162
22163 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
22164
22165         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
22166
22167         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
22168         the reference to `mcount' was not correct for the ELF on FreeBSD.
22169
22170 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22171
22172         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22173         reg_biv_class.
22174
22175         (recombine_givs): Set ix field after sorting.
22176
22177 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
22178
22179         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
22180         to safe to extract a subword out of a REG.
22181
22182 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22183
22184         * sh.md (mulsi3): Don't add a no-op move at the end.
22185
22186 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22187
22188         * cse.c (cse_insn): Don't put hard register source into tables for
22189         the last insn of a libcall.
22190
22191 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22192
22193         * loop.c (strength_reduce): Insert sets of derived givs at every
22194         biv increment, even if it's the only one.
22195
22196 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
22197
22198         * dwarfout.c (add_incomplete_type): New fn.
22199         (output_type): Call it.
22200         (retry_incomplete_types): New fn.
22201         (dwarfout_finish): Call it.
22202
22203         From Eric Raskin <ehr@listworks.com>:
22204         (output_type): Output types for bases.
22205
22206 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22207
22208         * mips.c (mips_output_conditional_branch): Add `break'
22209         between `default' label and `close braces'.
22210
22211 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
22212
22213         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
22214         specifications and make it realistic.
22215         (LIB_SPEC): Likewise.
22216
22217 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
22218
22219         * config/mips/mips.c (mips_secondary_reload_class): Check for
22220         (PLUS (SP) (REG)) and return appropriate register class.
22221         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
22222         Handle (PLUS (SP) (REG)).
22223         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
22224         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
22225         of emit_insn for tablejump.
22226
22227 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
22228
22229         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
22230         asm_fprintf format string by itself.
22231         (output_function_profiler): Likewise.
22232
22233 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
22234
22235         * combine.c (simplify_logical, case AND): Only call
22236         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
22237         or the constant is positive.
22238
22239 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
22240
22241         * configure.in: Fix typo in rs6000-ibm-aix4 case.
22242         * configure: Regenerate.
22243
22244 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
22245
22246         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
22247         require a sub-version #.
22248         * configure: Rebuilt.
22249
22250 1999-06-14  Robert Lipe  (robertlipe@usa.net)
22251
22252         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
22253
22254 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
22255
22256         * c-typeck.c (process_init_element): Detect excess elements in
22257         char array initializer.
22258
22259 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
22260
22261         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
22262
22263 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22264
22265         * invoke.texi (Option Summary): Add -fpermissive flag.
22266
22267 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
22268
22269         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
22270         that require PIC code sequences.
22271
22272 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
22273
22274         * configure.in: Add new target: thumb-elf.
22275         * configure: Regenerate.
22276         * config/arm/t-thumb-elf: New file: Makefile fragment for
22277         thumb-elf build.
22278         * config/arm/telf.h: New file: Header file for thumb-elf
22279         build.
22280
22281 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
22282
22283         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
22284         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
22285         initializers is some circumstances.
22286
22287         * fixinc/inclhack.def (endif_label): Add additional selector for
22288         more bogus stuff after #endif statements.
22289         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
22290
22291 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22292
22293         * i386/cygwin.h (SET_ASM_OP): Define.
22294
22295 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22296
22297         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
22298
22299 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22300
22301         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
22302         latter.
22303
22304         * sh.md (ic_invalidate_line_i): Remove second alternative.
22305
22306 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22307
22308         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
22309         test for the presence of valid prototypes.  Delete bypass expr.
22310         (ioctl_fix_ctrl): Correct the selection expression.
22311         (no_double_slash): Correct quoting rules
22312         *fixinc/fixincl.x: regen
22313         *fixinc/inclhack.sh: regen
22314
22315 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
22316
22317         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
22318
22319 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22320
22321         * rs6000.md (movsi_got_internal_mem): Delete.
22322         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
22323         (GOT_TOC_REGNUM): Delete.
22324         (PIC_OFFSET_TABLE_REGNUM): Define.
22325         (FINALIZE_PIC): Disable.
22326         * rs6000.c (rs6000_got_register): New code for fixed pic register.
22327         (rs6000_replace_regno): Delete.
22328         (rs6000_finalize_pic): Likewise.
22329         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
22330
22331 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22332
22333         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
22334         is a note; use <= for the compare; advance P while it is
22335         a NOTE.
22336
22337 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
22338
22339         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
22340         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
22341
22342         * varasm.c (remove_from_pending_weak_list): Verify t->name
22343         is non-NULL before passing it to strcmp.
22344
22345 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22346
22347         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
22348         the typed arguments are not part of a comment
22349         (ioctl_fix_ctrl): Added a purpose comment
22350         *fixinc/fixincl.x: regenerate
22351         *fixinc/inclhack.sh: regenerate
22352
22353 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22354
22355         * invoke.texi: Add C4x invocation docs.
22356
22357 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22358
22359         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
22360         Define new macros.
22361         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
22362         TARGET_EXPOSE_LDP.
22363         (c4x_legitimize_reload_address): New function.
22364         * config/c4x/c4x.md: Update docs.
22365
22366 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
22367
22368         * fixincludes: Avoid removing '.'.
22369         * fixinc/fixinc.svr4: Likewise.
22370         * fixinc/fixinc.winnt: Likewise.
22371         * fixinc/inclhack.tpl: Likewise.
22372         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
22373
22374 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22375
22376         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
22377         pattern.
22378         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
22379
22380 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22381
22382         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
22383         correctly.
22384
22385 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
22386
22387         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
22388         * configure: Regenerate.
22389
22390 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
22391
22392         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
22393         values.
22394
22395 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
22396
22397         * fixinc/inclhack.def (avoid_bool): Also catch
22398         "typedef [unsigned] int bool".
22399         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
22400
22401         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
22402         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
22403         * configure: Rebuilt.
22404
22405 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
22406
22407         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
22408         such that we can override its definitions if necessary.
22409         (CPP_SPEC): New define.  Support processor specific predefines via
22410         %(cpp_cpu).
22411         (CC1_SPEC): New define.  Support processor specific compiler
22412         options via %(cc1_cpu).
22413         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
22414         -static.
22415
22416 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22417
22418         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
22419         between sed's -e flag, and the open-quote following it.
22420         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
22421
22422 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
22423                           Jeffrey A Law  (law@cygnus.com)
22424
22425         * varasm.c (assemble_start_function): Remove the function
22426         from the pending weak decls list when we define a function.
22427         (assemble_variable): Similarly for variables.
22428         (weak_finish): Ignore items on the list with a NULL name.
22429         (remove_from_ending_weak_list); New function to "remove" an item
22430         from the pending weak declarations list.
22431
22432 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22433
22434         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
22435
22436 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
22437
22438         * c-lex.c (GETC): Redefine to call getch.
22439         (UNGETC): Redefine to call put_back.
22440         (putback_buffer): New structure type.
22441         (putback): New static structure.
22442         (getch): New function.
22443         (put_back): New function.
22444         (yylex): Replace unused bytes from bad multibyte character.
22445
22446 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
22447
22448         * cpplib.c (do_define): Cast `alloca' return value.
22449         (do_include, do_undef, do_pragma): Likewise.
22450         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
22451         values.
22452         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
22453         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
22454
22455 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22456
22457         * sparc.md (abstf2): This should be an expand.
22458         (split after abstf2_notv9): Fix mode.
22459         (abstf2_hq_v9): New pattern.
22460         (abstf2_v9): Only use when no hard quad.
22461         (absdf2_v9): Fix if target is not the same as source.
22462         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
22463         Add correct output constraints.
22464
22465 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
22466
22467         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
22468         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
22469
22470 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
22471
22472         * mips.h (mips_output_conditional_branch): New function.
22473         (mips_adjust_insn_length): Likewise.
22474         (ASSEMBLER_SCRATCH_REGNUM): New macro.
22475         (ADJUST_INSN_LENGTH): Likewise.
22476         * mips.c (print_operand): Add `F' and `W' for floating-point
22477         comparison opcodes.
22478         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
22479         are now in bytes.
22480         (mips_adjust_insn_length): New function.
22481         (mips_output_conditional_branch): New function.
22482         * mips.md (length): Adjust attribute definition to handle
22483         conditional branches.  Change lengths to bytes, rather than
22484         instructions throughout.  Remove length attribute from
22485         instructions whose length is four bytes, and rely on the default
22486         instead.
22487         (dslot): Fix typo in comment.
22488         Reword conditional branch patterns to use
22489         mips_output_conditional_branch.
22490
22491 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
22492
22493         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
22494         (LIB_SPEC): Likewise.
22495         Link with -lprof1_r for -g/-pg.
22496
22497 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22498
22499         * loop.c (check_dbra_loop): Fix change of Jan 19.
22500
22501 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
22502
22503         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
22504         (STARTFILE_SPEC):  Define, override the svr4.h version.
22505         (ENDFILE_SPEC):  Likewise.
22506
22507 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
22508
22509         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
22510         * fixinc/fixincl.x: Regenerated.
22511         * fixinc/inclhack.sh: Regenerated.
22512
22513 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22514
22515         * sh.c (barrier_align): Don't return early for normal branch/barrier
22516         when optimizing for SH2.
22517
22518 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
22519
22520         * i386/udk.h (LINK_SPEC): Correct linker search path for
22521         system libraries.
22522
22523 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22524
22525         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
22526         (braf_label_ref_operand): Delete.
22527         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
22528         * sh.md (casesi_jump_2): Operand1 is now the inside of a
22529         label_ref, and has no predicate.
22530         The patten has a predicate to guard against invalid substitutions.
22531         (dummy_jump): Delete.
22532         (casesi): Update use of casesi_jump_2.
22533
22534 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22535
22536         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
22537         *fixinc/fixincl.x: regenerate
22538         *fixinc/inclhack.sh: regenerate
22539
22540 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
22541
22542         * dwarf2out.c (add_incomplete_type): New fn.
22543         (gen_struct_or_union_type_die): Call it.
22544         (retry_incomplete_types): New fn.
22545         (dwarf2out_finish): Call it.
22546
22547 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
22548
22549         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
22550         current block starts with a CODE_LABEL and ends with a CALL and
22551         we can not find all the argument setup instructions for the CALL.
22552
22553 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
22554
22555         Revert this change:
22556         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
22557         something is a candidate for optimize_bit_field_compare.
22558
22559 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22560
22561         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
22562
22563 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
22564
22565         * alpha.c (override_options): Thinko in last patch.
22566
22567         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
22568         (LIB_SPEC): Recognize -pthread.
22569
22570 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
22571
22572         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
22573         definition in config/arm/coff.h
22574         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
22575
22576 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22577
22578         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
22579         fixes that need "file=xxx\n" prepended before invocation
22580         (start_fixer - new): starting the fixer process is complex enough
22581         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
22582         (process): uses the new routine; omit usage of putenv()
22583         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
22584         * fixinc/fixincl.x: regenerate
22585
22586 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
22587
22588         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
22589         and version #s (1.1 -> 2.96) as needed.
22590         * README.g77: Kill way out of date file in the toplevel directory.
22591
22592 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
22593
22594         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
22595         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
22596         * configure: Rebuilt.
22597         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
22598         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
22599         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
22600         (SWITCH_TAKES_ARG): Likewise.
22601         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
22602         * config/t-freebsd: Moved from config/i386/ so it can used for all
22603         FreeBSD targets.
22604
22605 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
22606
22607         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
22608
22609 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
22610
22611         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
22612         * configure: Rebuilt.
22613
22614 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
22615
22616         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
22617         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
22618         * rs6000/rs6000.c (rs6000_file_start): Use putc.
22619         (rs6000_output_load_toc_table): Same.
22620         (output_prolog, output_mi_thunk): Same.
22621         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
22622         (ASM_GLOBALIZE_LABEL): Use putc.
22623
22624 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
22625
22626         * alpha.md (reload_*_help): New patterns and splitters.
22627         (reload_*): Use them.
22628         (mov[qh]i): Likewise.
22629
22630 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
22631
22632         * cccp.c (handle_directive): Handle backslash-newlines in quoted
22633         strings correctly.
22634
22635 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
22636
22637         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
22638
22639 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
22640
22641         * flow.c (mark_regs_live_at_end, insn_dead_p,
22642         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
22643         and HARD_FRAME_POINTER_REGNUM special treatment if reload
22644         hasn't run or the frame pointer is needed.
22645         * haifa-sched.c (attach_deaths): Likewise.
22646         * sched.c (attach_deaths): Likewise.
22647
22648 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
22649
22650         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
22651         calculate_can_reach_end returns nonzero.
22652
22653         * configure.in (native gas tests): Search for an assembler in the
22654         same manner that the installed compiler will.
22655         * configure: Rebuilt.
22656         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
22657
22658         * alias.c (find_base_term): Improve handling of addresses
22659         constructed from binary operations.
22660
22661 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
22662
22663         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
22664
22665 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
22666
22667         * function.h (cleanup_label, frame_offset): Declare.
22668         (tail_recursion_label, tail_recursion_reentry): Likewise.
22669         (arg_pointer_save_area, rtl_expr_chain): Likewise.
22670         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
22671         (tail_recursion_label, tail_recursion_reentry): Likewise.
22672         (arg_pointer_save_area, rtl_expr_chain): Likewise.
22673
22674 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
22675
22676         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
22677         defined.
22678         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
22679         (MAX_OFILE_ALIGNMENT): Define.
22680
22681 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
22682
22683         * fixincl.c: Replace local include scheme with #includes of
22684         gansidecl.h and system.h.
22685         * procopen.c:  Likewise.
22686         * server.c:  Likewise.
22687
22688 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
22689
22690         * i386/t-dgux (EXTRA_PARTS): Add crti.o
22691         (crti.o): Add build rule and dependencies.
22692         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
22693
22694 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22695
22696         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
22697         (LIB_LINUX_SPEC): Likewise.
22698         (LIB_LINUX_SPEC): Add support for -pthread
22699         (CPP_OS_LINUX_SPEC): Likewise.
22700         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
22701         specified.
22702
22703 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
22704
22705         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
22706         conditional move.
22707         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
22708         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
22709         for IEEE math and CC_FCOMI.
22710         (put_jump_code): No IEEE if CC_FCOMI is set.
22711
22712 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22713
22714         * fold-const.c (fold_truthop): Make the field reference unsigned
22715         when converting a single bit compare.
22716
22717 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22718
22719         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
22720
22721 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
22722
22723         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
22724         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
22725         version did.
22726
22727         * reload.c (push_reload): Do not call remove_address_replacements
22728         when presented with identical optional reloads.
22729
22730 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
22731
22732         * alpha.h (MASK_FIX, TARGET_FIX): New.
22733         (MASK_*): Reorganize constants.
22734         (CPP_AM_FIX_SPEC): New.
22735         (TARGET_SWITCHES): Add FIX.
22736         (EXTRA_SPECS): Likewise.
22737         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
22738         (SECONDARY_MEMORY_NEEDED): Likewise.
22739         (REGISTER_MOVE_COST): Likewise.
22740         * alpha.c (override_options): Add FIX support.  Always use
22741         ALPHA_TP_PROG for ev6.
22742         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
22743         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
22744         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
22745
22746 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
22747
22748         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
22749         something is a candidate for optimize_bit_field_compare.
22750
22751 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
22752
22753         * gcc.texi (Passes): Document branch-shortening.
22754         * invoke.texi (Debugging Options): Document the fact that `-dp'
22755         outputs length information for instructions.
22756
22757 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
22758
22759         * flow.c: Revert previous delta.
22760
22761 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
22762
22763         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
22764         FRAME_POINTER_REGNUM.
22765         (mark_set_1): Ditto.
22766         (mark_used_regs): Ditto.
22767
22768 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
22769
22770         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
22771         (GOT_PCREL): New macro.  Define to 1 if not already defined.
22772         * arm/elf.h (GOT_PCREL): Define to 0.
22773         * arm.c (arm_finalize_pic): Take into account the setting of
22774         GOT_PCREL.
22775
22776 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
22777
22778         * output.h (STRIP_NAME_ENCODING): Provide default definition.
22779         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
22780
22781         * flow.c (mark_set_1): Do not record BLKmode stores as dead
22782         store elimination candidates.
22783
22784 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22785
22786         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
22787         TARGET_GAS.
22788
22789 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
22790
22791         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
22792         Add use of x-aix41-gld.
22793
22794 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22795
22796         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
22797         (ASM_OUTPUT_DESTRUCTOR): Define.
22798
22799 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
22800
22801         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
22802         last CODE_LABEL in a loop if we have previously passed a jump
22803         to the top of the loop.
22804
22805 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
22806
22807         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
22808         applying Philip's patch.
22809
22810 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
22811
22812         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
22813         are not VAR_DECLs.
22814
22815 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
22816
22817         * loop.c (strength_reduce): Grow reg_single_usage as needed.
22818
22819 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
22820
22821         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
22822         Also remove a useless comment.
22823
22824 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22825
22826         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
22827
22828 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
22829
22830         * collect2.c (main): Only generate import or export file and add
22831         to link arguments if non-empty.  Use xmalloc not alloca.
22832         (write_{export,import}_file): Delete.
22833         (write_aix_file): New function.
22834         (locatelib): Use xmalloc not malloc.
22835         (GCC_OK_SYMBOL): Do not check type if aix64.
22836
22837 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
22838
22839         Based on patch by Scott Bambrough and Pat Beirne:
22840         * config/arm/arm.c (making_const_table): New variable.
22841         * config/arm/arm.h (making_const_table): Declare.
22842         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
22843         appropriate.
22844         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
22845         Keep track of when we are building the constant table.
22846
22847 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
22848
22849         * config/arm/arm.c (arm_override_options): Fix erroneous warning
22850         message.
22851
22852 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
22853
22854         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
22855         defined.
22856
22857 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
22858
22859         * tm.texi (FUNCTION_ARG): Correct description of a stack element
22860         in a PARALLEL.
22861
22862 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
22863
22864         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
22865
22866 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22867
22868         * rs6000.c (output_mi_thunk): Enable full support again.
22869
22870 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22871
22872         * sh.h (BRANCH_COST): Define.
22873
22874 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
22875
22876         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
22877
22878 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
22879
22880         * function.c (assign_stack_local): Align stack slot propertly.
22881         (assign_outer_stack_local): Likewise.
22882
22883 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
22884
22885         * expr.h (lang_expand_constant): Declare.
22886         * toplev.c (lang_expand_constant): Define it.
22887         * varasm.c (output_constant): Use it.
22888
22889 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22890
22891         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
22892         Change function definitions to K&R style.
22893
22894 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22895
22896         * fixinc/fixincl.c: We must not ignore SIGCLD now.
22897
22898 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
22899
22900         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
22901         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
22902         (several places): omit static initialization
22903         (process): use single fd, since only the read fd is used
22904         * fixinc/gnu-regex.c: define 'const' away, if not supported
22905         * fixinc/procopen.c(several places): omit static initialization
22906         * fixinc/server.c: define 'volitile' away, if not supported
22907
22908 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22909
22910         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
22911         asm_fprintf and %L to generate the label name.
22912         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
22913         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
22914
22915 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
22916
22917         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
22918         insn for a conditional jump can not be found.
22919
22920 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
22921
22922         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
22923         on variables in specific sections other than .sbss and .sdata.
22924
22925 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
22926
22927         * stmt.c (expand_return): Call start_cleanup_deferral and
22928         end_cleanup_deferral around conditional code.
22929
22930 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22931
22932         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
22933         filename lists.  Utilizes new "krstr" AutoGen function.
22934         * fixinc/fixincl.x: Rebuilt.
22935
22936 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
22937
22938         * i386.c (output_float_compare): Avoid GNU-C extensions.
22939
22940 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
22941
22942         * version.c: Bump to distinguish mainline tree from the
22943         gcc-2.95 branch.
22944
22945 See ChangeLog.1 for earlier changes.