OSDN Git Service

Forgot the ChangeLog entry in this commit; here it is.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-04-05  Alex Samuel  <samuel@codesourcery.com>
2
3         * rtl.h (INSN_P): New macro.
4         (successor_phi_fn): New typedef.
5         (for_each_successor_phi): New prototype.
6         (in_ssa_form): New variable.
7         (PHI_NODE_P): Likewise.
8         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
9         phi nodes in successors.
10         (mark_used_regs): Add PHI case.
11         (set_phi_alternative_reg): New function.
12         (life_analysis): Assert that dead code elimination is not selected
13         when in SSA form.
14         * toplev.c (to_ssa_time): New variable.
15         (from_ssa_time): Likewise.
16         (compile_file): Zero to_ssa_time and from_ssa_time.
17         Print time to convert to and from SSA.
18         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
19         (print_time): Compute percent fraction as integer.
20         * ssa.c (PHI_NODE_P): Moved to rtl.h.
21         (convert_to_ssa): Check if we're already in SSA.  
22         Don't eliminate dead code in life_analysis.
23         Rerun flow and life analysis at bottom.
24         (eliminate_phi): Use canonical regnos when adding nodes.
25         (mark_reg_in_phi): New function.
26         (mark_phi_and_copy_regs): Likewise.
27         (convert_from_ssa): Rerun life analysis at top.  
28         Use coalesced partition.
29         Check for removing a phi node at the end of the block.
30         (compute_coalesced_reg_partition): New function.
31         (coalesce_regs_in_copies): Likewise.
32         (coalesce_reg_in_phi): Likewise.
33         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
34         (for_each_successor_phi): Likewise.
35         (rename_context): New struct.
36         (rename_block): Use a rename_context with rename_insn_1.  When
37         renaming sets of a subreg, emit a copy of the entire reg first.
38         (rename_insn_1): Treat data as a rename_context *.  Save current
39         insn in set_data.
40         (rename_set_data): Add field set_insn.
41         * Makefile.in (HASHTAB_H): Move up in file.
42         (OBSTACK_H): New macro.
43         (collect2.o): Use OBSTACK_H in dependencies.
44         (sdbout.o): Likewise.
45         (emit-rtl.o): Likewise.
46         (simplify-rtx.o): Likewise.
47         (fix-header.o): Likewise.
48         (OBJS): Add conflict.o.
49         (conflict.o): New rule.
50         * basic-block.h: Include partition.h.
51         (conflict_graph): New typedef.
52         (conflict_graph_enum_fn): Likewise.
53         (conflict_graph_new): New prototype.
54         (conflict_graph_delete): Likewise.
55         (conflict_graph_add): Likewise.
56         (conflict_graph_conflict_p): Likewise.
57         (conflict_graph_enum): Likewise.
58         (conflict_graph_merge_regs): Likewise.
59         (conflict_graph_print): Likewise.
60         (conflict_graph_compute): Likewise.
61         * conflict.c: New file.
62
63 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
64
65         * tlink.c (read_repo_files): Don't look for .rpo info for
66         linker flags.
67
68 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
69
70         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
71
72 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
73
74         * config/sh/lib1funcs.asm (___udivsi3_i4):
75         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
76         only depends on FMOVD_WORKS.
77
78 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
79
80         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
81         make double constant 8-byte aligned.
82
83 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
84
85         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
86         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
87         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
88         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
89         Accept storing GENERAL_REGS into offsetable memory.
90         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
91         building a TFmode constant other than 0.0L into GENERAL_REGS.
92
93 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
94
95         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
96         
97 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
98
99         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
100         (macro_cleanup): No need to cast pbuf->macro.
101         (collect_expansion): Use _cpp_get_define_token.  Goto done if
102         it returns VSPACE.  Remove check for trailing space after
103         CPP_COMMENT.
104         (_cpp_create_definition): Don't diddle flags here.  Return
105         directly on error.
106         (unsafe_chars): Handle c1 being EOF.
107         (push_macro_expansion): Use unsafe_chars for both accidental-paste
108         checks.  Don't push the buffer till after we're done with
109         them.
110         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
111         (PEEKN, FORWARD, GETC, PEEKC): Use them.
112         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
113         appropriately.
114         (_cpp_parse_assertion): Don't NUL terminate.
115         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
116         hspace before calling _cpp_parse_assertion.  Remove all sets
117         of only_seen_white. Treat '\f' as hspace.  Don't do anything
118         special with '\n' here.
119         (maybe_macroexpand): Handle T_EMPTY hash entries without
120         pushing a buffer at all.
121         (cpp_get_token): Handle clearing only_seen_white here.  Handle
122         incrementing the line number here.  Clear
123         potential_control_macro as well as only_seen_white, if
124         appropriate.
125         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
126         (_cpp_get_define_token): New function, basically like
127         _cpp_get_directive_token was but doesn't eat horizontal space.
128         Don't do anything with only_seen_white here.
129         (_cpp_get_directive_token): Just call _cpp_get_define_token
130         repeatedly till it returns non-hspace.
131
132         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
133         (conditional_skip, skip_if_group): Return int.
134         (DIRECTIVE_TABLE): Change origin of all conditional directives
135         to "COND".
136         (TRAD_DIRECT_P): New macro.
137         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
138         an error for a bogus directive, unless -lang-asm.  Use
139         TRAD_DIRECT_P. Loop calling handler functions till one returns
140         zero.
141         (get_macro_name): Don't diddle flags here.
142         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
143         Create T_EMPTY nodes for #define macro /* nothing */.
144         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
145         Use hp->name when calling pass_thru_directive.
146         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
147         Return the result of conditional_skip and/or skip_if_group.
148         Don't call _cpp_output_line_command.
149         (consider_directive_while_skipping): Use _cpp_get_directive_token.
150         Issue -Wtraditional warnings as appropriate.  Don't complain
151         about unrecognized directives.  If we are to stop skipping,
152         return the number of the directive that ended the skip.
153         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
154         expansion and line commands while skipping.  Return the result
155         of consider_directive_while_skipping, if nonzero.
156         (do_endif): Just set potential_control_macro here.
157         (validate_else): Use _cpp_get_directive_token.
158         (do_assert, do_unassert): Don't save pointers into the
159         token_buffer across calls to the lexer.  Use
160         _cpp_get_directive_token.  
161
162         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
163         pointer, not an offset.  Replace 'data', which was a generic
164         pointer, with 'macro', which points to a struct hashnode.
165         (cpp_reader): Add 'potential_control_macro' pointer.
166         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
167         (CPP_BUF_GET, CPP_FORWARD): Delete.
168         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
169         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
170         ACTIVE_MARK_P): Update.
171         (_cpp_get_define_token): New internal function.
172         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
173
174 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
175
176         * configure.in: And here.
177         * configure: Regenerate.
178         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
179         --enable-libstdcxx-v3 is passed at configure time.
180         * config.h.in: Regenerate.
181
182 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
183
184         * final.c (final): Use xcalloc to allocate line_note_exists.
185         * function.c (free_after_compilation): Free the temp_slots.
186         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
187         (combine_temp_slot): Free temp_slots when they get combined.
188         (purge_addressof): Fix typo in comment.
189         * stmt.c (mark_goto_fixup): Mark the fixup itself.
190         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
191
192         * ggc.h: Include varray.h.
193         (ggc_pending_trees): Declare.
194         (ggc_mark_tree_children): Remove declaration.
195         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
196         * ggc-common.c (ggc_pending_trees): New variable.
197         (ggc_mark_roots): Call ggc_mark_trees.
198         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
199         the ggc_pending_trees.
200         * Makefile.in (GGC_H): New variable.  Use it throughout in place
201         of ggc.h.
202         
203 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
204
205         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
206         GET_MODE_SIZE.
207
208 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
209
210         * sh.c (sh_insn_length_adjustment): New function.
211         * sh-protos.h (sh_insn_length_adjustment): Declare.
212         * sh.h (ADJUST_INSN_LENGTH): Use it.
213
214 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
215
216         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
217         from the insn where REG_RETVAL is added.
218         (emit_no_conflict_block): Ditto.
219
220         * md.texi (Standard Names): Clarify when movX is needed.
221
222         * combine.c (simplify_comparison) [MINUS]: Do not replace
223         all (op (minus A B) 0) with (op A B).
224
225 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
226                           J"orn Rennecke <amylaar@cygnus.co.uk>
227
228         * sh.c (block_lump_real_i4): Add missing clobber of T_REG
229         (block_lump_real): Likewise.
230
231 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
232
233         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
234         remaining non-zero debugging masks.
235
236 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
237
238         * basic-block.h (verify_flow_info): Declare.
239         (flow_loop_outside_edge_p): Declare.
240         * flow.c (verify_flow_info): Remove declaration.
241         (clear_log_links, flow_loop_outside_edge_p): Likewise.
242
243 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
244
245         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
246         not C++ comments.
247
248 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
249
250         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
251         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
252         seqdi_zero_trunc+1): Allow splits only if registers are
253         different.
254
255 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
256
257         * acconfig.h: Add HAVE_GAS_HIDDEN.
258         * config.in: Regenerated.
259         * configure.in: Add test for .hidden pseudo-op in gas.
260         * configure: Regenerated.
261         * crtstuff.c: Include auto-host.h.
262         Emit additional .hidden pseudo-op for __dso_handle if the
263         assembler knows about it.
264
265 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
266
267         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
268         before freeing argnames.
269         * cpplib.c (do_ifndef): Cast return value of xstrdup.
270
271 2000-04-05  Michael Meissner  <meissner@redhat.com>
272
273         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
274         Walton <jonboy@gordian.com> to make memory references with update
275         work wtih -mregnames.
276
277 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
278
279         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
280         (regrename_optimize): Rename variables `def_uses' and
281         `ext_basic_blocks' to avoid conflicts with similarly named
282         typedefs in traditional C.
283
284         * calls.c (initialize_argument_information): Fix typo in previous
285         change.
286
287 2000-04-04  Richard Henderson  <rth@cygnus.com>
288
289         * regrename.c (consider_available): Test fixed_regs not
290         PIC_OFFSET_TABLE_REGNUM.
291
292 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
293
294         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
295         crtend.
296         (CRTSTUFF_T_CFLAGS_S): Delete definition.
297         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
298         (ENDFILE_LINUX_SPEC): Always use crtend.
299         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
300         (powerpc-*-linux-gnu): Likewise.
301         * configure: Regenerate.
302
303         * config/rs6000/eabi.h: Don't include sysv4.h.
304         (MULTILIB_DEFAULTS): Don't define.
305         * config/rs6000/eabiaix.h: Don't include eabi.h.
306         * config/rs6000/eabile.h: Delete.
307         * config/rs6000/eabilesim.h: Delete.
308         * config/rs6000/eabisim.h: Don't include eabi.h.
309         * config/rs6000/linux.h: Don't include sysv4.h.
310         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
311         (MULTILIB_DEFAULTS): Don't redefine.
312         * config/rs6000/rtems.h: Don't include eabi.h.
313         * config/rs6000/sol2.h: Don't include sysv4le.h.
314         * config/rs6000/sysv4le.h: Don't include sysv4.h.
315         * config/rs6000/t-ppc: Delete.
316         * config/rs6000/t-ppcgas: Correct comment.
317         * config/rs6000/t-ppcos: Correct comment.  Don't build 
318         multilibs for -fPIC, rather use -fPIC -mstrict-align 
319         as default.
320         * config/rs6000/t-ppc: Delete.
321         * config/rs6000/vxppc.h: Don't include sysv4.h.
322         * config/rs6000/vxppcle.h: Delete.
323         * configure.in: Use multiple header files for p2pc ELF targets
324         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
325         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
326         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
327         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
328         always available for these platforms.
329
330 2000-04-04  Richard Henderson  <rth@cygnus.com>
331
332         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
333
334 2000-04-04  Stan Cox  <scox@cygnus.com> 
335
336         * Makefile.in: Add rules for regrename.o
337         * regrename.c: New file.
338         * rtl.h (regrename_optimize): Add prototype.
339         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
340         (compile_file, decode_d_option): Add support for -frename-registers.
341         (rest_of_compilation): Call regrename_optimize.
342         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
343         New macros.     
344         
345 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
346
347         * Makefile (gccbug): New target.
348         (doc): Depend on it.
349         * gcc.texi (Bugs): Link subnodes.
350         (gccbug): New node.
351         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
352         Document severities, priorities, and classes in bug form.
353
354 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
355
356         * cpplex.c (trigraph_map, speccase): Combine into single
357         table, chartab.
358         (NORMAL, NONTRI): New macros.
359         (_cpp_read_and_prescan): Change to use unified table.  Use
360         is_hspace to test for whitespace.
361
362         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
363         definition that doesn't provoke the "empty body in an
364         if-statement" warning.
365
366 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
367
368         * builtins.c (expand_builtin_strlen): Force the source to
369         be a memory address.
370
371 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
372
373         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
374
375 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
376
377         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
378          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
379         (ECF_IS_CONST): Rename to ECF_CONST.
380         (special_function_p): Make static, change interface.
381         (flags_from_decl_or_type, try_to_integrate): Break out from ...
382         (expand_call) ... here; convert number of variables to flags.
383         (emit_library_call_vlue_1): Likewise.
384         (setjmp_call_p): New function.
385         (initialize_argument_information): Accepts flags as argument;
386         return flags.
387         (precompute_arguments): Likewise.
388         * tree.h (special_function_p): Remove.
389         (setjmp_call_p): Add prototype.
390
391 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
392
393         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
394         so that addresses are offsetable by up to 16 bytes.
395         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
396         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
397         offsetable.
398
399         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
400         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
401         (movsf): Don't force any constant to memory if target is integer
402         hard register.
403         Move fp_zero_operand check below the const0_rtx check.
404         (movtf): Likewise. Also allow fp_zero_operand for stores into
405         memory.
406         (movdf): Likewise. Also allow fp_zero_operand for stores into
407         memory and into integer hard registers.
408         (clear_df, clear_dfp, movdf_const_intreg_sp32,
409         movdf_const_intreg_sp64): Remove.
410         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
411         conditions.
412         (movdf_no_e_insn_v9_sp32): New pattern.
413         (movdf_insn_v9only): Remove.
414         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
415         (movdf_insn_sp64): Remove.
416         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
417         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
418         (following splits): Rewrite conditions. Add two new splits
419         for storing 0.0 into memory and registers.
420         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
421         (movtf_insn_sp32): Redo constraints and conditions.
422         (movtf_insn_vis_sp32): New pattern.
423         (movtf_no_e_insn_sp32): Redo constraints and conditions.
424         (movtf_insn_hq_sp64): Likewise.
425         (movtf_insn_hq_vis_sp64): New pattern.
426         (movtf_insn_sp64): Redo constraints and conditions.
427         (movtf_insn_vis_sp64): New pattern.
428         (movtf_no_e_insn_sp64): Redo constraints and conditions.
429         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
430         or memory.
431         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
432         -mvis or -m64 to take down the number of various reload patterns.
433
434 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
435
436         * pa/pa-64.h: New file.
437         * pa/pa64-regs.h: New file.
438         * pa/pa64-start.h: New file.
439         * pa/t-pa64: New file.
440         * pa/xm-pa64hpux.h: New file.
441
442 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
443
444         * sparc.c (output_restore_regs): Prototype.
445         (sparc_emit_float_lib_cmp): Constification.
446
447         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
448
449         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
450         Prototype.
451
452         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
453         (get_value_hash, hash_rtx): Likewise.
454
455         * ssa.c (compute_conservative_reg_partition): Prototype.
456
457         * tree.c (mark_hash_entry): Prototype.
458
459 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
460
461         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
462         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
463         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
464
465         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
466         * objc/lang-specs.h: Likewise.
467
468 2000-04-03  Neil Booth  <NeilB@earthling.net>
469
470         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
471         and SYNTAX_ERROR2. Replace `' in messages with ''.
472         (op_to_str): Make re-entrant.
473         (_cpp_parse_expr): Implement new error macros. Use | rather
474         than || to logically or 2 boolean integers.  Simply expression
475         checking we have a left operand iff needed.
476
477 2000-04-03  Nick Clifton  <nickc@cygnus.com>
478
479         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
480
481 2000-04-03  Philip Blundell  <philb@gnu.org>
482
483         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
484
485 2000-04-03  Felix Lee  <flee@cygnus.com>
486
487         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
488         (run_shell): Use it. 
489
490 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
491
492         * Makefile.in (stmp-int-hdrs): Make include subdir here...
493         (stmp-fixproto): ...rather than here.
494
495 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
496
497         * pa.c (print_operand): Compute 'base' only inside the code paths
498         that use it.
499
500 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
501
502         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
503         CEIL_DIV_EXPR.
504
505 2000-04-03  Philipp Thomas  <pthomas@suse.de>
506
507         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
508
509 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
510
511         * Makefile.in (alias.o): Depend on $(TREE_H).
512
513 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
514
515         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
516         processing C++.
517         * cpplib.c (_cpp_handle_directive): Improve warnings for
518         traditional C and indented directives.
519
520         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
521         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
522         fixinc/inclhack.def: Indent the # of #include_next one space.
523         * cp/rtti.c: Un-indent #if and #endif.
524
525         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
526         syntax error, but an error has already been printed.
527         * cpplex.c (_cpp_parse_assertion): Give a more specific error
528         message when called with nothing remaining on the line.
529         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
530         OTHER token, not an ASSERTION.
531         * cpplib.c (do_assert): When we create a 'base' node, clear
532         its aschain pointer.
533
534 2000-04-02  Neil Booth <NeilB@earthling.net>
535
536         * cppexp.c:  New typedef op_t.  struct operation and struct 
537         token updated to use it.
538         (op_to_str): New function.
539         (_cpp_parse_expr): Error messages modified to use op_to_str.
540
541 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
542
543         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
544         before checking MUST_PASS_IN_STACK.
545
546 2000-04-02  Neil Booth <NeilB@earthling.net>
547
548         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
549         flags and initial priority into a single constant.  New
550         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
551         (_parse_cpp_expr): Implement new constants.  Take left operand
552         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
553         parse indicated by reducing FINISHED token.  Remove new lines
554         from cpp_error messages.
555
556 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
557
558         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
559         permanent obstack.
560
561 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
562
563         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
564         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
565         the strings and function names on the fly.  Take the #sccs
566         entry out of the table if SCCS_DIRECTIVE is not defined.
567         (_cpp_handle_directive): Decide if the # was at the beginning
568         of the line here.  Issue -pedantic warnings for extended
569         directives here.  Warn about K+R directives with the #
570         indented, and C89/extended directives with the # not indented,
571         here.
572         (do_import, do_include_next, do_warning, do_ident, do_sccs,
573         do_assert, do_unassert): Don't issue pedantic warning here.
574
575         * cpphash.h: Add CPP_WTRADITIONAL macro.
576         * cpplib.h (struct cpp_options): Rename warn_stringify to
577         warn_traditional; update comments.
578         * cppinit.c (handle_option): Set warn_traditional not
579         warn_stringify.
580         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
581         CPP_WTRADITIONAL (pfile).
582         * cpplex.c (_cpp_lex_token): Don't decide if directives should
583         be ignored in -traditional mode here.
584
585         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
586         to initialize speccase[] and trigraph_map[].  Delete all
587         references to pfile->input_speccase.  Always treat '?' as a
588         special character.  Remove table-initialization code from
589         _cpp_init_input_buffer.
590
591         * cpplib.h (struct cpp_reader): Remove input_speccase field.
592         * cppinit.c (cpp_cleanup): Don't free input_speccase.
593
594 2000-04-01  Richard Henderson  <rth@cygnus.com>
595
596         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
597         (mostlyclean): Likewise.
598
599         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
600         (struct dump_file_info, enum dump_file_index, dump_file): New.
601         (open_dump_file): Take a dump_file_index not a suffix, and a decl
602         not a string.  Clean out file if we havn't yet done so.  Do nothing
603         if the dump isn't enabled.
604         (close_dump_file): Do nothing if the dump isn't open.  Dump 
605         graph data if requested.
606         (dump_rtl, clean_dump_file): Remove.
607         (compile_file): Don't clean the dump files.  Only finalize .bp dump
608         if flag_test_coverage or flag_branch_probabilities.  Only finalize
609         .combine dump if optimizing.  Iterate over dump_file to finalize the
610         graph dumps.
611         (rest_of_compilation): Update for open_dump_file/close_dump_file.
612         Convert all uses of dump_rtl.
613         (decode_d_option): Iterate over dump_file to implement 'a' and to
614         locate pass-specific dumps.
615
616 2000-04-01  Neil Booth <NeilB@earthling.net>
617
618         * cppexp.c: Redefine priority constants.
619         (_cpp_parse_expr): Replace left and right priority scheme with
620         single priority logic.  Move LOGICAL to same place as COMPARE.
621         Remove bogus check for multiple unary +/- operators.
622
623 2000-04-01  Neil Booth <NeilB@earthling.net>
624
625         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
626         within the switch statement.  Binary operations break out of
627         the switch naturally.  '(' tokens handled by forcing
628         immediate shift.  ')' handled by forcing immediate reduce to
629         the previous '('.  New error messages.
630         
631 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
632
633         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
634         part', it's already in use.  Use %K instead.  Add a return at the
635         end of what is now %K.
636         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
637
638 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
639
640         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
641         allocate_dynamic_stack_space.
642         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
643         update stack_pointer_delta; do not update arg_size_so_far.
644         (compute_argument_block_size): Use stack_delta instead of
645         stack_pointer_pending and arg_size_so_far.
646         (expand_call): Add sanity checking for stack_pointer_delta;
647         save and restore stack_pointer_delta for SIB, use
648         stack_pointer_delta for alignment; do not update arg_space_so_far.
649         (emit_library_call_value): Use stack_pointer_delta for alignment.
650         (store_one_arg): Do not update arg_space_so_far.
651         * explow.c (adjust_stack, anti_adjust_stack): Update
652         stack_pointer_delta.
653         (allocate_dynamic_stack_space): Add sanity checking for
654         stack_pointer_delta.
655         * expr.c (init_expr, clear_pending_stack_adjust): Clear
656         stack_pointer_delta.
657         (emit_push_insn): Update stack_pointer_delta.
658         * function.h (struct expr_status): Add x_stack_pointer_delta;
659         remove x_arg_space_so_far.
660         (arg_space_so_far): Remove.
661         (stack_pointer_delta): New macro.
662
663 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
664
665         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
666         Reorder struct cpp_options and struct cpp_reader for better 
667         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
668         takes two args.  Change all 'char' flags to 'unsigned char'.
669         Move show_column flag into struct cpp_options.  Don't
670         prototype cpp_options_init.
671         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
672         cppinit.c, cpplex.c, cpplib.c:
673         Replace CPP_OPTIONS (pfile)->whatever with
674         CPP_OPTION (pfile, whatever), and likewise for
675         opts = CPP_OPTIONS (pfile); ... opts->whatever;
676
677         * cppinit.c (merge_include_chains): Take a cpp_reader *.
678         Extract CPP_OPTION (pfile, pending) and work with that
679         directly.
680         (cpp_options_init): Delete.
681         (cpp_reader_init): Turn on on-by-default options here.
682         Allocate the pending structure here.              
683         (cl_options, enum opt_code): Define these from the same table,
684         kept in a large macro.  Add -fshow-column and -fno-show-column
685         options.
686
687         * cpperror.c (v_message): If show_column is off, don't print
688         the column number.
689
690         * cppmain.c: Update for new interface.
691         * fix-header.c: Likewise.
692
693 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
694
695         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
696         definition.
697         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
698         are passed to any invocation of AR_FOR_TARGET.
699         (AR_CREATE_FOR_TARGET): New macro.
700         (AR_EXTRACT_FOR_TARGET): New macro.
701         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
702         AR_EXTRACT_FOR_TARGET.
703         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
704         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
705         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
706         AR_EXTRACT_FOR_TARGET to sub-makes.
707
708 2000-03-31  Neil Booth <NeilB@earthling.net>
709
710         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
711         PAREN_INNER_PRIO.
712         (_cpp_parse_expr): Check for multiple unary +/- operators.
713         Correct priorities of ':' and '?'.  Treat ')' as having a
714         value.  Ensure conditional expression is not void.
715         
716 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
717
718         * alias.c (canon_rtx): Make it global.
719         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
720         equality.
721         * cse.c (struct table_elt): Add canon_exp.
722         (insert): Clear it.
723         (invalidate): Canonicalize expressions only once.
724         * rtl.h (canon_rtx): Declare.
725
726 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
727
728         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
729         * alias.c (reg_known_value): Add comments.
730         (init_alias_analysis): Likewise.
731         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
732         address.
733         (cse_basic_block): Fix typo in comment.
734         * emit-rtl.c: Include hashtab.h.
735         (const_int_htab): New variable.
736         (const_int_htab_hash): New function.
737         (const_int_htab_eq): Likewise.
738         (rtx_htab_mark_1): Likewise.
739         (rtx_htab_mark): Likewise.
740         (gen_rtx_CONST_INT): Cache all CONST_INTs.
741         (unshare_all_rtx): Fix formatting.
742         (init_emit_once): Initialize const_int_htab.
743         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
744         address.
745         * rtl.texi: Document the fact that all CONST_INTs with the same
746         value are shared.
747
748 2000-03-30  Richard Henderson  <rth@cygnus.com>
749
750         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
751
752 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
753
754         * configure.in: Comment out --enable-c-cpplib stanza.
755         * configure: Regenerate.
756
757 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
758
759         * expr.c (store_constructor): Properly compute displacement and
760         alignment when offset is variable.
761
762         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
763         cases of alignment in bytes.
764
765 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
766
767         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
768         since it is used to generate c-parse.y.
769         * objc-parse.c, objc-parse.y: Regenerated.
770
771         * function.c (expand_function_end): Pass alignment argument to
772         emit_block_move in bits, not bytes.
773
774 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
775
776         * expr.c (move_by_pieces_ninsns): Fix one more missing align
777         correction.
778
779         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
780
781         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
782         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
783         * function.c (assign_parms): Likewise.
784         * integrate.c (expand_inline_function): Likewise.
785         * stmt.c (expand_decl): Likewise.
786         (copy_rtx_and_substitute): Likewise.
787         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
788         (clear_by_pieces): Fix error in last change.
789         * emit-rtl.c (init_emit): Set known registers alignment in bits.
790         * function.h (regno_pointer_align): Now unsigned.
791         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
792         is in bits.
793         * config/i386/i386.c (aligned_operand): Likewise.
794         * config/sparc/sparc.c (mem_min_alignment): Likewise.
795         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
796         (unaligned_memory_operand): Likewise.
797         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
798         Also make alignments and sizes unsigned and some whitespace cleanup.
799         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
800
801         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
802         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
803         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
804         (expand_builtin_memset): Likewise, but to clear_storage.
805         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
806         (restore_fixed_argument_area): Likewise.
807         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
808         (load_register_parameters): Likewise, to emit_group_load.
809         (expand_call): Likewise, to emit_group_store and emit_block_move.
810         (emit_library_call_value_1): Likewise, to emit_block_move.
811         (store_one_arg): Likewise, and to emit_push_insn.
812         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
813         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
814         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
815         (emit_block_move, emit_group_load, emit_group_store): Likewise.
816         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
817         (expand_assigment, store_expr, store_constructor_field): Likewise.
818         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
819         (store_constructor, store_field, get_inner_reference): Likewise.
820         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
821         (expand_expr, case COMPONENT_REF): Likewise.
822         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
823         and positions; reindent code.
824         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
825         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
826         (assign_parms): Likewise to emit_group_store.
827         * optabs.c (prepare_cmp_insn): Alignment is in bits.
828         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
829         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
830         (expand_return): Likewise to {extract,store}_bit_field.
831         * stor-layout.c (get_mode_alignment): Minor cleanup.
832         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
833         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
834         
835 2000-03-29  Nick Clifton  <nickc@cygnus.com>
836
837         * config/arm/arm.h: Undo effects of previous delta:
838         (ASM_SPEC): Do not define.
839         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
840
841         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
842         typo. 
843
844 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
845
846         * cppinit.c (cpp_start_read): Call initialize_dependency_output
847         only after reading in the primary source file.
848
849 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
850
851         * c-common.c (c_common_nodes_and_builtins): The first parameter to
852         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
853         or a reference to a va_list.
854         * builtins.c (stabilize_va_list): Simplify now we don't have to
855         work around C array address decay.
856         * c-typeck.c (convert_for_assignment): Handle assignment to
857         a reference parameter by taking the address of the RHS.
858         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
859         (va_copy): Likewise.
860         (__va_copy): Likewise.
861         * ginclude/varargs.h (va_start): Likewise.
862         (__va_copy): Likewise.
863
864 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
865
866         * i386/djgpp.h: Remove extraneous "+".
867
868         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
869
870         * calls.c (expand_call): Fix typo in last change.
871
872 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
873
874         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
875         been expanded.
876
877 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
878
879         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
880         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
881         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
882         * tree.c (bit_position, byte_position): Likewise.
883         * tree.h: Declare new functions.
884
885 2000-03-29  Nick Clifton  <nickc@cygnus.com>
886
887         * config/arm/arm.c: Minor formatting changes/
888         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
889         already defined.
890         (ASM_SPEC): Define if not already defined.
891
892 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
893
894         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
895         _cpp_calc_hash.
896
897 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
898
899         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
900         value, don't output it as unsigned.
901
902 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
903
904         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
905
906 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
907
908         * c-common.c (c_common_nodes_and_builtins): Don't special case
909         cplus_mode when declaring builtin bzero/bcmp, always avoid
910         prototype arguments.
911
912 2000-03-29  Bruce Korb  <bkorb@gnu.org>
913
914         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
915         to a non-file
916
917 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
918
919         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
920         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
921         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
922         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
923         (save_fixed_argument_area, restore_fixed_argument_area):
924         conditionize by #ifdef REG_PARM_STACK_SPACE only.
925         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
926         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
927         (precompute_register_parameters): Avoid #ifdefs on
928         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
929         (stire_one_args): Likewise.
930         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
931         (emit_library_call_value_1): Likewise.
932         (compute_argument_block_size): Align to STACK_BOUNDARY only for
933         ACCUMULATE_OUTGOING_ARGS.
934         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
935         value.
936         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
937         (use_crosses_set_p): Likewise.
938         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
939         #define ACCUMULATE_OUTGOING_ARGS 1.
940         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
941         frames.
942         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
943         constants.
944         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
945         (TARGET_SWITCHES): Add push-args, no-push-args,
946         accumulate-outgoing-args and no-accumulate-outgoing-args.
947         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
948         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
949         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
950         and PUSH_ROUNDING.
951         (emit_push_insn): Likewise.
952         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
953         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
954         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
955         (STACK_DYNAMIC_OFFSET): Define correctly for both
956         ACCUMULATE_OUTGOING_ARGS and normal mode.
957         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
958         * tm.texi (PUSH_ARGS): Document.
959         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
960
961 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
962
963         * flags.h (flag_optimize_sibling_calls): Declare.
964         * calls.c (expand_call): Fail sibcall when
965         !flag_optimize_sibling_calls
966         * invoke.texi (flag_optimize_sibling_calls): Document.
967         * toplev.c (flag_optimize_sibling_calls): New global variable.
968         (f_options): Add flag_optimize_sibling_calls.
969         (rest_of_compilation): Conditionize
970         optimize_sibling_and_tail_recursive_calls by
971         flag_optimize_sibling_calls.
972         (main): Set flag_optimize_sibling_calls for -O2.
973         * stmt.c (expand_return): Conditionize tail recursion by
974         flag_optimize_sibling_calls.
975
976 2000-03-29  Richard Henderson  <rth@cygnus.com>
977
978         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
979         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
980
981 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
982
983         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
984
985 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
986
987         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
988         is given.
989         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
990         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
991         * config/rs6000/aix.h: then modified likewise.
992
993 2000-03-28  Richard Henderson  <rth@cygnus.com>
994
995         * rtl.h: Redistribute enum reg_note documentation. 
996         Kill trailing whitespace.
997         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
998         Kill trailing whitespace.
999
1000 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
1001
1002         * cppfiles.c (hash_IHASH): Just return i->hash.
1003         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
1004         htab_find_with_hash.
1005         (cpp_read_file): Likewise.
1006         (find_include_file): Likewise.  Properly initialize
1007         ih->nshort.  Share ih->name and ih->nshort if possible.
1008         * cpphash.c (_cpp_calc_hash): New function.
1009         (hash_HASHNODE): Just return h->hash.
1010         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
1011         htab_find_with_hash.
1012         * cpphash.h: Prototype _cpp_calc_hash.
1013         * cppinit.c (initialize_builtins): Provide a valid hash
1014         to _cpp_make_hashnode, using _cpp_calc_hash.
1015
1016         * cpphash.c (collect_expansion): # is not a special character
1017         in object-like macros.  In -traditional mode, /**/ is not
1018         token paste at the beginning or end of the line.
1019         * cpplib.c (do_include, do_import, do_include_next): If
1020         parse_include fails, return immediately.
1021
1022 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
1023
1024         * config/arm/arm.md (return peepholes): Update to reflect the new
1025         call insn patterns.
1026         * config/arm/arm.c (arm_volatile_func): Also check
1027         current_function_nothrow.
1028         (output_return_instruction, output_func_prologue): Use it.
1029         (arm_output_epilogue, arm_expand_prologue): Likewise.
1030
1031 2000-03-27  Tom Tromey  <tromey@cygnus.com>
1032
1033         * gcc.c (handle_braces): In {x*...} case, break out of loop if
1034         switch is found.
1035
1036 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1037
1038         * expr.c (store_constructor): SIZE now signed.
1039         For EXPR_SIZE, don't evaluate size; just needed if constant.
1040         * fold-const.c (fold): Fix a number of cases when folded tree is
1041         wrong type.
1042         * function.c (flush_addressof): Reenable.
1043         * tree.h (flush_addressof): Likewise.
1044         * toplev.c (independent_decode_option): Look at strings_processed.
1045         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
1046
1047 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
1048
1049         * sibcall.c (indentify_call_return_value): Find last call in the chain;
1050         Allow stack adjustment after function call.
1051
1052         * regmove.c (struct csa_memlist): Make mem field rtx *.
1053         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
1054         (try_apply_stack_adjustment): Replace whole MEM rtx.
1055         (combine_stack_adjustments_for_block): Update calls
1056         to record_one_stack_ref.
1057
1058 2000-03-28  Neil Booth  <NeilB@earthling.net>
1059
1060         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
1061         '\\' rather than a null character, so nulls are not special.  Fix
1062         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
1063         speed trigraph conversion.
1064         (_cpp_init_input_buffer): Initialize trigraph map.
1065
1066 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1067
1068         * config/i386/i386.c (output_387_binary_op): Correct intel
1069         mode assembly output, and add spaces after commas in AT&T
1070         output.  Correct Unixware assembler comment.  Document input
1071         constraints.  Comment fp operations.  Reduce profligate buffer
1072         size.  Remove extraneous abort.  Localize temp var.
1073         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
1074         (output_fix_trunc): Add spaces after commas in assembly output.
1075
1076 2000-03-27  Richard Henderson  <rth@cygnus.com>
1077
1078         * i386-protos.h (ix86_match_ccmode): Declare.
1079         * i386.c (ix86_match_ccmode): New.
1080         (ix86_expand_fp_compare): Update for pattern renames.
1081         (ix86_expand_strlensi_unroll_1): Likewise.
1082         * i386.h (EXTRA_CC_MODES): Add CCZ.
1083         (SELECT_CC_MODE): Use it for EQ/NE zero.
1084         * i386.md (cmpsi_ccz_1): New.
1085         (cmpqi_ccz_1): New.
1086         (*testsi_ccz_1): New.
1087         (testqi_ccz_1): New.
1088         (cmpsi_ccno_1): Rename from cmpsi_0.
1089         (testsi_ccno_1): Rename from testsi_1.
1090         (testqi_ccno_1): Rename from testqi_1.
1091         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
1092         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
1093         (*cmphi_0): Use ix86_match_ccmode.
1094         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
1095         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
1096         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
1097         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
1098         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
1099         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
1100         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
1101         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
1102         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
1103         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
1104         (appropriate peepholes): Likewise.
1105         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
1106         (*subsi_3, *subhi_3, *subqi_3): Remove.
1107         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
1108         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
1109         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
1110         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
1111         (x86_shift_adj_1): Use CCZ.
1112         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
1113
1114 2000-03-27  Stan Cox  <scox@cygnus.com> 
1115
1116         * resource.h (mark_resource_type): New.
1117         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
1118         find_free_register): Use mark_resource_type.
1119         (mark_set_resources): Change include_delayed_effects
1120         to mark_resource_type.
1121         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
1122         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
1123         Use mark_resource_type.
1124         
1125 2000-03-27  Richard Henderson  <rth@cygnus.com>
1126
1127         * i386.md (call_pop_0, call_value_pop_0): New.
1128         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
1129         (call_value_pop_1): Likewise.
1130         (call_0, call_value_0): New.
1131         (call_1, call_value_1): Remove constraint from unused arg.
1132
1133 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1134
1135         * invoke.texi (Spec Files): Document new spec % command created by
1136         Tom Tromey's recent patch.
1137
1138 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
1139
1140         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
1141         if not defined.
1142
1143 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1144
1145         * expr.c (expand_assignment): Fix typo in last change.
1146
1147         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
1148
1149 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1150
1151         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
1152         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
1153         and DECL_INLINE if FUNCTION_DECL.
1154         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
1155         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
1156         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
1157         (combine_parm_decls): Likewise.
1158         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
1159         * print-tree.c (print_node): Likewise.
1160         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
1161         DECL_TRANSPARENT_UNION on proper decl types.
1162         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
1163         * stor-layout.c (layout_decl): Only check DECL_PACKED and
1164         DECL_BIT_FIELD of FIELD_DECL.
1165         * tree.h (DECL_RESULT_FLD): New macro.
1166         
1167         * expr.c (expand_assignment): Add code to handle variable-sized
1168         BLKmode case.
1169
1170 2000-03-26  Richard Henderson  <rth@cygnus.com>
1171
1172         * calls.c (expand_call): Pass parms not original exp to
1173         optimize_tail_recursion.  Mind return value instead of looking
1174         for a barrier.
1175         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
1176         call_expr.  Move checks for call_expr and current_function_decl ...
1177         (expand_return): ... here.
1178
1179 2000-03-26  Tom Tromey  <tromey@cygnus.com>
1180
1181         * gcc.c (handle_braces): Recognize `%{<S}' construct.
1182         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
1183         defines.
1184         (process_command): Use them.
1185         (check_live_switch): Likewise.
1186         (give_switch): Skip ignored switches.
1187
1188 2000-03-26  Jan Hubicka  <jh@suse.cz>
1189
1190         * jump.c (jump_optimize_1): Fix typo in elide optimizations
1191         for minimal jump pass test.
1192
1193 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
1194
1195         * integrate.c (function_cannot_inline_p): Do inline functions that
1196         return `void'.
1197
1198 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1199
1200         * stor-layout.c (layout_type, set_sizetype): early_type_list is
1201         now a list of TREE_LIST entries, not types.
1202         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
1203
1204         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
1205         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
1206         int_bit_position.
1207         * config/mips/mips.c (function_arg): Likewise; also remove cast
1208         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
1209         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
1210         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
1211         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
1212         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
1213         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
1214         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
1215         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
1216         num_adjusts now unsigned.
1217         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
1218         * config/sparc/sparc.c (struct function_arg_record_value_parms):
1219         NREGS now unsigned.
1220         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
1221         as is BITPOS variable; use host_integerp and int_bit_position.
1222         (function_arg_record_value_2): Likewise.
1223         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
1224         Variable REGNO now unsigned.
1225         (function_arg_record_value): NREGS now unsigned.
1226
1227 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
1228
1229         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
1230
1231 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1232
1233         * Rework fields used to describe positions of bitfields and
1234         modify sizes to be unsigned and use HOST_WIDE_INT.
1235         * alias.c (reg_known_value_size): Now unsigned.
1236         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
1237         (really_start_incremental_init): Use bitsize_zero_node.
1238         (push_init_level, pop_init_level, output_init_element): Likewise.
1239         Use bitsize_unit_node and bitsize_one_node.
1240         (output_pending_init_elements, process_init_element): Likewise.
1241         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
1242         (make_extraction): Position and length HOST_WIDE_INT and unsigned
1243         HOST_WIDE_INT, respectively.
1244         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
1245         (num_sign_bit_copies): Returns unsigned.
1246         BITWIDTH now unsigned; rework arithmetic.
1247         Remove recursive call from arg to MAX.
1248         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
1249         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
1250         REGNO now unsigned.
1251         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
1252         (find_split_point, expand_compound_operation, make_extraction): LEN
1253         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
1254         (make_field_assignment): Likewise.
1255         (combine_simplify_rtx): Add cast.
1256         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
1257         (force_to_mode): WIDTH now unsigned; add cast.
1258         (if_then_else_cond): SIZE now unsigned.
1259         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
1260         (extended_count): Now returns unsigned.
1261         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
1262         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
1263         (simplify_comparison): MODE_WIDTH now unsigned.
1264         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
1265         (mark_used_regs_combine): Likewise; rework arithmetic.
1266         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
1267         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
1268         (record_promoted_value): REGNO now unsigned.
1269         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
1270         (get_last_value): REGNO now unsigned.
1271         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
1272         (reg_dead_regno, reg_dead_endregno): Now unsigned.
1273         (remove_death): Arg REGNO now unsigned.
1274         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
1275         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
1276         now unsigned.
1277         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
1278         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
1279         (struct cse_reg_info): REGNO now unsigned.
1280         (cached_regno): Now unsigned.
1281         (REGNO_QTY_VALID_P): Add cast.
1282         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
1283         (remove_invalid_regs): Likewise.
1284         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
1285         as are variables END and I.
1286         (get_cse_reg_info, insert): Likewise.
1287         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
1288         (canon_hash): Likewise.
1289         (insert_regs, lookup_for_remove): REGNO now unsigned.
1290         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
1291         New variable RN.
1292         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
1293         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
1294         * emit-rtl.c (subreg_realpart_p): Add cast.
1295         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
1296         (operand_subword_force): Arg I is now unsigned.
1297         * except.c (eh_regs): Variable I is now unsigned.
1298         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
1299         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
1300         length is unsigned HOST_WIDE_INT; likewise for internal variables.
1301         (store_split_bit_field, extract_fixed_bit_field): Likewise.
1302         (extract_split_bit_field, store_bit_field, extract_bit_field):
1303         Likewise.
1304         * expr.c (store_constructor_fields, store_constructor, store_field):
1305         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
1306         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
1307         (do_jump): Likewise.
1308         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
1309         MAX_SIZE is now unsigned.
1310         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
1311         (emit_group_store): Likewise.
1312         (emit_move_insn): I now unsigned.
1313         (store_constructor): Use host_integerp, tree_low_cst, and
1314         bitsize_unit_node.
1315         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
1316         Rework all calculations to use trees and new fields.
1317         * expr.h (promoted_input_arg): Regno now unsigned.
1318         (store_bit_field, extract_bit_field): Adjust types of pos and size.
1319         (mark_seen_cases): Arg is HOST_WIDE_INT.
1320         * flow.c (verify_wide_reg_1): REGNO now unsigned.
1321         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
1322         precisions and alignments are unsigned.
1323         (optimize_bit_field_compare, fold_truthop): Likewise.
1324         (int_const_binop): Adjust threshold for size_int_type_wide call.
1325         (fold_convert): Likewise.
1326         (size_int_type_wide): Make table larger and fix thinko that only
1327         had half of table used.
1328         (all_ones_mask_p, fold): Precisions are unsigned.
1329         * function.c (put_reg_info_stack): REGNO is unsigned.
1330         (instantiate_decl): Size is HOST_WIDE_INT.
1331         (instantiate_virtual_regs): I is unsigned.
1332         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
1333         (promoted_input_arg): REGNO is unsigned.
1334         * function.h (struct function): x_max_parm_reg is now unsigned.
1335         * gcse.c (max_gcse_regno): Now unsigned.
1336         (struct null_pointer_info): min_reg and max_reg now unsigned.
1337         (lookup_set, next_set): REGNO arg now unsigned.
1338         (compute_hash_table): REGNO and I now unsigned.
1339         (handle_avail_expr): regnum_for_replacing now unsigned.
1340         (cprop_insn): REGNO now unsigned.
1341         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
1342         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
1343         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
1344         * hard-reg-set.h (reg_class_size): Now unsigned.
1345         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
1346         * jump.c (mark_modified_reg): I now unsigned; add cast.
1347         (rtx_equal_for_thread_p): Add cast.
1348         * loop.c (max_reg_before_loop): Now unsigned.
1349         (struct_movable): REGNO now unsigned.
1350         (try_copy_prop): REGNO arg unsigned.
1351         (regs_match_p): XN and YN now unsigned.
1352         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
1353         (strength_reduce): Likewise; NREGS also unsigned.
1354         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
1355         * loop.h (struct iv_class): REGNO now unsigned.
1356         (max_reg_before_loop, first_increment_giv, last_increment_giv):
1357         Now unsigned.
1358         * machmode.h (mode_size, mode_unit_size): Now unsigned.
1359         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
1360         * optabs.c (expand_binop): I and NWORDS now unsigned.
1361         (expand_unop): I now unsigned.
1362         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
1363         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
1364         * real.c (significand_size): Now returns unsigned.
1365         * real.h (significand_size): Likewise.
1366         * regclass.c (reg_class_size): Now unsigned.
1367         (choose_hard_reg_mode): Both operands now unsigned.
1368         (record_reg_classes): REGNO and NR now unsigned.
1369         (reg_scan): NREGS now unsigned.
1370         (reg_scan_update): old_max_regno now unsigned.
1371         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
1372         * reload.c (find_valid_class): BEST_SIZE now unsigned.
1373         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
1374         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
1375         Likewise for variable R.
1376         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
1377         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
1378         (find_equiv_reg): Add casts.
1379         (regno_clobbered_p): Arg REGNO now unsigned.
1380         * reload.h (struct reload): NREGS now unsigned.
1381         (refers_to_regno_for_reload_p): Regno args are unsigned.
1382         (regno_clobbered_p): Likewise.
1383         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
1384         (compute_use_by_pseudos): REGNO now unsigned.
1385         (find_reg): I and J now unsigned, new variable K, and change loop
1386         variables accordingly; THIS_NREGS now unsigned.
1387         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
1388         (spill_hard_reg): REGNO arg now unsigned; add casts.
1389         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
1390         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
1391         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
1392         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
1393         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
1394         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
1395         (emit_reload_insns): REGNO now unsigned.
1396         (reload_cse_move2add): Add cast.
1397         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
1398         and rework loop.
1399         * resource.c (mark_referenced_resources, mark_set_resources): New
1400         variable R; REGNO and LAST_REGNO now unsigned.
1401         (mark_target_live_regs): J and REGNO now unsigned.
1402         * rtl.c (mode_size, mode_unit_size): Now unsigned.
1403         * rtl.h (union rtunion_def): New field rtuint.
1404         (XCUINT): New macro.
1405         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
1406         (operand_subword, operand_subword_force): Word number is unsigned.
1407         (choose_hard_reg_mode): Operands are unsigned.
1408         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
1409         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
1410         (regno_use_in, combine_instructions, remove_death): Likewise.
1411         (reg_scan, reg_scan_update): Likewise.
1412         (extended_count): Return is unsigned.
1413         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
1414         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
1415         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
1416         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
1417         (reg_reg_last_1): FIRS and LAST now unsigned.
1418         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
1419         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
1420         now unsigned.
1421         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
1422         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
1423         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
1424         (replace_regs): Arg NREGS now unsigned.
1425         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
1426         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
1427         (simplify_binary_operation): Likewise.
1428         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
1429         THIS_LAST now unsigned.
1430         (cselib_record_set): Add cast.
1431         * ssa.c (ssa_max_reg_num): Now unsigned.
1432         (rename_block): REGNO now unsigned.
1433         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
1434         sizes now unsigned.
1435         (all_cases_count): Just return -1 not -2.
1436         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
1437         Rework tests to use trees whenever possible.
1438         Use host_integerp and tree_low_cst.
1439         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
1440         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
1441         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
1442         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
1443         (smallest_mode_for_size): Likewise.
1444         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
1445         KNOWN_ALIGN is now an alignment, so simplify code.
1446         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
1447         (start_record_layout): Renamed from new_record_layout_info.
1448         Update to new fields.
1449         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
1450         New functions.
1451         (place_union_field): Renamed from layout_union_field.
1452         Update to use new fields in rli.
1453         (place_field): Renamed from layout_field.
1454         Major rewrite to use new fields in rli; pass alignment to layout_decl.
1455         (finalize_record_size): Rework to use new fields in rli and handle
1456         union.
1457         (compute_record_mode): Rework to simplify and to use new DECL fields.
1458         (finalize_type_size): Make rounding more consistent.
1459         (finish_union_layout): Deleted.
1460         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
1461         (layout_type, case RECORD_TYPE): Call new function names.
1462         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
1463         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
1464         (get_best_mode): UNIT is now unsigned; remove casts.
1465         * tree.c (bit_position): Compute from new fields.
1466         (byte_position, int_byte_position): New functions.
1467         (print_type_hash_statistics): Cast to remove warning.
1468         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
1469         (build_index_type): Likewise; make subtype of sizetype.
1470         (build_index_2_type): Pass sizetype to build_range_type.
1471         (build_common_tree_nodes): Use size_int and bitsize_int to
1472         initialize nodes; add bitsize_{zero,one,unit}_node.
1473         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
1474         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
1475         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
1476         (DECL_FIELD_BITPOS): Deleted.
1477         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
1478         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
1479         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
1480         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
1481         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
1482         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
1483         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
1484         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
1485         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
1486         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
1487         (DECL_ALIGN): Adjust to new field in union.
1488         (DECL_OFFSET_ALIGN): New field.
1489         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
1490         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
1491         (union tree_decl): Add struct for both aligns.
1492         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
1493         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
1494         (struct record_layout_info): Rework fields to have offset
1495         alignment and byte and bit position.
1496         (start_record_layout, place_field): Renamed from old names.
1497         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
1498         (byte_position, int_byte_position): Likewise.
1499         (get_inner_reference): Change types of position and length.
1500         * unroll.c (unroll_loop): New variable R; use for some loops.
1501         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
1502         (calculate_giv_inc): Arg REGNO now unsigned.
1503         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
1504         * varasm.c (assemble_variable): Clean up handling of size using
1505         host_integerp and tree_low_cst.
1506         (decode_addr_const): Use byte, not bit, position.
1507         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
1508         use tree_low_cst and int_bit_position.
1509         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
1510         
1511 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
1512
1513         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
1514         (reorder_block_def): New members eff_head and eff_end.
1515         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
1516         (verify_insn_chain): New function.
1517         (skip_insns_between_block): Add code to skip deleted insns.
1518         Check for note before using.
1519         (chain_reorder_blocks): Replace calls to skip_insns_between_block
1520         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
1521         Check for note before using.
1522         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
1523         (fixup_reorder_chain): Restructure, clean up, defect removal.
1524         (reorder_basic_blocks): Remove last_insn and references to it.
1525         Moved insn chain verification code into a new function (see above).
1526         Delete defective code that sets last insn.
1527         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
1528         all blocks.
1529
1530 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1531
1532         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
1533
1534 2000-03-24  Richard Henderson  <rth@cygnus.com>
1535
1536         * tree.c (lang_safe_for_unsave): Remove.
1537         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
1538         allowing for two levels of unsafeness.  Remove lang hook.
1539         * tree.h: Update declarations.
1540         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
1541         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
1542         Always fail sibcalls when there are pending cleanups.
1543
1544 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
1545
1546         * flow.c (propagate_block): When we delete an ADDR_VEC,
1547         also delete the BARRIER following it if there is one.
1548
1549 2000-03-24  Richard Henderson  <rth@cygnus.com>
1550
1551         * builtins.c (expand_builtin_bzero): Convert `length' argument
1552         to sizetype.
1553
1554 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
1555
1556         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
1557         comparison if regno's are equal.
1558         * calls.c (initialize_argument_informat): Add ecf_flags argument.
1559         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
1560         (expand_call): Update caller.
1561         Avoid making a sibling call if argument size of the callee is larger
1562         than argument size of the caller.
1563         Call hard_function_value with outgoing set if in sibcall pass.
1564         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
1565
1566         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
1567         Change LEAF_REGISTERS from an array initializer to actual array
1568         identifier. Move static global variable into the function.
1569         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
1570         sequences for leaf functions.
1571         * global.c (global_alloc): Likewise.
1572         * tm.texi (LEAF_REGISTERS): Update documentation.
1573
1574         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
1575         TARGET_FLAT leaf disabling hack.
1576         (LEAF_REGISTERS): Changed from an array initializer to actual array
1577         identifier to avoid duplication and remove the above hack.
1578         (FUNCTION_OK_FOR_SIBCALL): Define.
1579         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
1580         always like call attribute.
1581         (eligible_for_sibcall_delay): New attribute.
1582         (sibcall): New delay type.
1583         (sibcall, sibcall_value, sibcall_epilogue): New expands.
1584         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
1585         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
1586         * config/sparc/sparc.c (sparc_leaf_regs): New array.
1587         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
1588         New functions.
1589         (output_function_epilogue): Move part of the code into
1590         output_restore_regs.
1591         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
1592         TYPE_SIBCALL.
1593         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
1594         prototypes.
1595
1596         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
1597         until infrastructure is finished.
1598
1599 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
1600
1601         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
1602         (save_parm_insns): Not here.
1603
1604 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1605
1606         * builtins.c (expand_builtin_bzero): New function.
1607         (expand_builtin): Handle bzero.
1608
1609         * builtins.def: Add BUILT_IN_BZERO.
1610
1611         * c-common.c (c_common_nodes_and_builtins): Provide builtin
1612         prototype & function for bzero.
1613
1614 2000-03-23  Michael Meissner  <meissner@redhat.com>
1615
1616         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
1617         change adding TARGET_FP to the TF floating point insns, except for
1618         trunctfsf2, which generates direct calls to truncdfsf2.
1619
1620 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
1621
1622         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
1623         try to protect against middle-end changes that break binary
1624         compatibility.
1625         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
1626
1627 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1628
1629         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
1630
1631 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1632
1633         * calls.c (expand_call): If TARGET is passed by reference and
1634         is readonly, write a CLOBBER.
1635
1636 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1637
1638         * builtins.c (expand_builtin): Handle bcmp.
1639
1640         * builtins.def: Add BUILT_IN_BCMP.
1641
1642         * c-common.c (c_common_nodes_and_builtins): Provide builtin
1643         prototype & function for bcmp.
1644
1645 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
1646
1647         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
1648         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
1649         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
1650
1651 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
1652
1653         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
1654         alternative when using -fp64 -gp32.
1655
1656 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
1657
1658         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
1659         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
1660         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
1661
1662         * frame.h (frame_state): Revert last change.
1663         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
1664         * libgcc2.c (throw_helper): Revert last change.
1665         
1666 2000-03-22  Richard Henderson  <rth@cygnus.com>
1667
1668         * stmt.c (expand_asm_operands): Don't promote the temporary.
1669
1670 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1671
1672         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
1673         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
1674           c_get_alias_set): Likewise.
1675         * c-decl.c (duplicate_decls): Likewise.
1676         * c-typeck.c (default_conversion,build_unary_op): Likewise.
1677         * calls.c (initialize_argument_information): Likewise.
1678         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
1679         Likewise.
1680         * dwarfout.c (decl_class_context,output_type): Likewise.
1681         * expr.c (get_inner_reference): Likewise.
1682         * fold-const.c (simple_operand_p,fold): Likewise.
1683         * function.c (aggregate_value_p): Likewise.
1684         * stmt.c (expand_asm_operands): Likewise.
1685         * varasm.c (named_section): Likewise.
1686
1687 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
1688
1689         Implement dwarf2 exception handling for the ARM.
1690         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
1691         (DWARF_FRAME_RETURN_COLUMN): Define.
1692         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
1693         REG_FRAME_RELATED_EXPR note.
1694         (emit_sfm): Likewise.
1695         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
1696         * dwarf2out.c (reg_save): Handle saving a register to itself.
1697         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
1698         * except.c (eh_regs): Don't use the static chain reg if it's
1699         callee-saved.
1700         * frame.h (frame_state): Add cfa_saved field.
1701         * frame.c (execute_cfa_insn): Set it.
1702         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
1703         the epilogue.
1704         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
1705         Now takes a parm.
1706         (instantiate_virtual_regs): Adjust.
1707         * tm.texi: Adjust.
1708         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
1709         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
1710         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
1711
1712         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
1713         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
1714
1715 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1716
1717         * builtins.def: New file.
1718
1719         * Makefile.in (TREE_H): Depend on builtins.def.
1720
1721         * builtins.c (built_in_names): Use builtins.def.
1722
1723         * tree.h (built_in_function): Likewise.
1724
1725 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
1726
1727         * tree.c (size_in_bytes): Return size_zero_node, not
1728         integer_zero_node.
1729
1730 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
1731
1732         * config/fp-bit.c (pack_d): Correct the case when a denormal
1733         is rounded up and stops being denormal.
1734
1735 2000-03-21  Richard Henderson  <rth@cygnus.com>
1736
1737         * config/alpha/alpha.c (function_arg): Check for void_type_node
1738         before using MUST_PASS_IN_STACK.
1739
1740 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
1741
1742         * regmove.c (combine_stack_adjustments_for_block): Check that
1743         the stack pointer is a valid memory address.
1744
1745 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
1746
1747         * calls.c: re-install Mar 16 emit_library_call merge.
1748
1749 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
1750
1751         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
1752         we cannot be sure that if reload_completed base register will
1753         be properly aligned.
1754
1755 2000-03-21  Richard Henderson  <rth@cygnus.com>
1756
1757         * flow.c (delete_block): Fix typo last change.
1758
1759 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
1760
1761         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
1762         not COMPLETE_TYPE_P, to check the type of the expression.
1763
1764 2000-03-21  Michael Meissner  <meissner@redhat.com>
1765
1766         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
1767         all floating point insns that just tested the macro
1768         TARGET_HAS_XFLOATING_LIBS.
1769         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
1770         used to only use the gprs.
1771
1772 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
1773
1774         * tree.h (COMPLETE_TYPE_P): New macro.
1775         (COMPLETE_OR_VOID_TYPE_P): New macro.
1776         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
1777         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
1778         * c-aux-info.c (gen_type): Use them.
1779         * c-common.c (c_expand_expr_stmt): Likewise.
1780         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
1781         grokdeclarator, grokparms, finish_struct, start_function,
1782         store_parm_decls, combine_parm_decls): Likewise.
1783         * c-parse.y (cast_expr): Likewise.
1784         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
1785         c_size_in_bytes, c_alignof, build_component_ref,
1786         build_indirect_ref, build_array_ref, convert_arguments,
1787         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
1788         * calls.c (initialize_argument_information): Likewise.
1789         * convert.c (convert_to_integer): Likewise.
1790         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
1791         * dwarfout.c (location_or_const_value_attribute,
1792         output_enumeration_type_die, output_structure_type_die,
1793         output_union_type_die, output_type): Likewise.
1794         * expr.c (safe_from_p, expand_expr): Likewise.
1795         * function.c (assign_parms): Likewise.
1796         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
1797         * tree.c (build_array_type, build_function_type,
1798         build_method_type, build_offset_type, build_complex_type): Likewise.
1799         * c-parse.c, c-parse.h: Regenerated.
1800
1801 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1802
1803         * config/c4x/rtems.h: Include config/rtems.h.
1804
1805 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
1806
1807         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
1808         decl is a FUNCTION_DECL
1809
1810 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
1811
1812         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
1813         function uses output registers.  Don't save RP for leaf functions.
1814         Do save RP even if no epilogue.
1815         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
1816         (CALL_USED_REGISTERS): Unmark in registers.
1817         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
1818         to near the middle.
1819
1820 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
1821
1822         * config/rs6000/rs6000.md (bunordered): New expander.
1823         (bordered): New expander.
1824         (buneq): New expander.
1825         (bunge): New expander.
1826         (bungt): New expander.
1827         (bunle): New expander.
1828         (bunlt): New expander.
1829         (bltgt): New expander.
1830  
1831         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
1832         (ccr_bit_negated_p): New function.
1833         (print_operand): For %C, generate appropriate cror for UNEQ,
1834         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
1835
1836 2000-03-20  Andreas Jaeger  <aj@suse.de>
1837
1838         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
1839         warning.
1840
1841         * tree.h (safe_for_unsave): Prototype.
1842
1843 2000-03-20  Richard Henderson  <rth@cygnus.com>
1844
1845         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
1846         (combine_stack_adjustments_for_block): Don't allow sp references
1847         in the side of a set we're not fixing up.
1848         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
1849         after life_analysis.
1850
1851 2000-03-20  Richard Henderson  <rth@cygnus.com>
1852
1853         * calls.c (expand_call): Don't bother generating tail call
1854         sequences if there are pending cleanups.  Use
1855         expand_start_target_temps/expand_end_target_temps to elide
1856         cleanups created during sibcall expansion.
1857
1858 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
1859
1860         * configure.in: Set $IFS to a value if it doesn't already have one
1861         in the --enable-checking handling.
1862         * configure: Regenerate.
1863
1864 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1865
1866         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
1867         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
1868         Regenerated.
1869
1870 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
1871
1872         * jump.c (delete_noop_moves): Remove code attempting to
1873         combine stack adjustments.
1874
1875 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1876
1877         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
1878         * except.c (emit_cleanup_handler): Use them.
1879         (expand_end_all_catch): Likewise.
1880         * function.c (fixup_var_refs): Likewise.
1881         (expand_function_end): Clear catch_clauses_last.
1882         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
1883         * except.h (struct eh_status): New field x_catch_clauses_last.
1884         (catch_clauses_last): New define.
1885
1886         * Makefile.in (tree.o): Depend on HASHTAB_H.
1887         * tree.c: Include hashtab.h.
1888         (struct type_hash): Remove next field.
1889         (TYPE_HASH_SIZE): Remove.
1890         (TYPE_HASH_INITIAL_SIZE): New define.
1891         (type_hash_table): Change type to htab_t.
1892         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
1893         mark_hash_entry): New functions.
1894         (init_obstacks): Allocate type hash.
1895         (type_hash_lookup): Use htab functions.
1896         (type_hash_add, mark_type_hash): Likewise.
1897         (dump_tree_statistics): Call print_type_hash_statistics.
1898
1899 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1900
1901         * rs6000/t-aix41: New file.
1902
1903         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
1904
1905 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
1906
1907         * tm.texi (Driver): Fix typos and tweak entry for
1908         INCLUDE_DEFAULTS.
1909         Move misplaced STRUCT_FORCE_BLK entry ...
1910         (Storage Layout): ... to here.
1911         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
1912
1913 2000-03-19  Richard Henderson  <rth@cygnus.com>
1914
1915         * flow.c (delete_block): Delete the addr_vec along with the block.
1916         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
1917         reference labels.
1918
1919         * fold-const.c (extract_muldiv): Apply type check for defined
1920         overflow to multiply as well as divide.
1921
1922         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
1923
1924 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
1925
1926         * emit-rtl.c (remove_unncessary_notes): Check that all
1927         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
1928         associated NOTE_BLOCK.
1929         * function.h (identify_blocks): Update comments.
1930         (reorder_blocks): Declare.
1931         * function.c (identify_blocks): Don't take paramters.
1932         (reorder_blocks): Don't take parameters.
1933         * loop.h (find_loop_tree_blocks): Remove.
1934         (unroll_block_trees): Likewise.
1935         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
1936         reorder_blocks instead of unroll_block_trees.h
1937         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
1938         * stmt.c (find_loop_tree_blocks): Remove.
1939         (unroll_block_trees): Likewise.
1940         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
1941         in whole-function mode.
1942         * tree.h (reorder_blocks): Remove declaration.
1943
1944         * expr.c: Include intl.h.
1945         * Makefile.in (expr.o): Depend on intl.h.
1946         
1947 2000-03-18  Richard Henderson  <rth@cygnus.com>
1948
1949         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
1950
1951 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
1952
1953         * tree.h (tree_index): Remove enumerals for integer types.
1954         (integer_type_kind): New type.
1955         (integer_types): New variable.
1956         (char_type_node): Adjust.
1957         (signed_char_type_node): Likewise.
1958         (unsigned_char_type_node): Likewise.
1959         (short_integer_type_node): Likewise.
1960         (short_unsigned_type_node): Likewise.
1961         (integer_type_node): Likewise.
1962         (unsigned_type_node): Likewise.
1963         (long_integer_type_node): Likewise.
1964         (long_unsigned_type_node): Likewise.
1965         (long_long_integer_type_node): Likewise.
1966         (long_long_unsigned_type_node): Likewise.
1967         * tree.c (integer_types): New variable.
1968         (init_obstacks): Register it as a root.
1969
1970 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
1971
1972         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
1973         NEXT_INSN. Update last insn in chain.
1974
1975 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
1976
1977         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
1978         with TYPE_DECL_SUPPRESS_DEBUG set.
1979
1980 2000-03-18  Richard Henderson  <rth@cygnus.com>
1981
1982         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
1983
1984 2000-03-18  Richard Henderson  <rth@cygnus.com>
1985
1986         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
1987         care for HALF_PIC_P.
1988         (expander_call_insn_operand): Remove.
1989         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
1990         * i386.h (PREDICATE_CODES): Update.
1991         * i386.md (all call expanders): Remove predicates, remove special
1992         handling for half-pic.
1993         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
1994         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
1995         (sibcall_epilogue): New.
1996
1997 2000-03-17  Richard Henderson  <rth@cygnus.com>
1998
1999         * rtlanal.c (single_set): Reject if the parallel has anything
2000         except SET or USE or CLOBBER.
2001
2002 2000-03-17  Jeff Law  <law@cygnus.com>
2003             Richard Henderson  <rth@cygnus.com>
2004
2005         * Makefile.in (OBJS): Add sibcall.o.
2006         (sibcall.o): New.
2007         * sibcall.c: New file.
2008         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2009         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2010         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2011         Emit sibcall patterns when requested.  Update all callers.
2012         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2013         elimination seems feasable.
2014         * final.c (leaf_function_p): Sibling calls don't discount being
2015         a leaf function.
2016         * flow.c (HAVE_sibcall_epilogue): Provide default.
2017         (find_basic_blocks_1): Sibling calls don't throw.
2018         (make_edges): Make edge from sibling call to EXIT.
2019         (propagate_block): Don't remove sibcall_epilogue insns.
2020         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
2021         (sibcall_epilogue): New.
2022         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2023         (identify_blocks_1): Likewise.  Break out from ...
2024         (identify_blocks): ... here.
2025         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
2026         (reorder_blocks): ... here.
2027         (init_function_for_compilation): Zap prologue/epilogue as varrays.
2028         (record_insns): Extend a varray instead of mallocing new memory.
2029         (contains): Read a varray not array of ints.
2030         (sibcall_epilogue_contains): New.
2031         (thread_prologue_and_epilogue_insns): Emit and record
2032         sibcall_epilogue patterns.
2033         (init_function_once): Allocate prologue/epilogue varrays.
2034         * genflags.c (gen_insn): Treat sibcall patterns as calls.
2035         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2036         Broken out from ...
2037         (save_for_inline_nocopy): ... here.
2038         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
2039         Broken out from ...
2040         (expand_inline_function): ... here.
2041         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
2042         (subst_constants): Handle 'n' formats.
2043         * jump.c (jump_optimize_minimal): New.
2044         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
2045         optimizations if it's set.
2046         * rtl.c (copy_rtx): Do copy jump & call for insns.
2047         * rtl.h (struct rtx_def): Document use of jump and call for insns.
2048         (SIBLING_CALL_P): New.
2049         (sibcall_use_t): New.
2050         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
2051         Invoke optimize_sibling_and_tail_recursive_calls.
2052         * tree.c (lang_safe_for_unsave): New.
2053         (safe_for_unsave): New.
2054         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
2055
2056         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
2057         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
2058         (*sibcall_osf_1, *sibcall_value_osf_1): New.
2059
2060 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
2061
2062         * objc/objc-act.c (encode_method_prototype): Pass types, not
2063         PARM_DECLs, to int_size_in_bytes.
2064
2065 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
2066
2067         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
2068
2069         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2070         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
2071
2072 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2073
2074         * Clean up usages of TREE_INT_CST_LOW.
2075         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
2076         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2077         Regenerated.
2078         * c-tree.h (min_precision): Move declaration to here.
2079         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
2080         (build_unary_op, add_pending_init): Use bit_position.
2081         (pending_init_member, process_init_element): Likewise.
2082         (really_start_incremental_init, push_init_level, pop_init_level):
2083         Don't make copies of nodes or modify them in place, use consistent
2084         types when tracking positions, and use tree routines computations.
2085         (set_init_index, output_init_element): Likewise.
2086         (output_pending_init_elements, process_init_element): Likewise.
2087         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
2088         tree_low_cst and int_bit_position; also minor cleanup.
2089         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
2090         (print_cst_octal): Precision is unsigned.
2091         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
2092         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
2093         (simple_type_align_in_bits): Result is unsigned int.
2094         Use tree_int_low_cst and host_integerp.
2095         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
2096         (field_byte_offset): Result is HOST_WIDE_INT.
2097         Change types of internal variables so alignments are unsigned int,
2098         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
2099         Use host_integerp, tree_low_cst, and int_bit_position.
2100         (add_bit_offset_attribute): Likewise.
2101         (add_data_member_location_attribute): Use tree_cst_low.
2102         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
2103         (add_bit_size_attribute): Use tree_low_cst.
2104         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
2105         * dwarfout.c: Similar changes to dwarf2out.c.
2106         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
2107         * genoutput.c (n_occurences): Return -1 for null string.
2108         (strip_whitespace): Accept null string and make into function.
2109         (scan_operands): Reflect above changes.
2110         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
2111         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
2112         * ssa.c (rename_registers): Add missing cast of arg to bzero.
2113         * tree.c (int_size_in_bytes): Check for too big to represent.
2114         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
2115         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
2116         New declarations.
2117         (min_precision): Delete from here.
2118         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
2119         and int_bit_position.
2120         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
2121         (encode_method_def): Likewise.
2122         (build_ivar_list_initializer): Use int_bit_position.
2123         (generate_shared_structures): Convert size.
2124         (encode_type, encode_complete_bitfield): Use integer_zerop.
2125         (encode_bitfield): Use tree_low_cst and int_bit_position.
2126         
2127 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2128
2129         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
2130
2131 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2132
2133         * call.c (special_function_p): It is only malloc if it returns
2134         Pmode.
2135
2136 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2137
2138         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
2139         (C33_FLAG, TARGET_C3X): Add macros.
2140         (TARGET_SWITCHES): Add -m33 option.
2141         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
2142         
2143 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2144         
2145         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
2146         (PARALLEL_PACK_FLAG): Delete.
2147         (TARGET_SWITCHES): Update.
2148         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
2149
2150 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2151
2152         * fold-const.c (fold): Fix a few cases when the returned result
2153         is not of the same type as the input.
2154
2155 2000-03-16  Nick Clifton  <nickc@cygnus.com>
2156
2157         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
2158         warning.
2159
2160 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2161
2162         * libgcc2.h: Move prototypes above macros with the same name.
2163         Wrap some function prototypes in the conditional which indicates
2164         whether they are supported, i.e. "BITS_PER_UNIT == 8".
2165
2166 2000-03-16  Richard Henderson  <rth@cygnus.com>
2167
2168         * calls.c: Revert last two changes.
2169
2170 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
2171
2172         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
2173         has exponent 0 is a zero.
2174
2175         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
2176         HASH may already be nonzero.  Add code/mode into hash value
2177         immediately after repeat label.
2178         (cselib_lookup): Don't leave the hash table in an inconsistent
2179         state before a hash lookup operation.
2180
2181 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
2182
2183         * i386.md (all HI and QI mode non-move patterns):  Conditionize
2184         by TARGET_[HQ]IMODE_MATH.
2185         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2186         x86_promote_qi_regs): Declare.
2187         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
2188         TARGET_PROMOTE_QI_REGS): New macros.
2189         (PROMOTE_MODE): New macro.
2190         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2191         x86_promote_qi_regs): New global variables.
2192
2193 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
2194
2195         * calls.c (emit_library_call_value_1): Break out from ...; handle
2196         VOIDmode function calls too.
2197         (emit_library_call_value): ... here.
2198         (emit_library_call): Implement by calling emit_library_call_value_1.
2199
2200 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
2201
2202         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
2203         Update arg_space_so_far on stack adjustments.
2204         (emit_library_call, emit_library_call_value): Likewise; take into
2205         account arg_space_so_far and pending_stack_adjust when calculcating
2206         the boundary.
2207
2208 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
2209
2210         * flow.c: Move all basic block reordering code into its own file.
2211         (create_basic_block): Externalize.
2212         * bb-reorder.c: New file. Copy all basic block reordering code from
2213         flow.c to this file.
2214         (reorder_basic_blocks): Fix fencepost error in for-loop.
2215         (reorder_basic_blocks): Remove braces from single statement for-loops.
2216         * basic-block.h: Add declaration for create_basic_block.
2217         * Makefile.in: Add rules for bb-reorder.o.
2218
2219 2000-03-16  Neil Booth  <NeilB@earthling.net>
2220
2221         * cppinit.c (handle_option):  Implement #unassert directive
2222         as -A- command line option.
2223         (print_help):  Update.
2224         * cpptexi.c:  Update.
2225
2226 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2227
2228         * md.texi (Standard Names): Document `jump'.
2229
2230 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2231
2232         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
2233         gotos.
2234
2235 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
2236
2237         See the ChangeLog on the branch for more details.
2238         
2239         * configure.in: Merge in changes from newppc-branch.
2240         * configure: Regenerate.
2241         * config/rs6000/*: Merge in changes from newppc-branch.
2242         Also correct copyright notices.
2243
2244 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
2245
2246         * acconfig.h (HAVE_GAS_WEAK): New define.
2247         * configure.in (assembler weak support): Check for .weak support.
2248         * config.in, configure: Rebuilt.
2249         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
2250         HAVE_GAS_WEAK is defined.
2251
2252 2000-03-15  Nick Clifton  <nickc@cygnus.com>
2253
2254         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
2255         asm_fprintf().
2256
2257 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
2258
2259         * cppfiles.c (open_include_file): New function.
2260         (find_include_file, cpp_read_file): Use it.
2261
2262 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2263
2264         * cpphash.c (dump_hash_helper): Take the slot, not the element.
2265
2266 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
2267
2268         * flow.c (verify_flow_info): Check for unconditional return.
2269
2270 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
2271
2272         * config/ia64/ia64.md (restore_stack_nonlocal): New.
2273         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
2274         (__ia64_restore_stack_nonlocal): New.
2275         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
2276
2277 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2278
2279         * cpphash.c (collect_formal_parameters): Do not complain about
2280         parameter names that just start with `__VA_ARGS__'.
2281
2282 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
2283
2284         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
2285         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
2286         * i386.c (pentiumpro_cost): Set mul cost to 4.
2287         (x86_use_movx): Set for PPro.
2288
2289 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
2290
2291         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
2292         STACK_BOUNDARY for empty frames now.
2293
2294 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
2295
2296         * stor-layout.c (layout_union): Remove.
2297         (layout_union_field): New function, split out from layout_union.
2298         (finish_union_layout): Likewise.
2299         (layout_field): Handle unions by calling layout_union_field.
2300         (finish_record_layout): Handle unions.
2301         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
2302         QUAL_UNION_TYPE handling.
2303
2304 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
2305
2306         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
2307         end of basic block is jump_insn, not barrier; use create_basic_block
2308         instead of creating basic block by hand.
2309
2310 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
2311
2312         * flow.c (reorder_basic_blocks): Account for barriers when writing
2313         over NEXT_INSN (last_bb->end).
2314         (verify_flow_info): Add check for missing barriers.
2315
2316 2000-03-14  Greg McGary  <gkm@gnu.org>
2317
2318         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
2319         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
2320         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
2321         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
2322         __unbounded, __unbounded__): New keywords.
2323         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
2324         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
2325         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
2326
2327 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2328
2329         * cselib.h: New file.
2330         * alias.c: Include "cselib.h".
2331         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
2332         MEMs as two new arguments.
2333         (get_addr): New static function.
2334         (find_base_term): Handle VALUEs.
2335         (memrefs_conflict_p): Likewise.
2336         (true_dependence): Call get_addr on the addresses.
2337         Call fixed_scalar_and_varying_struct_p with addresses that have been
2338         passed through get_addr and canon_rtx.
2339         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
2340         with true_dependence.
2341         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
2342         * loop.c: Include "cselib.h".
2343         (load_mems): Process extended basic block that enters the loop with
2344         cselib.  Use that information to change initialization of the shadow
2345         register so that a constant equivalence is seen by later passes.
2346         * reload1.c: Include "cselib.h".
2347         (reload_cse_invalidate_regno): Delete function.
2348         (reload_cse_mem_conflict_p): Likewise.
2349         (reload_cse_invalidate_mem): Likewise.
2350         (reload_cse_invalidate_rtx): Likewise.
2351         (reload_cse_regno_equal_p): Likewise.
2352         (reload_cse_check_clobber): Likewise.
2353         (reload_cse_record_set): Likewise.
2354         (reg_values): Delete static variable.
2355         (invalidate_regno_rtx): Likewise.
2356         (reload_cse_delete_noop_set): New static function.
2357         (reload_cse_simplify): New static function, broken out of
2358         reload_cse_regs_1.
2359         (reload_cse_noop_set_p): Delete unused argument INSN.
2360         Just call rtx_equal_for_cselib_p on set source and destination.
2361         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
2362         reload_cse_delete_noop_set.  Delete code to keep track of values; use
2363         cselib functions instead.  Delete code to push/pop obstacks.
2364         (reload_cse_simplify_set): Use cselib to find equivalent values.
2365         Delete code to push/pop obstacks.
2366         (reload_cse_simplify_operands): Likewise.
2367         * rtl.def (VALUE): New rtx code.
2368         * rtl.h (union rtunion_def): New elt rt_cselib.
2369         (X0CSELIB, CSELIB_VAL_PTR): New macros.
2370         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
2371         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
2372         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
2373         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
2374         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
2375         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
2376         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
2377         cselib_record_set, cselib_record_sets): New static functions.
2378         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
2379         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
2380         references_value_p): New functions.
2381         (MAX_USELESS_VALUES, REG_VALUES): New macros.
2382         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
2383         n_useless_values, reg_values, callmem, cselib_obstack,
2384         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
2385         New static variables.
2386         * varray.h (union varray_data_tag): New elt te.
2387         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
2388         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
2389         dependencies.
2390
2391 2000-03-14  Nick Clifton  <nickc@cygnus.com>
2392
2393         * gcc.c (do_spec_1): Catch the case where %* is used in a
2394         substitution pattern, but it has not been initialised.
2395         Issue a meaningful error message if an unrecognised operator
2396         is encountered in a spec string.
2397
2398 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
2399
2400         * function.c (prepare_function_start): Correctly initialize
2401         cfun->stack_alignment_needed.
2402
2403 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
2404
2405         * cppfiles.c (find_include_file): Don't assume nshort is a
2406         substring of name.
2407
2408 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
2409
2410         * configure.in (hppa configurations): Add pa32-regs.h to the
2411         list of tm files as appropriate.
2412         * configure: Rebuilt.
2413         * pa.c (compute_frame_size): Remove explicit knowledge about FP
2414         register numbering.
2415         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
2416         (fmpyaddoperands, fmpysuboperands): Likewise.
2417         * pa.h: Remove various definitions which depend on knowing
2418         how registers are numbered.
2419         * pa32-regs.h: New file with PA32 register numbering specific
2420         definitions.
2421
2422 2000-03-14  Richard Henderson  <rth@cygnus.com>
2423
2424         * regmove.c (combine_stack_adjustments): New.
2425         (stack_memref_p, single_set_for_csa): New.
2426         (free_csa_memlist, record_one_stack_memref): New.
2427         (try_apply_stack_adjustment): New.
2428         (combine_stack_adjustments_for_block): New.
2429         * rtl.h (combine_stack_adjustments): Declare.
2430         * toplev.c (rest_of_compilation): Call it.
2431
2432         * i386.md: Revert 2000-01-16 change.
2433
2434 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2435
2436         * gccbug.in: Add web category, gcc specific classes.
2437
2438 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
2439
2440         * stor-layout.c (finalize_record_size): Fix typo.
2441
2442 2000-03-14  Stan Shebs  <shebs@apple.com>
2443
2444         * c-typeck.c (c_alignof): Error on incomplete types.
2445         * extend.texi (Alignment): Document this.
2446
2447 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2448
2449         * cppfiles.c: Include mkdeps.h.
2450         (find_include_file, read_include_file): Remove _cpp_ prefix
2451         from name, make static.
2452         (_cpp_execute_include): New function, broken out of
2453         do_include.
2454
2455         * cpplib.c: Don't include mkdeps.h.
2456         (struct directive): Remove type field. Reorder entries.  The
2457         function takes only one argument.
2458         (struct if_stack): Make type field an int.
2459         (directive_table): Rename to dtable.  Generate it, the
2460         prototypes of the directive handlers, and the enum for the
2461         directive numbers, from a template macro.
2462         (do_ifndef, do_include_next, do_import): New functions.
2463         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
2464         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
2465         do_ident, do_assert, do_unassert, do_sccs): Take only one
2466         argument.
2467         (do_sccs): Define always, but alter behavior based on
2468         SCCS_DIRECTIVE.
2469         (_cpp_handle_directive, consider_directive_while_skipping):
2470         Restructure for new directive table layout.
2471
2472         (pass_thru_directive): Take a directive number, not a pointer
2473         to a struct directive.
2474         (parse_include): New function, broken out of do_include.
2475         (do_include, do_import, do_include_next): Use parse_include
2476         and _cpp_execute_include.
2477         (do_elif, do_else): Test for T_ELSE specifically when checking
2478         for #elif/#else after #else.
2479         (parse_ifdef): New function, broken out of do_ifdef.
2480         (validate_else): Expect a name arg without a leading #.
2481         (if_directive_name): Delete.
2482         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
2483         directive handlers with only one argument.
2484
2485         * cpphash.h: Update prototypes.
2486         (enum node_type): Remove entries for directives.
2487         * Makefile.in: Update dependencies.
2488
2489         * cpphash.c (dump_hash_helper): Only dump nodes of type
2490         T_MACRO.  Emit a newline after each definition.
2491
2492 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2493
2494         * gccbug.in: New file.
2495         * configure.in (all_outputs): Add gccbug.
2496         * Makefile.in (install-common): Install gccbug.
2497         (GCCBUG_INSTALL_NAME): New variable.
2498         * configure: Rebuilt.
2499         
2500 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
2501
2502         * function.c (put_var_into_stack): Use type_for_mode to calculate
2503         part_type.  Use MEM_SET_IN_STRUCT_P.
2504         * expr.c (store_field): Handle CONCAT.
2505         (store_constructor): Use fields_length.
2506         * tree.c (fields_length): New fn.
2507         * tree.h: Declare it.
2508
2509 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2510
2511         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
2512         (cpplex.o): New target.
2513         * po/POTFILES.in: Add cpplex.c.
2514
2515         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
2516         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
2517         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
2518         skip_block_comment, skip_line_comment, skip_comment,
2519         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
2520         _cpp_parse_name, skip_string, parse_string,
2521         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
2522         _cpp_get_directive_token, find_position,
2523         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
2524         (maybe_macroexpand, _cpp_lex_token): New functions.
2525
2526         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
2527         parse_goto_mark): Delete.
2528         (_cpp_handle_eof): New function.
2529         (_cpp_handle_directive): Rename from handle_directive.
2530         (_cpp_output_line_command): Rename from output_line_command.
2531         (do_if, do_elif): Call _cpp_parse_expr directly.
2532         * cppfiles.c (_cpp_read_include_file): Don't call
2533         init_input_buffer here.
2534         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
2535         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
2536         here; pop the token_buffer and skip the rest of the line here.
2537         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
2538         here.
2539
2540         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
2541         Define here.
2542         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
2543         CPP_GOTO_MARK): New macros.
2544         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
2545         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
2546         _cpp_read_and_prescan, _cpp_init_input_buffer,
2547         _cpp_grow_token_buffer, _cpp_get_directive_token,
2548         _cpp_handle_directive, _cpp_handle_eof,
2549         _cpp_output_line_command): Prototype them here.
2550         * cpplib.h (enum cpp_token): Add CPP_MACRO.
2551         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
2552         quote_string, output_line_command): Remove.
2553
2554 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
2555
2556         * stmt.c (expand_end_case): RANGE may be signed, and when checking
2557         whether it is too large we must also verify that it isn't negative.
2558
2559 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
2560
2561         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
2562         (movsi_zero_liveg0): Remove.
2563         (movsf_insn_novis_liveg0): Remove.
2564         (negsi2): Remove.
2565         (negsi2_not_liveg0): Rename to negsi2.
2566         (one_cmplsi2): Remove.
2567         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
2568         (one_cmplsi2_liveg0): Remove.
2569         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
2570         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
2571         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
2572         (PREDICATE_CODES): Remove zero_operand.
2573         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
2574         TARGET_BROKEN_SAVERESTORE.
2575         (zero_operand): Remove.
2576         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
2577         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
2578         options.
2579         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2580         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
2581         TARGET_BROKEN_SAVERESTORE): Remove.
2582         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2583         Remove.
2584         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2585         Remove.
2586         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2587         Remove.
2588
2589         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
2590
2591 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2592
2593         * cpplib.c (do_pragma_implementation): Fix off-by-one error
2594         truncating a string.  Don't assume tokens are nul terminated.
2595         Problem noted by Andreas Jaeger <aj@suse.de>
2596
2597 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
2598
2599         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
2600         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
2601         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
2602
2603 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
2604
2605         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
2606         STRUCTURE_SIZE_BOUNDARY.
2607
2608 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
2609
2610         * tree.h (record_layout_info_s): New structure.
2611         (record_layout_info): New type.
2612         (new_record_layout_info): New function.
2613         (layout_field): Likewise.
2614         (finish_record_layout): Likewise.
2615         * stor-layout.c (layout_record): Remove.
2616         (new_record_layout_info): New function.
2617         (layout_field): New function, broken out from layout_record.
2618         (finalize_record_size): Likewise.
2619         (compute_record_mode): Likewise.
2620         (finalize_type_size): New function, broken out from layout_type.
2621         (finish_record_layout): Likewise.
2622         (layout_type): Use them.
2623         
2624 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
2625
2626         * cpphash.c: Don't include version.h.
2627         (special_symbol) [case T_VERSION]: Look for the string in
2628         hp->value.cpval; don't use version_string.
2629         * cppinit.c (initialize_builtins): Set hp->value.cpval for
2630         __VERSION__ to version_string.
2631         * Makefile.in (cpphash.o): Update deps.
2632
2633 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
2634
2635         Convert cpplib to use libiberty/hashtab.c.
2636
2637         * cpplib.h (struct cpp_reader): Make hashtab and
2638         all_include_files of type 'struct htab *'.  Delete HASHSIZE
2639         and ALL_INCLUDE_HASHSIZE macros.
2640
2641         * cpphash.h: Update prototypes.
2642         (struct hashnode): Remove next, prev, and bucket_hdr members.
2643         Make length a size_t.  Add hash member.
2644         (struct ihash): Remove next member.  Add hash member.  Make
2645         name a flexible array member.
2646
2647         * cppfiles.c: Include hashtab.h.
2648         (include_hash): Delete.
2649         (IHASHSIZE): New macro.
2650         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
2651         (cpp_included): Do the hash lookup here.
2652         (_cpp_find_include_file): Rewrite.
2653         (cpp_read_file): Put the "fake" hash entry into the hash
2654         table.  Honor the control_macro, if it turns out we've seen
2655         the file before.  Don't push the buffer here.
2656         (_cpp_read_include_file): Push the buffer here.
2657         (OMODES): New macro.  Use it whenever we call open(2).
2658
2659         * cpphash.c: Include hashtab.h.
2660         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
2661         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
2662         _cpp_lookup_slot): New functions.
2663         (HASHSIZE): new macro.
2664         (hashf, _cpp_install, _cpp_delete_macro): Delete.
2665         (_cpp_lookup): Use hashtab.h routines.
2666
2667         * cppinit.c: Include hashtab.h.
2668         (cpp_reader_init): Call _cpp_init_macro_hash and
2669         _cpp_init_include_hash.  Don't allocate hashtab directly.
2670         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
2671         pfile->all_include_files.
2672         (initialize_builtins): Use _cpp_make_hashnode and
2673         htab_find_slot to add hash entries.
2674         (cpp_finish): Just call _cpp_dump_macro_hash.
2675         * cpplib.c: Include hashtab.h.
2676         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
2677         create hash entries.
2678         (do_pragma_poison, do_assert): Likewise.
2679         (do_include): Don't push the buffer here.  Don't increment
2680         system_include_depth unless _cpp_read_include_file succeeds.
2681         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
2682         or htab_remove_elt.
2683         (do_pragma_implementation): Use alloca to create copy.
2684
2685         * Makefile.in: Update dependencies.
2686
2687 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2688
2689         * cppinit.c (cl_directive_handler): More K&R fixing.
2690
2691 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
2692
2693         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
2694         STACK_BOUNDARY.
2695         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
2696
2697 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2698
2699         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
2700         Change from char[] to macros.
2701
2702 2000-03-12  Neil Booth  <NeilB@earthling.net>
2703
2704         * cppinit.c (cpp_start_read): Update indirect function
2705         call to K&R C.
2706
2707 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
2708
2709         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
2710         entry.
2711
2712         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2713         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
2714
2715 2000-03-11  Neil Booth  <NeilB@earthling.net>
2716
2717         * cppinit.c (struct pending option): Replace undef with a 
2718         pointer to a directive handling routine.
2719         (struct cpp_pending): Replace separate assert_ and define_ 
2720         lists with one directive_ list.
2721         (new_pending_define): Rename new_pending_directive. Extra
2722         argument is the directive's handling routine.
2723         (handle_option): Update to use new_pending_directive.
2724
2725 2000-03-11  Neil Booth  <NeilB@earthling.net>
2726
2727         * cppfiles.c (file_cleanup, _cpp_find_include_file,
2728         remap_filename, _cpp_read_include_file, actual_directory,
2729         hack_vms_include_specification): Replace bcopy(), index() etc
2730         calls.  Add casts to some allocations.  Make some variables
2731         pointers to const [unsigned] char.
2732         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
2733         collect_formal_parameters): Similarly.
2734         * cppinit.c (struct pending_option, append_include_chain,
2735         cpp_options_init, cpp_reader_init, initialize_standard_includes,
2736         cpp_start_read, new_pending_define, handle_option): Similarly.
2737         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
2738         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
2739         do_pragma_implementation, detect_if_not_defined,
2740         do_ifdef, skip_if_group, cpp_get_token, parse_string,
2741         do_assert, do_unassert): Similarly.
2742         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
2743         function prototypes.
2744         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
2745
2746 2000-03-10  Richard Henderson  <rth@cygnus.com>
2747
2748         * builtins.c (expand_builtin_strlen): Revert last change.
2749         Use emit_insn_before if we're at the beginning of a sequence.
2750
2751 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
2752
2753         * builtins.c (expand_builtin_strlen): Make sure that we have something
2754         at the beginning of the sequence.
2755
2756         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
2757         deferred inlines.
2758
2759         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
2760
2761 2000-03-10  Richard Henderson  <rth@cygnus.com>
2762
2763         * except.c (can_throw): Use INTVAL on a CONST_INT.
2764         (reachable_handlers): Likewise.
2765         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
2766
2767 2000-03-10  Andreas Jaeger  <aj@suse.de>
2768
2769         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
2770         MD_STARTFILE_PREFIX since those are not needed on linux.
2771         (ASM_FILE_START): New, from mips/gnu.h.
2772
2773 2000-03-09  Richard Henderson  <rth@cygnus.com>
2774             Alex Samuel  <samuel@codesourcery.com> and others
2775         
2776         * Makefile.in (ssa.o): New rule.
2777         (OBJS): Add ssa.o.
2778         (STAGESTUFF): Add *.ssa and *.ussa.
2779         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
2780         * rtl.def (PHI): New RTL expression.
2781         * rtl.h (clear_log_links): New declaration.
2782         (convert_to_ssa): Likewise.
2783         (convert_from_ssa): Likewise.
2784         * flow.c (split_edge): If the entry node falls through to the
2785         split edge's source block, split the entry edge.
2786         (clear_log_links): New function.
2787         * toplev.c (ssa_dump): New variable.
2788         (flag_ssa): Likewise.
2789         (f_options): Add "ssa".
2790         (compile_file): Create SSA dump files.
2791         (rest_of_compilation): Go to and from SSA if enabled.
2792         (decide_d_option): Handle -de for SSA dump files.
2793         * ssa.c: New file.
2794         
2795 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
2796
2797         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
2798         same as VAR_DECL.
2799
2800 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
2801
2802         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
2803
2804 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
2805
2806         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
2807         (MD_STARTFILE_PREFIX_1): New macro.
2808
2809 2000-03-09  Robert Lipe  <robertl@sco.com>
2810
2811         * config/ia64/ia64.c: Include system.h.
2812
2813 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
2814
2815         * except.c (nothrow_function_p): If -fno-exceptions, just return.
2816         (init_eh_nesting_info): Likewise.
2817
2818         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
2819         (TREE_NOTHROW): Rename from TREE_RAISES.
2820         * toplev.c (rest_of_compilation): Set it.
2821         * print-tree.c (print_node): Adjust.
2822         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
2823         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
2824         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
2825         REG_EH_REGION note as appropriate.
2826         (libfunc_nothrow): New fn.
2827         (emit_library_call, emit_library_call_value): Use it.
2828         (expand_call): Check TREE_NOTHROW.
2829
2830         * varasm.c (make_decl_rtl): Skip initial '*' when setting
2831         DECL_ASSEMBLER_NAME.
2832
2833 2000-03-09  Andreas Jaeger  <aj@suse.de>
2834
2835         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
2836         (TARGET_MEM_FUNCTIONS): Define.
2837
2838 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
2839
2840         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
2841
2842         * except.c (can_throw): See through a SEQUENCE.
2843         (nothrow_function_p): New fn.
2844         * except.h: Declare it.
2845         * function.c (current_function_nothrow): New var.
2846         (prepare_function_start): Initialize it.
2847         * output.h: Declare it.
2848         * toplev.c (rest_of_compilation): Set it.
2849         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
2850
2851 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
2852
2853         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
2854         match.  (cpp_compare_defs): Count the nul separator when
2855         advancing over argument names.
2856
2857 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
2858
2859         * recog.c (preprocess_constraints): Matching constraints affect
2860         same alternative/different operand, not same operand/different
2861         alternative.
2862         
2863         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
2864         register and a constant specially.
2865
2866 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2867
2868         * libgcc2.h: New file.
2869         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
2870
2871 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
2872
2873         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
2874         * configure: Regenerate.
2875         * config/ia64: New.
2876
2877 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
2878
2879         * Makefile.in (LIBCPP_DEPS): New macro.
2880         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
2881         it to declare deps.
2882         * cpperror.c: Include cpphash.h.
2883         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
2884         dingleberry.
2885         (lex): Don't use CPP_WARN_UNDEF.
2886         (_cpp_parse_expr): Return an int, the truth value.
2887         * cppfiles.c: Include cpphash.h.
2888         (_cpp_merge_include_chains): Move to cppinit.c and make static.
2889         * cppinit.c (include_defaults_array): Disentangle.
2890         (cpp_cleanup): Don't free the if stack here.
2891         (cpp_finish): Pop off all buffers, not just one.
2892         * cpplib.c (eval_if_expr): Return int.
2893         (do_xifdef): Rename do_ifdef.
2894         (handle_directive): Don't use CPP_PREPROCESSED. 
2895         (cpp_get_token): Don't use CPP_C89.
2896         * fix-header.c: Don't use CPP_OPTIONS.
2897
2898         * cpplib.h: Move U_CHAR, enum node_type, struct
2899         file_name_list, struct ihash, is_idchar, is_idstart,
2900         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
2901         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
2902         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
2903         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
2904         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
2905         of _cpp_simplify_pathname, _cpp_find_include_file,
2906         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
2907         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
2908         cppinit.c.
2909         Change all uses of U_CHAR to be unsigned char instead.
2910         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
2911
2912 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
2913
2914         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
2915         (dwarf2out_begin_prologue): Set it.
2916         (output_call_frame_info): Don't emit EH unwind info for leaves.
2917
2918         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
2919         can occur outside of an EH region.
2920         * except.c: Correct comments about rethrow behavior.
2921         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
2922
2923 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
2924
2925         * flow.c (make_edges): Always call make_eh_edge for calls.
2926
2927 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
2928
2929         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
2930         (struct cpp_buffer): Remove fname and underflow fields.
2931         (struct cpp_reader): Remove get_token field.
2932         (struct include_hash): Rename to struct ihash.  Add typedef to
2933         IHASH.
2934         (struct if_stack): Remove fname field.
2935         (IF_STACK_FRAME): Rename to IF_STACK.
2936
2937         * cpperror.c (print_containing_files): Trust that there are no
2938         macro buffers below the top file buffer.
2939         * cppfiles.c: Replace all references to 'struct include_hash'
2940         with 'IHASH'.  Rename initialize_input_buffer to
2941         init_input_buffer.  Don't set or reference cpp_buffer->fname,
2942         use buffer->ihash->name instead.
2943         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
2944         not CPP_NULL_BUFFER.
2945         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
2946         IF_STACK_FRAME, IHASH not struct include_hash.
2947         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
2948         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
2949         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
2950         references to cpp_buffer->fname (delete entirely, or use
2951         ->ihash->name instead) and IF_STACK->fname.
2952         (cpp_push_buffer): Don't set new->underflow.
2953         (do_include): Use cpp_file_buffer.
2954
2955         * cpphash.c (collect_formal_parameters): Remove duplicate
2956         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
2957         used as a macro argument name.  Don't append "..." to namebuf
2958         for varargs macros.  After we're done scanning, go through
2959         namebuf and make it NUL separated, not comma separated.
2960         (_cpp_compare_defs): Remove register tag from variables.
2961         Expect defn->argnames to be NUL separated.
2962         (_cpp_dump_definition): Expect defn->argnames to be NUL
2963         separated and in forward order.
2964         * cpphash.h: Update documentation of argnames field.
2965
2966 2000-03-08  Richard Henderson  <rth@cygnus.com>
2967
2968         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
2969         to fail.  Don't pre-expand the source operand.
2970
2971         * i386.md (strlensi): Initialize eoschar and align before use.
2972
2973 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
2974
2975         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
2976         CONSTRUCTOR element.
2977
2978 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
2979
2980         * mips.c (mips_expand_prologue): If the last 
2981         named argument is the vararg marker "va_list", treat it as
2982         an unnamed argument.
2983
2984 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
2985
2986         * dbxout.c (dbxout_parms): When correcting for promoted 
2987         big-endian parameters, use the mode of the DECL_RTL rather 
2988         than UNITS_PER_WORD.
2989
2990 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
2991
2992         * c-common.h (make_fname_decl): Declare.
2993         * c-common.c (make_fname_decl): Define.
2994         (declare_hidden_char_array): Remove.
2995         (declare_function_name): Use make_fname_decl.
2996         * c-decl.c (c_make_fname_decl): New function.
2997         (init_decl_processing): Set make_fname_decl.
2998
2999 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
3000
3001         * cccp.c (handle_directive): Initialize backslash_newlines_p.
3002
3003 2000-03-07  Philipp Thomas  <pthomas@suse.de>
3004
3005         * po/POTFILES.in: Remove cppalloc.c from file list.
3006
3007 2000-03-07  Steve Chamberlain  <sac@pobox.com>
3008
3009         * pj.c (pj_expand_prologue): current_function->args_info is
3010         now current_function_args_info.  
3011
3012         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
3013         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
3014         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
3015
3016 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3017
3018         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
3019         output as hexadecimal rather than the default octal.
3020
3021 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3022
3023         * cpphash.c (special_symbol): Fix thinko in previous commit.
3024
3025 2000-03-07  Neil Booth  <NeilB@earthling.net>
3026
3027         * cppexp.c (struct operation, left_shift, right_shift,
3028         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
3029         "int"s to "unsigned int"s.
3030         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
3031         Similarly.
3032         * cpplib.h: Update for above.
3033         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
3034         returned from allocations.
3035
3036         * cppinit.c (opt_comp, parse_options): New functions.
3037         (handle_option): Use parse_option to parse a single command
3038         line option, that possibly takes an argument.
3039         (cpp_handle_options): Sort the array of command line options on
3040         first invocation (non-ASCII hosts only).
3041         (print_help): Update.
3042
3043 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3044
3045         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
3046         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
3047         
3048         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
3049         initialized.
3050         * cppinit.c (cpp_cleanup): Free imp->nshort also.
3051
3052         * cpperror.c (cpp_print_containing_files,
3053         cpp_print_file_and_line, v_cpp_message): Rename to
3054         print_containing_files, print_file_and_line, and v_message.
3055         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
3056         to _cpp_parse_expr, parse_escape, and lex.
3057         (parse_charconst): Remove broken multibyte support.
3058         * cppfiles.c (include_hash): Make static.
3059         (cpp_included): New function.
3060         (merge_include_chains, find_include_file, finclude,
3061         simplify_pathname): Rename to _cpp_merge_include_chains,
3062         _cpp_find_include_file, _cpp_read_include_file, and
3063         _cpp_simplify_pathname.
3064         * cpphash.c (cpp_lookup, free_definition, delete_macro,
3065         cpp_install, create_definition, macroexpand, compare_defs,
3066         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
3067         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
3068         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
3069         * cppinit.c (cpp_handle_option): Rename to handle_option, make
3070         static.
3071         * cpplib.c: Remove extern prototype of cpp_parse_expr.
3072
3073         * cpphash.h: Update prototypes.
3074         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
3075
3076 2000-03-07  Andrew Haley  <aph@cygnus.com>
3077
3078         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
3079         PTRDIFF_TYPE should be based solely on Pmode.
3080         (SIZE_TYPE): ditto.
3081
3082 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3083
3084         * rtl.h (rtunion_def): Constify member `rtstr'.
3085         (emit_line_note_after, emit_line_note, emit_line_note_force,
3086         emit_note, decode_asm_operands): Constify.
3087         
3088         * cse.c (canon_hash): Likewise.
3089
3090         * dbxout.c (dbxout_block): Likewise.
3091
3092         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
3093         v_warning_for_asm): Likewise.
3094
3095         * dwarfout.c (function_start_label): Likewise.
3096
3097         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
3098         emit_line_note_force): Likewise.
3099
3100         * final.c (last_filename, asm_insn_count, final_scan_insn,
3101         output_source_line): Likewise.
3102
3103         * function.h (struct emit_status): Likewise.
3104
3105         * gcse.c (hash_expr_1): Likewise.
3106
3107         * genattr.c (gen_attr, main): Likewise.
3108
3109         * genattrtab.c (struct function_unit, current_alternative_string,
3110         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
3111         attr_numeral, check_attr_test, check_attr_value,
3112         convert_set_attr_alternative, convert_set_attr,
3113         compute_alternative_mask, simplify_by_exploding, gen_attr,
3114         gen_unit): Likewise.
3115
3116         * genflags.c (gen_insn): Likewise.
3117
3118         * gengenrtl.c (type_from_format): Likewise.
3119
3120         * genopinit.c (gen_insn): Likewise.
3121
3122         * genoutput.c (n_occurrences, process_template, process_template):
3123         Likewise.
3124
3125         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3126         Likewise.
3127
3128         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3129         Likewise.
3130
3131         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
3132         ggc_set_mark, ggc_get_size): Likewise.
3133
3134         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
3135
3136         * optabs.c (init_one_libfunc): Likewise.
3137
3138         * output.h (assemble_start_function): Likewise.
3139
3140         * recog.c (decode_asm_operands): Likewise.
3141
3142         * toplev.c (rest_of_compilation): Likewise.
3143
3144         * tree.h (emit_line_note_after, emit_line_note,
3145         emit_line_note_force): Likewise.
3146
3147         * varasm.c (asm_output_bss, asm_output_aligned_bss,
3148         asm_emit_uninitialised, assemble_start_function,
3149         assemble_variable, const_hash, compare_constant_1,
3150         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
3151
3152         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
3153
3154         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
3155
3156         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
3157
3158         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
3159
3160         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
3161         arm_dllimport_name_p): Likewise.
3162
3163         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
3164         Likewise.
3165
3166         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
3167
3168         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3169
3170         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
3171         arm_mark_dllexport, arm_mark_dllimport,
3172         arm_pe_encode_section_info): Likewise.
3173
3174         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
3175         ASM_FINISH_DECLARE_OBJECT): Likewise.
3176
3177         * arm/thumb.c (thumb_function_prologue): Likewise.
3178
3179         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
3180
3181         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3182
3183         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
3184
3185         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
3186
3187         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
3188
3189         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3190
3191         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
3192         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
3193
3194         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
3195
3196         * i386/i386.c (asm_output_function_prefix): Likewise.
3197
3198         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
3199
3200         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3201
3202         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
3203
3204         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
3205         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
3206         ASM_OUTPUT_SECTION_NAME): Likewise.
3207
3208         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
3209
3210         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
3211
3212         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
3213
3214         * m32r/m32r.c (m32r_encode_section_info): Likewise.
3215
3216         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3217
3218         * mcore/mcore.c (mcore_encode_section_info): Likewise.
3219
3220         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3221
3222         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3223
3224         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3225
3226         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
3227
3228         * mips/mips.md (movdi, movsi): Likewise.
3229
3230         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3231
3232         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3233
3234         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3235
3236         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
3237         ASM_OUTPUT_ASCII): Likewise.
3238
3239         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
3240         output_mi_thunk, output_toc): Likewise.
3241
3242         * rs6000/rs6000.md (movsi): Likewise.
3243
3244         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
3245
3246         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
3247
3248         * v850/v850.c (print_operand, print_operand_address,
3249         v850_encode_data_area): Likewise.
3250
3251 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
3252         
3253         * config/mips/mips.md (zero_extendsidi2): Always force operand
3254         one to memory for mips16.
3255
3256 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3257
3258         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
3259         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
3260         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
3261         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
3262         (min_precision): Result is unsigned.
3263         (add_double, neg_double, mul_double): Low word is unsigned.
3264         (lshift_double, rshift_double, lrotate_double): Likewise.
3265         (rrotate_double, div_and_round_double): Likewise.
3266         (tree_floor_log2, compare_tree_int): New functions.
3267         (preserve_rtl_expr_temps): New declaration.
3268         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
3269         (decl_attributes): Use tree_log2 to find alignment.
3270         Check for TREE_INT_CST_HIGH for format args.
3271         (min_precision): Now unsigned.
3272         Use tree_floor_log2.
3273         (truthvalue_conversion): Delete long-disabled code.
3274         * c-decl.c (finish_struct): Clean up tests on field width.
3275         (finish_function): Use compare_tree_int.
3276         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
3277         * c-typeck.c (comptypes): Use tree_int_cst_equal.
3278         (default_conversion, digest_init): Use compare_tree_int.
3279         (build_binary_op): Use integer_all_onesp and compare_tree_int.
3280         Fix type errors in forming masks.
3281         * calls.c (initialize_argument_information): Use compare_tree_int.
3282         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3283         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
3284         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
3285         (store_field): Use compare_tree_int.
3286         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
3287         (expand_expr, case ARRAY_REF): Use compare_tree_int.
3288         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
3289         (do_store_flag): Use compare_tree_int.
3290         * fold-const.c (encode, decode): Low part is always unsigned.
3291         (force_fit_type, add_double, neg_double, mul_double): Likewise.
3292         (lshift_double, rshift_double, lrotate_double): Likewise.
3293         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
3294         (fold_convert): Use compare_tree_int.
3295         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
3296         (invert_truthvalue, case INTEGER_CST): Likewise.
3297         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
3298         * mkdeps.c (deps_dummy_targets): Make I unsigned.
3299         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
3300         (lshift_double, rshift_double, lrotate_double, rrotate_double):
3301         Likewise.
3302         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
3303         (expand_end_case): Use compare_tree_int.
3304         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3305         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
3306         (layout_decl): Likewise.
3307         (layout_record, layout_union): Make sizes unsigned.
3308         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
3309         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
3310         * tree.c (struct type_hash): hashcode is unsigned.
3311         (build_type_attribute_variant, type_hash_list): Likewise.
3312         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
3313         (attribute_hash_list, build_array_type, build_method_type): Likewise.
3314         (build_complex_type): Likewise.
3315         (real_value_from_int_cst): Remove unneeded casts.
3316         (integer_all_onesp): Add casts.
3317         (tree_floor_log2, compare_tree_int): New functions.
3318         (build_index_type): Use tree_int_cst_sgn.
3319         * varasm.c (assemble_variable): Use compare_tree_int.
3320
3321 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
3322
3323         * cpphash.c (collect_expansion): Also catch ## at start of macro.
3324
3325         * varasm.c (make_decl_rtl): Don't add a number to members of
3326         local classes.
3327         (make_function_rtl): Likewise.
3328
3329 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3330
3331         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
3332         patch from 2000-01-28.
3333
3334 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
3335
3336         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
3337         filled with an insn from the jump target.
3338
3339 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3340
3341         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
3342         (c4x_external_ref): Likewise.
3343         * config/c4x/c4x.c (struct name_list): Likewise.
3344
3345 1999-12-16  Ben Collins  <bcollins@debian.org>
3346
3347         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
3348         argument to genmultilib.
3349         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
3350         the contents into the multilib.h header.
3351         * gcc.c: Declare multilib_exclusions for the specs file.
3352         (set_multilib_dir): Use it.
3353         (print_multilib_info): Likewise.
3354         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
3355         to pass to genmultilib.
3356
3357 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3358
3359         * builtins.c (built_in_class_names, built_in_names): Constify a
3360         char*.
3361
3362         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
3363         int.
3364         (_mcleanup): Ensure value matches format specifier in sprintf.
3365
3366         * cpphash.c (special_symbol): Don't needlessly cast away
3367         const-ness.
3368
3369         * cppinit.c (base_name): Delete unused prototype.
3370
3371         * mkdeps.c (deps_init): Make definition K&R safe.
3372
3373         * tree.h (built_in_class_names, built_in_names): Constify a
3374         char*.
3375
3376 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
3377
3378         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
3379         floating point instructions for epilogue delay.
3380
3381         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
3382         to gas if it supports .register pseudo.
3383
3384         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
3385         LONG_DOUBLE_TYPE_SIZE if not defined.
3386         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
3387         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
3388         * real.c: Likewise.
3389         * gengenrtl.c: Likewise.
3390         * print-rtl.c: Likewise.
3391         * rtl.c: Likewise.
3392         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
3393         MASK_LONG_DOUBLE_128.
3394         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
3395         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
3396         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
3397         (SUBTARGET_SWITCHES): Define.
3398         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
3399         with -mlong-double-128.
3400         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
3401         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
3402         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
3403         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
3404         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
3405         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
3406         with -mlong-double-128.
3407         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
3408         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
3409         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
3410         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
3411         TARGET_LONG_DOUBLE_128): Define.
3412         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
3413         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
3414         long double on TARGET_ARCH64.
3415
3416 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
3417
3418         * function.c (free_temps_for_rtl_expr): Don't free slots
3419         that have been pushed into a higher level.
3420         
3421         Revert this patch:
3422         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3423
3424 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3425
3426         * basic-block.h (ALLOCA_REG_SET): Remove.
3427         (INITIALIZE_REG_SET): New macro.
3428         * flow.c (update_life_info): Use it.
3429         (calculate_global_regs_live): Likewise.
3430         (propagate_block): Likewise.
3431         * global.c (build_insn_chain): Likewise.
3432         * haifa-sched.c (schedule_region): Likewise.
3433
3434 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
3435
3436         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
3437         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
3438         (DWARF_ARANGES_PAD_SIZE): New define.
3439         (output_aranges): Use it to pad the address range header.
3440         (DWARF_ROUND): Fix for non power of 2 rounding.
3441
3442 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
3443
3444         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
3445
3446 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3447
3448         * tree.def (RTL_EXPR): Update documentation.
3449         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
3450         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
3451         * function.c (preserve_rtl_expr_temp): New function.
3452         (preserve_rtl_expr_temps): Likewise.
3453         (preserve_rtl_expr_result): Use it.
3454
3455         Revert this patch:
3456         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
3457
3458 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
3459
3460         * regmove.c (copy_src_to_dest)  Do not create src->dest move
3461         for unchanging destination.
3462
3463 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
3464
3465         * function.h (struct sequence_stack): Remove rtl_expr.
3466         (struct emit_staus): Likewise.
3467         (seq_rtl_expr): Remove.
3468         * tree.h (free_temps_for_rtl_expr): Don't declare.
3469         (start_sequence_for_rtl_expr): Likewise.
3470         * rtl.h (preserve_rtl_expr_result): Likewise.
3471         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
3472         (start_sequence_for_rtl_expr): Remove.
3473         (push_topmost_sequence): Don't save sequence_rtl_expr.
3474         (pop_topmost_sequence): Remove comment about not restoring it.
3475         (end_sequence): Don't set seq_rtl_expr.
3476         (init_emit): Don't initialize it.
3477         (mark_sequence_stack): Don't mark it.
3478         (mark_emit_status): Likewise.
3479         * except.c (protect_with_terminate): Use
3480         start_sequence_for_rtl_expr, not start_sequence.
3481         * expr.c (expand_expr, case RTL_EXPR): Don't call
3482         preserve_rtl_expr_result or free_temps_for_rtl_expr.
3483         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
3484         (preserve_rtl_expr_result): Remove.
3485         (free_temps_for_rtl_expr): Likewise.
3486         (pop_temp_slots): Likewise.
3487         (mark_temp_slot): Don't mark the rtl_expr.
3488         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
3489         start_sequence_for_rtl_expr.
3490         
3491 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
3492
3493         * mkdeps.c, mkdeps.h: New files.
3494         * po/POTFILES.in: Add them.
3495         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
3496         (cpplib.o, cppinit.o): Depend on mkdeps.h.
3497         (mkdeps.o): New target.
3498
3499         * cppfiles.c: Delete deps_output.
3500         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
3501         OBJECT_SUFFIX, and base_name.
3502         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
3503         the include hash.
3504         (initialize_dependency_output): Use deps_init,
3505         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
3506         all the unnecessary string bashing.
3507         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
3508         level.
3509         * cpplib.c (do_include): Use deps_add_dep.
3510         * cpplib.h (struct cpp_reader): Replace deps_buffer,
3511         deps_allocated_size, deps_size, deps_column members with
3512         single pointer to a struct deps.  Delete prototype of
3513         deps_output.
3514
3515         * cppinit.c: Fix thinko in previous patch.
3516
3517 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3518
3519         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
3520         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
3521         (mode_for_size_tree): New function.
3522         (layout_decl, layout_type): Call it and clean up BLKmode checks.
3523         * tree.h (mode_for_size_tree): New declaration.
3524         
3525         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
3526
3527 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
3528
3529         * stmt.c (is_body_block): Move...
3530         * dwarfout.c, dwarf2out.c: ...from here.
3531         * tree.h: Declare it.
3532         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
3533         * final.c (final_start_function): Do call remove_unnecessary_notes
3534         when scheduling.
3535
3536 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
3537
3538         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
3539         
3540         * cpplib.h (_dollar_ok): New macro.
3541         (is_idchar, is_idstart): Use it.
3542         (IStable): Rename to _cpp_IStable.  Declare it const if
3543         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
3544         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
3545         is_space): Update for renamed IStable.
3546
3547         * cppinit.c: Delete all references to FAKE_CONST and CAT
3548         macros. Define init_IStable as empty macro if gcc >=2.7 or
3549         C99. Change TABLE() to ISTABLE and hardcode name of table.
3550         (cpp_start_read): Don't change the IStable based on
3551         dollars_in_ident.
3552
3553         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
3554         changed.  Handle '$' for char1 correctly.
3555         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
3556
3557         * cppexp.c (tokentab2): Make const.
3558         (cpp_lex): Make toktab const.
3559         * cppinit.c (include_defaults_array): Make const.
3560         (initialize_standard_includes): Make default_include const.
3561
3562 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
3563
3564         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
3565         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
3566         (gen_decl_die): Likewise.
3567         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
3568         (output_decl): Likewise.
3569
3570         * varasm.c (make_function_rtl): If we change the name used in the
3571         rtl, update DECL_ASSEMBLER_NAME accordingly.
3572         (make_decl_rtl): Likewise.
3573
3574         * toplev.c (rest_of_compilation): Tweak formatting.
3575
3576         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
3577         remove_unnecessary_notes.
3578         (debug_ignore_block): New fn.
3579         * toplev.h: Declare it.
3580         * emit-rtl.c (remove_unncessary_notes): Call it.
3581         * dwarf2out.c (dwarf2out_ignore_block): New fn.
3582         * dwarf2out.h: Declare it.
3583         * final.c (final_start_function): Don't call remove_unnecessary_notes
3584         if we did insn scheduling.
3585
3586 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
3587
3588         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
3589         * cpplib.h: Delete SET_CPP_PEDANTIC.
3590
3591 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3592
3593         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
3594         result is a RECORD_TYPE.
3595
3596 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
3597
3598         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
3599
3600 2000-03-03  Richard Henderson  <rth@cygnus.com>
3601
3602         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
3603         addition over compliments over shifts.
3604
3605 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3606
3607         * reload1.c (reload_combine_note_use): Handle return register USEs.
3608         REG case: Handle multi-hard-register hard regs.
3609
3610 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3611
3612         * md.texi: Document use of '*' in insn pattern name.
3613
3614 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
3615
3616         * calls.c (special_function_p): operator new may not be malloc-like.
3617
3618         * gcse.c (dump_hash_table): Really fix error in last change.
3619
3620 2000-03-02  Denis Chertykov  <denisc@overta.ru>
3621
3622         * avr.c (print_operand): Use print_operand_address instead of
3623         output_addr_const.
3624         * avr/libgcc.S: Cleanup code.
3625
3626 2000-03-02  Richard Henderson  <rth@cygnus.com>
3627
3628         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
3629
3630 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
3631
3632         * tree.h (TYPE_ALIGN_UNIT): New macro.
3633
3634 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
3635
3636         * i386.c: (constant_call_address_operand): Reject CONST_INT.
3637
3638 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
3639
3640         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
3641         for the buffer.
3642         (SET_CPP_PEDANTIC): New macro.
3643         * cpplib.c (do_include): Don't bother checking system_header_p.
3644         (do_warning, do_ident, do_assert, do_unassert): Likewise.
3645         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
3646
3647         * function.h (struct expr_status): Add x_arg_space_so_far.
3648         (arg_space_so_far): New macro.
3649         * expr.c (init_expr): Initialize it.
3650         * calls.c (emit_call_1): Reset it.
3651         (compute_argument_block_size, expand_call): Use it.
3652         (expand_call, store_one_arg): Increment it.
3653
3654 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3655
3656         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
3657         a UNION_TYPE.
3658
3659 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
3660
3661         * cppfiles.c (cpp_read_file): New function.
3662
3663         * cpphash.c (collect_expansion): Make sure to reset last_token
3664         to NORM when we hit a string.  Handle trailing whitespace
3665         properly when the expansion is empty.
3666         (create_definition): Disable line commands while parsing the
3667         directive line.
3668         (dump_definition): If pfile->lineno == 0, output a line
3669         command ahead of the dump, and add a trailing newline.
3670
3671         * cppinit.c (append_include_chain): Add fifth argument, which
3672         indicates whether or not system headers are C++ aware.
3673         (initialize_standard_includes): New function,
3674         broken out of read_and_prescan.  Pass 'cxx_aware' value from
3675         the include_defaults_array on to append_include_chain.
3676         (dump_special_to_buffer): Const-ify char array.
3677         (builtin_array): Don't dump __BASE_FILE__.
3678         (cpp_start_read): Use cpp_read_file.  Reorder code for
3679         clarity.  Don't output line commands here for -D/-A/-U
3680         switches.  Don't call deps_output for files included with
3681         -include or -imacros.
3682
3683         * cpplib.c (do_define): Don't pay any attention to the second
3684         argument.
3685         (cpp_expand_to_buffer): Disable line commands while scanning.
3686         (output_line_command): Work in the file buffer.
3687         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
3688         Fix formatting of comments.  Prototype cpp_read_file.
3689
3690 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3691
3692         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
3693         reference the language-equivalent of sizetype.
3694         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
3695         * fold-const.c (size_binop, size_diffop): Put back checks.
3696         * gcse.c (dump_hash_table): Fix minor error in last change.
3697         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
3698         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
3699         all sizetypes.
3700
3701 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
3702
3703         * calls.c (expand_call)  Do not attempt to combine stack adjustments
3704         with inhibit_defer_pop set.
3705
3706 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
3707
3708         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
3709         the DECL_SIZE for a FIELD_DECL.
3710
3711 2000-03-01  Bruce Korb  <bkorb@gnu.org>
3712
3713         * fixinc/inclhack.tpl: remove unused symlinks
3714         * fixinc/README: GCC Maintainer info
3715         * fixinc/inclhack.sh: regen
3716         * fixinc/fixincl.sh: regen
3717
3718 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
3719
3720         * cpphash.c (collect_expansion): Trim trailing white space
3721         from macro definitions, but don't go past the last insertion
3722         point.
3723
3724 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
3725
3726         * i386.md (mulqi3): New pattern.
3727
3728 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
3729
3730         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
3731         token types.
3732         (struct cpp_reader): Add parsing_if_directive and
3733         parsing_define_directive flags.               
3734         (struct cpp_options): Remove output_conditionals flag.
3735         (check_macro_name): Delete prototype.
3736
3737         * cpphash.h (struct macrodef): Delete.
3738         (struct reflist): Separate from struct definition.
3739         (struct definition): Remove unused fields.  Add column number.
3740         (create_definition): Returns a DEFINITION *.  Takes a
3741         cpp_reader * and an int.
3742
3743         * cpphash.c (SKIP_WHITE_SPACE): Delete.
3744         (PEEKC): Copy defn from cpplib.c.
3745         (rest_extension, REST_EXTENSION_LENGTH): Delete.
3746         (struct arg): New.
3747         (struct arglist): Simplify.
3748         (collect_expansion): Rewrite.  Get tokens by calling
3749         cpp_get_token.  Add more error checking.
3750         (collect_formal_parameters): New function, broken out of
3751         create_definition and reworked to use get_directive_token.
3752         (create_definition): All real work is now in collect_expansion
3753         and collect_formal_parameters.  do_define handles finding the
3754         macro name.  Return a DEFINITION, not a MACRODEF.
3755         (macroexpand): Replace bcopy with memcpy throughout.  Replace
3756         character-at-a-time copy loop with memcpy and pointer increments.
3757         (compare-defs): d1->argnames / d2->argnames might be null.
3758
3759         * cpplib.c (copy_rest_of_line): Delete function.
3760         (skip_rest_of_line): Do all the work ourselves.
3761         (skip_string): New function.
3762         (parse_string): Use skip_string.
3763         (get_macro_name): New function.
3764         (check_macro_name): Delete.
3765         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
3766         (cpp_skip_hspace): Use CPP_BUMP_LINE.
3767         (handle_directive): ICE if we're called on a macro buffer.
3768         (do_define): Determine macro name and type (funlike/objlike)
3769         here.  Expunge all uses of MACRODEF.
3770         (cpp_push_buffer): Set line_base to NULL.
3771         (do_undef, read_line_number): Don't worry about getting a POP token.
3772         (eval_if_expression): Set/reset parsing_if_directive around
3773         cpp_parse_expr. Don't clear only_seen_white.
3774         (skip_if_group): Remove output_conditionals logic.  Use
3775         skip_rest_of_line.
3776         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
3777         tokens under appropriate conditions.
3778         (cpp_unassert): Call do_unassert not do_assert.  Oops.
3779
3780         * cppexp.c (parse_defined): New function, break out of
3781         cpp_lex.
3782         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
3783         ourselves, with cpp_defined.
3784         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
3785
3786         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
3787         * gcc.dg/strpaste-2.c: New.
3788
3789 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
3790
3791         * fold-const.c (size_binop): Don't asert inputs are the same and
3792         have TYPE_IS_SIZETYPE set.
3793         (size_diffop): Likewise.
3794
3795 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
3796
3797         * dwarfout.c (output_block): Output abstract blocks even if they
3798         don't have TREE_ASM_WRITTEN set.
3799
3800         * calls.c (emit_library_call): Check for null REG.
3801
3802 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
3803
3804         * c-decl.c (current_function_decl): Move to toplev.c.
3805         (init_decl_processing): Don't add current_function_decl as a ggc
3806         root here.
3807         * dbxout.c (dbxout_symbol): Change return type to int.
3808         (dbxout_symbol_location, dbxout_syms): Likewise.
3809         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
3810         any locals. Use current_function_func_begin_label if set.
3811         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
3812         * dwarf2out.c (dwarf2out_begin_prologue): Set
3813         current_function_func_begin_label.
3814         * final.c (final_start_function): Reset it.
3815         * toplev.c (current_function_decl): Define it here.
3816         (current_function_func_begin_label): New variable.
3817         (main): Add both as ggc roots.
3818         * tree.h (current_function_func_begin_label): Declare.
3819
3820 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3821
3822         * gcse.c: Cleanups throughout: mostly white-space, but also
3823         some minor rearrangement of code.
3824
3825 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
3826
3827         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
3828         returns a PARALLEL.  Use emit_group_load and use_group_regs
3829         as needed.  
3830         (emit_library_call_value): Similarly.
3831
3832         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
3833         * pa/quadlib.asm: Remove.
3834         * pa/quadlib.c: New file.
3835
3836         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
3837         * configure: Rebuilt.
3838
3839 2000-02-29  Philip Blundell  <pb@futuretv.com>
3840
3841         * config/arm/conix-elf.h: New file.
3842         * configure.in (arm*-*-conix*): New configuration.
3843         * configure: Regenerate.
3844
3845 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
3846
3847         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
3848         don't have TREE_ASM_WRITTEN set.
3849
3850 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3851
3852         * Eliminate DECL_FIELD_SIZE.
3853         * builtins.c (built_in_class_names, built_in_names): New variables.
3854         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
3855         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
3856         DECL_SIZE, not DECL_FIELD_SIZE.
3857         * print-tree.c (print_node): Remove code that prints extra blank
3858         lines in some cases.
3859         Properly handle inline and builtin function cases.
3860         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
3861         * tree.h (built_in_class_named, built_in_names): New declarations.
3862         (union tree_decl): Rename internal unions to u1 and u2 and change
3863         some of their components.
3864         Add new field built_in_class.
3865         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
3866         Reflect above changes.
3867         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
3868         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
3869         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
3870         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
3871
3872 2000-02-28  Dmitri Makarov  <dim@windriver.com>
3873
3874         * extend.texi: Document ARM's support for long/short calls.
3875
3876         * invoke.texi: Document ARM's -mlong-calls command line switch.
3877         
3878         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
3879         (arm_encode_call_attribute): Add prototype.
3880         (arm_set_default_type_attribute): Add prototype.
3881         (arm_strip_name_encoding): Add prototype.
3882
3883         * config/arm/arm.c (arm_init_cumulative_args): replace
3884         initialisation og 'long_calls' field with initialisation of
3885         'call_cookie' field.
3886         (enum arm_pragma_enum): New enum.
3887         (arm_pragma_long_calls): New static variable.
3888         (arm_process_pragma): Also process "#pragma long_calls_off".
3889         (arm_valid_type_attribute_p): Accept short_call attribute.
3890         (arm_comp_type_attributes): Check long/short call attributes.
3891         (arm_encode_call_attribute):  New function:  Encode long_call
3892         or short_call attribute in function name.
3893         (arm_set_default_type_attributes): New function: Assign
3894         default attributes to newly defined type.
3895         (current_file_function_operand): New function: Return true if
3896         the symbol is a function which has already been compiled.
3897         (arm_is_longcall_p): New function: Return true if the
3898         indicated function should be called via a long call.
3899         (arm_get_strip_length): New function.  Returns number of
3900         prefix characters to be stripped from a function's name.
3901         (arm_strip_name_encoding): New function.  Strip prefix characters
3902         from a function's name.
3903
3904         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
3905         with 'call_cookie'.
3906         (SHORT_CALL_FAG_CHAR): Define.
3907         (LONG_CALL_FAG_CHAR): Define.
3908         (ENCODED_SHORT_CALL_ATTR_P): Define.
3909         (ENCODED_LONG_CALL_ATTR_P): Define.
3910         (ARM_NAME_ENCODING_LENGTHS): Define.
3911         (STRIP_NAME_ENCODING): Define.
3912         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
3913         (ARM_ENCODE_CALL_TYPE): Define.
3914         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
3915         (ARM_DECLARE_FUNCTION_SIZE): Define.
3916         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
3917
3918         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
3919         if a long call is needed.
3920         (call_value): Ditto.
3921         (call_symbol): Ditto.
3922
3923         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
3924         ARM_DECLARE_FUNCTION_SIZE.
3925
3926         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
3927         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
3928         (ARM_STRIP_NAME_ENCODING): Undefine.
3929         (STRIP_NAME_ENCODING): Undefine.
3930         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
3931         (ASM_DECLARE_FUNCTION_NAME): Ditto.
3932         (ASM_OUTPUT_COMMON): Ditto.
3933         (ASM_DECLARE_OBJECT_NAME): Ditto.
3934
3935         * config/arm/pe.c (arm_dllexport_name_p): Check for
3936         ARM_PE_FLAG_CHAR.
3937         (arm_dllimport_name_p): Ditto.
3938         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
3939         (arm_mark_dllimport): Ditto.
3940         
3941 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3942
3943         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
3944
3945 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
3946
3947         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
3948
3949 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
3950
3951         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
3952         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
3953         NO_BUILTIN_WCHAR_TYPE is not defined.
3954         (CPP_WCHAR_TYPE): Delete.
3955         * cccp.c (main): Don't change wchar_type if cplusplus.
3956         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
3957
3958 2000-02-28  Nick Clifton  <nickc@cygnus.com>
3959
3960         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
3961
3962 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
3963
3964         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
3965         (ASM_WEAKEN_LABEL): Define.
3966  
3967 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
3968
3969         * expr.c (store_constructor): Do not emit USE.
3970         * rtl.h (stupid_life_analysis): Remove.
3971
3972 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3973
3974         * function.c (number_blocks): Reset next_block_index based on
3975         what debugging format is used, not what is defined.
3976         
3977         * lcm.c: Minor reformatting throughout.
3978         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
3979         
3980         * toplev.c (rest_of_compilation): Account for time in
3981         optimize_mode_switching.
3982
3983         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
3984         if only marking labels.
3985
3986 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
3987
3988         * calls.c (expand_call): Attempt to combine stack adjustments with
3989         pending stack adjustments.
3990
3991 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3992
3993         * loop.c (reg_in_basic_block_p): Don't abort when falling through
3994         to the end of the function.
3995
3996 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
3997
3998         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
3999         blocks.
4000         * final.c (next_block_index): Remove.
4001         (max_block_depth): Likewise.
4002         (pending_blocks): Likewise.
4003         (init_final): Don't initialize them.
4004         (final_start_function): Don't set next_block_index.  Set up
4005         BLOCK_NUMBER.
4006         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
4007         * function.h (number_blocks): New function.
4008         * function.c (get_block_vector): New function.
4009         (identify_blocks): Use it.
4010         (reorder_blocks): Set NOTE_BLOCK.
4011         (number_blocks): New function.
4012         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
4013         * tree.h (BLOCK_NUMBER): New macro.
4014         (tree_block): Add block_num field.
4015         * dbxout.c (next_block_number): Remove.
4016         (dbxout_init): Don't set it.
4017         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
4018         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
4019         block numbers.
4020         * toplev.c (rest_of_compilation): Always call
4021         find_loop_tree_blocks.  Fix indentation.
4022         * dwarf2out.c (next_block_number): Remove.
4023         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4024         to determine block numbers.
4025         (gen_inlined_subroutine_die): Likewise.
4026         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
4027         (decls_for_scope): Don't increment next_block_number.
4028         * dwarfout.c (next_block_number): Remove.
4029         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4030         to determine block numbers. 
4031         (output_inlined_subroutine_die): Likewise.
4032         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
4033         (output_decls_for_scope): Don't increment next_block_number.
4034         * sdbout.c (next_block_number): Remove.
4035         (sdbout_block): Use BLOCK_NUMBER.
4036         (sdbout_begin_block): Simplify.
4037         * xcoffout.c (next_block_number): Remove.
4038         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
4039         (xcoffout_begin_block): Don't set next_block_number.
4040         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
4041         next_block_number.
4042         
4043 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4044
4045         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
4046         (expand_builtin_strcpy): Pass correct type to size_binop.
4047         (expand_builtin_strcmp): Likewise.
4048         Clean up conditional structure.
4049         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
4050         (complete_array_type): Don't use size_binop for MAXINDEX.
4051         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
4052         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
4053         (c_alignof): Use size_one_node.
4054         (build_unary_op): Pass arg of proper type to size_binop.
4055         (really_start_incremental_init, push_init_level): Use sizetype for
4056         constructor{,_bit,_unfilled}_index.
4057         (pop_init_label, output_init_element): Likewise.
4058         (output_pending_init_elements, process_init_element): Likewise.
4059         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
4060         * expr.c (store_expr): Use size_int.
4061         (store_constructor): Use proper types for size_binop args.
4062         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
4063         (expand_expr_unaligned): Likewise.
4064         (string_contant): Return object of sizetype.
4065         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
4066         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
4067         (ARGS_SIZE_TREE): Pass proper types to size_binop.
4068         * fold-const.c (int_const_binop): Refine when size_int is called.
4069         (fold_convert): Likewise.
4070         (size_int_wide): Rework to take KIND as arg, only take low order
4071         bits, handle new sizetype_tab datatype, and chain entries in
4072         size_table.
4073         (size_int_type_wide): New function.
4074         (size_binop): Validate types of arguments.
4075         (ssize_binop): Deleted.
4076         (size_diffop): New function.
4077         (extract_muldiv): Only fold division into multiplication for sizetypes.
4078         * function.c (assign_parms): Use size_diffop and make sure
4079         VAR field is of ssizetype; also pass proper type to size_binop.
4080         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
4081         (round_down): Deleted from here.
4082         * store-layout.c (sizetype_tab): Now an array.
4083         (sizetype_set, early_root_list): New variables.
4084         (variable_size): Use size_one_node.
4085         (round_up): Pass proper type to size_binop.
4086         (round_down): Moved to here and corrected as above.
4087         (layout_record): Pass proper arg types to size_binop.
4088         (layout_type): Likewise.
4089         If sizetype_set is zero, record the type just laid out.
4090         (make_unsigned_type): Don't call set_sizetype;
4091         (make_signed_type): Likewise; also, call fixup_signed_type.
4092         (initialize_sizetypes): New function.
4093         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
4094         set name of bitsizetype to "bit_size_type".
4095         Fix up type of sizes of all types made before call.
4096         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
4097         * tree.c (fix_sizetype): Deleted.
4098         (build_common_tree_nodes): Call initialize_sizetypes.
4099         (build_common_tree_nodes_2): Don't call fix_sizetype.
4100         * tree.h (TYPE_IS_SIZETYPE): New macro.
4101         (initialize_sizetype): New declaration.
4102         (enum size_type_kind): New type.
4103         (struct sizetype_tab): Deleted.
4104         (sizetype_tab): Now array; adjust sizetype macros.
4105         (size_diffop, size_int_type_wide): New functions.
4106         (size_int_wide): Change number of args and type; access macros changed.
4107         (ssize_int, sbitsize_int): New macros.
4108         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
4109         (ROUND_TYPE_SIZE_UNIT): New macro.
4110
4111 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
4112
4113         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
4114
4115 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4116
4117         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
4118         Mark as possibly unused.
4119
4120         * cse.c (cse_insn): Delete dead code involving tablejump.
4121         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
4122
4123         * Makefile.in (libcpp.a): Start by deleting it.
4124
4125 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4126
4127         * cpplib.h (enum file_change_code): Added rename_file.
4128         * cpplib.c (do_line): If a filename is given, set file_change to
4129         rename_file.
4130         (output_line_command): If file_change is rename_file, always
4131         output a # directive with the file name.
4132
4133         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
4134
4135 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
4136
4137         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
4138         when copying a PARM_DECL or RESULT_DECL.
4139
4140 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4141
4142         * fix-header.c (recognized_function): Also fix prototypes for
4143         functions taking "void".
4144
4145 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4146
4147         * reload1.c (do_output_reload): Check reg_reloaded_valid before
4148         looking at reg_reloaded_contents.
4149
4150 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
4151
4152         * Makefile.in (STMP_FIXINC): New toggle.
4153         (LIBGCC2_DEPS): Delete all references.
4154         (stmp-headers): Delete target.  All references either deleted
4155         or changed to stmp-int-headers.
4156         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
4157         (LIBCPP_OBJS): Take out cppalloc.o.
4158         (cppalloc.o): Delete target.
4159         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
4160         (gen-protos, fix-header): Link with libiberty.a.
4161         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
4162         to empty.
4163
4164         * configure.in: Remove refs to strerror.
4165         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
4166         * system.h: Take out strerror stanza.
4167
4168         * cpperror.c (my_strerror): Delete function.
4169         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
4170         * cppmain.c (main): Call xmalloc_set_program_name first thing.
4171         * cppalloc.c: Delete file.
4172         * gen-protos.c: Don't provide xrealloc.
4173
4174         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
4175         xstrerror throughout.
4176
4177 2000-02-26  Bruce Korb  <bkorb@gnu.org>
4178
4179         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
4180         match for DOS headers, too.
4181         * fixinc/inclhack.sh,fixincl.x: Regenerate.
4182
4183 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4184
4185         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
4186         is right for most ELF targets.
4187         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
4188         Let the default file use %U properly.
4189         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
4190         default.
4191
4192         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
4193         numbers.
4194
4195 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4196
4197         * toplev.c (documented_lang_options): Correct spelling error.
4198         (decode_d_option, decode_f_option, main): Likewise.
4199
4200         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
4201
4202         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
4203         to tell assembler it is permitted to expand large constants.
4204
4205 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
4206
4207         * protoize.c: (AUX_INFO_SUFFIX): New macro.
4208         (aux_info_suffix): Use.
4209         (SAVE_SUFFIX): New macro.
4210         (save_suffix): Use.
4211         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
4212         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
4213         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
4214
4215         * invoke.texi (Running Protoize): Update documentation.
4216
4217 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
4218
4219         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
4220
4221 2000-02-25  John Wehle  (john@feith.com)
4222
4223         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
4224
4225 2000-02-25  Anthony Green  <green@cygnus.com>
4226
4227         * toplev.c (rest_of_compilation): Rebuild jump labels if
4228         combine_instructions has created a new direct jump.
4229         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
4230         when appropriate.
4231         (combine_instructions): Call try_combine with new argument.
4232         Return non-null value when new direct jump instruction is created.
4233         * rtl.h: combine_instructions returns an int.
4234
4235 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
4236
4237         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
4238         jump when changing a computed jump into a jump to a known
4239         target.
4240
4241 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
4242
4243         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
4244         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
4245
4246         * i386.md (define_expand "clrstrsi"): Fix typo.
4247
4248 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
4249
4250         * rtl.texi: Fix typo.
4251
4252 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4253
4254         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
4255         UNITS_PER_WORD.  Change caller initial_elimination_offset.
4256         (rounded_frame_size): Take into account that argument pushed has
4257         changed.  Fix TARGET_ALIGN_DOUBLE problem.
4258
4259 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
4260
4261         * haifa-sched.c (schedule_block): Explain the real reason
4262         we delete REG_SAVE_NOTEs on the first insn of a block.
4263         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
4264
4265 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
4266
4267         * input.h (push_srcloc): New function.
4268         (pop_srcloc): Likewise.
4269         * toplev.c (push_srcloc): Define it.
4270         (pop_srcloc): Likewise.
4271
4272 2000-02-24  Richard Henderson  <rth@cygnus.com>
4273
4274         * flow.c (life_analysis): When collecting reg info, clear
4275         regs_ever_live.
4276
4277 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4278
4279         Fix bug exposed by reload.c no longer rounding the frame
4280         size to BIGGEST_ALIGNMENT:
4281         * sh.c (rounded_frame_size): New function.
4282         (sh_expand_prologue, sh_expand_epilogue): Use it.
4283         (initial_elimination_offset): Likewise.
4284
4285 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4286
4287         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
4288         * sh-protos.h (sh_need_epilogue): Declare.
4289         * sh.c (sh_need_epilogue_known): New static variable.
4290         (sh_need_epilogue): New function.
4291         (function_epilogue): Clear need_epilogue_known.
4292         * sh.md (return): Split into expander / insn pattern.
4293         Make the expander conditional on ! sh_need_epilogue ().
4294
4295 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
4296
4297         * machmode.h (get_mode_alignment): Declare.
4298         (GET_MODE_ALIGNMENT): Call it.
4299         * stor-layout.c (get_mode_alignment): New function. Make
4300         sure alignment is always power of 2.
4301
4302 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4303
4304         * i386.h: Remove useless definition of "I386" and misleading
4305         comment above it.
4306
4307 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4308
4309         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
4310         under which TREE_PERMANENT will be set.
4311         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
4312         build1): Use TREE_SET_PERMANENT.
4313         * print-tree.c (print_node): Don't report value of
4314         TREE_PERMANENT if ggc_p is true.
4315
4316         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
4317         decide whether to give a type a new alias set.
4318         * objc/objc-act.c (build_objc_string_object): Never copy the string.
4319         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
4320         of value of 'obstack'.
4321
4322
4323 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4324
4325         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
4326
4327 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4328
4329         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
4330         * cpplib.c (cpp_get_token): Produce them.
4331         * cppexp.c (cpp_lex): Handle them.
4332
4333 2000-02-23  Nick Clifton  <nickc@cygnus.com>
4334
4335         * config/arm/arm.c (arm_comp_type_attributes): Simply and
4336         comment tests on type attributes.
4337
4338 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4339
4340         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
4341         conform to documentation.
4342         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
4343         to check for special cases.
4344         * sh-protos.h (sh_loop_align): Declare.
4345         * sh.c (sh_loop_align): Define.
4346
4347 2000-02-22  Andrew Haley  <aph@cygnus.com>
4348
4349         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
4350         (SIZE_TYPE): Is 32 bits when using -mgp32.
4351         (PTRDIFF_TYPE): Ditto.
4352
4353 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4354
4355         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
4356
4357 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4358
4359         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
4360         BIGGEST_FIELD_ALIGNMENT a constant.
4361
4362 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
4363
4364         * dwarf2out.c (output_line_info): Put the marker for the end of
4365         the line number info at the actual end.
4366         (gen_struct_or_union_type_die): Use decl_function_context 
4367         to check for local classes.
4368         * dwarfout.c (output_type): Likewise.
4369
4370 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
4371
4372         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
4373         for arguments with a mode, but no type.
4374         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
4375         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
4376         * pa/long_double.h: New file.
4377         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
4378         both have 128bit wide long doubles.
4379         * configure: Rebuilt.
4380
4381 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4382
4383         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
4384
4385         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
4386         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
4387         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
4388
4389         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
4390
4391         * integrate.c (compare_blocks, find_block): Likewise.
4392
4393         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
4394
4395         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
4396
4397         * stmt.c (stmt_status, set_file_and_line_for_stmt,
4398         expand_asm_operands): Likewise.
4399
4400 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
4401
4402         * predict.c (estimate_probability): Added the pointer heuristic to
4403         the collection of static branch predictors.
4404
4405 2000-02-21  Catherine Moore  <clm@cygnus.com>
4406
4407         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
4408         * invoke.texi (-mfix7000): Document.
4409
4410 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
4411
4412         * diagnostic.c (init_output_buffer): Make it possible to output at
4413         least 32 characters if we're given a too long prefix.
4414
4415 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
4416
4417         * varasm.c (initializer_constant_valid_p): Call
4418         lang_expand_constant to simplify the constant.
4419
4420 2000-02-20  Bruce Korb  <bkorb@gnu.org>
4421
4422         * fixinc/inclhack.def(stdio_va_list):
4423         typedef needs to be disabled.
4424         * fixinc/inclhack.sh: regen
4425         * fixinc/fixincl.x: regen
4426
4427 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
4428
4429         * print-rtl.c (print_rtx): Don't print addresses when
4430         flag_dump_unnumbered.
4431
4432 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4433
4434         * sparc.c (sparc_output_scratch_registers): Mark parameter with
4435         ATTRIBUTE_UNUSED.
4436         (sparc_va_arg, sparc_flat_output_function_prologue,
4437         sparc_flat_output_function_epilogue): Cast value to unsigned in
4438         comparison.
4439         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
4440         
4441         * sparc.md: Add default case in switch.
4442
4443 2000-02-19  Richard Henderson  <rth@cygnus.com>
4444
4445         * c-typeck.c (add_pending_init): Don't abort for multiple
4446         fields at the same offset.
4447         (pending_init_member): Test the correct member.
4448
4449 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4450
4451         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
4452         instead of SImode.
4453         (start_catch_handler) : Same.
4454
4455 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
4456
4457         * Makefile.in: Have flow.o depend on $(EXPR_H)
4458
4459 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4460
4461         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
4462         * c-decl.c (duplicate_decls, finish_enum): Likewise.
4463         (finish_decl): Remove -Wlarger-than code from here.
4464         * flags.h (id_clash_len): Now int.
4465         (larger_than_size): Now HOST_WIDE_INT.
4466         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
4467         Clean up checking to see if in table.
4468         (make_bit_field_ref): Remove extra parm to bitsize_int.
4469         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
4470         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
4471         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
4472         and for computing size of decl.
4473         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
4474         Move -Wlarger-than code to here.
4475         (layout_record): Remove extra arg to bitsize_int.
4476         Set TYPE_BINFO_SIZE_UNIT.
4477         (layout_union): Remove extra arg to bitsize_int.
4478         Use proper type for size of QUAL_UNION.
4479         (layout_type): Remove extra arg to bitsize_int.
4480         * toplev.c (id_clash_len): Now int.
4481         (larger_than_size): Now HOST_WIDE_INT.
4482         (decode_W_option): Clean up id-clash and larger-than- cases.
4483         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
4484         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
4485         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
4486         (struct tree_decl): New field size_unit.
4487         (size_int_wide): No HIGH operand; NUMBER is now signed.
4488         (size_int_2): Deleted.
4489         (size_int, bitsize_int): Don't use it and rework args.
4490         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
4491
4492 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
4493
4494         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
4495
4496 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
4497
4498         * invoke.texi (Warning Options): Add an explanation of why
4499         you might want the -Wfloat-equal flag.
4500
4501 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4502
4503         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
4504         * cppinit.c (new_pending_define): Add cast to avoid warning.
4505         * expmed.c (extract_bit_field): Likewise.
4506         * flow.c (enum reorder_skip_type): New type.
4507         (skip_insns_between_blcok): New it.
4508         Rework to avoid warning about possibly undefined variable.
4509         * function.c (assign_parms): Make thisparm_boundary unsigned.
4510         * genrecog.c (write_switch): Cast XWINT result to int.
4511         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
4512         * mips-tfile.c (init_file): Make two versions of FDR intializer:
4513         one for MIPS and one for Alpha.
4514         (get_tag, copy_object): Add casts to avoid warnings.
4515         * optabs.c (init_one_libfunc): Cast NAME to (char *).
4516         * reload.c (find_reloads): Make TYPE enum reload_type.
4517         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
4518         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
4519         * varasm.c (compare_constant_1): Add cast to avoid warning.
4520         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
4521         to (char *).
4522         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
4523         Cast switch operand of size to int.
4524         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
4525         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
4526         in unhandled case.
4527
4528 2000-02-18  Nick Clifton  <nickc@cygnus.com>
4529
4530         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
4531         anything for an alignment of zero.
4532
4533         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
4534         anything for an alignment of zero.
4535
4536 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
4537
4538         * gcc.texi (Bug Reporting): Refer to bugs.html.
4539         (Bug Lists): Likewise.
4540         * system.h (GCCBUGURL): New preprocessor define.
4541         * rtl.c (fancy_abort): Use it.
4542         * gcc.c (main): Likewise.
4543
4544 2000-02-18  Richard Henderson  <rth@cygnus.com>
4545
4546         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
4547         (life_analysis_1): Subsume into ...
4548         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
4549         Use update_life_info for the relaxation.
4550         (update_life_info): Update REG_BASIC_BLOCK for registers live on
4551         entry and regs_live_at_setjmp.
4552         (set_noop_p): Simplify.
4553         (notice_stack_pointer_modification_1): Renamed from s/_1//.
4554         (record_volatile_insns): Split into ...
4555         (delete_noop_moves): ... here,
4556         (notice_stack_pointer_modification): ... here,
4557         (insn_dead_p): ... and here.
4558         (propagate_block): Don't query INSN_VOLATILE.
4559         (mark_used_regs): Mind !PROP_REG_INFO.
4560         * toplev.c (rest_of_compilation): Call mark_constant_function here,
4561         not in life_analysis.
4562
4563 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
4564
4565         * loop.c (canonicalize_condition): New function,
4566         broken out of get_condition.
4567         (get_condition): Use it.
4568         * expr.h (canonicalize_condition): Prototype it.
4569
4570         * tree.h (tree_int_cst_msb): Declare.
4571         * tree.c (tree_int_cst_msb): New function.
4572
4573 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
4574
4575         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
4576         isn't set.
4577
4578         * invoke.texi (-fmessage-length=n): Document.
4579
4580 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
4581
4582         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
4583
4584 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
4585
4586         * function.c (thread_prologue_and_epilogue_insns): Put a line note
4587         after the prologue.
4588
4589 2000-02-17  Nick Clifton  <nickc@cygnus.com>
4590
4591         * config/arm/thumb.c: Replace includes of system headers with
4592         #include "system.h".
4593
4594 2000-02-16  Richard Henderson  <rth@cygnus.com>
4595
4596         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
4597         Add crtbeginS.o and crtendS.o.
4598         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
4599         (ENDFILE_SPEC): Use crtendS.o.
4600         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
4601
4602         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
4603         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
4604         shared and present.
4605         (__dso_handle): New variable.
4606         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
4607         bias to __CTOR_END__.
4608         
4609 2000-02-16  Richard Henderson  <rth@cygnus.com>
4610
4611         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
4612
4613 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4614
4615         * longlong.h (__clz_tab): Declare as static to match definition.
4616
4617 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
4618         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
4619         (XREF_FILE_NAME): Define.
4620
4621         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
4622         (EH_FRAME_SECTION_ASM_OP): Define.
4623         (IDENT_ASM_OP): Define.
4624         (TEXT_SECTION_ASM_OP): Define.
4625         (CPP_SPEC): Define.
4626         (CTORS_SECTION_ASM_OP): Define.
4627         (CTOR_SECTION_FUNCTION): Use it.
4628         (DTORS_SECTION_ASM_OP): Define.
4629         (DTOR_SECTION_FUNCTION): Use it.
4630
4631 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
4632
4633         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
4634         NOTE_BASIC_BLOCK.
4635
4636         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
4637         debug_bb_n): New functions.
4638         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
4639         * basic-block.h: Prototype new functions.
4640
4641 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
4642
4643         * configure.in: Add support for avr target.
4644         * configure: Rebuilt.
4645
4646         * invoke.texi: Add AVR invocation docs.
4647         * install.texi: Add information about AVR.
4648         * md.texi: Add AVR constraint letters description.
4649         * extend.texi: Add description for AVR specific attributes.
4650
4651 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
4652
4653         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
4654
4655 2000-02-16  Nick Clifton  <nickc@cygnus.com>
4656
4657         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
4658         (make_insn_raw): Move RTL check here.
4659
4660 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4661
4662         * version.c: Include gansidecl.h and version.h.
4663
4664         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
4665         
4666         * configure.in (gcc_version): When setting, narrow search to
4667         lines containing `version_string'.
4668
4669         * Makefile.in (mainversion): Likewise. 
4670         (GCC_H): New variable.
4671         (gcc.h): Delete target.
4672         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
4673         (version.o): Depend on version.h.
4674         (dbxout.o): Don't depend on gcc.h.
4675
4676 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4677                           Michael Meissner  <meissner@cygnus.com>
4678
4679         * md.texi (Simple Constraints): Add item about whitespace.
4680         * genoutput.c (strip_whitespace): New.
4681         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
4682         strip_whitespace for constraints.
4683         Test pointer using NULL, not 0.
4684
4685 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4686
4687         * cpplib.c (do_line): Pedwarn for #line > 32767.
4688
4689         * c-lex.c (readescape): Warn about '\x', but do not reject it.
4690
4691 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
4692
4693         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
4694         to default cpp spec.
4695         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
4696         * cpp.texi: Document __GNUC_PATCHLEVEL__.
4697         * cpp.1: Likewise.
4698
4699         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
4700         default spec.
4701
4702 2000-02-15  Denis Chertykov  <denisc@overta.ru>
4703
4704         * configure.in: Add support for avr target.
4705
4706 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4707
4708         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
4709         (sh_addr_diff_vec_mode): Don't declare.
4710         * sh.c (sh_addr_diff_vec_mode): Delete.
4711
4712 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4713
4714         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
4715
4716 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4717
4718         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
4719         (smulsi3_highpart_i): Name.
4720         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
4721         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
4722         (smulsi3_highpart, umulsi3_highpart): Likewise.
4723
4724         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
4725         correctly independent of endianness.
4726         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
4727         confuse the optimizers.
4728         (mulsidi3+1, umulsidi3+1): New define_split.
4729
4730 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
4731
4732         * config/sh/sh.md: Guard insn splits against illegal registers.
4733         * config/sh/sh.h: Correct comment about macros.
4734
4735 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4736                           Andrew MacLeod  <amacleod@cygnus.com>
4737
4738         * Makefile.in (lcm.o): Depend on insn-attr.h.
4739         * basic-block.h (optimize_mode_switching): Declare.
4740         * lcm.c (tm_p.h, insn-attr.h): #include.
4741         (seginfo, bb_info): New structs.
4742         (antic, transp, comp, delete, insert) : New file-scope static variables.
4743         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
4744         (reg_becomes_live, optimize_mode_switching): Likewise.
4745         * tm.texi: Add description of mode switching macros.
4746         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
4747
4748         * sh-protos.h (remove_dead_before_cse): Remove prototype.
4749         (fldi_ok, fpscr_set_from_mem): New prototypes.
4750         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
4751         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
4752         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
4753         (sh_flag_remove_dead_before_cse): Remove declaration.
4754         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
4755         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
4756         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
4757         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
4758         (barrier_align): Allow for JUMP_INSNS containing a parallel.
4759         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
4760         (fldi_ok): New function.
4761         (get_fpscr_rtx): Add fpscr_rtx as GC root.
4762         (emit_sf_insn): Only generate fpu switches when optimize < 1.
4763         (emit_df_insn): Likewise.
4764         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
4765         (sh_flag_remove_dead_before_cse): Delete.
4766         (get_free_reg, fpscr_set_from_mem): New functions.
4767         * sh.md (movdf, movsf): Remove no_new_pseudos code.
4768         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
4769
4770 2000-02-15  Loren Rittle  <ljrittle@acm.org>
4771
4772         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
4773
4774 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4775
4776         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
4777         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
4778
4779         * cccp.c: Include version.h and/or don't declare `version_string'.
4780         * collect2.c: Likewise.
4781         * alpha.c: Likewise.
4782         * arm/aof.h: Likewise.
4783         * arm/coff.h: Likewise.
4784         * arm/elf.h: Likewise.
4785         * arm/pe.h: Likewise.
4786         * arm/tcoff.h: Likewise.
4787         * arm/telf.h: Likewise.
4788         * arm/tpe.h: Likewise.
4789         * arm/vxarm.h: Likewise.
4790         * convex/convex.c: Likewise.
4791         * i386/dgux.c: Likewise.
4792         * i386/sun386.h: Likewise.
4793         * m88k/m88k.c: Likewise.
4794         * mcore/mcore-pe.h: Likewise.
4795         * mips/mips.h: Likewise.
4796         * romp/romp.h: Likewise.
4797         * sh/sh.c: Likewise.
4798         * cpphash.c: Likewise.
4799         * cppinit.c: Likewise.
4800         * dwarf2out.c: Likewise.
4801         * dwarfout.c: Likewise.
4802         * gcc.c: Likewise.
4803         * gcc.h: Likewise.
4804         * mips-tfile.c: Likewise.
4805         * protoize.c: Likewise.
4806         * toplev.c: Likewise.
4807         * tree.h: Likewise.
4808         
4809         * version.c (version_string): Constify a char*.
4810
4811         * version.h: New file.
4812
4813 2000-02-14  Nick Clifton  <nickc@cygnus.com>
4814
4815         * configure.in: Add mcore-elf and mcore-pe targets.
4816         * configure: Regenerate.
4817
4818         * NEWS: Add note that MCore port has been contributed.
4819
4820         * invoke.texi: Document command line switches for MCore port.
4821         * install.texi: Add MCore to list of supported targets.
4822
4823 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
4824
4825         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
4826         then we will need to import the frame handling functions.
4827         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
4828         to import the frames themselves.
4829
4830 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
4831                           Jason Eckhardt  <jle@cygnus.com>
4832
4833         * basic_block.h: Added prototype for reorder_basic_blocks.
4834         * toplev.c: Changes to add -freorder-blocks and graph dump after
4835         block reordering is done.
4836         * flow.c (reorder_block_def): New structure for use during block
4837         reordering.
4838         (REORDER_BLOCK_*): New macros to access members of above structure.
4839         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
4840         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
4841         functions for block reordering.
4842
4843 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4844
4845         * gcc.texi (Passes): Fix typo.
4846         * md.texi (Standard Names): Ditto.
4847         * tm.texi (Storage Layout): Ditto.
4848
4849 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
4850
4851         * cpplib.c (do_define): Only free the old definition if it
4852         actually had one.
4853
4854 2000-02-13   Neil Booth  <NeilB@earthling.net>
4855
4856         * cppfiles.c (read_and_prescan): When emitting deferred
4857         newlines, test speccase[] again instead of checking each
4858         possible whitespace character in turn.  When we encounter \r,
4859         look behind for \n first, then ahead.
4860
4861 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
4862
4863         * cse.c (cse_altered): New internal flag.
4864         (cse_insn): Set it if we changed an insn.
4865         (cse_main): Clear cse_altered before each basic block.
4866         Only garbage collect if cse_altered is true afterward.
4867
4868 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4869
4870         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
4871
4872 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
4873
4874         * combine.c (simplify_comparison): Fix typo.
4875
4876 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
4877
4878         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
4879         consistently.
4880
4881 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4882
4883         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
4884         previously inserted node instead of root node.  Caller changed.
4885
4886 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4887
4888         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
4889
4890 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4891
4892         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
4893         __dereg_frame_dtor): Add prototype argument.
4894
4895         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
4896
4897         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
4898
4899         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
4900
4901         * gthr-vxworks.h (__gthread_once): Likewise.
4902
4903         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
4904
4905 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
4906
4907         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
4908         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
4909         stack pointer in functions w/o saved registers, output LEAVE more often
4910         on TARGET_USE_LEAVE machines.
4911
4912 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
4913
4914         * config/arm/arm.c (arm_init_cumulative_args); New function:
4915         Initlaise the CUMULATIE_ARGS strcuture for a function
4916         defintion. 
4917         (arm_function_arg): New function: Determine where to place a
4918         function's argument.  Also handles deciding the function's
4919         call cookie.
4920         (current_file_function_operand): New function: Return true if
4921         the symbol is a function which has already been compiled.
4922         (arm_is_long_call_p): New function: Return true if the
4923         indicated function should be called via a long call.
4924         (arm_valid_type_attribute_p): New function: Return true if the
4925         attribute is a valid, arm specific, attribute.
4926         (arm_comp_type_attribute): New function: Return true if the
4927         two types have compatable, arm specific, attributes.
4928
4929         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
4930         structure.
4931         (FUNCTION_ARG): Redefine to call arm_function_arg.
4932         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
4933         structure field.
4934         (INIT_CUMULATIVE_ARGS): Redefine to call
4935         arm_init_cumulative_args.
4936         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
4937         field. 
4938         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
4939         field. 
4940         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
4941         functions.
4942         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
4943         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
4944         (COMP_TYPE_ATTRIBUTES): Define.
4945
4946         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
4947         if a long call is needed.
4948         (call_value): Call arm_is_long_call_p to decide if a long call
4949         is needed.
4950         (call_symbol): Call arm_is_long_call_p to decide if a long call
4951         is needed.
4952
4953         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
4954
4955 2000-02-11  Denis Chertykov  <denisc@overta.ru>
4956
4957         * README.AVR: New file with information about the avr ports.
4958         * config/avr: New directory with avr port files.
4959
4960 2000-02-11  Andreas Jaeger  <aj@suse.de>
4961
4962         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
4963
4964 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
4965
4966         * cpphash.c: Fix formatting, update commentary.
4967         (dump_definition): Take three separate arguments instead of a
4968         MACRODEF structure argument.
4969         * cpphash.h: Update prototype of dump_definition.
4970         * cppinit.c (cpp_finish): Update call of dump_definition.
4971
4972         * cpplib.c (do_define): Always create new hash entry with
4973         T_MACRO type.  Remove redundant check for redefinition of
4974         poisoned identifier.  Update call of dump_definition.
4975         (do_undef): Don't call check_macro_name.  Rename sym_length to
4976         len.
4977         (do_error, do_warning): Don't use copy_rest_of_line or
4978         SKIP_WHITE_SPACE.
4979         (do_warning): Don't use pedwarn for the actual warning,
4980         only the notice about its not being in the standard.  (Fixes
4981         bug with #warning in system headers.)
4982         (do_ident): Stricter argument checking - accept only a single
4983         string after #ident.  Also, macro-expand the line.
4984         (do_xifdef): Use cpp_defined.  De-obfuscate.
4985
4986         (do_pragma): Split out specific pragma handling to separate
4987         functions.  Use get_directive_token.  Update commentary.  Do
4988         not pass on #pragma once or #pragma poison to the front end.
4989         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
4990         do_pragma_default): New.
4991
4992 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
4993
4994         * jump.c (jump_optimize_1): The first operand in a relational
4995         can be a CONST_INT.
4996         * optabs.c (emit_conditional_move): Handle relationals which
4997         have a known true/false result.
4998
4999 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5000
5001         * function.c (thread_prologue_and_epilogue_insns): Don't insert
5002         a RETURN insn into a block which already ends with a jump.
5003
5004 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5005
5006         * haifa-sched.c (BUF_LEN): Increase a lot.
5007
5008 2000-02-11  Nick Clifton  <nickc@cygnus.com>
5009
5010         * configure.in: Add tm_p_file specification for thumb targets.
5011         * configure: Regenerate.
5012
5013         * config/arm/thumb-protos.h: New file: Prototypes for exported
5014         functions defined in thumb.c.
5015
5016 2000-02-11  Robert Lipe  <robertl@sco.com>
5017
5018         * Makefile.in (bootstrap-lean): Remove additional files.
5019         (bootstrap2-lean): Likewise.
5020         (VOL_FILES): List of files for above.
5021
5022 2000-02-11  Nathan Sidwell  <nathan@acm.org>
5023
5024         * cpphash.c (special_symbol): Remove spurious argument to
5025         cpp_lookup.
5026
5027 2000-02-11  Joel Sherrill (joel@OARcorp.com>
5028
5029         * configure.in: (i*86-*-rtems*): Swapped elf and coff
5030         stanzas.
5031         * configure: Rebuilt.
5032
5033 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
5034         
5035         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
5036
5037 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
5038
5039         * pa.c, pa.h: Remove trigraph sequences within comments.
5040
5041 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
5042
5043         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
5044
5045 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
5046
5047         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
5048
5049 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5050         
5051         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
5052
5053 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5054
5055         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
5056         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
5057         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
5058         (ASM_FILE_END): Use c4x_file_end.
5059         * config/c4x/c4x.c (c4x_global_label): New function.
5060         (c4x_external_ref, c4x_file_end): Likewise.
5061
5062         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
5063         (c4x_external_ref, c4x_end_file): Likewise.
5064
5065 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
5066
5067         * cppexp.c: Don't include cpphash.h.
5068         (parse_charconst, cpp_lex): Use cpp_defined.
5069         (cpp_lex): Use get_directive_token throughout.  Remove
5070         unnecessary cases from switch.  Move assertion-handling code
5071         down to OTHER case.
5072         (cpp_parse_expr): If we see '+' or '-', check the context to
5073         determine if they are unary or binary operators.  Streamline
5074         the jumps a bit.  Do not call skip_rest_of_line.
5075
5076         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
5077         static.  Export get_directive_token.  Update commentary.
5078         (cpp_defined): New function.
5079         (do_define): Remove reference to T_PCSTRING.  Call
5080         free_definition to release memory for old definition, when
5081         redefining a macro.
5082         (eval_if_expression): Set only_seen_white to 0 before calling
5083         cpp_parse_expr.  Call skip_rest_of_line after it returns.
5084         (cpp_read_check_assertion): Don't preserve a pointer into the
5085         token buffer across a call to cpp_get_token.
5086
5087         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
5088         * cppfiles.c (redundant_include_p): Use cpp_defined.
5089         * cpphash.c (free_definition): New function.
5090         (delete_macro): Use it.  Update commentary.
5091         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
5092         free_definition.
5093         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
5094         from enum node_type.  Prototype cpp_defined and get_directive_token.
5095         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
5096
5097         * fix-header.c (check_macro_names): Use cpp_defined.
5098         (read_scan_file): Set inhibit_warnings and inhibit_errors in
5099         the options structure.
5100
5101 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5102
5103         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
5104
5105 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
5106
5107         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
5108         rather than die->die_tag.
5109
5110 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5111
5112         * combine.c (make_extraction, force_to_mode): Avoid warning on
5113         mixed-signedness conditionals.
5114         (make_field_assignment, nonzero_bits): Likewise.
5115         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
5116         (store_split_bit_field, extract_split_bit_field): Likewise.
5117         (extract_fixed_bit_field, store_bit_field, 
5118         * expr.c: Change alignment to be unsigned everywhere.
5119         (move_by_pieces, store_constructor_field, store_constructor): 
5120         Alignment parm is unsigned.
5121         (emit_block_move, emit_group_load, emit_group_store): Likewise.
5122         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5123         (do_compare_rtx_and_jump): Likewise.
5124         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
5125         Compare align with GET_MODE_ALIGNMENT.
5126         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
5127         (get_inner_reference): Likewise.
5128         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
5129         (expand_assignment): Local vars for alignment now unsigned.
5130         (store_constructor, store_field, expand_expr, do_jump): Likewise.
5131         (do_compare_and_jump): Likewise.
5132         (store_field): Call new function expr_align.
5133         * expr.h (emit_block_move, emit_group_load, emit_group_store):
5134         Alignment arg now unsigned.
5135         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5136         (do_compare_rtx_and_jump, store_bit_field): Likewise.
5137         (extract_bit_field): Likewise.
5138         * fold-const.c (add_double): Add cast to eliminate signedness warning.
5139         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
5140         (get_best_mode): Alignment arg is unsigned.
5141         * rtl.h (move_by_pieces): Likewise.
5142         * store-layout.c (maximum_field_alignment, set_alignment):
5143         Now unsigned.
5144         (layout_decl): Alignment arg is now unsigned.
5145         Remove unneeded casts.
5146         (layout_record, layout_union, layout_type): Remove unneeded casts.
5147         Local alignment variables now unsigned.
5148         (get_best_mode): Alignment arg now unsigned.
5149         * tree.c (expr_align): New function.
5150         * tree.h (expr_align): Likewise.
5151         (maximum_field_alignment, set_alignment): Now unsigned.
5152         (get_inner_reference): Alignment argument is now pointer to unsigned.
5153         * varasm.c (assemble_variable): Add cast to eliminate warning.
5154
5155 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
5156
5157         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
5158         then store directly into op0.
5159
5160         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
5161         the CALL_INSN, and emit the note immediately after it.
5162
5163 2000-02-10  Nick Clifton  <nickc@cygnus.com>
5164
5165         * config/arm/thumb.md (epilogue): Include a (return) in the
5166         generated insn, and emit it using emit_jump_insn not
5167         emit_insn. 
5168
5169 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
5170
5171         * function.c (assign_temp): Change zero-sized arrays to size 1.
5172         * integrate.c (expand_inline_function): Do not update
5173         stack_alignment_needed
5174         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
5175         add some sanity checking, remove optimization for function with
5176         zero frame size.
5177
5178 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5179
5180         * flow.c (mark_regs_live_at_end): Delete unused variables.
5181
5182         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
5183
5184         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
5185         in macro FRAME_GROWS_DOWNWARD.
5186
5187         * stmt.c (expand_end_bindings): Delete unused variable.
5188
5189         * unroll.c (iteration_info): Mark parameter `loop' with
5190         ATTRIBUTE_UNUSED.
5191
5192 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5193
5194         * fixinc/server.c (load_data): Return NULL if the marker line is
5195         not found.
5196         (run_shell): If load_data returns NULL, retry the command once, in
5197         a new shell.
5198
5199         * configure: Rebuilt.
5200
5201 2000-02-09  Bruce Korb  <bkorb@gnu.org>
5202
5203         * gcc/fixincludes:  ** DELETED **
5204         * gcc/fixcpp:  ** DELETED **
5205         * gcc/fixinc-nt.sed:  ** DELETED **
5206         * gcc/just-fixinc:  ** DELETED **
5207         * gcc/Makefile.in:  Removed out-dated commentary
5208         * gcc/configure.in: Removed fast-fixincludes disablement.
5209         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
5210
5211 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5212         * function.c (thread_prologue_and_epilogue_insns): Uncomment
5213         last change.
5214
5215 2000-02-09  Richard Henderson  <rth@cygnus.com>
5216
5217         * jump.c (delete_insn): Don't delete user labels at -O0.
5218
5219 2000-02-09  Robert Lipe  <robertl@sco.com>
5220
5221         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
5222         Don't link with HOST_LIBS. 
5223
5224 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5225
5226         * configure.in: Correct --help text for --with-dwarf2.
5227         Put tm-dwarf2.h after other tm files, if it's requested.
5228         * configure: Regenerate.
5229         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
5230         defining it.
5231
5232 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5233
5234         * cpplib.h: Provide HASHNODE typedef and forward decl of
5235         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
5236         DEFINITION, struct hashnode, struct macrodef, struct
5237         definition, scan_decls prototype, default defn of
5238         INCLUDE_LEN_FUDGE moved elsewhere.
5239
5240         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
5241         definition, and struct hashnode moved here. Remove the unused
5242         'predefined' field from struct definition.  Replace the 'args'
5243         union with its sole member.  All users updated (cpphash.c).
5244         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
5245         multiple include guard.
5246
5247         * cpphash.c (hashf): Make static; use better algorithm; drop
5248         HASHSIZE parameter; return an unsigned int.
5249         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
5250         used. Calculate HASHSIZE modulus here.
5251         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
5252         here.
5253         (create_definition): Drop PREDEFINITION parameter.
5254         * cpplib.c (do_define): Don't calculate a hash value here.
5255         Don't pass (keyword == NULL) to create_definition.
5256
5257         * scan.h: Prototype scan_decls here.
5258         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
5259         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
5260         callers of cpp_lookup and cpp_install updated.
5261         
5262         * cpphash.c (macarg): Hoist all the flag diddling out of the
5263         function...
5264         (macroexpand): ... and out of the loop that calls macarg.
5265         Skip over the initial paren before macro arguments with
5266         cpp_get_non_space_token; point may be some distance before
5267         that paren.  Abort if it's not there.
5268
5269         * cpplib.c (parse_clear_mark): Delete function.
5270         (parse_set_mark, parse_goto_mark): Make static.
5271         (ACTIVE_MARK_P): New macro.
5272         (skip_block_comment, skip_line_comment): Do not bump the line
5273         if ACTIVE_MARK_P is true.
5274         (cpp_pop_buffer): The buffer to be popped may not have an
5275         active mark.
5276         (cpp_get_token): When looking for the initial paren before
5277         macro arguments, only set a mark in a file buffer, Always
5278         return to that mark before proceeding to call macroexpand or
5279         return a NAME token.
5280
5281         * cpplib.h: Remove prototypes of parse_set_mark,
5282         parse_clear_mark, parse_goto_mark.
5283         (struct cpp_options): Rename 'put_out_comments' to
5284         'discard_comments' and invert its sense.
5285         * cppinit.c, cpphash.c, cpplib.c: All users of
5286         put_out_comments changed to use discard_comments, with
5287         opposite sense.
5288
5289 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5290
5291         * function.c (thread_prologue_and_epilogue_insns): Don't delete
5292         the edge from a block that both jumps and falls through to the
5293         fallthru block.
5294
5295 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
5296
5297         * config/arm/arm.md (movsi): In PIC mode, make sure that a
5298         constant source address is legitimate.
5299
5300 2000-02-09  Philip Blundell  <pb@futuretv.com>
5301
5302         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
5303         correctly.
5304
5305         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
5306         generating PIC.
5307         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
5308
5309 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5310
5311         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
5312         ends with a newline and a NUL.  Don't be so clever manipulating
5313         strings.
5314
5315 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
5316
5317         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
5318         not to BIGGEST_ALIGNMENT.
5319
5320 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
5321
5322         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
5323         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
5324         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
5325         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
5326         * frame.c (execute_cfa_insn): Handle 
5327         DW_CFA_GNU_negative_offset_extended.
5328
5329 2000-02-08  Richard Henderson  <rth@cygnus.com>
5330
5331         * flow.c (tidy_fallthru_edges): Split out from ...
5332         (delete_unreachable_blocks): ... here.
5333         (find_basic_blocks): Use it.
5334
5335 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5336
5337         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
5338
5339 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
5340
5341         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
5342         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
5343         (fix-header.o): Don't depend on cpphash.h.
5344
5345         * scan.c (hashstr): New function. 
5346         * scan.h: Prototype it.
5347         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
5348         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
5349         hashstr.  Report hash table statistics.  Add private     
5350         definition of xrealloc.
5351
5352 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5353
5354         * i386.h (TARGET_SWITCHES): Fix typo in option name.
5355
5356 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
5357
5358         * function.c (thread_prologue_and_epilogue_insns): Don't replace
5359         jumps with returns unless they are jumps to the fallthru block.
5360
5361 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
5362
5363         * i386.md (addqi3_cc): Fix contraints.
5364
5365 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5366
5367         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
5368
5369 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
5370
5371         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
5372         carriage return after a macro name.
5373
5374 2000-02-07  Fred Fish  <fnf@be.com>
5375
5376         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
5377         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
5378
5379 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
5380
5381         * cppfiles.c (deps_output): Count spacers in deps_column.
5382
5383 2000-02-07  Neil Booth  <NeilB@earthling.net>
5384
5385         * cppinit.c (initialize_dependency_output): If there is no
5386         suffix, don't try to look for known suffixes.  Use strrchr.
5387         (cpp_start_read): Remove duplicate initialization.
5388
5389 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
5390
5391         * calls.c (compute_argument_block_size): New argument
5392         preferred_stack_boundary.
5393         (expand_call): update cfun->preferred_stack_boundary, update call of
5394         compute_argument_block_size
5395         (emit_library_call): Increate cfun->preferred_stack_boundary
5396         to PREFERRED_STACK_BOUNDARY
5397         (emit_library_call_value): Likewise.
5398         * explow.c (allocate_dynamic_stack_spave): Likewise.
5399         * function.c (prepare_function_start): Set
5400         cfun->preferred_stack_boundary
5401         * function.h (struct function): Add preferred_stack_boundary field.
5402         * integrate.c (expand_inline_function): Update
5403         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
5404         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
5405         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
5406
5407 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
5408
5409         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
5410         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
5411         cpp_pedwarn, cpp_pedwarn_with_line,
5412         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
5413         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
5414         v_cpp_error_with_line, v_cpp_warning_with_line,
5415         cpp_message_from_errno, cpp_perror_with_name): Delete.
5416
5417         * cpperror.c (cpp_print_containing_files): Take starting
5418         buffer as argument.
5419         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
5420         (v_cpp_message): Now called directly by all entry points.
5421         Remove -1 case.
5422         (cpp_pfatal_with_name, cpp_message): Delete.
5423         (cpp_notice_from_errno, cpp_ice): New functions.
5424         (cpp_notice): Is now for reporting error conditions, just
5425         without an associated file.
5426         (cpp_error, cpp_error_with_line): Don't do anything if
5427         opts->inhibit_errors is on.
5428         (cpp_pedwarn_with_file_and_line): Take column argument also.
5429
5430         * cpplib.h: Update prototypes of exported functions.
5431         (struct cpp_options): Add inhibit_errors.
5432
5433         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
5434         non-error messages.  Include intl.h.
5435
5436         * cppinit.c, cppmain.c: Likewise.  Also, use
5437         cpp_notice_from_errno instead of cpp_perror_with_name or
5438         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
5439
5440         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
5441         report internal errors.
5442
5443         * cpplib.c (do_define): Switch bcopy to memcpy.
5444         Give cpp_pedwarn_with_file_and_line a dummy column argument.
5445
5446         * cpplib.c (copy_rest_of_line): Revert previous change: don't
5447         bail out early if we hit a line comment.
5448
5449 2000-02-06  Richard Henderson  <rth@cygnus.com>
5450
5451         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
5452         * basic-block.h: Declare them.
5453         * emit-rtl.h (active_insn_p): New.
5454         (next_active_insn, prev_active_insn): Use it.
5455         * rtl.h: Declare it.
5456         * function.c (emit_return_into_block): New.
5457         (thread_prologue_and_epilogue_insns): Insert return insns instead
5458         of epilogues when possible.
5459         * jump.c (jump_optimize_1): Remove code to insert a return insn
5460         on the fallthru to the exit block.
5461
5462         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
5463         and for non-empty stack frames.
5464         * i386.md (return): Expand to return-pop as needed.
5465
5466 2000-02-06  Richard Henderson  <rth@cygnus.com>
5467
5468         * simplify-rtx.c (simplify_relational_operation): Canonicalize
5469         constant to op1 for testing.
5470
5471 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5472
5473         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
5474         (fixuns_truncqfqi2): Use it.
5475
5476 2000-02-06  Richard Henderson  <rth@cygnus.com>
5477
5478         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
5479         as a TYPE_LEA insn.
5480
5481         * i386.md (widening and peepholes): Mask the constant instead of
5482         using gen_lowpart.
5483
5484 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
5485
5486         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
5487         input pointer before possibly branching off to the backslash
5488         code.
5489         * cpphash.c (macroexpand): Correctly delete \r escapes when
5490         stringifying parameters.
5491         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
5492         if we can; bail out early if we hit a line comment.
5493         (handle_directive): Treat '# 123' in an .S file just like
5494         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
5495         Return 1 for '# not_a_directive'.
5496         (get_directive_token): Pop macro buffers here, so that
5497         cpp_get_token can't sneakily move past a newline.
5498         Add sanity checks. 
5499         (cpp_get_token): goto randomchar if handle_directive returns 0.
5500
5501         * cppalloc.c: Update copyright.
5502         * cpplib.c: Merge all the static function prototypes into one
5503         block.
5504         * cpplib.h: Remove #if 0 block.
5505
5506         * cpperror.c: Remove #ifdef EMACS block.
5507         * cppmain.c: Likewise.
5508         * cpphash.c: Remove #if 0 blocks.
5509         * cppinit.c: Remove #if 0 blocks, and the -lint option.
5510         * cpplib.c: Remove #if 0 blocks and code referencing
5511         pcp_inside_if or for_lint.  Remove duplicate error message.
5512         Fix error messages for #else after #else or #elif.  Reformat.
5513         Remove archaic TODO list.
5514         * cpplib.h: Remove pcp_inside_if and for_lint flags.
5515
5516 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
5517
5518         * i386/osf1elf.h: Add missing backslash to multiline string.
5519
5520 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5521
5522         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
5523
5524 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5525
5526         * Makefile.in (c-common.o): Depend on $(EXPR_H).
5527
5528         * c-common.c: Include expr.h.
5529
5530         * c-pragma.c (mark_align_stack): Add prototype.
5531
5532         * caller-save.c (add_stored_regs): Likewise.
5533
5534         * combine.c (record_promoted_value): Likewise.
5535
5536         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
5537         Likewise.
5538
5539         * cppinit.c (new_pending_define): Likewise.
5540
5541         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
5542
5543         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
5544         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5545         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
5546         class_scope_p): Likewise.
5547
5548         * dwarf2out.h (dwarf2out_set_demangle_name_func,
5549         dwarf2out_add_library_unit_info): Likewise.
5550
5551         * ggc.h (ggc_page_print_statistics): Likewise.
5552
5553         * haifa-sched.c (propagate_deps): Likewise.
5554
5555         * reg-stack.c (next_flags_user, record_label_references): Likewise.
5556
5557         * rtl.h (set_stack_check_libfunc): Likewise.
5558
5559         * toplev.h (set_fatal_function): Likewise.
5560
5561         * toplev.c (set_fatal_function): Delete prototype.
5562         
5563         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
5564         
5565 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
5566
5567         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
5568         (FUNC_END): Likewise.
5569
5570 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5571
5572         * caller-save.c: Include tm_p.h.
5573
5574 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5575
5576         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
5577
5578 2000-02-04  Neil Booth  <NeilB@earthling.net>
5579
5580         * cccp.c (main): Check 'dir' for a NULL pointer before passing
5581         it to strcmp.
5582
5583 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
5584
5585         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
5586         * genflags.c: Use the max_operand_1 logic from genemit.c to
5587         calculate how many arguments gen_insn prototypes have.  Remove
5588         NO_MD_PROTOTYPES ifdefs from the generated file.
5589         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
5590         file.  Cast gen_insn initializers to insn_gen_fn.
5591         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
5592         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
5593
5594 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5595
5596         * fixinc/Makefile.in (HDR): Add machname.h.
5597         (clean): Likewise.
5598
5599 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5600
5601         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
5602         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
5603         (c4x_cpu_version): Ditto.
5604         * config/c4x/c4x-protos.h: ... here.
5605
5606 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
5607
5608         * dwarf2out.c (add_abstract_origin_attribute): Don't call
5609         gen_abstract_function on our context if we're a nested function.
5610
5611 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5612
5613         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
5614         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
5615
5616 2000-02-04  Bruce Korb  <bkorb@gnu.org>
5617
5618         * fixinc/genfixes(machname.h):
5619         Move the functionality from gen-machine.h into this file.
5620         UNdef MN_NAME_PAT if there are no names to change.
5621         Also, be a little kinder when AutoGen is not present.
5622
5623         * fixinc/Makefile.in(machname.h):
5624         Change the generation rule to use genfixes.
5625
5626         * fixinc/fixfixes.c(machine_name):
5627         machine_name_fix's functionality now dependent upon whether
5628         MN_NAME_PAT is defined.
5629
5630         * fixinc/fixtests.c(machine_name):
5631         ditto.
5632
5633         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
5634         of MN_NAME_PAT.
5635
5636         * fixinc/fixlib.h(mn_get_regexps):
5637         ditto
5638
5639         * fixinc/gen-machine.h: DELETED
5640
5641 2000-02-04  Jan Hubicka  <jh@suse.cz>
5642             Richard Henderson  <rth@cygnus.com>
5643
5644         * i386.c (SAVE_REGS_FIRST): Remove.
5645         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
5646         (ix86_compute_frame_size): Likewise.
5647         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
5648         (ix86_emit_restore_regs): Remove.
5649         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
5650         when a frame pointer is in use.
5651         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
5652         instead of pop to restore a register when profitable; emit leave
5653         when profitable.
5654         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
5655         as a TYPE_LEA insn.
5656         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
5657         * i386.md (prologue_allocate_stack): Remove.
5658         (epilogue_deallocate_stack): Remove.
5659         (pro_epilogue_adjust_stack): New.
5660
5661 2000-02-04  Richard Henderson  <rth@cygnus.com>
5662
5663         * function.c (diddle_return_value): Rework to use a callback function.
5664         Use current_function_return_rtx if it's been set up.
5665         (do_clobber_return_reg, clobber_return_register): New.
5666         (do_use_return_reg, use_return_register): New.
5667         (expand_function_end): Use them.
5668         * stmt.c (expand_null_return): Likewise.
5669         * function.h: Declare them.
5670         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
5671         (mark_reg): Change arguments as appropriate for callback.
5672         * integrate.c (expand_inline_function): Revert 19 Jan change.
5673
5674 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5675
5676         * tm.texi (Values in Registers): Fix typo: "fo" "for".
5677         (Misc): Say the scheduler, not the Haifa scheduler.
5678
5679 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
5680
5681         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
5682         when in_mem is set.  Update all callers.
5683
5684 2000-02-04  Richard Henderson  <rth@cygnus.com>
5685
5686         * i386/openbsd.h (INT_ASM_OP): Define.
5687
5688 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5689
5690         * tm.texi: Fix various typos.
5691
5692 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
5693
5694         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
5695         (MD_STARTFILE_PREFIX_1): New macro.
5696
5697 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
5698
5699         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
5700         destination when needed.
5701         (strmovsi, strsetsi): New expander.
5702         (strmovsi_1, strsetsi_1): New pattern.
5703         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
5704         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
5705         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
5706         * invoke.texi (align-stringops, inline-all-stringops): Document.
5707
5708 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
5709
5710         * i386/netbsd.h (INT_ASM_OP): Define.
5711
5712 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
5713
5714         * cpplib.h (cpp_reader): Add new flag, no_directives.
5715         * cpphash.c (macarg): Set it.
5716         * cpplib.c (handle_directive): If no_directives is on and we
5717         find a directive, issue an error and discard the line.
5718
5719 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
5720
5721         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
5722         FP constants.  Add ! TARGET_FPU check for FP constants.
5723
5724 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
5725         
5726         * flow.c (find_basic_blocks): Don't kill label_value_list
5727         here.
5728         (cleanup_cfg): Kill it here.
5729
5730 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5731
5732         * expr.c (store_field): Ensure ALIGN is no stricter than the
5733         alignment of EXP.
5734
5735 2000-02-02  Richard Henderson  <rth@cygnus.com>
5736
5737         * jump.c (delete_insn): Partially revert 19 Jan change; 
5738         don't convert unused code labels to notes at -O0.
5739
5740 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5741
5742         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
5743         split_all_insns to recreate REG_LABEL notes for flow2 pass.
5744
5745 2000-02-01  Richard Henderson  <rth@cygnus.com>
5746
5747         * i386.c (general_no_elim_operand): New.
5748         (nonmemory_no_elim_operand): New.
5749         (ix86_expand_move): Copy eliminable operands before a push.
5750         * i386-protos.h: Declare new functions.
5751         * i386.h (CAN_ELIMINATE): Simplify.
5752         (PREDICATE_CODES): Update.
5753         * i386.md (push insns): Don't allow eliminable register operands.
5754
5755 2000-02-01  Richard Henderson  <rth@cygnus.com>
5756
5757         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
5758         replace BLKmode with DECL_RTL's mode.
5759
5760 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
5761
5762         * frame.c (find_fde): Convert for loop to do-while so compiler
5763         sees it's always executed at least once.
5764         * libgcc2.c (BBINBUFSIZE): Kill.
5765         (__bb_init_prg): Use fgets.
5766         (__bb_exit_trace_func): Don't paste strings.
5767         * unroll.c (unroll_loop): Initialize unroll_type, not
5768         unroll_number, and tweak logic to match.
5769
5770         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
5771         all failure paths.
5772         (ix86_flags_dependant): Likewise.  Disentangle control flow.
5773         (ix86_sched_reorder): Break guts out to
5774         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
5775         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
5776         any possible use.
5777
5778         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
5779         use string concatenation.  Don't save and restore esi.
5780
5781         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
5782         (machname.h): Remove script to separate file.  Use two-step
5783         sequence so target is not created if script fails.
5784         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
5785         identifiers are defined.
5786         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
5787         an empty string, machine_name doesn't need to do anything at
5788         all.
5789         (is_cxx_header): Add more cases to regexp.
5790         * fixinc/fixlib.h: Update prototype.
5791         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
5792         mn_get_regexps.
5793         * fixinc/fixincl.c: Define NO_BOGOSITY.
5794
5795         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
5796         (hp_sysfile): Add missing comma.
5797         (math_exception): Put the wrapper ifdefs at the beginning and
5798         the end of the file.
5799         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
5800
5801 2000-02-01  Richard Henderson  <rth@cygnus.com>
5802
5803         * sparc.c (fp_zero_operand): Turn into a normal predicate.
5804         Use CONST0_RTX.  Update all callers.
5805         * sparc.h, sparc-protos.h: Update accordingly.
5806         * sparc.md (fp mov insns): Use fp_zero_operand directly
5807         where applicable.
5808
5809 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5810
5811         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
5812         example.
5813
5814 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5815
5816         * Makefile.in (specs.ready): New target.
5817         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
5818
5819 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5820
5821         * fixinc.irix: Use unique filenames for writing into /tmp,
5822         * fixinc.ptx: Likewise.
5823         * fixinc.sco: Likewise.
5824         * fixinc.svr4: Likewise.
5825         * fixinc.winnt: Likewise.
5826
5827 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5828
5829         * tsystem.h: New file.
5830
5831         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
5832         s-crtS): Depend on tsystem.h.
5833
5834         * crtstuff.c: Include tsystem.h.
5835         * frame.c: Likewise.
5836         * libgcc2.c: Likewise.
5837
5838 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
5839
5840         * builtins.c (expand_builtin_memset): Expand for variable sized
5841         lengths too.
5842
5843 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
5844
5845         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
5846         on ABI.
5847
5848 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5849
5850         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
5851
5852         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
5853
5854 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
5855
5856         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
5857         case 3->2 combining (combining with splitting) in which 2 is CC0
5858         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
5859         checked at the begining of the function with the aid of calling 
5860         function 'can_combine_p'. 
5861
5862 2000-01-31  Dave Brolley  <brolley@redhat.com>
5863
5864         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
5865
5866 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
5867
5868         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
5869         new label.
5870
5871 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5872
5873         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
5874         
5875         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
5876         PROTO -> PARAMS.
5877
5878 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
5879
5880         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
5881         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
5882         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
5883         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
5884         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
5885         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
5886         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
5887         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
5888         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
5889         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
5890         
5891         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
5892         Add %(cpp_cpu) to CPP_SPEC.
5893
5894         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
5895         Add %(cc1_cpu) to CC1_SPEC.
5896
5897 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
5898
5899         * c-decl.c (c_decode_option): Accept optional numeric argument to
5900         -Wformat and set warn_format.
5901         * c-common.c: Don't emit warning about non-constant printf format
5902         string unless warn_format > 1.
5903
5904 2000-01-30  Richard Henderson  <rth@cygnus.com>
5905
5906         * alpha.md (return_internal): Allow after reload only.
5907
5908 2000-01-30  Richard Henderson  <rth@cygnus.com>
5909
5910         * i386.c (ix86_compute_frame_size): Omit padding1 if the
5911         local frame size is zero.
5912
5913 2000-01-30  Richard Henderson  <rth@cygnus.com>
5914
5915         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
5916         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
5917         * alpha.md (return): Turn into an expander.
5918         (return_internal): Don't use $26.
5919         (epilogue): Emit the return insn.
5920
5921 2000-01-30  Richard Henderson  <rth@cygnus.com>
5922
5923         * alpha.md (negtf2, abstf2): Fix word order thinko.
5924         (extendsftf2): New.
5925         (trunctfsf2): Avoid intermediate rounding errors.
5926
5927 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
5928
5929         * cppfiles.c (find_position): Drop 'colp' argument, return the
5930         new line base.
5931         (read_and_prescan): Adjust to match.  Don't ever manipulate
5932         line or line_base except via find_position.
5933
5934 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
5935
5936         * c-parse.in: Apply Ulrich's changes from c-parse.y.
5937         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
5938         Regenerate.
5939
5940 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
5941
5942         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
5943         just print "<command line>".  If 'filename' is null or an
5944         empty string, print "<stdin>" for the filename.
5945         * cpplib.c (do_define): Don't print the 'location of the
5946         previous definition' message if we're still parsing the
5947         command line.
5948         (cpp_pedwarn_with_file_and_line): Always call
5949         cpp_file_line_for_message.
5950
5951 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
5952
5953         * flow.c (mark_regs_live_at_end): Fix typo.
5954
5955 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
5956
5957         * c-common.c: Adjust variable names, comments, help strings to c99.
5958         * c-lex.c: Likewise.
5959         * c-parse.y: Likewise.
5960         * c-tree.h: Likewise.
5961         * cccp.c: Likewise.
5962         * cpplib.h: Likewise.
5963         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
5964         * cppinit.c: Likewise.
5965
5966 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5967
5968         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
5969         * c4x.c: Define the optab rtx values.
5970         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
5971         (c4x_emit_libcall): Use new optab rtx values.
5972         (c4x_emit_libcall3): Likewise.
5973         (c4x_emit_libcall_mulhi): Likewise.
5974         * c4x-protos.h: Add prototypes for optab rtx values and change
5975         prototypes for above c4x_emit_libcall functions.
5976
5977 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5978
5979         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
5980         syntax is used.
5981         (c4x_function_prologue): Use regnames intead of float_reg_names when
5982         TI syntax is used.
5983         (c4x_function_epilogue): Likewise.
5984         (c4x_print_operand): Likewise.
5985         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
5986         * c4x.md (set_high): Disable for TARGET_TI.
5987
5988 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5989
5990         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
5991         of framepointer + constant to ADDR_REGS class.
5992         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
5993         * c4x.c (std_or_reg_operand): New function.
5994         * c4x-protos.h (std_or_reg_operand): Prototype it.
5995
5996 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5997
5998         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
5999                 object names as libgcc2.c.
6000         * libgcc.S: Use newly defined names.
6001
6002 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
6003         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
6004         function.
6005         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
6006         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
6007         (FLOW_LOOP_LAST_BLOCK): Likewise.
6008
6009 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6010
6011         * basic-block.h (struct loop): New fields 'first' and 'last'.
6012         * flow.c (flow_loops_find): Compute loop->first and loop->last.
6013         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
6014         and loop->last to check for NOTE_INSN_LOOP_END.
6015
6016 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
6017
6018         * predict.c (estimate_probability): Use the new FIRST and LAST fields
6019         of the loop descriptor rather than HEADER and LATCH. Also added
6020         missing break statements as well making some coding style modifications
6021         as suggested by Michael Hayes.
6022
6023 2000-01-28  Richard Henderson  <rth@cygnus.com>
6024
6025         * flow.c (find_basic_blocks): Remove do_cleanup argument.
6026         Break out that code ...
6027         (cleanup_cfg): ... here.
6028         (commit_one_edge_insertion): Detect a return instruction being
6029         emitted to an edge.  Emit a barrier following; clear fallthru.
6030         (commit_edge_insertions): Verify CFG consistency.
6031         * function.c (expand_function_start): Kill unused variable.
6032         (expand_function_end): Likewise.
6033         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
6034         to insert the epilogue.
6035
6036         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
6037         (delete_null_pointer_checks): Likewise.
6038         * output.h: Likewise.
6039         * reg-stack.c (reg_to_stack): Likewise.
6040         * toplev.c (rest_of_compilation): Likewise.  Run
6041         thread_prologue_and_epilogue_insns after rebuilding the CFG.
6042
6043 2000-01-28  Richard Henderson  <rth@cygnus.com>
6044
6045         * Makefile.in (flow.o): Revert 24 Jan change.
6046         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
6047         FUNCTION_VALUE result to DECL_RESULT's mode.
6048
6049         * haifa-sched.c (schedule_insns): Don't recompute reg info
6050         after reload.
6051
6052 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
6053
6054         * configure.in: Make --enable-cpplib the default.
6055         * configure: Regenerate.
6056         * gcc.dg/990119-1.c: No longer expected to fail.
6057
6058 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
6059
6060         * jump.c (jump_optimize_1): Delete an optimization that is also done
6061         by merge_blocks in flow.
6062
6063 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6064
6065         * diagnostic.c (build_message_string, output_printf,
6066         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
6067         (build_location_prefix): Fix non-literal format string.
6068
6069 2000-01-27  Richard Henderson  <rth@cygnus.com>
6070
6071         * alpha.md (trunctfsf2): New.
6072
6073 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
6074
6075         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
6076
6077 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6078
6079         * cppinit.c (cpp_handle_option): Recognize C++ comments under
6080         -std=gnu89.
6081         * cpplib.c (skip_block_comment, skip_line_comment): Split code
6082         out of...
6083         (skip_comment) ... here.  Permit C++ comments in system
6084         headers always.  Warn about C++ comments in user code under
6085         -std=gnu89 -pedantic.
6086         (copy_comment): Use skip_comment.
6087         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
6088         return EOF.
6089         (consider_directive_while_skipping, do_else, do_endif): Call
6090         validate_else unconditionally.
6091         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
6092         text after the conditional in a system header.
6093         * cpplib.h (struct cpp_buffer): Add flag
6094         warned_cplusplus_comments.
6095
6096 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6097
6098         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
6099         Use unshare_all_rtl_1.
6100         (unshare_all_rtl_again): New function.
6101         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
6102
6103         * function.c (purge_addressof_1): Use unshare_all_rtl_again
6104         rather than resetting the 'used' flags ourself.
6105
6106         * toplev.c (rest_of_compilation): Add current_function_decl
6107         to the unshare_all_rtl call.
6108         * tree.h: Prototype unshare_all_rtl.
6109         * rtl.h: Prototype unshare_all_rtl_again here.
6110
6111 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6112
6113         * genoutput.c (output_prologue): Include ggc.h in generated
6114         files.
6115         * Makefile.in (insn-output.o): Depends on ggc.h.
6116
6117 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
6118             Hans-Peter Nilsson  <hp@bitrange.com>
6119
6120         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
6121         Remove redundant include of xm-ns32k.h.
6122         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
6123         Remove redundant include of xm-ns32k.h.
6124         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
6125         Remove redundant include of xm-ns32k.h.
6126         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
6127
6128         * ns32k/ns32k.h: Update comment on multiply-add instructions.
6129         (TARGET_SWITCHES): Add documentation strings.
6130         (DWARF_FRAME_REGNUM): Override default definition.
6131         (REG_CLASS_CONTENTS): Add comments.
6132         (SUBSET_P): Format to reduce line length.
6133         (SMALL_REGISTER_CLASSES): Make a run time option.
6134         (GO_IF_NONINDEXED_ADDRESS): Reformat.
6135         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
6136         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
6137         (regclass_map): fix typo in comment.
6138         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
6139         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
6140         (trace, reg_or_mem_operand): Delete, unused function.
6141         (calc_address_cost): Small offsets are cheaper than large ones.
6142         (expand_block_move): Generate more efficient code when bytes is a
6143         known at compile time.
6144         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
6145         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
6146         instead of reg_or_mem_operand.
6147
6148         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
6149         not general_operand.  Similarly use "=rm" or stricter, not "=g".
6150         For input operands, use stricter constraints than "g" if not
6151         general_operand.  Similarly use stricter predicate than
6152         "general_operand" when stricter constraints than "g" are present,
6153         except for matching constraints.
6154         (movstrsi): Use "memory_operand" for operands 0 and 1.
6155         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
6156         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
6157         not reg_or_mem_operand.
6158         (udivmoddisi4): Ditto.
6159         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
6160         Use nonimmediate_operand for operand 3, not register_operand.
6161         (udivmoddiqi4_internal): Use register_operand for operand 1, not
6162         reg_or_mem_operand.
6163
6164 2000-01-27  Fred Fish  <fnf@be.com>
6165
6166         * gthr-posix.h: Fix typo; compatibily -> compatibility.
6167         * gthr-single.h: Likewise.
6168         * gthr-solaris.h: Likewise.
6169         * gthr-vxworks.h: Likewise.
6170         * gthr-win32.h: Likewise.
6171         * gthr.h: Likewise.
6172
6173 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6174
6175         * cppinit.c: Add " (cpplib)" to end of string printed by
6176         -v / --version.
6177
6178 2000-01-27  Richard Henderson  <rth@cygnus.com>
6179
6180         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
6181         testing for a signed comparison.
6182         (alpha_emit_floatuns): New.
6183         * alpha-protos.h: Declare it.
6184         * alpha.md (floatunsdisf2, floatunsdidf2): New.
6185         (extendsfdf2): Tidy.
6186
6187 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
6188
6189         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
6190         no -g option specifying debugging format, default to -gstabs+.
6191
6192 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
6193
6194         * calls.c (special_function_p): New argument fork_or_exec.
6195         (expand_call): When profile_arc_flag is set and the function
6196         is in the fork_or_exec group, call __bb_fork_func first.
6197         * libgcc2.c, _bb module (__bb_fork_func): New function.
6198         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
6199         output file.
6200         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
6201         * tree.h (special_function_p): Update prototype.
6202
6203 2000-01-26  Richard Henderson  <rth@cygnus.com>
6204
6205         * alpha.c (alpha_split_tfmode_pair): New.
6206         * alpha-protos.h: Declare it.
6207         * alpha.md (abstf2, negtf2): New.
6208         (movtf insn): Add input G constraint.
6209         (movtf splitter): Use alpha_split_tfmode_pair.
6210
6211 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6212
6213         * i386/cygwin.h: PROTO -> PARAMS.
6214
6215 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
6216
6217         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
6218         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
6219         using _Qp_cmp/_Q_cmp and testing the return value.
6220         (print_operand): Call reverse_condition_maybe_unordered if
6221         we are handling CCFPmode or CCFPEmode.
6222         Handle ORDERED, UN* and LTGT comparisons.
6223         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
6224         if not TARGET_HARD_QUAD.
6225         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
6226         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
6227         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
6228         Adjust gen_b* calls so that they reflect return comparison of
6229         sparc_emit_float_lib_cmp.
6230
6231 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6232
6233         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
6234         incoming operands array is large enough for one more operand.
6235         (alpha_emit_xfloating_arith): Likewise.
6236
6237 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6238
6239         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
6240         file with one line and no trailing newline.
6241         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
6242         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
6243         checking if the match is on the line.
6244         * fixinc/gnu-regex.c: Provide regerror not __regerror.
6245
6246 2000-01-25  Richard Henderson  <rth@cygnus.com>
6247
6248         * sparc.c (output_cbranch): Fix accidental squashing of the
6249         fp branch pre-delay nop.
6250
6251 2000-01-25  Richard Henderson  <rth@cygnus.com>
6252
6253         * tree.def (UNNE_EXPR): Remove.
6254         * c-typeck.c (build_binary_op): Don't handle it.
6255         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
6256
6257         * rtl.def (UNNE): Remove.
6258         (LTGT): Add.
6259         * jump.c (reverse_condition): Update accordingly.
6260         (swap_condition): Likewise.
6261         (comparison_dominates_p): Handle unordered comparisons.
6262         (reverse_condition_maybe_unordered): New.
6263         * rtl.h (reverse_condition_maybe_unordered): Declare.
6264
6265         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
6266         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
6267         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
6268         * sparc.md (bltgt): New.
6269
6270 2000-01-25  Nick Clifton  <nickc@redhat.com>
6271
6272         * emit-rtl.c (emit_insn): Only check machine class insns for
6273         improper emission of a RETURN.
6274
6275 2000-01-25  Richard Henderson  <rth@cygnus.com>
6276
6277         * Makefile.in (flow.o): Depend on $(EXPR_H).
6278         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
6279         duplicate the structure of diddle_return_value for keeping regs live.
6280
6281 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6282
6283         * loop.c (current_loop_info): Delete.
6284         (consec_sets_invariant_p): Add loop argument, update callers.
6285         (get_condition_for_loop): Likewise.
6286         (count_nonfixed_reads, update_giv_derive): Likewise.
6287         (simplify_giv_expr, general_induction_var): Likewise.
6288         (consec_sets_giv, recombine_givs): Likewise.
6289         (move_movables): Delete loop_start and loop_end arguments,
6290         add loop argument, and update callers.
6291         (find_mem_givs, check_final_value): Likewise.
6292         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
6293         (loop_invariant_p): Rename from invariant_p, add loop argument, and
6294         update callers.
6295         (basic_induction_var): Add loop argument, delete loop_level argument,
6296         and update callers.
6297         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
6298         add loop argument, and update callers.
6299         (find_splittable_regs, find_splittable_givs): Likewise.
6300         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
6301         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
6302         (biv_total_increment): Delete loop_start and loop_end arguments;
6303         update callers.
6304         (precondition_loop_p): Delete loop_start and loop_info arguments;
6305         update callers.
6306         * loop.h (get_condition_for_loop): Add loop argument.
6307         (biv_total_increment): Delete loop_start and loop_end arguments.
6308         (precondition_loop_p): Delete loop_start and loop_info arguments;
6309         add loop argument.
6310         (final_biv_value): Delete loop_start and loop_end arguments;
6311         add loop argument.
6312         (final_giv_value, back_branch_in_range_p): Likewise.
6313
6314 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6315
6316         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
6317
6318 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6319
6320         * Makefile.in (c-gperf.h) : Change the "See" pointer to
6321         point to the new "generated_files" doc.
6322
6323 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6324
6325         * config/fp-bit.c (_unord_f2): Fix typo.
6326
6327 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6328
6329         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
6330         c-typeck.c, objc/objc-act.c: Remove all references to obstack
6331         functions obsoleted by GC, such as push_obstacks_nochange,
6332         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
6333         and code which existed only to decide whether or not to call
6334         them.  Remove now-unused NESTED argument from start_function;
6335         all callers changed.  Do not change behavior based on ggc_p.
6336         The use of the ixp_obstack in c-iterate.c and the util_obstack
6337         in objc/objc-act.c remain; these are not obsoleted by garbage
6338         collection.
6339         * c-tree.h: Update prototype for start_function.
6340
6341         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
6342
6343 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6344
6345         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
6346         mips16.
6347
6348 2000-01-25  Richard Henderson  <rth@cygnus.com>
6349
6350         * sparc-protos.h (select_cc_mode): Declare.
6351         * sparc.c (select_cc_mode): New.  Handle unordered compares.
6352         (output_cbranch): Always reverse via code change.  Handle
6353         unordered compares.  Factor tests and string updates.
6354         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
6355         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
6356         * sparc.md (bunordered, bordered): New.
6357         (bungt, bunlt, buneq, bunge, bunle): New.
6358
6359 2000-01-25  Richard Henderson  <rth@cygnus.com>
6360
6361         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
6362         * ggc-common.c (ggc_add_rtx_varray_root): New.
6363         (ggc_mark_rtx_varray): New.
6364         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
6365         functions down below ggc_mark_foo.
6366         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
6367
6368 2000-01-25  Richard Henderson  <rth@cygnus.com>
6369
6370         * alpha.c (secondary_reload_class): Don't allocate a secondary
6371         for integral mode memories into FLOAT_REGS.  Rearrange the more
6372         complicated memory expression inward.
6373
6374 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6375
6376         * inclhack.def: Fixes to play nicer with FreeBSD, and
6377         corrections to comments.
6378         (cxx_unready): Add select expression.
6379         (irix_sockaddr): Add bypass expression.
6380         (machine_ansi_h_va_list): New fix.
6381         (stdio_va_list): No need to edit _BSD_VA_LIST_.
6382         Split out addition of "#include <stdarg.h>" to...
6383         (stdio_stdarg_h): ... here.
6384         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
6385         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
6386         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
6387         size_t.
6388         (ultrix_ifdef): Tighten up select expression.
6389
6390         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
6391         re_ct and max_mach to avoid use of shell.  Make printed names
6392         match names in inclhack.def.  Use static copyright date.
6393         Don't count c_test and test expressions as requiring regex_t
6394         slots.  Add some commentary.
6395         * inclhack.tpl: Do not include the 'This script contains N
6396         fixup scripts' line if PROGRAM is defined.  Use static
6397         copyright date.
6398
6399 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
6400
6401         * dwarf2out.c: include "varray.h", not dyn-string.h.
6402         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
6403         (addr_const_to_string, addr_to_string): Lose.
6404         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
6405         (struct dw_val_struct): val_addr is now an rtx.
6406         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
6407         (used_rtx_varray): New varray.
6408         (dwarf2out_init): Initialize it.
6409         (save_rtx): New fn.
6410         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
6411         addr_to_string.
6412         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
6413         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
6414         * Makefile.in (dwarf2out.o): Update dependencies.
6415
6416 2000-01-24  Richard Henderson  <rth@cygnus.com>
6417
6418         * i386.c (i386_dwarf_output_addr_const): New.
6419         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
6420
6421         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
6422         if defined.
6423         * dwarfout.c (output_mem_loc_descriptor): Likewise.
6424         * i386.c (i386_simplify_dwarf_addr): New.
6425         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
6426
6427 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
6428
6429         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
6430         TYPE_STUB_DECL is NULL.
6431
6432 2000-01-24  Richard Henderson  <rth@cygnus.com>
6433
6434         * builtins.c (expand_tree_builtin): Move ...
6435         * c-common.c (expand_tree_builtin): ... here.
6436
6437 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6438
6439         * loop.h (LOOP_INFO): New accessor macro.
6440         * basic-block.h (struct loop): Rename field `info' to `aux'.
6441         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
6442         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
6443         * unroll.c (loop_iterations, unroll_loop): Likewise.
6444
6445 2000-01-24  Christopher Faylor <cgf@cygnus.com>
6446
6447         * config/i386/t-cygwin: Accomodate new winsup directory layout
6448         when searching for include files.
6449
6450 2000-01-24  Richard Henderson  <rth@cygnus.com>
6451
6452         * rtl.def: Add unordered fp comparisions.
6453         * tree.def: Likewise.
6454         * tree.h: Add ISO C 9x unordered fp comparision builtins.
6455
6456         * builtins.c (expand_tree_builtin): New function.
6457         * c-typeck.c (build_function_call): Use it.
6458         (build_binary_op): Support unordered compares.
6459         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
6460
6461         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
6462         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
6463         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
6464         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
6465         * jump.c (reverse_condition): Don't abort for UNLE etc, but
6466         return UNKNOWN.
6467         (swap_condition): Handle unordered compares.
6468         (thread_jumps): Check can_reverse before reversing.
6469         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
6470         reversed for FP.
6471
6472         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
6473         setcc is present before acking for cmp_optab.  Update all callers.
6474         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
6475         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
6476         * expr.c (expand_expr): Likewise.  Support unordered compares.
6477         (do_jump, do_store_flag): Likewise.
6478         * expr.h (enum libfunc_index): Add unordered compares.
6479
6480         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
6481         (DPBIT_FUNCS): Add _unord_df.
6482         * config/fp-bit.c (_unord_f2): New.
6483         * fp-test.c (main): Try unordered compare builtins.
6484
6485         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
6486         * alpha.c (alpha_comparison_operator): Check mode properly.
6487         (alpha_swapped_comparison_operator): Likewise.
6488         (signed_comparison_operator): Likewise.
6489         (alpha_fp_comparison_operator): New.
6490         (alpha_emit_conditional_branch): Handle unordered compares.
6491         * alpha.h (PREDICATE_CODES): Update.
6492         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
6493         (bunordered, bordered): New.
6494
6495 2000-01-24  Richard Henderson  <rth@cygnus.com>
6496
6497         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
6498         * alpha.md (movtf): New expander, insn, and splitter.
6499
6500 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
6501
6502         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
6503         dead registers.
6504
6505 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
6506
6507         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
6508         (FIXED_REGISTERS, CALL_USED_REGISTERS,
6509          REG_ALLOC_ORDER): Add frame pointer
6510         (FRAME_POINTER_REGNUM): Set to 20
6511         (HARD_FRAME_POINTER_REGNUM): New macro.
6512         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
6513         to HARD_FRAME_POINTER.
6514         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
6515         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
6516         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
6517         (HI_REGISTER_NAMES): Add "frame".
6518         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
6519         (debug_reg): Handle FRAME_POINTER_REGNUM.
6520         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
6521         GENERAL_REGS and INDEX_REGS.
6522         * i386.c (SAVED_REGS_FIRST): new macro.
6523         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
6524         (ix86_decompose_address, memory_address_length): Likewise.
6525         (regclass_map): Add frame pointer.
6526         (call_insn_operand): Handle frame_pointer_rtx.
6527         (reg_no_sp_operand): Likewise.
6528         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
6529         (print_operand, legitimize_pic_address): Fix formating.
6530         (ix86_compute_frame_size): Make static, update prototype, new
6531         parameters padding1, padding2, use ix86_nsaved_regs, use
6532         stack_alignment_needed.
6533         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
6534         to HARD_FRAME_POINTER_REGNUM conversions.
6535         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
6536         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
6537         (print_reg): Abort on FRAME_POINTER_REGNUM
6538
6539 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
6540
6541         * i386.h (PREDICATE_CODES): Add aligned_operand.
6542         * i386.c (aligned_operand): New function.
6543         (ix86_aligned_p): Kill.
6544         * i386.md (movhi_1): Emit mov for aligned operands.
6545         (promoting peep2s): Use aligned_operand.
6546
6547 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
6548
6549         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
6550         expression to allow underscores in macro names.
6551         (fix_char_macro_defines): Increment scanning pointer.
6552
6553 2000-01-23  Richard Henderson  <rth@cygnus.com>
6554
6555         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
6556         * alpha/osf5.h: New file.
6557         * configure.in (alpha-*-osf5): Add it to tm_file.
6558
6559         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
6560
6561         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
6562         (alpha_emit_xfloating_cvt, function_arg): Declare.
6563         * alpha.c (alpha_emit_conditional_branch): Call
6564         alpha_emit_xfloating_compare for TFmode compares.
6565         (alpha_lookup_xfloating_lib_func): New.
6566         (alpha_compute_xfloating_mode_arg): New.
6567         (alpha_emit_xfloating_libcall): New.
6568         (alpha_emit_xfloating_arith): New.
6569         (alpha_emit_xfloating_compare): New.
6570         (alpha_emit_xfloating_cvt): New.
6571         (print_operand): Add default abort case.
6572         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
6573         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
6574         (BIGGEST_ALIGNMENT): Increase to 128 bits.
6575         (RETURN_IN_MEMORY): True for TF/TCmode.
6576         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
6577         (FUNCTION_ARG): Move to function_arg.
6578         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
6579         (ASM_OUTPUT_LONG_DOUBLE): New.
6580         (ASM_OUTPUT_DOUBLE): Always output bits.
6581         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
6582         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
6583         (extenddftf2, trunctfdf2): New.
6584
6585 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6586
6587         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
6588         * config/sparc/sol2.h: ... here.
6589
6590 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6591
6592         * basic-block.h (struct loops): New field `levels'.
6593         * flow.c (flow_loops_level_compute): Traverse all outer loops.
6594         (flow_loop_level_compute): Initialise level to 1.
6595         (flow_loops_find): Set loops->levels.
6596         (flow_loops_dump): Print loops->levels.
6597
6598 2000-01-23  Richard Henderson  <rth@cygnus.com>
6599
6600         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
6601         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
6602
6603 2000-01-23  Richard Henderson  <rth@cygnus.com>
6604
6605         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
6606         * i386.h (DBX_REGISTER_NUMBER): Use them.
6607         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
6608         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
6609         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
6610         * i386/sequent.h: Kill incorrect comment.
6611
6612 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
6613
6614         * ggc-page.c (struct page_entry): Make `context_depth' an
6615         `unsigned short'.
6616         (struct globals): Likewise.
6617
6618 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
6619
6620         * loop.c (check_dbra_loop): When checking a loop for
6621         reversability, check the source of any stores to ensure
6622         they don't depend on an initial value.
6623
6624 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6625
6626         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
6627
6628 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
6629
6630         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
6631         'pz_scan' into scope of entire function.  Only affects
6632         compiles with -DDEBUG.
6633
6634 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
6635
6636         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
6637         section naming to that prior to 2000-01-07 patch.
6638         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
6639         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
6640         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
6641         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
6642         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
6643
6644 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
6645
6646         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
6647         constant.
6648
6649 2000-01-21  Jim Wilson  <wilson@cygnus.com>
6650
6651         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
6652         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
6653
6654 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
6655
6656         * cpphash.c (change_newlines): Delete function.
6657         (struct argdata): Delete 'newlines' and 'use_count' fields.
6658         (macroexpand): Remove code referencing those fields.
6659
6660 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6661
6662         * loop.c (loops_info): New variable.
6663         (loop_optimize): Allocate loops->array and free it on exit.
6664         Allocate memory for loops_info and assign to each loop,
6665         replacing alloca.
6666         (find_and_verify_loops): Do not allocate loops->array.
6667
6668 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
6669
6670         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
6671
6672 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
6673
6674         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
6675         pseudos if expanded after first flow.
6676         (movdi_pic_label_ref): Likewise.
6677
6678 2000-01-20  Richard Henderson  <rth@cygnus.com>
6679
6680         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
6681
6682 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
6683
6684         * Makefile.in (fixinc.sh): Depend on specs.
6685         * fixinc/Makefile.in: Add rule to create machname.h.
6686         (fixlib.o): Depend on machname.h.
6687         * fixinc/fixtests.c (machine_name): New test.
6688         * fixinc/fixfixes.c (machine_name): New fix.
6689         * fixinc/fixlib.c (mn_get_regexps): New helper function for
6690         the machine_name test and fix.
6691         * fixinc/fixlib.h: Prototype it.
6692         * fixinc/inclhack.def (machine_name): Use the C test and fix.
6693         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
6694
6695         * gcc.c (do_spec_1) [case P]: Take care not to create
6696         identifiers with three leading or trailing underscores.
6697
6698         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
6699         (fixincl): Don't specify libraries twice on link line.
6700         (gnu-regex.o): Remove special rule.
6701         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
6702         defined by config.h.  Do not define _REGEX_RE_COMP.
6703         (regcomp): Allocate and initialize a fastmap.
6704         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
6705
6706 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
6707
6708         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
6709
6710 2000-01-19  Richard Henderson  <rth@cygnus.com>
6711
6712         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
6713         arguments with BB.  Update all callers.  Tidy line wrapping.
6714
6715 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
6716
6717         * emit-rtl.c (try_split): Return last_insn if we split the
6718         last_insn.
6719
6720 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
6721
6722         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
6723         (ix86_initial_elimination_offset): Declare.
6724         * i386.c (ix86_nsaved_regs): Break out from ...
6725         (ix86_can_use_return_insn_p): ... here.
6726         (ix86_emit_save_regs): Break out from ...
6727         (ix86_expand_prologue): ... here.
6728         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
6729         out from ...
6730         (ix86_expand_epilogue): ... here.
6731         (ix86_compute_frame_size): Make static, add prototype.
6732         (ix86_initial_elimination_offset): Break out from ...
6733         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
6734
6735 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6736
6737         * recog.h (OUT_FCN): Delete.
6738
6739         * vax.md: Call `get_insn_template' instead of OUT_FCN.
6740
6741 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6742
6743         * cppalloc.c: PROTO -> PARAMS.
6744         * cpperror.c: Likewise.
6745         * cppfiles.c: Likewise.
6746         * cpplib.c: Likewise.
6747         * cpplib.h: Likewise.
6748
6749         * config/arm/arm-protos.h: PROTO -> PARAMS.
6750         * config/arm/arm.c: Likewise.
6751         * config/c4x/c4x.c: Likewise.
6752         * config/fr30/fr30-protos.h: Likewise.
6753         * config/nextstep.c: Likewise.
6754         * config/pa/pa.c: Likewise.
6755         * config/pj/pj.c: Likewise.
6756         * config/rs6000/rs6000.c: Likewise.
6757         * config/v850/v850-protos.h: Likewise.
6758         * config/v850/v850.c: Likewise.
6759
6760 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6761
6762         * i370-protos.h: New file.
6763
6764         * i370.c: Include tm_p.h.  Fix compile time warnings.
6765
6766         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
6767         warnings.
6768
6769         * i370.md: Likewise.
6770
6771 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6772
6773         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
6774         (target_isinf, target_isnan, eisnan): Mark parameter with
6775         ATTRIBUTE_UNUSED.
6776         (eiisinf): Wrap in INFINITY.
6777         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
6778         (ibmtoe): Remove unused variable `rndsav'.
6779
6780 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6781
6782         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
6783         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
6784
6785 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
6786
6787         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
6788         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
6789         (fix_char_macro_defines, fix_char_macro_uses): New functions.
6790
6791         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
6792         Recognize Emacs mode markers also.
6793         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
6794         C++ comments in C++ headers.  Call is_cxx_header only if
6795         necessary.
6796
6797         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
6798         bypass for ncurses.
6799         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
6800         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
6801         ... these, which use the new C fixes.
6802         (math_exception): Escape literal '+' in bypass expression.
6803
6804         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
6805         Regenerate.
6806
6807 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6808
6809         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
6810         inside the MEM.
6811
6812 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6813
6814         * loop.c (loop_optimize): Allocate loop_info structure for each loop
6815         prior to calling scan_loop.
6816
6817 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6818
6819         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
6820         (split_branches, calc_live_regs): Likewise.
6821
6822 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6823
6824         * sh.md (fpu_single, fp_mode): New attributes.
6825
6826 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6827
6828         * loop.c (current_loop_info): Renamed from loop_info_data
6829         and changed to a pointer.
6830         (loop_optimize): Allocate loop_info structure for each loop
6831         and initialise to zero.
6832         (scan_loop): Set current_loop_info.
6833
6834         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
6835         on iteration_var.
6836
6837 2000-01-19  Richard Henderson  <rth@cygnus.com>
6838
6839         * stupid.c: Die die die.
6840         * Makefile.in (OBJS): Remove stupid.o.
6841         (stupid.o): Likewise.
6842
6843         * except.c (emit_eh_context): Don't emit USEs for stupid.
6844         * explow.c (probe_stack_range): Likewise.
6845         * flags.h (obey_regdecls): Remove.
6846         * flow.c (find_basic_blocks): Don't run try_merge_blocks
6847         when not optimizing.
6848         (life_analysis): Limit data collection when not optimizing.
6849         (mark_regs_live_at_end): Always mark the return value registers.
6850         (mark_used_regs): Remove dummy RETURN case.
6851         (print_rtl_with_bb): Don't consult obey_regdecls.
6852         * function.c (use_variable, use_variable_after): Remove.
6853         (assign_parms): Consult optimize not obey_regdecls.
6854         (expand_function_start): Don't emit USEs for stupid.
6855         (expand_function_end): Likewise.
6856         * global.c (build_insn_chain): Export.
6857         * integrate.c (expand_inline_function): Kill return-value USE
6858         handling code.
6859         * jump.c (jump_optimize_1): Do simple jump optimizations and
6860         dead code elimination.
6861         (calculate_can_reach_end): Remove check_deleted argument.
6862         (delete_insn): Patch out insns even when not optimizing.
6863         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
6864         * rtl.h (use_variable, use_variable_after): Remove declarations.
6865         (build_insn_chain): Declare.
6866         * stmt.c (expand_value_return): Don't emit USEs for stupid.
6867         (expand_end_bindings): Likewise.
6868         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
6869         * toplev.c (obey_regdecls): Remove.
6870         (rest_of_compilation): Don't set it.  Kill stupid in favour of
6871         flow1, local-alloc, and reload.
6872         (main): Don't set obey_regdecls.
6873
6874         * config/nextstep.c (handle_pragma): Likewise.
6875
6876         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
6877
6878         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
6879
6880 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6881
6882         * alpha-protos.h: PROTO -> PARAMS.
6883         * alpha.c: Likewise.
6884         * elf.h: Likewise.
6885         * h8300.c: Likewise.
6886         * i386-protos.h: Likewise.
6887         * i386.c: Likewise.
6888         * m32r-protos.h: Likewise.
6889         * m32r.c: Likewise.
6890         * mips.c: Likewise.
6891         * mips.md: Likewise.
6892         * gmon-sol2.c: Likewise.
6893         * sparc.c: Likewise.
6894
6895 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6896
6897         * ns32k-protos.h: New file.
6898
6899         * ns32k.c: Fix compile time warnings.
6900
6901         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
6902         warnings.
6903
6904         * ns32k.md: Likewise.
6905
6906 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6907
6908         * vax-protos.h: New file.
6909
6910         * vax.c: Fix compile time warnings.
6911
6912         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
6913         warnings.
6914
6915         * vax.md: Likewise.
6916
6917         * vaxv.md: Likewise.
6918
6919 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6920
6921         * romp-protos.h: New file.
6922
6923         * romp.c: Fix compile time warnings.
6924
6925         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
6926         warnings.
6927
6928         * romp.md: Likewise.
6929
6930 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6931
6932         * we32k-protos.h: New file.
6933
6934         * we32k.c: Fix compile time warnings.
6935
6936         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
6937         warnings.
6938
6939 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6940
6941         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
6942
6943         * except.c (eh_regs): Likewise.
6944
6945         * final.c (output_operand): Likewise.
6946
6947         * fold-const.c (target_isinf, target_isnan): Likewise.
6948
6949 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
6950
6951         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
6952         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
6953
6954         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
6955         when optimize_size.
6956         (clrstrsi): Rewrite.
6957         (strsethi, strsetqi): New expanders.
6958         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
6959         (cmpstrsi): Emit compare insn before cmpstrsi_1
6960         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
6961         (strlensi_1): Likewise.
6962         (cmpstrsi_1): Likewise; do not output compare.
6963         (strlen expander): Do not unroll when optimizing for size.
6964         (*subsi3_carry): Rename to subsi3_carry
6965         (addqi3_cc): New pattern.
6966         * i386.h (processor_costs): Add move_ratio field.
6967         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
6968         * i386.c (*_cost): Set move_ratio.
6969         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
6970         (x86_expand_strlensi_1): Rewrite the main loop.
6971
6972 2000-01-17  Richard Henderson  <rth@cygnus.com>
6973
6974         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
6975         * cse.c (find_comparison_args, fold_rtx): Likewise.
6976         * integrate.c (subst_constants): Likewise.
6977         * loop.c (get_condition): Likewise.
6978
6979         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
6980
6981         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
6982
6983 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6984
6985         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
6986         (RESTORE_WARN_FLAGS): Unpack it.
6987         Change semantic type of extension to ttype.
6988         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
6989         * c-parse.y, c-parse.c, objc/objc-parse.y,
6990         objc/objc-parse.c: Regenerate.
6991
6992 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
6993
6994         * fixinc/fixlib.c: Add copyright notice.
6995         (compile_re): New function.
6996         * fixinc/fixlib.h: Prototype compile_re.
6997
6998         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
6999         Use compile_re to compile regular expressions.
7000
7001         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
7002         where the pattern matched.
7003
7004         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
7005         use 'replace'.
7006         (ultrix_ansi_compat): Likewise.
7007         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
7008         add egrep test.
7009         (interactv_add2, interactv_add3): Delete.
7010         (x11_sprintf): Don't use filename glob.
7011         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
7012         Regenerate.
7013
7014 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7015
7016         * print-rtl.c: PROTO -> PARAMS.
7017         * real.c: Likewise.
7018         * reg-stack.c: Likewise.
7019         * resource.c: Likewise.
7020         * sdbout.h: Likewise.
7021         * simplify-rtx.c: Likewise.
7022         * stor-layout.c: Likewise.
7023         * stupid.c: Likewise.
7024         * xcoffout.c: Likewise.
7025         * xcoffout.h: Likewise.
7026
7027 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7028
7029         * toplev.c: PROTO -> PARAMS.
7030         * toplev.h: Likewise.
7031         * tree.c: Likewise.
7032         * tree.h: Likewise.
7033         * unroll.c: Likewise.
7034         * varasm.c: Likewise.
7035         * varray.c: Likewise.
7036         * varray.h: Likewise.
7037
7038 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7039
7040         * reload.c: PROTO -> PARAMS.
7041         * reload.h: Likewise.
7042         * reload1.c: Likewise.
7043         * reorg.c: Likewise.
7044         * resource.h: Likewise.
7045         * rtl.c: Likewise.
7046         * rtl.h: Likewise.
7047         * rtlanal.c: Likewise.
7048         * sbitmap.h: Likewise.
7049         * sdbout.c: Likewise.
7050         * stack.h: Likewise.
7051         * stmt.c: Likewise.
7052         * system.h: Likewise.
7053
7054 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7055
7056         * machmode.h: PROTO -> PARAMS.
7057         * mbchar.h: Likewise.
7058         * mips-tdump.c: Likewise.
7059         * mips-tfile.c: Likewise.
7060         * optabs.c: Likewise.
7061         * output.h: Likewise.
7062         * prefix.c: Likewise.
7063         * profile.c: Likewise.
7064         * protoize.c: Likewise.
7065         * real.h: Likewise.
7066         * recog.c: Likewise.
7067         * recog.h: Likewise.
7068         * regclass.c: Likewise.
7069         * regmove.c: Likewise.
7070         * regs.h: Likewise.
7071
7072 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7073
7074         * ggc-common.c: PROTO -> PARAMS.
7075         * ggc-page.c: Likewise.
7076         * ggc-simple.c: Likewise.
7077         * ggc.h: Likewise.
7078         * global.c: Likewise.
7079         * graph.c: Likewise.
7080         * gthr-win32.h: Likewise.
7081         * haifa-sched.c: Likewise.
7082         * halfpic.h: Likewise.
7083         * integrate.c: Likewise.
7084         * integrate.h: Likewise.
7085         * jump.c: Likewise.
7086         * lcm.c: Likewise.
7087         * local-alloc.c: Likewise.
7088         * loop.c: Likewise.
7089         * loop.h: Likewise.
7090
7091 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7092
7093         * genattr.c: PROTO -> PARAMS.
7094         * genattrtab.c: Likewise.
7095         * gencheck.c: Likewise.
7096         * gencodes.c: Likewise.
7097         * genconfig.c: Likewise.
7098         * genemit.c: Likewise.
7099         * genextract.c: Likewise.
7100         * genflags.c: Likewise.
7101         * gengenrtl.c: Likewise.
7102         * genopinit.c: Likewise.
7103         * genoutput.c: Likewise.
7104         * genpeep.c: Likewise.
7105         * genrecog.c: Likewise.
7106
7107 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
7108
7109         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
7110
7111 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7112
7113         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
7114         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
7115         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
7116         * configure, config.in: Rebuilt.
7117
7118 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
7119
7120         * config/i386/i386.md: Add peephole to merge successive stack
7121         adjusts.
7122
7123 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
7124
7125         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
7126         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
7127         when walking backwards to find all the parameter loads when
7128         the basic block ends in a call.
7129
7130 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7131
7132         * loop.c (this_loop_info): Delete.
7133         (uid_loop): Add in place of uid_loop_num.  All uses updated.
7134         (loop_number_exit_count): Delete and replace with entry in loop
7135         structure.  All uses updated.
7136         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7137         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7138         (loop_outer_loop): Likewise.
7139         (loop_invalid, loop_number_exit_labels): Likewise.
7140         (loop_used_count_register): Delete and replace with entry in
7141         loop_info structure.
7142         (find_and_verify_loops): Add loops argument.
7143         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
7144         loop_end, etc. arguments with loop structure pointer.  All callers
7145         changed.
7146         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
7147         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
7148         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
7149         (insert_bct): Likewise.
7150         (basic_induction_var): New argument level.
7151         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
7152         vtop, and cont.  Add used_count_register.
7153         (uid_loop): Delete declaration.
7154         (loop_number_exit_count): Likewise.
7155         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7156         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7157         (loop_outer_loop, loop_used_count_register): Likewise.
7158         (loop_invalid, loop_number_exit_labels): Likewise.
7159         (unroll_loop): Replace loop_start and loop_end arguments
7160         with loop structure pointer.
7161         (loop_precondition_p, loop_iterations): Likewise.
7162         Include basic-block.h.
7163         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
7164         with loop structure pointer.
7165         (loop_precondition_p, loop_iterations): Likewise.
7166         * basic-block.h (struct loop): New entries vtop, cont,
7167         cont_dominator, start, end, top, scan_start, exit_labels,
7168         exit_count.
7169         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
7170
7171 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7172
7173         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
7174
7175 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
7176
7177         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
7178
7179 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7180
7181         * pdp11-protos.h: New file.
7182
7183         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
7184         time warnings.
7185
7186         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
7187         warnings.
7188
7189         * pdp11.md: Likewise.
7190
7191         * 2bsd.h: Likewise.
7192
7193 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7194
7195         * mn10300-protos.h: New file.
7196
7197         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7198         time warnings.
7199
7200         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
7201         warnings.
7202
7203         * mn10300.md: Likewise.
7204
7205 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7206
7207         * mn10200-protos.h: New file.
7208
7209         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
7210         time warnings.
7211
7212         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
7213         warnings.
7214
7215         * mn10200.md: Likewise.
7216
7217 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7218
7219         * h8300-protos.h: New file.
7220
7221         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7222         time warnings.
7223
7224         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
7225         warnings.
7226
7227         * h8300.md: Likewise.
7228
7229 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7230
7231         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
7232         (asm_emit_uninitialised): Likewise.
7233
7234 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
7235
7236         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
7237         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
7238
7239 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7240
7241         * config/mips/mips.c (override_options): Don't turn on extra
7242         alignment for mips16.
7243
7244 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7245
7246         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
7247         eabi, and make sure queued POSTINCREMENT rtl is emitted at
7248         the right point.
7249
7250 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7251
7252         * builtins.c (PAD_VARARGS_DOWN): Define.
7253         (std_expand_builtin_va_arg): Use the above macro.
7254         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
7255         * tm.texi (Register Arguments): Document the above macro.
7256
7257 2000-01-14  Nick Clifton  <nickc@cygnus.com>
7258
7259         * emit-rtl.c (emit_insn): If checking is enabled, make sure
7260         that this function has not been used to emit a jump
7261         instruction.
7262
7263         * jump.c (return_jump_1): Cope with being passed a null rtx.
7264
7265 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7266
7267         * eh-common.h: PROTO -> PARAMS.
7268         * emit-rtl.c: Likewise.
7269         * errors.c: Likewise.
7270         * errors.h: Likewise.
7271         * except.c: Likewise.
7272         * except.h: Likewise.
7273         * explow.c: Likewise.
7274         * expmed.c: Likewise.
7275         * expr.c: Likewise.
7276         * expr.h: Likewise.
7277         * final.c: Likewise.
7278         * fix-header.c: Likewise.
7279         * flow.c: Likewise.
7280         * fold-const.c: Likewise.
7281         * function.c: Likewise.
7282         * function.h: Likewise.
7283         * gcc.c: Likewise.
7284         * gcov-io.h: Likewise.
7285         * gcov.c: Likewise.
7286         * gcse.c: Likewise.
7287
7288 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7289
7290         * sh-protos.h: New file.
7291
7292         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
7293         Add static prototypes.  Fix compile time warnings.
7294
7295         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
7296         * sh.md: Likewise.
7297         * elf.h: Likewise.
7298
7299 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7300
7301         * arc-protos.h: New file.
7302
7303         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
7304         time warnings.
7305
7306         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
7307         warnings.
7308
7309         * arc.md: Likewise.
7310
7311 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7312
7313         * dsp16xx-protos.h: New file.
7314
7315         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
7316         time warnings.
7317
7318         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
7319         warnings.
7320
7321         * dsp16xx.md: Likewise.
7322
7323 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7324
7325         * convex-protos.h: New file.
7326
7327         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
7328         time warnings.
7329
7330         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
7331         warnings.
7332
7333 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7334
7335         * elxsi-protos.h: New file.
7336
7337         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
7338         time warnings.
7339
7340         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
7341         warnings.
7342
7343         * elxsi.md: Likewise.
7344
7345 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7346
7347         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
7348         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
7349         match the comment for MIPS16.
7350
7351 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
7352
7353         * flow.c (split_edge): Do not call set_block_for_insn if we
7354         do not have a basic_block_for_insn structure.
7355
7356         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
7357         and destination functions are 32bit aligned within the trampoline.
7358         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
7359         (TRAMPOLINE_ALIGNMENT): Define.
7360
7361         * cse.c (cse_insn): When changing (set (pc) (reg)) to
7362         (set (pc) (label_ref)), verify the change creates a valid insn.
7363
7364         * fr30.c (call_operand): Tighten and rework to match rules for
7365         call RTL expressions.
7366         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
7367         * fr30.md (call patterns): Improve constraints.
7368
7369 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
7370
7371         * fr30.c (fr30_expand_epilogue): Revert last change.
7372         Use emit_jump_insn for the return insn.
7373
7374 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
7375                           Stan Cox  <scox@cygnus.com>
7376
7377         * predict.c: New file. Preliminary infrastructure work for static
7378         branch prediction and basic block reordering.
7379         * basic-block.h: Add prototype for estimate_probability.
7380         * Makefile.in: Add rules for predict.o.
7381
7382 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
7383
7384         * fixincludes (va_list): Use __not_va_list__ for the dummy.
7385         * fixinc/*: Likewise.
7386
7387 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7388
7389         * cccp.c: PROTO -> PARAMS.
7390         * cexp.y: Likewise.
7391         * collect2.c: Likewise.
7392         * combine.c: Likewise.
7393         * convert.h: Likewise.
7394         * cse.c: Likewise.
7395         * dbxout.c: Likewise.
7396         * dbxout.h: Likewise.
7397         * diagnostic.c: Likewise.
7398         * doprint.c: Likewise.
7399         * dwarf2out.c: Likewise.
7400         * dwarf2out.h: Likewise.
7401         * dwarfout.c: Likewise.
7402         * dwarfout.h: Likewise.
7403         * dyn-string.h: Likewise.
7404
7405 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7406
7407         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
7408         macro conditionals guarding use.
7409
7410         * dwarf2out.c: Include "tm_p.h".
7411
7412         * function.c (locate_and_pad_parm): Mark parameter with
7413         ATTRIBUTE_UNUSED.
7414         (expand_function_end): Likewise for variable `context'.
7415
7416         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
7417
7418 2000-01-13  Nick Clifton  <nickc@cygnus.com>
7419
7420         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
7421         register to prevent compile time warnings.
7422
7423 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
7424
7425         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
7426         to avoid -Wtraditional warning.
7427
7428 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7429
7430         * 1750a-protos.h: New file.
7431
7432         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
7433         time warnings.
7434
7435         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
7436         warnings.
7437
7438         * 1750a.md: Likewise.
7439
7440 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7441
7442         * a29k-protos.h: New file.
7443
7444         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7445         time warnings.
7446
7447         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
7448         warnings.
7449
7450 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7451
7452         * clipper-protos.h: New file.
7453
7454         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
7455         time warnings.
7456
7457         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
7458         warnings.
7459
7460 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7461
7462         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
7463
7464 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
7465
7466         * configure.in (--enable-new-gxx-abi): New option.
7467         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
7468         * Makefile.in (GXX_ABI_FLAG): New variable.
7469         * configure: Regenerate.
7470
7471 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7472
7473         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
7474         * tm.texi (FORCE_STRUCT_BLK): Document.
7475         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
7476
7477 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
7478
7479         * config/ns32k/ns32k.md: Revert Jan 9 change.
7480
7481         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
7482         to a mode-test, if the predicate is address_operand.
7483
7484 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
7485
7486         * combine.c (if_then_else_cond): Be careful about what kinds
7487         of RTL expressions are passed to operand_subword.
7488
7489         * flow.c (split_edge): If we have to insert a new jump, make
7490         sure to associate it with a basic block.
7491
7492         * flow.c (commit_one_edge_insertion): A block with one successor
7493         can end in a JUMP_INSN that is not a simplejump.
7494
7495 2000-01-12  Robert Lipe  <robertl@sco.com>
7496
7497         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
7498         (BUILD_VA_LIST_TYPE): Define.
7499         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
7500         with crtstuff.c.
7501
7502 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
7503
7504         * cccp.c (do_pragma): Add cast to (char *).
7505
7506 2000-01-12  Richard Henderson  <rth@cygnus.com>
7507             Fred Fish  <fnf@be.com>
7508             Jason Merrill  <jason@cygnus.com>
7509
7510         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
7511         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
7512         * i386/beos-elf.h, i386/beos-pe.h: New files.
7513
7514         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
7515         * cross-make (SYSTEM_HEADER_DIR): Define using
7516         CROSS_SYSTEM_HEADER_DIR.
7517
7518         * gcc.c (LIBRARY_PATH_ENV): Provide default.
7519         (process_command): Use it.
7520         (main): Likewise.  Kill trailing = from env vars.
7521         (build_search_list): Put it back.
7522         * collect2.c (main): Use LIBRARY_PATH_ENV.
7523
7524         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
7525         * toplev.c: Use NEED_DECLARATION_ENVIRON.
7526
7527         * tm.texi (Frame Layout): Document SMALL_STACK.
7528         * c-common.c (c_common_nodes_and_builtins): Check it.
7529
7530         * system.h: Undef alloca after including glibc's <stdlib.h>,
7531         if USE_C_ALLOCA is defined.
7532
7533         * gcc.c (set_input): New fn.
7534         (main): After all input files are compiled, reset the input file
7535         info to the first.
7536
7537         * aclocal.m4 (rindex, index): If already defined, don't attempt
7538         to redefine.
7539
7540         * ginclude/varargs.h: (__va_list__): Define ifndef.
7541         * ginclude/stdarg.h: Likewise.
7542
7543         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
7544         instead of unsigned char.
7545
7546         * hash.h (true, false, boolean): Undef before enum.
7547
7548         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
7549         proper type of "HOST_WIDE_INT *", rather than their natural type of
7550         "unsigned HOST_WIDE_INT *".
7551
7552 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7553
7554         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
7555
7556         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
7557
7558         * regclass.c (choose_hard_reg_mode): Likewise.
7559
7560         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
7561
7562         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
7563
7564 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7565
7566         * c-common.c: PROTO -> PARAMS.
7567         * c-common.h: Likewise.
7568         * c-decl.c: Likewise.
7569         * c-iterate.c: Likewise.
7570         * c-lang.c: Likewise.
7571         * c-lex.c: Likewise.
7572         * c-lex.h: Likewise.
7573         * c-parse.in: Likewise.
7574         * c-pragma.c: Likewise.
7575         * c-pragma.h: Likewise.
7576         * c-tree.h: Likewise.
7577         * c-typeck.c: Likewise.
7578         * objc/objc-act.c: Likewise.
7579         * objc/objc-act.h: Likewise.
7580
7581 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7582
7583         * m88k-protos.h: New file.
7584
7585         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7586         time warnings.
7587
7588         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
7589
7590         * m88k.md: Likewise.
7591
7592         * tekXD88.h: Likewise.
7593
7594 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7595
7596         * m68k-protos.h: New file.
7597
7598         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7599         time warnings.
7600
7601         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
7602
7603         * mot3300.h: Likewise.
7604
7605 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
7606
7607         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
7608         extract_bitlst.
7609         (extract_bitlist): Declare bitlen.
7610
7611 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
7612
7613         * cccp.c: Accept and ignore -lang-fortran.
7614
7615         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
7616         qualifiers don't match at any level of pointerness.
7617
7618 2000-01-12  Robert Lipe  <robertl@sco.com>
7619
7620         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
7621
7622 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
7623
7624         * reload1.c (reload_reg_unavailable): New static variable.
7625         (reload_reg_free_p): Test it.
7626         (reload_reg_free_for_value_p): Test it instead of
7627         reload_reg_used.
7628         (choose_reload_regs_init): Compute it.
7629
7630 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
7631
7632         * reorg.c (fill_slots_from_thread): Check modified_in_p
7633         before replacing.
7634
7635 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
7636
7637         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
7638         these nodes even if INTERNALS is not set.
7639
7640 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
7641
7642         * gcse.c (delete_null_pointer_checks_1): Cope when
7643         get_condition cannot determine the condition.
7644
7645 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
7646
7647         * toplev.h (set_message_length): Declare.
7648
7649         * diagnostic.c (obstack_chunk_alloc): Define macro.
7650         (obstack_chunk_free): Likewise.
7651         (struct output_buffer): New data structure.
7652         (vmessage): Remove.
7653         (output_maximum_width): New variable.
7654         (doing_line_wrapping, set_message_length, init_output_buffer,
7655         get_output_prefix, output_space_left, emit_output_prefix,
7656         output_newline, output_append, output_puts, dump_output,
7657         vbuild_message_string, build_message_string, build_location_prefix,
7658         voutput_notice, output_printf, line_wrapper_printf,
7659         vline_wrapper_message_with_location):  New functions. Implement
7660         automatic line wrapping.
7661         (v_message_with_decl): Make it handle automatic line wrapping.
7662         (v_error_with_file_and_line): Likewise.
7663         (v_warning_with_file_and_line): Likewise.
7664         (announce_function): Likewise.
7665         (default_print_error_function): Likewise.
7666
7667 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
7668
7669         * cpplib.h (struct cpp_options): Change lang_asm to char.
7670         Add lang_fortran.
7671         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
7672         done in cpp_handle_option now.
7673         (initialize_builtins): Take out special case code used only by
7674         __STDC_VERSION__.
7675         (cpp_handle_option): Turn off trigraphs and trigraph warnings
7676         if -traditional.  Recognize -lang-fortran and set
7677         lang_fortran, also turn off cplusplus_comments.
7678         (print_help): Document -lang-fortran.
7679         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
7680         lang_asm. Ignore all directives other than `# 123 "file"' if
7681         CPP_PREPROCESSED.
7682         (cpp_get_token): If -traditional, don't recognize directives
7683         unless the # is in column 1.
7684         (parse_string): If lang_fortran or lang_asm, silently
7685         terminate strings ('' or "") at end of line.
7686         Remove unnecessary braces.
7687
7688 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7689             Richard Henderson  <rth@cygnus.com>
7690
7691         * resource.c (mark_referenced_resources): Mark a set strict_low_part
7692         as used.
7693         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
7694         strict_low_part when possible.
7695
7696 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7697
7698         * alias.c: PROTO -> PARAMS.
7699         * basic-block.h: Likewise.
7700         * bitmap.c: Likewise.
7701         * bitmap.h: Likewise.
7702         * builtins.c: Likewise.
7703         * c-aux-info.c: Likewise.
7704         * caller-save.c: Likewise.
7705         * calls.c: Likewise.
7706
7707 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7708
7709         * Makefile.in (toplev.o): Depend on regs.h.
7710
7711         * output.h (tdesc_section): Prototype.
7712
7713         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
7714
7715         * sdbout.c: Include "tm_p.h".
7716
7717         * toplev.c: Include "regs.h".
7718
7719 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
7720
7721         * unroll.c (unroll_loop): Add EH support.
7722
7723 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7724
7725         * pa-protos.h: New file.
7726
7727         * pa.c: Include recog.h and tm_p.h.
7728         (compute_zdepwi_operands, compute_movstrsi_length,
7729         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
7730         find_addr_reg, import_milli): Add static prototypes.
7731         (pa_cpu_string, pa_arch_string): Constify a char*.
7732         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
7733         (read_only_operand): Add argument `mode'.
7734         (singlemove_string, output_move_double, output_fp_move_double,
7735         output_block_move, output_and, output_ior, output_ascii,
7736         remove_useless_addtr_insns, milli_names, output_mul_insn,
7737         output_div_insn, output_mod_insn, output_arg_descriptor,
7738         output_cbranch, output_bb, output_bvb, output_dbra, ,
7739         output_millicode_call, output_call, hppa_encode_label,
7740         output_parallel_movb, output_parallel_addb): Constify a char*.
7741         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
7742         (output_parallel_addb): Remove extra arg to `constrain_operands'
7743
7744         * pa.h:  Move all prototypes to pa-protos.h.
7745         (pa_cpu_string, pa_arch_string): Constify a char*.
7746         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
7747
7748         * pa.md: Call `function_label_operand' with mode argument.
7749         Likewise for `read_only_operand'.
7750         Fix nesting of parens in call to `symbolic_operand'.
7751
7752 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7753
7754         * i860-protos.h: New file.
7755
7756         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
7757         time warnings.
7758
7759         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
7760
7761         * i860.md: Likewise.
7762
7763 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
7764
7765         * i386.md (movstrsi expander): Rewrite.
7766         (movstrsi_1 insn): Deleted.
7767         (strmovhi, strmovqi expander): New expanders.
7768         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
7769         * i386.c (x86_single_stringop): New global variable.
7770         * i386.h (x86_single_stringop): Declare.
7771         (TARGET_SINGLE_STRINGOP): New macro.
7772
7773 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
7774
7775         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
7776         integer vararg POSTINCREMENT before the destination of the jump
7777         for the hard fp case.
7778         (function_arg_pass_by_reference): Pass a copy of CUM to
7779         FUNCTION_ARG.
7780
7781         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
7782         for CONSTANT_ADDRESS_P above while loop for subreg.
7783
7784 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
7785
7786         * flow.c (propagate_block): When a prologue/epilogue insn
7787         is marked dead, unconditionally clear libcall_is_dead and
7788         insn_is_dead, and only dump rtl if warnings aren't being
7789         suppressed.
7790
7791 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
7792
7793         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
7794         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
7795         (FIXED_REGISTERS): Set dirflag as fixed.
7796         (CALL_USED_REGISTERS): Set dirflag as used.
7797         (REG_ALLOC_ORDER): Set dirflag as last one.
7798         (DIRFLAG_REG): New macro.
7799         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
7800         (HI_REGISTER_NAMES): Add dirflag.
7801         (DEBUF_PRINT_REG): Handle dirflag.
7802         * i386.md (type attribute): New cld and str types.
7803         (length_opcode attribute): Set cld and str to 1.
7804         (memory attribute): Set str to unknown - it is not clear from the
7805         patterns.
7806         (pent_np function unit): Prefixed string operations takes 12 cycles
7807         minimally; cld takes 2 cycles.
7808         (ppro_uops attribute): Str is "many" and cld is "few".
7809         (ppro_p0 unit): Handle cld here.
7810         (k6_alux unit): Handle cld and str types.
7811         (k6_load unit): It is ocupied by str opcodes.
7812         (k6_store unit): It is ocupied by str opcodes.
7813         (athlon_decode): Str is vector decoded.
7814         (athlon_ieu): Handle str and cld.
7815         (cld pattern): New.
7816         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
7817         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
7818         cmpstrsi_nz_1 insn): Do not output cld instruction
7819
7820 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
7821
7822         * gcc.texi (G++ and GCC): Add Java and Chill.
7823         (Bug Critera): Don't list languages.
7824
7825         * gcc.texi (Incompatibilities): No longer claim most C compilers
7826         are K&R.
7827
7828         * gcc.texi (G++ and GCC): Update other front-ends list.
7829
7830 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
7831
7832         * i386.c (ix86_expand_setcc): Fix typo.
7833         (ix86_expand_movcc): Similarly.
7834
7835         * Band-aid until haifa's bitset implementation is nuked.
7836         * haifa-sched.c (extract_bitlst): New parameter for size of the
7837         bitset in bits.  All callers changed.  Avoid looking at undefined
7838         bits in the bitset.
7839         (edgeset_bitsize): New variable.
7840         (schedule_region): Initialize edgeset_bitsize.
7841
7842 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7843
7844         * Makefile.in (optabs.o): Depend on real.h
7845         (resource.o): Depend on insn-attr.h
7846
7847         * builtins.c (result_vector): Wrap prototype in macro conditions
7848         governing definition and use.
7849
7850         * c-common.c: Include tm_p.h.
7851
7852         * c-lex.c: Likewise.
7853
7854         * elfos.h: Constify a char*.
7855
7856         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
7857         (get_attr_length, shorten_branches, profile_after_prologue): Mark
7858         parameter with ATTRIBUTE_UNUSED.
7859
7860         * fold-const.c (exact_real_inverse): Wrap variable `i' in
7861         CHECK_FLOAT_VALUE.
7862
7863         * haifa-sched.c (schedule_insns): Mark parameter with
7864         ATTRIBUTE_UNUSED.
7865
7866         * optabs.c: Include real.h.
7867
7868         * real.h (ereal_atof): Add prototype arguments.
7869
7870         * resource.c: Include insn-attr.h.
7871
7872         * sdbout.c (sdbout_queue_anonymous_type,
7873         sdbout_dequeue_anonymous_types): Wrap in macro
7874         SDB_ALLOW_FORWARD_REFERENCES.
7875         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
7876         ATTRIBUTE_UNUSED.
7877
7878         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
7879
7880         * stupid.c: Include tm_p.h.
7881
7882         * tree.c (real_value_from_int_cst): Mark parameter with
7883         ATTRIBUTE_UNUSED.
7884
7885 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7886
7887         * i960-protos.h: New file.
7888
7889         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
7890         time warnings.
7891
7892         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
7893
7894 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7895
7896         * combine.c (expand_field_assignment): Do not discard SUBREGs
7897         while computing nonzero_bits.
7898
7899 2000-01-09  Nick Clifton  <nickc@cygnus.com>
7900
7901         * config/arm/arm.c: Fix compile time warnings about signed vs
7902         unsigned constants.
7903         * config/arm/arm.h: Fix compile time warnings about signed vs
7904         unsigned constants.
7905
7906 2000-01-09  Philip Blundell  <philb@gnu.org>
7907
7908         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
7909         than `ldm' with only one register.
7910         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
7911         only one register.
7912
7913         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
7914         clobbered.
7915
7916 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
7917
7918         * config/ns32k/ns32k.md (load or push effective address): Operand 1
7919         must have SImode.
7920
7921 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7922
7923         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
7924         assignment used as truth value.
7925
7926         * function.c (assign_temp): Mark parameter `dont_promote' with
7927         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
7928         PROMOTE_FOR_CALL_ONLY.
7929
7930         * genrecog.c (write_subroutine): Mark variable `operands' with
7931         ATTRIBUTE_UNUSED.
7932
7933         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
7934         ATTRIBUTE_UNUSED.
7935
7936         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
7937         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
7938
7939         * toplev.c (note_deferral_of_defined_inline_function): Likewise
7940         for `decl'.
7941
7942 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7943
7944         * config/c4x.h: Tidy up comments.
7945         * config/c4x.c: Likewise.
7946
7947 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
7948
7949         * fold-const.c (lshift_double, rshift_double): Handle
7950         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
7951
7952 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7953
7954         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
7955         in prepare_function_start().
7956
7957 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
7958
7959         * config/v850/v850.c (expand_epilogue): Interrupt functions no
7960         longer allocate extra stack for function calls.
7961
7962 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7963
7964         * config/c4x/c4x.md (*subqf3_set): Fix typo.
7965
7966 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7967
7968         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
7969
7970 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
7971
7972         * rs6000.c (processor_target_table): Add power3 as alias for 630.
7973         * aix43.h: Revert Aug 2 change.
7974         (HAS_INIT_SECTION): Define, not visible yet.
7975         (LD_INIT_SWITCH): Define, not visible yet.
7976         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
7977
7978         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
7979
7980         * collect2.c (main): Expand ld2 size further.
7981         (export_object_lst): Cast assignment to avoid warning.
7982         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
7983         (scan_prog_file, COFF): Do not collect initialization or
7984         finalization functions generated for entire shared object if
7985         init/fini support present.
7986
7987 2000-01-07  Nick Clifton  <nickc@cygnus.com>
7988
7989         * config/elfos.h: Tidy up formatting of marcos.  Make sure
7990         that .section directives are always prefixed by a tab.
7991
7992         * config/svr4.h: Add #include "elfos.h" and remove duplicate
7993         definitions.
7994
7995 2000-01-07  Matt Austern  <austern@sgi.com>
7996
7997         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
7998         expon.
7999
8000 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
8001
8002         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
8003         crtstuff.c.
8004         (crtbegin.o, s-crtS): Likewise.
8005
8006 2000-01-06  Richard Henderson  <rth@cygnus.com>
8007
8008         * alpha.md (adddi_2+1): Limit offset such that it will be
8009         loadable with a single ldah+lda pair.
8010         (adddi_2+2): Explicitly fail split if we can't make it work.
8011
8012 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
8013
8014         * protoize.c: Conditionally include unistd.h.
8015         (IS_SAME_PATH_CHAR): New macro.
8016         (IS_SAME_PATH): New macro.
8017         (CPLUS_FILE_SUFFIX): New macro.
8018         (cplus_suffix): New static variable.
8019         (is_abspath): New static function.
8020         (in_system_include_dir): Handle DOS style pathnames.
8021         (file_could_be_converted): Likewise.
8022         (file_normally_convertible): Likewise.
8023         (directory_specified_p): Likewise.
8024         (file_excluded_p): Likewise.
8025         (abspath): Likewise.
8026         (shortpath): Likewise.
8027         (referenced_file_is_newer): Likewise.
8028         (save_def_or_dec): Likewise.
8029         (do_processing): Likewise.
8030         (main): Likewise.
8031         (edit_file): Likewise. Use rename instead of link.
8032         (rename_c_file): Likewise. Don't rename syscalls file.
8033         (munge_compile_params): Define null device for DOS based systems.
8034         (process_aux_info_file): Use binary mode if appliable.
8035         (edit_file): Likewise.
8036         * invoke.texi (Running Protoize): Document C++ suffixes used.
8037
8038         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
8039         IS_DIR_SEPARATOR macros.
8040         * collect2.c: Likewise.
8041         * cppinit.c: Likewise.
8042         * dwarf2out.c: Likewise.
8043         * gcc.c: Likewise.
8044         * gcov.c: Likewise.
8045         * prefix.c: Likewise.
8046         * rtl.c: Likewise.
8047         * toplev.c: Likewise.
8048         * system.h: And move to here.
8049
8050         * prefix.c (update_path): Fix typo in variable name.
8051
8052 2000-01-06  Richard Henderson  <rth@cygnus.com>
8053
8054         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
8055         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
8056         (count_reg_sets_1, count_reg_references): Likewise.
8057         (flow_loops_level_compute): Start counting actual loop depth at 1.
8058         (flow_loops_find): Likewise.
8059         * local-alloc.c (update_equiv_regs): Likewise.
8060         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
8061
8062 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
8063
8064         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
8065         FIRST_PSEUDO_REGISTER
8066         * dwarf2out.c: Don't include frame.h
8067         * dwarfout.c: Likewise
8068         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
8069         frame.h
8070
8071 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
8072
8073         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8074         dead registers.
8075
8076         * i386.c (movsf splitter): Fix typo in my last checkin.
8077
8078 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8079
8080         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
8081         own definition of this macro.
8082         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
8083         flag_data_sections or UNIQUE_SECTION_P are true.
8084
8085         * tm.texi (UNIQUE_SECTION): Document that it can be called for
8086         unitialised data decls.
8087
8088         * config/i386/winnt.c (i386_pe_unique_section): Cope with
8089         being called for uninitialised data.
8090
8091         * config/i386/interix.c (i386_pe_unique_section): Cope with
8092         being called for uninitialised data.
8093
8094         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
8095         for uninitialised data.
8096
8097         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
8098         for uninitialised data.
8099
8100         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
8101         for uninitialised data.
8102
8103         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
8104         (UNIQUE_SECTION_P): Always generate a unique section if
8105         flag_data_sections is true.
8106         (UNIQUE_SECTION): Also generate unique sections for
8107         uninitialised data.
8108         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
8109         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
8110         named_section().
8111
8112 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8113
8114         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
8115         SI, or DI.
8116
8117 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8118
8119         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
8120         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
8121         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
8122         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
8123         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
8124
8125         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
8126
8127 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
8128
8129         * c-decl.c (finish_enum): Simplify code to determine minimum and
8130         maximum values of the enum, and calculate the type.  Remove check
8131         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
8132         the DECL_INITIAL of each enumeration constant with a copy converted
8133         to the enumeration type.  When updating variant types, don't bother
8134         updating the type itself.
8135
8136         * c-typeck.c (build_binary_op): Simplify conditional expressions
8137         when weeding out spurious signed-unsigned warnings.  Add new
8138         spurious warning category: if the unsigned quantity is an enum
8139         and its maximum value fits in signed_type(result_type).  Update
8140         commentary.
8141         (build_conditional_expr): Warn here if one alternative is signed
8142         and the other is unsigned.
8143
8144 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8145
8146         * config/fr30/fr30.h: Remove extraneous comments.
8147
8148 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
8149
8150         * reload1.c (choose_reload_regs): When disabling a reload, also
8151         set reload_spill_index to -1.
8152
8153 2000-01-04  Joel Sherrill (joel@OARcorp.com>
8154
8155         * configure.in (m68*-*-rtemscoff*): New target, formal name for
8156         old m68*-*-rtems*.
8157         (m68*-*-rtemself*): New target.
8158         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
8159         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
8160         (sparc*-*-rtemself*): New target.
8161         (sparc*-*-rtems*): Now elf not a.out.
8162         * config/i386/rtems.h: Include config/rtems.h.
8163         * config/i386/rtemself.h: Include config/rtems.h.
8164         * config/i960/rtems.h: Include config/rtems.h.
8165         * config/m68k/rtems.h: Include config/rtems.h.
8166         * config/m68k/rtemself.h: Include config/rtems.h.
8167         * config/mips/rtems64.h: Include config/rtems.h.
8168         * config/pa/rtems.h: Include config/rtems.h.
8169         * config/rs6000/rtems.h: Include config/rtems.h.
8170         * config/sh/rtems.h: Include config/rtems.h.
8171         * config/sh/rtemself.h: Include config/rtems.h.
8172         * config/sparc/rtems.h: Include config/rtems.h.
8173         * config/sparc/rtemself.h: Include config/rtems.h
8174
8175 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
8176
8177         * final.c (shorten_branches): Correctly compute length of
8178         asms without operands.
8179
8180 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
8181
8182         * configure.in: Add pj target.
8183         * configure: Regenerate.
8184         * config/pj: New directory.
8185         * config/pj/lib1funcs.S: New file.
8186         * config/pj/linux.h: New file.
8187         * config/pj/pj.c: New file.
8188         * config/pj/pj.md: New file.
8189         * config/pj/pjl.h: New file.
8190         * config/pj/t-pj: New file.
8191         * config/pj/xm-pj.h: New file
8192
8193 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
8194
8195         * toplev.c (rest_of_compilation): Run shorten-branches before
8196         reg-stack for now.
8197
8198 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8199
8200         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
8201         macros so that they're consistent with their names.
8202         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8203         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8204
8205 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8206
8207         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
8208         modified inadvertently.
8209
8210 2000-01-04  Joel Sherrill <joel@OARcorp.com>
8211
8212         * configure.in (v850*-*-rtems*): New target.
8213         * configure: Regenerate.
8214         * config/v850/rtems.h: New file.
8215
8216 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
8217
8218         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
8219         (__gthread_key_create): Likewise.
8220         (__gthread_key_dtor):  Likewise.
8221         (__gthread_once): Fix logic.
8222         (__gthread_key_delete): Cast away constness.
8223
8224         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
8225         * invoke.texi: Document.
8226         * i386/mingw32.h (CPP_SPEC): Use.
8227         (LIBGCC_SPEC): Likewise.
8228         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
8229
8230 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8231
8232         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
8233         (HANDLE_PRAGMA_PACK): Undefine.
8234         (SLOW_UNALIGNED_ACCESS): Define.
8235
8236 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8237
8238         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8239         to default definition.
8240         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
8241         (store_fixed_bit_field): Call macro with word_mode and alignment.
8242         (extract_bit_field): Call macro with relevant mode and alignment.
8243         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8244         to default definition.
8245         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
8246         and alignment.
8247         (move_by_pieces_ninsns): Likewise.
8248         (clear_by_pieces): Likewise.
8249         (emit_push_insn): Likewise.
8250         (store_field): Call macro with relevant mode and alignment.
8251         (expand_expr): Likewise.
8252         (expand_expr_unaligned): Likewise.
8253
8254         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
8255         (SLOW_UNALIGNED_ACCESS): Define.
8256         (CASE_VECTOR_MODE): Always use 32-bit offsets.
8257         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
8258         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
8259         (toc_section): Likewise and .toc pseudo-op.
8260         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
8261         64-bit mode.
8262         (TEXT_SECTION_ASM_OP): Likewise.
8263         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
8264         32-bit offsets.
8265
8266         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
8267         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
8268         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
8269         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
8270         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
8271
8272 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
8273
8274         * regclass.c: Revert my Jan 4 change to loop cost computation.
8275
8276 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8277
8278         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
8279         compilation.
8280
8281 2000-01-04  Stan Cox  <scox@cygnus.com>
8282
8283         * haifa-sched.c (build_control_flow): Change unreachable simple
8284         loop test to check if current block has only one predecessor.
8285         (find_rgns): Initialize degree.  Use dest as degree index, not src.
8286
8287 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8288
8289         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
8290
8291         * calls.c (expand_call): Likewise for
8292         `old_stack_arg_under_construction'.
8293
8294         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
8295
8296         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
8297         `save_constant'.
8298
8299         * gcc.c (execute): Likewise for `ut' and `st'.
8300
8301         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
8302
8303         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
8304
8305         * jump.c (jump_optimize_1): Likewise for `temp2'.
8306
8307         * local-alloc.c (block_alloc): Likewise for `r1'.
8308
8309         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
8310
8311         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
8312         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
8313
8314         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
8315         and `set2'.
8316
8317         * reload.c (find_reloads): Likewise for `goal_alternative_number'
8318         and `goal_earlyclobber'.
8319
8320         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
8321
8322         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
8323
8324         * stupid.c (stupid_life_analysis): Likewise for `chain'.
8325
8326         * unroll.c (copy_loop_body): Likewise for `copy'.
8327
8328         * varasm.c (output_constructor): Likewise for `byte'.
8329
8330 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8331
8332         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
8333         all FP constants for constant->reg moves.
8334         (ix86_split_to_parts): Try to convert memory address into immediate
8335         when available in the constant pool.
8336         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
8337         moves.
8338         (LEGITIMATE_CONSTANT_P): Return 1.
8339         * i386.md (pushsf): New splitter to convert constant pool memory
8340         reference to immediate.
8341         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
8342         reload.
8343
8344 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
8345
8346         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
8347         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
8348         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
8349         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
8350         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
8351
8352 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
8353
8354         * ginclude/stdbool.h:  Support compilation as C++.
8355
8356 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8357
8358         * fold-const.c (make_range): Don't try to reverse an unbounded range.
8359
8360 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
8361
8362         * regclass.c (regclass): Properly compute loop_cost.  Adjust
8363         comments.
8364
8365         * regclass.c: Fix minor whitespace problems.
8366
8367 2000-01-03  Anthony Green  <green@cygnus.com>
8368
8369         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
8370         Restore the pic register if required.
8371
8372 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
8373
8374         * c-common.c (format_char_info): Update comment.
8375         (check_format_info): Recognize 'z' modifier in the same way 'Z'
8376         was recognized.  Emit warning for formats new in ISO C99 only
8377         if flag_isoc9x is not set.
8378
8379 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
8380
8381         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
8382
8383 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8384
8385         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
8386         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
8387         (make_compound_operation): Choose cheaper alternative between
8388         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
8389
8390         * regclass.c (op_costs): Remove global variable.
8391         (record_reg_classes): New parameter "op_costs" and "reg_pref".
8392         (record_operand_costs): Break out from ...
8393         (scan_one_insn): ... here.
8394         (dump_regclass): Make dumps nicer.
8395         (regclass): Dump preferrences choosed and changes done during passes.
8396
8397 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
8398
8399         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
8400
8401 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
8402
8403         * config/sparc/sparc.c (gen_df_reg): New function.
8404         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
8405         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
8406         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
8407         movtf_cc_reg_sp64+1): Use it.
8408
8409 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
8410
8411         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
8412         copied LABEL_DECLs.
8413
8414 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8415
8416         * config/i386/i386.c (ix86_expand_unary_operator): Function
8417         definition made void.
8418         (ix86_expand_binary_operator): Update outdated preceding comment.
8419         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
8420         prototype.
8421
8422         * config/i386/i386.c (override_options): Fix option-name typo.
8423
8424 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
8425
8426         * system.h (CEIL): Define.
8427         * builtins.c (CEIL): Remove.
8428         * expmed.c (CEIL): Likewise.
8429         * expr.c (CEIL): Likewise.
8430         * stor-layout.c (CEIL): Likewise.
8431
8432 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8433
8434         * expr.c (store_constructor_field): Fix typo introduced with last
8435         gcc2 merge.
8436
8437 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
8438
8439         * tree.h (BINFO_N_BASETYPES): New macro.
8440
8441 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
8442
8443         * expmed.c (emit_store_flag): Prevent losing a pending stack
8444         adjust the same way we prevent losing queued increments.
8445
8446 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8447
8448         * function.c (update_temp_slot_address): Handle case where sum of
8449         temporary address plus offset in register is a valid address.
8450
8451 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
8452
8453         * genrecog.c (change_state) Corrected typo.
8454
8455 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8456
8457         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
8458         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
8459         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
8460
8461 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
8462
8463         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
8464         case, expand GT comparisons correctly.  Fix a comment before this
8465         part of the code.
8466
8467 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
8468
8469         * dwarfout.c: Include "frame.h"
8470         * dwarf2out.c: Likewise.
8471         * Makefile.in (dwarfout.o): Depend on frame.h
8472         (dwarf2out.o): Likewise.
8473
8474 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
8475
8476         Restore i386 binary compatibility in Dwarf EH info.
8477         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
8478         value of FIRST_PSEUDO_REGISTER.
8479         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
8480         (struct frame_state): Use DWARF_FRAME_REGISTERS.
8481         * dwarfout.c (output_reg_number): Ditto.
8482         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
8483         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
8484
8485 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
8486
8487         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
8488         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
8489         (<hack>_RE_CT): not needed
8490         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
8491         rewritten to scan the file text once only
8492         "template<..." test added
8493         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
8494         (is_cxx_header): declaration added
8495         * fixinc/fixtests.c(is_cxx_header): removed
8496         (apply_fix_p_t): removed
8497         (double_slash_test): is_cxx_header is only called once now
8498         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
8499         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
8500         within the templates.
8501         The borken spelling of "broken" was fixed.
8502         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
8503         The default level depends on FIXINC_DEBUG.
8504
8505 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8506
8507         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
8508         Otherwise provide a declaration for atexit.
8509         (init_dummy): Make sure dummy call to atexit is nevertheless
8510         called with correct number of args.
8511
8512         * frame.c: Update comments referring to other files.
8513
8514         * libgcc2.c: Likewise.
8515
8516 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8517
8518         * cse.c (free_element, get_element): Remove unused prototypes.
8519
8520         * fold-const.c (extract_muldiv): Initialize variables `op0' and
8521         `op1'.
8522
8523         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
8524         `else' clauses.
8525
8526 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
8527
8528         * configure.in,configure: case arm for mn10200-*-* now sets
8529         float_format=i32 so that float.h will correctly claim "double"
8530         to be 32 bits. Ran autoconf to generate configure from .in file.
8531
8532 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
8533
8534         * pa.md (conditional zero): If op1 is a register, force it into
8535         the same register as op0.
8536
8537 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
8538
8539         * tree.h (BINFO_BASETYPES): Improve documentation.
8540
8541 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8542
8543         * configure.in (--enable-checking): Use a more portable `for'
8544         loop syntax.
8545
8546 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8547
8548         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
8549         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
8550
8551         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
8552         Delete files.
8553
8554         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
8555         Delete descriptions.
8556
8557         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
8558         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
8559         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
8560         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
8561         xm-svr4.h: Remove all instances of sys_siglist handling.
8562
8563 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
8564
8565         * config/sparc/sparc.md (cmp_zero_qi,
8566         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
8567         cmp_zero_extendqidi2_andcc_set): New patterns.
8568
8569 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
8570
8571         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
8572         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
8573         (fpgnulib.c, xfgnulib.c): Add rules.
8574         * m68k/t-mot3300-gas: Likewise.
8575
8576 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
8577
8578         * configure.in: Avoid [[ by using test and changequote.  Add
8579         changequote required by 1999-12-14 change.
8580         * configure: Rebuild.
8581
8582 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
8583
8584         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
8585
8586 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
8587
8588         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
8589         * flow.c (find_use_as_address): Likewise.
8590         * function.c (fixup_var_refs_1): Likewise.
8591         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
8592         * jump.c (invert_exp, redirect_exp): Likewise.
8593         * loop.c (replace_call_address): Likewise.
8594         (count_nonfixed_reads): Likewise.
8595         * rtlanal.c (modified_between_p): Likewise.
8596         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
8597         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
8598         * unroll.c (remap_split_bivs): Likewise.
8599
8600 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8601
8602         * diagnostic.c (v_message_with_decl): Use .* format specifier
8603         instead of building the format specifier width manually.
8604
8605         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
8606         determining whether to provide a prototype.  Remove the
8607         sys_siglist clause in the conditional.
8608
8609 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8610
8611         * fold-const.c (operand_equal_p): Use memcmp to compare string
8612         constants.
8613         Suggested by D. J. Bernstein
8614
8615 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
8616
8617         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
8618         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
8619         compiling libgcc2.
8620         * config/mips/mips.h (TARGET_64BIT): Likewise.
8621         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
8622         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
8623         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
8624         dsps.  Give routines proper names if SI/DI modes are not used.
8625         * longlong.h: Use DWunion instead of DIunion.
8626
8627 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
8628
8629         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
8630         GC_CHECKING, GC_ALWAYS_COLLECT.
8631         * configure.in: Allow --enable-checking with an argument
8632         listing check modes to enable.
8633         * config.in, configure: Rebuilt.
8634         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
8635         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
8636         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
8637         ENABLE_GC_ALWAYS_COLLECT.
8638         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
8639         throughout.
8640         * tree.h, tree.c: Change ENABLE_CHECKING to
8641         ENABLE_TREE_CHECKING throughout.
8642
8643 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8644
8645         * fold-const.c (fold_truthop): Properly check for FP RHS.
8646
8647 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
8648
8649         * toplev.h (note_deferall_of_defined_inline_function): Declare.
8650         * toplev.c (note_deferral_of_defined_inline_function): New
8651         function, split out from ...
8652         (rest_of_compilation): ... here.  Use it.
8653
8654 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8655
8656         * expr.c (store_constructor): Don't call clear_storage if size is
8657         variable.
8658
8659 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8660
8661         * Makefile.in (toplev.o): Depend on loop.h.
8662
8663         * dwarfout.c: Include tm_p.h.
8664
8665         * emit-rtl.c (restore_emit_status): Mark parameter with
8666         ATTRIBUTE_UNUSED.
8667
8668         * final.c (final_scan_insn): Likewise.
8669
8670         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
8671         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
8672         flow_depth_first_order_compute, flow_loop_pre_header_find,
8673         flow_loop_tree_node_add, flow_loops_tree_build,
8674         flow_loop_level_compute, flow_loops_level_compute,
8675         flow_loop_outside_edge_p): Add prototypes.
8676         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
8677
8678         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
8679         Mark with ATTRIBUTE_NORETURN.
8680
8681         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
8682
8683         * local-alloc.c (no_conflict_p): Likewise.
8684
8685         * loop.c (insert_bct): Hide definitions of variables with hidden
8686         usage.
8687         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
8688
8689         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
8690         with ATTRIBUTE_UNUSED.
8691         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
8692         (reg_scan): Likewise.
8693
8694         * reload.c (find_reloads): Remove unused variables `changed'.
8695
8696         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
8697         away const-ness.
8698         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
8699         Remove unused variable `insn'.
8700
8701         * toplev.c: Include loop.h.
8702         (report_file_and_line): Remove unnecessary prototype.
8703
8704         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
8705
8706         * unroll.c (biv_total_increment): Likewise.
8707
8708 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8709
8710         * reload1.c (emit_input_reload_insns): Restore old behaviour
8711         wrt. 'special' reloads.
8712
8713 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
8714
8715         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
8716         hash.h.  (cse.c): Don't depend on hashtab.h.
8717
8718         * cse.c: Don't include hashtab.h.
8719         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
8720         of dead functions.
8721         * ggc-simple.c: Don't include hash.h.
8722
8723 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
8724
8725         * dwarf2out.c (add_abstract_origin_attribute): Call
8726         gen_abstract_function on our function context.
8727
8728 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
8729
8730         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
8731
8732 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8733
8734         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
8735         case in switch.
8736
8737 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8738
8739         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
8740         constraints to "a!r".
8741
8742 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
8743
8744         * Makefile.in (calls.o): Depend on function.h.
8745         (alias.o): Likewise.
8746
8747 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
8748
8749         * reload1.c (emit_reload_insns): Break out code and variables into...
8750         (input_reload_insns, other_input_address_reload_insns,
8751         other_input_reload_insns, input_address_reload_insns,
8752         inpaddr_address_reload_insns, output_reload_insns,
8753         output_address_reload_insns, outaddr_address_reload_insns,
8754         operand_reload_insns, other_operand_reload_insns,
8755         other_output_reload_insns): ... new static variables, and...
8756         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
8757         do_output_reload): ... new functions.
8758
8759 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8760
8761         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
8762
8763 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8764
8765         * md.texi: Add c4x constraints documentation.
8766
8767 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8768
8769         * config/i386/dgux.c (struct option): Rename to
8770         lang_independent_option.
8771         (struct m_options): Add description field.
8772         (output_options): Rename option type, add sep declaration, output
8773         ix86_cpu_string and ix86_arch_string only if set.
8774         (output_file_start): Rename option type.
8775
8776 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
8777
8778         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
8779         stmp-int-hdrs.
8780         (libgcc2.a): Similarly.
8781
8782 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
8783
8784         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
8785         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
8786         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
8787
8788 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
8789
8790         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
8791         Remove redundant initialization of "frexpon" and "expon".
8792
8793 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8794
8795         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
8796
8797         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
8798         (store_constructor_field, expand_expr): Pass new arg.
8799
8800 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
8801
8802         * Makefile.in (explow.o): Depend on function.h.
8803
8804         * stor-layout.c (set_sizetype): Fix typo.
8805
8806 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
8807
8808         * function.c (cfun): Renamed from current_function.  All users
8809         changed.
8810         * function.h (cfun): Rename declaration as well.
8811
8812         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
8813         to be of type regset_head, not regset.  All users changed by adding
8814         address operator.
8815         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
8816
8817 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8818
8819         * config/c4x/rtems.h: New file.
8820
8821 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
8822
8823         * reload1.c (spill_failure): Take class of failed reload as argument
8824         and print it.  Caller changed.
8825
8826 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8827
8828         * rs6000.h (SUBTARGET_DEFAULT): New macro.
8829         (TARGET_SWITCHES): Allow subtargets to default switches.
8830         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
8831
8832 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
8833
8834         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
8835         in a main program.
8836
8837 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
8838
8839         * cccp.c (main): Define __STDC_VERSION__ as necessary.
8840         * cppinit.c (cpp_handle_option): Likewise.
8841
8842         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
8843         determine when to define.
8844
8845 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
8846
8847         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
8848         cmove with mismatched test and data modes.
8849
8850 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
8851
8852         * c-typeck.c (c_expand_start_case): Don't warn for long switch
8853         in system headers.
8854
8855 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8856
8857         * alias.c: Minor reformatting.
8858         * flow.c: Likewise.
8859         * regs.h: Likewise.
8860         * stor-layout.c: Likewise.
8861         * fold-const.c: Likewise.
8862         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
8863         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
8864         not arg itself.
8865         (size_int_wide): Cache nodes even if garbage collecting.
8866         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
8867         of SAVE_EXPR has no side effects.
8868         * cse.c: Move a comment.
8869         * tree.c: Minor reformatting.
8870         (int_size_in_bytes): Return -1 if constant overflows.
8871
8872 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8873
8874         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
8875
8876 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
8877
8878         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
8879         after any change to c-parse.in, even if objc-parse.y didn't
8880         change.  Oops.
8881
8882 1999-12-18  David S. Miller  <davem@redhat.com>
8883
8884         * toplev.c (rest_of_compilation): Restore BLOCK tree
8885         reconstruction and branch shortening changes lost in
8886         December 18th change.
8887
8888 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
8889
8890         * config/arm/linux-elf.h: Change all instances of
8891         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
8892         * config/arm/uclinux-elf.h: Likewise.
8893
8894 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
8895
8896         * toplev.c (notice, vmessage, v_message_with_file_and_line,
8897         v_message_with_decl, file_and_line_for_asm,
8898         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
8899         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
8900         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
8901         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
8902         pfatal_with_name, fatal_io_error, need_error_newline,
8903         last_error_function, last_error_tick, announce_function,
8904         default_print_error_function, print_error_function,
8905         report_error_function, fnotice, error_with_file_and_line,
8906         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
8907         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
8908         warning_with_decl, warning_for_asm, warning, pedwarn,
8909         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
8910         diagnostic.c
8911         (compile_file): Use fnotice instead of notice.  Adjust call.
8912
8913         * diagnostic.c: New file.
8914
8915         * Makefile.in (OBJS): Include diagnostic.o
8916         (diagnostic.o): Define dependence.
8917
8918 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8919
8920         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
8921         Tweak formatting.
8922
8923 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8924
8925         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
8926
8927 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
8928
8929         * fixtests.c (is_cxx_header): New fn, split out of
8930         double_slash_test.
8931         (else_endif_label): Allow "#endif // comment" in C++ headers,
8932         as determined by is_cxx_header.
8933         * fixfixes.c (else_endif_label_fix): Update comment.
8934         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
8935         a tty.
8936         * genfixes: Correct double thinko in commandline parsing.
8937         * hackshell.tpl: Generate correct sh syntax for bypass
8938         entries.
8939
8940         * inclhack.def (all): Whenever an inserted preprocessor
8941         conditional is split over multiple lines, use double
8942         backslashes in this file so the fixed header will be readable.
8943
8944         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
8945         and add bypass entry for correct version of this header.
8946         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
8947         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
8948
8949         (hpux8_bogus_inlines): New fix, split from...
8950         (ultrix_atof_param) ... here.
8951         (math_expression): Add bypass entry keyed to glibc comment
8952         indicating the problem has been dealt with; disable
8953         unnecessary sed operations; update commentary.
8954         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
8955         add select and bypass entries, simplify shell operation.
8956         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
8957
8958         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
8959          ultrix_atof_param): Add select entry.
8960         (stdio_va_list, sunos_mather_decl): Add bypass entry.
8961         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
8962         comments with the fixes they describe.
8963
8964         * c-parse.in (string action): Do not warn about ANSI string
8965         concatenation in system headers.  Affects C parser only.
8966         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
8967
8968 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
8969
8970         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
8971         compiling libgcc2 the macro depends always on arch cpp defines.
8972
8973 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
8974
8975         * loop.c (insert_loop_mem): Don't record MEMs from inside
8976         EXPR_LISTs.
8977
8978 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
8979
8980         * regclass.c (regclass): Do not use flowgraph when not optimizing.
8981
8982         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
8983         notes too, create one when replacement failed, attempt to simplify
8984         resulting notes.
8985         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
8986         or REG_EQUIV notes.
8987
8988 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
8989
8990         * crtstuff.c (__dso_handle): Declare.
8991         (__cxa_finalize): Likewise.
8992         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
8993         non-NULL.
8994
8995         * invoke.texi: Document -fuse-cxa-atexit.
8996
8997         * tree.h (ptr_type_node): Document.
8998         (const_ptr_type_node): Likewise.
8999
9000 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9001
9002         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
9003         (optimize_reg_copy_2): Likewise.
9004         (optimize_reg_copy_3): Likewise.
9005         (fixup_match_2): Likewise.
9006         (regmove_optimize): Likewise.
9007         (fixup_match_1): Liekwise.
9008
9009         * i386.md (HI to SImode promoting splitters): Rewrite.
9010         (pushsf mem peep2): New.
9011         (testhi to andhi peep2): Remove.
9012         * i386.h (x86_promote_QImode): New.
9013         (TARGET_PROMOTE_QImode): New.
9014         (PREDICATE_CODES): Add promotable_binary_operator.
9015         * i386.c (x86_promote_QImode0: New.
9016         (promotable_binary_operator): New.
9017         * i386-protos.h (promotable_binary_operator): New.
9018
9019         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
9020         condition.
9021         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
9022
9023 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9024
9025         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
9026         * function.c (insert_block_after_note): Remove.
9027         (retrofit_block): Likewise.
9028         (identify_blocks): Fix indentation.
9029         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
9030         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
9031         * function.h (insert_block_after_note): Remove prototype.
9032         (retrofit_block): Likewise.
9033         * integrate.c (expand_inline_function): Don't call
9034         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
9035         just expand_start_bindings.  Use the block_map to remap old
9036         NOTE_BLOCKs to new ones.
9037         (integrate_decl_tree): Keep track of remapped blocks.
9038         * integrate.h (struct inline_remap): Add block_map.
9039         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
9040         NOTE_BLOCK on the notes.
9041         (expand_start_bindings): Rename to ...
9042         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
9043         (expand_end_bindings): Set NOTE_BLOCK.
9044         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
9045         reconstruct the BLOCK tree.
9046         * tree.h (expand_start_bindings): Macroize.  Call ...
9047         (expand_start_bindings_and_block): New function.
9048
9049 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9050
9051         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
9052         to match the format.
9053
9054 1999-12-16  David S. Miller  <davem@redhat.com>
9055
9056         * expr.c (emit_move_insn_1): Only emit clobbers if one of
9057         the outputs is a SUBREG.
9058         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
9059         change.
9060
9061         * config/sparc/sparc.c (epilogue_renumber): Add default case
9062         to switch stmt.
9063
9064 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9065
9066         * toplev.c (rest_of_compilation): Run branch shortening after
9067         reg-stack.
9068
9069         * regclass.c (loop_depth): Remove
9070         (scan_one_insn): Do not handle LOOP_NOTE insns.
9071         (regclass): Go through basic blocks and set loop_cost
9072
9073 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
9074
9075         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
9076
9077 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9078
9079         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
9080         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
9081         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
9082
9083 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
9084
9085         * loop.c (insert_loop_mem): Ignore memory clobbers.
9086
9087         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
9088         to (OP A B).
9089
9090 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
9091
9092         * profile.c: Remove redundant #include "output.h".
9093
9094         * h8300.md (HImode preinc peephole): Fix typo.
9095
9096 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9097
9098         * function.c (retrofit_block): Abort if we don't find a suitable insn.
9099         (insert_block_after_note): Abort if we don't have a previous block.
9100         Remove FN parameter.
9101         * function.h: Adjust.
9102
9103 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
9104
9105         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
9106         argument more than once.
9107
9108 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9109
9110         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
9111
9112 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
9113
9114         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
9115
9116 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9117
9118         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
9119         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
9120         update stack_alignment_needed.
9121         (prepare_function_start): Initialize stack_alignment_needed
9122         * function.h (struct function): Add field stack_alignment_needed.
9123
9124 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9125
9126         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
9127         Handle live_throughout / dead_or_set instead of live_before /
9128         live_after.
9129         (save_call_clobbered_regs): Get register livenessinformation from
9130         chain->live_throughout.
9131         (add_stored_regs): New function.
9132         (insert_restore, insert_save): Add restored / saved registers to
9133         dead_or_set.
9134         * global.c (reg_dies): New parameter chain.
9135         (reg_becomes_live): Third parameter is regs_set now.
9136         Changed all callers.
9137         (reg_dies): New parameter chain.  Changed all callers.
9138         (build_insn_chain): Set live_throughout instead of
9139         live_before / live_after.
9140         * reload.h (struct insn_chain): Replace members live_before /
9141         live_after with live_throughout / dead_or_set.
9142         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
9143         instead of live_before / live_after.
9144         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
9145         (order_regs_for_reload, find_reg, finish_spills): Likewise.
9146         (choose_reload_regs_init): Likewise.
9147         * stupid.c (current_chain, find_clobbered_regs): Delete.
9148         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
9149         instead of chain->live_before / chain->live_after.
9150         (mark_hard_ref): New function.
9151         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
9152
9153 1999-12-15  David S. Miller  <davem@redhat.com>
9154
9155         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
9156
9157 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9158
9159         * flow.c (calculate_loop_depth): Make global, remove prototype,
9160         rewrite to use new loop infrastructure.
9161         (find_basic_block): Remove calculate_loop_depth call.
9162         * toplev.c (rest_of_compilation): Call find_basic_block.
9163         * output.h (calculate_loop_depth): Declare.
9164
9165         * flow.c (dump_flow_info): Dump loop_depth.
9166         (flow_loops_nodes_find): Increase loop_depth for basic block in the
9167         body.
9168         (flow_loops_find): Initialize the loop_depth for each basic block.
9169
9170 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9171
9172         * tree.c (decl_function_context): Handle virtual functions.
9173
9174         * tlink.c (scan_linker_output): Don't look in demangled name when
9175         looking for linker output keywords.
9176
9177         * dwarfout.c (output_type): We can defer namespace-scope classes.
9178
9179 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
9180
9181         * regclass.c (record_reg_classes): Update comment for merging
9182         register class preferences in reg->reg copies.  Tighten conditions
9183         for merging register class preferences in reg->reg copies.
9184
9185 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
9186
9187         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
9188
9189 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
9190
9191         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
9192         (INIT_SECTION_ASM_OP): Delete.
9193         (FINI_SECTION_ASM_OP): Delete.
9194         (STARTFILE_SPEC): Define to hold just crtbegin.o.
9195
9196 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
9197
9198         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
9199         the abstract origin wasn't emitted.
9200
9201         * dwarf2out.c (class_scope_p): New fn.
9202         (gen_subprogram_die): Use it.
9203         (gen_variable_die): Use it.  Tweak logic.
9204         (gen_struct_or_union_type_die): Check context_die to determine
9205         if we're function-local.
9206         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
9207
9208 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9209
9210         * loop.c (check_dbra_loop): Can't reverse a biv that has
9211         maybe_multiple set.
9212
9213 1999-12-14  Nick Clifton  <nickc@cygnus.com>
9214
9215         * config/arm/arm.c: Add support for -mcpu=arm720 command line
9216         switch.
9217
9218 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9219
9220         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
9221         for givs made from biv increments.
9222
9223 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
9224
9225         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
9226         * alpha.c (override_options): Recognize -mcpu=ev67.
9227         * alpha.h (CPP_CPU_EV67_SPEC): New.
9228         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
9229         (EXTRA_SPECS): Update.
9230
9231 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
9232
9233         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
9234         appropriate for -lang-c89 and -std=*.
9235         * cppinit.c (cpp_handle_option): Likewise.
9236         (new_pending_define): New, split out from cpp_handle_option.
9237         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
9238         or enable trigraphs for -ansi/-std=*.
9239
9240         * ginclude/stdarg.h (__va_copy): New.
9241         (va_copy): Don't define for C89.
9242
9243 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
9244
9245         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
9246         for long long multiply-accumulate.
9247
9248 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9249
9250         * regclass.c (scan_one_insn): Set loop_cost to 1 when
9251         optimizing for size.
9252
9253 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9254
9255         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
9256         if something changed.  Back out that part of yesterday's changes.
9257
9258         * loop.c (loop_max_reg): New static variable.
9259         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
9260         max_reg_num.
9261         (scan_loop): Call reg_scan_update whenever we may have added new
9262         registers, and update loop_max_reg.
9263
9264 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9265
9266         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
9267         when source does not die.
9268
9269         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
9270
9271 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
9272
9273         * config/sparc/linux64.h (TARGET_LIVE_G0,
9274         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
9275         variants on Linux.
9276         * config/sparc/linux.h (TARGET_LIVE_G0,
9277         TARGET_BROKEN_SAVERESTORE): Likewise.
9278         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
9279         TARGET_BROKEN_SAVERESTORE): Likewise.
9280
9281         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
9282         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
9283         not %g2.
9284         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
9285         as sparc64 block profiling register.
9286         * config/sparc/sparc.c (sparc_override_options): Allow block
9287         profiling with -m32.
9288         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
9289         profiling register.
9290         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
9291         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
9292         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
9293
9294         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
9295         for sparc64.
9296         * config/sparc/sparc.h: Likewise.
9297         * config/sparc/xm-sysv4-64.h: Likewise.
9298         * config/float-sparc.h: Likewise.
9299         * glimits.h: Likewise.
9300         * longlong.h: Likewise.
9301
9302         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
9303         (ASM_IDENTIFY_GCC): Remove.
9304
9305 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9306
9307         * combine.c (combine_simplify_rtx): Don't make shared rtl.
9308         (simplify_logical): Likewise.
9309
9310 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9311
9312         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
9313         * cppfiles.c (INO_T_EQ): Likewise.
9314
9315 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9316
9317         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
9318         * i386/mingw32.h (LIB_SPEC): Likewise.
9319         (STARTFILE_SPEC): Likewise.
9320         * i386/uwin.h (LIB_SPEC): Likewise.
9321         (STARTFILE_SPEC): Likewise.
9322
9323         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
9324         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
9325
9326 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
9327
9328         * combine.c (combine_simplify_rtx): Fix order of checks for
9329         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
9330
9331 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
9332
9333         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
9334         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
9335
9336 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
9337
9338         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
9339         defined.
9340         * regclass.c (inv_reg_alloc_order): New array.
9341         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
9342
9343         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
9344         counted_for_groups, counted_for_nongroups.  Add fields rld and
9345         n_reloads.
9346         * reload.c (push_secondary_reload): Don't set nongroup field of
9347         new reloads.
9348         (push_reload): Likewise.
9349         (find_reloads): Delete code to compute nongroup fields.
9350         * reload1.c (reload_insn_firstobj): New static variable.
9351         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
9352         users changed.
9353         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
9354         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
9355         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
9356         functions.
9357         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
9358         functions.
9359         (struct hard_reg_n_uses): Deleted.
9360         (potential_reload_regs): Deleted.
9361         (init_reload): Initialize spilled_pseudos and pseudos_counted.
9362         (reload): Don't try to allocate reload registers if we already know
9363         we have to make another pass.  Call select_reload_regs.  Free memory
9364         starting with reload_firstobj when starting another pass.
9365         Don't allocate spilled_pseudos.
9366         (calculate_needs_all_insns): Call copy_reloads for an insn that
9367         needs reloads; don't call calculate_needs.
9368         (spill_cost): New static array.
9369         (used_spill_regs_local): New static variable.
9370         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
9371         to compute potential_reload_regs.
9372         (find_reload_regs): Completely rewritten to use find_reg.
9373         (allocate_reload_reg): Don't test counted_for_groups or
9374         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
9375         all cllers changed.
9376         (choose_reload_regs): Add fallback code that uses the existing
9377         register allocation from find_reload_regs.
9378
9379 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
9380
9381         * flow.c (create_edge_list): Cast xmalloc return value.
9382
9383 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
9384
9385         * doprnt.c: Remove incorrect comment closure.
9386
9387         * cse.c: Fix a few minor whitespace goofs.
9388
9389 1999-12-13  Don Bowman  <don@pixstream.com>
9390
9391         * mips/vxworks.h: Fix problem with comment termination.
9392         (EXTRA_SECTIONS): Add in_sbss.
9393         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
9394
9395 1999-12-12  David S. Miller  <davem@redhat.com>
9396
9397         * cse.c (struct cse_reg_info): Add hash_next member,
9398         reorder rest of struct for better packing on 64-bit
9399         hosts.
9400         (cse_reg_info_tree): Kill.
9401         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
9402         REGHASH_FN): New custom pow2 hash mechanism.
9403         (NBUCKETS): Kill.
9404         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
9405         use a pow2 hash table.
9406         (get_cse_reg_info): Rework to use new REGHASH.
9407         (new_basic_block): Likewise, use HASH_SIZE, and inline
9408         free_element call.
9409         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
9410         and inline free_element call.
9411         (lookup_as_function, insert, flush_hash_table, invalidate,
9412         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
9413         invalidate_for_call, use_related_value, find_comparison_args,
9414         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
9415         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
9416         get_element): Kill.
9417
9418 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
9419
9420         * cse.c (cse_basic_block): Free qty_table consistently.
9421
9422 1999-12-12  David S. Miller  <davem@redhat.com>
9423             Jakub Jelinek    <jakub@redhat.com>
9424
9425         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
9426         SUBREGs by hand, gen the appropriate hard reg directly.
9427         (movtf reg/mem split): Likewise and alter_subreg on destination
9428         if necessary.
9429         (movtf mem/reg split): Similarly.
9430         (movdf_cc_sp64): Rename from hidden pattern.
9431         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
9432         (movtf_cc_sp64, following split): New pattern and splitter.
9433         (movdf_cc_reg_sp64): Rename from hidden pattern.
9434         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
9435         TARGET_HARD_QUAD.
9436         (movtf_cc_reg_sp64, following split): New pattern and splitter.
9437
9438 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
9439
9440         * loop.c (load_mems): Don't hoist written floating point mem
9441         if -ffloat-store.
9442
9443 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
9444
9445         * except.h (struct eh_queue): Add `next' pointer.
9446         (struct eh_status): Make x_ehqueue a pointer.
9447         (push_ehqueue):  Declare.
9448         (pop_ehqueue): Likewise.
9449         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
9450         pointer.
9451         (expand_fixup_region_end): Likewise.
9452         (expand_leftover_cleanups): Likewise.
9453         (push_ehqueue): Define.
9454         (pop_ehqueue): Likewise.
9455         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
9456         than doing it inline.
9457         (expand_start_all_catch):  Adjust now that ehqueue is a
9458         pointer.
9459         (mark_eh_queue): Mark all level of the queue.
9460         (mark_eh_status):  Adjust now that ehqueue is a
9461         pointer.
9462         (init_eh_for_function): Allocate ehqueue.
9463         (free_eh_status): Free it.
9464         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
9465         expansion for a fixup.
9466
9467 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9468
9469         * gthr-single.h (__gthread_active_p): Add prototype arguments.
9470
9471         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
9472         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
9473         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
9474         function_ptr, getpagesize, __enable_execute_stack,
9475         __enable_execute_stack, __clear_insn_cache,
9476         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
9477         _cleanup, _exit, __default_terminate, __terminate_func,
9478         __terminate, __empty, __throw, new_eh_context,
9479         eh_context_initialize, eh_context_static, eh_context_specific,
9480         get_eh_context, __get_eh_context, __get_eh_info,
9481         init_reg_size_table, eh_threads_initialize,
9482         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
9483         __unwinding_cleanup, throw_helper, __throw, __rethrow,
9484         __pure_virtual): Add prototype arguments.
9485         (__bb_exit_func): Cast a sizeof to long when comparing against one.
9486         Cast a signed value to unsigned long when comparing against one.
9487         (new_eh_context): Wrap in _GTHREADS macro.
9488         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
9489         declaration.
9490         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
9491         (throw_helper): Initialize variables `handler_p' and `pc_p'.
9492
9493 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9494
9495         * combine.c (record_promoted_value): Remove unused variable
9496         `links2'.
9497
9498         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
9499
9500         * global.c (record_conflicts): Likewise for `j'.
9501
9502         * genoutput.c (output_insn_data): Don't unnecessarily cast away
9503         const-ness.
9504
9505 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9506
9507         * i386-protos.h (output_387_binary_op, output_fix_trunc,
9508         output_fp_compare): Constify a char*.
9509
9510         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
9511         static prototypes.
9512         (override_options, ix86_comp_type_attributes, print_operand,
9513         output_387_binary_op, output_fix_trunc, output_fp_compare):
9514         Constify a char*.
9515         (ix86_sched_reorder): Mark parameter `clock_var' with
9516         ATTRIBUTE_UNUSED.
9517
9518         * i386.h (DEBUG_PRINT_REG): Constify a char*.
9519
9520 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
9521
9522         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
9523         operand, for use in the Java front-end.
9524
9525 1999-12-10  Ben Collins  <bcollins@debian.org>
9526
9527         * configure.in: Fix typo for "-64" in 64bit as check.
9528         * configure: Rebuilt.
9529
9530 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
9531
9532         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
9533         appropriate.
9534
9535 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9536
9537         * c-parse.in (string): With -Wtraditional, warn if ANSI string
9538         concatenation is utilized.
9539
9540         * invoke.texi (-Wtraditional): Document it.
9541
9542 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9543
9544         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
9545         Cast a ptrdiff_t to long and pass it to printf with %ld.
9546
9547 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
9548
9549         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
9550         68881, we have no 68881 registers at all.
9551         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
9552         value in a 68881 register if it is available.
9553
9554 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
9555
9556         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
9557         for long long multiply-accumulate.
9558
9559 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
9560
9561         * loop.c (insert_loop_mem): Undo last change.
9562
9563 1999-12-10  David S. Miller  <davem@redhat.com>
9564
9565         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
9566         New functions.
9567         * config/sparc/sparc-protos.h: Add them.
9568         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
9569         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
9570         constraints which use those helpers.
9571         (EXTRA_CONSTRAINT): Use this new macro.
9572         * md.texi: Update sparc target constraints documentation.
9573         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
9574         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
9575         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
9576         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
9577         (movsf high/lo_sum split): Rework for new patterns.
9578         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
9579
9580 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
9581
9582         * c-common.c (c_common_nodes_and_builtins):
9583         Create __builtin_ptrdiff_t and __builtin_size_t.
9584
9585 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
9586
9587         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
9588
9589 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9590
9591         * regclass.c (globalize_reg): Re-instate test that allows
9592         fixed registers to be declared as a variable even after functions
9593         are defined.
9594
9595 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9596
9597         * i386.md (cpu attribute): Add "athlon".
9598         (athlon_decode): New attribute.
9599         (Athlon scheduling units definitions): New.
9600         (fcmp and shld patterns): Set athlon_decode to "vector".
9601         * i386.c (athlon_cost): New.
9602         (m_ATHLON): New.
9603         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
9604         x86_use_sahf): Set for Athlon.
9605         (x86_use_fiop): Unset for Athlon.
9606         (override_options): Define Athlon alignments and "athlon" name.
9607         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
9608         * i386.h (TARGET_ATHLON): New.
9609         (enum processor_type): Add PROCESSOR_ATHLON.
9610         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
9611         for CPU_DEFAULT==5
9612         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
9613
9614 1999-12-09  Andreas Jaeger  <aj@suse.de>
9615
9616         * loop.c (record_biv): Declare parameter as int.
9617
9618         * config/i386/i386-protos.h: Declare long_memory_operand.
9619
9620 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
9621
9622         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
9623         EXPR_WITH_FILE_LOCATION.
9624
9625 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
9626
9627         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
9628         in expander.
9629
9630         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
9631
9632         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
9633         updating code.
9634
9635 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
9636
9637         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
9638         default on linux64 again.
9639         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
9640         models for multilibing.
9641         * genmultilib: Accept | as alternative separator within a set in
9642         MULTILIB_OPTIONS.
9643
9644         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
9645
9646         * calls.c (precompute_arguments): Make sure initial_value contains
9647         value pseudo which CSE expects.
9648         * cse.c (struct set): New entry orig_src.
9649         (cse_insn): Set it early on entry, use it for libcall EQUIV note
9650         replacement.
9651
9652 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
9653
9654         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
9655
9656 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
9657
9658         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
9659
9660 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
9661
9662         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
9663         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
9664
9665         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
9666         if TARGET_ARCH32.
9667
9668         * longlong.h: Merge in changes from glibc.
9669         Also don't clobber %g2 register in 32bit SPARC assembly, so that
9670         -mno-app-regs libgcc can be compiled.
9671         * libgcc2.c: Add defines so that the updated longlong.h
9672         can be used in libgcc2.a. Also, make sure on most architectures
9673         (at least on all which have optimized code in longlong.h defined
9674         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
9675
9676 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9677
9678         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
9679         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
9680         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
9681         is GNU ld.
9682         * configure: Rebuilt.
9683
9684 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
9685
9686         * alpha.c (secondary_reload_class): For !BWX, sub-simode
9687         outputs require a register.
9688
9689 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
9690
9691         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
9692         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
9693         functions like dptoul will be resolved.
9694         (libgcc2.a): Make sure that the object files from DPBIT are named
9695         differently (prefix `_dp') from those that would be coming from
9696         FPBIT.
9697
9698 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
9699
9700         * configure.in: When target is sparc* and tm_file contains 64,
9701         test for 64bit support in assembler.  If not supported, remove
9702         sparc/t-sol2-64 from target-dependent Makefile fragments.
9703         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
9704         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
9705         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
9706         * acconfig.h (AS_SPARC64_FLAG): Added.
9707         * configure, config.in: Rebuilt.
9708         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
9709         support.  Use AS_SPARC64_FLAG.
9710
9711 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
9712
9713         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
9714         suitable for holding OFmode values so that gcc works with complex
9715         quad long doubles.
9716         (hard_64bit_mode_classes): Likewise.
9717
9718         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
9719         so that it is actually matched.
9720         (sethi_di_medlow): Likewise.
9721
9722         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
9723         as legitimate constant if -mvis.
9724         * config/sparc/sparc.md (movtf): Likewise.
9725         (clear_sf): Use const_double_operand.
9726         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
9727
9728         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
9729         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
9730         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
9731         routines, _Qp_* cannot be handled like that now.
9732         (INIT_TARGET_OPTABS): Likewise.
9733         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
9734         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
9735         sparc_emit_float_lib_cmp if ARCH64 and soft float.
9736         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
9737         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
9738         divtf3, sqrttf3): New expanders.
9739         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
9740         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
9741         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
9742         non-_hq patterns.
9743
9744         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
9745         * configure: Rebuilt.
9746         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
9747         -mcpu is given and we're doing 64bit compiles.
9748
9749 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
9750
9751         * loop.h (struct induction): Add multi_insn_incr.
9752         * loop.c (basic_induction_var): New multi_insn_incr argument.
9753         Set it if we search back through previous insns for the biv.
9754         (record_biv): New multi_insn_incr argument; fill in struct induction.
9755         (strength_reduce): Discard an iv with multiple bivs, any of
9756         which require multiple insns to increment.
9757
9758 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9759
9760         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
9761         documentation.
9762
9763 1999-12-06  David S. Miller  <davem@redhat.com>
9764
9765         * combine.c (check_promoted_subreg): Do not conditionalize this upon
9766         PROMOTE_FUNCTION_RETURN.
9767
9768 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
9769
9770         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
9771         and handle REG_UNUSED note on insn.
9772
9773         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
9774         inner_mask instead of mask.
9775
9776 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
9777
9778         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
9779         zero if there was an error.
9780
9781 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
9782
9783         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
9784         output string.
9785
9786         * longlong.h: Fix clobbers in SPARC asm statements.
9787
9788         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
9789         valid sethi operations when TARGET_ARCH64.
9790
9791         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
9792         always use move_by_pieces to avoid infinite recursion.
9793         (restore_fixed_argument_area): Likewise.
9794
9795         * combine.c (check_promoted_subreg, record_promoted_value): New
9796         functions.
9797         (combine_instructions): Use them to retain nonzero and sign bit
9798         information after SUBREGs are eliminated by optimizations in
9799         this pass if PROMOTE_FUNCTION_RETURN.
9800
9801         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
9802         .register declaration. Don't use variables with __ prefixes.
9803
9804 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9805
9806         * fold-const.c (optimize_bit_field_compare): Only use one mode
9807         for both RHS and LHS in non-constant case.
9808
9809 1999-12-06  Nathan Sidwell  <nathan@acm.org>
9810
9811         * frame.c (start_fde_sort): Only allocate erratic array, if
9812         linear one was allocated. Return allocated flag.
9813         (fde_insert): Only insert, if there's a valid array.
9814         (fde_end_sort): Split, sort and merge if linear and erratic
9815         arrays exist, else just sort linear one.
9816         (search_fdes): New function. Linear search through original fde
9817         structure.
9818         (frame_init): Permit multiple initializations. Cope with
9819         memory shortages.
9820         (find_fde): Fallback on linear search, if failed to sort array.
9821         (__deregister_frame_info): Only free sorted array, if we
9822         allocated it.
9823
9824 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
9825
9826         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
9827
9828 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
9829
9830         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
9831
9832 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
9833
9834         * tree.h (special_function_p): Declare.
9835         * calls.c (special_function_p): Make it global.  Don't take `name'
9836         as a parameter.  Fix typo in 1999-11-28 change.
9837         (expand_cal): Adjust.
9838
9839 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
9840
9841         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
9842         * tree.h (EXPR_WFL_FILENAME): Define in terms of
9843         EXPR_WFL_FILENAME_NODE.
9844         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
9845         the TREE_CHAIN.
9846         * print-tree.c (print_note): Print TREE_PRIVATE and
9847         TREE_PROTECTED.
9848
9849         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
9850         the original die cannot be found.
9851
9852         * varray.h (varray_head_tag): Add elements_used.
9853         (VARRAY_PUSH): New macro.
9854         (VARRAY_POP): Likewise.
9855         (VARRAY_TOP): Likewise.
9856         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
9857         types.
9858         * varray.c (varray_init): Initialize elements_used.
9859         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
9860         (INTEGRATE_H): New variable.
9861         (integrate.o): Depend on INTEGRATE_H.
9862         (unroll.o): Likewise.
9863
9864         * function.h (insert_block_after_note): Declare.
9865         * function.c (insert_block_after_note): Split out from ...
9866         (retrofit_block): ... here.
9867
9868         * stmt.c (expand_fixup): Fix typo in comment.
9869
9870 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9871
9872         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
9873         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
9874         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
9875         (regmove_optimize, fixup_match_1): Likewise.
9876
9877 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9878
9879         * flow.c (flow_loops_dump): Add missing argument when calling
9880         flow_loop_nested_p.
9881
9882 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
9883             Greg McGary  <gkm@gnu.org>
9884
9885         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
9886         (init_attributes): Add A_NO_LIMIT_STACK.
9887         (decl_attributes): Handle A_NO_LIMIT_STACK.
9888         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
9889         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
9890         Handle stack bounds checking.
9891         * flags.h (flag_stack_check): Use the word 'probe' rather than
9892         'check', because the flag doesn't actually cause any checking to
9893         be done.
9894         * function.c (expand_function_start): Set
9895         current_function_limit_stack.
9896         * function.h (struct function): Add limit_stack.
9897         (current_function_limit_stack): Define.
9898         * invoke.texi (Code Gen Options): Document new options.
9899         * rtl.h: Declare stack_limit_rtx.
9900         * toplev.c (stack_limit_rtx): New variable.
9901         (decode_f_option): Handle new options -fstack-limit-register=REG,
9902         -fstack-limit-symbol=IDENT, -fno-stack-limit.
9903         (main): Add stack_limit_rtx as GC root.
9904         * tree.h (DECL_NO_LIMIT_STACK): New macro.
9905         (struct tree_decl): New member no_limit_stack.
9906
9907         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
9908         stack_limit_rtx.
9909         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
9910         (conditional_trap+1): Get new mnemonic correct.
9911         (conditional_trap+2): New pattern for DImode traps.
9912
9913         * config/m68k/m68k.c (output_function_prologue): Handle
9914         stack_limit_rtx.
9915         * config/m68k/m68k.md (trap): New insn.
9916         (conditional_trap): New insn.
9917         * md.texi (Standard Names): Document `trap' and
9918         `conditional_trap'.
9919         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
9920         so a cc0 setter doesn't get emitted at some random place in the
9921         function.
9922
9923         * config/i960/i960.md (trap): New insn.
9924         (conditional_trap): New expander.
9925         (conditional_trap+1, conditional_trap+2): New insns for signed
9926         and unsigned cases.
9927         * config/i960/i960.c (i960_function_prologue): Use
9928         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
9929
9930 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
9931                           Geoffrey Keating  <geoffk@cygnus.com>
9932
9933         * flags.h (warn_padded, warn_packed): Add global var decls.
9934         * toplev.c (warn_padded, warn_packed): Add global var defns.
9935         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
9936         * stor-layout.c (layout_record): Add local variable `type'
9937         to hold often-used TREE_TYPE (field).  Add local variable
9938         `unpacked_align' to hold alignment that would be in force
9939         if no `packed' attribute were present.  Warn if `packed' attribute
9940         is unnecessary, or even harmful.  Warn when gcc inserts padding
9941         to satisfy alignment requirements of members.  Use NULL_TREE
9942         when checking whether var_size is set.
9943         * invoke.texi: Document new flags.
9944
9945 1999-12-03  Nathan Sidwell  <nathan@acm.org>
9946
9947         * frame.c (fde_split): Reimplement to avoid variable sized array.
9948
9949 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9950
9951         * combine.c (try_combine): Before fixing up LOG_LINKS for the
9952         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
9953
9954 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
9955
9956         * invoke.texi: Document the mips option -mno-crt0
9957
9958 1999-12-02  Mike Karr  <mkarr@mathworks.com>
9959
9960         * cccp.c (argdata): Added free_ptr member.
9961         (macroexpand): Initialize free_ptr of each argument. When an
9962         argument's buffers are freed, if the argument's free_ptr corresponds
9963         to a buffer on the input stack, then return the free_ptr to that stack
9964         frame, otherwise, free it.
9965         (macarg): If an argument begins and ends on the same input stack level,
9966         then transfer the free_ptr of that buffer to the argument in case
9967         the stack is popped during the processing of a subsequent argument.
9968
9969 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
9970
9971         * loop.c (note_reg_stored): New function.
9972         (struct note_reg_stored_arg): New structure.
9973         (try_copy_prop): Change to be more conservative; only replace within
9974         one extended basic block and stop replacing if a store to the
9975         replacement reg is seen.
9976
9977 1999-12-02  Nick Clifton  <nickc@cygnus.com>
9978
9979         * config/fp-bit.c: Initialise all fields of the NAN
9980         constants.
9981
9982         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
9983         to HANDLE_PRAGMA.
9984
9985 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
9986
9987         * i386.md (extend?f?f2): Force the input into a register, not
9988         the output.
9989
9990 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
9991
9992         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
9993         regclass' sake.
9994         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
9995         alternative because setting up 64bit constant is usually costly,
9996         especially when reload is in progress or completed.
9997         (movdf_const_intreg_sp64): Likewise.
9998         (movdf_const_intreg split): Fix building up constants when
9999         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
10000
10001 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
10002
10003         * combine.c (if_then_else_cond): Use const_true_rtx instead of
10004         const1_rtx for return values in EQ/NE comparison against (const_int 0)
10005         case.
10006
10007         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
10008         (asm_file_start): Emit .am33 into assembly file when compiling for
10009         the AM33.
10010         (print_operand_address): Handle POST_INC addresses.
10011         (can_use_return_insn, initial_offset): Check AM33 registers too.
10012         (expand_prologue): Check & save AM33 registers too.
10013         (expand_epilogue): Similarly.
10014         (secondary_reload_class): Handle AM33 specific secondary reloads.
10015         (output_tst): Emit efficient code for the AM33 too.
10016         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
10017         (TARGET_SWITCHES): Add -mam33 switch.
10018         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
10019         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
10020         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
10021         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
10022         (enum reg_class, REG_CLASS_NAMES): Likewise.
10023         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
10024         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
10025         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
10026         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
10027         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
10028         (HAVE_POST_INCREMENT): Define.
10029         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
10030         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
10031         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
10032         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
10033         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
10034         (zero_extend to SI from QI/HI): Likewise.
10035         (sign_extend to SI from QI/HI): Likewise.
10036         (mulsidi3, umulsidi3): New patterns for the AM33.
10037         (tstsi with zero extension from QI/HI): Add AM33 variants.
10038         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
10039         (return_internal_regs, store_movm): Handle new AM33 registers.
10040         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
10041         (LIBGCC, INSTALL_LIBGCC): Likewise.
10042         * invoke.texi: Document new flags.
10043
10044 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10045
10046         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
10047         (addsi3_carry): Likewise.
10048         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
10049         (sbbsi3_carry): Likewise.
10050         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
10051         (mulhi3): Likewise.
10052         (test?i_1): Ensure that only one operand is memory.
10053         (conditional move patterns): likewise.
10054         (shift and rotate patterns): Rewrite to expander, add
10055         "binary_operator_ok" to the condition.
10056
10057         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
10058         * i386.h (procesor_costs): Add movzbl_load field.
10059         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
10060         non-Q registers, accept DImode registers anywhere.
10061         (Q_CLASS_P): New.
10062         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
10063         * i386.c (*_cost): Set value for movxbl_load field.
10064
10065         * (addsi): New add to lea splitter.
10066         (ashlsi): Likewise.
10067         (lea to add/shift peep2): New.
10068
10069 1999-12-01  Mark Salter <msalter@cygnus.com>
10070
10071         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
10072         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
10073         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
10074
10075 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10076
10077         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
10078         * i386.md (movsi_xor): New.
10079         (movsi_or): New.
10080         (movsi_1, movhi_1, movqi_1): Remove.
10081         (movsi_2): Rename to movsi_1.
10082         (movhi_2): Rename to movhi_1.
10083         (movqi_2): Rename to movqi_1.
10084         (movdi_1): Remove; remove splitter.
10085         (movdi_2): Rename to movdi_1.
10086         (divmodsi4 splitter): Do not emit clobbers for move patterns.
10087         (long move peep2): Do not create QI or HI mode mov0s
10088         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
10089
10090         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
10091         rewrite splitters.
10092
10093         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
10094         (abs?f2_if): Likewise.
10095
10096 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
10097
10098         * ggc.h (ggc_test_and_set_mark): New macro.
10099         (ggc_mark_rtx): Use ggc_test_and_set_mark.
10100         (ggc_mark_tree): Likewise.
10101         (ggc_mark_rtvec): Likewise.
10102         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
10103
10104 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
10105
10106         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
10107         containing types.
10108         (decl_scope_table): Just an array of trees now.
10109         (push_decl_scope): Simplify.
10110         (dwarf2out_init): Adjust.
10111         (local_scope_p): New fn.
10112         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
10113         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
10114         (gen_typedef_die): Likewise.
10115         (gen_lexical_block_die): Don't call push/pop_decl_scope.
10116         (gen_inlined_subroutine_die): Likewise.
10117         (gen_abstract_function): Set current_function_decl temporarily.
10118         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
10119         Handle block extern declarations.  Don't call push/pop_decl_scope.
10120         (gen_decl_die): Fix logic for block externs.
10121
10122 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10123
10124         * calls.c (special_function_p): Remove `realloc' and add `strdup'
10125         to the list of functions which have attribute malloc by default.
10126
10127 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10128
10129         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
10130         integer constant does not match the traditional type, limit the
10131         warnings to cases where the base of the type is ten.
10132
10133         * invoke.texi (-Wtraditional): Document it.
10134
10135 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10136
10137         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
10138         * rs6000.md: Only access a CONST_INT with INTVAL
10139
10140 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
10141
10142         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
10143         (compute_nearerout): Likewise.
10144         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
10145         size_t to unsigned long for formatting.
10146
10147 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10148
10149         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
10150         Allow the user to override call-used/fixed state of %g2-5
10151         registers from the command line (with the exception of %g4 for
10152         embedded model).
10153         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
10154         there is a higher chance of having a leaf function.
10155         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
10156         for ARCH64 which has %ccr register.
10157         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
10158         patterns.
10159         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
10160         insn accept into delay slot any insn which does not use %[ol]
10161         registers.  Accept some LO_SUM and shift left by 1 for the normal
10162         restore case.
10163         (output_function_epilogue): Likewise.
10164         (epilogue_renumber): Added argument which inhibits any renumbering
10165         and just tests if the rtx does not use any %[ol] registers.
10166         (output_return): Reflect above change.
10167
10168 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10169
10170         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
10171         aggregate passing for sizes <= 16 bytes.
10172
10173 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10174
10175         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
10176         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
10177         * reload.c (find_dummy_reload): Likewise.
10178         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
10179         * reload1.c (reload_as_needed): Likewise.
10180         * stupid.c (stupid_find_reg): Likewise.
10181         * tm.texi (Obsolete Register Macros): Delete section.
10182         * gmicro.h: Remove all traces of the two macros.
10183         * i386.h: Likewise.
10184         * m88k.h: Likewise.
10185         * mips.h: Likewise.
10186
10187 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
10188
10189         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
10190         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
10191         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
10192         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
10193         units for the sparclite86x chip.
10194         (flush): Revert October 14th change; add SImode specifically.
10195         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
10196         * invoke.texi: Document it.
10197
10198 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
10199
10200         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
10201         psimode_truncation_operand.
10202
10203         * config/mn10200/mn10200.c (psimode_truncation_operand): New
10204         function.  Return true if the operand is either a MEM valid
10205         for a PSImode address or not a MEM at all.
10206
10207         * config/mn10200/mn10200.md (truncsipsi2): Use
10208         psimode_truncation_operand.
10209
10210 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10211
10212         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
10213         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
10214         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
10215         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
10216         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
10217         (flow_loop_level_compute, low_loops_level_compute): Likewise.
10218         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
10219         * basic-block.h: Protect from multiple inclusion.
10220         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
10221         (struct loops, struct loop): Define structures.
10222         * sbitmap.c (sbitmap_a_subset_b_p): New function.
10223         * sbitmap.h: Protect from multiple inclusion.
10224         (sbitmap_a_subset_b_p): Add prototype.
10225         * Makefile.in (LOOP_H): New macro.
10226         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
10227
10228 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
10229
10230         * cppinit.c (CAT): The argument list of this macro may not contain
10231         spaces !
10232
10233 1999-11-29  David S. Miller  <davem@redhat.com>
10234
10235         Move quantity tables and register equivalence chains into
10236         per-qty and per-register structure arrays respectively.
10237         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
10238         qty_const_insn, qty_comparison_code, qty_comparison_const,
10239         qty_comparison_qty): Delete, replace with...
10240         (qty_table): this structure table.
10241         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
10242         (reg_eqv_table): this structure table.
10243         (make_new_qty): Add argument MODE.  Caller updated.
10244         Update to use qty_table and reg_eqv_table.
10245         (make_regs_eqv, delete_reg_equiv, insert_regs,
10246         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
10247         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
10248         cse_process_notes, cse_main, cse_basic_block): Likewise.
10249
10250 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10251
10252         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
10253         operation if C is negative.
10254         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
10255         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
10256         law for some divisions if constant is negative and change other
10257         divisions to the opposite rounding.
10258
10259         * expr.c (store_constructor_field): If bit position is not multiple
10260         of alignment of TARGET's mode, use BLKmode.
10261
10262         * expr.c (expand_expr_unaligned): Add more code from full case
10263         that is needed when OP0 is in a register.
10264
10265 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10266
10267         * dwarfout.c (field_byte_offset): Size can be zero if there was
10268         an error.
10269
10270 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10271
10272         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
10273         (associate_trees): Delete unused var TEM.
10274         (extract_muldiv): Delete unused var CANCEL_P.
10275
10276         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
10277         (target_isinf, target_isnan, target_negative): Add return types to
10278         function definitions.
10279
10280 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
10281
10282         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
10283         * fixinc/hackshell.tpl: ditto
10284         * fixinc/fixtests.c(double_slash_test): more C++ header testing
10285         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
10286
10287 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10288
10289         * reload.c (push_reload): When looking for a register to put into
10290         reg_rtx, make sure all hard regs in a multi-reg register are in the
10291         right class and nonfixed.
10292
10293         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
10294         pending_read_insns, pending_write_insns, pending_read_mems,
10295         pending_write_mems, pending_list_length, last_pending_memory_flush,
10296         last_function_call, sched_before_next_call): Move static variables
10297         into a structure.
10298         (bb_ prefixed versions): Replace with single array bb_deps.
10299         (struct deps): New structure.
10300         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
10301         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
10302         argument of type "struct deps *"; use that instead of global
10303         variables.  All callers changed.
10304         (init_rgn_data_dependencies): Delete function.
10305         (init_rtx_vector): Delete function.
10306         (init_deps): New function.
10307
10308         (free_pending_lists): Simplify, we always use the bb_deps array even
10309         if only one basic block.
10310         (compute_block_backward_dependences): Likewise.
10311         (schedule_region): Likewise.
10312
10313         (propagate_deps): New function, broken out of
10314         compute_block_backward_dependences.
10315         (compute_block_backward_dependences): Use it.
10316
10317         * alpha.md: Delete useless patterns that tried to work around
10318         register elimination problems.
10319
10320         * unroll.c (loop_iterations): Don't abort if iteration variable
10321         was made by loop.
10322
10323         From Joern Rennecke:
10324         * reload1.c (reloads_conflict): Reverse test comparing operand
10325         numbers when testing for conflict between output/outaddr reloads.
10326
10327 1999-11-29  David S. Miller  <davem@redhat.com>
10328
10329         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
10330         arg.
10331         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
10332
10333 1999-11-28  Robert Lipe  <robertl@cygnus.com>
10334
10335         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
10336         table from .fini into .dtor.
10337
10338 1999-11-28  Anthony Green  <green@cygnus.com>
10339
10340         * tree.h (struct tree_decl): Add malloc_flag.
10341         (DECL_IS_MALLOC): Define.
10342         * c-common.c (attrs): Add A_MALLOC attribute.
10343         (init_attributes): Add this attribute to the table.
10344         (decl_attributes): Handle malloc attribute.
10345         * calls.c (special_function_p): Check for the malloc attribute.
10346         * extend.texi (Function Attributes): Document malloc attribute.
10347
10348 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
10349
10350         * pa.md (reload shift-add patterns): Remove.
10351
10352 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10353
10354         * reorg.c (dbr_schedule) Print more statistics. Corrected
10355         problem when printing info when 3 delay slots are filled.
10356
10357 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
10358
10359         * combine.c (setup_incoming_promotions): Pass an outgoing
10360         regno to FUNCTION_ARG_REGNO_P which it expects.
10361
10362 1999-11-28  Andreas Jaeger  <aj@suse.de>
10363
10364         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
10365
10366 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
10367
10368         * cccp.c (do_include): Avoid initialization of automatic variable.
10369
10370         * integrate.c (mark_stores): Function definition made void, to match
10371         previous declaration.
10372         * regclass.c (dump_regclass): Ditto.
10373         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
10374
10375 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10376
10377         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
10378         known to be multiple of divisor.
10379
10380         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
10381
10382         * combine.c (try_combine): Add code to try to merge a set of a
10383         two-word pseudo to a constant with a setting of one of those words
10384         to a constant.
10385
10386         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
10387         (split_tree): Completely rework to make more general.
10388         (make_range, fold): Call negate_expr.
10389         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
10390         (fold, associate): Call new split_tree and associate_trees.
10391         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
10392
10393 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
10394
10395         * loop.c (try_copy_prop): Avoid GNU C extension.
10396
10397 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
10398
10399         * except.c (init_eh_for_function): Still zero eh_return_context,
10400         eh_return_stack_adjust, and eh_return_handler.
10401
10402         * except.h (eh_status): Adjust documentation for x_protect_list.
10403         (begin_protect_partials): New function.
10404         * except.c (enqueue_eh_entry): Fix formatting.
10405         (get_first_handler): Add consistency check.
10406         (add_partial_entry): Adjust usage of protect_list.
10407         (emit_cleanup_handler): Save and restore ehqueue.
10408         (expand_start_all_catch): Add comment.
10409         (begin_protect_partials): New function.
10410         (end_protect_partials): Adjust usage of protect_list.
10411         (init_eh_for_function): Use xcalloc.
10412
10413 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10414
10415         * c-common.c (check_format_info): Don't call a variadic function
10416         with a non-literal format string.
10417
10418         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
10419
10420         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
10421         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
10422         Likewise.
10423
10424         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
10425         Likewise.
10426
10427         * collect2.c (collect_wait): Likewise.
10428
10429         * dbxout.c (dbxout_type): Likewise.
10430
10431         * gcc.c (do_spec_1): Likewise.
10432
10433         * genemit.c (gen_insn, gen_expand): Likewise.
10434
10435         * genrecog.c (write_switch, write_subroutine): Likewise.
10436
10437         * mips-tfile.c (catch_signal, botch): Likewise.
10438
10439         * print-rtl.c (print_rtx): Likewise.
10440
10441         * toplev.c (default_print_error_function, report_error_function,
10442         _fatal_insn): Likewise.
10443
10444 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
10445
10446         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
10447
10448 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10449
10450         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
10451         operations when needed.
10452         * i386.md (fop_?f_comm): New.
10453         (fop_?f_1): Do not accept commutative operands.
10454
10455 1999-11-25  Andreas Jaeger  <aj@suse.de>
10456
10457         * config/mips/mips.md (casesi_internal): Add missing brace.
10458
10459 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
10460
10461         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
10462         (splice_child_die): Handle moving a child DIE from the declaration
10463         DIE of a class to its specification.
10464         (gen_struct_or_union_type_die): Use 'complete' consistently.
10465         (gen_decl_die): Generate the virtual context DIE first.
10466         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
10467
10468 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
10469
10470         * config/mips/mips.md (call_value_multiple_interanal1): New.
10471
10472 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
10473
10474         * dwarf2out.c (free_AT, free_die): New fns.
10475         (remove_children): Call them.
10476         (output_line_info): Disable removal of duplicate notes.
10477
10478         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
10479         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
10480         means pretend the type isn't defined.
10481         Don't defer emitting types.
10482         (gen_type_die_for_member): New fn.
10483         (gen_decl_die): Call it.
10484         (splice_child_die): New fn.
10485         (gen_member_die): Call it rather than generate duplicate dies.
10486
10487         Defer emitting information for the abstract instance of an inline
10488         until we either inline it or emit an out-of-line copy.
10489         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
10490         from output_inline_function if DECL_ABSTRACT is also set.
10491         (block_ultimate_origin): Likewise.
10492         (gen_abstract_function): New fn.
10493         (gen_decl_die, gen_inlined_subroutine_die): Call it.
10494         (gen_subprogram_die):  An abstract instance is not a declaration
10495         just because it doesn't match current_function_decl.  Don't abort
10496         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
10497         has an abstract origin.
10498         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
10499         abstract instance here.
10500
10501 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
10502
10503         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
10504         where we need to reload fpul from a system register.
10505
10506 1999-11-24  Andreas Jaeger  <aj@suse.de>
10507
10508         * config/mips/linux.h (CPP_PREDEFINES): Added.
10509         (LINK_SPEC): Remove -Y since this is only needed on sparc.
10510
10511 1999-11-24  Andreas Jaeger  <aj@suse.de>
10512
10513         * config/mips/linux.h (TARGET_VERSION): Added.
10514         (HANDLE_SYSV_PRAGMA): Added.
10515         (DEFAULT_VTABLE_THUNKS): Added.
10516
10517 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10518
10519         * local-alloc.c (qty): New structure and static variable.
10520         (qty_phys_reg): Remove, all references changed to qty.
10521         (qty_n_refs): Likewise.
10522         (qty_min_class): Likewise.
10523         (qty_birth): Likewise.
10524         (qty_death): Likewise.
10525         (qty_size): Likewise.
10526         (qty_mode): Likewise.
10527         (qty_n_calls_crossed): Likewise.
10528         (qty_alternate_class): Likewise.
10529         (qty_changes_size): Likewise.
10530         (qty_first_reg): Likewise.
10531         (alloc_qty): Rename variable QTY to QTYNO.
10532         (finf_free_reg): Likewise.
10533         (local_alloc): Allocate qty, do not allocate the removed variables.
10534
10535 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
10536
10537         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
10538         when -membedded-pic is passed.
10539
10540         * config/mips/mips.md (casesi): Handle 64-bit case too.
10541         (casesi_internal_di): New insn.
10542
10543         * config/mips/mips.c (embedded_pic_offset): Always make the
10544         embedded-pic subtractions relative to the name of the current
10545         function by use of the magic string "..CURRENT_FUNCTION".
10546         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
10547
10548 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
10549
10550         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
10551         of (const_int 0), when what we really care about is
10552         whether it's a zero constant anyway.
10553         (div_trap_mips16): Likewise.
10554
10555 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
10556
10557         * loop.c (loop_optimize): Always find_loop_tree_blocks and
10558         unroll_block_trees when generating debuggable code.
10559
10560         * tree.h (unsave_expr_1): New function.
10561         (lang_unsave): New variable.
10562         (get_callee_fndecl): New function.
10563         * tree.c (unsave_expr_now_r): New function.
10564         (lang_unsave): Define.
10565         (unsave_expr_1): Likewise.
10566         (unsave_expr_now_r): Split out from unsave_expr_now.
10567         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
10568         call unsave_expr_now_r.
10569         (get_callee_fndecl): Define.
10570
10571         * Makefile.in (gencheck): Don't depend on lang_tree_files.
10572         (gencheck.o): Do depend on lang_tree_files.
10573
10574         * integrate.h (copy_decl_for_inlining): New declaration.
10575         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
10576         (copy_decl_for_inlining): New function.
10577         (integrate_parm_decls): Use it.
10578         (integrate_decl_tree): Likewise.
10579
10580 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
10581
10582         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
10583         the second two from the first.
10584         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
10585         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
10586         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
10587         ISA_HAS_FP4.
10588         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
10589         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
10590         ISA_HAS_FP4.
10591
10592 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
10593
10594         * pa.md (call_internal_symref, call_value_internal_symref): No mode
10595         needed on the address operand.
10596         * pa.c (call_operand_address): Check for the correct mode.
10597
10598 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
10599
10600         * loop.c: Include "basic-block.h".
10601         (try_copy_prop, replace_loop_reg): New functions.
10602         (load_mems): Detect registers that just hold copies of the hoisted
10603         mem, and call try_copy_prop to eliminate them.
10604         * Makefile.in (loop.o): Update dependencies.
10605
10606 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
10607
10608         * Makefile.in (gencheck.o): Depend on gencheck.h.
10609         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
10610         (insn-peep.o): Depend on except.h and function.h.
10611         (insn-attrtab.o): Depend on RECOG_H.
10612         (insn-output.o): Depend on toplev.h and flags.h.
10613         (gengenrtl.o): Depend on real.h.
10614         (gen-protos.o): Depend on cpplib.h and cpphash.h.
10615         Unify all dependencies to be on RECOG_H rather than recog.h.
10616
10617 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10618
10619         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
10620         * configure.in: Try building a bi-arch 32/64-bit compiler on
10621         sparc-*-solaris2.7 and higher.
10622         * configure: Rebuild.
10623
10624 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
10625
10626         * config/freebsd.h: New, FreeBSD architecture independent file.
10627         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
10628         independent pieces.
10629         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
10630         directly by i386/freebsd.h.
10631         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
10632         independent configuration file.
10633         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
10634         directly by i386/freebsd.h.
10635         * configure: Rebuilt.
10636
10637         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
10638         which is in the user's namespace.
10639         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
10640         `i386' which is not in our namespace.
10641
10642 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
10643
10644         * invoke.texi (ARM Options): Add in -mno-alignment-traps
10645
10646 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
10647
10648         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
10649         (add_dwarf_attr, add_child_die): Just push onto the front.
10650         (reverse_die_lists): New fn.
10651         (add_sibling_attributes): Use it.
10652         (push_decl_scope): Reorganize.
10653         (add_name_and_src_coords_attributes): Don't set file and line for
10654         an artificial decl.
10655         (gen_subprogram_die): An artificial function doesn't need to match
10656         file and line.
10657         (gen_compile_unit_die): Return the generated die.  Only add
10658         AT_comp_dir if the filename is relative.
10659         (remove_AT): Simplify loop.  Also free string values.
10660         (output_die): A DIE ref can't be null.
10661         (output_value_format, value_format): Take a dw_attr_ref.
10662         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
10663         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10664         AT_addr, AT_lbl): New fns.
10665         (various): Use them.
10666         (various): Constify.
10667
10668 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10669
10670         * combine.c (combine_simplify_rtx): When handling a SUBREG,
10671         take SUBREG_WORD into account.
10672         (if_then_else_cond): Likewise.
10673
10674 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
10675
10676         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
10677         clause from BSD license, pursuant with
10678
10679           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
10680
10681 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
10682
10683         * loop.c (load_mems): Reformat slightly.
10684         * basic-block.h (regset_head): New typedef.
10685         (INIT_REG_SET): New macro.
10686
10687 1999-11-22  Bruce Korb  <autogen@linuxbox.com
10688
10689         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
10690         (mips-dec-bsd*): non-functional code
10691         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
10692
10693         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
10694         added three replacement fixes
10695         (no_double_slash): removed comments that are not (any longer) pertinent
10696         (bad_lval): this fix currently runs against many files.
10697         The comment seems to indicate that we should select for files
10698         containing 'pragma extern_prefix'.
10699
10700         * fixinc/fixinc.x86-linux-gnu: deleted
10701         * fixinc/inclhack.sh:  regen
10702         * fixinc/fixincl.x:  regen
10703         * fixinc/fixincl.sh:  regen
10704
10705 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
10706
10707         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
10708         its code is INSN and it has no notes.
10709
10710 1999-11-22  Andrew Haley  <aph@cygnus.com>
10711
10712         * varasm.c (function_defined): Remove.
10713         (make_function_rtl): Don't set function_defined.
10714         (make_decl_rtl): Remove global register warning.
10715         * regclass.c (no_global_reg_vars): New variable.
10716         (globalize_reg): Warn if function has already been defined.
10717         (regclass_init): Set no_global_reg_vars.
10718
10719 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10720
10721         * regclass.c (reg_pref): New structure and static variable
10722         (prefclass): Delete.
10723         (altclass): Delete.
10724         (all uses of prefclass and altclass): Use reg_pref instead.
10725
10726 1999-11-21  Nick Clifton  <nickc@cygnus.com>
10727
10728         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
10729         -malignment-traps.
10730         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
10731         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
10732         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
10733
10734 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
10735
10736         * varasm.c (output_constructor): Solve problem with long long
10737         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
10738
10739 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10740
10741         * global.c (allocno): New structure and static variable.
10742         (allocno_reg): Remove, all references replaced by allocno.
10743         (allocno_size): Likewise.
10744         (hard_reg_conflicts): Likewise.
10745         (hard_reg_preferences): Likewise.
10746         (hard_reg_copy_preferences): Likewise.
10747         (hard_reg_full_preferences): Likewise.
10748         (regs_someone_prefers): Likewise.
10749         (allocno_calls_crossed): Likewise.
10750         (allocno_n_refs): Likewise.
10751         (allocno_live_length): Likewise.
10752         (find_reg): Rename ALLOCNO to NUM.
10753
10754         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
10755         references updated.
10756         (may_move_out_cost): New variable.
10757         (init_reg_sets_1): Initialize may_move_out_cost.
10758         (record_reg_classes): Use may_move_out_cost.
10759
10760         * regclass.c (dump_regclass): New function.
10761         (regclass): New parameter DUMP, call DUMP_REGCLASS.
10762         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
10763         pass rtl_dump_file to regclass.
10764         * rtl.h (regclass): Update prototype.
10765
10766 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10767
10768         * i386.md (neg, not and abs patterns): Revmap to use
10769         ix86_expand_unary_operator and ix86_unary_operator_ok.
10770         (add?f and sub?f expanders): Force operand 1 to register.
10771         * i386.c (ix86_expand_unary_operator): Rewrite.
10772         (ix86_unary_operator_ok): Ensure that memory operands
10773         match real opcode.
10774         (ix86_binary_operator_ok): Do not allow operand 1 to
10775         come into memory and operand 0 not.
10776         (ix86_expand_binary_operator): Ensure that
10777         src1 is not non-matching memory.
10778
10779         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
10780         to support integer registers and memory.
10781         (abss?2_integer): Likewise.
10782
10783         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
10784         (REG_CLASS_NAMES): Likewise.
10785         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
10786         and GENERAL_REGS.
10787         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
10788         (movsf): Likewise; unify 4th and 5th alternative.
10789         (pushdf): Likewise.
10790         (movdf_1): Likewise; rename to movdf_integer.
10791         (pushxf): Likewise; rename to pushxf_integer; fix output template;
10792         remove redundant splitter.
10793         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
10794         (movdf_nointeger): New.
10795         (movxf_nointeger): New.
10796         (pushxf_nointeger): New.
10797
10798         * i386.md (extend?f?f): Split to expander and pattern, refuse two
10799         memory operands in patterns.
10800         (fop*): Refuse two memory operands.
10801
10802         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
10803         on !TARGET_USE_CLTD CPUs.
10804
10805 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
10806
10807         * extend.texi: Document C++ restricted pointers and references.
10808
10809 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
10810
10811         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
10812         (invalidate_skipped_set): Call it unconditionally.
10813         (cse_set_around_loop): Likewise.
10814
10815 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
10816
10817         * rtl.texi (mem): Add documentation for alias-set argument
10818         to RTX `mem'.
10819
10820 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10821
10822         * i386.h (struct_processor_costs): New fields int_load, int_store,
10823         fp_move, fp_load and fp_store
10824         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
10825         fp->int moves
10826         (MEMORY_MOVE_COST): New macro.
10827         * i386.c (386_cost): Define new fields.
10828         (i486_cost): Likewise.
10829         (pentium_cost): Likewise.
10830         (pentiumpro_cost): Likewise.
10831         (k6_cost): Likewise.
10832
10833 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
10834                           Geoffrey Keating  <geoffk@cygnus.com>
10835
10836         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
10837
10838         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
10839         MASK_ALIGN_INT.
10840
10841         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
10842         (TARGET_STRICT_ALIGNMENT): New macro.
10843         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
10844         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
10845         * invoke.texi (M680x0 Options): Document -mstrict-align.
10846
10847 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
10848                           Richard Henderson  <rth@cygnus.com>
10849
10850         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
10851         (ix86_split_long_move): Declare.
10852         * i386.c (split_xf, ix86_split_movdi): Remove.
10853         (ix86_split_to_parts, ix86_split_long_move): New.
10854         * i386.md (dimode move splitters): Use ix86_split_long_move.
10855         (dfmode move splitters): Likewise.
10856         (xfmode move splitters): Likewise.
10857         (movsf_1): Allow F->r.
10858         (movdf_1, movxf_1): Allow F->ro.
10859
10860 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
10861
10862         * except.h (struct eh_entry): Add goto_entry_p.
10863         (eh_region_from_symbol): Remove prototype.
10864         * except.c (find_func_region_from_symbol): New function.
10865         (emit_cleanup_handler): Likewise.
10866         (eh_region_from_symbol): Make it static.
10867         (add_new_handler): Verify the argument.
10868         (find_func_region): Update comment.
10869         (expand_eh_region_end): Expand handlers here, rater than waiting
10870         until expand_leftover_cleanups or start_all_catch.
10871         (expand_leftover_cleanups): Don't expand here.
10872         (expand_start_all_catch): Or here.
10873         (expand_rethrow): Check the return value from find_func_region.
10874         * function.c (expand_function_end): Emit the catch_clauses.
10875
10876 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
10877
10878         * integrate.c (expand_inline_function): Add necessary check for NULL.
10879
10880 1999-11-18  Nick Clifton  <nickc@cygnus.com>
10881
10882         * toplev.c (main): Correctly detect an unrecognised option.
10883
10884         * cppinit.c (cpp_handle_option): Do not claim to have consumed
10885         a -f option if it has not been recognised.
10886
10887 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
10888
10889         * basic-block.h (update_life_extent): Remove trailing comma on
10890         enumeration type list.
10891
10892 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10893
10894         * varasm.c (output_constructor) Solved problem with long long
10895         bitfields. Corrected calculating this_time and shift. Also
10896         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
10897
10898 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
10899
10900         * flow.c (split_edge): Take looping structure into account when
10901         determining where to put the new block note.
10902
10903 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
10904
10905         * Makefile.in (ggc-none.o): Provide host specific version if
10906         needed.
10907
10908 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
10909
10910         * cse.c (delete_trivially_dead_insns): Identify no-op insns
10911         containing subregs too.
10912
10913 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
10914
10915         * invoke.texi: Add documentation for -muninit-const-in-rodata.
10916         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
10917         (TARGET_UNINIT_CONST_IN_RODATA): Define.
10918         (text_section): Add switches -munint-const-in-rodata and
10919         -mno-uninit-const-in-rodata.
10920         (ASM_OUTPUT_COMMON): Remove.
10921         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
10922         const objects should be placed in read-only data. Otherwise declare
10923         them in common.
10924
10925 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
10926
10927         * jump.c (jump_optimize_1): Revert last change.
10928
10929 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
10930
10931         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
10932         test if optimizing for size.
10933
10934 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
10935
10936         * Makefile.in (toplev.o): Depend on except.h.
10937         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
10938
10939 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10940
10941         * i386.md (divmodsi4): Rewrite to expander.
10942         (*divmodsi4_nocltd): New.
10943         (*divmodsi4_cltd): New.
10944         (divmodsi4 splitter): Handle the case when input comes in edx.
10945         (udivmodhi4): Do not use constraints in exander.
10946         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
10947
10948 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
10949
10950         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
10951         for the common case.
10952
10953 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
10954
10955         * explow.c (hard_function_value): Add outgoing argument.
10956         * expr.h (hard_function_value): Declare it.
10957         * calls.c (expand_call, emit_library_call_value): Update callers.
10958         * function.c (aggregate_value_p): Ditto.
10959         (diddle_return_value): Must look at the outgoing registers
10960         on archs with register windows.
10961
10962 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
10963
10964         * alpha.c (alpha_build_va_list): Use make_lang_type and
10965         initialize TYPE_NAME for the va_list record.
10966
10967         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
10968
10969         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
10970         for printing.
10971         * ggc.h (struct ggc_statistics): Rearrange elements for better
10972         packing on 64-bit hosts.
10973         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
10974         (compute_nearerout): Likewise.
10975
10976 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
10977
10978         * config/rs6000/rs6000.c (first_reg_to_save): Save
10979         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
10980
10981 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
10982
10983         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
10984         notion of nesting to find the DIE for a type or function.
10985         DIEs can go in limbo even if we got a context_die.
10986         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
10987         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
10988         for local type.
10989         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
10990         (gen_type_die): Writing out the context doesn't cause member class
10991         template instantiations to be written out as well.
10992
10993 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
10994
10995         * rs6000.h (ASM_OUTPUT_DEF): New.
10996         Based on proposed addition from David Edelsohn.
10997
10998 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
10999             Bruce Korb  <autogen@linuxbox.com>
11000
11001         * fixinc/inclhack.def
11002         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
11003         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
11004                 in net/inet.h.
11005         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
11006         (svr4_endian): enabled with SVR5
11007         (svr4_mkdev): simplified syntax and enabled with SVR5
11008
11009 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
11010
11011         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
11012         * configure: Rebuilt.
11013         * config/t-freebsd-thread: New file.
11014
11015 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
11016
11017         * i386.c (ix86_decompose_address): Verify the base is a REG
11018         before trying to examine its register number.
11019
11020         * basic-block.h: Remove all #defines and prototypes related to
11021         integer lists.
11022         (free_bb_mem, compute_preds_succs): Remove prototype.
11023         * rtl.h (free_bb_mem): Remove prototype.
11024         * flow.c (alloc_int_list_node); Remove function.
11025         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
11026         (compute_preds_succs, free_bb_mem): Likewise.
11027         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
11028         * toplev.c (rest_of_compilation): Likewise.
11029         * haifa-sched.c (build_control_flow): Use flow generated edge
11030         list to build the haifa specific edge list.
11031         (find_rgns): Use new CFG data structures instead of pred/succ lists.
11032         (schedule_insns): Do not build pred/succ lists anymore.  Instead
11033         build the edge table.
11034
11035         * basic-block.h (dump_bb_data): Remove declaration.
11036         * flow.c (dump_bb_data): Remove function.
11037         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
11038         (sbitmap_union_of_predsucc): Likewise.
11039
11040         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
11041         argument.  All callers changed.
11042         (delete_null_pointer_checks_1): No longer need to compute the
11043         pred/succ lists.
11044
11045         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
11046         All callers changed.
11047         (pre_expr_reaches_here_p_work): Likewise.
11048         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
11049         * lcm.c (compute_laterin): Fix initialization of LATER.
11050         (compute_nearerout): Similarly for NEARER.
11051
11052 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11053
11054         * cse.c (set_nonvarying_address_components): Delete unused function.
11055         (refers_to_p): Likewise.
11056
11057 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
11058
11059         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
11060         needed.
11061
11062 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11063
11064         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
11065         definition in do while (0).
11066
11067 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
11068
11069         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
11070
11071 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
11072
11073         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
11074
11075 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
11076
11077         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
11078         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
11079         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
11080         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
11081
11082         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
11083         saved on the stack.  Output more accurate stack frame statistics
11084         into assembler file.
11085
11086 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
11087
11088         * genextract.c (record_insn_name): New function.
11089         (get_insn_name): No longer a stub.
11090         (main): Call record_insn_name for each insn.  After each label
11091         written, print the insn name in a comment.
11092
11093 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11094
11095         * output.h (const_section, init_section, fini_section): Add
11096         prototypes.
11097
11098         * alpha/elf.h (const_section): Delete declaration.
11099
11100         * svr4.h (const_section): Likewise.
11101
11102 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
11103
11104         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
11105         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
11106         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
11107         expressions.
11108         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
11109         variable-sized array bounds.
11110
11111 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
11112
11113         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
11114         ASM_OUTPUT_LABEL.
11115
11116 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11117
11118         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
11119         addresses the same way GO_IF_LEGITIMATE_INDEX does.
11120
11121 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11122
11123         * cse.c (hash_arg_in_struct): Delete.
11124         (struct table_elt): Delete elt in_struct.
11125         (struct set): Delete elt src_in_struct.
11126         (merge_equiv_classes): Don't set either hash_arg_in_struct or
11127         the corresponding in_struct elts.
11128         (canon_hash): Likewise.
11129         (safe_hash): Likewise.
11130         (find_best_addr): Likewise.
11131         (record_jump_cond): Likewise.
11132         (cse_insn): Likewise.
11133
11134 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
11135
11136         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
11137
11138         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
11139         unsigned types.
11140
11141 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
11142
11143         * function.c (diddle_return_value): Put back check that the DECL_RTL
11144         for the function is a register.
11145
11146         * function.c (diddle_return_value): Use hard_function_value to
11147         get an rtx suitable for use in the USE/CLOBBER insn.
11148
11149         * global.c (global_conflicts): Update comments.
11150         (record_conflicts): No need to record conflicts between pseudos here.
11151
11152 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
11153
11154         * fixinc/fixincl.c: Added verbose levels for status messages
11155
11156 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11157
11158         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
11159         operand as argument to expand_and or expand_binop.
11160
11161 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
11162
11163         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
11164         gcc_add_string_root.
11165
11166 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
11167
11168         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
11169
11170 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
11171
11172         * flow.c (compute_flow_dominators): Initially put all blocks on
11173         the worklist.
11174         * lcm.c (compute_antinout_edge, compute_available): Similarly.
11175         * gcse.c (compute_cprop_avinout): Remove.
11176         (compute_cprop_data): Use compute_available.
11177         (delete_null_pointer_checks_1): Use compute_available.
11178
11179         * basic-block.h (compute_available): Returns a void now.
11180         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
11181         to return a value anymore.
11182         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
11183         worklists.  Fix boundary cases. Compute maximal solutions.
11184         (compute_laterin, compute_nearerout): Similarly.
11185
11186         * dwarf2out.c (add_AT_location_description): Allow
11187         (mem (plus (pseudo) (...)) too.
11188
11189 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
11190
11191         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
11192
11193 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
11194                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11195
11196         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
11197
11198         * gansidecl.h: Likewise.
11199
11200         * rtl.c: Likewise.
11201
11202         * rtl.h: Likewise.
11203
11204         * toplev.h: Likewise.
11205
11206         * tree.c: Likewise.
11207
11208         * tree.h: Likewise.
11209
11210         * varray.c: Likewise.
11211
11212         * varray.h: Likewise.
11213
11214 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
11215
11216         * gcov.c (struct arcdata): Add hits and total, remove prob.
11217         (output_branch_counts): New.
11218         (process_args): Set output_branch_counts if -c.
11219         (calculate_branch_probs): Store hits and total instead of
11220         percentage.
11221         (output_data): Emit counts if output_branch_counts is true.
11222         * gcov.texi (Invoking Gcov): Document -c switch..
11223
11224 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
11225
11226         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
11227         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
11228
11229 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
11230
11231         * invoke.texi (C Dialect Options): Add missing builtins from
11232         c-common.c to list.
11233         * extend.texi (Other Builtins): Copy to this list.
11234
11235 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11236
11237         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
11238         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
11239         redundant bitmap.h.
11240
11241 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
11242
11243         * flow.c (compute_flow_dominators): No longer treat basic block 0
11244         or (n_basic_blocks - 1) specially.  Clear the AUX field before
11245         starting computation of doms/pdoms.  Fix initial state for pdoms.
11246
11247 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11248
11249         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
11250         match rtl.o's: added ggc.h and toplev.h
11251         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
11252         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
11253         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
11254
11255 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
11256
11257         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
11258         from HAVE_DOS_BASED_FILESYSTEM.
11259         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
11260         HAVE_DOS_BASED_FILESYSTEM.
11261         (main): Likewise.
11262         (split_directories): Only special-case DOS file names if
11263         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
11264         instead of explicit tests.  Conditionalize on !VMS.
11265         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
11266         tests.  Conditionalize on !VMS.
11267         (process_command): Only use make_relative_prefix if !VMS.
11268         (free_split_directories): Conditionalize on !VMS.
11269         (DIR_UP): Conditionalize on !VMS.
11270
11271 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11272
11273         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
11274
11275 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11276
11277         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
11278         case.
11279
11280 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
11281
11282         * invoke.texi (Environment Variables): Document relative path
11283         lookup.
11284         * gcc.c (DIR_UP): If not defined, define as "..".
11285         (standard_bindir_prefix): New static, holds target location to
11286         install binaries.
11287         (split_directories): New function to split a filename into
11288         component directories.
11289         (free_split_directories): New function, release memory allocated
11290         by split_directories.
11291         (make_relative_prefix): New function, make a relative pathname if
11292         the compiler is not in the expected location.
11293         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
11294         can figure out an appropriate prefix from argv[0].
11295         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
11296         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
11297         STANDARD_BINDIR_PREFIX.
11298
11299 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11300
11301         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
11302         in c4x.c.
11303         * config/c4x/c4x.h: Moved prototypes to c4x.h.
11304         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
11305         c4x_secondary_memory_needed) Delete.
11306         (fp_zero_operand): Add mode argument.
11307
11308 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
11309
11310         * reload1.c (reload_reg_free_for_value_p): Don't use a register
11311         that is in reload_reg_used.
11312
11313 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
11314
11315         * config/arm/arm-protos.h: New file: Prototypes for functions
11316         defined in arm.c and pe.c.
11317         * config/arm/arm.h: Fix compile time warnings.
11318         * config/arm/arm.c: Fix compile time warnings.
11319         * config/arm/pe.h: Fix compile time warnings.
11320         * config/arm/aout.h: Fix compile time warnings.
11321
11322 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
11323
11324         * config/m32r/m32r-protos.h: New file: Prototypes for functions
11325         defined in m32r.c
11326
11327         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
11328         Add support for subtargets.
11329         Add prototypes for new predicates.
11330         Add scheduling macros.
11331
11332         * config/m32r/m32r.c: Fix compile time warnings.
11333         (int8_operand): New predicate function.
11334         (reg_or_cmp_int16_operand): New predicate function.
11335         (extend_operand): New predicate function.
11336         (m32r_adjust_code): New scheduling function.
11337         (m32r_adjust_priorty): New scheduling function.
11338         (m32r_sched_init): New scheduling function.
11339         (m32r_sched_reorder): New scheduling function.
11340         (m32r_sched_variable_issue): New scheduling function.
11341         (direct_return): New codegen function.
11342         (m32r_not_same_reg): New rtl testsing function.
11343
11344         * config/m32r/m32r.md: Fix compile time warnings.
11345         Add support for pre decrement and post increment memory
11346         references.
11347         Add S<cc> patterns.
11348         Add fabs patterns.
11349
11350 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11351
11352         * global.c (EXECUTE_IF_CONFLICT): Don't define.
11353         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
11354         (find_reg): Likewise.
11355
11356 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
11357
11358         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
11359         to avoid assembler errors.
11360
11361 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
11362
11363         * config/v850/v850-protos.h: New file: Prototypes for functions
11364         defined in v850.c
11365         * config/v850/v850.h: Move prototypes to v850-protos.h
11366         * config/v850/v850.c: Move prototypes to v850-protos.h
11367         * config/v850/v850.md: Fix compile time warnings.
11368
11369         * config/fr30/fr30-protos.h: New file: Prototypes for functions
11370         defined in fr30.c
11371         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
11372         * config/fr30/fr30.c: Fix compile time warnings.
11373         * config/fr30/fr30.md: Fix compile time warnings.
11374
11375 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
11376
11377         * tree.h (get_containing_scope): Declare it.
11378         * tree.c (get_containing_scope): New fucntion.
11379         (decl_function_context): Use it.
11380         * toplev.c (rest_of_compilation): Use get_containing_scope.
11381
11382 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11383
11384         * Makefile.in (rtl.o): Depend on toplev.h.
11385
11386 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
11387
11388         * cse.c (delete_trivially_dead_insns): Replace alloca with
11389         xmalloc/xcalloc.
11390         * except.c (update_rethrow_references): Likewise.
11391         (init_eh_nesting_info): Likewise.
11392         * function.c (identify_blocks): Likewise.
11393         * gcse.c (dump_hash_table): Likewise.
11394         * graph.c (print_rtl_graph_with_bb): Likewise.
11395         * loop.c (combine_movables): Likewise.
11396         (move_movables): Likewise.
11397         (count_loop_regs_set): Likewise.
11398         (strength_reduce): Likewise.
11399         * profile.c (compute_branch_probabilities): New function, split
11400         out from ...
11401         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
11402         * regclass.c (regclass): Likewise.
11403         * regmove.c (regmove_optimize): Likewise.
11404         * toplev.c (compile_file): Likewise.
11405         (main): Don't mess with the stack rlimit.
11406
11407 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
11408
11409         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
11410         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
11411
11412 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
11413
11414         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
11415
11416 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
11417
11418         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
11419         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
11420         macro expansion.
11421
11422 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
11423
11424         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
11425
11426 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
11427
11428         * gcse.c (post_dominators): Kill.
11429         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
11430         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
11431         pass in a pdom array since we do not need pdoms.
11432         * haifa-sched.c (schedule_insns): Similarly.
11433         * flow.c (compute_dominators): Remove dead function.
11434         (compute_flow_dominators): Do not compute doms or pdoms if the
11435         caller does not request them.  Split up loop to build doms and
11436         pdoms.  Use a worklist to compute doms and pdoms.
11437         * basic-block.h (compute_dominators): Remove prototype.
11438
11439 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
11440
11441         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
11442         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
11443         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
11444         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
11445         (cant_move, fed_by_spec_load, is_load_insn): Remove.
11446         (schedule_region): Remove unused variable.
11447         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
11448
11449 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
11450
11451         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
11452         (update_equiv_regs): Likewise.
11453         (block_alloc): Likewise.
11454         * reg-stack.c (reg_to_stack): Likewise.
11455         (convert_regs_2): Likewise.
11456         * reload1.c (reload_as_needed): Likewise.
11457
11458 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
11459
11460         * Makefile.in (dbxout.o): Depend on ggc.h.
11461         (dwarf2out.o): Likewise.
11462         (xcoffout.o): Likewise.
11463         * dbxout.c: Include ggc.h.
11464         (dbxout_init): Register lastfile as a root.
11465         * dwarf2out.c: Include ggc.h.
11466         (dwarf2out_line): Register lastfile as a root.
11467         * xcoffout.c: Include ggc.h.
11468         (xcoffout_source_line): Register xcoff_lastfile as a root.
11469
11470 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
11471
11472         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
11473
11474 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
11475
11476         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
11477         defined.
11478         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
11479
11480 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11481
11482         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
11483         (EXECUTE_IF_CONFLICT): Likewise.
11484         (ALLOCNO_LIVE_P): Avoid signed division.
11485         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
11486         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
11487         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
11488
11489 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
11490
11491         * haifa-sched.c (schedule_block): Don't crash if there's no
11492         next insn for an interblock movement.
11493         (add_branch_dependences): Don't allow clobber insns to move either.
11494
11495 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
11496
11497         * i386.c (split_xf): New.
11498         * i386-protos.h: Declare it.
11499         * i386.md (movxf_1): Add general regs alternatives.
11500         (movxf_1+1): New splitter for same.
11501
11502 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
11503
11504         * function.c (purge_addressof_1): Add missing return values.
11505
11506 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
11507
11508         * function.c (is_addressof): New function.  Returns true if
11509         the given piece of RTL is an ADDRESSOF.
11510         (purge_addressof_1): Make boolean.  Return false if the
11511         ADDRESSOFs could not be purged.
11512         (purge_addressof): If ADDRESSOFs could not be purged from the
11513         notes attached to an insn, remove the offending note(s),
11514         unless they are attached to a libcall.
11515
11516 1999-11-05  Andreas Jaeger  <aj@suse.de>
11517
11518         * genoutput.c (null_operand =): Initialize all fields.
11519
11520         * errors.h: Add extern to prototypes.
11521
11522 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
11523
11524         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
11525         * configure: Rebuilt.
11526
11527 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11528
11529         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
11530         (mirror_conflicts): New function.
11531         (global_alloc): Call it.
11532         (expand_preferences): Remove redundant CONFLICTP test.
11533         (find_reg, dump_conflicts): Likewise.
11534         (prune_preferences): Process conflicts one word at a time.
11535
11536 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
11537
11538         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
11539         instead of an explicit loop.
11540
11541 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
11542
11543         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
11544         if REG_RETVAL check succeeds, then put classp in src_elt.
11545
11546 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
11547
11548         * function.c (pad_to_arg_alignment): Only update argument_pad
11549         if the argument's alignment is greater than STACK_BOUNDARY.
11550
11551 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
11552
11553         * bitmap.h (BITMAP_XFREE): New.
11554         * flow.c (life_analysis): Use it.
11555         (life_analysis_1): Free blocks.
11556
11557         * combine.c (undo_commit): New.
11558         (try_combine): Use it.  Don't zap undobuf.undos.
11559         (combine_instructions): Don't zap undobuf.undos; free the
11560         undobuf.frees list.
11561
11562         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
11563
11564         * stmt.c (cost_table_): New.
11565         (estimate_case_costs): Use it instead of xmalloc.
11566
11567         * toplev.c (compile_file): Reuse dumpname memory instead
11568         of strdup'ing it.
11569
11570 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
11571
11572         * reg-stack.c (convert_regs_1): Initialize target_stack->top
11573         after verifying an EH edge.
11574
11575         * haifa-sched.c (init_rgn_data_dependences): Correctly
11576         size bb_pending_lists_length when zeroing.
11577
11578 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
11579
11580         * function.c (diddle_return_value): New.
11581         (expand_function_end): Use it.
11582         * stmt.c (expand_null_return): Likewise.
11583         (expand_value_return): Likewise.
11584
11585         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
11586
11587         * reload1.c (reload): Don't remove return value clobbers.
11588
11589 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
11590
11591         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
11592
11593 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
11594
11595         * cse.c (cse_main): Use xmalloc, not alloca.
11596         (cse_basic_block): Likewise.
11597         * local-alloc.c (local_alloc): Likewise.
11598
11599 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
11600                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11601
11602         * rtl.c: Include toplev.h.
11603         (fatal): Remove declaration.
11604
11605 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
11606
11607         * haifa-sched.c (schedule_block): Fix thinko.
11608
11609 1999-11-03  James McKelvey <mckelvey@fafnir.com>
11610
11611         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
11612         S_IR* defined values
11613
11614 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
11615
11616         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
11617         call `malloc' instead.
11618
11619 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
11620
11621         * flags.h (flag_renumber_insns): Declare.
11622         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
11623         renumbering table.
11624         * rtl.h (renumber_insns): Change prototype.
11625         * toplev.c (flag_renumber_insns): Define.
11626         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
11627
11628 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
11629
11630         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
11631         and fpsqrtd.  Use them and create fdiv function unit to more
11632         accurately represent fpu sqrt pipeline semantics on UltraSparc.
11633         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
11634
11635 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
11636
11637         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
11638         3 on UltraSparc.
11639         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
11640         insn into ready list, do not use just a raw swap.
11641
11642 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
11643
11644         * rtl.h (renumber_insns): New function.
11645         (remove_unnecessary_notes): Likewise.
11646         * emit-rtl.c (renumber_insns): Define.
11647         (remove_unncessary_notes): Likewise.
11648         * toplev.c (rest_of_compilation): Remove dead code.
11649         Use renumber_insns and remove_unncessary_notes.
11650
11651         * gcse.c (struct null_pointer_info): New type.
11652         (get_bitmap_width): New function.
11653         (current_block): Remove.
11654         (nonnull_local): Likewise.
11655         (nonnull_killed): Likewise.
11656         (invalidate_nonnull_info): Take a null_pointer_info as input.
11657         (delete_null_pointer_checks_1): New function.
11658         (delete_null_pointer_checks): Use it.
11659
11660         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
11661         (split_edges): Likewise.
11662         (schedule_block): Likewise.
11663         (compute_block_backward_dependencies): Likewise.
11664         (schedule_region): Likewise.
11665         (schedule_insns): Likewise.
11666
11667 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
11668
11669         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
11670         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
11671         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
11672         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
11673         * jump.c (delete_unreferenced_labels): Don't delete if
11674         LABEL_ALTERNATE_NAME is set.
11675         * print-rtl.c (print_rtx): Dump alternate name.
11676         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
11677         * rtl.h (LABEL_ALTERNATE_NAME): Define.
11678         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
11679         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
11680
11681 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11682
11683         * fix-header.c (recognized_extern, recognized_function): Constify
11684         a char*.
11685
11686         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
11687         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
11688         (compute_available): Remove unused variable `last'.
11689         (compute_nearerout): Remove unused variable `temp_bitmap'.
11690         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
11691         Remove unused variable `x'.
11692
11693         * scan.h (recognized_function, recognized_extern): Constify a
11694         char*.
11695
11696         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
11697
11698 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11699
11700         * varasm.c (decode_rtx_const): Use XSTR to access the string
11701         of a SYMBOL_REF.
11702
11703 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
11704
11705         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
11706
11707 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11708
11709         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
11710
11711 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
11712
11713         * pa.c (ireg_operand): New function.
11714         * pa.h (PREDICATE_CODES): Handle ireg_operand.
11715         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
11716         Fix out of date comment.
11717
11718         * pa.md (negdi2): Turn into expander + anonymous pattern.
11719
11720         * reload.c (find_reloads): Fix typos in recent change.
11721
11722         * dwarf2out.c: Do not include ctype.h.
11723
11724 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11725
11726         * regclass.c (record_reg_classes): Always use may_move_cost when
11727         seeing how operand fits with various register classes.
11728
11729 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
11730
11731         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
11732         * toplev.c: Revert Nov 1 13:22 change.
11733
11734 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
11735
11736         * config/pa/pa.md (height reduction patterns): Add checks for
11737         overlapping operands to avoid semantic-destroying splits for
11738         height reduction patterns.
11739
11740 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11741
11742         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
11743         have been an hyphen, fixed.
11744         * configure: Rebuilt.
11745
11746 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
11747
11748         * config/arm/tpe.h: Add prototypes for exported functions.
11749         * config/arm/pe.c: Fix compile time warnings.
11750         * config/arm/semi.h: Fix compile time warnings.
11751         * config/arm/arm.c: Fix compile time warnings.
11752         * config/arm/arm.h: Fix compile time warnings.
11753         * config/arm/arm.md: Fix compile time warnings.
11754         * config/arm/thumb.c: Fix compile time warnings.
11755         * config/arm/thumb.h: Fix compile time warnings.
11756         * config/arm/thumb.md: Fix compile time warnings.
11757
11758 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
11759
11760         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
11761         detection code
11762
11763         * unroll.c (unroll_loop): Remove LOOP notes when loop is
11764         completely unrolled.
11765
11766 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11767
11768         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
11769
11770 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
11771
11772         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
11773         * rtl.h (rtx_equal_p): Move prototype.
11774         * rtl.c (rtx_equal_function_value_matters): Move from
11775         rtlanal.c
11776         (rtx_equal_p): Likewise.
11777         * rtlanal.c (rtx_equal_function_value_matters): Delete.
11778         (rtx_equal_p): Likewise.
11779
11780 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
11781
11782         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
11783         ! HAS_INIT_SECTION.
11784
11785 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
11786
11787         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
11788
11789         * pa.h (ADDR_VEC_ALIGN): Define.
11790
11791         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
11792         notes when presented with "if (foo) break; end_of_loop" and
11793         the break sequence gets moved out of the loop.
11794
11795         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
11796         Remove explicit zero initializations of entries within MAP.
11797
11798 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
11799
11800         * reg-stack.c (convert_regs_1): Handle EH edges specially.
11801
11802 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
11803
11804         * bitmap.h (BITMAP_XMALLOC): New macro.
11805         * flow.c (CLEAN_ALLOCA): Remove.
11806         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
11807         (life_analysis): Likewise.
11808         (update_life_info): Don't use CLEAN_ALLOCA.
11809         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
11810         (calculate_global_regs_live): Likewise.
11811         (print_rtl_with_bb): Likewise.
11812         (verify_flow_info): Likewise.
11813         * global.c (global_alloc): Likewise.
11814         (global_conflicts): Likewise.
11815         * integrate.c (save_for_inline_nocopy): Likewise.
11816         (expand_inline_function): Likewise.
11817         * jump.c (jump_optimize_1): Likewise.
11818         (duplicate_loop_exit_test): Likewise.
11819         (thread_jumps): Likewise.
11820         * loop.c (loop_optimize): Likewise.
11821         (combine_givs): Likewise.
11822         (recombine_givs): Likewise.
11823         * reorg.c (dbr_schedule): Likewise.
11824         * unroll.c (unroll_loop): Likewise.
11825
11826         * combine.c (combine_instructions): Use xmalloc instead of alloca.
11827
11828 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
11829
11830         * toplev.c (rest_of_compilation): Don't optimize the CFG
11831         when rebuilding, just before dbr.
11832
11833 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11834
11835         * output.h (assemble_end_function, assemble_destructor,
11836         assemble_constructor, assemble_gc_entry, assemble_global,
11837         assemble_label, output_constant_pool) Constify a char*.
11838
11839         * varasm.c (assemble_destructor, assemble_constructor,
11840         assemble_gc_entry, assemble_end_function, assemble_global,
11841         assemble_label, output_constant_pool): Likewise.
11842
11843 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
11844
11845         * config/arm/thumb.c (thumb_expand_prologue): Add comments
11846         explaining what is goin on in this function.
11847
11848 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11849
11850         * regclass.c (record_reg_classes): In matching case, recompute
11851         costs since the direction of movement is different.
11852
11853 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
11854
11855         * resource.c (mark_target_live_regs): For unconditional branches,
11856         the resources found at the branch target should be added to the
11857         resources found so far, not intersected.
11858
11859 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
11860
11861         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
11862         old cpp's.
11863         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
11864         (sys/mman.h): Include this file only if #HAVE_MMAP.
11865         (run_compiles): Initialize `esac_fmt' with one old KR string, not
11866         with automatically concatenated ANSI strings.
11867
11868 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
11869
11870         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
11871         (DIV_ROUND_UP): Robustify.
11872         (ggc_recalculate_in_use_p): New function.
11873         (release_pages): Don't inline it.
11874         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
11875         outer contexts.
11876         (ggc_pop_context): Use ggc_recalculate_in_use_p.
11877         (clear_marks): Always save in_use_p.
11878         (sweep_pages): Use ggc_recalculate_in_use_p.
11879         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
11880         Release pages before counting statistics.
11881
11882 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
11883
11884         * toplev.c (rest_of_compilation): Fix thinko in this change:
11885
11886         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
11887
11888         (rest_of_compilation): If inside an inlined external function,
11889         pretend we are just being declared.
11890
11891 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
11892
11893         * flow.c (calculate_global_regs_live): Fix thinko.
11894
11895         * integrate.c (expand_inline_function): Fix bugs in previous
11896         change from Oct 28, 1999.
11897
11898 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
11899
11900         * stmt.c (expand_value_return): Fix typo in this change:
11901
11902         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11903         (expand_value_return): Correctly convert VAL when promoting function
11904         return; support RETURN_REG being a PARALLEL.
11905
11906 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
11907
11908         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
11909
11910 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11911
11912         * hard-reg-set.h (reg_names): Constify a char*.
11913
11914         * regclass.c  (reg_names): Likewise.
11915
11916         * regs.h (reg_names): Likewise
11917
11918         * a29k/a29k.c (reg_names): Delete declaration.
11919
11920         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
11921
11922         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
11923         arc_output_function_epilogue): Likewise.
11924
11925         * elxsi/elxsi.c (reg_names): Likewise.
11926
11927         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
11928
11929         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
11930         Likewise.
11931
11932         * m88k/m88k.c (output_function_profiler): Likewise.
11933
11934         * sparc/sparc.c (sparc_flat_output_function_prologue,
11935         sparc_flat_output_function_epilogue): Likewise.
11936
11937 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
11938
11939         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
11940         warning from -Wuninitialized and put it under -W.
11941         * function.c (uninitialized_vars_warning): Warn only when the
11942         corresponding flag is set.
11943
11944 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
11945
11946         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
11947         is nonzero and the single set does not have an elt, then assign
11948         it an elt.
11949
11950         * simplify-rtx.c: New file.
11951         * Makefile.in (OBJS): Add simplify-rtx.o
11952         (simplify-rtx.o): Add dependencies.
11953         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
11954         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
11955         (cse_gen_binary, simplify_unary_operation): Delete.
11956         (simplify_binary_operation, simplify_plus_minus): Likewise.
11957         (check_fold_consts, simplify_relation_operation): Likewise.
11958         (simplify_ternary_operation): Likewise.
11959         (delete_trivially_dead_insns): Simplify the contents of the
11960         REG_EQUAL note before trying to substitute it into the source
11961         of the reg-reg copy at the end of a libcall sequence.
11962
11963         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
11964         references/callers changed.
11965
11966         * mn10200.c (mn10200_va_arg): Force the return value into a
11967         register.
11968
11969         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
11970
11971         * cccp.c (macroexpand): Avoid out of range accesses for omitted
11972         arguments.
11973
11974 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
11975
11976         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
11977
11978 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
11979
11980         * fold-const.c (fold): Fix thinko when optimizing comparisons
11981         against -0.0.
11982
11983 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
11984
11985         * gcc.texi (Passes): Update front-end files to their current
11986         location.
11987
11988 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
11989
11990         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
11991         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
11992         (PREDICATE_CODES): Add addition_operation.
11993         * alpha-protos.h (addition_operation): Declare.
11994         (secondary_reload_class): Likewise.
11995         * alpha.c (addition_operation): New.
11996         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
11997         * alpha.md (adddi3): Turn into expander.
11998         (*lda, *adddi_2): New.
11999         (movsf, movdf patterns): Don't preference integer regs.
12000         (movsi, movdi patterns): Don't preference fp regs.
12001
12002 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
12003
12004         * genrecog.c (write_switch): Check for duplicate CODE cases.
12005
12006 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
12007
12008         * ggc-common.c: Update pre-function commentary.
12009         * ggc-page.c: Likewise.
12010         (poison): Remove.
12011         (poison_pages): Use memset directly.
12012         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
12013         (ggc_collect): Poison before sweeping.
12014         * ggc-simple.c: Update pre-function commentary.
12015         (ggc_alloc_obj): Poison non-zeroed memory.
12016
12017 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
12018
12019         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
12020         match format string, even on 64-bit hosts.
12021         * gcc-page.c (ggc_page_print_statistics): Likewise.
12022
12023 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
12024
12025         * config/i386/i386.c (ix86_cpu): Revert last patch.
12026         * config/i386/i386.h (ix86_cpu): Ditto.
12027
12028 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
12029
12030         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
12031         TYPE_SIZE, convert type of result to sizetype.
12032
12033 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
12034
12035         * flow.c (count_or_remove_death_notes): Equate NULL with the
12036         universal set.
12037
12038         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
12039         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
12040         dbr_schedule.
12041
12042         * i386.c (pic_label_no): Delete.
12043         (ix86_attr_length_default): Don't use single_set to peek
12044         inside a parallel.
12045
12046         * recog.c (peephole2_optimize): Allow recog_next_insn to index
12047         the first insn after bb->end.
12048         * i386.md (push mem peeps): Scratch is live after evaluation
12049         of the memory.
12050         (cmp mem peep): Similarly.
12051
12052 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
12053
12054         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
12055         * function.c (pad_to_arg_alignment): Add missing braces.
12056
12057 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12058
12059         * alpha/alpha-protos.h (literal_section): Add prototype.
12060         (alpha_need_linkage, alpha_start_function,alpha_end_function):
12061         Constify a char*.
12062
12063         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
12064         prototype.
12065         (alpha_start_function, alpha_end_function, float_strings,
12066         alpha_need_linkage): Constify a char*
12067
12068         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
12069
12070         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
12071
12072         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12073
12074         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
12075
12076 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12077
12078         * flow.c (debug_flow_info): Add prototype.
12079
12080         * gcc.c (main): Likewise.
12081
12082         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
12083         Likewise.
12084
12085         * reload1.c (failed_reload, set_reload_reg): Likewise.
12086
12087         * mips-tfile.c (main): Likewise.
12088         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
12089         with ATTRIBUTE_NORETURN.
12090
12091 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
12092
12093         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
12094         DECL is not a memory ref.
12095
12096 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
12097
12098         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
12099         * config/i386/i386.c (ix86_cpu): Add extern attribute.
12100
12101 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
12102
12103         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
12104         * config/mips/elf64.h: ditto.
12105
12106 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
12107
12108         * expr.c (emit_push_insn): New argument alignment_pad.
12109         Update all callers.  Adjust stack pointer based on alignment pad.
12110         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
12111         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
12112         (locate_and_pad_parm): New argument alignment_pad.  Update all
12113         callers.
12114         * expr.h (emit_push_insn): Update prototype.
12115         (locate_and_pad_parm): Update prototype.
12116         * calls.c (arg_data):  Add new field alignment_pad.
12117         (initialize_argument_information): Initialize alignment_pad.
12118
12119 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
12120
12121         * except.c (free_eh_nesting_info): Free the info itself.
12122         * function.c (free_after_compilation): Don't free NULL.
12123         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
12124         (pre_edge_insert): Free inserted.
12125         * stmt.c (free_stmt_status): Don't free NULL.
12126
12127 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
12128
12129         * gcov.c (DIR_SEPARATOR): Provide default.
12130         (output_data): Add test for MS-DOS format absolute filename.
12131         (fancy_abort): Correct program name.
12132         (open_files): Open all files in binary mode.
12133         * libgcc2.c (__bb_exit_func): Likewise.
12134
12135         * profile.c (init_branch_prob): Specify binary when opening files.
12136
12137         * flags.h (flag_unwind_tables): New decl.
12138         * toplev.c (flag_unwind_table): New definition.
12139         (f_options): Add -funwind-tables.
12140         (decode_g_option): Clarify warning when unknown -g option is given.
12141         (rest_of_compilation): If inside an inlined external function,
12142         pretend we are just being declared.
12143
12144         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
12145         (dwarf2out_frame_finish): Likewise.
12146
12147 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
12148
12149         * fold-const.c (merge_ranges): If not in0, but in1, handle
12150         upper bounds equal like subset case.
12151
12152 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
12153
12154         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
12155         passed in a register but moved to the stack.
12156
12157 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
12158
12159         * gcc.c (pass_exit_codes, greatest_status): New variables.
12160         (struct option_map): Add entry for "--pass-exit-codes".
12161         (execute): Update greatest_status if error.
12162         (display_help): Add documentation for -pass-exit-codes.
12163         (process_command): Handle -pass-exit-codes.
12164         (main): Look at pass_exit_codes and greatest_status on call to exit.
12165
12166 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12167
12168         * reload.c (find_reloads): Refine test for no input reload
12169         case to not includes reloads emitted after insn.
12170
12171         * function.c (find_temp_slots_from_address): Handle sum involving
12172         a register that points to a temp slot.
12173         (update_temp_slot_address): Make recursive call if both old and
12174         new are PLUS with a common operand.
12175         * calls.c (expand_call): Mark temp slot for result as having
12176         address taken.
12177
12178         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
12179
12180         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
12181         component as well as "BINUTILS".
12182
12183         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
12184         * integrate.c (copy_rtx_and_substitute): Likewise.
12185         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
12186         All callers changed.
12187         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
12188
12189         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
12190         gdb extensions, write size of type; also be more consistent
12191         in using references when this is a subtype.
12192
12193         * pa.md (extv, extzv, insv): Use define_expand to reject constant
12194         that is out of range.
12195
12196         * loop.c (unknown_constant_address_altered): New variable.
12197         (prescan_loop): Initialize it.
12198         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
12199         (invariant_p, case MEM): Remove handling for volatile and readonly;
12200         check new variable if readonly.
12201         (check_dbra_loop): Chdeck unknown_constant_address_altered.
12202
12203         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
12204         (addr_affects_sp_p): Removed from note_mem_written and only
12205         define #ifdef AUTO_INC_DEC.
12206
12207         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
12208
12209         * regclass.c (record_reg_classes): Properly handle register move
12210         directions.
12211
12212         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
12213         Don't think valid if both operands are invalid.
12214         (struct constant_descriptor): New field RTL.
12215         (mark_const_hash_entry): Mark it.
12216         (record_constant{,_rtx}): Initialize it.
12217         (output_constant_def): Allocate RTL in permanent obstack and
12218         save in table.
12219         ({record,compare}_constant_1): Modes must match for
12220         CONSTRUCTOR of ARRAY_TYPE.
12221
12222         * c-common.h (initializer_constant_valid_p): Delete decl from here.
12223         * output.h (initializer_constant_valid_p): Move decl to here.
12224         * c-common.c (initializer_constant_valid_p): Delete function from here.
12225         * varasm.c (initializer_constant_valid_p): Move function to here.
12226
12227         * tree.h (STRIP_SIGN_NOPS): New macro.
12228         * fold-const.c (optimize_minmax_comparison): New function.
12229         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
12230         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
12231         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
12232         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
12233         widening conversions.
12234         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
12235         to look at size of mode, not precision of type; also add missing cases.
12236         (optimize_bit_field_compare, decode_field_reference): Don't try to
12237         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
12238
12239         * dwarf2out.c (ctype.h): Include.
12240         (dwarf2out_set_demangle_name_func): New function.
12241         (size_of_line_info): Deleted.
12242         (output_line_info): Compute size of line info table from difference
12243         of labels.
12244         (base_type_die, add_name_attribute): Call demangle function, if any.
12245         (field_byte_offset): Use bits per word for variable length fields.
12246         (gen_array_type_die): Add array name.
12247         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
12248         (dwarf2out_add_library_unit_info): New function.
12249
12250         * explow.c (set_stack_check_libfunc): New function.
12251         (stack_check_libfunc): New static variable.
12252         (probe_stack_range): Allow front-end to set up a libfunc to call.
12253
12254         * combine.c (simplify_comparison): When making comparison in wider
12255         mode, check for having commuted an AND and a SUBREG.
12256         (contains_muldiv): New function.
12257         (try_combine): Call it when dividing a PARALLEL.
12258         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
12259         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
12260         a PLUS.
12261         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
12262         use one of the CLOBBERs instead.
12263         (if_then_else_cond): If comparing against zero, just return thing
12264         being compared.
12265
12266         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
12267         Don't generate shifts and subtract if have conditional arithmetic.
12268
12269         * rtl.h (delete_barrier): New declaration.
12270         * jump.c (jump_optimize): Set up to handle conditional call.
12271         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
12272         (delete_barrier): New function.
12273
12274         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
12275
12276         * recog.c (nonmemory_operand): Accept ADDRESSOF.
12277
12278         * tree.c (build_type_attribute_variant): Push to obstack of
12279         ttype around type_hash_canon call.
12280
12281         * expr.c (placeholder_list): Move decl to file scope.
12282         (expand_expr): Don't force access to volatile just because its
12283         address is taken.
12284         If ignoring reference operations, just expand the operands.
12285         (expand_expr, case COMPONENT_REF): Propagate
12286         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
12287         Refine test for using bitfield operations vs pointer punning.
12288         (expand_expr, case CONVERT_EXPR): If converting to
12289         BLKmode UNION_TYPE from BLKmode, just return inner object.
12290         Use proper mode in store_field call.
12291         Properly set sizes of object to store and total size in store_field
12292         call for convert to union.
12293         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
12294         memory (like for ADDR_EXPR).  Also, don't put constant in register if
12295         we'll want it in memory.
12296         (readonly_fields_p): New function.
12297         (expand_expr, case INDIRECT_REF): Call it if LHS.
12298         (expand_assignment): Handle a RESULT_DECL where
12299         DECL_RTL is a PARALLEL.
12300         (do_jump, case WITH_RECORD_EXPR): New case.
12301         (get_inner_reference): Always go inside a CONVERT_EXPR
12302         and NOP_EXPR if both modes are the same.
12303         (store_field): Use bitfield operations if size of bitsize is not same
12304         as size of RHS's type.
12305         Check for bitpos not a multiple of alignment in BLKmode case.
12306         Do block move in largest possible alignment.
12307         (store_constructor): Set BITSIZE to -1 for variable size and properly
12308         in case of array of BLKmode.
12309         (expand_expr_unaligned): New function.
12310         (do_compare_and_jump): Call it.
12311
12312         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
12313         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
12314         does not include 'o'.
12315
12316         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
12317         both SET_DEST and SET_SRC reference a virtual register.
12318         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
12319
12320         * integrate.c (expand_inline_function): Handle case of setting
12321         virtual stack vars register (from built in setjmp); when parameter
12322         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
12323         (subst_constant): Add new parm, MEMONLY.
12324         (expand_inline_function, integrate_parm_decls): Pass new parm.
12325         (integrate_decl_tree): Likewise.
12326         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
12327         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
12328         (copy_rtx_and_substitute, case SET): Add explicit calls to
12329         copy_rtx_and_substitute for both sides.
12330
12331         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
12332         constraints.
12333         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
12334         within INDEX_TYPE, instead of before.
12335         (fixup_gotos): Use f->target_rtl, not the next insn,
12336         since latter may be from a later fixup.
12337         (expand_value_return): Correctly convert VAL when promoting function
12338         return; support RETURN_REG being a PARALLEL.
12339         (expand_return): When checking for result in regs and having
12340         cleanup, consider PARALLEL in DECL_RTL as being in regs.
12341
12342 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
12343
12344         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
12345         last_nominal_fname): Mark const.
12346         (struct include_hash: name, nshort, control_macro): Mark
12347         const.
12348         (struct macrodef: symnam): Mark const.
12349         (struct if_stack: fname): Mark const.
12350         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
12351         (IStable): New character-syntax array which encompasses all
12352         the old is_foo arrays.
12353         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
12354         is_space): New macros for interrogating IStable.
12355         (check_macro_name): Kill last argument.  All callers changed.
12356
12357         * cppinit.c (initialize_char_syntax): Delete.
12358         (is_idchar, is_idstart, is_hor_space, is_space,
12359         trigraph_table): Delete.
12360         (IStable): New.  Initialize with clever macros to avoid
12361         information duplication.
12362         (builtin_array): Table of builtins to get rid of explicit list
12363         in initialize_builtins.
12364         (initialize_builtins): Use builtins_array.
12365         (cpp_start_read): Call init_IStable, and set IStable['$'] if
12366         opts->dollars_in_ident.
12367
12368         * cppexp.c: Change all refs to is_xyz[] arrays to use new
12369         is_xyz() macros.
12370         (cpp_parse_expr): Avoid 'format string is not constant'
12371         warning. Use ISGRAPH to identify printable chars.
12372         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
12373         is_xyz() macros.
12374         (read_and_prescan): Map trigraphs to chars with open-coded
12375         if-else-if-... sequence, not a lookup table.
12376         * cpphash.c: Change all refs to is_xyz[] arrays to use new
12377         is_xyz() macros.
12378         * cpplib.c: Change all refs to is_xyz[] arrays to use new
12379         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
12380         (check_macro_name): Remove ability to report an invalid
12381         assertion name, which is never used.
12382         (do_line): Constify a couple of char *'s.
12383         * cppmain.c (main): Call cpp_cleanup before returning.
12384
12385 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
12386
12387         * ggc.h (struct ggc_statistics): New type.
12388         (ggc_get_size): New function.
12389         (ggc_print_statistics): Likewise.
12390         * ggc-common.c (ggc_stats): New variable.
12391         (ggc_mark_rtx_children): Keep statistics.
12392         (ggc_mark_tree_children): Likewise.
12393         (ggc_print_statistics): New function.
12394         * ggc-page.c (struct globals): Add bytes_mapped field.
12395         (alloc_anon): Update it.
12396         (release_pages): Likewise.
12397         (ggc_get_size): New function.
12398         (ggc_page_print_statistics): New function.
12399         * ggc-simple.c (ggc_get_size): New function.
12400
12401 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
12402
12403         * flow.c (propagate_block): When the last reference to a label
12404         before an ADDR_VEC is deleted because the reference is a dead
12405         store, delete the ADDR_VEC.
12406
12407 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
12408
12409         * resource.c (find_free_register): Don't use the frame pointer
12410         if frame_pointer_needed.
12411
12412 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
12413
12414         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
12415         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
12416
12417         * config/i960/i960.c (i960_va_start): New locals base, num.
12418         Use INDIRECT_REF instead of ARRAY_REF on valist.
12419         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
12420
12421 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
12422
12423         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
12424
12425 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
12426
12427         * tree.def (PLACEHOLDER_EXPR): Update comments.
12428
12429 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12430
12431         * c-common.c (check_format_info): Avoid non-literal format string
12432         warnings when `first_arg_num' is zero.
12433
12434 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12435
12436         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
12437
12438 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
12439
12440         * arm.md (casesi_insn): Add a clobber of the condition code
12441         register.
12442
12443 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
12444
12445         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
12446         used by both cc1 and cc1plus.
12447
12448 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
12449
12450         * config/arm/arm.c: Initialise arm_structure_size_boundary to
12451         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
12452         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
12453         to the value 32 if it has not already been defined.
12454         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
12455         Override definition in arm.h with a value of 8.
12456
12457 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
12458
12459         * c-pragma.c (push_alignment): Don't check the return value
12460         of xmalloc.
12461
12462 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
12463
12464         * sparc.h (ADJUST_COST): Fix thinko.
12465
12466 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
12467
12468         * cccp.c (rescan): Fixed obp pointer handling around call to
12469         check_expand subroutine.
12470
12471 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
12472
12473         * gcse.c (delete_null_pointer_checks): Only record non-null info
12474         for pseudos when examining stores.
12475
12476         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
12477         splitters for these patterns.  Use "#" for output templates.
12478         (addsi3_carryin_shift): New pattern.
12479
12480 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
12481
12482         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
12483         of the function return register into a plain REG until
12484         after function inlining is done.
12485
12486 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
12487
12488         * jump.c (jump_optimize_1): If we did cross-jumping, and
12489         the data will matter, rebuild the CFG.
12490         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
12491         not optimizing.  Don't run shorten_branches.
12492         * toplev.c (rest_of_compilation): Run shorten_branches after
12493         reg_to_stack.
12494
12495 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
12496
12497         * rtl.h (note_stores): Add additional paramter.
12498         * rtlanal.c (reg_set_p_1): Take additional paramter.
12499         (reg_set_last_1): Likewise.
12500         (reg_set_p): Adjust call to note_stores.
12501         (reg_set_last): Likewise.
12502         (note_stores): Pass data parameter to worker function.
12503         * alias.c (record_set): Take additional parameter.
12504         (init_alias_analysis): Pass it.
12505         * caller-save.c (mark_set_regs): Take additional parameter.
12506         (save_call_clobbered_regs): Pass NULL to note_stores.
12507         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
12508         parameter.
12509         (record_dead_and_set_regs_1): Likewise.
12510         (reg_dead_at_p_1): Likewise.
12511         (combine_instructions): Adjust calls to note_stores.
12512         (try_combine): Likewise.
12513         (record_dead_insn): Remove.
12514         (record_dead_and_set_regs): Adjust calls to note_stores.
12515         (reg_dead_at_p): Likewise.
12516         * cse.c (invalidate_skipped_set): Take additional parameter.
12517         (cse_check_loop_start): Likewise.
12518         (cse_check_loop_start_value): Remove.
12519         (cse_set_around_loop): Adjust calls to note_stores.
12520         * flow.c (notice_stack_pointer_modification): Take additional
12521         parameter.  Remove duplicate declaration.
12522         (record_volatile_insns): Adjust calls to note_stores.
12523         * gcse.c (record_set_info): Take additional parameter.
12524         (record_last_set_info): Likewise.
12525         (invalidate_nonnull_info): Likewise.
12526         (record_set_insn): Remove.
12527         (compute_sets): Adjust calls to note_stores.
12528         (last_set_insn): Remove.
12529         (compute_hash_table): Adjust calls to note_stores.
12530         (insert_insn_end_bb): Likewise.
12531         (delete_null_pointer_checks): Likewise.
12532         * global.c (mark_reg_store): Take additional parameter.
12533         (mark_reg_clobber): Likewise.
12534         (reg_becomes_live): Likewise.
12535         (global_conflicts): Adjust calls to note_stores.
12536         (build_insn_chain): Likewise.
12537         * integrate.c (note_modified_parmregs): Take additional parameter.
12538         (mark_stores): Likewise.  Make it static.
12539         (save_for_inline_nocopy): Adjust calls to note_stores.
12540         (try_constants): Likewise.
12541         * integrate.h (mark_stores): Remove declaration.
12542         * jump.c (mark_modified_reg): Take additional parameter.
12543         (thread_jumps): Adjust calls to note_stores.
12544         * local-alloc.c (validate_equiv_mem_from_store): Take additional
12545         parameter.
12546         (no_equiv): Likewise.
12547         (reg_is_set): Likewise.
12548         (validate_equiv_mem): Adjust calls to note_stores.
12549         (update_equiv_regs): Likewise.
12550         (block_alloc): Likewise.
12551         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
12552         (note_addr_stored): Take additional parameter.
12553         (note_set_pseudo_multiple_uses): Likewise.
12554         (record_initial): Likewise.
12555         (prescan_loop): Adjust calls to note_stores.
12556         (strength_reduce): Likewise.
12557         (check_dbra_loop): Likewise.
12558         * regmove.c (flags_set_1): Take additional paramter.
12559         (mark_flags_life_zones): Adjust calls to note_stores.
12560         * reload1.c (mark_not_eliminable): Take additional parameter.
12561         (forget_old_reloads_1): Likewise.
12562         (reload_cse_invalidate_rtx): Likewise.
12563         (reload_cse_check_clobber): Likewise.
12564         (reload_combine_note_store): Likewise.
12565         (move2add_note_store): Likewise.
12566         (reload): Adjust calls to note_stores.
12567         (reload_as_needed): Likewise.
12568         (emit_reload_insns): Likewise.
12569         (reload_cse_regs_1): Likewise.
12570         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
12571         (reload_combine): Adjust calls to note_stores.
12572         * resource.c (update_live_status): Take additional paramter.
12573         (mark_target_live_regs): Adjust calls to note_stores.
12574         * stupid.c (find_clobbered_regs): Take additional parameter.
12575         (stupid_life_analysis): Adjust calls to note_stores.
12576
12577 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
12578
12579         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
12580         definition.
12581
12582         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
12583         definition.
12584
12585         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
12586         of the variable arm_structure_size_boundary.
12587
12588 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
12589
12590         * alias.c (init_alias_analysis): Allocate reg_known_value and
12591         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
12592         and reg_seen.
12593         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
12594         * cse.c (cse_main): Call end_alias_analysis.
12595         * haifa-sched.c (schedule_insns): Likewise.
12596         * local-alloc. (update_equiv_regs): Likewise.
12597         * reload1.c (reload_cse_regs): Likewise.
12598
12599 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12600
12601         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
12602         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
12603         mapping from MASK_FPU.
12604
12605 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
12606
12607         * sparc.md (call): Don't bound structure return size to 0xfff.
12608
12609 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
12610
12611         * resource.c (mark_target_live_regs): Check that the target
12612         insn wasn't created after compute_bb_for_insn.
12613
12614 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
12615
12616         * ggc-page.c (poison_pages): Don't be overzealous.
12617
12618 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
12619
12620         * alias.c: Update comments for ADDRESS.
12621         (nonlocal_reference_p): Look inside the ADDRESS to determine if
12622         it is a local memory reference.
12623
12624         * c-typeck.c (build_function_call): Check that the built-in
12625         function is of class BUILT_IN_NORMAL before trying to recongize
12626         it as BUILT_IN_ABS.
12627         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
12628         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
12629
12630 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
12631
12632         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
12633         of alloca.
12634         (pre_gcse): Likewise.
12635         (hoist_expr_reaches_here_p): Likewise.
12636         (hoist_code): Likewise.
12637         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
12638         code to ...
12639         (pre_expr_reaches_here_p_work): ... here.
12640         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
12641         code to ...
12642         (expr_reaches_here_p_work): ... here.
12643
12644 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
12645
12646         * resource.c (find_basic_block): Delete.
12647         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
12648         (init_resource_info): Call compute_bb_for_insn.
12649
12650 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
12651
12652         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
12653         with already adjacent blocks, but no fallthru.
12654         (merge_blocks_move_successor_nojumps): Simplify.
12655         (debug_flow_info): New.
12656
12657         * toplev.c (rest_of_compilation): Open jump1 dump file before
12658         jump and close after, as opposed to just using dump_rtl.
12659
12660 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12661
12662         * reload.h (earlyclobber_operand_p): Declare.
12663         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
12664         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
12665         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
12666         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
12667
12668 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
12669                           Richard Henderson  <rth@cygnus.com>
12670
12671         * emit-rtl.c (emit_block_insn_before): New.
12672         (emit_block_insn_after): New.
12673         * basic-block.h: Declare them.
12674
12675         * bitmap.h: Protect from multiple inclusion.
12676
12677         * recog.c (scratch_operand): Handle VOIDmode correctly.
12678
12679         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
12680
12681         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
12682         * function.c (assign_parms): Likewise.
12683         * global.c (global_conflicts): Clarify STACK_REGS commentary.
12684
12685         * reg-stack.c (max_uid): Remove.
12686         (blocks, block_begin, block_end, block_drops_in): Remove.
12687         (block_stack_in, block_out_reg_set, block_number): Remove.
12688         (struct block_info_def, BLOCK_INFO): New.
12689         (enum emit_where): New.
12690         (current_block): New.
12691         (BLOCK_NUM): Remove.
12692         (mark_regs_pat, record_label_references): Remove.
12693         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
12694         (nan): New.
12695         (goto_block_pat, print_blocks, dump_stack_info): Remove.
12696         (reg_to_stack): Simplified test for existance of fp code.  Use
12697         flow.c code.  Call shorten_branches after cross-jump opt.
12698         (check_asm_stack_operands): Renamed from record_asm_reg_life.
12699         Return false if the asm doesn't use stack regs.  Don't do life
12700         analysis on the asm.
12701         (emit_pop_insn): Replace function pointer arg `when' with
12702         enum `where'.  Update all callers.
12703         (change_stack): Likewise.  Update basic block end.
12704         (emit_swap_insn): Use current_block->head to limit reverse search
12705         for start of block.  Use emit_block_insn_after.
12706         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
12707         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
12708         structure assignment instead of bcopy.
12709         (print_stack): New.
12710         (convert_regs_entry, convert_regs_exit): New.
12711         (convert_regs_1, convert_regs_2): Split out from convert_regs.
12712         Work on basic blocks and the CFG.
12713         (convert_regs): Use them.
12714
12715         * i386.c (output_fix_trunc): Remove code for DImode input operand
12716         not at top-of-stack.
12717         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
12718         appropriate mode.
12719         (fix_truncdi_1): Allow any mode scratch.
12720
12721 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
12722
12723         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
12724         * linux.h, netbsd.h, vms.h: Not here.
12725
12726 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
12727
12728         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
12729         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
12730         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
12731         CONDITIONAL_REGISTER_USEAGE): Use them.
12732         * config/mips/mips.c (mips_move_1word,mips_move_2words,
12733         gen_conditional_branch,override_options) : Use them.
12734         * config/mips/mips.md : Use them.
12735
12736 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
12737
12738         * i386.md (zero_extendqihi2): Use SImode register name with andl.
12739
12740 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
12741
12742         * integrate.c (function_cannot_inline_p): Don't allow inlining
12743         if setjmp is used.
12744
12745 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12746
12747         * c-parse.in (cast_expr): Constify.
12748
12749         * cccp.c (special_symbol): Likewise.
12750
12751         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
12752
12753         * dwarf2out.c (base_type_die): Likewise.
12754
12755         * global.c (allocno_compare): Likewise.
12756
12757         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
12758
12759         * regclass.c (fix_register): Likewise.
12760
12761         * rtl.h (fix_register): Likewise.
12762
12763         * stupid.c (stupid_reg_compare): Likewise.
12764
12765         * toplev.c (decode_f_option): Likewise.
12766
12767         * tree.c (build_complex_type): Likewise.
12768
12769 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
12770
12771         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
12772
12773 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12774
12775         * reload.c (find_reloads): Compute mode and nregs fields of all
12776         reloads.
12777         * reload1.c (calculate_needs_all_insns): Simplify a bit.
12778         (calculate_needs): Use precomputed mode/nregs values.
12779         (allocate_reload_reg): Likewise.
12780         Break out two...
12781         (failed_reload, set_reload_reg): ... new functions.
12782         (choose_reload_regs_init): New function, mostly broken out from...
12783         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
12784         Also lose one #if 0 block.
12785
12786 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
12787
12788         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
12789         substitution.
12790
12791 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
12792
12793         * tree.h (BLOCK_TYPE_TAGS): Remove.
12794         (BLOCK_END_NOTE): Likewise.
12795         (BLOCK_LIVE_RANGE_FLAG): Likewise.
12796         (BLOCK_LIVE_RANGE_START): Likewise.
12797         (BLOCK_LIVE_RANGE_END): Likewise.
12798         (tree_block): Remove live_range_flag, live_range_var_flag, and
12799         type_tags.  Remove end_note, live_range_start, and live_range_end.
12800         (remember_end_note): Remove prototype.
12801         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
12802         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
12803         remember_end_note.
12804         * ggc-common.c (ggc_mark_tree_children): Don't mark
12805         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
12806         * integrate.c (adjust_copied_decl_tree): Remove.
12807         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
12808         * stmt.c (last_block_end_note): Remove.
12809         (init_stmt): Don't add a GC root for it.
12810         (expand_fixup): Don't set it.
12811         (remember_end_note): Remove.
12812         (expand_end_bindings): Don't set last_block_end_note.
12813
12814 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12815
12816         * reload1.c (reload_reg_free_for_value_p): Show
12817         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
12818         reloads.
12819
12820 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
12821
12822         * expmed.c (extract_bit_field): Allow for the case of non-integer
12823         objects that are smaller than a word (like SFmode on a 64-bit
12824         machine).
12825
12826         * loop.c (basic_induction_var): A non-integer variable which is
12827         being set by a paradoxical subreg is probably not a biv.
12828
12829 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12830
12831         * prefix.c (translate_name) Check for empty prefix string.
12832
12833 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
12834
12835         * Makefile.in (CPP_CROSS_NAME): New variable.
12836         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
12837         xcpp.
12838         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
12839         names of the files to be uninstalled.
12840
12841 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
12842
12843         * collect2.c (IS_DIR_SEPARATOR): Define.
12844         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
12845
12846         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
12847         functions too.
12848
12849         * haifa-sched.c (add_dependence): Update the true dependency
12850         cache the first time we add a true dependence to the LOG_LINKS chain.
12851
12852 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
12853
12854         * fold-const.c (fold): Fix comment.
12855
12856 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12857
12858         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
12859         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
12860         dbxout_start_new_source_file, dbxout_source_file,
12861         dbxout_source_line, dbxout_finish, dbxout_type_fields,
12862         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
12863         Constify a char*.
12864         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
12865         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
12866         (dbxout_block): Initialize variable `blocknum'.
12867
12868         * dbxout.h (dbxout_init, dbxout_finish,
12869         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
12870         dbxout_args, dbxout_source_line): Constify a char*.
12871
12872         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
12873         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
12874         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
12875         low_pc_attribute, high_pc_attribute, body_begin_attribute,
12876         body_end_attribute, comp_dir_attribute, sf_names_attribute,
12877         src_info_attribute, mac_info_attribute, producer_attribute,
12878         lookup_filename, generate_macinfo_entry, fundamental_type_code,
12879         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
12880         dwarfout_undef): Constify a char*.
12881         (add_incomplete_type, retry_incomplete_types): Add prototypes.
12882
12883         * dwarfout.h (dwarfout_define, dwarfout_undef,
12884         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
12885
12886 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
12887
12888         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
12889         (MULTILIB_ISA_DEFAULT): New.
12890         (MULTILIB_DEFAULTS): Use it.
12891         * config/mips/mips.c (): Remove the now unnecessary definition
12892         of MIPS_ISA_DEFAULT.
12893         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
12894         unnecessary definition.
12895
12896 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
12897
12898         * arm.md (pic_load_addr): Add constraints to operand 1.
12899
12900 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
12901
12902         * fixinc/genfixes:  Provide a means for specifying -D options to
12903         AutoGen
12904
12905 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
12906
12907         * arm.c (arm_override_options): Correct initialization of
12908         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
12909         arm_is_strong, and arm_is_6_or_7.
12910
12911         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
12912         (note_set_pseudo_multiple_uses): New function.
12913         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
12914         if a pseudo set in the loop exit is used elsewhere.
12915
12916 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
12917
12918         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
12919
12920 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
12921
12922         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
12923         a single load-address pattern.
12924
12925 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
12926
12927         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
12928         depending on whether or not line-number notes are present.
12929
12930 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12931
12932         * cccp.c (progname, file_buf, default_include, include_file,
12933         macrodef, definition, hashval, wchar_type, user_label_prefix,
12934         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
12935         expand_to_temp_buffer, is_system_include, base_name,
12936         absolute_filename, read_name_map, open_include_file,
12937         record_control_macro, check_precompiled, check_preconditions,
12938         pcfinclude, pass_thru_directive, create_definition,
12939         check_macro_name, comp_def_part, collect_expansion,
12940         check_assertion, read_token_list, assertion_install,
12941         assertion_lookup, eval_if_expression, conditional_skip,
12942         validate_else, skip_quoted_string, quote_string, macarg1,
12943         error_from_errno, install, lookup, hashf, dump_defn_1,
12944         perror_with_name, pfatal_with_name, main, trigraph_pcp,
12945         check_white_space, rescan, handle_directive, monthnames,
12946         special_symbol, do_include, remap_include_file, write_output,
12947         arglist, do_assert, do_unassert, do_line, do_error, do_once,
12948         do_ident, do_sccs, do_xifdef, skip_if_group,
12949         output_line_directive, macroexpand, macarg, change_newlines,
12950         initialize_builtins, make_definition): Constify a char*.
12951
12952         * pcp.h (stringdef): Likewise.
12953
12954 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
12955
12956         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
12957         not of pattern.
12958
12959 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
12960                           Richard Henderson  <rth@cygnus.com>
12961
12962         * alias.c: Include ggc.h.
12963         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
12964         (record_set): Verify enough room in reg_base_value.
12965         (init_alias_analysis): Allocate reg_base_value with xcalloc.
12966         Register it as a GC root.
12967         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
12968         * Makefile.in (alias.o): Depend on ggc.h.
12969
12970         * unroll.c (unroll_loop): Verify the insn before a barrier
12971         is a JUMP_INSN before checking JUMP_LABEL.
12972
12973 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12974
12975         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
12976         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
12977         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
12978         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
12979         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
12980         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
12981
12982 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12983
12984         * output.h (ctors_section, dtors_section, bss_section): Prototype.
12985
12986         * alpha/alpha-interix.h (text_section): Delete prototype.
12987         * alpha/elf.h (text_section): Likewise.
12988         * arm/linux-elf.h (text_section): Likewise.
12989         * arm/linux-telf.h (text_section): Likewise.
12990         * c4x/c4x.h (text_section): Likewise.
12991         * dsp16xx/dsp16xx.h (bss_section): Likewise.
12992         * elfos.h (text_section): Likewise.
12993         * i386/aix386ng.h (text_section): Likewise.
12994         * i386/i386-interix.h (text_section): Likewise.
12995         * i386/sco5.h (text_section): Likewise.
12996         * i386/svr3gas.h (text_section): Likewise.
12997         * nextstep.h (text_section): Likewise.
12998         * psos.h (text_section): Likewise.
12999         * ptx4.h (text_section): Likewise.
13000         * svr3.h (text_section): Likewise.
13001         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
13002
13003 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13004
13005         * final.c (peephole): Delete prototype.
13006
13007         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
13008         (pre_insert_copies): Remove unused variable `bb'.
13009
13010         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
13011         prototypes.
13012
13013         * output.h (peephole): Add prototype.
13014
13015 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
13016
13017         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
13018         -O0.
13019
13020 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
13021
13022         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
13023         for inlined declarations.
13024
13025 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
13026
13027         * arm.c (logical_binary_operator): New fucntion.
13028         * arm.h (logical_binary_operator): Declare it.
13029         (PREDICATE_CODES): Handle logical_binary_operator.
13030         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
13031         output constraints.  Add appropriate splitters.
13032         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
13033         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
13034         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
13035
13036 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13037
13038         * genoutput.c (struct operand_data): New elt eliminable.
13039         (output_operand_data): Write it.
13040         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
13041         (compare_operands): Take it into account.
13042         * recog.h (struct insn_operand_data): New elt eliminable.
13043         * reload1.c (check_eliminable_occurrences, elimination_effects): New
13044         functions.
13045         (old_asm_operands_vec, new_asm_operands_vec): Delete.
13046         (eliminate_regs): Move code that detects changes to elimination
13047         target regs into new function elimination_effects.
13048         Delete one #if 0 block.
13049         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
13050         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
13051         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
13052         Only call eliminate_regs for real operands of the insn, not for parts
13053         of its structure or parts matched by things like match_operator.
13054         Use elimination_effects and check_eliminable_occurrences.  Use
13055         copy_insn to duplicate the pattern when not in the final pass.
13056
13057 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
13058
13059         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
13060         and fld.
13061
13062 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
13063
13064         * fixinc/README: document the "mach" machine matching test
13065         * fixinc/fixfixes.c: Implement the #else/#endif label fix
13066         * fixinc/fixtests.c: Implement the #else/#endif label test
13067         * fixinc/inclhack.def: utilize these tests and fixes
13068         * fixinc/inclhack.sh:  regen
13069         * fixinc/fixincl.x:  regen
13070         * fixinc/fixincl.sh:  regen
13071
13072 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
13073
13074         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
13075         depend on ggc.h.
13076
13077 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
13078
13079         * gcc.1: Document exit codes.
13080
13081 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13082
13083         * calls.c: Include tm_p.h later, so everything we need is defined.
13084         * expr.c: Likewise.
13085         * function.c: Likewise.
13086
13087         * except.c: Include tm_p.h.
13088
13089         * sparc.c: Likewise.
13090         (dwarf2out_cfi_label): Don't prototype.
13091         (check_return_regs, epilogue_renumber,
13092         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
13093         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
13094         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
13095         ultra_schedule_insn): Add static prototype.
13096         (data_segment_operand, text_segment_operand): Call itself with the
13097         proper number of arguments.
13098         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
13099
13100         * sparc.h: Move all declarations to sparc-protos.h.
13101         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
13102         symbolic_operand.
13103
13104         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
13105
13106         * config/svr4.h (text_section, ctors_section, dtors_section): Add
13107         Prototypes.
13108         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
13109         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
13110         ASM_OUTPUT_ASCII): Constify a char*.
13111
13112         * sparc-protos.h: New file for sparc prototypes.
13113
13114 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13115
13116         * function.c (record_insns, contains): Always declare and define.
13117         (record_insns): Mark with ATTRIBUTE_UNUSED.
13118
13119 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13120
13121         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
13122         to .section when outputting a .bss section to deal with multiple
13123         .bss input sections (as happens with -fdata-sections)
13124         Also output %progbits, not @progbits so the assembler doesn't treat as
13125         a comment.
13126         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
13127
13128         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
13129         thumb parts even when building with non-thumb CPUs, by forcing
13130         thumb mode.
13131
13132 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
13133
13134         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
13135         (movdf_const_intreg_sp64): Similarly.
13136
13137         * local-alloc.c (update_equiv_regs): Check the correct insn
13138         for pre-existing REG_EQUIV notes.
13139
13140 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
13141
13142         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
13143         block reached by a branch if we're not going to actually process
13144         this block.
13145
13146 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
13147
13148         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
13149         a local extern function declaration.
13150
13151 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
13152
13153         * i386.c (ix86_expand_prologue): Properly wrap USE around
13154         reg for CALL_INSN_FUNCTION_USAGE.
13155
13156 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
13157
13158         * config/mips/mips.md (movdf_internal1a): Allow floating-point
13159         move between GP_REGs.
13160
13161 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
13162
13163         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
13164         the mode size when finding out if an offset is legal.
13165
13166 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
13167
13168         * basic-block.h (PROP_*): Move constants from ...
13169         * flow.c: ... here.
13170         (compute_bb_for_insn): Free the array before reallocating.
13171         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
13172         (allocate_reg_life_data): Reset all reg variables collected by
13173         propagate_block.
13174         (get_block_head_tail): Don't convert from bb to block.
13175         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
13176         (find_insn_reg_weight): Take block not bb.
13177         (schedule_block): Don't set block num for moved insns.
13178         (schedule_region): Don't update_life_info or find_insn_reg_weight.
13179         (schedule_insns): Do it here instead.
13180         * combine.c (combine_instructions): Invoke compute_bb_for_insn
13181         before update_life_info.
13182         * recog.c (split_all_insns, peephole2_optimize): Update for
13183         new arg to update_life_info.
13184         * rtlanal.c (remove_note): Cope with NULL note.
13185         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
13186         if we did sched1.
13187
13188 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
13189
13190         * jump.c (jump_optimize_1): More accurately detect casesi insns.
13191
13192         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
13193         block records so that merge_blocks_nomove will clean up correctly.
13194         (split_edge): Handle casesi insns.
13195
13196         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
13197
13198 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
13199
13200         * pa.md (call, call_value): Do not emit a blockage after restoring
13201         the PIC register.
13202
13203 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
13204
13205         * c-typeck.c (c_expand_asm_operands): Fix typo.
13206
13207 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13208
13209         * arm.c (fpu_rhs_operand): Verify modes.
13210         (fpu_add_operand): Likewise.
13211         (di_operand): Likewise.
13212         (soft_df_operand): Likewise.
13213
13214 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
13215
13216         * arm.c (arm_return_in_memory): APCS rules state that the elements
13217         of a structure returned in a register must be 'integer-like'.
13218
13219 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
13220
13221         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
13222         in the source tree when the generated targets are out of date
13223         * fixinc/genfixes: Alter it to run individual fixes for make.
13224         * fixinc/README: rewrite
13225         * fixinc/inclhack.def: moved initial comments to README
13226
13227 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
13228
13229         * toplev.c (main): Do not generate an error message if an
13230         unrecognised command line switch is recognisable by another
13231         language.  If extra_warnings are enabled, then generate a
13232         warning message instead.
13233
13234 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13235
13236         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
13237         (insert_pack_attributes): Delete prototype.
13238
13239         * c-pragma.c (default_alignment): New static variable.
13240         (push_alignment): Initialize to current effective alignment.
13241         (pop_alignment): Use to set new alignment.
13242         (insert_pack_attributes): Delete function.
13243         (handle_pragma_token): Set default_alignment as well each time
13244         a #pragma pack(<n>) is encountered.
13245
13246 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
13247
13248         * reg-stack.c (stack_result): Aggregates are not returned in
13249         stack registers.
13250
13251 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
13252
13253         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
13254
13255 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
13256
13257         * basic-block.h (set_block_num): Declare.
13258         * flow.c (update_life_info): Don't call compute_bb_for_insn
13259         or free_basic_block_vars.
13260         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
13261         (insn_orig_block): Remove.
13262         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
13263         (schedule_block): Keep BLOCK_NUM up-to-date.
13264         (schedule_insns): Use compute_bb_for_insn.
13265         * recog.c (split_all_insns): Likewise.
13266         (peephole2_optimize): Likewise.
13267
13268 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
13269
13270         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
13271         if the pic register is used.
13272
13273 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13274
13275         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
13276         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
13277         if that tests TREE_PERMANENT.
13278
13279 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
13280
13281         * cse.c (invalidate_for_call): Do not remove memory references from
13282         the table here.  It's handled elsewhere.
13283
13284         * haifa-sched.c (add_dependence): Protect references to the
13285         true dependency cache with #ifdef INSN_SCHEDULING.
13286         (remove_dependence): Similarly.
13287
13288         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
13289         to the cfg code that this is a return instruction.
13290         * mn10300.md (return_internal): Similarly.
13291
13292         * combine.c (get_last_value): If the last set of a register
13293         is after subst_low_cuid, then we can not use it to determine
13294         the register's last value.
13295
13296 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13297
13298         * Makefile.in: Back out previous change.
13299
13300 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
13301
13302         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
13303
13304         * haifa-sched.c (add_dependence): Only check/update the cache
13305         if it exists.
13306         (remove_dependence): Likewise.
13307         (schedule_insns): Only create the true_dependency_cache if the
13308         average number of instructions in a basic block is very large.
13309
13310 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13311
13312         * Makefile.in (ggc-common.o): Depend on genrtl.h.
13313         (ggc-simple.o): Likewise.
13314         (ggc-page.o): Likewise.
13315
13316 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
13317
13318         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
13319         Prototype for exported functions.
13320         (pre_lcm, pre_rev_lcm): Remove prototypes.
13321         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
13322         (compute_available): Move to lcm.c, and change parameter order.
13323         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
13324         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
13325         (gcse_main): No longer call compute_preds_succs.  Rebuild the
13326         set table after reach pre pass.
13327         (pre_insert_map, pre_delete_map, edge_list): New.
13328         (alloc_pre_mem): Allocate edge vectors.
13329         (free_pre_mem): Delete edge vectors.
13330         (compute_pre_data): Call new edge based lcm routines.
13331         (process_insert_insn): New function.
13332         (insert_insn_end_bb): Use it.
13333         (pre_edge_insert): New function.
13334         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
13335         needed.
13336         (pre_insert_copies): Revamp using new edge based lcm outputs.
13337         (pre_delete): Likewise.
13338         (one_pre_gcse_pass): Insert & remove fake edges to the exit
13339         block.
13340         (compute_code_hoist_vbeinout): New new edge based routines.
13341         * lcm.c: Remove all the old LCM functions.  Replace with new ones
13342         that work with the new cfg datastructures and work with edges
13343         instead of blocks.
13344
13345 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13346
13347         * reload.h (struct reload): Add new fields "mode" and "nregs".
13348         * reload1.c: Change all occurrences of reload_mode and reload_nregs
13349         to reference the "mode" and "nregs" field within struct reload.
13350
13351 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
13352
13353         * haifa-sched.c (true_dependency_cache): New.
13354         (add_dependence): Use the true dependency cache to avoid expensive
13355         walks down the LOG_LINKS dependency list.  Add entries to the
13356         cache as necessary.
13357         (remove_dependence): Remove entries from the true dependency cache
13358         as needed.
13359         (schedule_insns): Allocate and initialize and free the true
13360         dependency cache.
13361
13362         * haifa-sched.c (schedule_insns): Do not remove inter-block
13363         dependencies anymore.
13364
13365 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
13366
13367         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
13368         * i386/t-winnt: Likewise.
13369
13370 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
13371
13372         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
13373
13374 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
13375
13376         * Makefile.in (LANGUAGES): Omit "proto".
13377         (clean): Remove stale comment about removing unprotoize.c.
13378
13379 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13380
13381         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
13382         using arithmetic on void pointers.
13383
13384 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
13385
13386         * haifa-sched.c (compute_block_forward_dependencies): Only check
13387         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
13388
13389 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
13390
13391         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
13392         (expr_equiv_p): Reject memories with different alias sets.
13393
13394 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
13395
13396         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
13397         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
13398         (f_options): Add "bounded-pointers" and "bounds-check" entries.
13399         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
13400         (lang_init): Set default for flag_bounds_check if still "unspecified".
13401
13402 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13403
13404         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
13405
13406 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13407
13408         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
13409         instructions.
13410
13411 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13412
13413         * config/c4x/c4x.md (*db_noclobber,
13414         *decrement_and_branch_until_zero_noclobber): New patterns and
13415         associated splitters.
13416
13417 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13418
13419         * config/c4x/c4x.md (parallel instruction patterns): Rework
13420         constraints to keep reload happy.
13421
13422 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13423
13424         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
13425         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
13426         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
13427         Add new patterns and associated post-reload splitters.
13428
13429 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13430
13431         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
13432
13433 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13434
13435         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
13436         if appropriate.
13437         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
13438
13439 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13440
13441         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
13442         memory mode.
13443
13444 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
13445
13446         * pa.c (move_operand): Rely on memory_address_p to determine the
13447         validity of non-indexed memory addresses.
13448         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
13449         operand in DFmode and SFmode when generating PA2.0 code.
13450
13451 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
13452
13453         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
13454
13455 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
13456
13457         * mips.c (function_prologue): Fix argument types.
13458         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
13459         (casesi_internal): Write to the scratch register.
13460
13461 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
13462
13463         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
13464         to U_CHAR **.
13465         (parse_charconst): Delete unnecessary cast when calling
13466         cpp_parse_escape.
13467         (cpplib.h): Kill prototype of cpp_parse_escape.
13468
13469 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
13470
13471         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
13472         * unroll.c (unroll_loop): Cast return value of alloca.
13473         * i370/i370.c: Include function.h and toplev.h.
13474         (i370_label_scan): Remove c++ commented abort.
13475         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
13476         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
13477         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
13478         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
13479
13480 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
13481
13482         * config/t-freebsd: Do not override USER_H.
13483         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
13484
13485 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
13486                           Mumit Khan  <khan@xraylith.wisc.edu>
13487
13488         * c-parse.in (component_decl): Support anonymous struct/union.
13489         (%expect): Update.
13490         * c-parse.y: Regenerate.
13491         * c-parse.c: Likewise.
13492         * objc/objc-parse.y: Likewise.
13493         * objc/objc-parse.c: Likewise.
13494         * c-decl.c (finish_struct): Don't sort the fields.
13495         (field_decl_cmp): Delete unused function.
13496
13497 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
13498
13499         * sparc.md (movsf_const_intreg): Revert last constraint change.
13500         (movdf_const_intreg_sp32): Likewise.
13501
13502 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
13503
13504         * cse.c: Include hashtab.h instead of splay-tree.h
13505         (struct cse_reg_info): No longer use variant union.  Add new
13506         field "regno".  All references changed to avoid union.
13507         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
13508         (free_cse_reg_info): Remove.
13509         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
13510         (get_cse_reg_info): Revamp to use expandable hash tables instead
13511         of splay trees.  Initialize new fields in cse_reg_info structure.
13512         (new_basic_block): Similarly.
13513
13514 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
13515
13516         * genrecog.c (message_with_line): Prototype.
13517         (validate_pattern): Pass along the set for the dest, not a flag.
13518         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
13519         Check for PC/CC0 as sources.
13520         (nodes_identical): Check for children position match before
13521         allowing the combination.
13522
13523         * rtl.c (read_rtx): Track line number across \\\n.
13524
13525 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
13526
13527         * mips.h (SPECIAL_MODE_PREDICATES): New.
13528         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
13529         (movdi+1, movsi+1): Add output reload constraint.
13530         (casesi_internal): Likewise.  Fix commentary.
13531         (return_internal): Use pmode_register_operand.
13532
13533 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
13534
13535         * 1750a.md (movstrqi): Add missing output reload constraint.
13536         (call_value): Likewise.
13537         * a29k.md (cpxxx patterns): Add missing match_operator mode.
13538         (jmpfdec): Add missing inout reload constraint.
13539         * elxsi.md (addsi patterns): Add missing output reload constraint.
13540         (move from sp): Use @ alternates.
13541         (call_value): No constraint on output.
13542         * fr30.md (movsi_pop): Add missing output reload constraint.
13543         (movsf_constant_store): Likewise.
13544         (splits): Remove constraints.
13545         (subsi3): Add missing mode.
13546         * i370.md (cmpstrsi+1): Add missing output reload constraint.
13547         (call_value): Likewise.
13548         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
13549         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
13550         * m32r.md (movsicc_internal): Add output reload constraint.
13551         (movstrsi_internal): Add inout reload constraints.
13552         * m88k.h (reg_names): Don't declare.
13553         (SPECIAL_MODE_PREDICATES): New.
13554         * m88k.md (*): Use register_operand not reg_or_0_operand
13555         on destinations.
13556         * mn10200.h (PREDICATE_CODES): New.
13557         * ns32k.md (ffs pattern): Add output reload constraint.
13558         * pdp11.md (sob pattern): Add inout reload constraint.
13559         * sh.md (splits): Remove constraints.
13560         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
13561         * v850.md (pattern_is_ok_for_epilogue): Likewise.
13562         * vax.md (jgequ pattern): Add inout reload constraint.
13563
13564 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
13565
13566         * configure.in (djgpp): Revert previous patch.
13567         * configure: Rebuit.
13568         * config/i386/djgpp.h: Revert previous patch.
13569
13570 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
13571
13572         * fixinc/inclhack.def: Restore patch lost during last merge of
13573         "no_bogosity" branch.
13574         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
13575
13576 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13577
13578         * fixincludes: Add a HPUX 11 fix for inttypes.h.
13579         * fixinc/inclhack.def: Same.
13580         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
13581
13582 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
13583
13584         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
13585         as the base of a PLUS.
13586
13587 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13588
13589         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
13590         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
13591
13592 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
13593
13594         * pa.md (post_stw+1): Use pmode_register_operand.
13595         (dcacheflush, icacheflush): Likewise.
13596
13597         * i386.md (movstricthi_1): Allow r/r.
13598
13599 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
13600
13601         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
13602         to (not (and (arg0) (arg1))). Similary for and.
13603
13604         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
13605         fallthrough to associate code.
13606         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
13607         bits in common.
13608
13609         * combine.c (simplify_logical): Convert XOR to IOR if operands have
13610         no bits in common; remove XOR to ROTATE conversion.
13611
13612 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13613
13614         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
13615
13616 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13617
13618         * config/c4x/c4x.c (dst_operand): New.
13619         (PREDICATE_CODES): Update.
13620         * config/c4x/c4x.h (dst_operand): Declare it.
13621         * config/c4x/c4x.md:  Define mode for each unspec usage.
13622         (move patterns):  Use dst_operand predicate instead of src_operand.
13623         (movqi_update, movqf_update): Delete.
13624
13625 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
13626
13627         * recog.c (pmode_register_operand): New.
13628         * recog.h: Declare it.
13629         * genrecog.c (pred_codes): Likewise.
13630         (special_mode_pred_table): Likewise.
13631         (validate_pattern): Don't warn no mode for address_operand.
13632
13633         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
13634         if the operand is not insn-like.
13635
13636 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
13637                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
13638
13639         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
13640
13641 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
13642
13643         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
13644         instead of general_operand in a SET_DEST.  Use const_double_operand
13645         instead of an explicit test against CONST_DOUBLE.
13646         (movsf_const_lo): Add missing register mode.
13647         (goto_handler_and_restore): Add auxiliary test for Pmode.
13648         (flush): Adjust to use address_operand.
13649         (return_sf_no_fpu): Add missing output constraint.
13650
13651 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
13652
13653         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
13654         for call return value.
13655         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
13656
13657 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
13658
13659         * toplev.c (main): Only warn about options for other languages.
13660         * collect2.c (main): Pass -w to sub-gcc.
13661
13662 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
13663
13664         * flow.c (propagate_block): Add call-clobbered registers to
13665         significant too.
13666
13667         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
13668         zapping mem_set_list.
13669         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
13670         (mark_set_1, mark_used_regs): Likewise.
13671
13672 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
13673
13674         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
13675
13676 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13677
13678         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
13679         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
13680         options. Also add a new item "C-only Warning Options" to the
13681         option summary.
13682
13683 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
13684
13685         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
13686         from multiple calls.
13687
13688 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
13689
13690         * i386.md (call value patterns): Move to the end of the file.
13691         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
13692
13693 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
13694
13695         * configure.in (djgpp configuration): Define extra_objects..
13696         * configure: Rebuilt.
13697         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
13698         (DTORS_SECTION_ASM_OP): Define.
13699         (INIT_SECTION_ASM_OP): Define.
13700         (FINI_SECTION_ASM_OP): Define.
13701         (DATA_SECTION_ASM_OP): Define.
13702         (TEXT_SECTION_ASM_OP): Define.
13703         (EH_FRAME_SECTION_ASM_OP): Define.
13704         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
13705         (STARTFILE_SPEC): Add crtbegin.o.
13706         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
13707         to here from LINK_COMMAND_SPEC.
13708         (DO_GLOBAL_CTORS_BODY): Define.
13709         (CRTSTUFF_USE_FINI_SECTION): Define
13710         (HAS_INIT_SECTION): Delete.
13711
13712 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
13713
13714         * Makefile.in (all.cross): Depend on xcpp$(exeext).
13715
13716 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
13717
13718         * pa.h (PREDICATE_CODES): New.
13719
13720         * genrecog.c (validate_pattern): Condense the destination
13721         non-lvalue message.
13722
13723 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
13724
13725         * alpha.md (call-1): Supply missing mode for operator.
13726         (*): Add missing output reload constraints.  Remove constraints
13727         from define_splits.
13728
13729         * i386.h (SPECIAL_MODE_PREDICATES): New.
13730         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
13731         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
13732         (addsi_lea_3): Add missing mode for op 3.
13733         (prologue_set_got, prologue_get_pc): Add missing modes.
13734         (*) Add missing output reload constraints.
13735
13736 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
13737
13738         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
13739         check for member bit-size overflow and use var_size if it occurs.
13740         (layout_record): Use bitsize_int() to define the type size in bits.
13741         Likewise for computation and assignment to DECL_FIELD_BITPOS.
13742         (layout_decl): Likewise when assigning to DECL_SIZE.
13743
13744 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
13745
13746         * genrecog.c (validate_pattern): Typo last change.  Verify
13747         that output operands have output reloads.
13748
13749 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
13750
13751         * genrecog.c (special_mode_pred_table): New.
13752         (NUM_SPECIAL_MODE_PREDS): New.
13753         (find_operand): New.
13754         (validate_pattern): New argument `insn'.  Warn for assignment to
13755         any predicate accepting non-lvalues.  Conditionaly warn for
13756         match_operand without a mode.  Try much harder to match source
13757         and destination modes on a set.
13758         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
13759
13760 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
13761
13762         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
13763
13764 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
13765
13766         * combine.c (simplify_logical): Recognize xor pattern that encodes
13767         rotation.
13768
13769 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13770
13771         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
13772         alignment.
13773
13774 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
13775
13776         * ggc-page.c (MAP_FAILED): Provide default.
13777
13778 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
13779
13780         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
13781         * sparc.h (PREDICATE_CODES): Update.
13782
13783 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
13784
13785         * alpha.c (some_ni_operand): New.
13786         * alpha-protos.h: Declare it.
13787         * alpha.h (PREDICATE_CODES): Update.
13788         * alpha.md (sXaddq reload insns): Use some_ni_operand
13789         for SET_DEST instead of some_operand.
13790
13791 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
13792                           Jim Wilson  <wilson@cygnus.com>
13793
13794         * genrecog.c (maybe_both_true_2): Don't compare modes of
13795         two DT_pred tests.
13796         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
13797         after find_afterward.
13798         (debug_decision_1): Dump next and afterward codes.
13799
13800 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
13801
13802         * rtl.c (dump_and_abort): Remove.
13803         (fatal_with_file_and_line): New.
13804         (fatal_expected_char): New.
13805         (read_rtx_lineno, read_rtx_filename): New.
13806         (read_skip_spaces): Track line number.
13807         (read_name): Use fatal_with_file_and_line.
13808         (read_rtx): Use fatal_expected_char.  Track line number.
13809         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
13810
13811         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
13812         if it isn't a CODE_LABEL.
13813
13814         * genattr.c (main): Set read_rtx_filename.
13815         * genattrtab.c (main): Likewise.
13816         * gencodes.c (main): Likewise.
13817         * genconfig.c (main): Likewise.
13818         * genemit.c (main): Likewise.
13819         * genextract.c (main): Likewise.
13820         * genflags.c (main): Likewise.
13821         * genopinit.c (main): Likewise.
13822         * genoutput.c (main): Likewise.
13823         * genpeep.c (main): Likewise.
13824
13825         * genrecog.c (decision_test.u.insn): Add `lineno'.
13826         (pattern_lineno, error_count): New variables.
13827         (message_with_line): New.
13828         (add_to_sequence): Break out checking code to ...
13829         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
13830         (merge_insn): Use message_with_line.
13831         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
13832         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
13833
13834 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13835
13836         * expr.c (store_constructor): Clear union if constructor is empty.
13837
13838 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
13839
13840         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
13841         Add !endian checks.  Change %{...} to %(...).
13842
13843 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
13844
13845         * i386.md (*addsi3_cc): Renamed from addcsi3.
13846         (*addsi3_carry): Renamed from addxsi3.
13847         (*subsi3_cc): Renamed from subcsi3.
13848         (*subsi3_carry): Renamed from subxsi3.
13849         (*xorqi_cc_1): Renamed from xorcqi_1.
13850         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
13851         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
13852
13853 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
13854
13855         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
13856         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
13857
13858 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
13859
13860         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
13861         climb up the chain of insns.
13862
13863 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
13864
13865         * genrecog.c (write_subroutine): Careful for null trees.
13866         (process_tree): Don't elide empty functions.
13867
13868 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
13869
13870         * Makefile.in (genrtl.o): Depend on ggc.h.
13871         * configure.in (valloc): Probe for it.
13872         (with-gc): Use ggc-page if valloc present.
13873         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
13874         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
13875         (ggc_alloc_string): Moved from ggc-page.c.
13876         * ggc-none.c (ggc_alloc_obj): New.
13877         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
13878         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
13879         (struct globals): Likewise for dev_zero_fd.
13880         (init_ggc): Likewise for it's initialization.
13881         (ggc_allocated_p): Move careful dereference from ...
13882         (ggc_lookup_page_table): ... here.  Delete.
13883         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
13884         (alloc_anon): Use valloc if no mmap.
13885         (release_pages): Use free if using valloc.
13886         (ggc_alloc_obj): Renamed from alloc_obj.
13887         (ggc_set_mark): Renamed from mark_obj.
13888         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
13889         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
13890         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
13891         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
13892         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
13893         (ggc_collect): Use fp printing instead of our own rounding.
13894         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
13895         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
13896         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
13897         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
13898         (struct ggc_string, struct ggc_any): Delete.
13899         (offsetof): Provide default definition.
13900         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
13901         (PTR_KEY): New.
13902         (struct ggc_mem): New, from corpse of ggc_any.
13903         (struct ggc_status): Delete.
13904         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
13905         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
13906         (n_strings_collected, n_anys_collected): Delete.
13907         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
13908         (ggc_alloc_string, ggc_alloc): Delete.
13909         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
13910         (ggc_free_string, ggc_free_any): Delete.
13911         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
13912         (ggc_compare_addresses, ggc_mark_string): Delete.
13913         (ggc_mark_string_if_gcable, ggc_mark): Delete.
13914         (search_data): Delete.
13915         (struct globals): New.
13916         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
13917         (tree_insert, tree_lookup): New.
13918         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
13919         (clear_marks, sweep_objs): New.
13920         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
13921         (init_ggc): Set allocated_last_gc.
13922         (ggc_push_context): Gut.  Use G.context.
13923         (ggc_pop_context): Likewise.
13924         (ggc_pop_context_1): New.
13925         (debug_ggc_tree): New.
13926         (debug_ggc_balance, tally_leaves): New.
13927         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
13928         (ggc_mark_string_if_gcable): Remove decl.
13929         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
13930         (ggc_mark_rtvec_children): New.
13931         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
13932         (ggc_mark_if_gcable): New decl.
13933         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
13934         (ggc_alloc_tree, ggc_alloc): Likewise.
13935         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
13936         (ggc_alloc_obj): New decl.
13937         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
13938         (ggc_alloc_tree, ggc_alloc): Likewise.
13939         (ggc_set_mark): New decl.
13940         * rtl.h (struct rtx_def): Remove gc_mark.
13941         (struct rtvec_def): Likewise.
13942         * tree.h (struct tree_common): Likewise.
13943
13944 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
13945
13946         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
13947         float_format and thread_file definitions.
13948         * configure: Rebuilt.
13949
13950 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
13951
13952         * extend.texi (Function Names): Document types of function names.
13953
13954 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13955
13956         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
13957         an earlyclobbered output conflict with RELOAD_INPUT reloads.
13958
13959 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13960
13961         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
13962
13963 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13964
13965         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
13966
13967 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
13968
13969         * collect2.c (main): Do prelimnary link on AIX if rflag.
13970
13971 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13972
13973         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
13974         __CTOR_LIST__ in opposite order, which is the correct order for sorted
13975         constructors.
13976         (__do_global_dtors): similarly for __DTOR_LIST__.
13977
13978 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13979                                 Diego Novillo <dnovillo@cygnus.com>
13980
13981         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
13982         FPUL_REGS.
13983
13984 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
13985
13986         * fixincl/*: Merged "no_bogosity" branch
13987         * fixincl/fixlib.h: protect against doubly defining t_bool
13988         * fixincl/server.h: protect against doubly defining t_bool
13989
13990 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
13991
13992         * genoutput.c: Include toplev.h.
13993
13994 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
13995
13996         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
13997         Undef.
13998         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
13999         * configure: Regenerate.
14000
14001 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
14002
14003         * gcse.c (delete_null_pointer_checks): Returns void.
14004
14005 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14006
14007         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
14008         * emit-rtl.c (copy_insn_1): Likewise.
14009
14010 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
14011
14012         * config/mips/mips.c (mips_build_va_list): Correct
14013         TREE_CHAIN setting when hard-float.
14014         (mips_va_start): Use corrected setting.
14015         (mips_va_arg): Likewise.  Also pass a tree to build of
14016         POSTINCREMENT_EXPR rather than a naked 'int'.
14017
14018 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
14019
14020         * ggc.h (ggc_push_context): Fix comment.
14021         (ggc_pop_context): Likewise.
14022         (mark_string_if_gcable): Likewise.
14023         * ggc-common.c (ggc_mark_rtx_children): Use
14024         ggc_mark_string_if_gcable.
14025         * ggc-page.c (ggc_lookup_page_table): New function.
14026         (ggc_allocated_p): Likewise.
14027         (mark_obj): Fix formatting.
14028         (ggc_mark_string_if_gcable): New function.
14029         * ggc-simple.c (ggc_allocated_strings): New variable.
14030         (ggc_strings_used): Likewise.
14031         (ggc_compare_addresses): New function.
14032         (ggc_pop_context): Pop the `any' memory too.
14033         (ggc_mark_string_if_gcable): New function.
14034         (ggc_collect): Initialize and tear down ggc_allocated_strings.
14035
14036 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
14037
14038         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
14039         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
14040         * rs6000.c (expand_block_move): Match movstrsi_?reg register
14041         changes.
14042
14043 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
14044
14045         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
14046         (sched_reg_live_length, sched_reg_basic_block): Delete.
14047         (current_block_num, bb_live_regs, old_live_regs): Delete.
14048         (dead_notes, struct sometimes): Delete.
14049         (sched_note_set, birthing_insn_p): Delete.
14050         (adjust_priority): Gut useless reg lifetime code.
14051         (create_reg_dead_note, attach_deaths): Delete.
14052         (attach_deaths_insn, new_sometimes_live): Delete.
14053         (finish_sometimes_live): Delete.
14054         (find_pre_sched_live, find_post_sched_live): Delete.
14055         (update_reg_usage): Delete.
14056         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
14057         (schedule_insns): Delete reg lifetime code.
14058         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
14059         (unlink_other_notes): Adjust REG_NOTE commentary.
14060         (reemit_notes): Use REG_SAVE_NOTE.
14061         (schedule_block): Likewise.
14062         (schedule_region): Allocate bitmap of blocks in region.  Use
14063         count_or_remove_death_notes.  Use update_life_info.
14064
14065         * rtl.h (REG_SAVE_NOTE): New.
14066         * rtl.c (reg_note_name): Update.
14067
14068 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
14069
14070         * combine.c (refresh_blocks, need_refresh): New.
14071         (combine_instructions): Allocate refresh_blocks.  Invoke
14072         update_life_info if needed.
14073         (distribute_notes): Mark refresh_blocks instead of installing
14074         USE insns.
14075         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
14076         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
14077
14078         * Makefile.in (recog.o): Depend on basic-block.h.
14079
14080 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
14081
14082         * genrecog.c (add_to_sequence): Thinko last change: delete
14083         shadowing allow_const_int variable.
14084
14085 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14086
14087         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
14088         __GNUC__ and __GNUC_MINOR__.
14089
14090         * gansidecl.h: Likewise.
14091
14092         * rtl.c: Likewise.
14093
14094         * rtl.h: Likewise.
14095
14096         * toplev.h: Likewise.
14097
14098         * tree.c: Likewise.
14099
14100         * tree.h: Likewise.
14101
14102         * varray.c: Likewise.
14103
14104         * varray.h: Likewise.
14105
14106 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14107
14108         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
14109         use one before a jump table.
14110
14111         * rtl.def (ADDRESS): Change documentation to match reality.
14112         * md.texi: Don't document it.
14113         * gmicro.md (load address pattern): Use 'p' constraint, delete use
14114         of ADDRESS rtx.
14115
14116         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
14117
14118 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
14119
14120         * genrecog.c (add_to_sequence): Move allow_const_int test outside
14121         known predicate block; default allow_const_int true.
14122         (debug_decision_list): New.
14123
14124 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
14125
14126         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
14127
14128 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
14129
14130         * gcse.c (gcse_main): Avoid global optimizations if we have a
14131         large number of basic blocks and the ratio of edges to blocks
14132         is high.
14133         (delete_null_pointer_checks): Likewise.
14134
14135 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
14136
14137         * c-common.c (check_format_info): Warn if format string isn't a
14138         string literal.
14139
14140 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14141
14142         * configure.in (arm*-*-*): Don't let autoconf remove brackets
14143         * configure: regenerate
14144
14145 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
14146
14147         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
14148         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
14149         (peepholes): Re-enable.
14150
14151 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
14152
14153         * Makefile.in (flow.o): Depend on TREE_H.
14154         * basic-block.h (REG_SET_EQUAL_P): New.
14155         (XOR_REG_SET): New.
14156         (n_edges): Declare.
14157         (free_regset_vector): Remove declaration.
14158         (flow_delete_insn_chain): Declare.
14159         (enum update_life_extent): New.
14160         (update_life_info, count_or_remove_death_notes): Declare.
14161         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
14162         Verify register live at bb->global_live_at_start before adding USE.
14163         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
14164         (CLEAN_ALLOCA): New.
14165         (n_edges): New.
14166         (PROP_*): New flags.
14167         (find_basic_blocks_1): Use alloc_EXPR_LIST.
14168         (clear_edges): Zero n_edges.
14169         (make_edge): Increment n_edges.
14170         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
14171         (flow_delete_insn_chain): Export.
14172         (delete_block): Decrement n_edges.
14173         (merge_blocks_nomove): Likewise.
14174         (life_analysis): Give life_analysis_1 PROP flags.
14175         (verify_wide_reg_1, verify_wide_reg): New.
14176         (verify_local_live_at_start): New.
14177         (update_life_info): Rewrite to call into propogate_block.
14178         (mark_reg): New.
14179         (mark_regs_live_at_end): After reload, if epilogue as rtl,
14180         always mark stack pointer.  Conditionally mark PIC register.
14181         After reload, mark call-saved registers, return regsiters.
14182         (life_analysis_1): Accept PROP flags not remove_dead_code.
14183         Call mark_regs_live_at_end before zeroing regs_ever_live.
14184         Use calculate_global_regs_live.  Copy global_live_at_end before
14185         calling final propagate_block.  Zero reg_next_use on exit.
14186         (calculate_global_regs_live): New.
14187         (allocate_bb_life_data): Don't allocate bb->local_set.
14188         (init_regset_vector, free_regset_vector): Remove.
14189         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
14190         Test flags before every operation.  Warn if prologue/epilogue insn
14191         would have been deleted.
14192         (mark_set_regs, mark_set_1): Accept and use FLAGS.
14193         Use alloc_EXPR_LIST.
14194         (mark_used_regs): Accept and use FLAGS, not FINAL.
14195         Remove special handling for RETURN.
14196         (try_pre_increment): Use alloc_EXPR_LIST.
14197         (dump_flow_info): Dump n_edges.
14198         (unlink_insn_chain, split_hard_reg_notes): Remove.
14199         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
14200         (find_insn_with_note, new_insn_dead_notes): Remove.
14201         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
14202         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
14203         (replace_insns): Remove.
14204         (count_or_remove_death_notes): New.
14205         (verify_flow_info): Abort on error after all checks.
14206         (remove_edge): Decrement n_edges.
14207         (remove_fake_edges): Tweek format.
14208         * haifa-sched.c (schedule_insns): Use split_all_insns.
14209         * output.h (update_life_info): Remove declaration.
14210         * recog.c (split_all_insns): From the corpse of split_block_insns,
14211         do the whole function block by block.  Use update_life_info.
14212         (recog_last_allowed_insn): New.
14213         (recog_next_insn): Mind it.
14214         (peephole2_optimize): Set it.  Walk backwards through blocks.
14215         Use update_life_info.
14216         * rtl.h (update_flow_info, replace_insns): Remove declarations.
14217         (split_all_insns): Declare.
14218         * toplev.c (rest_of_compilation): Thread prologue before flow2.
14219         Use split_all_insns.
14220
14221         * i386.md (or -1 peep2s): Disable.
14222
14223 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
14224
14225         * config/mips/mips.md (movstrsi+[123]) : Combine these into
14226         a single pattern.  Scrap the 'd' versions as unnecessary.
14227
14228         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
14229         tablejump_mips162,tablejump_internal4): The operands to a
14230         label_ref must be VOIDmode.
14231
14232 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14233
14234         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
14235
14236 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14237
14238         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
14239
14240 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14241
14242         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
14243         cache every function if ggc_p.
14244
14245 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14246
14247         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
14248         instead of copy_rtx.  Accept sequences that contain asm statements.
14249         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
14250         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
14251         orig_asm_operands_vector, copy_asm_operands_vector,
14252         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
14253         variables.
14254         * rtl.h (copy_insn, copy_insn_1): Declare.
14255
14256 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14257
14258         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
14259
14260         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
14261         arguments to `current_file_function_operand'.
14262
14263         * genrecog.c: Include hard-reg-set.h and resource.h in the
14264         generated output file.
14265
14266         * real.c: Include tm_p.h.
14267
14268 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14269
14270         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
14271         output operand.
14272
14273 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
14274
14275         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
14276         before the fctiwz insn.
14277
14278 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14279                           Mark Mitchell  <mark@codesourcery.com>
14280
14281         * tree.c (make_lang_type_fn): New funtion pointer.
14282         (make_lang_type): Call it.
14283         * tree.h (make_lang_type): Declare.
14284         (make_lang_type_fn): Likewise.
14285         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
14286
14287 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
14288
14289         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
14290         make sure that HIGH instructions are copied into BASE_REGS.
14291
14292 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
14293
14294         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
14295
14296 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
14297
14298         * c-decl.c (finish_struct): Use simpler method of
14299         removing elements of a singly-linked list.
14300
14301 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
14302
14303         * alpha.md (peephole2's): Comment out peephole2's that generate
14304         buggy code.
14305
14306 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
14307
14308         * genrecog.c (add_to_sequence): Disable mode check for
14309         wildcard matches.
14310
14311 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14312
14313         * ggc-simple.c (init_ggc): Set empty_string.
14314
14315 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
14316
14317         * configure.in: Detect mmap.  Add --with-gc=foo to select
14318         garbage collector; default to page if mmap available.
14319         * Makefile.in (GGC): Substitute.
14320
14321 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
14322
14323         * c-decl.c (ggc_p): Enable.
14324
14325 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14326
14327         * flow.c (verify_flow_info): Make it extern & unconditionally define.
14328
14329 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
14330
14331         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
14332         string for little-endian-data.
14333
14334 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
14335
14336         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
14337         case somebody tries to compile --enable-checking code with gcc
14338         1.34 or such.
14339
14340 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
14341
14342         * genrecog.c (add_to_sequence): Verify operand to label_ref is
14343         VOIDmode.
14344
14345 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
14346
14347         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
14348         * jump.c (jump_optimize_1): Document why.
14349
14350 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14351
14352         * collect2.c (scan_prog_file, scan_libraries): Prototype function
14353         pointers and casts for `int_handler' and `quit_handler'.
14354
14355         * flow.c (verify_flow_info, split_hard_reg_notes,
14356         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
14357         remove_edge, remove_fake_successors): Add static prototypes.
14358         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
14359         (mark_set_1): Initialize variable `regno'.
14360         (unlink_insn_chain): Likewise for variable `curr'.
14361         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
14362
14363         * loop.c (strength_reduce): Initialize variable
14364         `unrolled_insn_copies'.
14365         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
14366         prototypes.  Change these functions to take const PTR parameters
14367         to avoid prototype conflict when used as the comparson argument
14368         for qsort.
14369         (check_dbra_loop): Initialize variable `comparison_val'.
14370
14371         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
14372         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
14373         (find_valid_class): Initialize variable `best_class'.
14374         (find_reloads): Call memcpy, not bcopy.
14375
14376         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
14377         (hard_reg_use_compare): Don't needlessly cast away const.
14378         (reload_reg_class_lower): Likewise.
14379         (choose_reload_regs): Initialize variable `regno'.
14380
14381 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
14382
14383         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
14384
14385 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
14386
14387         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
14388         ({,d}discard): Add forward declarations.  Declare parameter as
14389         unused.
14390         (main_without_main): Explicitly declare return type to be int.
14391         (memcpy): Properly declare.
14392
14393         * libgcc2.c (toplevel): If inhibit_libc is defined and not
14394         building the trampoline support, declare malloc, free, and
14395         atexit.
14396         (__clear_cache): Mark arguments as potentially unused.
14397
14398         * frame.c (toplevel): If inhibit_libc is defined, declare
14399         malloc and free.
14400
14401 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
14402
14403         * flow.c (make_edge): Accept an optional 2D bitmap in which
14404         to cache edge existence.  Update all callers.
14405         (make_label_edge, make_eh_edge): Pass through the edge cache.
14406         (make_edges): Provide the cache.
14407
14408 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14409
14410         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
14411         a char*.
14412         (local_mbtowc): Change the type of variable `i' from int to size_t.
14413
14414         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
14415         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
14416
14417 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
14418
14419         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
14420         after other includes that define the appropriate types.  Include
14421         tm_p.h for getting user prototypes.
14422         * ggc-callbacks.c (toplevel): Ditto.
14423         * ggc-none.c (toplevel): Ditto.
14424         * gcc-page.c (toplevel): Ditto.
14425         * ggc-simple.c (toplevel): Ditto.
14426
14427 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
14428                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
14429
14430         * config/mips/mips.c (mips_move_2words): Split doubles if
14431         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
14432
14433 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
14434
14435         * genrecog.c (struct decision_test): New.
14436         (struct decision): Remove test-related members, sort the rest by size.
14437         (IS_SPLIT): Simplify.
14438         (new_decision, new_decision_test): New.
14439         (add_to_sequence): Use them.  No special handling for args of
14440         non-MATCH codes.
14441         (maybe_both_true): Renamed from not_both_true; return sense changed.
14442         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
14443         of maybe_both_true and adjusted for decision_test.
14444         (position_merit): Remove.
14445         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
14446         (merge_accept_insn): New, broken out of merge_trees.
14447         (merge_trees): Use them.  No special case for c_test; no node
14448         splitting; use test type instead of position_merit.
14449         (factor_tests): New.
14450         (simplify_tests): New.
14451         (break_out_subroutines): Don't write code now.
14452         (find_afterward): New.
14453         (write_afterward, write_switch, write_cond): New.
14454         (write_action, is_unconditional): New.
14455         (write_node): New.  Use them.
14456         (write_tree_1): Rewrite.  Use the new functions above.
14457         (write_tree): Remove afterward processing.
14458         (write_subroutine): Simplify function variant emission.
14459         (write_subroutines): New.
14460         (same_codes, clear_codes): Remove.
14461         (same_modes, clear_modes): Remove.
14462         (write_header): New, broken out of main.
14463         (make_insn_sequence): Use new_decision and new_decision_test.
14464         (process_tree): New, broken out of main.
14465         (main): Adjust for merge_trees interface change.
14466         Don't #define operands in the output file.
14467         (record_insn_name): New, broken out of make_insn_sequence.
14468         (debug_decision_2, debug_decision_1, debug_decision_0): New.
14469         (debug_decision): New.
14470
14471 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
14472
14473         * resource.c (find_free_register): Mark class_str argument const.
14474         * resource.h: Update prototype to match.
14475
14476         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
14477         * i386.md: Give all anonymous insns names.
14478
14479 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
14480
14481         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
14482         blocks.
14483
14484 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
14485
14486         * toplev.c (dbr_sched_time): Unconditional.
14487         (peephole2_time): New.
14488         (compile_file): Add pass numbers to all of the dump file suffixes.
14489         Dump peephole2_time.  Don't dump times for non-applicable passes.
14490         (rest_of_compilation): Add pass numbers to dump file suffixes.
14491         Conditionalize calls to the scheduler.
14492         * invoke.texi: Update.
14493
14494 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
14495
14496         * flow.c (make_edges): Fix insn iteration.
14497         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
14498         (find_basic_blocks_1): Fix spelling mistake.
14499
14500 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
14501
14502         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
14503         always have side-effects.  Use memset not bzero.
14504         (make_node): Likewise.
14505
14506 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
14507
14508         * stmt.c (expand_anon_union_decl): When any of the elements of the
14509         union is addressable, so is the entire union.
14510
14511 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
14512
14513         * sbitmap.c (sbitmap_ones): Don't set too many bits.
14514
14515         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
14516         * bitmap.c (bitmap_operation): Return true iff TO changed.
14517         (bitmap_equal_p): New.
14518         (bitmap_bit_p): Tidy arithmetic.
14519         (debug_bitmap_file): Likewise.
14520
14521 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
14522
14523         * toplev.c (rest_of_compilation): Turn on cse_not_expected
14524         before cse2 instead of after.
14525
14526 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
14527
14528         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
14529         register offsets.
14530
14531 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14532
14533         * cppinit.c (is_idchar initializer): Loosen tests to accept
14534         gcc 2.>6 and >2.
14535
14536 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
14537
14538         * mips.md: Define conditional move patterns for floating point
14539         operands and DI mode conditions.
14540
14541 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
14542
14543         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
14544         always have side-effects.
14545
14546 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
14547
14548         * mn10200.c (asm_file_start): Fix typo.
14549
14550         * cppinit.c (is_idchar initializer): Tighten tests for when
14551         to put the table into initialized memory.
14552
14553         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
14554         not an array of rtunion.
14555         * gcc-page.c (ggc_alloc_rtvec): Similarly.
14556         * gcc-simple (ggc_free_rtvec): Similarly.
14557
14558         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
14559         of rtunions.
14560
14561         * mbchar.h: Add missing #endif.
14562
14563         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
14564         (FPBIT, DPBIT): Define.
14565
14566 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14567
14568         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
14569
14570         * profile.c (instrument_arcs, output_gcov_string,
14571         tablejump_entry_p): Add static prototypes.
14572         (output_gcov_string): Constify a char*.
14573
14574         * regmove.c (replacement_quality, fixup_match_2): Add static
14575         prototypes.
14576
14577         * resource.h (reg_dead_p): Add extern prototype.
14578
14579         * rtl.c (trim_filename): Add static prototype.
14580
14581         * scan-decls.c (skip_to_closing_brace): Likewise.
14582
14583         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
14584         (expand_end_case): Initialize variable `range'.
14585         (emit_case_nodes): Remove unused prototype `rtx_fn'.
14586
14587         * varasm.c (asm_emit_uninitialised): Add static prototype.
14588         (asm_emit_uninitialised, assemble_variable): Mark parameter with
14589         ATTRIBUTE_UNUSED.
14590
14591 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14592
14593         * cpplib.c (if_directive_nameo): Add static prototype.
14594
14595         * cse.c (cse_insn): Remove unused variable `p'.
14596
14597         * except.c (create_rethrow_ref, push_entry,
14598         receive_exception_label, new_eh_region_entry, find_func_region,
14599         clear_function_eh_region, process_nestinfo): Add static prototypes.
14600         (get_reg_for_handler): Hide definition.
14601         (process_nestinfo): Initialize variable `extra_handlers'.
14602
14603         * expr.h (expand_builtin_longjmp): Add extern prototype.
14604
14605         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
14606
14607         * function.c (prepare_function_start): Likewise.
14608         (pop_function_context_from): Mark parameter `context' with
14609         ATTRIBUTE_UNUSED.
14610         (push_temp_slots_for_block, flush_addressof): Hide definition.
14611
14612         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
14613         solve_program_flow_graph, calculate_branch_probs,
14614         function_summary, main, fancy_abort): Add prototypes.
14615
14616         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
14617         (add_hash): Constify a char*.
14618
14619         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
14620         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
14621         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
14622
14623         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
14624
14625         * lists.c (free_list, zap_lists): Likewise.
14626
14627 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14628
14629         * alias.c (nonlocal_reference_p): Add static prototype.
14630
14631         * bitmap.c (bitmap_element_allocate): Prototype args in function
14632         pointer cast.
14633
14634         * builtins.c (stabilize_va_list): Add static prototype.
14635         (expand_builtin_va_arg): Constify a char*.
14636
14637         * c-lex.c (getch, put_back, extend_token_buffer_to,
14638         read_line_number, token_getch, token_put_back): Add static
14639         prototypes.
14640
14641         * c-parse.gperf (hash, is_reserved_word): Likewise.
14642
14643         * cccp.c (is_dir_separator): Likewise.
14644
14645 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14646
14647         * graph.h: New file to prototype functions exported by graph.c.
14648
14649         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
14650
14651         * graph.c: Include graph.h.
14652
14653         * toplev.c: Likewise.  Remove redundant prototypes.
14654
14655 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
14656
14657         * invoke.texi: Removed duplicated description for -Q.
14658
14659 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
14660
14661         * extend.texi: Grammar fix in __extension__ text.
14662
14663 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
14664
14665         * md.texi (define_peephole2): New section.
14666
14667 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
14668
14669         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
14670         (mov $-1 to or peepholer): Enable for pentium when optimizing for
14671         speed.
14672
14673 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
14674
14675         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
14676
14677 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
14678
14679         * i386.md (ffs expander): Emit Pentium friendly code for
14680         TARGET_PENTIUM.
14681
14682 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
14683
14684         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
14685         for non-trees.
14686         (build1): Likewise.
14687
14688 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14689
14690         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
14691
14692 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
14693
14694         * config/m68k/m68k.c (use_return_insn): Return false if the pic
14695         register is in use.
14696
14697 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14698
14699         * md.texi (No Constraints): Delete section.
14700         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
14701         * final.c (final_scan_insn): We always have register constraints.
14702         * genattrtab.c: Don't include "insn-config.h".
14703         (write_attr_case): We always have register constraints.
14704         * genconfig.c (register_constraint_flag): Delete.
14705         (walk_insn_part): Don't check whether we have register constraints.
14706         (main): Don't write out "#define REGISTER_CONSTRAINTS".
14707         * genoutput.c (have_constraints): Delete.
14708         (main): Don't set it.
14709         (output_operand_data): We always have constraints.
14710         (scan_operands): Likewise.
14711         (compare_operands): Likewise.
14712         * local-alloc.c (block_alloc): We always have constraints.
14713         (requires_inout): Always compile this function.
14714         * recog.c (extract_insn): We always have constraints.
14715         (constrain_operands, reg_fits_class_p): Always compile these
14716         functions.
14717         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
14718         fields.
14719         (struct insn_operand_data): Likewise.
14720         * regclass.c (regclass): We always have constraints.
14721         (record_reg_classes, copy_cost, record_address_regs,
14722         auto_inc_dec_reg_p): Always compile these functions.
14723         * regmove.c (regmove_optimize): We always have constraints.
14724         * reload.c (find_reloads): Likewise.
14725         * reload1.c (reload): Likewise.
14726         (reload_cse_simplify_operands): Likewise.
14727         * i860.c (output_delay_insn): Likewise.
14728
14729 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
14730
14731         * iris6.h (BUILD_VA_LIST_TYPE): Define.
14732
14733 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14734
14735         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
14736         for the va_list record.
14737
14738 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
14739
14740         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
14741         prologues.
14742
14743 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
14744
14745         * alias.c: Include insn-flags.h.
14746         * Makefile.in (alias.o): Update.
14747
14748 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
14749
14750         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
14751         to LTU and GEU.  Handle more cases using sbb.
14752
14753 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
14754
14755         * i386.md (truncatexfdf splitters): Do not use subreg.
14756         (fop XFmode patterns): Fix mode in operand testing.
14757
14758 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
14759
14760         * jump.c (jump_optimize_1): Amend last change to test only the
14761         form of the operand, not the insn.
14762
14763         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
14764         not register_operand to determine when B may need preloading.
14765
14766 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
14767
14768         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
14769         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
14770         (call-value patterns): Move to end of file.
14771         (*): Remove mode from label_ref in (pc) context.
14772         (movstrqi): Use memory not general_operand for BLKmode operands.
14773         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
14774         to register_operand operands.
14775         (peep2 patterns): Convert from commented-out peephole patterns.
14776
14777 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14778
14779         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
14780         to BUILT_IN_INIT_DWARF_REG_SIZES.
14781         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
14782         Renamed from BUILT_IN_DWARF_REG_SIZE; call
14783         expand_builtin_init_dwarf_reg_sizes.
14784         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
14785         with __builtin_init_dwarf_reg_size_table.
14786         * dwarf2out.c (struct reg_size_range): Delete.
14787         (expand_builtin_init_dwarf_reg_sizes): New function.
14788         (expand_builtin_dwarf_reg_size): Delete.
14789         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
14790         (expand_builtin_dwarf_reg_size): Don't declare.
14791         * libgcc2.c (dwarf_reg_size_table_initialized): New.
14792         (dwarf_reg_size_table): New.
14793         (init_reg_size_table): New function.
14794         (copy_reg): Use dwarf_reg_size_table.
14795         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
14796         before use.
14797
14798 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
14799
14800         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
14801         Correctly build argument list to constructor and destructor functions.
14802
14803 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
14804
14805         * c-tree.h (warn_float_equal): Declare.
14806         * c-decl.c (warn_float_equal): Define.
14807         (c_decode_option): Recognize -W[no-]float-equal.
14808         * c-typeck.c (build_binary_op): Conditionally warn
14809         about equality tests of floating point types.
14810         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
14811         * invoke.texi: Add docs for -Wfloat-equal warning.
14812
14813 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
14814
14815         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
14816         generating RTL directly.
14817         * mips.h (INIT_TARGET_OPTABS): Likewise.
14818         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
14819
14820         * expr.h (init_mov_optab): Delete declaration
14821
14822         * h8300.c (WORD_REG_USED): Update to avoid useless register
14823         saves in interrupt functions and functions which never return.
14824
14825         * cse.c (struct set): Delete inner_dest_loc field.
14826         (cse_insn): Remove assignments to inner_dest_loc field.
14827
14828 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
14829
14830         * ggc-page.c: Don't include <unistd.h> etc taken care of
14831         by "system.h".  Include <sys/mman.h> afterward.
14832
14833 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
14834
14835         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
14836         ggc_alloc_string.
14837
14838 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
14839
14840         * xcoffout.c (xcoffout_declare_function): Add documentation.
14841         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
14842         TARGET_64BIT.  Compare constant to -1, not bit pattern.
14843         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
14844         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
14845         gen_movsi typos.
14846
14847 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
14848
14849         * dwarf2out.c (add_abstract_origin_attribute): Abort if
14850         origin_die is NULL.
14851         (gen_inlined_enumeration_type_die): Do not abort if the type has
14852         not been writeen out.
14853         (gen_inlined_structure_type_die): Do not abort if the type has
14854         not been writeen out.
14855         (gen_inlined_union_type_die): Do not abort if the type has
14856         not been writeen out.
14857         (gen_tagged_type_instantiation_die): Do not abort if the type
14858         has not been written out.
14859
14860 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14861
14862         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
14863         call it.
14864         * reg-stack.c (straighten_stack): Copy hard reg set with
14865         COPY_HARD_REG_SET.
14866
14867 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
14868
14869         * builtins.c (stabilize_va_list): Stabilize array type va_list
14870         to a pointer type, not the base record type.
14871         (expand_builtin_va_copy): Dereference the pointers explicitly;
14872         use the correct size for the copy.
14873
14874         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
14875         (rs6000_va_arg): Likewise.
14876
14877 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
14878
14879         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
14880
14881 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
14882
14883         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
14884         field.
14885         (DECL_BUILT_IN_CLASS): Adjust accordingly.
14886
14887 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
14888
14889         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
14890         (init_ggc): Use it instead of a constant.
14891         (ggc_collect): Bound allocated_last_gc by it.
14892
14893 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
14894
14895         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
14896         with va_list.
14897
14898 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
14899
14900         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
14901         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
14902         * configure:  Regen.
14903         * config/mips/openbsd.h:  New, OpenBSD little endian target.
14904         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
14905         * config/mips/xm-openbsd.h:  New, OpenBSD host.
14906
14907 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
14908
14909         * config/m68k/m68k.c (output_function_prologue,
14910         output_function_epilogue): Use
14911         current_function_uses_pic_offset_table instead of regs_ever_live
14912         to decide whether to save/restore pic register.
14913         (legitimize_pic_address): Don't modify regs_ever_live any more.
14914
14915 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
14916
14917         * function.h (struct function): Add x_dont_save_pending_sizes_p.
14918         * stor-layout.c (variable_size): Don't add sizes to the pending
14919         sizes list if x_dont_save_pending_sizes_p is set.
14920
14921 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
14922
14923         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
14924         for symbolic_operand().
14925         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
14926
14927 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14928
14929         * combine.c (gen_rtx_combine): Add missing call to va_end().
14930
14931         * final.c (asm_fprintf): Likewise.
14932
14933         * genattrtab.c (attr_rtx): Likewise.
14934
14935 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
14936
14937         * cse.c: Update comments.
14938         (cse_insn): When converting a conditional/computed jump into
14939         an unconditional jump, always make sure a BARRIER immediately
14940         follows the converted jump.  Do not delete unreachable code.
14941         (cse_basic_block): Do not delete unreachable code.
14942         * toplev.c (rest_of_compilation): Move call to
14943         delete_trivially_dead_insns after the conditional call to
14944         jump_optimize.
14945
14946 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14947
14948         * collect2.c (make_temp_file): Don't prototype.
14949
14950         * gcc.c (make_temp_file): Likewise.
14951
14952         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
14953
14954 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
14955
14956         * varasm.c (asm_emit_uninitialised): New function: Generate
14957         the assembler statements necessary to declare an uninitialised
14958         variable.
14959         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
14960         variable.
14961         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
14962         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
14963         section.
14964         (assemble_variable): Use asm_emit_uninitialised to emit an
14965         uninitialised variable.
14966
14967 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
14968
14969         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
14970         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
14971         <geoffk@cygnus.com>.
14972
14973 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14974
14975         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
14976         * c-common.h (builtin_function): Don't declare.
14977
14978         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
14979         DECL_BUILT_IN.
14980         (pushdecl): Likewise.
14981         (finish_decl): Likewise.
14982         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
14983         int.  All callers changed.
14984         Set the builtin's DECL_BUILT_IN_CLASS.
14985         * tree.h (enum built_in_class): New.
14986         (enum built_in_function): Delete NOT_BUILT_IN.
14987         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
14988         in a union.
14989         (DECL_SET_FUNCTION_CODE): Likewise.
14990         (DECL_BUILT_IN_CLASS): New macro.
14991         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
14992         (struct tree_decl): Split builtin function code field into a
14993         struct.
14994         (builtin_function): Declare.
14995
14996 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
14997
14998         * optabs.c (init_traps): Fix typo in last change.
14999
15000 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
15001
15002         * toplev.c (rest_of_decl_compilation): Update comment.
15003
15004 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15005
15006         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
15007         in .sbss if appropriate.
15008         (EXTRA_SECTION_FUNCTIONS): Add sbss.
15009         (SBSS_SECTION_ASM_OP): New macro.
15010         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
15011         (EXTRA_SECTIONS): Add in_sbss.
15012         * config/mips/mips.h: Prototype sbss_section.
15013
15014 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
15015
15016         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
15017         to disappear.
15018
15019 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
15020
15021         * optabs.c (init_traps): Register trap_rtx as a GC root.
15022
15023 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15024
15025         * config/mips/mips.c (function_arg_pass_by_reference): Define
15026         unconditionally, since it's called unconditionally.
15027
15028 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
15029
15030         * toplev.c (documented_lang_options): Add -fshort-wchar.
15031         * c-decl.c (c_decode_option): Likewise.
15032         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
15033         for wchar_t.
15034         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
15035         * gcc.c (default_compilers): If -fshort-wchar,
15036         override __WCHAR_TYPE__.
15037         * tm.texi (C Dialect Options): Add -fshort-wchar.
15038
15039         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
15040         symbol for a variable.
15041
15042         * cpplib.h (CPP_PREPROCESSED): New macro.
15043         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
15044         we're seeing this input for a second time.
15045
15046 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
15047
15048         * emit-rtl.c (init_emit_once): Initialize modes first.
15049
15050 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
15051
15052         * config/i386/i386.c (pic_label_name): Change to char pointer.
15053         (global_offset_table): New variable.
15054         (load_pic_register): Fill global_offset_table if it hasn't
15055         already been done.  Allocate pic_label_name dynamically.
15056         * ggc.h (empty_string): New variable.
15057         * ggc-simple.c (empty_string): Likewise.
15058         (init_ggc): Allocate empty_string and add as root.
15059         * stmt.c (digit_strings): New variable.
15060         (init_stmt): Add last_block_end_note as root.  Allocate and
15061         initialize digit_strings.
15062         (expand_asm_operands): Use empty_string instead of string
15063         constant.  Use digit_strings instead of string constants.
15064         * profile.c (init_arc_profiler): Allocate string with
15065         ggc_alloc_string instead of xmalloc.
15066         (output_func_start_profiler): Likewise.
15067         * c-typeck.c (digest_init): Check if init is error_mark_node.
15068
15069 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
15070                           Richard Henderson  <rth@cygnus.com>
15071
15072         * ggc-page.c: New file.
15073         * Makefile.in (ggc-page.o): New.
15074
15075 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
15076
15077         * invoke.texi: Document -fdelete-null-pointer-checks
15078         * toplev.c (flag_delete_null_pointer_checks): New.
15079         (f_options): Add entry for -fdelete-null-pointer-checks.
15080         (rest_of_compilation): Conditionalize null pointer check
15081         elimination on flag_delete_null_pointer_checks.
15082         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
15083
15084 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
15085
15086         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
15087         copyright notice and special exception to GPL.
15088
15089 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15090
15091         * abi64.h (mips_function_value): Add prototype arguments.
15092
15093         * mips-protos.h: New file with mips prototypes.
15094
15095         * mips.c: Include "tm_p.h".
15096         (mktemp, lookup_name): Add prototype arguments.
15097         (extern_list, string_constant, mips_fill_delay_slot,
15098         mips_output_external, mips_output_external_libcall,
15099         mips_output_filename, mips_declare_object, function_prologue,
15100         mips_expand_prologue, function_epilogue, mips16_constant,
15101         build_mips16_function_stub, mips_output_conditional_branch):
15102         Constify a char*.
15103         (mips_va_start): Remove unused variable `u'.
15104         (mips_va_arg): Cast value to unsigned when comparing against one.
15105         (trace): Delete.
15106         (save_restore_insns, mips_expand_prologue): Add missing arg in
15107         call to `large_int'.
15108
15109         * mips.h: Move prototypes to mips-protos.h.
15110         (data_section, memory_address_p, rdata_section,
15111         readonly_data_section, simple_epilogue_p, text_section): Delete
15112         prototypes delcared elsewhere.
15113         (mips_epilogue_delay_slots, print_options): Delete unused decls.
15114         (trace): Delete.
15115         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
15116
15117         * mips.md: Delete extra args in call to `mips_move_2words'.
15118
15119         * xm-iris6.h (alloca): Add prototype argument.
15120
15121         * genpeep.c: Include "tm_p.h" in generated output file.
15122
15123 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15124
15125         * basic-block.h (find_edge_index): Change parameters.
15126         * flow.c (verify_edge_list): Pass basic_block parameters to
15127         find_edge_index instead of integers.
15128
15129 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
15130
15131         * combine.c (simplify_comparison): Use an unsigned shift to adjust
15132         the constant.
15133
15134 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
15135
15136         * gcc.1: Fix a formatting error.
15137
15138 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15139
15140         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
15141         i786, mn10200, mn10300, pdp11, v850.
15142
15143 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
15144
15145         * libgcc2.c (num_digits): Add prototype with
15146         __attribute__((const)).
15147         (__terminate): Add prototype.
15148
15149 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
15150
15151         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
15152
15153         * alpha/alpha.c (print_operand): Fix type of `code'.
15154         (alpha_output_filename): Constify.
15155         * alpha/alpha.h: Move all function declarations ...
15156         * alpha/alpha-protos.h: ... here.  New file.
15157         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
15158         (SECTION_FUNCTION_TEMPLATE): Likewise.
15159
15160 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15161
15162         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
15163         * expr.c (expand_expr): Likewise.
15164         (do_jump): Likewise.
15165         (do_store_flag): Pass ccp_store_flag to can_compare_p.
15166         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
15167         accessor macros.
15168         (enum can_compare_purpose): New.
15169         (can_compare_p): Adjust prototype.
15170         (prepare_cmp_insn, prepare_operand): Declare.
15171         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
15172         * optabs.c (cmp_available_p): Deleted.
15173         (expand_abs): Pass ccp_jump to can_compare_p.
15174         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
15175         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
15176         Call can_compare_p rather than cmp_available_p.
15177         (prepare_operand): No longer static.
15178         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
15179         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
15180         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
15181         sequence to use emit_cmp_and_jump_insns.
15182         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
15183
15184 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
15185
15186         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
15187         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
15188         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
15189         (plus (reg) (const_int 0))
15190         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
15191
15192 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
15193
15194         * rs6000.c (expand_block_move): DImode loads and stores require
15195         word-aligned displacements.  Increment address registers with
15196         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
15197
15198 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
15199
15200         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
15201         is no name for the base type, rather than segfault.  If we are
15202         writing out a complex integer type, use DW_ATE_lo_user.
15203
15204         * expr.c (emit_move_insn_1): If we are copying a complex that fits
15205         in one word or less (complex char, complex short, or on 64 bit
15206         systems complex float) to/from a hard register, copy it through
15207         memory instead of dying in gen_{real,imag}part.  If we have a
15208         short complex type, prevent inlining since it allocates stack
15209         memory.
15210
15211         * tree.c (build_complex_type): If we are writing dwarf2 output,
15212         generate a name for complex integer types.
15213
15214 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15215
15216         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
15217         * flow.c (remove_edge): Remove extra whitespace.
15218         (remove_fake_edges): Fix comment.
15219         (add_noreturn_fake_exit_edges): Use the correct name.
15220
15221 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
15222
15223         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
15224         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
15225         (clean): Depend on INTL_CLEAN.
15226         (maintainer-clean): Adjust.
15227
15228 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15229
15230         * configure.in (AC_PREREQ): Bump to 2.13.
15231         (AC_C_STRINGIZE): Call this instead of using a custom macro.
15232
15233         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
15234
15235         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
15236
15237         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
15238
15239         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
15240         (HAVE_STRINGIZE): Define.
15241
15242 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
15243
15244         * c-parse.in: save and restore warn_pointer_arith on __extension__
15245         along with pedantic.
15246         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
15247         Set the type of extension to itype rather than $<itype>1 kludge.
15248         * extend.texi (Alternate Keywords): Adjust documentation.
15249         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
15250
15251 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
15252
15253         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
15254         most assembler templates.
15255
15256         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
15257         FP loads and stores.
15258         (following_call): Always return zero for the PA8000.
15259         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
15260         FP loads and stores.
15261         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
15262
15263         * pa.h (BRANCH_COST): Define.
15264
15265         * pa.md (return, return_internal): Use bve for PA2.0.
15266
15267         * pa.md (fused multiply): Add variants which reduce height for the
15268         fused multiply, but which still generate 2 insns.
15269         (fnegabs): Similarly.
15270
15271         * pa.md (subsi3): Turn into an expander.  Create two anonymous
15272         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
15273         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
15274
15275         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
15276         for TARGET_PA_20.
15277         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
15278         code generation.
15279         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
15280         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
15281
15282         * regclass.c (init_regs): Add "top_of_stack" as a garbage
15283         collection root.
15284
15285         * flow.c (record_active_eh_regions): Terminate loop after finding
15286         the last insn in the last basic block.
15287
15288 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15289
15290         * config/c4x/c4x.md: Delete parallel instruction peepholes.
15291
15292 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15293
15294         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
15295
15296 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15297
15298         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
15299         splitting to not use output template.
15300
15301 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15302
15303         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
15304         * config/c4x/c4x.c (c4x_va_start): New function.
15305
15306 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
15307
15308         * genrecog.c (not_both_true): Handle correctly cases when called for
15309         tests with different positions in the insn.
15310
15311 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15312
15313         * machmode.h (HOST_PTR_PRINTF): Move from here ...
15314
15315         * system.h (HOST_PTR_PRINTF): ... to here.
15316
15317         * mips-tfile.c: Don't include machmode.h.
15318
15319         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
15320         (mips-tfile.o): Don't depend on machmode.h.
15321
15322 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15323
15324         * haifa-sched.c (sched_analyze): Rename local variable `region' to
15325         avoid conflicts with typedef struct `region' at the top level scope.
15326
15327 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
15328
15329         * basic-block.h (basic_block): Add eh_beg, eh_end.
15330         * flow.c (entry_exit_blocks): Update.
15331         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
15332         Call new functions.
15333         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
15334         lists.c functions to allocate insn lists.
15335         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
15336         edge creation ...
15337         (make_eh_edge): ... here.  New.
15338         (move_stray_eh_region_notes): New.
15339         (record_active_eh_regions): New.
15340         (delete_unreachable_blocks): Split out block merging ...
15341         (try_merge_blocks): ... here.  New.
15342         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
15343         Dump debugging data.
15344         (merge_blocks_move_successor_nojumps): Likewise.
15345         (merge_blocks): Use eh_beg+eh_end to validate block movement.
15346
15347 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15348
15349         * extend.texi (Bound member functions): Document unbound pmf
15350         conversion.
15351
15352 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15353
15354         * flow.c (split_edge): Handle insertion on a fallthrough edge which
15355         has the EXIT_BLOCK as a dest.
15356
15357 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15358
15359         * flow.c (remove_edge): New function to remove an edge from the
15360         flow graph.
15361         (remove_fake_successors): New function to remove fake successor edges.
15362         (remove_fake_edges): New function to remove all fake edges from the
15363         flow graph.
15364         (add_fake_exit_edges): New function to add fake edges from all blocks
15365         with no successors to the exit block.
15366         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
15367         prototypes for new functions.
15368
15369 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15370
15371         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
15372         Use Pmode to determine whether to output .dword or .word.
15373
15374 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
15375
15376         * tree.c (built_in_filename): New variable.
15377         (BUILT_IN_FILENAME): New macro.
15378         (init_tree_codes): Allocate built_in_filename.
15379         (make_node): Use built_in_filename instead of string constant.
15380
15381 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
15382
15383         * configure.in: Add fr30 target.
15384         * configure: Regenerate.
15385         * config/fr30: New directory.
15386         * config/fr30/crti.asm: New file.
15387         * config/fr30/fr30.c: New file.
15388         * config/fr30/crtn.asm: New file.
15389         * config/fr30/fr30.h: New file.
15390         * config/fr30/fr30.md: New file.
15391         * config/fr30/lib1funcs.asm: New file.
15392         * config/fr30/t-fr30: New file.
15393         * config/fr30/xm-fr30.h: New file.
15394
15395 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
15396
15397         * flow.c (merge_blocks_move_successor_nojumps): Delete the
15398         BARRIER at the end of the successor, not the BARRIER before
15399         the successor.
15400
15401         * pa.c (pa_add_gc_roots): Fix thinko in last change.
15402
15403 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
15404
15405         * stmt.c (any_pending_cleanups): Don't crash when
15406         current_function->stmt is unset.
15407
15408 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15409
15410         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
15411         other initializations that may use it for relative offsets.
15412
15413 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15414
15415         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
15416         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
15417         * config/i386/sol2dbg.h: Removed.
15418         * config/i386/sol2gas.h: New file, to enable gas work-around.
15419         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
15420         Don't use sol2dbg.h.
15421         * configure: Rebuilt.
15422
15423 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
15424
15425         * invoke.texi (-fthis-is-variable): Remove documentation.
15426
15427 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
15428
15429         * basic-block.h (compute_bb_for_insn): Declare.
15430         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
15431         to use; set size of basic_block_for_insn directly.
15432         (find_basic_blocks): Update.
15433
15434 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15435
15436         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
15437
15438 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15439
15440         * crtstuff.c (ON_EXIT): Delete empty macro definition.
15441         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
15442
15443 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
15444
15445         * c-decl.c (c_decode_option): Extend comment.
15446
15447 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
15448
15449         * toplev.c (progname): Make 'const char *'
15450         (flag_print_mem): Move out of main.
15451         (version_flag): Move out of main.
15452         (filename): Move out of main.
15453         (debug_args): Remove g prefix from options.
15454         (documented_lang_options): Remove cpplib specific options.
15455         (display_help): Add g prefix to debug options.
15456         (check_lang_option): Delete this function.
15457         (decode_d_option): New function: Decode -d... option.
15458         (decode_f_option): New function: Decode -f... option.
15459         (decode_W_option): New function: Decode -W... option.
15460         (decode_g_option): New function: Decode -g... option.
15461         (independent_decode_option): New function: Decode a language
15462         independent command line option.
15463         (main): Invoke lang_decode_option and then
15464         independent_decode_option on each command line option in
15465         turn.
15466
15467 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
15468
15469         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
15470          * fold-const.c (fold_range_test): Do not try to fold the range
15471          test if the rhs or lhs has side effects.
15472
15473         * basic-block.h (compute_flow_dominators): Declare.
15474
15475         * gcse.c (alloc_code_hoist_mem): New function.
15476         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
15477         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
15478         (hoist_code, one_code_hoisting_pass): Likewise.
15479         (gcse_main): If optimizing for size, then hoist expressions
15480         computed in multiple dominated basic blocks.
15481
15482         * gcse.c (invalid_nonnull_info): New function.
15483         (delete_null_pointer_checks): Likewise.
15484         * rtl.h (delete_null_pointer_checks): Declare.
15485         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
15486
15487         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
15488         (merge-blocks_move_successor_nojumps): Likewise.
15489         (merge_blocks): Allow merging of some blocks, even if it requires
15490         physical movement of the blocks, but not if it requires new jumps.
15491
15492         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
15493         Callers and prototype changed.
15494         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
15495
15496 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15497
15498         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
15499         -YP when both -p and -pg are present.  From i386/sol2.h.
15500
15501 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15502
15503         * Makefile.in (distclean): Delete tm_p.h.
15504         * configure.in: Create a new file, "tm_p.h", from a list in
15505         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
15506         "i386/i386-protos.h".
15507
15508         * alias.c: Include "tm_p.h".
15509         * c-typeck.c: Likewise.
15510         * calls.c: Likewise.
15511         * cse.c: Likewise.
15512         * emit-rtl.c: Likewise.
15513         * explow.c: Likewise.
15514         * expmed.c: Likewise.
15515         * expr.c: Likewise.
15516         * final.c: Likewise.
15517         * flow.c: Likewise.
15518         * fold-const.c: Likewise.
15519         * function.c: Likewise.
15520         * gcse.c: Likewise.
15521         * global.c: Likewise.
15522         * haifa-sched.c: Likewise.
15523         * integrate.c: Likewise.
15524         * jump.c: Likewise.
15525         * local-alloc.c: Likewise.
15526         * loop.c: Likewise.
15527         * optabs.c: Likewise.
15528         * recog.c: Likewise.
15529         * reg-stack.c: Likewise.
15530         * regclass.c: Likewise.
15531         * regmove.c: Likewise.
15532         * reload.c: Likewise.
15533         * reload1.c: Likewise.
15534         * reorg.c: Likewise.
15535         * resource.c: Likewise.
15536         * stmt.c: Likewise.
15537         * stor-layout.c: Likewise.
15538         * toplev.c: Likewise.
15539         * tree.c: Likewise.
15540         * unroll.c: Likewise.
15541         * genattrtab.c (main): Make generated file include "tm_p.h".
15542         * genemit.c (main): Likewise.
15543         * genoutput.c (main): Likewise.
15544         * genrecog.c (main): Likewise.
15545
15546         * i386.h: Delete all prototypes.
15547         * i386.c: Include "tm_p.h".
15548         (ix86_attr_length_default): Call constant_call_address_operand
15549         with correct number of arguments.
15550         * i386-protos.h: New file.
15551         * i386.md (unnamed patterns): Call constant_call_address_operand
15552         with correct number of arguments.
15553         (exception_receiver): Call load_pic_register with correct number
15554         of arguments.
15555
15556 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
15557
15558         * c-pragma.c (mark_align_stack): Dereference the void* properly.
15559
15560 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
15561
15562         * rtl.h (insns_safe_to_move_p): New function.
15563         * loop.c (find_and_verify_loops): Use it.
15564         * rtlanal.c (insns_safe_to_move_p): Define it.
15565
15566 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
15567
15568         * c-pragma.c: Include ggc.h.
15569         * Makefile.in (c-pragma.o): Update.
15570
15571 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15572
15573         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
15574         (LIB_SPEC): Likewise.
15575         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
15576         Reindent -YP/-p/-pg.
15577         Copied from config/sparc/sol2.h.
15578
15579 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
15580
15581         * c-pragma.c (mark_align_stack): New.
15582         (init_pragma): New.
15583         * c-pragma.h (init_pragma): Declare it.
15584         * c-lex.c (init_parse): Call it.
15585
15586 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15587
15588         * configure.in: Pick up thread library on Solaris/x86 just
15589         like on Solaris/sparc.
15590         * configure: Rebuilt.
15591
15592 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
15593
15594         * rtl.h (global_rtx_index): New enum.
15595         (global_rtl): Change to array of rtx.
15596         (pc_rtx, cc0_rtx): Redefine accordingly.
15597         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
15598         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
15599         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
15600         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
15601         (const_int_rtx): Change to array of rtx.
15602         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
15603         accordingly.
15604         * emit-rtl.c (global_rtl): Change to array of rtx.
15605         (const_int_rtx): Change to aray of rtx.
15606         (gen_rtx_CONST_INT): Redefine accordingly.
15607         (init_emit_once): Allocate and initialize global_rtl.  Likewise
15608         for const_int_rtx.  Add both as GC roots.
15609         * genattrtab.c (global_rtl): Update declaration.
15610
15611 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
15612
15613         * Makefile (USER_H): Add iso646.h back.
15614
15615 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
15616
15617         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
15618         zapping the LOG_LINKS of sched_before_next_call.
15619
15620         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
15621         * pa.c (insn_refs_are_delayed): Renamed from
15622         insn_sets_and_refs_are_delayed.
15623
15624 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
15625
15626         * functiion.h (struct function): Add x_whole_function_mode_p.
15627         (retrofit_block): Declare.
15628         * function.c (retrofit_block): New function.
15629         (identify_blocks): Add assertions.  Allow an incomplete set of
15630         block notes if we're still generating code for the function.
15631         * integrate.c: Include loop.h.
15632         (expand_inline_function): Call find_loop_tree_blocks to map block
15633         notes to blocks when in whole-function mode.  Use retrofit_block
15634         to insert new BLOCKs for the inlined function, rather than
15635         insert_block.
15636         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
15637         * Makefile.in (integrate.o): Depend on loop.h.
15638
15639 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
15640
15641         * tree.h (warn_about_unused_variables): Declare.
15642         * stmt.c (warn_about_unused_variables): New function, split out
15643         from ...
15644         (expand_end_bindings): Here.
15645
15646 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
15647
15648         * stmt.c (preserve_subexpressions_p): Don't crash when
15649         current_function->stmt is unset.
15650
15651 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
15652
15653         * stmt.c (expand_start_bindings): Allow callers to pass a flag
15654         indicating that no NOTE_INSN_BLOCK_BEG note is required.
15655         (expand_start_target_temps): Use it.
15656         * except.c (expand_eh_region_start_for_decl): Likewise.
15657         * expr.c (expand_expr): Likewise.
15658
15659 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15660
15661         * fold-const.c (operand_equal_p): Pay attention to side effects.
15662
15663 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
15664
15665         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
15666         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
15667
15668         * tlink.c (scan_linker_output): Look for keywords before accepting
15669         a mangled name in quotes.
15670
15671 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
15672
15673         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
15674         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
15675
15676 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
15677
15678         * alpha.md: Revert Thu Nov 26 change that came in through the
15679         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
15680         Avoid earlyclobber when possible.
15681
15682 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15683
15684         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
15685
15686         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
15687         Define HAVE_ON_EXIT.
15688
15689 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15690
15691         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
15692         CTYPE_CONV in all ctype macros.
15693
15694         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
15695         from system.h.
15696
15697         * cexp.y (initialize_random_junk): Likewise.
15698
15699         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
15700
15701         * i370.c (handle_pragma): Likewise.
15702
15703         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
15704
15705         * v850.c (override_options): Likewise.
15706
15707         * doprint.c (_doprnt): Likewise.
15708
15709         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
15710         Likewise.
15711
15712         * fixinc/server.c (load_data): Likewise.
15713
15714         * fold-const.c (real_hex_to_f): Likewise.
15715
15716         * genattr.c (write_upcase, gen_attr): Likewise.
15717
15718         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
15719         write_upcase): Likewise.
15720
15721         * genemit.c (print_code): Likewise.
15722
15723         * genopinit.c (gen_insn): Likewise.
15724
15725         * genpeep.c (print_code): Likewise.
15726
15727         * genrecog.c (print_code): Likewise.
15728
15729         * optabs.c (init_libfuncs): Likewise.
15730
15731 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
15732
15733         * haifa-sched.c (sched_analyze): Keep the list of notes organized
15734         in pairs.
15735         (reemit_notes): Likewise.
15736
15737 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
15738
15739         * ggc.h (ggc_root): Move to ggc-common.c.
15740         (roots): Remove.
15741         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
15742         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
15743         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
15744         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
15745         * ggc-common.c (ggc_root): Move from ggc.h.
15746         (roots): Declare, static.
15747         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
15748         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
15749         null or check/set mark bit.
15750         (ggc_mark_roots): New.
15751         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
15752
15753 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
15754
15755         * m32r.c: Include toplev.h.
15756         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
15757         (gen_compare): Rename swap_p to must_swap to match uses.
15758         Add default abort case.
15759         (m32r_output_function_epilogue): Remove unused variables.
15760         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
15761         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
15762         define to empty parameter list.  Update all uses.
15763         (predicate decls): Use enum machine_mode not int.
15764         * m32r.md (movsi): Call abort, not fatal_insn.
15765         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
15766
15767 1999-09-14  Andrew Haley  <aph@cygnus.com>
15768
15769         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
15770         use $0 instead of 0.
15771
15772 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15773
15774         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
15775         computation out of loop over hard regs.
15776
15777 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
15778
15779         * function.c (identify_blocks): Don't shadow a variable in an
15780         outer scope.
15781         * integrate.c (integrate_decl_tree): Don't use pushlevel,
15782         pushdecl, or poplevel to build up the new BLOCK tree.
15783         (expand_inline_function): Likewise.
15784         (integrate_parm_decls): Likewise.
15785
15786 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
15787
15788         * c-typeck.c (qualify_type): Merge qualifiers from both types.
15789
15790 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
15791
15792         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
15793         * invoke.texi: Document this change.
15794
15795 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
15796
15797         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
15798         Free the struct.
15799         (mark_emit_status): Renamed from mark_emit_state.
15800         * except.c (mark_eh_status): Renamed from mark_eh_state.
15801         Check not null before marking.
15802         (free_eh_status): New.
15803         * expr.c (mark_expr_status, free_expr_status): New.
15804         * function.c (free_machine_status): New.
15805         (free_after_parsing): New.
15806         (free_after_compilation): Move bits to free_after_parsing; call
15807         free_eh_status, free_expr_status; zero the marked members of the
15808         function state.
15809         (prepare_function_start): No can_garbage_collect.
15810         Call init_eh_for_function.
15811         (expand_dummy_function_end): Free up current_function state.
15812         (mark_function_status): Renamed from mark_function_state.
15813         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
15814         * function.h (struct function): No can_garbage_collect.
15815         (free_machine_status, free_after_parsing): Declare.
15816         (free_eh_status, free_expr_status): Declare.
15817         * ggc.h (mark_expr_status): Declare.
15818         * stmt.c (free_stmt_status): Free the struct.
15819         (mark_stmt_status): Renamed from mark_stmt_state.
15820         (init_stmt): Don't call init_eh.
15821         (init_stmt_for_function): Don't call init_eh_for_function.
15822         * toplev.c (compile_file): Call init_eh.
15823         (rest_of_compilation): Free basic block info before ggc_collect.
15824         Call free_after_parsing; conditionally call free_after_compilation.
15825         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
15826         Check not null before marking.
15827         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
15828
15829 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
15830
15831         * c-lex.c (yylex): Initialize warn.
15832
15833 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
15834
15835         * pa.c (emit_move_sequence): Properly set the mode of the scratch
15836         register when performing secondary reloads for the SAR register.
15837
15838 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
15839
15840         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
15841         (NOTE_BLOCK): New macro.
15842         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
15843         * function.h (identify_blocks): Change prototype.
15844         * function.c (identify_blocks): Simplify.
15845         (reorder_blocks): Likewise.
15846         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
15847         NOTE_INSN_BLOCK_{BEG,END}.
15848         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
15849         the list of saved notes if the note isn't a
15850         NOTE_INSN_BLOCK_{BEG,END}.
15851         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
15852         NOTE_BLOCK_NUMBER.
15853         (reemit_notes): Adjust recreation of notes to reflect new saved
15854         note structure.
15855         * print-rtl.c (print_rtx): Print the address of the BLOCK when
15856         printing a block note.
15857         * stmt.c (block_vector): Remove.
15858         (find_loop_tree_blocks): Simplify.
15859         (unroll_block_trees): Likewise.
15860         * tree.h (reorder_block): Change prototype.
15861
15862 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
15863
15864         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
15865         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
15866         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
15867         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
15868         (atexit, exit): Simplify.
15869         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
15870         * config/lots: Remove defns of HAVE_ATEXIT.
15871
15872 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
15873
15874         * calls.c (precompute_arguments): Fix typo in comment.
15875         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
15876         TARGET_EXPR.
15877
15878 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
15879
15880         * dsp16xx.c (override_options): Fix typos in GC root registration.
15881
15882 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
15883
15884         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
15885         from config/svr4.h.
15886         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
15887         (FUNCTION_PROFILER): Redefine appropriately for Linux.
15888         (CC1_SPEC): Likewise.
15889
15890 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15891
15892         * genattr.c (main): Add extern prototype.  Call return, not exit.
15893         * genattrtab.c (main): Likewise.
15894         * gencheck.c (main): Likewise.
15895         * gencodes.c (main): Likewise.
15896         * genconfig.c (main): Likewise.
15897         * genemit.c (main): Likewise.
15898         * genextract.c (main): Likewise.
15899         * genflags.c (main): Likewise.
15900         * gengenrtl.c (main): Likewise.
15901         * genopinit.c (main): Likewise.
15902         * genoutput.c (main): Likewise.
15903         * genpeep.c (main): Likewise.
15904         * genrecog.c (main): Likewise.
15905
15906         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
15907         * genattrtab.c (get_insn_name): Likewise.
15908         * gencodes.c (get_insn_name): Likewise.
15909         * genconfig.c (get_insn_name): Likewise.
15910         * genemit.c (get_insn_name): Likewise.
15911         * genextract.c (get_insn_name): Likewise.
15912         * genflags.c (get_insn_name): Likewise.
15913         * genopinit.c (get_insn_name): Likewise.
15914         * genpeep.c (get_insn_name): Likewise.
15915
15916         * gencheck.c (usage): Add static prototype.
15917         * genextract.c (print_path): Constify a char*.
15918         * genopinit.c (optabs): Likewise.
15919         * genoutput.c (operand_data, data, output_predicate_decls,
15920         compare_operands): Likewise.
15921         * genrecog.c (write_tree): Add default case in switch.
15922
15923 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15924
15925         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
15926
15927         * print-rtl.c (get_insn_name): Remove prototype.
15928
15929         * toplev.h (progname): Declare const.
15930
15931         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
15932         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
15933         dump_sched_info, dump_local_alloc, regset_release_memory,
15934         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
15935         error_with_file_and_line, error_with_decl, error_for_asm, error,
15936         fatal, warning_with_file_and_line, warning_with_decl, warning,
15937         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
15938         Remove redundant prototypes.
15939
15940         (notice, check_lang_option, report_file_and_line, vnotice,
15941         mark_file_stack): Add static prototype.
15942         (set_fatal_function): Add prototype.
15943         (vnotice, report_file_and_line, set_fatal_function,
15944         check_lang_option): Constify a char*.
15945         (main): Prototype.  Call return, not exit.
15946
15947 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15948
15949         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
15950
15951         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
15952
15953         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
15954
15955         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
15956
15957 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15958
15959         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
15960         behave as if it's zero in all cases.
15961         (expand_function_start): Adjust call to assign_parms.
15962         * tree.h (assign_parms): Adjust prototype.
15963         * objc/objc-act.c (hack_method_prototype): Adjust call to
15964         assign_parms.
15965
15966 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
15967
15968         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
15969         arg_pointer_rtx fixed if the argument pointer register is
15970         not fixed.
15971         (NONZERO_BASE_PLUS_P): Likewise.
15972
15973 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
15974
15975         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
15976         match_insn2 to match_insn.
15977         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
15978
15979 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
15980
15981         * Makefile.in (USER_H): Remove va-foo.h.
15982
15983         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
15984         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
15985         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
15986         va-spur.h,va-v850.h}: Remove.
15987
15988 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
15989
15990         * sparc/sparc.md (eligible_for_return_delay): New attribute.
15991         (in_return_delay): Use it instead of match_insn.
15992
15993 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15994
15995         * config/alpha/va_list.h (va-alpha.h): Do not include.
15996         (__gnuc_va_list): Typedef as in varargs.h.
15997
15998 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
15999
16000         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
16001         DECL_LIVE_RANGE_RTL.
16002
16003 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
16004
16005         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
16006         not NOTE_BLOCK_NUMBER.
16007         (expand_eh_region_end): Likewise.
16008         (find_exception_handler_labels): Likewise.
16009         (scan_region): Likewise.
16010         (exception_optimize): Likewise.
16011         (update_rethrow_references): Likewise.
16012         (set_insn_eh_region): Likewise.
16013         * final.c (final_scan_insn): Likewise.
16014         * flow.c (make_edges): Likewise.
16015         * integrate.c (expand_inline_function): Likewise.
16016         * print-rtl.c (print_rtx): Likewise.
16017
16018 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
16019
16020         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
16021         terms of builtin functions and types.
16022
16023         * mips.c (mips_build_va_list): New.
16024         (mips_va_start, mips_va_arg): New.
16025         * mips.h (BUILD_VA_LIST_TYPE): New.
16026         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16027
16028         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
16029         (sh_build_va_list, sh_va_start, sh_va_arg): New.
16030         * sh.h (BUILD_VA_LIST_TYPE): New.
16031         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16032
16033 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
16034
16035         * recog.h (struct recog_data): Make dup_num, operand_address_p,
16036         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
16037         (struct insn_data): Likewise with n_operands, n_dups,
16038         n_alternatives, output_format.
16039         * regclass.c (scan_one_insn): Cast n_operands to int before
16040         arithmetic inside comparison.
16041
16042 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
16043
16044         * toplev.c (compile_function): Unconditionally emit nop.
16045
16046 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16047
16048         * haifa-sched.c (actual_hazard): Move declaration of variable
16049         `this_cost' into the scope where it is used.
16050
16051 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16052
16053         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
16054         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
16055         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
16056
16057         * genrecog.c (make_insn_sequence): Call memset, not bzero.
16058
16059         * jump.c (find_insert_position): Don't declare or define unless
16060         !HAVE_conditional_arithmetic.
16061         (returnjump_p_1, delete_prior_computation): Add static prototypes.
16062
16063         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
16064
16065         * recog.c (offsettable_address_p): Prototype function pointer.
16066         (preprocess_constraints): Call memset, not bzero.
16067
16068         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
16069         (gcc_obstack_init): Don't declare.
16070         (fix_sizetype): Add static prototype.
16071         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
16072         (tree_cons): Call memset, not bzero.
16073
16074         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
16075         definition in macro ASM_WEAKEN_LABEL.
16076         (mark_const_hash_entry): Add static prototype.
16077
16078 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16079
16080         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
16081
16082         * unroll.c (find_common_reg_term, subtract_reg_term,
16083         loop_find_equiv_value): Add static prototypes.
16084         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
16085         (copy_loop_body): Remove unreachable break statement.
16086
16087         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
16088
16089         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
16090
16091 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16092
16093         Undo some changes from the gcc2 merge:
16094         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
16095         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
16096         pointers.
16097
16098         Undo this change:
16099         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
16100         * emit-rtl.c (gen_lowpart_common): Disable optimization of
16101         initialized float-int union if the value is a NaN.
16102
16103 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16104
16105         * gthr-win32.h: New file.
16106
16107         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
16108         shared as a valid attribute.
16109         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
16110         * extend.texi: Document `shared' variable attribute.
16111
16112 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
16113
16114         * configure.in: Handle --enable-threads on FreeBSD.
16115         * configure: Rebuit.
16116
16117 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
16118
16119         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
16120         thread support.
16121         * configure: Rebuilt.
16122
16123 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
16124                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
16125                           Rosimildo DaSilva <rdasilva@connecttel.com>
16126
16127         * configure.in (m68k-*-rtemscoff*): Added.
16128         * configure.in (mips64orion-*-rtems*): Converted to ELF.
16129         * configure.in (sparc-*-rtemsaout*): Added as alias for old
16130         sparc-rtems configuration.
16131         * configure.in (sparc-*-rtemself*): Added.
16132         * configure.in (sparc-*-rtems*): Now ELF not a.out.
16133         * config/i386/rtems.h: Added comment.
16134         * config/sparc/rtemself.h: New file.
16135
16136         * configure.in (m68k-rtemself): Added.
16137         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
16138         and DWARF_DEBUGGING_INFO.
16139         * config/m68k/crti.s: New file.
16140         * config/m68k/crtn.s: New file.
16141         * config/m68k/t-crtstuff: New file.
16142         * config/m68k/rtemself.h: New file.
16143
16144         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
16145         global ctor/dtor and C++ exception handling.
16146         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
16147         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
16148         ENDFILE_SPEC.
16149         * config/i386/t-rtems-i386: New File.
16150
16151 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
16152
16153         * stmt.c (expand_end_case): Return right away if the case stack is
16154         empty.
16155
16156 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
16157
16158         * Makefile.in (version.c): Remove rule incorrectly brought in from
16159         the gcc2 merge.
16160
16161 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
16162
16163         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
16164         * msdos/top.sed:  Take into account a prepended $(SHELL) to
16165         move-if-change.
16166         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
16167
16168         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
16169
16170 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16171
16172         * regmove.c (fixup_match_1): Don't change an unchanging register.
16173         (stable_but_for_p): Renamed to:
16174         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
16175         Changed all callers.
16176
16177 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
16178
16179         * loop.c (strength_reduce): Don't call reg_used_between_p if the
16180         insn from BL2 is after the insn from BL.
16181
16182 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
16183
16184         * recog.h (INSN_OUTPUT_FORMAT_*): New.
16185         (struct insn_data): Merge `template' and `outfun' into `output'.
16186         Add `output_format'.
16187         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
16188         (struct data): Remove `outfun'; add `output_format'.
16189         (name_for_index): Remove declaration.
16190         (output_insn_data): Handle output formats.
16191         (process_template): Emit the bare array for @.
16192         (gen_expand, gen_split): Set output_format to NONE.
16193         * output.h (get_insn_template): Declare.
16194         * final.c (get_insn_template): New.
16195         (final_scan_insn): Use it.
16196         * toplev.c (compile_file): Likewise.
16197
16198         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16199         * i860/i860.c (output_delayed_branch): Likewise.
16200         (output_delay_insn): Likewise.
16201
16202 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16203
16204         * rtl.c (obstack_alloc_rtx): Removed.
16205
16206 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
16207
16208         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
16209
16210 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
16211
16212         * i386.c (call_insn_operand): Reject const_int.
16213         (expander_call_insn_operand): Use call_insn_operand.
16214
16215 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16216
16217         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
16218
16219 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
16220
16221         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
16222         Use DImode operation.
16223
16224 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
16225
16226         * gcc.c: Include sys/resource.h.
16227         (report_times): New flag.
16228         (execute):  If report_times is set, calculate and report the
16229         CPU time consumed by each subprocess.
16230
16231         (rus, prus): New globals.
16232         (option_map): Add --time.
16233         (display_help): Document -time.
16234         (process_command): Set report_times if -time is given.
16235         Turn off -pipe if -time is given.
16236
16237         * invoke.texi: Document new option -time.
16238
16239         * configure.in: Check for getrusage.  Check if we have to
16240         prototype getrusage.
16241         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
16242         * configure: Regenerate.
16243         * config.in: Regenerate.
16244
16245 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
16246
16247         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
16248         fields.
16249
16250 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
16251
16252         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
16253         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
16254         (nan): Return _thenan_sf or _thenan_df as appropriate.
16255         (L_thenan_sf): Define _thenan_sf.
16256         (L_thenan_df): Define _thenan_df.
16257
16258         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
16259         (DPBIT_FUNCS): Add _thenan_df.
16260
16261 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
16262
16263         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
16264         TYPE_SIZE_UNIT.
16265
16266 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16267
16268         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
16269
16270         * gcc.h: New file.
16271         (lang_specific_driver): Don't take a function pointer parameter.
16272         All callers changed.
16273
16274         * gcc.c: Include gcc.h.
16275         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
16276         lang_specific_extra_outfiles, fatal): Don't declare.
16277         (multilib_defaults_raw): Constify.
16278         (read_specs): Call memset, rather than bzero.
16279         (main): Call return, not exit.
16280         (lookup_compiler): Call memcpy, not bcopy.
16281         (fatal): Make extern.
16282
16283         * cppspec.c: Include gcc.h.
16284         (lang_specific_driver): Initialize variable `quote'.  Constify a
16285         char*.  All calls to the function pointer parameter now
16286         explicitly call `fatal'.
16287
16288         * gccspec.c (lang_specific_driver): Include gcc.h.
16289
16290 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
16291
16292         * arm.c (note_invalid_constants): Use recog_data.operand_type
16293         for recog_op_type.
16294
16295 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16296
16297         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
16298         Declare.
16299
16300         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
16301         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16302         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16303         reload_secondary_in_reload, reload_secondary_out_reload,
16304         reload_secondary_in_icode, reload_secondary_out_icode,
16305         reload_reg_rtx, reload_when_needed): Delete declarations.
16306         (struct reload): New structure.
16307         (rld): Declare new array.
16308         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
16309         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16310         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16311         reload_secondary_in_reload, reload_secondary_out_reload,
16312         reload_secondary_in_icode, reload_secondary_out_icode,
16313         reload_reg_rtx, reload_when_needed): Delete definitions.
16314         (rld): New array.
16315         (whole file): Replace uses of the deleted arrays with uses of rld.
16316         * reload1.c (whole file): Replace uses of the deleted arrays with
16317         uses of rld.
16318         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
16319         explicit loops, not with bcopy.
16320
16321 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
16322
16323         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
16324         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
16325         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
16326         insn_name): Delete and consolidate into new structures.
16327         (insn_operand_predicate_fn): New.
16328         (insn_output_fn): New.
16329         (insn_gen_fn): New.
16330         (struct insn_operand_data): New.
16331         (struct insn_data): New.
16332         (insn_data): New.
16333         (OUT_FCN): Update for insn_data change.
16334         * builtins.c (expand_builtin_strlen): Likewise.
16335         (expand_builtin_memcmp): Likewise.
16336         * combine.c (make_extraction, simplify_comparison): Likewise.
16337         * cse.c (canon_reg, cse_insn): Likewise.
16338         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
16339         * expmed.c (store_bit_field, extract_bit_field): Likewise.
16340         (emit_store_flag): Likewise.
16341         * expr.c (convert_move, emit_block_move): Likewise.
16342         (clear_storage, emit_push_insn, expand_increment): Likewise.
16343         (do_store_flag): Likewise.
16344         * expr.h (GEN_FCN): Likewise.
16345         (insn_gen_function): Die.
16346         * final.c (final_scan_insn): Update for insn_data change.
16347         (output_asm_name): Likewise.
16348         * function.c (fixup_var_refs_1): Likewise.
16349         * loop.c (check_dbra_loop): Likewise.
16350         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
16351         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
16352         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
16353         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
16354         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
16355         * regmove.c (gen_add3_insn): Likewise.
16356         * reload.c (push_secondary_reload, combine_reloads): Likewise.
16357         (find_reloads, find_reloads_address_1): Likewise.
16358         (debug_reload_to_stream): Likewise.
16359         * reload1.c (emit_reload_insns, gen_reload): Likewise.
16360         * stmt.c (expand_end_case): Likewise.
16361         * toplev.c (compile_file): Likewise.
16362
16363         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16364         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
16365
16366         * print-rtl.c (insn_name_ptr): Remove declaration.
16367         (get_insn_name): Declare.
16368         (print_rtx): Use it.
16369         * genoutput.c (insn_name_ptr): Remove.
16370         (next_operand_number): New.
16371         (struct operand_data): New.
16372         (null_operand, odata, odata_end): New.
16373         (struct data): Use struct operand_data.
16374         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
16375         (get_insn_name): Renamed from name_for_index.
16376         (output_prologue): Define NO_MD_PROTOTYPES.
16377         (output_predicate_decls): Break out from output_epilogue.
16378         Iterate over the operands list.
16379         (output_operand_data): Break out from output_epilogue.  Emit
16380         just the operands list.
16381         (output_insn_data): Break out from output_epilogue.  Emit just
16382         the insn data.
16383         (output_epilogue): Remove.
16384         (output_get_insn_name): New.
16385         (constraints, op_n_alternatives, predicates, address_p): Die.
16386         (modes, strict_low, seen): Die.
16387         (scan_operands): Take new param `d' instead of writing to
16388         seven global variables.
16389         (compare_operands): New.
16390         (place_operands): New.
16391         (validate_insn_alternatives): Update for struct data change.
16392         (gen_insn): Don't zero or copy 7 global arrays.  Update for
16393         scan_operands; call place_operands.
16394         (gen_peephole, gen_expand, gen_split): Likewise.
16395         (main): Update for new output routines.
16396
16397         * genattr.c (insn_name_ptr): Remove.
16398         (get_insn_name): New function.
16399         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
16400         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
16401         * genrecog.c: Likewise.
16402
16403         * alpha.md (adddi3): Make `pattern' array static.
16404
16405 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16406
16407         * config/c4x/c4x.h (c4x_rpts_cycles_string,
16408         c4x_cpu_version_string): Constify char *.
16409         * config/c4x/c4x.c (c4x_rpts_cycles_string,
16410         c4x_cpu_version_string): Likewise.
16411
16412 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
16413
16414         * tree.c (save_tree_status): Revert 10 Sep change.
16415         (restore_tree_status): Likewise.  Call obstack_free with NULL
16416         before freeing the obstack proper.
16417
16418 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
16419
16420         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
16421
16422         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
16423         surrounding context.
16424
16425 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
16426
16427         * tree.c (type_hash_canon): Put all types in the hash-table, when
16428         GC'ing.
16429
16430 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
16431
16432         * recog.h (struct recog_data, recog_data): New.
16433         (recog_foo variables): Kill.
16434         * recog.c (recog_operand, recog_operand_loc): Kill.
16435         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
16436         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
16437         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
16438         (recog_data): Define.
16439         (extract_insn): Update all recog_foo references to use recog_data.
16440         (preprocess_constraints, constrain_operands): Likewise.
16441         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
16442         * genattrtab.c (main): Likewise.
16443         * genextract.c (main): Likewise.
16444         * genoutput.c: Likewise.
16445         * genrecog.c (write_subroutine, main): Likewise.
16446         * local-alloc.c (block_alloc): Likewise.
16447         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
16448         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
16449         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
16450         * reload.c (find_reloads, find_reloads_toplev): Likewise.
16451         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
16452         (reload_cse_simplify_operands): Likewise.
16453
16454         * arc/arc.c (arc_final_prescan_insn): Likewise.
16455         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
16456         * h8300/h8300.c (notice_update_cc): Likewise.
16457         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
16458         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
16459         * mn10200/mn10200.c (notice_update_cc): Likewise.
16460         * mn10300/mn10300.c (notice_update_cc): Likewise.
16461         * romp/romp.c (update_cc): Likewise.
16462         * sparc/sparc.c (check_pic): Likewise.
16463         * v850/v850.c (notice_update_cc): Likewise.
16464
16465         * genemit.c (main): Don't declare recog_operand.
16466
16467 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
16468
16469         * ggc.h (rtvec_def): Forward declare.
16470         (tree_node): Likewise.
16471         (ggc_root): Define.
16472         (roots): Declare.
16473         (ggc_set_mark_rtx): Add prototype.
16474         (ggc_set_mark_rtvec): Likewise.
16475         (ggc_set_mark_tree): Likewise.
16476         * ggc-simple.c (ggc_root): Don't define.
16477         (roots): Don't declare.
16478         (ggc_mark_rtx): Remove.
16479         (ggc_mark_rtvec): Likewise.
16480         (ggc_mark_tree): Likewise.
16481         (ggc_mark_varray): Likewise.
16482         (ggc_mark_tree_hash_table_entry): Likewise.
16483         (ggc_mark_tree_hash_table): Likewise.
16484         (ggc_set_mart_rtx): New function.
16485         (ggc_set_mark_rtvec): Likewise.
16486         (ggc_set_mark_tree): Likewise.
16487         (ggc_add_root): Remove.
16488         (ggc_add_rtx_root): Likewise.
16489         (ggc_remove_tree_root): Likewise.
16490         (ggc_add_string_root): Likewise.
16491         (ggc_add_tree_varray_root): Likewise.
16492         (ggc_add_tree_hash_table_root): Likewise.
16493         (ggc_del_root): Likewise.
16494         (ggc_mark_rtx_ptr): Likewise.
16495         (ggc_mark_tree_ptr): Likewise.
16496         (ggc_mark_string_ptr): Likewise.
16497         (ggc_mark_tree_varray_ptr): Likewise.
16498         (ggc_mark_tree_hash_table_ptr): Likewise.
16499         * ggc-common.c: New file.
16500         * Makefile.in (OBJS): Add ggc-common.o.
16501         (ggc-common.o): List dependencies.
16502
16503 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
16504
16505         * cppalloc.c (xstrdup): Use memcpy.
16506         * cpperror.c (cpp_print_containing_files): Don't use
16507         cpp_notice.
16508         * cpplib.c (conditional_skip): Set temp->lineno.
16509         (do_endif): Make error message less obscure.
16510         (if_directive_name): New function.
16511         (cpp_get_token [case EOF]): Unwind the if stack and generate
16512         error messages for each unterminated conditional in this file.
16513         (parse_string):  Do not behave differently if -traditional.
16514
16515 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
16516
16517         * builtins.c (expand_builtin_va_arg): Cope with an array-type
16518         va_list decomposing to pointer-type.
16519         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
16520         (rs6000_va_arg): Likewise.
16521
16522 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
16523
16524         * except.c (start_dynamic_handler): Compute size using
16525         STACK_SAVEAREA_MODE.
16526
16527 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16528
16529         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
16530         include directory headers.  Don't define strrchr.  Don't provide
16531         my_* replacement functions.  Prefer PTR over `pointer_type'.
16532         Don't prototype system functions.  Don't redefine getopt.
16533
16534         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
16535         safe_read, safe_write, save_pointers, restore_pointers,
16536         is_id_char, in_system_include_dir, directory_specified_p,
16537         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
16538         find_corresponding_lparen, referenced_file_is_newer,
16539         save_def_or_dec, munge_compile_params, gen_aux_info_file,
16540         process_aux_info_file, identify_lineno, check_source,
16541         seek_to_line, forward_to_next_token_char, output_bytes,
16542         output_string, output_up_to, other_variable_style_function,
16543         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
16544         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
16545         find_static_definition, connect_defs_and_decs, add_local_decl,
16546         add_global_decls, needs_to_be_converted, visit_each_hash_node,
16547         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
16548         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
16549         scan_for_missed_items, edit_file, string_list_cons): Add static
16550         prototypes.
16551         (standard_exec_prefix, target_machine, target_version,
16552         default_syscalls_dir, string_list, string_list_cons, find_file,
16553         do_cleaning): Constify a char*.
16554         (safe_read, safe_write): Use PTR, not a char*.
16555         (is_id_char): Take an int, not a char.
16556         (main): Add prototype.  Call return, not exit.
16557
16558 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
16559
16560         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
16561         when comparing types.
16562
16563 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
16564
16565         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
16566         (strength_reduce): Release the varrays from the no-bivs early exit.
16567
16568         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
16569         the loop over the registers.
16570
16571         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
16572         for a new obstack.
16573         (restore_tree_status): Check that instead when freeing the obstack.
16574
16575 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
16576
16577         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
16578         as pointers.
16579
16580 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16581
16582         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
16583         operand size modifiers.
16584
16585 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16586
16587         * c-common.c (c_common_nodes_and_builtins): Don't build
16588         va_list_type_node.
16589         * c-common.h (enum c_tree_index and related accesor macros): Remove
16590         everything now declared in tree.h.
16591         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
16592         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
16593         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
16594         (error_mark_node, void_type_node, char_type_node, integer_type_node,
16595         unsigned_type_node, ptr_type_node, va_list_type_node,
16596         integer_zero_node, null_pointer_node, integer_one_node): Delete.
16597         (init_decl_processing): Call build_common_tree_nodes and
16598         build_common_tree_nodes_2 instead of building their nodes here.
16599         Don't add roots for these nodes.
16600         * stor-layout.c (size_zero_node, size_one_node): Delete.
16601         (set_sizetype): Make a new node for bitsizetype each time.
16602         * tree.c (global_trees): New variable.
16603         (init_obstacks): Add a gc root for it.
16604         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
16605         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
16606         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
16607         (build_common_tree_nodes): New function.
16608         (fix_sizetype): New function.
16609         (build_common_tree_nodes_2): New function.
16610         * tree.h (enum tree_index): New.
16611         (global_trees): Declare.
16612         Add accessor macros for all nodes now moved to global_trees.
16613         Delete their declarations.
16614
16615 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
16616
16617         * c-decl.c (finish_function): When processing a nested function,
16618         push and pop GC context around rest_of_compilation.
16619
16620 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
16621
16622         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
16623         Default ix86_arch to PROCESSOR_I386.
16624         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
16625         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
16626         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
16627         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
16628         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
16629         (EXTRA_SPECS): Remove deleted specs.
16630
16631 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
16632
16633         * function.c (assign_stack_local_1): Allocate from
16634         function->x_frame_offset, not frame_offset.
16635
16636 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
16637
16638         * ggc.h (lang_cleanup_tree): Remove.
16639         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
16640         * ggc-callbacks.c (lang_cleanup_tree): Remove.
16641
16642         * c-decl.c (finish_struct): Use ggc_alloc to allocate
16643         TYPE_LANG_SPECIFIC when garbage collecting.
16644         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
16645         (lang_cleanup_tree): Remove.
16646
16647 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16648
16649         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
16650         * crtstuff.c: Not here.
16651         * dwarf2out.c: Or here.
16652         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
16653         info.
16654
16655 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
16656
16657         * function.h (free_after_compilation): Remove decl parameter.
16658         (free_varasm_status0: Likewise.
16659         (free_emit_status): Likewise.
16660         (free_stmt_status): Likewise.
16661         (free_after_compilation): Likewise.
16662         (init_lang_status): New variable.
16663         (free_lang_status): Likewise.
16664         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
16665         * function.c (init_lang_status): New variable.
16666         (free_lang_status): Likewise.
16667         (push_function_context_to): Don't set function::decl here.
16668         (free_after_copmilation): Make decl parameter implicit.  Call
16669         free_lang_status if defined.
16670         (prepare_function_start): Call init_lang_status if defined.
16671         (init_function_start): Set function::decl here.
16672         * profile.c (output_func_start_profiler): Don't call pushdecl
16673         until we've actually started the function.
16674         * stmt.c (free_stmt_status): Make decl parameter implicit.
16675         * toplev.c (rest_of_compilation): Don't pass decl to
16676         free_after_compilation.
16677         * varasm.c (free_varasm_status): Likewise.
16678
16679 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16680
16681         * except.c (call_get_eh_context): Add root when allocating static
16682         tree variable.
16683
16684 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
16685
16686         * arm.c: Include "ggc.h".
16687         (arm_add_gc_roots): New function.
16688         (arm_override_options): Call it.
16689         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
16690
16691         * arm.md (define_asm_attributes): Add a pool_range attribute.
16692
16693 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
16694
16695         * extend.texi (Volatiles): New node.
16696
16697 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
16698
16699         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
16700         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
16701         (struct ggc_any): Replace `mark' with `magic_mark'.
16702         (ggc_alloc_string): Use memcpy, not bcopy.
16703         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
16704         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
16705         (ggc_free_any): New.
16706         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
16707         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
16708         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
16709         Use IS_MARKED. Use ggc_free_any.
16710
16711 1999-09-09  Scott Bambrough <scottb@netwinder.org>
16712
16713         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
16714
16715 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
16716
16717         * toplev.c (main): Always init_ggc.
16718
16719 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
16720
16721         * except.c (find_all_handler_type_matches): Free the list if
16722         we found no matches.
16723
16724         * combine.c (SUBST): Break out to a real function do_SUBST.
16725         (SUBST_INT): Likewise.
16726         * gcse.c (free_pre_mem): Free `temp_bitmap'.
16727         (pre_insert): Free `inserted'.
16728         * loop.c (basic_induction_var): Always set `location'.
16729
16730         * function.c (expand_function_end): Add initial_trampoline as a root.
16731         * rtl.h (init_varasm_once): Declare.
16732         * toplev.c (compile_file): Call it.
16733         * ggc-simple.c (ggc_mark_string_ptr): New.
16734         (ggc_add_string_root): New.
16735         (ggc_collect): Disable collection avoidance temporarily.
16736         * ggc.h (ggc_add_string_root): Declare.
16737         * except.c (create_rethrow_ref): Use ggc_alloc_string.
16738         * optabs.c (init_libfuncs): Likewise.
16739         * varasm.c (named_section): Use ggc_alloc_string.
16740         (make_function_rtl): Likewise.
16741         (make_decl_rtl): Likewise.
16742         (assemble_static_space): Likewise.
16743         (assemble_trampoline_template): Likewise.
16744         (output_constant_def): Likewise.
16745         (force_const_mem): Likewise.
16746         (mark_const_hash_entry): New.
16747         (mark_pool_sym_hash_table): New.
16748         (mark_varasm_state): Use it.
16749         (init_varasm_once): New.
16750
16751         * expr.h (init_one_libfunc): Declare.
16752         * optabs.c (init_one_libfunc): New.
16753         (init_optabs): Use it.
16754         * config/gofast.h: Likewise.
16755         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
16756         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
16757
16758 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16759
16760         * Makefile.in (cppexp.o): Depend on cpphash.h.
16761         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
16762         Include cpphash.h.
16763         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
16764         * cpplib.c (do_define): Generalise to handle poisoned definitions,
16765         redefining poisoned identifiers, etc.
16766         (do_undef): Don't allow poisoned identifiers to be undefined.
16767         (do_pragma): Add #pragma poison.
16768         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
16769
16770         * cccp.c: Add T_POISON node type.
16771         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
16772         poisoned xxx.
16773         (do_define): Generalise to handle poisoned definitions,
16774         redefining poisoned identifiers, etc.
16775         (do_undef): Don't allow poisoned identifiers to be undefined.
16776         (do_pragma): Add #pragma poison.
16777         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
16778
16779         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
16780         * c-pragma.h: Add ps_poison state.  We now always have generic
16781         pragmas.
16782
16783 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
16784
16785         * ggc.h (ggc_alloc): New function.
16786         (ggc_mark): Likewise.
16787         * ggc-simple.c (ggc_any): New structure.
16788         (ggc_status): Add anys.
16789         (n_anys_collected): New variable.
16790         (ggc_alloc): Define.
16791         (ggc_mark): Likewise.
16792         (ggc_collect): Collect the anys.
16793
16794 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16795
16796         * c-decl.c (mark_binding_level): Make static to match prototype.
16797
16798 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
16799
16800         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
16801
16802 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
16803
16804         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
16805         will use into account.  Expand the max width to 5.
16806         * rtl.c: Likewise.
16807
16808 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
16809
16810         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
16811         for the rtx length.
16812
16813 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
16814
16815         * alpha.md (call value patterns): Remove the result predicates.
16816
16817 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
16818
16819         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
16820         last change.
16821
16822 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16823
16824         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
16825         changed from extern char *, to extern PTR.  Also fix typo in
16826         NEED_DECLARATION_REALLOC test.
16827
16828         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
16829
16830 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16831
16832         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
16833         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
16834         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
16835         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
16836
16837         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
16838
16839         * cccp.c (pcfinclude): Likewise.
16840
16841         * global.c (allocno_compare): Likewise.
16842
16843         * haifa-sched.c (rank_for_schedule): Likewise.
16844
16845         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
16846
16847         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
16848
16849         * stupid.c (stupid_reg_compare): Likewise.
16850
16851         * tree.c (_obstack_allocated_p): Likewise.
16852
16853         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
16854
16855 1999-09-08  Bruce Korb  autogen@linuxbox.com
16856
16857         * Makefile.in: Give the hapless gperf user a hint about
16858         why "gperf -F" fails.
16859
16860 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
16861
16862         * lists.c: Include ggc.h.
16863         (zap_lists): New.
16864         (init_EXPR_INSN_LIST_cache): Install it.
16865
16866         * ggc-simple.c (init_ggc): Absorb the old init.
16867         (ggc_push_context): Use xcalloc.
16868         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
16869         (ggc_collect): Add [rvts] tags to the collection stats.
16870
16871 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
16872
16873         * cccp.c (main): Fix handling of -include and -imacros options.
16874
16875 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
16876
16877         * cpplib.c (cpp_push_buffer): Fix order of arguments.
16878
16879 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
16880
16881         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
16882         genrtl.c.
16883
16884 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
16885
16886         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
16887         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
16888         and SET_DEST. Update comment.
16889
16890 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16891
16892         * config/c4x/c4x.c: Include ggc.h.
16893         (c4x_add_gc_roots): New function.
16894         (c4x_override_options): Call c4x_add_gc_roots.
16895
16896 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
16897
16898         * defaults.h (TARGET_ESC): Move ...
16899         * system.h: ... here, where Linas had it in the first place.  Silly me.
16900
16901 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
16902
16903         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
16904         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
16905         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
16906         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
16907         * defaults.h (TARGET_ESC): Add default.
16908
16909 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
16910
16911         * configure.in: add i370-*-openedition, i370-*-mvs and
16912         i370-*-linux targets
16913
16914 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
16915
16916         * dsp16xxx.c: Include ggc.h
16917         (override_options): Mark GC roots.
16918         * mn10200.c: Include ggc.h.
16919         (asm_file_start): Mark GC roots.
16920         * tahoe.c: Include ggc.h.
16921         (extensible_operand): Mark GC roots.
16922
16923 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
16924
16925         * README: Add section discussing status of ELF ABI.
16926         * i370.c: Fix misc spelling mistakes.
16927         (i370_label_scan): Updated notes, exception handling.
16928         (i370_function_prolog): Simplify ELF stack handling.
16929         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
16930         (STACK_GROWS_DOWNWARD): ELF stack grows down.
16931         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
16932         * i370.md: (movdi): Add notes.
16933         (floatsidf2): Use stack not rtca for scratch float area.
16934         (iorsi3): Correct operand constraints.
16935         * x-oe: Restore TAROUTOPTS which are used by pax.
16936
16937 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
16938
16939         * rs6000.c: Include ggc.h.
16940         (rs6000_add_gc_roots): New function.
16941         (override_options): Call it.
16942
16943 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
16944
16945         * alpha.h (alpha_compare): New.
16946         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
16947         * alpha.c: Likewise for the definitions.
16948         (alpha_emit_conditional_branch): Update for alpha_compare.
16949         (alpha_emit_conditional_move): Likewise.
16950         * alpha.md (cmpdf, cmpdi): Likewise.
16951         (setcc patterns): Likewise.  Zero alpha_compare after use.
16952         (sne): Optimize (x != 0) into (0U < x).
16953
16954 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
16955
16956         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
16957         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
16958         (INIT_EXPANDERS): Remove.
16959         * alpha.c: Include ggc.h.
16960         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
16961         (alpha_init_machine_status, alpha_mark_machine_status): New.
16962         (override_options): Install them.
16963         (struct machine_function): Moved to alpha.h.
16964         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
16965         (alpha_init_expanders): Remove.
16966         (alpha_return_addr): Adjust to use current_function->machine.
16967         (alpha_ra_ever_killed): Likewise.
16968         (alpha_expand_epilogue): Likewise.
16969         * alpha.md (eh_epilogue): Likewise.
16970
16971 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
16972                           Melissa O'Neill  <oneill@cs.sfu.ca>
16973                           Geoffrey Keating  <geoffk@cygnus.com>
16974
16975         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
16976         call-used registers (call-saved registers must still be contiguous
16977         and end with r31, of course).
16978
16979 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
16980
16981         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
16982         (self_promoting_type_p): Delete.
16983         (self_promoting_args_p): Move ...
16984         * c-common.c: ... here.
16985         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
16986         (simple_type_promotes_to): New.
16987         * builtins.c (lang_type_promotes_to): New.
16988         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
16989         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
16990         * c-common.h: ... here.
16991         (self_promoting_args_p, simple_type_promotes_to): Declare.
16992         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
16993         (grokdeclarator): Likewise.
16994         * tree.h (lang_type_promotes_to): Declare.
16995
16996 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
16997
16998         Add some machine-dependent GC roots.
16999         * sparc.c: Include ggc.h.
17000         (sparc_add_gc_roots): New function.
17001         (mark_ultrasparc_pipeline_state): Likewise.
17002         (override_options): Call sparc_add_gc_roots.
17003         * pa.c: Include ggc.h.
17004         (pa_add_gc_roots): New function.
17005         (mark_deferred_plabels): Likewise.
17006         (override_options): Call pa_add_gc_roots.
17007         * mips.c: Include ggc.h.
17008         (mips_add_gc_roots): New function.
17009         (override_options): Use it.
17010
17011 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17012
17013         * cpperror.c (cpp_file_line_for_message): Constify a char*.
17014
17015         * cppexp.c (parse_number, parse_charconst, cpp_lex,
17016         cpp_parse_expr): Add static prototypes.
17017         (parse_charconst): Don't cast away const-ness.
17018         (token): Constify a char*.
17019
17020         * cppfiles.c (file_name_list, include_hash, find_include_file,
17021         finclude, initialize_input_buffer): Constify a char*.
17022         (file_cleanup, find_position): Add static prototypes.
17023
17024         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
17025         collect_expansion): Add static prototypes.
17026         (cpp_install, create_definition, monthnames): Constify a char*.
17027
17028         * cpphash.h (cpp_install): Likewise.
17029
17030         * cppinit.c (known_suffixes, default_include,
17031         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
17032         (base_name, dump_special_to_buffer, initialize_dependency_output):
17033         Add static prototypes.
17034
17035         * cpplib.c (my_strerror): Constify a char*.
17036         (null_underflow, null_cleanup, skip_comment, copy_comment,
17037         copy_rest_of_line, handle_directive, pass_thru_directive,
17038         get_directive_token, read_line_number, cpp_print_file_and_line,
17039         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
17040         v_cpp_warning_with_line, detect_if_not_defined,
17041         consider_directive_while_skipping): Add static prototypes.
17042         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
17043         cpp_pedwarn_with_file_and_line): Constify a char*.
17044
17045         * cpplib.h (cpp_options, include_hash, progname, definition,
17046         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
17047         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
17048         find_include_file, deps_output, include_hash): Constify a char*.
17049
17050         * cppmain.c (progname): Constify.
17051         (main): Add prototype.  Use return, not exit.
17052
17053         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
17054         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
17055         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
17056         check_protection): Add static prototype.
17057         (xfree): Remove.
17058         (progname, recognized_macrom, recognized_extern): Constify a char*.
17059         (main): Add prototype.
17060
17061         * gen-protos.c (progname): Constify a char*.
17062
17063 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
17064
17065         * emit-rtl.c (free_emit_status): Take decl as a parameter.
17066         (init_emit_once): Add more GC roots.
17067         * except.c (mark_func_eh_entry): New function.
17068         (mark_eh_node): Mark false_label and rethrow_label.
17069         (init_eh): Add more GC roots.
17070         * function.c (free_after_compilation): Take decl as a paramter.
17071         Call free_stmt_status.
17072         (mark_function_state): Don't assume x_parm_reg_stack_loc is
17073         non-NULL.
17074         * function.h (free_after_compilation): Change prototype.
17075         (free_varasm_status): Likewise.
17076         (free_emit_status): Likewise.
17077         (free_stmt_status): New function.
17078         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
17079         Remove, replacing with ...
17080         (ggc_status): New structure.
17081         (ggc_chain): New variable.
17082         (init_gcc): Define.
17083         (ggc_push_context): New function.
17084         (ggc_pop_context): Likewise.
17085         (ggc_alloc_rtx): Adjust for use of ggc_chain.
17086         (ggc_alloc_rtvec): Likewise.
17087         (ggc_alloc_tree): Likewise.
17088         (ggc_alloc_string): Likewise.
17089         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
17090         (ggc_mark_tree): Give language-dependent code a chance to mark
17091         `x' nodes.
17092         (ggc_mark_tree_varray): Handle empty arrays.
17093         (ggc_collect): Adjust for use of ggc_chain.  Clear
17094         bytes_alloced_since_last_gc.
17095         * ggc.h (ggc_pop_context): New function.
17096         (ggc_push_context): Likewise.
17097         * print-tree.c (print_node): Don't print obstacks when GC'ing.
17098         * stmt.c (free_stmt_status): New function.
17099         (init_stmt_for_function): Clear last_expr_value.
17100         * toplev.c (rest_of_compilation): Always call free_after_compilation.
17101         Conditionalize call to ggc_collect.
17102         (main): Call init_ggc.
17103         * tree.c (push_obstacks): Do the push, even when GC'ing.
17104         (push_obstacks_nochange): Likewise.
17105         (pop_obstacks): Liekwise.
17106         * varasm.c (free_varasm_status): Take decl as a parameter.
17107
17108 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17109
17110         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
17111         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
17112         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
17113         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
17114
17115 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
17116
17117         * pa/x-pa-mpeix: New file for the MPE port.
17118
17119         * pa/quadlib.asm: New file for long double support.
17120
17121         * configure.in: Add hppa1.0-*-mpeix for MPE port.
17122         * configure: Rebuilt.
17123
17124 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
17125
17126         * final.c (shorten_branches): Fix last change.
17127
17128 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
17129
17130         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
17131
17132 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
17133
17134         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
17135         details.
17136
17137 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17138
17139         * c-aux-info.c (concat): Don't define.
17140
17141         * cccp.c (my_strerror): Likewise.  All callers changed to use
17142         xstrerror instead.
17143         (do_include): Call xstrdup, not xmalloc/strcpy.
17144         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
17145         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
17146
17147         * collect2.c (my_strsignal): Likewise.  All callers changed to use
17148         strsignal instead.
17149         (locatelib): Call xstrdup, not xmalloc/strcpy.
17150
17151         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
17152
17153         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
17154
17155         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
17156
17157         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
17158
17159         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
17160
17161         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
17162
17163         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
17164         malloc/realloc.
17165         (find_all_handler_type_matches): Likewise.  Don't check return
17166         value.
17167         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
17168         xmalloc, not malloc.
17169         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
17170
17171         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
17172         (init_spec): Call xcalloc, not xmalloc/bzero.
17173         (set_spec): Call xstrdup, not save_string.
17174         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
17175         (find_a_file): Call xstrdup, not xmalloc/strcpy.
17176         (process_command): Call xstrdup, not save_string.
17177         (main): Call xcalloc, not xmalloc/bzero.
17178
17179         * gcov.c (xmalloc): Don't define.
17180         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
17181         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
17182         (output_data): Call xcalloc, not xmalloc/bzero.
17183
17184         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
17185
17186         * mips-tdump.c (xmalloc): Don't define.
17187         (print_symbol): Call xmalloc, not malloc.
17188         (read_tfile): Call xcalloc, not calloc.
17189
17190         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
17191         Don't define.  All callers of xfree/my_strsignal changed to use
17192         free/strsignal instead.
17193         (allocate_cluster): Call xcalloc, not calloc.
17194
17195         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
17196         Fix memory leak, free allocated memory.
17197
17198         * prefix.c (translate_name): Call xstrdup, not save_string.
17199         (update_path): Likewise.
17200
17201         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
17202
17203         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
17204         Don't define.  Callers of xfree/savestring2 changed to use
17205         free/concat instead.
17206
17207         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
17208         (init_elim_table): Likewise.
17209
17210         * resource.c (init_resource_info): Likewise.
17211
17212         * stupid.c (stupid_life_analysis): Likewise.
17213
17214         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
17215         (open_dump_file): Call concat, not xmalloc/strcpy/...
17216         (clean_dump_file): Likewise.
17217         (compile_file): Call xstrdup, not xmalloc/strcpy.
17218
17219 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
17220
17221         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
17222         * v850.c (v850_va_arg): New.
17223
17224 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17225
17226         * haifa-sched.c: Tidy comments.
17227
17228 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17229
17230         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
17231         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
17232         $(out_object_file)): Depend on ggc.h.
17233         * c-common.c: Include "ggc.h".
17234         (combine_strings): If doing GC, use ggc_alloc_string.
17235         * c-decl.c: Include "ggc.h".
17236         (ggc_p): Define with value 0.
17237         (mark_binding_level): New function.
17238         (init_decl_processing): Add GC roots.
17239         (mark_c_function_context): New function.
17240         (lang_mark_false_label_stack): New function.
17241         (lang_mark_tree): New function.
17242         (lang_cleanup_tree): New function.
17243         * c-lang.c: Include "ggc.h".
17244         (lang_init): Call c_parse_init.
17245         * c-lex.c: Include "ggc.h".
17246         (check_linenum): If doing GC, don't copy filenames to permanent
17247         obstack.
17248         * c-parse.in: Include "ggc.h".
17249         (c_parse_init): New function.
17250         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
17251         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
17252
17253         * except.c (mark_eh_state): Mark more state.
17254         * function.c (mark_function_state): Likewise.
17255         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
17256         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
17257         * toplev.c (mark_file_stack): New function.
17258         (compile_file): If doing GC, use ggc_alloc_string on input filename.
17259         (main): Add root for input_file_stack.
17260
17261         * i386.c: Include "ggc.h".
17262         (ix86_mark_machine_status): New function.
17263         (override_options): Set mark_machine_status.
17264
17265 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17266
17267         * tree.c (copy_node): Copy node contents also if doing GC.
17268
17269 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17270
17271         * collect2.c (scan_libraries): Fix double-thinko :-).
17272
17273 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
17274
17275         * collect2.c (scan_libraries): Fix thinko.
17276
17277         * cse.c (delete_trivially_dead_insns): Do not skip the last
17278         insn if it is a real insn.
17279
17280 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
17281
17282         * Makefile.in (ggc-simple.o): Depend on hash.h.
17283         * ggc.h (ggc_add_tree_hash_table_root): Declare.
17284         (ggc_mark_tree_varray): Likewise.
17285         (ggc_mark_tree_hash_table): Likewise.
17286         * ggc-simple.c: Include hash.h.
17287         (ggc_mark_tree_hash_table_ptr): New function.
17288         (ggc_mark_tree_hash_table_entry): Likewise.
17289         (ggc_mark_tree_hash_table): Likewise.
17290         (ggc_add_tree_hash_table_root): Likewise.
17291         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
17292         rtx, when defining fields.
17293
17294 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17295
17296         * profile.c (output_func_start_profiler): Remove apparently
17297         nonsensical call to start_sequence.
17298
17299 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
17300
17301         * clipper/clipper.c (clipper_va_start): Fix typos.
17302
17303         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
17304         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
17305         (spur_va_arg): New stub.
17306
17307         * configure.in: Comment out pyramid.
17308
17309 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
17310
17311         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
17312         don't conflict with the bits that win32, cygwin, and dgux
17313         defines.
17314
17315 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
17316                           Bernd Schmidt <bernds@cygnus.co.uk>
17317
17318         * integrate.c (function_cannot_inline_p): Do not inline
17319         functions with forced labels.
17320
17321 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
17322                           Bernd Schmidt <bernds@cygnus.co.uk>
17323                           Mark Mitchell  <mark@codesourcery.com>
17324
17325         * Makefile.in (ggc-simple.o): Depend on varray.h.
17326         (rtl.o): Depend on ggc.h.
17327         (genattrtab.o): Depend on ggc.h.
17328         (print-tree.o): Likewise.
17329         (fold-const.o): Likewise.
17330         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
17331         (make_insn_raw): Don't cache insns when GC'ing.
17332         (emit_insn_before): Likewise.
17333         (emit_insn_after): Likewise.
17334         (emit_insn): Likewise.
17335         (start_sequence): Use xmalloc to allocate the sequence_stack.
17336         (end_sequence): Add free to free it.
17337         (gen_sequence): Don't cache insns when GC'ing.
17338         (clear_emit_caches): Don't use sequence_element_free_list.
17339         (init_emit): Use xcalloc, not xmalloc+bzero.
17340         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
17341         * function.c (pop_function_context_from): Use free to free the
17342         fixup_var_refs_queue.
17343         (put_reg_into_stack): Allocate it with xmalloc.
17344         * genattrtab.c: Include ggc.h.
17345         (operate_exp): Don't use obstack_free when GC'ing.
17346         (simplify_cond): Likewise.
17347         (simplify_text_exp): Likewise.
17348         (optimize_attrs): Likewise.
17349         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
17350         GC'ing.
17351         (gencode): Generate a #include for ggc.h.
17352         * ggc-callbacks.c (ggc_p): Define it to zero.
17353         * ggc-none.c (ggc_p): Likewise.
17354         * ggc-simple.c: Include varray.h.
17355         (ggc_mark_tree_varray): New function.
17356         (ggc_add_tree_varray_root): Likewise.
17357         (ggc_mark_tree_varray_ptr): Likewise.
17358         * ggc.h (ggc_p): Declare.
17359         (varray_head_tag): Likewise.
17360         (ggc_add_tree_varray_root): Declare.
17361         * print-tree.c (print_node): Don't check for TREE_PERMANENT
17362         inconsistencies when GC'ing.
17363         * rtl.c: Include ggc.h.
17364         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
17365         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
17366         (rtx_free): Don't call obstack_free when GC'ing.
17367         * toplev.c (rest_of_compilation): Call ggc_collect after every
17368         pass, if GC'ing.
17369         * tree.c (push_obstacks): Do nothing, if GC'ing.
17370         (pop_obstacks_nochange): Likewise.
17371         (pop_obstacks): Likewise.
17372         (make_node): Use ggc_alloc_tree when GC'ing.
17373         (copy_node): Likewise.
17374         (get_identifier): Use ggc_alloc_string when GC'ing.
17375         (build_string): Likewise.
17376         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
17377         (tree_cons): Likewise.
17378         (build1): Likewise.
17379         (type_hash_canon): Don't call obstack_free when GC'ing.
17380
17381 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
17382
17383         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
17384         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
17385
17386 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
17387                           Bernd Schmidt <bernds@cygnus.co.uk>
17388                           Mark Mitchell  <mark@codesourcery.com>
17389
17390         * Makefile.in (stor-layout.o): Depend on ggc.h.
17391         (expr.o): Depend on ggc.h.
17392         (profile.o): Depend on ggc.h.
17393         (stor-layout.o): Depend on ggc.h.
17394         * emit-rtl.c (init_emit_once): Add gc roots.
17395         * expr.c: Include ggc.h.
17396         (emit_block_move): Add gc roots.
17397         (clear_storage): Likewise.
17398         * expr.h (init_stor_layout_once): New function.
17399         * profile.c: Include ggc.h.
17400         (init_arc_profiler): profiler_label is a root.
17401         * scan.c (make_sstring_space): Trust xrealloc to function
17402         correctly with first parameter NULL.
17403         * stor-layout.c: Include ggc.h.
17404         (set_sizetype): Add gc root.
17405         (init_stor_layout_once): New function.
17406         * toplev.c (compile_file): Call it.
17407
17408 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
17409                           Bernd Schmidt <bernds@cygnus.co.uk>
17410                           Mark Mitchell  <mark@codesourcery.com>
17411
17412         * Makefile.in (tree.o): Depend on ggc.h.
17413         (varasm.o): Likewise.
17414         (function.o): Likewise.
17415         (stmt.o): Likewise.
17416         (except.o): Likewise.
17417         (optabs.o): Likewise.
17418         (emit-rtl.o): Likewise.
17419         * emit-rtl.c: Include ggc.h.
17420         (sequence_element_free_list): Remove, and all references.
17421         (mark_sequence): New functions.
17422         (mark_emit_state): New function.
17423         * except.c: Include ggc.h.
17424         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
17425         (mark_tree_label_node): New functions.
17426         (mark_eh_state): New function.
17427         * function.c: Include ggc.h.
17428         (mark_temp_slot, mark_function_chain): New functions.
17429         (mark_function_state): New function.
17430         (init_function_once): New function.
17431         * function.h (init_function_once): New function.
17432         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
17433         * ggc.h (label_node): Declare.
17434         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
17435         (lang_mark_false_label_stack): New function.
17436         (mark_temp_slot): Remove declaration.
17437         (mark_function_chain): Likewise.
17438         (mark_eh_state): Adjust prototype.
17439         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
17440         Likewise.
17441         * optabs.c: Include ggc.h.
17442         (mark_optab): New function.
17443         (init_optabs): Add gc roots.
17444         * stmt.c: Include ggc.h.
17445         (mark_cond_nesting, mark_loop_nesting): New functions.
17446         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
17447         (mark_stmt_state): New function.
17448         * toplev.c (compile_file): Call init_function_once.
17449         * tree.c: Include ggc.h.
17450         (type_hash): Move declaration earlier in file.
17451         (TYPE_HASH_SIZE, type_hash_table): Likewise.
17452         (init_obstacks): Add gc roots.
17453         (mark_type_hash): New function.
17454         * varasm.c: Include ggc.h.
17455         (mark_pool_constant): New function.
17456         (mark_varasm_state): New function.
17457
17458 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17459
17460         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
17461
17462 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
17463
17464         * c-decl.c (struct language_function): Renamed from struct c_function.
17465         Delete elt NEXT.
17466         (c_function_chain): Delete.
17467         (push_c_function_context): New arg F.  Don't warn about nested
17468         functions here.  Fill LANGUAGE elt of F.  Delete code to update
17469         c_function_chain.  Don't call push_function_context.
17470         (pop_c_function_context): New arg F.  Restore from there instead of
17471         from c_function_chain.  Don't call pop_function_context.  Clear out
17472         LANGUAGE field of F when done.
17473         * c-lang.c: Include "function.h"
17474         (lang_init): Initialize save_lang_status and restore_lang_status.
17475         * c-parse.in (nested_function, nested_function_notype): Warn about
17476         nested functions.  Call push_function_context/pop_function_context
17477         instead of the _c_ variants.
17478         * c-tree.h (push_c_function_context, pop_c_function_context): Update
17479         prototype.
17480         * Makefile.in (c-lang.o): Update dependencies.
17481
17482         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
17483         regno_pointer_flag, regno_pointer_align.
17484         (gen_reg_rtx): Use xrealloc to enlarge them.
17485         (free_emit_status): New function.
17486         * function.c (mark_machine_status, mark_lang_status): New variables.
17487         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
17488         in some bits from assign_stack_local.  All callers changed to use new
17489         name.
17490         (assign_stack_local): Just call assign_stack_local_1.
17491         (free_after_compilation): New function.
17492         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
17493         (trampoline_address): Likewise.
17494         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
17495         (prepare_function_start): Explicitly clear some more variables.
17496         * function.h (struct function): New elt can_garbage_collect.
17497         (mark_machine_status, mark_lang_status): Declare variables.
17498         (free_after_compilation, free_emit_status, free_varasm_status,
17499         init_varasm_status): Declare functions.
17500         * toplev.c (rest_of_compilation): Call free_after_compilation when
17501         done with the current function.
17502         * varasm.c (free_varasm_status): New function.
17503
17504 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
17505
17506         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
17507         (EXPAND_BUILTIN_VA_ARG): Define.
17508         * sparc.c (sparc_va_start): New.
17509         (sparc_va_arg): New.
17510
17511 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17512
17513         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
17514
17515 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17516
17517         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
17518
17519 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
17520
17521         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
17522         (OBJS): Add $(GGC).
17523         (ggc-callbacks.o): New target.
17524         * ggc-callbacks.c: New file.
17525
17526 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17527
17528         * expr.h: Collapse individual optab and libfunc vars to arrays.
17529         (optab_index, libfunc_index): New enumerations.
17530         (optab_table, libfunc_table): New arrays.
17531         Add accessor macros for both.
17532
17533         * optabs.c (optab_table, libfunc_table): New.
17534         Delete declarations for individual optab and libfunc vars.
17535
17536 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
17537
17538         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
17539
17540 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
17541
17542         * Makefile.in (GGC, GGC_LIB): New.
17543         (HOST_RTL): Include ggc-none.o.
17544         (ggc-simple.o): New target.
17545         (ggc-none.o): Likewise.
17546         * tree.h (tree_common): Add gc_mark.
17547         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
17548         (struct rtvec_def): Add gc_mark.
17549         * emit-rtl.c (global_rtl): Update static initializers to contain
17550         enough initializers.
17551         * ggc.h, ggc-none.c, ggc-simple.c: New files.
17552         * toplev.c (gc_time): New variable.
17553         (all_time): New variable.
17554         (compile_file): Print gc time.
17555         (print_time): Calculate percentage of the whole.
17556
17557 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17558
17559         Change obstack memory management and varasm constant pool handling so
17560         that nested functions are treated like any other functions.
17561         * function.c (init_machine_status): New variable.
17562         (push_function_context_to): Set contains_functions for the outer
17563         function.  Don't call save_varasm_status.
17564         (pop_function_context_from): Don't call restore_varasm_status.  Don't
17565         set current_function_contains_functions.
17566         (prepare_function_start): Call init_varasm_status rather than
17567         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
17568         is non-null.
17569         * function.h (struct function) Add field varasm.  Delete fields
17570         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
17571         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
17572         (init_machine_status): Declare.
17573         (save_varasm_status, restore_varasm_status): Delete declarations.
17574         (save_tree_status, restore_tree_status): Delete last argument.
17575         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
17576         code.  All callers changed.
17577         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
17578         save_constants_in_decl_trees, restore_constants, save_constants,
17579         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
17580         functions.
17581         (inlining): New variable.
17582         (reg_map, label_map, insn_map, orig_asm_operands_vector,
17583         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
17584         variables.
17585         (save_for_inline_nocopy): Don't save constants.
17586         Don't set inl_emit field in current_function.
17587         (expand_inline_function): Use emit field, not inl_emit, of the inlined
17588         function.  Set new variable inlining before
17589         calling copy_rtx_and_substitute.
17590         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
17591         constant pool references if inlining is nonzero.
17592         Delete ADDRESS and (most of the) CONST cases.
17593         (output_inline_function): Save and restore current_function/
17594         current_function_decl.  Delete restore_constants code.  Don't call
17595         init_const_rtx_hash_table.
17596         * output.h (init_const_rtx_hash_table): Don't declare.
17597         * rtl.h (struct function): Declare.
17598         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
17599         * toplev.c (rest_of_compilation): Don't treat nested functions or
17600         functions containing them specially.  Delete all code to deal with
17601         save_for_inline_copying.
17602         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
17603         inline_obstacks): Delete variables.
17604         (save_tree_status): Lose arg CONTEXT.  All callers changed.
17605         Simply allocate a new function_maybepermanent_obstack for the new
17606         function, delete all the special cases.
17607         Don't save inline_obstacks.
17608         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
17609         Delete special handling for function_maybepermanent_obstack; simply
17610         free it if empty.
17611         Don't restore inline_obstacks.
17612         (permanent_allocation):  Delete code that frees inline_obstacks.
17613         (print_inline_obstack_statistics): Delete function.
17614         (dump_tree_statistics): Don't call it.
17615         * varasm.c (struct varasm_status): New.
17616         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
17617         last_pool, pool_offset, const_double_chain): Delete global
17618         variables, replace with accessor macros.
17619         (immed_double_const): Don't walk const_double_chain outside a
17620         function, but don't treat nested functions specially anymore.
17621         (immed_real_const_1): Likewise.
17622         (clear_const_double_mem): Don't treat nested functions specially.
17623         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
17624         (save_varasm_status, restore_varasm_status): Delete functions.
17625         (init_varasm_status): New function.
17626         (force_const_mem): Don't treat nested functions specially.
17627         (find_pool_constant): Accept new arg F, search for constants in
17628         that function's pool rather than the current one.  All callers
17629         changed.
17630         (get_pool_constant_for_function, get_pool_mode_for_function): New
17631         functions.
17632
17633         * i386.c (init_386_machine_status): New function, mostly from
17634         clear_386_stack_locals.
17635         (struct machine_functions): Rename element names to avoid name
17636         clashes.
17637         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
17638         macros, replacing global variables.
17639         (clear_386_stack_locals, save_386_machine_status,
17640         restore_386_machine_status): Delete functions.
17641         (override_options): Initialize init_machine_status.
17642         * i386.h (INIT_EXPANDERS): Delete macro.
17643         (save_386_machine_status, restore_386_machine_status,
17644         clear_386_stack_locals): Delete declarations.
17645
17646 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17647
17648         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
17649         (doloop_begin):  Simplify pattern and use emit_jump_insn.
17650         (doloop_end): Simplify pattern, switch operand order,
17651         and use emit_jump_insn.
17652
17653 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17654
17655         * function.h (struct function): Add new element LANGUAGE.
17656         (save_lang_status): Declare new variable.
17657         (restore_lang_status): Likewise.
17658         * function.c (save_lang_status): Define.
17659         (restore_lang_status): Likewise.
17660         (push_function_context_to): Call language-specific save function.
17661         (pop_function_context_from): Call language-specific restore function.
17662
17663 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
17664
17665         * i386.md (movsf_1): Check REG_P before use of REGNO.
17666         (movdf_1): Likewise.
17667         (movxf_1): Likewise.
17668         (extendsfdf2): Likewise.
17669         (extendsfxf2): Likewise.
17670         (extenddfxf2): Likewise.
17671
17672 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17673
17674         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
17675         constants into memory.
17676         (c4x_shiftable_constant): New function.
17677         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
17678         (c4x_shiftable_constant): Declare.
17679         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
17680         ashlqi3_noclobber): Add new patterns and associated splitters.
17681
17682 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
17683
17684         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
17685         * dwarf2out.c (dwarf2out_frame_init): Likewise.
17686         * final.c (shorten_branches): Likewise.
17687         * global.c (global_alloc): Likewise.
17688         * haifa-sched.c (build_control_flow): Likewise.
17689         * stmt.c (check_for_full_enumeration_handling): Likewise.
17690         (estimate_case_costs): Likewise.
17691
17692 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
17693
17694         * rtl.h (RTL_CHECKC2): Fix typo in last change.
17695
17696 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
17697
17698         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
17699         (recompute_reg_usage): Likewise.
17700         * rtlanal.c (find_regno_fusage): Likewise.
17701
17702         * rtl.c (rtl_check_failed_code1): New function.
17703         (rtl_check_failed_code2): New.
17704         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
17705         (RTL_CHECKC1, RTL_CHECKC2): New.
17706         (XC*): New accessor macros.
17707         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
17708         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
17709         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
17710         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
17711         (TRAP_*, RANGE_INFO_*): Likewise.
17712
17713 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17714
17715         * Makefile.in (tlink.o): Don't depend on toplev.h.
17716
17717         * collect2.c (c_file, o_file, export_file, import_file, ldout,
17718         output_file, nm_file_name, ldd_file_name, strip_file_name,
17719         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
17720         add_prefix, prefix_from_env, prefix_from_string, do_wait,
17721         fork_execute, maybe_unlink, add_to_list,
17722         extract_init_priority, write_list, dump_list,
17723         dump_prefix_list, write_list_with_asm, write_c_file,
17724         write_c_file_stat, write_c_file_glob, scan_prog_file,
17725         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
17726         ignore_library, extract_string, notice, dump_file, target_machine,
17727         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
17728         read_file, print_load_command): Constify a char*.
17729         (fdopen, error, fatal, fatal_perror): Don't prototype.
17730         (my_strerror): Remove.  All callers use xstrerror instead.
17731         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
17732         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
17733         to xcalloc/strcpy/strcat/...  to one call to concat.
17734         (main, scan_prog_file, scan_libraries): Use an intermediate
17735         `const char **' to build an argv array.
17736         (mapfile, libselect, libcompare, locatelib): Add prototypes.
17737
17738         * collect2.h (collect_execute, collect_wait, dump_file,
17739         file_exists): Constify a char*.
17740         (ldout, c_file_name, temporary_obstack, permanent_obstack,
17741         temporary_firstobj, vflag, debug): Add extern declarations.
17742         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
17743
17744         * tlink.c: Don't include toplev.h.
17745         (vflag, debug, ldout, c_file_name, temporary_obstack,
17746         permanent_obstack, temporary_firstobj): Don't declare.
17747         (tlink_execute, frob_extension, symbol_hash_lookup,
17748         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
17749         recompile_files, read_repo_files, demangle_new_symbols,
17750         scan_linker_output): Constify a char*.
17751         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
17752         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
17753
17754 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
17755
17756         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
17757         (relative) rather than jsr (absolute) subroutine call insns.
17758         * config/m68k/m68k-coff.h: Ditto.
17759
17760 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
17761
17762         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
17763         now rework these too.
17764         (arm_reorg): If an insn can't reach the end of the current pool,
17765         ensure that we emit that pool before the insn.
17766
17767 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
17768
17769         * tlink.c (scan_linker_output): Skip the initial underscore in
17770         a mangled name if appropriate.
17771
17772 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17773
17774         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
17775         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
17776         error_with_ivar, gen_declarator, create_builtin_decl,
17777         my_build_string, generate_descriptor_table, generate_ivars_list,
17778         generate_dispatch_table, check_protocols, TAG_GETCLASS,
17779         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
17780         dump_base_name, lang_decode_option, build_encode_expr,
17781         start_class, finish_class, encode_pointer, really_start_method,
17782         gen_declaration, dump_interface, handle_class_ref, handle_impent):
17783         Constify.
17784         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
17785         Add static prototypes.
17786         (build_objc_string_decl, build_selector_reference_decl,
17787         encode_bitfield, build_class_reference_decl): Remove unused
17788         parameter, all callers changed.
17789         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
17790         (objc_printable_name): Likewise.  Change second parameter to type int.
17791         (init_objc): Use memcpy, not bcopy, to avoid casts.
17792
17793 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
17794
17795         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
17796         reg notes on a deleted insn.
17797         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
17798
17799 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
17800
17801         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
17802
17803 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17804
17805         * stmt.c (expand_asm_operands): Fix index into inout_mode when
17806         reading it.
17807
17808 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
17809
17810         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
17811         * tm.texi (MD_ASM_CLOBBERS): Document it.
17812
17813 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
17814
17815         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
17816         * except.c (expand_rethrow): Remove unused variable.
17817         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
17818         * flow.c (replace_insns): Likewise.
17819         (create_edge_list, verify_edge_list): Likewise.
17820         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
17821
17822         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
17823         is special code to run.
17824         (main): Don't define operands to emit_operand.
17825         * genrecog.c (main): Don't emit an empty peephole2_insn function.
17826
17827         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
17828
17829         * alpha/alpha.h (normal_memory_operand): Declare.
17830         (reg_no_subreg_operand): Declare.
17831         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
17832
17833 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
17834
17835         * c-parse.in (compstmt_primary_start): New, broken out of first
17836         part of compstmt handling in primary.
17837         (primary): Use it.  Add an error clause.
17838         (compstmt_nostart): Renamed from compstmt; remove all
17839         initial invocations of compstmt_start.
17840         (compstmt): New.
17841
17842 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
17843
17844         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
17845         needed.
17846
17847 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
17848
17849         * combine.c (simplify_shift_const): Remove extra semicolon.
17850         * dwarf2out.c (remove_AT): Likewise.
17851         * expmed.c (expand_mult): Likewise.
17852         * gcov.c (create_program_flow_graph): Likewise.
17853         * reorg.c (mostly_true_jump): Likewise.
17854
17855 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
17856
17857         * fold-const.c (fold_range_test): Do not try to fold the range
17858         test if the rhs or lhs has side effects.
17859
17860         * combine.c (simplify_rtx): Recognize another case of a synthesized
17861         sign extension.
17862
17863         * varasm.c (mark_constant_pool): When marking indirect references,
17864         only look at SYMBOL_REFs.
17865
17866         * except.c (expand_fixup_region_end): Do not peek at
17867         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
17868
17869 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
17870
17871         * flags.h: New variables align_loops, align_loops_log,
17872         align_jumps, align_jumps_log, align_labels, align_labels_log,
17873         align_functions, align_functions_log.
17874         * toplev.c: Define them.
17875         (f_options): Handle -falign-* when they have no argument.
17876         (main): Add logic to set variables for -falign-functions,
17877         -falign-jumps, -falign-labels, -falign-loops.
17878         Make it -fsched-verbose=<n> and -finline-limit=<n>.
17879         (display_help): Change help to match options.
17880         * final.c (LABEL_ALIGN): Default to align_labels_log.
17881         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
17882         (LOOP_ALIGN): Default to align_loops_log.
17883         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
17884         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
17885         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
17886         * varasm.c (assemble_start_function): Handle align_functions.
17887
17888         * config/sparc/sparc.h: Don't declare sparc_align_*.
17889         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
17890         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
17891         sparc.c.
17892         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
17893         it's a promise.
17894         * config/sparc/sparc.c: Delete sparc_align_loops,
17895         sparc_align_jumps, sparc_align_funcs and the corresponding string
17896         variables.
17897         (sparc_override_options): Default align_functions on ultrasparc.
17898         Delete -malign-* handling.
17899
17900         * config/mips/mips.c (override_options):  On 64-bit targets,
17901         try to align code to 64-bit boundaries.
17902         (print_operand): New substitution, %~,
17903         which aligns labels to align_labels_log.
17904         * config/mips/mips.md (div_trap_normal): Use %~.
17905         (div_trap_mips16): Likewise.
17906         (abssi): Likewise.
17907         (absdi2): Likewise.
17908         (ffssi2): Likewise.
17909         (ffsdi2): Likewise.
17910         (ashldi3_internal): Likewise.
17911         (ashrdi3_internal): Likewise.
17912         (lshrdi3_internal): Likewise.
17913         (casesi_internal): Likewise.
17914
17915 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
17916
17917         Merge new ia32 backend from the branch!
17918
17919         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
17920         See ChangeLog.P2 on new_ia32_branch for details.
17921
17922         * rtl.h (stack_regs_mentioned_p): Delete prototype.
17923         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
17924         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
17925         * i386/gas.h (ASM_FILE_START): Define.
17926         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
17927         for name change of ix86_valid_decl_attribute_p.
17928         (i386_pe_valid_type_attribute_p): Similarly.
17929
17930 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
17931
17932         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
17933         to step through CC modes.
17934
17935 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17936
17937         * regmove.c (fixup_match_1): Don't move INSN in front of P if
17938         it would end up in the shadow of a live flags regsiter.
17939
17940 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17941
17942         * reload1.c: Fix many indentation problems.
17943         * reload.c: Likewise.
17944
17945 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
17946
17947         * alias.c (non_local_reference_p): Constify fmt.
17948
17949 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
17950
17951         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
17952
17953 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
17954
17955         * cse.c (delete_trivially_dead_insns): Do not delete stores to
17956         the internal_arg_pointer.
17957
17958 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
17959
17960         Merge peephole2 from new_ia32_branch:
17961         * Makefile.in (STAGESTUFF): Add *.peephole2.
17962         (mostlyclean): Likewise.
17963         (recog.o): Depend on resource.h.
17964
17965         * final.c (peephole): Conditionalize decl on HAVE_peephole.
17966         (final_scan_insn): Likewise for the invocation of peephole.
17967         * genconfig.c (main): Look for peephole and peephole2 patterns.
17968         Emit HAVE_peephole* accordingly.
17969         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
17970         * flags.h (flag_peephole2): Declare.
17971         * toplev.c: New pass peephole2.  New flag -fpeephole2.
17972
17973         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
17974         * gencodes.c (main): Likewise.
17975         * genextract.c (main): Likewise.
17976         * genoutput.c (main): Likewise.
17977         * genemit.c (max_operand_1): Look for the max scratch operand.
17978         (gen_rtx_scratch): New.
17979         (gen_exp): Use it, and pass on new arg subroutine_type.
17980         (gen_expand): Take max scratch into account.
17981         (gen_split): Emit peephole2 functions.
17982         (output_peephole2_scratch): New.
17983         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
17984         * genrecog.c (routine_type): Add PEEPHOLE2.
17985         (IS_SPLIT): New.
17986         (make_insn_sequence): Match outer parallel for peep2.  Discard
17987         top level scratches and dups.
17988         (add_to_sequence): New args insn_type and top.  Update all callers.
17989         Handle toplevel peep2 matching insns.
17990         (write_subroutine): Handle peep2.
17991         (write_tree_1): Likewise.
17992         (write_tree): Likewise.
17993         (main): Likewise.
17994         (change_state): New arg afterward.  Update all callers.
17995         Handle matching separate insns.
17996         * recog.c (recog_next_insn): New.
17997         (peephole2_optimize): New.
17998         * rtl.def (DEFINE_PEEPHOLE2): New.
17999         * resource.c (find_free_register): New argument last_insn.  Use it
18000         to find a register available through the entire span.
18001         * resource.h (find_free_register): Update prototype.
18002
18003 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
18004
18005         * i386.c (output_strlen_unroll): Don't write xops[7]
18006         label if it wasn't set.
18007
18008 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
18009
18010         * cpplib.c (struct directive): Const-ify name pointer and
18011         function pointer prototype.
18012         (validate_else, do_define, do_line, do_include, do_undef,
18013         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
18014         do_elif, do_endif, do_sccs, do_assert, do_unassert,
18015         do_warning): Const-ify second arg.
18016         (directive_table): Mark const.  Reorder entries by frequency
18017         of usage, record statistics.
18018
18019 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
18020
18021         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
18022         bounds- check RTL accesses if --enable-checking.
18023         (RTVEC_ELT): Bounds check if --enable-checking.
18024         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
18025         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
18026         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
18027         GET_NUM_ELEM.
18028         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
18029         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
18030
18031         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
18032         (NOTE_SOURCE_FILE): Use X0STR.
18033         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
18034         MEM_ALIAS_SET): Use X0INT.
18035         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
18036         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
18037         Use X0EXP.
18038         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
18039         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
18040         (rtl_check_failed_bounds, rtl_check_failed_type1,
18041         rtl_check_failed_type2, rtvec_check_failed_bounds): New
18042         functions.
18043         (fancy_abort): Fix comment.
18044
18045         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
18046         (cse_insn): Decrement LABEL_NUSES for jump target before
18047         deleting jump insn.
18048         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
18049         * final.c (alter_subreg): Compute regno before changing x to
18050         REG; set REGNO(x) after changing it.
18051         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
18052         notes containing CONST_INTs.
18053         (delete_eh_regions): Use NOTE_EH_HANDLER.
18054         * function.c (put_reg_into_stack): Make reg a MEM before
18055         initializing it.
18056         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
18057         delete insn.
18058         (gen_mem_addressof): Make reg a MEM before initializing it.
18059         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
18060         X0WINT.
18061         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
18062         deleting an insn, not after.
18063         (block_alloc): Only look at PATTERN(insn) if we have to, and
18064         only if it's format class 'i'.
18065         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
18066         CONST_INT before using its INTVAL.
18067         * print-rtl.c (print_rtx): Use X0STR.
18068         * regmove.c (fixup_match_1): Don't look at PATTERN of
18069         non-class-'i' insn chain elements.
18070         * reload.c (loc_mentioned_in_p): Take address of
18071         in->fld[1].rtx directly.
18072         * reload1.c (reload): Change reg to a MEM before initializing
18073         it.
18074         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
18075         have no names.
18076         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
18077
18078 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
18079
18080         * config/mips/mips.c (machine_dependent_reorg): Force a
18081         barrier to output the local constant pool if a barrier hasn't
18082         been found at a natural point in the instruction stream.
18083
18084 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18085
18086         * c-parse.in (language_string): Constify.
18087
18088         * dwarf2out.c (language_string): Remove declaration.
18089
18090         * dwarfout.c (language_string): Likewise.
18091
18092         * toplev.c (language_string, init_parse, finish_parse): Likewise.
18093
18094         * tree.h (language_string, init_parse, finish_parse): Declare.
18095
18096         * i386/sun386.h (language_string): Remove declaration.
18097
18098         * mips.h (language_string): Likewise.
18099
18100         * nextstep.h (language_string): Likewise.
18101
18102         * nextstep21.h (language_string): Likewise.
18103
18104         * rs6000.c (language_string): Likewise.
18105
18106 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18107
18108         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
18109         (getpwd.o): Remove target.
18110
18111         * getpwd.c: Delete file.  Its in libiberty now.
18112
18113         * dbxout.c (getpwd): Don't prototype.
18114         * dwarf2out.c (getpwd): Likewise
18115         * dwarfout.c (getpwd): Likewise
18116         * final.c (getpwd): Likewise.
18117         * protoize.c (getpwd): Likewise.
18118
18119 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18120
18121         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
18122
18123 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18124
18125         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
18126         mark_set_resources.
18127
18128 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
18129
18130         * fixinc/Makefile.in (subdir): New.
18131         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
18132         (Makefile): New.
18133
18134 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18135
18136         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
18137         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
18138         be shared.
18139
18140         * invoke.texi: Fix typo.
18141
18142         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
18143         changed.  Handle autoincrement addressing modes.
18144
18145         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
18146         just like we would the virtual incoming args register when
18147         integrating.
18148
18149 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
18150
18151         * rs6000.h (ASM_FILE_START): Specify complete filename, including
18152         path, in .file directive.
18153
18154 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
18155
18156         * gcc.texi (External Bugs): Remove obsolete note about Perl on
18157         SunOS.
18158
18159 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
18160
18161         * stdbool.h: Make the typedef name _Bool, with bool a #defined
18162         alias.
18163
18164 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18165
18166         * tree.c (tree_code_name): Constify a char*.
18167
18168         * tree.h (tree_code_name, decl_printable_name): Likewise.
18169
18170         * function.h (struct function): Likewise.
18171
18172         * toplev.c (decl_name, decl_printable_name): Likewise.
18173
18174         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
18175
18176         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
18177         (init_objc): Remove function pointer cast.
18178
18179 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
18180
18181         * pa.md (interspace_jump): New pattern.
18182         (builtin_longjmp): New expander.
18183
18184 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
18185
18186         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
18187         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
18188         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
18189
18190 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
18191
18192         * jump.c (delete_prior_computation): Also check calls
18193         to constant functions.  Don't bother checking for a
18194         REG_UNUSED note before adding it.
18195         (delete_computation): Handle multi-word hard registers
18196         when synthesizing missing REG_DEAD notes for a register
18197         which is both set and used by an insn.
18198
18199 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18200
18201         * loop.c (this_loop_info): New variable.
18202         (loop_has_call, loop_has_volatile, loop_has_tablejump,
18203         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
18204         All uses updated.
18205         (prescan_loop, strength_reduce): New argument loop_info.  All callers
18206         updated.
18207         (scan_loop): New variable loop_info, initialise to address of
18208         this_loop_info.
18209         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
18210         Delete variable loop_has_multiple_exit targets and replace with
18211         field in this_loop_info.
18212         (find_and_verify_loops): Rename this_loop to this_loop_num.
18213         (strength_reduce): Delete loop_iteration_info.  Replace variable
18214         loop_info with function argument of same name.
18215         (insert_bct): Rework test for loop being completely unrolled.
18216
18217         * loop.h (struct loop_info): New fields num, loops_enclosed,
18218         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
18219         has_indirect_jump, and cont.  Redefine use of unroll_number.
18220         (loop_unroll_number): Delete.
18221
18222         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
18223         field of loop_info.
18224         (loop_iterations): Delete variable vtop and instead use
18225         loop_info->vtop computed in prescan_loop.
18226
18227 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
18228
18229         * fix-header.c (main): Do not pass a null pointer to strcmp.
18230
18231 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
18232
18233         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
18234         filenames.
18235         * configure: Rebuilt.
18236
18237 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
18238
18239         * jump.c (jump_optimize_1): Do not delete assignments to
18240         internal_arg_pointer.
18241         * cse.c (delete_trivially_dead_insns): Always consider a set of
18242         the internal_arg_pointer live.
18243
18244 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
18245
18246         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
18247         (update_life_info) [REG_WAS_0]: Search the original insns rather
18248         than the new insns for the note.  Fix typos finding note_dest.
18249         If no dest found, discard the note rather than abort.
18250         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
18251         (replace_insns): Remove the old insn list after update_life_info
18252         not before.
18253
18254 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
18255
18256         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
18257         sched_analyze_insn.
18258         (sched_analyze_1): Let add_dependence care for not adding dups.
18259         (sched_analyze_2): Likewise.
18260         (add_branch_dependences): Likewise.
18261
18262 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18263
18264         * i386/winnt.c (export_list): New type.
18265         (exports_head): Rename to
18266         (export_head):  this.
18267         (i386_pe_record_exported_symbol): Add is_data flag.
18268         (i386_pe_asm_file_end): Emit directive for exported variables.
18269         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
18270         prototype.
18271         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
18272         (ASM_DECLARE_OBJECT_NAME): Likewise.
18273         (ASM_DECLARE_FUNCTION_NAME): Likewise.
18274         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
18275
18276 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
18277
18278         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
18279
18280         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
18281         operand.
18282
18283 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
18284
18285         * config/openbsd.h: Define SET_ASM_OP.
18286         * tm.texi: cross-reference SET_ASM_OP in the index.
18287
18288 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
18289
18290         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
18291         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
18292         and class_narrowest_mode at compile time.  Kill init_rtl.
18293         Mark rtx_length, mode_class, mode_size, mode_unit_size,
18294         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
18295         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
18296         EXTRA_CC_NAMES.
18297         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
18298         format.
18299         * rtl.h: Declare rtx_length and rtx_format as const.
18300         * machmode.def: Define CC().  Use CC() to define CCmode.  If
18301         EXTRA_CC_MODES is defined, expand it here.
18302         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
18303         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
18304         const.  Kill all references to EXTRA_CC_MODES.
18305
18306         * toplev.c: Don't prototype or call init_rtl.
18307         * optabs.c: Don't call init_mov_optab.
18308         * genemit.c: Don't generate init_mov_optab.  Don't call
18309         init_rtl.
18310         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
18311         here.
18312         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
18313         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
18314         genrecog.c: Don't call init_rtl.
18315
18316         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
18317         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
18318         definition of EXTRA_CC_MODES.
18319
18320         * md.texi: Kill ref to EXTRA_CC_NAMES.
18321         * tm.texi: Document new way to define EXTRA_CC_MODES.
18322
18323         * genrecog.c: Do not look up the name of a define_split.
18324         (Unrelated bugfix.)
18325
18326 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
18327
18328         * config/v850/v850.md: Fix typo introduced by previous delta.
18329
18330 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18331
18332         * gcc.c (fatal): Make definition static to match prototype.
18333
18334 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18335
18336         * combine.c (get_last_value): Don't look for earlier sets if the last
18337         known set is somewhere in between the insns being combined.
18338
18339 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
18340
18341         * configure.in: Don't use shell ! to negate exit codes
18342         * configure: Regenerate
18343
18344 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
18345
18346         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
18347         the fact that ALIGN is measured in bits, not bytes.
18348
18349 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
18350
18351         * errors.c: New file; defines functions error, warning, and
18352         fatal, variables have_error and progname.
18353         * errors.h: New file; prototypes and decls for stuff in errors.c.
18354
18355         * Makefile: Add rules to build errors.o and
18356         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
18357         genopinit, genrecog, genextract, genpeep, genattr, and
18358         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
18359         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
18360         genpeep.o, genattr.o, and genoutput.o.
18361
18362         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
18363         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
18364         define or prototype fatal.  Set progname at beginning of main.
18365         * genoutput.c:  Likewise, and don't define or prototype error
18366         either.
18367
18368         * c-typeck.c (c_expand_start_case): Return immediately if exp
18369         is an ERROR_MARK.
18370         * fold-const.c (operand_equal_p): Return immediately if arg1
18371         or arg0 are ERROR_MARKs.
18372         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
18373         fields of type ERROR_MARK when calculating if the record can
18374         go in a register.
18375
18376 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
18377         with much help from Jeffrey A Law and Richard Henderson
18378
18379         * i386.md: In the 6 insns which call output_fix_trunc,
18380         earlyclobber operands[0].
18381
18382 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
18383
18384         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
18385         creating new registers.
18386
18387 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
18388
18389         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
18390         i386_reg_alloc_order, i386_regparm_string,
18391         i386_align_loops_string, i386_align_jumps_string,
18392         i386_align_funcs_string, i386_preferred_stack_boundary_string,
18393         and i386_branch_cost_string as type "const char *".
18394         * i386.c: Define all above strings as type "const char *".
18395
18396 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
18397
18398         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
18399         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
18400
18401 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
18402
18403         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
18404         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
18405
18406 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
18407
18408         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
18409         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
18410         (dwarf2out_line, dwarf2out_finish): Likewise.
18411         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
18412
18413 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18414
18415         * tree.c (lang_unsave_expr_now) : Correct return type.
18416         * tree.h (lang_unsave_expr_now) : Same.
18417
18418 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
18419
18420         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
18421         instead of duplicating code.
18422
18423 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18424
18425         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
18426
18427 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
18428
18429         * tree.h: fancy_abort always takes three args.
18430         * resource.c: Move include of system.h before toplev.h.
18431
18432 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
18433
18434         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
18435         as SYMBOL_REFs.
18436
18437 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
18438
18439         * system.h: Don't redefine abort or trim_filename.
18440         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
18441         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
18442         whether or not __FUNCTION__ is available.
18443         * tree.h: Duplicate rtl.h's definition of abort, for files
18444         that don't include rtl.h.  Delete all code to perform type
18445         checking with a compiler other than GCC.
18446         * varray.h: Delete all code to perform type checking with a
18447         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
18448         its arguments exactly once, using a statement expression.
18449         Adjust the VARRAY_<type> accessor macros to match.
18450         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
18451         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
18452         caller's location.  Define fatal_insn and fatal_insn_not_found
18453         as macros that use _fatal_insn and _fatal_insn_not_found.
18454         (fancy_abort, trim_filename): Kill prototypes.
18455
18456         * rtl.c (trim_filename): Move here from toplev.c.
18457         (fancy_abort): New function.
18458         (DIR_SEPARATOR): Provide default definition.
18459         * tree.c (tree_check_failed, tree_class_check_failed): Go
18460         through fancy_abort.
18461         (tree_check, tree_class_check, cst_or_constructor_check,
18462         expr_check): Delete.
18463         * varray.c (varray_check_failed): New function.
18464         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
18465         _fatal_insn and _fatal_insn_not_found.  Go through
18466         fancy_abort.
18467         (trim_filename, fancy_abort): Delete.
18468
18469         * builtins.c (expand_builtin_args_info): Report ICE with abort.
18470         * except.c (start_catch_handler): Report ICE with error/abort
18471         combo.
18472         * final.c (output_operand_lossage): Likewise.
18473         * flow.c (verify_flow_info): Likewise.
18474
18475         * gcc.c: Prototype fatal.
18476         * gengenrtl.c: Undef abort after including rtl.h not system.h.
18477         * genattr.c, genattrtab.c, genemit.c, genextract.c,
18478         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
18479         Don't define fancy_abort.
18480
18481 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
18482
18483         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
18484         canonization.
18485
18486 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
18487
18488         * m88k.h (VERSION_INFO2): Kill.
18489         (VERSION_STRING): Kill.
18490         (TM_RCS_ID): Kill.
18491         (VERSION_INFO1): Tidy.
18492         (TARGET_VERSION): Update.
18493         * m88k/dgux.h (VERSION_INFO2): Kill.
18494         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
18495         * m88k/luna.h (VERSION_INFO1): Tidy.
18496         * m88k/sysv4.h (VERSION_INFO1): Likewise.
18497         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
18498         (output_file_start): Adjust for death of VERSION_STRING.
18499
18500 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
18501
18502         * cpplib.c (detect_if_not_defined): New function.
18503         (do_if): Use it to detect potential once-only headers.
18504
18505 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
18506
18507         * c-common.c (combine_strings): Always set TREE_CONSTANT.
18508
18509 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18510
18511         * combine.c (nonzero_bits) : Allow single-ly set registers to be
18512         anywere in the function only if they are pseudos and set before
18513         being used (not live at the start of the function).
18514         (num_sign_bit_copies) : Same.
18515         (get_last_value_validate) : Same.
18516         (get_last_value) : Same.
18517
18518 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
18519
18520         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
18521         where N and M are constant and N is an integer multiple of M.
18522
18523 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18524
18525         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
18526         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
18527         sbitmap_union_of_preds): Add prototypes.
18528         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
18529         the intersection of successors with the new flow graph structures.
18530         (sbitmap_intersection_of_preds): New function to compute the
18531         intersection of predecessors with the new flow graph structures.
18532         (sbitmap_union_of_succs): New function to compute the union of
18533         successors with the new flow graph structures.
18534         (sbitmap_union_of_preds): New function to compute the union of
18535         predecessors with the new flow graph structures.
18536         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
18537         (expr_reaches_here_p): Use edge and basic_block structures instead
18538         of s_preds and s_succs.
18539         (compute_cprop_avinout): Use new sbitmap routines.
18540         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
18541         of s_preds and s_succs.
18542         * flow.c (compute_flow_dominators): Compute dominators using
18543         edges and basic blocks instead of s_preds and s_succs.
18544
18545 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18546
18547         * lists.c (unused_insn_list, unused_expr_list): New file for
18548         maintaining various types of lists. New statics for maintaining a
18549         cache of available INSN_LIST and EXPR_LIST nodes.
18550         (free_list): Static function for freeing a list of INSN/EXPR nodes.
18551         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
18552         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
18553         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
18554         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
18555         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
18556         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
18557         (free_INSN_LIST_node): Free an individual INSN_LIST node.
18558         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
18559         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
18560         (remove_dependence, free_pending_lists): Use new global routines.
18561         (flush_pending_lists, sched_analyze_insn): Use new global routines.
18562         (sched_analyze, compute_block_backward_dependences): Use new routines.
18563         (sched_analyze_1, sched_analyze_2): Use new routines.
18564         (schedule_insns): Use new global routines.
18565         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
18566         prototypes.
18567         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
18568         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
18569         prototypes.
18570         * toplev.c (rest_of_compilation): Initialize node cache.
18571         * Makefile.in (OBJS): Add lists.o to list of object files.
18572         (lists.o): Add dependancies.
18573
18574 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
18575
18576         * config/v850/v850.md: Fix compile time warning messages.
18577         * config/v850/v850.c: Fix compile time warning messages.
18578         * config/v850/v850.h: Fix compile time warning messages.
18579
18580 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18581
18582         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
18583         Remove unused prototype for `init_lengths'.
18584
18585 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18586
18587         * calls.c (emit_call_1): Mark parameter `stack_size' with
18588         ATTRIBUTE_UNUSED.
18589         (expand_call): Initialize variable `insn'.
18590         (emit_library_call): Likewise for variable `high_to_save'.
18591         (emit_library_call_value): Likewise.
18592         (store_one_arg): Likewise for variables `lower_bound' and
18593         `upper_bound'.
18594
18595         * combine.c (try_combine): Likewise for variables `i2_code_number'
18596         and `other_code_number'.
18597         (find_split_point): Likewise for variables `pos', `unsignedp' and
18598         `inner'.
18599         (simplify_if_then_else): Likewise for variables `op' and `c1'.
18600         (simplify_and_const_int): Remove unused variable `width'.
18601         (merge_outer_ops): Likewise.
18602
18603         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
18604         HOST_WIDE_INT' when comparing against one.
18605         (simplify_relational_operation): Likewise.
18606         (cse_insn): Initialize variables `src_eqv_volatile',
18607         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
18608
18609         * final.c (init_final): Constify parameter `filename'.
18610         (final_start_function): Mark parameter `optimize' with
18611         ATTRIBUTE_UNUSED.
18612         (profile_function): Likewise for parameters `first' and `optimize'.
18613         (output_source_line): Likewise for parameter `file'.
18614
18615         * integrate.c (subst_constants): Cast a value to `size_t' when
18616         comparing against one.
18617         (mark_stores): Initialize variable `mode'.  Cast a value to
18618         `size_t' when comparing against one.
18619
18620         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
18621
18622         * loop.c (move_movables): Initialize variable `first'.
18623         (strength_reduce): Likewise for variable `increment'.
18624         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
18625         value to `size_t' when comparing against one.
18626         (load_mems): Initialize variable `end_label'.
18627
18628         * output.h (init_final): Constify parameter.
18629
18630         * reload.c (decompose): Initialize variable `base'.
18631
18632         * reload1.c (reload): Likewise for variable `is_scalar'.
18633         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
18634         (choose_reload_regs): Initialize variable `mode'.
18635         (emit_reload_insns): Likewise for variable `store_insn'.
18636         (reload_cse_noop_set_p): Mark parameter `insn' with
18637         ATTRIBUTE_UNUSED.
18638         (reload_combine): Initialize variable `set'.
18639
18640         * unroll.c (unroll_loop): Likewise for variable `local_label'.
18641         (copy_loop_body): Cast a value to `size_t' when comparing against
18642         one.
18643
18644         * varasm.c (assemble_variable): Initialize variable `size_tree'.
18645         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
18646         (remove_from_pending_weak_list): Mark parameter `name' with
18647         ATTRIBUTE_UNUSED.
18648
18649 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18650
18651         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
18652         gcse dump file.
18653
18654 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
18655
18656         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
18657         (ASM_DECLARE_FUNCTION_NAME): Define.
18658         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
18659         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
18660         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
18661         not already defined.
18662
18663 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
18664
18665         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
18666         of n_popped when call/call_value are not defined.
18667
18668 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
18669
18670         * tm.texi: GNU CC -> GCC conversion.
18671         (CC1_SPEC): Indicate it is used for all language front ends.
18672
18673 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
18674
18675         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
18676         NOTE_INSN_EH_REGION_END correctly.
18677
18678 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
18679                           Jeff Law <law@cygnus.com>
18680
18681         * loop.c (strength_reduce): Automatically unroll loops if the
18682         unrolled loop size is smaller than the rolled loop size.
18683
18684         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
18685         and delete comment that code should be rewritten.
18686
18687 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
18688
18689         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
18690         as reachable.
18691
18692         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
18693
18694 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18695
18696         * fixinc/mkfixinc.sh: Don't fix uwin headers.
18697         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
18698         (LINK_SPEC): Add -u _main when building executables.
18699         (ASM_DECLARE_FUNCTION): Update from Cygwin.
18700         (ASM_FILE_END): Use the default for ix86-pe.
18701         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
18702
18703 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
18704
18705         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
18706         and ASM_CLOSE_PAREN are empty strings.
18707
18708 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
18709                           Geoffrey Keating <geoffk@cygnus.com>
18710
18711         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
18712         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
18713         (unprotoize.o): Ditto.
18714         (test-protoize-simple): Don't define STD_PROTO_DIR.
18715         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
18716         changes to make 'test-protoize-simple' pass.
18717         (STD_PROTO_DIR): Remove define.
18718         (STANDARD_EXEC_PREFIX): Supply default define.
18719         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
18720         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
18721         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
18722         (GET_ENV_PATH_LIST): New macro.
18723         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
18724         (do_processing): Initialize default_syscalls_dir using new
18725         macros.  Use it to initialize syscalls_absolute_filename.
18726
18727 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
18728
18729         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
18730         B into a register before emit_conditional_move.
18731
18732 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
18733
18734         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
18735         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
18736         multiplicand out of (+ (* a b) (* c d)).
18737
18738 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
18739                           Richard Henderson  <rth@cygnus.com>
18740
18741         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
18742         (new_insn_dead_notes): Likewise.
18743         (update_n_sets): Likewise.
18744         (update_flow_info): Move to flow.c, renamed to update_life_info;
18745         extend to handle multiple source insns.
18746         * flow.c: Include resource.h
18747         (unlink_insn_chain): New.
18748         (split_hard_reg_notes): New.
18749         (maybe_add_dead_note): New.
18750         (maybe_add_dead_note_use): New.
18751         (find_insn_with_note): New.
18752         (new_insn_dead_notes): New.
18753         (update_n_sets): New.
18754         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
18755         (maybe_remove_dead_notes): New.
18756         (update_life_info): New.
18757         (prepend_reg_notes): New.
18758         (replace_insns): New.
18759         * output.h (update_life_info): Declare.
18760         * recog.c (split_block_insns): Use update_life_info.
18761         * resource.c (find_free_register): Use reg_alloc_order, don't use
18762         fixed regs, make sure the mode is supported, don't use new regs.
18763         (reg_dead_p): New.
18764         * rtl.h (replace_insns): Declare.
18765
18766 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
18767
18768         * expr.c (expand_expr): Cope with COND_EXPRs with one
18769         non-returning branch.
18770
18771 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
18772
18773         * expr.c (store_expr): Always pass down the target, even when not
18774         doing CSE.
18775
18776 1999-08-24  Nick Clifton  <nickc@cygnus.com>
18777
18778         * configure.in: Define target_cpu_default for v850 targets.
18779         * configure: Regenerate
18780
18781         * config/v850/v850.h (TARGET_CPU_generic): Define.
18782         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
18783         addresses are 4 byte aligned.
18784
18785         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
18786         addresses.
18787
18788 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18789
18790         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
18791         (main): Add prototypes.
18792
18793         * genattrtab.c (substitute_address, write_const_num_delay_slots,
18794         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
18795         (write_attr_get): Emit prototypes along with function definition.
18796         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
18797         (write_complex_function): Emit static prototype along with
18798         function definition.
18799
18800         * genemit.c (gen_split): Emit prototypes along with function
18801         definition.
18802
18803         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
18804         Likewise for predicates and `insn_operand_predicate'.
18805         (process_template): Emit static prototype along with function
18806         definition.
18807
18808         * genrecog.c (make_insn_sequence): Constify a char*.  Add
18809         prototypes for get_split_*().
18810         (write_subroutine): Emit prototypes along with function
18811         definition.
18812
18813 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18814
18815         * gcse.c (find_avail_set): Follow chains of register-register copies.
18816         Use oprs_not_set_p to guarantee that the returned value can be
18817         substituted.
18818         (cprop_insn): Don't verify the return value of find_avail_set with
18819         oprs_not_set_p.
18820
18821         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
18822         (cprop_cc0_jump): New function.
18823         (cprop_insn): Break out new function cprop_jump and use it.
18824         Also use cprop_cc0_jump for machines with CC0.
18825         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
18826
18827         * tree.h (current_function_calls_setjmp,
18828         current_function_calls_longjmp): Delete declarations.
18829         * dsp16xx.c: Include "function.h".
18830         * elxsi.c: Likewise.
18831         * gmicro.c: Likewise.
18832         * h8300.c: Likewise.
18833         * i370.c: Likewise.
18834         * m32r.c: Likewise.
18835         * mn10200.c: Likewise.
18836         * mn10300.c: Likewise.
18837         * ns32k.c: Likewise.
18838         * spur.c: Likewise.
18839         * v850.c: Likewise.
18840
18841         * rtl.h (rtx_equal_function_value_matters): Declare.
18842         * toplev.c (rtx_equal_function_value_matters): Don't declare.
18843         * cse.c: Likewise.
18844         * function.c: Likewise.
18845         * emit-rtl.c: Likewise.
18846
18847 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
18848
18849         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
18850         call.
18851
18852 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18853
18854         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
18855         exactly.
18856
18857 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
18858
18859         * cpp.texi: Add a node documenting macro varargs (copied
18860         from extend.texi).
18861
18862 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
18863
18864         * cppspec.c: Put a null pointer at the end of the new argv.
18865
18866 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
18867
18868         * configure.in: Remove code to select/de-select the haifa
18869         scheduler.  Every scheduled port gets haifa now.
18870         * configure: Rebuilt.
18871         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
18872         * sched.c Deleted.
18873         * Makefile.in: Corresponding changes.
18874
18875 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18876
18877         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
18878         All callers changed.
18879         (prepare_float_lib_cmp): Likewise.
18880         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
18881         * expr.h (emit_float_lib_cmp): Delete declaration.
18882         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
18883         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
18884         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
18885         specially.
18886         (cmptf): Now conditional on TARGET_HARD_QUAD.
18887
18888 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
18889
18890         * resource.c (mark_target_live_regs): Use
18891         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
18892
18893 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18894
18895         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
18896
18897         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
18898
18899         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
18900
18901 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18902
18903         * rtl.h (rtx_format): Constify a char*.
18904
18905         * rtl.c (rtx_format): Likewise.
18906         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
18907         (init_rtl): Use accessor macro, not `rtx_format'.
18908
18909         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
18910         char*.
18911
18912         * caller-save.c (mark_referenced_regs): Likewise.
18913
18914         * combine.c (subst, make_compound_operation, known_cond,
18915         gen_rtx_combine, update_table_tick, get_last_value_validate,
18916         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
18917
18918         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
18919         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
18920         count_reg_usage): Likewise.
18921
18922         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
18923         Likewise.
18924
18925         * final.c (leaf_renumber_regs_insn): Likewise.
18926
18927         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
18928         dump_edge_info, count_reg_references): Likewise.
18929
18930         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
18931         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
18932         Likewise.
18933
18934         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
18935         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
18936         add_label_notes): Likewise.
18937
18938         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
18939         clear_struct_flag, count_sub_rtxs, count_alternatives,
18940         compares_alternatives_p, contained_in_p, walk_attr_value,
18941         write_expr_attr_cache): Likewise.
18942
18943         * genconfig.c (walk_insn_part): Likewise.
18944
18945         * genemit.c (max_operand_1, gen_exp): Likewise.
18946
18947         * genextract.c (walk_rtx): Likewise.
18948
18949         * genflags.c (num_operands): Likewise.
18950
18951         * genoutput.c (scan_operands): Likewise.
18952
18953         * genpeep.c (match_rtx): Likewise.
18954
18955         * genrecog.c (add_to_sequence): Likewise.
18956
18957         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
18958         Likewise.
18959
18960         * integrate.c (save_constants, copy_for_inline,
18961         copy_rtx_and_substitute, subst_constants, restore_constants):
18962         Likewise.
18963
18964         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
18965         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
18966
18967         * local-alloc.c (contains_replace_regs, memref_referenced_p):
18968         Likewise.
18969
18970         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
18971         add_label_notes, replace_call_address, count_nonfixed_reads,
18972         invariant_p, find_single_use_in_loop, find_mem_givs,
18973         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
18974         Likewise.
18975
18976         * print-rtl.c (reg_names, print_rtx): Likewise.
18977
18978         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
18979
18980         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
18981         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
18982         print_blocks): Likewise.
18983
18984         * regclass.c (fix_register, record_address_regs,
18985         reg_scan_mark_refs): Likewise.
18986
18987         * regmove.c (stable_but_for_p): Likewise.
18988
18989         * reload.c (loc_mentioned_in_p, operands_match_p,
18990         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
18991         copy_replacements, refers_to_regno_for_reload_p,
18992         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
18993         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
18994         Likewise.
18995
18996         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
18997         delete_address_reloads_1, count_occurrences,
18998         reload_cse_mem_conflict_p, reload_combine_note_use,
18999         add_auto_inc_notes): Likewise.
19000
19001         * resource.c (mark_referenced_resources, mark_set_resources):
19002         Likewise.
19003
19004         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
19005         reg_mentioned_p, regs_set_between_p, modified_between_p,
19006         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
19007         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
19008         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
19009         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
19010
19011         * sched.c (sched_analyze_2, attach_deaths): Likewise.
19012
19013         * stupid.c (stupid_mark_refs): Likewise.
19014
19015         * unroll.c (remap_split_bivs): Likewise.
19016
19017         * varasm.c (mark_constants): Likewise.
19018
19019         * a29k/a29k.c (uses_local_reg_p): Likewise.
19020
19021         * alpha/alpha.c (summarize_insn): Likewise.
19022
19023         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
19024         eliminate_lr2ip): Likewise.
19025
19026         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
19027
19028         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
19029         reg_mentioned_in_mem): Likewise.
19030
19031         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
19032         symbolic_reference_mentioned_p): Likewise.
19033
19034         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
19035
19036         * sh/sh.c (regs_used, mark_use): Likewise.
19037
19038         * vax/vax.c (vax_rtx_cost): Likewise.
19039
19040 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19041
19042         * machmode.h (mode_name): Constify a char*.
19043
19044         * rtl.c (mode_name): Likewise.
19045
19046         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
19047
19048         * optabs.c (init_libfuncs): Constify a char*.
19049
19050         * print-tree.c (mode_name): Remove redundant declaration.
19051         (print_node): Use accessor macro, not `mode_name'.
19052
19053         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
19054         not `mode_name'.
19055         (new_spill_reg): Constify a char*.
19056
19057         * tree.c (mode_name): Remove redundant declaration.
19058
19059 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19060
19061         * rtl.c (rtx_name): Constify a char*.
19062
19063         * rtl.h (rtx_name, fix_sched_param): Likewise.
19064
19065         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
19066         (mypr): Use accessor macro, not `rtx_name'.
19067
19068         * genemit.c (print_code): Constify a char*.
19069
19070         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
19071
19072         * genpeep.c (print_code): Constify a char*.
19073
19074         * genrecog.c (print_code): Likewise.
19075
19076         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
19077         end_bb): Add static prototype.
19078         (draw_edge): Constify a char*.
19079         (end_bb): Remove unused parameter.
19080
19081         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
19082         print_block_visualization): Constify a char*.
19083
19084 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
19085
19086         * c-common.c (c_get_alias_set): Update comment.
19087
19088 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19089
19090         * linux.h (LIB_SPEC): Added.
19091
19092 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19093
19094         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
19095
19096 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
19097
19098         * tree.c (expr_check): Fix typo in last change.
19099
19100 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
19101
19102         * rtl.def (NOTE): Change format to "iuu0n".
19103         (ADDR_DIFF_VEC): Change format to "eEee0".
19104         (ADDRESSOF): Change format to "eit".
19105
19106         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
19107         (RTVEC_ELT): Change to match.
19108         (XVECEXP): Use XVEC and RTVEC_ELT.
19109         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
19110         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
19111         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
19112         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
19113         TRAP_CONDITION, TRAP_CODE): Use XEXP.
19114         (INTVAL): Use XWINT.
19115         (ADDRESSOF_DECL): Use XTREE.
19116         (SET_ADDRESSOF_DECL): Delete.
19117         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
19118         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
19119         ifdefed out since 2.6 at least.
19120         (gen_rtvec_vv): Delete prototype.
19121
19122         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
19123         not rtunion.
19124         (copy_most_rtx): Handle 't' format letter.
19125         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
19126         (gen_rtvec_vv): Delete function.  All callers changed to use
19127         gen_rtvec_v instead.
19128         * print-rtl.c (print_rtx): Move special casing of NOTEs to
19129         the '0' format letter.
19130
19131         * function.c (gen_mem_addressof): Don't use
19132         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
19133         instead.
19134         * integrate.c (copy_rtx_and_substitute): Likewise.
19135         Copy 't' slots with XTREE.
19136         (subst_constants): Treat 't' slots like '[swi]' slots.
19137         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
19138         * jump.c (rtx_equal_for_thread_p): Likewise.
19139         * rtlanal.c (rtx_equal_p): Likewise.
19140         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
19141         only four arguments.
19142         * gengenrtl.c (type_from_format): Provide correct types for
19143         'b' and 't' slots.
19144
19145
19146         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
19147         If a recent gcc is in use (always in stage2 and beyond), use
19148         statement expressions, so we don't make a function call unless
19149         the check fails.  Evaluate arguments exactly once.
19150         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
19151         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
19152         Delete.
19153         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
19154         they evaluate their arguments exactly once, irrespective of
19155         the compiler in use.
19156
19157         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
19158         is used by the currently-enabled check macros.  This is:
19159         (tree_check_failed, tree_class_check_failed): For gcc.
19160         (tree_check, tree_class_check, cst_or_constructor_check,
19161         expr_check): For other compilers.
19162
19163         * gencheck.c: Do not define any *_CHECK1 macros.
19164
19165 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
19166                           Mark Mitchell <mark@codesourcery.com>
19167
19168         * c-common.c (c_get_alias_set): Fix support for poitners and
19169         references.
19170
19171 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
19172
19173         * alias.c: Include tree.h.
19174         (nonlocal_reference_p, mark_constant_function): New functions.
19175         * flow.c (life_analysis): Call mark_constant_function.
19176         * rtl.h (mark_constant_function): Declare it.
19177
19178 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
19179
19180         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
19181         unrecognisable switches.
19182
19183 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19184
19185         * loop.c (recombine_givs): Set ix field after sorting.
19186         (recombine_givs): Remove bogus index / giv lockstep looping.
19187
19188 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19189
19190         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
19191         on CODE.
19192         (emit_store_flag_force): Use do_compare_rtx_and_jump.
19193         (do_cmp_and_jump): Formatting fixes.
19194         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
19195         do_compare_rtx_and_jump instead of compare_from_rtx.
19196         (do_compare_rtx_and_jump): New function; mostly copied from
19197         compare_from_rtx.
19198         (do_jump_for_compare): Delete.
19199         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
19200         MIN_EXPR.
19201         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
19202         of compare/do_jump_for_compare pairs.
19203         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
19204         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
19205         compare_from_rtx/do_jump_for_compare pairs.
19206         (do_jump_by_parts_equality): Likewise.
19207         (do_jump_by_parts_equality_rtx): Likewise.
19208         * expr.h (do_compare_rtx_and_jump): Declare.
19209         * optabs.c (prepare_cmp_insn): New function, contains most of the code
19210         that used to be in emit_cmp_insn.
19211         (cmp_available_p): New function.
19212         (prepare_operand): New function.
19213         (emit_cmp_and_jump_insn_1): New function, contains some code that used
19214         to be in emit_cmp_insn.
19215         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
19216         parameters to be pointers; don't emit final compare but modify some of
19217         the values pointed to by the args so the caller can perform the
19218         correct comparison.
19219         (expand_binop): Call emit_store_flag_force with signed forms of
19220         comparison code.
19221         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
19222         emit_jump_insn pair.
19223         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
19224         emit_cmp_and_jump_insn_1.  Call emit_queue.
19225         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
19226         arg.
19227         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
19228         jump sets cc0 before deleting it.
19229         * integrate.c (expand_inline_function): Likewise.
19230         * unroll.c (unroll_loop): Similar changes in several places.
19231         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
19232         before deleting it.
19233
19234 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19235
19236         * Makefile.in (insn-recog.o): Update dependencies.
19237         * genrecog.c (main): Make generated file include "function.h".
19238
19239 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
19240
19241         * cse.c (cse_insn): Call never_reached_warning when a jump is
19242         changed to be unconditional.
19243         * flags.h: Declare warn_notreached.
19244         * flow.c (delete_block): Call never_reached_warning when
19245         a block is deleted.
19246         * jump.c (delete_barrier_successors): Call never_reached_warning
19247         when we delete everything after a BARRIER.
19248         (never_reached_warning): New function.
19249         * rtl.h: Declare never_reached_warning.
19250         * toplev.c (warn_notreached): New variable.
19251         (lang_independent_options): Set warn_notreached
19252         when -Wunreachable-code.
19253         (compile_file): We need line numbers for -Wunreachable-code.
19254
19255 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
19256
19257         * haifa-sched.c (insn_unit): Fix typo on out of range test.
19258         * sched.c (insn_unit): Likewise.
19259
19260 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
19261
19262         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
19263
19264 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19265
19266         * flow.c (create_edge_list): Use xmalloc, not malloc.
19267
19268 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
19269
19270         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
19271         C-style comments.  Do not lose the character before double slash.
19272
19273 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19274
19275         * basic-block.h (struct edge_list): Stucture to maintain a vector
19276         of edges.
19277         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
19278          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
19279         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
19280         New function prototypes.
19281         * flow.c (create_edge_list): Function to create an edge list.
19282         (free_edge_list): Discards memory used by an edge list.
19283         (print_edge_list): Debug output showing an edge list.
19284         (verify_edge_list): Internal consistency check for an edge list.
19285         (find_edge_index): Function to find an edge index for a pred and succ.
19286
19287 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
19288
19289         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
19290         hashtable.
19291
19292 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
19293
19294         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
19295
19296 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
19297
19298         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
19299
19300 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
19301
19302         * toplev.c (rest_of_compilation): Allow machine dependent
19303         reorganisation pass to place information into the RTL dump
19304         file if it so wishes.
19305
19306 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
19307
19308         * explow.c (hard_function_value): Use VOIDmode instead of
19309         MAX_MACHINE_MODE.
19310         * stmt.c (expand_return): Likewise.
19311         * stor-layout.c (get_best_mode): Likewise.
19312
19313         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
19314         emit call instead of emit_insn call.
19315
19316 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19317
19318         * configure.in: Handle --disable/enable-win32-registry.
19319         * install.texi: Document --disable/enable-win32-registry.
19320         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
19321         (WIN32_REGISTRY_KEY): New macro.
19322         * prefix.c: Use to enable/disable win32-specific code.
19323         (lookup_key): Use versioned key.
19324         * configure: Regenerate.
19325         * config.in: Likewise.
19326
19327 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
19328
19329         * cpplib.c (read_line_number): New fn, split out of...
19330         (do_line): Here.
19331
19332 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19333
19334         tree.c (lang_unsave_expr_now) : New.
19335         (unsave_expr_now): Call lang_unsave_expr_now.
19336         tree.h (lang_unsave_expr_now) : New.
19337
19338 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
19339
19340         * toplev.c (flag_new_exceptions): On by default.
19341
19342 1999-08-13  Michael Meissner  <meissner@cygnus.com>
19343
19344         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
19345
19346 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19347
19348         * dwarfout.c (fundamental_type_code): Return FT_boolean for
19349         INTEGER_TYPE with precision==1, it's __java_boolean.
19350
19351 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19352
19353         * global.c (prune_preferences): Move some invariants out of the
19354         inner loop.
19355
19356 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
19357
19358         * configure.in (alpha*-dec-osf*): Add osf5.
19359
19360 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
19361
19362         * configure.in: Rework handling of ARM GNU/Linux slightly.
19363         (arm*-*-linux-gnuoldld): New target.
19364         * configure: Regenerate.
19365         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
19366         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
19367         * config/arm/linux-oldld.h: New file.
19368         * config/arm/linux-elf26.h: Don't include linux-elf.h.
19369         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
19370         Don't define.
19371         * config/arm/linux-elf.h (ASM_SPEC): Define.
19372         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
19373         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
19374         for 26-bit APCS and old linker.
19375         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
19376         `arm_elf'.
19377         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
19378         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
19379         don't define `arm' or `arm_elf'.
19380         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
19381         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
19382
19383 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
19384
19385         * rtl.texi: Fix typo.
19386
19387 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
19388
19389         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
19390
19391 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
19392
19393         * extend.texi (C++ Signatures): Remove node.
19394         * invoke.texi: Remove discussion of -fhandle-signatures,
19395         signature, sigof, __signature__, and __sigof__.
19396
19397 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
19398
19399         * Makefile.in (JAVAGC): Removed.
19400
19401 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19402
19403         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
19404
19405 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
19406
19407         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
19408
19409 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
19410
19411         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
19412         a register that is already known to be a pointer.
19413
19414 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
19415
19416         * fixinc/inclhack.tpl: Only install assert.h conditionally.
19417         * fixinc/inclhack.sh: Regenerated.
19418         * fixinc/fixincl.sh: Regenerated.
19419
19420 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
19421
19422         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
19423         Fix documentation of -ansi flag to describe its C++ behavior.
19424         Remove bogus reference to GCC 2.9.
19425
19426 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
19427
19428         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
19429         note if it is non-NULL.
19430
19431 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19432
19433         * except.h (eh_nesting_info): Add new structure defintion.
19434         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
19435         (reachable_handlers, update_rethrow_references): Add function
19436         prototypes.
19437         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
19438         a rethrow symbol instead of an integer exception region number.
19439         * flow.c (Make_edges): Use new exception nesting routines to determine
19440         which handlers are reachable from a CALL or asynchronous insn.
19441         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
19442         goto receivers.
19443         (delete_eh_regions): Update rethrow labels, and don't delete
19444         regions which are the target of a rethrow.
19445         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
19446         avoid overloading the SYMBOL_REF_USED flag.
19447         (rethrow_symbol_map): Use new rethrow_ref field.
19448         (rethrow_used): Use new rethrow_ref field.
19449         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
19450         of an integer.  Fix formatting.
19451         (output_exception_table_entry): Use new rethrow_ref field.
19452         (can_throw): Check for EH_REGION_NOTE before deciding
19453         whether a CALL can throw or not.
19454         (scan_region): Call rethrow_used() instead of accessing data structure.
19455         (update_rethrow_references): New function to make sure only regions
19456         which are still targets of a rethrow are flagged as such.
19457         (process_nestinfo): New static function to initialize a handler
19458         list for a specific region.
19459         (init_eh_nesting_info): New function to allocate and initialize
19460         the list of all EH handlers reachable from all regions.
19461         (reachable_handlers): New function to retrieve the list of handlers
19462         reachable from a specific region and insn.
19463         (free_eh_nesting_info): New function to dispose of a list of
19464         reachable handlers.
19465
19466 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19467
19468         * flow.c (split_edge): Set JUMP_LABEL field.
19469         (commit_one_edge_insertion): Set head correctly for insert_before.
19470         When inserting insns, update insn block numbers if allocated.
19471
19472 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19473
19474         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
19475         retry_incomplete_types): Add static prototype.
19476         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
19477         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
19478         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
19479         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
19480         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
19481         Constify a char*.
19482
19483         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
19484         dwarf2out_start_source_file, dwarf2out_line): Likewise.
19485
19486 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19487
19488         * output.h (assemble_name): Constify a char*.
19489
19490         * varasm.c (UNIQUE_SECTION, assemble_start_function,
19491         assemble_variable, assemble_name): Likewise.
19492
19493         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
19494
19495         * arm/pe.c (arm_pe_unique_section): Likewise.
19496
19497         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
19498
19499         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
19500
19501         * i386/interix.c (i386_pe_unique_section): Likewise.
19502
19503         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
19504
19505         * i386/winnt.c (i386_pe_unique_section): Likewise.
19506
19507         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
19508
19509         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
19510
19511         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
19512
19513         * pa/pa.c (output_call): Likewise.
19514
19515         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
19516
19517         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
19518
19519         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
19520         Likewise.
19521
19522         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
19523         Likewise.
19524
19525         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
19526
19527         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
19528         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
19529
19530         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
19531
19532 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19533
19534         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
19535
19536 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19537
19538         * tree.h (lang_identify): Constify a char*.
19539         (print_error_function): Add extern prototype.  Constify a char*.
19540
19541         * c-lang.c (lang_identify): Constify a char*.
19542
19543         * objc/objc-act.c (lang_identify): Constify a char*.
19544
19545 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19546
19547         * genpeep.c (main): Make generated file include "function.h".
19548         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
19549
19550 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19551
19552         * Makefile.in: Update dependencies.
19553         * alias.c: Include "function.h"
19554         * c-decl.c: Likewise.
19555         * caller-save.c: Likewise.
19556         * calls.c: Likewise.
19557         * combine.c: Likewise.
19558         * cse.c: Likewise.
19559         * explow.c: Likewise.
19560         * final.c: Likewise.
19561         * global.c: Likewise.
19562         * graph.c: Likewise.
19563         * local-alloc.c: Likewise.
19564         * loop.c: Likewise.
19565         * optabs.c: Likewise.
19566         * profile.c: Likewise.
19567         * recog.c: Likewise.
19568         * regclass.c: Likewise.
19569         * regmove.c: Likewise.
19570         * reload.c: Likewise.
19571         * reorg.c: Likewise.
19572         * resource.c: Likewise.
19573         * sched.c: Likewise.
19574         * stupid.c: Likewise.
19575         * config/1750a/1750a.c: Likewise.
19576         * config/a29k/a29k.c: Likewise.
19577         * config/arc/arc.c: Likewise.
19578         * config/arm/arm.c: Likewise.
19579         * config/arm/thumb.c: Likewise.
19580         * config/c4x/c4x.c: Likewise.
19581         * config/clipper/clipper.c: Likewise.
19582         * config/convex/convex.c: Likewise.
19583         * config/fx80/fx80.c: Likewise.
19584         * config/i860/i860.c: Likewise.
19585         * config/m68k/m68k.c: Likewise.
19586         * config/m88k/m88k.c: Likewise.
19587         * config/mips/mips.c: Likewise.
19588         * config/pdp11/pdp11.c: Likewise.
19589         * config/pyr/pyr.c: Likewise.
19590         * config/romp/romp.c: Likewise.
19591         * config/sh/sh.c: Likewise.
19592         * config/tahoe/tahoe.c: Likewise.
19593         * config/vax/vax.c: Likewise.
19594         * config/we32k/we32k.c: Likewise.
19595         * config/sparc/sparc.c: Include "function.h".
19596         (mem_min_alignment): Test current_function rather than
19597         regno_pointer_align.
19598         * config/pa/pa.c: Likewise.
19599         (compute_frame_size): Delete declaration of
19600         current_function_outgoing_args_size.
19601         * config/arc/arc.h (current_function_varargs): Delete declaration.
19602         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
19603         declaration.
19604         * config/i370/i370.h (current_function_outgoing_args_size): Delete
19605         declaration.
19606         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
19607         current_function_uses_pic_offset_table.
19608         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
19609         of current_function_returns_pointer.
19610         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19611         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19612         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19613         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19614         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19615         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19616         * config/m88k/m88k.c: Include "function.h"
19617         (call_used_regs, current_function_pretend_args_size,
19618         current_function_outgoing_args_size, frame_pointer_needed): Delete
19619         declarations.
19620         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
19621         declaration.
19622         * config/mips/mips.h (current_function_calls_alloca): Delete
19623         declaration.
19624         * config/mn10200/mn10200.h (current_function_needs_context,
19625         rtx_equal_function_value_matters): Delete declarations.
19626         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
19627         flag_pic): Delete declarations.
19628         * config/pa/pa.h (current_function_pretend_args_size,
19629         current_function_decl): Delete declarations.
19630         * config/pa/som.h (current_function_varargs): Delete declaration.
19631         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
19632         declaration.
19633         * config/pyr/pyr.h (current_function_pretend_args_size,
19634         current_function_args_size, current_function_calls_alloca): Delete
19635         declarations.
19636         * config/sh/sh.h (current_function_varargs): Delete declaration.
19637         * config/sparc/sparc.h (current_function_outgoing_args_size,
19638         current_function_calls_alloca, current_function_decl): Delete
19639         declarations.
19640         * config/spur/spur.h (current_function_pretend_args_size,
19641         current_function_calls_alloca): Delete declarations.
19642         * config/v850/v850.c (current_function_outgoing_args_size): Delete
19643         declaration.
19644         * config/vax/vms.h (current_function_name): Delete declaration.
19645         * gcse.c: Include "function.h".
19646         (current_function_name, current_function_calls_setjmp): Delete
19647         declarations.
19648         * haifa-sched.c: Include "function.h".
19649         (forced_labels): Delete declaration.
19650         * jump.c: Likewise.
19651         * reg-stack.c: Likewise.
19652         * reload1.c: Likewise.
19653         * genemit.c (main): Make generated file include function.h.
19654         * genoutput.c (output_prologue): Likewise.
19655
19656         * builtins.c (saveregs_value, apply_args_value): Delete variables.
19657         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
19658         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
19659         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
19660         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
19661         macros for some of them.
19662         (emit_filename, emit_lineno): Delete declarations.
19663         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
19664         regno_pointer_* variables through current_function.
19665         (gen_inline_header_rtx): Delete function.
19666         (save_emit_status): Delete function.
19667         (set_new_last_label_num): New function.
19668         (clear_emit_caches): New function.
19669         (restore_emit_status): Just clear last_labelnum and call
19670         clear_emit_caches.
19671         (get_last_insn_anywhere): Variable sequence_stack is now accessed
19672         through macro seq_stack.
19673         (add_insn_after): Likewise.
19674         (add_insn_before): Likewise.
19675         (remove_insn): Likewise.
19676         (pop_topmost_sequence): Likewise.
19677         (in_sequence_p): Likewise.
19678         (start_sequence_for_rtl_expr): Likewise.
19679         (start_sequence): Likewise, and likewise for
19680         sequence_rtl_expr/seq_rtl_expr.
19681         (push_topmost_sequence): Likewise.
19682         (end_sequence): Likewise.
19683         (init_virtual_regs): Now takes a "struct emit_status *" argument.
19684         All callers changed.  Store into that pointer instead of globals.
19685         (init_emit): Allocate emit elt of current_function.
19686         Changes for sequence_rtl_expr/sequence_stack renaming.
19687         Call clear_emit_caches instead of doing it in-line.
19688         Access regno_pointer_* variables through current_function.
19689         (init_emit_once) Don't clear sequence_stack.
19690
19691         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
19692         Delete variables.
19693         (arg_pointer_save_area): Delete declaration.
19694         (finish_expr_for_function): Renamed from init_queue; no longer static.
19695         (init_expr): Don't call init_queue.
19696         (save_expr_status, restore_expr_status): Delete functions.
19697         (expand_expr): Changes to reflect new layout of struct function.
19698         Don't access current_function_check_memory_usage when current_function
19699         is 0.
19700         * expr.h (forced_labels, save_expr_regs, saveregs_value,
19701         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
19702         current_function_outgoing_args_size, current_function_arg_offset_rtx,
19703         current_function_uses_const_pool, function_call_count,
19704         current_function_uses_pic_offset_table, nonlocal_labels,
19705         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
19706         current_function_check_memory_usage, nonlocal_goto_handler_slots,
19707         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
19708         declarations.
19709         (finish_expr_for_function): Declare.
19710         * flags.h (current_function_has_nonlocal_label,
19711         current_function_has_nonlocal_goto, current_function_is_thunk,
19712         current_function_has_computed_jump): Delete declarations.
19713         * flow.c (forced_labels): Delete declaration.
19714         * function.c (current_function_pops_args,
19715         current_function_returns_struct, current_function_returns_pcc_struct,
19716         current_function_needs_context, current_function_calls_setjmp,
19717         current_function_calls_longjmp, current_function_has_nonlocal_label,
19718         current_function_has_nonlocal_goto, current_function_is_thunk,
19719         current_function_has_computed_jump, current_function_calls_alloca,
19720         current_function_contains_functions, current_function_returns_pointer,
19721         current_function_epilogue_delay_list, current_function_args_size,
19722         current_function_pretend_args_size, current_function_arg_offset_rtx,
19723         current_function_outgoing_args_size, current_function_varargs,
19724         current_function_stdarg, current_function_args_info, cleanup_label,
19725         current_function_name, current_function_uses_const_pool,
19726         current_function_instrument_entry_exit, current_function_return_rtx,
19727         current_function_uses_pic_offset_table, nonlocal_labels,
19728         current_function_internal_arg_pointer, current_function_cannot_inline,
19729         current_function_check_memory_usage, function_call_count,
19730         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
19731         nonlocal_goto_stack_level, return_label, save_expr_regs,
19732         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
19733         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
19734         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
19735         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
19736         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
19737         Delete variables.
19738         (push_function_context_to): Don't save them.  Don't call
19739         save_storage_status, save_emit_status or save_expr_status.
19740         (pop_function_context_from): Don't restore them.  Don't call
19741         restore_storage_status or restore_expr_status.
19742         (get_func_frame_size): New function.
19743         (get_frame_size): Use it.
19744         (assign_outer_stack_local): Reflect some member name changes in struct
19745         function.
19746         (put_reg_into_stack): Likewise.
19747         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
19748         seq_rtl_expr.
19749         (fixup_var_refs): Likewise.
19750         (fix_lexical_addr): Likewise.
19751         (trampoline_address): Likewise.
19752         (prepare_function_start): Clear field inlinable of current_function.
19753         (init_function_for_compilation): New function.
19754         (expand_dummy_function_end): New function.
19755         (expand_function_end): Call finish_expr_for_function.
19756         * function.h (struct emit_status): New; fields moved here from struct
19757         function and from global variables.  Add accessor macros for some of
19758         the fields.
19759         (struct expr_status): Likewise.
19760         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
19761         (struct function): Add fields expr and emit, inlinable, inl_emit,
19762         original_arg_vector, original_decl_initial, inl_last_parm_insn,
19763         inl_max_label_num.  Add many comments.
19764         Add accessor macros for all elts of struct function that no longer
19765         have a global variable.
19766         (cleanup_label, return_label, frame_offset, tail_recursion_label,
19767         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
19768         stack_slot_list): Delete declarations.
19769         (get_func_frame_size): Declare.
19770         (save_expr_status, restore_expr_status, save_emit_status,
19771         save_storage_status, restore_storage_status): Delete declarations.
19772         (init_virtual_regs): Declare.
19773         * output.h (current_function_pops_args,
19774         current_function_returns_struct, current_function_returns_pcc_struct,
19775         current_function_needs_context, current_function_calls_setjmp,
19776         current_function_calls_longjmp, current_function_calls_alloca,
19777         current_function_has_nonlocal_label, current_function_varargs,
19778         current_function_has_computed_jump, current_function_returns_pointer,
19779         current_function_contains_functions, current_function_args_size,
19780         current_function_pretend_args_size, current_function_stdarg,
19781         current_function_outgoing_args_size, current_function_args_info,
19782         current_function_name, current_function_return_rtx,
19783         current_function_epilogue_delay_list,
19784         current_function_uses_const_pool, current_function_cannot_inline):
19785         Delete declarations.
19786         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
19787         regno_reg_rtx): Delete declaration.
19788         (REGNO_POINTER_FLAG): Delete macro.
19789         * stmt.c (expand_goto): Changes to reflect that some fields in struct
19790         function were renamed.
19791         * stor-layout.c (save_storage_status, restore_storage_status): Delete
19792         functions.
19793         * toplev.c: Include "function.h".
19794         (current_function_decl): Delete declaration.
19795         (compile_file): Call init_dummy_function_start and
19796         expand_dummy_function_end around some initializations that need to
19797         emit rtl.
19798         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
19799         Call init_function_for_compilation.
19800         * unroll.c: Include "function.h"
19801         (unroll_loop): Access regno_pointer_* variables through
19802         current_function.
19803
19804         * tree.h (struct tree_decl): Add elt f to saved_insns member.
19805         (DECL_SAVED_INSNS): use it.
19806         (expand_dummy_function_end): Declare.
19807         (init_function_for_compilation): Declare.
19808         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
19809         that it's no longer an INLINE_HEADER.
19810         (expand_call): Likewise.
19811         * integrate.c (finish_inline): Delete function.
19812         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
19813         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
19814         args.  Don't generate an INLINE_HEADER rtx, just return the arg
19815         vector.  All callers changed.
19816         (save_for_inline_copying):  Create a duplicate struct emit_status to
19817         hold the emit state for compiling the current function.  Use this and
19818         the other new fields in struct function that are for integration
19819         instead of an INLINE_HEADER.
19820         Use memcpy instead of bcopy.
19821         Store the current struct function in DECL_SAVED_INSNS of fndecl.
19822         (save_for_inline_nocopy): Similar changes, except no new emit_status
19823         is needed here.
19824         (expand_inline_function): Get information from function structure,
19825         not from an inline header rtx.
19826         (output_inline_function): Lose code to extract the necessary
19827         information from an inline header; simply put back the function
19828         structure into current_function.  Clear its inlinable elt.
19829         * rtl.def (INLINE_HEADER): Delete.
19830         * rtl.h: Delete all accessors for an INLINE_HEADER.
19831         (gen_inline_header_rtx): Delete declaration.
19832         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
19833         Delete declarations.
19834         (REGNO_POINTER_ALIGN): Delete.
19835         (clear_emit_caches): Declare.
19836         (set_new_last_label_num): Declare.
19837
19838 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
19839
19840         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
19841
19842         * except.c (expand_eh_region_start_for_decl): Always start a new block.
19843         * stmt.c (is_eh_region): Make sure current_function is present, too.
19844
19845 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
19846
19847         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
19848         for 64bit PA targets.
19849
19850         * pa.h (SELECT_SECTION): Define.
19851         * som.h (SELECT_SECTION): Delete.
19852
19853 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19854
19855         * alias.c (init_alias_analysis): Wrap call to
19856         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
19857
19858 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
19859
19860         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
19861         <sys/asm.h> contains an asm comment with an apostrophe
19862         * fixinc/inclhack.sh:  regen
19863         * fixinc/fixincl.x:  regen
19864
19865 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
19866
19867         * function.c (init_function_start): Clear prologue & epilogue.
19868         (prologue_epilogue_contains): New function.
19869         * alias.c (init_alias_analysis): Use it.
19870         * rtl.h (prologue_epilogue_contains): Declare it.
19871
19872 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
19873
19874         * jump.c (onlyjump_p): New function.
19875         * rtl.h: Declare it.
19876         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
19877         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
19878
19879 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
19880
19881         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
19882         to invert loops.  Simplify block scanning.
19883
19884 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
19885
19886         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
19887         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
19888
19889 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
19890
19891         * config/sparc/liteelf.h: New file to support sparclite-elf target
19892         * config/sparc/t-sp86x: New file to support sparc86x targets
19893         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
19894         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
19895         * configure.in: Support above target triplets
19896         * configure: Regenerated
19897
19898 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
19899
19900         * fixinc/server.c (server_setup): Do not prefix function used as
19901         parameter with `&'.
19902
19903 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
19904
19905         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
19906         Remove fp reg alternatives.
19907
19908 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
19909
19910         * Makefiin (TAROUTOPTS): Kill.
19911         (install-headers-tar): Use "xpf" for tar headerfile extraction
19912         * i370/x-oe (TAROUTOPTS): Delete.
19913         * m68k/x-apollo68 (TAROUTOPTS): Delete.
19914         * m68k/x-hp320 (TAROUTOPTS): Delete.
19915         * m68k/x-hp320g (TAROUTOPTS): Delete.
19916         * gcc.texi: Update bug reporting text.
19917
19918 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19919
19920         * reg-stack.c (change_stack) Fixed problem with negative array index.
19921
19922 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
19923
19924         * extend.texi, install.texi: Fix spelling mistakes.
19925
19926         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
19927         (s-attrtab); No longer try to use pre-made insn-attrtab file.
19928         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
19929         PREMADE_ATTRTAB_MD.
19930         * mips/t-ecoff: Likewise.
19931         * mips/t-elf: Likewise.
19932         * mips/t-mips: Likewise.
19933         * mips/t-osfrose: Likewise.
19934         * mips/t-r3900: Likewise.
19935         * mips/t-svr3: Likewise.
19936         * mips/t-svr4: Likewise.
19937         * mips/t-ultrix: Likewise.
19938
19939         * gcc.texi: Document recommend means to provide software floating
19940         point libraries in libgcc.a
19941
19942 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
19943
19944         * c-lex.c (yylex): We can have a number with no digits.
19945
19946 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
19947
19948         * jump.c (delete_prior_computation): New function, broken
19949         out of delete_computation.  Check for side effects with
19950         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
19951         multi-word hard registers.
19952         (delete_computation): Use it.  Check for side effects with
19953         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
19954         missing REG_DEAD note for a register which is both set and
19955         used by an insn.
19956
19957 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
19958
19959         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
19960         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
19961         (ASM_FILE_START): Import _mcount with the right type.
19962         (ASM_DECLARE_FUNCTION_NAME): Define.
19963         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
19964         * pa.c (output_function_prologue): Always emit the function's label
19965         here.
19966         * pa.h (TEXT_SPACE_P): Define.
19967         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
19968         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
19969         * som.h (TEXT_SPACE_P): Delete.
19970         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
19971         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
19972
19973 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
19974
19975         * expr.c (emit_group_load): Allow src to be a CONCAT.
19976
19977 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19978
19979         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
19980         (___mulsi3): Use '!' comment character.
19981
19982 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19983
19984         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
19985
19986 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
19987
19988         * gcc.c: Update URLs and mail addresses.
19989         * gcc.texi: Likewise.
19990
19991 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
19992
19993         * rs6000.c (current_file_function_operand): Return zero for
19994         weak functions.
19995         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
19996         weak symbols.
19997         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
19998         for weak symbols.
19999
20000 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
20001
20002         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
20003         allocate space in the stack frame for the PIC register.
20004
20005 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
20006
20007         * m68k.md (xordi3, anddi3): These patterns are not available on
20008         the coldfire.
20009
20010 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
20011
20012         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
20013         (PUT_REAL): Likewise.
20014
20015 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20016
20017         * final.c (shorten_branches): Don't add an alignment for loops
20018         that have no label inside.
20019
20020 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20021
20022         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
20023         prototypes in macro HAVE_cmpstrsi.
20024
20025         * cpplib.c (cpp_get_token): Remove unused label `op3'.
20026
20027         * emit-rtl.c (operand_subword): Remove unused variable
20028         `bits_per_word'.
20029
20030         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
20031
20032         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
20033
20034 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
20035
20036         * cpphash.c (macroexpand): Delete leading whitespace when arg
20037         is concatenated before.
20038         (unsafe_chars): Correct test for whether + and - can extend a
20039         token.
20040
20041         * cppinit.c (cpp_start_read): Do dependencies for
20042         -include/-imacros files also.
20043
20044         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
20045         tokenizing non-directive lines.
20046         (cpp_expand_to_buffer): Temporarily disable no-output mode.
20047         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
20048         the input file.
20049
20050 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20051
20052         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
20053
20054         * c-lex.c: Sync with C++ frontend.
20055         (linemode): New variable.
20056         (parse_float): imag, conversion_errno, and type are output only.
20057         (yylex): Adjust.  Move initial '.' case into main switch.
20058         Use linemode.
20059         (handle_generic_pragma): Just deal with tokens.
20060         (readescape): Use ISXDIGIT and ISGRAPH.
20061         * c-parse.in: Add END_OF_LINE token.
20062
20063         * c-lex.c (lang_init): Generalize.
20064         (nextchar): Remove.  Replace uses with UNGETC.
20065         (skip_white_space): Handle linemode here.  Optimize for cpplib.
20066         (skip_white_space_on_line): Remove.
20067         (extend_token_buffer_to): New fn.
20068         (extend_token_buffer): Use it.
20069         (read_line_number, check_newline): Just deal with tokens.
20070         (token_getch, token_put_back): New fns.
20071         (yylex): Use them.  More cpplib optimizations.  Simplify.
20072
20073 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20074                           Jason Merrill  <jason@yorick.cygnus.com>
20075
20076         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
20077         (consume_string): Make this smart about USE_CPPLIB.
20078         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
20079         (yylex): Rewrite to be intelligent about USE_CPPLIB.
20080         Also, clean up cases where we redundantly set token_buffer[0].
20081         (read_line_number): New fn.
20082         (ignore_escape_flag): New variable.
20083
20084 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
20085
20086         * a29k/t-a29kbare: Fix some comments.
20087         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
20088         (FPBIT, DPBIT): Define.
20089         * a29k/t-vx29k: Likewise.
20090         * arc/t-arc: Likewise.
20091         * arm/t-arm-elf: Likewise.
20092         * arm/t-bare: Likewise.
20093         * arm/t-pe: Likewise.
20094         * arm/t-pe-thumb: Likewise.
20095         * arm/t-semi: Likewise.
20096         * arm/t-thumb: Likewise.
20097         * arm/t-thumb-elf: Likewise.
20098         * arm/t-thumb-linux: Likewise.
20099         * h8300/t-h8300: Likewise.
20100         * i960/t-i960: Likewise.
20101         * i960/t-vxworks960: Likewise.
20102         * m32r/t-m32r: Likewise.
20103         * mips/t-ecoff: Likewise.
20104         * mips/t-elf: Likewise.
20105         * mips/t-r3900: Likewise.
20106         * pa/t-pro: Likewise.
20107         * rs6000/t-aix43: Likewise.
20108         * rs6000/t-beos: Likewise.
20109         * rs6000/t-newas: Likewise.
20110         * rs6000/t-ppccomm: Likewise.
20111         * rs6000/t-rs6000: Likewise.
20112         * rs6000/t-winnt: Likewise.
20113         * rs6000/t-xnewas: Likewise.
20114         * rs6000/t-xrs6000: Likewise.
20115         * sh/t-sh: Likewise.
20116         * sparc/t-elf: Likewise.
20117         * sparc/t-sparcbare: Likewise.
20118         * sparc/t-sparclite: Likewise.
20119         * sparc/t-splet: Likewise.
20120         * v850/t-v850: Likewise.
20121         * mn10200/t-mn10200: Fix comments.
20122         * mn10300/t-mn10300: Likewise.
20123
20124         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
20125         dummy operand.  Allocate a new pseudo for the dummy operand.
20126         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
20127
20128         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
20129
20130 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
20131
20132         * configure: Rebuilt.
20133         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
20134
20135 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
20136
20137         * recog.c (preproces_constraints): Zero recog_op_alt before
20138         processing the constraints.
20139
20140         * arm.c (typedef minipool_node): Renamed from pool_node.
20141         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
20142         (add_minipool_constant): New function.
20143         (dump_minipool): New function.
20144         (find_barrier): Remove special case for getting the insn size of
20145         an insn that references the constant pool.
20146         (minipool_fixup): New structure.
20147         (push_minipool_barrier): New function.
20148         (push_minipool_fix): New function.
20149         (note_invalid_constants): New function.
20150         (add_pool_constant, dump_table, fixit, broken_move): Delete.
20151         (arm_reorg): Rewrite code to fix up the constant pool into a
20152         series of mini-pools embedded in the insn stream.
20153         (arm_output_epilogue): New function, made mainly from the body
20154         of output_func_epilogue.
20155         (output_func_epilogue): Move insn generation part of epilogue code
20156         to arm_output_epilogue.
20157         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
20158         * arm.md (pool_range): New attribute.
20159         (zero_extendqidi2): Add attribute pool_range.
20160         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
20161         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
20162         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
20163         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
20164         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
20165         (epilogue): New expand.
20166         (epilogue_insn): New insn.  Call arm_output_epilogue.
20167
20168         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
20169         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
20170
20171 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20172
20173         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20174
20175 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
20176
20177         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
20178
20179 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
20180
20181         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
20182
20183 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
20184
20185         * global.c: Fix comment.
20186
20187 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
20188
20189         * gcc.c (access_check): New static function.
20190         (find_a_file): Use it when searching a directory list.
20191         * collect2.c (find_a_file): Don't accept directories found when
20192         searching a directory list.
20193
20194 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
20195
20196         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
20197         function parameters with `&'.
20198         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
20199
20200 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
20201
20202         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
20203         or tidy_fallthru_edge if the last insn in the block is not
20204         an unconditional jump or a simple conditional jump.
20205
20206 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20207
20208         * Makefile.in (c-decl.o): Depends on defaults.h.
20209
20210 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
20211
20212         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
20213         PA1.1 and above.
20214         (CLASS_MAX_NREGS): Likewise.
20215
20216 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
20217
20218         * cse.c (cse_insn): Fix dumb thinko in last change.
20219
20220 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20221
20222         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
20223         "const char *".
20224
20225 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
20226
20227         * dwarf2out.c (add_location_or_const_value_attribute): Correct
20228         test for sizes of passed and declared parameter types.
20229
20230 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20231
20232         * fixincludes: Fix the return type of bsearch, char* -> void*.
20233
20234         * fixinc/inclhack.def: Likewise.
20235
20236 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
20237
20238         * invoke.texi (-fdump-translation-unit): New option.
20239
20240 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
20241
20242         * expr.h (PROMOTE_PROTOTYPES): Move ...
20243         * defaults.h: ... to here.
20244         * c-decl.c: Include defaults.h instead of expr.h.
20245         * c-typeck.c: Include defaults.h.
20246
20247 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
20248
20249         * toplev.h (errorcount): Declare.
20250         (warningcount): Likewise.
20251         (sorrycount): Likewise.
20252         * c-lex.c (errorcount): Don't declare.
20253         * dwarf2out.c (errorcount): Don't declare.
20254
20255 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
20256
20257         * config/libgloss.h: Add a note discouraging use with ELF.
20258         * configure.in: Don't use libgloss.h for ELF targets.
20259         Always use_collect2 on a.out targets.
20260
20261 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
20262
20263         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
20264         (force_to_mode, case ASHIFTRT): Add shiftrt label.
20265
20266 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20267
20268         * loop.c (strength_reduce): When doing biv->giv conversion, update
20269         reg note of NEXT->insn.
20270
20271 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20272
20273         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
20274
20275 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20276
20277         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
20278         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
20279         Ensure expr.h is included.
20280         * c-typecheck.c (convert_arguments): Ditto.
20281
20282         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
20283
20284         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
20285         * config/convex/convex.h: Ditto.
20286         * config/dsp16xx/dsp16xx.h: Ditto.
20287         * config/fx80/fx80.h: Ditto.
20288         * config/gmicro/gmicro.h: Ditto.
20289         * config/i370/i370.h: Ditto.
20290         * config/i386/i386.h: Ditto.
20291         * config/m32r/m32r.h: Ditto.
20292         * config/m68k/m68k.h: Ditto.
20293         * config/m88k/m88k.h: Ditto.
20294         * config/mips/mips.h: Ditto.
20295         * config/pa/pa.h: Ditto.
20296         * config/pyr/pyr.h: Ditto.
20297         * config/tahoe/tahoe.h: Ditto.
20298         * config/we32k/we32k.h: Ditto.
20299
20300         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
20301         based on arch size.
20302
20303         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
20304
20305         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
20306         from comment.
20307
20308         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
20309
20310 1999-08-02  Richard Henderson  <rth@cygnus.com>
20311
20312         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
20313         for the register spill block.
20314         (m32r_va_arg): New.
20315         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
20316         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
20317
20318         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
20319         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
20320         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
20321
20322 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20323
20324         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
20325         MAX_WCHAR_TYPE defined in sparc.h.
20326         * config/sparc/linuxaout.h: Likewise.
20327         * config/sparc/linux64.h: Likewise.
20328         Also default to -mvis if CPU is UltraSPARC.
20329
20330 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20331
20332         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
20333         (RTX_OK_FOR_OLO10): Likewise.
20334         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
20335         %lo(), allow it in addresses...
20336         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
20337         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
20338         does not make sense.
20339         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
20340         (sparc_output_scratch_registers): New function.
20341         (output_function_prologue, sparc_flat_output_function_prologue): Use
20342         it.
20343         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
20344         defined.
20345         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
20346         * configure.in: Add check for .register pseudo-op support in as and
20347         check for offsetable %lo().
20348         * acconfig.h: Add templates for the above checks.
20349         * configure: Regenerate.
20350
20351 1999-08-02  Richard Henderson  <rth@cygnus.com>
20352
20353         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
20354         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
20355         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
20356
20357 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20358
20359         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20360         reg_biv_class.
20361
20362 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20363
20364         * config/float-sparc.h: New file.
20365         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
20366         sparc-*-linux-gnu and sparc64-*-linux*.
20367
20368 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20369
20370         * rs6000.c (rs6000_va_list): Type is an array.
20371         (rs6000_va_start): Don't doubly adjust for varargs.
20372         (rs6000_va_arg): Evaluate long long GPR adjustment.
20373
20374 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
20375
20376         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
20377         -maix64 and -maix32.
20378         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
20379         LINK_SPEC): Change appropriately.
20380         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
20381         (u_short_cint_operand): Likewise.
20382         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
20383         for 64-bit hosts.
20384         * rs6000/t-aix43 (MULTILIB): Change to -m64.
20385
20386         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
20387
20388 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
20389
20390         * rs6000/rs6000.c (num_insns_constant_wide): Correct
20391         for type promotion.
20392         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
20393         (non_add_cint_operand): Likewise.
20394         (logical_operand): Likewise.
20395         (non_logical_cint_operand): Likewise.
20396         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
20397         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
20398         (rs6000_select_rtx_section): Suppress warning.
20399         (small_data_operand): Suppress warning.
20400         (rs6000_got_register): Suppress warning.
20401         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
20402         type, so `J' is generally the wrong constraint for a SImode value;
20403         use `L' instead.
20404         (andsi3_internal2): Likewise.
20405         (andsi3_internal3): Likewise.
20406         (iorsi3_internal1): Likewise.
20407         (xorsi3_internal1): Likewise.
20408         (movsi): Likewise.
20409         (movsf_softfloat): Likewise.
20410         (scc insns): Likewise.
20411         (movsi+2): Preserve sign bits of SImode constant.
20412         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
20413         (movdf+1): Sign-extend properly.
20414         (movdi_32+1): Sign-extend properly.
20415         (scc insns): Sign-extend properly.
20416
20417         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
20418         K, L, and T.
20419
20420 1999-08-02  Richard Henderson  <rth@cygnus.com>
20421
20422         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
20423         -mcpu parsing code.
20424         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
20425         * alpha.md (all fp insns): Likewise.
20426
20427 1999-08-02  Nick Clifton  <nickc@cygnus.com>
20428
20429         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
20430         already defined.
20431
20432 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
20433
20434         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
20435         pic_load_label generator directly.
20436         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
20437         No longer a named pattern.
20438
20439 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
20440
20441         * explow.c (force_reg): Call force_operand if X does not
20442         satisfy general_operand.
20443
20444 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
20445
20446         * fix-header.c (main): When testing for CONTINUED, use string
20447         equality, not pointer equality.
20448
20449 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
20450
20451         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
20452
20453 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
20454
20455         * cse.c (cse_insn): Fix loop which deletes insns after a jump
20456         that has become an unconditional jump.
20457
20458         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
20459         (output_function_epilogue): Similarly.
20460
20461 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20462
20463         * tree.h (init_dummy_function_start): Declare.
20464
20465 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20466
20467         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
20468         last_expr_type, last_expr_value, block_start_count, block_stack,
20469         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
20470         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
20471         dynamically in stmt elt of struct function for each function.
20472         (struct nesting): Rename function_call_count elt to n_function_calls,
20473         target_temp_slot_level to block_target_temp_slot_level.  All users
20474         changed.
20475         (struct stmt_status): New structure definition.
20476         Add many accessor macros for stmt_status elements which previously
20477         were global variables.
20478         (init_stmt_for_function): Allocate stmt elt for current_function.
20479         Reflect that block_start_count was renamed to
20480         current_block_start_count.
20481         (save_stmt_status, restore_stmt_status): Delete functions.
20482         (preserve_subexpressions_p): Don't access loop_stack when outside
20483         a function.
20484         (expand_start_bindings): Reflect that block_start_count was renamed to
20485         current_block_start_count.
20486         (expand_fixup): Likewise.
20487         (expand_decl): Don't access block_stack when outside a function.
20488         (expand_decl_cleanup): Likewise.
20489         (expand_dcc_cleanup): Likewise.
20490         (expand_dhc_cleanup): Likewise.
20491         (expand_anon_union_decl): Likewise.
20492         (set_file_and_line_for_stmt): New function.
20493         (in_control_zone_p): New function.
20494
20495         * function.h (struct function): Add new elt stmt.
20496         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
20497         case_stack, nesting_stack, nesting_depth, block_start_count,
20498         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
20499         emit_lineno, goto_fixup_chain.
20500         (save_eh_status, restore_eh_status, save_stmt_status,
20501         restore_stmt_status): Delete declarations.
20502         * function.c (push_function_context_to): Don't call save_stmt_status.
20503         (pop_function_context_to): Don't call restore_stmt_status.
20504         * tree.h (in_control_zone_p): Declare.
20505         * rtl.h (set_file_and_line_for_stmt): Declare.
20506
20507         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
20508         call set_file_and_line_for_stmt.
20509
20510 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
20511
20512         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
20513         Also update copyright.
20514
20515 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20516
20517         * c-pragma.c: Don't include "except.h".
20518         * emit-rtl.c: Likewise.
20519         * stor-layout.c: Likewise.
20520         * tree.c: Likewise.
20521         * varasm.c: Likewise.
20522
20523         * flow.c: Include "function.h".
20524         * tree.h (init_dummy_function_start): Declare new function.
20525
20526         * except.h (struct eh_status): New structure.
20527         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
20528         been included.
20529         (eh_return_stub_label, ehstack, catchstack, ehqueue,
20530         catch_clauses, false_label_stack, caught_return_label_stack,
20531         protect_list, current_function_ehc): Add accessor macros for the
20532         corresponding fields in current_function->eh; delete declarations
20533         for all items that used to be declared here.
20534         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
20535         catch_clauses, false_label_stack, caught_return_label_stack,
20536         protect_list, current_function_ehc): Delete variables.
20537         (init_eh_for_function): Allocate current_function->eh.
20538         (save_eh_status, restore_eh_status): Delete functions.
20539
20540         * function.h (struct function): Add fields next_global and eh.
20541         Delete all exception handling related fields.
20542         * function.c (current_function): New variable.
20543         (all_functions): New variable.
20544         (push_function_context_to): Don't allocate a struct function,
20545         use current_function instead.  Call init_dummy_function_start when
20546         outside a function.  Clear current_function before returning.
20547         (pop_function_context_from): Restore current_function.
20548         Don't free the restored struct function.
20549         (prepare_function_start): New function.
20550         (init_dummy_function_start): New function.
20551         (init_function_start): Break out some code into prepare_function_start
20552         and call it here.
20553
20554         * stmt.c (save_stmt_status): Don't call save_eh_status.
20555         (restore_stmt_status): Don't call restore_eh_status.
20556
20557         * Makefile.in: Update dependencies.
20558
20559 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
20560
20561         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
20562         of depending on a magic constant value.  Update comments.
20563         (hppa_expand_prologue): Similarly.
20564
20565         * pa.md (reload_indi, reload_outdi): Allow any register for the
20566         original reload register.
20567
20568 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
20569
20570         * cccp.c (print_help): Change marcos to macros.
20571
20572 1999-07-30  Richard Henderson  <rth@cygnus.com>
20573
20574         * c-typeck.c (initializer_constant_valid_p): Move ...
20575         * c-common.c (initializer_constant_valid_p): ... here.  Use
20576         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
20577         of label addresses.
20578         * c-common.h (initializer_constant_valid_p): Declare.
20579         * c-tree.h (initializer_constant_valid_p): Remove.
20580
20581 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
20582
20583         * config/i386/sol2-c1.asm: Align the stack.
20584         * config/i386/sol2-gc1.asm: Likewise.
20585
20586 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
20587
20588         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
20589         -Asparclite for sparc86x.
20590         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
20591         sparc86x.
20592         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
20593
20594 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
20595
20596         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
20597         the user if using the non-default arch size in BI_ARCH configuration.
20598         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
20599
20600         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
20601         Fix patterns so that they actually match.
20602         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
20603         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
20604         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
20605         TARGET_HARD_MUL32.
20606         (mulsidi3): Reflect this in the expand.
20607         (smulsi3_highpart): Only on TARGET_ARCH32.
20608         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
20609         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
20610         (umulsidi3): Reflect this in the expand.
20611         (umulsi3_highpart): Only on TARGET_ARCH32.
20612         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
20613         don't require g0 to be zero.
20614         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
20615         ({,u}divsi3): New expands.
20616         ({,u}divsi3_sp64): New patterns.
20617         (after lshrdi3_v8plus): Four new patterns to help combiner
20618         optimizing nested mixed mode shifts.
20619
20620         * config/sparc/sparc.c (sparc_override_options): Use deprecated
20621         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
20622         speed things up. Don't use them by default on plain v9 in 64bit
20623         mode, according to what SPAMv9 sais.
20624
20625         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
20626         top 32 bits of %[og][0-7] in signal handlers.
20627         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
20628
20629 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
20630
20631         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
20632         (ashlsi3): Corresponding changes.
20633
20634         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
20635
20636 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
20637
20638         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
20639
20640 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20641
20642         * arm.h (Hint): Delete macro.
20643         Substitute HOST_WIDE_INT for Hint in some prototypes.
20644         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
20645
20646 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
20647
20648         * builtins.c (expand_builtin_setjmp): Use force_operand to
20649         make sure that the buffer address is in a suitable form to be
20650         passed to force_reg.
20651
20652 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
20653
20654         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
20655         them here.
20656
20657 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
20658
20659         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
20660         proper mode in the condition string.
20661         (icacheflush, dcacheflush): Remove modes from match_operands.
20662
20663         * pa.c (emit_move_sequence): Always convert scratch_reg to the
20664         proper mode before using it.
20665
20666         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
20667         pair.
20668
20669         * pa.c (store_reg): Do not call add_high_const generator directly.
20670         (load_reg, set_reg_plus_d): Likewise.
20671         * pa.md (add_high_const): No longer a named pattern.
20672
20673         * pa.c (legitimize_address): Consistently use Pmode rather than
20674         SImode.  Do not call gen_pic2_highpart directly anymore.
20675         * pa.md (pic2_highpart): No longer a named pattern.
20676         (pic2_lo_sum): Similarly.  Reformat to make more readable.
20677
20678         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
20679         needed.
20680
20681         * README: Update.
20682
20683 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20684
20685         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
20686
20687 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
20688
20689         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
20690         and tag the spill mems.
20691         (hppa_va_start): New.
20692         (hppa_va_arg): New.
20693         * pa.h (EXPAND_BUILTIN_VA_START): New.
20694         (EXPAND_BUILTIN_VA_ARG): New.
20695
20696 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
20697
20698         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
20699         and tag the spill mems.
20700         (mn10300_va_start): New.
20701         (mn10300_va_arg): New.
20702         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
20703         (EXPAND_BUILTIN_VA_ARG): New.
20704
20705 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
20706
20707         * mn10200.c (mn10200_va_arg): New.
20708         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
20709
20710 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
20711
20712         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
20713         rather than play with TREE_INT_CST_LOW.
20714
20715 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
20716
20717         * config/arm/telf.h: Include dbxelf.h.
20718         (CPP_PREDEFINES): Only define if not already defined.
20719         (ASM_IDENTIFY_GCC): Likewise.
20720         (SUBTARGET_EXTRA_SECTIONS): Likewise.
20721         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
20722         * config/arm/thumb.h (LINK_SPEC): Only define if not already
20723         defined.
20724         (DBX_DEBUGGING_INFO): Don't define.
20725         * config/arm/linux-telf.h: New file.
20726         * config/arm/linux-tgas.h: New file.
20727         * config/arm/t-thumb-linux: New file.
20728         * config/arm/uclinux-elf.h: New file.
20729         * config/arm/uclinux-telf.h: New file.
20730         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
20731         thumb-*-uclinux): New targets.
20732         * configure: Regenerate.
20733
20734 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
20735
20736         * pa.md (post_store, pre_load): New expanders.
20737         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
20738         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
20739         need to directly generate RTL for them.
20740         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
20741         changes.
20742
20743 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
20744
20745         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
20746         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
20747         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
20748         (secndary_reload_class): Make TARGET_ELF conditional compile.
20749         (print_operand_address): Similar.
20750         (output_toc): Print all values as hex.
20751         (get_issue_rate): Rearrange and add RS64A and PPC630.
20752         * rs6000.h (processor_type): Add RS64A and PPC630.
20753         (PROCESSOR_POWERPC64): New.
20754         (PROMOTE_MODE): Use word_mode.
20755         (RTX_COSTS): Add RS64A and PPC630.
20756         * rs6000.md (scheduling information): Add lmul and ldiv
20757         representing 64-bit integer multiply and divide.  Add rs64a and
20758         PPC630 information.
20759         (ashldi3): Add support for "rldic" instruction.
20760         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
20761
20762 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
20763
20764         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
20765         instead of V8 for sparclite86x in cpu_table.
20766
20767 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20768
20769         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
20770         output_file_directive.
20771
20772 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
20773
20774         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
20775         tree for op1, not the rtl.
20776
20777 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
20778
20779         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
20780         to m88k_va_start, leaving only the register spill.
20781         (m88k_build_va_list): New.
20782         (m88k_va_start): New.
20783         (m88k_va_arg): New.
20784         * m88k.h (BUILD_VA_LIST_TYPE): New.
20785         (EXPAND_BUILTIN_VA_START): New.
20786         (EXPAND_BUILTIN_VA_ARG): New.
20787
20788 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
20789
20790         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
20791         Rename from expand_builtin_saveregs.
20792         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
20793
20794 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
20795
20796         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
20797         for the register spill block.
20798         (i960_build_va_list): New.
20799         (i960_va_start): New.
20800         (i960_va_arg): New.
20801         * i960.h (BUILD_VA_LIST_TYPE): New.
20802         (EXPAND_BUILTIN_VA_START): New.
20803         (EXPAND_BUILTIN_VA_ARG): New.
20804         * i960.md (store_multiple): Use change_address on individul mems.
20805
20806 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
20807
20808         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
20809         an ARRAY_TYPE.
20810         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
20811         (expand_builtin_va_end): Evaluate arg for side effects.
20812         * c-common.c (c_common_nodes_and_builtins): Construct a
20813         va_list_arg_type_node to handle array decomposition to pointer.
20814
20815 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
20816
20817         * except.c (st_dynamic_cleanup): Use force_operand on the
20818         buffer's address.
20819
20820 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
20821
20822         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
20823         * c4x.c (c4x_va_arg): New.
20824
20825 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
20826
20827         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
20828         has manual_pop set.
20829
20830 1999-07-26  Nathan Sidwell  <nathan@acm.org>
20831
20832         * eh-common.h (__eh_matcher): Prototype correctly.
20833
20834 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
20835
20836         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
20837         (TARGET_SINGLE_PIC_BASE): Likewise.
20838         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
20839         definitions.
20840         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
20841         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
20842         (TARGET_OPTIONS): Add -mpic-register=N.
20843         (OUTPUT_INT_ADDR_CONST): New macro.
20844         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
20845         LEGITIMATE_PIC_OPERAND_P): Likewise.
20846         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
20847         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
20848         output_addr_const directly.
20849         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
20850         ARM port.
20851         (thumb_pic_register, thumb_pic_register_string): Declare.
20852
20853         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
20854         from arm.c.
20855         (label_mentioned_p): New function: Imported from arm.c.
20856         (legitimize_pic_address): New function: Imported from arm.c.
20857         (is_pic):New function: Imported from arm.c.
20858         (thumb_finalize_pic):New function: Imported from arm.c.
20859         (add_constant): Cope with PIC constants.
20860         (fixit): Cope with PIC constants.
20861         (output_return): Do not treat the PIC register as live if
20862         TARGET_SINGLE_PIC_BASE is true.
20863         (thumb_function_prologue): Do not treat the PIC register as live if
20864         TARGET_SINGLE_PIC_BASE is true.
20865         (thumb_expand_prologue): Do not treat the PIC register as live if
20866         TARGET_SINGLE_PIC_BASE is true.
20867         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
20868         TARGET_SINGLE_PIC_BASE is true.
20869         (thumb_print_operand): Accept '|'.
20870         (thumb_override_options): Process PIC options.
20871
20872         * config/arm/thumb.md (movsi): Support PIC.
20873         (call_insn): Change "i" constraint to "X".
20874         (call_value_insn): Likewise.
20875         (consttable_4, consttable_8, consttable_end): Set and clear
20876         "making_const_table" as appropriate.
20877         (pic_load_addr, pic_add_dot_plus_four): New insns.
20878
20879         * invoke.texi (Thumb Options): Fix spelling.  Document new
20880         options -msingle-pic-base and -mpic-register=.
20881
20882 1999-07-26  Andrew Haley  <aph@cygnus.com>
20883
20884         * config/m32r/initfini.c (__init): Use a full word immediate for
20885         __fini: this allows it to be placed in any memory region.
20886
20887         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
20888         -mmodel=medium.  This is OK for all memory models.
20889
20890 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
20891
20892         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
20893         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
20894
20895 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
20896
20897         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
20898         defined.
20899
20900         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
20901
20902 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
20903
20904         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
20905         (BUILD_VA_LIST_TYPE): New.
20906         (EXPAND_BUILTIN_VA_START): New.
20907         (EXPAND_BUILTIN_VA_ARG): New.
20908         * i860.c (output_delayed_branch): Disable.
20909         (output_delay_insn): Likewise.
20910         (i860_saveregs): New.
20911         (i860_build_va_list): New.
20912         (i860_va_start): New.
20913         (i860_va_arg): New.
20914         * i860.md: Disable all peepholes using output_delayed_branch.
20915         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
20916
20917 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
20918
20919         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
20920         (BUILD_VA_LIST_TYPE): New.
20921         (EXPAND_BUILTIN_VA_START): New.
20922         (EXPAND_BUILTIN_VA_ARG): New.
20923         * clipper.c (clipper_builtin_saveregs): Only dump registers.
20924         Return the address of the save area.
20925         (clipper_build_va_list): New.
20926         (clipper_va_start): New.
20927         (clipper_va_arg): New.
20928
20929 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
20930
20931         * arc.h (EXPAND_BUILTIN_VA_START): New.
20932         (EXPAND_BUILTIN_VA_ARG): New.
20933         * arc.c (arc_setup_incoming_varargs): Set alias set of
20934         varargs save area.
20935         (arc_va_start): New.
20936         (arc_va_arg): New.
20937
20938 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
20939
20940         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
20941         (BUILD_VA_LIST_TYPE): New.
20942         (EXPAND_BUILTIN_VA_START): New.
20943         (EXPAND_BUILTIN_VA_ARG): New.
20944         * alpha.c (alpha_builtin_saveregs): Delete.
20945         (alpha_build_va_list): New.
20946         (alpha_va_start): New.
20947         (alpha_va_arg): New.
20948
20949 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
20950
20951         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
20952         column zero.
20953         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
20954         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
20955
20956         * gcc.texi: More changes related to list conversion.
20957         * invoke.texi: Likewise.
20958
20959 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
20960
20961         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
20962         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
20963         (expand_builtin_next_arg): Accept ARGLIST not EXP.
20964         (stabilize_va_list): New function.
20965         (std_expand_builtin_va_start): New function.
20966         (expand_builtin_va_start): New function.
20967         (get_varargs_alias_set): New function.
20968         (std_expand_builtin_va_arg): New function.
20969         (expand_builtin_va_arg): New function.
20970         (expand_builtin_va_end): New function.
20971         (expand_builtin_va_copy): New function.
20972         (expand_builtin): Call them.
20973         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
20974         __builtin_{varargs_start,stdarg_start,end,copy}.
20975         (build_va_arg): New function.
20976         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
20977         (build_va_arg): Declare.
20978         * c-decl.c (ptr_type_node, va_list_type_node): New.
20979         * c-parse.gperf (__builtin_va_arg): New.
20980         * c-parse.in (VA_ARG): New token.
20981         (unary_expr): Recognize it.
20982         * expr.c (expand_expr): Expand VA_ARG_EXPR.
20983         * expr.h (std_expand_builtin_va_start): Declare.
20984         (std_expand_builtin_va_arg): Declare.
20985         (expand_builtin_va_arg): Declare.
20986         (get_varargs_alias_set): Declare.
20987         * tree.def (VA_ARG_EXPR): New.
20988         * tree.h (BUILT_IN_VARARGS_START): New.
20989         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
20990         (ptr_type_node, va_list_type_node): Declare.
20991         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
20992         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
20993         * m88k.h, m88k.c: Likewise.
20994         * mn10300.h, mn10300.c: Likewise.
20995         * pa.h, pa.c: Likewise.
20996         * rs6000.h, rs6000.c: Likewise.
20997         * sh.h, sh.c: Likewise.
20998         * sparc.h, sparc.c: Likewise.
20999
21000         * emit-rtl.c (operand_subword): Copy alias set.
21001         (change_address): Likewise.
21002
21003 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
21004
21005         * pa.c (compute_frame_size): Scan all the used callee saved registers,
21006         not just the first one.
21007
21008 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
21009
21010         * config/arm/arm.h (TARGET_SWITCHES): Add
21011         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
21012         (TARGET_OPTIONS): Add -mpic-register=.
21013         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
21014         (arm_pic_register_string): Declare.
21015         (NEED_PLT_GOT): Delete, replace with ...
21016         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
21017         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
21018         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
21019         * config/arm/arm.c (arm_override_options): Add new option
21020         -mpic-register=N.
21021         (arm_pic_register_string): New variable.
21022         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
21023         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
21024         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
21025         (output_return_instruction): Likewise.
21026         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
21027         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
21028         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
21029
21030         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
21031         mention of -msched-prolog.  Document new options -msingle-pic-base
21032         and -mpic-register=.
21033
21034 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
21035
21036         * haifa-sched.c (reemit_notes): Tidy.
21037         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
21038         haifa's routine.
21039
21040 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
21041
21042         * explow.c (trunc_int_for_mode): New function.
21043         (plus_constant_wide): Use it.
21044         * combine.c (simplify_and_const_int): Likewise.
21045         (merge_outer_ops): Likewise.
21046         (simplify_shift_const): Likewise.
21047         * cse.c (simplify_unary_operation): Likewise.
21048         (simplify_binary_operation): Likewise.
21049         * emit-rtl.c (operand_subword): Likewise.
21050         * rtl.h: Declare it.
21051
21052 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21053
21054         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
21055         (use NUM_REGS instead of NUM_INTS).
21056
21057 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21058
21059         * builtins.c: New file.
21060         * expr.c (saveregs_value, apply_args_value):  Delete definition,
21061         moved into builtins.c.
21062         (string_constant): No longer static.
21063         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
21064         apply_args_size, apply_result_size, result_vector,
21065         expand_builtin_apply_args, expand_builtin_apply,
21066         expand_builtin_return): Delete functions, moved into builtins.c.
21067         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
21068         * expr.h (saveregs_value, apply_args_value): Declare variables.
21069         (expand_builtin, string_constant): Declare functions.
21070         * Makefile.in: Update to build builtin.o.
21071
21072 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
21073
21074         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
21075         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
21076         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
21077         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
21078         false.
21079         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
21080         Define to zero.
21081
21082 1999-07-21  Michael Meissner  <meissner@cygnus.com>
21083
21084         * print-rtl.c (print_rtx): Print the names of the virtual
21085         registers.
21086
21087 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
21088
21089         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
21090         introduced in previous delta.
21091
21092 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21093
21094         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
21095         to avoid name clash.
21096
21097 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21098
21099         * c-lex.c (yylex) : Correct the test for overflow when lexing
21100         integer literals.
21101
21102 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
21103
21104         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
21105         (adjust_priority): Always call ADJUST_PRIORITY.
21106         (schedule_insn): Only put insns into the ready at cost 0.
21107         (schedule_block): Remove redundant initial sort.  Give clock_var
21108         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
21109         is not 0.
21110         * tm.texi (MD_SCHED_REORDER): Update docs.
21111
21112         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
21113         * sparc.c (ultra_reorder_called_this_block): Delete.
21114         (ultrasparc_sched_init): Don't set it.
21115         (ultrasparc_sched_reorder): Don't check it.
21116
21117 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
21118
21119         * rs6000.h (struct rs6000_args): Add sysv_gregno.
21120         * rs6000.c (init_cumulative_args): Init sysv_gregno.
21121         (function_arg_boundary): Align DFmode.
21122         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
21123         to get fp reg and stack overflow correct.
21124         (function_arg): Likewise.
21125         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
21126         (setup_incoming_varargs): Restructure for ABI_V4; use
21127         function_arg_advance to skip final named argument.
21128         (expand_builtin_saveregs): Properly unskip the last integer arg
21129         when doing varargs.  Adjust overflow location calculation.
21130
21131         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
21132         explicitly unsigned.
21133         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
21134         (__VA_GP_REGSAVE): Similarly.
21135         (__va_longlong_p): Delete.
21136         (__va_arg_type_violation): New declaration.
21137         (va_arg): Restructure.  Flag promotion errors.  Align double.
21138         TFmode passed by reference.
21139
21140         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
21141         in the HOST_BITS_PER_WIDE_INT > 32 case.
21142
21143 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
21144
21145         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
21146
21147 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
21148
21149         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
21150         * toplev.c (documented_lang_options): Add -fpreprocessed.
21151         * cpplib.h (struct cpp_buffer): Add preprocessed.
21152         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
21153         (cpp_start_read): Don't expand macros or emit an initial #line
21154         directive if -fpreprocessed.
21155
21156 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21157
21158         * cpplib.h (struct cpp_buffer): Added manual_pop for
21159         better C++ tokenization.
21160         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
21161         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
21162         * c-common.c (cpp_token): Make non-static.
21163
21164 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21165
21166         * c-common.h: New file.
21167         * c-common.c (permanent_obstack): Delete unused declaration.
21168         (c_global_trees): New array.
21169         (c_common_nodes_and_builtins): New function; split off common code
21170         from init_decl_processing in both c-decl.c and cp/decl.c.
21171         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
21172         c_global_trees and accessor macros defined in c-common.h.
21173         Include c-common.h.
21174         * c-decl.c: Delete definitions for tree nodes that were replaced by
21175         c_global_trees.
21176         (init_decl_processing): Build void_list_node.
21177         Call c_common_nodes_and_builtins; delete code to generate the common
21178         builtins here.
21179         * objc/objc-act.c (build_module_descriptor): Rename variable
21180         void_list_node to avoid clash with c-common.h.
21181
21182         * Makefile.in: Update dependencies.
21183         * objc/Make-lang.in: Likewise.
21184
21185 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
21186
21187         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
21188         (UNIQUE_SECTION_P): Likewise.
21189         (UNIQUE_SECTION): Likewise.
21190
21191 1999-07-19  Linas Vepstas  <linas@linas.org>
21192
21193         * config/i370/README: New file.
21194         * config/i370/linux.h: New file.
21195         * config/i370/mvs.h: New file.
21196         * config/i370/oe.h: New file.
21197         * config/i370/t-linux: New file.
21198         * config/i370/t-mvs: New file.
21199         * config/i370/t-oe: New file.
21200         * config/i370/x-oe: New file.
21201         * config/i370/xm-linux.h: New file.
21202         * config/i370/xm-mvs.h: New file.
21203         * config/i370/xm-oe.h: New file.
21204
21205         * i370.c (label_node_t): Add first_ref_page, label_addr,
21206         label_first_ref, label_last_ref members.
21207         (mvs_need_base_reload): Renamed from mvs_label_emitted.
21208         (MAX_MVS_LABEL_SIZE): Define.
21209         (MAX_LONG_LABEL_SIZE): Define.
21210         (alias_node_t, alias_anchor, alias_number): New.
21211         (mvs_function_table): Reorder for EBCDIC.
21212         (ascebc, ebcasc): Unconditionally define.
21213         (i370_branch_dest, i370_branch_length): New functions.
21214         (i370_short_branch, i370_label_scan): New functions.
21215         (mvs_get_label): Renamed from mvs_add_label.  Search for
21216         an existing label before creating a new one.
21217         (mvs_add_label): New function.
21218         (mvs_get_label_page): New function.
21219         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
21220         over the entire list.
21221         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
21222         (mvs_check_page) [TARGET_ELF_ABI]: New function.
21223         (mvs_add_alias, mvs_need_alias): New functions.
21224         (mvs_get_alias, mvs_check_alias): New functions.
21225         (handle_pragma): New function.
21226         (mvs_function_check): New function.
21227         (unsigned_jump_follows_p): Search harder.
21228         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
21229         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
21230         * i370.h (TARGET_VERSION): Delete.
21231         (CPP_SPEC, CPP_PREDEFINES): Delete.
21232         (mvs_label_emitted): Delete.
21233         (TARGET_EBCDIC): Delete.
21234         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
21235         (HANDLE_PRAGMA): Define.
21236         (HARD_REGNO_NREGS): Handle complex modes.
21237         (HARD_REGNO_MODE_OK): Likewise.
21238         (CLASS_MAX_NREGS): Likewise.
21239         (RET_REG): Likewise.
21240         (EXTRA_CONSTRAINT): Define.
21241         (RETURN_IN_MEMORY): True for DImode.
21242         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
21243         (FUNCTION_PROFILER): Delete.
21244         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
21245         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
21246         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
21247         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
21248         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
21249         (ASM_FILE_START): Add "RMODE ANY".
21250         (ASM_OUTPUT_EXTERNAL): Check for aliases.
21251         (ASM_GLOBALIZE_LABEL): Likewise.
21252         (ASM_OUTPUT_LABELREF): Likewise.
21253         (ASM_OUTPUT_COMMON): Likewise.
21254         (PRINT_OPERAND): Handle 'K', 'W', default.
21255         (PRINT_OPERAND_ADDRESS): New.
21256         (Lots of defines): Add support for TARGET_ELF_ABI.
21257         * i370.md (attr length): New.  Define for all patterns.
21258         (*): Lots of tweeks to assembly output and constraints.
21259
21260 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
21261
21262         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
21263         Disable patterns performing SImode comparisons with SImode values
21264         if TARGET_POWERPC64 and instruction does not sign-extend or does
21265         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
21266         differ for signed quantities.
21267         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
21268         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
21269         (decrement_and_branch_on_count): Add 64-bit variant.
21270
21271 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21272
21273         * final.c (output_asm_insn): When searching for the matching string
21274         for a given dialect, don't run past the end of the list of
21275         alternatives if there are fewer alternatives in the template than
21276         dialects.
21277
21278 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
21279
21280         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
21281         Removed paragraph about compression of files and size limitation,
21282         duplicated in the FAQ.  Use gcc-patches for posting patches.
21283         * gcc.c (main): Updated URL with bug reporting instructions to
21284         gcc.gnu.org.  Removed e-mail address.
21285         * system.h (abort): Likewise.
21286
21287 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21288
21289         * Makefile.in (stmp-multilib-sub): Make the files extracted
21290         from $(LIBGCC1) writable.
21291
21292 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
21293
21294         * config/arm/aout.h: Reformat for improved readability.
21295
21296         * config/arm/arm.h: Reformat for improved readability.
21297         Replace uses of fprintf with asm_fprintf where appropriate.
21298         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
21299         function declaration assembler actions.
21300         (NUM_INTS): New macro: Convert from bytes to words.
21301         (NUM_REGS): New macro: Compute number of registers required to
21302         hold a quanitity of tyep MODE.
21303         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
21304         types.
21305         (NUM_ARG_REGS): New macro: The number of argument registers
21306         available.
21307         (ARG_REGISTER): New macro: Compute the register number of the Nth
21308         argument register.
21309         (LAST_ARG_REGNUM): New macro: The number of the last argument
21310         register.
21311         (SP_REGNUM): New macro: Register number of the stack pointer.
21312         (FP_REGNUM): New macro: Register number of the frame pointer.
21313         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
21314         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
21315         CUMULATIVE_ARGS so that it counts registers not bytes.
21316
21317         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
21318         TARGET_INTERWORK.
21319         Replace uses of fprintf with asm_fprintf where appropriate.
21320         (output_ascii_pseudo_op): Replace with version from thumb.c
21321
21322         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
21323
21324         * config/arm/elf.h (CPP_PREDEFINES): Replace with
21325         SUBTARGET_CPP_SPEC.
21326         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
21327         (ASM_FILE_START): Emit ASM_APP_OFF.
21328
21329 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
21330
21331         * pa.c (compute_frame_size): Round frame according to
21332         STACK_BOUNDARY rather than a hardwired value.
21333
21334         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
21335
21336         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
21337         of "1".
21338         * configure: Rebuilt.
21339
21340         * configure.in (hppa*-*-linux*): New configuration.
21341         * configure: Rebuilt.
21342         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
21343         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
21344         * pa/pa-linux.h: New file.
21345         * pa/t-linux: New file.
21346         * pa/xm-linux.h: New file.
21347
21348         * pa.c (hppa_legitimize_address): Change references from SImode to
21349         either Pmode or word_mode as appropriate.
21350         (emit_move_sequence, store_reg, load_reg): Likewise.
21351         (set_reg_plus_d, hppa_expand_prologue): Likewise.
21352         (output_mul_insn): Likewise.
21353         * pa.h (PROMOTE_MODE): Likewise.
21354         (INITIALZE_TRAMPOLINE): Likewise.
21355         (Pmode): Define to word_mode.
21356
21357         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
21358         value of 4.  Allocate 8 bytes for each FP register save.
21359         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
21360         value of 4.
21361         (hppa_expand_prologue): Likewise.
21362         * pa.h (PROMOTE_MODE): Likewise.
21363         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
21364         (FUNCTION_ARG_BOUNDARY): Likewise.
21365
21366         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
21367
21368         * pa.c (out_of_line_prologue_epilogue): Delete.
21369         (override_options): Remove -mspace related code.
21370         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
21371         (compute_frame_size): Only allocate space for register that
21372         actually need to be saved.
21373         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
21374         (TARGET_SWITCHES): Remove -mspace, -mno-space
21375         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
21376         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
21377         * pa/ee.asm, pa/ee_fp.asm: Delete.
21378
21379         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
21380
21381         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
21382         directive in column zero.
21383
21384 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
21385
21386         * m68k.c (output_function_prologue): Fix computation of save mask
21387         when generating PIC code.
21388
21389 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
21390
21391         * tree.c (build_type_attribute_variant): Move current_obstack restore
21392         after build_qualified_type call.
21393
21394 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
21395
21396         * configure.in: Use t-iris6, even with GNU LD.
21397         * config/mips/iris6gld.h: Fix typo in linker spec.
21398         * config/mips/t-iris6gld: Remove.
21399
21400 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
21401
21402         * rs6000.md (insv, extzv): Remove SImode dependence in named
21403         patterns.  Explicitly generate DImode RTL if PowerPC64 and
21404         operand is DImode.
21405         (insvdi): Reverse start and size in instruction template.
21406
21407 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
21408
21409         * invoke.texi: Typo fixes.
21410
21411 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
21412
21413         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
21414         handle at this time instead of silently generating incorrect code.
21415         (gen_imagpart): Likewise.
21416
21417         * reload.c (find_reloads): Emit a USE for a pseudo register without
21418         a hard register if we could not create an optional reload for the
21419         pseudo.
21420
21421 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21422
21423         * c-typeck.c (output_init_element, process_init_element):
21424         When advancing constructor_unfilled_fields for a RECORD_TYPE,
21425         check for nameless bit fields.
21426
21427 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
21428
21429         * regclass.c (scan_one_insn): Notice subregs that change the
21430         size of their operand.
21431         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
21432
21433 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
21434
21435         * configure.in (alpha*-*-*): Include alpha/t-ieee.
21436         * configure: Rebuilt.
21437         * alpha/t-ieee: New file.
21438
21439 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
21440
21441         * rs6000.c (find_addr_reg): Do not select r0 as an address
21442         register.
21443
21444 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
21445
21446         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
21447
21448 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
21449
21450         * rs6000.md (movsf): Do not force easy FP constants into memory.
21451
21452         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
21453         immed_double_const to ensure they are properly truncated then
21454         sign extended.
21455
21456 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
21457
21458         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
21459         always unless NO_DEBUG is used.  Compile this code
21460         unconditionally.
21461         (replace_symbols_in_block): Compile it unconditionally.
21462
21463 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
21464
21465         * configure.in (i?86-*-elf*): New target.
21466         * configure: Rebuilt.
21467         * i386/i386elf.h, i386/t-i386elf: New files.
21468
21469 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21470
21471         * toplev.c (main): Don't complain about saying -gdwarf.
21472         (rest_of_compilation): Remove redundant code.
21473
21474 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
21475
21476         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
21477
21478 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
21479
21480         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
21481         "Li960R:", to avoid name clash.
21482
21483 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21484
21485         * loop.c (check_dbra_loop): When reversing a loop, delete all
21486         REG_EQUAL notes referencing the reversed biv except those which are
21487         for a giv based on it.
21488
21489 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
21490
21491         * version.c: Drop "gcc-" prefix from version #.
21492
21493 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
21494
21495         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
21496         the label if we're being verbose.
21497
21498 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
21499
21500         * m68k.c (output_function_prologue): Add pic register to mask
21501         if live and flag_pic.
21502         (output_function_epilogue): Likewise.
21503
21504 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
21505
21506         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
21507         directives in column zero.
21508
21509         * pa/elf.h (ASM_FILE_START): Define.
21510         * pa/som.h (ASM_FILE_START): Include .level directives.
21511         * pa/hpux10.h (ASM_FILE_START): Delete.
21512         * pa/hpux11.h (ASM_FILE_START): Delete.
21513
21514         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
21515
21516 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21517
21518         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
21519         when reload_out equals reload_in.
21520
21521 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
21522
21523         * invoke.texi (Spec Files): New node: Describe the contents of
21524         spec files.
21525
21526 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
21527
21528         * invoke.texi (DEC Alpha Options): Put @end table at
21529         beginning of line, to avoid confusing texi2html.
21530
21531 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
21532
21533         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
21534         introduced in previous delta.
21535
21536 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
21537
21538         * reload1.c (gen_reload): When synthesizing a 3 operand add
21539         sequence, improve test for when to reload OP1 into the reload
21540         register instead of OP0.
21541
21542 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
21543
21544         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
21545
21546 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
21547
21548         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
21549         string literal.
21550
21551 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
21552
21553         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
21554         (va_dcl): Use __builtin_va_alist_t.
21555
21556 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
21557
21558         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
21559         on the permanent_obstack.
21560         * dwarfout.c (output_type): Likewise.
21561
21562 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21563
21564         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21565         Merged from c-typeck.c and cp/typeck.c.
21566         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21567         Merged into c-common.
21568
21569 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
21570
21571         * c-lex.c (errorcount): Declare it.
21572         (finish_parse): Update errorcount when using CPPLIB.
21573
21574 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
21575
21576         * fixinc/inclhack.def(end_else_label): Double the backslash so
21577         sed gets a chance to see it.
21578         * fixinc/inclhack.sh: regen
21579         * fixinc/fixincl.x: regen
21580
21581 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
21582
21583         Add framework to support armv5 architecture when it becomes
21584         available:
21585
21586         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
21587         (arm_arch5): New variable.
21588         (all_architectures): Add armv5 line.
21589         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
21590         -march=armv5 is specified on the command line.
21591         (arm_arch5): Export this variable.
21592         * invoke.texi: Document new string accepted by -march= switch for
21593         ARM ports.
21594
21595         * config/arm/arm.h: Replace use of constant 12 as a register
21596         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
21597         * config/arm/arm.c: Replace use of constant 12 as a register
21598         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
21599
21600         * config/arm/elf.h: Tidy up.
21601         * config/arm/coff.h: Tidy up.
21602
21603 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
21604
21605         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
21606         * gcc/config/mips/t-iris6gld: New file.
21607         * gcc/config/mips/iris6gld.h: Likewise.
21608
21609 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21610
21611         * c-decl.c (widest_integer_literal_type_node,
21612         widest_unsigned_literal_type) : New.
21613         (init_decl_processing): Handle/use the two new types.
21614         * c-common.c (type_for_size,type_for_mode) : Same.
21615         * c-lex.c (yylex) : Same.
21616         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21617         Same.
21618         * c-tree.h (widest_integer_literal_type_node,
21619         widest_unsigned_literal_type) : New.
21620
21621 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
21622
21623         * dwarfout.c (field_byte_offset): Correctly compute the object's
21624         byte offset for the first bit of a field which crosses an alignment
21625         boundary on a !BYTES_BIG_ENDIAN target.
21626
21627 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
21628
21629         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
21630         ntohs.
21631
21632 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
21633                           Jeff Law <law@cygnus.com>
21634
21635         * ginclude/varargs.h (va_dcl): Use word_mode for type of
21636         __builtin_va_list.
21637
21638         * except.c: Include intl.h.
21639         (expand_eh_return): Set current_function_cannot_inline.
21640         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
21641         * function.h (struct function): Add eh_return_stub_label.
21642         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
21643         * Makefile.in (except.o): Depend on intl.h.
21644
21645 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
21646
21647         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
21648         same as offsettable in cases 1 and 2.
21649
21650 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
21651
21652         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
21653         (extlh, extwh): Likewise.
21654
21655 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21656
21657         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
21658
21659 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
21660
21661         * configure.in: Add arm-pe and thumb-pe targets.
21662         * configure: Regenerate.
21663
21664         * thumb.c (arm_naked_function_p): New function: Determines if
21665         a function is naked (has no gcc generated prologue/epilogue).
21666         (is_called_in_ARM_mode): Return true if the func has the
21667         interfacearm attribute.
21668         (output_return): Do not generate a return for naked functions.
21669         (thumb_function_prologue): Do not generate a prologue for
21670         naked functions.
21671         (thumb_expand_prologue): Do not generate a prologue for naked
21672         functions.
21673         (thumb_expand_epilogue): Do not generate an epilogue for naked
21674         functions.
21675         (arm_valid_machine_decl_attribute): New function, copied from
21676         arm.c:  Permit naked and interfacearm attributes.
21677
21678         * config/arm/pe.c: New file: Support code for arm-pe target.
21679         * config/arm/pe.h: New file: Header file for arm-pe target.
21680         * config/arm/tpe.h: New file: Header file for thumb-pe target.
21681         * config/arm/t-thumb-pe: New file: Makefile fragment for
21682         thumb-pe target.
21683
21684 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
21685
21686         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
21687         -fPIC or -fpic is specified.
21688
21689 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
21690
21691         * expr.c (emit_block_move): Use copy_to_mode_reg for
21692         !TARGET_MEM_FUNCTIONS case too.
21693
21694         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
21695         appropriate.
21696         * configure: Rebuilt.
21697         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
21698         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
21699         definitions made redundant by dbxelf.h inclusion.  Delete
21700         lots of definitions related to assembly output that are
21701         specific to the SOM object format.
21702         * pa.c (output_function_prologue): Do not emit the function's
21703         name for OBJ_ELF.
21704         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
21705         * pa-pro.h: Deleted.
21706         * som.h: New file with SOM specific definitions.
21707         * elf.h: New file with ELF specific definitions.
21708
21709         * elfos.h (const_section): Output a tab before assembler directives.
21710         (ctors_section, dtors_section): Likewise.
21711         (ASM_OUTPUT_SECTION_NAME): Likewise.
21712
21713         * pa/pa1.h: Delete unused file.
21714
21715 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
21716
21717         * configure.in (hppa*-hp-hpux11*): New configuration.
21718         * configure: Rebuilt.
21719         * pa/pa-hpux11.h: New file.
21720         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
21721         command line.
21722
21723         * mips.md (leasi, leadi): New patterns.
21724
21725         * expr.c (emit_block_move): Properly handle case where one of the
21726         block move arguments has a queued increment or decrement.
21727         (clear_storage): Similarly.  Fix formatting goof.
21728
21729 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
21730
21731         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
21732         semicolon from the BSD VA_LIST replacement expression.
21733
21734         * fixinc/inclhack.sh: regen
21735         * fixinc/fixincl.x: regen
21736
21737         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
21738         now use the fixincl program.
21739
21740 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
21741
21742         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
21743         case.  Also make the PIC register call_used.
21744
21745         * m68k.h (FINALIZE_PIC): Delete.
21746         * m68k.c (finalize_pic): Delete.
21747
21748 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
21749
21750         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
21751         to memory.
21752
21753 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
21754
21755         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
21756
21757 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
21758
21759         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
21760
21761 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
21762
21763         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
21764
21765 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
21766
21767         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
21768
21769 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
21770
21771         * rs6000.c (output_toc): Always use hex values for floating-point
21772         constants.  Store single-precision values in upper-half of TOC
21773         entry in 64-bit mode.
21774         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
21775         to final constraints.
21776         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
21777         (fctiwz): Improve accuracy of RTL for pattern.
21778
21779 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21780
21781         * expr.c (expand_expr): Allow RTL_EXPR's through the
21782         MAX_INTEGER_COMPUTATION_MODE checks.
21783
21784 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
21785
21786         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
21787         such that MASK_SUPPORT_ARCH is not negative.
21788
21789 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
21790
21791         * loop.c (verify_dominator): Properly handle ADDR_VEC and
21792         ADDR_DIFF_VEC insns that appear inside loops.
21793
21794 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
21795                           Jeff Law <law@cygnus.com>
21796
21797         * rs6000.md (movdf_hardfloat32): Revert previous patch.
21798         Handle LO_SUM the same as offsettable in cases 1 and 2.
21799         * rs6000.c (find_addr_reg): Revert previous patch.
21800
21801 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
21802
21803         * system.h (strstr): New external function declaration.
21804         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
21805         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
21806         * config.in, configure: Rebuilt.
21807
21808 1999-06-24  Tom Tromey  <tromey@cygnus.com>
21809
21810         * gcc.c (main): Read user-specified specs files after computing
21811         additional startfile_prefixes.
21812
21813 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
21814
21815         Revert these two patches:
21816
21817         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21818         * loop.c (strength_reduce): When doing biv->giv conversion, update
21819         reg note of NEXT->insn.
21820
21821         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21822         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21823         reg_biv_class.
21824         (recombine_givs): Set ix field after sorting.
21825
21826 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21827
21828         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
21829         for the parts of an UNSPEC / UNSPEC_VOLATILE.
21830
21831 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
21832
21833         *fixinc/inclhack.def:  Add fix development commentary
21834         (read_ret_type): reactivate and add selection clause
21835         (zzz_*): tweak output file name to match what is used in hackshell.tpl
21836         *fixinc/{fixincl.x|inclhack.sh}: regen
21837
21838 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
21839
21840         * expr.c (expand_expr): STRIP_NOPS before checking against
21841         MAX_INTEGER_COMPUTATION_MODE
21842         (check_max_integer_computation_mode): Likewise.
21843
21844 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
21845
21846         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
21847
21848 1999-06-22  Jim Wilson  <wilson@cygnus.com>
21849
21850         * expr.c (store_expr): When target is a promoted subreg, return a
21851         promoted subreg as a result.
21852
21853 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
21854
21855         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
21856         coding standards.
21857         (dwarf2out_define): Mark unused parameters appropriately.
21858         (gen_unspecified_parameters_die): Ditto.
21859         (gen_subprogram_die): Fix signed/unsigned warnings.
21860         (gen_variable_die): Ditto.
21861
21862 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
21863
21864         * fixinc/inclhack.def(end_else_label): combined else_label
21865         and endif_label and fixed the sed expression.
21866         *fixinc/{fixincl.x|inclhack.sh}: regen
21867
21868 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
21869
21870         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
21871         'x' when handling non-offsettable addresses
21872
21873 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
21874
21875         * final.c (shorten_branches): Don't try to split an insn that has
21876         been deleted.
21877
21878 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
21879
21880         * config/mips/mips.c (symbolic_expression_p): New function.
21881         (mips_select_rtx_section): Put symbolic expressions in the
21882         data section, not the read-only data section.
21883
21884 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
21885
21886         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
21887
21888 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
21889
21890         * collect2.c (main): Log frame table count.
21891         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
21892         (scan_prog_file) [COFF]: Handle frame tables.
21893
21894         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
21895         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
21896         * alpha/elf.h: Undef them again.
21897         * alpha/vms.h: Remove their definitions.
21898
21899 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21900
21901         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
21902         remove the clobber of r0 and change the REG_UNUSED note to
21903         REG_INC.
21904
21905 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
21906
21907         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
21908         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
21909         fits in HOST_WIDE_INT and one uses union to access a long constant
21910         as double.
21911
21912 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
21913
21914         * sparc.c (sparc_override_options): Don't allow profiling for
21915         code models other than medlow.
21916         (sparc_function_profiler): New function from old FUNCTION_PROFILER
21917         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
21918         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
21919         (sparc_block_profiler): Likewise.
21920         (sparc_function_block_profiler_exit): Likewise.
21921         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
21922         (FUNCTION_BLOCK_PROFILER): Likewise.
21923         (BLOCK_PROFILER): Likewise.
21924         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
21925         (MCOUNT_FUNCTION): New.
21926         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
21927         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
21928         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
21929         (MCOUNT_FUNCTION): New.
21930         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
21931         (BLOCK_PROFILER): Delete.
21932         (MCOUNT_FUNCTION): New.
21933
21934 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
21935
21936         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
21937
21938 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
21939
21940         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21941         Add the macros.
21942
21943         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21944         Ditto.
21945
21946         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21947         Ditto.
21948
21949         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21950         Ditto.
21951
21952 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
21953
21954         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
21955         types.
21956
21957 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
21958
21959         * i386/djgpp.h (LIB_SPEC): New.
21960         (STARTFILE_SPEC): New.
21961
21962         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
21963
21964 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
21965
21966         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
21967         compiler flags.
21968
21969         * system.h (WSTOPSIG): New macro.
21970
21971 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21972
21973         * c-pragma.c (push_alignment): Don't ignore alignments greater than
21974         4 bytes.
21975         (insert_pack_attributes): Take into account member natural
21976         alignment.
21977
21978         * i386/winnt.c (exports_head): New static variable.
21979         (i386_pe_record_exported_symbol): New function.
21980         (i386_pe_asm_file_end): Use.
21981         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
21982         symbols to be emitted at end of assembly.
21983         (ASM_DECLARE_OBJECT_NAME): Likewise.
21984         (ASM_DECLARE_FUNCTION_NAME): Likewise.
21985
21986         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
21987         -iwithprefix.
21988
21989 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
21990
21991         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
21992         in last change.
21993
21994 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
21995
21996         * haifa-sched.c (sched_analyze_1): Use free_list instead of
21997         zapping reg_last_uses directly.
21998         (sched_analyze_2, sched_analyze_insn): Likewise.
21999         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
22000
22001 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
22002
22003         * rs6000.md (movdf_hardfloat32): Use worst case insn length
22004         attributes for cases 1 and 2.
22005
22006 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
22007
22008         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
22009         instead of set.
22010
22011 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
22012
22013         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
22014
22015 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
22016
22017         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
22018         PIC_OFFSET_TABLE_REGNUM for general alloaction.
22019         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
22020         must be stacked if it is used for PIC accesses.
22021         * arm.c (use_return_insn): Handle PIC register specially.
22022         (output_return_instruction): Likewise.
22023         (output_func_{prologue,epilogue}): Likewise.
22024         (output_expand_prologue): Likewise.
22025
22026         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
22027         (*strsi_predec): Renamed from *strqi_predec.
22028         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
22029         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
22030
22031         * arm.c (arm_override_options): Remove warning about PIC code
22032         not being supported.
22033
22034 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
22035
22036         * rs6000.c (find_addr_reg): New function.
22037         * rs6000.h (find_addr_reg): Declare.
22038         (offsettable_addr_operand): Delete.
22039         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
22040         from and stores to GPRs.
22041
22042 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
22043
22044         * alpha.c (alpha_expand_block_move): Use get_insns rather than
22045         gen_sequence as argument to emit_no_conflict_block.
22046
22047 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22048
22049         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
22050         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
22051         *fixinc/fixincl.x: regen
22052         *fixinc/inclhack.sh: regen
22053
22054 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
22055
22056         * added support for -mpcrel (PC relative addressing for m68k)
22057         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
22058         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
22059         * m68k.c (print_operand_address): Handle 32-bit PIC case.
22060         (comments for general_src_operand): Add some explanation
22061         about EXTRA_CONSTRAINTS.
22062         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
22063         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
22064         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
22065         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
22066         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
22067         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
22068         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
22069         if not already set.
22070         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
22071         * m68k.h (TARGET_PCREL): New target flag.
22072         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
22073         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
22074         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
22075         contains a SYMBOL_REF.  Relax this constraint during reload, since
22076         we want to use the predicates, not reload's built-in concept of a
22077         valid memory address, to control what insns need reloading.
22078         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
22079         operands (essentially 'g', 'm', and 's' under normal circumstances).
22080         * m68k.c (print_operand): Cause printing of pc-relative addresses
22081         to include pc register.
22082         (print_operand_address): Ditto.
22083         (general_src_operand): Accept operands that are not only
22084         general_operands, but are also valid when used as a pc-relative
22085         source.
22086         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
22087         (memory_src_operand): Similar, for memory_operands.
22088         (pcrel_address): New predicate to accept the special case of a
22089         pc-relative address.
22090         * m68k.md (many patterns): Rewrite common SImode, HImode, and
22091         QImode insns to accept *_src_operand instead of *_operand where
22092         pc-relative operands can fit.  For example, a pc-relative operand
22093         can be used as a memory source operand for addsi3, but not as a
22094         memory destination.
22095         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
22096
22097 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
22098
22099         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
22100         .thumb_set pseudo op to mark aliases of thumb functions.
22101
22102 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
22103
22104         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
22105         preference to ASM_OUTPUT_DEF, if it is defined.
22106
22107         * tm.texi: Document new, optional target macro
22108         ASM_OUTPUT_DEF_FROM_DECLS.
22109
22110 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22111
22112         * fixincludes: ISCNTL patch
22113         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
22114         (dgux_int_varargs): new for DG/UX
22115         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
22116
22117 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
22118
22119         * invoke.texi (ia32 options): Fix typo.
22120
22121 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22122
22123         * loop.c (strength_reduce): When doing biv->giv conversion, update
22124         reg note of NEXT->insn.
22125
22126 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
22127
22128         * loop.c (move_movables): Note issues with replacing REGs with
22129         SUBREGs.
22130         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
22131
22132 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
22133
22134         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
22135
22136         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
22137         the reference to `mcount' was not correct for the ELF on FreeBSD.
22138
22139 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22140
22141         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22142         reg_biv_class.
22143
22144         (recombine_givs): Set ix field after sorting.
22145
22146 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
22147
22148         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
22149         to safe to extract a subword out of a REG.
22150
22151 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22152
22153         * sh.md (mulsi3): Don't add a no-op move at the end.
22154
22155 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22156
22157         * cse.c (cse_insn): Don't put hard register source into tables for
22158         the last insn of a libcall.
22159
22160 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22161
22162         * loop.c (strength_reduce): Insert sets of derived givs at every
22163         biv increment, even if it's the only one.
22164
22165 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
22166
22167         * dwarfout.c (add_incomplete_type): New fn.
22168         (output_type): Call it.
22169         (retry_incomplete_types): New fn.
22170         (dwarfout_finish): Call it.
22171
22172         From Eric Raskin <ehr@listworks.com>:
22173         (output_type): Output types for bases.
22174
22175 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22176
22177         * mips.c (mips_output_conditional_branch): Add `break'
22178         between `default' label and `close braces'.
22179
22180 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
22181
22182         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
22183         specifications and make it realistic.
22184         (LIB_SPEC): Likewise.
22185
22186 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
22187
22188         * config/mips/mips.c (mips_secondary_reload_class): Check for
22189         (PLUS (SP) (REG)) and return appropriate register class.
22190         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
22191         Handle (PLUS (SP) (REG)).
22192         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
22193         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
22194         of emit_insn for tablejump.
22195
22196 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
22197
22198         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
22199         asm_fprintf format string by itself.
22200         (output_function_profiler): Likewise.
22201
22202 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
22203
22204         * combine.c (simplify_logical, case AND): Only call
22205         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
22206         or the constant is positive.
22207
22208 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
22209
22210         * configure.in: Fix typo in rs6000-ibm-aix4 case.
22211         * configure: Regenerate.
22212
22213 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
22214
22215         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
22216         require a sub-version #.
22217         * configure: Rebuilt.
22218
22219 1999-06-14  Robert Lipe  (robertlipe@usa.net)
22220
22221         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
22222
22223 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
22224
22225         * c-typeck.c (process_init_element): Detect excess elements in
22226         char array initializer.
22227
22228 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
22229
22230         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
22231
22232 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22233
22234         * invoke.texi (Option Summary): Add -fpermissive flag.
22235
22236 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
22237
22238         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
22239         that require PIC code sequences.
22240
22241 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
22242
22243         * configure.in: Add new target: thumb-elf.
22244         * configure: Regenerate.
22245         * config/arm/t-thumb-elf: New file: Makefile fragment for
22246         thumb-elf build.
22247         * config/arm/telf.h: New file: Header file for thumb-elf
22248         build.
22249
22250 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
22251
22252         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
22253         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
22254         initializers is some circumstances.
22255
22256         * fixinc/inclhack.def (endif_label): Add additional selector for
22257         more bogus stuff after #endif statements.
22258         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
22259
22260 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22261
22262         * i386/cygwin.h (SET_ASM_OP): Define.
22263
22264 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22265
22266         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
22267
22268 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22269
22270         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
22271         latter.
22272
22273         * sh.md (ic_invalidate_line_i): Remove second alternative.
22274
22275 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22276
22277         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
22278         test for the presence of valid prototypes.  Delete bypass expr.
22279         (ioctl_fix_ctrl): Correct the selection expression.
22280         (no_double_slash): Correct quoting rules
22281         *fixinc/fixincl.x: regen
22282         *fixinc/inclhack.sh: regen
22283
22284 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
22285
22286         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
22287
22288 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22289
22290         * rs6000.md (movsi_got_internal_mem): Delete.
22291         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
22292         (GOT_TOC_REGNUM): Delete.
22293         (PIC_OFFSET_TABLE_REGNUM): Define.
22294         (FINALIZE_PIC): Disable.
22295         * rs6000.c (rs6000_got_register): New code for fixed pic register.
22296         (rs6000_replace_regno): Delete.
22297         (rs6000_finalize_pic): Likewise.
22298         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
22299
22300 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22301
22302         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
22303         is a note; use <= for the compare; advance P while it is
22304         a NOTE.
22305
22306 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
22307
22308         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
22309         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
22310
22311         * varasm.c (remove_from_pending_weak_list): Verify t->name
22312         is non-NULL before passing it to strcmp.
22313
22314 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22315
22316         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
22317         the typed arguments are not part of a comment
22318         (ioctl_fix_ctrl): Added a purpose comment
22319         *fixinc/fixincl.x: regenerate
22320         *fixinc/inclhack.sh: regenerate
22321
22322 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22323
22324         * invoke.texi: Add C4x invocation docs.
22325
22326 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22327
22328         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
22329         Define new macros.
22330         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
22331         TARGET_EXPOSE_LDP.
22332         (c4x_legitimize_reload_address): New function.
22333         * config/c4x/c4x.md: Update docs.
22334
22335 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
22336
22337         * fixincludes: Avoid removing '.'.
22338         * fixinc/fixinc.svr4: Likewise.
22339         * fixinc/fixinc.winnt: Likewise.
22340         * fixinc/inclhack.tpl: Likewise.
22341         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
22342
22343 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22344
22345         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
22346         pattern.
22347         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
22348
22349 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22350
22351         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
22352         correctly.
22353
22354 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
22355
22356         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
22357         * configure: Regenerate.
22358
22359 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
22360
22361         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
22362         values.
22363
22364 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
22365
22366         * fixinc/inclhack.def (avoid_bool): Also catch
22367         "typedef [unsigned] int bool".
22368         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
22369
22370         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
22371         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
22372         * configure: Rebuilt.
22373
22374 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
22375
22376         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
22377         such that we can override its definitions if necessary.
22378         (CPP_SPEC): New define.  Support processor specific predefines via
22379         %(cpp_cpu).
22380         (CC1_SPEC): New define.  Support processor specific compiler
22381         options via %(cc1_cpu).
22382         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
22383         -static.
22384
22385 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22386
22387         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
22388         between sed's -e flag, and the open-quote following it.
22389         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
22390
22391 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
22392                           Jeffrey A Law  (law@cygnus.com)
22393
22394         * varasm.c (assemble_start_function): Remove the function
22395         from the pending weak decls list when we define a function.
22396         (assemble_variable): Similarly for variables.
22397         (weak_finish): Ignore items on the list with a NULL name.
22398         (remove_from_ending_weak_list); New function to "remove" an item
22399         from the pending weak declarations list.
22400
22401 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22402
22403         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
22404
22405 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
22406
22407         * c-lex.c (GETC): Redefine to call getch.
22408         (UNGETC): Redefine to call put_back.
22409         (putback_buffer): New structure type.
22410         (putback): New static structure.
22411         (getch): New function.
22412         (put_back): New function.
22413         (yylex): Replace unused bytes from bad multibyte character.
22414
22415 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
22416
22417         * cpplib.c (do_define): Cast `alloca' return value.
22418         (do_include, do_undef, do_pragma): Likewise.
22419         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
22420         values.
22421         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
22422         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
22423
22424 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22425
22426         * sparc.md (abstf2): This should be an expand.
22427         (split after abstf2_notv9): Fix mode.
22428         (abstf2_hq_v9): New pattern.
22429         (abstf2_v9): Only use when no hard quad.
22430         (absdf2_v9): Fix if target is not the same as source.
22431         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
22432         Add correct output constraints.
22433
22434 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
22435
22436         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
22437         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
22438
22439 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
22440
22441         * mips.h (mips_output_conditional_branch): New function.
22442         (mips_adjust_insn_length): Likewise.
22443         (ASSEMBLER_SCRATCH_REGNUM): New macro.
22444         (ADJUST_INSN_LENGTH): Likewise.
22445         * mips.c (print_operand): Add `F' and `W' for floating-point
22446         comparison opcodes.
22447         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
22448         are now in bytes.
22449         (mips_adjust_insn_length): New function.
22450         (mips_output_conditional_branch): New function.
22451         * mips.md (length): Adjust attribute definition to handle
22452         conditional branches.  Change lengths to bytes, rather than
22453         instructions throughout.  Remove length attribute from
22454         instructions whose length is four bytes, and rely on the default
22455         instead.
22456         (dslot): Fix typo in comment.
22457         Reword conditional branch patterns to use
22458         mips_output_conditional_branch.
22459
22460 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
22461
22462         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
22463         (LIB_SPEC): Likewise.
22464         Link with -lprof1_r for -g/-pg.
22465
22466 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22467
22468         * loop.c (check_dbra_loop): Fix change of Jan 19.
22469
22470 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
22471
22472         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
22473         (STARTFILE_SPEC):  Define, override the svr4.h version.
22474         (ENDFILE_SPEC):  Likewise.
22475
22476 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
22477
22478         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
22479         * fixinc/fixincl.x: Regenerated.
22480         * fixinc/inclhack.sh: Regenerated.
22481
22482 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22483
22484         * sh.c (barrier_align): Don't return early for normal branch/barrier
22485         when optimizing for SH2.
22486
22487 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
22488
22489         * i386/udk.h (LINK_SPEC): Correct linker search path for
22490         system libraries.
22491
22492 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22493
22494         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
22495         (braf_label_ref_operand): Delete.
22496         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
22497         * sh.md (casesi_jump_2): Operand1 is now the inside of a
22498         label_ref, and has no predicate.
22499         The patten has a predicate to guard against invalid substitutions.
22500         (dummy_jump): Delete.
22501         (casesi): Update use of casesi_jump_2.
22502
22503 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22504
22505         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
22506         *fixinc/fixincl.x: regenerate
22507         *fixinc/inclhack.sh: regenerate
22508
22509 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
22510
22511         * dwarf2out.c (add_incomplete_type): New fn.
22512         (gen_struct_or_union_type_die): Call it.
22513         (retry_incomplete_types): New fn.
22514         (dwarf2out_finish): Call it.
22515
22516 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
22517
22518         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
22519         current block starts with a CODE_LABEL and ends with a CALL and
22520         we can not find all the argument setup instructions for the CALL.
22521
22522 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
22523
22524         Revert this change:
22525         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
22526         something is a candidate for optimize_bit_field_compare.
22527
22528 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22529
22530         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
22531
22532 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
22533
22534         * alpha.c (override_options): Thinko in last patch.
22535
22536         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
22537         (LIB_SPEC): Recognize -pthread.
22538
22539 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
22540
22541         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
22542         definition in config/arm/coff.h
22543         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
22544
22545 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22546
22547         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
22548         fixes that need "file=xxx\n" prepended before invocation
22549         (start_fixer - new): starting the fixer process is complex enough
22550         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
22551         (process): uses the new routine; omit usage of putenv()
22552         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
22553         * fixinc/fixincl.x: regenerate
22554
22555 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
22556
22557         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
22558         and version #s (1.1 -> 2.96) as needed.
22559         * README.g77: Kill way out of date file in the toplevel directory.
22560
22561 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
22562
22563         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
22564         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
22565         * configure: Rebuilt.
22566         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
22567         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
22568         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
22569         (SWITCH_TAKES_ARG): Likewise.
22570         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
22571         * config/t-freebsd: Moved from config/i386/ so it can used for all
22572         FreeBSD targets.
22573
22574 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
22575
22576         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
22577
22578 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
22579
22580         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
22581         * configure: Rebuilt.
22582
22583 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
22584
22585         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
22586         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
22587         * rs6000/rs6000.c (rs6000_file_start): Use putc.
22588         (rs6000_output_load_toc_table): Same.
22589         (output_prolog, output_mi_thunk): Same.
22590         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
22591         (ASM_GLOBALIZE_LABEL): Use putc.
22592
22593 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
22594
22595         * alpha.md (reload_*_help): New patterns and splitters.
22596         (reload_*): Use them.
22597         (mov[qh]i): Likewise.
22598
22599 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
22600
22601         * cccp.c (handle_directive): Handle backslash-newlines in quoted
22602         strings correctly.
22603
22604 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
22605
22606         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
22607
22608 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
22609
22610         * flow.c (mark_regs_live_at_end, insn_dead_p,
22611         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
22612         and HARD_FRAME_POINTER_REGNUM special treatment if reload
22613         hasn't run or the frame pointer is needed.
22614         * haifa-sched.c (attach_deaths): Likewise.
22615         * sched.c (attach_deaths): Likewise.
22616
22617 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
22618
22619         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
22620         calculate_can_reach_end returns nonzero.
22621
22622         * configure.in (native gas tests): Search for an assembler in the
22623         same manner that the installed compiler will.
22624         * configure: Rebuilt.
22625         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
22626
22627         * alias.c (find_base_term): Improve handling of addresses
22628         constructed from binary operations.
22629
22630 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
22631
22632         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
22633
22634 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
22635
22636         * function.h (cleanup_label, frame_offset): Declare.
22637         (tail_recursion_label, tail_recursion_reentry): Likewise.
22638         (arg_pointer_save_area, rtl_expr_chain): Likewise.
22639         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
22640         (tail_recursion_label, tail_recursion_reentry): Likewise.
22641         (arg_pointer_save_area, rtl_expr_chain): Likewise.
22642
22643 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
22644
22645         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
22646         defined.
22647         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
22648         (MAX_OFILE_ALIGNMENT): Define.
22649
22650 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
22651
22652         * fixincl.c: Replace local include scheme with #includes of
22653         gansidecl.h and system.h.
22654         * procopen.c:  Likewise.
22655         * server.c:  Likewise.
22656
22657 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
22658
22659         * i386/t-dgux (EXTRA_PARTS): Add crti.o
22660         (crti.o): Add build rule and dependencies.
22661         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
22662
22663 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22664
22665         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
22666         (LIB_LINUX_SPEC): Likewise.
22667         (LIB_LINUX_SPEC): Add support for -pthread
22668         (CPP_OS_LINUX_SPEC): Likewise.
22669         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
22670         specified.
22671
22672 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
22673
22674         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
22675         conditional move.
22676         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
22677         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
22678         for IEEE math and CC_FCOMI.
22679         (put_jump_code): No IEEE if CC_FCOMI is set.
22680
22681 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22682
22683         * fold-const.c (fold_truthop): Make the field reference unsigned
22684         when converting a single bit compare.
22685
22686 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22687
22688         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
22689
22690 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
22691
22692         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
22693         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
22694         version did.
22695
22696         * reload.c (push_reload): Do not call remove_address_replacements
22697         when presented with identical optional reloads.
22698
22699 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
22700
22701         * alpha.h (MASK_FIX, TARGET_FIX): New.
22702         (MASK_*): Reorganize constants.
22703         (CPP_AM_FIX_SPEC): New.
22704         (TARGET_SWITCHES): Add FIX.
22705         (EXTRA_SPECS): Likewise.
22706         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
22707         (SECONDARY_MEMORY_NEEDED): Likewise.
22708         (REGISTER_MOVE_COST): Likewise.
22709         * alpha.c (override_options): Add FIX support.  Always use
22710         ALPHA_TP_PROG for ev6.
22711         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
22712         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
22713         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
22714
22715 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
22716
22717         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
22718         something is a candidate for optimize_bit_field_compare.
22719
22720 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
22721
22722         * gcc.texi (Passes): Document branch-shortening.
22723         * invoke.texi (Debugging Options): Document the fact that `-dp'
22724         outputs length information for instructions.
22725
22726 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
22727
22728         * flow.c: Revert previous delta.
22729
22730 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
22731
22732         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
22733         FRAME_POINTER_REGNUM.
22734         (mark_set_1): Ditto.
22735         (mark_used_regs): Ditto.
22736
22737 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
22738
22739         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
22740         (GOT_PCREL): New macro.  Define to 1 if not already defined.
22741         * arm/elf.h (GOT_PCREL): Define to 0.
22742         * arm.c (arm_finalize_pic): Take into account the setting of
22743         GOT_PCREL.
22744
22745 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
22746
22747         * output.h (STRIP_NAME_ENCODING): Provide default definition.
22748         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
22749
22750         * flow.c (mark_set_1): Do not record BLKmode stores as dead
22751         store elimination candidates.
22752
22753 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22754
22755         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
22756         TARGET_GAS.
22757
22758 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
22759
22760         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
22761         Add use of x-aix41-gld.
22762
22763 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22764
22765         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
22766         (ASM_OUTPUT_DESTRUCTOR): Define.
22767
22768 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
22769
22770         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
22771         last CODE_LABEL in a loop if we have previously passed a jump
22772         to the top of the loop.
22773
22774 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
22775
22776         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
22777         applying Philip's patch.
22778
22779 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
22780
22781         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
22782         are not VAR_DECLs.
22783
22784 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
22785
22786         * loop.c (strength_reduce): Grow reg_single_usage as needed.
22787
22788 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
22789
22790         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
22791         Also remove a useless comment.
22792
22793 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22794
22795         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
22796
22797 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
22798
22799         * collect2.c (main): Only generate import or export file and add
22800         to link arguments if non-empty.  Use xmalloc not alloca.
22801         (write_{export,import}_file): Delete.
22802         (write_aix_file): New function.
22803         (locatelib): Use xmalloc not malloc.
22804         (GCC_OK_SYMBOL): Do not check type if aix64.
22805
22806 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
22807
22808         Based on patch by Scott Bambrough and Pat Beirne:
22809         * config/arm/arm.c (making_const_table): New variable.
22810         * config/arm/arm.h (making_const_table): Declare.
22811         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
22812         appropriate.
22813         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
22814         Keep track of when we are building the constant table.
22815
22816 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
22817
22818         * config/arm/arm.c (arm_override_options): Fix erroneous warning
22819         message.
22820
22821 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
22822
22823         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
22824         defined.
22825
22826 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
22827
22828         * tm.texi (FUNCTION_ARG): Correct description of a stack element
22829         in a PARALLEL.
22830
22831 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
22832
22833         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
22834
22835 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22836
22837         * rs6000.c (output_mi_thunk): Enable full support again.
22838
22839 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22840
22841         * sh.h (BRANCH_COST): Define.
22842
22843 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
22844
22845         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
22846
22847 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
22848
22849         * function.c (assign_stack_local): Align stack slot propertly.
22850         (assign_outer_stack_local): Likewise.
22851
22852 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
22853
22854         * expr.h (lang_expand_constant): Declare.
22855         * toplev.c (lang_expand_constant): Define it.
22856         * varasm.c (output_constant): Use it.
22857
22858 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22859
22860         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
22861         Change function definitions to K&R style.
22862
22863 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22864
22865         * fixinc/fixincl.c: We must not ignore SIGCLD now.
22866
22867 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
22868
22869         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
22870         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
22871         (several places): omit static initialization
22872         (process): use single fd, since only the read fd is used
22873         * fixinc/gnu-regex.c: define 'const' away, if not supported
22874         * fixinc/procopen.c(several places): omit static initialization
22875         * fixinc/server.c: define 'volitile' away, if not supported
22876
22877 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22878
22879         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
22880         asm_fprintf and %L to generate the label name.
22881         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
22882         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
22883
22884 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
22885
22886         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
22887         insn for a conditional jump can not be found.
22888
22889 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
22890
22891         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
22892         on variables in specific sections other than .sbss and .sdata.
22893
22894 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
22895
22896         * stmt.c (expand_return): Call start_cleanup_deferral and
22897         end_cleanup_deferral around conditional code.
22898
22899 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22900
22901         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
22902         filename lists.  Utilizes new "krstr" AutoGen function.
22903         * fixinc/fixincl.x: Rebuilt.
22904
22905 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
22906
22907         * i386.c (output_float_compare): Avoid GNU-C extensions.
22908
22909 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
22910
22911         * version.c: Bump to distinguish mainline tree from the
22912         gcc-2.95 branch.
22913
22914 See ChangeLog.1 for earlier changes.