OSDN Git Service

9db44816a741c1f0ae6b723986c1628382e1afa3
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-04-06  Richard Henderson  <rth@cygnus.com>
2
3         * genrecog.c (*): Rename _last_insn to last_insn.
4         (make_insn_sequence): Set the position of the peephole2 C test
5         to be at the last insn.
6
7 2000-04-06  Richard Henderson  <rth@cygnus.com>
8
9         * flow.c (compute_flow_dominators): Free worklist.
10
11 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
12
13         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
14
15 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
16
17         * rtl.h (INSN_P): New macro.
18         (successor_phi_fn): New typedef.
19         (for_each_successor_phi): New prototype.
20         (in_ssa_form): New variable.
21         (PHI_NODE_P): Likewise.
22         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
23         phi nodes in successors.
24         (mark_used_regs): Add PHI case.
25         (set_phi_alternative_reg): New function.
26         (life_analysis): Assert that dead code elimination is not selected
27         when in SSA form.
28         * toplev.c (to_ssa_time): New variable.
29         (from_ssa_time): Likewise.
30         (compile_file): Zero to_ssa_time and from_ssa_time.
31         Print time to convert to and from SSA.
32         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
33         (print_time): Compute percent fraction as integer.
34         * ssa.c (PHI_NODE_P): Moved to rtl.h.
35         (convert_to_ssa): Check if we're already in SSA.  
36         Don't eliminate dead code in life_analysis.
37         Rerun flow and life analysis at bottom.
38         (eliminate_phi): Use canonical regnos when adding nodes.
39         (mark_reg_in_phi): New function.
40         (mark_phi_and_copy_regs): Likewise.
41         (convert_from_ssa): Rerun life analysis at top.  
42         Use coalesced partition.
43         Check for removing a phi node at the end of the block.
44         (compute_coalesced_reg_partition): New function.
45         (coalesce_regs_in_copies): Likewise.
46         (coalesce_reg_in_phi): Likewise.
47         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
48         (for_each_successor_phi): Likewise.
49         (rename_context): New struct.
50         (rename_block): Use a rename_context with rename_insn_1.  When
51         renaming sets of a subreg, emit a copy of the entire reg first.
52         (rename_insn_1): Treat data as a rename_context *.  Save current
53         insn in set_data.
54         (rename_set_data): Add field set_insn.
55         * Makefile.in (HASHTAB_H): Move up in file.
56         (OBSTACK_H): New macro.
57         (collect2.o): Use OBSTACK_H in dependencies.
58         (sdbout.o): Likewise.
59         (emit-rtl.o): Likewise.
60         (simplify-rtx.o): Likewise.
61         (fix-header.o): Likewise.
62         (OBJS): Add conflict.o.
63         (conflict.o): New rule.
64         * basic-block.h: Include partition.h.
65         (conflict_graph): New typedef.
66         (conflict_graph_enum_fn): Likewise.
67         (conflict_graph_new): New prototype.
68         (conflict_graph_delete): Likewise.
69         (conflict_graph_add): Likewise.
70         (conflict_graph_conflict_p): Likewise.
71         (conflict_graph_enum): Likewise.
72         (conflict_graph_merge_regs): Likewise.
73         (conflict_graph_print): Likewise.
74         (conflict_graph_compute): Likewise.
75         * conflict.c: New file.
76
77 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
78
79         * tlink.c (read_repo_files): Don't look for .rpo info for
80         linker flags.
81
82 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
83
84         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
85
86 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
87
88         * config/sh/lib1funcs.asm (___udivsi3_i4):
89         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
90         only depends on FMOVD_WORKS.
91
92 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
93
94         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
95         make double constant 8-byte aligned.
96
97 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
98
99         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
100         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
101         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
102         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
103         Accept storing GENERAL_REGS into offsetable memory.
104         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
105         building a TFmode constant other than 0.0L into GENERAL_REGS.
106
107 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
108
109         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
110         
111 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
112
113         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
114         (macro_cleanup): No need to cast pbuf->macro.
115         (collect_expansion): Use _cpp_get_define_token.  Goto done if
116         it returns VSPACE.  Remove check for trailing space after
117         CPP_COMMENT.
118         (_cpp_create_definition): Don't diddle flags here.  Return
119         directly on error.
120         (unsafe_chars): Handle c1 being EOF.
121         (push_macro_expansion): Use unsafe_chars for both accidental-paste
122         checks.  Don't push the buffer till after we're done with
123         them.
124         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
125         (PEEKN, FORWARD, GETC, PEEKC): Use them.
126         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
127         appropriately.
128         (_cpp_parse_assertion): Don't NUL terminate.
129         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
130         hspace before calling _cpp_parse_assertion.  Remove all sets
131         of only_seen_white. Treat '\f' as hspace.  Don't do anything
132         special with '\n' here.
133         (maybe_macroexpand): Handle T_EMPTY hash entries without
134         pushing a buffer at all.
135         (cpp_get_token): Handle clearing only_seen_white here.  Handle
136         incrementing the line number here.  Clear
137         potential_control_macro as well as only_seen_white, if
138         appropriate.
139         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
140         (_cpp_get_define_token): New function, basically like
141         _cpp_get_directive_token was but doesn't eat horizontal space.
142         Don't do anything with only_seen_white here.
143         (_cpp_get_directive_token): Just call _cpp_get_define_token
144         repeatedly till it returns non-hspace.
145
146         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
147         (conditional_skip, skip_if_group): Return int.
148         (DIRECTIVE_TABLE): Change origin of all conditional directives
149         to "COND".
150         (TRAD_DIRECT_P): New macro.
151         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
152         an error for a bogus directive, unless -lang-asm.  Use
153         TRAD_DIRECT_P. Loop calling handler functions till one returns
154         zero.
155         (get_macro_name): Don't diddle flags here.
156         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
157         Create T_EMPTY nodes for #define macro /* nothing */.
158         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
159         Use hp->name when calling pass_thru_directive.
160         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
161         Return the result of conditional_skip and/or skip_if_group.
162         Don't call _cpp_output_line_command.
163         (consider_directive_while_skipping): Use _cpp_get_directive_token.
164         Issue -Wtraditional warnings as appropriate.  Don't complain
165         about unrecognized directives.  If we are to stop skipping,
166         return the number of the directive that ended the skip.
167         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
168         expansion and line commands while skipping.  Return the result
169         of consider_directive_while_skipping, if nonzero.
170         (do_endif): Just set potential_control_macro here.
171         (validate_else): Use _cpp_get_directive_token.
172         (do_assert, do_unassert): Don't save pointers into the
173         token_buffer across calls to the lexer.  Use
174         _cpp_get_directive_token.  
175
176         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
177         pointer, not an offset.  Replace 'data', which was a generic
178         pointer, with 'macro', which points to a struct hashnode.
179         (cpp_reader): Add 'potential_control_macro' pointer.
180         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
181         (CPP_BUF_GET, CPP_FORWARD): Delete.
182         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
183         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
184         ACTIVE_MARK_P): Update.
185         (_cpp_get_define_token): New internal function.
186         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
187
188 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
189
190         * configure.in: And here.
191         * configure: Regenerate.
192         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
193         --enable-libstdcxx-v3 is passed at configure time.
194         * config.h.in: Regenerate.
195
196 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
197
198         * final.c (final): Use xcalloc to allocate line_note_exists.
199         * function.c (free_after_compilation): Free the temp_slots.
200         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
201         (combine_temp_slot): Free temp_slots when they get combined.
202         (purge_addressof): Fix typo in comment.
203         * stmt.c (mark_goto_fixup): Mark the fixup itself.
204         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
205
206         * ggc.h: Include varray.h.
207         (ggc_pending_trees): Declare.
208         (ggc_mark_tree_children): Remove declaration.
209         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
210         * ggc-common.c (ggc_pending_trees): New variable.
211         (ggc_mark_roots): Call ggc_mark_trees.
212         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
213         the ggc_pending_trees.
214         * Makefile.in (GGC_H): New variable.  Use it throughout in place
215         of ggc.h.
216         
217 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
218
219         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
220         GET_MODE_SIZE.
221
222 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
223
224         * sh.c (sh_insn_length_adjustment): New function.
225         * sh-protos.h (sh_insn_length_adjustment): Declare.
226         * sh.h (ADJUST_INSN_LENGTH): Use it.
227
228 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
229
230         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
231         from the insn where REG_RETVAL is added.
232         (emit_no_conflict_block): Ditto.
233
234         * md.texi (Standard Names): Clarify when movX is needed.
235
236         * combine.c (simplify_comparison) [MINUS]: Do not replace
237         all (op (minus A B) 0) with (op A B).
238
239 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
240                           J"orn Rennecke <amylaar@cygnus.co.uk>
241
242         * sh.c (block_lump_real_i4): Add missing clobber of T_REG
243         (block_lump_real): Likewise.
244
245 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
246
247         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
248         remaining non-zero debugging masks.
249
250 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
251
252         * basic-block.h (verify_flow_info): Declare.
253         (flow_loop_outside_edge_p): Declare.
254         * flow.c (verify_flow_info): Remove declaration.
255         (clear_log_links, flow_loop_outside_edge_p): Likewise.
256
257 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
258
259         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
260         not C++ comments.
261
262 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
263
264         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
265         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
266         seqdi_zero_trunc+1): Allow splits only if registers are
267         different.
268
269 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
270
271         * acconfig.h: Add HAVE_GAS_HIDDEN.
272         * config.in: Regenerated.
273         * configure.in: Add test for .hidden pseudo-op in gas.
274         * configure: Regenerated.
275         * crtstuff.c: Include auto-host.h.
276         Emit additional .hidden pseudo-op for __dso_handle if the
277         assembler knows about it.
278
279 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
280
281         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
282         before freeing argnames.
283         * cpplib.c (do_ifndef): Cast return value of xstrdup.
284
285 2000-04-05  Michael Meissner  <meissner@redhat.com>
286
287         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
288         Walton <jonboy@gordian.com> to make memory references with update
289         work wtih -mregnames.
290
291 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
292
293         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
294         (regrename_optimize): Rename variables `def_uses' and
295         `ext_basic_blocks' to avoid conflicts with similarly named
296         typedefs in traditional C.
297
298         * calls.c (initialize_argument_information): Fix typo in previous
299         change.
300
301 2000-04-04  Richard Henderson  <rth@cygnus.com>
302
303         * regrename.c (consider_available): Test fixed_regs not
304         PIC_OFFSET_TABLE_REGNUM.
305
306 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
307
308         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
309         crtend.
310         (CRTSTUFF_T_CFLAGS_S): Delete definition.
311         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
312         (ENDFILE_LINUX_SPEC): Always use crtend.
313         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
314         (powerpc-*-linux-gnu): Likewise.
315         * configure: Regenerate.
316
317         * config/rs6000/eabi.h: Don't include sysv4.h.
318         (MULTILIB_DEFAULTS): Don't define.
319         * config/rs6000/eabiaix.h: Don't include eabi.h.
320         * config/rs6000/eabile.h: Delete.
321         * config/rs6000/eabilesim.h: Delete.
322         * config/rs6000/eabisim.h: Don't include eabi.h.
323         * config/rs6000/linux.h: Don't include sysv4.h.
324         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
325         (MULTILIB_DEFAULTS): Don't redefine.
326         * config/rs6000/rtems.h: Don't include eabi.h.
327         * config/rs6000/sol2.h: Don't include sysv4le.h.
328         * config/rs6000/sysv4le.h: Don't include sysv4.h.
329         * config/rs6000/t-ppc: Delete.
330         * config/rs6000/t-ppcgas: Correct comment.
331         * config/rs6000/t-ppcos: Correct comment.  Don't build 
332         multilibs for -fPIC, rather use -fPIC -mstrict-align 
333         as default.
334         * config/rs6000/t-ppc: Delete.
335         * config/rs6000/vxppc.h: Don't include sysv4.h.
336         * config/rs6000/vxppcle.h: Delete.
337         * configure.in: Use multiple header files for p2pc ELF targets
338         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
339         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
340         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
341         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
342         always available for these platforms.
343
344 2000-04-04  Richard Henderson  <rth@cygnus.com>
345
346         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
347
348 2000-04-04  Stan Cox  <scox@cygnus.com> 
349
350         * Makefile.in: Add rules for regrename.o
351         * regrename.c: New file.
352         * rtl.h (regrename_optimize): Add prototype.
353         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
354         (compile_file, decode_d_option): Add support for -frename-registers.
355         (rest_of_compilation): Call regrename_optimize.
356         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
357         New macros.     
358         
359 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
360
361         * Makefile (gccbug): New target.
362         (doc): Depend on it.
363         * gcc.texi (Bugs): Link subnodes.
364         (gccbug): New node.
365         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
366         Document severities, priorities, and classes in bug form.
367
368 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
369
370         * cpplex.c (trigraph_map, speccase): Combine into single
371         table, chartab.
372         (NORMAL, NONTRI): New macros.
373         (_cpp_read_and_prescan): Change to use unified table.  Use
374         is_hspace to test for whitespace.
375
376         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
377         definition that doesn't provoke the "empty body in an
378         if-statement" warning.
379
380 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
381
382         * builtins.c (expand_builtin_strlen): Force the source to
383         be a memory address.
384
385 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
386
387         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
388
389 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
390
391         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
392          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
393         (ECF_IS_CONST): Rename to ECF_CONST.
394         (special_function_p): Make static, change interface.
395         (flags_from_decl_or_type, try_to_integrate): Break out from ...
396         (expand_call) ... here; convert number of variables to flags.
397         (emit_library_call_vlue_1): Likewise.
398         (setjmp_call_p): New function.
399         (initialize_argument_information): Accepts flags as argument;
400         return flags.
401         (precompute_arguments): Likewise.
402         * tree.h (special_function_p): Remove.
403         (setjmp_call_p): Add prototype.
404
405 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
406
407         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
408         so that addresses are offsetable by up to 16 bytes.
409         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
410         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
411         offsetable.
412
413         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
414         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
415         (movsf): Don't force any constant to memory if target is integer
416         hard register.
417         Move fp_zero_operand check below the const0_rtx check.
418         (movtf): Likewise. Also allow fp_zero_operand for stores into
419         memory.
420         (movdf): Likewise. Also allow fp_zero_operand for stores into
421         memory and into integer hard registers.
422         (clear_df, clear_dfp, movdf_const_intreg_sp32,
423         movdf_const_intreg_sp64): Remove.
424         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
425         conditions.
426         (movdf_no_e_insn_v9_sp32): New pattern.
427         (movdf_insn_v9only): Remove.
428         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
429         (movdf_insn_sp64): Remove.
430         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
431         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
432         (following splits): Rewrite conditions. Add two new splits
433         for storing 0.0 into memory and registers.
434         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
435         (movtf_insn_sp32): Redo constraints and conditions.
436         (movtf_insn_vis_sp32): New pattern.
437         (movtf_no_e_insn_sp32): Redo constraints and conditions.
438         (movtf_insn_hq_sp64): Likewise.
439         (movtf_insn_hq_vis_sp64): New pattern.
440         (movtf_insn_sp64): Redo constraints and conditions.
441         (movtf_insn_vis_sp64): New pattern.
442         (movtf_no_e_insn_sp64): Redo constraints and conditions.
443         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
444         or memory.
445         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
446         -mvis or -m64 to take down the number of various reload patterns.
447
448 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
449
450         * pa/pa-64.h: New file.
451         * pa/pa64-regs.h: New file.
452         * pa/pa64-start.h: New file.
453         * pa/t-pa64: New file.
454         * pa/xm-pa64hpux.h: New file.
455
456 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
457
458         * sparc.c (output_restore_regs): Prototype.
459         (sparc_emit_float_lib_cmp): Constification.
460
461         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
462
463         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
464         Prototype.
465
466         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
467         (get_value_hash, hash_rtx): Likewise.
468
469         * ssa.c (compute_conservative_reg_partition): Prototype.
470
471         * tree.c (mark_hash_entry): Prototype.
472
473 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
474
475         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
476         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
477         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
478
479         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
480         * objc/lang-specs.h: Likewise.
481
482 2000-04-03  Neil Booth  <NeilB@earthling.net>
483
484         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
485         and SYNTAX_ERROR2. Replace `' in messages with ''.
486         (op_to_str): Make re-entrant.
487         (_cpp_parse_expr): Implement new error macros. Use | rather
488         than || to logically or 2 boolean integers.  Simply expression
489         checking we have a left operand iff needed.
490
491 2000-04-03  Nick Clifton  <nickc@cygnus.com>
492
493         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
494
495 2000-04-03  Philip Blundell  <philb@gnu.org>
496
497         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
498
499 2000-04-03  Felix Lee  <flee@cygnus.com>
500
501         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
502         (run_shell): Use it. 
503
504 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
505
506         * Makefile.in (stmp-int-hdrs): Make include subdir here...
507         (stmp-fixproto): ...rather than here.
508
509 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
510
511         * pa.c (print_operand): Compute 'base' only inside the code paths
512         that use it.
513
514 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
515
516         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
517         CEIL_DIV_EXPR.
518
519 2000-04-03  Philipp Thomas  <pthomas@suse.de>
520
521         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
522
523 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
524
525         * Makefile.in (alias.o): Depend on $(TREE_H).
526
527 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
528
529         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
530         processing C++.
531         * cpplib.c (_cpp_handle_directive): Improve warnings for
532         traditional C and indented directives.
533
534         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
535         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
536         fixinc/inclhack.def: Indent the # of #include_next one space.
537         * cp/rtti.c: Un-indent #if and #endif.
538
539         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
540         syntax error, but an error has already been printed.
541         * cpplex.c (_cpp_parse_assertion): Give a more specific error
542         message when called with nothing remaining on the line.
543         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
544         OTHER token, not an ASSERTION.
545         * cpplib.c (do_assert): When we create a 'base' node, clear
546         its aschain pointer.
547
548 2000-04-02  Neil Booth <NeilB@earthling.net>
549
550         * cppexp.c:  New typedef op_t.  struct operation and struct 
551         token updated to use it.
552         (op_to_str): New function.
553         (_cpp_parse_expr): Error messages modified to use op_to_str.
554
555 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
556
557         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
558         before checking MUST_PASS_IN_STACK.
559
560 2000-04-02  Neil Booth <NeilB@earthling.net>
561
562         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
563         flags and initial priority into a single constant.  New
564         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
565         (_parse_cpp_expr): Implement new constants.  Take left operand
566         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
567         parse indicated by reducing FINISHED token.  Remove new lines
568         from cpp_error messages.
569
570 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
571
572         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
573         permanent obstack.
574
575 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
576
577         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
578         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
579         the strings and function names on the fly.  Take the #sccs
580         entry out of the table if SCCS_DIRECTIVE is not defined.
581         (_cpp_handle_directive): Decide if the # was at the beginning
582         of the line here.  Issue -pedantic warnings for extended
583         directives here.  Warn about K+R directives with the #
584         indented, and C89/extended directives with the # not indented,
585         here.
586         (do_import, do_include_next, do_warning, do_ident, do_sccs,
587         do_assert, do_unassert): Don't issue pedantic warning here.
588
589         * cpphash.h: Add CPP_WTRADITIONAL macro.
590         * cpplib.h (struct cpp_options): Rename warn_stringify to
591         warn_traditional; update comments.
592         * cppinit.c (handle_option): Set warn_traditional not
593         warn_stringify.
594         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
595         CPP_WTRADITIONAL (pfile).
596         * cpplex.c (_cpp_lex_token): Don't decide if directives should
597         be ignored in -traditional mode here.
598
599         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
600         to initialize speccase[] and trigraph_map[].  Delete all
601         references to pfile->input_speccase.  Always treat '?' as a
602         special character.  Remove table-initialization code from
603         _cpp_init_input_buffer.
604
605         * cpplib.h (struct cpp_reader): Remove input_speccase field.
606         * cppinit.c (cpp_cleanup): Don't free input_speccase.
607
608 2000-04-01  Richard Henderson  <rth@cygnus.com>
609
610         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
611         (mostlyclean): Likewise.
612
613         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
614         (struct dump_file_info, enum dump_file_index, dump_file): New.
615         (open_dump_file): Take a dump_file_index not a suffix, and a decl
616         not a string.  Clean out file if we havn't yet done so.  Do nothing
617         if the dump isn't enabled.
618         (close_dump_file): Do nothing if the dump isn't open.  Dump 
619         graph data if requested.
620         (dump_rtl, clean_dump_file): Remove.
621         (compile_file): Don't clean the dump files.  Only finalize .bp dump
622         if flag_test_coverage or flag_branch_probabilities.  Only finalize
623         .combine dump if optimizing.  Iterate over dump_file to finalize the
624         graph dumps.
625         (rest_of_compilation): Update for open_dump_file/close_dump_file.
626         Convert all uses of dump_rtl.
627         (decode_d_option): Iterate over dump_file to implement 'a' and to
628         locate pass-specific dumps.
629
630 2000-04-01  Neil Booth <NeilB@earthling.net>
631
632         * cppexp.c: Redefine priority constants.
633         (_cpp_parse_expr): Replace left and right priority scheme with
634         single priority logic.  Move LOGICAL to same place as COMPARE.
635         Remove bogus check for multiple unary +/- operators.
636
637 2000-04-01  Neil Booth <NeilB@earthling.net>
638
639         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
640         within the switch statement.  Binary operations break out of
641         the switch naturally.  '(' tokens handled by forcing
642         immediate shift.  ')' handled by forcing immediate reduce to
643         the previous '('.  New error messages.
644         
645 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
646
647         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
648         part', it's already in use.  Use %K instead.  Add a return at the
649         end of what is now %K.
650         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
651
652 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
653
654         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
655         allocate_dynamic_stack_space.
656         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
657         update stack_pointer_delta; do not update arg_size_so_far.
658         (compute_argument_block_size): Use stack_delta instead of
659         stack_pointer_pending and arg_size_so_far.
660         (expand_call): Add sanity checking for stack_pointer_delta;
661         save and restore stack_pointer_delta for SIB, use
662         stack_pointer_delta for alignment; do not update arg_space_so_far.
663         (emit_library_call_value): Use stack_pointer_delta for alignment.
664         (store_one_arg): Do not update arg_space_so_far.
665         * explow.c (adjust_stack, anti_adjust_stack): Update
666         stack_pointer_delta.
667         (allocate_dynamic_stack_space): Add sanity checking for
668         stack_pointer_delta.
669         * expr.c (init_expr, clear_pending_stack_adjust): Clear
670         stack_pointer_delta.
671         (emit_push_insn): Update stack_pointer_delta.
672         * function.h (struct expr_status): Add x_stack_pointer_delta;
673         remove x_arg_space_so_far.
674         (arg_space_so_far): Remove.
675         (stack_pointer_delta): New macro.
676
677 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
678
679         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
680         Reorder struct cpp_options and struct cpp_reader for better 
681         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
682         takes two args.  Change all 'char' flags to 'unsigned char'.
683         Move show_column flag into struct cpp_options.  Don't
684         prototype cpp_options_init.
685         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
686         cppinit.c, cpplex.c, cpplib.c:
687         Replace CPP_OPTIONS (pfile)->whatever with
688         CPP_OPTION (pfile, whatever), and likewise for
689         opts = CPP_OPTIONS (pfile); ... opts->whatever;
690
691         * cppinit.c (merge_include_chains): Take a cpp_reader *.
692         Extract CPP_OPTION (pfile, pending) and work with that
693         directly.
694         (cpp_options_init): Delete.
695         (cpp_reader_init): Turn on on-by-default options here.
696         Allocate the pending structure here.              
697         (cl_options, enum opt_code): Define these from the same table,
698         kept in a large macro.  Add -fshow-column and -fno-show-column
699         options.
700
701         * cpperror.c (v_message): If show_column is off, don't print
702         the column number.
703
704         * cppmain.c: Update for new interface.
705         * fix-header.c: Likewise.
706
707 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
708
709         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
710         definition.
711         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
712         are passed to any invocation of AR_FOR_TARGET.
713         (AR_CREATE_FOR_TARGET): New macro.
714         (AR_EXTRACT_FOR_TARGET): New macro.
715         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
716         AR_EXTRACT_FOR_TARGET.
717         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
718         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
719         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
720         AR_EXTRACT_FOR_TARGET to sub-makes.
721
722 2000-03-31  Neil Booth <NeilB@earthling.net>
723
724         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
725         PAREN_INNER_PRIO.
726         (_cpp_parse_expr): Check for multiple unary +/- operators.
727         Correct priorities of ':' and '?'.  Treat ')' as having a
728         value.  Ensure conditional expression is not void.
729         
730 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
731
732         * alias.c (canon_rtx): Make it global.
733         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
734         equality.
735         * cse.c (struct table_elt): Add canon_exp.
736         (insert): Clear it.
737         (invalidate): Canonicalize expressions only once.
738         * rtl.h (canon_rtx): Declare.
739
740 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
741
742         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
743         * alias.c (reg_known_value): Add comments.
744         (init_alias_analysis): Likewise.
745         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
746         address.
747         (cse_basic_block): Fix typo in comment.
748         * emit-rtl.c: Include hashtab.h.
749         (const_int_htab): New variable.
750         (const_int_htab_hash): New function.
751         (const_int_htab_eq): Likewise.
752         (rtx_htab_mark_1): Likewise.
753         (rtx_htab_mark): Likewise.
754         (gen_rtx_CONST_INT): Cache all CONST_INTs.
755         (unshare_all_rtx): Fix formatting.
756         (init_emit_once): Initialize const_int_htab.
757         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
758         address.
759         * rtl.texi: Document the fact that all CONST_INTs with the same
760         value are shared.
761
762 2000-03-30  Richard Henderson  <rth@cygnus.com>
763
764         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
765
766 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
767
768         * configure.in: Comment out --enable-c-cpplib stanza.
769         * configure: Regenerate.
770
771 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
772
773         * expr.c (store_constructor): Properly compute displacement and
774         alignment when offset is variable.
775
776         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
777         cases of alignment in bytes.
778
779 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
780
781         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
782         since it is used to generate c-parse.y.
783         * objc-parse.c, objc-parse.y: Regenerated.
784
785         * function.c (expand_function_end): Pass alignment argument to
786         emit_block_move in bits, not bytes.
787
788 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
789
790         * expr.c (move_by_pieces_ninsns): Fix one more missing align
791         correction.
792
793         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
794
795         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
796         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
797         * function.c (assign_parms): Likewise.
798         * integrate.c (expand_inline_function): Likewise.
799         * stmt.c (expand_decl): Likewise.
800         (copy_rtx_and_substitute): Likewise.
801         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
802         (clear_by_pieces): Fix error in last change.
803         * emit-rtl.c (init_emit): Set known registers alignment in bits.
804         * function.h (regno_pointer_align): Now unsigned.
805         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
806         is in bits.
807         * config/i386/i386.c (aligned_operand): Likewise.
808         * config/sparc/sparc.c (mem_min_alignment): Likewise.
809         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
810         (unaligned_memory_operand): Likewise.
811         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
812         Also make alignments and sizes unsigned and some whitespace cleanup.
813         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
814
815         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
816         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
817         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
818         (expand_builtin_memset): Likewise, but to clear_storage.
819         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
820         (restore_fixed_argument_area): Likewise.
821         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
822         (load_register_parameters): Likewise, to emit_group_load.
823         (expand_call): Likewise, to emit_group_store and emit_block_move.
824         (emit_library_call_value_1): Likewise, to emit_block_move.
825         (store_one_arg): Likewise, and to emit_push_insn.
826         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
827         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
828         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
829         (emit_block_move, emit_group_load, emit_group_store): Likewise.
830         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
831         (expand_assigment, store_expr, store_constructor_field): Likewise.
832         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
833         (store_constructor, store_field, get_inner_reference): Likewise.
834         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
835         (expand_expr, case COMPONENT_REF): Likewise.
836         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
837         and positions; reindent code.
838         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
839         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
840         (assign_parms): Likewise to emit_group_store.
841         * optabs.c (prepare_cmp_insn): Alignment is in bits.
842         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
843         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
844         (expand_return): Likewise to {extract,store}_bit_field.
845         * stor-layout.c (get_mode_alignment): Minor cleanup.
846         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
847         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
848         
849 2000-03-29  Nick Clifton  <nickc@cygnus.com>
850
851         * config/arm/arm.h: Undo effects of previous delta:
852         (ASM_SPEC): Do not define.
853         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
854
855         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
856         typo. 
857
858 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
859
860         * cppinit.c (cpp_start_read): Call initialize_dependency_output
861         only after reading in the primary source file.
862
863 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
864
865         * c-common.c (c_common_nodes_and_builtins): The first parameter to
866         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
867         or a reference to a va_list.
868         * builtins.c (stabilize_va_list): Simplify now we don't have to
869         work around C array address decay.
870         * c-typeck.c (convert_for_assignment): Handle assignment to
871         a reference parameter by taking the address of the RHS.
872         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
873         (va_copy): Likewise.
874         (__va_copy): Likewise.
875         * ginclude/varargs.h (va_start): Likewise.
876         (__va_copy): Likewise.
877
878 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
879
880         * i386/djgpp.h: Remove extraneous "+".
881
882         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
883
884         * calls.c (expand_call): Fix typo in last change.
885
886 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
887
888         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
889         been expanded.
890
891 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
892
893         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
894         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
895         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
896         * tree.c (bit_position, byte_position): Likewise.
897         * tree.h: Declare new functions.
898
899 2000-03-29  Nick Clifton  <nickc@cygnus.com>
900
901         * config/arm/arm.c: Minor formatting changes/
902         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
903         already defined.
904         (ASM_SPEC): Define if not already defined.
905
906 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
907
908         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
909         _cpp_calc_hash.
910
911 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
912
913         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
914         value, don't output it as unsigned.
915
916 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
917
918         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
919
920 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
921
922         * c-common.c (c_common_nodes_and_builtins): Don't special case
923         cplus_mode when declaring builtin bzero/bcmp, always avoid
924         prototype arguments.
925
926 2000-03-29  Bruce Korb  <bkorb@gnu.org>
927
928         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
929         to a non-file
930
931 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
932
933         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
934         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
935         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
936         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
937         (save_fixed_argument_area, restore_fixed_argument_area):
938         conditionize by #ifdef REG_PARM_STACK_SPACE only.
939         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
940         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
941         (precompute_register_parameters): Avoid #ifdefs on
942         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
943         (stire_one_args): Likewise.
944         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
945         (emit_library_call_value_1): Likewise.
946         (compute_argument_block_size): Align to STACK_BOUNDARY only for
947         ACCUMULATE_OUTGOING_ARGS.
948         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
949         value.
950         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
951         (use_crosses_set_p): Likewise.
952         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
953         #define ACCUMULATE_OUTGOING_ARGS 1.
954         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
955         frames.
956         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
957         constants.
958         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
959         (TARGET_SWITCHES): Add push-args, no-push-args,
960         accumulate-outgoing-args and no-accumulate-outgoing-args.
961         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
962         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
963         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
964         and PUSH_ROUNDING.
965         (emit_push_insn): Likewise.
966         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
967         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
968         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
969         (STACK_DYNAMIC_OFFSET): Define correctly for both
970         ACCUMULATE_OUTGOING_ARGS and normal mode.
971         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
972         * tm.texi (PUSH_ARGS): Document.
973         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
974
975 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
976
977         * flags.h (flag_optimize_sibling_calls): Declare.
978         * calls.c (expand_call): Fail sibcall when
979         !flag_optimize_sibling_calls
980         * invoke.texi (flag_optimize_sibling_calls): Document.
981         * toplev.c (flag_optimize_sibling_calls): New global variable.
982         (f_options): Add flag_optimize_sibling_calls.
983         (rest_of_compilation): Conditionize
984         optimize_sibling_and_tail_recursive_calls by
985         flag_optimize_sibling_calls.
986         (main): Set flag_optimize_sibling_calls for -O2.
987         * stmt.c (expand_return): Conditionize tail recursion by
988         flag_optimize_sibling_calls.
989
990 2000-03-29  Richard Henderson  <rth@cygnus.com>
991
992         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
993         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
994
995 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
996
997         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
998
999 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1000
1001         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
1002         is given.
1003         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
1004         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
1005         * config/rs6000/aix.h: then modified likewise.
1006
1007 2000-03-28  Richard Henderson  <rth@cygnus.com>
1008
1009         * rtl.h: Redistribute enum reg_note documentation. 
1010         Kill trailing whitespace.
1011         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
1012         Kill trailing whitespace.
1013
1014 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
1015
1016         * cppfiles.c (hash_IHASH): Just return i->hash.
1017         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
1018         htab_find_with_hash.
1019         (cpp_read_file): Likewise.
1020         (find_include_file): Likewise.  Properly initialize
1021         ih->nshort.  Share ih->name and ih->nshort if possible.
1022         * cpphash.c (_cpp_calc_hash): New function.
1023         (hash_HASHNODE): Just return h->hash.
1024         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
1025         htab_find_with_hash.
1026         * cpphash.h: Prototype _cpp_calc_hash.
1027         * cppinit.c (initialize_builtins): Provide a valid hash
1028         to _cpp_make_hashnode, using _cpp_calc_hash.
1029
1030         * cpphash.c (collect_expansion): # is not a special character
1031         in object-like macros.  In -traditional mode, /**/ is not
1032         token paste at the beginning or end of the line.
1033         * cpplib.c (do_include, do_import, do_include_next): If
1034         parse_include fails, return immediately.
1035
1036 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
1037
1038         * config/arm/arm.md (return peepholes): Update to reflect the new
1039         call insn patterns.
1040         * config/arm/arm.c (arm_volatile_func): Also check
1041         current_function_nothrow.
1042         (output_return_instruction, output_func_prologue): Use it.
1043         (arm_output_epilogue, arm_expand_prologue): Likewise.
1044
1045 2000-03-27  Tom Tromey  <tromey@cygnus.com>
1046
1047         * gcc.c (handle_braces): In {x*...} case, break out of loop if
1048         switch is found.
1049
1050 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1051
1052         * expr.c (store_constructor): SIZE now signed.
1053         For EXPR_SIZE, don't evaluate size; just needed if constant.
1054         * fold-const.c (fold): Fix a number of cases when folded tree is
1055         wrong type.
1056         * function.c (flush_addressof): Reenable.
1057         * tree.h (flush_addressof): Likewise.
1058         * toplev.c (independent_decode_option): Look at strings_processed.
1059         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
1060
1061 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
1062
1063         * sibcall.c (indentify_call_return_value): Find last call in the chain;
1064         Allow stack adjustment after function call.
1065
1066         * regmove.c (struct csa_memlist): Make mem field rtx *.
1067         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
1068         (try_apply_stack_adjustment): Replace whole MEM rtx.
1069         (combine_stack_adjustments_for_block): Update calls
1070         to record_one_stack_ref.
1071
1072 2000-03-28  Neil Booth  <NeilB@earthling.net>
1073
1074         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
1075         '\\' rather than a null character, so nulls are not special.  Fix
1076         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
1077         speed trigraph conversion.
1078         (_cpp_init_input_buffer): Initialize trigraph map.
1079
1080 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
1081
1082         * config/i386/i386.c (output_387_binary_op): Correct intel
1083         mode assembly output, and add spaces after commas in AT&T
1084         output.  Correct Unixware assembler comment.  Document input
1085         constraints.  Comment fp operations.  Reduce profligate buffer
1086         size.  Remove extraneous abort.  Localize temp var.
1087         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
1088         (output_fix_trunc): Add spaces after commas in assembly output.
1089
1090 2000-03-27  Richard Henderson  <rth@cygnus.com>
1091
1092         * i386-protos.h (ix86_match_ccmode): Declare.
1093         * i386.c (ix86_match_ccmode): New.
1094         (ix86_expand_fp_compare): Update for pattern renames.
1095         (ix86_expand_strlensi_unroll_1): Likewise.
1096         * i386.h (EXTRA_CC_MODES): Add CCZ.
1097         (SELECT_CC_MODE): Use it for EQ/NE zero.
1098         * i386.md (cmpsi_ccz_1): New.
1099         (cmpqi_ccz_1): New.
1100         (*testsi_ccz_1): New.
1101         (testqi_ccz_1): New.
1102         (cmpsi_ccno_1): Rename from cmpsi_0.
1103         (testsi_ccno_1): Rename from testsi_1.
1104         (testqi_ccno_1): Rename from testqi_1.
1105         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
1106         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
1107         (*cmphi_0): Use ix86_match_ccmode.
1108         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
1109         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
1110         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
1111         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
1112         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
1113         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
1114         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
1115         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
1116         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
1117         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
1118         (appropriate peepholes): Likewise.
1119         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
1120         (*subsi_3, *subhi_3, *subqi_3): Remove.
1121         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
1122         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
1123         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
1124         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
1125         (x86_shift_adj_1): Use CCZ.
1126         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
1127
1128 2000-03-27  Stan Cox  <scox@cygnus.com> 
1129
1130         * resource.h (mark_resource_type): New.
1131         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
1132         find_free_register): Use mark_resource_type.
1133         (mark_set_resources): Change include_delayed_effects
1134         to mark_resource_type.
1135         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
1136         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
1137         Use mark_resource_type.
1138         
1139 2000-03-27  Richard Henderson  <rth@cygnus.com>
1140
1141         * i386.md (call_pop_0, call_value_pop_0): New.
1142         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
1143         (call_value_pop_1): Likewise.
1144         (call_0, call_value_0): New.
1145         (call_1, call_value_1): Remove constraint from unused arg.
1146
1147 2000-03-27  Nick Clifton  <nickc@cygnus.com>
1148
1149         * invoke.texi (Spec Files): Document new spec % command created by
1150         Tom Tromey's recent patch.
1151
1152 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
1153
1154         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
1155         if not defined.
1156
1157 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1158
1159         * expr.c (expand_assignment): Fix typo in last change.
1160
1161         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
1162
1163 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1164
1165         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
1166         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
1167         and DECL_INLINE if FUNCTION_DECL.
1168         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
1169         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
1170         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
1171         (combine_parm_decls): Likewise.
1172         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
1173         * print-tree.c (print_node): Likewise.
1174         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
1175         DECL_TRANSPARENT_UNION on proper decl types.
1176         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
1177         * stor-layout.c (layout_decl): Only check DECL_PACKED and
1178         DECL_BIT_FIELD of FIELD_DECL.
1179         * tree.h (DECL_RESULT_FLD): New macro.
1180         
1181         * expr.c (expand_assignment): Add code to handle variable-sized
1182         BLKmode case.
1183
1184 2000-03-26  Richard Henderson  <rth@cygnus.com>
1185
1186         * calls.c (expand_call): Pass parms not original exp to
1187         optimize_tail_recursion.  Mind return value instead of looking
1188         for a barrier.
1189         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
1190         call_expr.  Move checks for call_expr and current_function_decl ...
1191         (expand_return): ... here.
1192
1193 2000-03-26  Tom Tromey  <tromey@cygnus.com>
1194
1195         * gcc.c (handle_braces): Recognize `%{<S}' construct.
1196         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
1197         defines.
1198         (process_command): Use them.
1199         (check_live_switch): Likewise.
1200         (give_switch): Skip ignored switches.
1201
1202 2000-03-26  Jan Hubicka  <jh@suse.cz>
1203
1204         * jump.c (jump_optimize_1): Fix typo in elide optimizations
1205         for minimal jump pass test.
1206
1207 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
1208
1209         * integrate.c (function_cannot_inline_p): Do inline functions that
1210         return `void'.
1211
1212 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1213
1214         * stor-layout.c (layout_type, set_sizetype): early_type_list is
1215         now a list of TREE_LIST entries, not types.
1216         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
1217
1218         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
1219         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
1220         int_bit_position.
1221         * config/mips/mips.c (function_arg): Likewise; also remove cast
1222         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
1223         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
1224         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
1225         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
1226         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
1227         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
1228         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
1229         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
1230         num_adjusts now unsigned.
1231         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
1232         * config/sparc/sparc.c (struct function_arg_record_value_parms):
1233         NREGS now unsigned.
1234         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
1235         as is BITPOS variable; use host_integerp and int_bit_position.
1236         (function_arg_record_value_2): Likewise.
1237         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
1238         Variable REGNO now unsigned.
1239         (function_arg_record_value): NREGS now unsigned.
1240
1241 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
1242
1243         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
1244
1245 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1246
1247         * Rework fields used to describe positions of bitfields and
1248         modify sizes to be unsigned and use HOST_WIDE_INT.
1249         * alias.c (reg_known_value_size): Now unsigned.
1250         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
1251         (really_start_incremental_init): Use bitsize_zero_node.
1252         (push_init_level, pop_init_level, output_init_element): Likewise.
1253         Use bitsize_unit_node and bitsize_one_node.
1254         (output_pending_init_elements, process_init_element): Likewise.
1255         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
1256         (make_extraction): Position and length HOST_WIDE_INT and unsigned
1257         HOST_WIDE_INT, respectively.
1258         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
1259         (num_sign_bit_copies): Returns unsigned.
1260         BITWIDTH now unsigned; rework arithmetic.
1261         Remove recursive call from arg to MAX.
1262         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
1263         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
1264         REGNO now unsigned.
1265         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
1266         (find_split_point, expand_compound_operation, make_extraction): LEN
1267         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
1268         (make_field_assignment): Likewise.
1269         (combine_simplify_rtx): Add cast.
1270         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
1271         (force_to_mode): WIDTH now unsigned; add cast.
1272         (if_then_else_cond): SIZE now unsigned.
1273         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
1274         (extended_count): Now returns unsigned.
1275         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
1276         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
1277         (simplify_comparison): MODE_WIDTH now unsigned.
1278         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
1279         (mark_used_regs_combine): Likewise; rework arithmetic.
1280         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
1281         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
1282         (record_promoted_value): REGNO now unsigned.
1283         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
1284         (get_last_value): REGNO now unsigned.
1285         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
1286         (reg_dead_regno, reg_dead_endregno): Now unsigned.
1287         (remove_death): Arg REGNO now unsigned.
1288         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
1289         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
1290         now unsigned.
1291         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
1292         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
1293         (struct cse_reg_info): REGNO now unsigned.
1294         (cached_regno): Now unsigned.
1295         (REGNO_QTY_VALID_P): Add cast.
1296         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
1297         (remove_invalid_regs): Likewise.
1298         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
1299         as are variables END and I.
1300         (get_cse_reg_info, insert): Likewise.
1301         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
1302         (canon_hash): Likewise.
1303         (insert_regs, lookup_for_remove): REGNO now unsigned.
1304         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
1305         New variable RN.
1306         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
1307         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
1308         * emit-rtl.c (subreg_realpart_p): Add cast.
1309         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
1310         (operand_subword_force): Arg I is now unsigned.
1311         * except.c (eh_regs): Variable I is now unsigned.
1312         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
1313         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
1314         length is unsigned HOST_WIDE_INT; likewise for internal variables.
1315         (store_split_bit_field, extract_fixed_bit_field): Likewise.
1316         (extract_split_bit_field, store_bit_field, extract_bit_field):
1317         Likewise.
1318         * expr.c (store_constructor_fields, store_constructor, store_field):
1319         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
1320         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
1321         (do_jump): Likewise.
1322         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
1323         MAX_SIZE is now unsigned.
1324         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
1325         (emit_group_store): Likewise.
1326         (emit_move_insn): I now unsigned.
1327         (store_constructor): Use host_integerp, tree_low_cst, and
1328         bitsize_unit_node.
1329         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
1330         Rework all calculations to use trees and new fields.
1331         * expr.h (promoted_input_arg): Regno now unsigned.
1332         (store_bit_field, extract_bit_field): Adjust types of pos and size.
1333         (mark_seen_cases): Arg is HOST_WIDE_INT.
1334         * flow.c (verify_wide_reg_1): REGNO now unsigned.
1335         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
1336         precisions and alignments are unsigned.
1337         (optimize_bit_field_compare, fold_truthop): Likewise.
1338         (int_const_binop): Adjust threshold for size_int_type_wide call.
1339         (fold_convert): Likewise.
1340         (size_int_type_wide): Make table larger and fix thinko that only
1341         had half of table used.
1342         (all_ones_mask_p, fold): Precisions are unsigned.
1343         * function.c (put_reg_info_stack): REGNO is unsigned.
1344         (instantiate_decl): Size is HOST_WIDE_INT.
1345         (instantiate_virtual_regs): I is unsigned.
1346         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
1347         (promoted_input_arg): REGNO is unsigned.
1348         * function.h (struct function): x_max_parm_reg is now unsigned.
1349         * gcse.c (max_gcse_regno): Now unsigned.
1350         (struct null_pointer_info): min_reg and max_reg now unsigned.
1351         (lookup_set, next_set): REGNO arg now unsigned.
1352         (compute_hash_table): REGNO and I now unsigned.
1353         (handle_avail_expr): regnum_for_replacing now unsigned.
1354         (cprop_insn): REGNO now unsigned.
1355         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
1356         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
1357         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
1358         * hard-reg-set.h (reg_class_size): Now unsigned.
1359         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
1360         * jump.c (mark_modified_reg): I now unsigned; add cast.
1361         (rtx_equal_for_thread_p): Add cast.
1362         * loop.c (max_reg_before_loop): Now unsigned.
1363         (struct_movable): REGNO now unsigned.
1364         (try_copy_prop): REGNO arg unsigned.
1365         (regs_match_p): XN and YN now unsigned.
1366         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
1367         (strength_reduce): Likewise; NREGS also unsigned.
1368         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
1369         * loop.h (struct iv_class): REGNO now unsigned.
1370         (max_reg_before_loop, first_increment_giv, last_increment_giv):
1371         Now unsigned.
1372         * machmode.h (mode_size, mode_unit_size): Now unsigned.
1373         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
1374         * optabs.c (expand_binop): I and NWORDS now unsigned.
1375         (expand_unop): I now unsigned.
1376         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
1377         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
1378         * real.c (significand_size): Now returns unsigned.
1379         * real.h (significand_size): Likewise.
1380         * regclass.c (reg_class_size): Now unsigned.
1381         (choose_hard_reg_mode): Both operands now unsigned.
1382         (record_reg_classes): REGNO and NR now unsigned.
1383         (reg_scan): NREGS now unsigned.
1384         (reg_scan_update): old_max_regno now unsigned.
1385         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
1386         * reload.c (find_valid_class): BEST_SIZE now unsigned.
1387         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
1388         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
1389         Likewise for variable R.
1390         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
1391         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
1392         (find_equiv_reg): Add casts.
1393         (regno_clobbered_p): Arg REGNO now unsigned.
1394         * reload.h (struct reload): NREGS now unsigned.
1395         (refers_to_regno_for_reload_p): Regno args are unsigned.
1396         (regno_clobbered_p): Likewise.
1397         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
1398         (compute_use_by_pseudos): REGNO now unsigned.
1399         (find_reg): I and J now unsigned, new variable K, and change loop
1400         variables accordingly; THIS_NREGS now unsigned.
1401         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
1402         (spill_hard_reg): REGNO arg now unsigned; add casts.
1403         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
1404         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
1405         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
1406         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
1407         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
1408         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
1409         (emit_reload_insns): REGNO now unsigned.
1410         (reload_cse_move2add): Add cast.
1411         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
1412         and rework loop.
1413         * resource.c (mark_referenced_resources, mark_set_resources): New
1414         variable R; REGNO and LAST_REGNO now unsigned.
1415         (mark_target_live_regs): J and REGNO now unsigned.
1416         * rtl.c (mode_size, mode_unit_size): Now unsigned.
1417         * rtl.h (union rtunion_def): New field rtuint.
1418         (XCUINT): New macro.
1419         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
1420         (operand_subword, operand_subword_force): Word number is unsigned.
1421         (choose_hard_reg_mode): Operands are unsigned.
1422         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
1423         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
1424         (regno_use_in, combine_instructions, remove_death): Likewise.
1425         (reg_scan, reg_scan_update): Likewise.
1426         (extended_count): Return is unsigned.
1427         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
1428         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
1429         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
1430         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
1431         (reg_reg_last_1): FIRS and LAST now unsigned.
1432         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
1433         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
1434         now unsigned.
1435         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
1436         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
1437         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
1438         (replace_regs): Arg NREGS now unsigned.
1439         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
1440         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
1441         (simplify_binary_operation): Likewise.
1442         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
1443         THIS_LAST now unsigned.
1444         (cselib_record_set): Add cast.
1445         * ssa.c (ssa_max_reg_num): Now unsigned.
1446         (rename_block): REGNO now unsigned.
1447         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
1448         sizes now unsigned.
1449         (all_cases_count): Just return -1 not -2.
1450         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
1451         Rework tests to use trees whenever possible.
1452         Use host_integerp and tree_low_cst.
1453         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
1454         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
1455         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
1456         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
1457         (smallest_mode_for_size): Likewise.
1458         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
1459         KNOWN_ALIGN is now an alignment, so simplify code.
1460         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
1461         (start_record_layout): Renamed from new_record_layout_info.
1462         Update to new fields.
1463         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
1464         New functions.
1465         (place_union_field): Renamed from layout_union_field.
1466         Update to use new fields in rli.
1467         (place_field): Renamed from layout_field.
1468         Major rewrite to use new fields in rli; pass alignment to layout_decl.
1469         (finalize_record_size): Rework to use new fields in rli and handle
1470         union.
1471         (compute_record_mode): Rework to simplify and to use new DECL fields.
1472         (finalize_type_size): Make rounding more consistent.
1473         (finish_union_layout): Deleted.
1474         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
1475         (layout_type, case RECORD_TYPE): Call new function names.
1476         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
1477         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
1478         (get_best_mode): UNIT is now unsigned; remove casts.
1479         * tree.c (bit_position): Compute from new fields.
1480         (byte_position, int_byte_position): New functions.
1481         (print_type_hash_statistics): Cast to remove warning.
1482         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
1483         (build_index_type): Likewise; make subtype of sizetype.
1484         (build_index_2_type): Pass sizetype to build_range_type.
1485         (build_common_tree_nodes): Use size_int and bitsize_int to
1486         initialize nodes; add bitsize_{zero,one,unit}_node.
1487         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
1488         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
1489         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
1490         (DECL_FIELD_BITPOS): Deleted.
1491         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
1492         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
1493         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
1494         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
1495         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
1496         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
1497         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
1498         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
1499         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
1500         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
1501         (DECL_ALIGN): Adjust to new field in union.
1502         (DECL_OFFSET_ALIGN): New field.
1503         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
1504         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
1505         (union tree_decl): Add struct for both aligns.
1506         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
1507         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
1508         (struct record_layout_info): Rework fields to have offset
1509         alignment and byte and bit position.
1510         (start_record_layout, place_field): Renamed from old names.
1511         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
1512         (byte_position, int_byte_position): Likewise.
1513         (get_inner_reference): Change types of position and length.
1514         * unroll.c (unroll_loop): New variable R; use for some loops.
1515         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
1516         (calculate_giv_inc): Arg REGNO now unsigned.
1517         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
1518         * varasm.c (assemble_variable): Clean up handling of size using
1519         host_integerp and tree_low_cst.
1520         (decode_addr_const): Use byte, not bit, position.
1521         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
1522         use tree_low_cst and int_bit_position.
1523         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
1524         
1525 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
1526
1527         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
1528         (reorder_block_def): New members eff_head and eff_end.
1529         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
1530         (verify_insn_chain): New function.
1531         (skip_insns_between_block): Add code to skip deleted insns.
1532         Check for note before using.
1533         (chain_reorder_blocks): Replace calls to skip_insns_between_block
1534         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
1535         Check for note before using.
1536         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
1537         (fixup_reorder_chain): Restructure, clean up, defect removal.
1538         (reorder_basic_blocks): Remove last_insn and references to it.
1539         Moved insn chain verification code into a new function (see above).
1540         Delete defective code that sets last insn.
1541         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
1542         all blocks.
1543
1544 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1545
1546         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
1547
1548 2000-03-24  Richard Henderson  <rth@cygnus.com>
1549
1550         * tree.c (lang_safe_for_unsave): Remove.
1551         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
1552         allowing for two levels of unsafeness.  Remove lang hook.
1553         * tree.h: Update declarations.
1554         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
1555         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
1556         Always fail sibcalls when there are pending cleanups.
1557
1558 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
1559
1560         * flow.c (propagate_block): When we delete an ADDR_VEC,
1561         also delete the BARRIER following it if there is one.
1562
1563 2000-03-24  Richard Henderson  <rth@cygnus.com>
1564
1565         * builtins.c (expand_builtin_bzero): Convert `length' argument
1566         to sizetype.
1567
1568 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
1569
1570         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
1571         comparison if regno's are equal.
1572         * calls.c (initialize_argument_informat): Add ecf_flags argument.
1573         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
1574         (expand_call): Update caller.
1575         Avoid making a sibling call if argument size of the callee is larger
1576         than argument size of the caller.
1577         Call hard_function_value with outgoing set if in sibcall pass.
1578         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
1579
1580         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
1581         Change LEAF_REGISTERS from an array initializer to actual array
1582         identifier. Move static global variable into the function.
1583         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
1584         sequences for leaf functions.
1585         * global.c (global_alloc): Likewise.
1586         * tm.texi (LEAF_REGISTERS): Update documentation.
1587
1588         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
1589         TARGET_FLAT leaf disabling hack.
1590         (LEAF_REGISTERS): Changed from an array initializer to actual array
1591         identifier to avoid duplication and remove the above hack.
1592         (FUNCTION_OK_FOR_SIBCALL): Define.
1593         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
1594         always like call attribute.
1595         (eligible_for_sibcall_delay): New attribute.
1596         (sibcall): New delay type.
1597         (sibcall, sibcall_value, sibcall_epilogue): New expands.
1598         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
1599         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
1600         * config/sparc/sparc.c (sparc_leaf_regs): New array.
1601         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
1602         New functions.
1603         (output_function_epilogue): Move part of the code into
1604         output_restore_regs.
1605         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
1606         TYPE_SIBCALL.
1607         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
1608         prototypes.
1609
1610         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
1611         until infrastructure is finished.
1612
1613 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
1614
1615         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
1616         (save_parm_insns): Not here.
1617
1618 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1619
1620         * builtins.c (expand_builtin_bzero): New function.
1621         (expand_builtin): Handle bzero.
1622
1623         * builtins.def: Add BUILT_IN_BZERO.
1624
1625         * c-common.c (c_common_nodes_and_builtins): Provide builtin
1626         prototype & function for bzero.
1627
1628 2000-03-23  Michael Meissner  <meissner@redhat.com>
1629
1630         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
1631         change adding TARGET_FP to the TF floating point insns, except for
1632         trunctfsf2, which generates direct calls to truncdfsf2.
1633
1634 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
1635
1636         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
1637         try to protect against middle-end changes that break binary
1638         compatibility.
1639         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
1640
1641 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1642
1643         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
1644
1645 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1646
1647         * calls.c (expand_call): If TARGET is passed by reference and
1648         is readonly, write a CLOBBER.
1649
1650 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1651
1652         * builtins.c (expand_builtin): Handle bcmp.
1653
1654         * builtins.def: Add BUILT_IN_BCMP.
1655
1656         * c-common.c (c_common_nodes_and_builtins): Provide builtin
1657         prototype & function for bcmp.
1658
1659 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
1660
1661         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
1662         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
1663         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
1664
1665 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
1666
1667         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
1668         alternative when using -fp64 -gp32.
1669
1670 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
1671
1672         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
1673         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
1674         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
1675
1676         * frame.h (frame_state): Revert last change.
1677         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
1678         * libgcc2.c (throw_helper): Revert last change.
1679         
1680 2000-03-22  Richard Henderson  <rth@cygnus.com>
1681
1682         * stmt.c (expand_asm_operands): Don't promote the temporary.
1683
1684 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1685
1686         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
1687         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
1688           c_get_alias_set): Likewise.
1689         * c-decl.c (duplicate_decls): Likewise.
1690         * c-typeck.c (default_conversion,build_unary_op): Likewise.
1691         * calls.c (initialize_argument_information): Likewise.
1692         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
1693         Likewise.
1694         * dwarfout.c (decl_class_context,output_type): Likewise.
1695         * expr.c (get_inner_reference): Likewise.
1696         * fold-const.c (simple_operand_p,fold): Likewise.
1697         * function.c (aggregate_value_p): Likewise.
1698         * stmt.c (expand_asm_operands): Likewise.
1699         * varasm.c (named_section): Likewise.
1700
1701 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
1702
1703         Implement dwarf2 exception handling for the ARM.
1704         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
1705         (DWARF_FRAME_RETURN_COLUMN): Define.
1706         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
1707         REG_FRAME_RELATED_EXPR note.
1708         (emit_sfm): Likewise.
1709         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
1710         * dwarf2out.c (reg_save): Handle saving a register to itself.
1711         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
1712         * except.c (eh_regs): Don't use the static chain reg if it's
1713         callee-saved.
1714         * frame.h (frame_state): Add cfa_saved field.
1715         * frame.c (execute_cfa_insn): Set it.
1716         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
1717         the epilogue.
1718         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
1719         Now takes a parm.
1720         (instantiate_virtual_regs): Adjust.
1721         * tm.texi: Adjust.
1722         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
1723         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
1724         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
1725
1726         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
1727         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
1728
1729 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1730
1731         * builtins.def: New file.
1732
1733         * Makefile.in (TREE_H): Depend on builtins.def.
1734
1735         * builtins.c (built_in_names): Use builtins.def.
1736
1737         * tree.h (built_in_function): Likewise.
1738
1739 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
1740
1741         * tree.c (size_in_bytes): Return size_zero_node, not
1742         integer_zero_node.
1743
1744 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
1745
1746         * config/fp-bit.c (pack_d): Correct the case when a denormal
1747         is rounded up and stops being denormal.
1748
1749 2000-03-21  Richard Henderson  <rth@cygnus.com>
1750
1751         * config/alpha/alpha.c (function_arg): Check for void_type_node
1752         before using MUST_PASS_IN_STACK.
1753
1754 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
1755
1756         * regmove.c (combine_stack_adjustments_for_block): Check that
1757         the stack pointer is a valid memory address.
1758
1759 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
1760
1761         * calls.c: re-install Mar 16 emit_library_call merge.
1762
1763 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
1764
1765         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
1766         we cannot be sure that if reload_completed base register will
1767         be properly aligned.
1768
1769 2000-03-21  Richard Henderson  <rth@cygnus.com>
1770
1771         * flow.c (delete_block): Fix typo last change.
1772
1773 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
1774
1775         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
1776         not COMPLETE_TYPE_P, to check the type of the expression.
1777
1778 2000-03-21  Michael Meissner  <meissner@redhat.com>
1779
1780         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
1781         all floating point insns that just tested the macro
1782         TARGET_HAS_XFLOATING_LIBS.
1783         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
1784         used to only use the gprs.
1785
1786 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
1787
1788         * tree.h (COMPLETE_TYPE_P): New macro.
1789         (COMPLETE_OR_VOID_TYPE_P): New macro.
1790         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
1791         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
1792         * c-aux-info.c (gen_type): Use them.
1793         * c-common.c (c_expand_expr_stmt): Likewise.
1794         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
1795         grokdeclarator, grokparms, finish_struct, start_function,
1796         store_parm_decls, combine_parm_decls): Likewise.
1797         * c-parse.y (cast_expr): Likewise.
1798         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
1799         c_size_in_bytes, c_alignof, build_component_ref,
1800         build_indirect_ref, build_array_ref, convert_arguments,
1801         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
1802         * calls.c (initialize_argument_information): Likewise.
1803         * convert.c (convert_to_integer): Likewise.
1804         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
1805         * dwarfout.c (location_or_const_value_attribute,
1806         output_enumeration_type_die, output_structure_type_die,
1807         output_union_type_die, output_type): Likewise.
1808         * expr.c (safe_from_p, expand_expr): Likewise.
1809         * function.c (assign_parms): Likewise.
1810         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
1811         * tree.c (build_array_type, build_function_type,
1812         build_method_type, build_offset_type, build_complex_type): Likewise.
1813         * c-parse.c, c-parse.h: Regenerated.
1814
1815 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1816
1817         * config/c4x/rtems.h: Include config/rtems.h.
1818
1819 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
1820
1821         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
1822         decl is a FUNCTION_DECL
1823
1824 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
1825
1826         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
1827         function uses output registers.  Don't save RP for leaf functions.
1828         Do save RP even if no epilogue.
1829         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
1830         (CALL_USED_REGISTERS): Unmark in registers.
1831         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
1832         to near the middle.
1833
1834 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
1835
1836         * config/rs6000/rs6000.md (bunordered): New expander.
1837         (bordered): New expander.
1838         (buneq): New expander.
1839         (bunge): New expander.
1840         (bungt): New expander.
1841         (bunle): New expander.
1842         (bunlt): New expander.
1843         (bltgt): New expander.
1844  
1845         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
1846         (ccr_bit_negated_p): New function.
1847         (print_operand): For %C, generate appropriate cror for UNEQ,
1848         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
1849
1850 2000-03-20  Andreas Jaeger  <aj@suse.de>
1851
1852         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
1853         warning.
1854
1855         * tree.h (safe_for_unsave): Prototype.
1856
1857 2000-03-20  Richard Henderson  <rth@cygnus.com>
1858
1859         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
1860         (combine_stack_adjustments_for_block): Don't allow sp references
1861         in the side of a set we're not fixing up.
1862         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
1863         after life_analysis.
1864
1865 2000-03-20  Richard Henderson  <rth@cygnus.com>
1866
1867         * calls.c (expand_call): Don't bother generating tail call
1868         sequences if there are pending cleanups.  Use
1869         expand_start_target_temps/expand_end_target_temps to elide
1870         cleanups created during sibcall expansion.
1871
1872 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
1873
1874         * configure.in: Set $IFS to a value if it doesn't already have one
1875         in the --enable-checking handling.
1876         * configure: Regenerate.
1877
1878 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1879
1880         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
1881         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
1882         Regenerated.
1883
1884 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
1885
1886         * jump.c (delete_noop_moves): Remove code attempting to
1887         combine stack adjustments.
1888
1889 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1890
1891         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
1892         * except.c (emit_cleanup_handler): Use them.
1893         (expand_end_all_catch): Likewise.
1894         * function.c (fixup_var_refs): Likewise.
1895         (expand_function_end): Clear catch_clauses_last.
1896         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
1897         * except.h (struct eh_status): New field x_catch_clauses_last.
1898         (catch_clauses_last): New define.
1899
1900         * Makefile.in (tree.o): Depend on HASHTAB_H.
1901         * tree.c: Include hashtab.h.
1902         (struct type_hash): Remove next field.
1903         (TYPE_HASH_SIZE): Remove.
1904         (TYPE_HASH_INITIAL_SIZE): New define.
1905         (type_hash_table): Change type to htab_t.
1906         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
1907         mark_hash_entry): New functions.
1908         (init_obstacks): Allocate type hash.
1909         (type_hash_lookup): Use htab functions.
1910         (type_hash_add, mark_type_hash): Likewise.
1911         (dump_tree_statistics): Call print_type_hash_statistics.
1912
1913 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1914
1915         * rs6000/t-aix41: New file.
1916
1917         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
1918
1919 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
1920
1921         * tm.texi (Driver): Fix typos and tweak entry for
1922         INCLUDE_DEFAULTS.
1923         Move misplaced STRUCT_FORCE_BLK entry ...
1924         (Storage Layout): ... to here.
1925         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
1926
1927 2000-03-19  Richard Henderson  <rth@cygnus.com>
1928
1929         * flow.c (delete_block): Delete the addr_vec along with the block.
1930         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
1931         reference labels.
1932
1933         * fold-const.c (extract_muldiv): Apply type check for defined
1934         overflow to multiply as well as divide.
1935
1936         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
1937
1938 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
1939
1940         * emit-rtl.c (remove_unncessary_notes): Check that all
1941         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
1942         associated NOTE_BLOCK.
1943         * function.h (identify_blocks): Update comments.
1944         (reorder_blocks): Declare.
1945         * function.c (identify_blocks): Don't take paramters.
1946         (reorder_blocks): Don't take parameters.
1947         * loop.h (find_loop_tree_blocks): Remove.
1948         (unroll_block_trees): Likewise.
1949         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
1950         reorder_blocks instead of unroll_block_trees.h
1951         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
1952         * stmt.c (find_loop_tree_blocks): Remove.
1953         (unroll_block_trees): Likewise.
1954         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
1955         in whole-function mode.
1956         * tree.h (reorder_blocks): Remove declaration.
1957
1958         * expr.c: Include intl.h.
1959         * Makefile.in (expr.o): Depend on intl.h.
1960         
1961 2000-03-18  Richard Henderson  <rth@cygnus.com>
1962
1963         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
1964
1965 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
1966
1967         * tree.h (tree_index): Remove enumerals for integer types.
1968         (integer_type_kind): New type.
1969         (integer_types): New variable.
1970         (char_type_node): Adjust.
1971         (signed_char_type_node): Likewise.
1972         (unsigned_char_type_node): Likewise.
1973         (short_integer_type_node): Likewise.
1974         (short_unsigned_type_node): Likewise.
1975         (integer_type_node): Likewise.
1976         (unsigned_type_node): Likewise.
1977         (long_integer_type_node): Likewise.
1978         (long_unsigned_type_node): Likewise.
1979         (long_long_integer_type_node): Likewise.
1980         (long_long_unsigned_type_node): Likewise.
1981         * tree.c (integer_types): New variable.
1982         (init_obstacks): Register it as a root.
1983
1984 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
1985
1986         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
1987         NEXT_INSN. Update last insn in chain.
1988
1989 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
1990
1991         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
1992         with TYPE_DECL_SUPPRESS_DEBUG set.
1993
1994 2000-03-18  Richard Henderson  <rth@cygnus.com>
1995
1996         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
1997
1998 2000-03-18  Richard Henderson  <rth@cygnus.com>
1999
2000         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
2001         care for HALF_PIC_P.
2002         (expander_call_insn_operand): Remove.
2003         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
2004         * i386.h (PREDICATE_CODES): Update.
2005         * i386.md (all call expanders): Remove predicates, remove special
2006         handling for half-pic.
2007         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
2008         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
2009         (sibcall_epilogue): New.
2010
2011 2000-03-17  Richard Henderson  <rth@cygnus.com>
2012
2013         * rtlanal.c (single_set): Reject if the parallel has anything
2014         except SET or USE or CLOBBER.
2015
2016 2000-03-17  Jeff Law  <law@cygnus.com>
2017             Richard Henderson  <rth@cygnus.com>
2018
2019         * Makefile.in (OBJS): Add sibcall.o.
2020         (sibcall.o): New.
2021         * sibcall.c: New file.
2022         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
2023         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
2024         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
2025         Emit sibcall patterns when requested.  Update all callers.
2026         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
2027         elimination seems feasable.
2028         * final.c (leaf_function_p): Sibling calls don't discount being
2029         a leaf function.
2030         * flow.c (HAVE_sibcall_epilogue): Provide default.
2031         (find_basic_blocks_1): Sibling calls don't throw.
2032         (make_edges): Make edge from sibling call to EXIT.
2033         (propagate_block): Don't remove sibcall_epilogue insns.
2034         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
2035         (sibcall_epilogue): New.
2036         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
2037         (identify_blocks_1): Likewise.  Break out from ...
2038         (identify_blocks): ... here.
2039         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
2040         (reorder_blocks): ... here.
2041         (init_function_for_compilation): Zap prologue/epilogue as varrays.
2042         (record_insns): Extend a varray instead of mallocing new memory.
2043         (contains): Read a varray not array of ints.
2044         (sibcall_epilogue_contains): New.
2045         (thread_prologue_and_epilogue_insns): Emit and record
2046         sibcall_epilogue patterns.
2047         (init_function_once): Allocate prologue/epilogue varrays.
2048         * genflags.c (gen_insn): Treat sibcall patterns as calls.
2049         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
2050         Broken out from ...
2051         (save_for_inline_nocopy): ... here.
2052         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
2053         Broken out from ...
2054         (expand_inline_function): ... here.
2055         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
2056         (subst_constants): Handle 'n' formats.
2057         * jump.c (jump_optimize_minimal): New.
2058         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
2059         optimizations if it's set.
2060         * rtl.c (copy_rtx): Do copy jump & call for insns.
2061         * rtl.h (struct rtx_def): Document use of jump and call for insns.
2062         (SIBLING_CALL_P): New.
2063         (sibcall_use_t): New.
2064         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
2065         Invoke optimize_sibling_and_tail_recursive_calls.
2066         * tree.c (lang_safe_for_unsave): New.
2067         (safe_for_unsave): New.
2068         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
2069
2070         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
2071         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
2072         (*sibcall_osf_1, *sibcall_value_osf_1): New.
2073
2074 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
2075
2076         * objc/objc-act.c (encode_method_prototype): Pass types, not
2077         PARM_DECLs, to int_size_in_bytes.
2078
2079 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
2080
2081         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
2082
2083         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2084         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
2085
2086 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2087
2088         * Clean up usages of TREE_INT_CST_LOW.
2089         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
2090         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2091         Regenerated.
2092         * c-tree.h (min_precision): Move declaration to here.
2093         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
2094         (build_unary_op, add_pending_init): Use bit_position.
2095         (pending_init_member, process_init_element): Likewise.
2096         (really_start_incremental_init, push_init_level, pop_init_level):
2097         Don't make copies of nodes or modify them in place, use consistent
2098         types when tracking positions, and use tree routines computations.
2099         (set_init_index, output_init_element): Likewise.
2100         (output_pending_init_elements, process_init_element): Likewise.
2101         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
2102         tree_low_cst and int_bit_position; also minor cleanup.
2103         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
2104         (print_cst_octal): Precision is unsigned.
2105         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
2106         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
2107         (simple_type_align_in_bits): Result is unsigned int.
2108         Use tree_int_low_cst and host_integerp.
2109         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
2110         (field_byte_offset): Result is HOST_WIDE_INT.
2111         Change types of internal variables so alignments are unsigned int,
2112         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
2113         Use host_integerp, tree_low_cst, and int_bit_position.
2114         (add_bit_offset_attribute): Likewise.
2115         (add_data_member_location_attribute): Use tree_cst_low.
2116         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
2117         (add_bit_size_attribute): Use tree_low_cst.
2118         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
2119         * dwarfout.c: Similar changes to dwarf2out.c.
2120         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
2121         * genoutput.c (n_occurences): Return -1 for null string.
2122         (strip_whitespace): Accept null string and make into function.
2123         (scan_operands): Reflect above changes.
2124         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
2125         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
2126         * ssa.c (rename_registers): Add missing cast of arg to bzero.
2127         * tree.c (int_size_in_bytes): Check for too big to represent.
2128         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
2129         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
2130         New declarations.
2131         (min_precision): Delete from here.
2132         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
2133         and int_bit_position.
2134         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
2135         (encode_method_def): Likewise.
2136         (build_ivar_list_initializer): Use int_bit_position.
2137         (generate_shared_structures): Convert size.
2138         (encode_type, encode_complete_bitfield): Use integer_zerop.
2139         (encode_bitfield): Use tree_low_cst and int_bit_position.
2140         
2141 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2142
2143         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
2144
2145 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2146
2147         * call.c (special_function_p): It is only malloc if it returns
2148         Pmode.
2149
2150 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2151
2152         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
2153         (C33_FLAG, TARGET_C3X): Add macros.
2154         (TARGET_SWITCHES): Add -m33 option.
2155         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
2156         
2157 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2158         
2159         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
2160         (PARALLEL_PACK_FLAG): Delete.
2161         (TARGET_SWITCHES): Update.
2162         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
2163
2164 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2165
2166         * fold-const.c (fold): Fix a few cases when the returned result
2167         is not of the same type as the input.
2168
2169 2000-03-16  Nick Clifton  <nickc@cygnus.com>
2170
2171         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
2172         warning.
2173
2174 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2175
2176         * libgcc2.h: Move prototypes above macros with the same name.
2177         Wrap some function prototypes in the conditional which indicates
2178         whether they are supported, i.e. "BITS_PER_UNIT == 8".
2179
2180 2000-03-16  Richard Henderson  <rth@cygnus.com>
2181
2182         * calls.c: Revert last two changes.
2183
2184 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
2185
2186         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
2187         has exponent 0 is a zero.
2188
2189         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
2190         HASH may already be nonzero.  Add code/mode into hash value
2191         immediately after repeat label.
2192         (cselib_lookup): Don't leave the hash table in an inconsistent
2193         state before a hash lookup operation.
2194
2195 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
2196
2197         * i386.md (all HI and QI mode non-move patterns):  Conditionize
2198         by TARGET_[HQ]IMODE_MATH.
2199         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2200         x86_promote_qi_regs): Declare.
2201         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
2202         TARGET_PROMOTE_QI_REGS): New macros.
2203         (PROMOTE_MODE): New macro.
2204         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
2205         x86_promote_qi_regs): New global variables.
2206
2207 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
2208
2209         * calls.c (emit_library_call_value_1): Break out from ...; handle
2210         VOIDmode function calls too.
2211         (emit_library_call_value): ... here.
2212         (emit_library_call): Implement by calling emit_library_call_value_1.
2213
2214 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
2215
2216         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
2217         Update arg_space_so_far on stack adjustments.
2218         (emit_library_call, emit_library_call_value): Likewise; take into
2219         account arg_space_so_far and pending_stack_adjust when calculcating
2220         the boundary.
2221
2222 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
2223
2224         * flow.c: Move all basic block reordering code into its own file.
2225         (create_basic_block): Externalize.
2226         * bb-reorder.c: New file. Copy all basic block reordering code from
2227         flow.c to this file.
2228         (reorder_basic_blocks): Fix fencepost error in for-loop.
2229         (reorder_basic_blocks): Remove braces from single statement for-loops.
2230         * basic-block.h: Add declaration for create_basic_block.
2231         * Makefile.in: Add rules for bb-reorder.o.
2232
2233 2000-03-16  Neil Booth  <NeilB@earthling.net>
2234
2235         * cppinit.c (handle_option):  Implement #unassert directive
2236         as -A- command line option.
2237         (print_help):  Update.
2238         * cpptexi.c:  Update.
2239
2240 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2241
2242         * md.texi (Standard Names): Document `jump'.
2243
2244 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2245
2246         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
2247         gotos.
2248
2249 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
2250
2251         See the ChangeLog on the branch for more details.
2252         
2253         * configure.in: Merge in changes from newppc-branch.
2254         * configure: Regenerate.
2255         * config/rs6000/*: Merge in changes from newppc-branch.
2256         Also correct copyright notices.
2257
2258 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
2259
2260         * acconfig.h (HAVE_GAS_WEAK): New define.
2261         * configure.in (assembler weak support): Check for .weak support.
2262         * config.in, configure: Rebuilt.
2263         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
2264         HAVE_GAS_WEAK is defined.
2265
2266 2000-03-15  Nick Clifton  <nickc@cygnus.com>
2267
2268         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
2269         asm_fprintf().
2270
2271 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
2272
2273         * cppfiles.c (open_include_file): New function.
2274         (find_include_file, cpp_read_file): Use it.
2275
2276 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
2277
2278         * cpphash.c (dump_hash_helper): Take the slot, not the element.
2279
2280 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
2281
2282         * flow.c (verify_flow_info): Check for unconditional return.
2283
2284 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
2285
2286         * config/ia64/ia64.md (restore_stack_nonlocal): New.
2287         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
2288         (__ia64_restore_stack_nonlocal): New.
2289         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
2290
2291 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2292
2293         * cpphash.c (collect_formal_parameters): Do not complain about
2294         parameter names that just start with `__VA_ARGS__'.
2295
2296 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
2297
2298         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
2299         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
2300         * i386.c (pentiumpro_cost): Set mul cost to 4.
2301         (x86_use_movx): Set for PPro.
2302
2303 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
2304
2305         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
2306         STACK_BOUNDARY for empty frames now.
2307
2308 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
2309
2310         * stor-layout.c (layout_union): Remove.
2311         (layout_union_field): New function, split out from layout_union.
2312         (finish_union_layout): Likewise.
2313         (layout_field): Handle unions by calling layout_union_field.
2314         (finish_record_layout): Handle unions.
2315         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
2316         QUAL_UNION_TYPE handling.
2317
2318 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
2319
2320         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
2321         end of basic block is jump_insn, not barrier; use create_basic_block
2322         instead of creating basic block by hand.
2323
2324 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
2325
2326         * flow.c (reorder_basic_blocks): Account for barriers when writing
2327         over NEXT_INSN (last_bb->end).
2328         (verify_flow_info): Add check for missing barriers.
2329
2330 2000-03-14  Greg McGary  <gkm@gnu.org>
2331
2332         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
2333         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
2334         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
2335         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
2336         __unbounded, __unbounded__): New keywords.
2337         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
2338         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
2339         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
2340
2341 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
2342
2343         * cselib.h: New file.
2344         * alias.c: Include "cselib.h".
2345         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
2346         MEMs as two new arguments.
2347         (get_addr): New static function.
2348         (find_base_term): Handle VALUEs.
2349         (memrefs_conflict_p): Likewise.
2350         (true_dependence): Call get_addr on the addresses.
2351         Call fixed_scalar_and_varying_struct_p with addresses that have been
2352         passed through get_addr and canon_rtx.
2353         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
2354         with true_dependence.
2355         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
2356         * loop.c: Include "cselib.h".
2357         (load_mems): Process extended basic block that enters the loop with
2358         cselib.  Use that information to change initialization of the shadow
2359         register so that a constant equivalence is seen by later passes.
2360         * reload1.c: Include "cselib.h".
2361         (reload_cse_invalidate_regno): Delete function.
2362         (reload_cse_mem_conflict_p): Likewise.
2363         (reload_cse_invalidate_mem): Likewise.
2364         (reload_cse_invalidate_rtx): Likewise.
2365         (reload_cse_regno_equal_p): Likewise.
2366         (reload_cse_check_clobber): Likewise.
2367         (reload_cse_record_set): Likewise.
2368         (reg_values): Delete static variable.
2369         (invalidate_regno_rtx): Likewise.
2370         (reload_cse_delete_noop_set): New static function.
2371         (reload_cse_simplify): New static function, broken out of
2372         reload_cse_regs_1.
2373         (reload_cse_noop_set_p): Delete unused argument INSN.
2374         Just call rtx_equal_for_cselib_p on set source and destination.
2375         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
2376         reload_cse_delete_noop_set.  Delete code to keep track of values; use
2377         cselib functions instead.  Delete code to push/pop obstacks.
2378         (reload_cse_simplify_set): Use cselib to find equivalent values.
2379         Delete code to push/pop obstacks.
2380         (reload_cse_simplify_operands): Likewise.
2381         * rtl.def (VALUE): New rtx code.
2382         * rtl.h (union rtunion_def): New elt rt_cselib.
2383         (X0CSELIB, CSELIB_VAL_PTR): New macros.
2384         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
2385         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
2386         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
2387         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
2388         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
2389         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
2390         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
2391         cselib_record_set, cselib_record_sets): New static functions.
2392         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
2393         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
2394         references_value_p): New functions.
2395         (MAX_USELESS_VALUES, REG_VALUES): New macros.
2396         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
2397         n_useless_values, reg_values, callmem, cselib_obstack,
2398         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
2399         New static variables.
2400         * varray.h (union varray_data_tag): New elt te.
2401         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
2402         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
2403         dependencies.
2404
2405 2000-03-14  Nick Clifton  <nickc@cygnus.com>
2406
2407         * gcc.c (do_spec_1): Catch the case where %* is used in a
2408         substitution pattern, but it has not been initialised.
2409         Issue a meaningful error message if an unrecognised operator
2410         is encountered in a spec string.
2411
2412 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
2413
2414         * function.c (prepare_function_start): Correctly initialize
2415         cfun->stack_alignment_needed.
2416
2417 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
2418
2419         * cppfiles.c (find_include_file): Don't assume nshort is a
2420         substring of name.
2421
2422 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
2423
2424         * configure.in (hppa configurations): Add pa32-regs.h to the
2425         list of tm files as appropriate.
2426         * configure: Rebuilt.
2427         * pa.c (compute_frame_size): Remove explicit knowledge about FP
2428         register numbering.
2429         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
2430         (fmpyaddoperands, fmpysuboperands): Likewise.
2431         * pa.h: Remove various definitions which depend on knowing
2432         how registers are numbered.
2433         * pa32-regs.h: New file with PA32 register numbering specific
2434         definitions.
2435
2436 2000-03-14  Richard Henderson  <rth@cygnus.com>
2437
2438         * regmove.c (combine_stack_adjustments): New.
2439         (stack_memref_p, single_set_for_csa): New.
2440         (free_csa_memlist, record_one_stack_memref): New.
2441         (try_apply_stack_adjustment): New.
2442         (combine_stack_adjustments_for_block): New.
2443         * rtl.h (combine_stack_adjustments): Declare.
2444         * toplev.c (rest_of_compilation): Call it.
2445
2446         * i386.md: Revert 2000-01-16 change.
2447
2448 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2449
2450         * gccbug.in: Add web category, gcc specific classes.
2451
2452 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
2453
2454         * stor-layout.c (finalize_record_size): Fix typo.
2455
2456 2000-03-14  Stan Shebs  <shebs@apple.com>
2457
2458         * c-typeck.c (c_alignof): Error on incomplete types.
2459         * extend.texi (Alignment): Document this.
2460
2461 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2462
2463         * cppfiles.c: Include mkdeps.h.
2464         (find_include_file, read_include_file): Remove _cpp_ prefix
2465         from name, make static.
2466         (_cpp_execute_include): New function, broken out of
2467         do_include.
2468
2469         * cpplib.c: Don't include mkdeps.h.
2470         (struct directive): Remove type field. Reorder entries.  The
2471         function takes only one argument.
2472         (struct if_stack): Make type field an int.
2473         (directive_table): Rename to dtable.  Generate it, the
2474         prototypes of the directive handlers, and the enum for the
2475         directive numbers, from a template macro.
2476         (do_ifndef, do_include_next, do_import): New functions.
2477         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
2478         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
2479         do_ident, do_assert, do_unassert, do_sccs): Take only one
2480         argument.
2481         (do_sccs): Define always, but alter behavior based on
2482         SCCS_DIRECTIVE.
2483         (_cpp_handle_directive, consider_directive_while_skipping):
2484         Restructure for new directive table layout.
2485
2486         (pass_thru_directive): Take a directive number, not a pointer
2487         to a struct directive.
2488         (parse_include): New function, broken out of do_include.
2489         (do_include, do_import, do_include_next): Use parse_include
2490         and _cpp_execute_include.
2491         (do_elif, do_else): Test for T_ELSE specifically when checking
2492         for #elif/#else after #else.
2493         (parse_ifdef): New function, broken out of do_ifdef.
2494         (validate_else): Expect a name arg without a leading #.
2495         (if_directive_name): Delete.
2496         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
2497         directive handlers with only one argument.
2498
2499         * cpphash.h: Update prototypes.
2500         (enum node_type): Remove entries for directives.
2501         * Makefile.in: Update dependencies.
2502
2503         * cpphash.c (dump_hash_helper): Only dump nodes of type
2504         T_MACRO.  Emit a newline after each definition.
2505
2506 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2507
2508         * gccbug.in: New file.
2509         * configure.in (all_outputs): Add gccbug.
2510         * Makefile.in (install-common): Install gccbug.
2511         (GCCBUG_INSTALL_NAME): New variable.
2512         * configure: Rebuilt.
2513         
2514 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
2515
2516         * function.c (put_var_into_stack): Use type_for_mode to calculate
2517         part_type.  Use MEM_SET_IN_STRUCT_P.
2518         * expr.c (store_field): Handle CONCAT.
2519         (store_constructor): Use fields_length.
2520         * tree.c (fields_length): New fn.
2521         * tree.h: Declare it.
2522
2523 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2524
2525         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
2526         (cpplex.o): New target.
2527         * po/POTFILES.in: Add cpplex.c.
2528
2529         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
2530         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
2531         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
2532         skip_block_comment, skip_line_comment, skip_comment,
2533         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
2534         _cpp_parse_name, skip_string, parse_string,
2535         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
2536         _cpp_get_directive_token, find_position,
2537         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
2538         (maybe_macroexpand, _cpp_lex_token): New functions.
2539
2540         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
2541         parse_goto_mark): Delete.
2542         (_cpp_handle_eof): New function.
2543         (_cpp_handle_directive): Rename from handle_directive.
2544         (_cpp_output_line_command): Rename from output_line_command.
2545         (do_if, do_elif): Call _cpp_parse_expr directly.
2546         * cppfiles.c (_cpp_read_include_file): Don't call
2547         init_input_buffer here.
2548         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
2549         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
2550         here; pop the token_buffer and skip the rest of the line here.
2551         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
2552         here.
2553
2554         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
2555         Define here.
2556         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
2557         CPP_GOTO_MARK): New macros.
2558         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
2559         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
2560         _cpp_read_and_prescan, _cpp_init_input_buffer,
2561         _cpp_grow_token_buffer, _cpp_get_directive_token,
2562         _cpp_handle_directive, _cpp_handle_eof,
2563         _cpp_output_line_command): Prototype them here.
2564         * cpplib.h (enum cpp_token): Add CPP_MACRO.
2565         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
2566         quote_string, output_line_command): Remove.
2567
2568 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
2569
2570         * stmt.c (expand_end_case): RANGE may be signed, and when checking
2571         whether it is too large we must also verify that it isn't negative.
2572
2573 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
2574
2575         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
2576         (movsi_zero_liveg0): Remove.
2577         (movsf_insn_novis_liveg0): Remove.
2578         (negsi2): Remove.
2579         (negsi2_not_liveg0): Rename to negsi2.
2580         (one_cmplsi2): Remove.
2581         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
2582         (one_cmplsi2_liveg0): Remove.
2583         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
2584         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
2585         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
2586         (PREDICATE_CODES): Remove zero_operand.
2587         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
2588         TARGET_BROKEN_SAVERESTORE.
2589         (zero_operand): Remove.
2590         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
2591         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
2592         options.
2593         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
2594         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
2595         TARGET_BROKEN_SAVERESTORE): Remove.
2596         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2597         Remove.
2598         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2599         Remove.
2600         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
2601         Remove.
2602
2603         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
2604
2605 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
2606
2607         * cpplib.c (do_pragma_implementation): Fix off-by-one error
2608         truncating a string.  Don't assume tokens are nul terminated.
2609         Problem noted by Andreas Jaeger <aj@suse.de>
2610
2611 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
2612
2613         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
2614         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
2615         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
2616
2617 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
2618
2619         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
2620         STRUCTURE_SIZE_BOUNDARY.
2621
2622 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
2623
2624         * tree.h (record_layout_info_s): New structure.
2625         (record_layout_info): New type.
2626         (new_record_layout_info): New function.
2627         (layout_field): Likewise.
2628         (finish_record_layout): Likewise.
2629         * stor-layout.c (layout_record): Remove.
2630         (new_record_layout_info): New function.
2631         (layout_field): New function, broken out from layout_record.
2632         (finalize_record_size): Likewise.
2633         (compute_record_mode): Likewise.
2634         (finalize_type_size): New function, broken out from layout_type.
2635         (finish_record_layout): Likewise.
2636         (layout_type): Use them.
2637         
2638 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
2639
2640         * cpphash.c: Don't include version.h.
2641         (special_symbol) [case T_VERSION]: Look for the string in
2642         hp->value.cpval; don't use version_string.
2643         * cppinit.c (initialize_builtins): Set hp->value.cpval for
2644         __VERSION__ to version_string.
2645         * Makefile.in (cpphash.o): Update deps.
2646
2647 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
2648
2649         Convert cpplib to use libiberty/hashtab.c.
2650
2651         * cpplib.h (struct cpp_reader): Make hashtab and
2652         all_include_files of type 'struct htab *'.  Delete HASHSIZE
2653         and ALL_INCLUDE_HASHSIZE macros.
2654
2655         * cpphash.h: Update prototypes.
2656         (struct hashnode): Remove next, prev, and bucket_hdr members.
2657         Make length a size_t.  Add hash member.
2658         (struct ihash): Remove next member.  Add hash member.  Make
2659         name a flexible array member.
2660
2661         * cppfiles.c: Include hashtab.h.
2662         (include_hash): Delete.
2663         (IHASHSIZE): New macro.
2664         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
2665         (cpp_included): Do the hash lookup here.
2666         (_cpp_find_include_file): Rewrite.
2667         (cpp_read_file): Put the "fake" hash entry into the hash
2668         table.  Honor the control_macro, if it turns out we've seen
2669         the file before.  Don't push the buffer here.
2670         (_cpp_read_include_file): Push the buffer here.
2671         (OMODES): New macro.  Use it whenever we call open(2).
2672
2673         * cpphash.c: Include hashtab.h.
2674         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
2675         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
2676         _cpp_lookup_slot): New functions.
2677         (HASHSIZE): new macro.
2678         (hashf, _cpp_install, _cpp_delete_macro): Delete.
2679         (_cpp_lookup): Use hashtab.h routines.
2680
2681         * cppinit.c: Include hashtab.h.
2682         (cpp_reader_init): Call _cpp_init_macro_hash and
2683         _cpp_init_include_hash.  Don't allocate hashtab directly.
2684         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
2685         pfile->all_include_files.
2686         (initialize_builtins): Use _cpp_make_hashnode and
2687         htab_find_slot to add hash entries.
2688         (cpp_finish): Just call _cpp_dump_macro_hash.
2689         * cpplib.c: Include hashtab.h.
2690         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
2691         create hash entries.
2692         (do_pragma_poison, do_assert): Likewise.
2693         (do_include): Don't push the buffer here.  Don't increment
2694         system_include_depth unless _cpp_read_include_file succeeds.
2695         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
2696         or htab_remove_elt.
2697         (do_pragma_implementation): Use alloca to create copy.
2698
2699         * Makefile.in: Update dependencies.
2700
2701 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2702
2703         * cppinit.c (cl_directive_handler): More K&R fixing.
2704
2705 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
2706
2707         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
2708         STACK_BOUNDARY.
2709         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
2710
2711 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2712
2713         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
2714         Change from char[] to macros.
2715
2716 2000-03-12  Neil Booth  <NeilB@earthling.net>
2717
2718         * cppinit.c (cpp_start_read): Update indirect function
2719         call to K&R C.
2720
2721 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
2722
2723         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
2724         entry.
2725
2726         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2727         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
2728
2729 2000-03-11  Neil Booth  <NeilB@earthling.net>
2730
2731         * cppinit.c (struct pending option): Replace undef with a 
2732         pointer to a directive handling routine.
2733         (struct cpp_pending): Replace separate assert_ and define_ 
2734         lists with one directive_ list.
2735         (new_pending_define): Rename new_pending_directive. Extra
2736         argument is the directive's handling routine.
2737         (handle_option): Update to use new_pending_directive.
2738
2739 2000-03-11  Neil Booth  <NeilB@earthling.net>
2740
2741         * cppfiles.c (file_cleanup, _cpp_find_include_file,
2742         remap_filename, _cpp_read_include_file, actual_directory,
2743         hack_vms_include_specification): Replace bcopy(), index() etc
2744         calls.  Add casts to some allocations.  Make some variables
2745         pointers to const [unsigned] char.
2746         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
2747         collect_formal_parameters): Similarly.
2748         * cppinit.c (struct pending_option, append_include_chain,
2749         cpp_options_init, cpp_reader_init, initialize_standard_includes,
2750         cpp_start_read, new_pending_define, handle_option): Similarly.
2751         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
2752         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
2753         do_pragma_implementation, detect_if_not_defined,
2754         do_ifdef, skip_if_group, cpp_get_token, parse_string,
2755         do_assert, do_unassert): Similarly.
2756         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
2757         function prototypes.
2758         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
2759
2760 2000-03-10  Richard Henderson  <rth@cygnus.com>
2761
2762         * builtins.c (expand_builtin_strlen): Revert last change.
2763         Use emit_insn_before if we're at the beginning of a sequence.
2764
2765 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
2766
2767         * builtins.c (expand_builtin_strlen): Make sure that we have something
2768         at the beginning of the sequence.
2769
2770         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
2771         deferred inlines.
2772
2773         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
2774
2775 2000-03-10  Richard Henderson  <rth@cygnus.com>
2776
2777         * except.c (can_throw): Use INTVAL on a CONST_INT.
2778         (reachable_handlers): Likewise.
2779         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
2780
2781 2000-03-10  Andreas Jaeger  <aj@suse.de>
2782
2783         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
2784         MD_STARTFILE_PREFIX since those are not needed on linux.
2785         (ASM_FILE_START): New, from mips/gnu.h.
2786
2787 2000-03-09  Richard Henderson  <rth@cygnus.com>
2788             Alex Samuel  <samuel@codesourcery.com> and others
2789         
2790         * Makefile.in (ssa.o): New rule.
2791         (OBJS): Add ssa.o.
2792         (STAGESTUFF): Add *.ssa and *.ussa.
2793         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
2794         * rtl.def (PHI): New RTL expression.
2795         * rtl.h (clear_log_links): New declaration.
2796         (convert_to_ssa): Likewise.
2797         (convert_from_ssa): Likewise.
2798         * flow.c (split_edge): If the entry node falls through to the
2799         split edge's source block, split the entry edge.
2800         (clear_log_links): New function.
2801         * toplev.c (ssa_dump): New variable.
2802         (flag_ssa): Likewise.
2803         (f_options): Add "ssa".
2804         (compile_file): Create SSA dump files.
2805         (rest_of_compilation): Go to and from SSA if enabled.
2806         (decide_d_option): Handle -de for SSA dump files.
2807         * ssa.c: New file.
2808         
2809 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
2810
2811         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
2812         same as VAR_DECL.
2813
2814 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
2815
2816         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
2817
2818 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
2819
2820         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
2821         (MD_STARTFILE_PREFIX_1): New macro.
2822
2823 2000-03-09  Robert Lipe  <robertl@sco.com>
2824
2825         * config/ia64/ia64.c: Include system.h.
2826
2827 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
2828
2829         * except.c (nothrow_function_p): If -fno-exceptions, just return.
2830         (init_eh_nesting_info): Likewise.
2831
2832         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
2833         (TREE_NOTHROW): Rename from TREE_RAISES.
2834         * toplev.c (rest_of_compilation): Set it.
2835         * print-tree.c (print_node): Adjust.
2836         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
2837         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
2838         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
2839         REG_EH_REGION note as appropriate.
2840         (libfunc_nothrow): New fn.
2841         (emit_library_call, emit_library_call_value): Use it.
2842         (expand_call): Check TREE_NOTHROW.
2843
2844         * varasm.c (make_decl_rtl): Skip initial '*' when setting
2845         DECL_ASSEMBLER_NAME.
2846
2847 2000-03-09  Andreas Jaeger  <aj@suse.de>
2848
2849         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
2850         (TARGET_MEM_FUNCTIONS): Define.
2851
2852 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
2853
2854         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
2855
2856         * except.c (can_throw): See through a SEQUENCE.
2857         (nothrow_function_p): New fn.
2858         * except.h: Declare it.
2859         * function.c (current_function_nothrow): New var.
2860         (prepare_function_start): Initialize it.
2861         * output.h: Declare it.
2862         * toplev.c (rest_of_compilation): Set it.
2863         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
2864
2865 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
2866
2867         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
2868         match.  (cpp_compare_defs): Count the nul separator when
2869         advancing over argument names.
2870
2871 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
2872
2873         * recog.c (preprocess_constraints): Matching constraints affect
2874         same alternative/different operand, not same operand/different
2875         alternative.
2876         
2877         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
2878         register and a constant specially.
2879
2880 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2881
2882         * libgcc2.h: New file.
2883         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
2884
2885 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
2886
2887         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
2888         * configure: Regenerate.
2889         * config/ia64: New.
2890
2891 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
2892
2893         * Makefile.in (LIBCPP_DEPS): New macro.
2894         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
2895         it to declare deps.
2896         * cpperror.c: Include cpphash.h.
2897         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
2898         dingleberry.
2899         (lex): Don't use CPP_WARN_UNDEF.
2900         (_cpp_parse_expr): Return an int, the truth value.
2901         * cppfiles.c: Include cpphash.h.
2902         (_cpp_merge_include_chains): Move to cppinit.c and make static.
2903         * cppinit.c (include_defaults_array): Disentangle.
2904         (cpp_cleanup): Don't free the if stack here.
2905         (cpp_finish): Pop off all buffers, not just one.
2906         * cpplib.c (eval_if_expr): Return int.
2907         (do_xifdef): Rename do_ifdef.
2908         (handle_directive): Don't use CPP_PREPROCESSED. 
2909         (cpp_get_token): Don't use CPP_C89.
2910         * fix-header.c: Don't use CPP_OPTIONS.
2911
2912         * cpplib.h: Move U_CHAR, enum node_type, struct
2913         file_name_list, struct ihash, is_idchar, is_idstart,
2914         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
2915         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
2916         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
2917         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
2918         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
2919         of _cpp_simplify_pathname, _cpp_find_include_file,
2920         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
2921         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
2922         cppinit.c.
2923         Change all uses of U_CHAR to be unsigned char instead.
2924         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
2925
2926 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
2927
2928         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
2929         (dwarf2out_begin_prologue): Set it.
2930         (output_call_frame_info): Don't emit EH unwind info for leaves.
2931
2932         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
2933         can occur outside of an EH region.
2934         * except.c: Correct comments about rethrow behavior.
2935         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
2936
2937 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
2938
2939         * flow.c (make_edges): Always call make_eh_edge for calls.
2940
2941 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
2942
2943         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
2944         (struct cpp_buffer): Remove fname and underflow fields.
2945         (struct cpp_reader): Remove get_token field.
2946         (struct include_hash): Rename to struct ihash.  Add typedef to
2947         IHASH.
2948         (struct if_stack): Remove fname field.
2949         (IF_STACK_FRAME): Rename to IF_STACK.
2950
2951         * cpperror.c (print_containing_files): Trust that there are no
2952         macro buffers below the top file buffer.
2953         * cppfiles.c: Replace all references to 'struct include_hash'
2954         with 'IHASH'.  Rename initialize_input_buffer to
2955         init_input_buffer.  Don't set or reference cpp_buffer->fname,
2956         use buffer->ihash->name instead.
2957         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
2958         not CPP_NULL_BUFFER.
2959         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
2960         IF_STACK_FRAME, IHASH not struct include_hash.
2961         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
2962         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
2963         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
2964         references to cpp_buffer->fname (delete entirely, or use
2965         ->ihash->name instead) and IF_STACK->fname.
2966         (cpp_push_buffer): Don't set new->underflow.
2967         (do_include): Use cpp_file_buffer.
2968
2969         * cpphash.c (collect_formal_parameters): Remove duplicate
2970         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
2971         used as a macro argument name.  Don't append "..." to namebuf
2972         for varargs macros.  After we're done scanning, go through
2973         namebuf and make it NUL separated, not comma separated.
2974         (_cpp_compare_defs): Remove register tag from variables.
2975         Expect defn->argnames to be NUL separated.
2976         (_cpp_dump_definition): Expect defn->argnames to be NUL
2977         separated and in forward order.
2978         * cpphash.h: Update documentation of argnames field.
2979
2980 2000-03-08  Richard Henderson  <rth@cygnus.com>
2981
2982         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
2983         to fail.  Don't pre-expand the source operand.
2984
2985         * i386.md (strlensi): Initialize eoschar and align before use.
2986
2987 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
2988
2989         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
2990         CONSTRUCTOR element.
2991
2992 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
2993
2994         * mips.c (mips_expand_prologue): If the last 
2995         named argument is the vararg marker "va_list", treat it as
2996         an unnamed argument.
2997
2998 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
2999
3000         * dbxout.c (dbxout_parms): When correcting for promoted 
3001         big-endian parameters, use the mode of the DECL_RTL rather 
3002         than UNITS_PER_WORD.
3003
3004 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
3005
3006         * c-common.h (make_fname_decl): Declare.
3007         * c-common.c (make_fname_decl): Define.
3008         (declare_hidden_char_array): Remove.
3009         (declare_function_name): Use make_fname_decl.
3010         * c-decl.c (c_make_fname_decl): New function.
3011         (init_decl_processing): Set make_fname_decl.
3012
3013 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
3014
3015         * cccp.c (handle_directive): Initialize backslash_newlines_p.
3016
3017 2000-03-07  Philipp Thomas  <pthomas@suse.de>
3018
3019         * po/POTFILES.in: Remove cppalloc.c from file list.
3020
3021 2000-03-07  Steve Chamberlain  <sac@pobox.com>
3022
3023         * pj.c (pj_expand_prologue): current_function->args_info is
3024         now current_function_args_info.  
3025
3026         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
3027         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
3028         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
3029
3030 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3031
3032         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
3033         output as hexadecimal rather than the default octal.
3034
3035 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3036
3037         * cpphash.c (special_symbol): Fix thinko in previous commit.
3038
3039 2000-03-07  Neil Booth  <NeilB@earthling.net>
3040
3041         * cppexp.c (struct operation, left_shift, right_shift,
3042         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
3043         "int"s to "unsigned int"s.
3044         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
3045         Similarly.
3046         * cpplib.h: Update for above.
3047         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
3048         returned from allocations.
3049
3050         * cppinit.c (opt_comp, parse_options): New functions.
3051         (handle_option): Use parse_option to parse a single command
3052         line option, that possibly takes an argument.
3053         (cpp_handle_options): Sort the array of command line options on
3054         first invocation (non-ASCII hosts only).
3055         (print_help): Update.
3056
3057 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
3058
3059         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
3060         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
3061         
3062         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
3063         initialized.
3064         * cppinit.c (cpp_cleanup): Free imp->nshort also.
3065
3066         * cpperror.c (cpp_print_containing_files,
3067         cpp_print_file_and_line, v_cpp_message): Rename to
3068         print_containing_files, print_file_and_line, and v_message.
3069         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
3070         to _cpp_parse_expr, parse_escape, and lex.
3071         (parse_charconst): Remove broken multibyte support.
3072         * cppfiles.c (include_hash): Make static.
3073         (cpp_included): New function.
3074         (merge_include_chains, find_include_file, finclude,
3075         simplify_pathname): Rename to _cpp_merge_include_chains,
3076         _cpp_find_include_file, _cpp_read_include_file, and
3077         _cpp_simplify_pathname.
3078         * cpphash.c (cpp_lookup, free_definition, delete_macro,
3079         cpp_install, create_definition, macroexpand, compare_defs,
3080         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
3081         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
3082         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
3083         * cppinit.c (cpp_handle_option): Rename to handle_option, make
3084         static.
3085         * cpplib.c: Remove extern prototype of cpp_parse_expr.
3086
3087         * cpphash.h: Update prototypes.
3088         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
3089
3090 2000-03-07  Andrew Haley  <aph@cygnus.com>
3091
3092         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
3093         PTRDIFF_TYPE should be based solely on Pmode.
3094         (SIZE_TYPE): ditto.
3095
3096 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3097
3098         * rtl.h (rtunion_def): Constify member `rtstr'.
3099         (emit_line_note_after, emit_line_note, emit_line_note_force,
3100         emit_note, decode_asm_operands): Constify.
3101         
3102         * cse.c (canon_hash): Likewise.
3103
3104         * dbxout.c (dbxout_block): Likewise.
3105
3106         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
3107         v_warning_for_asm): Likewise.
3108
3109         * dwarfout.c (function_start_label): Likewise.
3110
3111         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
3112         emit_line_note_force): Likewise.
3113
3114         * final.c (last_filename, asm_insn_count, final_scan_insn,
3115         output_source_line): Likewise.
3116
3117         * function.h (struct emit_status): Likewise.
3118
3119         * gcse.c (hash_expr_1): Likewise.
3120
3121         * genattr.c (gen_attr, main): Likewise.
3122
3123         * genattrtab.c (struct function_unit, current_alternative_string,
3124         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
3125         attr_numeral, check_attr_test, check_attr_value,
3126         convert_set_attr_alternative, convert_set_attr,
3127         compute_alternative_mask, simplify_by_exploding, gen_attr,
3128         gen_unit): Likewise.
3129
3130         * genflags.c (gen_insn): Likewise.
3131
3132         * gengenrtl.c (type_from_format): Likewise.
3133
3134         * genopinit.c (gen_insn): Likewise.
3135
3136         * genoutput.c (n_occurrences, process_template, process_template):
3137         Likewise.
3138
3139         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3140         Likewise.
3141
3142         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
3143         Likewise.
3144
3145         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
3146         ggc_set_mark, ggc_get_size): Likewise.
3147
3148         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
3149
3150         * optabs.c (init_one_libfunc): Likewise.
3151
3152         * output.h (assemble_start_function): Likewise.
3153
3154         * recog.c (decode_asm_operands): Likewise.
3155
3156         * toplev.c (rest_of_compilation): Likewise.
3157
3158         * tree.h (emit_line_note_after, emit_line_note,
3159         emit_line_note_force): Likewise.
3160
3161         * varasm.c (asm_output_bss, asm_output_aligned_bss,
3162         asm_emit_uninitialised, assemble_start_function,
3163         assemble_variable, const_hash, compare_constant_1,
3164         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
3165
3166         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
3167
3168         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
3169
3170         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
3171
3172         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
3173
3174         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
3175         arm_dllimport_name_p): Likewise.
3176
3177         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
3178         Likewise.
3179
3180         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
3181
3182         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3183
3184         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
3185         arm_mark_dllexport, arm_mark_dllimport,
3186         arm_pe_encode_section_info): Likewise.
3187
3188         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
3189         ASM_FINISH_DECLARE_OBJECT): Likewise.
3190
3191         * arm/thumb.c (thumb_function_prologue): Likewise.
3192
3193         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
3194
3195         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3196
3197         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
3198
3199         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
3200
3201         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
3202
3203         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3204
3205         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
3206         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
3207
3208         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
3209
3210         * i386/i386.c (asm_output_function_prefix): Likewise.
3211
3212         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
3213
3214         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3215
3216         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
3217
3218         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
3219         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
3220         ASM_OUTPUT_SECTION_NAME): Likewise.
3221
3222         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
3223
3224         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
3225
3226         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
3227
3228         * m32r/m32r.c (m32r_encode_section_info): Likewise.
3229
3230         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3231
3232         * mcore/mcore.c (mcore_encode_section_info): Likewise.
3233
3234         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3235
3236         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3237
3238         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3239
3240         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
3241
3242         * mips/mips.md (movdi, movsi): Likewise.
3243
3244         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3245
3246         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3247
3248         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3249
3250         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
3251         ASM_OUTPUT_ASCII): Likewise.
3252
3253         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
3254         output_mi_thunk, output_toc): Likewise.
3255
3256         * rs6000/rs6000.md (movsi): Likewise.
3257
3258         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
3259
3260         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
3261
3262         * v850/v850.c (print_operand, print_operand_address,
3263         v850_encode_data_area): Likewise.
3264
3265 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
3266         
3267         * config/mips/mips.md (zero_extendsidi2): Always force operand
3268         one to memory for mips16.
3269
3270 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3271
3272         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
3273         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
3274         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
3275         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
3276         (min_precision): Result is unsigned.
3277         (add_double, neg_double, mul_double): Low word is unsigned.
3278         (lshift_double, rshift_double, lrotate_double): Likewise.
3279         (rrotate_double, div_and_round_double): Likewise.
3280         (tree_floor_log2, compare_tree_int): New functions.
3281         (preserve_rtl_expr_temps): New declaration.
3282         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
3283         (decl_attributes): Use tree_log2 to find alignment.
3284         Check for TREE_INT_CST_HIGH for format args.
3285         (min_precision): Now unsigned.
3286         Use tree_floor_log2.
3287         (truthvalue_conversion): Delete long-disabled code.
3288         * c-decl.c (finish_struct): Clean up tests on field width.
3289         (finish_function): Use compare_tree_int.
3290         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
3291         * c-typeck.c (comptypes): Use tree_int_cst_equal.
3292         (default_conversion, digest_init): Use compare_tree_int.
3293         (build_binary_op): Use integer_all_onesp and compare_tree_int.
3294         Fix type errors in forming masks.
3295         * calls.c (initialize_argument_information): Use compare_tree_int.
3296         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3297         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
3298         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
3299         (store_field): Use compare_tree_int.
3300         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
3301         (expand_expr, case ARRAY_REF): Use compare_tree_int.
3302         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
3303         (do_store_flag): Use compare_tree_int.
3304         * fold-const.c (encode, decode): Low part is always unsigned.
3305         (force_fit_type, add_double, neg_double, mul_double): Likewise.
3306         (lshift_double, rshift_double, lrotate_double): Likewise.
3307         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
3308         (fold_convert): Use compare_tree_int.
3309         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
3310         (invert_truthvalue, case INTEGER_CST): Likewise.
3311         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
3312         * mkdeps.c (deps_dummy_targets): Make I unsigned.
3313         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
3314         (lshift_double, rshift_double, lrotate_double, rrotate_double):
3315         Likewise.
3316         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
3317         (expand_end_case): Use compare_tree_int.
3318         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
3319         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
3320         (layout_decl): Likewise.
3321         (layout_record, layout_union): Make sizes unsigned.
3322         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
3323         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
3324         * tree.c (struct type_hash): hashcode is unsigned.
3325         (build_type_attribute_variant, type_hash_list): Likewise.
3326         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
3327         (attribute_hash_list, build_array_type, build_method_type): Likewise.
3328         (build_complex_type): Likewise.
3329         (real_value_from_int_cst): Remove unneeded casts.
3330         (integer_all_onesp): Add casts.
3331         (tree_floor_log2, compare_tree_int): New functions.
3332         (build_index_type): Use tree_int_cst_sgn.
3333         * varasm.c (assemble_variable): Use compare_tree_int.
3334
3335 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
3336
3337         * cpphash.c (collect_expansion): Also catch ## at start of macro.
3338
3339         * varasm.c (make_decl_rtl): Don't add a number to members of
3340         local classes.
3341         (make_function_rtl): Likewise.
3342
3343 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3344
3345         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
3346         patch from 2000-01-28.
3347
3348 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
3349
3350         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
3351         filled with an insn from the jump target.
3352
3353 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3354
3355         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
3356         (c4x_external_ref): Likewise.
3357         * config/c4x/c4x.c (struct name_list): Likewise.
3358
3359 1999-12-16  Ben Collins  <bcollins@debian.org>
3360
3361         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
3362         argument to genmultilib.
3363         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
3364         the contents into the multilib.h header.
3365         * gcc.c: Declare multilib_exclusions for the specs file.
3366         (set_multilib_dir): Use it.
3367         (print_multilib_info): Likewise.
3368         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
3369         to pass to genmultilib.
3370
3371 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3372
3373         * builtins.c (built_in_class_names, built_in_names): Constify a
3374         char*.
3375
3376         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
3377         int.
3378         (_mcleanup): Ensure value matches format specifier in sprintf.
3379
3380         * cpphash.c (special_symbol): Don't needlessly cast away
3381         const-ness.
3382
3383         * cppinit.c (base_name): Delete unused prototype.
3384
3385         * mkdeps.c (deps_init): Make definition K&R safe.
3386
3387         * tree.h (built_in_class_names, built_in_names): Constify a
3388         char*.
3389
3390 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
3391
3392         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
3393         floating point instructions for epilogue delay.
3394
3395         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
3396         to gas if it supports .register pseudo.
3397
3398         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
3399         LONG_DOUBLE_TYPE_SIZE if not defined.
3400         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
3401         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
3402         * real.c: Likewise.
3403         * gengenrtl.c: Likewise.
3404         * print-rtl.c: Likewise.
3405         * rtl.c: Likewise.
3406         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
3407         MASK_LONG_DOUBLE_128.
3408         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
3409         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
3410         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
3411         (SUBTARGET_SWITCHES): Define.
3412         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
3413         with -mlong-double-128.
3414         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
3415         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
3416         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
3417         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
3418         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
3419         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
3420         with -mlong-double-128.
3421         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
3422         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
3423         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
3424         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
3425         TARGET_LONG_DOUBLE_128): Define.
3426         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
3427         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
3428         long double on TARGET_ARCH64.
3429
3430 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
3431
3432         * function.c (free_temps_for_rtl_expr): Don't free slots
3433         that have been pushed into a higher level.
3434         
3435         Revert this patch:
3436         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3437
3438 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3439
3440         * basic-block.h (ALLOCA_REG_SET): Remove.
3441         (INITIALIZE_REG_SET): New macro.
3442         * flow.c (update_life_info): Use it.
3443         (calculate_global_regs_live): Likewise.
3444         (propagate_block): Likewise.
3445         * global.c (build_insn_chain): Likewise.
3446         * haifa-sched.c (schedule_region): Likewise.
3447
3448 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
3449
3450         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
3451         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
3452         (DWARF_ARANGES_PAD_SIZE): New define.
3453         (output_aranges): Use it to pad the address range header.
3454         (DWARF_ROUND): Fix for non power of 2 rounding.
3455
3456 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
3457
3458         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
3459
3460 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
3461
3462         * tree.def (RTL_EXPR): Update documentation.
3463         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
3464         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
3465         * function.c (preserve_rtl_expr_temp): New function.
3466         (preserve_rtl_expr_temps): Likewise.
3467         (preserve_rtl_expr_result): Use it.
3468
3469         Revert this patch:
3470         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
3471
3472 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
3473
3474         * regmove.c (copy_src_to_dest)  Do not create src->dest move
3475         for unchanging destination.
3476
3477 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
3478
3479         * function.h (struct sequence_stack): Remove rtl_expr.
3480         (struct emit_staus): Likewise.
3481         (seq_rtl_expr): Remove.
3482         * tree.h (free_temps_for_rtl_expr): Don't declare.
3483         (start_sequence_for_rtl_expr): Likewise.
3484         * rtl.h (preserve_rtl_expr_result): Likewise.
3485         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
3486         (start_sequence_for_rtl_expr): Remove.
3487         (push_topmost_sequence): Don't save sequence_rtl_expr.
3488         (pop_topmost_sequence): Remove comment about not restoring it.
3489         (end_sequence): Don't set seq_rtl_expr.
3490         (init_emit): Don't initialize it.
3491         (mark_sequence_stack): Don't mark it.
3492         (mark_emit_status): Likewise.
3493         * except.c (protect_with_terminate): Use
3494         start_sequence_for_rtl_expr, not start_sequence.
3495         * expr.c (expand_expr, case RTL_EXPR): Don't call
3496         preserve_rtl_expr_result or free_temps_for_rtl_expr.
3497         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
3498         (preserve_rtl_expr_result): Remove.
3499         (free_temps_for_rtl_expr): Likewise.
3500         (pop_temp_slots): Likewise.
3501         (mark_temp_slot): Don't mark the rtl_expr.
3502         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
3503         start_sequence_for_rtl_expr.
3504         
3505 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
3506
3507         * mkdeps.c, mkdeps.h: New files.
3508         * po/POTFILES.in: Add them.
3509         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
3510         (cpplib.o, cppinit.o): Depend on mkdeps.h.
3511         (mkdeps.o): New target.
3512
3513         * cppfiles.c: Delete deps_output.
3514         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
3515         OBJECT_SUFFIX, and base_name.
3516         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
3517         the include hash.
3518         (initialize_dependency_output): Use deps_init,
3519         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
3520         all the unnecessary string bashing.
3521         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
3522         level.
3523         * cpplib.c (do_include): Use deps_add_dep.
3524         * cpplib.h (struct cpp_reader): Replace deps_buffer,
3525         deps_allocated_size, deps_size, deps_column members with
3526         single pointer to a struct deps.  Delete prototype of
3527         deps_output.
3528
3529         * cppinit.c: Fix thinko in previous patch.
3530
3531 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3532
3533         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
3534         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
3535         (mode_for_size_tree): New function.
3536         (layout_decl, layout_type): Call it and clean up BLKmode checks.
3537         * tree.h (mode_for_size_tree): New declaration.
3538         
3539         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
3540
3541 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
3542
3543         * stmt.c (is_body_block): Move...
3544         * dwarfout.c, dwarf2out.c: ...from here.
3545         * tree.h: Declare it.
3546         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
3547         * final.c (final_start_function): Do call remove_unnecessary_notes
3548         when scheduling.
3549
3550 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
3551
3552         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
3553         
3554         * cpplib.h (_dollar_ok): New macro.
3555         (is_idchar, is_idstart): Use it.
3556         (IStable): Rename to _cpp_IStable.  Declare it const if
3557         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
3558         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
3559         is_space): Update for renamed IStable.
3560
3561         * cppinit.c: Delete all references to FAKE_CONST and CAT
3562         macros. Define init_IStable as empty macro if gcc >=2.7 or
3563         C99. Change TABLE() to ISTABLE and hardcode name of table.
3564         (cpp_start_read): Don't change the IStable based on
3565         dollars_in_ident.
3566
3567         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
3568         changed.  Handle '$' for char1 correctly.
3569         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
3570
3571         * cppexp.c (tokentab2): Make const.
3572         (cpp_lex): Make toktab const.
3573         * cppinit.c (include_defaults_array): Make const.
3574         (initialize_standard_includes): Make default_include const.
3575
3576 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
3577
3578         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
3579         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
3580         (gen_decl_die): Likewise.
3581         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
3582         (output_decl): Likewise.
3583
3584         * varasm.c (make_function_rtl): If we change the name used in the
3585         rtl, update DECL_ASSEMBLER_NAME accordingly.
3586         (make_decl_rtl): Likewise.
3587
3588         * toplev.c (rest_of_compilation): Tweak formatting.
3589
3590         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
3591         remove_unnecessary_notes.
3592         (debug_ignore_block): New fn.
3593         * toplev.h: Declare it.
3594         * emit-rtl.c (remove_unncessary_notes): Call it.
3595         * dwarf2out.c (dwarf2out_ignore_block): New fn.
3596         * dwarf2out.h: Declare it.
3597         * final.c (final_start_function): Don't call remove_unnecessary_notes
3598         if we did insn scheduling.
3599
3600 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
3601
3602         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
3603         * cpplib.h: Delete SET_CPP_PEDANTIC.
3604
3605 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3606
3607         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
3608         result is a RECORD_TYPE.
3609
3610 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
3611
3612         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
3613
3614 2000-03-03  Richard Henderson  <rth@cygnus.com>
3615
3616         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
3617         addition over compliments over shifts.
3618
3619 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3620
3621         * reload1.c (reload_combine_note_use): Handle return register USEs.
3622         REG case: Handle multi-hard-register hard regs.
3623
3624 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3625
3626         * md.texi: Document use of '*' in insn pattern name.
3627
3628 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
3629
3630         * calls.c (special_function_p): operator new may not be malloc-like.
3631
3632         * gcse.c (dump_hash_table): Really fix error in last change.
3633
3634 2000-03-02  Denis Chertykov  <denisc@overta.ru>
3635
3636         * avr.c (print_operand): Use print_operand_address instead of
3637         output_addr_const.
3638         * avr/libgcc.S: Cleanup code.
3639
3640 2000-03-02  Richard Henderson  <rth@cygnus.com>
3641
3642         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
3643
3644 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
3645
3646         * tree.h (TYPE_ALIGN_UNIT): New macro.
3647
3648 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
3649
3650         * i386.c: (constant_call_address_operand): Reject CONST_INT.
3651
3652 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
3653
3654         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
3655         for the buffer.
3656         (SET_CPP_PEDANTIC): New macro.
3657         * cpplib.c (do_include): Don't bother checking system_header_p.
3658         (do_warning, do_ident, do_assert, do_unassert): Likewise.
3659         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
3660
3661         * function.h (struct expr_status): Add x_arg_space_so_far.
3662         (arg_space_so_far): New macro.
3663         * expr.c (init_expr): Initialize it.
3664         * calls.c (emit_call_1): Reset it.
3665         (compute_argument_block_size, expand_call): Use it.
3666         (expand_call, store_one_arg): Increment it.
3667
3668 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3669
3670         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
3671         a UNION_TYPE.
3672
3673 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
3674
3675         * cppfiles.c (cpp_read_file): New function.
3676
3677         * cpphash.c (collect_expansion): Make sure to reset last_token
3678         to NORM when we hit a string.  Handle trailing whitespace
3679         properly when the expansion is empty.
3680         (create_definition): Disable line commands while parsing the
3681         directive line.
3682         (dump_definition): If pfile->lineno == 0, output a line
3683         command ahead of the dump, and add a trailing newline.
3684
3685         * cppinit.c (append_include_chain): Add fifth argument, which
3686         indicates whether or not system headers are C++ aware.
3687         (initialize_standard_includes): New function,
3688         broken out of read_and_prescan.  Pass 'cxx_aware' value from
3689         the include_defaults_array on to append_include_chain.
3690         (dump_special_to_buffer): Const-ify char array.
3691         (builtin_array): Don't dump __BASE_FILE__.
3692         (cpp_start_read): Use cpp_read_file.  Reorder code for
3693         clarity.  Don't output line commands here for -D/-A/-U
3694         switches.  Don't call deps_output for files included with
3695         -include or -imacros.
3696
3697         * cpplib.c (do_define): Don't pay any attention to the second
3698         argument.
3699         (cpp_expand_to_buffer): Disable line commands while scanning.
3700         (output_line_command): Work in the file buffer.
3701         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
3702         Fix formatting of comments.  Prototype cpp_read_file.
3703
3704 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3705
3706         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
3707         reference the language-equivalent of sizetype.
3708         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
3709         * fold-const.c (size_binop, size_diffop): Put back checks.
3710         * gcse.c (dump_hash_table): Fix minor error in last change.
3711         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
3712         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
3713         all sizetypes.
3714
3715 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
3716
3717         * calls.c (expand_call)  Do not attempt to combine stack adjustments
3718         with inhibit_defer_pop set.
3719
3720 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
3721
3722         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
3723         the DECL_SIZE for a FIELD_DECL.
3724
3725 2000-03-01  Bruce Korb  <bkorb@gnu.org>
3726
3727         * fixinc/inclhack.tpl: remove unused symlinks
3728         * fixinc/README: GCC Maintainer info
3729         * fixinc/inclhack.sh: regen
3730         * fixinc/fixincl.sh: regen
3731
3732 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
3733
3734         * cpphash.c (collect_expansion): Trim trailing white space
3735         from macro definitions, but don't go past the last insertion
3736         point.
3737
3738 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
3739
3740         * i386.md (mulqi3): New pattern.
3741
3742 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
3743
3744         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
3745         token types.
3746         (struct cpp_reader): Add parsing_if_directive and
3747         parsing_define_directive flags.               
3748         (struct cpp_options): Remove output_conditionals flag.
3749         (check_macro_name): Delete prototype.
3750
3751         * cpphash.h (struct macrodef): Delete.
3752         (struct reflist): Separate from struct definition.
3753         (struct definition): Remove unused fields.  Add column number.
3754         (create_definition): Returns a DEFINITION *.  Takes a
3755         cpp_reader * and an int.
3756
3757         * cpphash.c (SKIP_WHITE_SPACE): Delete.
3758         (PEEKC): Copy defn from cpplib.c.
3759         (rest_extension, REST_EXTENSION_LENGTH): Delete.
3760         (struct arg): New.
3761         (struct arglist): Simplify.
3762         (collect_expansion): Rewrite.  Get tokens by calling
3763         cpp_get_token.  Add more error checking.
3764         (collect_formal_parameters): New function, broken out of
3765         create_definition and reworked to use get_directive_token.
3766         (create_definition): All real work is now in collect_expansion
3767         and collect_formal_parameters.  do_define handles finding the
3768         macro name.  Return a DEFINITION, not a MACRODEF.
3769         (macroexpand): Replace bcopy with memcpy throughout.  Replace
3770         character-at-a-time copy loop with memcpy and pointer increments.
3771         (compare-defs): d1->argnames / d2->argnames might be null.
3772
3773         * cpplib.c (copy_rest_of_line): Delete function.
3774         (skip_rest_of_line): Do all the work ourselves.
3775         (skip_string): New function.
3776         (parse_string): Use skip_string.
3777         (get_macro_name): New function.
3778         (check_macro_name): Delete.
3779         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
3780         (cpp_skip_hspace): Use CPP_BUMP_LINE.
3781         (handle_directive): ICE if we're called on a macro buffer.
3782         (do_define): Determine macro name and type (funlike/objlike)
3783         here.  Expunge all uses of MACRODEF.
3784         (cpp_push_buffer): Set line_base to NULL.
3785         (do_undef, read_line_number): Don't worry about getting a POP token.
3786         (eval_if_expression): Set/reset parsing_if_directive around
3787         cpp_parse_expr. Don't clear only_seen_white.
3788         (skip_if_group): Remove output_conditionals logic.  Use
3789         skip_rest_of_line.
3790         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
3791         tokens under appropriate conditions.
3792         (cpp_unassert): Call do_unassert not do_assert.  Oops.
3793
3794         * cppexp.c (parse_defined): New function, break out of
3795         cpp_lex.
3796         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
3797         ourselves, with cpp_defined.
3798         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
3799
3800         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
3801         * gcc.dg/strpaste-2.c: New.
3802
3803 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
3804
3805         * fold-const.c (size_binop): Don't asert inputs are the same and
3806         have TYPE_IS_SIZETYPE set.
3807         (size_diffop): Likewise.
3808
3809 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
3810
3811         * dwarfout.c (output_block): Output abstract blocks even if they
3812         don't have TREE_ASM_WRITTEN set.
3813
3814         * calls.c (emit_library_call): Check for null REG.
3815
3816 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
3817
3818         * c-decl.c (current_function_decl): Move to toplev.c.
3819         (init_decl_processing): Don't add current_function_decl as a ggc
3820         root here.
3821         * dbxout.c (dbxout_symbol): Change return type to int.
3822         (dbxout_symbol_location, dbxout_syms): Likewise.
3823         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
3824         any locals. Use current_function_func_begin_label if set.
3825         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
3826         * dwarf2out.c (dwarf2out_begin_prologue): Set
3827         current_function_func_begin_label.
3828         * final.c (final_start_function): Reset it.
3829         * toplev.c (current_function_decl): Define it here.
3830         (current_function_func_begin_label): New variable.
3831         (main): Add both as ggc roots.
3832         * tree.h (current_function_func_begin_label): Declare.
3833
3834 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3835
3836         * gcse.c: Cleanups throughout: mostly white-space, but also
3837         some minor rearrangement of code.
3838
3839 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
3840
3841         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
3842         returns a PARALLEL.  Use emit_group_load and use_group_regs
3843         as needed.  
3844         (emit_library_call_value): Similarly.
3845
3846         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
3847         * pa/quadlib.asm: Remove.
3848         * pa/quadlib.c: New file.
3849
3850         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
3851         * configure: Rebuilt.
3852
3853 2000-02-29  Philip Blundell  <pb@futuretv.com>
3854
3855         * config/arm/conix-elf.h: New file.
3856         * configure.in (arm*-*-conix*): New configuration.
3857         * configure: Regenerate.
3858
3859 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
3860
3861         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
3862         don't have TREE_ASM_WRITTEN set.
3863
3864 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3865
3866         * Eliminate DECL_FIELD_SIZE.
3867         * builtins.c (built_in_class_names, built_in_names): New variables.
3868         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
3869         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
3870         DECL_SIZE, not DECL_FIELD_SIZE.
3871         * print-tree.c (print_node): Remove code that prints extra blank
3872         lines in some cases.
3873         Properly handle inline and builtin function cases.
3874         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
3875         * tree.h (built_in_class_named, built_in_names): New declarations.
3876         (union tree_decl): Rename internal unions to u1 and u2 and change
3877         some of their components.
3878         Add new field built_in_class.
3879         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
3880         Reflect above changes.
3881         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
3882         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
3883         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
3884         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
3885
3886 2000-02-28  Dmitri Makarov  <dim@windriver.com>
3887
3888         * extend.texi: Document ARM's support for long/short calls.
3889
3890         * invoke.texi: Document ARM's -mlong-calls command line switch.
3891         
3892         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
3893         (arm_encode_call_attribute): Add prototype.
3894         (arm_set_default_type_attribute): Add prototype.
3895         (arm_strip_name_encoding): Add prototype.
3896
3897         * config/arm/arm.c (arm_init_cumulative_args): replace
3898         initialisation og 'long_calls' field with initialisation of
3899         'call_cookie' field.
3900         (enum arm_pragma_enum): New enum.
3901         (arm_pragma_long_calls): New static variable.
3902         (arm_process_pragma): Also process "#pragma long_calls_off".
3903         (arm_valid_type_attribute_p): Accept short_call attribute.
3904         (arm_comp_type_attributes): Check long/short call attributes.
3905         (arm_encode_call_attribute):  New function:  Encode long_call
3906         or short_call attribute in function name.
3907         (arm_set_default_type_attributes): New function: Assign
3908         default attributes to newly defined type.
3909         (current_file_function_operand): New function: Return true if
3910         the symbol is a function which has already been compiled.
3911         (arm_is_longcall_p): New function: Return true if the
3912         indicated function should be called via a long call.
3913         (arm_get_strip_length): New function.  Returns number of
3914         prefix characters to be stripped from a function's name.
3915         (arm_strip_name_encoding): New function.  Strip prefix characters
3916         from a function's name.
3917
3918         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
3919         with 'call_cookie'.
3920         (SHORT_CALL_FAG_CHAR): Define.
3921         (LONG_CALL_FAG_CHAR): Define.
3922         (ENCODED_SHORT_CALL_ATTR_P): Define.
3923         (ENCODED_LONG_CALL_ATTR_P): Define.
3924         (ARM_NAME_ENCODING_LENGTHS): Define.
3925         (STRIP_NAME_ENCODING): Define.
3926         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
3927         (ARM_ENCODE_CALL_TYPE): Define.
3928         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
3929         (ARM_DECLARE_FUNCTION_SIZE): Define.
3930         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
3931
3932         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
3933         if a long call is needed.
3934         (call_value): Ditto.
3935         (call_symbol): Ditto.
3936
3937         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
3938         ARM_DECLARE_FUNCTION_SIZE.
3939
3940         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
3941         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
3942         (ARM_STRIP_NAME_ENCODING): Undefine.
3943         (STRIP_NAME_ENCODING): Undefine.
3944         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
3945         (ASM_DECLARE_FUNCTION_NAME): Ditto.
3946         (ASM_OUTPUT_COMMON): Ditto.
3947         (ASM_DECLARE_OBJECT_NAME): Ditto.
3948
3949         * config/arm/pe.c (arm_dllexport_name_p): Check for
3950         ARM_PE_FLAG_CHAR.
3951         (arm_dllimport_name_p): Ditto.
3952         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
3953         (arm_mark_dllimport): Ditto.
3954         
3955 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3956
3957         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
3958
3959 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
3960
3961         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
3962
3963 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
3964
3965         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
3966         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
3967         NO_BUILTIN_WCHAR_TYPE is not defined.
3968         (CPP_WCHAR_TYPE): Delete.
3969         * cccp.c (main): Don't change wchar_type if cplusplus.
3970         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
3971
3972 2000-02-28  Nick Clifton  <nickc@cygnus.com>
3973
3974         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
3975
3976 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
3977
3978         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
3979         (ASM_WEAKEN_LABEL): Define.
3980  
3981 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
3982
3983         * expr.c (store_constructor): Do not emit USE.
3984         * rtl.h (stupid_life_analysis): Remove.
3985
3986 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3987
3988         * function.c (number_blocks): Reset next_block_index based on
3989         what debugging format is used, not what is defined.
3990         
3991         * lcm.c: Minor reformatting throughout.
3992         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
3993         
3994         * toplev.c (rest_of_compilation): Account for time in
3995         optimize_mode_switching.
3996
3997         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
3998         if only marking labels.
3999
4000 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
4001
4002         * calls.c (expand_call): Attempt to combine stack adjustments with
4003         pending stack adjustments.
4004
4005 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4006
4007         * loop.c (reg_in_basic_block_p): Don't abort when falling through
4008         to the end of the function.
4009
4010 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
4011
4012         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
4013         blocks.
4014         * final.c (next_block_index): Remove.
4015         (max_block_depth): Likewise.
4016         (pending_blocks): Likewise.
4017         (init_final): Don't initialize them.
4018         (final_start_function): Don't set next_block_index.  Set up
4019         BLOCK_NUMBER.
4020         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
4021         * function.h (number_blocks): New function.
4022         * function.c (get_block_vector): New function.
4023         (identify_blocks): Use it.
4024         (reorder_blocks): Set NOTE_BLOCK.
4025         (number_blocks): New function.
4026         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
4027         * tree.h (BLOCK_NUMBER): New macro.
4028         (tree_block): Add block_num field.
4029         * dbxout.c (next_block_number): Remove.
4030         (dbxout_init): Don't set it.
4031         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
4032         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
4033         block numbers.
4034         * toplev.c (rest_of_compilation): Always call
4035         find_loop_tree_blocks.  Fix indentation.
4036         * dwarf2out.c (next_block_number): Remove.
4037         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4038         to determine block numbers.
4039         (gen_inlined_subroutine_die): Likewise.
4040         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
4041         (decls_for_scope): Don't increment next_block_number.
4042         * dwarfout.c (next_block_number): Remove.
4043         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
4044         to determine block numbers. 
4045         (output_inlined_subroutine_die): Likewise.
4046         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
4047         (output_decls_for_scope): Don't increment next_block_number.
4048         * sdbout.c (next_block_number): Remove.
4049         (sdbout_block): Use BLOCK_NUMBER.
4050         (sdbout_begin_block): Simplify.
4051         * xcoffout.c (next_block_number): Remove.
4052         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
4053         (xcoffout_begin_block): Don't set next_block_number.
4054         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
4055         next_block_number.
4056         
4057 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4058
4059         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
4060         (expand_builtin_strcpy): Pass correct type to size_binop.
4061         (expand_builtin_strcmp): Likewise.
4062         Clean up conditional structure.
4063         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
4064         (complete_array_type): Don't use size_binop for MAXINDEX.
4065         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
4066         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
4067         (c_alignof): Use size_one_node.
4068         (build_unary_op): Pass arg of proper type to size_binop.
4069         (really_start_incremental_init, push_init_level): Use sizetype for
4070         constructor{,_bit,_unfilled}_index.
4071         (pop_init_label, output_init_element): Likewise.
4072         (output_pending_init_elements, process_init_element): Likewise.
4073         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
4074         * expr.c (store_expr): Use size_int.
4075         (store_constructor): Use proper types for size_binop args.
4076         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
4077         (expand_expr_unaligned): Likewise.
4078         (string_contant): Return object of sizetype.
4079         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
4080         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
4081         (ARGS_SIZE_TREE): Pass proper types to size_binop.
4082         * fold-const.c (int_const_binop): Refine when size_int is called.
4083         (fold_convert): Likewise.
4084         (size_int_wide): Rework to take KIND as arg, only take low order
4085         bits, handle new sizetype_tab datatype, and chain entries in
4086         size_table.
4087         (size_int_type_wide): New function.
4088         (size_binop): Validate types of arguments.
4089         (ssize_binop): Deleted.
4090         (size_diffop): New function.
4091         (extract_muldiv): Only fold division into multiplication for sizetypes.
4092         * function.c (assign_parms): Use size_diffop and make sure
4093         VAR field is of ssizetype; also pass proper type to size_binop.
4094         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
4095         (round_down): Deleted from here.
4096         * store-layout.c (sizetype_tab): Now an array.
4097         (sizetype_set, early_root_list): New variables.
4098         (variable_size): Use size_one_node.
4099         (round_up): Pass proper type to size_binop.
4100         (round_down): Moved to here and corrected as above.
4101         (layout_record): Pass proper arg types to size_binop.
4102         (layout_type): Likewise.
4103         If sizetype_set is zero, record the type just laid out.
4104         (make_unsigned_type): Don't call set_sizetype;
4105         (make_signed_type): Likewise; also, call fixup_signed_type.
4106         (initialize_sizetypes): New function.
4107         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
4108         set name of bitsizetype to "bit_size_type".
4109         Fix up type of sizes of all types made before call.
4110         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
4111         * tree.c (fix_sizetype): Deleted.
4112         (build_common_tree_nodes): Call initialize_sizetypes.
4113         (build_common_tree_nodes_2): Don't call fix_sizetype.
4114         * tree.h (TYPE_IS_SIZETYPE): New macro.
4115         (initialize_sizetype): New declaration.
4116         (enum size_type_kind): New type.
4117         (struct sizetype_tab): Deleted.
4118         (sizetype_tab): Now array; adjust sizetype macros.
4119         (size_diffop, size_int_type_wide): New functions.
4120         (size_int_wide): Change number of args and type; access macros changed.
4121         (ssize_int, sbitsize_int): New macros.
4122         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
4123         (ROUND_TYPE_SIZE_UNIT): New macro.
4124
4125 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
4126
4127         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
4128
4129 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4130
4131         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
4132         Mark as possibly unused.
4133
4134         * cse.c (cse_insn): Delete dead code involving tablejump.
4135         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
4136
4137         * Makefile.in (libcpp.a): Start by deleting it.
4138
4139 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4140
4141         * cpplib.h (enum file_change_code): Added rename_file.
4142         * cpplib.c (do_line): If a filename is given, set file_change to
4143         rename_file.
4144         (output_line_command): If file_change is rename_file, always
4145         output a # directive with the file name.
4146
4147         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
4148
4149 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
4150
4151         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
4152         when copying a PARM_DECL or RESULT_DECL.
4153
4154 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4155
4156         * fix-header.c (recognized_function): Also fix prototypes for
4157         functions taking "void".
4158
4159 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4160
4161         * reload1.c (do_output_reload): Check reg_reloaded_valid before
4162         looking at reg_reloaded_contents.
4163
4164 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
4165
4166         * Makefile.in (STMP_FIXINC): New toggle.
4167         (LIBGCC2_DEPS): Delete all references.
4168         (stmp-headers): Delete target.  All references either deleted
4169         or changed to stmp-int-headers.
4170         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
4171         (LIBCPP_OBJS): Take out cppalloc.o.
4172         (cppalloc.o): Delete target.
4173         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
4174         (gen-protos, fix-header): Link with libiberty.a.
4175         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
4176         to empty.
4177
4178         * configure.in: Remove refs to strerror.
4179         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
4180         * system.h: Take out strerror stanza.
4181
4182         * cpperror.c (my_strerror): Delete function.
4183         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
4184         * cppmain.c (main): Call xmalloc_set_program_name first thing.
4185         * cppalloc.c: Delete file.
4186         * gen-protos.c: Don't provide xrealloc.
4187
4188         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
4189         xstrerror throughout.
4190
4191 2000-02-26  Bruce Korb  <bkorb@gnu.org>
4192
4193         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
4194         match for DOS headers, too.
4195         * fixinc/inclhack.sh,fixincl.x: Regenerate.
4196
4197 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
4198
4199         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
4200         is right for most ELF targets.
4201         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
4202         Let the default file use %U properly.
4203         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
4204         default.
4205
4206         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
4207         numbers.
4208
4209 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4210
4211         * toplev.c (documented_lang_options): Correct spelling error.
4212         (decode_d_option, decode_f_option, main): Likewise.
4213
4214         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
4215
4216         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
4217         to tell assembler it is permitted to expand large constants.
4218
4219 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
4220
4221         * protoize.c: (AUX_INFO_SUFFIX): New macro.
4222         (aux_info_suffix): Use.
4223         (SAVE_SUFFIX): New macro.
4224         (save_suffix): Use.
4225         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
4226         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
4227         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
4228
4229         * invoke.texi (Running Protoize): Update documentation.
4230
4231 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
4232
4233         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
4234
4235 2000-02-25  John Wehle  (john@feith.com)
4236
4237         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
4238
4239 2000-02-25  Anthony Green  <green@cygnus.com>
4240
4241         * toplev.c (rest_of_compilation): Rebuild jump labels if
4242         combine_instructions has created a new direct jump.
4243         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
4244         when appropriate.
4245         (combine_instructions): Call try_combine with new argument.
4246         Return non-null value when new direct jump instruction is created.
4247         * rtl.h: combine_instructions returns an int.
4248
4249 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
4250
4251         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
4252         jump when changing a computed jump into a jump to a known
4253         target.
4254
4255 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
4256
4257         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
4258         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
4259
4260         * i386.md (define_expand "clrstrsi"): Fix typo.
4261
4262 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
4263
4264         * rtl.texi: Fix typo.
4265
4266 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4267
4268         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
4269         UNITS_PER_WORD.  Change caller initial_elimination_offset.
4270         (rounded_frame_size): Take into account that argument pushed has
4271         changed.  Fix TARGET_ALIGN_DOUBLE problem.
4272
4273 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
4274
4275         * haifa-sched.c (schedule_block): Explain the real reason
4276         we delete REG_SAVE_NOTEs on the first insn of a block.
4277         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
4278
4279 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
4280
4281         * input.h (push_srcloc): New function.
4282         (pop_srcloc): Likewise.
4283         * toplev.c (push_srcloc): Define it.
4284         (pop_srcloc): Likewise.
4285
4286 2000-02-24  Richard Henderson  <rth@cygnus.com>
4287
4288         * flow.c (life_analysis): When collecting reg info, clear
4289         regs_ever_live.
4290
4291 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4292
4293         Fix bug exposed by reload.c no longer rounding the frame
4294         size to BIGGEST_ALIGNMENT:
4295         * sh.c (rounded_frame_size): New function.
4296         (sh_expand_prologue, sh_expand_epilogue): Use it.
4297         (initial_elimination_offset): Likewise.
4298
4299 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4300
4301         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
4302         * sh-protos.h (sh_need_epilogue): Declare.
4303         * sh.c (sh_need_epilogue_known): New static variable.
4304         (sh_need_epilogue): New function.
4305         (function_epilogue): Clear need_epilogue_known.
4306         * sh.md (return): Split into expander / insn pattern.
4307         Make the expander conditional on ! sh_need_epilogue ().
4308
4309 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
4310
4311         * machmode.h (get_mode_alignment): Declare.
4312         (GET_MODE_ALIGNMENT): Call it.
4313         * stor-layout.c (get_mode_alignment): New function. Make
4314         sure alignment is always power of 2.
4315
4316 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4317
4318         * i386.h: Remove useless definition of "I386" and misleading
4319         comment above it.
4320
4321 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4322
4323         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
4324         under which TREE_PERMANENT will be set.
4325         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
4326         build1): Use TREE_SET_PERMANENT.
4327         * print-tree.c (print_node): Don't report value of
4328         TREE_PERMANENT if ggc_p is true.
4329
4330         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
4331         decide whether to give a type a new alias set.
4332         * objc/objc-act.c (build_objc_string_object): Never copy the string.
4333         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
4334         of value of 'obstack'.
4335
4336
4337 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4338
4339         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
4340
4341 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4342
4343         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
4344         * cpplib.c (cpp_get_token): Produce them.
4345         * cppexp.c (cpp_lex): Handle them.
4346
4347 2000-02-23  Nick Clifton  <nickc@cygnus.com>
4348
4349         * config/arm/arm.c (arm_comp_type_attributes): Simply and
4350         comment tests on type attributes.
4351
4352 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4353
4354         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
4355         conform to documentation.
4356         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
4357         to check for special cases.
4358         * sh-protos.h (sh_loop_align): Declare.
4359         * sh.c (sh_loop_align): Define.
4360
4361 2000-02-22  Andrew Haley  <aph@cygnus.com>
4362
4363         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
4364         (SIZE_TYPE): Is 32 bits when using -mgp32.
4365         (PTRDIFF_TYPE): Ditto.
4366
4367 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4368
4369         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
4370
4371 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
4372
4373         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
4374         BIGGEST_FIELD_ALIGNMENT a constant.
4375
4376 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
4377
4378         * dwarf2out.c (output_line_info): Put the marker for the end of
4379         the line number info at the actual end.
4380         (gen_struct_or_union_type_die): Use decl_function_context 
4381         to check for local classes.
4382         * dwarfout.c (output_type): Likewise.
4383
4384 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
4385
4386         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
4387         for arguments with a mode, but no type.
4388         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
4389         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
4390         * pa/long_double.h: New file.
4391         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
4392         both have 128bit wide long doubles.
4393         * configure: Rebuilt.
4394
4395 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4396
4397         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
4398
4399         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
4400         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
4401         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
4402
4403         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
4404
4405         * integrate.c (compare_blocks, find_block): Likewise.
4406
4407         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
4408
4409         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
4410
4411         * stmt.c (stmt_status, set_file_and_line_for_stmt,
4412         expand_asm_operands): Likewise.
4413
4414 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
4415
4416         * predict.c (estimate_probability): Added the pointer heuristic to
4417         the collection of static branch predictors.
4418
4419 2000-02-21  Catherine Moore  <clm@cygnus.com>
4420
4421         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
4422         * invoke.texi (-mfix7000): Document.
4423
4424 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
4425
4426         * diagnostic.c (init_output_buffer): Make it possible to output at
4427         least 32 characters if we're given a too long prefix.
4428
4429 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
4430
4431         * varasm.c (initializer_constant_valid_p): Call
4432         lang_expand_constant to simplify the constant.
4433
4434 2000-02-20  Bruce Korb  <bkorb@gnu.org>
4435
4436         * fixinc/inclhack.def(stdio_va_list):
4437         typedef needs to be disabled.
4438         * fixinc/inclhack.sh: regen
4439         * fixinc/fixincl.x: regen
4440
4441 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
4442
4443         * print-rtl.c (print_rtx): Don't print addresses when
4444         flag_dump_unnumbered.
4445
4446 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4447
4448         * sparc.c (sparc_output_scratch_registers): Mark parameter with
4449         ATTRIBUTE_UNUSED.
4450         (sparc_va_arg, sparc_flat_output_function_prologue,
4451         sparc_flat_output_function_epilogue): Cast value to unsigned in
4452         comparison.
4453         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
4454         
4455         * sparc.md: Add default case in switch.
4456
4457 2000-02-19  Richard Henderson  <rth@cygnus.com>
4458
4459         * c-typeck.c (add_pending_init): Don't abort for multiple
4460         fields at the same offset.
4461         (pending_init_member): Test the correct member.
4462
4463 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4464
4465         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
4466         instead of SImode.
4467         (start_catch_handler) : Same.
4468
4469 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
4470
4471         * Makefile.in: Have flow.o depend on $(EXPR_H)
4472
4473 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4474
4475         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
4476         * c-decl.c (duplicate_decls, finish_enum): Likewise.
4477         (finish_decl): Remove -Wlarger-than code from here.
4478         * flags.h (id_clash_len): Now int.
4479         (larger_than_size): Now HOST_WIDE_INT.
4480         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
4481         Clean up checking to see if in table.
4482         (make_bit_field_ref): Remove extra parm to bitsize_int.
4483         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
4484         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
4485         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
4486         and for computing size of decl.
4487         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
4488         Move -Wlarger-than code to here.
4489         (layout_record): Remove extra arg to bitsize_int.
4490         Set TYPE_BINFO_SIZE_UNIT.
4491         (layout_union): Remove extra arg to bitsize_int.
4492         Use proper type for size of QUAL_UNION.
4493         (layout_type): Remove extra arg to bitsize_int.
4494         * toplev.c (id_clash_len): Now int.
4495         (larger_than_size): Now HOST_WIDE_INT.
4496         (decode_W_option): Clean up id-clash and larger-than- cases.
4497         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
4498         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
4499         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
4500         (struct tree_decl): New field size_unit.
4501         (size_int_wide): No HIGH operand; NUMBER is now signed.
4502         (size_int_2): Deleted.
4503         (size_int, bitsize_int): Don't use it and rework args.
4504         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
4505
4506 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
4507
4508         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
4509
4510 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
4511
4512         * invoke.texi (Warning Options): Add an explanation of why
4513         you might want the -Wfloat-equal flag.
4514
4515 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4516
4517         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
4518         * cppinit.c (new_pending_define): Add cast to avoid warning.
4519         * expmed.c (extract_bit_field): Likewise.
4520         * flow.c (enum reorder_skip_type): New type.
4521         (skip_insns_between_blcok): New it.
4522         Rework to avoid warning about possibly undefined variable.
4523         * function.c (assign_parms): Make thisparm_boundary unsigned.
4524         * genrecog.c (write_switch): Cast XWINT result to int.
4525         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
4526         * mips-tfile.c (init_file): Make two versions of FDR intializer:
4527         one for MIPS and one for Alpha.
4528         (get_tag, copy_object): Add casts to avoid warnings.
4529         * optabs.c (init_one_libfunc): Cast NAME to (char *).
4530         * reload.c (find_reloads): Make TYPE enum reload_type.
4531         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
4532         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
4533         * varasm.c (compare_constant_1): Add cast to avoid warning.
4534         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
4535         to (char *).
4536         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
4537         Cast switch operand of size to int.
4538         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
4539         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
4540         in unhandled case.
4541
4542 2000-02-18  Nick Clifton  <nickc@cygnus.com>
4543
4544         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
4545         anything for an alignment of zero.
4546
4547         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
4548         anything for an alignment of zero.
4549
4550 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
4551
4552         * gcc.texi (Bug Reporting): Refer to bugs.html.
4553         (Bug Lists): Likewise.
4554         * system.h (GCCBUGURL): New preprocessor define.
4555         * rtl.c (fancy_abort): Use it.
4556         * gcc.c (main): Likewise.
4557
4558 2000-02-18  Richard Henderson  <rth@cygnus.com>
4559
4560         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
4561         (life_analysis_1): Subsume into ...
4562         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
4563         Use update_life_info for the relaxation.
4564         (update_life_info): Update REG_BASIC_BLOCK for registers live on
4565         entry and regs_live_at_setjmp.
4566         (set_noop_p): Simplify.
4567         (notice_stack_pointer_modification_1): Renamed from s/_1//.
4568         (record_volatile_insns): Split into ...
4569         (delete_noop_moves): ... here,
4570         (notice_stack_pointer_modification): ... here,
4571         (insn_dead_p): ... and here.
4572         (propagate_block): Don't query INSN_VOLATILE.
4573         (mark_used_regs): Mind !PROP_REG_INFO.
4574         * toplev.c (rest_of_compilation): Call mark_constant_function here,
4575         not in life_analysis.
4576
4577 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
4578
4579         * loop.c (canonicalize_condition): New function,
4580         broken out of get_condition.
4581         (get_condition): Use it.
4582         * expr.h (canonicalize_condition): Prototype it.
4583
4584         * tree.h (tree_int_cst_msb): Declare.
4585         * tree.c (tree_int_cst_msb): New function.
4586
4587 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
4588
4589         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
4590         isn't set.
4591
4592         * invoke.texi (-fmessage-length=n): Document.
4593
4594 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
4595
4596         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
4597
4598 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
4599
4600         * function.c (thread_prologue_and_epilogue_insns): Put a line note
4601         after the prologue.
4602
4603 2000-02-17  Nick Clifton  <nickc@cygnus.com>
4604
4605         * config/arm/thumb.c: Replace includes of system headers with
4606         #include "system.h".
4607
4608 2000-02-16  Richard Henderson  <rth@cygnus.com>
4609
4610         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
4611         Add crtbeginS.o and crtendS.o.
4612         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
4613         (ENDFILE_SPEC): Use crtendS.o.
4614         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
4615
4616         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
4617         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
4618         shared and present.
4619         (__dso_handle): New variable.
4620         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
4621         bias to __CTOR_END__.
4622         
4623 2000-02-16  Richard Henderson  <rth@cygnus.com>
4624
4625         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
4626
4627 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4628
4629         * longlong.h (__clz_tab): Declare as static to match definition.
4630
4631 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
4632         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
4633         (XREF_FILE_NAME): Define.
4634
4635         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
4636         (EH_FRAME_SECTION_ASM_OP): Define.
4637         (IDENT_ASM_OP): Define.
4638         (TEXT_SECTION_ASM_OP): Define.
4639         (CPP_SPEC): Define.
4640         (CTORS_SECTION_ASM_OP): Define.
4641         (CTOR_SECTION_FUNCTION): Use it.
4642         (DTORS_SECTION_ASM_OP): Define.
4643         (DTOR_SECTION_FUNCTION): Use it.
4644
4645 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
4646
4647         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
4648         NOTE_BASIC_BLOCK.
4649
4650         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
4651         debug_bb_n): New functions.
4652         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
4653         * basic-block.h: Prototype new functions.
4654
4655 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
4656
4657         * configure.in: Add support for avr target.
4658         * configure: Rebuilt.
4659
4660         * invoke.texi: Add AVR invocation docs.
4661         * install.texi: Add information about AVR.
4662         * md.texi: Add AVR constraint letters description.
4663         * extend.texi: Add description for AVR specific attributes.
4664
4665 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
4666
4667         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
4668
4669 2000-02-16  Nick Clifton  <nickc@cygnus.com>
4670
4671         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
4672         (make_insn_raw): Move RTL check here.
4673
4674 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4675
4676         * version.c: Include gansidecl.h and version.h.
4677
4678         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
4679         
4680         * configure.in (gcc_version): When setting, narrow search to
4681         lines containing `version_string'.
4682
4683         * Makefile.in (mainversion): Likewise. 
4684         (GCC_H): New variable.
4685         (gcc.h): Delete target.
4686         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
4687         (version.o): Depend on version.h.
4688         (dbxout.o): Don't depend on gcc.h.
4689
4690 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4691                           Michael Meissner  <meissner@cygnus.com>
4692
4693         * md.texi (Simple Constraints): Add item about whitespace.
4694         * genoutput.c (strip_whitespace): New.
4695         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
4696         strip_whitespace for constraints.
4697         Test pointer using NULL, not 0.
4698
4699 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4700
4701         * cpplib.c (do_line): Pedwarn for #line > 32767.
4702
4703         * c-lex.c (readescape): Warn about '\x', but do not reject it.
4704
4705 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
4706
4707         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
4708         to default cpp spec.
4709         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
4710         * cpp.texi: Document __GNUC_PATCHLEVEL__.
4711         * cpp.1: Likewise.
4712
4713         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
4714         default spec.
4715
4716 2000-02-15  Denis Chertykov  <denisc@overta.ru>
4717
4718         * configure.in: Add support for avr target.
4719
4720 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4721
4722         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
4723         (sh_addr_diff_vec_mode): Don't declare.
4724         * sh.c (sh_addr_diff_vec_mode): Delete.
4725
4726 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4727
4728         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
4729
4730 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4731
4732         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
4733         (smulsi3_highpart_i): Name.
4734         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
4735         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
4736         (smulsi3_highpart, umulsi3_highpart): Likewise.
4737
4738         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
4739         correctly independent of endianness.
4740         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
4741         confuse the optimizers.
4742         (mulsidi3+1, umulsidi3+1): New define_split.
4743
4744 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
4745
4746         * config/sh/sh.md: Guard insn splits against illegal registers.
4747         * config/sh/sh.h: Correct comment about macros.
4748
4749 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4750                           Andrew MacLeod  <amacleod@cygnus.com>
4751
4752         * Makefile.in (lcm.o): Depend on insn-attr.h.
4753         * basic-block.h (optimize_mode_switching): Declare.
4754         * lcm.c (tm_p.h, insn-attr.h): #include.
4755         (seginfo, bb_info): New structs.
4756         (antic, transp, comp, delete, insert) : New file-scope static variables.
4757         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
4758         (reg_becomes_live, optimize_mode_switching): Likewise.
4759         * tm.texi: Add description of mode switching macros.
4760         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
4761
4762         * sh-protos.h (remove_dead_before_cse): Remove prototype.
4763         (fldi_ok, fpscr_set_from_mem): New prototypes.
4764         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
4765         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
4766         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
4767         (sh_flag_remove_dead_before_cse): Remove declaration.
4768         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
4769         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
4770         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
4771         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
4772         (barrier_align): Allow for JUMP_INSNS containing a parallel.
4773         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
4774         (fldi_ok): New function.
4775         (get_fpscr_rtx): Add fpscr_rtx as GC root.
4776         (emit_sf_insn): Only generate fpu switches when optimize < 1.
4777         (emit_df_insn): Likewise.
4778         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
4779         (sh_flag_remove_dead_before_cse): Delete.
4780         (get_free_reg, fpscr_set_from_mem): New functions.
4781         * sh.md (movdf, movsf): Remove no_new_pseudos code.
4782         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
4783
4784 2000-02-15  Loren Rittle  <ljrittle@acm.org>
4785
4786         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
4787
4788 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4789
4790         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
4791         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
4792
4793         * cccp.c: Include version.h and/or don't declare `version_string'.
4794         * collect2.c: Likewise.
4795         * alpha.c: Likewise.
4796         * arm/aof.h: Likewise.
4797         * arm/coff.h: Likewise.
4798         * arm/elf.h: Likewise.
4799         * arm/pe.h: Likewise.
4800         * arm/tcoff.h: Likewise.
4801         * arm/telf.h: Likewise.
4802         * arm/tpe.h: Likewise.
4803         * arm/vxarm.h: Likewise.
4804         * convex/convex.c: Likewise.
4805         * i386/dgux.c: Likewise.
4806         * i386/sun386.h: Likewise.
4807         * m88k/m88k.c: Likewise.
4808         * mcore/mcore-pe.h: Likewise.
4809         * mips/mips.h: Likewise.
4810         * romp/romp.h: Likewise.
4811         * sh/sh.c: Likewise.
4812         * cpphash.c: Likewise.
4813         * cppinit.c: Likewise.
4814         * dwarf2out.c: Likewise.
4815         * dwarfout.c: Likewise.
4816         * gcc.c: Likewise.
4817         * gcc.h: Likewise.
4818         * mips-tfile.c: Likewise.
4819         * protoize.c: Likewise.
4820         * toplev.c: Likewise.
4821         * tree.h: Likewise.
4822         
4823         * version.c (version_string): Constify a char*.
4824
4825         * version.h: New file.
4826
4827 2000-02-14  Nick Clifton  <nickc@cygnus.com>
4828
4829         * configure.in: Add mcore-elf and mcore-pe targets.
4830         * configure: Regenerate.
4831
4832         * NEWS: Add note that MCore port has been contributed.
4833
4834         * invoke.texi: Document command line switches for MCore port.
4835         * install.texi: Add MCore to list of supported targets.
4836
4837 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
4838
4839         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
4840         then we will need to import the frame handling functions.
4841         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
4842         to import the frames themselves.
4843
4844 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
4845                           Jason Eckhardt  <jle@cygnus.com>
4846
4847         * basic_block.h: Added prototype for reorder_basic_blocks.
4848         * toplev.c: Changes to add -freorder-blocks and graph dump after
4849         block reordering is done.
4850         * flow.c (reorder_block_def): New structure for use during block
4851         reordering.
4852         (REORDER_BLOCK_*): New macros to access members of above structure.
4853         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
4854         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
4855         functions for block reordering.
4856
4857 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
4858
4859         * gcc.texi (Passes): Fix typo.
4860         * md.texi (Standard Names): Ditto.
4861         * tm.texi (Storage Layout): Ditto.
4862
4863 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
4864
4865         * cpplib.c (do_define): Only free the old definition if it
4866         actually had one.
4867
4868 2000-02-13   Neil Booth  <NeilB@earthling.net>
4869
4870         * cppfiles.c (read_and_prescan): When emitting deferred
4871         newlines, test speccase[] again instead of checking each
4872         possible whitespace character in turn.  When we encounter \r,
4873         look behind for \n first, then ahead.
4874
4875 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
4876
4877         * cse.c (cse_altered): New internal flag.
4878         (cse_insn): Set it if we changed an insn.
4879         (cse_main): Clear cse_altered before each basic block.
4880         Only garbage collect if cse_altered is true afterward.
4881
4882 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4883
4884         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
4885
4886 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
4887
4888         * combine.c (simplify_comparison): Fix typo.
4889
4890 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
4891
4892         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
4893         consistently.
4894
4895 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4896
4897         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
4898         previously inserted node instead of root node.  Caller changed.
4899
4900 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4901
4902         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
4903
4904 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4905
4906         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
4907         __dereg_frame_dtor): Add prototype argument.
4908
4909         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
4910
4911         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
4912
4913         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
4914
4915         * gthr-vxworks.h (__gthread_once): Likewise.
4916
4917         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
4918
4919 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
4920
4921         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
4922         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
4923         stack pointer in functions w/o saved registers, output LEAVE more often
4924         on TARGET_USE_LEAVE machines.
4925
4926 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
4927
4928         * config/arm/arm.c (arm_init_cumulative_args); New function:
4929         Initlaise the CUMULATIE_ARGS strcuture for a function
4930         defintion. 
4931         (arm_function_arg): New function: Determine where to place a
4932         function's argument.  Also handles deciding the function's
4933         call cookie.
4934         (current_file_function_operand): New function: Return true if
4935         the symbol is a function which has already been compiled.
4936         (arm_is_long_call_p): New function: Return true if the
4937         indicated function should be called via a long call.
4938         (arm_valid_type_attribute_p): New function: Return true if the
4939         attribute is a valid, arm specific, attribute.
4940         (arm_comp_type_attribute): New function: Return true if the
4941         two types have compatable, arm specific, attributes.
4942
4943         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
4944         structure.
4945         (FUNCTION_ARG): Redefine to call arm_function_arg.
4946         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
4947         structure field.
4948         (INIT_CUMULATIVE_ARGS): Redefine to call
4949         arm_init_cumulative_args.
4950         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
4951         field. 
4952         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
4953         field. 
4954         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
4955         functions.
4956         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
4957         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
4958         (COMP_TYPE_ATTRIBUTES): Define.
4959
4960         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
4961         if a long call is needed.
4962         (call_value): Call arm_is_long_call_p to decide if a long call
4963         is needed.
4964         (call_symbol): Call arm_is_long_call_p to decide if a long call
4965         is needed.
4966
4967         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
4968
4969 2000-02-11  Denis Chertykov  <denisc@overta.ru>
4970
4971         * README.AVR: New file with information about the avr ports.
4972         * config/avr: New directory with avr port files.
4973
4974 2000-02-11  Andreas Jaeger  <aj@suse.de>
4975
4976         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
4977
4978 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
4979
4980         * cpphash.c: Fix formatting, update commentary.
4981         (dump_definition): Take three separate arguments instead of a
4982         MACRODEF structure argument.
4983         * cpphash.h: Update prototype of dump_definition.
4984         * cppinit.c (cpp_finish): Update call of dump_definition.
4985
4986         * cpplib.c (do_define): Always create new hash entry with
4987         T_MACRO type.  Remove redundant check for redefinition of
4988         poisoned identifier.  Update call of dump_definition.
4989         (do_undef): Don't call check_macro_name.  Rename sym_length to
4990         len.
4991         (do_error, do_warning): Don't use copy_rest_of_line or
4992         SKIP_WHITE_SPACE.
4993         (do_warning): Don't use pedwarn for the actual warning,
4994         only the notice about its not being in the standard.  (Fixes
4995         bug with #warning in system headers.)
4996         (do_ident): Stricter argument checking - accept only a single
4997         string after #ident.  Also, macro-expand the line.
4998         (do_xifdef): Use cpp_defined.  De-obfuscate.
4999
5000         (do_pragma): Split out specific pragma handling to separate
5001         functions.  Use get_directive_token.  Update commentary.  Do
5002         not pass on #pragma once or #pragma poison to the front end.
5003         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
5004         do_pragma_default): New.
5005
5006 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
5007
5008         * jump.c (jump_optimize_1): The first operand in a relational
5009         can be a CONST_INT.
5010         * optabs.c (emit_conditional_move): Handle relationals which
5011         have a known true/false result.
5012
5013 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5014
5015         * function.c (thread_prologue_and_epilogue_insns): Don't insert
5016         a RETURN insn into a block which already ends with a jump.
5017
5018 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
5019
5020         * haifa-sched.c (BUF_LEN): Increase a lot.
5021
5022 2000-02-11  Nick Clifton  <nickc@cygnus.com>
5023
5024         * configure.in: Add tm_p_file specification for thumb targets.
5025         * configure: Regenerate.
5026
5027         * config/arm/thumb-protos.h: New file: Prototypes for exported
5028         functions defined in thumb.c.
5029
5030 2000-02-11  Robert Lipe  <robertl@sco.com>
5031
5032         * Makefile.in (bootstrap-lean): Remove additional files.
5033         (bootstrap2-lean): Likewise.
5034         (VOL_FILES): List of files for above.
5035
5036 2000-02-11  Nathan Sidwell  <nathan@acm.org>
5037
5038         * cpphash.c (special_symbol): Remove spurious argument to
5039         cpp_lookup.
5040
5041 2000-02-11  Joel Sherrill (joel@OARcorp.com>
5042
5043         * configure.in: (i*86-*-rtems*): Swapped elf and coff
5044         stanzas.
5045         * configure: Rebuilt.
5046
5047 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
5048         
5049         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
5050
5051 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
5052
5053         * pa.c, pa.h: Remove trigraph sequences within comments.
5054
5055 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
5056
5057         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
5058
5059 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
5060
5061         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
5062
5063 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5064         
5065         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
5066
5067 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5068
5069         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
5070         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
5071         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
5072         (ASM_FILE_END): Use c4x_file_end.
5073         * config/c4x/c4x.c (c4x_global_label): New function.
5074         (c4x_external_ref, c4x_file_end): Likewise.
5075
5076         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
5077         (c4x_external_ref, c4x_end_file): Likewise.
5078
5079 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
5080
5081         * cppexp.c: Don't include cpphash.h.
5082         (parse_charconst, cpp_lex): Use cpp_defined.
5083         (cpp_lex): Use get_directive_token throughout.  Remove
5084         unnecessary cases from switch.  Move assertion-handling code
5085         down to OTHER case.
5086         (cpp_parse_expr): If we see '+' or '-', check the context to
5087         determine if they are unary or binary operators.  Streamline
5088         the jumps a bit.  Do not call skip_rest_of_line.
5089
5090         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
5091         static.  Export get_directive_token.  Update commentary.
5092         (cpp_defined): New function.
5093         (do_define): Remove reference to T_PCSTRING.  Call
5094         free_definition to release memory for old definition, when
5095         redefining a macro.
5096         (eval_if_expression): Set only_seen_white to 0 before calling
5097         cpp_parse_expr.  Call skip_rest_of_line after it returns.
5098         (cpp_read_check_assertion): Don't preserve a pointer into the
5099         token buffer across a call to cpp_get_token.
5100
5101         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
5102         * cppfiles.c (redundant_include_p): Use cpp_defined.
5103         * cpphash.c (free_definition): New function.
5104         (delete_macro): Use it.  Update commentary.
5105         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
5106         free_definition.
5107         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
5108         from enum node_type.  Prototype cpp_defined and get_directive_token.
5109         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
5110
5111         * fix-header.c (check_macro_names): Use cpp_defined.
5112         (read_scan_file): Set inhibit_warnings and inhibit_errors in
5113         the options structure.
5114
5115 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5116
5117         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
5118
5119 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
5120
5121         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
5122         rather than die->die_tag.
5123
5124 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5125
5126         * combine.c (make_extraction, force_to_mode): Avoid warning on
5127         mixed-signedness conditionals.
5128         (make_field_assignment, nonzero_bits): Likewise.
5129         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
5130         (store_split_bit_field, extract_split_bit_field): Likewise.
5131         (extract_fixed_bit_field, store_bit_field, 
5132         * expr.c: Change alignment to be unsigned everywhere.
5133         (move_by_pieces, store_constructor_field, store_constructor): 
5134         Alignment parm is unsigned.
5135         (emit_block_move, emit_group_load, emit_group_store): Likewise.
5136         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5137         (do_compare_rtx_and_jump): Likewise.
5138         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
5139         Compare align with GET_MODE_ALIGNMENT.
5140         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
5141         (get_inner_reference): Likewise.
5142         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
5143         (expand_assignment): Local vars for alignment now unsigned.
5144         (store_constructor, store_field, expand_expr, do_jump): Likewise.
5145         (do_compare_and_jump): Likewise.
5146         (store_field): Call new function expr_align.
5147         * expr.h (emit_block_move, emit_group_load, emit_group_store):
5148         Alignment arg now unsigned.
5149         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
5150         (do_compare_rtx_and_jump, store_bit_field): Likewise.
5151         (extract_bit_field): Likewise.
5152         * fold-const.c (add_double): Add cast to eliminate signedness warning.
5153         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
5154         (get_best_mode): Alignment arg is unsigned.
5155         * rtl.h (move_by_pieces): Likewise.
5156         * store-layout.c (maximum_field_alignment, set_alignment):
5157         Now unsigned.
5158         (layout_decl): Alignment arg is now unsigned.
5159         Remove unneeded casts.
5160         (layout_record, layout_union, layout_type): Remove unneeded casts.
5161         Local alignment variables now unsigned.
5162         (get_best_mode): Alignment arg now unsigned.
5163         * tree.c (expr_align): New function.
5164         * tree.h (expr_align): Likewise.
5165         (maximum_field_alignment, set_alignment): Now unsigned.
5166         (get_inner_reference): Alignment argument is now pointer to unsigned.
5167         * varasm.c (assemble_variable): Add cast to eliminate warning.
5168
5169 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
5170
5171         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
5172         then store directly into op0.
5173
5174         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
5175         the CALL_INSN, and emit the note immediately after it.
5176
5177 2000-02-10  Nick Clifton  <nickc@cygnus.com>
5178
5179         * config/arm/thumb.md (epilogue): Include a (return) in the
5180         generated insn, and emit it using emit_jump_insn not
5181         emit_insn. 
5182
5183 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
5184
5185         * function.c (assign_temp): Change zero-sized arrays to size 1.
5186         * integrate.c (expand_inline_function): Do not update
5187         stack_alignment_needed
5188         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
5189         add some sanity checking, remove optimization for function with
5190         zero frame size.
5191
5192 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5193
5194         * flow.c (mark_regs_live_at_end): Delete unused variables.
5195
5196         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
5197
5198         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
5199         in macro FRAME_GROWS_DOWNWARD.
5200
5201         * stmt.c (expand_end_bindings): Delete unused variable.
5202
5203         * unroll.c (iteration_info): Mark parameter `loop' with
5204         ATTRIBUTE_UNUSED.
5205
5206 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5207
5208         * fixinc/server.c (load_data): Return NULL if the marker line is
5209         not found.
5210         (run_shell): If load_data returns NULL, retry the command once, in
5211         a new shell.
5212
5213         * configure: Rebuilt.
5214
5215 2000-02-09  Bruce Korb  <bkorb@gnu.org>
5216
5217         * gcc/fixincludes:  ** DELETED **
5218         * gcc/fixcpp:  ** DELETED **
5219         * gcc/fixinc-nt.sed:  ** DELETED **
5220         * gcc/just-fixinc:  ** DELETED **
5221         * gcc/Makefile.in:  Removed out-dated commentary
5222         * gcc/configure.in: Removed fast-fixincludes disablement.
5223         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
5224
5225 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5226         * function.c (thread_prologue_and_epilogue_insns): Uncomment
5227         last change.
5228
5229 2000-02-09  Richard Henderson  <rth@cygnus.com>
5230
5231         * jump.c (delete_insn): Don't delete user labels at -O0.
5232
5233 2000-02-09  Robert Lipe  <robertl@sco.com>
5234
5235         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
5236         Don't link with HOST_LIBS. 
5237
5238 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5239
5240         * configure.in: Correct --help text for --with-dwarf2.
5241         Put tm-dwarf2.h after other tm files, if it's requested.
5242         * configure: Regenerate.
5243         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
5244         defining it.
5245
5246 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5247
5248         * cpplib.h: Provide HASHNODE typedef and forward decl of
5249         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
5250         DEFINITION, struct hashnode, struct macrodef, struct
5251         definition, scan_decls prototype, default defn of
5252         INCLUDE_LEN_FUDGE moved elsewhere.
5253
5254         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
5255         definition, and struct hashnode moved here. Remove the unused
5256         'predefined' field from struct definition.  Replace the 'args'
5257         union with its sole member.  All users updated (cpphash.c).
5258         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
5259         multiple include guard.
5260
5261         * cpphash.c (hashf): Make static; use better algorithm; drop
5262         HASHSIZE parameter; return an unsigned int.
5263         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
5264         used. Calculate HASHSIZE modulus here.
5265         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
5266         here.
5267         (create_definition): Drop PREDEFINITION parameter.
5268         * cpplib.c (do_define): Don't calculate a hash value here.
5269         Don't pass (keyword == NULL) to create_definition.
5270
5271         * scan.h: Prototype scan_decls here.
5272         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
5273         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
5274         callers of cpp_lookup and cpp_install updated.
5275         
5276         * cpphash.c (macarg): Hoist all the flag diddling out of the
5277         function...
5278         (macroexpand): ... and out of the loop that calls macarg.
5279         Skip over the initial paren before macro arguments with
5280         cpp_get_non_space_token; point may be some distance before
5281         that paren.  Abort if it's not there.
5282
5283         * cpplib.c (parse_clear_mark): Delete function.
5284         (parse_set_mark, parse_goto_mark): Make static.
5285         (ACTIVE_MARK_P): New macro.
5286         (skip_block_comment, skip_line_comment): Do not bump the line
5287         if ACTIVE_MARK_P is true.
5288         (cpp_pop_buffer): The buffer to be popped may not have an
5289         active mark.
5290         (cpp_get_token): When looking for the initial paren before
5291         macro arguments, only set a mark in a file buffer, Always
5292         return to that mark before proceeding to call macroexpand or
5293         return a NAME token.
5294
5295         * cpplib.h: Remove prototypes of parse_set_mark,
5296         parse_clear_mark, parse_goto_mark.
5297         (struct cpp_options): Rename 'put_out_comments' to
5298         'discard_comments' and invert its sense.
5299         * cppinit.c, cpphash.c, cpplib.c: All users of
5300         put_out_comments changed to use discard_comments, with
5301         opposite sense.
5302
5303 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
5304
5305         * function.c (thread_prologue_and_epilogue_insns): Don't delete
5306         the edge from a block that both jumps and falls through to the
5307         fallthru block.
5308
5309 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
5310
5311         * config/arm/arm.md (movsi): In PIC mode, make sure that a
5312         constant source address is legitimate.
5313
5314 2000-02-09  Philip Blundell  <pb@futuretv.com>
5315
5316         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
5317         correctly.
5318
5319         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
5320         generating PIC.
5321         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
5322
5323 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
5324
5325         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
5326         ends with a newline and a NUL.  Don't be so clever manipulating
5327         strings.
5328
5329 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
5330
5331         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
5332         not to BIGGEST_ALIGNMENT.
5333
5334 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
5335
5336         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
5337         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
5338         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
5339         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
5340         * frame.c (execute_cfa_insn): Handle 
5341         DW_CFA_GNU_negative_offset_extended.
5342
5343 2000-02-08  Richard Henderson  <rth@cygnus.com>
5344
5345         * flow.c (tidy_fallthru_edges): Split out from ...
5346         (delete_unreachable_blocks): ... here.
5347         (find_basic_blocks): Use it.
5348
5349 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5350
5351         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
5352
5353 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
5354
5355         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
5356         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
5357         (fix-header.o): Don't depend on cpphash.h.
5358
5359         * scan.c (hashstr): New function. 
5360         * scan.h: Prototype it.
5361         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
5362         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
5363         hashstr.  Report hash table statistics.  Add private     
5364         definition of xrealloc.
5365
5366 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5367
5368         * i386.h (TARGET_SWITCHES): Fix typo in option name.
5369
5370 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
5371
5372         * function.c (thread_prologue_and_epilogue_insns): Don't replace
5373         jumps with returns unless they are jumps to the fallthru block.
5374
5375 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
5376
5377         * i386.md (addqi3_cc): Fix contraints.
5378
5379 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5380
5381         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
5382
5383 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
5384
5385         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
5386         carriage return after a macro name.
5387
5388 2000-02-07  Fred Fish  <fnf@be.com>
5389
5390         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
5391         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
5392
5393 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
5394
5395         * cppfiles.c (deps_output): Count spacers in deps_column.
5396
5397 2000-02-07  Neil Booth  <NeilB@earthling.net>
5398
5399         * cppinit.c (initialize_dependency_output): If there is no
5400         suffix, don't try to look for known suffixes.  Use strrchr.
5401         (cpp_start_read): Remove duplicate initialization.
5402
5403 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
5404
5405         * calls.c (compute_argument_block_size): New argument
5406         preferred_stack_boundary.
5407         (expand_call): update cfun->preferred_stack_boundary, update call of
5408         compute_argument_block_size
5409         (emit_library_call): Increate cfun->preferred_stack_boundary
5410         to PREFERRED_STACK_BOUNDARY
5411         (emit_library_call_value): Likewise.
5412         * explow.c (allocate_dynamic_stack_spave): Likewise.
5413         * function.c (prepare_function_start): Set
5414         cfun->preferred_stack_boundary
5415         * function.h (struct function): Add preferred_stack_boundary field.
5416         * integrate.c (expand_inline_function): Update
5417         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
5418         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
5419         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
5420
5421 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
5422
5423         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
5424         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
5425         cpp_pedwarn, cpp_pedwarn_with_line,
5426         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
5427         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
5428         v_cpp_error_with_line, v_cpp_warning_with_line,
5429         cpp_message_from_errno, cpp_perror_with_name): Delete.
5430
5431         * cpperror.c (cpp_print_containing_files): Take starting
5432         buffer as argument.
5433         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
5434         (v_cpp_message): Now called directly by all entry points.
5435         Remove -1 case.
5436         (cpp_pfatal_with_name, cpp_message): Delete.
5437         (cpp_notice_from_errno, cpp_ice): New functions.
5438         (cpp_notice): Is now for reporting error conditions, just
5439         without an associated file.
5440         (cpp_error, cpp_error_with_line): Don't do anything if
5441         opts->inhibit_errors is on.
5442         (cpp_pedwarn_with_file_and_line): Take column argument also.
5443
5444         * cpplib.h: Update prototypes of exported functions.
5445         (struct cpp_options): Add inhibit_errors.
5446
5447         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
5448         non-error messages.  Include intl.h.
5449
5450         * cppinit.c, cppmain.c: Likewise.  Also, use
5451         cpp_notice_from_errno instead of cpp_perror_with_name or
5452         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
5453
5454         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
5455         report internal errors.
5456
5457         * cpplib.c (do_define): Switch bcopy to memcpy.
5458         Give cpp_pedwarn_with_file_and_line a dummy column argument.
5459
5460         * cpplib.c (copy_rest_of_line): Revert previous change: don't
5461         bail out early if we hit a line comment.
5462
5463 2000-02-06  Richard Henderson  <rth@cygnus.com>
5464
5465         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
5466         * basic-block.h: Declare them.
5467         * emit-rtl.h (active_insn_p): New.
5468         (next_active_insn, prev_active_insn): Use it.
5469         * rtl.h: Declare it.
5470         * function.c (emit_return_into_block): New.
5471         (thread_prologue_and_epilogue_insns): Insert return insns instead
5472         of epilogues when possible.
5473         * jump.c (jump_optimize_1): Remove code to insert a return insn
5474         on the fallthru to the exit block.
5475
5476         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
5477         and for non-empty stack frames.
5478         * i386.md (return): Expand to return-pop as needed.
5479
5480 2000-02-06  Richard Henderson  <rth@cygnus.com>
5481
5482         * simplify-rtx.c (simplify_relational_operation): Canonicalize
5483         constant to op1 for testing.
5484
5485 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5486
5487         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
5488         (fixuns_truncqfqi2): Use it.
5489
5490 2000-02-06  Richard Henderson  <rth@cygnus.com>
5491
5492         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
5493         as a TYPE_LEA insn.
5494
5495         * i386.md (widening and peepholes): Mask the constant instead of
5496         using gen_lowpart.
5497
5498 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
5499
5500         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
5501         input pointer before possibly branching off to the backslash
5502         code.
5503         * cpphash.c (macroexpand): Correctly delete \r escapes when
5504         stringifying parameters.
5505         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
5506         if we can; bail out early if we hit a line comment.
5507         (handle_directive): Treat '# 123' in an .S file just like
5508         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
5509         Return 1 for '# not_a_directive'.
5510         (get_directive_token): Pop macro buffers here, so that
5511         cpp_get_token can't sneakily move past a newline.
5512         Add sanity checks. 
5513         (cpp_get_token): goto randomchar if handle_directive returns 0.
5514
5515         * cppalloc.c: Update copyright.
5516         * cpplib.c: Merge all the static function prototypes into one
5517         block.
5518         * cpplib.h: Remove #if 0 block.
5519
5520         * cpperror.c: Remove #ifdef EMACS block.
5521         * cppmain.c: Likewise.
5522         * cpphash.c: Remove #if 0 blocks.
5523         * cppinit.c: Remove #if 0 blocks, and the -lint option.
5524         * cpplib.c: Remove #if 0 blocks and code referencing
5525         pcp_inside_if or for_lint.  Remove duplicate error message.
5526         Fix error messages for #else after #else or #elif.  Reformat.
5527         Remove archaic TODO list.
5528         * cpplib.h: Remove pcp_inside_if and for_lint flags.
5529
5530 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
5531
5532         * i386/osf1elf.h: Add missing backslash to multiline string.
5533
5534 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5535
5536         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
5537
5538 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5539
5540         * Makefile.in (c-common.o): Depend on $(EXPR_H).
5541
5542         * c-common.c: Include expr.h.
5543
5544         * c-pragma.c (mark_align_stack): Add prototype.
5545
5546         * caller-save.c (add_stored_regs): Likewise.
5547
5548         * combine.c (record_promoted_value): Likewise.
5549
5550         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
5551         Likewise.
5552
5553         * cppinit.c (new_pending_define): Likewise.
5554
5555         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
5556
5557         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
5558         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5559         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
5560         class_scope_p): Likewise.
5561
5562         * dwarf2out.h (dwarf2out_set_demangle_name_func,
5563         dwarf2out_add_library_unit_info): Likewise.
5564
5565         * ggc.h (ggc_page_print_statistics): Likewise.
5566
5567         * haifa-sched.c (propagate_deps): Likewise.
5568
5569         * reg-stack.c (next_flags_user, record_label_references): Likewise.
5570
5571         * rtl.h (set_stack_check_libfunc): Likewise.
5572
5573         * toplev.h (set_fatal_function): Likewise.
5574
5575         * toplev.c (set_fatal_function): Delete prototype.
5576         
5577         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
5578         
5579 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
5580
5581         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
5582         (FUNC_END): Likewise.
5583
5584 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5585
5586         * caller-save.c: Include tm_p.h.
5587
5588 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5589
5590         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
5591
5592 2000-02-04  Neil Booth  <NeilB@earthling.net>
5593
5594         * cccp.c (main): Check 'dir' for a NULL pointer before passing
5595         it to strcmp.
5596
5597 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
5598
5599         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
5600         * genflags.c: Use the max_operand_1 logic from genemit.c to
5601         calculate how many arguments gen_insn prototypes have.  Remove
5602         NO_MD_PROTOTYPES ifdefs from the generated file.
5603         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
5604         file.  Cast gen_insn initializers to insn_gen_fn.
5605         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
5606         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
5607
5608 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5609
5610         * fixinc/Makefile.in (HDR): Add machname.h.
5611         (clean): Likewise.
5612
5613 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5614
5615         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
5616         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
5617         (c4x_cpu_version): Ditto.
5618         * config/c4x/c4x-protos.h: ... here.
5619
5620 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
5621
5622         * dwarf2out.c (add_abstract_origin_attribute): Don't call
5623         gen_abstract_function on our context if we're a nested function.
5624
5625 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5626
5627         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
5628         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
5629
5630 2000-02-04  Bruce Korb  <bkorb@gnu.org>
5631
5632         * fixinc/genfixes(machname.h):
5633         Move the functionality from gen-machine.h into this file.
5634         UNdef MN_NAME_PAT if there are no names to change.
5635         Also, be a little kinder when AutoGen is not present.
5636
5637         * fixinc/Makefile.in(machname.h):
5638         Change the generation rule to use genfixes.
5639
5640         * fixinc/fixfixes.c(machine_name):
5641         machine_name_fix's functionality now dependent upon whether
5642         MN_NAME_PAT is defined.
5643
5644         * fixinc/fixtests.c(machine_name):
5645         ditto.
5646
5647         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
5648         of MN_NAME_PAT.
5649
5650         * fixinc/fixlib.h(mn_get_regexps):
5651         ditto
5652
5653         * fixinc/gen-machine.h: DELETED
5654
5655 2000-02-04  Jan Hubicka  <jh@suse.cz>
5656             Richard Henderson  <rth@cygnus.com>
5657
5658         * i386.c (SAVE_REGS_FIRST): Remove.
5659         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
5660         (ix86_compute_frame_size): Likewise.
5661         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
5662         (ix86_emit_restore_regs): Remove.
5663         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
5664         when a frame pointer is in use.
5665         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
5666         instead of pop to restore a register when profitable; emit leave
5667         when profitable.
5668         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
5669         as a TYPE_LEA insn.
5670         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
5671         * i386.md (prologue_allocate_stack): Remove.
5672         (epilogue_deallocate_stack): Remove.
5673         (pro_epilogue_adjust_stack): New.
5674
5675 2000-02-04  Richard Henderson  <rth@cygnus.com>
5676
5677         * function.c (diddle_return_value): Rework to use a callback function.
5678         Use current_function_return_rtx if it's been set up.
5679         (do_clobber_return_reg, clobber_return_register): New.
5680         (do_use_return_reg, use_return_register): New.
5681         (expand_function_end): Use them.
5682         * stmt.c (expand_null_return): Likewise.
5683         * function.h: Declare them.
5684         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
5685         (mark_reg): Change arguments as appropriate for callback.
5686         * integrate.c (expand_inline_function): Revert 19 Jan change.
5687
5688 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5689
5690         * tm.texi (Values in Registers): Fix typo: "fo" "for".
5691         (Misc): Say the scheduler, not the Haifa scheduler.
5692
5693 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
5694
5695         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
5696         when in_mem is set.  Update all callers.
5697
5698 2000-02-04  Richard Henderson  <rth@cygnus.com>
5699
5700         * i386/openbsd.h (INT_ASM_OP): Define.
5701
5702 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5703
5704         * tm.texi: Fix various typos.
5705
5706 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
5707
5708         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
5709         (MD_STARTFILE_PREFIX_1): New macro.
5710
5711 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
5712
5713         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
5714         destination when needed.
5715         (strmovsi, strsetsi): New expander.
5716         (strmovsi_1, strsetsi_1): New pattern.
5717         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
5718         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
5719         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
5720         * invoke.texi (align-stringops, inline-all-stringops): Document.
5721
5722 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
5723
5724         * i386/netbsd.h (INT_ASM_OP): Define.
5725
5726 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
5727
5728         * cpplib.h (cpp_reader): Add new flag, no_directives.
5729         * cpphash.c (macarg): Set it.
5730         * cpplib.c (handle_directive): If no_directives is on and we
5731         find a directive, issue an error and discard the line.
5732
5733 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
5734
5735         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
5736         FP constants.  Add ! TARGET_FPU check for FP constants.
5737
5738 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
5739         
5740         * flow.c (find_basic_blocks): Don't kill label_value_list
5741         here.
5742         (cleanup_cfg): Kill it here.
5743
5744 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5745
5746         * expr.c (store_field): Ensure ALIGN is no stricter than the
5747         alignment of EXP.
5748
5749 2000-02-02  Richard Henderson  <rth@cygnus.com>
5750
5751         * jump.c (delete_insn): Partially revert 19 Jan change; 
5752         don't convert unused code labels to notes at -O0.
5753
5754 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5755
5756         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
5757         split_all_insns to recreate REG_LABEL notes for flow2 pass.
5758
5759 2000-02-01  Richard Henderson  <rth@cygnus.com>
5760
5761         * i386.c (general_no_elim_operand): New.
5762         (nonmemory_no_elim_operand): New.
5763         (ix86_expand_move): Copy eliminable operands before a push.
5764         * i386-protos.h: Declare new functions.
5765         * i386.h (CAN_ELIMINATE): Simplify.
5766         (PREDICATE_CODES): Update.
5767         * i386.md (push insns): Don't allow eliminable register operands.
5768
5769 2000-02-01  Richard Henderson  <rth@cygnus.com>
5770
5771         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
5772         replace BLKmode with DECL_RTL's mode.
5773
5774 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
5775
5776         * frame.c (find_fde): Convert for loop to do-while so compiler
5777         sees it's always executed at least once.
5778         * libgcc2.c (BBINBUFSIZE): Kill.
5779         (__bb_init_prg): Use fgets.
5780         (__bb_exit_trace_func): Don't paste strings.
5781         * unroll.c (unroll_loop): Initialize unroll_type, not
5782         unroll_number, and tweak logic to match.
5783
5784         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
5785         all failure paths.
5786         (ix86_flags_dependant): Likewise.  Disentangle control flow.
5787         (ix86_sched_reorder): Break guts out to
5788         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
5789         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
5790         any possible use.
5791
5792         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
5793         use string concatenation.  Don't save and restore esi.
5794
5795         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
5796         (machname.h): Remove script to separate file.  Use two-step
5797         sequence so target is not created if script fails.
5798         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
5799         identifiers are defined.
5800         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
5801         an empty string, machine_name doesn't need to do anything at
5802         all.
5803         (is_cxx_header): Add more cases to regexp.
5804         * fixinc/fixlib.h: Update prototype.
5805         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
5806         mn_get_regexps.
5807         * fixinc/fixincl.c: Define NO_BOGOSITY.
5808
5809         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
5810         (hp_sysfile): Add missing comma.
5811         (math_exception): Put the wrapper ifdefs at the beginning and
5812         the end of the file.
5813         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
5814
5815 2000-02-01  Richard Henderson  <rth@cygnus.com>
5816
5817         * sparc.c (fp_zero_operand): Turn into a normal predicate.
5818         Use CONST0_RTX.  Update all callers.
5819         * sparc.h, sparc-protos.h: Update accordingly.
5820         * sparc.md (fp mov insns): Use fp_zero_operand directly
5821         where applicable.
5822
5823 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5824
5825         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
5826         example.
5827
5828 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5829
5830         * Makefile.in (specs.ready): New target.
5831         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
5832
5833 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5834
5835         * fixinc.irix: Use unique filenames for writing into /tmp,
5836         * fixinc.ptx: Likewise.
5837         * fixinc.sco: Likewise.
5838         * fixinc.svr4: Likewise.
5839         * fixinc.winnt: Likewise.
5840
5841 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5842
5843         * tsystem.h: New file.
5844
5845         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
5846         s-crtS): Depend on tsystem.h.
5847
5848         * crtstuff.c: Include tsystem.h.
5849         * frame.c: Likewise.
5850         * libgcc2.c: Likewise.
5851
5852 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
5853
5854         * builtins.c (expand_builtin_memset): Expand for variable sized
5855         lengths too.
5856
5857 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
5858
5859         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
5860         on ABI.
5861
5862 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
5863
5864         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
5865
5866         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
5867
5868 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
5869
5870         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
5871         case 3->2 combining (combining with splitting) in which 2 is CC0
5872         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
5873         checked at the begining of the function with the aid of calling 
5874         function 'can_combine_p'. 
5875
5876 2000-01-31  Dave Brolley  <brolley@redhat.com>
5877
5878         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
5879
5880 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
5881
5882         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
5883         new label.
5884
5885 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5886
5887         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
5888         
5889         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
5890         PROTO -> PARAMS.
5891
5892 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
5893
5894         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
5895         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
5896         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
5897         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
5898         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
5899         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
5900         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
5901         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
5902         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
5903         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
5904         
5905         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
5906         Add %(cpp_cpu) to CPP_SPEC.
5907
5908         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
5909         Add %(cc1_cpu) to CC1_SPEC.
5910
5911 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
5912
5913         * c-decl.c (c_decode_option): Accept optional numeric argument to
5914         -Wformat and set warn_format.
5915         * c-common.c: Don't emit warning about non-constant printf format
5916         string unless warn_format > 1.
5917
5918 2000-01-30  Richard Henderson  <rth@cygnus.com>
5919
5920         * alpha.md (return_internal): Allow after reload only.
5921
5922 2000-01-30  Richard Henderson  <rth@cygnus.com>
5923
5924         * i386.c (ix86_compute_frame_size): Omit padding1 if the
5925         local frame size is zero.
5926
5927 2000-01-30  Richard Henderson  <rth@cygnus.com>
5928
5929         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
5930         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
5931         * alpha.md (return): Turn into an expander.
5932         (return_internal): Don't use $26.
5933         (epilogue): Emit the return insn.
5934
5935 2000-01-30  Richard Henderson  <rth@cygnus.com>
5936
5937         * alpha.md (negtf2, abstf2): Fix word order thinko.
5938         (extendsftf2): New.
5939         (trunctfsf2): Avoid intermediate rounding errors.
5940
5941 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
5942
5943         * cppfiles.c (find_position): Drop 'colp' argument, return the
5944         new line base.
5945         (read_and_prescan): Adjust to match.  Don't ever manipulate
5946         line or line_base except via find_position.
5947
5948 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
5949
5950         * c-parse.in: Apply Ulrich's changes from c-parse.y.
5951         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
5952         Regenerate.
5953
5954 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
5955
5956         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
5957         just print "<command line>".  If 'filename' is null or an
5958         empty string, print "<stdin>" for the filename.
5959         * cpplib.c (do_define): Don't print the 'location of the
5960         previous definition' message if we're still parsing the
5961         command line.
5962         (cpp_pedwarn_with_file_and_line): Always call
5963         cpp_file_line_for_message.
5964
5965 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
5966
5967         * flow.c (mark_regs_live_at_end): Fix typo.
5968
5969 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
5970
5971         * c-common.c: Adjust variable names, comments, help strings to c99.
5972         * c-lex.c: Likewise.
5973         * c-parse.y: Likewise.
5974         * c-tree.h: Likewise.
5975         * cccp.c: Likewise.
5976         * cpplib.h: Likewise.
5977         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
5978         * cppinit.c: Likewise.
5979
5980 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5981
5982         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
5983         * c4x.c: Define the optab rtx values.
5984         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
5985         (c4x_emit_libcall): Use new optab rtx values.
5986         (c4x_emit_libcall3): Likewise.
5987         (c4x_emit_libcall_mulhi): Likewise.
5988         * c4x-protos.h: Add prototypes for optab rtx values and change
5989         prototypes for above c4x_emit_libcall functions.
5990
5991 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5992
5993         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
5994         syntax is used.
5995         (c4x_function_prologue): Use regnames intead of float_reg_names when
5996         TI syntax is used.
5997         (c4x_function_epilogue): Likewise.
5998         (c4x_print_operand): Likewise.
5999         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
6000         * c4x.md (set_high): Disable for TARGET_TI.
6001
6002 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6003
6004         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
6005         of framepointer + constant to ADDR_REGS class.
6006         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
6007         * c4x.c (std_or_reg_operand): New function.
6008         * c4x-protos.h (std_or_reg_operand): Prototype it.
6009
6010 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6011
6012         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
6013                 object names as libgcc2.c.
6014         * libgcc.S: Use newly defined names.
6015
6016 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
6017         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
6018         function.
6019         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
6020         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
6021         (FLOW_LOOP_LAST_BLOCK): Likewise.
6022
6023 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6024
6025         * basic-block.h (struct loop): New fields 'first' and 'last'.
6026         * flow.c (flow_loops_find): Compute loop->first and loop->last.
6027         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
6028         and loop->last to check for NOTE_INSN_LOOP_END.
6029
6030 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
6031
6032         * predict.c (estimate_probability): Use the new FIRST and LAST fields
6033         of the loop descriptor rather than HEADER and LATCH. Also added
6034         missing break statements as well making some coding style modifications
6035         as suggested by Michael Hayes.
6036
6037 2000-01-28  Richard Henderson  <rth@cygnus.com>
6038
6039         * flow.c (find_basic_blocks): Remove do_cleanup argument.
6040         Break out that code ...
6041         (cleanup_cfg): ... here.
6042         (commit_one_edge_insertion): Detect a return instruction being
6043         emitted to an edge.  Emit a barrier following; clear fallthru.
6044         (commit_edge_insertions): Verify CFG consistency.
6045         * function.c (expand_function_start): Kill unused variable.
6046         (expand_function_end): Likewise.
6047         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
6048         to insert the epilogue.
6049
6050         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
6051         (delete_null_pointer_checks): Likewise.
6052         * output.h: Likewise.
6053         * reg-stack.c (reg_to_stack): Likewise.
6054         * toplev.c (rest_of_compilation): Likewise.  Run
6055         thread_prologue_and_epilogue_insns after rebuilding the CFG.
6056
6057 2000-01-28  Richard Henderson  <rth@cygnus.com>
6058
6059         * Makefile.in (flow.o): Revert 24 Jan change.
6060         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
6061         FUNCTION_VALUE result to DECL_RESULT's mode.
6062
6063         * haifa-sched.c (schedule_insns): Don't recompute reg info
6064         after reload.
6065
6066 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
6067
6068         * configure.in: Make --enable-cpplib the default.
6069         * configure: Regenerate.
6070         * gcc.dg/990119-1.c: No longer expected to fail.
6071
6072 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
6073
6074         * jump.c (jump_optimize_1): Delete an optimization that is also done
6075         by merge_blocks in flow.
6076
6077 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6078
6079         * diagnostic.c (build_message_string, output_printf,
6080         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
6081         (build_location_prefix): Fix non-literal format string.
6082
6083 2000-01-27  Richard Henderson  <rth@cygnus.com>
6084
6085         * alpha.md (trunctfsf2): New.
6086
6087 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
6088
6089         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
6090
6091 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6092
6093         * cppinit.c (cpp_handle_option): Recognize C++ comments under
6094         -std=gnu89.
6095         * cpplib.c (skip_block_comment, skip_line_comment): Split code
6096         out of...
6097         (skip_comment) ... here.  Permit C++ comments in system
6098         headers always.  Warn about C++ comments in user code under
6099         -std=gnu89 -pedantic.
6100         (copy_comment): Use skip_comment.
6101         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
6102         return EOF.
6103         (consider_directive_while_skipping, do_else, do_endif): Call
6104         validate_else unconditionally.
6105         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
6106         text after the conditional in a system header.
6107         * cpplib.h (struct cpp_buffer): Add flag
6108         warned_cplusplus_comments.
6109
6110 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6111
6112         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
6113         Use unshare_all_rtl_1.
6114         (unshare_all_rtl_again): New function.
6115         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
6116
6117         * function.c (purge_addressof_1): Use unshare_all_rtl_again
6118         rather than resetting the 'used' flags ourself.
6119
6120         * toplev.c (rest_of_compilation): Add current_function_decl
6121         to the unshare_all_rtl call.
6122         * tree.h: Prototype unshare_all_rtl.
6123         * rtl.h: Prototype unshare_all_rtl_again here.
6124
6125 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
6126
6127         * genoutput.c (output_prologue): Include ggc.h in generated
6128         files.
6129         * Makefile.in (insn-output.o): Depends on ggc.h.
6130
6131 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
6132             Hans-Peter Nilsson  <hp@bitrange.com>
6133
6134         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
6135         Remove redundant include of xm-ns32k.h.
6136         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
6137         Remove redundant include of xm-ns32k.h.
6138         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
6139         Remove redundant include of xm-ns32k.h.
6140         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
6141
6142         * ns32k/ns32k.h: Update comment on multiply-add instructions.
6143         (TARGET_SWITCHES): Add documentation strings.
6144         (DWARF_FRAME_REGNUM): Override default definition.
6145         (REG_CLASS_CONTENTS): Add comments.
6146         (SUBSET_P): Format to reduce line length.
6147         (SMALL_REGISTER_CLASSES): Make a run time option.
6148         (GO_IF_NONINDEXED_ADDRESS): Reformat.
6149         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
6150         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
6151         (regclass_map): fix typo in comment.
6152         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
6153         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
6154         (trace, reg_or_mem_operand): Delete, unused function.
6155         (calc_address_cost): Small offsets are cheaper than large ones.
6156         (expand_block_move): Generate more efficient code when bytes is a
6157         known at compile time.
6158         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
6159         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
6160         instead of reg_or_mem_operand.
6161
6162         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
6163         not general_operand.  Similarly use "=rm" or stricter, not "=g".
6164         For input operands, use stricter constraints than "g" if not
6165         general_operand.  Similarly use stricter predicate than
6166         "general_operand" when stricter constraints than "g" are present,
6167         except for matching constraints.
6168         (movstrsi): Use "memory_operand" for operands 0 and 1.
6169         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
6170         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
6171         not reg_or_mem_operand.
6172         (udivmoddisi4): Ditto.
6173         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
6174         Use nonimmediate_operand for operand 3, not register_operand.
6175         (udivmoddiqi4_internal): Use register_operand for operand 1, not
6176         reg_or_mem_operand.
6177
6178 2000-01-27  Fred Fish  <fnf@be.com>
6179
6180         * gthr-posix.h: Fix typo; compatibily -> compatibility.
6181         * gthr-single.h: Likewise.
6182         * gthr-solaris.h: Likewise.
6183         * gthr-vxworks.h: Likewise.
6184         * gthr-win32.h: Likewise.
6185         * gthr.h: Likewise.
6186
6187 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
6188
6189         * cppinit.c: Add " (cpplib)" to end of string printed by
6190         -v / --version.
6191
6192 2000-01-27  Richard Henderson  <rth@cygnus.com>
6193
6194         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
6195         testing for a signed comparison.
6196         (alpha_emit_floatuns): New.
6197         * alpha-protos.h: Declare it.
6198         * alpha.md (floatunsdisf2, floatunsdidf2): New.
6199         (extendsfdf2): Tidy.
6200
6201 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
6202
6203         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
6204         no -g option specifying debugging format, default to -gstabs+.
6205
6206 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
6207
6208         * calls.c (special_function_p): New argument fork_or_exec.
6209         (expand_call): When profile_arc_flag is set and the function
6210         is in the fork_or_exec group, call __bb_fork_func first.
6211         * libgcc2.c, _bb module (__bb_fork_func): New function.
6212         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
6213         output file.
6214         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
6215         * tree.h (special_function_p): Update prototype.
6216
6217 2000-01-26  Richard Henderson  <rth@cygnus.com>
6218
6219         * alpha.c (alpha_split_tfmode_pair): New.
6220         * alpha-protos.h: Declare it.
6221         * alpha.md (abstf2, negtf2): New.
6222         (movtf insn): Add input G constraint.
6223         (movtf splitter): Use alpha_split_tfmode_pair.
6224
6225 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6226
6227         * i386/cygwin.h: PROTO -> PARAMS.
6228
6229 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
6230
6231         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
6232         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
6233         using _Qp_cmp/_Q_cmp and testing the return value.
6234         (print_operand): Call reverse_condition_maybe_unordered if
6235         we are handling CCFPmode or CCFPEmode.
6236         Handle ORDERED, UN* and LTGT comparisons.
6237         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
6238         if not TARGET_HARD_QUAD.
6239         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
6240         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
6241         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
6242         Adjust gen_b* calls so that they reflect return comparison of
6243         sparc_emit_float_lib_cmp.
6244
6245 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6246
6247         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
6248         incoming operands array is large enough for one more operand.
6249         (alpha_emit_xfloating_arith): Likewise.
6250
6251 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6252
6253         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
6254         file with one line and no trailing newline.
6255         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
6256         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
6257         checking if the match is on the line.
6258         * fixinc/gnu-regex.c: Provide regerror not __regerror.
6259
6260 2000-01-25  Richard Henderson  <rth@cygnus.com>
6261
6262         * sparc.c (output_cbranch): Fix accidental squashing of the
6263         fp branch pre-delay nop.
6264
6265 2000-01-25  Richard Henderson  <rth@cygnus.com>
6266
6267         * tree.def (UNNE_EXPR): Remove.
6268         * c-typeck.c (build_binary_op): Don't handle it.
6269         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
6270
6271         * rtl.def (UNNE): Remove.
6272         (LTGT): Add.
6273         * jump.c (reverse_condition): Update accordingly.
6274         (swap_condition): Likewise.
6275         (comparison_dominates_p): Handle unordered comparisons.
6276         (reverse_condition_maybe_unordered): New.
6277         * rtl.h (reverse_condition_maybe_unordered): Declare.
6278
6279         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
6280         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
6281         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
6282         * sparc.md (bltgt): New.
6283
6284 2000-01-25  Nick Clifton  <nickc@redhat.com>
6285
6286         * emit-rtl.c (emit_insn): Only check machine class insns for
6287         improper emission of a RETURN.
6288
6289 2000-01-25  Richard Henderson  <rth@cygnus.com>
6290
6291         * Makefile.in (flow.o): Depend on $(EXPR_H).
6292         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
6293         duplicate the structure of diddle_return_value for keeping regs live.
6294
6295 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6296
6297         * loop.c (current_loop_info): Delete.
6298         (consec_sets_invariant_p): Add loop argument, update callers.
6299         (get_condition_for_loop): Likewise.
6300         (count_nonfixed_reads, update_giv_derive): Likewise.
6301         (simplify_giv_expr, general_induction_var): Likewise.
6302         (consec_sets_giv, recombine_givs): Likewise.
6303         (move_movables): Delete loop_start and loop_end arguments,
6304         add loop argument, and update callers.
6305         (find_mem_givs, check_final_value): Likewise.
6306         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
6307         (loop_invariant_p): Rename from invariant_p, add loop argument, and
6308         update callers.
6309         (basic_induction_var): Add loop argument, delete loop_level argument,
6310         and update callers.
6311         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
6312         add loop argument, and update callers.
6313         (find_splittable_regs, find_splittable_givs): Likewise.
6314         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
6315         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
6316         (biv_total_increment): Delete loop_start and loop_end arguments;
6317         update callers.
6318         (precondition_loop_p): Delete loop_start and loop_info arguments;
6319         update callers.
6320         * loop.h (get_condition_for_loop): Add loop argument.
6321         (biv_total_increment): Delete loop_start and loop_end arguments.
6322         (precondition_loop_p): Delete loop_start and loop_info arguments;
6323         add loop argument.
6324         (final_biv_value): Delete loop_start and loop_end arguments;
6325         add loop argument.
6326         (final_giv_value, back_branch_in_range_p): Likewise.
6327
6328 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6329
6330         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
6331
6332 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
6333
6334         * Makefile.in (c-gperf.h) : Change the "See" pointer to
6335         point to the new "generated_files" doc.
6336
6337 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6338
6339         * config/fp-bit.c (_unord_f2): Fix typo.
6340
6341 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6342
6343         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
6344         c-typeck.c, objc/objc-act.c: Remove all references to obstack
6345         functions obsoleted by GC, such as push_obstacks_nochange,
6346         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
6347         and code which existed only to decide whether or not to call
6348         them.  Remove now-unused NESTED argument from start_function;
6349         all callers changed.  Do not change behavior based on ggc_p.
6350         The use of the ixp_obstack in c-iterate.c and the util_obstack
6351         in objc/objc-act.c remain; these are not obsoleted by garbage
6352         collection.
6353         * c-tree.h: Update prototype for start_function.
6354
6355         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
6356
6357 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
6358
6359         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
6360         mips16.
6361
6362 2000-01-25  Richard Henderson  <rth@cygnus.com>
6363
6364         * sparc-protos.h (select_cc_mode): Declare.
6365         * sparc.c (select_cc_mode): New.  Handle unordered compares.
6366         (output_cbranch): Always reverse via code change.  Handle
6367         unordered compares.  Factor tests and string updates.
6368         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
6369         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
6370         * sparc.md (bunordered, bordered): New.
6371         (bungt, bunlt, buneq, bunge, bunle): New.
6372
6373 2000-01-25  Richard Henderson  <rth@cygnus.com>
6374
6375         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
6376         * ggc-common.c (ggc_add_rtx_varray_root): New.
6377         (ggc_mark_rtx_varray): New.
6378         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
6379         functions down below ggc_mark_foo.
6380         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
6381
6382 2000-01-25  Richard Henderson  <rth@cygnus.com>
6383
6384         * alpha.c (secondary_reload_class): Don't allocate a secondary
6385         for integral mode memories into FLOAT_REGS.  Rearrange the more
6386         complicated memory expression inward.
6387
6388 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
6389
6390         * inclhack.def: Fixes to play nicer with FreeBSD, and
6391         corrections to comments.
6392         (cxx_unready): Add select expression.
6393         (irix_sockaddr): Add bypass expression.
6394         (machine_ansi_h_va_list): New fix.
6395         (stdio_va_list): No need to edit _BSD_VA_LIST_.
6396         Split out addition of "#include <stdarg.h>" to...
6397         (stdio_stdarg_h): ... here.
6398         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
6399         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
6400         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
6401         size_t.
6402         (ultrix_ifdef): Tighten up select expression.
6403
6404         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
6405         re_ct and max_mach to avoid use of shell.  Make printed names
6406         match names in inclhack.def.  Use static copyright date.
6407         Don't count c_test and test expressions as requiring regex_t
6408         slots.  Add some commentary.
6409         * inclhack.tpl: Do not include the 'This script contains N
6410         fixup scripts' line if PROGRAM is defined.  Use static
6411         copyright date.
6412
6413 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
6414
6415         * dwarf2out.c: include "varray.h", not dyn-string.h.
6416         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
6417         (addr_const_to_string, addr_to_string): Lose.
6418         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
6419         (struct dw_val_struct): val_addr is now an rtx.
6420         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
6421         (used_rtx_varray): New varray.
6422         (dwarf2out_init): Initialize it.
6423         (save_rtx): New fn.
6424         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
6425         addr_to_string.
6426         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
6427         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
6428         * Makefile.in (dwarf2out.o): Update dependencies.
6429
6430 2000-01-24  Richard Henderson  <rth@cygnus.com>
6431
6432         * i386.c (i386_dwarf_output_addr_const): New.
6433         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
6434
6435         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
6436         if defined.
6437         * dwarfout.c (output_mem_loc_descriptor): Likewise.
6438         * i386.c (i386_simplify_dwarf_addr): New.
6439         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
6440
6441 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
6442
6443         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
6444         TYPE_STUB_DECL is NULL.
6445
6446 2000-01-24  Richard Henderson  <rth@cygnus.com>
6447
6448         * builtins.c (expand_tree_builtin): Move ...
6449         * c-common.c (expand_tree_builtin): ... here.
6450
6451 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6452
6453         * loop.h (LOOP_INFO): New accessor macro.
6454         * basic-block.h (struct loop): Rename field `info' to `aux'.
6455         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
6456         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
6457         * unroll.c (loop_iterations, unroll_loop): Likewise.
6458
6459 2000-01-24  Christopher Faylor <cgf@cygnus.com>
6460
6461         * config/i386/t-cygwin: Accomodate new winsup directory layout
6462         when searching for include files.
6463
6464 2000-01-24  Richard Henderson  <rth@cygnus.com>
6465
6466         * rtl.def: Add unordered fp comparisions.
6467         * tree.def: Likewise.
6468         * tree.h: Add ISO C 9x unordered fp comparision builtins.
6469
6470         * builtins.c (expand_tree_builtin): New function.
6471         * c-typeck.c (build_function_call): Use it.
6472         (build_binary_op): Support unordered compares.
6473         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
6474
6475         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
6476         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
6477         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
6478         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
6479         * jump.c (reverse_condition): Don't abort for UNLE etc, but
6480         return UNKNOWN.
6481         (swap_condition): Handle unordered compares.
6482         (thread_jumps): Check can_reverse before reversing.
6483         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
6484         reversed for FP.
6485
6486         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
6487         setcc is present before acking for cmp_optab.  Update all callers.
6488         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
6489         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
6490         * expr.c (expand_expr): Likewise.  Support unordered compares.
6491         (do_jump, do_store_flag): Likewise.
6492         * expr.h (enum libfunc_index): Add unordered compares.
6493
6494         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
6495         (DPBIT_FUNCS): Add _unord_df.
6496         * config/fp-bit.c (_unord_f2): New.
6497         * fp-test.c (main): Try unordered compare builtins.
6498
6499         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
6500         * alpha.c (alpha_comparison_operator): Check mode properly.
6501         (alpha_swapped_comparison_operator): Likewise.
6502         (signed_comparison_operator): Likewise.
6503         (alpha_fp_comparison_operator): New.
6504         (alpha_emit_conditional_branch): Handle unordered compares.
6505         * alpha.h (PREDICATE_CODES): Update.
6506         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
6507         (bunordered, bordered): New.
6508
6509 2000-01-24  Richard Henderson  <rth@cygnus.com>
6510
6511         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
6512         * alpha.md (movtf): New expander, insn, and splitter.
6513
6514 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
6515
6516         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
6517         dead registers.
6518
6519 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
6520
6521         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
6522         (FIXED_REGISTERS, CALL_USED_REGISTERS,
6523          REG_ALLOC_ORDER): Add frame pointer
6524         (FRAME_POINTER_REGNUM): Set to 20
6525         (HARD_FRAME_POINTER_REGNUM): New macro.
6526         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
6527         to HARD_FRAME_POINTER.
6528         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
6529         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
6530         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
6531         (HI_REGISTER_NAMES): Add "frame".
6532         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
6533         (debug_reg): Handle FRAME_POINTER_REGNUM.
6534         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
6535         GENERAL_REGS and INDEX_REGS.
6536         * i386.c (SAVED_REGS_FIRST): new macro.
6537         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
6538         (ix86_decompose_address, memory_address_length): Likewise.
6539         (regclass_map): Add frame pointer.
6540         (call_insn_operand): Handle frame_pointer_rtx.
6541         (reg_no_sp_operand): Likewise.
6542         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
6543         (print_operand, legitimize_pic_address): Fix formating.
6544         (ix86_compute_frame_size): Make static, update prototype, new
6545         parameters padding1, padding2, use ix86_nsaved_regs, use
6546         stack_alignment_needed.
6547         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
6548         to HARD_FRAME_POINTER_REGNUM conversions.
6549         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
6550         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
6551         (print_reg): Abort on FRAME_POINTER_REGNUM
6552
6553 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
6554
6555         * i386.h (PREDICATE_CODES): Add aligned_operand.
6556         * i386.c (aligned_operand): New function.
6557         (ix86_aligned_p): Kill.
6558         * i386.md (movhi_1): Emit mov for aligned operands.
6559         (promoting peep2s): Use aligned_operand.
6560
6561 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
6562
6563         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
6564         expression to allow underscores in macro names.
6565         (fix_char_macro_defines): Increment scanning pointer.
6566
6567 2000-01-23  Richard Henderson  <rth@cygnus.com>
6568
6569         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
6570         * alpha/osf5.h: New file.
6571         * configure.in (alpha-*-osf5): Add it to tm_file.
6572
6573         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
6574
6575         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
6576         (alpha_emit_xfloating_cvt, function_arg): Declare.
6577         * alpha.c (alpha_emit_conditional_branch): Call
6578         alpha_emit_xfloating_compare for TFmode compares.
6579         (alpha_lookup_xfloating_lib_func): New.
6580         (alpha_compute_xfloating_mode_arg): New.
6581         (alpha_emit_xfloating_libcall): New.
6582         (alpha_emit_xfloating_arith): New.
6583         (alpha_emit_xfloating_compare): New.
6584         (alpha_emit_xfloating_cvt): New.
6585         (print_operand): Add default abort case.
6586         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
6587         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
6588         (BIGGEST_ALIGNMENT): Increase to 128 bits.
6589         (RETURN_IN_MEMORY): True for TF/TCmode.
6590         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
6591         (FUNCTION_ARG): Move to function_arg.
6592         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
6593         (ASM_OUTPUT_LONG_DOUBLE): New.
6594         (ASM_OUTPUT_DOUBLE): Always output bits.
6595         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
6596         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
6597         (extenddftf2, trunctfdf2): New.
6598
6599 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6600
6601         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
6602         * config/sparc/sol2.h: ... here.
6603
6604 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6605
6606         * basic-block.h (struct loops): New field `levels'.
6607         * flow.c (flow_loops_level_compute): Traverse all outer loops.
6608         (flow_loop_level_compute): Initialise level to 1.
6609         (flow_loops_find): Set loops->levels.
6610         (flow_loops_dump): Print loops->levels.
6611
6612 2000-01-23  Richard Henderson  <rth@cygnus.com>
6613
6614         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
6615         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
6616
6617 2000-01-23  Richard Henderson  <rth@cygnus.com>
6618
6619         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
6620         * i386.h (DBX_REGISTER_NUMBER): Use them.
6621         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
6622         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
6623         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
6624         * i386/sequent.h: Kill incorrect comment.
6625
6626 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
6627
6628         * ggc-page.c (struct page_entry): Make `context_depth' an
6629         `unsigned short'.
6630         (struct globals): Likewise.
6631
6632 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
6633
6634         * loop.c (check_dbra_loop): When checking a loop for
6635         reversability, check the source of any stores to ensure
6636         they don't depend on an initial value.
6637
6638 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6639
6640         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
6641
6642 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
6643
6644         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
6645         'pz_scan' into scope of entire function.  Only affects
6646         compiles with -DDEBUG.
6647
6648 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
6649
6650         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
6651         section naming to that prior to 2000-01-07 patch.
6652         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
6653         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
6654         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
6655         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
6656         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
6657
6658 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
6659
6660         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
6661         constant.
6662
6663 2000-01-21  Jim Wilson  <wilson@cygnus.com>
6664
6665         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
6666         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
6667
6668 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
6669
6670         * cpphash.c (change_newlines): Delete function.
6671         (struct argdata): Delete 'newlines' and 'use_count' fields.
6672         (macroexpand): Remove code referencing those fields.
6673
6674 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6675
6676         * loop.c (loops_info): New variable.
6677         (loop_optimize): Allocate loops->array and free it on exit.
6678         Allocate memory for loops_info and assign to each loop,
6679         replacing alloca.
6680         (find_and_verify_loops): Do not allocate loops->array.
6681
6682 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
6683
6684         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
6685
6686 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
6687
6688         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
6689         pseudos if expanded after first flow.
6690         (movdi_pic_label_ref): Likewise.
6691
6692 2000-01-20  Richard Henderson  <rth@cygnus.com>
6693
6694         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
6695
6696 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
6697
6698         * Makefile.in (fixinc.sh): Depend on specs.
6699         * fixinc/Makefile.in: Add rule to create machname.h.
6700         (fixlib.o): Depend on machname.h.
6701         * fixinc/fixtests.c (machine_name): New test.
6702         * fixinc/fixfixes.c (machine_name): New fix.
6703         * fixinc/fixlib.c (mn_get_regexps): New helper function for
6704         the machine_name test and fix.
6705         * fixinc/fixlib.h: Prototype it.
6706         * fixinc/inclhack.def (machine_name): Use the C test and fix.
6707         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
6708
6709         * gcc.c (do_spec_1) [case P]: Take care not to create
6710         identifiers with three leading or trailing underscores.
6711
6712         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
6713         (fixincl): Don't specify libraries twice on link line.
6714         (gnu-regex.o): Remove special rule.
6715         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
6716         defined by config.h.  Do not define _REGEX_RE_COMP.
6717         (regcomp): Allocate and initialize a fastmap.
6718         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
6719
6720 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
6721
6722         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
6723
6724 2000-01-19  Richard Henderson  <rth@cygnus.com>
6725
6726         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
6727         arguments with BB.  Update all callers.  Tidy line wrapping.
6728
6729 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
6730
6731         * emit-rtl.c (try_split): Return last_insn if we split the
6732         last_insn.
6733
6734 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
6735
6736         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
6737         (ix86_initial_elimination_offset): Declare.
6738         * i386.c (ix86_nsaved_regs): Break out from ...
6739         (ix86_can_use_return_insn_p): ... here.
6740         (ix86_emit_save_regs): Break out from ...
6741         (ix86_expand_prologue): ... here.
6742         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
6743         out from ...
6744         (ix86_expand_epilogue): ... here.
6745         (ix86_compute_frame_size): Make static, add prototype.
6746         (ix86_initial_elimination_offset): Break out from ...
6747         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
6748
6749 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6750
6751         * recog.h (OUT_FCN): Delete.
6752
6753         * vax.md: Call `get_insn_template' instead of OUT_FCN.
6754
6755 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6756
6757         * cppalloc.c: PROTO -> PARAMS.
6758         * cpperror.c: Likewise.
6759         * cppfiles.c: Likewise.
6760         * cpplib.c: Likewise.
6761         * cpplib.h: Likewise.
6762
6763         * config/arm/arm-protos.h: PROTO -> PARAMS.
6764         * config/arm/arm.c: Likewise.
6765         * config/c4x/c4x.c: Likewise.
6766         * config/fr30/fr30-protos.h: Likewise.
6767         * config/nextstep.c: Likewise.
6768         * config/pa/pa.c: Likewise.
6769         * config/pj/pj.c: Likewise.
6770         * config/rs6000/rs6000.c: Likewise.
6771         * config/v850/v850-protos.h: Likewise.
6772         * config/v850/v850.c: Likewise.
6773
6774 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6775
6776         * i370-protos.h: New file.
6777
6778         * i370.c: Include tm_p.h.  Fix compile time warnings.
6779
6780         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
6781         warnings.
6782
6783         * i370.md: Likewise.
6784
6785 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6786
6787         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
6788         (target_isinf, target_isnan, eisnan): Mark parameter with
6789         ATTRIBUTE_UNUSED.
6790         (eiisinf): Wrap in INFINITY.
6791         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
6792         (ibmtoe): Remove unused variable `rndsav'.
6793
6794 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6795
6796         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
6797         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
6798
6799 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
6800
6801         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
6802         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
6803         (fix_char_macro_defines, fix_char_macro_uses): New functions.
6804
6805         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
6806         Recognize Emacs mode markers also.
6807         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
6808         C++ comments in C++ headers.  Call is_cxx_header only if
6809         necessary.
6810
6811         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
6812         bypass for ncurses.
6813         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
6814         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
6815         ... these, which use the new C fixes.
6816         (math_exception): Escape literal '+' in bypass expression.
6817
6818         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
6819         Regenerate.
6820
6821 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
6822
6823         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
6824         inside the MEM.
6825
6826 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6827
6828         * loop.c (loop_optimize): Allocate loop_info structure for each loop
6829         prior to calling scan_loop.
6830
6831 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6832
6833         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
6834         (split_branches, calc_live_regs): Likewise.
6835
6836 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6837
6838         * sh.md (fpu_single, fp_mode): New attributes.
6839
6840 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6841
6842         * loop.c (current_loop_info): Renamed from loop_info_data
6843         and changed to a pointer.
6844         (loop_optimize): Allocate loop_info structure for each loop
6845         and initialise to zero.
6846         (scan_loop): Set current_loop_info.
6847
6848         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
6849         on iteration_var.
6850
6851 2000-01-19  Richard Henderson  <rth@cygnus.com>
6852
6853         * stupid.c: Die die die.
6854         * Makefile.in (OBJS): Remove stupid.o.
6855         (stupid.o): Likewise.
6856
6857         * except.c (emit_eh_context): Don't emit USEs for stupid.
6858         * explow.c (probe_stack_range): Likewise.
6859         * flags.h (obey_regdecls): Remove.
6860         * flow.c (find_basic_blocks): Don't run try_merge_blocks
6861         when not optimizing.
6862         (life_analysis): Limit data collection when not optimizing.
6863         (mark_regs_live_at_end): Always mark the return value registers.
6864         (mark_used_regs): Remove dummy RETURN case.
6865         (print_rtl_with_bb): Don't consult obey_regdecls.
6866         * function.c (use_variable, use_variable_after): Remove.
6867         (assign_parms): Consult optimize not obey_regdecls.
6868         (expand_function_start): Don't emit USEs for stupid.
6869         (expand_function_end): Likewise.
6870         * global.c (build_insn_chain): Export.
6871         * integrate.c (expand_inline_function): Kill return-value USE
6872         handling code.
6873         * jump.c (jump_optimize_1): Do simple jump optimizations and
6874         dead code elimination.
6875         (calculate_can_reach_end): Remove check_deleted argument.
6876         (delete_insn): Patch out insns even when not optimizing.
6877         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
6878         * rtl.h (use_variable, use_variable_after): Remove declarations.
6879         (build_insn_chain): Declare.
6880         * stmt.c (expand_value_return): Don't emit USEs for stupid.
6881         (expand_end_bindings): Likewise.
6882         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
6883         * toplev.c (obey_regdecls): Remove.
6884         (rest_of_compilation): Don't set it.  Kill stupid in favour of
6885         flow1, local-alloc, and reload.
6886         (main): Don't set obey_regdecls.
6887
6888         * config/nextstep.c (handle_pragma): Likewise.
6889
6890         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
6891
6892         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
6893
6894 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6895
6896         * alpha-protos.h: PROTO -> PARAMS.
6897         * alpha.c: Likewise.
6898         * elf.h: Likewise.
6899         * h8300.c: Likewise.
6900         * i386-protos.h: Likewise.
6901         * i386.c: Likewise.
6902         * m32r-protos.h: Likewise.
6903         * m32r.c: Likewise.
6904         * mips.c: Likewise.
6905         * mips.md: Likewise.
6906         * gmon-sol2.c: Likewise.
6907         * sparc.c: Likewise.
6908
6909 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6910
6911         * ns32k-protos.h: New file.
6912
6913         * ns32k.c: Fix compile time warnings.
6914
6915         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
6916         warnings.
6917
6918         * ns32k.md: Likewise.
6919
6920 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6921
6922         * vax-protos.h: New file.
6923
6924         * vax.c: Fix compile time warnings.
6925
6926         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
6927         warnings.
6928
6929         * vax.md: Likewise.
6930
6931         * vaxv.md: Likewise.
6932
6933 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6934
6935         * romp-protos.h: New file.
6936
6937         * romp.c: Fix compile time warnings.
6938
6939         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
6940         warnings.
6941
6942         * romp.md: Likewise.
6943
6944 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6945
6946         * we32k-protos.h: New file.
6947
6948         * we32k.c: Fix compile time warnings.
6949
6950         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
6951         warnings.
6952
6953 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6954
6955         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
6956
6957         * except.c (eh_regs): Likewise.
6958
6959         * final.c (output_operand): Likewise.
6960
6961         * fold-const.c (target_isinf, target_isnan): Likewise.
6962
6963 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
6964
6965         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
6966         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
6967
6968         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
6969         when optimize_size.
6970         (clrstrsi): Rewrite.
6971         (strsethi, strsetqi): New expanders.
6972         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
6973         (cmpstrsi): Emit compare insn before cmpstrsi_1
6974         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
6975         (strlensi_1): Likewise.
6976         (cmpstrsi_1): Likewise; do not output compare.
6977         (strlen expander): Do not unroll when optimizing for size.
6978         (*subsi3_carry): Rename to subsi3_carry
6979         (addqi3_cc): New pattern.
6980         * i386.h (processor_costs): Add move_ratio field.
6981         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
6982         * i386.c (*_cost): Set move_ratio.
6983         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
6984         (x86_expand_strlensi_1): Rewrite the main loop.
6985
6986 2000-01-17  Richard Henderson  <rth@cygnus.com>
6987
6988         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
6989         * cse.c (find_comparison_args, fold_rtx): Likewise.
6990         * integrate.c (subst_constants): Likewise.
6991         * loop.c (get_condition): Likewise.
6992
6993         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
6994
6995         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
6996
6997 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6998
6999         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
7000         (RESTORE_WARN_FLAGS): Unpack it.
7001         Change semantic type of extension to ttype.
7002         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
7003         * c-parse.y, c-parse.c, objc/objc-parse.y,
7004         objc/objc-parse.c: Regenerate.
7005
7006 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
7007
7008         * fixinc/fixlib.c: Add copyright notice.
7009         (compile_re): New function.
7010         * fixinc/fixlib.h: Prototype compile_re.
7011
7012         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
7013         Use compile_re to compile regular expressions.
7014
7015         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
7016         where the pattern matched.
7017
7018         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
7019         use 'replace'.
7020         (ultrix_ansi_compat): Likewise.
7021         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
7022         add egrep test.
7023         (interactv_add2, interactv_add3): Delete.
7024         (x11_sprintf): Don't use filename glob.
7025         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
7026         Regenerate.
7027
7028 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7029
7030         * print-rtl.c: PROTO -> PARAMS.
7031         * real.c: Likewise.
7032         * reg-stack.c: Likewise.
7033         * resource.c: Likewise.
7034         * sdbout.h: Likewise.
7035         * simplify-rtx.c: Likewise.
7036         * stor-layout.c: Likewise.
7037         * stupid.c: Likewise.
7038         * xcoffout.c: Likewise.
7039         * xcoffout.h: Likewise.
7040
7041 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7042
7043         * toplev.c: PROTO -> PARAMS.
7044         * toplev.h: Likewise.
7045         * tree.c: Likewise.
7046         * tree.h: Likewise.
7047         * unroll.c: Likewise.
7048         * varasm.c: Likewise.
7049         * varray.c: Likewise.
7050         * varray.h: Likewise.
7051
7052 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7053
7054         * reload.c: PROTO -> PARAMS.
7055         * reload.h: Likewise.
7056         * reload1.c: Likewise.
7057         * reorg.c: Likewise.
7058         * resource.h: Likewise.
7059         * rtl.c: Likewise.
7060         * rtl.h: Likewise.
7061         * rtlanal.c: Likewise.
7062         * sbitmap.h: Likewise.
7063         * sdbout.c: Likewise.
7064         * stack.h: Likewise.
7065         * stmt.c: Likewise.
7066         * system.h: Likewise.
7067
7068 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7069
7070         * machmode.h: PROTO -> PARAMS.
7071         * mbchar.h: Likewise.
7072         * mips-tdump.c: Likewise.
7073         * mips-tfile.c: Likewise.
7074         * optabs.c: Likewise.
7075         * output.h: Likewise.
7076         * prefix.c: Likewise.
7077         * profile.c: Likewise.
7078         * protoize.c: Likewise.
7079         * real.h: Likewise.
7080         * recog.c: Likewise.
7081         * recog.h: Likewise.
7082         * regclass.c: Likewise.
7083         * regmove.c: Likewise.
7084         * regs.h: Likewise.
7085
7086 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7087
7088         * ggc-common.c: PROTO -> PARAMS.
7089         * ggc-page.c: Likewise.
7090         * ggc-simple.c: Likewise.
7091         * ggc.h: Likewise.
7092         * global.c: Likewise.
7093         * graph.c: Likewise.
7094         * gthr-win32.h: Likewise.
7095         * haifa-sched.c: Likewise.
7096         * halfpic.h: Likewise.
7097         * integrate.c: Likewise.
7098         * integrate.h: Likewise.
7099         * jump.c: Likewise.
7100         * lcm.c: Likewise.
7101         * local-alloc.c: Likewise.
7102         * loop.c: Likewise.
7103         * loop.h: Likewise.
7104
7105 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7106
7107         * genattr.c: PROTO -> PARAMS.
7108         * genattrtab.c: Likewise.
7109         * gencheck.c: Likewise.
7110         * gencodes.c: Likewise.
7111         * genconfig.c: Likewise.
7112         * genemit.c: Likewise.
7113         * genextract.c: Likewise.
7114         * genflags.c: Likewise.
7115         * gengenrtl.c: Likewise.
7116         * genopinit.c: Likewise.
7117         * genoutput.c: Likewise.
7118         * genpeep.c: Likewise.
7119         * genrecog.c: Likewise.
7120
7121 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
7122
7123         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
7124
7125 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7126
7127         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
7128         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
7129         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
7130         * configure, config.in: Rebuilt.
7131
7132 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
7133
7134         * config/i386/i386.md: Add peephole to merge successive stack
7135         adjusts.
7136
7137 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
7138
7139         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
7140         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
7141         when walking backwards to find all the parameter loads when
7142         the basic block ends in a call.
7143
7144 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7145
7146         * loop.c (this_loop_info): Delete.
7147         (uid_loop): Add in place of uid_loop_num.  All uses updated.
7148         (loop_number_exit_count): Delete and replace with entry in loop
7149         structure.  All uses updated.
7150         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7151         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7152         (loop_outer_loop): Likewise.
7153         (loop_invalid, loop_number_exit_labels): Likewise.
7154         (loop_used_count_register): Delete and replace with entry in
7155         loop_info structure.
7156         (find_and_verify_loops): Add loops argument.
7157         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
7158         loop_end, etc. arguments with loop structure pointer.  All callers
7159         changed.
7160         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
7161         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
7162         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
7163         (insert_bct): Likewise.
7164         (basic_induction_var): New argument level.
7165         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
7166         vtop, and cont.  Add used_count_register.
7167         (uid_loop): Delete declaration.
7168         (loop_number_exit_count): Likewise.
7169         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
7170         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
7171         (loop_outer_loop, loop_used_count_register): Likewise.
7172         (loop_invalid, loop_number_exit_labels): Likewise.
7173         (unroll_loop): Replace loop_start and loop_end arguments
7174         with loop structure pointer.
7175         (loop_precondition_p, loop_iterations): Likewise.
7176         Include basic-block.h.
7177         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
7178         with loop structure pointer.
7179         (loop_precondition_p, loop_iterations): Likewise.
7180         * basic-block.h (struct loop): New entries vtop, cont,
7181         cont_dominator, start, end, top, scan_start, exit_labels,
7182         exit_count.
7183         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
7184
7185 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
7186
7187         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
7188
7189 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
7190
7191         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
7192
7193 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7194
7195         * pdp11-protos.h: New file.
7196
7197         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
7198         time warnings.
7199
7200         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
7201         warnings.
7202
7203         * pdp11.md: Likewise.
7204
7205         * 2bsd.h: Likewise.
7206
7207 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7208
7209         * mn10300-protos.h: New file.
7210
7211         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7212         time warnings.
7213
7214         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
7215         warnings.
7216
7217         * mn10300.md: Likewise.
7218
7219 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7220
7221         * mn10200-protos.h: New file.
7222
7223         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
7224         time warnings.
7225
7226         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
7227         warnings.
7228
7229         * mn10200.md: Likewise.
7230
7231 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7232
7233         * h8300-protos.h: New file.
7234
7235         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
7236         time warnings.
7237
7238         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
7239         warnings.
7240
7241         * h8300.md: Likewise.
7242
7243 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7244
7245         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
7246         (asm_emit_uninitialised): Likewise.
7247
7248 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
7249
7250         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
7251         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
7252
7253 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7254
7255         * config/mips/mips.c (override_options): Don't turn on extra
7256         alignment for mips16.
7257
7258 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7259
7260         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
7261         eabi, and make sure queued POSTINCREMENT rtl is emitted at
7262         the right point.
7263
7264 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7265
7266         * builtins.c (PAD_VARARGS_DOWN): Define.
7267         (std_expand_builtin_va_arg): Use the above macro.
7268         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
7269         * tm.texi (Register Arguments): Document the above macro.
7270
7271 2000-01-14  Nick Clifton  <nickc@cygnus.com>
7272
7273         * emit-rtl.c (emit_insn): If checking is enabled, make sure
7274         that this function has not been used to emit a jump
7275         instruction.
7276
7277         * jump.c (return_jump_1): Cope with being passed a null rtx.
7278
7279 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7280
7281         * eh-common.h: PROTO -> PARAMS.
7282         * emit-rtl.c: Likewise.
7283         * errors.c: Likewise.
7284         * errors.h: Likewise.
7285         * except.c: Likewise.
7286         * except.h: Likewise.
7287         * explow.c: Likewise.
7288         * expmed.c: Likewise.
7289         * expr.c: Likewise.
7290         * expr.h: Likewise.
7291         * final.c: Likewise.
7292         * fix-header.c: Likewise.
7293         * flow.c: Likewise.
7294         * fold-const.c: Likewise.
7295         * function.c: Likewise.
7296         * function.h: Likewise.
7297         * gcc.c: Likewise.
7298         * gcov-io.h: Likewise.
7299         * gcov.c: Likewise.
7300         * gcse.c: Likewise.
7301
7302 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7303
7304         * sh-protos.h: New file.
7305
7306         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
7307         Add static prototypes.  Fix compile time warnings.
7308
7309         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
7310         * sh.md: Likewise.
7311         * elf.h: Likewise.
7312
7313 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7314
7315         * arc-protos.h: New file.
7316
7317         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
7318         time warnings.
7319
7320         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
7321         warnings.
7322
7323         * arc.md: Likewise.
7324
7325 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7326
7327         * dsp16xx-protos.h: New file.
7328
7329         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
7330         time warnings.
7331
7332         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
7333         warnings.
7334
7335         * dsp16xx.md: Likewise.
7336
7337 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7338
7339         * convex-protos.h: New file.
7340
7341         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
7342         time warnings.
7343
7344         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
7345         warnings.
7346
7347 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7348
7349         * elxsi-protos.h: New file.
7350
7351         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
7352         time warnings.
7353
7354         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
7355         warnings.
7356
7357         * elxsi.md: Likewise.
7358
7359 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
7360
7361         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
7362         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
7363         match the comment for MIPS16.
7364
7365 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
7366
7367         * flow.c (split_edge): Do not call set_block_for_insn if we
7368         do not have a basic_block_for_insn structure.
7369
7370         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
7371         and destination functions are 32bit aligned within the trampoline.
7372         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
7373         (TRAMPOLINE_ALIGNMENT): Define.
7374
7375         * cse.c (cse_insn): When changing (set (pc) (reg)) to
7376         (set (pc) (label_ref)), verify the change creates a valid insn.
7377
7378         * fr30.c (call_operand): Tighten and rework to match rules for
7379         call RTL expressions.
7380         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
7381         * fr30.md (call patterns): Improve constraints.
7382
7383 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
7384
7385         * fr30.c (fr30_expand_epilogue): Revert last change.
7386         Use emit_jump_insn for the return insn.
7387
7388 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
7389                           Stan Cox  <scox@cygnus.com>
7390
7391         * predict.c: New file. Preliminary infrastructure work for static
7392         branch prediction and basic block reordering.
7393         * basic-block.h: Add prototype for estimate_probability.
7394         * Makefile.in: Add rules for predict.o.
7395
7396 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
7397
7398         * fixincludes (va_list): Use __not_va_list__ for the dummy.
7399         * fixinc/*: Likewise.
7400
7401 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7402
7403         * cccp.c: PROTO -> PARAMS.
7404         * cexp.y: Likewise.
7405         * collect2.c: Likewise.
7406         * combine.c: Likewise.
7407         * convert.h: Likewise.
7408         * cse.c: Likewise.
7409         * dbxout.c: Likewise.
7410         * dbxout.h: Likewise.
7411         * diagnostic.c: Likewise.
7412         * doprint.c: Likewise.
7413         * dwarf2out.c: Likewise.
7414         * dwarf2out.h: Likewise.
7415         * dwarfout.c: Likewise.
7416         * dwarfout.h: Likewise.
7417         * dyn-string.h: Likewise.
7418
7419 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7420
7421         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
7422         macro conditionals guarding use.
7423
7424         * dwarf2out.c: Include "tm_p.h".
7425
7426         * function.c (locate_and_pad_parm): Mark parameter with
7427         ATTRIBUTE_UNUSED.
7428         (expand_function_end): Likewise for variable `context'.
7429
7430         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
7431
7432 2000-01-13  Nick Clifton  <nickc@cygnus.com>
7433
7434         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
7435         register to prevent compile time warnings.
7436
7437 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
7438
7439         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
7440         to avoid -Wtraditional warning.
7441
7442 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7443
7444         * 1750a-protos.h: New file.
7445
7446         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
7447         time warnings.
7448
7449         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
7450         warnings.
7451
7452         * 1750a.md: Likewise.
7453
7454 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7455
7456         * a29k-protos.h: New file.
7457
7458         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7459         time warnings.
7460
7461         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
7462         warnings.
7463
7464 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7465
7466         * clipper-protos.h: New file.
7467
7468         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
7469         time warnings.
7470
7471         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
7472         warnings.
7473
7474 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
7475
7476         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
7477
7478 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
7479
7480         * configure.in (--enable-new-gxx-abi): New option.
7481         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
7482         * Makefile.in (GXX_ABI_FLAG): New variable.
7483         * configure: Regenerate.
7484
7485 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7486
7487         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
7488         * tm.texi (FORCE_STRUCT_BLK): Document.
7489         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
7490
7491 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
7492
7493         * config/ns32k/ns32k.md: Revert Jan 9 change.
7494
7495         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
7496         to a mode-test, if the predicate is address_operand.
7497
7498 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
7499
7500         * combine.c (if_then_else_cond): Be careful about what kinds
7501         of RTL expressions are passed to operand_subword.
7502
7503         * flow.c (split_edge): If we have to insert a new jump, make
7504         sure to associate it with a basic block.
7505
7506         * flow.c (commit_one_edge_insertion): A block with one successor
7507         can end in a JUMP_INSN that is not a simplejump.
7508
7509 2000-01-12  Robert Lipe  <robertl@sco.com>
7510
7511         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
7512         (BUILD_VA_LIST_TYPE): Define.
7513         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
7514         with crtstuff.c.
7515
7516 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
7517
7518         * cccp.c (do_pragma): Add cast to (char *).
7519
7520 2000-01-12  Richard Henderson  <rth@cygnus.com>
7521             Fred Fish  <fnf@be.com>
7522             Jason Merrill  <jason@cygnus.com>
7523
7524         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
7525         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
7526         * i386/beos-elf.h, i386/beos-pe.h: New files.
7527
7528         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
7529         * cross-make (SYSTEM_HEADER_DIR): Define using
7530         CROSS_SYSTEM_HEADER_DIR.
7531
7532         * gcc.c (LIBRARY_PATH_ENV): Provide default.
7533         (process_command): Use it.
7534         (main): Likewise.  Kill trailing = from env vars.
7535         (build_search_list): Put it back.
7536         * collect2.c (main): Use LIBRARY_PATH_ENV.
7537
7538         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
7539         * toplev.c: Use NEED_DECLARATION_ENVIRON.
7540
7541         * tm.texi (Frame Layout): Document SMALL_STACK.
7542         * c-common.c (c_common_nodes_and_builtins): Check it.
7543
7544         * system.h: Undef alloca after including glibc's <stdlib.h>,
7545         if USE_C_ALLOCA is defined.
7546
7547         * gcc.c (set_input): New fn.
7548         (main): After all input files are compiled, reset the input file
7549         info to the first.
7550
7551         * aclocal.m4 (rindex, index): If already defined, don't attempt
7552         to redefine.
7553
7554         * ginclude/varargs.h: (__va_list__): Define ifndef.
7555         * ginclude/stdarg.h: Likewise.
7556
7557         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
7558         instead of unsigned char.
7559
7560         * hash.h (true, false, boolean): Undef before enum.
7561
7562         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
7563         proper type of "HOST_WIDE_INT *", rather than their natural type of
7564         "unsigned HOST_WIDE_INT *".
7565
7566 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7567
7568         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
7569
7570         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
7571
7572         * regclass.c (choose_hard_reg_mode): Likewise.
7573
7574         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
7575
7576         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
7577
7578 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7579
7580         * c-common.c: PROTO -> PARAMS.
7581         * c-common.h: Likewise.
7582         * c-decl.c: Likewise.
7583         * c-iterate.c: Likewise.
7584         * c-lang.c: Likewise.
7585         * c-lex.c: Likewise.
7586         * c-lex.h: Likewise.
7587         * c-parse.in: Likewise.
7588         * c-pragma.c: Likewise.
7589         * c-pragma.h: Likewise.
7590         * c-tree.h: Likewise.
7591         * c-typeck.c: Likewise.
7592         * objc/objc-act.c: Likewise.
7593         * objc/objc-act.h: Likewise.
7594
7595 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7596
7597         * m88k-protos.h: New file.
7598
7599         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7600         time warnings.
7601
7602         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
7603
7604         * m88k.md: Likewise.
7605
7606         * tekXD88.h: Likewise.
7607
7608 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7609
7610         * m68k-protos.h: New file.
7611
7612         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
7613         time warnings.
7614
7615         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
7616
7617         * mot3300.h: Likewise.
7618
7619 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
7620
7621         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
7622         extract_bitlst.
7623         (extract_bitlist): Declare bitlen.
7624
7625 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
7626
7627         * cccp.c: Accept and ignore -lang-fortran.
7628
7629         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
7630         qualifiers don't match at any level of pointerness.
7631
7632 2000-01-12  Robert Lipe  <robertl@sco.com>
7633
7634         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
7635
7636 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
7637
7638         * reload1.c (reload_reg_unavailable): New static variable.
7639         (reload_reg_free_p): Test it.
7640         (reload_reg_free_for_value_p): Test it instead of
7641         reload_reg_used.
7642         (choose_reload_regs_init): Compute it.
7643
7644 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
7645
7646         * reorg.c (fill_slots_from_thread): Check modified_in_p
7647         before replacing.
7648
7649 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
7650
7651         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
7652         these nodes even if INTERNALS is not set.
7653
7654 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
7655
7656         * gcse.c (delete_null_pointer_checks_1): Cope when
7657         get_condition cannot determine the condition.
7658
7659 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
7660
7661         * toplev.h (set_message_length): Declare.
7662
7663         * diagnostic.c (obstack_chunk_alloc): Define macro.
7664         (obstack_chunk_free): Likewise.
7665         (struct output_buffer): New data structure.
7666         (vmessage): Remove.
7667         (output_maximum_width): New variable.
7668         (doing_line_wrapping, set_message_length, init_output_buffer,
7669         get_output_prefix, output_space_left, emit_output_prefix,
7670         output_newline, output_append, output_puts, dump_output,
7671         vbuild_message_string, build_message_string, build_location_prefix,
7672         voutput_notice, output_printf, line_wrapper_printf,
7673         vline_wrapper_message_with_location):  New functions. Implement
7674         automatic line wrapping.
7675         (v_message_with_decl): Make it handle automatic line wrapping.
7676         (v_error_with_file_and_line): Likewise.
7677         (v_warning_with_file_and_line): Likewise.
7678         (announce_function): Likewise.
7679         (default_print_error_function): Likewise.
7680
7681 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
7682
7683         * cpplib.h (struct cpp_options): Change lang_asm to char.
7684         Add lang_fortran.
7685         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
7686         done in cpp_handle_option now.
7687         (initialize_builtins): Take out special case code used only by
7688         __STDC_VERSION__.
7689         (cpp_handle_option): Turn off trigraphs and trigraph warnings
7690         if -traditional.  Recognize -lang-fortran and set
7691         lang_fortran, also turn off cplusplus_comments.
7692         (print_help): Document -lang-fortran.
7693         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
7694         lang_asm. Ignore all directives other than `# 123 "file"' if
7695         CPP_PREPROCESSED.
7696         (cpp_get_token): If -traditional, don't recognize directives
7697         unless the # is in column 1.
7698         (parse_string): If lang_fortran or lang_asm, silently
7699         terminate strings ('' or "") at end of line.
7700         Remove unnecessary braces.
7701
7702 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7703             Richard Henderson  <rth@cygnus.com>
7704
7705         * resource.c (mark_referenced_resources): Mark a set strict_low_part
7706         as used.
7707         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
7708         strict_low_part when possible.
7709
7710 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7711
7712         * alias.c: PROTO -> PARAMS.
7713         * basic-block.h: Likewise.
7714         * bitmap.c: Likewise.
7715         * bitmap.h: Likewise.
7716         * builtins.c: Likewise.
7717         * c-aux-info.c: Likewise.
7718         * caller-save.c: Likewise.
7719         * calls.c: Likewise.
7720
7721 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7722
7723         * Makefile.in (toplev.o): Depend on regs.h.
7724
7725         * output.h (tdesc_section): Prototype.
7726
7727         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
7728
7729         * sdbout.c: Include "tm_p.h".
7730
7731         * toplev.c: Include "regs.h".
7732
7733 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
7734
7735         * unroll.c (unroll_loop): Add EH support.
7736
7737 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7738
7739         * pa-protos.h: New file.
7740
7741         * pa.c: Include recog.h and tm_p.h.
7742         (compute_zdepwi_operands, compute_movstrsi_length,
7743         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
7744         find_addr_reg, import_milli): Add static prototypes.
7745         (pa_cpu_string, pa_arch_string): Constify a char*.
7746         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
7747         (read_only_operand): Add argument `mode'.
7748         (singlemove_string, output_move_double, output_fp_move_double,
7749         output_block_move, output_and, output_ior, output_ascii,
7750         remove_useless_addtr_insns, milli_names, output_mul_insn,
7751         output_div_insn, output_mod_insn, output_arg_descriptor,
7752         output_cbranch, output_bb, output_bvb, output_dbra, ,
7753         output_millicode_call, output_call, hppa_encode_label,
7754         output_parallel_movb, output_parallel_addb): Constify a char*.
7755         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
7756         (output_parallel_addb): Remove extra arg to `constrain_operands'
7757
7758         * pa.h:  Move all prototypes to pa-protos.h.
7759         (pa_cpu_string, pa_arch_string): Constify a char*.
7760         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
7761
7762         * pa.md: Call `function_label_operand' with mode argument.
7763         Likewise for `read_only_operand'.
7764         Fix nesting of parens in call to `symbolic_operand'.
7765
7766 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7767
7768         * i860-protos.h: New file.
7769
7770         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
7771         time warnings.
7772
7773         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
7774
7775         * i860.md: Likewise.
7776
7777 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
7778
7779         * i386.md (movstrsi expander): Rewrite.
7780         (movstrsi_1 insn): Deleted.
7781         (strmovhi, strmovqi expander): New expanders.
7782         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
7783         * i386.c (x86_single_stringop): New global variable.
7784         * i386.h (x86_single_stringop): Declare.
7785         (TARGET_SINGLE_STRINGOP): New macro.
7786
7787 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
7788
7789         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
7790         integer vararg POSTINCREMENT before the destination of the jump
7791         for the hard fp case.
7792         (function_arg_pass_by_reference): Pass a copy of CUM to
7793         FUNCTION_ARG.
7794
7795         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
7796         for CONSTANT_ADDRESS_P above while loop for subreg.
7797
7798 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
7799
7800         * flow.c (propagate_block): When a prologue/epilogue insn
7801         is marked dead, unconditionally clear libcall_is_dead and
7802         insn_is_dead, and only dump rtl if warnings aren't being
7803         suppressed.
7804
7805 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
7806
7807         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
7808         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
7809         (FIXED_REGISTERS): Set dirflag as fixed.
7810         (CALL_USED_REGISTERS): Set dirflag as used.
7811         (REG_ALLOC_ORDER): Set dirflag as last one.
7812         (DIRFLAG_REG): New macro.
7813         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
7814         (HI_REGISTER_NAMES): Add dirflag.
7815         (DEBUF_PRINT_REG): Handle dirflag.
7816         * i386.md (type attribute): New cld and str types.
7817         (length_opcode attribute): Set cld and str to 1.
7818         (memory attribute): Set str to unknown - it is not clear from the
7819         patterns.
7820         (pent_np function unit): Prefixed string operations takes 12 cycles
7821         minimally; cld takes 2 cycles.
7822         (ppro_uops attribute): Str is "many" and cld is "few".
7823         (ppro_p0 unit): Handle cld here.
7824         (k6_alux unit): Handle cld and str types.
7825         (k6_load unit): It is ocupied by str opcodes.
7826         (k6_store unit): It is ocupied by str opcodes.
7827         (athlon_decode): Str is vector decoded.
7828         (athlon_ieu): Handle str and cld.
7829         (cld pattern): New.
7830         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
7831         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
7832         cmpstrsi_nz_1 insn): Do not output cld instruction
7833
7834 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
7835
7836         * gcc.texi (G++ and GCC): Add Java and Chill.
7837         (Bug Critera): Don't list languages.
7838
7839         * gcc.texi (Incompatibilities): No longer claim most C compilers
7840         are K&R.
7841
7842         * gcc.texi (G++ and GCC): Update other front-ends list.
7843
7844 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
7845
7846         * i386.c (ix86_expand_setcc): Fix typo.
7847         (ix86_expand_movcc): Similarly.
7848
7849         * Band-aid until haifa's bitset implementation is nuked.
7850         * haifa-sched.c (extract_bitlst): New parameter for size of the
7851         bitset in bits.  All callers changed.  Avoid looking at undefined
7852         bits in the bitset.
7853         (edgeset_bitsize): New variable.
7854         (schedule_region): Initialize edgeset_bitsize.
7855
7856 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7857
7858         * Makefile.in (optabs.o): Depend on real.h
7859         (resource.o): Depend on insn-attr.h
7860
7861         * builtins.c (result_vector): Wrap prototype in macro conditions
7862         governing definition and use.
7863
7864         * c-common.c: Include tm_p.h.
7865
7866         * c-lex.c: Likewise.
7867
7868         * elfos.h: Constify a char*.
7869
7870         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
7871         (get_attr_length, shorten_branches, profile_after_prologue): Mark
7872         parameter with ATTRIBUTE_UNUSED.
7873
7874         * fold-const.c (exact_real_inverse): Wrap variable `i' in
7875         CHECK_FLOAT_VALUE.
7876
7877         * haifa-sched.c (schedule_insns): Mark parameter with
7878         ATTRIBUTE_UNUSED.
7879
7880         * optabs.c: Include real.h.
7881
7882         * real.h (ereal_atof): Add prototype arguments.
7883
7884         * resource.c: Include insn-attr.h.
7885
7886         * sdbout.c (sdbout_queue_anonymous_type,
7887         sdbout_dequeue_anonymous_types): Wrap in macro
7888         SDB_ALLOW_FORWARD_REFERENCES.
7889         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
7890         ATTRIBUTE_UNUSED.
7891
7892         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
7893
7894         * stupid.c: Include tm_p.h.
7895
7896         * tree.c (real_value_from_int_cst): Mark parameter with
7897         ATTRIBUTE_UNUSED.
7898
7899 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7900
7901         * i960-protos.h: New file.
7902
7903         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
7904         time warnings.
7905
7906         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
7907
7908 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7909
7910         * combine.c (expand_field_assignment): Do not discard SUBREGs
7911         while computing nonzero_bits.
7912
7913 2000-01-09  Nick Clifton  <nickc@cygnus.com>
7914
7915         * config/arm/arm.c: Fix compile time warnings about signed vs
7916         unsigned constants.
7917         * config/arm/arm.h: Fix compile time warnings about signed vs
7918         unsigned constants.
7919
7920 2000-01-09  Philip Blundell  <philb@gnu.org>
7921
7922         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
7923         than `ldm' with only one register.
7924         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
7925         only one register.
7926
7927         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
7928         clobbered.
7929
7930 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
7931
7932         * config/ns32k/ns32k.md (load or push effective address): Operand 1
7933         must have SImode.
7934
7935 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7936
7937         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
7938         assignment used as truth value.
7939
7940         * function.c (assign_temp): Mark parameter `dont_promote' with
7941         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
7942         PROMOTE_FOR_CALL_ONLY.
7943
7944         * genrecog.c (write_subroutine): Mark variable `operands' with
7945         ATTRIBUTE_UNUSED.
7946
7947         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
7948         ATTRIBUTE_UNUSED.
7949
7950         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
7951         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
7952
7953         * toplev.c (note_deferral_of_defined_inline_function): Likewise
7954         for `decl'.
7955
7956 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7957
7958         * config/c4x.h: Tidy up comments.
7959         * config/c4x.c: Likewise.
7960
7961 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
7962
7963         * fold-const.c (lshift_double, rshift_double): Handle
7964         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
7965
7966 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7967
7968         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
7969         in prepare_function_start().
7970
7971 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
7972
7973         * config/v850/v850.c (expand_epilogue): Interrupt functions no
7974         longer allocate extra stack for function calls.
7975
7976 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7977
7978         * config/c4x/c4x.md (*subqf3_set): Fix typo.
7979
7980 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7981
7982         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
7983
7984 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
7985
7986         * rs6000.c (processor_target_table): Add power3 as alias for 630.
7987         * aix43.h: Revert Aug 2 change.
7988         (HAS_INIT_SECTION): Define, not visible yet.
7989         (LD_INIT_SWITCH): Define, not visible yet.
7990         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
7991
7992         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
7993
7994         * collect2.c (main): Expand ld2 size further.
7995         (export_object_lst): Cast assignment to avoid warning.
7996         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
7997         (scan_prog_file, COFF): Do not collect initialization or
7998         finalization functions generated for entire shared object if
7999         init/fini support present.
8000
8001 2000-01-07  Nick Clifton  <nickc@cygnus.com>
8002
8003         * config/elfos.h: Tidy up formatting of marcos.  Make sure
8004         that .section directives are always prefixed by a tab.
8005
8006         * config/svr4.h: Add #include "elfos.h" and remove duplicate
8007         definitions.
8008
8009 2000-01-07  Matt Austern  <austern@sgi.com>
8010
8011         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
8012         expon.
8013
8014 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
8015
8016         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
8017         crtstuff.c.
8018         (crtbegin.o, s-crtS): Likewise.
8019
8020 2000-01-06  Richard Henderson  <rth@cygnus.com>
8021
8022         * alpha.md (adddi_2+1): Limit offset such that it will be
8023         loadable with a single ldah+lda pair.
8024         (adddi_2+2): Explicitly fail split if we can't make it work.
8025
8026 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
8027
8028         * protoize.c: Conditionally include unistd.h.
8029         (IS_SAME_PATH_CHAR): New macro.
8030         (IS_SAME_PATH): New macro.
8031         (CPLUS_FILE_SUFFIX): New macro.
8032         (cplus_suffix): New static variable.
8033         (is_abspath): New static function.
8034         (in_system_include_dir): Handle DOS style pathnames.
8035         (file_could_be_converted): Likewise.
8036         (file_normally_convertible): Likewise.
8037         (directory_specified_p): Likewise.
8038         (file_excluded_p): Likewise.
8039         (abspath): Likewise.
8040         (shortpath): Likewise.
8041         (referenced_file_is_newer): Likewise.
8042         (save_def_or_dec): Likewise.
8043         (do_processing): Likewise.
8044         (main): Likewise.
8045         (edit_file): Likewise. Use rename instead of link.
8046         (rename_c_file): Likewise. Don't rename syscalls file.
8047         (munge_compile_params): Define null device for DOS based systems.
8048         (process_aux_info_file): Use binary mode if appliable.
8049         (edit_file): Likewise.
8050         * invoke.texi (Running Protoize): Document C++ suffixes used.
8051
8052         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
8053         IS_DIR_SEPARATOR macros.
8054         * collect2.c: Likewise.
8055         * cppinit.c: Likewise.
8056         * dwarf2out.c: Likewise.
8057         * gcc.c: Likewise.
8058         * gcov.c: Likewise.
8059         * prefix.c: Likewise.
8060         * rtl.c: Likewise.
8061         * toplev.c: Likewise.
8062         * system.h: And move to here.
8063
8064         * prefix.c (update_path): Fix typo in variable name.
8065
8066 2000-01-06  Richard Henderson  <rth@cygnus.com>
8067
8068         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
8069         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
8070         (count_reg_sets_1, count_reg_references): Likewise.
8071         (flow_loops_level_compute): Start counting actual loop depth at 1.
8072         (flow_loops_find): Likewise.
8073         * local-alloc.c (update_equiv_regs): Likewise.
8074         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
8075
8076 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
8077
8078         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
8079         FIRST_PSEUDO_REGISTER
8080         * dwarf2out.c: Don't include frame.h
8081         * dwarfout.c: Likewise
8082         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
8083         frame.h
8084
8085 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
8086
8087         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8088         dead registers.
8089
8090         * i386.c (movsf splitter): Fix typo in my last checkin.
8091
8092 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8093
8094         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
8095         own definition of this macro.
8096         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
8097         flag_data_sections or UNIQUE_SECTION_P are true.
8098
8099         * tm.texi (UNIQUE_SECTION): Document that it can be called for
8100         unitialised data decls.
8101
8102         * config/i386/winnt.c (i386_pe_unique_section): Cope with
8103         being called for uninitialised data.
8104
8105         * config/i386/interix.c (i386_pe_unique_section): Cope with
8106         being called for uninitialised data.
8107
8108         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
8109         for uninitialised data.
8110
8111         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
8112         for uninitialised data.
8113
8114         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
8115         for uninitialised data.
8116
8117         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
8118         (UNIQUE_SECTION_P): Always generate a unique section if
8119         flag_data_sections is true.
8120         (UNIQUE_SECTION): Also generate unique sections for
8121         uninitialised data.
8122         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
8123         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
8124         named_section().
8125
8126 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8127
8128         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
8129         SI, or DI.
8130
8131 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8132
8133         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
8134         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
8135         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
8136         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
8137         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
8138
8139         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
8140
8141 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
8142
8143         * c-decl.c (finish_enum): Simplify code to determine minimum and
8144         maximum values of the enum, and calculate the type.  Remove check
8145         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
8146         the DECL_INITIAL of each enumeration constant with a copy converted
8147         to the enumeration type.  When updating variant types, don't bother
8148         updating the type itself.
8149
8150         * c-typeck.c (build_binary_op): Simplify conditional expressions
8151         when weeding out spurious signed-unsigned warnings.  Add new
8152         spurious warning category: if the unsigned quantity is an enum
8153         and its maximum value fits in signed_type(result_type).  Update
8154         commentary.
8155         (build_conditional_expr): Warn here if one alternative is signed
8156         and the other is unsigned.
8157
8158 2000-01-05  Nick Clifton  <nickc@cygnus.com>
8159
8160         * config/fr30/fr30.h: Remove extraneous comments.
8161
8162 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
8163
8164         * reload1.c (choose_reload_regs): When disabling a reload, also
8165         set reload_spill_index to -1.
8166
8167 2000-01-04  Joel Sherrill (joel@OARcorp.com>
8168
8169         * configure.in (m68*-*-rtemscoff*): New target, formal name for
8170         old m68*-*-rtems*.
8171         (m68*-*-rtemself*): New target.
8172         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
8173         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
8174         (sparc*-*-rtemself*): New target.
8175         (sparc*-*-rtems*): Now elf not a.out.
8176         * config/i386/rtems.h: Include config/rtems.h.
8177         * config/i386/rtemself.h: Include config/rtems.h.
8178         * config/i960/rtems.h: Include config/rtems.h.
8179         * config/m68k/rtems.h: Include config/rtems.h.
8180         * config/m68k/rtemself.h: Include config/rtems.h.
8181         * config/mips/rtems64.h: Include config/rtems.h.
8182         * config/pa/rtems.h: Include config/rtems.h.
8183         * config/rs6000/rtems.h: Include config/rtems.h.
8184         * config/sh/rtems.h: Include config/rtems.h.
8185         * config/sh/rtemself.h: Include config/rtems.h.
8186         * config/sparc/rtems.h: Include config/rtems.h.
8187         * config/sparc/rtemself.h: Include config/rtems.h
8188
8189 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
8190
8191         * final.c (shorten_branches): Correctly compute length of
8192         asms without operands.
8193
8194 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
8195
8196         * configure.in: Add pj target.
8197         * configure: Regenerate.
8198         * config/pj: New directory.
8199         * config/pj/lib1funcs.S: New file.
8200         * config/pj/linux.h: New file.
8201         * config/pj/pj.c: New file.
8202         * config/pj/pj.md: New file.
8203         * config/pj/pjl.h: New file.
8204         * config/pj/t-pj: New file.
8205         * config/pj/xm-pj.h: New file
8206
8207 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
8208
8209         * toplev.c (rest_of_compilation): Run shorten-branches before
8210         reg-stack for now.
8211
8212 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8213
8214         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
8215         macros so that they're consistent with their names.
8216         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8217         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
8218
8219 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8220
8221         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
8222         modified inadvertently.
8223
8224 2000-01-04  Joel Sherrill <joel@OARcorp.com>
8225
8226         * configure.in (v850*-*-rtems*): New target.
8227         * configure: Regenerate.
8228         * config/v850/rtems.h: New file.
8229
8230 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
8231
8232         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
8233         (__gthread_key_create): Likewise.
8234         (__gthread_key_dtor):  Likewise.
8235         (__gthread_once): Fix logic.
8236         (__gthread_key_delete): Cast away constness.
8237
8238         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
8239         * invoke.texi: Document.
8240         * i386/mingw32.h (CPP_SPEC): Use.
8241         (LIBGCC_SPEC): Likewise.
8242         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
8243
8244 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8245
8246         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
8247         (HANDLE_PRAGMA_PACK): Undefine.
8248         (SLOW_UNALIGNED_ACCESS): Define.
8249
8250 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
8251
8252         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8253         to default definition.
8254         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
8255         (store_fixed_bit_field): Call macro with word_mode and alignment.
8256         (extract_bit_field): Call macro with relevant mode and alignment.
8257         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
8258         to default definition.
8259         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
8260         and alignment.
8261         (move_by_pieces_ninsns): Likewise.
8262         (clear_by_pieces): Likewise.
8263         (emit_push_insn): Likewise.
8264         (store_field): Call macro with relevant mode and alignment.
8265         (expand_expr): Likewise.
8266         (expand_expr_unaligned): Likewise.
8267
8268         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
8269         (SLOW_UNALIGNED_ACCESS): Define.
8270         (CASE_VECTOR_MODE): Always use 32-bit offsets.
8271         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
8272         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
8273         (toc_section): Likewise and .toc pseudo-op.
8274         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
8275         64-bit mode.
8276         (TEXT_SECTION_ASM_OP): Likewise.
8277         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
8278         32-bit offsets.
8279
8280         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
8281         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
8282         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
8283         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
8284         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
8285
8286 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
8287
8288         * regclass.c: Revert my Jan 4 change to loop cost computation.
8289
8290 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8291
8292         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
8293         compilation.
8294
8295 2000-01-04  Stan Cox  <scox@cygnus.com>
8296
8297         * haifa-sched.c (build_control_flow): Change unreachable simple
8298         loop test to check if current block has only one predecessor.
8299         (find_rgns): Initialize degree.  Use dest as degree index, not src.
8300
8301 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8302
8303         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
8304
8305         * calls.c (expand_call): Likewise for
8306         `old_stack_arg_under_construction'.
8307
8308         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
8309
8310         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
8311         `save_constant'.
8312
8313         * gcc.c (execute): Likewise for `ut' and `st'.
8314
8315         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
8316
8317         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
8318
8319         * jump.c (jump_optimize_1): Likewise for `temp2'.
8320
8321         * local-alloc.c (block_alloc): Likewise for `r1'.
8322
8323         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
8324
8325         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
8326         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
8327
8328         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
8329         and `set2'.
8330
8331         * reload.c (find_reloads): Likewise for `goal_alternative_number'
8332         and `goal_earlyclobber'.
8333
8334         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
8335
8336         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
8337
8338         * stupid.c (stupid_life_analysis): Likewise for `chain'.
8339
8340         * unroll.c (copy_loop_body): Likewise for `copy'.
8341
8342         * varasm.c (output_constructor): Likewise for `byte'.
8343
8344 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8345
8346         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
8347         all FP constants for constant->reg moves.
8348         (ix86_split_to_parts): Try to convert memory address into immediate
8349         when available in the constant pool.
8350         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
8351         moves.
8352         (LEGITIMATE_CONSTANT_P): Return 1.
8353         * i386.md (pushsf): New splitter to convert constant pool memory
8354         reference to immediate.
8355         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
8356         reload.
8357
8358 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
8359
8360         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
8361         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
8362         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
8363         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
8364         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
8365
8366 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
8367
8368         * ginclude/stdbool.h:  Support compilation as C++.
8369
8370 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8371
8372         * fold-const.c (make_range): Don't try to reverse an unbounded range.
8373
8374 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
8375
8376         * regclass.c (regclass): Properly compute loop_cost.  Adjust
8377         comments.
8378
8379         * regclass.c: Fix minor whitespace problems.
8380
8381 2000-01-03  Anthony Green  <green@cygnus.com>
8382
8383         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
8384         Restore the pic register if required.
8385
8386 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
8387
8388         * c-common.c (format_char_info): Update comment.
8389         (check_format_info): Recognize 'z' modifier in the same way 'Z'
8390         was recognized.  Emit warning for formats new in ISO C99 only
8391         if flag_isoc9x is not set.
8392
8393 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
8394
8395         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
8396
8397 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8398
8399         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
8400         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
8401         (make_compound_operation): Choose cheaper alternative between
8402         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
8403
8404         * regclass.c (op_costs): Remove global variable.
8405         (record_reg_classes): New parameter "op_costs" and "reg_pref".
8406         (record_operand_costs): Break out from ...
8407         (scan_one_insn): ... here.
8408         (dump_regclass): Make dumps nicer.
8409         (regclass): Dump preferrences choosed and changes done during passes.
8410
8411 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
8412
8413         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
8414
8415 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
8416
8417         * config/sparc/sparc.c (gen_df_reg): New function.
8418         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
8419         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
8420         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
8421         movtf_cc_reg_sp64+1): Use it.
8422
8423 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
8424
8425         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
8426         copied LABEL_DECLs.
8427
8428 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
8429
8430         * config/i386/i386.c (ix86_expand_unary_operator): Function
8431         definition made void.
8432         (ix86_expand_binary_operator): Update outdated preceding comment.
8433         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
8434         prototype.
8435
8436         * config/i386/i386.c (override_options): Fix option-name typo.
8437
8438 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
8439
8440         * system.h (CEIL): Define.
8441         * builtins.c (CEIL): Remove.
8442         * expmed.c (CEIL): Likewise.
8443         * expr.c (CEIL): Likewise.
8444         * stor-layout.c (CEIL): Likewise.
8445
8446 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8447
8448         * expr.c (store_constructor_field): Fix typo introduced with last
8449         gcc2 merge.
8450
8451 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
8452
8453         * tree.h (BINFO_N_BASETYPES): New macro.
8454
8455 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
8456
8457         * expmed.c (emit_store_flag): Prevent losing a pending stack
8458         adjust the same way we prevent losing queued increments.
8459
8460 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8461
8462         * function.c (update_temp_slot_address): Handle case where sum of
8463         temporary address plus offset in register is a valid address.
8464
8465 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
8466
8467         * genrecog.c (change_state) Corrected typo.
8468
8469 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8470
8471         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
8472         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
8473         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
8474
8475 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
8476
8477         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
8478         case, expand GT comparisons correctly.  Fix a comment before this
8479         part of the code.
8480
8481 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
8482
8483         * dwarfout.c: Include "frame.h"
8484         * dwarf2out.c: Likewise.
8485         * Makefile.in (dwarfout.o): Depend on frame.h
8486         (dwarf2out.o): Likewise.
8487
8488 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
8489
8490         Restore i386 binary compatibility in Dwarf EH info.
8491         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
8492         value of FIRST_PSEUDO_REGISTER.
8493         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
8494         (struct frame_state): Use DWARF_FRAME_REGISTERS.
8495         * dwarfout.c (output_reg_number): Ditto.
8496         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
8497         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
8498
8499 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
8500
8501         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
8502         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
8503         (<hack>_RE_CT): not needed
8504         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
8505         rewritten to scan the file text once only
8506         "template<..." test added
8507         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
8508         (is_cxx_header): declaration added
8509         * fixinc/fixtests.c(is_cxx_header): removed
8510         (apply_fix_p_t): removed
8511         (double_slash_test): is_cxx_header is only called once now
8512         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
8513         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
8514         within the templates.
8515         The borken spelling of "broken" was fixed.
8516         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
8517         The default level depends on FIXINC_DEBUG.
8518
8519 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8520
8521         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
8522         Otherwise provide a declaration for atexit.
8523         (init_dummy): Make sure dummy call to atexit is nevertheless
8524         called with correct number of args.
8525
8526         * frame.c: Update comments referring to other files.
8527
8528         * libgcc2.c: Likewise.
8529
8530 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8531
8532         * cse.c (free_element, get_element): Remove unused prototypes.
8533
8534         * fold-const.c (extract_muldiv): Initialize variables `op0' and
8535         `op1'.
8536
8537         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
8538         `else' clauses.
8539
8540 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
8541
8542         * configure.in,configure: case arm for mn10200-*-* now sets
8543         float_format=i32 so that float.h will correctly claim "double"
8544         to be 32 bits. Ran autoconf to generate configure from .in file.
8545
8546 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
8547
8548         * pa.md (conditional zero): If op1 is a register, force it into
8549         the same register as op0.
8550
8551 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
8552
8553         * tree.h (BINFO_BASETYPES): Improve documentation.
8554
8555 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8556
8557         * configure.in (--enable-checking): Use a more portable `for'
8558         loop syntax.
8559
8560 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8561
8562         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
8563         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
8564
8565         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
8566         Delete files.
8567
8568         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
8569         Delete descriptions.
8570
8571         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
8572         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
8573         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
8574         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
8575         xm-svr4.h: Remove all instances of sys_siglist handling.
8576
8577 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
8578
8579         * config/sparc/sparc.md (cmp_zero_qi,
8580         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
8581         cmp_zero_extendqidi2_andcc_set): New patterns.
8582
8583 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
8584
8585         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
8586         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
8587         (fpgnulib.c, xfgnulib.c): Add rules.
8588         * m68k/t-mot3300-gas: Likewise.
8589
8590 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
8591
8592         * configure.in: Avoid [[ by using test and changequote.  Add
8593         changequote required by 1999-12-14 change.
8594         * configure: Rebuild.
8595
8596 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
8597
8598         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
8599
8600 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
8601
8602         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
8603         * flow.c (find_use_as_address): Likewise.
8604         * function.c (fixup_var_refs_1): Likewise.
8605         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
8606         * jump.c (invert_exp, redirect_exp): Likewise.
8607         * loop.c (replace_call_address): Likewise.
8608         (count_nonfixed_reads): Likewise.
8609         * rtlanal.c (modified_between_p): Likewise.
8610         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
8611         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
8612         * unroll.c (remap_split_bivs): Likewise.
8613
8614 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8615
8616         * diagnostic.c (v_message_with_decl): Use .* format specifier
8617         instead of building the format specifier width manually.
8618
8619         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
8620         determining whether to provide a prototype.  Remove the
8621         sys_siglist clause in the conditional.
8622
8623 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8624
8625         * fold-const.c (operand_equal_p): Use memcmp to compare string
8626         constants.
8627         Suggested by D. J. Bernstein
8628
8629 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
8630
8631         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
8632         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
8633         compiling libgcc2.
8634         * config/mips/mips.h (TARGET_64BIT): Likewise.
8635         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
8636         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
8637         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
8638         dsps.  Give routines proper names if SI/DI modes are not used.
8639         * longlong.h: Use DWunion instead of DIunion.
8640
8641 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
8642
8643         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
8644         GC_CHECKING, GC_ALWAYS_COLLECT.
8645         * configure.in: Allow --enable-checking with an argument
8646         listing check modes to enable.
8647         * config.in, configure: Rebuilt.
8648         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
8649         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
8650         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
8651         ENABLE_GC_ALWAYS_COLLECT.
8652         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
8653         throughout.
8654         * tree.h, tree.c: Change ENABLE_CHECKING to
8655         ENABLE_TREE_CHECKING throughout.
8656
8657 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8658
8659         * fold-const.c (fold_truthop): Properly check for FP RHS.
8660
8661 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
8662
8663         * toplev.h (note_deferall_of_defined_inline_function): Declare.
8664         * toplev.c (note_deferral_of_defined_inline_function): New
8665         function, split out from ...
8666         (rest_of_compilation): ... here.  Use it.
8667
8668 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8669
8670         * expr.c (store_constructor): Don't call clear_storage if size is
8671         variable.
8672
8673 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8674
8675         * Makefile.in (toplev.o): Depend on loop.h.
8676
8677         * dwarfout.c: Include tm_p.h.
8678
8679         * emit-rtl.c (restore_emit_status): Mark parameter with
8680         ATTRIBUTE_UNUSED.
8681
8682         * final.c (final_scan_insn): Likewise.
8683
8684         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
8685         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
8686         flow_depth_first_order_compute, flow_loop_pre_header_find,
8687         flow_loop_tree_node_add, flow_loops_tree_build,
8688         flow_loop_level_compute, flow_loops_level_compute,
8689         flow_loop_outside_edge_p): Add prototypes.
8690         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
8691
8692         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
8693         Mark with ATTRIBUTE_NORETURN.
8694
8695         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
8696
8697         * local-alloc.c (no_conflict_p): Likewise.
8698
8699         * loop.c (insert_bct): Hide definitions of variables with hidden
8700         usage.
8701         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
8702
8703         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
8704         with ATTRIBUTE_UNUSED.
8705         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
8706         (reg_scan): Likewise.
8707
8708         * reload.c (find_reloads): Remove unused variables `changed'.
8709
8710         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
8711         away const-ness.
8712         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
8713         Remove unused variable `insn'.
8714
8715         * toplev.c: Include loop.h.
8716         (report_file_and_line): Remove unnecessary prototype.
8717
8718         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
8719
8720         * unroll.c (biv_total_increment): Likewise.
8721
8722 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8723
8724         * reload1.c (emit_input_reload_insns): Restore old behaviour
8725         wrt. 'special' reloads.
8726
8727 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
8728
8729         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
8730         hash.h.  (cse.c): Don't depend on hashtab.h.
8731
8732         * cse.c: Don't include hashtab.h.
8733         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
8734         of dead functions.
8735         * ggc-simple.c: Don't include hash.h.
8736
8737 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
8738
8739         * dwarf2out.c (add_abstract_origin_attribute): Call
8740         gen_abstract_function on our function context.
8741
8742 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
8743
8744         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
8745
8746 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8747
8748         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
8749         case in switch.
8750
8751 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8752
8753         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
8754         constraints to "a!r".
8755
8756 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
8757
8758         * Makefile.in (calls.o): Depend on function.h.
8759         (alias.o): Likewise.
8760
8761 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
8762
8763         * reload1.c (emit_reload_insns): Break out code and variables into...
8764         (input_reload_insns, other_input_address_reload_insns,
8765         other_input_reload_insns, input_address_reload_insns,
8766         inpaddr_address_reload_insns, output_reload_insns,
8767         output_address_reload_insns, outaddr_address_reload_insns,
8768         operand_reload_insns, other_operand_reload_insns,
8769         other_output_reload_insns): ... new static variables, and...
8770         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
8771         do_output_reload): ... new functions.
8772
8773 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8774
8775         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
8776
8777 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8778
8779         * md.texi: Add c4x constraints documentation.
8780
8781 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8782
8783         * config/i386/dgux.c (struct option): Rename to
8784         lang_independent_option.
8785         (struct m_options): Add description field.
8786         (output_options): Rename option type, add sep declaration, output
8787         ix86_cpu_string and ix86_arch_string only if set.
8788         (output_file_start): Rename option type.
8789
8790 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
8791
8792         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
8793         stmp-int-hdrs.
8794         (libgcc2.a): Similarly.
8795
8796 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
8797
8798         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
8799         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
8800         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
8801
8802 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
8803
8804         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
8805         Remove redundant initialization of "frexpon" and "expon".
8806
8807 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8808
8809         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
8810
8811         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
8812         (store_constructor_field, expand_expr): Pass new arg.
8813
8814 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
8815
8816         * Makefile.in (explow.o): Depend on function.h.
8817
8818         * stor-layout.c (set_sizetype): Fix typo.
8819
8820 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
8821
8822         * function.c (cfun): Renamed from current_function.  All users
8823         changed.
8824         * function.h (cfun): Rename declaration as well.
8825
8826         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
8827         to be of type regset_head, not regset.  All users changed by adding
8828         address operator.
8829         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
8830
8831 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8832
8833         * config/c4x/rtems.h: New file.
8834
8835 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
8836
8837         * reload1.c (spill_failure): Take class of failed reload as argument
8838         and print it.  Caller changed.
8839
8840 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8841
8842         * rs6000.h (SUBTARGET_DEFAULT): New macro.
8843         (TARGET_SWITCHES): Allow subtargets to default switches.
8844         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
8845
8846 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
8847
8848         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
8849         in a main program.
8850
8851 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
8852
8853         * cccp.c (main): Define __STDC_VERSION__ as necessary.
8854         * cppinit.c (cpp_handle_option): Likewise.
8855
8856         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
8857         determine when to define.
8858
8859 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
8860
8861         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
8862         cmove with mismatched test and data modes.
8863
8864 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
8865
8866         * c-typeck.c (c_expand_start_case): Don't warn for long switch
8867         in system headers.
8868
8869 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8870
8871         * alias.c: Minor reformatting.
8872         * flow.c: Likewise.
8873         * regs.h: Likewise.
8874         * stor-layout.c: Likewise.
8875         * fold-const.c: Likewise.
8876         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
8877         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
8878         not arg itself.
8879         (size_int_wide): Cache nodes even if garbage collecting.
8880         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
8881         of SAVE_EXPR has no side effects.
8882         * cse.c: Move a comment.
8883         * tree.c: Minor reformatting.
8884         (int_size_in_bytes): Return -1 if constant overflows.
8885
8886 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8887
8888         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
8889
8890 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
8891
8892         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
8893         after any change to c-parse.in, even if objc-parse.y didn't
8894         change.  Oops.
8895
8896 1999-12-18  David S. Miller  <davem@redhat.com>
8897
8898         * toplev.c (rest_of_compilation): Restore BLOCK tree
8899         reconstruction and branch shortening changes lost in
8900         December 18th change.
8901
8902 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
8903
8904         * config/arm/linux-elf.h: Change all instances of
8905         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
8906         * config/arm/uclinux-elf.h: Likewise.
8907
8908 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
8909
8910         * toplev.c (notice, vmessage, v_message_with_file_and_line,
8911         v_message_with_decl, file_and_line_for_asm,
8912         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
8913         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
8914         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
8915         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
8916         pfatal_with_name, fatal_io_error, need_error_newline,
8917         last_error_function, last_error_tick, announce_function,
8918         default_print_error_function, print_error_function,
8919         report_error_function, fnotice, error_with_file_and_line,
8920         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
8921         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
8922         warning_with_decl, warning_for_asm, warning, pedwarn,
8923         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
8924         diagnostic.c
8925         (compile_file): Use fnotice instead of notice.  Adjust call.
8926
8927         * diagnostic.c: New file.
8928
8929         * Makefile.in (OBJS): Include diagnostic.o
8930         (diagnostic.o): Define dependence.
8931
8932 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8933
8934         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
8935         Tweak formatting.
8936
8937 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8938
8939         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
8940
8941 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
8942
8943         * fixtests.c (is_cxx_header): New fn, split out of
8944         double_slash_test.
8945         (else_endif_label): Allow "#endif // comment" in C++ headers,
8946         as determined by is_cxx_header.
8947         * fixfixes.c (else_endif_label_fix): Update comment.
8948         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
8949         a tty.
8950         * genfixes: Correct double thinko in commandline parsing.
8951         * hackshell.tpl: Generate correct sh syntax for bypass
8952         entries.
8953
8954         * inclhack.def (all): Whenever an inserted preprocessor
8955         conditional is split over multiple lines, use double
8956         backslashes in this file so the fixed header will be readable.
8957
8958         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
8959         and add bypass entry for correct version of this header.
8960         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
8961         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
8962
8963         (hpux8_bogus_inlines): New fix, split from...
8964         (ultrix_atof_param) ... here.
8965         (math_expression): Add bypass entry keyed to glibc comment
8966         indicating the problem has been dealt with; disable
8967         unnecessary sed operations; update commentary.
8968         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
8969         add select and bypass entries, simplify shell operation.
8970         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
8971
8972         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
8973          ultrix_atof_param): Add select entry.
8974         (stdio_va_list, sunos_mather_decl): Add bypass entry.
8975         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
8976         comments with the fixes they describe.
8977
8978         * c-parse.in (string action): Do not warn about ANSI string
8979         concatenation in system headers.  Affects C parser only.
8980         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
8981
8982 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
8983
8984         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
8985         compiling libgcc2 the macro depends always on arch cpp defines.
8986
8987 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
8988
8989         * loop.c (insert_loop_mem): Don't record MEMs from inside
8990         EXPR_LISTs.
8991
8992 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
8993
8994         * regclass.c (regclass): Do not use flowgraph when not optimizing.
8995
8996         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
8997         notes too, create one when replacement failed, attempt to simplify
8998         resulting notes.
8999         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
9000         or REG_EQUIV notes.
9001
9002 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9003
9004         * crtstuff.c (__dso_handle): Declare.
9005         (__cxa_finalize): Likewise.
9006         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
9007         non-NULL.
9008
9009         * invoke.texi: Document -fuse-cxa-atexit.
9010
9011         * tree.h (ptr_type_node): Document.
9012         (const_ptr_type_node): Likewise.
9013
9014 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9015
9016         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
9017         (optimize_reg_copy_2): Likewise.
9018         (optimize_reg_copy_3): Likewise.
9019         (fixup_match_2): Likewise.
9020         (regmove_optimize): Likewise.
9021         (fixup_match_1): Liekwise.
9022
9023         * i386.md (HI to SImode promoting splitters): Rewrite.
9024         (pushsf mem peep2): New.
9025         (testhi to andhi peep2): Remove.
9026         * i386.h (x86_promote_QImode): New.
9027         (TARGET_PROMOTE_QImode): New.
9028         (PREDICATE_CODES): Add promotable_binary_operator.
9029         * i386.c (x86_promote_QImode0: New.
9030         (promotable_binary_operator): New.
9031         * i386-protos.h (promotable_binary_operator): New.
9032
9033         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
9034         condition.
9035         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
9036
9037 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
9038
9039         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
9040         * function.c (insert_block_after_note): Remove.
9041         (retrofit_block): Likewise.
9042         (identify_blocks): Fix indentation.
9043         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
9044         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
9045         * function.h (insert_block_after_note): Remove prototype.
9046         (retrofit_block): Likewise.
9047         * integrate.c (expand_inline_function): Don't call
9048         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
9049         just expand_start_bindings.  Use the block_map to remap old
9050         NOTE_BLOCKs to new ones.
9051         (integrate_decl_tree): Keep track of remapped blocks.
9052         * integrate.h (struct inline_remap): Add block_map.
9053         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
9054         NOTE_BLOCK on the notes.
9055         (expand_start_bindings): Rename to ...
9056         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
9057         (expand_end_bindings): Set NOTE_BLOCK.
9058         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
9059         reconstruct the BLOCK tree.
9060         * tree.h (expand_start_bindings): Macroize.  Call ...
9061         (expand_start_bindings_and_block): New function.
9062
9063 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
9064
9065         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
9066         to match the format.
9067
9068 1999-12-16  David S. Miller  <davem@redhat.com>
9069
9070         * expr.c (emit_move_insn_1): Only emit clobbers if one of
9071         the outputs is a SUBREG.
9072         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
9073         change.
9074
9075         * config/sparc/sparc.c (epilogue_renumber): Add default case
9076         to switch stmt.
9077
9078 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9079
9080         * toplev.c (rest_of_compilation): Run branch shortening after
9081         reg-stack.
9082
9083         * regclass.c (loop_depth): Remove
9084         (scan_one_insn): Do not handle LOOP_NOTE insns.
9085         (regclass): Go through basic blocks and set loop_cost
9086
9087 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
9088
9089         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
9090
9091 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9092
9093         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
9094         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
9095         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
9096
9097 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
9098
9099         * loop.c (insert_loop_mem): Ignore memory clobbers.
9100
9101         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
9102         to (OP A B).
9103
9104 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
9105
9106         * profile.c: Remove redundant #include "output.h".
9107
9108         * h8300.md (HImode preinc peephole): Fix typo.
9109
9110 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9111
9112         * function.c (retrofit_block): Abort if we don't find a suitable insn.
9113         (insert_block_after_note): Abort if we don't have a previous block.
9114         Remove FN parameter.
9115         * function.h: Adjust.
9116
9117 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
9118
9119         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
9120         argument more than once.
9121
9122 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9123
9124         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
9125
9126 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
9127
9128         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
9129
9130 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9131
9132         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
9133         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
9134         update stack_alignment_needed.
9135         (prepare_function_start): Initialize stack_alignment_needed
9136         * function.h (struct function): Add field stack_alignment_needed.
9137
9138 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9139
9140         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
9141         Handle live_throughout / dead_or_set instead of live_before /
9142         live_after.
9143         (save_call_clobbered_regs): Get register livenessinformation from
9144         chain->live_throughout.
9145         (add_stored_regs): New function.
9146         (insert_restore, insert_save): Add restored / saved registers to
9147         dead_or_set.
9148         * global.c (reg_dies): New parameter chain.
9149         (reg_becomes_live): Third parameter is regs_set now.
9150         Changed all callers.
9151         (reg_dies): New parameter chain.  Changed all callers.
9152         (build_insn_chain): Set live_throughout instead of
9153         live_before / live_after.
9154         * reload.h (struct insn_chain): Replace members live_before /
9155         live_after with live_throughout / dead_or_set.
9156         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
9157         instead of live_before / live_after.
9158         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
9159         (order_regs_for_reload, find_reg, finish_spills): Likewise.
9160         (choose_reload_regs_init): Likewise.
9161         * stupid.c (current_chain, find_clobbered_regs): Delete.
9162         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
9163         instead of chain->live_before / chain->live_after.
9164         (mark_hard_ref): New function.
9165         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
9166
9167 1999-12-15  David S. Miller  <davem@redhat.com>
9168
9169         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
9170
9171 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9172
9173         * flow.c (calculate_loop_depth): Make global, remove prototype,
9174         rewrite to use new loop infrastructure.
9175         (find_basic_block): Remove calculate_loop_depth call.
9176         * toplev.c (rest_of_compilation): Call find_basic_block.
9177         * output.h (calculate_loop_depth): Declare.
9178
9179         * flow.c (dump_flow_info): Dump loop_depth.
9180         (flow_loops_nodes_find): Increase loop_depth for basic block in the
9181         body.
9182         (flow_loops_find): Initialize the loop_depth for each basic block.
9183
9184 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
9185
9186         * tree.c (decl_function_context): Handle virtual functions.
9187
9188         * tlink.c (scan_linker_output): Don't look in demangled name when
9189         looking for linker output keywords.
9190
9191         * dwarfout.c (output_type): We can defer namespace-scope classes.
9192
9193 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
9194
9195         * regclass.c (record_reg_classes): Update comment for merging
9196         register class preferences in reg->reg copies.  Tighten conditions
9197         for merging register class preferences in reg->reg copies.
9198
9199 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
9200
9201         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
9202
9203 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
9204
9205         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
9206         (INIT_SECTION_ASM_OP): Delete.
9207         (FINI_SECTION_ASM_OP): Delete.
9208         (STARTFILE_SPEC): Define to hold just crtbegin.o.
9209
9210 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
9211
9212         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
9213         the abstract origin wasn't emitted.
9214
9215         * dwarf2out.c (class_scope_p): New fn.
9216         (gen_subprogram_die): Use it.
9217         (gen_variable_die): Use it.  Tweak logic.
9218         (gen_struct_or_union_type_die): Check context_die to determine
9219         if we're function-local.
9220         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
9221
9222 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9223
9224         * loop.c (check_dbra_loop): Can't reverse a biv that has
9225         maybe_multiple set.
9226
9227 1999-12-14  Nick Clifton  <nickc@cygnus.com>
9228
9229         * config/arm/arm.c: Add support for -mcpu=arm720 command line
9230         switch.
9231
9232 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9233
9234         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
9235         for givs made from biv increments.
9236
9237 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
9238
9239         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
9240         * alpha.c (override_options): Recognize -mcpu=ev67.
9241         * alpha.h (CPP_CPU_EV67_SPEC): New.
9242         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
9243         (EXTRA_SPECS): Update.
9244
9245 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
9246
9247         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
9248         appropriate for -lang-c89 and -std=*.
9249         * cppinit.c (cpp_handle_option): Likewise.
9250         (new_pending_define): New, split out from cpp_handle_option.
9251         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
9252         or enable trigraphs for -ansi/-std=*.
9253
9254         * ginclude/stdarg.h (__va_copy): New.
9255         (va_copy): Don't define for C89.
9256
9257 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
9258
9259         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
9260         for long long multiply-accumulate.
9261
9262 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9263
9264         * regclass.c (scan_one_insn): Set loop_cost to 1 when
9265         optimizing for size.
9266
9267 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9268
9269         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
9270         if something changed.  Back out that part of yesterday's changes.
9271
9272         * loop.c (loop_max_reg): New static variable.
9273         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
9274         max_reg_num.
9275         (scan_loop): Call reg_scan_update whenever we may have added new
9276         registers, and update loop_max_reg.
9277
9278 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9279
9280         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
9281         when source does not die.
9282
9283         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
9284
9285 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
9286
9287         * config/sparc/linux64.h (TARGET_LIVE_G0,
9288         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
9289         variants on Linux.
9290         * config/sparc/linux.h (TARGET_LIVE_G0,
9291         TARGET_BROKEN_SAVERESTORE): Likewise.
9292         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
9293         TARGET_BROKEN_SAVERESTORE): Likewise.
9294
9295         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
9296         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
9297         not %g2.
9298         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
9299         as sparc64 block profiling register.
9300         * config/sparc/sparc.c (sparc_override_options): Allow block
9301         profiling with -m32.
9302         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
9303         profiling register.
9304         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
9305         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
9306         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
9307
9308         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
9309         for sparc64.
9310         * config/sparc/sparc.h: Likewise.
9311         * config/sparc/xm-sysv4-64.h: Likewise.
9312         * config/float-sparc.h: Likewise.
9313         * glimits.h: Likewise.
9314         * longlong.h: Likewise.
9315
9316         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
9317         (ASM_IDENTIFY_GCC): Remove.
9318
9319 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
9320
9321         * combine.c (combine_simplify_rtx): Don't make shared rtl.
9322         (simplify_logical): Likewise.
9323
9324 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9325
9326         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
9327         * cppfiles.c (INO_T_EQ): Likewise.
9328
9329 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
9330
9331         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
9332         * i386/mingw32.h (LIB_SPEC): Likewise.
9333         (STARTFILE_SPEC): Likewise.
9334         * i386/uwin.h (LIB_SPEC): Likewise.
9335         (STARTFILE_SPEC): Likewise.
9336
9337         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
9338         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
9339
9340 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
9341
9342         * combine.c (combine_simplify_rtx): Fix order of checks for
9343         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
9344
9345 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
9346
9347         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
9348         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
9349
9350 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
9351
9352         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
9353         defined.
9354         * regclass.c (inv_reg_alloc_order): New array.
9355         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
9356
9357         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
9358         counted_for_groups, counted_for_nongroups.  Add fields rld and
9359         n_reloads.
9360         * reload.c (push_secondary_reload): Don't set nongroup field of
9361         new reloads.
9362         (push_reload): Likewise.
9363         (find_reloads): Delete code to compute nongroup fields.
9364         * reload1.c (reload_insn_firstobj): New static variable.
9365         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
9366         users changed.
9367         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
9368         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
9369         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
9370         functions.
9371         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
9372         functions.
9373         (struct hard_reg_n_uses): Deleted.
9374         (potential_reload_regs): Deleted.
9375         (init_reload): Initialize spilled_pseudos and pseudos_counted.
9376         (reload): Don't try to allocate reload registers if we already know
9377         we have to make another pass.  Call select_reload_regs.  Free memory
9378         starting with reload_firstobj when starting another pass.
9379         Don't allocate spilled_pseudos.
9380         (calculate_needs_all_insns): Call copy_reloads for an insn that
9381         needs reloads; don't call calculate_needs.
9382         (spill_cost): New static array.
9383         (used_spill_regs_local): New static variable.
9384         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
9385         to compute potential_reload_regs.
9386         (find_reload_regs): Completely rewritten to use find_reg.
9387         (allocate_reload_reg): Don't test counted_for_groups or
9388         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
9389         all cllers changed.
9390         (choose_reload_regs): Add fallback code that uses the existing
9391         register allocation from find_reload_regs.
9392
9393 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
9394
9395         * flow.c (create_edge_list): Cast xmalloc return value.
9396
9397 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
9398
9399         * doprnt.c: Remove incorrect comment closure.
9400
9401         * cse.c: Fix a few minor whitespace goofs.
9402
9403 1999-12-13  Don Bowman  <don@pixstream.com>
9404
9405         * mips/vxworks.h: Fix problem with comment termination.
9406         (EXTRA_SECTIONS): Add in_sbss.
9407         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
9408
9409 1999-12-12  David S. Miller  <davem@redhat.com>
9410
9411         * cse.c (struct cse_reg_info): Add hash_next member,
9412         reorder rest of struct for better packing on 64-bit
9413         hosts.
9414         (cse_reg_info_tree): Kill.
9415         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
9416         REGHASH_FN): New custom pow2 hash mechanism.
9417         (NBUCKETS): Kill.
9418         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
9419         use a pow2 hash table.
9420         (get_cse_reg_info): Rework to use new REGHASH.
9421         (new_basic_block): Likewise, use HASH_SIZE, and inline
9422         free_element call.
9423         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
9424         and inline free_element call.
9425         (lookup_as_function, insert, flush_hash_table, invalidate,
9426         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
9427         invalidate_for_call, use_related_value, find_comparison_args,
9428         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
9429         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
9430         get_element): Kill.
9431
9432 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
9433
9434         * cse.c (cse_basic_block): Free qty_table consistently.
9435
9436 1999-12-12  David S. Miller  <davem@redhat.com>
9437             Jakub Jelinek    <jakub@redhat.com>
9438
9439         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
9440         SUBREGs by hand, gen the appropriate hard reg directly.
9441         (movtf reg/mem split): Likewise and alter_subreg on destination
9442         if necessary.
9443         (movtf mem/reg split): Similarly.
9444         (movdf_cc_sp64): Rename from hidden pattern.
9445         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
9446         (movtf_cc_sp64, following split): New pattern and splitter.
9447         (movdf_cc_reg_sp64): Rename from hidden pattern.
9448         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
9449         TARGET_HARD_QUAD.
9450         (movtf_cc_reg_sp64, following split): New pattern and splitter.
9451
9452 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
9453
9454         * loop.c (load_mems): Don't hoist written floating point mem
9455         if -ffloat-store.
9456
9457 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
9458
9459         * except.h (struct eh_queue): Add `next' pointer.
9460         (struct eh_status): Make x_ehqueue a pointer.
9461         (push_ehqueue):  Declare.
9462         (pop_ehqueue): Likewise.
9463         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
9464         pointer.
9465         (expand_fixup_region_end): Likewise.
9466         (expand_leftover_cleanups): Likewise.
9467         (push_ehqueue): Define.
9468         (pop_ehqueue): Likewise.
9469         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
9470         than doing it inline.
9471         (expand_start_all_catch):  Adjust now that ehqueue is a
9472         pointer.
9473         (mark_eh_queue): Mark all level of the queue.
9474         (mark_eh_status):  Adjust now that ehqueue is a
9475         pointer.
9476         (init_eh_for_function): Allocate ehqueue.
9477         (free_eh_status): Free it.
9478         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
9479         expansion for a fixup.
9480
9481 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9482
9483         * gthr-single.h (__gthread_active_p): Add prototype arguments.
9484
9485         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
9486         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
9487         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
9488         function_ptr, getpagesize, __enable_execute_stack,
9489         __enable_execute_stack, __clear_insn_cache,
9490         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
9491         _cleanup, _exit, __default_terminate, __terminate_func,
9492         __terminate, __empty, __throw, new_eh_context,
9493         eh_context_initialize, eh_context_static, eh_context_specific,
9494         get_eh_context, __get_eh_context, __get_eh_info,
9495         init_reg_size_table, eh_threads_initialize,
9496         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
9497         __unwinding_cleanup, throw_helper, __throw, __rethrow,
9498         __pure_virtual): Add prototype arguments.
9499         (__bb_exit_func): Cast a sizeof to long when comparing against one.
9500         Cast a signed value to unsigned long when comparing against one.
9501         (new_eh_context): Wrap in _GTHREADS macro.
9502         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
9503         declaration.
9504         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
9505         (throw_helper): Initialize variables `handler_p' and `pc_p'.
9506
9507 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9508
9509         * combine.c (record_promoted_value): Remove unused variable
9510         `links2'.
9511
9512         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
9513
9514         * global.c (record_conflicts): Likewise for `j'.
9515
9516         * genoutput.c (output_insn_data): Don't unnecessarily cast away
9517         const-ness.
9518
9519 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9520
9521         * i386-protos.h (output_387_binary_op, output_fix_trunc,
9522         output_fp_compare): Constify a char*.
9523
9524         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
9525         static prototypes.
9526         (override_options, ix86_comp_type_attributes, print_operand,
9527         output_387_binary_op, output_fix_trunc, output_fp_compare):
9528         Constify a char*.
9529         (ix86_sched_reorder): Mark parameter `clock_var' with
9530         ATTRIBUTE_UNUSED.
9531
9532         * i386.h (DEBUG_PRINT_REG): Constify a char*.
9533
9534 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
9535
9536         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
9537         operand, for use in the Java front-end.
9538
9539 1999-12-10  Ben Collins  <bcollins@debian.org>
9540
9541         * configure.in: Fix typo for "-64" in 64bit as check.
9542         * configure: Rebuilt.
9543
9544 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
9545
9546         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
9547         appropriate.
9548
9549 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9550
9551         * c-parse.in (string): With -Wtraditional, warn if ANSI string
9552         concatenation is utilized.
9553
9554         * invoke.texi (-Wtraditional): Document it.
9555
9556 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9557
9558         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
9559         Cast a ptrdiff_t to long and pass it to printf with %ld.
9560
9561 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
9562
9563         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
9564         68881, we have no 68881 registers at all.
9565         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
9566         value in a 68881 register if it is available.
9567
9568 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
9569
9570         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
9571         for long long multiply-accumulate.
9572
9573 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
9574
9575         * loop.c (insert_loop_mem): Undo last change.
9576
9577 1999-12-10  David S. Miller  <davem@redhat.com>
9578
9579         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
9580         New functions.
9581         * config/sparc/sparc-protos.h: Add them.
9582         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
9583         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
9584         constraints which use those helpers.
9585         (EXTRA_CONSTRAINT): Use this new macro.
9586         * md.texi: Update sparc target constraints documentation.
9587         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
9588         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
9589         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
9590         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
9591         (movsf high/lo_sum split): Rework for new patterns.
9592         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
9593
9594 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
9595
9596         * c-common.c (c_common_nodes_and_builtins):
9597         Create __builtin_ptrdiff_t and __builtin_size_t.
9598
9599 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
9600
9601         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
9602
9603 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9604
9605         * regclass.c (globalize_reg): Re-instate test that allows
9606         fixed registers to be declared as a variable even after functions
9607         are defined.
9608
9609 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9610
9611         * i386.md (cpu attribute): Add "athlon".
9612         (athlon_decode): New attribute.
9613         (Athlon scheduling units definitions): New.
9614         (fcmp and shld patterns): Set athlon_decode to "vector".
9615         * i386.c (athlon_cost): New.
9616         (m_ATHLON): New.
9617         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
9618         x86_use_sahf): Set for Athlon.
9619         (x86_use_fiop): Unset for Athlon.
9620         (override_options): Define Athlon alignments and "athlon" name.
9621         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
9622         * i386.h (TARGET_ATHLON): New.
9623         (enum processor_type): Add PROCESSOR_ATHLON.
9624         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
9625         for CPU_DEFAULT==5
9626         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
9627
9628 1999-12-09  Andreas Jaeger  <aj@suse.de>
9629
9630         * loop.c (record_biv): Declare parameter as int.
9631
9632         * config/i386/i386-protos.h: Declare long_memory_operand.
9633
9634 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
9635
9636         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
9637         EXPR_WITH_FILE_LOCATION.
9638
9639 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
9640
9641         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
9642         in expander.
9643
9644         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
9645
9646         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
9647         updating code.
9648
9649 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
9650
9651         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
9652         default on linux64 again.
9653         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
9654         models for multilibing.
9655         * genmultilib: Accept | as alternative separator within a set in
9656         MULTILIB_OPTIONS.
9657
9658         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
9659
9660         * calls.c (precompute_arguments): Make sure initial_value contains
9661         value pseudo which CSE expects.
9662         * cse.c (struct set): New entry orig_src.
9663         (cse_insn): Set it early on entry, use it for libcall EQUIV note
9664         replacement.
9665
9666 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
9667
9668         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
9669
9670 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
9671
9672         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
9673
9674 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
9675
9676         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
9677         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
9678
9679         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
9680         if TARGET_ARCH32.
9681
9682         * longlong.h: Merge in changes from glibc.
9683         Also don't clobber %g2 register in 32bit SPARC assembly, so that
9684         -mno-app-regs libgcc can be compiled.
9685         * libgcc2.c: Add defines so that the updated longlong.h
9686         can be used in libgcc2.a. Also, make sure on most architectures
9687         (at least on all which have optimized code in longlong.h defined
9688         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
9689
9690 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9691
9692         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
9693         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
9694         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
9695         is GNU ld.
9696         * configure: Rebuilt.
9697
9698 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
9699
9700         * alpha.c (secondary_reload_class): For !BWX, sub-simode
9701         outputs require a register.
9702
9703 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
9704
9705         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
9706         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
9707         functions like dptoul will be resolved.
9708         (libgcc2.a): Make sure that the object files from DPBIT are named
9709         differently (prefix `_dp') from those that would be coming from
9710         FPBIT.
9711
9712 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
9713
9714         * configure.in: When target is sparc* and tm_file contains 64,
9715         test for 64bit support in assembler.  If not supported, remove
9716         sparc/t-sol2-64 from target-dependent Makefile fragments.
9717         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
9718         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
9719         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
9720         * acconfig.h (AS_SPARC64_FLAG): Added.
9721         * configure, config.in: Rebuilt.
9722         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
9723         support.  Use AS_SPARC64_FLAG.
9724
9725 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
9726
9727         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
9728         suitable for holding OFmode values so that gcc works with complex
9729         quad long doubles.
9730         (hard_64bit_mode_classes): Likewise.
9731
9732         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
9733         so that it is actually matched.
9734         (sethi_di_medlow): Likewise.
9735
9736         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
9737         as legitimate constant if -mvis.
9738         * config/sparc/sparc.md (movtf): Likewise.
9739         (clear_sf): Use const_double_operand.
9740         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
9741
9742         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
9743         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
9744         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
9745         routines, _Qp_* cannot be handled like that now.
9746         (INIT_TARGET_OPTABS): Likewise.
9747         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
9748         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
9749         sparc_emit_float_lib_cmp if ARCH64 and soft float.
9750         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
9751         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
9752         divtf3, sqrttf3): New expanders.
9753         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
9754         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
9755         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
9756         non-_hq patterns.
9757
9758         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
9759         * configure: Rebuilt.
9760         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
9761         -mcpu is given and we're doing 64bit compiles.
9762
9763 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
9764
9765         * loop.h (struct induction): Add multi_insn_incr.
9766         * loop.c (basic_induction_var): New multi_insn_incr argument.
9767         Set it if we search back through previous insns for the biv.
9768         (record_biv): New multi_insn_incr argument; fill in struct induction.
9769         (strength_reduce): Discard an iv with multiple bivs, any of
9770         which require multiple insns to increment.
9771
9772 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9773
9774         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
9775         documentation.
9776
9777 1999-12-06  David S. Miller  <davem@redhat.com>
9778
9779         * combine.c (check_promoted_subreg): Do not conditionalize this upon
9780         PROMOTE_FUNCTION_RETURN.
9781
9782 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
9783
9784         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
9785         and handle REG_UNUSED note on insn.
9786
9787         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
9788         inner_mask instead of mask.
9789
9790 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
9791
9792         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
9793         zero if there was an error.
9794
9795 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
9796
9797         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
9798         output string.
9799
9800         * longlong.h: Fix clobbers in SPARC asm statements.
9801
9802         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
9803         valid sethi operations when TARGET_ARCH64.
9804
9805         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
9806         always use move_by_pieces to avoid infinite recursion.
9807         (restore_fixed_argument_area): Likewise.
9808
9809         * combine.c (check_promoted_subreg, record_promoted_value): New
9810         functions.
9811         (combine_instructions): Use them to retain nonzero and sign bit
9812         information after SUBREGs are eliminated by optimizations in
9813         this pass if PROMOTE_FUNCTION_RETURN.
9814
9815         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
9816         .register declaration. Don't use variables with __ prefixes.
9817
9818 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9819
9820         * fold-const.c (optimize_bit_field_compare): Only use one mode
9821         for both RHS and LHS in non-constant case.
9822
9823 1999-12-06  Nathan Sidwell  <nathan@acm.org>
9824
9825         * frame.c (start_fde_sort): Only allocate erratic array, if
9826         linear one was allocated. Return allocated flag.
9827         (fde_insert): Only insert, if there's a valid array.
9828         (fde_end_sort): Split, sort and merge if linear and erratic
9829         arrays exist, else just sort linear one.
9830         (search_fdes): New function. Linear search through original fde
9831         structure.
9832         (frame_init): Permit multiple initializations. Cope with
9833         memory shortages.
9834         (find_fde): Fallback on linear search, if failed to sort array.
9835         (__deregister_frame_info): Only free sorted array, if we
9836         allocated it.
9837
9838 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
9839
9840         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
9841
9842 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
9843
9844         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
9845
9846 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
9847
9848         * tree.h (special_function_p): Declare.
9849         * calls.c (special_function_p): Make it global.  Don't take `name'
9850         as a parameter.  Fix typo in 1999-11-28 change.
9851         (expand_cal): Adjust.
9852
9853 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
9854
9855         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
9856         * tree.h (EXPR_WFL_FILENAME): Define in terms of
9857         EXPR_WFL_FILENAME_NODE.
9858         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
9859         the TREE_CHAIN.
9860         * print-tree.c (print_note): Print TREE_PRIVATE and
9861         TREE_PROTECTED.
9862
9863         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
9864         the original die cannot be found.
9865
9866         * varray.h (varray_head_tag): Add elements_used.
9867         (VARRAY_PUSH): New macro.
9868         (VARRAY_POP): Likewise.
9869         (VARRAY_TOP): Likewise.
9870         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
9871         types.
9872         * varray.c (varray_init): Initialize elements_used.
9873         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
9874         (INTEGRATE_H): New variable.
9875         (integrate.o): Depend on INTEGRATE_H.
9876         (unroll.o): Likewise.
9877
9878         * function.h (insert_block_after_note): Declare.
9879         * function.c (insert_block_after_note): Split out from ...
9880         (retrofit_block): ... here.
9881
9882         * stmt.c (expand_fixup): Fix typo in comment.
9883
9884 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
9885
9886         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
9887         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
9888         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
9889         (regmove_optimize, fixup_match_1): Likewise.
9890
9891 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9892
9893         * flow.c (flow_loops_dump): Add missing argument when calling
9894         flow_loop_nested_p.
9895
9896 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
9897             Greg McGary  <gkm@gnu.org>
9898
9899         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
9900         (init_attributes): Add A_NO_LIMIT_STACK.
9901         (decl_attributes): Handle A_NO_LIMIT_STACK.
9902         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
9903         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
9904         Handle stack bounds checking.
9905         * flags.h (flag_stack_check): Use the word 'probe' rather than
9906         'check', because the flag doesn't actually cause any checking to
9907         be done.
9908         * function.c (expand_function_start): Set
9909         current_function_limit_stack.
9910         * function.h (struct function): Add limit_stack.
9911         (current_function_limit_stack): Define.
9912         * invoke.texi (Code Gen Options): Document new options.
9913         * rtl.h: Declare stack_limit_rtx.
9914         * toplev.c (stack_limit_rtx): New variable.
9915         (decode_f_option): Handle new options -fstack-limit-register=REG,
9916         -fstack-limit-symbol=IDENT, -fno-stack-limit.
9917         (main): Add stack_limit_rtx as GC root.
9918         * tree.h (DECL_NO_LIMIT_STACK): New macro.
9919         (struct tree_decl): New member no_limit_stack.
9920
9921         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
9922         stack_limit_rtx.
9923         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
9924         (conditional_trap+1): Get new mnemonic correct.
9925         (conditional_trap+2): New pattern for DImode traps.
9926
9927         * config/m68k/m68k.c (output_function_prologue): Handle
9928         stack_limit_rtx.
9929         * config/m68k/m68k.md (trap): New insn.
9930         (conditional_trap): New insn.
9931         * md.texi (Standard Names): Document `trap' and
9932         `conditional_trap'.
9933         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
9934         so a cc0 setter doesn't get emitted at some random place in the
9935         function.
9936
9937         * config/i960/i960.md (trap): New insn.
9938         (conditional_trap): New expander.
9939         (conditional_trap+1, conditional_trap+2): New insns for signed
9940         and unsigned cases.
9941         * config/i960/i960.c (i960_function_prologue): Use
9942         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
9943
9944 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
9945                           Geoffrey Keating  <geoffk@cygnus.com>
9946
9947         * flags.h (warn_padded, warn_packed): Add global var decls.
9948         * toplev.c (warn_padded, warn_packed): Add global var defns.
9949         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
9950         * stor-layout.c (layout_record): Add local variable `type'
9951         to hold often-used TREE_TYPE (field).  Add local variable
9952         `unpacked_align' to hold alignment that would be in force
9953         if no `packed' attribute were present.  Warn if `packed' attribute
9954         is unnecessary, or even harmful.  Warn when gcc inserts padding
9955         to satisfy alignment requirements of members.  Use NULL_TREE
9956         when checking whether var_size is set.
9957         * invoke.texi: Document new flags.
9958
9959 1999-12-03  Nathan Sidwell  <nathan@acm.org>
9960
9961         * frame.c (fde_split): Reimplement to avoid variable sized array.
9962
9963 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9964
9965         * combine.c (try_combine): Before fixing up LOG_LINKS for the
9966         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
9967
9968 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
9969
9970         * invoke.texi: Document the mips option -mno-crt0
9971
9972 1999-12-02  Mike Karr  <mkarr@mathworks.com>
9973
9974         * cccp.c (argdata): Added free_ptr member.
9975         (macroexpand): Initialize free_ptr of each argument. When an
9976         argument's buffers are freed, if the argument's free_ptr corresponds
9977         to a buffer on the input stack, then return the free_ptr to that stack
9978         frame, otherwise, free it.
9979         (macarg): If an argument begins and ends on the same input stack level,
9980         then transfer the free_ptr of that buffer to the argument in case
9981         the stack is popped during the processing of a subsequent argument.
9982
9983 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
9984
9985         * loop.c (note_reg_stored): New function.
9986         (struct note_reg_stored_arg): New structure.
9987         (try_copy_prop): Change to be more conservative; only replace within
9988         one extended basic block and stop replacing if a store to the
9989         replacement reg is seen.
9990
9991 1999-12-02  Nick Clifton  <nickc@cygnus.com>
9992
9993         * config/fp-bit.c: Initialise all fields of the NAN
9994         constants.
9995
9996         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
9997         to HANDLE_PRAGMA.
9998
9999 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
10000
10001         * i386.md (extend?f?f2): Force the input into a register, not
10002         the output.
10003
10004 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
10005
10006         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
10007         regclass' sake.
10008         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
10009         alternative because setting up 64bit constant is usually costly,
10010         especially when reload is in progress or completed.
10011         (movdf_const_intreg_sp64): Likewise.
10012         (movdf_const_intreg split): Fix building up constants when
10013         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
10014
10015 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
10016
10017         * combine.c (if_then_else_cond): Use const_true_rtx instead of
10018         const1_rtx for return values in EQ/NE comparison against (const_int 0)
10019         case.
10020
10021         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
10022         (asm_file_start): Emit .am33 into assembly file when compiling for
10023         the AM33.
10024         (print_operand_address): Handle POST_INC addresses.
10025         (can_use_return_insn, initial_offset): Check AM33 registers too.
10026         (expand_prologue): Check & save AM33 registers too.
10027         (expand_epilogue): Similarly.
10028         (secondary_reload_class): Handle AM33 specific secondary reloads.
10029         (output_tst): Emit efficient code for the AM33 too.
10030         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
10031         (TARGET_SWITCHES): Add -mam33 switch.
10032         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
10033         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
10034         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
10035         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
10036         (enum reg_class, REG_CLASS_NAMES): Likewise.
10037         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
10038         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
10039         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
10040         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
10041         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
10042         (HAVE_POST_INCREMENT): Define.
10043         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
10044         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
10045         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
10046         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
10047         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
10048         (zero_extend to SI from QI/HI): Likewise.
10049         (sign_extend to SI from QI/HI): Likewise.
10050         (mulsidi3, umulsidi3): New patterns for the AM33.
10051         (tstsi with zero extension from QI/HI): Add AM33 variants.
10052         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
10053         (return_internal_regs, store_movm): Handle new AM33 registers.
10054         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
10055         (LIBGCC, INSTALL_LIBGCC): Likewise.
10056         * invoke.texi: Document new flags.
10057
10058 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10059
10060         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
10061         (addsi3_carry): Likewise.
10062         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
10063         (sbbsi3_carry): Likewise.
10064         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
10065         (mulhi3): Likewise.
10066         (test?i_1): Ensure that only one operand is memory.
10067         (conditional move patterns): likewise.
10068         (shift and rotate patterns): Rewrite to expander, add
10069         "binary_operator_ok" to the condition.
10070
10071         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
10072         * i386.h (procesor_costs): Add movzbl_load field.
10073         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
10074         non-Q registers, accept DImode registers anywhere.
10075         (Q_CLASS_P): New.
10076         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
10077         * i386.c (*_cost): Set value for movxbl_load field.
10078
10079         * (addsi): New add to lea splitter.
10080         (ashlsi): Likewise.
10081         (lea to add/shift peep2): New.
10082
10083 1999-12-01  Mark Salter <msalter@cygnus.com>
10084
10085         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
10086         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
10087         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
10088
10089 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10090
10091         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
10092         * i386.md (movsi_xor): New.
10093         (movsi_or): New.
10094         (movsi_1, movhi_1, movqi_1): Remove.
10095         (movsi_2): Rename to movsi_1.
10096         (movhi_2): Rename to movhi_1.
10097         (movqi_2): Rename to movqi_1.
10098         (movdi_1): Remove; remove splitter.
10099         (movdi_2): Rename to movdi_1.
10100         (divmodsi4 splitter): Do not emit clobbers for move patterns.
10101         (long move peep2): Do not create QI or HI mode mov0s
10102         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
10103
10104         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
10105         rewrite splitters.
10106
10107         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
10108         (abs?f2_if): Likewise.
10109
10110 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
10111
10112         * ggc.h (ggc_test_and_set_mark): New macro.
10113         (ggc_mark_rtx): Use ggc_test_and_set_mark.
10114         (ggc_mark_tree): Likewise.
10115         (ggc_mark_rtvec): Likewise.
10116         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
10117
10118 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
10119
10120         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
10121         containing types.
10122         (decl_scope_table): Just an array of trees now.
10123         (push_decl_scope): Simplify.
10124         (dwarf2out_init): Adjust.
10125         (local_scope_p): New fn.
10126         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
10127         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
10128         (gen_typedef_die): Likewise.
10129         (gen_lexical_block_die): Don't call push/pop_decl_scope.
10130         (gen_inlined_subroutine_die): Likewise.
10131         (gen_abstract_function): Set current_function_decl temporarily.
10132         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
10133         Handle block extern declarations.  Don't call push/pop_decl_scope.
10134         (gen_decl_die): Fix logic for block externs.
10135
10136 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10137
10138         * calls.c (special_function_p): Remove `realloc' and add `strdup'
10139         to the list of functions which have attribute malloc by default.
10140
10141 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10142
10143         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
10144         integer constant does not match the traditional type, limit the
10145         warnings to cases where the base of the type is ten.
10146
10147         * invoke.texi (-Wtraditional): Document it.
10148
10149 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
10150
10151         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
10152         * rs6000.md: Only access a CONST_INT with INTVAL
10153
10154 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
10155
10156         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
10157         (compute_nearerout): Likewise.
10158         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
10159         size_t to unsigned long for formatting.
10160
10161 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10162
10163         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
10164         Allow the user to override call-used/fixed state of %g2-5
10165         registers from the command line (with the exception of %g4 for
10166         embedded model).
10167         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
10168         there is a higher chance of having a leaf function.
10169         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
10170         for ARCH64 which has %ccr register.
10171         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
10172         patterns.
10173         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
10174         insn accept into delay slot any insn which does not use %[ol]
10175         registers.  Accept some LO_SUM and shift left by 1 for the normal
10176         restore case.
10177         (output_function_epilogue): Likewise.
10178         (epilogue_renumber): Added argument which inhibits any renumbering
10179         and just tests if the rtx does not use any %[ol] registers.
10180         (output_return): Reflect above change.
10181
10182 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
10183
10184         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
10185         aggregate passing for sizes <= 16 bytes.
10186
10187 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10188
10189         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
10190         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
10191         * reload.c (find_dummy_reload): Likewise.
10192         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
10193         * reload1.c (reload_as_needed): Likewise.
10194         * stupid.c (stupid_find_reg): Likewise.
10195         * tm.texi (Obsolete Register Macros): Delete section.
10196         * gmicro.h: Remove all traces of the two macros.
10197         * i386.h: Likewise.
10198         * m88k.h: Likewise.
10199         * mips.h: Likewise.
10200
10201 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
10202
10203         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
10204         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
10205         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
10206         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
10207         units for the sparclite86x chip.
10208         (flush): Revert October 14th change; add SImode specifically.
10209         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
10210         * invoke.texi: Document it.
10211
10212 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
10213
10214         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
10215         psimode_truncation_operand.
10216
10217         * config/mn10200/mn10200.c (psimode_truncation_operand): New
10218         function.  Return true if the operand is either a MEM valid
10219         for a PSImode address or not a MEM at all.
10220
10221         * config/mn10200/mn10200.md (truncsipsi2): Use
10222         psimode_truncation_operand.
10223
10224 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10225
10226         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
10227         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
10228         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
10229         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
10230         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
10231         (flow_loop_level_compute, low_loops_level_compute): Likewise.
10232         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
10233         * basic-block.h: Protect from multiple inclusion.
10234         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
10235         (struct loops, struct loop): Define structures.
10236         * sbitmap.c (sbitmap_a_subset_b_p): New function.
10237         * sbitmap.h: Protect from multiple inclusion.
10238         (sbitmap_a_subset_b_p): Add prototype.
10239         * Makefile.in (LOOP_H): New macro.
10240         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
10241
10242 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
10243
10244         * cppinit.c (CAT): The argument list of this macro may not contain
10245         spaces !
10246
10247 1999-11-29  David S. Miller  <davem@redhat.com>
10248
10249         Move quantity tables and register equivalence chains into
10250         per-qty and per-register structure arrays respectively.
10251         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
10252         qty_const_insn, qty_comparison_code, qty_comparison_const,
10253         qty_comparison_qty): Delete, replace with...
10254         (qty_table): this structure table.
10255         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
10256         (reg_eqv_table): this structure table.
10257         (make_new_qty): Add argument MODE.  Caller updated.
10258         Update to use qty_table and reg_eqv_table.
10259         (make_regs_eqv, delete_reg_equiv, insert_regs,
10260         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
10261         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
10262         cse_process_notes, cse_main, cse_basic_block): Likewise.
10263
10264 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10265
10266         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
10267         operation if C is negative.
10268         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
10269         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
10270         law for some divisions if constant is negative and change other
10271         divisions to the opposite rounding.
10272
10273         * expr.c (store_constructor_field): If bit position is not multiple
10274         of alignment of TARGET's mode, use BLKmode.
10275
10276         * expr.c (expand_expr_unaligned): Add more code from full case
10277         that is needed when OP0 is in a register.
10278
10279 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10280
10281         * dwarfout.c (field_byte_offset): Size can be zero if there was
10282         an error.
10283
10284 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10285
10286         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
10287         (associate_trees): Delete unused var TEM.
10288         (extract_muldiv): Delete unused var CANCEL_P.
10289
10290         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
10291         (target_isinf, target_isnan, target_negative): Add return types to
10292         function definitions.
10293
10294 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
10295
10296         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
10297         * fixinc/hackshell.tpl: ditto
10298         * fixinc/fixtests.c(double_slash_test): more C++ header testing
10299         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
10300
10301 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
10302
10303         * reload.c (push_reload): When looking for a register to put into
10304         reg_rtx, make sure all hard regs in a multi-reg register are in the
10305         right class and nonfixed.
10306
10307         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
10308         pending_read_insns, pending_write_insns, pending_read_mems,
10309         pending_write_mems, pending_list_length, last_pending_memory_flush,
10310         last_function_call, sched_before_next_call): Move static variables
10311         into a structure.
10312         (bb_ prefixed versions): Replace with single array bb_deps.
10313         (struct deps): New structure.
10314         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
10315         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
10316         argument of type "struct deps *"; use that instead of global
10317         variables.  All callers changed.
10318         (init_rgn_data_dependencies): Delete function.
10319         (init_rtx_vector): Delete function.
10320         (init_deps): New function.
10321
10322         (free_pending_lists): Simplify, we always use the bb_deps array even
10323         if only one basic block.
10324         (compute_block_backward_dependences): Likewise.
10325         (schedule_region): Likewise.
10326
10327         (propagate_deps): New function, broken out of
10328         compute_block_backward_dependences.
10329         (compute_block_backward_dependences): Use it.
10330
10331         * alpha.md: Delete useless patterns that tried to work around
10332         register elimination problems.
10333
10334         * unroll.c (loop_iterations): Don't abort if iteration variable
10335         was made by loop.
10336
10337         From Joern Rennecke:
10338         * reload1.c (reloads_conflict): Reverse test comparing operand
10339         numbers when testing for conflict between output/outaddr reloads.
10340
10341 1999-11-29  David S. Miller  <davem@redhat.com>
10342
10343         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
10344         arg.
10345         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
10346
10347 1999-11-28  Robert Lipe  <robertl@cygnus.com>
10348
10349         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
10350         table from .fini into .dtor.
10351
10352 1999-11-28  Anthony Green  <green@cygnus.com>
10353
10354         * tree.h (struct tree_decl): Add malloc_flag.
10355         (DECL_IS_MALLOC): Define.
10356         * c-common.c (attrs): Add A_MALLOC attribute.
10357         (init_attributes): Add this attribute to the table.
10358         (decl_attributes): Handle malloc attribute.
10359         * calls.c (special_function_p): Check for the malloc attribute.
10360         * extend.texi (Function Attributes): Document malloc attribute.
10361
10362 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
10363
10364         * pa.md (reload shift-add patterns): Remove.
10365
10366 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10367
10368         * reorg.c (dbr_schedule) Print more statistics. Corrected
10369         problem when printing info when 3 delay slots are filled.
10370
10371 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
10372
10373         * combine.c (setup_incoming_promotions): Pass an outgoing
10374         regno to FUNCTION_ARG_REGNO_P which it expects.
10375
10376 1999-11-28  Andreas Jaeger  <aj@suse.de>
10377
10378         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
10379
10380 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
10381
10382         * cccp.c (do_include): Avoid initialization of automatic variable.
10383
10384         * integrate.c (mark_stores): Function definition made void, to match
10385         previous declaration.
10386         * regclass.c (dump_regclass): Ditto.
10387         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
10388
10389 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10390
10391         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
10392         known to be multiple of divisor.
10393
10394         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
10395
10396         * combine.c (try_combine): Add code to try to merge a set of a
10397         two-word pseudo to a constant with a setting of one of those words
10398         to a constant.
10399
10400         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
10401         (split_tree): Completely rework to make more general.
10402         (make_range, fold): Call negate_expr.
10403         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
10404         (fold, associate): Call new split_tree and associate_trees.
10405         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
10406
10407 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
10408
10409         * loop.c (try_copy_prop): Avoid GNU C extension.
10410
10411 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
10412
10413         * except.c (init_eh_for_function): Still zero eh_return_context,
10414         eh_return_stack_adjust, and eh_return_handler.
10415
10416         * except.h (eh_status): Adjust documentation for x_protect_list.
10417         (begin_protect_partials): New function.
10418         * except.c (enqueue_eh_entry): Fix formatting.
10419         (get_first_handler): Add consistency check.
10420         (add_partial_entry): Adjust usage of protect_list.
10421         (emit_cleanup_handler): Save and restore ehqueue.
10422         (expand_start_all_catch): Add comment.
10423         (begin_protect_partials): New function.
10424         (end_protect_partials): Adjust usage of protect_list.
10425         (init_eh_for_function): Use xcalloc.
10426
10427 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10428
10429         * c-common.c (check_format_info): Don't call a variadic function
10430         with a non-literal format string.
10431
10432         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
10433
10434         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
10435         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
10436         Likewise.
10437
10438         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
10439         Likewise.
10440
10441         * collect2.c (collect_wait): Likewise.
10442
10443         * dbxout.c (dbxout_type): Likewise.
10444
10445         * gcc.c (do_spec_1): Likewise.
10446
10447         * genemit.c (gen_insn, gen_expand): Likewise.
10448
10449         * genrecog.c (write_switch, write_subroutine): Likewise.
10450
10451         * mips-tfile.c (catch_signal, botch): Likewise.
10452
10453         * print-rtl.c (print_rtx): Likewise.
10454
10455         * toplev.c (default_print_error_function, report_error_function,
10456         _fatal_insn): Likewise.
10457
10458 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
10459
10460         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
10461
10462 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10463
10464         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
10465         operations when needed.
10466         * i386.md (fop_?f_comm): New.
10467         (fop_?f_1): Do not accept commutative operands.
10468
10469 1999-11-25  Andreas Jaeger  <aj@suse.de>
10470
10471         * config/mips/mips.md (casesi_internal): Add missing brace.
10472
10473 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
10474
10475         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
10476         (splice_child_die): Handle moving a child DIE from the declaration
10477         DIE of a class to its specification.
10478         (gen_struct_or_union_type_die): Use 'complete' consistently.
10479         (gen_decl_die): Generate the virtual context DIE first.
10480         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
10481
10482 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
10483
10484         * config/mips/mips.md (call_value_multiple_interanal1): New.
10485
10486 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
10487
10488         * dwarf2out.c (free_AT, free_die): New fns.
10489         (remove_children): Call them.
10490         (output_line_info): Disable removal of duplicate notes.
10491
10492         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
10493         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
10494         means pretend the type isn't defined.
10495         Don't defer emitting types.
10496         (gen_type_die_for_member): New fn.
10497         (gen_decl_die): Call it.
10498         (splice_child_die): New fn.
10499         (gen_member_die): Call it rather than generate duplicate dies.
10500
10501         Defer emitting information for the abstract instance of an inline
10502         until we either inline it or emit an out-of-line copy.
10503         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
10504         from output_inline_function if DECL_ABSTRACT is also set.
10505         (block_ultimate_origin): Likewise.
10506         (gen_abstract_function): New fn.
10507         (gen_decl_die, gen_inlined_subroutine_die): Call it.
10508         (gen_subprogram_die):  An abstract instance is not a declaration
10509         just because it doesn't match current_function_decl.  Don't abort
10510         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
10511         has an abstract origin.
10512         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
10513         abstract instance here.
10514
10515 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
10516
10517         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
10518         where we need to reload fpul from a system register.
10519
10520 1999-11-24  Andreas Jaeger  <aj@suse.de>
10521
10522         * config/mips/linux.h (CPP_PREDEFINES): Added.
10523         (LINK_SPEC): Remove -Y since this is only needed on sparc.
10524
10525 1999-11-24  Andreas Jaeger  <aj@suse.de>
10526
10527         * config/mips/linux.h (TARGET_VERSION): Added.
10528         (HANDLE_SYSV_PRAGMA): Added.
10529         (DEFAULT_VTABLE_THUNKS): Added.
10530
10531 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10532
10533         * local-alloc.c (qty): New structure and static variable.
10534         (qty_phys_reg): Remove, all references changed to qty.
10535         (qty_n_refs): Likewise.
10536         (qty_min_class): Likewise.
10537         (qty_birth): Likewise.
10538         (qty_death): Likewise.
10539         (qty_size): Likewise.
10540         (qty_mode): Likewise.
10541         (qty_n_calls_crossed): Likewise.
10542         (qty_alternate_class): Likewise.
10543         (qty_changes_size): Likewise.
10544         (qty_first_reg): Likewise.
10545         (alloc_qty): Rename variable QTY to QTYNO.
10546         (finf_free_reg): Likewise.
10547         (local_alloc): Allocate qty, do not allocate the removed variables.
10548
10549 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
10550
10551         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
10552         when -membedded-pic is passed.
10553
10554         * config/mips/mips.md (casesi): Handle 64-bit case too.
10555         (casesi_internal_di): New insn.
10556
10557         * config/mips/mips.c (embedded_pic_offset): Always make the
10558         embedded-pic subtractions relative to the name of the current
10559         function by use of the magic string "..CURRENT_FUNCTION".
10560         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
10561
10562 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
10563
10564         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
10565         of (const_int 0), when what we really care about is
10566         whether it's a zero constant anyway.
10567         (div_trap_mips16): Likewise.
10568
10569 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
10570
10571         * loop.c (loop_optimize): Always find_loop_tree_blocks and
10572         unroll_block_trees when generating debuggable code.
10573
10574         * tree.h (unsave_expr_1): New function.
10575         (lang_unsave): New variable.
10576         (get_callee_fndecl): New function.
10577         * tree.c (unsave_expr_now_r): New function.
10578         (lang_unsave): Define.
10579         (unsave_expr_1): Likewise.
10580         (unsave_expr_now_r): Split out from unsave_expr_now.
10581         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
10582         call unsave_expr_now_r.
10583         (get_callee_fndecl): Define.
10584
10585         * Makefile.in (gencheck): Don't depend on lang_tree_files.
10586         (gencheck.o): Do depend on lang_tree_files.
10587
10588         * integrate.h (copy_decl_for_inlining): New declaration.
10589         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
10590         (copy_decl_for_inlining): New function.
10591         (integrate_parm_decls): Use it.
10592         (integrate_decl_tree): Likewise.
10593
10594 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
10595
10596         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
10597         the second two from the first.
10598         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
10599         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
10600         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
10601         ISA_HAS_FP4.
10602         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
10603         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
10604         ISA_HAS_FP4.
10605
10606 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
10607
10608         * pa.md (call_internal_symref, call_value_internal_symref): No mode
10609         needed on the address operand.
10610         * pa.c (call_operand_address): Check for the correct mode.
10611
10612 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
10613
10614         * loop.c: Include "basic-block.h".
10615         (try_copy_prop, replace_loop_reg): New functions.
10616         (load_mems): Detect registers that just hold copies of the hoisted
10617         mem, and call try_copy_prop to eliminate them.
10618         * Makefile.in (loop.o): Update dependencies.
10619
10620 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
10621
10622         * Makefile.in (gencheck.o): Depend on gencheck.h.
10623         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
10624         (insn-peep.o): Depend on except.h and function.h.
10625         (insn-attrtab.o): Depend on RECOG_H.
10626         (insn-output.o): Depend on toplev.h and flags.h.
10627         (gengenrtl.o): Depend on real.h.
10628         (gen-protos.o): Depend on cpplib.h and cpphash.h.
10629         Unify all dependencies to be on RECOG_H rather than recog.h.
10630
10631 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10632
10633         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
10634         * configure.in: Try building a bi-arch 32/64-bit compiler on
10635         sparc-*-solaris2.7 and higher.
10636         * configure: Rebuild.
10637
10638 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
10639
10640         * config/freebsd.h: New, FreeBSD architecture independent file.
10641         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
10642         independent pieces.
10643         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
10644         directly by i386/freebsd.h.
10645         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
10646         independent configuration file.
10647         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
10648         directly by i386/freebsd.h.
10649         * configure: Rebuilt.
10650
10651         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
10652         which is in the user's namespace.
10653         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
10654         `i386' which is not in our namespace.
10655
10656 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
10657
10658         * invoke.texi (ARM Options): Add in -mno-alignment-traps
10659
10660 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
10661
10662         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
10663         (add_dwarf_attr, add_child_die): Just push onto the front.
10664         (reverse_die_lists): New fn.
10665         (add_sibling_attributes): Use it.
10666         (push_decl_scope): Reorganize.
10667         (add_name_and_src_coords_attributes): Don't set file and line for
10668         an artificial decl.
10669         (gen_subprogram_die): An artificial function doesn't need to match
10670         file and line.
10671         (gen_compile_unit_die): Return the generated die.  Only add
10672         AT_comp_dir if the filename is relative.
10673         (remove_AT): Simplify loop.  Also free string values.
10674         (output_die): A DIE ref can't be null.
10675         (output_value_format, value_format): Take a dw_attr_ref.
10676         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
10677         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10678         AT_addr, AT_lbl): New fns.
10679         (various): Use them.
10680         (various): Constify.
10681
10682 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10683
10684         * combine.c (combine_simplify_rtx): When handling a SUBREG,
10685         take SUBREG_WORD into account.
10686         (if_then_else_cond): Likewise.
10687
10688 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
10689
10690         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
10691         clause from BSD license, pursuant with
10692
10693           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
10694
10695 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
10696
10697         * loop.c (load_mems): Reformat slightly.
10698         * basic-block.h (regset_head): New typedef.
10699         (INIT_REG_SET): New macro.
10700
10701 1999-11-22  Bruce Korb  <autogen@linuxbox.com
10702
10703         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
10704         (mips-dec-bsd*): non-functional code
10705         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
10706
10707         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
10708         added three replacement fixes
10709         (no_double_slash): removed comments that are not (any longer) pertinent
10710         (bad_lval): this fix currently runs against many files.
10711         The comment seems to indicate that we should select for files
10712         containing 'pragma extern_prefix'.
10713
10714         * fixinc/fixinc.x86-linux-gnu: deleted
10715         * fixinc/inclhack.sh:  regen
10716         * fixinc/fixincl.x:  regen
10717         * fixinc/fixincl.sh:  regen
10718
10719 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
10720
10721         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
10722         its code is INSN and it has no notes.
10723
10724 1999-11-22  Andrew Haley  <aph@cygnus.com>
10725
10726         * varasm.c (function_defined): Remove.
10727         (make_function_rtl): Don't set function_defined.
10728         (make_decl_rtl): Remove global register warning.
10729         * regclass.c (no_global_reg_vars): New variable.
10730         (globalize_reg): Warn if function has already been defined.
10731         (regclass_init): Set no_global_reg_vars.
10732
10733 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10734
10735         * regclass.c (reg_pref): New structure and static variable
10736         (prefclass): Delete.
10737         (altclass): Delete.
10738         (all uses of prefclass and altclass): Use reg_pref instead.
10739
10740 1999-11-21  Nick Clifton  <nickc@cygnus.com>
10741
10742         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
10743         -malignment-traps.
10744         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
10745         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
10746         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
10747
10748 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
10749
10750         * varasm.c (output_constructor): Solve problem with long long
10751         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
10752
10753 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10754
10755         * global.c (allocno): New structure and static variable.
10756         (allocno_reg): Remove, all references replaced by allocno.
10757         (allocno_size): Likewise.
10758         (hard_reg_conflicts): Likewise.
10759         (hard_reg_preferences): Likewise.
10760         (hard_reg_copy_preferences): Likewise.
10761         (hard_reg_full_preferences): Likewise.
10762         (regs_someone_prefers): Likewise.
10763         (allocno_calls_crossed): Likewise.
10764         (allocno_n_refs): Likewise.
10765         (allocno_live_length): Likewise.
10766         (find_reg): Rename ALLOCNO to NUM.
10767
10768         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
10769         references updated.
10770         (may_move_out_cost): New variable.
10771         (init_reg_sets_1): Initialize may_move_out_cost.
10772         (record_reg_classes): Use may_move_out_cost.
10773
10774         * regclass.c (dump_regclass): New function.
10775         (regclass): New parameter DUMP, call DUMP_REGCLASS.
10776         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
10777         pass rtl_dump_file to regclass.
10778         * rtl.h (regclass): Update prototype.
10779
10780 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10781
10782         * i386.md (neg, not and abs patterns): Revmap to use
10783         ix86_expand_unary_operator and ix86_unary_operator_ok.
10784         (add?f and sub?f expanders): Force operand 1 to register.
10785         * i386.c (ix86_expand_unary_operator): Rewrite.
10786         (ix86_unary_operator_ok): Ensure that memory operands
10787         match real opcode.
10788         (ix86_binary_operator_ok): Do not allow operand 1 to
10789         come into memory and operand 0 not.
10790         (ix86_expand_binary_operator): Ensure that
10791         src1 is not non-matching memory.
10792
10793         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
10794         to support integer registers and memory.
10795         (abss?2_integer): Likewise.
10796
10797         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
10798         (REG_CLASS_NAMES): Likewise.
10799         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
10800         and GENERAL_REGS.
10801         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
10802         (movsf): Likewise; unify 4th and 5th alternative.
10803         (pushdf): Likewise.
10804         (movdf_1): Likewise; rename to movdf_integer.
10805         (pushxf): Likewise; rename to pushxf_integer; fix output template;
10806         remove redundant splitter.
10807         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
10808         (movdf_nointeger): New.
10809         (movxf_nointeger): New.
10810         (pushxf_nointeger): New.
10811
10812         * i386.md (extend?f?f): Split to expander and pattern, refuse two
10813         memory operands in patterns.
10814         (fop*): Refuse two memory operands.
10815
10816         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
10817         on !TARGET_USE_CLTD CPUs.
10818
10819 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
10820
10821         * extend.texi: Document C++ restricted pointers and references.
10822
10823 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
10824
10825         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
10826         (invalidate_skipped_set): Call it unconditionally.
10827         (cse_set_around_loop): Likewise.
10828
10829 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
10830
10831         * rtl.texi (mem): Add documentation for alias-set argument
10832         to RTX `mem'.
10833
10834 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10835
10836         * i386.h (struct_processor_costs): New fields int_load, int_store,
10837         fp_move, fp_load and fp_store
10838         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
10839         fp->int moves
10840         (MEMORY_MOVE_COST): New macro.
10841         * i386.c (386_cost): Define new fields.
10842         (i486_cost): Likewise.
10843         (pentium_cost): Likewise.
10844         (pentiumpro_cost): Likewise.
10845         (k6_cost): Likewise.
10846
10847 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
10848                           Geoffrey Keating  <geoffk@cygnus.com>
10849
10850         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
10851
10852         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
10853         MASK_ALIGN_INT.
10854
10855         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
10856         (TARGET_STRICT_ALIGNMENT): New macro.
10857         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
10858         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
10859         * invoke.texi (M680x0 Options): Document -mstrict-align.
10860
10861 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
10862                           Richard Henderson  <rth@cygnus.com>
10863
10864         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
10865         (ix86_split_long_move): Declare.
10866         * i386.c (split_xf, ix86_split_movdi): Remove.
10867         (ix86_split_to_parts, ix86_split_long_move): New.
10868         * i386.md (dimode move splitters): Use ix86_split_long_move.
10869         (dfmode move splitters): Likewise.
10870         (xfmode move splitters): Likewise.
10871         (movsf_1): Allow F->r.
10872         (movdf_1, movxf_1): Allow F->ro.
10873
10874 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
10875
10876         * except.h (struct eh_entry): Add goto_entry_p.
10877         (eh_region_from_symbol): Remove prototype.
10878         * except.c (find_func_region_from_symbol): New function.
10879         (emit_cleanup_handler): Likewise.
10880         (eh_region_from_symbol): Make it static.
10881         (add_new_handler): Verify the argument.
10882         (find_func_region): Update comment.
10883         (expand_eh_region_end): Expand handlers here, rater than waiting
10884         until expand_leftover_cleanups or start_all_catch.
10885         (expand_leftover_cleanups): Don't expand here.
10886         (expand_start_all_catch): Or here.
10887         (expand_rethrow): Check the return value from find_func_region.
10888         * function.c (expand_function_end): Emit the catch_clauses.
10889
10890 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
10891
10892         * integrate.c (expand_inline_function): Add necessary check for NULL.
10893
10894 1999-11-18  Nick Clifton  <nickc@cygnus.com>
10895
10896         * toplev.c (main): Correctly detect an unrecognised option.
10897
10898         * cppinit.c (cpp_handle_option): Do not claim to have consumed
10899         a -f option if it has not been recognised.
10900
10901 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
10902
10903         * basic-block.h (update_life_extent): Remove trailing comma on
10904         enumeration type list.
10905
10906 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10907
10908         * varasm.c (output_constructor) Solved problem with long long
10909         bitfields. Corrected calculating this_time and shift. Also
10910         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
10911
10912 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
10913
10914         * flow.c (split_edge): Take looping structure into account when
10915         determining where to put the new block note.
10916
10917 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
10918
10919         * Makefile.in (ggc-none.o): Provide host specific version if
10920         needed.
10921
10922 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
10923
10924         * cse.c (delete_trivially_dead_insns): Identify no-op insns
10925         containing subregs too.
10926
10927 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
10928
10929         * invoke.texi: Add documentation for -muninit-const-in-rodata.
10930         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
10931         (TARGET_UNINIT_CONST_IN_RODATA): Define.
10932         (text_section): Add switches -munint-const-in-rodata and
10933         -mno-uninit-const-in-rodata.
10934         (ASM_OUTPUT_COMMON): Remove.
10935         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
10936         const objects should be placed in read-only data. Otherwise declare
10937         them in common.
10938
10939 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
10940
10941         * jump.c (jump_optimize_1): Revert last change.
10942
10943 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
10944
10945         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
10946         test if optimizing for size.
10947
10948 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
10949
10950         * Makefile.in (toplev.o): Depend on except.h.
10951         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
10952
10953 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10954
10955         * i386.md (divmodsi4): Rewrite to expander.
10956         (*divmodsi4_nocltd): New.
10957         (*divmodsi4_cltd): New.
10958         (divmodsi4 splitter): Handle the case when input comes in edx.
10959         (udivmodhi4): Do not use constraints in exander.
10960         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
10961
10962 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
10963
10964         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
10965         for the common case.
10966
10967 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
10968
10969         * explow.c (hard_function_value): Add outgoing argument.
10970         * expr.h (hard_function_value): Declare it.
10971         * calls.c (expand_call, emit_library_call_value): Update callers.
10972         * function.c (aggregate_value_p): Ditto.
10973         (diddle_return_value): Must look at the outgoing registers
10974         on archs with register windows.
10975
10976 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
10977
10978         * alpha.c (alpha_build_va_list): Use make_lang_type and
10979         initialize TYPE_NAME for the va_list record.
10980
10981         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
10982
10983         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
10984         for printing.
10985         * ggc.h (struct ggc_statistics): Rearrange elements for better
10986         packing on 64-bit hosts.
10987         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
10988         (compute_nearerout): Likewise.
10989
10990 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
10991
10992         * config/rs6000/rs6000.c (first_reg_to_save): Save
10993         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
10994
10995 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
10996
10997         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
10998         notion of nesting to find the DIE for a type or function.
10999         DIEs can go in limbo even if we got a context_die.
11000         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
11001         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
11002         for local type.
11003         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
11004         (gen_type_die): Writing out the context doesn't cause member class
11005         template instantiations to be written out as well.
11006
11007 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
11008
11009         * rs6000.h (ASM_OUTPUT_DEF): New.
11010         Based on proposed addition from David Edelsohn.
11011
11012 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
11013             Bruce Korb  <autogen@linuxbox.com>
11014
11015         * fixinc/inclhack.def
11016         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
11017         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
11018                 in net/inet.h.
11019         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
11020         (svr4_endian): enabled with SVR5
11021         (svr4_mkdev): simplified syntax and enabled with SVR5
11022
11023 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
11024
11025         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
11026         * configure: Rebuilt.
11027         * config/t-freebsd-thread: New file.
11028
11029 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
11030
11031         * i386.c (ix86_decompose_address): Verify the base is a REG
11032         before trying to examine its register number.
11033
11034         * basic-block.h: Remove all #defines and prototypes related to
11035         integer lists.
11036         (free_bb_mem, compute_preds_succs): Remove prototype.
11037         * rtl.h (free_bb_mem): Remove prototype.
11038         * flow.c (alloc_int_list_node); Remove function.
11039         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
11040         (compute_preds_succs, free_bb_mem): Likewise.
11041         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
11042         * toplev.c (rest_of_compilation): Likewise.
11043         * haifa-sched.c (build_control_flow): Use flow generated edge
11044         list to build the haifa specific edge list.
11045         (find_rgns): Use new CFG data structures instead of pred/succ lists.
11046         (schedule_insns): Do not build pred/succ lists anymore.  Instead
11047         build the edge table.
11048
11049         * basic-block.h (dump_bb_data): Remove declaration.
11050         * flow.c (dump_bb_data): Remove function.
11051         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
11052         (sbitmap_union_of_predsucc): Likewise.
11053
11054         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
11055         argument.  All callers changed.
11056         (delete_null_pointer_checks_1): No longer need to compute the
11057         pred/succ lists.
11058
11059         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
11060         All callers changed.
11061         (pre_expr_reaches_here_p_work): Likewise.
11062         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
11063         * lcm.c (compute_laterin): Fix initialization of LATER.
11064         (compute_nearerout): Similarly for NEARER.
11065
11066 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11067
11068         * cse.c (set_nonvarying_address_components): Delete unused function.
11069         (refers_to_p): Likewise.
11070
11071 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
11072
11073         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
11074         needed.
11075
11076 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11077
11078         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
11079         definition in do while (0).
11080
11081 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
11082
11083         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
11084
11085 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
11086
11087         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
11088
11089 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
11090
11091         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
11092         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
11093         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
11094         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
11095
11096         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
11097         saved on the stack.  Output more accurate stack frame statistics
11098         into assembler file.
11099
11100 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
11101
11102         * genextract.c (record_insn_name): New function.
11103         (get_insn_name): No longer a stub.
11104         (main): Call record_insn_name for each insn.  After each label
11105         written, print the insn name in a comment.
11106
11107 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11108
11109         * output.h (const_section, init_section, fini_section): Add
11110         prototypes.
11111
11112         * alpha/elf.h (const_section): Delete declaration.
11113
11114         * svr4.h (const_section): Likewise.
11115
11116 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
11117
11118         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
11119         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
11120         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
11121         expressions.
11122         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
11123         variable-sized array bounds.
11124
11125 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
11126
11127         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
11128         ASM_OUTPUT_LABEL.
11129
11130 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11131
11132         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
11133         addresses the same way GO_IF_LEGITIMATE_INDEX does.
11134
11135 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11136
11137         * cse.c (hash_arg_in_struct): Delete.
11138         (struct table_elt): Delete elt in_struct.
11139         (struct set): Delete elt src_in_struct.
11140         (merge_equiv_classes): Don't set either hash_arg_in_struct or
11141         the corresponding in_struct elts.
11142         (canon_hash): Likewise.
11143         (safe_hash): Likewise.
11144         (find_best_addr): Likewise.
11145         (record_jump_cond): Likewise.
11146         (cse_insn): Likewise.
11147
11148 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
11149
11150         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
11151
11152         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
11153         unsigned types.
11154
11155 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
11156
11157         * function.c (diddle_return_value): Put back check that the DECL_RTL
11158         for the function is a register.
11159
11160         * function.c (diddle_return_value): Use hard_function_value to
11161         get an rtx suitable for use in the USE/CLOBBER insn.
11162
11163         * global.c (global_conflicts): Update comments.
11164         (record_conflicts): No need to record conflicts between pseudos here.
11165
11166 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
11167
11168         * fixinc/fixincl.c: Added verbose levels for status messages
11169
11170 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11171
11172         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
11173         operand as argument to expand_and or expand_binop.
11174
11175 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
11176
11177         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
11178         gcc_add_string_root.
11179
11180 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
11181
11182         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
11183
11184 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
11185
11186         * flow.c (compute_flow_dominators): Initially put all blocks on
11187         the worklist.
11188         * lcm.c (compute_antinout_edge, compute_available): Similarly.
11189         * gcse.c (compute_cprop_avinout): Remove.
11190         (compute_cprop_data): Use compute_available.
11191         (delete_null_pointer_checks_1): Use compute_available.
11192
11193         * basic-block.h (compute_available): Returns a void now.
11194         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
11195         to return a value anymore.
11196         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
11197         worklists.  Fix boundary cases. Compute maximal solutions.
11198         (compute_laterin, compute_nearerout): Similarly.
11199
11200         * dwarf2out.c (add_AT_location_description): Allow
11201         (mem (plus (pseudo) (...)) too.
11202
11203 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
11204
11205         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
11206
11207 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
11208                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11209
11210         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
11211
11212         * gansidecl.h: Likewise.
11213
11214         * rtl.c: Likewise.
11215
11216         * rtl.h: Likewise.
11217
11218         * toplev.h: Likewise.
11219
11220         * tree.c: Likewise.
11221
11222         * tree.h: Likewise.
11223
11224         * varray.c: Likewise.
11225
11226         * varray.h: Likewise.
11227
11228 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
11229
11230         * gcov.c (struct arcdata): Add hits and total, remove prob.
11231         (output_branch_counts): New.
11232         (process_args): Set output_branch_counts if -c.
11233         (calculate_branch_probs): Store hits and total instead of
11234         percentage.
11235         (output_data): Emit counts if output_branch_counts is true.
11236         * gcov.texi (Invoking Gcov): Document -c switch..
11237
11238 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
11239
11240         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
11241         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
11242
11243 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
11244
11245         * invoke.texi (C Dialect Options): Add missing builtins from
11246         c-common.c to list.
11247         * extend.texi (Other Builtins): Copy to this list.
11248
11249 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11250
11251         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
11252         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
11253         redundant bitmap.h.
11254
11255 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
11256
11257         * flow.c (compute_flow_dominators): No longer treat basic block 0
11258         or (n_basic_blocks - 1) specially.  Clear the AUX field before
11259         starting computation of doms/pdoms.  Fix initial state for pdoms.
11260
11261 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11262
11263         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
11264         match rtl.o's: added ggc.h and toplev.h
11265         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
11266         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
11267         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
11268
11269 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
11270
11271         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
11272         from HAVE_DOS_BASED_FILESYSTEM.
11273         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
11274         HAVE_DOS_BASED_FILESYSTEM.
11275         (main): Likewise.
11276         (split_directories): Only special-case DOS file names if
11277         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
11278         instead of explicit tests.  Conditionalize on !VMS.
11279         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
11280         tests.  Conditionalize on !VMS.
11281         (process_command): Only use make_relative_prefix if !VMS.
11282         (free_split_directories): Conditionalize on !VMS.
11283         (DIR_UP): Conditionalize on !VMS.
11284
11285 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11286
11287         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
11288
11289 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11290
11291         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
11292         case.
11293
11294 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
11295
11296         * invoke.texi (Environment Variables): Document relative path
11297         lookup.
11298         * gcc.c (DIR_UP): If not defined, define as "..".
11299         (standard_bindir_prefix): New static, holds target location to
11300         install binaries.
11301         (split_directories): New function to split a filename into
11302         component directories.
11303         (free_split_directories): New function, release memory allocated
11304         by split_directories.
11305         (make_relative_prefix): New function, make a relative pathname if
11306         the compiler is not in the expected location.
11307         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
11308         can figure out an appropriate prefix from argv[0].
11309         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
11310         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
11311         STANDARD_BINDIR_PREFIX.
11312
11313 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11314
11315         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
11316         in c4x.c.
11317         * config/c4x/c4x.h: Moved prototypes to c4x.h.
11318         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
11319         c4x_secondary_memory_needed) Delete.
11320         (fp_zero_operand): Add mode argument.
11321
11322 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
11323
11324         * reload1.c (reload_reg_free_for_value_p): Don't use a register
11325         that is in reload_reg_used.
11326
11327 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
11328
11329         * config/arm/arm-protos.h: New file: Prototypes for functions
11330         defined in arm.c and pe.c.
11331         * config/arm/arm.h: Fix compile time warnings.
11332         * config/arm/arm.c: Fix compile time warnings.
11333         * config/arm/pe.h: Fix compile time warnings.
11334         * config/arm/aout.h: Fix compile time warnings.
11335
11336 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
11337
11338         * config/m32r/m32r-protos.h: New file: Prototypes for functions
11339         defined in m32r.c
11340
11341         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
11342         Add support for subtargets.
11343         Add prototypes for new predicates.
11344         Add scheduling macros.
11345
11346         * config/m32r/m32r.c: Fix compile time warnings.
11347         (int8_operand): New predicate function.
11348         (reg_or_cmp_int16_operand): New predicate function.
11349         (extend_operand): New predicate function.
11350         (m32r_adjust_code): New scheduling function.
11351         (m32r_adjust_priorty): New scheduling function.
11352         (m32r_sched_init): New scheduling function.
11353         (m32r_sched_reorder): New scheduling function.
11354         (m32r_sched_variable_issue): New scheduling function.
11355         (direct_return): New codegen function.
11356         (m32r_not_same_reg): New rtl testsing function.
11357
11358         * config/m32r/m32r.md: Fix compile time warnings.
11359         Add support for pre decrement and post increment memory
11360         references.
11361         Add S<cc> patterns.
11362         Add fabs patterns.
11363
11364 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11365
11366         * global.c (EXECUTE_IF_CONFLICT): Don't define.
11367         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
11368         (find_reg): Likewise.
11369
11370 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
11371
11372         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
11373         to avoid assembler errors.
11374
11375 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
11376
11377         * config/v850/v850-protos.h: New file: Prototypes for functions
11378         defined in v850.c
11379         * config/v850/v850.h: Move prototypes to v850-protos.h
11380         * config/v850/v850.c: Move prototypes to v850-protos.h
11381         * config/v850/v850.md: Fix compile time warnings.
11382
11383         * config/fr30/fr30-protos.h: New file: Prototypes for functions
11384         defined in fr30.c
11385         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
11386         * config/fr30/fr30.c: Fix compile time warnings.
11387         * config/fr30/fr30.md: Fix compile time warnings.
11388
11389 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
11390
11391         * tree.h (get_containing_scope): Declare it.
11392         * tree.c (get_containing_scope): New fucntion.
11393         (decl_function_context): Use it.
11394         * toplev.c (rest_of_compilation): Use get_containing_scope.
11395
11396 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11397
11398         * Makefile.in (rtl.o): Depend on toplev.h.
11399
11400 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
11401
11402         * cse.c (delete_trivially_dead_insns): Replace alloca with
11403         xmalloc/xcalloc.
11404         * except.c (update_rethrow_references): Likewise.
11405         (init_eh_nesting_info): Likewise.
11406         * function.c (identify_blocks): Likewise.
11407         * gcse.c (dump_hash_table): Likewise.
11408         * graph.c (print_rtl_graph_with_bb): Likewise.
11409         * loop.c (combine_movables): Likewise.
11410         (move_movables): Likewise.
11411         (count_loop_regs_set): Likewise.
11412         (strength_reduce): Likewise.
11413         * profile.c (compute_branch_probabilities): New function, split
11414         out from ...
11415         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
11416         * regclass.c (regclass): Likewise.
11417         * regmove.c (regmove_optimize): Likewise.
11418         * toplev.c (compile_file): Likewise.
11419         (main): Don't mess with the stack rlimit.
11420
11421 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
11422
11423         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
11424         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
11425
11426 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
11427
11428         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
11429
11430 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
11431
11432         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
11433         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
11434         macro expansion.
11435
11436 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
11437
11438         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
11439
11440 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
11441
11442         * gcse.c (post_dominators): Kill.
11443         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
11444         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
11445         pass in a pdom array since we do not need pdoms.
11446         * haifa-sched.c (schedule_insns): Similarly.
11447         * flow.c (compute_dominators): Remove dead function.
11448         (compute_flow_dominators): Do not compute doms or pdoms if the
11449         caller does not request them.  Split up loop to build doms and
11450         pdoms.  Use a worklist to compute doms and pdoms.
11451         * basic-block.h (compute_dominators): Remove prototype.
11452
11453 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
11454
11455         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
11456         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
11457         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
11458         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
11459         (cant_move, fed_by_spec_load, is_load_insn): Remove.
11460         (schedule_region): Remove unused variable.
11461         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
11462
11463 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
11464
11465         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
11466         (update_equiv_regs): Likewise.
11467         (block_alloc): Likewise.
11468         * reg-stack.c (reg_to_stack): Likewise.
11469         (convert_regs_2): Likewise.
11470         * reload1.c (reload_as_needed): Likewise.
11471
11472 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
11473
11474         * Makefile.in (dbxout.o): Depend on ggc.h.
11475         (dwarf2out.o): Likewise.
11476         (xcoffout.o): Likewise.
11477         * dbxout.c: Include ggc.h.
11478         (dbxout_init): Register lastfile as a root.
11479         * dwarf2out.c: Include ggc.h.
11480         (dwarf2out_line): Register lastfile as a root.
11481         * xcoffout.c: Include ggc.h.
11482         (xcoffout_source_line): Register xcoff_lastfile as a root.
11483
11484 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
11485
11486         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
11487
11488 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
11489
11490         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
11491         defined.
11492         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
11493
11494 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11495
11496         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
11497         (EXECUTE_IF_CONFLICT): Likewise.
11498         (ALLOCNO_LIVE_P): Avoid signed division.
11499         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
11500         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
11501         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
11502
11503 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
11504
11505         * haifa-sched.c (schedule_block): Don't crash if there's no
11506         next insn for an interblock movement.
11507         (add_branch_dependences): Don't allow clobber insns to move either.
11508
11509 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
11510
11511         * i386.c (split_xf): New.
11512         * i386-protos.h: Declare it.
11513         * i386.md (movxf_1): Add general regs alternatives.
11514         (movxf_1+1): New splitter for same.
11515
11516 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
11517
11518         * function.c (purge_addressof_1): Add missing return values.
11519
11520 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
11521
11522         * function.c (is_addressof): New function.  Returns true if
11523         the given piece of RTL is an ADDRESSOF.
11524         (purge_addressof_1): Make boolean.  Return false if the
11525         ADDRESSOFs could not be purged.
11526         (purge_addressof): If ADDRESSOFs could not be purged from the
11527         notes attached to an insn, remove the offending note(s),
11528         unless they are attached to a libcall.
11529
11530 1999-11-05  Andreas Jaeger  <aj@suse.de>
11531
11532         * genoutput.c (null_operand =): Initialize all fields.
11533
11534         * errors.h: Add extern to prototypes.
11535
11536 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
11537
11538         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
11539         * configure: Rebuilt.
11540
11541 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11542
11543         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
11544         (mirror_conflicts): New function.
11545         (global_alloc): Call it.
11546         (expand_preferences): Remove redundant CONFLICTP test.
11547         (find_reg, dump_conflicts): Likewise.
11548         (prune_preferences): Process conflicts one word at a time.
11549
11550 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
11551
11552         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
11553         instead of an explicit loop.
11554
11555 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
11556
11557         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
11558         if REG_RETVAL check succeeds, then put classp in src_elt.
11559
11560 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
11561
11562         * function.c (pad_to_arg_alignment): Only update argument_pad
11563         if the argument's alignment is greater than STACK_BOUNDARY.
11564
11565 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
11566
11567         * bitmap.h (BITMAP_XFREE): New.
11568         * flow.c (life_analysis): Use it.
11569         (life_analysis_1): Free blocks.
11570
11571         * combine.c (undo_commit): New.
11572         (try_combine): Use it.  Don't zap undobuf.undos.
11573         (combine_instructions): Don't zap undobuf.undos; free the
11574         undobuf.frees list.
11575
11576         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
11577
11578         * stmt.c (cost_table_): New.
11579         (estimate_case_costs): Use it instead of xmalloc.
11580
11581         * toplev.c (compile_file): Reuse dumpname memory instead
11582         of strdup'ing it.
11583
11584 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
11585
11586         * reg-stack.c (convert_regs_1): Initialize target_stack->top
11587         after verifying an EH edge.
11588
11589         * haifa-sched.c (init_rgn_data_dependences): Correctly
11590         size bb_pending_lists_length when zeroing.
11591
11592 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
11593
11594         * function.c (diddle_return_value): New.
11595         (expand_function_end): Use it.
11596         * stmt.c (expand_null_return): Likewise.
11597         (expand_value_return): Likewise.
11598
11599         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
11600
11601         * reload1.c (reload): Don't remove return value clobbers.
11602
11603 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
11604
11605         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
11606
11607 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
11608
11609         * cse.c (cse_main): Use xmalloc, not alloca.
11610         (cse_basic_block): Likewise.
11611         * local-alloc.c (local_alloc): Likewise.
11612
11613 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
11614                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11615
11616         * rtl.c: Include toplev.h.
11617         (fatal): Remove declaration.
11618
11619 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
11620
11621         * haifa-sched.c (schedule_block): Fix thinko.
11622
11623 1999-11-03  James McKelvey <mckelvey@fafnir.com>
11624
11625         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
11626         S_IR* defined values
11627
11628 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
11629
11630         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
11631         call `malloc' instead.
11632
11633 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
11634
11635         * flags.h (flag_renumber_insns): Declare.
11636         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
11637         renumbering table.
11638         * rtl.h (renumber_insns): Change prototype.
11639         * toplev.c (flag_renumber_insns): Define.
11640         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
11641
11642 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
11643
11644         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
11645         and fpsqrtd.  Use them and create fdiv function unit to more
11646         accurately represent fpu sqrt pipeline semantics on UltraSparc.
11647         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
11648
11649 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
11650
11651         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
11652         3 on UltraSparc.
11653         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
11654         insn into ready list, do not use just a raw swap.
11655
11656 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
11657
11658         * rtl.h (renumber_insns): New function.
11659         (remove_unnecessary_notes): Likewise.
11660         * emit-rtl.c (renumber_insns): Define.
11661         (remove_unncessary_notes): Likewise.
11662         * toplev.c (rest_of_compilation): Remove dead code.
11663         Use renumber_insns and remove_unncessary_notes.
11664
11665         * gcse.c (struct null_pointer_info): New type.
11666         (get_bitmap_width): New function.
11667         (current_block): Remove.
11668         (nonnull_local): Likewise.
11669         (nonnull_killed): Likewise.
11670         (invalidate_nonnull_info): Take a null_pointer_info as input.
11671         (delete_null_pointer_checks_1): New function.
11672         (delete_null_pointer_checks): Use it.
11673
11674         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
11675         (split_edges): Likewise.
11676         (schedule_block): Likewise.
11677         (compute_block_backward_dependencies): Likewise.
11678         (schedule_region): Likewise.
11679         (schedule_insns): Likewise.
11680
11681 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
11682
11683         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
11684         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
11685         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
11686         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
11687         * jump.c (delete_unreferenced_labels): Don't delete if
11688         LABEL_ALTERNATE_NAME is set.
11689         * print-rtl.c (print_rtx): Dump alternate name.
11690         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
11691         * rtl.h (LABEL_ALTERNATE_NAME): Define.
11692         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
11693         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
11694
11695 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11696
11697         * fix-header.c (recognized_extern, recognized_function): Constify
11698         a char*.
11699
11700         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
11701         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
11702         (compute_available): Remove unused variable `last'.
11703         (compute_nearerout): Remove unused variable `temp_bitmap'.
11704         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
11705         Remove unused variable `x'.
11706
11707         * scan.h (recognized_function, recognized_extern): Constify a
11708         char*.
11709
11710         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
11711
11712 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11713
11714         * varasm.c (decode_rtx_const): Use XSTR to access the string
11715         of a SYMBOL_REF.
11716
11717 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
11718
11719         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
11720
11721 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11722
11723         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
11724
11725 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
11726
11727         * pa.c (ireg_operand): New function.
11728         * pa.h (PREDICATE_CODES): Handle ireg_operand.
11729         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
11730         Fix out of date comment.
11731
11732         * pa.md (negdi2): Turn into expander + anonymous pattern.
11733
11734         * reload.c (find_reloads): Fix typos in recent change.
11735
11736         * dwarf2out.c: Do not include ctype.h.
11737
11738 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11739
11740         * regclass.c (record_reg_classes): Always use may_move_cost when
11741         seeing how operand fits with various register classes.
11742
11743 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
11744
11745         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
11746         * toplev.c: Revert Nov 1 13:22 change.
11747
11748 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
11749
11750         * config/pa/pa.md (height reduction patterns): Add checks for
11751         overlapping operands to avoid semantic-destroying splits for
11752         height reduction patterns.
11753
11754 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11755
11756         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
11757         have been an hyphen, fixed.
11758         * configure: Rebuilt.
11759
11760 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
11761
11762         * config/arm/tpe.h: Add prototypes for exported functions.
11763         * config/arm/pe.c: Fix compile time warnings.
11764         * config/arm/semi.h: Fix compile time warnings.
11765         * config/arm/arm.c: Fix compile time warnings.
11766         * config/arm/arm.h: Fix compile time warnings.
11767         * config/arm/arm.md: Fix compile time warnings.
11768         * config/arm/thumb.c: Fix compile time warnings.
11769         * config/arm/thumb.h: Fix compile time warnings.
11770         * config/arm/thumb.md: Fix compile time warnings.
11771
11772 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
11773
11774         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
11775         detection code
11776
11777         * unroll.c (unroll_loop): Remove LOOP notes when loop is
11778         completely unrolled.
11779
11780 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11781
11782         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
11783
11784 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
11785
11786         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
11787         * rtl.h (rtx_equal_p): Move prototype.
11788         * rtl.c (rtx_equal_function_value_matters): Move from
11789         rtlanal.c
11790         (rtx_equal_p): Likewise.
11791         * rtlanal.c (rtx_equal_function_value_matters): Delete.
11792         (rtx_equal_p): Likewise.
11793
11794 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
11795
11796         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
11797         ! HAS_INIT_SECTION.
11798
11799 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
11800
11801         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
11802
11803         * pa.h (ADDR_VEC_ALIGN): Define.
11804
11805         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
11806         notes when presented with "if (foo) break; end_of_loop" and
11807         the break sequence gets moved out of the loop.
11808
11809         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
11810         Remove explicit zero initializations of entries within MAP.
11811
11812 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
11813
11814         * reg-stack.c (convert_regs_1): Handle EH edges specially.
11815
11816 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
11817
11818         * bitmap.h (BITMAP_XMALLOC): New macro.
11819         * flow.c (CLEAN_ALLOCA): Remove.
11820         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
11821         (life_analysis): Likewise.
11822         (update_life_info): Don't use CLEAN_ALLOCA.
11823         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
11824         (calculate_global_regs_live): Likewise.
11825         (print_rtl_with_bb): Likewise.
11826         (verify_flow_info): Likewise.
11827         * global.c (global_alloc): Likewise.
11828         (global_conflicts): Likewise.
11829         * integrate.c (save_for_inline_nocopy): Likewise.
11830         (expand_inline_function): Likewise.
11831         * jump.c (jump_optimize_1): Likewise.
11832         (duplicate_loop_exit_test): Likewise.
11833         (thread_jumps): Likewise.
11834         * loop.c (loop_optimize): Likewise.
11835         (combine_givs): Likewise.
11836         (recombine_givs): Likewise.
11837         * reorg.c (dbr_schedule): Likewise.
11838         * unroll.c (unroll_loop): Likewise.
11839
11840         * combine.c (combine_instructions): Use xmalloc instead of alloca.
11841
11842 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
11843
11844         * toplev.c (rest_of_compilation): Don't optimize the CFG
11845         when rebuilding, just before dbr.
11846
11847 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11848
11849         * output.h (assemble_end_function, assemble_destructor,
11850         assemble_constructor, assemble_gc_entry, assemble_global,
11851         assemble_label, output_constant_pool) Constify a char*.
11852
11853         * varasm.c (assemble_destructor, assemble_constructor,
11854         assemble_gc_entry, assemble_end_function, assemble_global,
11855         assemble_label, output_constant_pool): Likewise.
11856
11857 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
11858
11859         * config/arm/thumb.c (thumb_expand_prologue): Add comments
11860         explaining what is goin on in this function.
11861
11862 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11863
11864         * regclass.c (record_reg_classes): In matching case, recompute
11865         costs since the direction of movement is different.
11866
11867 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
11868
11869         * resource.c (mark_target_live_regs): For unconditional branches,
11870         the resources found at the branch target should be added to the
11871         resources found so far, not intersected.
11872
11873 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
11874
11875         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
11876         old cpp's.
11877         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
11878         (sys/mman.h): Include this file only if #HAVE_MMAP.
11879         (run_compiles): Initialize `esac_fmt' with one old KR string, not
11880         with automatically concatenated ANSI strings.
11881
11882 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
11883
11884         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
11885         (DIV_ROUND_UP): Robustify.
11886         (ggc_recalculate_in_use_p): New function.
11887         (release_pages): Don't inline it.
11888         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
11889         outer contexts.
11890         (ggc_pop_context): Use ggc_recalculate_in_use_p.
11891         (clear_marks): Always save in_use_p.
11892         (sweep_pages): Use ggc_recalculate_in_use_p.
11893         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
11894         Release pages before counting statistics.
11895
11896 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
11897
11898         * toplev.c (rest_of_compilation): Fix thinko in this change:
11899
11900         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
11901
11902         (rest_of_compilation): If inside an inlined external function,
11903         pretend we are just being declared.
11904
11905 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
11906
11907         * flow.c (calculate_global_regs_live): Fix thinko.
11908
11909         * integrate.c (expand_inline_function): Fix bugs in previous
11910         change from Oct 28, 1999.
11911
11912 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
11913
11914         * stmt.c (expand_value_return): Fix typo in this change:
11915
11916         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11917         (expand_value_return): Correctly convert VAL when promoting function
11918         return; support RETURN_REG being a PARALLEL.
11919
11920 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
11921
11922         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
11923
11924 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11925
11926         * hard-reg-set.h (reg_names): Constify a char*.
11927
11928         * regclass.c  (reg_names): Likewise.
11929
11930         * regs.h (reg_names): Likewise
11931
11932         * a29k/a29k.c (reg_names): Delete declaration.
11933
11934         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
11935
11936         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
11937         arc_output_function_epilogue): Likewise.
11938
11939         * elxsi/elxsi.c (reg_names): Likewise.
11940
11941         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
11942
11943         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
11944         Likewise.
11945
11946         * m88k/m88k.c (output_function_profiler): Likewise.
11947
11948         * sparc/sparc.c (sparc_flat_output_function_prologue,
11949         sparc_flat_output_function_epilogue): Likewise.
11950
11951 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
11952
11953         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
11954         warning from -Wuninitialized and put it under -W.
11955         * function.c (uninitialized_vars_warning): Warn only when the
11956         corresponding flag is set.
11957
11958 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
11959
11960         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
11961         is nonzero and the single set does not have an elt, then assign
11962         it an elt.
11963
11964         * simplify-rtx.c: New file.
11965         * Makefile.in (OBJS): Add simplify-rtx.o
11966         (simplify-rtx.o): Add dependencies.
11967         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
11968         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
11969         (cse_gen_binary, simplify_unary_operation): Delete.
11970         (simplify_binary_operation, simplify_plus_minus): Likewise.
11971         (check_fold_consts, simplify_relation_operation): Likewise.
11972         (simplify_ternary_operation): Likewise.
11973         (delete_trivially_dead_insns): Simplify the contents of the
11974         REG_EQUAL note before trying to substitute it into the source
11975         of the reg-reg copy at the end of a libcall sequence.
11976
11977         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
11978         references/callers changed.
11979
11980         * mn10200.c (mn10200_va_arg): Force the return value into a
11981         register.
11982
11983         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
11984
11985         * cccp.c (macroexpand): Avoid out of range accesses for omitted
11986         arguments.
11987
11988 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
11989
11990         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
11991
11992 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
11993
11994         * fold-const.c (fold): Fix thinko when optimizing comparisons
11995         against -0.0.
11996
11997 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
11998
11999         * gcc.texi (Passes): Update front-end files to their current
12000         location.
12001
12002 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
12003
12004         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
12005         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
12006         (PREDICATE_CODES): Add addition_operation.
12007         * alpha-protos.h (addition_operation): Declare.
12008         (secondary_reload_class): Likewise.
12009         * alpha.c (addition_operation): New.
12010         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
12011         * alpha.md (adddi3): Turn into expander.
12012         (*lda, *adddi_2): New.
12013         (movsf, movdf patterns): Don't preference integer regs.
12014         (movsi, movdi patterns): Don't preference fp regs.
12015
12016 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
12017
12018         * genrecog.c (write_switch): Check for duplicate CODE cases.
12019
12020 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
12021
12022         * ggc-common.c: Update pre-function commentary.
12023         * ggc-page.c: Likewise.
12024         (poison): Remove.
12025         (poison_pages): Use memset directly.
12026         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
12027         (ggc_collect): Poison before sweeping.
12028         * ggc-simple.c: Update pre-function commentary.
12029         (ggc_alloc_obj): Poison non-zeroed memory.
12030
12031 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
12032
12033         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
12034         match format string, even on 64-bit hosts.
12035         * gcc-page.c (ggc_page_print_statistics): Likewise.
12036
12037 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
12038
12039         * config/i386/i386.c (ix86_cpu): Revert last patch.
12040         * config/i386/i386.h (ix86_cpu): Ditto.
12041
12042 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
12043
12044         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
12045         TYPE_SIZE, convert type of result to sizetype.
12046
12047 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
12048
12049         * flow.c (count_or_remove_death_notes): Equate NULL with the
12050         universal set.
12051
12052         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
12053         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
12054         dbr_schedule.
12055
12056         * i386.c (pic_label_no): Delete.
12057         (ix86_attr_length_default): Don't use single_set to peek
12058         inside a parallel.
12059
12060         * recog.c (peephole2_optimize): Allow recog_next_insn to index
12061         the first insn after bb->end.
12062         * i386.md (push mem peeps): Scratch is live after evaluation
12063         of the memory.
12064         (cmp mem peep): Similarly.
12065
12066 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
12067
12068         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
12069         * function.c (pad_to_arg_alignment): Add missing braces.
12070
12071 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12072
12073         * alpha/alpha-protos.h (literal_section): Add prototype.
12074         (alpha_need_linkage, alpha_start_function,alpha_end_function):
12075         Constify a char*.
12076
12077         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
12078         prototype.
12079         (alpha_start_function, alpha_end_function, float_strings,
12080         alpha_need_linkage): Constify a char*
12081
12082         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
12083
12084         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
12085
12086         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
12087
12088         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
12089
12090 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12091
12092         * flow.c (debug_flow_info): Add prototype.
12093
12094         * gcc.c (main): Likewise.
12095
12096         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
12097         Likewise.
12098
12099         * reload1.c (failed_reload, set_reload_reg): Likewise.
12100
12101         * mips-tfile.c (main): Likewise.
12102         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
12103         with ATTRIBUTE_NORETURN.
12104
12105 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
12106
12107         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
12108         DECL is not a memory ref.
12109
12110 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
12111
12112         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
12113         * config/i386/i386.c (ix86_cpu): Add extern attribute.
12114
12115 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
12116
12117         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
12118         * config/mips/elf64.h: ditto.
12119
12120 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
12121
12122         * expr.c (emit_push_insn): New argument alignment_pad.
12123         Update all callers.  Adjust stack pointer based on alignment pad.
12124         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
12125         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
12126         (locate_and_pad_parm): New argument alignment_pad.  Update all
12127         callers.
12128         * expr.h (emit_push_insn): Update prototype.
12129         (locate_and_pad_parm): Update prototype.
12130         * calls.c (arg_data):  Add new field alignment_pad.
12131         (initialize_argument_information): Initialize alignment_pad.
12132
12133 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
12134
12135         * except.c (free_eh_nesting_info): Free the info itself.
12136         * function.c (free_after_compilation): Don't free NULL.
12137         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
12138         (pre_edge_insert): Free inserted.
12139         * stmt.c (free_stmt_status): Don't free NULL.
12140
12141 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
12142
12143         * gcov.c (DIR_SEPARATOR): Provide default.
12144         (output_data): Add test for MS-DOS format absolute filename.
12145         (fancy_abort): Correct program name.
12146         (open_files): Open all files in binary mode.
12147         * libgcc2.c (__bb_exit_func): Likewise.
12148
12149         * profile.c (init_branch_prob): Specify binary when opening files.
12150
12151         * flags.h (flag_unwind_tables): New decl.
12152         * toplev.c (flag_unwind_table): New definition.
12153         (f_options): Add -funwind-tables.
12154         (decode_g_option): Clarify warning when unknown -g option is given.
12155         (rest_of_compilation): If inside an inlined external function,
12156         pretend we are just being declared.
12157
12158         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
12159         (dwarf2out_frame_finish): Likewise.
12160
12161 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
12162
12163         * fold-const.c (merge_ranges): If not in0, but in1, handle
12164         upper bounds equal like subset case.
12165
12166 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
12167
12168         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
12169         passed in a register but moved to the stack.
12170
12171 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
12172
12173         * gcc.c (pass_exit_codes, greatest_status): New variables.
12174         (struct option_map): Add entry for "--pass-exit-codes".
12175         (execute): Update greatest_status if error.
12176         (display_help): Add documentation for -pass-exit-codes.
12177         (process_command): Handle -pass-exit-codes.
12178         (main): Look at pass_exit_codes and greatest_status on call to exit.
12179
12180 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12181
12182         * reload.c (find_reloads): Refine test for no input reload
12183         case to not includes reloads emitted after insn.
12184
12185         * function.c (find_temp_slots_from_address): Handle sum involving
12186         a register that points to a temp slot.
12187         (update_temp_slot_address): Make recursive call if both old and
12188         new are PLUS with a common operand.
12189         * calls.c (expand_call): Mark temp slot for result as having
12190         address taken.
12191
12192         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
12193
12194         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
12195         component as well as "BINUTILS".
12196
12197         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
12198         * integrate.c (copy_rtx_and_substitute): Likewise.
12199         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
12200         All callers changed.
12201         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
12202
12203         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
12204         gdb extensions, write size of type; also be more consistent
12205         in using references when this is a subtype.
12206
12207         * pa.md (extv, extzv, insv): Use define_expand to reject constant
12208         that is out of range.
12209
12210         * loop.c (unknown_constant_address_altered): New variable.
12211         (prescan_loop): Initialize it.
12212         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
12213         (invariant_p, case MEM): Remove handling for volatile and readonly;
12214         check new variable if readonly.
12215         (check_dbra_loop): Chdeck unknown_constant_address_altered.
12216
12217         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
12218         (addr_affects_sp_p): Removed from note_mem_written and only
12219         define #ifdef AUTO_INC_DEC.
12220
12221         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
12222
12223         * regclass.c (record_reg_classes): Properly handle register move
12224         directions.
12225
12226         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
12227         Don't think valid if both operands are invalid.
12228         (struct constant_descriptor): New field RTL.
12229         (mark_const_hash_entry): Mark it.
12230         (record_constant{,_rtx}): Initialize it.
12231         (output_constant_def): Allocate RTL in permanent obstack and
12232         save in table.
12233         ({record,compare}_constant_1): Modes must match for
12234         CONSTRUCTOR of ARRAY_TYPE.
12235
12236         * c-common.h (initializer_constant_valid_p): Delete decl from here.
12237         * output.h (initializer_constant_valid_p): Move decl to here.
12238         * c-common.c (initializer_constant_valid_p): Delete function from here.
12239         * varasm.c (initializer_constant_valid_p): Move function to here.
12240
12241         * tree.h (STRIP_SIGN_NOPS): New macro.
12242         * fold-const.c (optimize_minmax_comparison): New function.
12243         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
12244         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
12245         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
12246         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
12247         widening conversions.
12248         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
12249         to look at size of mode, not precision of type; also add missing cases.
12250         (optimize_bit_field_compare, decode_field_reference): Don't try to
12251         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
12252
12253         * dwarf2out.c (ctype.h): Include.
12254         (dwarf2out_set_demangle_name_func): New function.
12255         (size_of_line_info): Deleted.
12256         (output_line_info): Compute size of line info table from difference
12257         of labels.
12258         (base_type_die, add_name_attribute): Call demangle function, if any.
12259         (field_byte_offset): Use bits per word for variable length fields.
12260         (gen_array_type_die): Add array name.
12261         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
12262         (dwarf2out_add_library_unit_info): New function.
12263
12264         * explow.c (set_stack_check_libfunc): New function.
12265         (stack_check_libfunc): New static variable.
12266         (probe_stack_range): Allow front-end to set up a libfunc to call.
12267
12268         * combine.c (simplify_comparison): When making comparison in wider
12269         mode, check for having commuted an AND and a SUBREG.
12270         (contains_muldiv): New function.
12271         (try_combine): Call it when dividing a PARALLEL.
12272         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
12273         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
12274         a PLUS.
12275         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
12276         use one of the CLOBBERs instead.
12277         (if_then_else_cond): If comparing against zero, just return thing
12278         being compared.
12279
12280         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
12281         Don't generate shifts and subtract if have conditional arithmetic.
12282
12283         * rtl.h (delete_barrier): New declaration.
12284         * jump.c (jump_optimize): Set up to handle conditional call.
12285         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
12286         (delete_barrier): New function.
12287
12288         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
12289
12290         * recog.c (nonmemory_operand): Accept ADDRESSOF.
12291
12292         * tree.c (build_type_attribute_variant): Push to obstack of
12293         ttype around type_hash_canon call.
12294
12295         * expr.c (placeholder_list): Move decl to file scope.
12296         (expand_expr): Don't force access to volatile just because its
12297         address is taken.
12298         If ignoring reference operations, just expand the operands.
12299         (expand_expr, case COMPONENT_REF): Propagate
12300         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
12301         Refine test for using bitfield operations vs pointer punning.
12302         (expand_expr, case CONVERT_EXPR): If converting to
12303         BLKmode UNION_TYPE from BLKmode, just return inner object.
12304         Use proper mode in store_field call.
12305         Properly set sizes of object to store and total size in store_field
12306         call for convert to union.
12307         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
12308         memory (like for ADDR_EXPR).  Also, don't put constant in register if
12309         we'll want it in memory.
12310         (readonly_fields_p): New function.
12311         (expand_expr, case INDIRECT_REF): Call it if LHS.
12312         (expand_assignment): Handle a RESULT_DECL where
12313         DECL_RTL is a PARALLEL.
12314         (do_jump, case WITH_RECORD_EXPR): New case.
12315         (get_inner_reference): Always go inside a CONVERT_EXPR
12316         and NOP_EXPR if both modes are the same.
12317         (store_field): Use bitfield operations if size of bitsize is not same
12318         as size of RHS's type.
12319         Check for bitpos not a multiple of alignment in BLKmode case.
12320         Do block move in largest possible alignment.
12321         (store_constructor): Set BITSIZE to -1 for variable size and properly
12322         in case of array of BLKmode.
12323         (expand_expr_unaligned): New function.
12324         (do_compare_and_jump): Call it.
12325
12326         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
12327         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
12328         does not include 'o'.
12329
12330         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
12331         both SET_DEST and SET_SRC reference a virtual register.
12332         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
12333
12334         * integrate.c (expand_inline_function): Handle case of setting
12335         virtual stack vars register (from built in setjmp); when parameter
12336         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
12337         (subst_constant): Add new parm, MEMONLY.
12338         (expand_inline_function, integrate_parm_decls): Pass new parm.
12339         (integrate_decl_tree): Likewise.
12340         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
12341         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
12342         (copy_rtx_and_substitute, case SET): Add explicit calls to
12343         copy_rtx_and_substitute for both sides.
12344
12345         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
12346         constraints.
12347         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
12348         within INDEX_TYPE, instead of before.
12349         (fixup_gotos): Use f->target_rtl, not the next insn,
12350         since latter may be from a later fixup.
12351         (expand_value_return): Correctly convert VAL when promoting function
12352         return; support RETURN_REG being a PARALLEL.
12353         (expand_return): When checking for result in regs and having
12354         cleanup, consider PARALLEL in DECL_RTL as being in regs.
12355
12356 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
12357
12358         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
12359         last_nominal_fname): Mark const.
12360         (struct include_hash: name, nshort, control_macro): Mark
12361         const.
12362         (struct macrodef: symnam): Mark const.
12363         (struct if_stack: fname): Mark const.
12364         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
12365         (IStable): New character-syntax array which encompasses all
12366         the old is_foo arrays.
12367         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
12368         is_space): New macros for interrogating IStable.
12369         (check_macro_name): Kill last argument.  All callers changed.
12370
12371         * cppinit.c (initialize_char_syntax): Delete.
12372         (is_idchar, is_idstart, is_hor_space, is_space,
12373         trigraph_table): Delete.
12374         (IStable): New.  Initialize with clever macros to avoid
12375         information duplication.
12376         (builtin_array): Table of builtins to get rid of explicit list
12377         in initialize_builtins.
12378         (initialize_builtins): Use builtins_array.
12379         (cpp_start_read): Call init_IStable, and set IStable['$'] if
12380         opts->dollars_in_ident.
12381
12382         * cppexp.c: Change all refs to is_xyz[] arrays to use new
12383         is_xyz() macros.
12384         (cpp_parse_expr): Avoid 'format string is not constant'
12385         warning. Use ISGRAPH to identify printable chars.
12386         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
12387         is_xyz() macros.
12388         (read_and_prescan): Map trigraphs to chars with open-coded
12389         if-else-if-... sequence, not a lookup table.
12390         * cpphash.c: Change all refs to is_xyz[] arrays to use new
12391         is_xyz() macros.
12392         * cpplib.c: Change all refs to is_xyz[] arrays to use new
12393         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
12394         (check_macro_name): Remove ability to report an invalid
12395         assertion name, which is never used.
12396         (do_line): Constify a couple of char *'s.
12397         * cppmain.c (main): Call cpp_cleanup before returning.
12398
12399 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
12400
12401         * ggc.h (struct ggc_statistics): New type.
12402         (ggc_get_size): New function.
12403         (ggc_print_statistics): Likewise.
12404         * ggc-common.c (ggc_stats): New variable.
12405         (ggc_mark_rtx_children): Keep statistics.
12406         (ggc_mark_tree_children): Likewise.
12407         (ggc_print_statistics): New function.
12408         * ggc-page.c (struct globals): Add bytes_mapped field.
12409         (alloc_anon): Update it.
12410         (release_pages): Likewise.
12411         (ggc_get_size): New function.
12412         (ggc_page_print_statistics): New function.
12413         * ggc-simple.c (ggc_get_size): New function.
12414
12415 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
12416
12417         * flow.c (propagate_block): When the last reference to a label
12418         before an ADDR_VEC is deleted because the reference is a dead
12419         store, delete the ADDR_VEC.
12420
12421 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
12422
12423         * resource.c (find_free_register): Don't use the frame pointer
12424         if frame_pointer_needed.
12425
12426 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
12427
12428         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
12429         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
12430
12431         * config/i960/i960.c (i960_va_start): New locals base, num.
12432         Use INDIRECT_REF instead of ARRAY_REF on valist.
12433         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
12434
12435 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
12436
12437         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
12438
12439 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
12440
12441         * tree.def (PLACEHOLDER_EXPR): Update comments.
12442
12443 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12444
12445         * c-common.c (check_format_info): Avoid non-literal format string
12446         warnings when `first_arg_num' is zero.
12447
12448 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12449
12450         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
12451
12452 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
12453
12454         * arm.md (casesi_insn): Add a clobber of the condition code
12455         register.
12456
12457 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
12458
12459         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
12460         used by both cc1 and cc1plus.
12461
12462 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
12463
12464         * config/arm/arm.c: Initialise arm_structure_size_boundary to
12465         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
12466         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
12467         to the value 32 if it has not already been defined.
12468         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
12469         Override definition in arm.h with a value of 8.
12470
12471 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
12472
12473         * c-pragma.c (push_alignment): Don't check the return value
12474         of xmalloc.
12475
12476 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
12477
12478         * sparc.h (ADJUST_COST): Fix thinko.
12479
12480 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
12481
12482         * cccp.c (rescan): Fixed obp pointer handling around call to
12483         check_expand subroutine.
12484
12485 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
12486
12487         * gcse.c (delete_null_pointer_checks): Only record non-null info
12488         for pseudos when examining stores.
12489
12490         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
12491         splitters for these patterns.  Use "#" for output templates.
12492         (addsi3_carryin_shift): New pattern.
12493
12494 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
12495
12496         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
12497         of the function return register into a plain REG until
12498         after function inlining is done.
12499
12500 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
12501
12502         * jump.c (jump_optimize_1): If we did cross-jumping, and
12503         the data will matter, rebuild the CFG.
12504         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
12505         not optimizing.  Don't run shorten_branches.
12506         * toplev.c (rest_of_compilation): Run shorten_branches after
12507         reg_to_stack.
12508
12509 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
12510
12511         * rtl.h (note_stores): Add additional paramter.
12512         * rtlanal.c (reg_set_p_1): Take additional paramter.
12513         (reg_set_last_1): Likewise.
12514         (reg_set_p): Adjust call to note_stores.
12515         (reg_set_last): Likewise.
12516         (note_stores): Pass data parameter to worker function.
12517         * alias.c (record_set): Take additional parameter.
12518         (init_alias_analysis): Pass it.
12519         * caller-save.c (mark_set_regs): Take additional parameter.
12520         (save_call_clobbered_regs): Pass NULL to note_stores.
12521         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
12522         parameter.
12523         (record_dead_and_set_regs_1): Likewise.
12524         (reg_dead_at_p_1): Likewise.
12525         (combine_instructions): Adjust calls to note_stores.
12526         (try_combine): Likewise.
12527         (record_dead_insn): Remove.
12528         (record_dead_and_set_regs): Adjust calls to note_stores.
12529         (reg_dead_at_p): Likewise.
12530         * cse.c (invalidate_skipped_set): Take additional parameter.
12531         (cse_check_loop_start): Likewise.
12532         (cse_check_loop_start_value): Remove.
12533         (cse_set_around_loop): Adjust calls to note_stores.
12534         * flow.c (notice_stack_pointer_modification): Take additional
12535         parameter.  Remove duplicate declaration.
12536         (record_volatile_insns): Adjust calls to note_stores.
12537         * gcse.c (record_set_info): Take additional parameter.
12538         (record_last_set_info): Likewise.
12539         (invalidate_nonnull_info): Likewise.
12540         (record_set_insn): Remove.
12541         (compute_sets): Adjust calls to note_stores.
12542         (last_set_insn): Remove.
12543         (compute_hash_table): Adjust calls to note_stores.
12544         (insert_insn_end_bb): Likewise.
12545         (delete_null_pointer_checks): Likewise.
12546         * global.c (mark_reg_store): Take additional parameter.
12547         (mark_reg_clobber): Likewise.
12548         (reg_becomes_live): Likewise.
12549         (global_conflicts): Adjust calls to note_stores.
12550         (build_insn_chain): Likewise.
12551         * integrate.c (note_modified_parmregs): Take additional parameter.
12552         (mark_stores): Likewise.  Make it static.
12553         (save_for_inline_nocopy): Adjust calls to note_stores.
12554         (try_constants): Likewise.
12555         * integrate.h (mark_stores): Remove declaration.
12556         * jump.c (mark_modified_reg): Take additional parameter.
12557         (thread_jumps): Adjust calls to note_stores.
12558         * local-alloc.c (validate_equiv_mem_from_store): Take additional
12559         parameter.
12560         (no_equiv): Likewise.
12561         (reg_is_set): Likewise.
12562         (validate_equiv_mem): Adjust calls to note_stores.
12563         (update_equiv_regs): Likewise.
12564         (block_alloc): Likewise.
12565         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
12566         (note_addr_stored): Take additional parameter.
12567         (note_set_pseudo_multiple_uses): Likewise.
12568         (record_initial): Likewise.
12569         (prescan_loop): Adjust calls to note_stores.
12570         (strength_reduce): Likewise.
12571         (check_dbra_loop): Likewise.
12572         * regmove.c (flags_set_1): Take additional paramter.
12573         (mark_flags_life_zones): Adjust calls to note_stores.
12574         * reload1.c (mark_not_eliminable): Take additional parameter.
12575         (forget_old_reloads_1): Likewise.
12576         (reload_cse_invalidate_rtx): Likewise.
12577         (reload_cse_check_clobber): Likewise.
12578         (reload_combine_note_store): Likewise.
12579         (move2add_note_store): Likewise.
12580         (reload): Adjust calls to note_stores.
12581         (reload_as_needed): Likewise.
12582         (emit_reload_insns): Likewise.
12583         (reload_cse_regs_1): Likewise.
12584         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
12585         (reload_combine): Adjust calls to note_stores.
12586         * resource.c (update_live_status): Take additional paramter.
12587         (mark_target_live_regs): Adjust calls to note_stores.
12588         * stupid.c (find_clobbered_regs): Take additional parameter.
12589         (stupid_life_analysis): Adjust calls to note_stores.
12590
12591 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
12592
12593         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
12594         definition.
12595
12596         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
12597         definition.
12598
12599         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
12600         of the variable arm_structure_size_boundary.
12601
12602 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
12603
12604         * alias.c (init_alias_analysis): Allocate reg_known_value and
12605         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
12606         and reg_seen.
12607         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
12608         * cse.c (cse_main): Call end_alias_analysis.
12609         * haifa-sched.c (schedule_insns): Likewise.
12610         * local-alloc. (update_equiv_regs): Likewise.
12611         * reload1.c (reload_cse_regs): Likewise.
12612
12613 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12614
12615         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
12616         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
12617         mapping from MASK_FPU.
12618
12619 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
12620
12621         * sparc.md (call): Don't bound structure return size to 0xfff.
12622
12623 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
12624
12625         * resource.c (mark_target_live_regs): Check that the target
12626         insn wasn't created after compute_bb_for_insn.
12627
12628 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
12629
12630         * ggc-page.c (poison_pages): Don't be overzealous.
12631
12632 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
12633
12634         * alias.c: Update comments for ADDRESS.
12635         (nonlocal_reference_p): Look inside the ADDRESS to determine if
12636         it is a local memory reference.
12637
12638         * c-typeck.c (build_function_call): Check that the built-in
12639         function is of class BUILT_IN_NORMAL before trying to recongize
12640         it as BUILT_IN_ABS.
12641         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
12642         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
12643
12644 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
12645
12646         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
12647         of alloca.
12648         (pre_gcse): Likewise.
12649         (hoist_expr_reaches_here_p): Likewise.
12650         (hoist_code): Likewise.
12651         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
12652         code to ...
12653         (pre_expr_reaches_here_p_work): ... here.
12654         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
12655         code to ...
12656         (expr_reaches_here_p_work): ... here.
12657
12658 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
12659
12660         * resource.c (find_basic_block): Delete.
12661         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
12662         (init_resource_info): Call compute_bb_for_insn.
12663
12664 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
12665
12666         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
12667         with already adjacent blocks, but no fallthru.
12668         (merge_blocks_move_successor_nojumps): Simplify.
12669         (debug_flow_info): New.
12670
12671         * toplev.c (rest_of_compilation): Open jump1 dump file before
12672         jump and close after, as opposed to just using dump_rtl.
12673
12674 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12675
12676         * reload.h (earlyclobber_operand_p): Declare.
12677         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
12678         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
12679         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
12680         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
12681
12682 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
12683                           Richard Henderson  <rth@cygnus.com>
12684
12685         * emit-rtl.c (emit_block_insn_before): New.
12686         (emit_block_insn_after): New.
12687         * basic-block.h: Declare them.
12688
12689         * bitmap.h: Protect from multiple inclusion.
12690
12691         * recog.c (scratch_operand): Handle VOIDmode correctly.
12692
12693         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
12694
12695         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
12696         * function.c (assign_parms): Likewise.
12697         * global.c (global_conflicts): Clarify STACK_REGS commentary.
12698
12699         * reg-stack.c (max_uid): Remove.
12700         (blocks, block_begin, block_end, block_drops_in): Remove.
12701         (block_stack_in, block_out_reg_set, block_number): Remove.
12702         (struct block_info_def, BLOCK_INFO): New.
12703         (enum emit_where): New.
12704         (current_block): New.
12705         (BLOCK_NUM): Remove.
12706         (mark_regs_pat, record_label_references): Remove.
12707         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
12708         (nan): New.
12709         (goto_block_pat, print_blocks, dump_stack_info): Remove.
12710         (reg_to_stack): Simplified test for existance of fp code.  Use
12711         flow.c code.  Call shorten_branches after cross-jump opt.
12712         (check_asm_stack_operands): Renamed from record_asm_reg_life.
12713         Return false if the asm doesn't use stack regs.  Don't do life
12714         analysis on the asm.
12715         (emit_pop_insn): Replace function pointer arg `when' with
12716         enum `where'.  Update all callers.
12717         (change_stack): Likewise.  Update basic block end.
12718         (emit_swap_insn): Use current_block->head to limit reverse search
12719         for start of block.  Use emit_block_insn_after.
12720         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
12721         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
12722         structure assignment instead of bcopy.
12723         (print_stack): New.
12724         (convert_regs_entry, convert_regs_exit): New.
12725         (convert_regs_1, convert_regs_2): Split out from convert_regs.
12726         Work on basic blocks and the CFG.
12727         (convert_regs): Use them.
12728
12729         * i386.c (output_fix_trunc): Remove code for DImode input operand
12730         not at top-of-stack.
12731         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
12732         appropriate mode.
12733         (fix_truncdi_1): Allow any mode scratch.
12734
12735 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
12736
12737         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
12738         * linux.h, netbsd.h, vms.h: Not here.
12739
12740 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
12741
12742         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
12743         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
12744         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
12745         CONDITIONAL_REGISTER_USEAGE): Use them.
12746         * config/mips/mips.c (mips_move_1word,mips_move_2words,
12747         gen_conditional_branch,override_options) : Use them.
12748         * config/mips/mips.md : Use them.
12749
12750 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
12751
12752         * i386.md (zero_extendqihi2): Use SImode register name with andl.
12753
12754 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
12755
12756         * integrate.c (function_cannot_inline_p): Don't allow inlining
12757         if setjmp is used.
12758
12759 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12760
12761         * c-parse.in (cast_expr): Constify.
12762
12763         * cccp.c (special_symbol): Likewise.
12764
12765         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
12766
12767         * dwarf2out.c (base_type_die): Likewise.
12768
12769         * global.c (allocno_compare): Likewise.
12770
12771         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
12772
12773         * regclass.c (fix_register): Likewise.
12774
12775         * rtl.h (fix_register): Likewise.
12776
12777         * stupid.c (stupid_reg_compare): Likewise.
12778
12779         * toplev.c (decode_f_option): Likewise.
12780
12781         * tree.c (build_complex_type): Likewise.
12782
12783 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
12784
12785         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
12786
12787 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12788
12789         * reload.c (find_reloads): Compute mode and nregs fields of all
12790         reloads.
12791         * reload1.c (calculate_needs_all_insns): Simplify a bit.
12792         (calculate_needs): Use precomputed mode/nregs values.
12793         (allocate_reload_reg): Likewise.
12794         Break out two...
12795         (failed_reload, set_reload_reg): ... new functions.
12796         (choose_reload_regs_init): New function, mostly broken out from...
12797         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
12798         Also lose one #if 0 block.
12799
12800 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
12801
12802         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
12803         substitution.
12804
12805 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
12806
12807         * tree.h (BLOCK_TYPE_TAGS): Remove.
12808         (BLOCK_END_NOTE): Likewise.
12809         (BLOCK_LIVE_RANGE_FLAG): Likewise.
12810         (BLOCK_LIVE_RANGE_START): Likewise.
12811         (BLOCK_LIVE_RANGE_END): Likewise.
12812         (tree_block): Remove live_range_flag, live_range_var_flag, and
12813         type_tags.  Remove end_note, live_range_start, and live_range_end.
12814         (remember_end_note): Remove prototype.
12815         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
12816         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
12817         remember_end_note.
12818         * ggc-common.c (ggc_mark_tree_children): Don't mark
12819         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
12820         * integrate.c (adjust_copied_decl_tree): Remove.
12821         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
12822         * stmt.c (last_block_end_note): Remove.
12823         (init_stmt): Don't add a GC root for it.
12824         (expand_fixup): Don't set it.
12825         (remember_end_note): Remove.
12826         (expand_end_bindings): Don't set last_block_end_note.
12827
12828 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12829
12830         * reload1.c (reload_reg_free_for_value_p): Show
12831         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
12832         reloads.
12833
12834 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
12835
12836         * expmed.c (extract_bit_field): Allow for the case of non-integer
12837         objects that are smaller than a word (like SFmode on a 64-bit
12838         machine).
12839
12840         * loop.c (basic_induction_var): A non-integer variable which is
12841         being set by a paradoxical subreg is probably not a biv.
12842
12843 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12844
12845         * prefix.c (translate_name) Check for empty prefix string.
12846
12847 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
12848
12849         * Makefile.in (CPP_CROSS_NAME): New variable.
12850         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
12851         xcpp.
12852         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
12853         names of the files to be uninstalled.
12854
12855 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
12856
12857         * collect2.c (IS_DIR_SEPARATOR): Define.
12858         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
12859
12860         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
12861         functions too.
12862
12863         * haifa-sched.c (add_dependence): Update the true dependency
12864         cache the first time we add a true dependence to the LOG_LINKS chain.
12865
12866 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
12867
12868         * fold-const.c (fold): Fix comment.
12869
12870 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12871
12872         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
12873         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
12874         dbxout_start_new_source_file, dbxout_source_file,
12875         dbxout_source_line, dbxout_finish, dbxout_type_fields,
12876         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
12877         Constify a char*.
12878         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
12879         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
12880         (dbxout_block): Initialize variable `blocknum'.
12881
12882         * dbxout.h (dbxout_init, dbxout_finish,
12883         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
12884         dbxout_args, dbxout_source_line): Constify a char*.
12885
12886         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
12887         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
12888         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
12889         low_pc_attribute, high_pc_attribute, body_begin_attribute,
12890         body_end_attribute, comp_dir_attribute, sf_names_attribute,
12891         src_info_attribute, mac_info_attribute, producer_attribute,
12892         lookup_filename, generate_macinfo_entry, fundamental_type_code,
12893         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
12894         dwarfout_undef): Constify a char*.
12895         (add_incomplete_type, retry_incomplete_types): Add prototypes.
12896
12897         * dwarfout.h (dwarfout_define, dwarfout_undef,
12898         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
12899
12900 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
12901
12902         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
12903         (MULTILIB_ISA_DEFAULT): New.
12904         (MULTILIB_DEFAULTS): Use it.
12905         * config/mips/mips.c (): Remove the now unnecessary definition
12906         of MIPS_ISA_DEFAULT.
12907         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
12908         unnecessary definition.
12909
12910 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
12911
12912         * arm.md (pic_load_addr): Add constraints to operand 1.
12913
12914 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
12915
12916         * fixinc/genfixes:  Provide a means for specifying -D options to
12917         AutoGen
12918
12919 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
12920
12921         * arm.c (arm_override_options): Correct initialization of
12922         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
12923         arm_is_strong, and arm_is_6_or_7.
12924
12925         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
12926         (note_set_pseudo_multiple_uses): New function.
12927         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
12928         if a pseudo set in the loop exit is used elsewhere.
12929
12930 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
12931
12932         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
12933
12934 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
12935
12936         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
12937         a single load-address pattern.
12938
12939 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
12940
12941         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
12942         depending on whether or not line-number notes are present.
12943
12944 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12945
12946         * cccp.c (progname, file_buf, default_include, include_file,
12947         macrodef, definition, hashval, wchar_type, user_label_prefix,
12948         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
12949         expand_to_temp_buffer, is_system_include, base_name,
12950         absolute_filename, read_name_map, open_include_file,
12951         record_control_macro, check_precompiled, check_preconditions,
12952         pcfinclude, pass_thru_directive, create_definition,
12953         check_macro_name, comp_def_part, collect_expansion,
12954         check_assertion, read_token_list, assertion_install,
12955         assertion_lookup, eval_if_expression, conditional_skip,
12956         validate_else, skip_quoted_string, quote_string, macarg1,
12957         error_from_errno, install, lookup, hashf, dump_defn_1,
12958         perror_with_name, pfatal_with_name, main, trigraph_pcp,
12959         check_white_space, rescan, handle_directive, monthnames,
12960         special_symbol, do_include, remap_include_file, write_output,
12961         arglist, do_assert, do_unassert, do_line, do_error, do_once,
12962         do_ident, do_sccs, do_xifdef, skip_if_group,
12963         output_line_directive, macroexpand, macarg, change_newlines,
12964         initialize_builtins, make_definition): Constify a char*.
12965
12966         * pcp.h (stringdef): Likewise.
12967
12968 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
12969
12970         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
12971         not of pattern.
12972
12973 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
12974                           Richard Henderson  <rth@cygnus.com>
12975
12976         * alias.c: Include ggc.h.
12977         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
12978         (record_set): Verify enough room in reg_base_value.
12979         (init_alias_analysis): Allocate reg_base_value with xcalloc.
12980         Register it as a GC root.
12981         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
12982         * Makefile.in (alias.o): Depend on ggc.h.
12983
12984         * unroll.c (unroll_loop): Verify the insn before a barrier
12985         is a JUMP_INSN before checking JUMP_LABEL.
12986
12987 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12988
12989         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
12990         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
12991         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
12992         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
12993         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
12994         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
12995
12996 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12997
12998         * output.h (ctors_section, dtors_section, bss_section): Prototype.
12999
13000         * alpha/alpha-interix.h (text_section): Delete prototype.
13001         * alpha/elf.h (text_section): Likewise.
13002         * arm/linux-elf.h (text_section): Likewise.
13003         * arm/linux-telf.h (text_section): Likewise.
13004         * c4x/c4x.h (text_section): Likewise.
13005         * dsp16xx/dsp16xx.h (bss_section): Likewise.
13006         * elfos.h (text_section): Likewise.
13007         * i386/aix386ng.h (text_section): Likewise.
13008         * i386/i386-interix.h (text_section): Likewise.
13009         * i386/sco5.h (text_section): Likewise.
13010         * i386/svr3gas.h (text_section): Likewise.
13011         * nextstep.h (text_section): Likewise.
13012         * psos.h (text_section): Likewise.
13013         * ptx4.h (text_section): Likewise.
13014         * svr3.h (text_section): Likewise.
13015         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
13016
13017 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13018
13019         * final.c (peephole): Delete prototype.
13020
13021         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
13022         (pre_insert_copies): Remove unused variable `bb'.
13023
13024         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
13025         prototypes.
13026
13027         * output.h (peephole): Add prototype.
13028
13029 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
13030
13031         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
13032         -O0.
13033
13034 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
13035
13036         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
13037         for inlined declarations.
13038
13039 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
13040
13041         * arm.c (logical_binary_operator): New fucntion.
13042         * arm.h (logical_binary_operator): Declare it.
13043         (PREDICATE_CODES): Handle logical_binary_operator.
13044         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
13045         output constraints.  Add appropriate splitters.
13046         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
13047         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
13048         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
13049
13050 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13051
13052         * genoutput.c (struct operand_data): New elt eliminable.
13053         (output_operand_data): Write it.
13054         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
13055         (compare_operands): Take it into account.
13056         * recog.h (struct insn_operand_data): New elt eliminable.
13057         * reload1.c (check_eliminable_occurrences, elimination_effects): New
13058         functions.
13059         (old_asm_operands_vec, new_asm_operands_vec): Delete.
13060         (eliminate_regs): Move code that detects changes to elimination
13061         target regs into new function elimination_effects.
13062         Delete one #if 0 block.
13063         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
13064         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
13065         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
13066         Only call eliminate_regs for real operands of the insn, not for parts
13067         of its structure or parts matched by things like match_operator.
13068         Use elimination_effects and check_eliminable_occurrences.  Use
13069         copy_insn to duplicate the pattern when not in the final pass.
13070
13071 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
13072
13073         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
13074         and fld.
13075
13076 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
13077
13078         * fixinc/README: document the "mach" machine matching test
13079         * fixinc/fixfixes.c: Implement the #else/#endif label fix
13080         * fixinc/fixtests.c: Implement the #else/#endif label test
13081         * fixinc/inclhack.def: utilize these tests and fixes
13082         * fixinc/inclhack.sh:  regen
13083         * fixinc/fixincl.x:  regen
13084         * fixinc/fixincl.sh:  regen
13085
13086 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
13087
13088         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
13089         depend on ggc.h.
13090
13091 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
13092
13093         * gcc.1: Document exit codes.
13094
13095 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13096
13097         * calls.c: Include tm_p.h later, so everything we need is defined.
13098         * expr.c: Likewise.
13099         * function.c: Likewise.
13100
13101         * except.c: Include tm_p.h.
13102
13103         * sparc.c: Likewise.
13104         (dwarf2out_cfi_label): Don't prototype.
13105         (check_return_regs, epilogue_renumber,
13106         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
13107         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
13108         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
13109         ultra_schedule_insn): Add static prototype.
13110         (data_segment_operand, text_segment_operand): Call itself with the
13111         proper number of arguments.
13112         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
13113
13114         * sparc.h: Move all declarations to sparc-protos.h.
13115         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
13116         symbolic_operand.
13117
13118         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
13119
13120         * config/svr4.h (text_section, ctors_section, dtors_section): Add
13121         Prototypes.
13122         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
13123         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
13124         ASM_OUTPUT_ASCII): Constify a char*.
13125
13126         * sparc-protos.h: New file for sparc prototypes.
13127
13128 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13129
13130         * function.c (record_insns, contains): Always declare and define.
13131         (record_insns): Mark with ATTRIBUTE_UNUSED.
13132
13133 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13134
13135         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
13136         to .section when outputting a .bss section to deal with multiple
13137         .bss input sections (as happens with -fdata-sections)
13138         Also output %progbits, not @progbits so the assembler doesn't treat as
13139         a comment.
13140         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
13141
13142         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
13143         thumb parts even when building with non-thumb CPUs, by forcing
13144         thumb mode.
13145
13146 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
13147
13148         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
13149         (movdf_const_intreg_sp64): Similarly.
13150
13151         * local-alloc.c (update_equiv_regs): Check the correct insn
13152         for pre-existing REG_EQUIV notes.
13153
13154 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
13155
13156         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
13157         block reached by a branch if we're not going to actually process
13158         this block.
13159
13160 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
13161
13162         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
13163         a local extern function declaration.
13164
13165 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
13166
13167         * i386.c (ix86_expand_prologue): Properly wrap USE around
13168         reg for CALL_INSN_FUNCTION_USAGE.
13169
13170 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
13171
13172         * config/mips/mips.md (movdf_internal1a): Allow floating-point
13173         move between GP_REGs.
13174
13175 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
13176
13177         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
13178         the mode size when finding out if an offset is legal.
13179
13180 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
13181
13182         * basic-block.h (PROP_*): Move constants from ...
13183         * flow.c: ... here.
13184         (compute_bb_for_insn): Free the array before reallocating.
13185         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
13186         (allocate_reg_life_data): Reset all reg variables collected by
13187         propagate_block.
13188         (get_block_head_tail): Don't convert from bb to block.
13189         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
13190         (find_insn_reg_weight): Take block not bb.
13191         (schedule_block): Don't set block num for moved insns.
13192         (schedule_region): Don't update_life_info or find_insn_reg_weight.
13193         (schedule_insns): Do it here instead.
13194         * combine.c (combine_instructions): Invoke compute_bb_for_insn
13195         before update_life_info.
13196         * recog.c (split_all_insns, peephole2_optimize): Update for
13197         new arg to update_life_info.
13198         * rtlanal.c (remove_note): Cope with NULL note.
13199         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
13200         if we did sched1.
13201
13202 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
13203
13204         * jump.c (jump_optimize_1): More accurately detect casesi insns.
13205
13206         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
13207         block records so that merge_blocks_nomove will clean up correctly.
13208         (split_edge): Handle casesi insns.
13209
13210         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
13211
13212 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
13213
13214         * pa.md (call, call_value): Do not emit a blockage after restoring
13215         the PIC register.
13216
13217 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
13218
13219         * c-typeck.c (c_expand_asm_operands): Fix typo.
13220
13221 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13222
13223         * arm.c (fpu_rhs_operand): Verify modes.
13224         (fpu_add_operand): Likewise.
13225         (di_operand): Likewise.
13226         (soft_df_operand): Likewise.
13227
13228 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
13229
13230         * arm.c (arm_return_in_memory): APCS rules state that the elements
13231         of a structure returned in a register must be 'integer-like'.
13232
13233 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
13234
13235         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
13236         in the source tree when the generated targets are out of date
13237         * fixinc/genfixes: Alter it to run individual fixes for make.
13238         * fixinc/README: rewrite
13239         * fixinc/inclhack.def: moved initial comments to README
13240
13241 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
13242
13243         * toplev.c (main): Do not generate an error message if an
13244         unrecognised command line switch is recognisable by another
13245         language.  If extra_warnings are enabled, then generate a
13246         warning message instead.
13247
13248 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13249
13250         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
13251         (insert_pack_attributes): Delete prototype.
13252
13253         * c-pragma.c (default_alignment): New static variable.
13254         (push_alignment): Initialize to current effective alignment.
13255         (pop_alignment): Use to set new alignment.
13256         (insert_pack_attributes): Delete function.
13257         (handle_pragma_token): Set default_alignment as well each time
13258         a #pragma pack(<n>) is encountered.
13259
13260 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
13261
13262         * reg-stack.c (stack_result): Aggregates are not returned in
13263         stack registers.
13264
13265 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
13266
13267         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
13268
13269 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
13270
13271         * basic-block.h (set_block_num): Declare.
13272         * flow.c (update_life_info): Don't call compute_bb_for_insn
13273         or free_basic_block_vars.
13274         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
13275         (insn_orig_block): Remove.
13276         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
13277         (schedule_block): Keep BLOCK_NUM up-to-date.
13278         (schedule_insns): Use compute_bb_for_insn.
13279         * recog.c (split_all_insns): Likewise.
13280         (peephole2_optimize): Likewise.
13281
13282 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
13283
13284         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
13285         if the pic register is used.
13286
13287 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13288
13289         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
13290         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
13291         if that tests TREE_PERMANENT.
13292
13293 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
13294
13295         * cse.c (invalidate_for_call): Do not remove memory references from
13296         the table here.  It's handled elsewhere.
13297
13298         * haifa-sched.c (add_dependence): Protect references to the
13299         true dependency cache with #ifdef INSN_SCHEDULING.
13300         (remove_dependence): Similarly.
13301
13302         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
13303         to the cfg code that this is a return instruction.
13304         * mn10300.md (return_internal): Similarly.
13305
13306         * combine.c (get_last_value): If the last set of a register
13307         is after subst_low_cuid, then we can not use it to determine
13308         the register's last value.
13309
13310 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13311
13312         * Makefile.in: Back out previous change.
13313
13314 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
13315
13316         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
13317
13318         * haifa-sched.c (add_dependence): Only check/update the cache
13319         if it exists.
13320         (remove_dependence): Likewise.
13321         (schedule_insns): Only create the true_dependency_cache if the
13322         average number of instructions in a basic block is very large.
13323
13324 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
13325
13326         * Makefile.in (ggc-common.o): Depend on genrtl.h.
13327         (ggc-simple.o): Likewise.
13328         (ggc-page.o): Likewise.
13329
13330 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
13331
13332         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
13333         Prototype for exported functions.
13334         (pre_lcm, pre_rev_lcm): Remove prototypes.
13335         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
13336         (compute_available): Move to lcm.c, and change parameter order.
13337         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
13338         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
13339         (gcse_main): No longer call compute_preds_succs.  Rebuild the
13340         set table after reach pre pass.
13341         (pre_insert_map, pre_delete_map, edge_list): New.
13342         (alloc_pre_mem): Allocate edge vectors.
13343         (free_pre_mem): Delete edge vectors.
13344         (compute_pre_data): Call new edge based lcm routines.
13345         (process_insert_insn): New function.
13346         (insert_insn_end_bb): Use it.
13347         (pre_edge_insert): New function.
13348         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
13349         needed.
13350         (pre_insert_copies): Revamp using new edge based lcm outputs.
13351         (pre_delete): Likewise.
13352         (one_pre_gcse_pass): Insert & remove fake edges to the exit
13353         block.
13354         (compute_code_hoist_vbeinout): New new edge based routines.
13355         * lcm.c: Remove all the old LCM functions.  Replace with new ones
13356         that work with the new cfg datastructures and work with edges
13357         instead of blocks.
13358
13359 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13360
13361         * reload.h (struct reload): Add new fields "mode" and "nregs".
13362         * reload1.c: Change all occurrences of reload_mode and reload_nregs
13363         to reference the "mode" and "nregs" field within struct reload.
13364
13365 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
13366
13367         * haifa-sched.c (true_dependency_cache): New.
13368         (add_dependence): Use the true dependency cache to avoid expensive
13369         walks down the LOG_LINKS dependency list.  Add entries to the
13370         cache as necessary.
13371         (remove_dependence): Remove entries from the true dependency cache
13372         as needed.
13373         (schedule_insns): Allocate and initialize and free the true
13374         dependency cache.
13375
13376         * haifa-sched.c (schedule_insns): Do not remove inter-block
13377         dependencies anymore.
13378
13379 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
13380
13381         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
13382         * i386/t-winnt: Likewise.
13383
13384 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
13385
13386         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
13387
13388 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
13389
13390         * Makefile.in (LANGUAGES): Omit "proto".
13391         (clean): Remove stale comment about removing unprotoize.c.
13392
13393 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13394
13395         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
13396         using arithmetic on void pointers.
13397
13398 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
13399
13400         * haifa-sched.c (compute_block_forward_dependencies): Only check
13401         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
13402
13403 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
13404
13405         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
13406         (expr_equiv_p): Reject memories with different alias sets.
13407
13408 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
13409
13410         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
13411         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
13412         (f_options): Add "bounded-pointers" and "bounds-check" entries.
13413         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
13414         (lang_init): Set default for flag_bounds_check if still "unspecified".
13415
13416 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13417
13418         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
13419
13420 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13421
13422         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
13423         instructions.
13424
13425 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13426
13427         * config/c4x/c4x.md (*db_noclobber,
13428         *decrement_and_branch_until_zero_noclobber): New patterns and
13429         associated splitters.
13430
13431 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13432
13433         * config/c4x/c4x.md (parallel instruction patterns): Rework
13434         constraints to keep reload happy.
13435
13436 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13437
13438         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
13439         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
13440         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
13441         Add new patterns and associated post-reload splitters.
13442
13443 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13444
13445         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
13446
13447 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13448
13449         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
13450         if appropriate.
13451         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
13452
13453 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13454
13455         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
13456         memory mode.
13457
13458 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
13459
13460         * pa.c (move_operand): Rely on memory_address_p to determine the
13461         validity of non-indexed memory addresses.
13462         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
13463         operand in DFmode and SFmode when generating PA2.0 code.
13464
13465 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
13466
13467         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
13468
13469 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
13470
13471         * mips.c (function_prologue): Fix argument types.
13472         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
13473         (casesi_internal): Write to the scratch register.
13474
13475 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
13476
13477         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
13478         to U_CHAR **.
13479         (parse_charconst): Delete unnecessary cast when calling
13480         cpp_parse_escape.
13481         (cpplib.h): Kill prototype of cpp_parse_escape.
13482
13483 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
13484
13485         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
13486         * unroll.c (unroll_loop): Cast return value of alloca.
13487         * i370/i370.c: Include function.h and toplev.h.
13488         (i370_label_scan): Remove c++ commented abort.
13489         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
13490         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
13491         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
13492         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
13493
13494 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
13495
13496         * config/t-freebsd: Do not override USER_H.
13497         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
13498
13499 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
13500                           Mumit Khan  <khan@xraylith.wisc.edu>
13501
13502         * c-parse.in (component_decl): Support anonymous struct/union.
13503         (%expect): Update.
13504         * c-parse.y: Regenerate.
13505         * c-parse.c: Likewise.
13506         * objc/objc-parse.y: Likewise.
13507         * objc/objc-parse.c: Likewise.
13508         * c-decl.c (finish_struct): Don't sort the fields.
13509         (field_decl_cmp): Delete unused function.
13510
13511 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
13512
13513         * sparc.md (movsf_const_intreg): Revert last constraint change.
13514         (movdf_const_intreg_sp32): Likewise.
13515
13516 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
13517
13518         * cse.c: Include hashtab.h instead of splay-tree.h
13519         (struct cse_reg_info): No longer use variant union.  Add new
13520         field "regno".  All references changed to avoid union.
13521         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
13522         (free_cse_reg_info): Remove.
13523         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
13524         (get_cse_reg_info): Revamp to use expandable hash tables instead
13525         of splay trees.  Initialize new fields in cse_reg_info structure.
13526         (new_basic_block): Similarly.
13527
13528 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
13529
13530         * genrecog.c (message_with_line): Prototype.
13531         (validate_pattern): Pass along the set for the dest, not a flag.
13532         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
13533         Check for PC/CC0 as sources.
13534         (nodes_identical): Check for children position match before
13535         allowing the combination.
13536
13537         * rtl.c (read_rtx): Track line number across \\\n.
13538
13539 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
13540
13541         * mips.h (SPECIAL_MODE_PREDICATES): New.
13542         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
13543         (movdi+1, movsi+1): Add output reload constraint.
13544         (casesi_internal): Likewise.  Fix commentary.
13545         (return_internal): Use pmode_register_operand.
13546
13547 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
13548
13549         * 1750a.md (movstrqi): Add missing output reload constraint.
13550         (call_value): Likewise.
13551         * a29k.md (cpxxx patterns): Add missing match_operator mode.
13552         (jmpfdec): Add missing inout reload constraint.
13553         * elxsi.md (addsi patterns): Add missing output reload constraint.
13554         (move from sp): Use @ alternates.
13555         (call_value): No constraint on output.
13556         * fr30.md (movsi_pop): Add missing output reload constraint.
13557         (movsf_constant_store): Likewise.
13558         (splits): Remove constraints.
13559         (subsi3): Add missing mode.
13560         * i370.md (cmpstrsi+1): Add missing output reload constraint.
13561         (call_value): Likewise.
13562         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
13563         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
13564         * m32r.md (movsicc_internal): Add output reload constraint.
13565         (movstrsi_internal): Add inout reload constraints.
13566         * m88k.h (reg_names): Don't declare.
13567         (SPECIAL_MODE_PREDICATES): New.
13568         * m88k.md (*): Use register_operand not reg_or_0_operand
13569         on destinations.
13570         * mn10200.h (PREDICATE_CODES): New.
13571         * ns32k.md (ffs pattern): Add output reload constraint.
13572         * pdp11.md (sob pattern): Add inout reload constraint.
13573         * sh.md (splits): Remove constraints.
13574         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
13575         * v850.md (pattern_is_ok_for_epilogue): Likewise.
13576         * vax.md (jgequ pattern): Add inout reload constraint.
13577
13578 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
13579
13580         * configure.in (djgpp): Revert previous patch.
13581         * configure: Rebuit.
13582         * config/i386/djgpp.h: Revert previous patch.
13583
13584 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
13585
13586         * fixinc/inclhack.def: Restore patch lost during last merge of
13587         "no_bogosity" branch.
13588         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
13589
13590 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13591
13592         * fixincludes: Add a HPUX 11 fix for inttypes.h.
13593         * fixinc/inclhack.def: Same.
13594         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
13595
13596 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
13597
13598         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
13599         as the base of a PLUS.
13600
13601 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13602
13603         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
13604         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
13605
13606 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
13607
13608         * pa.md (post_stw+1): Use pmode_register_operand.
13609         (dcacheflush, icacheflush): Likewise.
13610
13611         * i386.md (movstricthi_1): Allow r/r.
13612
13613 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
13614
13615         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
13616         to (not (and (arg0) (arg1))). Similary for and.
13617
13618         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
13619         fallthrough to associate code.
13620         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
13621         bits in common.
13622
13623         * combine.c (simplify_logical): Convert XOR to IOR if operands have
13624         no bits in common; remove XOR to ROTATE conversion.
13625
13626 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13627
13628         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
13629
13630 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13631
13632         * config/c4x/c4x.c (dst_operand): New.
13633         (PREDICATE_CODES): Update.
13634         * config/c4x/c4x.h (dst_operand): Declare it.
13635         * config/c4x/c4x.md:  Define mode for each unspec usage.
13636         (move patterns):  Use dst_operand predicate instead of src_operand.
13637         (movqi_update, movqf_update): Delete.
13638
13639 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
13640
13641         * recog.c (pmode_register_operand): New.
13642         * recog.h: Declare it.
13643         * genrecog.c (pred_codes): Likewise.
13644         (special_mode_pred_table): Likewise.
13645         (validate_pattern): Don't warn no mode for address_operand.
13646
13647         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
13648         if the operand is not insn-like.
13649
13650 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
13651                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
13652
13653         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
13654
13655 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
13656
13657         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
13658         instead of general_operand in a SET_DEST.  Use const_double_operand
13659         instead of an explicit test against CONST_DOUBLE.
13660         (movsf_const_lo): Add missing register mode.
13661         (goto_handler_and_restore): Add auxiliary test for Pmode.
13662         (flush): Adjust to use address_operand.
13663         (return_sf_no_fpu): Add missing output constraint.
13664
13665 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
13666
13667         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
13668         for call return value.
13669         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
13670
13671 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
13672
13673         * toplev.c (main): Only warn about options for other languages.
13674         * collect2.c (main): Pass -w to sub-gcc.
13675
13676 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
13677
13678         * flow.c (propagate_block): Add call-clobbered registers to
13679         significant too.
13680
13681         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
13682         zapping mem_set_list.
13683         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
13684         (mark_set_1, mark_used_regs): Likewise.
13685
13686 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
13687
13688         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
13689
13690 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13691
13692         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
13693         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
13694         options. Also add a new item "C-only Warning Options" to the
13695         option summary.
13696
13697 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
13698
13699         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
13700         from multiple calls.
13701
13702 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
13703
13704         * i386.md (call value patterns): Move to the end of the file.
13705         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
13706
13707 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
13708
13709         * configure.in (djgpp configuration): Define extra_objects..
13710         * configure: Rebuilt.
13711         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
13712         (DTORS_SECTION_ASM_OP): Define.
13713         (INIT_SECTION_ASM_OP): Define.
13714         (FINI_SECTION_ASM_OP): Define.
13715         (DATA_SECTION_ASM_OP): Define.
13716         (TEXT_SECTION_ASM_OP): Define.
13717         (EH_FRAME_SECTION_ASM_OP): Define.
13718         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
13719         (STARTFILE_SPEC): Add crtbegin.o.
13720         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
13721         to here from LINK_COMMAND_SPEC.
13722         (DO_GLOBAL_CTORS_BODY): Define.
13723         (CRTSTUFF_USE_FINI_SECTION): Define
13724         (HAS_INIT_SECTION): Delete.
13725
13726 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
13727
13728         * Makefile.in (all.cross): Depend on xcpp$(exeext).
13729
13730 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
13731
13732         * pa.h (PREDICATE_CODES): New.
13733
13734         * genrecog.c (validate_pattern): Condense the destination
13735         non-lvalue message.
13736
13737 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
13738
13739         * alpha.md (call-1): Supply missing mode for operator.
13740         (*): Add missing output reload constraints.  Remove constraints
13741         from define_splits.
13742
13743         * i386.h (SPECIAL_MODE_PREDICATES): New.
13744         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
13745         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
13746         (addsi_lea_3): Add missing mode for op 3.
13747         (prologue_set_got, prologue_get_pc): Add missing modes.
13748         (*) Add missing output reload constraints.
13749
13750 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
13751
13752         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
13753         check for member bit-size overflow and use var_size if it occurs.
13754         (layout_record): Use bitsize_int() to define the type size in bits.
13755         Likewise for computation and assignment to DECL_FIELD_BITPOS.
13756         (layout_decl): Likewise when assigning to DECL_SIZE.
13757
13758 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
13759
13760         * genrecog.c (validate_pattern): Typo last change.  Verify
13761         that output operands have output reloads.
13762
13763 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
13764
13765         * genrecog.c (special_mode_pred_table): New.
13766         (NUM_SPECIAL_MODE_PREDS): New.
13767         (find_operand): New.
13768         (validate_pattern): New argument `insn'.  Warn for assignment to
13769         any predicate accepting non-lvalues.  Conditionaly warn for
13770         match_operand without a mode.  Try much harder to match source
13771         and destination modes on a set.
13772         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
13773
13774 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
13775
13776         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
13777
13778 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
13779
13780         * combine.c (simplify_logical): Recognize xor pattern that encodes
13781         rotation.
13782
13783 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13784
13785         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
13786         alignment.
13787
13788 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
13789
13790         * ggc-page.c (MAP_FAILED): Provide default.
13791
13792 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
13793
13794         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
13795         * sparc.h (PREDICATE_CODES): Update.
13796
13797 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
13798
13799         * alpha.c (some_ni_operand): New.
13800         * alpha-protos.h: Declare it.
13801         * alpha.h (PREDICATE_CODES): Update.
13802         * alpha.md (sXaddq reload insns): Use some_ni_operand
13803         for SET_DEST instead of some_operand.
13804
13805 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
13806                           Jim Wilson  <wilson@cygnus.com>
13807
13808         * genrecog.c (maybe_both_true_2): Don't compare modes of
13809         two DT_pred tests.
13810         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
13811         after find_afterward.
13812         (debug_decision_1): Dump next and afterward codes.
13813
13814 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
13815
13816         * rtl.c (dump_and_abort): Remove.
13817         (fatal_with_file_and_line): New.
13818         (fatal_expected_char): New.
13819         (read_rtx_lineno, read_rtx_filename): New.
13820         (read_skip_spaces): Track line number.
13821         (read_name): Use fatal_with_file_and_line.
13822         (read_rtx): Use fatal_expected_char.  Track line number.
13823         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
13824
13825         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
13826         if it isn't a CODE_LABEL.
13827
13828         * genattr.c (main): Set read_rtx_filename.
13829         * genattrtab.c (main): Likewise.
13830         * gencodes.c (main): Likewise.
13831         * genconfig.c (main): Likewise.
13832         * genemit.c (main): Likewise.
13833         * genextract.c (main): Likewise.
13834         * genflags.c (main): Likewise.
13835         * genopinit.c (main): Likewise.
13836         * genoutput.c (main): Likewise.
13837         * genpeep.c (main): Likewise.
13838
13839         * genrecog.c (decision_test.u.insn): Add `lineno'.
13840         (pattern_lineno, error_count): New variables.
13841         (message_with_line): New.
13842         (add_to_sequence): Break out checking code to ...
13843         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
13844         (merge_insn): Use message_with_line.
13845         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
13846         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
13847
13848 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13849
13850         * expr.c (store_constructor): Clear union if constructor is empty.
13851
13852 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
13853
13854         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
13855         Add !endian checks.  Change %{...} to %(...).
13856
13857 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
13858
13859         * i386.md (*addsi3_cc): Renamed from addcsi3.
13860         (*addsi3_carry): Renamed from addxsi3.
13861         (*subsi3_cc): Renamed from subcsi3.
13862         (*subsi3_carry): Renamed from subxsi3.
13863         (*xorqi_cc_1): Renamed from xorcqi_1.
13864         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
13865         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
13866
13867 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
13868
13869         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
13870         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
13871
13872 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
13873
13874         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
13875         climb up the chain of insns.
13876
13877 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
13878
13879         * genrecog.c (write_subroutine): Careful for null trees.
13880         (process_tree): Don't elide empty functions.
13881
13882 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
13883
13884         * Makefile.in (genrtl.o): Depend on ggc.h.
13885         * configure.in (valloc): Probe for it.
13886         (with-gc): Use ggc-page if valloc present.
13887         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
13888         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
13889         (ggc_alloc_string): Moved from ggc-page.c.
13890         * ggc-none.c (ggc_alloc_obj): New.
13891         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
13892         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
13893         (struct globals): Likewise for dev_zero_fd.
13894         (init_ggc): Likewise for it's initialization.
13895         (ggc_allocated_p): Move careful dereference from ...
13896         (ggc_lookup_page_table): ... here.  Delete.
13897         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
13898         (alloc_anon): Use valloc if no mmap.
13899         (release_pages): Use free if using valloc.
13900         (ggc_alloc_obj): Renamed from alloc_obj.
13901         (ggc_set_mark): Renamed from mark_obj.
13902         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
13903         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
13904         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
13905         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
13906         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
13907         (ggc_collect): Use fp printing instead of our own rounding.
13908         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
13909         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
13910         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
13911         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
13912         (struct ggc_string, struct ggc_any): Delete.
13913         (offsetof): Provide default definition.
13914         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
13915         (PTR_KEY): New.
13916         (struct ggc_mem): New, from corpse of ggc_any.
13917         (struct ggc_status): Delete.
13918         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
13919         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
13920         (n_strings_collected, n_anys_collected): Delete.
13921         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
13922         (ggc_alloc_string, ggc_alloc): Delete.
13923         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
13924         (ggc_free_string, ggc_free_any): Delete.
13925         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
13926         (ggc_compare_addresses, ggc_mark_string): Delete.
13927         (ggc_mark_string_if_gcable, ggc_mark): Delete.
13928         (search_data): Delete.
13929         (struct globals): New.
13930         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
13931         (tree_insert, tree_lookup): New.
13932         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
13933         (clear_marks, sweep_objs): New.
13934         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
13935         (init_ggc): Set allocated_last_gc.
13936         (ggc_push_context): Gut.  Use G.context.
13937         (ggc_pop_context): Likewise.
13938         (ggc_pop_context_1): New.
13939         (debug_ggc_tree): New.
13940         (debug_ggc_balance, tally_leaves): New.
13941         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
13942         (ggc_mark_string_if_gcable): Remove decl.
13943         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
13944         (ggc_mark_rtvec_children): New.
13945         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
13946         (ggc_mark_if_gcable): New decl.
13947         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
13948         (ggc_alloc_tree, ggc_alloc): Likewise.
13949         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
13950         (ggc_alloc_obj): New decl.
13951         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
13952         (ggc_alloc_tree, ggc_alloc): Likewise.
13953         (ggc_set_mark): New decl.
13954         * rtl.h (struct rtx_def): Remove gc_mark.
13955         (struct rtvec_def): Likewise.
13956         * tree.h (struct tree_common): Likewise.
13957
13958 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
13959
13960         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
13961         float_format and thread_file definitions.
13962         * configure: Rebuilt.
13963
13964 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
13965
13966         * extend.texi (Function Names): Document types of function names.
13967
13968 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13969
13970         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
13971         an earlyclobbered output conflict with RELOAD_INPUT reloads.
13972
13973 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13974
13975         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
13976
13977 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13978
13979         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
13980
13981 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
13982
13983         * collect2.c (main): Do prelimnary link on AIX if rflag.
13984
13985 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
13986
13987         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
13988         __CTOR_LIST__ in opposite order, which is the correct order for sorted
13989         constructors.
13990         (__do_global_dtors): similarly for __DTOR_LIST__.
13991
13992 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13993                                 Diego Novillo <dnovillo@cygnus.com>
13994
13995         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
13996         FPUL_REGS.
13997
13998 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
13999
14000         * fixincl/*: Merged "no_bogosity" branch
14001         * fixincl/fixlib.h: protect against doubly defining t_bool
14002         * fixincl/server.h: protect against doubly defining t_bool
14003
14004 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
14005
14006         * genoutput.c: Include toplev.h.
14007
14008 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
14009
14010         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
14011         Undef.
14012         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
14013         * configure: Regenerate.
14014
14015 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
14016
14017         * gcse.c (delete_null_pointer_checks): Returns void.
14018
14019 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14020
14021         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
14022         * emit-rtl.c (copy_insn_1): Likewise.
14023
14024 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
14025
14026         * config/mips/mips.c (mips_build_va_list): Correct
14027         TREE_CHAIN setting when hard-float.
14028         (mips_va_start): Use corrected setting.
14029         (mips_va_arg): Likewise.  Also pass a tree to build of
14030         POSTINCREMENT_EXPR rather than a naked 'int'.
14031
14032 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
14033
14034         * ggc.h (ggc_push_context): Fix comment.
14035         (ggc_pop_context): Likewise.
14036         (mark_string_if_gcable): Likewise.
14037         * ggc-common.c (ggc_mark_rtx_children): Use
14038         ggc_mark_string_if_gcable.
14039         * ggc-page.c (ggc_lookup_page_table): New function.
14040         (ggc_allocated_p): Likewise.
14041         (mark_obj): Fix formatting.
14042         (ggc_mark_string_if_gcable): New function.
14043         * ggc-simple.c (ggc_allocated_strings): New variable.
14044         (ggc_strings_used): Likewise.
14045         (ggc_compare_addresses): New function.
14046         (ggc_pop_context): Pop the `any' memory too.
14047         (ggc_mark_string_if_gcable): New function.
14048         (ggc_collect): Initialize and tear down ggc_allocated_strings.
14049
14050 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
14051
14052         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
14053         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
14054         * rs6000.c (expand_block_move): Match movstrsi_?reg register
14055         changes.
14056
14057 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
14058
14059         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
14060         (sched_reg_live_length, sched_reg_basic_block): Delete.
14061         (current_block_num, bb_live_regs, old_live_regs): Delete.
14062         (dead_notes, struct sometimes): Delete.
14063         (sched_note_set, birthing_insn_p): Delete.
14064         (adjust_priority): Gut useless reg lifetime code.
14065         (create_reg_dead_note, attach_deaths): Delete.
14066         (attach_deaths_insn, new_sometimes_live): Delete.
14067         (finish_sometimes_live): Delete.
14068         (find_pre_sched_live, find_post_sched_live): Delete.
14069         (update_reg_usage): Delete.
14070         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
14071         (schedule_insns): Delete reg lifetime code.
14072         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
14073         (unlink_other_notes): Adjust REG_NOTE commentary.
14074         (reemit_notes): Use REG_SAVE_NOTE.
14075         (schedule_block): Likewise.
14076         (schedule_region): Allocate bitmap of blocks in region.  Use
14077         count_or_remove_death_notes.  Use update_life_info.
14078
14079         * rtl.h (REG_SAVE_NOTE): New.
14080         * rtl.c (reg_note_name): Update.
14081
14082 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
14083
14084         * combine.c (refresh_blocks, need_refresh): New.
14085         (combine_instructions): Allocate refresh_blocks.  Invoke
14086         update_life_info if needed.
14087         (distribute_notes): Mark refresh_blocks instead of installing
14088         USE insns.
14089         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
14090         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
14091
14092         * Makefile.in (recog.o): Depend on basic-block.h.
14093
14094 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
14095
14096         * genrecog.c (add_to_sequence): Thinko last change: delete
14097         shadowing allow_const_int variable.
14098
14099 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14100
14101         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
14102         __GNUC__ and __GNUC_MINOR__.
14103
14104         * gansidecl.h: Likewise.
14105
14106         * rtl.c: Likewise.
14107
14108         * rtl.h: Likewise.
14109
14110         * toplev.h: Likewise.
14111
14112         * tree.c: Likewise.
14113
14114         * tree.h: Likewise.
14115
14116         * varray.c: Likewise.
14117
14118         * varray.h: Likewise.
14119
14120 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14121
14122         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
14123         use one before a jump table.
14124
14125         * rtl.def (ADDRESS): Change documentation to match reality.
14126         * md.texi: Don't document it.
14127         * gmicro.md (load address pattern): Use 'p' constraint, delete use
14128         of ADDRESS rtx.
14129
14130         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
14131
14132 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
14133
14134         * genrecog.c (add_to_sequence): Move allow_const_int test outside
14135         known predicate block; default allow_const_int true.
14136         (debug_decision_list): New.
14137
14138 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
14139
14140         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
14141
14142 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
14143
14144         * gcse.c (gcse_main): Avoid global optimizations if we have a
14145         large number of basic blocks and the ratio of edges to blocks
14146         is high.
14147         (delete_null_pointer_checks): Likewise.
14148
14149 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
14150
14151         * c-common.c (check_format_info): Warn if format string isn't a
14152         string literal.
14153
14154 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14155
14156         * configure.in (arm*-*-*): Don't let autoconf remove brackets
14157         * configure: regenerate
14158
14159 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
14160
14161         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
14162         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
14163         (peepholes): Re-enable.
14164
14165 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
14166
14167         * Makefile.in (flow.o): Depend on TREE_H.
14168         * basic-block.h (REG_SET_EQUAL_P): New.
14169         (XOR_REG_SET): New.
14170         (n_edges): Declare.
14171         (free_regset_vector): Remove declaration.
14172         (flow_delete_insn_chain): Declare.
14173         (enum update_life_extent): New.
14174         (update_life_info, count_or_remove_death_notes): Declare.
14175         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
14176         Verify register live at bb->global_live_at_start before adding USE.
14177         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
14178         (CLEAN_ALLOCA): New.
14179         (n_edges): New.
14180         (PROP_*): New flags.
14181         (find_basic_blocks_1): Use alloc_EXPR_LIST.
14182         (clear_edges): Zero n_edges.
14183         (make_edge): Increment n_edges.
14184         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
14185         (flow_delete_insn_chain): Export.
14186         (delete_block): Decrement n_edges.
14187         (merge_blocks_nomove): Likewise.
14188         (life_analysis): Give life_analysis_1 PROP flags.
14189         (verify_wide_reg_1, verify_wide_reg): New.
14190         (verify_local_live_at_start): New.
14191         (update_life_info): Rewrite to call into propogate_block.
14192         (mark_reg): New.
14193         (mark_regs_live_at_end): After reload, if epilogue as rtl,
14194         always mark stack pointer.  Conditionally mark PIC register.
14195         After reload, mark call-saved registers, return regsiters.
14196         (life_analysis_1): Accept PROP flags not remove_dead_code.
14197         Call mark_regs_live_at_end before zeroing regs_ever_live.
14198         Use calculate_global_regs_live.  Copy global_live_at_end before
14199         calling final propagate_block.  Zero reg_next_use on exit.
14200         (calculate_global_regs_live): New.
14201         (allocate_bb_life_data): Don't allocate bb->local_set.
14202         (init_regset_vector, free_regset_vector): Remove.
14203         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
14204         Test flags before every operation.  Warn if prologue/epilogue insn
14205         would have been deleted.
14206         (mark_set_regs, mark_set_1): Accept and use FLAGS.
14207         Use alloc_EXPR_LIST.
14208         (mark_used_regs): Accept and use FLAGS, not FINAL.
14209         Remove special handling for RETURN.
14210         (try_pre_increment): Use alloc_EXPR_LIST.
14211         (dump_flow_info): Dump n_edges.
14212         (unlink_insn_chain, split_hard_reg_notes): Remove.
14213         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
14214         (find_insn_with_note, new_insn_dead_notes): Remove.
14215         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
14216         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
14217         (replace_insns): Remove.
14218         (count_or_remove_death_notes): New.
14219         (verify_flow_info): Abort on error after all checks.
14220         (remove_edge): Decrement n_edges.
14221         (remove_fake_edges): Tweek format.
14222         * haifa-sched.c (schedule_insns): Use split_all_insns.
14223         * output.h (update_life_info): Remove declaration.
14224         * recog.c (split_all_insns): From the corpse of split_block_insns,
14225         do the whole function block by block.  Use update_life_info.
14226         (recog_last_allowed_insn): New.
14227         (recog_next_insn): Mind it.
14228         (peephole2_optimize): Set it.  Walk backwards through blocks.
14229         Use update_life_info.
14230         * rtl.h (update_flow_info, replace_insns): Remove declarations.
14231         (split_all_insns): Declare.
14232         * toplev.c (rest_of_compilation): Thread prologue before flow2.
14233         Use split_all_insns.
14234
14235         * i386.md (or -1 peep2s): Disable.
14236
14237 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
14238
14239         * config/mips/mips.md (movstrsi+[123]) : Combine these into
14240         a single pattern.  Scrap the 'd' versions as unnecessary.
14241
14242         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
14243         tablejump_mips162,tablejump_internal4): The operands to a
14244         label_ref must be VOIDmode.
14245
14246 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14247
14248         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
14249
14250 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14251
14252         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
14253
14254 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
14255
14256         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
14257         cache every function if ggc_p.
14258
14259 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14260
14261         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
14262         instead of copy_rtx.  Accept sequences that contain asm statements.
14263         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
14264         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
14265         orig_asm_operands_vector, copy_asm_operands_vector,
14266         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
14267         variables.
14268         * rtl.h (copy_insn, copy_insn_1): Declare.
14269
14270 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14271
14272         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
14273
14274         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
14275         arguments to `current_file_function_operand'.
14276
14277         * genrecog.c: Include hard-reg-set.h and resource.h in the
14278         generated output file.
14279
14280         * real.c: Include tm_p.h.
14281
14282 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14283
14284         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
14285         output operand.
14286
14287 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
14288
14289         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
14290         before the fctiwz insn.
14291
14292 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14293                           Mark Mitchell  <mark@codesourcery.com>
14294
14295         * tree.c (make_lang_type_fn): New funtion pointer.
14296         (make_lang_type): Call it.
14297         * tree.h (make_lang_type): Declare.
14298         (make_lang_type_fn): Likewise.
14299         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
14300
14301 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
14302
14303         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
14304         make sure that HIGH instructions are copied into BASE_REGS.
14305
14306 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
14307
14308         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
14309
14310 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
14311
14312         * c-decl.c (finish_struct): Use simpler method of
14313         removing elements of a singly-linked list.
14314
14315 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
14316
14317         * alpha.md (peephole2's): Comment out peephole2's that generate
14318         buggy code.
14319
14320 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
14321
14322         * genrecog.c (add_to_sequence): Disable mode check for
14323         wildcard matches.
14324
14325 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14326
14327         * ggc-simple.c (init_ggc): Set empty_string.
14328
14329 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
14330
14331         * configure.in: Detect mmap.  Add --with-gc=foo to select
14332         garbage collector; default to page if mmap available.
14333         * Makefile.in (GGC): Substitute.
14334
14335 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
14336
14337         * c-decl.c (ggc_p): Enable.
14338
14339 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14340
14341         * flow.c (verify_flow_info): Make it extern & unconditionally define.
14342
14343 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
14344
14345         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
14346         string for little-endian-data.
14347
14348 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
14349
14350         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
14351         case somebody tries to compile --enable-checking code with gcc
14352         1.34 or such.
14353
14354 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
14355
14356         * genrecog.c (add_to_sequence): Verify operand to label_ref is
14357         VOIDmode.
14358
14359 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
14360
14361         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
14362         * jump.c (jump_optimize_1): Document why.
14363
14364 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14365
14366         * collect2.c (scan_prog_file, scan_libraries): Prototype function
14367         pointers and casts for `int_handler' and `quit_handler'.
14368
14369         * flow.c (verify_flow_info, split_hard_reg_notes,
14370         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
14371         remove_edge, remove_fake_successors): Add static prototypes.
14372         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
14373         (mark_set_1): Initialize variable `regno'.
14374         (unlink_insn_chain): Likewise for variable `curr'.
14375         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
14376
14377         * loop.c (strength_reduce): Initialize variable
14378         `unrolled_insn_copies'.
14379         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
14380         prototypes.  Change these functions to take const PTR parameters
14381         to avoid prototype conflict when used as the comparson argument
14382         for qsort.
14383         (check_dbra_loop): Initialize variable `comparison_val'.
14384
14385         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
14386         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
14387         (find_valid_class): Initialize variable `best_class'.
14388         (find_reloads): Call memcpy, not bcopy.
14389
14390         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
14391         (hard_reg_use_compare): Don't needlessly cast away const.
14392         (reload_reg_class_lower): Likewise.
14393         (choose_reload_regs): Initialize variable `regno'.
14394
14395 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
14396
14397         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
14398
14399 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
14400
14401         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
14402         ({,d}discard): Add forward declarations.  Declare parameter as
14403         unused.
14404         (main_without_main): Explicitly declare return type to be int.
14405         (memcpy): Properly declare.
14406
14407         * libgcc2.c (toplevel): If inhibit_libc is defined and not
14408         building the trampoline support, declare malloc, free, and
14409         atexit.
14410         (__clear_cache): Mark arguments as potentially unused.
14411
14412         * frame.c (toplevel): If inhibit_libc is defined, declare
14413         malloc and free.
14414
14415 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
14416
14417         * flow.c (make_edge): Accept an optional 2D bitmap in which
14418         to cache edge existence.  Update all callers.
14419         (make_label_edge, make_eh_edge): Pass through the edge cache.
14420         (make_edges): Provide the cache.
14421
14422 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14423
14424         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
14425         a char*.
14426         (local_mbtowc): Change the type of variable `i' from int to size_t.
14427
14428         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
14429         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
14430
14431 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
14432
14433         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
14434         after other includes that define the appropriate types.  Include
14435         tm_p.h for getting user prototypes.
14436         * ggc-callbacks.c (toplevel): Ditto.
14437         * ggc-none.c (toplevel): Ditto.
14438         * gcc-page.c (toplevel): Ditto.
14439         * ggc-simple.c (toplevel): Ditto.
14440
14441 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
14442                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
14443
14444         * config/mips/mips.c (mips_move_2words): Split doubles if
14445         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
14446
14447 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
14448
14449         * genrecog.c (struct decision_test): New.
14450         (struct decision): Remove test-related members, sort the rest by size.
14451         (IS_SPLIT): Simplify.
14452         (new_decision, new_decision_test): New.
14453         (add_to_sequence): Use them.  No special handling for args of
14454         non-MATCH codes.
14455         (maybe_both_true): Renamed from not_both_true; return sense changed.
14456         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
14457         of maybe_both_true and adjusted for decision_test.
14458         (position_merit): Remove.
14459         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
14460         (merge_accept_insn): New, broken out of merge_trees.
14461         (merge_trees): Use them.  No special case for c_test; no node
14462         splitting; use test type instead of position_merit.
14463         (factor_tests): New.
14464         (simplify_tests): New.
14465         (break_out_subroutines): Don't write code now.
14466         (find_afterward): New.
14467         (write_afterward, write_switch, write_cond): New.
14468         (write_action, is_unconditional): New.
14469         (write_node): New.  Use them.
14470         (write_tree_1): Rewrite.  Use the new functions above.
14471         (write_tree): Remove afterward processing.
14472         (write_subroutine): Simplify function variant emission.
14473         (write_subroutines): New.
14474         (same_codes, clear_codes): Remove.
14475         (same_modes, clear_modes): Remove.
14476         (write_header): New, broken out of main.
14477         (make_insn_sequence): Use new_decision and new_decision_test.
14478         (process_tree): New, broken out of main.
14479         (main): Adjust for merge_trees interface change.
14480         Don't #define operands in the output file.
14481         (record_insn_name): New, broken out of make_insn_sequence.
14482         (debug_decision_2, debug_decision_1, debug_decision_0): New.
14483         (debug_decision): New.
14484
14485 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
14486
14487         * resource.c (find_free_register): Mark class_str argument const.
14488         * resource.h: Update prototype to match.
14489
14490         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
14491         * i386.md: Give all anonymous insns names.
14492
14493 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
14494
14495         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
14496         blocks.
14497
14498 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
14499
14500         * toplev.c (dbr_sched_time): Unconditional.
14501         (peephole2_time): New.
14502         (compile_file): Add pass numbers to all of the dump file suffixes.
14503         Dump peephole2_time.  Don't dump times for non-applicable passes.
14504         (rest_of_compilation): Add pass numbers to dump file suffixes.
14505         Conditionalize calls to the scheduler.
14506         * invoke.texi: Update.
14507
14508 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
14509
14510         * flow.c (make_edges): Fix insn iteration.
14511         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
14512         (find_basic_blocks_1): Fix spelling mistake.
14513
14514 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
14515
14516         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
14517         always have side-effects.  Use memset not bzero.
14518         (make_node): Likewise.
14519
14520 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
14521
14522         * stmt.c (expand_anon_union_decl): When any of the elements of the
14523         union is addressable, so is the entire union.
14524
14525 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
14526
14527         * sbitmap.c (sbitmap_ones): Don't set too many bits.
14528
14529         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
14530         * bitmap.c (bitmap_operation): Return true iff TO changed.
14531         (bitmap_equal_p): New.
14532         (bitmap_bit_p): Tidy arithmetic.
14533         (debug_bitmap_file): Likewise.
14534
14535 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
14536
14537         * toplev.c (rest_of_compilation): Turn on cse_not_expected
14538         before cse2 instead of after.
14539
14540 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
14541
14542         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
14543         register offsets.
14544
14545 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14546
14547         * cppinit.c (is_idchar initializer): Loosen tests to accept
14548         gcc 2.>6 and >2.
14549
14550 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
14551
14552         * mips.md: Define conditional move patterns for floating point
14553         operands and DI mode conditions.
14554
14555 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
14556
14557         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
14558         always have side-effects.
14559
14560 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
14561
14562         * mn10200.c (asm_file_start): Fix typo.
14563
14564         * cppinit.c (is_idchar initializer): Tighten tests for when
14565         to put the table into initialized memory.
14566
14567         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
14568         not an array of rtunion.
14569         * gcc-page.c (ggc_alloc_rtvec): Similarly.
14570         * gcc-simple (ggc_free_rtvec): Similarly.
14571
14572         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
14573         of rtunions.
14574
14575         * mbchar.h: Add missing #endif.
14576
14577         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
14578         (FPBIT, DPBIT): Define.
14579
14580 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14581
14582         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
14583
14584         * profile.c (instrument_arcs, output_gcov_string,
14585         tablejump_entry_p): Add static prototypes.
14586         (output_gcov_string): Constify a char*.
14587
14588         * regmove.c (replacement_quality, fixup_match_2): Add static
14589         prototypes.
14590
14591         * resource.h (reg_dead_p): Add extern prototype.
14592
14593         * rtl.c (trim_filename): Add static prototype.
14594
14595         * scan-decls.c (skip_to_closing_brace): Likewise.
14596
14597         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
14598         (expand_end_case): Initialize variable `range'.
14599         (emit_case_nodes): Remove unused prototype `rtx_fn'.
14600
14601         * varasm.c (asm_emit_uninitialised): Add static prototype.
14602         (asm_emit_uninitialised, assemble_variable): Mark parameter with
14603         ATTRIBUTE_UNUSED.
14604
14605 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14606
14607         * cpplib.c (if_directive_nameo): Add static prototype.
14608
14609         * cse.c (cse_insn): Remove unused variable `p'.
14610
14611         * except.c (create_rethrow_ref, push_entry,
14612         receive_exception_label, new_eh_region_entry, find_func_region,
14613         clear_function_eh_region, process_nestinfo): Add static prototypes.
14614         (get_reg_for_handler): Hide definition.
14615         (process_nestinfo): Initialize variable `extra_handlers'.
14616
14617         * expr.h (expand_builtin_longjmp): Add extern prototype.
14618
14619         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
14620
14621         * function.c (prepare_function_start): Likewise.
14622         (pop_function_context_from): Mark parameter `context' with
14623         ATTRIBUTE_UNUSED.
14624         (push_temp_slots_for_block, flush_addressof): Hide definition.
14625
14626         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
14627         solve_program_flow_graph, calculate_branch_probs,
14628         function_summary, main, fancy_abort): Add prototypes.
14629
14630         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
14631         (add_hash): Constify a char*.
14632
14633         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
14634         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
14635         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
14636
14637         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
14638
14639         * lists.c (free_list, zap_lists): Likewise.
14640
14641 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14642
14643         * alias.c (nonlocal_reference_p): Add static prototype.
14644
14645         * bitmap.c (bitmap_element_allocate): Prototype args in function
14646         pointer cast.
14647
14648         * builtins.c (stabilize_va_list): Add static prototype.
14649         (expand_builtin_va_arg): Constify a char*.
14650
14651         * c-lex.c (getch, put_back, extend_token_buffer_to,
14652         read_line_number, token_getch, token_put_back): Add static
14653         prototypes.
14654
14655         * c-parse.gperf (hash, is_reserved_word): Likewise.
14656
14657         * cccp.c (is_dir_separator): Likewise.
14658
14659 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14660
14661         * graph.h: New file to prototype functions exported by graph.c.
14662
14663         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
14664
14665         * graph.c: Include graph.h.
14666
14667         * toplev.c: Likewise.  Remove redundant prototypes.
14668
14669 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
14670
14671         * invoke.texi: Removed duplicated description for -Q.
14672
14673 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
14674
14675         * extend.texi: Grammar fix in __extension__ text.
14676
14677 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
14678
14679         * md.texi (define_peephole2): New section.
14680
14681 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
14682
14683         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
14684         (mov $-1 to or peepholer): Enable for pentium when optimizing for
14685         speed.
14686
14687 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
14688
14689         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
14690
14691 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
14692
14693         * i386.md (ffs expander): Emit Pentium friendly code for
14694         TARGET_PENTIUM.
14695
14696 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
14697
14698         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
14699         for non-trees.
14700         (build1): Likewise.
14701
14702 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14703
14704         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
14705
14706 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
14707
14708         * config/m68k/m68k.c (use_return_insn): Return false if the pic
14709         register is in use.
14710
14711 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14712
14713         * md.texi (No Constraints): Delete section.
14714         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
14715         * final.c (final_scan_insn): We always have register constraints.
14716         * genattrtab.c: Don't include "insn-config.h".
14717         (write_attr_case): We always have register constraints.
14718         * genconfig.c (register_constraint_flag): Delete.
14719         (walk_insn_part): Don't check whether we have register constraints.
14720         (main): Don't write out "#define REGISTER_CONSTRAINTS".
14721         * genoutput.c (have_constraints): Delete.
14722         (main): Don't set it.
14723         (output_operand_data): We always have constraints.
14724         (scan_operands): Likewise.
14725         (compare_operands): Likewise.
14726         * local-alloc.c (block_alloc): We always have constraints.
14727         (requires_inout): Always compile this function.
14728         * recog.c (extract_insn): We always have constraints.
14729         (constrain_operands, reg_fits_class_p): Always compile these
14730         functions.
14731         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
14732         fields.
14733         (struct insn_operand_data): Likewise.
14734         * regclass.c (regclass): We always have constraints.
14735         (record_reg_classes, copy_cost, record_address_regs,
14736         auto_inc_dec_reg_p): Always compile these functions.
14737         * regmove.c (regmove_optimize): We always have constraints.
14738         * reload.c (find_reloads): Likewise.
14739         * reload1.c (reload): Likewise.
14740         (reload_cse_simplify_operands): Likewise.
14741         * i860.c (output_delay_insn): Likewise.
14742
14743 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
14744
14745         * iris6.h (BUILD_VA_LIST_TYPE): Define.
14746
14747 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14748
14749         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
14750         for the va_list record.
14751
14752 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
14753
14754         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
14755         prologues.
14756
14757 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
14758
14759         * alias.c: Include insn-flags.h.
14760         * Makefile.in (alias.o): Update.
14761
14762 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
14763
14764         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
14765         to LTU and GEU.  Handle more cases using sbb.
14766
14767 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
14768
14769         * i386.md (truncatexfdf splitters): Do not use subreg.
14770         (fop XFmode patterns): Fix mode in operand testing.
14771
14772 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
14773
14774         * jump.c (jump_optimize_1): Amend last change to test only the
14775         form of the operand, not the insn.
14776
14777         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
14778         not register_operand to determine when B may need preloading.
14779
14780 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
14781
14782         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
14783         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
14784         (call-value patterns): Move to end of file.
14785         (*): Remove mode from label_ref in (pc) context.
14786         (movstrqi): Use memory not general_operand for BLKmode operands.
14787         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
14788         to register_operand operands.
14789         (peep2 patterns): Convert from commented-out peephole patterns.
14790
14791 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14792
14793         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
14794         to BUILT_IN_INIT_DWARF_REG_SIZES.
14795         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
14796         Renamed from BUILT_IN_DWARF_REG_SIZE; call
14797         expand_builtin_init_dwarf_reg_sizes.
14798         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
14799         with __builtin_init_dwarf_reg_size_table.
14800         * dwarf2out.c (struct reg_size_range): Delete.
14801         (expand_builtin_init_dwarf_reg_sizes): New function.
14802         (expand_builtin_dwarf_reg_size): Delete.
14803         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
14804         (expand_builtin_dwarf_reg_size): Don't declare.
14805         * libgcc2.c (dwarf_reg_size_table_initialized): New.
14806         (dwarf_reg_size_table): New.
14807         (init_reg_size_table): New function.
14808         (copy_reg): Use dwarf_reg_size_table.
14809         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
14810         before use.
14811
14812 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
14813
14814         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
14815         Correctly build argument list to constructor and destructor functions.
14816
14817 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
14818
14819         * c-tree.h (warn_float_equal): Declare.
14820         * c-decl.c (warn_float_equal): Define.
14821         (c_decode_option): Recognize -W[no-]float-equal.
14822         * c-typeck.c (build_binary_op): Conditionally warn
14823         about equality tests of floating point types.
14824         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
14825         * invoke.texi: Add docs for -Wfloat-equal warning.
14826
14827 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
14828
14829         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
14830         generating RTL directly.
14831         * mips.h (INIT_TARGET_OPTABS): Likewise.
14832         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
14833
14834         * expr.h (init_mov_optab): Delete declaration
14835
14836         * h8300.c (WORD_REG_USED): Update to avoid useless register
14837         saves in interrupt functions and functions which never return.
14838
14839         * cse.c (struct set): Delete inner_dest_loc field.
14840         (cse_insn): Remove assignments to inner_dest_loc field.
14841
14842 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
14843
14844         * ggc-page.c: Don't include <unistd.h> etc taken care of
14845         by "system.h".  Include <sys/mman.h> afterward.
14846
14847 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
14848
14849         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
14850         ggc_alloc_string.
14851
14852 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
14853
14854         * xcoffout.c (xcoffout_declare_function): Add documentation.
14855         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
14856         TARGET_64BIT.  Compare constant to -1, not bit pattern.
14857         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
14858         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
14859         gen_movsi typos.
14860
14861 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
14862
14863         * dwarf2out.c (add_abstract_origin_attribute): Abort if
14864         origin_die is NULL.
14865         (gen_inlined_enumeration_type_die): Do not abort if the type has
14866         not been writeen out.
14867         (gen_inlined_structure_type_die): Do not abort if the type has
14868         not been writeen out.
14869         (gen_inlined_union_type_die): Do not abort if the type has
14870         not been writeen out.
14871         (gen_tagged_type_instantiation_die): Do not abort if the type
14872         has not been written out.
14873
14874 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14875
14876         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
14877         call it.
14878         * reg-stack.c (straighten_stack): Copy hard reg set with
14879         COPY_HARD_REG_SET.
14880
14881 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
14882
14883         * builtins.c (stabilize_va_list): Stabilize array type va_list
14884         to a pointer type, not the base record type.
14885         (expand_builtin_va_copy): Dereference the pointers explicitly;
14886         use the correct size for the copy.
14887
14888         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
14889         (rs6000_va_arg): Likewise.
14890
14891 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
14892
14893         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
14894
14895 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
14896
14897         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
14898         field.
14899         (DECL_BUILT_IN_CLASS): Adjust accordingly.
14900
14901 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
14902
14903         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
14904         (init_ggc): Use it instead of a constant.
14905         (ggc_collect): Bound allocated_last_gc by it.
14906
14907 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
14908
14909         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
14910         with va_list.
14911
14912 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
14913
14914         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
14915         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
14916         * configure:  Regen.
14917         * config/mips/openbsd.h:  New, OpenBSD little endian target.
14918         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
14919         * config/mips/xm-openbsd.h:  New, OpenBSD host.
14920
14921 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
14922
14923         * config/m68k/m68k.c (output_function_prologue,
14924         output_function_epilogue): Use
14925         current_function_uses_pic_offset_table instead of regs_ever_live
14926         to decide whether to save/restore pic register.
14927         (legitimize_pic_address): Don't modify regs_ever_live any more.
14928
14929 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
14930
14931         * function.h (struct function): Add x_dont_save_pending_sizes_p.
14932         * stor-layout.c (variable_size): Don't add sizes to the pending
14933         sizes list if x_dont_save_pending_sizes_p is set.
14934
14935 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
14936
14937         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
14938         for symbolic_operand().
14939         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
14940
14941 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14942
14943         * combine.c (gen_rtx_combine): Add missing call to va_end().
14944
14945         * final.c (asm_fprintf): Likewise.
14946
14947         * genattrtab.c (attr_rtx): Likewise.
14948
14949 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
14950
14951         * cse.c: Update comments.
14952         (cse_insn): When converting a conditional/computed jump into
14953         an unconditional jump, always make sure a BARRIER immediately
14954         follows the converted jump.  Do not delete unreachable code.
14955         (cse_basic_block): Do not delete unreachable code.
14956         * toplev.c (rest_of_compilation): Move call to
14957         delete_trivially_dead_insns after the conditional call to
14958         jump_optimize.
14959
14960 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14961
14962         * collect2.c (make_temp_file): Don't prototype.
14963
14964         * gcc.c (make_temp_file): Likewise.
14965
14966         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
14967
14968 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
14969
14970         * varasm.c (asm_emit_uninitialised): New function: Generate
14971         the assembler statements necessary to declare an uninitialised
14972         variable.
14973         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
14974         variable.
14975         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
14976         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
14977         section.
14978         (assemble_variable): Use asm_emit_uninitialised to emit an
14979         uninitialised variable.
14980
14981 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
14982
14983         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
14984         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
14985         <geoffk@cygnus.com>.
14986
14987 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14988
14989         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
14990         * c-common.h (builtin_function): Don't declare.
14991
14992         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
14993         DECL_BUILT_IN.
14994         (pushdecl): Likewise.
14995         (finish_decl): Likewise.
14996         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
14997         int.  All callers changed.
14998         Set the builtin's DECL_BUILT_IN_CLASS.
14999         * tree.h (enum built_in_class): New.
15000         (enum built_in_function): Delete NOT_BUILT_IN.
15001         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
15002         in a union.
15003         (DECL_SET_FUNCTION_CODE): Likewise.
15004         (DECL_BUILT_IN_CLASS): New macro.
15005         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
15006         (struct tree_decl): Split builtin function code field into a
15007         struct.
15008         (builtin_function): Declare.
15009
15010 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
15011
15012         * optabs.c (init_traps): Fix typo in last change.
15013
15014 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
15015
15016         * toplev.c (rest_of_decl_compilation): Update comment.
15017
15018 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15019
15020         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
15021         in .sbss if appropriate.
15022         (EXTRA_SECTION_FUNCTIONS): Add sbss.
15023         (SBSS_SECTION_ASM_OP): New macro.
15024         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
15025         (EXTRA_SECTIONS): Add in_sbss.
15026         * config/mips/mips.h: Prototype sbss_section.
15027
15028 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
15029
15030         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
15031         to disappear.
15032
15033 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
15034
15035         * optabs.c (init_traps): Register trap_rtx as a GC root.
15036
15037 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15038
15039         * config/mips/mips.c (function_arg_pass_by_reference): Define
15040         unconditionally, since it's called unconditionally.
15041
15042 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
15043
15044         * toplev.c (documented_lang_options): Add -fshort-wchar.
15045         * c-decl.c (c_decode_option): Likewise.
15046         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
15047         for wchar_t.
15048         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
15049         * gcc.c (default_compilers): If -fshort-wchar,
15050         override __WCHAR_TYPE__.
15051         * tm.texi (C Dialect Options): Add -fshort-wchar.
15052
15053         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
15054         symbol for a variable.
15055
15056         * cpplib.h (CPP_PREPROCESSED): New macro.
15057         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
15058         we're seeing this input for a second time.
15059
15060 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
15061
15062         * emit-rtl.c (init_emit_once): Initialize modes first.
15063
15064 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
15065
15066         * config/i386/i386.c (pic_label_name): Change to char pointer.
15067         (global_offset_table): New variable.
15068         (load_pic_register): Fill global_offset_table if it hasn't
15069         already been done.  Allocate pic_label_name dynamically.
15070         * ggc.h (empty_string): New variable.
15071         * ggc-simple.c (empty_string): Likewise.
15072         (init_ggc): Allocate empty_string and add as root.
15073         * stmt.c (digit_strings): New variable.
15074         (init_stmt): Add last_block_end_note as root.  Allocate and
15075         initialize digit_strings.
15076         (expand_asm_operands): Use empty_string instead of string
15077         constant.  Use digit_strings instead of string constants.
15078         * profile.c (init_arc_profiler): Allocate string with
15079         ggc_alloc_string instead of xmalloc.
15080         (output_func_start_profiler): Likewise.
15081         * c-typeck.c (digest_init): Check if init is error_mark_node.
15082
15083 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
15084                           Richard Henderson  <rth@cygnus.com>
15085
15086         * ggc-page.c: New file.
15087         * Makefile.in (ggc-page.o): New.
15088
15089 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
15090
15091         * invoke.texi: Document -fdelete-null-pointer-checks
15092         * toplev.c (flag_delete_null_pointer_checks): New.
15093         (f_options): Add entry for -fdelete-null-pointer-checks.
15094         (rest_of_compilation): Conditionalize null pointer check
15095         elimination on flag_delete_null_pointer_checks.
15096         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
15097
15098 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
15099
15100         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
15101         copyright notice and special exception to GPL.
15102
15103 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15104
15105         * abi64.h (mips_function_value): Add prototype arguments.
15106
15107         * mips-protos.h: New file with mips prototypes.
15108
15109         * mips.c: Include "tm_p.h".
15110         (mktemp, lookup_name): Add prototype arguments.
15111         (extern_list, string_constant, mips_fill_delay_slot,
15112         mips_output_external, mips_output_external_libcall,
15113         mips_output_filename, mips_declare_object, function_prologue,
15114         mips_expand_prologue, function_epilogue, mips16_constant,
15115         build_mips16_function_stub, mips_output_conditional_branch):
15116         Constify a char*.
15117         (mips_va_start): Remove unused variable `u'.
15118         (mips_va_arg): Cast value to unsigned when comparing against one.
15119         (trace): Delete.
15120         (save_restore_insns, mips_expand_prologue): Add missing arg in
15121         call to `large_int'.
15122
15123         * mips.h: Move prototypes to mips-protos.h.
15124         (data_section, memory_address_p, rdata_section,
15125         readonly_data_section, simple_epilogue_p, text_section): Delete
15126         prototypes delcared elsewhere.
15127         (mips_epilogue_delay_slots, print_options): Delete unused decls.
15128         (trace): Delete.
15129         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
15130
15131         * mips.md: Delete extra args in call to `mips_move_2words'.
15132
15133         * xm-iris6.h (alloca): Add prototype argument.
15134
15135         * genpeep.c: Include "tm_p.h" in generated output file.
15136
15137 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15138
15139         * basic-block.h (find_edge_index): Change parameters.
15140         * flow.c (verify_edge_list): Pass basic_block parameters to
15141         find_edge_index instead of integers.
15142
15143 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
15144
15145         * combine.c (simplify_comparison): Use an unsigned shift to adjust
15146         the constant.
15147
15148 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
15149
15150         * gcc.1: Fix a formatting error.
15151
15152 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15153
15154         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
15155         i786, mn10200, mn10300, pdp11, v850.
15156
15157 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
15158
15159         * libgcc2.c (num_digits): Add prototype with
15160         __attribute__((const)).
15161         (__terminate): Add prototype.
15162
15163 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
15164
15165         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
15166
15167         * alpha/alpha.c (print_operand): Fix type of `code'.
15168         (alpha_output_filename): Constify.
15169         * alpha/alpha.h: Move all function declarations ...
15170         * alpha/alpha-protos.h: ... here.  New file.
15171         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
15172         (SECTION_FUNCTION_TEMPLATE): Likewise.
15173
15174 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15175
15176         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
15177         * expr.c (expand_expr): Likewise.
15178         (do_jump): Likewise.
15179         (do_store_flag): Pass ccp_store_flag to can_compare_p.
15180         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
15181         accessor macros.
15182         (enum can_compare_purpose): New.
15183         (can_compare_p): Adjust prototype.
15184         (prepare_cmp_insn, prepare_operand): Declare.
15185         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
15186         * optabs.c (cmp_available_p): Deleted.
15187         (expand_abs): Pass ccp_jump to can_compare_p.
15188         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
15189         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
15190         Call can_compare_p rather than cmp_available_p.
15191         (prepare_operand): No longer static.
15192         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
15193         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
15194         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
15195         sequence to use emit_cmp_and_jump_insns.
15196         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
15197
15198 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
15199
15200         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
15201         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
15202         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
15203         (plus (reg) (const_int 0))
15204         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
15205
15206 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
15207
15208         * rs6000.c (expand_block_move): DImode loads and stores require
15209         word-aligned displacements.  Increment address registers with
15210         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
15211
15212 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
15213
15214         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
15215         is no name for the base type, rather than segfault.  If we are
15216         writing out a complex integer type, use DW_ATE_lo_user.
15217
15218         * expr.c (emit_move_insn_1): If we are copying a complex that fits
15219         in one word or less (complex char, complex short, or on 64 bit
15220         systems complex float) to/from a hard register, copy it through
15221         memory instead of dying in gen_{real,imag}part.  If we have a
15222         short complex type, prevent inlining since it allocates stack
15223         memory.
15224
15225         * tree.c (build_complex_type): If we are writing dwarf2 output,
15226         generate a name for complex integer types.
15227
15228 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15229
15230         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
15231         * flow.c (remove_edge): Remove extra whitespace.
15232         (remove_fake_edges): Fix comment.
15233         (add_noreturn_fake_exit_edges): Use the correct name.
15234
15235 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
15236
15237         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
15238         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
15239         (clean): Depend on INTL_CLEAN.
15240         (maintainer-clean): Adjust.
15241
15242 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15243
15244         * configure.in (AC_PREREQ): Bump to 2.13.
15245         (AC_C_STRINGIZE): Call this instead of using a custom macro.
15246
15247         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
15248
15249         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
15250
15251         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
15252
15253         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
15254         (HAVE_STRINGIZE): Define.
15255
15256 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
15257
15258         * c-parse.in: save and restore warn_pointer_arith on __extension__
15259         along with pedantic.
15260         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
15261         Set the type of extension to itype rather than $<itype>1 kludge.
15262         * extend.texi (Alternate Keywords): Adjust documentation.
15263         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
15264
15265 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
15266
15267         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
15268         most assembler templates.
15269
15270         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
15271         FP loads and stores.
15272         (following_call): Always return zero for the PA8000.
15273         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
15274         FP loads and stores.
15275         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
15276
15277         * pa.h (BRANCH_COST): Define.
15278
15279         * pa.md (return, return_internal): Use bve for PA2.0.
15280
15281         * pa.md (fused multiply): Add variants which reduce height for the
15282         fused multiply, but which still generate 2 insns.
15283         (fnegabs): Similarly.
15284
15285         * pa.md (subsi3): Turn into an expander.  Create two anonymous
15286         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
15287         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
15288
15289         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
15290         for TARGET_PA_20.
15291         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
15292         code generation.
15293         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
15294         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
15295
15296         * regclass.c (init_regs): Add "top_of_stack" as a garbage
15297         collection root.
15298
15299         * flow.c (record_active_eh_regions): Terminate loop after finding
15300         the last insn in the last basic block.
15301
15302 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15303
15304         * config/c4x/c4x.md: Delete parallel instruction peepholes.
15305
15306 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15307
15308         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
15309
15310 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15311
15312         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
15313         splitting to not use output template.
15314
15315 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15316
15317         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
15318         * config/c4x/c4x.c (c4x_va_start): New function.
15319
15320 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
15321
15322         * genrecog.c (not_both_true): Handle correctly cases when called for
15323         tests with different positions in the insn.
15324
15325 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15326
15327         * machmode.h (HOST_PTR_PRINTF): Move from here ...
15328
15329         * system.h (HOST_PTR_PRINTF): ... to here.
15330
15331         * mips-tfile.c: Don't include machmode.h.
15332
15333         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
15334         (mips-tfile.o): Don't depend on machmode.h.
15335
15336 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15337
15338         * haifa-sched.c (sched_analyze): Rename local variable `region' to
15339         avoid conflicts with typedef struct `region' at the top level scope.
15340
15341 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
15342
15343         * basic-block.h (basic_block): Add eh_beg, eh_end.
15344         * flow.c (entry_exit_blocks): Update.
15345         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
15346         Call new functions.
15347         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
15348         lists.c functions to allocate insn lists.
15349         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
15350         edge creation ...
15351         (make_eh_edge): ... here.  New.
15352         (move_stray_eh_region_notes): New.
15353         (record_active_eh_regions): New.
15354         (delete_unreachable_blocks): Split out block merging ...
15355         (try_merge_blocks): ... here.  New.
15356         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
15357         Dump debugging data.
15358         (merge_blocks_move_successor_nojumps): Likewise.
15359         (merge_blocks): Use eh_beg+eh_end to validate block movement.
15360
15361 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
15362
15363         * extend.texi (Bound member functions): Document unbound pmf
15364         conversion.
15365
15366 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15367
15368         * flow.c (split_edge): Handle insertion on a fallthrough edge which
15369         has the EXIT_BLOCK as a dest.
15370
15371 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15372
15373         * flow.c (remove_edge): New function to remove an edge from the
15374         flow graph.
15375         (remove_fake_successors): New function to remove fake successor edges.
15376         (remove_fake_edges): New function to remove all fake edges from the
15377         flow graph.
15378         (add_fake_exit_edges): New function to add fake edges from all blocks
15379         with no successors to the exit block.
15380         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
15381         prototypes for new functions.
15382
15383 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
15384
15385         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
15386         Use Pmode to determine whether to output .dword or .word.
15387
15388 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
15389
15390         * tree.c (built_in_filename): New variable.
15391         (BUILT_IN_FILENAME): New macro.
15392         (init_tree_codes): Allocate built_in_filename.
15393         (make_node): Use built_in_filename instead of string constant.
15394
15395 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
15396
15397         * configure.in: Add fr30 target.
15398         * configure: Regenerate.
15399         * config/fr30: New directory.
15400         * config/fr30/crti.asm: New file.
15401         * config/fr30/fr30.c: New file.
15402         * config/fr30/crtn.asm: New file.
15403         * config/fr30/fr30.h: New file.
15404         * config/fr30/fr30.md: New file.
15405         * config/fr30/lib1funcs.asm: New file.
15406         * config/fr30/t-fr30: New file.
15407         * config/fr30/xm-fr30.h: New file.
15408
15409 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
15410
15411         * flow.c (merge_blocks_move_successor_nojumps): Delete the
15412         BARRIER at the end of the successor, not the BARRIER before
15413         the successor.
15414
15415         * pa.c (pa_add_gc_roots): Fix thinko in last change.
15416
15417 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
15418
15419         * stmt.c (any_pending_cleanups): Don't crash when
15420         current_function->stmt is unset.
15421
15422 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15423
15424         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
15425         other initializations that may use it for relative offsets.
15426
15427 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15428
15429         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
15430         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
15431         * config/i386/sol2dbg.h: Removed.
15432         * config/i386/sol2gas.h: New file, to enable gas work-around.
15433         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
15434         Don't use sol2dbg.h.
15435         * configure: Rebuilt.
15436
15437 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
15438
15439         * invoke.texi (-fthis-is-variable): Remove documentation.
15440
15441 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
15442
15443         * basic-block.h (compute_bb_for_insn): Declare.
15444         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
15445         to use; set size of basic_block_for_insn directly.
15446         (find_basic_blocks): Update.
15447
15448 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15449
15450         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
15451
15452 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15453
15454         * crtstuff.c (ON_EXIT): Delete empty macro definition.
15455         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
15456
15457 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
15458
15459         * c-decl.c (c_decode_option): Extend comment.
15460
15461 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
15462
15463         * toplev.c (progname): Make 'const char *'
15464         (flag_print_mem): Move out of main.
15465         (version_flag): Move out of main.
15466         (filename): Move out of main.
15467         (debug_args): Remove g prefix from options.
15468         (documented_lang_options): Remove cpplib specific options.
15469         (display_help): Add g prefix to debug options.
15470         (check_lang_option): Delete this function.
15471         (decode_d_option): New function: Decode -d... option.
15472         (decode_f_option): New function: Decode -f... option.
15473         (decode_W_option): New function: Decode -W... option.
15474         (decode_g_option): New function: Decode -g... option.
15475         (independent_decode_option): New function: Decode a language
15476         independent command line option.
15477         (main): Invoke lang_decode_option and then
15478         independent_decode_option on each command line option in
15479         turn.
15480
15481 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
15482
15483         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
15484          * fold-const.c (fold_range_test): Do not try to fold the range
15485          test if the rhs or lhs has side effects.
15486
15487         * basic-block.h (compute_flow_dominators): Declare.
15488
15489         * gcse.c (alloc_code_hoist_mem): New function.
15490         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
15491         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
15492         (hoist_code, one_code_hoisting_pass): Likewise.
15493         (gcse_main): If optimizing for size, then hoist expressions
15494         computed in multiple dominated basic blocks.
15495
15496         * gcse.c (invalid_nonnull_info): New function.
15497         (delete_null_pointer_checks): Likewise.
15498         * rtl.h (delete_null_pointer_checks): Declare.
15499         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
15500
15501         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
15502         (merge-blocks_move_successor_nojumps): Likewise.
15503         (merge_blocks): Allow merging of some blocks, even if it requires
15504         physical movement of the blocks, but not if it requires new jumps.
15505
15506         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
15507         Callers and prototype changed.
15508         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
15509
15510 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15511
15512         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
15513         -YP when both -p and -pg are present.  From i386/sol2.h.
15514
15515 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15516
15517         * Makefile.in (distclean): Delete tm_p.h.
15518         * configure.in: Create a new file, "tm_p.h", from a list in
15519         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
15520         "i386/i386-protos.h".
15521
15522         * alias.c: Include "tm_p.h".
15523         * c-typeck.c: Likewise.
15524         * calls.c: Likewise.
15525         * cse.c: Likewise.
15526         * emit-rtl.c: Likewise.
15527         * explow.c: Likewise.
15528         * expmed.c: Likewise.
15529         * expr.c: Likewise.
15530         * final.c: Likewise.
15531         * flow.c: Likewise.
15532         * fold-const.c: Likewise.
15533         * function.c: Likewise.
15534         * gcse.c: Likewise.
15535         * global.c: Likewise.
15536         * haifa-sched.c: Likewise.
15537         * integrate.c: Likewise.
15538         * jump.c: Likewise.
15539         * local-alloc.c: Likewise.
15540         * loop.c: Likewise.
15541         * optabs.c: Likewise.
15542         * recog.c: Likewise.
15543         * reg-stack.c: Likewise.
15544         * regclass.c: Likewise.
15545         * regmove.c: Likewise.
15546         * reload.c: Likewise.
15547         * reload1.c: Likewise.
15548         * reorg.c: Likewise.
15549         * resource.c: Likewise.
15550         * stmt.c: Likewise.
15551         * stor-layout.c: Likewise.
15552         * toplev.c: Likewise.
15553         * tree.c: Likewise.
15554         * unroll.c: Likewise.
15555         * genattrtab.c (main): Make generated file include "tm_p.h".
15556         * genemit.c (main): Likewise.
15557         * genoutput.c (main): Likewise.
15558         * genrecog.c (main): Likewise.
15559
15560         * i386.h: Delete all prototypes.
15561         * i386.c: Include "tm_p.h".
15562         (ix86_attr_length_default): Call constant_call_address_operand
15563         with correct number of arguments.
15564         * i386-protos.h: New file.
15565         * i386.md (unnamed patterns): Call constant_call_address_operand
15566         with correct number of arguments.
15567         (exception_receiver): Call load_pic_register with correct number
15568         of arguments.
15569
15570 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
15571
15572         * c-pragma.c (mark_align_stack): Dereference the void* properly.
15573
15574 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
15575
15576         * rtl.h (insns_safe_to_move_p): New function.
15577         * loop.c (find_and_verify_loops): Use it.
15578         * rtlanal.c (insns_safe_to_move_p): Define it.
15579
15580 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
15581
15582         * c-pragma.c: Include ggc.h.
15583         * Makefile.in (c-pragma.o): Update.
15584
15585 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15586
15587         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
15588         (LIB_SPEC): Likewise.
15589         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
15590         Reindent -YP/-p/-pg.
15591         Copied from config/sparc/sol2.h.
15592
15593 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
15594
15595         * c-pragma.c (mark_align_stack): New.
15596         (init_pragma): New.
15597         * c-pragma.h (init_pragma): Declare it.
15598         * c-lex.c (init_parse): Call it.
15599
15600 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
15601
15602         * configure.in: Pick up thread library on Solaris/x86 just
15603         like on Solaris/sparc.
15604         * configure: Rebuilt.
15605
15606 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
15607
15608         * rtl.h (global_rtx_index): New enum.
15609         (global_rtl): Change to array of rtx.
15610         (pc_rtx, cc0_rtx): Redefine accordingly.
15611         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
15612         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
15613         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
15614         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
15615         (const_int_rtx): Change to array of rtx.
15616         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
15617         accordingly.
15618         * emit-rtl.c (global_rtl): Change to array of rtx.
15619         (const_int_rtx): Change to aray of rtx.
15620         (gen_rtx_CONST_INT): Redefine accordingly.
15621         (init_emit_once): Allocate and initialize global_rtl.  Likewise
15622         for const_int_rtx.  Add both as GC roots.
15623         * genattrtab.c (global_rtl): Update declaration.
15624
15625 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
15626
15627         * Makefile (USER_H): Add iso646.h back.
15628
15629 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
15630
15631         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
15632         zapping the LOG_LINKS of sched_before_next_call.
15633
15634         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
15635         * pa.c (insn_refs_are_delayed): Renamed from
15636         insn_sets_and_refs_are_delayed.
15637
15638 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
15639
15640         * functiion.h (struct function): Add x_whole_function_mode_p.
15641         (retrofit_block): Declare.
15642         * function.c (retrofit_block): New function.
15643         (identify_blocks): Add assertions.  Allow an incomplete set of
15644         block notes if we're still generating code for the function.
15645         * integrate.c: Include loop.h.
15646         (expand_inline_function): Call find_loop_tree_blocks to map block
15647         notes to blocks when in whole-function mode.  Use retrofit_block
15648         to insert new BLOCKs for the inlined function, rather than
15649         insert_block.
15650         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
15651         * Makefile.in (integrate.o): Depend on loop.h.
15652
15653 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
15654
15655         * tree.h (warn_about_unused_variables): Declare.
15656         * stmt.c (warn_about_unused_variables): New function, split out
15657         from ...
15658         (expand_end_bindings): Here.
15659
15660 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
15661
15662         * stmt.c (preserve_subexpressions_p): Don't crash when
15663         current_function->stmt is unset.
15664
15665 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
15666
15667         * stmt.c (expand_start_bindings): Allow callers to pass a flag
15668         indicating that no NOTE_INSN_BLOCK_BEG note is required.
15669         (expand_start_target_temps): Use it.
15670         * except.c (expand_eh_region_start_for_decl): Likewise.
15671         * expr.c (expand_expr): Likewise.
15672
15673 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15674
15675         * fold-const.c (operand_equal_p): Pay attention to side effects.
15676
15677 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
15678
15679         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
15680         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
15681
15682         * tlink.c (scan_linker_output): Look for keywords before accepting
15683         a mangled name in quotes.
15684
15685 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
15686
15687         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
15688         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
15689
15690 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
15691
15692         * alpha.md: Revert Thu Nov 26 change that came in through the
15693         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
15694         Avoid earlyclobber when possible.
15695
15696 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15697
15698         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
15699
15700         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
15701         Define HAVE_ON_EXIT.
15702
15703 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15704
15705         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
15706         CTYPE_CONV in all ctype macros.
15707
15708         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
15709         from system.h.
15710
15711         * cexp.y (initialize_random_junk): Likewise.
15712
15713         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
15714
15715         * i370.c (handle_pragma): Likewise.
15716
15717         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
15718
15719         * v850.c (override_options): Likewise.
15720
15721         * doprint.c (_doprnt): Likewise.
15722
15723         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
15724         Likewise.
15725
15726         * fixinc/server.c (load_data): Likewise.
15727
15728         * fold-const.c (real_hex_to_f): Likewise.
15729
15730         * genattr.c (write_upcase, gen_attr): Likewise.
15731
15732         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
15733         write_upcase): Likewise.
15734
15735         * genemit.c (print_code): Likewise.
15736
15737         * genopinit.c (gen_insn): Likewise.
15738
15739         * genpeep.c (print_code): Likewise.
15740
15741         * genrecog.c (print_code): Likewise.
15742
15743         * optabs.c (init_libfuncs): Likewise.
15744
15745 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
15746
15747         * haifa-sched.c (sched_analyze): Keep the list of notes organized
15748         in pairs.
15749         (reemit_notes): Likewise.
15750
15751 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
15752
15753         * ggc.h (ggc_root): Move to ggc-common.c.
15754         (roots): Remove.
15755         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
15756         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
15757         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
15758         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
15759         * ggc-common.c (ggc_root): Move from ggc.h.
15760         (roots): Declare, static.
15761         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
15762         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
15763         null or check/set mark bit.
15764         (ggc_mark_roots): New.
15765         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
15766
15767 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
15768
15769         * m32r.c: Include toplev.h.
15770         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
15771         (gen_compare): Rename swap_p to must_swap to match uses.
15772         Add default abort case.
15773         (m32r_output_function_epilogue): Remove unused variables.
15774         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
15775         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
15776         define to empty parameter list.  Update all uses.
15777         (predicate decls): Use enum machine_mode not int.
15778         * m32r.md (movsi): Call abort, not fatal_insn.
15779         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
15780
15781 1999-09-14  Andrew Haley  <aph@cygnus.com>
15782
15783         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
15784         use $0 instead of 0.
15785
15786 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15787
15788         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
15789         computation out of loop over hard regs.
15790
15791 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
15792
15793         * function.c (identify_blocks): Don't shadow a variable in an
15794         outer scope.
15795         * integrate.c (integrate_decl_tree): Don't use pushlevel,
15796         pushdecl, or poplevel to build up the new BLOCK tree.
15797         (expand_inline_function): Likewise.
15798         (integrate_parm_decls): Likewise.
15799
15800 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
15801
15802         * c-typeck.c (qualify_type): Merge qualifiers from both types.
15803
15804 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
15805
15806         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
15807         * invoke.texi: Document this change.
15808
15809 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
15810
15811         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
15812         Free the struct.
15813         (mark_emit_status): Renamed from mark_emit_state.
15814         * except.c (mark_eh_status): Renamed from mark_eh_state.
15815         Check not null before marking.
15816         (free_eh_status): New.
15817         * expr.c (mark_expr_status, free_expr_status): New.
15818         * function.c (free_machine_status): New.
15819         (free_after_parsing): New.
15820         (free_after_compilation): Move bits to free_after_parsing; call
15821         free_eh_status, free_expr_status; zero the marked members of the
15822         function state.
15823         (prepare_function_start): No can_garbage_collect.
15824         Call init_eh_for_function.
15825         (expand_dummy_function_end): Free up current_function state.
15826         (mark_function_status): Renamed from mark_function_state.
15827         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
15828         * function.h (struct function): No can_garbage_collect.
15829         (free_machine_status, free_after_parsing): Declare.
15830         (free_eh_status, free_expr_status): Declare.
15831         * ggc.h (mark_expr_status): Declare.
15832         * stmt.c (free_stmt_status): Free the struct.
15833         (mark_stmt_status): Renamed from mark_stmt_state.
15834         (init_stmt): Don't call init_eh.
15835         (init_stmt_for_function): Don't call init_eh_for_function.
15836         * toplev.c (compile_file): Call init_eh.
15837         (rest_of_compilation): Free basic block info before ggc_collect.
15838         Call free_after_parsing; conditionally call free_after_compilation.
15839         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
15840         Check not null before marking.
15841         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
15842
15843 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
15844
15845         * c-lex.c (yylex): Initialize warn.
15846
15847 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
15848
15849         * pa.c (emit_move_sequence): Properly set the mode of the scratch
15850         register when performing secondary reloads for the SAR register.
15851
15852 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
15853
15854         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
15855         (NOTE_BLOCK): New macro.
15856         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
15857         * function.h (identify_blocks): Change prototype.
15858         * function.c (identify_blocks): Simplify.
15859         (reorder_blocks): Likewise.
15860         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
15861         NOTE_INSN_BLOCK_{BEG,END}.
15862         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
15863         the list of saved notes if the note isn't a
15864         NOTE_INSN_BLOCK_{BEG,END}.
15865         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
15866         NOTE_BLOCK_NUMBER.
15867         (reemit_notes): Adjust recreation of notes to reflect new saved
15868         note structure.
15869         * print-rtl.c (print_rtx): Print the address of the BLOCK when
15870         printing a block note.
15871         * stmt.c (block_vector): Remove.
15872         (find_loop_tree_blocks): Simplify.
15873         (unroll_block_trees): Likewise.
15874         * tree.h (reorder_block): Change prototype.
15875
15876 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
15877
15878         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
15879         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
15880         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
15881         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
15882         (atexit, exit): Simplify.
15883         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
15884         * config/lots: Remove defns of HAVE_ATEXIT.
15885
15886 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
15887
15888         * calls.c (precompute_arguments): Fix typo in comment.
15889         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
15890         TARGET_EXPR.
15891
15892 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
15893
15894         * dsp16xx.c (override_options): Fix typos in GC root registration.
15895
15896 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
15897
15898         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
15899         from config/svr4.h.
15900         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
15901         (FUNCTION_PROFILER): Redefine appropriately for Linux.
15902         (CC1_SPEC): Likewise.
15903
15904 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15905
15906         * genattr.c (main): Add extern prototype.  Call return, not exit.
15907         * genattrtab.c (main): Likewise.
15908         * gencheck.c (main): Likewise.
15909         * gencodes.c (main): Likewise.
15910         * genconfig.c (main): Likewise.
15911         * genemit.c (main): Likewise.
15912         * genextract.c (main): Likewise.
15913         * genflags.c (main): Likewise.
15914         * gengenrtl.c (main): Likewise.
15915         * genopinit.c (main): Likewise.
15916         * genoutput.c (main): Likewise.
15917         * genpeep.c (main): Likewise.
15918         * genrecog.c (main): Likewise.
15919
15920         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
15921         * genattrtab.c (get_insn_name): Likewise.
15922         * gencodes.c (get_insn_name): Likewise.
15923         * genconfig.c (get_insn_name): Likewise.
15924         * genemit.c (get_insn_name): Likewise.
15925         * genextract.c (get_insn_name): Likewise.
15926         * genflags.c (get_insn_name): Likewise.
15927         * genopinit.c (get_insn_name): Likewise.
15928         * genpeep.c (get_insn_name): Likewise.
15929
15930         * gencheck.c (usage): Add static prototype.
15931         * genextract.c (print_path): Constify a char*.
15932         * genopinit.c (optabs): Likewise.
15933         * genoutput.c (operand_data, data, output_predicate_decls,
15934         compare_operands): Likewise.
15935         * genrecog.c (write_tree): Add default case in switch.
15936
15937 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15938
15939         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
15940
15941         * print-rtl.c (get_insn_name): Remove prototype.
15942
15943         * toplev.h (progname): Declare const.
15944
15945         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
15946         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
15947         dump_sched_info, dump_local_alloc, regset_release_memory,
15948         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
15949         error_with_file_and_line, error_with_decl, error_for_asm, error,
15950         fatal, warning_with_file_and_line, warning_with_decl, warning,
15951         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
15952         Remove redundant prototypes.
15953
15954         (notice, check_lang_option, report_file_and_line, vnotice,
15955         mark_file_stack): Add static prototype.
15956         (set_fatal_function): Add prototype.
15957         (vnotice, report_file_and_line, set_fatal_function,
15958         check_lang_option): Constify a char*.
15959         (main): Prototype.  Call return, not exit.
15960
15961 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15962
15963         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
15964
15965         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
15966
15967         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
15968
15969         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
15970
15971 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15972
15973         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
15974         behave as if it's zero in all cases.
15975         (expand_function_start): Adjust call to assign_parms.
15976         * tree.h (assign_parms): Adjust prototype.
15977         * objc/objc-act.c (hack_method_prototype): Adjust call to
15978         assign_parms.
15979
15980 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
15981
15982         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
15983         arg_pointer_rtx fixed if the argument pointer register is
15984         not fixed.
15985         (NONZERO_BASE_PLUS_P): Likewise.
15986
15987 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
15988
15989         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
15990         match_insn2 to match_insn.
15991         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
15992
15993 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
15994
15995         * Makefile.in (USER_H): Remove va-foo.h.
15996
15997         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
15998         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
15999         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
16000         va-spur.h,va-v850.h}: Remove.
16001
16002 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
16003
16004         * sparc/sparc.md (eligible_for_return_delay): New attribute.
16005         (in_return_delay): Use it instead of match_insn.
16006
16007 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16008
16009         * config/alpha/va_list.h (va-alpha.h): Do not include.
16010         (__gnuc_va_list): Typedef as in varargs.h.
16011
16012 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
16013
16014         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
16015         DECL_LIVE_RANGE_RTL.
16016
16017 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
16018
16019         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
16020         not NOTE_BLOCK_NUMBER.
16021         (expand_eh_region_end): Likewise.
16022         (find_exception_handler_labels): Likewise.
16023         (scan_region): Likewise.
16024         (exception_optimize): Likewise.
16025         (update_rethrow_references): Likewise.
16026         (set_insn_eh_region): Likewise.
16027         * final.c (final_scan_insn): Likewise.
16028         * flow.c (make_edges): Likewise.
16029         * integrate.c (expand_inline_function): Likewise.
16030         * print-rtl.c (print_rtx): Likewise.
16031
16032 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
16033
16034         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
16035         terms of builtin functions and types.
16036
16037         * mips.c (mips_build_va_list): New.
16038         (mips_va_start, mips_va_arg): New.
16039         * mips.h (BUILD_VA_LIST_TYPE): New.
16040         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16041
16042         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
16043         (sh_build_va_list, sh_va_start, sh_va_arg): New.
16044         * sh.h (BUILD_VA_LIST_TYPE): New.
16045         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
16046
16047 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
16048
16049         * recog.h (struct recog_data): Make dup_num, operand_address_p,
16050         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
16051         (struct insn_data): Likewise with n_operands, n_dups,
16052         n_alternatives, output_format.
16053         * regclass.c (scan_one_insn): Cast n_operands to int before
16054         arithmetic inside comparison.
16055
16056 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
16057
16058         * toplev.c (compile_function): Unconditionally emit nop.
16059
16060 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16061
16062         * haifa-sched.c (actual_hazard): Move declaration of variable
16063         `this_cost' into the scope where it is used.
16064
16065 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16066
16067         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
16068         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
16069         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
16070
16071         * genrecog.c (make_insn_sequence): Call memset, not bzero.
16072
16073         * jump.c (find_insert_position): Don't declare or define unless
16074         !HAVE_conditional_arithmetic.
16075         (returnjump_p_1, delete_prior_computation): Add static prototypes.
16076
16077         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
16078
16079         * recog.c (offsettable_address_p): Prototype function pointer.
16080         (preprocess_constraints): Call memset, not bzero.
16081
16082         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
16083         (gcc_obstack_init): Don't declare.
16084         (fix_sizetype): Add static prototype.
16085         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
16086         (tree_cons): Call memset, not bzero.
16087
16088         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
16089         definition in macro ASM_WEAKEN_LABEL.
16090         (mark_const_hash_entry): Add static prototype.
16091
16092 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16093
16094         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
16095
16096         * unroll.c (find_common_reg_term, subtract_reg_term,
16097         loop_find_equiv_value): Add static prototypes.
16098         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
16099         (copy_loop_body): Remove unreachable break statement.
16100
16101         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
16102
16103         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
16104
16105 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16106
16107         Undo some changes from the gcc2 merge:
16108         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
16109         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
16110         pointers.
16111
16112         Undo this change:
16113         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
16114         * emit-rtl.c (gen_lowpart_common): Disable optimization of
16115         initialized float-int union if the value is a NaN.
16116
16117 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16118
16119         * gthr-win32.h: New file.
16120
16121         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
16122         shared as a valid attribute.
16123         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
16124         * extend.texi: Document `shared' variable attribute.
16125
16126 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
16127
16128         * configure.in: Handle --enable-threads on FreeBSD.
16129         * configure: Rebuit.
16130
16131 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
16132
16133         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
16134         thread support.
16135         * configure: Rebuilt.
16136
16137 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
16138                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
16139                           Rosimildo DaSilva <rdasilva@connecttel.com>
16140
16141         * configure.in (m68k-*-rtemscoff*): Added.
16142         * configure.in (mips64orion-*-rtems*): Converted to ELF.
16143         * configure.in (sparc-*-rtemsaout*): Added as alias for old
16144         sparc-rtems configuration.
16145         * configure.in (sparc-*-rtemself*): Added.
16146         * configure.in (sparc-*-rtems*): Now ELF not a.out.
16147         * config/i386/rtems.h: Added comment.
16148         * config/sparc/rtemself.h: New file.
16149
16150         * configure.in (m68k-rtemself): Added.
16151         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
16152         and DWARF_DEBUGGING_INFO.
16153         * config/m68k/crti.s: New file.
16154         * config/m68k/crtn.s: New file.
16155         * config/m68k/t-crtstuff: New file.
16156         * config/m68k/rtemself.h: New file.
16157
16158         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
16159         global ctor/dtor and C++ exception handling.
16160         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
16161         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
16162         ENDFILE_SPEC.
16163         * config/i386/t-rtems-i386: New File.
16164
16165 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
16166
16167         * stmt.c (expand_end_case): Return right away if the case stack is
16168         empty.
16169
16170 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
16171
16172         * Makefile.in (version.c): Remove rule incorrectly brought in from
16173         the gcc2 merge.
16174
16175 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
16176
16177         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
16178         * msdos/top.sed:  Take into account a prepended $(SHELL) to
16179         move-if-change.
16180         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
16181
16182         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
16183
16184 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16185
16186         * regmove.c (fixup_match_1): Don't change an unchanging register.
16187         (stable_but_for_p): Renamed to:
16188         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
16189         Changed all callers.
16190
16191 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
16192
16193         * loop.c (strength_reduce): Don't call reg_used_between_p if the
16194         insn from BL2 is after the insn from BL.
16195
16196 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
16197
16198         * recog.h (INSN_OUTPUT_FORMAT_*): New.
16199         (struct insn_data): Merge `template' and `outfun' into `output'.
16200         Add `output_format'.
16201         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
16202         (struct data): Remove `outfun'; add `output_format'.
16203         (name_for_index): Remove declaration.
16204         (output_insn_data): Handle output formats.
16205         (process_template): Emit the bare array for @.
16206         (gen_expand, gen_split): Set output_format to NONE.
16207         * output.h (get_insn_template): Declare.
16208         * final.c (get_insn_template): New.
16209         (final_scan_insn): Use it.
16210         * toplev.c (compile_file): Likewise.
16211
16212         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16213         * i860/i860.c (output_delayed_branch): Likewise.
16214         (output_delay_insn): Likewise.
16215
16216 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16217
16218         * rtl.c (obstack_alloc_rtx): Removed.
16219
16220 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
16221
16222         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
16223
16224 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
16225
16226         * i386.c (call_insn_operand): Reject const_int.
16227         (expander_call_insn_operand): Use call_insn_operand.
16228
16229 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16230
16231         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
16232
16233 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
16234
16235         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
16236         Use DImode operation.
16237
16238 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
16239
16240         * gcc.c: Include sys/resource.h.
16241         (report_times): New flag.
16242         (execute):  If report_times is set, calculate and report the
16243         CPU time consumed by each subprocess.
16244
16245         (rus, prus): New globals.
16246         (option_map): Add --time.
16247         (display_help): Document -time.
16248         (process_command): Set report_times if -time is given.
16249         Turn off -pipe if -time is given.
16250
16251         * invoke.texi: Document new option -time.
16252
16253         * configure.in: Check for getrusage.  Check if we have to
16254         prototype getrusage.
16255         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
16256         * configure: Regenerate.
16257         * config.in: Regenerate.
16258
16259 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
16260
16261         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
16262         fields.
16263
16264 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
16265
16266         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
16267         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
16268         (nan): Return _thenan_sf or _thenan_df as appropriate.
16269         (L_thenan_sf): Define _thenan_sf.
16270         (L_thenan_df): Define _thenan_df.
16271
16272         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
16273         (DPBIT_FUNCS): Add _thenan_df.
16274
16275 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
16276
16277         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
16278         TYPE_SIZE_UNIT.
16279
16280 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16281
16282         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
16283
16284         * gcc.h: New file.
16285         (lang_specific_driver): Don't take a function pointer parameter.
16286         All callers changed.
16287
16288         * gcc.c: Include gcc.h.
16289         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
16290         lang_specific_extra_outfiles, fatal): Don't declare.
16291         (multilib_defaults_raw): Constify.
16292         (read_specs): Call memset, rather than bzero.
16293         (main): Call return, not exit.
16294         (lookup_compiler): Call memcpy, not bcopy.
16295         (fatal): Make extern.
16296
16297         * cppspec.c: Include gcc.h.
16298         (lang_specific_driver): Initialize variable `quote'.  Constify a
16299         char*.  All calls to the function pointer parameter now
16300         explicitly call `fatal'.
16301
16302         * gccspec.c (lang_specific_driver): Include gcc.h.
16303
16304 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
16305
16306         * arm.c (note_invalid_constants): Use recog_data.operand_type
16307         for recog_op_type.
16308
16309 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16310
16311         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
16312         Declare.
16313
16314         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
16315         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16316         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16317         reload_secondary_in_reload, reload_secondary_out_reload,
16318         reload_secondary_in_icode, reload_secondary_out_icode,
16319         reload_reg_rtx, reload_when_needed): Delete declarations.
16320         (struct reload): New structure.
16321         (rld): Declare new array.
16322         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
16323         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
16324         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
16325         reload_secondary_in_reload, reload_secondary_out_reload,
16326         reload_secondary_in_icode, reload_secondary_out_icode,
16327         reload_reg_rtx, reload_when_needed): Delete definitions.
16328         (rld): New array.
16329         (whole file): Replace uses of the deleted arrays with uses of rld.
16330         * reload1.c (whole file): Replace uses of the deleted arrays with
16331         uses of rld.
16332         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
16333         explicit loops, not with bcopy.
16334
16335 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
16336
16337         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
16338         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
16339         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
16340         insn_name): Delete and consolidate into new structures.
16341         (insn_operand_predicate_fn): New.
16342         (insn_output_fn): New.
16343         (insn_gen_fn): New.
16344         (struct insn_operand_data): New.
16345         (struct insn_data): New.
16346         (insn_data): New.
16347         (OUT_FCN): Update for insn_data change.
16348         * builtins.c (expand_builtin_strlen): Likewise.
16349         (expand_builtin_memcmp): Likewise.
16350         * combine.c (make_extraction, simplify_comparison): Likewise.
16351         * cse.c (canon_reg, cse_insn): Likewise.
16352         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
16353         * expmed.c (store_bit_field, extract_bit_field): Likewise.
16354         (emit_store_flag): Likewise.
16355         * expr.c (convert_move, emit_block_move): Likewise.
16356         (clear_storage, emit_push_insn, expand_increment): Likewise.
16357         (do_store_flag): Likewise.
16358         * expr.h (GEN_FCN): Likewise.
16359         (insn_gen_function): Die.
16360         * final.c (final_scan_insn): Update for insn_data change.
16361         (output_asm_name): Likewise.
16362         * function.c (fixup_var_refs_1): Likewise.
16363         * loop.c (check_dbra_loop): Likewise.
16364         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
16365         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
16366         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
16367         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
16368         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
16369         * regmove.c (gen_add3_insn): Likewise.
16370         * reload.c (push_secondary_reload, combine_reloads): Likewise.
16371         (find_reloads, find_reloads_address_1): Likewise.
16372         (debug_reload_to_stream): Likewise.
16373         * reload1.c (emit_reload_insns, gen_reload): Likewise.
16374         * stmt.c (expand_end_case): Likewise.
16375         * toplev.c (compile_file): Likewise.
16376
16377         * c4x/c4x.c (c4x_process_after_reload): Likewise.
16378         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
16379
16380         * print-rtl.c (insn_name_ptr): Remove declaration.
16381         (get_insn_name): Declare.
16382         (print_rtx): Use it.
16383         * genoutput.c (insn_name_ptr): Remove.
16384         (next_operand_number): New.
16385         (struct operand_data): New.
16386         (null_operand, odata, odata_end): New.
16387         (struct data): Use struct operand_data.
16388         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
16389         (get_insn_name): Renamed from name_for_index.
16390         (output_prologue): Define NO_MD_PROTOTYPES.
16391         (output_predicate_decls): Break out from output_epilogue.
16392         Iterate over the operands list.
16393         (output_operand_data): Break out from output_epilogue.  Emit
16394         just the operands list.
16395         (output_insn_data): Break out from output_epilogue.  Emit just
16396         the insn data.
16397         (output_epilogue): Remove.
16398         (output_get_insn_name): New.
16399         (constraints, op_n_alternatives, predicates, address_p): Die.
16400         (modes, strict_low, seen): Die.
16401         (scan_operands): Take new param `d' instead of writing to
16402         seven global variables.
16403         (compare_operands): New.
16404         (place_operands): New.
16405         (validate_insn_alternatives): Update for struct data change.
16406         (gen_insn): Don't zero or copy 7 global arrays.  Update for
16407         scan_operands; call place_operands.
16408         (gen_peephole, gen_expand, gen_split): Likewise.
16409         (main): Update for new output routines.
16410
16411         * genattr.c (insn_name_ptr): Remove.
16412         (get_insn_name): New function.
16413         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
16414         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
16415         * genrecog.c: Likewise.
16416
16417         * alpha.md (adddi3): Make `pattern' array static.
16418
16419 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16420
16421         * config/c4x/c4x.h (c4x_rpts_cycles_string,
16422         c4x_cpu_version_string): Constify char *.
16423         * config/c4x/c4x.c (c4x_rpts_cycles_string,
16424         c4x_cpu_version_string): Likewise.
16425
16426 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
16427
16428         * tree.c (save_tree_status): Revert 10 Sep change.
16429         (restore_tree_status): Likewise.  Call obstack_free with NULL
16430         before freeing the obstack proper.
16431
16432 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
16433
16434         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
16435
16436         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
16437         surrounding context.
16438
16439 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
16440
16441         * tree.c (type_hash_canon): Put all types in the hash-table, when
16442         GC'ing.
16443
16444 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
16445
16446         * recog.h (struct recog_data, recog_data): New.
16447         (recog_foo variables): Kill.
16448         * recog.c (recog_operand, recog_operand_loc): Kill.
16449         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
16450         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
16451         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
16452         (recog_data): Define.
16453         (extract_insn): Update all recog_foo references to use recog_data.
16454         (preprocess_constraints, constrain_operands): Likewise.
16455         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
16456         * genattrtab.c (main): Likewise.
16457         * genextract.c (main): Likewise.
16458         * genoutput.c: Likewise.
16459         * genrecog.c (write_subroutine, main): Likewise.
16460         * local-alloc.c (block_alloc): Likewise.
16461         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
16462         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
16463         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
16464         * reload.c (find_reloads, find_reloads_toplev): Likewise.
16465         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
16466         (reload_cse_simplify_operands): Likewise.
16467
16468         * arc/arc.c (arc_final_prescan_insn): Likewise.
16469         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
16470         * h8300/h8300.c (notice_update_cc): Likewise.
16471         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
16472         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
16473         * mn10200/mn10200.c (notice_update_cc): Likewise.
16474         * mn10300/mn10300.c (notice_update_cc): Likewise.
16475         * romp/romp.c (update_cc): Likewise.
16476         * sparc/sparc.c (check_pic): Likewise.
16477         * v850/v850.c (notice_update_cc): Likewise.
16478
16479         * genemit.c (main): Don't declare recog_operand.
16480
16481 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
16482
16483         * ggc.h (rtvec_def): Forward declare.
16484         (tree_node): Likewise.
16485         (ggc_root): Define.
16486         (roots): Declare.
16487         (ggc_set_mark_rtx): Add prototype.
16488         (ggc_set_mark_rtvec): Likewise.
16489         (ggc_set_mark_tree): Likewise.
16490         * ggc-simple.c (ggc_root): Don't define.
16491         (roots): Don't declare.
16492         (ggc_mark_rtx): Remove.
16493         (ggc_mark_rtvec): Likewise.
16494         (ggc_mark_tree): Likewise.
16495         (ggc_mark_varray): Likewise.
16496         (ggc_mark_tree_hash_table_entry): Likewise.
16497         (ggc_mark_tree_hash_table): Likewise.
16498         (ggc_set_mart_rtx): New function.
16499         (ggc_set_mark_rtvec): Likewise.
16500         (ggc_set_mark_tree): Likewise.
16501         (ggc_add_root): Remove.
16502         (ggc_add_rtx_root): Likewise.
16503         (ggc_remove_tree_root): Likewise.
16504         (ggc_add_string_root): Likewise.
16505         (ggc_add_tree_varray_root): Likewise.
16506         (ggc_add_tree_hash_table_root): Likewise.
16507         (ggc_del_root): Likewise.
16508         (ggc_mark_rtx_ptr): Likewise.
16509         (ggc_mark_tree_ptr): Likewise.
16510         (ggc_mark_string_ptr): Likewise.
16511         (ggc_mark_tree_varray_ptr): Likewise.
16512         (ggc_mark_tree_hash_table_ptr): Likewise.
16513         * ggc-common.c: New file.
16514         * Makefile.in (OBJS): Add ggc-common.o.
16515         (ggc-common.o): List dependencies.
16516
16517 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
16518
16519         * cppalloc.c (xstrdup): Use memcpy.
16520         * cpperror.c (cpp_print_containing_files): Don't use
16521         cpp_notice.
16522         * cpplib.c (conditional_skip): Set temp->lineno.
16523         (do_endif): Make error message less obscure.
16524         (if_directive_name): New function.
16525         (cpp_get_token [case EOF]): Unwind the if stack and generate
16526         error messages for each unterminated conditional in this file.
16527         (parse_string):  Do not behave differently if -traditional.
16528
16529 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
16530
16531         * builtins.c (expand_builtin_va_arg): Cope with an array-type
16532         va_list decomposing to pointer-type.
16533         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
16534         (rs6000_va_arg): Likewise.
16535
16536 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
16537
16538         * except.c (start_dynamic_handler): Compute size using
16539         STACK_SAVEAREA_MODE.
16540
16541 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16542
16543         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
16544         include directory headers.  Don't define strrchr.  Don't provide
16545         my_* replacement functions.  Prefer PTR over `pointer_type'.
16546         Don't prototype system functions.  Don't redefine getopt.
16547
16548         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
16549         safe_read, safe_write, save_pointers, restore_pointers,
16550         is_id_char, in_system_include_dir, directory_specified_p,
16551         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
16552         find_corresponding_lparen, referenced_file_is_newer,
16553         save_def_or_dec, munge_compile_params, gen_aux_info_file,
16554         process_aux_info_file, identify_lineno, check_source,
16555         seek_to_line, forward_to_next_token_char, output_bytes,
16556         output_string, output_up_to, other_variable_style_function,
16557         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
16558         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
16559         find_static_definition, connect_defs_and_decs, add_local_decl,
16560         add_global_decls, needs_to_be_converted, visit_each_hash_node,
16561         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
16562         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
16563         scan_for_missed_items, edit_file, string_list_cons): Add static
16564         prototypes.
16565         (standard_exec_prefix, target_machine, target_version,
16566         default_syscalls_dir, string_list, string_list_cons, find_file,
16567         do_cleaning): Constify a char*.
16568         (safe_read, safe_write): Use PTR, not a char*.
16569         (is_id_char): Take an int, not a char.
16570         (main): Add prototype.  Call return, not exit.
16571
16572 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
16573
16574         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
16575         when comparing types.
16576
16577 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
16578
16579         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
16580         (strength_reduce): Release the varrays from the no-bivs early exit.
16581
16582         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
16583         the loop over the registers.
16584
16585         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
16586         for a new obstack.
16587         (restore_tree_status): Check that instead when freeing the obstack.
16588
16589 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
16590
16591         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
16592         as pointers.
16593
16594 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16595
16596         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
16597         operand size modifiers.
16598
16599 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16600
16601         * c-common.c (c_common_nodes_and_builtins): Don't build
16602         va_list_type_node.
16603         * c-common.h (enum c_tree_index and related accesor macros): Remove
16604         everything now declared in tree.h.
16605         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
16606         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
16607         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
16608         (error_mark_node, void_type_node, char_type_node, integer_type_node,
16609         unsigned_type_node, ptr_type_node, va_list_type_node,
16610         integer_zero_node, null_pointer_node, integer_one_node): Delete.
16611         (init_decl_processing): Call build_common_tree_nodes and
16612         build_common_tree_nodes_2 instead of building their nodes here.
16613         Don't add roots for these nodes.
16614         * stor-layout.c (size_zero_node, size_one_node): Delete.
16615         (set_sizetype): Make a new node for bitsizetype each time.
16616         * tree.c (global_trees): New variable.
16617         (init_obstacks): Add a gc root for it.
16618         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
16619         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
16620         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
16621         (build_common_tree_nodes): New function.
16622         (fix_sizetype): New function.
16623         (build_common_tree_nodes_2): New function.
16624         * tree.h (enum tree_index): New.
16625         (global_trees): Declare.
16626         Add accessor macros for all nodes now moved to global_trees.
16627         Delete their declarations.
16628
16629 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
16630
16631         * c-decl.c (finish_function): When processing a nested function,
16632         push and pop GC context around rest_of_compilation.
16633
16634 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
16635
16636         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
16637         Default ix86_arch to PROCESSOR_I386.
16638         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
16639         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
16640         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
16641         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
16642         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
16643         (EXTRA_SPECS): Remove deleted specs.
16644
16645 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
16646
16647         * function.c (assign_stack_local_1): Allocate from
16648         function->x_frame_offset, not frame_offset.
16649
16650 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
16651
16652         * ggc.h (lang_cleanup_tree): Remove.
16653         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
16654         * ggc-callbacks.c (lang_cleanup_tree): Remove.
16655
16656         * c-decl.c (finish_struct): Use ggc_alloc to allocate
16657         TYPE_LANG_SPECIFIC when garbage collecting.
16658         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
16659         (lang_cleanup_tree): Remove.
16660
16661 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16662
16663         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
16664         * crtstuff.c: Not here.
16665         * dwarf2out.c: Or here.
16666         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
16667         info.
16668
16669 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
16670
16671         * function.h (free_after_compilation): Remove decl parameter.
16672         (free_varasm_status0: Likewise.
16673         (free_emit_status): Likewise.
16674         (free_stmt_status): Likewise.
16675         (free_after_compilation): Likewise.
16676         (init_lang_status): New variable.
16677         (free_lang_status): Likewise.
16678         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
16679         * function.c (init_lang_status): New variable.
16680         (free_lang_status): Likewise.
16681         (push_function_context_to): Don't set function::decl here.
16682         (free_after_copmilation): Make decl parameter implicit.  Call
16683         free_lang_status if defined.
16684         (prepare_function_start): Call init_lang_status if defined.
16685         (init_function_start): Set function::decl here.
16686         * profile.c (output_func_start_profiler): Don't call pushdecl
16687         until we've actually started the function.
16688         * stmt.c (free_stmt_status): Make decl parameter implicit.
16689         * toplev.c (rest_of_compilation): Don't pass decl to
16690         free_after_compilation.
16691         * varasm.c (free_varasm_status): Likewise.
16692
16693 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16694
16695         * except.c (call_get_eh_context): Add root when allocating static
16696         tree variable.
16697
16698 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
16699
16700         * arm.c: Include "ggc.h".
16701         (arm_add_gc_roots): New function.
16702         (arm_override_options): Call it.
16703         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
16704
16705         * arm.md (define_asm_attributes): Add a pool_range attribute.
16706
16707 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
16708
16709         * extend.texi (Volatiles): New node.
16710
16711 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
16712
16713         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
16714         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
16715         (struct ggc_any): Replace `mark' with `magic_mark'.
16716         (ggc_alloc_string): Use memcpy, not bcopy.
16717         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
16718         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
16719         (ggc_free_any): New.
16720         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
16721         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
16722         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
16723         Use IS_MARKED. Use ggc_free_any.
16724
16725 1999-09-09  Scott Bambrough <scottb@netwinder.org>
16726
16727         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
16728
16729 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
16730
16731         * toplev.c (main): Always init_ggc.
16732
16733 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
16734
16735         * except.c (find_all_handler_type_matches): Free the list if
16736         we found no matches.
16737
16738         * combine.c (SUBST): Break out to a real function do_SUBST.
16739         (SUBST_INT): Likewise.
16740         * gcse.c (free_pre_mem): Free `temp_bitmap'.
16741         (pre_insert): Free `inserted'.
16742         * loop.c (basic_induction_var): Always set `location'.
16743
16744         * function.c (expand_function_end): Add initial_trampoline as a root.
16745         * rtl.h (init_varasm_once): Declare.
16746         * toplev.c (compile_file): Call it.
16747         * ggc-simple.c (ggc_mark_string_ptr): New.
16748         (ggc_add_string_root): New.
16749         (ggc_collect): Disable collection avoidance temporarily.
16750         * ggc.h (ggc_add_string_root): Declare.
16751         * except.c (create_rethrow_ref): Use ggc_alloc_string.
16752         * optabs.c (init_libfuncs): Likewise.
16753         * varasm.c (named_section): Use ggc_alloc_string.
16754         (make_function_rtl): Likewise.
16755         (make_decl_rtl): Likewise.
16756         (assemble_static_space): Likewise.
16757         (assemble_trampoline_template): Likewise.
16758         (output_constant_def): Likewise.
16759         (force_const_mem): Likewise.
16760         (mark_const_hash_entry): New.
16761         (mark_pool_sym_hash_table): New.
16762         (mark_varasm_state): Use it.
16763         (init_varasm_once): New.
16764
16765         * expr.h (init_one_libfunc): Declare.
16766         * optabs.c (init_one_libfunc): New.
16767         (init_optabs): Use it.
16768         * config/gofast.h: Likewise.
16769         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
16770         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
16771
16772 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16773
16774         * Makefile.in (cppexp.o): Depend on cpphash.h.
16775         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
16776         Include cpphash.h.
16777         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
16778         * cpplib.c (do_define): Generalise to handle poisoned definitions,
16779         redefining poisoned identifiers, etc.
16780         (do_undef): Don't allow poisoned identifiers to be undefined.
16781         (do_pragma): Add #pragma poison.
16782         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
16783
16784         * cccp.c: Add T_POISON node type.
16785         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
16786         poisoned xxx.
16787         (do_define): Generalise to handle poisoned definitions,
16788         redefining poisoned identifiers, etc.
16789         (do_undef): Don't allow poisoned identifiers to be undefined.
16790         (do_pragma): Add #pragma poison.
16791         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
16792
16793         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
16794         * c-pragma.h: Add ps_poison state.  We now always have generic
16795         pragmas.
16796
16797 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
16798
16799         * ggc.h (ggc_alloc): New function.
16800         (ggc_mark): Likewise.
16801         * ggc-simple.c (ggc_any): New structure.
16802         (ggc_status): Add anys.
16803         (n_anys_collected): New variable.
16804         (ggc_alloc): Define.
16805         (ggc_mark): Likewise.
16806         (ggc_collect): Collect the anys.
16807
16808 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16809
16810         * c-decl.c (mark_binding_level): Make static to match prototype.
16811
16812 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
16813
16814         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
16815
16816 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
16817
16818         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
16819         will use into account.  Expand the max width to 5.
16820         * rtl.c: Likewise.
16821
16822 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
16823
16824         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
16825         for the rtx length.
16826
16827 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
16828
16829         * alpha.md (call value patterns): Remove the result predicates.
16830
16831 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
16832
16833         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
16834         last change.
16835
16836 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16837
16838         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
16839         changed from extern char *, to extern PTR.  Also fix typo in
16840         NEED_DECLARATION_REALLOC test.
16841
16842         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
16843
16844 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16845
16846         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
16847         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
16848         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
16849         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
16850
16851         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
16852
16853         * cccp.c (pcfinclude): Likewise.
16854
16855         * global.c (allocno_compare): Likewise.
16856
16857         * haifa-sched.c (rank_for_schedule): Likewise.
16858
16859         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
16860
16861         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
16862
16863         * stupid.c (stupid_reg_compare): Likewise.
16864
16865         * tree.c (_obstack_allocated_p): Likewise.
16866
16867         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
16868
16869 1999-09-08  Bruce Korb  autogen@linuxbox.com
16870
16871         * Makefile.in: Give the hapless gperf user a hint about
16872         why "gperf -F" fails.
16873
16874 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
16875
16876         * lists.c: Include ggc.h.
16877         (zap_lists): New.
16878         (init_EXPR_INSN_LIST_cache): Install it.
16879
16880         * ggc-simple.c (init_ggc): Absorb the old init.
16881         (ggc_push_context): Use xcalloc.
16882         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
16883         (ggc_collect): Add [rvts] tags to the collection stats.
16884
16885 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
16886
16887         * cccp.c (main): Fix handling of -include and -imacros options.
16888
16889 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
16890
16891         * cpplib.c (cpp_push_buffer): Fix order of arguments.
16892
16893 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
16894
16895         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
16896         genrtl.c.
16897
16898 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
16899
16900         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
16901         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
16902         and SET_DEST. Update comment.
16903
16904 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16905
16906         * config/c4x/c4x.c: Include ggc.h.
16907         (c4x_add_gc_roots): New function.
16908         (c4x_override_options): Call c4x_add_gc_roots.
16909
16910 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
16911
16912         * defaults.h (TARGET_ESC): Move ...
16913         * system.h: ... here, where Linas had it in the first place.  Silly me.
16914
16915 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
16916
16917         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
16918         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
16919         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
16920         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
16921         * defaults.h (TARGET_ESC): Add default.
16922
16923 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
16924
16925         * configure.in: add i370-*-openedition, i370-*-mvs and
16926         i370-*-linux targets
16927
16928 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
16929
16930         * dsp16xxx.c: Include ggc.h
16931         (override_options): Mark GC roots.
16932         * mn10200.c: Include ggc.h.
16933         (asm_file_start): Mark GC roots.
16934         * tahoe.c: Include ggc.h.
16935         (extensible_operand): Mark GC roots.
16936
16937 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
16938
16939         * README: Add section discussing status of ELF ABI.
16940         * i370.c: Fix misc spelling mistakes.
16941         (i370_label_scan): Updated notes, exception handling.
16942         (i370_function_prolog): Simplify ELF stack handling.
16943         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
16944         (STACK_GROWS_DOWNWARD): ELF stack grows down.
16945         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
16946         * i370.md: (movdi): Add notes.
16947         (floatsidf2): Use stack not rtca for scratch float area.
16948         (iorsi3): Correct operand constraints.
16949         * x-oe: Restore TAROUTOPTS which are used by pax.
16950
16951 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
16952
16953         * rs6000.c: Include ggc.h.
16954         (rs6000_add_gc_roots): New function.
16955         (override_options): Call it.
16956
16957 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
16958
16959         * alpha.h (alpha_compare): New.
16960         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
16961         * alpha.c: Likewise for the definitions.
16962         (alpha_emit_conditional_branch): Update for alpha_compare.
16963         (alpha_emit_conditional_move): Likewise.
16964         * alpha.md (cmpdf, cmpdi): Likewise.
16965         (setcc patterns): Likewise.  Zero alpha_compare after use.
16966         (sne): Optimize (x != 0) into (0U < x).
16967
16968 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
16969
16970         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
16971         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
16972         (INIT_EXPANDERS): Remove.
16973         * alpha.c: Include ggc.h.
16974         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
16975         (alpha_init_machine_status, alpha_mark_machine_status): New.
16976         (override_options): Install them.
16977         (struct machine_function): Moved to alpha.h.
16978         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
16979         (alpha_init_expanders): Remove.
16980         (alpha_return_addr): Adjust to use current_function->machine.
16981         (alpha_ra_ever_killed): Likewise.
16982         (alpha_expand_epilogue): Likewise.
16983         * alpha.md (eh_epilogue): Likewise.
16984
16985 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
16986                           Melissa O'Neill  <oneill@cs.sfu.ca>
16987                           Geoffrey Keating  <geoffk@cygnus.com>
16988
16989         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
16990         call-used registers (call-saved registers must still be contiguous
16991         and end with r31, of course).
16992
16993 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
16994
16995         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
16996         (self_promoting_type_p): Delete.
16997         (self_promoting_args_p): Move ...
16998         * c-common.c: ... here.
16999         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
17000         (simple_type_promotes_to): New.
17001         * builtins.c (lang_type_promotes_to): New.
17002         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
17003         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
17004         * c-common.h: ... here.
17005         (self_promoting_args_p, simple_type_promotes_to): Declare.
17006         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
17007         (grokdeclarator): Likewise.
17008         * tree.h (lang_type_promotes_to): Declare.
17009
17010 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
17011
17012         Add some machine-dependent GC roots.
17013         * sparc.c: Include ggc.h.
17014         (sparc_add_gc_roots): New function.
17015         (mark_ultrasparc_pipeline_state): Likewise.
17016         (override_options): Call sparc_add_gc_roots.
17017         * pa.c: Include ggc.h.
17018         (pa_add_gc_roots): New function.
17019         (mark_deferred_plabels): Likewise.
17020         (override_options): Call pa_add_gc_roots.
17021         * mips.c: Include ggc.h.
17022         (mips_add_gc_roots): New function.
17023         (override_options): Use it.
17024
17025 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17026
17027         * cpperror.c (cpp_file_line_for_message): Constify a char*.
17028
17029         * cppexp.c (parse_number, parse_charconst, cpp_lex,
17030         cpp_parse_expr): Add static prototypes.
17031         (parse_charconst): Don't cast away const-ness.
17032         (token): Constify a char*.
17033
17034         * cppfiles.c (file_name_list, include_hash, find_include_file,
17035         finclude, initialize_input_buffer): Constify a char*.
17036         (file_cleanup, find_position): Add static prototypes.
17037
17038         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
17039         collect_expansion): Add static prototypes.
17040         (cpp_install, create_definition, monthnames): Constify a char*.
17041
17042         * cpphash.h (cpp_install): Likewise.
17043
17044         * cppinit.c (known_suffixes, default_include,
17045         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
17046         (base_name, dump_special_to_buffer, initialize_dependency_output):
17047         Add static prototypes.
17048
17049         * cpplib.c (my_strerror): Constify a char*.
17050         (null_underflow, null_cleanup, skip_comment, copy_comment,
17051         copy_rest_of_line, handle_directive, pass_thru_directive,
17052         get_directive_token, read_line_number, cpp_print_file_and_line,
17053         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
17054         v_cpp_warning_with_line, detect_if_not_defined,
17055         consider_directive_while_skipping): Add static prototypes.
17056         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
17057         cpp_pedwarn_with_file_and_line): Constify a char*.
17058
17059         * cpplib.h (cpp_options, include_hash, progname, definition,
17060         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
17061         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
17062         find_include_file, deps_output, include_hash): Constify a char*.
17063
17064         * cppmain.c (progname): Constify.
17065         (main): Add prototype.  Use return, not exit.
17066
17067         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
17068         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
17069         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
17070         check_protection): Add static prototype.
17071         (xfree): Remove.
17072         (progname, recognized_macrom, recognized_extern): Constify a char*.
17073         (main): Add prototype.
17074
17075         * gen-protos.c (progname): Constify a char*.
17076
17077 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
17078
17079         * emit-rtl.c (free_emit_status): Take decl as a parameter.
17080         (init_emit_once): Add more GC roots.
17081         * except.c (mark_func_eh_entry): New function.
17082         (mark_eh_node): Mark false_label and rethrow_label.
17083         (init_eh): Add more GC roots.
17084         * function.c (free_after_compilation): Take decl as a paramter.
17085         Call free_stmt_status.
17086         (mark_function_state): Don't assume x_parm_reg_stack_loc is
17087         non-NULL.
17088         * function.h (free_after_compilation): Change prototype.
17089         (free_varasm_status): Likewise.
17090         (free_emit_status): Likewise.
17091         (free_stmt_status): New function.
17092         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
17093         Remove, replacing with ...
17094         (ggc_status): New structure.
17095         (ggc_chain): New variable.
17096         (init_gcc): Define.
17097         (ggc_push_context): New function.
17098         (ggc_pop_context): Likewise.
17099         (ggc_alloc_rtx): Adjust for use of ggc_chain.
17100         (ggc_alloc_rtvec): Likewise.
17101         (ggc_alloc_tree): Likewise.
17102         (ggc_alloc_string): Likewise.
17103         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
17104         (ggc_mark_tree): Give language-dependent code a chance to mark
17105         `x' nodes.
17106         (ggc_mark_tree_varray): Handle empty arrays.
17107         (ggc_collect): Adjust for use of ggc_chain.  Clear
17108         bytes_alloced_since_last_gc.
17109         * ggc.h (ggc_pop_context): New function.
17110         (ggc_push_context): Likewise.
17111         * print-tree.c (print_node): Don't print obstacks when GC'ing.
17112         * stmt.c (free_stmt_status): New function.
17113         (init_stmt_for_function): Clear last_expr_value.
17114         * toplev.c (rest_of_compilation): Always call free_after_compilation.
17115         Conditionalize call to ggc_collect.
17116         (main): Call init_ggc.
17117         * tree.c (push_obstacks): Do the push, even when GC'ing.
17118         (push_obstacks_nochange): Likewise.
17119         (pop_obstacks): Liekwise.
17120         * varasm.c (free_varasm_status): Take decl as a parameter.
17121
17122 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17123
17124         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
17125         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
17126         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
17127         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
17128
17129 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
17130
17131         * pa/x-pa-mpeix: New file for the MPE port.
17132
17133         * pa/quadlib.asm: New file for long double support.
17134
17135         * configure.in: Add hppa1.0-*-mpeix for MPE port.
17136         * configure: Rebuilt.
17137
17138 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
17139
17140         * final.c (shorten_branches): Fix last change.
17141
17142 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
17143
17144         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
17145
17146 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
17147
17148         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
17149         details.
17150
17151 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17152
17153         * c-aux-info.c (concat): Don't define.
17154
17155         * cccp.c (my_strerror): Likewise.  All callers changed to use
17156         xstrerror instead.
17157         (do_include): Call xstrdup, not xmalloc/strcpy.
17158         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
17159         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
17160
17161         * collect2.c (my_strsignal): Likewise.  All callers changed to use
17162         strsignal instead.
17163         (locatelib): Call xstrdup, not xmalloc/strcpy.
17164
17165         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
17166
17167         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
17168
17169         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
17170
17171         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
17172
17173         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
17174
17175         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
17176
17177         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
17178         malloc/realloc.
17179         (find_all_handler_type_matches): Likewise.  Don't check return
17180         value.
17181         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
17182         xmalloc, not malloc.
17183         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
17184
17185         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
17186         (init_spec): Call xcalloc, not xmalloc/bzero.
17187         (set_spec): Call xstrdup, not save_string.
17188         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
17189         (find_a_file): Call xstrdup, not xmalloc/strcpy.
17190         (process_command): Call xstrdup, not save_string.
17191         (main): Call xcalloc, not xmalloc/bzero.
17192
17193         * gcov.c (xmalloc): Don't define.
17194         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
17195         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
17196         (output_data): Call xcalloc, not xmalloc/bzero.
17197
17198         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
17199
17200         * mips-tdump.c (xmalloc): Don't define.
17201         (print_symbol): Call xmalloc, not malloc.
17202         (read_tfile): Call xcalloc, not calloc.
17203
17204         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
17205         Don't define.  All callers of xfree/my_strsignal changed to use
17206         free/strsignal instead.
17207         (allocate_cluster): Call xcalloc, not calloc.
17208
17209         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
17210         Fix memory leak, free allocated memory.
17211
17212         * prefix.c (translate_name): Call xstrdup, not save_string.
17213         (update_path): Likewise.
17214
17215         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
17216
17217         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
17218         Don't define.  Callers of xfree/savestring2 changed to use
17219         free/concat instead.
17220
17221         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
17222         (init_elim_table): Likewise.
17223
17224         * resource.c (init_resource_info): Likewise.
17225
17226         * stupid.c (stupid_life_analysis): Likewise.
17227
17228         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
17229         (open_dump_file): Call concat, not xmalloc/strcpy/...
17230         (clean_dump_file): Likewise.
17231         (compile_file): Call xstrdup, not xmalloc/strcpy.
17232
17233 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
17234
17235         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
17236         * v850.c (v850_va_arg): New.
17237
17238 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17239
17240         * haifa-sched.c: Tidy comments.
17241
17242 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17243
17244         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
17245         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
17246         $(out_object_file)): Depend on ggc.h.
17247         * c-common.c: Include "ggc.h".
17248         (combine_strings): If doing GC, use ggc_alloc_string.
17249         * c-decl.c: Include "ggc.h".
17250         (ggc_p): Define with value 0.
17251         (mark_binding_level): New function.
17252         (init_decl_processing): Add GC roots.
17253         (mark_c_function_context): New function.
17254         (lang_mark_false_label_stack): New function.
17255         (lang_mark_tree): New function.
17256         (lang_cleanup_tree): New function.
17257         * c-lang.c: Include "ggc.h".
17258         (lang_init): Call c_parse_init.
17259         * c-lex.c: Include "ggc.h".
17260         (check_linenum): If doing GC, don't copy filenames to permanent
17261         obstack.
17262         * c-parse.in: Include "ggc.h".
17263         (c_parse_init): New function.
17264         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
17265         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
17266
17267         * except.c (mark_eh_state): Mark more state.
17268         * function.c (mark_function_state): Likewise.
17269         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
17270         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
17271         * toplev.c (mark_file_stack): New function.
17272         (compile_file): If doing GC, use ggc_alloc_string on input filename.
17273         (main): Add root for input_file_stack.
17274
17275         * i386.c: Include "ggc.h".
17276         (ix86_mark_machine_status): New function.
17277         (override_options): Set mark_machine_status.
17278
17279 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17280
17281         * tree.c (copy_node): Copy node contents also if doing GC.
17282
17283 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17284
17285         * collect2.c (scan_libraries): Fix double-thinko :-).
17286
17287 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
17288
17289         * collect2.c (scan_libraries): Fix thinko.
17290
17291         * cse.c (delete_trivially_dead_insns): Do not skip the last
17292         insn if it is a real insn.
17293
17294 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
17295
17296         * Makefile.in (ggc-simple.o): Depend on hash.h.
17297         * ggc.h (ggc_add_tree_hash_table_root): Declare.
17298         (ggc_mark_tree_varray): Likewise.
17299         (ggc_mark_tree_hash_table): Likewise.
17300         * ggc-simple.c: Include hash.h.
17301         (ggc_mark_tree_hash_table_ptr): New function.
17302         (ggc_mark_tree_hash_table_entry): Likewise.
17303         (ggc_mark_tree_hash_table): Likewise.
17304         (ggc_add_tree_hash_table_root): Likewise.
17305         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
17306         rtx, when defining fields.
17307
17308 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17309
17310         * profile.c (output_func_start_profiler): Remove apparently
17311         nonsensical call to start_sequence.
17312
17313 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
17314
17315         * clipper/clipper.c (clipper_va_start): Fix typos.
17316
17317         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
17318         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
17319         (spur_va_arg): New stub.
17320
17321         * configure.in: Comment out pyramid.
17322
17323 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
17324
17325         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
17326         don't conflict with the bits that win32, cygwin, and dgux
17327         defines.
17328
17329 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
17330                           Bernd Schmidt <bernds@cygnus.co.uk>
17331
17332         * integrate.c (function_cannot_inline_p): Do not inline
17333         functions with forced labels.
17334
17335 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
17336                           Bernd Schmidt <bernds@cygnus.co.uk>
17337                           Mark Mitchell  <mark@codesourcery.com>
17338
17339         * Makefile.in (ggc-simple.o): Depend on varray.h.
17340         (rtl.o): Depend on ggc.h.
17341         (genattrtab.o): Depend on ggc.h.
17342         (print-tree.o): Likewise.
17343         (fold-const.o): Likewise.
17344         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
17345         (make_insn_raw): Don't cache insns when GC'ing.
17346         (emit_insn_before): Likewise.
17347         (emit_insn_after): Likewise.
17348         (emit_insn): Likewise.
17349         (start_sequence): Use xmalloc to allocate the sequence_stack.
17350         (end_sequence): Add free to free it.
17351         (gen_sequence): Don't cache insns when GC'ing.
17352         (clear_emit_caches): Don't use sequence_element_free_list.
17353         (init_emit): Use xcalloc, not xmalloc+bzero.
17354         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
17355         * function.c (pop_function_context_from): Use free to free the
17356         fixup_var_refs_queue.
17357         (put_reg_into_stack): Allocate it with xmalloc.
17358         * genattrtab.c: Include ggc.h.
17359         (operate_exp): Don't use obstack_free when GC'ing.
17360         (simplify_cond): Likewise.
17361         (simplify_text_exp): Likewise.
17362         (optimize_attrs): Likewise.
17363         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
17364         GC'ing.
17365         (gencode): Generate a #include for ggc.h.
17366         * ggc-callbacks.c (ggc_p): Define it to zero.
17367         * ggc-none.c (ggc_p): Likewise.
17368         * ggc-simple.c: Include varray.h.
17369         (ggc_mark_tree_varray): New function.
17370         (ggc_add_tree_varray_root): Likewise.
17371         (ggc_mark_tree_varray_ptr): Likewise.
17372         * ggc.h (ggc_p): Declare.
17373         (varray_head_tag): Likewise.
17374         (ggc_add_tree_varray_root): Declare.
17375         * print-tree.c (print_node): Don't check for TREE_PERMANENT
17376         inconsistencies when GC'ing.
17377         * rtl.c: Include ggc.h.
17378         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
17379         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
17380         (rtx_free): Don't call obstack_free when GC'ing.
17381         * toplev.c (rest_of_compilation): Call ggc_collect after every
17382         pass, if GC'ing.
17383         * tree.c (push_obstacks): Do nothing, if GC'ing.
17384         (pop_obstacks_nochange): Likewise.
17385         (pop_obstacks): Likewise.
17386         (make_node): Use ggc_alloc_tree when GC'ing.
17387         (copy_node): Likewise.
17388         (get_identifier): Use ggc_alloc_string when GC'ing.
17389         (build_string): Likewise.
17390         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
17391         (tree_cons): Likewise.
17392         (build1): Likewise.
17393         (type_hash_canon): Don't call obstack_free when GC'ing.
17394
17395 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
17396
17397         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
17398         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
17399
17400 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
17401                           Bernd Schmidt <bernds@cygnus.co.uk>
17402                           Mark Mitchell  <mark@codesourcery.com>
17403
17404         * Makefile.in (stor-layout.o): Depend on ggc.h.
17405         (expr.o): Depend on ggc.h.
17406         (profile.o): Depend on ggc.h.
17407         (stor-layout.o): Depend on ggc.h.
17408         * emit-rtl.c (init_emit_once): Add gc roots.
17409         * expr.c: Include ggc.h.
17410         (emit_block_move): Add gc roots.
17411         (clear_storage): Likewise.
17412         * expr.h (init_stor_layout_once): New function.
17413         * profile.c: Include ggc.h.
17414         (init_arc_profiler): profiler_label is a root.
17415         * scan.c (make_sstring_space): Trust xrealloc to function
17416         correctly with first parameter NULL.
17417         * stor-layout.c: Include ggc.h.
17418         (set_sizetype): Add gc root.
17419         (init_stor_layout_once): New function.
17420         * toplev.c (compile_file): Call it.
17421
17422 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
17423                           Bernd Schmidt <bernds@cygnus.co.uk>
17424                           Mark Mitchell  <mark@codesourcery.com>
17425
17426         * Makefile.in (tree.o): Depend on ggc.h.
17427         (varasm.o): Likewise.
17428         (function.o): Likewise.
17429         (stmt.o): Likewise.
17430         (except.o): Likewise.
17431         (optabs.o): Likewise.
17432         (emit-rtl.o): Likewise.
17433         * emit-rtl.c: Include ggc.h.
17434         (sequence_element_free_list): Remove, and all references.
17435         (mark_sequence): New functions.
17436         (mark_emit_state): New function.
17437         * except.c: Include ggc.h.
17438         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
17439         (mark_tree_label_node): New functions.
17440         (mark_eh_state): New function.
17441         * function.c: Include ggc.h.
17442         (mark_temp_slot, mark_function_chain): New functions.
17443         (mark_function_state): New function.
17444         (init_function_once): New function.
17445         * function.h (init_function_once): New function.
17446         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
17447         * ggc.h (label_node): Declare.
17448         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
17449         (lang_mark_false_label_stack): New function.
17450         (mark_temp_slot): Remove declaration.
17451         (mark_function_chain): Likewise.
17452         (mark_eh_state): Adjust prototype.
17453         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
17454         Likewise.
17455         * optabs.c: Include ggc.h.
17456         (mark_optab): New function.
17457         (init_optabs): Add gc roots.
17458         * stmt.c: Include ggc.h.
17459         (mark_cond_nesting, mark_loop_nesting): New functions.
17460         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
17461         (mark_stmt_state): New function.
17462         * toplev.c (compile_file): Call init_function_once.
17463         * tree.c: Include ggc.h.
17464         (type_hash): Move declaration earlier in file.
17465         (TYPE_HASH_SIZE, type_hash_table): Likewise.
17466         (init_obstacks): Add gc roots.
17467         (mark_type_hash): New function.
17468         * varasm.c: Include ggc.h.
17469         (mark_pool_constant): New function.
17470         (mark_varasm_state): New function.
17471
17472 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17473
17474         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
17475
17476 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
17477
17478         * c-decl.c (struct language_function): Renamed from struct c_function.
17479         Delete elt NEXT.
17480         (c_function_chain): Delete.
17481         (push_c_function_context): New arg F.  Don't warn about nested
17482         functions here.  Fill LANGUAGE elt of F.  Delete code to update
17483         c_function_chain.  Don't call push_function_context.
17484         (pop_c_function_context): New arg F.  Restore from there instead of
17485         from c_function_chain.  Don't call pop_function_context.  Clear out
17486         LANGUAGE field of F when done.
17487         * c-lang.c: Include "function.h"
17488         (lang_init): Initialize save_lang_status and restore_lang_status.
17489         * c-parse.in (nested_function, nested_function_notype): Warn about
17490         nested functions.  Call push_function_context/pop_function_context
17491         instead of the _c_ variants.
17492         * c-tree.h (push_c_function_context, pop_c_function_context): Update
17493         prototype.
17494         * Makefile.in (c-lang.o): Update dependencies.
17495
17496         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
17497         regno_pointer_flag, regno_pointer_align.
17498         (gen_reg_rtx): Use xrealloc to enlarge them.
17499         (free_emit_status): New function.
17500         * function.c (mark_machine_status, mark_lang_status): New variables.
17501         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
17502         in some bits from assign_stack_local.  All callers changed to use new
17503         name.
17504         (assign_stack_local): Just call assign_stack_local_1.
17505         (free_after_compilation): New function.
17506         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
17507         (trampoline_address): Likewise.
17508         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
17509         (prepare_function_start): Explicitly clear some more variables.
17510         * function.h (struct function): New elt can_garbage_collect.
17511         (mark_machine_status, mark_lang_status): Declare variables.
17512         (free_after_compilation, free_emit_status, free_varasm_status,
17513         init_varasm_status): Declare functions.
17514         * toplev.c (rest_of_compilation): Call free_after_compilation when
17515         done with the current function.
17516         * varasm.c (free_varasm_status): New function.
17517
17518 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
17519
17520         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
17521         (EXPAND_BUILTIN_VA_ARG): Define.
17522         * sparc.c (sparc_va_start): New.
17523         (sparc_va_arg): New.
17524
17525 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17526
17527         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
17528
17529 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17530
17531         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
17532
17533 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
17534
17535         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
17536         (OBJS): Add $(GGC).
17537         (ggc-callbacks.o): New target.
17538         * ggc-callbacks.c: New file.
17539
17540 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17541
17542         * expr.h: Collapse individual optab and libfunc vars to arrays.
17543         (optab_index, libfunc_index): New enumerations.
17544         (optab_table, libfunc_table): New arrays.
17545         Add accessor macros for both.
17546
17547         * optabs.c (optab_table, libfunc_table): New.
17548         Delete declarations for individual optab and libfunc vars.
17549
17550 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
17551
17552         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
17553
17554 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
17555
17556         * Makefile.in (GGC, GGC_LIB): New.
17557         (HOST_RTL): Include ggc-none.o.
17558         (ggc-simple.o): New target.
17559         (ggc-none.o): Likewise.
17560         * tree.h (tree_common): Add gc_mark.
17561         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
17562         (struct rtvec_def): Add gc_mark.
17563         * emit-rtl.c (global_rtl): Update static initializers to contain
17564         enough initializers.
17565         * ggc.h, ggc-none.c, ggc-simple.c: New files.
17566         * toplev.c (gc_time): New variable.
17567         (all_time): New variable.
17568         (compile_file): Print gc time.
17569         (print_time): Calculate percentage of the whole.
17570
17571 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17572
17573         Change obstack memory management and varasm constant pool handling so
17574         that nested functions are treated like any other functions.
17575         * function.c (init_machine_status): New variable.
17576         (push_function_context_to): Set contains_functions for the outer
17577         function.  Don't call save_varasm_status.
17578         (pop_function_context_from): Don't call restore_varasm_status.  Don't
17579         set current_function_contains_functions.
17580         (prepare_function_start): Call init_varasm_status rather than
17581         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
17582         is non-null.
17583         * function.h (struct function) Add field varasm.  Delete fields
17584         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
17585         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
17586         (init_machine_status): Declare.
17587         (save_varasm_status, restore_varasm_status): Delete declarations.
17588         (save_tree_status, restore_tree_status): Delete last argument.
17589         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
17590         code.  All callers changed.
17591         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
17592         save_constants_in_decl_trees, restore_constants, save_constants,
17593         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
17594         functions.
17595         (inlining): New variable.
17596         (reg_map, label_map, insn_map, orig_asm_operands_vector,
17597         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
17598         variables.
17599         (save_for_inline_nocopy): Don't save constants.
17600         Don't set inl_emit field in current_function.
17601         (expand_inline_function): Use emit field, not inl_emit, of the inlined
17602         function.  Set new variable inlining before
17603         calling copy_rtx_and_substitute.
17604         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
17605         constant pool references if inlining is nonzero.
17606         Delete ADDRESS and (most of the) CONST cases.
17607         (output_inline_function): Save and restore current_function/
17608         current_function_decl.  Delete restore_constants code.  Don't call
17609         init_const_rtx_hash_table.
17610         * output.h (init_const_rtx_hash_table): Don't declare.
17611         * rtl.h (struct function): Declare.
17612         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
17613         * toplev.c (rest_of_compilation): Don't treat nested functions or
17614         functions containing them specially.  Delete all code to deal with
17615         save_for_inline_copying.
17616         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
17617         inline_obstacks): Delete variables.
17618         (save_tree_status): Lose arg CONTEXT.  All callers changed.
17619         Simply allocate a new function_maybepermanent_obstack for the new
17620         function, delete all the special cases.
17621         Don't save inline_obstacks.
17622         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
17623         Delete special handling for function_maybepermanent_obstack; simply
17624         free it if empty.
17625         Don't restore inline_obstacks.
17626         (permanent_allocation):  Delete code that frees inline_obstacks.
17627         (print_inline_obstack_statistics): Delete function.
17628         (dump_tree_statistics): Don't call it.
17629         * varasm.c (struct varasm_status): New.
17630         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
17631         last_pool, pool_offset, const_double_chain): Delete global
17632         variables, replace with accessor macros.
17633         (immed_double_const): Don't walk const_double_chain outside a
17634         function, but don't treat nested functions specially anymore.
17635         (immed_real_const_1): Likewise.
17636         (clear_const_double_mem): Don't treat nested functions specially.
17637         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
17638         (save_varasm_status, restore_varasm_status): Delete functions.
17639         (init_varasm_status): New function.
17640         (force_const_mem): Don't treat nested functions specially.
17641         (find_pool_constant): Accept new arg F, search for constants in
17642         that function's pool rather than the current one.  All callers
17643         changed.
17644         (get_pool_constant_for_function, get_pool_mode_for_function): New
17645         functions.
17646
17647         * i386.c (init_386_machine_status): New function, mostly from
17648         clear_386_stack_locals.
17649         (struct machine_functions): Rename element names to avoid name
17650         clashes.
17651         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
17652         macros, replacing global variables.
17653         (clear_386_stack_locals, save_386_machine_status,
17654         restore_386_machine_status): Delete functions.
17655         (override_options): Initialize init_machine_status.
17656         * i386.h (INIT_EXPANDERS): Delete macro.
17657         (save_386_machine_status, restore_386_machine_status,
17658         clear_386_stack_locals): Delete declarations.
17659
17660 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17661
17662         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
17663         (doloop_begin):  Simplify pattern and use emit_jump_insn.
17664         (doloop_end): Simplify pattern, switch operand order,
17665         and use emit_jump_insn.
17666
17667 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
17668
17669         * function.h (struct function): Add new element LANGUAGE.
17670         (save_lang_status): Declare new variable.
17671         (restore_lang_status): Likewise.
17672         * function.c (save_lang_status): Define.
17673         (restore_lang_status): Likewise.
17674         (push_function_context_to): Call language-specific save function.
17675         (pop_function_context_from): Call language-specific restore function.
17676
17677 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
17678
17679         * i386.md (movsf_1): Check REG_P before use of REGNO.
17680         (movdf_1): Likewise.
17681         (movxf_1): Likewise.
17682         (extendsfdf2): Likewise.
17683         (extendsfxf2): Likewise.
17684         (extenddfxf2): Likewise.
17685
17686 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17687
17688         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
17689         constants into memory.
17690         (c4x_shiftable_constant): New function.
17691         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
17692         (c4x_shiftable_constant): Declare.
17693         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
17694         ashlqi3_noclobber): Add new patterns and associated splitters.
17695
17696 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
17697
17698         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
17699         * dwarf2out.c (dwarf2out_frame_init): Likewise.
17700         * final.c (shorten_branches): Likewise.
17701         * global.c (global_alloc): Likewise.
17702         * haifa-sched.c (build_control_flow): Likewise.
17703         * stmt.c (check_for_full_enumeration_handling): Likewise.
17704         (estimate_case_costs): Likewise.
17705
17706 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
17707
17708         * rtl.h (RTL_CHECKC2): Fix typo in last change.
17709
17710 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
17711
17712         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
17713         (recompute_reg_usage): Likewise.
17714         * rtlanal.c (find_regno_fusage): Likewise.
17715
17716         * rtl.c (rtl_check_failed_code1): New function.
17717         (rtl_check_failed_code2): New.
17718         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
17719         (RTL_CHECKC1, RTL_CHECKC2): New.
17720         (XC*): New accessor macros.
17721         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
17722         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
17723         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
17724         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
17725         (TRAP_*, RANGE_INFO_*): Likewise.
17726
17727 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17728
17729         * Makefile.in (tlink.o): Don't depend on toplev.h.
17730
17731         * collect2.c (c_file, o_file, export_file, import_file, ldout,
17732         output_file, nm_file_name, ldd_file_name, strip_file_name,
17733         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
17734         add_prefix, prefix_from_env, prefix_from_string, do_wait,
17735         fork_execute, maybe_unlink, add_to_list,
17736         extract_init_priority, write_list, dump_list,
17737         dump_prefix_list, write_list_with_asm, write_c_file,
17738         write_c_file_stat, write_c_file_glob, scan_prog_file,
17739         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
17740         ignore_library, extract_string, notice, dump_file, target_machine,
17741         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
17742         read_file, print_load_command): Constify a char*.
17743         (fdopen, error, fatal, fatal_perror): Don't prototype.
17744         (my_strerror): Remove.  All callers use xstrerror instead.
17745         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
17746         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
17747         to xcalloc/strcpy/strcat/...  to one call to concat.
17748         (main, scan_prog_file, scan_libraries): Use an intermediate
17749         `const char **' to build an argv array.
17750         (mapfile, libselect, libcompare, locatelib): Add prototypes.
17751
17752         * collect2.h (collect_execute, collect_wait, dump_file,
17753         file_exists): Constify a char*.
17754         (ldout, c_file_name, temporary_obstack, permanent_obstack,
17755         temporary_firstobj, vflag, debug): Add extern declarations.
17756         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
17757
17758         * tlink.c: Don't include toplev.h.
17759         (vflag, debug, ldout, c_file_name, temporary_obstack,
17760         permanent_obstack, temporary_firstobj): Don't declare.
17761         (tlink_execute, frob_extension, symbol_hash_lookup,
17762         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
17763         recompile_files, read_repo_files, demangle_new_symbols,
17764         scan_linker_output): Constify a char*.
17765         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
17766         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
17767
17768 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
17769
17770         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
17771         (relative) rather than jsr (absolute) subroutine call insns.
17772         * config/m68k/m68k-coff.h: Ditto.
17773
17774 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
17775
17776         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
17777         now rework these too.
17778         (arm_reorg): If an insn can't reach the end of the current pool,
17779         ensure that we emit that pool before the insn.
17780
17781 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
17782
17783         * tlink.c (scan_linker_output): Skip the initial underscore in
17784         a mangled name if appropriate.
17785
17786 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17787
17788         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
17789         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
17790         error_with_ivar, gen_declarator, create_builtin_decl,
17791         my_build_string, generate_descriptor_table, generate_ivars_list,
17792         generate_dispatch_table, check_protocols, TAG_GETCLASS,
17793         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
17794         dump_base_name, lang_decode_option, build_encode_expr,
17795         start_class, finish_class, encode_pointer, really_start_method,
17796         gen_declaration, dump_interface, handle_class_ref, handle_impent):
17797         Constify.
17798         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
17799         Add static prototypes.
17800         (build_objc_string_decl, build_selector_reference_decl,
17801         encode_bitfield, build_class_reference_decl): Remove unused
17802         parameter, all callers changed.
17803         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
17804         (objc_printable_name): Likewise.  Change second parameter to type int.
17805         (init_objc): Use memcpy, not bcopy, to avoid casts.
17806
17807 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
17808
17809         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
17810         reg notes on a deleted insn.
17811         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
17812
17813 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
17814
17815         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
17816
17817 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17818
17819         * stmt.c (expand_asm_operands): Fix index into inout_mode when
17820         reading it.
17821
17822 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
17823
17824         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
17825         * tm.texi (MD_ASM_CLOBBERS): Document it.
17826
17827 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
17828
17829         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
17830         * except.c (expand_rethrow): Remove unused variable.
17831         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
17832         * flow.c (replace_insns): Likewise.
17833         (create_edge_list, verify_edge_list): Likewise.
17834         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
17835
17836         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
17837         is special code to run.
17838         (main): Don't define operands to emit_operand.
17839         * genrecog.c (main): Don't emit an empty peephole2_insn function.
17840
17841         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
17842
17843         * alpha/alpha.h (normal_memory_operand): Declare.
17844         (reg_no_subreg_operand): Declare.
17845         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
17846
17847 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
17848
17849         * c-parse.in (compstmt_primary_start): New, broken out of first
17850         part of compstmt handling in primary.
17851         (primary): Use it.  Add an error clause.
17852         (compstmt_nostart): Renamed from compstmt; remove all
17853         initial invocations of compstmt_start.
17854         (compstmt): New.
17855
17856 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
17857
17858         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
17859         needed.
17860
17861 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
17862
17863         * combine.c (simplify_shift_const): Remove extra semicolon.
17864         * dwarf2out.c (remove_AT): Likewise.
17865         * expmed.c (expand_mult): Likewise.
17866         * gcov.c (create_program_flow_graph): Likewise.
17867         * reorg.c (mostly_true_jump): Likewise.
17868
17869 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
17870
17871         * fold-const.c (fold_range_test): Do not try to fold the range
17872         test if the rhs or lhs has side effects.
17873
17874         * combine.c (simplify_rtx): Recognize another case of a synthesized
17875         sign extension.
17876
17877         * varasm.c (mark_constant_pool): When marking indirect references,
17878         only look at SYMBOL_REFs.
17879
17880         * except.c (expand_fixup_region_end): Do not peek at
17881         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
17882
17883 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
17884
17885         * flags.h: New variables align_loops, align_loops_log,
17886         align_jumps, align_jumps_log, align_labels, align_labels_log,
17887         align_functions, align_functions_log.
17888         * toplev.c: Define them.
17889         (f_options): Handle -falign-* when they have no argument.
17890         (main): Add logic to set variables for -falign-functions,
17891         -falign-jumps, -falign-labels, -falign-loops.
17892         Make it -fsched-verbose=<n> and -finline-limit=<n>.
17893         (display_help): Change help to match options.
17894         * final.c (LABEL_ALIGN): Default to align_labels_log.
17895         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
17896         (LOOP_ALIGN): Default to align_loops_log.
17897         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
17898         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
17899         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
17900         * varasm.c (assemble_start_function): Handle align_functions.
17901
17902         * config/sparc/sparc.h: Don't declare sparc_align_*.
17903         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
17904         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
17905         sparc.c.
17906         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
17907         it's a promise.
17908         * config/sparc/sparc.c: Delete sparc_align_loops,
17909         sparc_align_jumps, sparc_align_funcs and the corresponding string
17910         variables.
17911         (sparc_override_options): Default align_functions on ultrasparc.
17912         Delete -malign-* handling.
17913
17914         * config/mips/mips.c (override_options):  On 64-bit targets,
17915         try to align code to 64-bit boundaries.
17916         (print_operand): New substitution, %~,
17917         which aligns labels to align_labels_log.
17918         * config/mips/mips.md (div_trap_normal): Use %~.
17919         (div_trap_mips16): Likewise.
17920         (abssi): Likewise.
17921         (absdi2): Likewise.
17922         (ffssi2): Likewise.
17923         (ffsdi2): Likewise.
17924         (ashldi3_internal): Likewise.
17925         (ashrdi3_internal): Likewise.
17926         (lshrdi3_internal): Likewise.
17927         (casesi_internal): Likewise.
17928
17929 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
17930
17931         Merge new ia32 backend from the branch!
17932
17933         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
17934         See ChangeLog.P2 on new_ia32_branch for details.
17935
17936         * rtl.h (stack_regs_mentioned_p): Delete prototype.
17937         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
17938         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
17939         * i386/gas.h (ASM_FILE_START): Define.
17940         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
17941         for name change of ix86_valid_decl_attribute_p.
17942         (i386_pe_valid_type_attribute_p): Similarly.
17943
17944 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
17945
17946         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
17947         to step through CC modes.
17948
17949 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17950
17951         * regmove.c (fixup_match_1): Don't move INSN in front of P if
17952         it would end up in the shadow of a live flags regsiter.
17953
17954 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17955
17956         * reload1.c: Fix many indentation problems.
17957         * reload.c: Likewise.
17958
17959 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
17960
17961         * alias.c (non_local_reference_p): Constify fmt.
17962
17963 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
17964
17965         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
17966
17967 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
17968
17969         * cse.c (delete_trivially_dead_insns): Do not delete stores to
17970         the internal_arg_pointer.
17971
17972 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
17973
17974         Merge peephole2 from new_ia32_branch:
17975         * Makefile.in (STAGESTUFF): Add *.peephole2.
17976         (mostlyclean): Likewise.
17977         (recog.o): Depend on resource.h.
17978
17979         * final.c (peephole): Conditionalize decl on HAVE_peephole.
17980         (final_scan_insn): Likewise for the invocation of peephole.
17981         * genconfig.c (main): Look for peephole and peephole2 patterns.
17982         Emit HAVE_peephole* accordingly.
17983         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
17984         * flags.h (flag_peephole2): Declare.
17985         * toplev.c: New pass peephole2.  New flag -fpeephole2.
17986
17987         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
17988         * gencodes.c (main): Likewise.
17989         * genextract.c (main): Likewise.
17990         * genoutput.c (main): Likewise.
17991         * genemit.c (max_operand_1): Look for the max scratch operand.
17992         (gen_rtx_scratch): New.
17993         (gen_exp): Use it, and pass on new arg subroutine_type.
17994         (gen_expand): Take max scratch into account.
17995         (gen_split): Emit peephole2 functions.
17996         (output_peephole2_scratch): New.
17997         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
17998         * genrecog.c (routine_type): Add PEEPHOLE2.
17999         (IS_SPLIT): New.
18000         (make_insn_sequence): Match outer parallel for peep2.  Discard
18001         top level scratches and dups.
18002         (add_to_sequence): New args insn_type and top.  Update all callers.
18003         Handle toplevel peep2 matching insns.
18004         (write_subroutine): Handle peep2.
18005         (write_tree_1): Likewise.
18006         (write_tree): Likewise.
18007         (main): Likewise.
18008         (change_state): New arg afterward.  Update all callers.
18009         Handle matching separate insns.
18010         * recog.c (recog_next_insn): New.
18011         (peephole2_optimize): New.
18012         * rtl.def (DEFINE_PEEPHOLE2): New.
18013         * resource.c (find_free_register): New argument last_insn.  Use it
18014         to find a register available through the entire span.
18015         * resource.h (find_free_register): Update prototype.
18016
18017 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
18018
18019         * i386.c (output_strlen_unroll): Don't write xops[7]
18020         label if it wasn't set.
18021
18022 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
18023
18024         * cpplib.c (struct directive): Const-ify name pointer and
18025         function pointer prototype.
18026         (validate_else, do_define, do_line, do_include, do_undef,
18027         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
18028         do_elif, do_endif, do_sccs, do_assert, do_unassert,
18029         do_warning): Const-ify second arg.
18030         (directive_table): Mark const.  Reorder entries by frequency
18031         of usage, record statistics.
18032
18033 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
18034
18035         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
18036         bounds- check RTL accesses if --enable-checking.
18037         (RTVEC_ELT): Bounds check if --enable-checking.
18038         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
18039         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
18040         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
18041         GET_NUM_ELEM.
18042         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
18043         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
18044
18045         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
18046         (NOTE_SOURCE_FILE): Use X0STR.
18047         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
18048         MEM_ALIAS_SET): Use X0INT.
18049         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
18050         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
18051         Use X0EXP.
18052         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
18053         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
18054         (rtl_check_failed_bounds, rtl_check_failed_type1,
18055         rtl_check_failed_type2, rtvec_check_failed_bounds): New
18056         functions.
18057         (fancy_abort): Fix comment.
18058
18059         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
18060         (cse_insn): Decrement LABEL_NUSES for jump target before
18061         deleting jump insn.
18062         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
18063         * final.c (alter_subreg): Compute regno before changing x to
18064         REG; set REGNO(x) after changing it.
18065         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
18066         notes containing CONST_INTs.
18067         (delete_eh_regions): Use NOTE_EH_HANDLER.
18068         * function.c (put_reg_into_stack): Make reg a MEM before
18069         initializing it.
18070         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
18071         delete insn.
18072         (gen_mem_addressof): Make reg a MEM before initializing it.
18073         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
18074         X0WINT.
18075         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
18076         deleting an insn, not after.
18077         (block_alloc): Only look at PATTERN(insn) if we have to, and
18078         only if it's format class 'i'.
18079         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
18080         CONST_INT before using its INTVAL.
18081         * print-rtl.c (print_rtx): Use X0STR.
18082         * regmove.c (fixup_match_1): Don't look at PATTERN of
18083         non-class-'i' insn chain elements.
18084         * reload.c (loc_mentioned_in_p): Take address of
18085         in->fld[1].rtx directly.
18086         * reload1.c (reload): Change reg to a MEM before initializing
18087         it.
18088         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
18089         have no names.
18090         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
18091
18092 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
18093
18094         * config/mips/mips.c (machine_dependent_reorg): Force a
18095         barrier to output the local constant pool if a barrier hasn't
18096         been found at a natural point in the instruction stream.
18097
18098 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18099
18100         * c-parse.in (language_string): Constify.
18101
18102         * dwarf2out.c (language_string): Remove declaration.
18103
18104         * dwarfout.c (language_string): Likewise.
18105
18106         * toplev.c (language_string, init_parse, finish_parse): Likewise.
18107
18108         * tree.h (language_string, init_parse, finish_parse): Declare.
18109
18110         * i386/sun386.h (language_string): Remove declaration.
18111
18112         * mips.h (language_string): Likewise.
18113
18114         * nextstep.h (language_string): Likewise.
18115
18116         * nextstep21.h (language_string): Likewise.
18117
18118         * rs6000.c (language_string): Likewise.
18119
18120 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18121
18122         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
18123         (getpwd.o): Remove target.
18124
18125         * getpwd.c: Delete file.  Its in libiberty now.
18126
18127         * dbxout.c (getpwd): Don't prototype.
18128         * dwarf2out.c (getpwd): Likewise
18129         * dwarfout.c (getpwd): Likewise
18130         * final.c (getpwd): Likewise.
18131         * protoize.c (getpwd): Likewise.
18132
18133 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18134
18135         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
18136
18137 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
18138
18139         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
18140         mark_set_resources.
18141
18142 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
18143
18144         * fixinc/Makefile.in (subdir): New.
18145         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
18146         (Makefile): New.
18147
18148 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
18149
18150         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
18151         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
18152         be shared.
18153
18154         * invoke.texi: Fix typo.
18155
18156         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
18157         changed.  Handle autoincrement addressing modes.
18158
18159         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
18160         just like we would the virtual incoming args register when
18161         integrating.
18162
18163 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
18164
18165         * rs6000.h (ASM_FILE_START): Specify complete filename, including
18166         path, in .file directive.
18167
18168 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
18169
18170         * gcc.texi (External Bugs): Remove obsolete note about Perl on
18171         SunOS.
18172
18173 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
18174
18175         * stdbool.h: Make the typedef name _Bool, with bool a #defined
18176         alias.
18177
18178 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18179
18180         * tree.c (tree_code_name): Constify a char*.
18181
18182         * tree.h (tree_code_name, decl_printable_name): Likewise.
18183
18184         * function.h (struct function): Likewise.
18185
18186         * toplev.c (decl_name, decl_printable_name): Likewise.
18187
18188         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
18189
18190         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
18191         (init_objc): Remove function pointer cast.
18192
18193 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
18194
18195         * pa.md (interspace_jump): New pattern.
18196         (builtin_longjmp): New expander.
18197
18198 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
18199
18200         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
18201         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
18202         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
18203
18204 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
18205
18206         * jump.c (delete_prior_computation): Also check calls
18207         to constant functions.  Don't bother checking for a
18208         REG_UNUSED note before adding it.
18209         (delete_computation): Handle multi-word hard registers
18210         when synthesizing missing REG_DEAD notes for a register
18211         which is both set and used by an insn.
18212
18213 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18214
18215         * loop.c (this_loop_info): New variable.
18216         (loop_has_call, loop_has_volatile, loop_has_tablejump,
18217         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
18218         All uses updated.
18219         (prescan_loop, strength_reduce): New argument loop_info.  All callers
18220         updated.
18221         (scan_loop): New variable loop_info, initialise to address of
18222         this_loop_info.
18223         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
18224         Delete variable loop_has_multiple_exit targets and replace with
18225         field in this_loop_info.
18226         (find_and_verify_loops): Rename this_loop to this_loop_num.
18227         (strength_reduce): Delete loop_iteration_info.  Replace variable
18228         loop_info with function argument of same name.
18229         (insert_bct): Rework test for loop being completely unrolled.
18230
18231         * loop.h (struct loop_info): New fields num, loops_enclosed,
18232         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
18233         has_indirect_jump, and cont.  Redefine use of unroll_number.
18234         (loop_unroll_number): Delete.
18235
18236         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
18237         field of loop_info.
18238         (loop_iterations): Delete variable vtop and instead use
18239         loop_info->vtop computed in prescan_loop.
18240
18241 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
18242
18243         * fix-header.c (main): Do not pass a null pointer to strcmp.
18244
18245 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
18246
18247         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
18248         filenames.
18249         * configure: Rebuilt.
18250
18251 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
18252
18253         * jump.c (jump_optimize_1): Do not delete assignments to
18254         internal_arg_pointer.
18255         * cse.c (delete_trivially_dead_insns): Always consider a set of
18256         the internal_arg_pointer live.
18257
18258 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
18259
18260         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
18261         (update_life_info) [REG_WAS_0]: Search the original insns rather
18262         than the new insns for the note.  Fix typos finding note_dest.
18263         If no dest found, discard the note rather than abort.
18264         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
18265         (replace_insns): Remove the old insn list after update_life_info
18266         not before.
18267
18268 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
18269
18270         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
18271         sched_analyze_insn.
18272         (sched_analyze_1): Let add_dependence care for not adding dups.
18273         (sched_analyze_2): Likewise.
18274         (add_branch_dependences): Likewise.
18275
18276 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18277
18278         * i386/winnt.c (export_list): New type.
18279         (exports_head): Rename to
18280         (export_head):  this.
18281         (i386_pe_record_exported_symbol): Add is_data flag.
18282         (i386_pe_asm_file_end): Emit directive for exported variables.
18283         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
18284         prototype.
18285         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
18286         (ASM_DECLARE_OBJECT_NAME): Likewise.
18287         (ASM_DECLARE_FUNCTION_NAME): Likewise.
18288         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
18289
18290 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
18291
18292         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
18293
18294         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
18295         operand.
18296
18297 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
18298
18299         * config/openbsd.h: Define SET_ASM_OP.
18300         * tm.texi: cross-reference SET_ASM_OP in the index.
18301
18302 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
18303
18304         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
18305         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
18306         and class_narrowest_mode at compile time.  Kill init_rtl.
18307         Mark rtx_length, mode_class, mode_size, mode_unit_size,
18308         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
18309         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
18310         EXTRA_CC_NAMES.
18311         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
18312         format.
18313         * rtl.h: Declare rtx_length and rtx_format as const.
18314         * machmode.def: Define CC().  Use CC() to define CCmode.  If
18315         EXTRA_CC_MODES is defined, expand it here.
18316         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
18317         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
18318         const.  Kill all references to EXTRA_CC_MODES.
18319
18320         * toplev.c: Don't prototype or call init_rtl.
18321         * optabs.c: Don't call init_mov_optab.
18322         * genemit.c: Don't generate init_mov_optab.  Don't call
18323         init_rtl.
18324         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
18325         here.
18326         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
18327         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
18328         genrecog.c: Don't call init_rtl.
18329
18330         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
18331         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
18332         definition of EXTRA_CC_MODES.
18333
18334         * md.texi: Kill ref to EXTRA_CC_NAMES.
18335         * tm.texi: Document new way to define EXTRA_CC_MODES.
18336
18337         * genrecog.c: Do not look up the name of a define_split.
18338         (Unrelated bugfix.)
18339
18340 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
18341
18342         * config/v850/v850.md: Fix typo introduced by previous delta.
18343
18344 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18345
18346         * gcc.c (fatal): Make definition static to match prototype.
18347
18348 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18349
18350         * combine.c (get_last_value): Don't look for earlier sets if the last
18351         known set is somewhere in between the insns being combined.
18352
18353 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
18354
18355         * configure.in: Don't use shell ! to negate exit codes
18356         * configure: Regenerate
18357
18358 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
18359
18360         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
18361         the fact that ALIGN is measured in bits, not bytes.
18362
18363 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
18364
18365         * errors.c: New file; defines functions error, warning, and
18366         fatal, variables have_error and progname.
18367         * errors.h: New file; prototypes and decls for stuff in errors.c.
18368
18369         * Makefile: Add rules to build errors.o and
18370         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
18371         genopinit, genrecog, genextract, genpeep, genattr, and
18372         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
18373         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
18374         genpeep.o, genattr.o, and genoutput.o.
18375
18376         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
18377         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
18378         define or prototype fatal.  Set progname at beginning of main.
18379         * genoutput.c:  Likewise, and don't define or prototype error
18380         either.
18381
18382         * c-typeck.c (c_expand_start_case): Return immediately if exp
18383         is an ERROR_MARK.
18384         * fold-const.c (operand_equal_p): Return immediately if arg1
18385         or arg0 are ERROR_MARKs.
18386         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
18387         fields of type ERROR_MARK when calculating if the record can
18388         go in a register.
18389
18390 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
18391         with much help from Jeffrey A Law and Richard Henderson
18392
18393         * i386.md: In the 6 insns which call output_fix_trunc,
18394         earlyclobber operands[0].
18395
18396 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
18397
18398         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
18399         creating new registers.
18400
18401 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
18402
18403         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
18404         i386_reg_alloc_order, i386_regparm_string,
18405         i386_align_loops_string, i386_align_jumps_string,
18406         i386_align_funcs_string, i386_preferred_stack_boundary_string,
18407         and i386_branch_cost_string as type "const char *".
18408         * i386.c: Define all above strings as type "const char *".
18409
18410 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
18411
18412         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
18413         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
18414
18415 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
18416
18417         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
18418         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
18419
18420 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
18421
18422         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
18423         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
18424         (dwarf2out_line, dwarf2out_finish): Likewise.
18425         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
18426
18427 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18428
18429         * tree.c (lang_unsave_expr_now) : Correct return type.
18430         * tree.h (lang_unsave_expr_now) : Same.
18431
18432 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
18433
18434         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
18435         instead of duplicating code.
18436
18437 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18438
18439         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
18440
18441 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
18442
18443         * tree.h: fancy_abort always takes three args.
18444         * resource.c: Move include of system.h before toplev.h.
18445
18446 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
18447
18448         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
18449         as SYMBOL_REFs.
18450
18451 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
18452
18453         * system.h: Don't redefine abort or trim_filename.
18454         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
18455         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
18456         whether or not __FUNCTION__ is available.
18457         * tree.h: Duplicate rtl.h's definition of abort, for files
18458         that don't include rtl.h.  Delete all code to perform type
18459         checking with a compiler other than GCC.
18460         * varray.h: Delete all code to perform type checking with a
18461         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
18462         its arguments exactly once, using a statement expression.
18463         Adjust the VARRAY_<type> accessor macros to match.
18464         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
18465         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
18466         caller's location.  Define fatal_insn and fatal_insn_not_found
18467         as macros that use _fatal_insn and _fatal_insn_not_found.
18468         (fancy_abort, trim_filename): Kill prototypes.
18469
18470         * rtl.c (trim_filename): Move here from toplev.c.
18471         (fancy_abort): New function.
18472         (DIR_SEPARATOR): Provide default definition.
18473         * tree.c (tree_check_failed, tree_class_check_failed): Go
18474         through fancy_abort.
18475         (tree_check, tree_class_check, cst_or_constructor_check,
18476         expr_check): Delete.
18477         * varray.c (varray_check_failed): New function.
18478         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
18479         _fatal_insn and _fatal_insn_not_found.  Go through
18480         fancy_abort.
18481         (trim_filename, fancy_abort): Delete.
18482
18483         * builtins.c (expand_builtin_args_info): Report ICE with abort.
18484         * except.c (start_catch_handler): Report ICE with error/abort
18485         combo.
18486         * final.c (output_operand_lossage): Likewise.
18487         * flow.c (verify_flow_info): Likewise.
18488
18489         * gcc.c: Prototype fatal.
18490         * gengenrtl.c: Undef abort after including rtl.h not system.h.
18491         * genattr.c, genattrtab.c, genemit.c, genextract.c,
18492         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
18493         Don't define fancy_abort.
18494
18495 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
18496
18497         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
18498         canonization.
18499
18500 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
18501
18502         * m88k.h (VERSION_INFO2): Kill.
18503         (VERSION_STRING): Kill.
18504         (TM_RCS_ID): Kill.
18505         (VERSION_INFO1): Tidy.
18506         (TARGET_VERSION): Update.
18507         * m88k/dgux.h (VERSION_INFO2): Kill.
18508         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
18509         * m88k/luna.h (VERSION_INFO1): Tidy.
18510         * m88k/sysv4.h (VERSION_INFO1): Likewise.
18511         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
18512         (output_file_start): Adjust for death of VERSION_STRING.
18513
18514 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
18515
18516         * cpplib.c (detect_if_not_defined): New function.
18517         (do_if): Use it to detect potential once-only headers.
18518
18519 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
18520
18521         * c-common.c (combine_strings): Always set TREE_CONSTANT.
18522
18523 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18524
18525         * combine.c (nonzero_bits) : Allow single-ly set registers to be
18526         anywere in the function only if they are pseudos and set before
18527         being used (not live at the start of the function).
18528         (num_sign_bit_copies) : Same.
18529         (get_last_value_validate) : Same.
18530         (get_last_value) : Same.
18531
18532 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
18533
18534         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
18535         where N and M are constant and N is an integer multiple of M.
18536
18537 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18538
18539         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
18540         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
18541         sbitmap_union_of_preds): Add prototypes.
18542         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
18543         the intersection of successors with the new flow graph structures.
18544         (sbitmap_intersection_of_preds): New function to compute the
18545         intersection of predecessors with the new flow graph structures.
18546         (sbitmap_union_of_succs): New function to compute the union of
18547         successors with the new flow graph structures.
18548         (sbitmap_union_of_preds): New function to compute the union of
18549         predecessors with the new flow graph structures.
18550         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
18551         (expr_reaches_here_p): Use edge and basic_block structures instead
18552         of s_preds and s_succs.
18553         (compute_cprop_avinout): Use new sbitmap routines.
18554         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
18555         of s_preds and s_succs.
18556         * flow.c (compute_flow_dominators): Compute dominators using
18557         edges and basic blocks instead of s_preds and s_succs.
18558
18559 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
18560
18561         * lists.c (unused_insn_list, unused_expr_list): New file for
18562         maintaining various types of lists. New statics for maintaining a
18563         cache of available INSN_LIST and EXPR_LIST nodes.
18564         (free_list): Static function for freeing a list of INSN/EXPR nodes.
18565         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
18566         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
18567         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
18568         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
18569         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
18570         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
18571         (free_INSN_LIST_node): Free an individual INSN_LIST node.
18572         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
18573         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
18574         (remove_dependence, free_pending_lists): Use new global routines.
18575         (flush_pending_lists, sched_analyze_insn): Use new global routines.
18576         (sched_analyze, compute_block_backward_dependences): Use new routines.
18577         (sched_analyze_1, sched_analyze_2): Use new routines.
18578         (schedule_insns): Use new global routines.
18579         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
18580         prototypes.
18581         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
18582         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
18583         prototypes.
18584         * toplev.c (rest_of_compilation): Initialize node cache.
18585         * Makefile.in (OBJS): Add lists.o to list of object files.
18586         (lists.o): Add dependancies.
18587
18588 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
18589
18590         * config/v850/v850.md: Fix compile time warning messages.
18591         * config/v850/v850.c: Fix compile time warning messages.
18592         * config/v850/v850.h: Fix compile time warning messages.
18593
18594 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18595
18596         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
18597         Remove unused prototype for `init_lengths'.
18598
18599 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18600
18601         * calls.c (emit_call_1): Mark parameter `stack_size' with
18602         ATTRIBUTE_UNUSED.
18603         (expand_call): Initialize variable `insn'.
18604         (emit_library_call): Likewise for variable `high_to_save'.
18605         (emit_library_call_value): Likewise.
18606         (store_one_arg): Likewise for variables `lower_bound' and
18607         `upper_bound'.
18608
18609         * combine.c (try_combine): Likewise for variables `i2_code_number'
18610         and `other_code_number'.
18611         (find_split_point): Likewise for variables `pos', `unsignedp' and
18612         `inner'.
18613         (simplify_if_then_else): Likewise for variables `op' and `c1'.
18614         (simplify_and_const_int): Remove unused variable `width'.
18615         (merge_outer_ops): Likewise.
18616
18617         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
18618         HOST_WIDE_INT' when comparing against one.
18619         (simplify_relational_operation): Likewise.
18620         (cse_insn): Initialize variables `src_eqv_volatile',
18621         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
18622
18623         * final.c (init_final): Constify parameter `filename'.
18624         (final_start_function): Mark parameter `optimize' with
18625         ATTRIBUTE_UNUSED.
18626         (profile_function): Likewise for parameters `first' and `optimize'.
18627         (output_source_line): Likewise for parameter `file'.
18628
18629         * integrate.c (subst_constants): Cast a value to `size_t' when
18630         comparing against one.
18631         (mark_stores): Initialize variable `mode'.  Cast a value to
18632         `size_t' when comparing against one.
18633
18634         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
18635
18636         * loop.c (move_movables): Initialize variable `first'.
18637         (strength_reduce): Likewise for variable `increment'.
18638         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
18639         value to `size_t' when comparing against one.
18640         (load_mems): Initialize variable `end_label'.
18641
18642         * output.h (init_final): Constify parameter.
18643
18644         * reload.c (decompose): Initialize variable `base'.
18645
18646         * reload1.c (reload): Likewise for variable `is_scalar'.
18647         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
18648         (choose_reload_regs): Initialize variable `mode'.
18649         (emit_reload_insns): Likewise for variable `store_insn'.
18650         (reload_cse_noop_set_p): Mark parameter `insn' with
18651         ATTRIBUTE_UNUSED.
18652         (reload_combine): Initialize variable `set'.
18653
18654         * unroll.c (unroll_loop): Likewise for variable `local_label'.
18655         (copy_loop_body): Cast a value to `size_t' when comparing against
18656         one.
18657
18658         * varasm.c (assemble_variable): Initialize variable `size_tree'.
18659         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
18660         (remove_from_pending_weak_list): Mark parameter `name' with
18661         ATTRIBUTE_UNUSED.
18662
18663 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18664
18665         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
18666         gcse dump file.
18667
18668 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
18669
18670         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
18671         (ASM_DECLARE_FUNCTION_NAME): Define.
18672         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
18673         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
18674         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
18675         not already defined.
18676
18677 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
18678
18679         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
18680         of n_popped when call/call_value are not defined.
18681
18682 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
18683
18684         * tm.texi: GNU CC -> GCC conversion.
18685         (CC1_SPEC): Indicate it is used for all language front ends.
18686
18687 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
18688
18689         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
18690         NOTE_INSN_EH_REGION_END correctly.
18691
18692 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
18693                           Jeff Law <law@cygnus.com>
18694
18695         * loop.c (strength_reduce): Automatically unroll loops if the
18696         unrolled loop size is smaller than the rolled loop size.
18697
18698         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
18699         and delete comment that code should be rewritten.
18700
18701 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
18702
18703         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
18704         as reachable.
18705
18706         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
18707
18708 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
18709
18710         * fixinc/mkfixinc.sh: Don't fix uwin headers.
18711         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
18712         (LINK_SPEC): Add -u _main when building executables.
18713         (ASM_DECLARE_FUNCTION): Update from Cygwin.
18714         (ASM_FILE_END): Use the default for ix86-pe.
18715         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
18716
18717 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
18718
18719         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
18720         and ASM_CLOSE_PAREN are empty strings.
18721
18722 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
18723                           Geoffrey Keating <geoffk@cygnus.com>
18724
18725         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
18726         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
18727         (unprotoize.o): Ditto.
18728         (test-protoize-simple): Don't define STD_PROTO_DIR.
18729         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
18730         changes to make 'test-protoize-simple' pass.
18731         (STD_PROTO_DIR): Remove define.
18732         (STANDARD_EXEC_PREFIX): Supply default define.
18733         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
18734         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
18735         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
18736         (GET_ENV_PATH_LIST): New macro.
18737         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
18738         (do_processing): Initialize default_syscalls_dir using new
18739         macros.  Use it to initialize syscalls_absolute_filename.
18740
18741 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
18742
18743         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
18744         B into a register before emit_conditional_move.
18745
18746 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
18747
18748         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
18749         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
18750         multiplicand out of (+ (* a b) (* c d)).
18751
18752 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
18753                           Richard Henderson  <rth@cygnus.com>
18754
18755         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
18756         (new_insn_dead_notes): Likewise.
18757         (update_n_sets): Likewise.
18758         (update_flow_info): Move to flow.c, renamed to update_life_info;
18759         extend to handle multiple source insns.
18760         * flow.c: Include resource.h
18761         (unlink_insn_chain): New.
18762         (split_hard_reg_notes): New.
18763         (maybe_add_dead_note): New.
18764         (maybe_add_dead_note_use): New.
18765         (find_insn_with_note): New.
18766         (new_insn_dead_notes): New.
18767         (update_n_sets): New.
18768         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
18769         (maybe_remove_dead_notes): New.
18770         (update_life_info): New.
18771         (prepend_reg_notes): New.
18772         (replace_insns): New.
18773         * output.h (update_life_info): Declare.
18774         * recog.c (split_block_insns): Use update_life_info.
18775         * resource.c (find_free_register): Use reg_alloc_order, don't use
18776         fixed regs, make sure the mode is supported, don't use new regs.
18777         (reg_dead_p): New.
18778         * rtl.h (replace_insns): Declare.
18779
18780 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
18781
18782         * expr.c (expand_expr): Cope with COND_EXPRs with one
18783         non-returning branch.
18784
18785 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
18786
18787         * expr.c (store_expr): Always pass down the target, even when not
18788         doing CSE.
18789
18790 1999-08-24  Nick Clifton  <nickc@cygnus.com>
18791
18792         * configure.in: Define target_cpu_default for v850 targets.
18793         * configure: Regenerate
18794
18795         * config/v850/v850.h (TARGET_CPU_generic): Define.
18796         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
18797         addresses are 4 byte aligned.
18798
18799         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
18800         addresses.
18801
18802 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18803
18804         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
18805         (main): Add prototypes.
18806
18807         * genattrtab.c (substitute_address, write_const_num_delay_slots,
18808         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
18809         (write_attr_get): Emit prototypes along with function definition.
18810         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
18811         (write_complex_function): Emit static prototype along with
18812         function definition.
18813
18814         * genemit.c (gen_split): Emit prototypes along with function
18815         definition.
18816
18817         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
18818         Likewise for predicates and `insn_operand_predicate'.
18819         (process_template): Emit static prototype along with function
18820         definition.
18821
18822         * genrecog.c (make_insn_sequence): Constify a char*.  Add
18823         prototypes for get_split_*().
18824         (write_subroutine): Emit prototypes along with function
18825         definition.
18826
18827 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18828
18829         * gcse.c (find_avail_set): Follow chains of register-register copies.
18830         Use oprs_not_set_p to guarantee that the returned value can be
18831         substituted.
18832         (cprop_insn): Don't verify the return value of find_avail_set with
18833         oprs_not_set_p.
18834
18835         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
18836         (cprop_cc0_jump): New function.
18837         (cprop_insn): Break out new function cprop_jump and use it.
18838         Also use cprop_cc0_jump for machines with CC0.
18839         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
18840
18841         * tree.h (current_function_calls_setjmp,
18842         current_function_calls_longjmp): Delete declarations.
18843         * dsp16xx.c: Include "function.h".
18844         * elxsi.c: Likewise.
18845         * gmicro.c: Likewise.
18846         * h8300.c: Likewise.
18847         * i370.c: Likewise.
18848         * m32r.c: Likewise.
18849         * mn10200.c: Likewise.
18850         * mn10300.c: Likewise.
18851         * ns32k.c: Likewise.
18852         * spur.c: Likewise.
18853         * v850.c: Likewise.
18854
18855         * rtl.h (rtx_equal_function_value_matters): Declare.
18856         * toplev.c (rtx_equal_function_value_matters): Don't declare.
18857         * cse.c: Likewise.
18858         * function.c: Likewise.
18859         * emit-rtl.c: Likewise.
18860
18861 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
18862
18863         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
18864         call.
18865
18866 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18867
18868         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
18869         exactly.
18870
18871 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
18872
18873         * cpp.texi: Add a node documenting macro varargs (copied
18874         from extend.texi).
18875
18876 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
18877
18878         * cppspec.c: Put a null pointer at the end of the new argv.
18879
18880 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
18881
18882         * configure.in: Remove code to select/de-select the haifa
18883         scheduler.  Every scheduled port gets haifa now.
18884         * configure: Rebuilt.
18885         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
18886         * sched.c Deleted.
18887         * Makefile.in: Corresponding changes.
18888
18889 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18890
18891         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
18892         All callers changed.
18893         (prepare_float_lib_cmp): Likewise.
18894         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
18895         * expr.h (emit_float_lib_cmp): Delete declaration.
18896         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
18897         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
18898         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
18899         specially.
18900         (cmptf): Now conditional on TARGET_HARD_QUAD.
18901
18902 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
18903
18904         * resource.c (mark_target_live_regs): Use
18905         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
18906
18907 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18908
18909         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
18910
18911         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
18912
18913         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
18914
18915 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18916
18917         * rtl.h (rtx_format): Constify a char*.
18918
18919         * rtl.c (rtx_format): Likewise.
18920         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
18921         (init_rtl): Use accessor macro, not `rtx_format'.
18922
18923         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
18924         char*.
18925
18926         * caller-save.c (mark_referenced_regs): Likewise.
18927
18928         * combine.c (subst, make_compound_operation, known_cond,
18929         gen_rtx_combine, update_table_tick, get_last_value_validate,
18930         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
18931
18932         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
18933         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
18934         count_reg_usage): Likewise.
18935
18936         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
18937         Likewise.
18938
18939         * final.c (leaf_renumber_regs_insn): Likewise.
18940
18941         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
18942         dump_edge_info, count_reg_references): Likewise.
18943
18944         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
18945         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
18946         Likewise.
18947
18948         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
18949         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
18950         add_label_notes): Likewise.
18951
18952         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
18953         clear_struct_flag, count_sub_rtxs, count_alternatives,
18954         compares_alternatives_p, contained_in_p, walk_attr_value,
18955         write_expr_attr_cache): Likewise.
18956
18957         * genconfig.c (walk_insn_part): Likewise.
18958
18959         * genemit.c (max_operand_1, gen_exp): Likewise.
18960
18961         * genextract.c (walk_rtx): Likewise.
18962
18963         * genflags.c (num_operands): Likewise.
18964
18965         * genoutput.c (scan_operands): Likewise.
18966
18967         * genpeep.c (match_rtx): Likewise.
18968
18969         * genrecog.c (add_to_sequence): Likewise.
18970
18971         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
18972         Likewise.
18973
18974         * integrate.c (save_constants, copy_for_inline,
18975         copy_rtx_and_substitute, subst_constants, restore_constants):
18976         Likewise.
18977
18978         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
18979         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
18980
18981         * local-alloc.c (contains_replace_regs, memref_referenced_p):
18982         Likewise.
18983
18984         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
18985         add_label_notes, replace_call_address, count_nonfixed_reads,
18986         invariant_p, find_single_use_in_loop, find_mem_givs,
18987         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
18988         Likewise.
18989
18990         * print-rtl.c (reg_names, print_rtx): Likewise.
18991
18992         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
18993
18994         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
18995         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
18996         print_blocks): Likewise.
18997
18998         * regclass.c (fix_register, record_address_regs,
18999         reg_scan_mark_refs): Likewise.
19000
19001         * regmove.c (stable_but_for_p): Likewise.
19002
19003         * reload.c (loc_mentioned_in_p, operands_match_p,
19004         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
19005         copy_replacements, refers_to_regno_for_reload_p,
19006         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
19007         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
19008         Likewise.
19009
19010         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
19011         delete_address_reloads_1, count_occurrences,
19012         reload_cse_mem_conflict_p, reload_combine_note_use,
19013         add_auto_inc_notes): Likewise.
19014
19015         * resource.c (mark_referenced_resources, mark_set_resources):
19016         Likewise.
19017
19018         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
19019         reg_mentioned_p, regs_set_between_p, modified_between_p,
19020         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
19021         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
19022         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
19023         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
19024
19025         * sched.c (sched_analyze_2, attach_deaths): Likewise.
19026
19027         * stupid.c (stupid_mark_refs): Likewise.
19028
19029         * unroll.c (remap_split_bivs): Likewise.
19030
19031         * varasm.c (mark_constants): Likewise.
19032
19033         * a29k/a29k.c (uses_local_reg_p): Likewise.
19034
19035         * alpha/alpha.c (summarize_insn): Likewise.
19036
19037         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
19038         eliminate_lr2ip): Likewise.
19039
19040         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
19041
19042         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
19043         reg_mentioned_in_mem): Likewise.
19044
19045         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
19046         symbolic_reference_mentioned_p): Likewise.
19047
19048         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
19049
19050         * sh/sh.c (regs_used, mark_use): Likewise.
19051
19052         * vax/vax.c (vax_rtx_cost): Likewise.
19053
19054 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19055
19056         * machmode.h (mode_name): Constify a char*.
19057
19058         * rtl.c (mode_name): Likewise.
19059
19060         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
19061
19062         * optabs.c (init_libfuncs): Constify a char*.
19063
19064         * print-tree.c (mode_name): Remove redundant declaration.
19065         (print_node): Use accessor macro, not `mode_name'.
19066
19067         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
19068         not `mode_name'.
19069         (new_spill_reg): Constify a char*.
19070
19071         * tree.c (mode_name): Remove redundant declaration.
19072
19073 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19074
19075         * rtl.c (rtx_name): Constify a char*.
19076
19077         * rtl.h (rtx_name, fix_sched_param): Likewise.
19078
19079         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
19080         (mypr): Use accessor macro, not `rtx_name'.
19081
19082         * genemit.c (print_code): Constify a char*.
19083
19084         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
19085
19086         * genpeep.c (print_code): Constify a char*.
19087
19088         * genrecog.c (print_code): Likewise.
19089
19090         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
19091         end_bb): Add static prototype.
19092         (draw_edge): Constify a char*.
19093         (end_bb): Remove unused parameter.
19094
19095         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
19096         print_block_visualization): Constify a char*.
19097
19098 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
19099
19100         * c-common.c (c_get_alias_set): Update comment.
19101
19102 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19103
19104         * linux.h (LIB_SPEC): Added.
19105
19106 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19107
19108         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
19109
19110 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
19111
19112         * tree.c (expr_check): Fix typo in last change.
19113
19114 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
19115
19116         * rtl.def (NOTE): Change format to "iuu0n".
19117         (ADDR_DIFF_VEC): Change format to "eEee0".
19118         (ADDRESSOF): Change format to "eit".
19119
19120         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
19121         (RTVEC_ELT): Change to match.
19122         (XVECEXP): Use XVEC and RTVEC_ELT.
19123         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
19124         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
19125         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
19126         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
19127         TRAP_CONDITION, TRAP_CODE): Use XEXP.
19128         (INTVAL): Use XWINT.
19129         (ADDRESSOF_DECL): Use XTREE.
19130         (SET_ADDRESSOF_DECL): Delete.
19131         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
19132         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
19133         ifdefed out since 2.6 at least.
19134         (gen_rtvec_vv): Delete prototype.
19135
19136         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
19137         not rtunion.
19138         (copy_most_rtx): Handle 't' format letter.
19139         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
19140         (gen_rtvec_vv): Delete function.  All callers changed to use
19141         gen_rtvec_v instead.
19142         * print-rtl.c (print_rtx): Move special casing of NOTEs to
19143         the '0' format letter.
19144
19145         * function.c (gen_mem_addressof): Don't use
19146         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
19147         instead.
19148         * integrate.c (copy_rtx_and_substitute): Likewise.
19149         Copy 't' slots with XTREE.
19150         (subst_constants): Treat 't' slots like '[swi]' slots.
19151         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
19152         * jump.c (rtx_equal_for_thread_p): Likewise.
19153         * rtlanal.c (rtx_equal_p): Likewise.
19154         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
19155         only four arguments.
19156         * gengenrtl.c (type_from_format): Provide correct types for
19157         'b' and 't' slots.
19158
19159
19160         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
19161         If a recent gcc is in use (always in stage2 and beyond), use
19162         statement expressions, so we don't make a function call unless
19163         the check fails.  Evaluate arguments exactly once.
19164         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
19165         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
19166         Delete.
19167         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
19168         they evaluate their arguments exactly once, irrespective of
19169         the compiler in use.
19170
19171         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
19172         is used by the currently-enabled check macros.  This is:
19173         (tree_check_failed, tree_class_check_failed): For gcc.
19174         (tree_check, tree_class_check, cst_or_constructor_check,
19175         expr_check): For other compilers.
19176
19177         * gencheck.c: Do not define any *_CHECK1 macros.
19178
19179 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
19180                           Mark Mitchell <mark@codesourcery.com>
19181
19182         * c-common.c (c_get_alias_set): Fix support for poitners and
19183         references.
19184
19185 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
19186
19187         * alias.c: Include tree.h.
19188         (nonlocal_reference_p, mark_constant_function): New functions.
19189         * flow.c (life_analysis): Call mark_constant_function.
19190         * rtl.h (mark_constant_function): Declare it.
19191
19192 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
19193
19194         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
19195         unrecognisable switches.
19196
19197 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19198
19199         * loop.c (recombine_givs): Set ix field after sorting.
19200         (recombine_givs): Remove bogus index / giv lockstep looping.
19201
19202 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19203
19204         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
19205         on CODE.
19206         (emit_store_flag_force): Use do_compare_rtx_and_jump.
19207         (do_cmp_and_jump): Formatting fixes.
19208         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
19209         do_compare_rtx_and_jump instead of compare_from_rtx.
19210         (do_compare_rtx_and_jump): New function; mostly copied from
19211         compare_from_rtx.
19212         (do_jump_for_compare): Delete.
19213         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
19214         MIN_EXPR.
19215         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
19216         of compare/do_jump_for_compare pairs.
19217         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
19218         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
19219         compare_from_rtx/do_jump_for_compare pairs.
19220         (do_jump_by_parts_equality): Likewise.
19221         (do_jump_by_parts_equality_rtx): Likewise.
19222         * expr.h (do_compare_rtx_and_jump): Declare.
19223         * optabs.c (prepare_cmp_insn): New function, contains most of the code
19224         that used to be in emit_cmp_insn.
19225         (cmp_available_p): New function.
19226         (prepare_operand): New function.
19227         (emit_cmp_and_jump_insn_1): New function, contains some code that used
19228         to be in emit_cmp_insn.
19229         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
19230         parameters to be pointers; don't emit final compare but modify some of
19231         the values pointed to by the args so the caller can perform the
19232         correct comparison.
19233         (expand_binop): Call emit_store_flag_force with signed forms of
19234         comparison code.
19235         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
19236         emit_jump_insn pair.
19237         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
19238         emit_cmp_and_jump_insn_1.  Call emit_queue.
19239         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
19240         arg.
19241         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
19242         jump sets cc0 before deleting it.
19243         * integrate.c (expand_inline_function): Likewise.
19244         * unroll.c (unroll_loop): Similar changes in several places.
19245         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
19246         before deleting it.
19247
19248 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19249
19250         * Makefile.in (insn-recog.o): Update dependencies.
19251         * genrecog.c (main): Make generated file include "function.h".
19252
19253 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
19254
19255         * cse.c (cse_insn): Call never_reached_warning when a jump is
19256         changed to be unconditional.
19257         * flags.h: Declare warn_notreached.
19258         * flow.c (delete_block): Call never_reached_warning when
19259         a block is deleted.
19260         * jump.c (delete_barrier_successors): Call never_reached_warning
19261         when we delete everything after a BARRIER.
19262         (never_reached_warning): New function.
19263         * rtl.h: Declare never_reached_warning.
19264         * toplev.c (warn_notreached): New variable.
19265         (lang_independent_options): Set warn_notreached
19266         when -Wunreachable-code.
19267         (compile_file): We need line numbers for -Wunreachable-code.
19268
19269 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
19270
19271         * haifa-sched.c (insn_unit): Fix typo on out of range test.
19272         * sched.c (insn_unit): Likewise.
19273
19274 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
19275
19276         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
19277
19278 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19279
19280         * flow.c (create_edge_list): Use xmalloc, not malloc.
19281
19282 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
19283
19284         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
19285         C-style comments.  Do not lose the character before double slash.
19286
19287 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19288
19289         * basic-block.h (struct edge_list): Stucture to maintain a vector
19290         of edges.
19291         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
19292          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
19293         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
19294         New function prototypes.
19295         * flow.c (create_edge_list): Function to create an edge list.
19296         (free_edge_list): Discards memory used by an edge list.
19297         (print_edge_list): Debug output showing an edge list.
19298         (verify_edge_list): Internal consistency check for an edge list.
19299         (find_edge_index): Function to find an edge index for a pred and succ.
19300
19301 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
19302
19303         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
19304         hashtable.
19305
19306 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
19307
19308         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
19309
19310 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
19311
19312         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
19313
19314 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
19315
19316         * toplev.c (rest_of_compilation): Allow machine dependent
19317         reorganisation pass to place information into the RTL dump
19318         file if it so wishes.
19319
19320 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
19321
19322         * explow.c (hard_function_value): Use VOIDmode instead of
19323         MAX_MACHINE_MODE.
19324         * stmt.c (expand_return): Likewise.
19325         * stor-layout.c (get_best_mode): Likewise.
19326
19327         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
19328         emit call instead of emit_insn call.
19329
19330 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19331
19332         * configure.in: Handle --disable/enable-win32-registry.
19333         * install.texi: Document --disable/enable-win32-registry.
19334         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
19335         (WIN32_REGISTRY_KEY): New macro.
19336         * prefix.c: Use to enable/disable win32-specific code.
19337         (lookup_key): Use versioned key.
19338         * configure: Regenerate.
19339         * config.in: Likewise.
19340
19341 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
19342
19343         * cpplib.c (read_line_number): New fn, split out of...
19344         (do_line): Here.
19345
19346 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19347
19348         tree.c (lang_unsave_expr_now) : New.
19349         (unsave_expr_now): Call lang_unsave_expr_now.
19350         tree.h (lang_unsave_expr_now) : New.
19351
19352 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
19353
19354         * toplev.c (flag_new_exceptions): On by default.
19355
19356 1999-08-13  Michael Meissner  <meissner@cygnus.com>
19357
19358         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
19359
19360 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19361
19362         * dwarfout.c (fundamental_type_code): Return FT_boolean for
19363         INTEGER_TYPE with precision==1, it's __java_boolean.
19364
19365 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19366
19367         * global.c (prune_preferences): Move some invariants out of the
19368         inner loop.
19369
19370 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
19371
19372         * configure.in (alpha*-dec-osf*): Add osf5.
19373
19374 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
19375
19376         * configure.in: Rework handling of ARM GNU/Linux slightly.
19377         (arm*-*-linux-gnuoldld): New target.
19378         * configure: Regenerate.
19379         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
19380         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
19381         * config/arm/linux-oldld.h: New file.
19382         * config/arm/linux-elf26.h: Don't include linux-elf.h.
19383         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
19384         Don't define.
19385         * config/arm/linux-elf.h (ASM_SPEC): Define.
19386         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
19387         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
19388         for 26-bit APCS and old linker.
19389         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
19390         `arm_elf'.
19391         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
19392         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
19393         don't define `arm' or `arm_elf'.
19394         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
19395         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
19396
19397 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
19398
19399         * rtl.texi: Fix typo.
19400
19401 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
19402
19403         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
19404
19405 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
19406
19407         * extend.texi (C++ Signatures): Remove node.
19408         * invoke.texi: Remove discussion of -fhandle-signatures,
19409         signature, sigof, __signature__, and __sigof__.
19410
19411 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
19412
19413         * Makefile.in (JAVAGC): Removed.
19414
19415 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19416
19417         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
19418
19419 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
19420
19421         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
19422
19423 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
19424
19425         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
19426         a register that is already known to be a pointer.
19427
19428 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
19429
19430         * fixinc/inclhack.tpl: Only install assert.h conditionally.
19431         * fixinc/inclhack.sh: Regenerated.
19432         * fixinc/fixincl.sh: Regenerated.
19433
19434 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
19435
19436         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
19437         Fix documentation of -ansi flag to describe its C++ behavior.
19438         Remove bogus reference to GCC 2.9.
19439
19440 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
19441
19442         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
19443         note if it is non-NULL.
19444
19445 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19446
19447         * except.h (eh_nesting_info): Add new structure defintion.
19448         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
19449         (reachable_handlers, update_rethrow_references): Add function
19450         prototypes.
19451         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
19452         a rethrow symbol instead of an integer exception region number.
19453         * flow.c (Make_edges): Use new exception nesting routines to determine
19454         which handlers are reachable from a CALL or asynchronous insn.
19455         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
19456         goto receivers.
19457         (delete_eh_regions): Update rethrow labels, and don't delete
19458         regions which are the target of a rethrow.
19459         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
19460         avoid overloading the SYMBOL_REF_USED flag.
19461         (rethrow_symbol_map): Use new rethrow_ref field.
19462         (rethrow_used): Use new rethrow_ref field.
19463         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
19464         of an integer.  Fix formatting.
19465         (output_exception_table_entry): Use new rethrow_ref field.
19466         (can_throw): Check for EH_REGION_NOTE before deciding
19467         whether a CALL can throw or not.
19468         (scan_region): Call rethrow_used() instead of accessing data structure.
19469         (update_rethrow_references): New function to make sure only regions
19470         which are still targets of a rethrow are flagged as such.
19471         (process_nestinfo): New static function to initialize a handler
19472         list for a specific region.
19473         (init_eh_nesting_info): New function to allocate and initialize
19474         the list of all EH handlers reachable from all regions.
19475         (reachable_handlers): New function to retrieve the list of handlers
19476         reachable from a specific region and insn.
19477         (free_eh_nesting_info): New function to dispose of a list of
19478         reachable handlers.
19479
19480 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
19481
19482         * flow.c (split_edge): Set JUMP_LABEL field.
19483         (commit_one_edge_insertion): Set head correctly for insert_before.
19484         When inserting insns, update insn block numbers if allocated.
19485
19486 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19487
19488         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
19489         retry_incomplete_types): Add static prototype.
19490         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
19491         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
19492         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
19493         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
19494         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
19495         Constify a char*.
19496
19497         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
19498         dwarf2out_start_source_file, dwarf2out_line): Likewise.
19499
19500 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19501
19502         * output.h (assemble_name): Constify a char*.
19503
19504         * varasm.c (UNIQUE_SECTION, assemble_start_function,
19505         assemble_variable, assemble_name): Likewise.
19506
19507         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
19508
19509         * arm/pe.c (arm_pe_unique_section): Likewise.
19510
19511         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
19512
19513         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
19514
19515         * i386/interix.c (i386_pe_unique_section): Likewise.
19516
19517         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
19518
19519         * i386/winnt.c (i386_pe_unique_section): Likewise.
19520
19521         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
19522
19523         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
19524
19525         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
19526
19527         * pa/pa.c (output_call): Likewise.
19528
19529         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
19530
19531         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
19532
19533         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
19534         Likewise.
19535
19536         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
19537         Likewise.
19538
19539         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
19540
19541         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
19542         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
19543
19544         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
19545
19546 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19547
19548         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
19549
19550 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19551
19552         * tree.h (lang_identify): Constify a char*.
19553         (print_error_function): Add extern prototype.  Constify a char*.
19554
19555         * c-lang.c (lang_identify): Constify a char*.
19556
19557         * objc/objc-act.c (lang_identify): Constify a char*.
19558
19559 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19560
19561         * genpeep.c (main): Make generated file include "function.h".
19562         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
19563
19564 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19565
19566         * Makefile.in: Update dependencies.
19567         * alias.c: Include "function.h"
19568         * c-decl.c: Likewise.
19569         * caller-save.c: Likewise.
19570         * calls.c: Likewise.
19571         * combine.c: Likewise.
19572         * cse.c: Likewise.
19573         * explow.c: Likewise.
19574         * final.c: Likewise.
19575         * global.c: Likewise.
19576         * graph.c: Likewise.
19577         * local-alloc.c: Likewise.
19578         * loop.c: Likewise.
19579         * optabs.c: Likewise.
19580         * profile.c: Likewise.
19581         * recog.c: Likewise.
19582         * regclass.c: Likewise.
19583         * regmove.c: Likewise.
19584         * reload.c: Likewise.
19585         * reorg.c: Likewise.
19586         * resource.c: Likewise.
19587         * sched.c: Likewise.
19588         * stupid.c: Likewise.
19589         * config/1750a/1750a.c: Likewise.
19590         * config/a29k/a29k.c: Likewise.
19591         * config/arc/arc.c: Likewise.
19592         * config/arm/arm.c: Likewise.
19593         * config/arm/thumb.c: Likewise.
19594         * config/c4x/c4x.c: Likewise.
19595         * config/clipper/clipper.c: Likewise.
19596         * config/convex/convex.c: Likewise.
19597         * config/fx80/fx80.c: Likewise.
19598         * config/i860/i860.c: Likewise.
19599         * config/m68k/m68k.c: Likewise.
19600         * config/m88k/m88k.c: Likewise.
19601         * config/mips/mips.c: Likewise.
19602         * config/pdp11/pdp11.c: Likewise.
19603         * config/pyr/pyr.c: Likewise.
19604         * config/romp/romp.c: Likewise.
19605         * config/sh/sh.c: Likewise.
19606         * config/tahoe/tahoe.c: Likewise.
19607         * config/vax/vax.c: Likewise.
19608         * config/we32k/we32k.c: Likewise.
19609         * config/sparc/sparc.c: Include "function.h".
19610         (mem_min_alignment): Test current_function rather than
19611         regno_pointer_align.
19612         * config/pa/pa.c: Likewise.
19613         (compute_frame_size): Delete declaration of
19614         current_function_outgoing_args_size.
19615         * config/arc/arc.h (current_function_varargs): Delete declaration.
19616         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
19617         declaration.
19618         * config/i370/i370.h (current_function_outgoing_args_size): Delete
19619         declaration.
19620         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
19621         current_function_uses_pic_offset_table.
19622         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
19623         of current_function_returns_pointer.
19624         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19625         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19626         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19627         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19628         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19629         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
19630         * config/m88k/m88k.c: Include "function.h"
19631         (call_used_regs, current_function_pretend_args_size,
19632         current_function_outgoing_args_size, frame_pointer_needed): Delete
19633         declarations.
19634         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
19635         declaration.
19636         * config/mips/mips.h (current_function_calls_alloca): Delete
19637         declaration.
19638         * config/mn10200/mn10200.h (current_function_needs_context,
19639         rtx_equal_function_value_matters): Delete declarations.
19640         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
19641         flag_pic): Delete declarations.
19642         * config/pa/pa.h (current_function_pretend_args_size,
19643         current_function_decl): Delete declarations.
19644         * config/pa/som.h (current_function_varargs): Delete declaration.
19645         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
19646         declaration.
19647         * config/pyr/pyr.h (current_function_pretend_args_size,
19648         current_function_args_size, current_function_calls_alloca): Delete
19649         declarations.
19650         * config/sh/sh.h (current_function_varargs): Delete declaration.
19651         * config/sparc/sparc.h (current_function_outgoing_args_size,
19652         current_function_calls_alloca, current_function_decl): Delete
19653         declarations.
19654         * config/spur/spur.h (current_function_pretend_args_size,
19655         current_function_calls_alloca): Delete declarations.
19656         * config/v850/v850.c (current_function_outgoing_args_size): Delete
19657         declaration.
19658         * config/vax/vms.h (current_function_name): Delete declaration.
19659         * gcse.c: Include "function.h".
19660         (current_function_name, current_function_calls_setjmp): Delete
19661         declarations.
19662         * haifa-sched.c: Include "function.h".
19663         (forced_labels): Delete declaration.
19664         * jump.c: Likewise.
19665         * reg-stack.c: Likewise.
19666         * reload1.c: Likewise.
19667         * genemit.c (main): Make generated file include function.h.
19668         * genoutput.c (output_prologue): Likewise.
19669
19670         * builtins.c (saveregs_value, apply_args_value): Delete variables.
19671         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
19672         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
19673         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
19674         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
19675         macros for some of them.
19676         (emit_filename, emit_lineno): Delete declarations.
19677         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
19678         regno_pointer_* variables through current_function.
19679         (gen_inline_header_rtx): Delete function.
19680         (save_emit_status): Delete function.
19681         (set_new_last_label_num): New function.
19682         (clear_emit_caches): New function.
19683         (restore_emit_status): Just clear last_labelnum and call
19684         clear_emit_caches.
19685         (get_last_insn_anywhere): Variable sequence_stack is now accessed
19686         through macro seq_stack.
19687         (add_insn_after): Likewise.
19688         (add_insn_before): Likewise.
19689         (remove_insn): Likewise.
19690         (pop_topmost_sequence): Likewise.
19691         (in_sequence_p): Likewise.
19692         (start_sequence_for_rtl_expr): Likewise.
19693         (start_sequence): Likewise, and likewise for
19694         sequence_rtl_expr/seq_rtl_expr.
19695         (push_topmost_sequence): Likewise.
19696         (end_sequence): Likewise.
19697         (init_virtual_regs): Now takes a "struct emit_status *" argument.
19698         All callers changed.  Store into that pointer instead of globals.
19699         (init_emit): Allocate emit elt of current_function.
19700         Changes for sequence_rtl_expr/sequence_stack renaming.
19701         Call clear_emit_caches instead of doing it in-line.
19702         Access regno_pointer_* variables through current_function.
19703         (init_emit_once) Don't clear sequence_stack.
19704
19705         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
19706         Delete variables.
19707         (arg_pointer_save_area): Delete declaration.
19708         (finish_expr_for_function): Renamed from init_queue; no longer static.
19709         (init_expr): Don't call init_queue.
19710         (save_expr_status, restore_expr_status): Delete functions.
19711         (expand_expr): Changes to reflect new layout of struct function.
19712         Don't access current_function_check_memory_usage when current_function
19713         is 0.
19714         * expr.h (forced_labels, save_expr_regs, saveregs_value,
19715         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
19716         current_function_outgoing_args_size, current_function_arg_offset_rtx,
19717         current_function_uses_const_pool, function_call_count,
19718         current_function_uses_pic_offset_table, nonlocal_labels,
19719         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
19720         current_function_check_memory_usage, nonlocal_goto_handler_slots,
19721         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
19722         declarations.
19723         (finish_expr_for_function): Declare.
19724         * flags.h (current_function_has_nonlocal_label,
19725         current_function_has_nonlocal_goto, current_function_is_thunk,
19726         current_function_has_computed_jump): Delete declarations.
19727         * flow.c (forced_labels): Delete declaration.
19728         * function.c (current_function_pops_args,
19729         current_function_returns_struct, current_function_returns_pcc_struct,
19730         current_function_needs_context, current_function_calls_setjmp,
19731         current_function_calls_longjmp, current_function_has_nonlocal_label,
19732         current_function_has_nonlocal_goto, current_function_is_thunk,
19733         current_function_has_computed_jump, current_function_calls_alloca,
19734         current_function_contains_functions, current_function_returns_pointer,
19735         current_function_epilogue_delay_list, current_function_args_size,
19736         current_function_pretend_args_size, current_function_arg_offset_rtx,
19737         current_function_outgoing_args_size, current_function_varargs,
19738         current_function_stdarg, current_function_args_info, cleanup_label,
19739         current_function_name, current_function_uses_const_pool,
19740         current_function_instrument_entry_exit, current_function_return_rtx,
19741         current_function_uses_pic_offset_table, nonlocal_labels,
19742         current_function_internal_arg_pointer, current_function_cannot_inline,
19743         current_function_check_memory_usage, function_call_count,
19744         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
19745         nonlocal_goto_stack_level, return_label, save_expr_regs,
19746         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
19747         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
19748         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
19749         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
19750         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
19751         Delete variables.
19752         (push_function_context_to): Don't save them.  Don't call
19753         save_storage_status, save_emit_status or save_expr_status.
19754         (pop_function_context_from): Don't restore them.  Don't call
19755         restore_storage_status or restore_expr_status.
19756         (get_func_frame_size): New function.
19757         (get_frame_size): Use it.
19758         (assign_outer_stack_local): Reflect some member name changes in struct
19759         function.
19760         (put_reg_into_stack): Likewise.
19761         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
19762         seq_rtl_expr.
19763         (fixup_var_refs): Likewise.
19764         (fix_lexical_addr): Likewise.
19765         (trampoline_address): Likewise.
19766         (prepare_function_start): Clear field inlinable of current_function.
19767         (init_function_for_compilation): New function.
19768         (expand_dummy_function_end): New function.
19769         (expand_function_end): Call finish_expr_for_function.
19770         * function.h (struct emit_status): New; fields moved here from struct
19771         function and from global variables.  Add accessor macros for some of
19772         the fields.
19773         (struct expr_status): Likewise.
19774         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
19775         (struct function): Add fields expr and emit, inlinable, inl_emit,
19776         original_arg_vector, original_decl_initial, inl_last_parm_insn,
19777         inl_max_label_num.  Add many comments.
19778         Add accessor macros for all elts of struct function that no longer
19779         have a global variable.
19780         (cleanup_label, return_label, frame_offset, tail_recursion_label,
19781         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
19782         stack_slot_list): Delete declarations.
19783         (get_func_frame_size): Declare.
19784         (save_expr_status, restore_expr_status, save_emit_status,
19785         save_storage_status, restore_storage_status): Delete declarations.
19786         (init_virtual_regs): Declare.
19787         * output.h (current_function_pops_args,
19788         current_function_returns_struct, current_function_returns_pcc_struct,
19789         current_function_needs_context, current_function_calls_setjmp,
19790         current_function_calls_longjmp, current_function_calls_alloca,
19791         current_function_has_nonlocal_label, current_function_varargs,
19792         current_function_has_computed_jump, current_function_returns_pointer,
19793         current_function_contains_functions, current_function_args_size,
19794         current_function_pretend_args_size, current_function_stdarg,
19795         current_function_outgoing_args_size, current_function_args_info,
19796         current_function_name, current_function_return_rtx,
19797         current_function_epilogue_delay_list,
19798         current_function_uses_const_pool, current_function_cannot_inline):
19799         Delete declarations.
19800         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
19801         regno_reg_rtx): Delete declaration.
19802         (REGNO_POINTER_FLAG): Delete macro.
19803         * stmt.c (expand_goto): Changes to reflect that some fields in struct
19804         function were renamed.
19805         * stor-layout.c (save_storage_status, restore_storage_status): Delete
19806         functions.
19807         * toplev.c: Include "function.h".
19808         (current_function_decl): Delete declaration.
19809         (compile_file): Call init_dummy_function_start and
19810         expand_dummy_function_end around some initializations that need to
19811         emit rtl.
19812         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
19813         Call init_function_for_compilation.
19814         * unroll.c: Include "function.h"
19815         (unroll_loop): Access regno_pointer_* variables through
19816         current_function.
19817
19818         * tree.h (struct tree_decl): Add elt f to saved_insns member.
19819         (DECL_SAVED_INSNS): use it.
19820         (expand_dummy_function_end): Declare.
19821         (init_function_for_compilation): Declare.
19822         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
19823         that it's no longer an INLINE_HEADER.
19824         (expand_call): Likewise.
19825         * integrate.c (finish_inline): Delete function.
19826         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
19827         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
19828         args.  Don't generate an INLINE_HEADER rtx, just return the arg
19829         vector.  All callers changed.
19830         (save_for_inline_copying):  Create a duplicate struct emit_status to
19831         hold the emit state for compiling the current function.  Use this and
19832         the other new fields in struct function that are for integration
19833         instead of an INLINE_HEADER.
19834         Use memcpy instead of bcopy.
19835         Store the current struct function in DECL_SAVED_INSNS of fndecl.
19836         (save_for_inline_nocopy): Similar changes, except no new emit_status
19837         is needed here.
19838         (expand_inline_function): Get information from function structure,
19839         not from an inline header rtx.
19840         (output_inline_function): Lose code to extract the necessary
19841         information from an inline header; simply put back the function
19842         structure into current_function.  Clear its inlinable elt.
19843         * rtl.def (INLINE_HEADER): Delete.
19844         * rtl.h: Delete all accessors for an INLINE_HEADER.
19845         (gen_inline_header_rtx): Delete declaration.
19846         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
19847         Delete declarations.
19848         (REGNO_POINTER_ALIGN): Delete.
19849         (clear_emit_caches): Declare.
19850         (set_new_last_label_num): Declare.
19851
19852 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
19853
19854         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
19855
19856         * except.c (expand_eh_region_start_for_decl): Always start a new block.
19857         * stmt.c (is_eh_region): Make sure current_function is present, too.
19858
19859 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
19860
19861         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
19862         for 64bit PA targets.
19863
19864         * pa.h (SELECT_SECTION): Define.
19865         * som.h (SELECT_SECTION): Delete.
19866
19867 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19868
19869         * alias.c (init_alias_analysis): Wrap call to
19870         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
19871
19872 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
19873
19874         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
19875         <sys/asm.h> contains an asm comment with an apostrophe
19876         * fixinc/inclhack.sh:  regen
19877         * fixinc/fixincl.x:  regen
19878
19879 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
19880
19881         * function.c (init_function_start): Clear prologue & epilogue.
19882         (prologue_epilogue_contains): New function.
19883         * alias.c (init_alias_analysis): Use it.
19884         * rtl.h (prologue_epilogue_contains): Declare it.
19885
19886 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
19887
19888         * jump.c (onlyjump_p): New function.
19889         * rtl.h: Declare it.
19890         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
19891         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
19892
19893 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
19894
19895         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
19896         to invert loops.  Simplify block scanning.
19897
19898 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
19899
19900         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
19901         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
19902
19903 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
19904
19905         * config/sparc/liteelf.h: New file to support sparclite-elf target
19906         * config/sparc/t-sp86x: New file to support sparc86x targets
19907         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
19908         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
19909         * configure.in: Support above target triplets
19910         * configure: Regenerated
19911
19912 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
19913
19914         * fixinc/server.c (server_setup): Do not prefix function used as
19915         parameter with `&'.
19916
19917 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
19918
19919         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
19920         Remove fp reg alternatives.
19921
19922 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
19923
19924         * Makefiin (TAROUTOPTS): Kill.
19925         (install-headers-tar): Use "xpf" for tar headerfile extraction
19926         * i370/x-oe (TAROUTOPTS): Delete.
19927         * m68k/x-apollo68 (TAROUTOPTS): Delete.
19928         * m68k/x-hp320 (TAROUTOPTS): Delete.
19929         * m68k/x-hp320g (TAROUTOPTS): Delete.
19930         * gcc.texi: Update bug reporting text.
19931
19932 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19933
19934         * reg-stack.c (change_stack) Fixed problem with negative array index.
19935
19936 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
19937
19938         * extend.texi, install.texi: Fix spelling mistakes.
19939
19940         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
19941         (s-attrtab); No longer try to use pre-made insn-attrtab file.
19942         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
19943         PREMADE_ATTRTAB_MD.
19944         * mips/t-ecoff: Likewise.
19945         * mips/t-elf: Likewise.
19946         * mips/t-mips: Likewise.
19947         * mips/t-osfrose: Likewise.
19948         * mips/t-r3900: Likewise.
19949         * mips/t-svr3: Likewise.
19950         * mips/t-svr4: Likewise.
19951         * mips/t-ultrix: Likewise.
19952
19953         * gcc.texi: Document recommend means to provide software floating
19954         point libraries in libgcc.a
19955
19956 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
19957
19958         * c-lex.c (yylex): We can have a number with no digits.
19959
19960 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
19961
19962         * jump.c (delete_prior_computation): New function, broken
19963         out of delete_computation.  Check for side effects with
19964         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
19965         multi-word hard registers.
19966         (delete_computation): Use it.  Check for side effects with
19967         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
19968         missing REG_DEAD note for a register which is both set and
19969         used by an insn.
19970
19971 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
19972
19973         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
19974         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
19975         (ASM_FILE_START): Import _mcount with the right type.
19976         (ASM_DECLARE_FUNCTION_NAME): Define.
19977         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
19978         * pa.c (output_function_prologue): Always emit the function's label
19979         here.
19980         * pa.h (TEXT_SPACE_P): Define.
19981         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
19982         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
19983         * som.h (TEXT_SPACE_P): Delete.
19984         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
19985         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
19986
19987 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
19988
19989         * expr.c (emit_group_load): Allow src to be a CONCAT.
19990
19991 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19992
19993         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
19994         (___mulsi3): Use '!' comment character.
19995
19996 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19997
19998         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
19999
20000 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
20001
20002         * gcc.c: Update URLs and mail addresses.
20003         * gcc.texi: Likewise.
20004
20005 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
20006
20007         * rs6000.c (current_file_function_operand): Return zero for
20008         weak functions.
20009         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
20010         weak symbols.
20011         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
20012         for weak symbols.
20013
20014 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
20015
20016         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
20017         allocate space in the stack frame for the PIC register.
20018
20019 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
20020
20021         * m68k.md (xordi3, anddi3): These patterns are not available on
20022         the coldfire.
20023
20024 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
20025
20026         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
20027         (PUT_REAL): Likewise.
20028
20029 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20030
20031         * final.c (shorten_branches): Don't add an alignment for loops
20032         that have no label inside.
20033
20034 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20035
20036         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
20037         prototypes in macro HAVE_cmpstrsi.
20038
20039         * cpplib.c (cpp_get_token): Remove unused label `op3'.
20040
20041         * emit-rtl.c (operand_subword): Remove unused variable
20042         `bits_per_word'.
20043
20044         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
20045
20046         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
20047
20048 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
20049
20050         * cpphash.c (macroexpand): Delete leading whitespace when arg
20051         is concatenated before.
20052         (unsafe_chars): Correct test for whether + and - can extend a
20053         token.
20054
20055         * cppinit.c (cpp_start_read): Do dependencies for
20056         -include/-imacros files also.
20057
20058         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
20059         tokenizing non-directive lines.
20060         (cpp_expand_to_buffer): Temporarily disable no-output mode.
20061         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
20062         the input file.
20063
20064 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20065
20066         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
20067
20068         * c-lex.c: Sync with C++ frontend.
20069         (linemode): New variable.
20070         (parse_float): imag, conversion_errno, and type are output only.
20071         (yylex): Adjust.  Move initial '.' case into main switch.
20072         Use linemode.
20073         (handle_generic_pragma): Just deal with tokens.
20074         (readescape): Use ISXDIGIT and ISGRAPH.
20075         * c-parse.in: Add END_OF_LINE token.
20076
20077         * c-lex.c (lang_init): Generalize.
20078         (nextchar): Remove.  Replace uses with UNGETC.
20079         (skip_white_space): Handle linemode here.  Optimize for cpplib.
20080         (skip_white_space_on_line): Remove.
20081         (extend_token_buffer_to): New fn.
20082         (extend_token_buffer): Use it.
20083         (read_line_number, check_newline): Just deal with tokens.
20084         (token_getch, token_put_back): New fns.
20085         (yylex): Use them.  More cpplib optimizations.  Simplify.
20086
20087 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20088                           Jason Merrill  <jason@yorick.cygnus.com>
20089
20090         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
20091         (consume_string): Make this smart about USE_CPPLIB.
20092         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
20093         (yylex): Rewrite to be intelligent about USE_CPPLIB.
20094         Also, clean up cases where we redundantly set token_buffer[0].
20095         (read_line_number): New fn.
20096         (ignore_escape_flag): New variable.
20097
20098 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
20099
20100         * a29k/t-a29kbare: Fix some comments.
20101         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
20102         (FPBIT, DPBIT): Define.
20103         * a29k/t-vx29k: Likewise.
20104         * arc/t-arc: Likewise.
20105         * arm/t-arm-elf: Likewise.
20106         * arm/t-bare: Likewise.
20107         * arm/t-pe: Likewise.
20108         * arm/t-pe-thumb: Likewise.
20109         * arm/t-semi: Likewise.
20110         * arm/t-thumb: Likewise.
20111         * arm/t-thumb-elf: Likewise.
20112         * arm/t-thumb-linux: Likewise.
20113         * h8300/t-h8300: Likewise.
20114         * i960/t-i960: Likewise.
20115         * i960/t-vxworks960: Likewise.
20116         * m32r/t-m32r: Likewise.
20117         * mips/t-ecoff: Likewise.
20118         * mips/t-elf: Likewise.
20119         * mips/t-r3900: Likewise.
20120         * pa/t-pro: Likewise.
20121         * rs6000/t-aix43: Likewise.
20122         * rs6000/t-beos: Likewise.
20123         * rs6000/t-newas: Likewise.
20124         * rs6000/t-ppccomm: Likewise.
20125         * rs6000/t-rs6000: Likewise.
20126         * rs6000/t-winnt: Likewise.
20127         * rs6000/t-xnewas: Likewise.
20128         * rs6000/t-xrs6000: Likewise.
20129         * sh/t-sh: Likewise.
20130         * sparc/t-elf: Likewise.
20131         * sparc/t-sparcbare: Likewise.
20132         * sparc/t-sparclite: Likewise.
20133         * sparc/t-splet: Likewise.
20134         * v850/t-v850: Likewise.
20135         * mn10200/t-mn10200: Fix comments.
20136         * mn10300/t-mn10300: Likewise.
20137
20138         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
20139         dummy operand.  Allocate a new pseudo for the dummy operand.
20140         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
20141
20142         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
20143
20144 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
20145
20146         * configure: Rebuilt.
20147         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
20148
20149 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
20150
20151         * recog.c (preproces_constraints): Zero recog_op_alt before
20152         processing the constraints.
20153
20154         * arm.c (typedef minipool_node): Renamed from pool_node.
20155         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
20156         (add_minipool_constant): New function.
20157         (dump_minipool): New function.
20158         (find_barrier): Remove special case for getting the insn size of
20159         an insn that references the constant pool.
20160         (minipool_fixup): New structure.
20161         (push_minipool_barrier): New function.
20162         (push_minipool_fix): New function.
20163         (note_invalid_constants): New function.
20164         (add_pool_constant, dump_table, fixit, broken_move): Delete.
20165         (arm_reorg): Rewrite code to fix up the constant pool into a
20166         series of mini-pools embedded in the insn stream.
20167         (arm_output_epilogue): New function, made mainly from the body
20168         of output_func_epilogue.
20169         (output_func_epilogue): Move insn generation part of epilogue code
20170         to arm_output_epilogue.
20171         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
20172         * arm.md (pool_range): New attribute.
20173         (zero_extendqidi2): Add attribute pool_range.
20174         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
20175         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
20176         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
20177         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
20178         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
20179         (epilogue): New expand.
20180         (epilogue_insn): New insn.  Call arm_output_epilogue.
20181
20182         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
20183         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
20184
20185 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
20186
20187         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
20188
20189 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
20190
20191         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
20192
20193 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
20194
20195         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
20196
20197 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
20198
20199         * global.c: Fix comment.
20200
20201 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
20202
20203         * gcc.c (access_check): New static function.
20204         (find_a_file): Use it when searching a directory list.
20205         * collect2.c (find_a_file): Don't accept directories found when
20206         searching a directory list.
20207
20208 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
20209
20210         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
20211         function parameters with `&'.
20212         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
20213
20214 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
20215
20216         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
20217         or tidy_fallthru_edge if the last insn in the block is not
20218         an unconditional jump or a simple conditional jump.
20219
20220 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20221
20222         * Makefile.in (c-decl.o): Depends on defaults.h.
20223
20224 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
20225
20226         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
20227         PA1.1 and above.
20228         (CLASS_MAX_NREGS): Likewise.
20229
20230 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
20231
20232         * cse.c (cse_insn): Fix dumb thinko in last change.
20233
20234 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20235
20236         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
20237         "const char *".
20238
20239 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
20240
20241         * dwarf2out.c (add_location_or_const_value_attribute): Correct
20242         test for sizes of passed and declared parameter types.
20243
20244 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20245
20246         * fixincludes: Fix the return type of bsearch, char* -> void*.
20247
20248         * fixinc/inclhack.def: Likewise.
20249
20250 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
20251
20252         * invoke.texi (-fdump-translation-unit): New option.
20253
20254 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
20255
20256         * expr.h (PROMOTE_PROTOTYPES): Move ...
20257         * defaults.h: ... to here.
20258         * c-decl.c: Include defaults.h instead of expr.h.
20259         * c-typeck.c: Include defaults.h.
20260
20261 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
20262
20263         * toplev.h (errorcount): Declare.
20264         (warningcount): Likewise.
20265         (sorrycount): Likewise.
20266         * c-lex.c (errorcount): Don't declare.
20267         * dwarf2out.c (errorcount): Don't declare.
20268
20269 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
20270
20271         * config/libgloss.h: Add a note discouraging use with ELF.
20272         * configure.in: Don't use libgloss.h for ELF targets.
20273         Always use_collect2 on a.out targets.
20274
20275 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
20276
20277         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
20278         (force_to_mode, case ASHIFTRT): Add shiftrt label.
20279
20280 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20281
20282         * loop.c (strength_reduce): When doing biv->giv conversion, update
20283         reg note of NEXT->insn.
20284
20285 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20286
20287         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
20288
20289 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20290
20291         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
20292         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
20293         Ensure expr.h is included.
20294         * c-typecheck.c (convert_arguments): Ditto.
20295
20296         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
20297
20298         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
20299         * config/convex/convex.h: Ditto.
20300         * config/dsp16xx/dsp16xx.h: Ditto.
20301         * config/fx80/fx80.h: Ditto.
20302         * config/gmicro/gmicro.h: Ditto.
20303         * config/i370/i370.h: Ditto.
20304         * config/i386/i386.h: Ditto.
20305         * config/m32r/m32r.h: Ditto.
20306         * config/m68k/m68k.h: Ditto.
20307         * config/m88k/m88k.h: Ditto.
20308         * config/mips/mips.h: Ditto.
20309         * config/pa/pa.h: Ditto.
20310         * config/pyr/pyr.h: Ditto.
20311         * config/tahoe/tahoe.h: Ditto.
20312         * config/we32k/we32k.h: Ditto.
20313
20314         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
20315         based on arch size.
20316
20317         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
20318
20319         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
20320         from comment.
20321
20322         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
20323
20324 1999-08-02  Richard Henderson  <rth@cygnus.com>
20325
20326         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
20327         for the register spill block.
20328         (m32r_va_arg): New.
20329         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
20330         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
20331
20332         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
20333         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
20334         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
20335
20336 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20337
20338         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
20339         MAX_WCHAR_TYPE defined in sparc.h.
20340         * config/sparc/linuxaout.h: Likewise.
20341         * config/sparc/linux64.h: Likewise.
20342         Also default to -mvis if CPU is UltraSPARC.
20343
20344 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20345
20346         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
20347         (RTX_OK_FOR_OLO10): Likewise.
20348         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
20349         %lo(), allow it in addresses...
20350         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
20351         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
20352         does not make sense.
20353         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
20354         (sparc_output_scratch_registers): New function.
20355         (output_function_prologue, sparc_flat_output_function_prologue): Use
20356         it.
20357         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
20358         defined.
20359         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
20360         * configure.in: Add check for .register pseudo-op support in as and
20361         check for offsetable %lo().
20362         * acconfig.h: Add templates for the above checks.
20363         * configure: Regenerate.
20364
20365 1999-08-02  Richard Henderson  <rth@cygnus.com>
20366
20367         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
20368         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
20369         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
20370
20371 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20372
20373         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20374         reg_biv_class.
20375
20376 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
20377
20378         * config/float-sparc.h: New file.
20379         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
20380         sparc-*-linux-gnu and sparc64-*-linux*.
20381
20382 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20383
20384         * rs6000.c (rs6000_va_list): Type is an array.
20385         (rs6000_va_start): Don't doubly adjust for varargs.
20386         (rs6000_va_arg): Evaluate long long GPR adjustment.
20387
20388 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
20389
20390         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
20391         -maix64 and -maix32.
20392         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
20393         LINK_SPEC): Change appropriately.
20394         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
20395         (u_short_cint_operand): Likewise.
20396         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
20397         for 64-bit hosts.
20398         * rs6000/t-aix43 (MULTILIB): Change to -m64.
20399
20400         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
20401
20402 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
20403
20404         * rs6000/rs6000.c (num_insns_constant_wide): Correct
20405         for type promotion.
20406         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
20407         (non_add_cint_operand): Likewise.
20408         (logical_operand): Likewise.
20409         (non_logical_cint_operand): Likewise.
20410         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
20411         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
20412         (rs6000_select_rtx_section): Suppress warning.
20413         (small_data_operand): Suppress warning.
20414         (rs6000_got_register): Suppress warning.
20415         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
20416         type, so `J' is generally the wrong constraint for a SImode value;
20417         use `L' instead.
20418         (andsi3_internal2): Likewise.
20419         (andsi3_internal3): Likewise.
20420         (iorsi3_internal1): Likewise.
20421         (xorsi3_internal1): Likewise.
20422         (movsi): Likewise.
20423         (movsf_softfloat): Likewise.
20424         (scc insns): Likewise.
20425         (movsi+2): Preserve sign bits of SImode constant.
20426         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
20427         (movdf+1): Sign-extend properly.
20428         (movdi_32+1): Sign-extend properly.
20429         (scc insns): Sign-extend properly.
20430
20431         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
20432         K, L, and T.
20433
20434 1999-08-02  Richard Henderson  <rth@cygnus.com>
20435
20436         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
20437         -mcpu parsing code.
20438         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
20439         * alpha.md (all fp insns): Likewise.
20440
20441 1999-08-02  Nick Clifton  <nickc@cygnus.com>
20442
20443         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
20444         already defined.
20445
20446 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
20447
20448         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
20449         pic_load_label generator directly.
20450         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
20451         No longer a named pattern.
20452
20453 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
20454
20455         * explow.c (force_reg): Call force_operand if X does not
20456         satisfy general_operand.
20457
20458 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
20459
20460         * fix-header.c (main): When testing for CONTINUED, use string
20461         equality, not pointer equality.
20462
20463 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
20464
20465         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
20466
20467 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
20468
20469         * cse.c (cse_insn): Fix loop which deletes insns after a jump
20470         that has become an unconditional jump.
20471
20472         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
20473         (output_function_epilogue): Similarly.
20474
20475 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20476
20477         * tree.h (init_dummy_function_start): Declare.
20478
20479 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20480
20481         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
20482         last_expr_type, last_expr_value, block_start_count, block_stack,
20483         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
20484         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
20485         dynamically in stmt elt of struct function for each function.
20486         (struct nesting): Rename function_call_count elt to n_function_calls,
20487         target_temp_slot_level to block_target_temp_slot_level.  All users
20488         changed.
20489         (struct stmt_status): New structure definition.
20490         Add many accessor macros for stmt_status elements which previously
20491         were global variables.
20492         (init_stmt_for_function): Allocate stmt elt for current_function.
20493         Reflect that block_start_count was renamed to
20494         current_block_start_count.
20495         (save_stmt_status, restore_stmt_status): Delete functions.
20496         (preserve_subexpressions_p): Don't access loop_stack when outside
20497         a function.
20498         (expand_start_bindings): Reflect that block_start_count was renamed to
20499         current_block_start_count.
20500         (expand_fixup): Likewise.
20501         (expand_decl): Don't access block_stack when outside a function.
20502         (expand_decl_cleanup): Likewise.
20503         (expand_dcc_cleanup): Likewise.
20504         (expand_dhc_cleanup): Likewise.
20505         (expand_anon_union_decl): Likewise.
20506         (set_file_and_line_for_stmt): New function.
20507         (in_control_zone_p): New function.
20508
20509         * function.h (struct function): Add new elt stmt.
20510         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
20511         case_stack, nesting_stack, nesting_depth, block_start_count,
20512         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
20513         emit_lineno, goto_fixup_chain.
20514         (save_eh_status, restore_eh_status, save_stmt_status,
20515         restore_stmt_status): Delete declarations.
20516         * function.c (push_function_context_to): Don't call save_stmt_status.
20517         (pop_function_context_to): Don't call restore_stmt_status.
20518         * tree.h (in_control_zone_p): Declare.
20519         * rtl.h (set_file_and_line_for_stmt): Declare.
20520
20521         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
20522         call set_file_and_line_for_stmt.
20523
20524 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
20525
20526         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
20527         Also update copyright.
20528
20529 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20530
20531         * c-pragma.c: Don't include "except.h".
20532         * emit-rtl.c: Likewise.
20533         * stor-layout.c: Likewise.
20534         * tree.c: Likewise.
20535         * varasm.c: Likewise.
20536
20537         * flow.c: Include "function.h".
20538         * tree.h (init_dummy_function_start): Declare new function.
20539
20540         * except.h (struct eh_status): New structure.
20541         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
20542         been included.
20543         (eh_return_stub_label, ehstack, catchstack, ehqueue,
20544         catch_clauses, false_label_stack, caught_return_label_stack,
20545         protect_list, current_function_ehc): Add accessor macros for the
20546         corresponding fields in current_function->eh; delete declarations
20547         for all items that used to be declared here.
20548         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
20549         catch_clauses, false_label_stack, caught_return_label_stack,
20550         protect_list, current_function_ehc): Delete variables.
20551         (init_eh_for_function): Allocate current_function->eh.
20552         (save_eh_status, restore_eh_status): Delete functions.
20553
20554         * function.h (struct function): Add fields next_global and eh.
20555         Delete all exception handling related fields.
20556         * function.c (current_function): New variable.
20557         (all_functions): New variable.
20558         (push_function_context_to): Don't allocate a struct function,
20559         use current_function instead.  Call init_dummy_function_start when
20560         outside a function.  Clear current_function before returning.
20561         (pop_function_context_from): Restore current_function.
20562         Don't free the restored struct function.
20563         (prepare_function_start): New function.
20564         (init_dummy_function_start): New function.
20565         (init_function_start): Break out some code into prepare_function_start
20566         and call it here.
20567
20568         * stmt.c (save_stmt_status): Don't call save_eh_status.
20569         (restore_stmt_status): Don't call restore_eh_status.
20570
20571         * Makefile.in: Update dependencies.
20572
20573 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
20574
20575         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
20576         of depending on a magic constant value.  Update comments.
20577         (hppa_expand_prologue): Similarly.
20578
20579         * pa.md (reload_indi, reload_outdi): Allow any register for the
20580         original reload register.
20581
20582 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
20583
20584         * cccp.c (print_help): Change marcos to macros.
20585
20586 1999-07-30  Richard Henderson  <rth@cygnus.com>
20587
20588         * c-typeck.c (initializer_constant_valid_p): Move ...
20589         * c-common.c (initializer_constant_valid_p): ... here.  Use
20590         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
20591         of label addresses.
20592         * c-common.h (initializer_constant_valid_p): Declare.
20593         * c-tree.h (initializer_constant_valid_p): Remove.
20594
20595 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
20596
20597         * config/i386/sol2-c1.asm: Align the stack.
20598         * config/i386/sol2-gc1.asm: Likewise.
20599
20600 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
20601
20602         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
20603         -Asparclite for sparc86x.
20604         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
20605         sparc86x.
20606         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
20607
20608 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
20609
20610         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
20611         the user if using the non-default arch size in BI_ARCH configuration.
20612         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
20613
20614         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
20615         Fix patterns so that they actually match.
20616         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
20617         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
20618         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
20619         TARGET_HARD_MUL32.
20620         (mulsidi3): Reflect this in the expand.
20621         (smulsi3_highpart): Only on TARGET_ARCH32.
20622         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
20623         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
20624         (umulsidi3): Reflect this in the expand.
20625         (umulsi3_highpart): Only on TARGET_ARCH32.
20626         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
20627         don't require g0 to be zero.
20628         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
20629         ({,u}divsi3): New expands.
20630         ({,u}divsi3_sp64): New patterns.
20631         (after lshrdi3_v8plus): Four new patterns to help combiner
20632         optimizing nested mixed mode shifts.
20633
20634         * config/sparc/sparc.c (sparc_override_options): Use deprecated
20635         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
20636         speed things up. Don't use them by default on plain v9 in 64bit
20637         mode, according to what SPAMv9 sais.
20638
20639         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
20640         top 32 bits of %[og][0-7] in signal handlers.
20641         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
20642
20643 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
20644
20645         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
20646         (ashlsi3): Corresponding changes.
20647
20648         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
20649
20650 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
20651
20652         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
20653
20654 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20655
20656         * arm.h (Hint): Delete macro.
20657         Substitute HOST_WIDE_INT for Hint in some prototypes.
20658         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
20659
20660 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
20661
20662         * builtins.c (expand_builtin_setjmp): Use force_operand to
20663         make sure that the buffer address is in a suitable form to be
20664         passed to force_reg.
20665
20666 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
20667
20668         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
20669         them here.
20670
20671 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
20672
20673         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
20674         proper mode in the condition string.
20675         (icacheflush, dcacheflush): Remove modes from match_operands.
20676
20677         * pa.c (emit_move_sequence): Always convert scratch_reg to the
20678         proper mode before using it.
20679
20680         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
20681         pair.
20682
20683         * pa.c (store_reg): Do not call add_high_const generator directly.
20684         (load_reg, set_reg_plus_d): Likewise.
20685         * pa.md (add_high_const): No longer a named pattern.
20686
20687         * pa.c (legitimize_address): Consistently use Pmode rather than
20688         SImode.  Do not call gen_pic2_highpart directly anymore.
20689         * pa.md (pic2_highpart): No longer a named pattern.
20690         (pic2_lo_sum): Similarly.  Reformat to make more readable.
20691
20692         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
20693         needed.
20694
20695         * README: Update.
20696
20697 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20698
20699         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
20700
20701 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
20702
20703         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
20704         and tag the spill mems.
20705         (hppa_va_start): New.
20706         (hppa_va_arg): New.
20707         * pa.h (EXPAND_BUILTIN_VA_START): New.
20708         (EXPAND_BUILTIN_VA_ARG): New.
20709
20710 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
20711
20712         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
20713         and tag the spill mems.
20714         (mn10300_va_start): New.
20715         (mn10300_va_arg): New.
20716         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
20717         (EXPAND_BUILTIN_VA_ARG): New.
20718
20719 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
20720
20721         * mn10200.c (mn10200_va_arg): New.
20722         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
20723
20724 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
20725
20726         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
20727         rather than play with TREE_INT_CST_LOW.
20728
20729 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
20730
20731         * config/arm/telf.h: Include dbxelf.h.
20732         (CPP_PREDEFINES): Only define if not already defined.
20733         (ASM_IDENTIFY_GCC): Likewise.
20734         (SUBTARGET_EXTRA_SECTIONS): Likewise.
20735         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
20736         * config/arm/thumb.h (LINK_SPEC): Only define if not already
20737         defined.
20738         (DBX_DEBUGGING_INFO): Don't define.
20739         * config/arm/linux-telf.h: New file.
20740         * config/arm/linux-tgas.h: New file.
20741         * config/arm/t-thumb-linux: New file.
20742         * config/arm/uclinux-elf.h: New file.
20743         * config/arm/uclinux-telf.h: New file.
20744         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
20745         thumb-*-uclinux): New targets.
20746         * configure: Regenerate.
20747
20748 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
20749
20750         * pa.md (post_store, pre_load): New expanders.
20751         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
20752         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
20753         need to directly generate RTL for them.
20754         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
20755         changes.
20756
20757 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
20758
20759         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
20760         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
20761         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
20762         (secndary_reload_class): Make TARGET_ELF conditional compile.
20763         (print_operand_address): Similar.
20764         (output_toc): Print all values as hex.
20765         (get_issue_rate): Rearrange and add RS64A and PPC630.
20766         * rs6000.h (processor_type): Add RS64A and PPC630.
20767         (PROCESSOR_POWERPC64): New.
20768         (PROMOTE_MODE): Use word_mode.
20769         (RTX_COSTS): Add RS64A and PPC630.
20770         * rs6000.md (scheduling information): Add lmul and ldiv
20771         representing 64-bit integer multiply and divide.  Add rs64a and
20772         PPC630 information.
20773         (ashldi3): Add support for "rldic" instruction.
20774         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
20775
20776 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
20777
20778         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
20779         instead of V8 for sparclite86x in cpu_table.
20780
20781 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20782
20783         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
20784         output_file_directive.
20785
20786 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
20787
20788         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
20789         tree for op1, not the rtl.
20790
20791 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
20792
20793         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
20794         to m88k_va_start, leaving only the register spill.
20795         (m88k_build_va_list): New.
20796         (m88k_va_start): New.
20797         (m88k_va_arg): New.
20798         * m88k.h (BUILD_VA_LIST_TYPE): New.
20799         (EXPAND_BUILTIN_VA_START): New.
20800         (EXPAND_BUILTIN_VA_ARG): New.
20801
20802 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
20803
20804         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
20805         Rename from expand_builtin_saveregs.
20806         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
20807
20808 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
20809
20810         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
20811         for the register spill block.
20812         (i960_build_va_list): New.
20813         (i960_va_start): New.
20814         (i960_va_arg): New.
20815         * i960.h (BUILD_VA_LIST_TYPE): New.
20816         (EXPAND_BUILTIN_VA_START): New.
20817         (EXPAND_BUILTIN_VA_ARG): New.
20818         * i960.md (store_multiple): Use change_address on individul mems.
20819
20820 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
20821
20822         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
20823         an ARRAY_TYPE.
20824         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
20825         (expand_builtin_va_end): Evaluate arg for side effects.
20826         * c-common.c (c_common_nodes_and_builtins): Construct a
20827         va_list_arg_type_node to handle array decomposition to pointer.
20828
20829 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
20830
20831         * except.c (st_dynamic_cleanup): Use force_operand on the
20832         buffer's address.
20833
20834 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
20835
20836         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
20837         * c4x.c (c4x_va_arg): New.
20838
20839 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
20840
20841         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
20842         has manual_pop set.
20843
20844 1999-07-26  Nathan Sidwell  <nathan@acm.org>
20845
20846         * eh-common.h (__eh_matcher): Prototype correctly.
20847
20848 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
20849
20850         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
20851         (TARGET_SINGLE_PIC_BASE): Likewise.
20852         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
20853         definitions.
20854         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
20855         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
20856         (TARGET_OPTIONS): Add -mpic-register=N.
20857         (OUTPUT_INT_ADDR_CONST): New macro.
20858         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
20859         LEGITIMATE_PIC_OPERAND_P): Likewise.
20860         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
20861         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
20862         output_addr_const directly.
20863         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
20864         ARM port.
20865         (thumb_pic_register, thumb_pic_register_string): Declare.
20866
20867         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
20868         from arm.c.
20869         (label_mentioned_p): New function: Imported from arm.c.
20870         (legitimize_pic_address): New function: Imported from arm.c.
20871         (is_pic):New function: Imported from arm.c.
20872         (thumb_finalize_pic):New function: Imported from arm.c.
20873         (add_constant): Cope with PIC constants.
20874         (fixit): Cope with PIC constants.
20875         (output_return): Do not treat the PIC register as live if
20876         TARGET_SINGLE_PIC_BASE is true.
20877         (thumb_function_prologue): Do not treat the PIC register as live if
20878         TARGET_SINGLE_PIC_BASE is true.
20879         (thumb_expand_prologue): Do not treat the PIC register as live if
20880         TARGET_SINGLE_PIC_BASE is true.
20881         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
20882         TARGET_SINGLE_PIC_BASE is true.
20883         (thumb_print_operand): Accept '|'.
20884         (thumb_override_options): Process PIC options.
20885
20886         * config/arm/thumb.md (movsi): Support PIC.
20887         (call_insn): Change "i" constraint to "X".
20888         (call_value_insn): Likewise.
20889         (consttable_4, consttable_8, consttable_end): Set and clear
20890         "making_const_table" as appropriate.
20891         (pic_load_addr, pic_add_dot_plus_four): New insns.
20892
20893         * invoke.texi (Thumb Options): Fix spelling.  Document new
20894         options -msingle-pic-base and -mpic-register=.
20895
20896 1999-07-26  Andrew Haley  <aph@cygnus.com>
20897
20898         * config/m32r/initfini.c (__init): Use a full word immediate for
20899         __fini: this allows it to be placed in any memory region.
20900
20901         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
20902         -mmodel=medium.  This is OK for all memory models.
20903
20904 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
20905
20906         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
20907         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
20908
20909 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
20910
20911         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
20912         defined.
20913
20914         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
20915
20916 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
20917
20918         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
20919         (BUILD_VA_LIST_TYPE): New.
20920         (EXPAND_BUILTIN_VA_START): New.
20921         (EXPAND_BUILTIN_VA_ARG): New.
20922         * i860.c (output_delayed_branch): Disable.
20923         (output_delay_insn): Likewise.
20924         (i860_saveregs): New.
20925         (i860_build_va_list): New.
20926         (i860_va_start): New.
20927         (i860_va_arg): New.
20928         * i860.md: Disable all peepholes using output_delayed_branch.
20929         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
20930
20931 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
20932
20933         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
20934         (BUILD_VA_LIST_TYPE): New.
20935         (EXPAND_BUILTIN_VA_START): New.
20936         (EXPAND_BUILTIN_VA_ARG): New.
20937         * clipper.c (clipper_builtin_saveregs): Only dump registers.
20938         Return the address of the save area.
20939         (clipper_build_va_list): New.
20940         (clipper_va_start): New.
20941         (clipper_va_arg): New.
20942
20943 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
20944
20945         * arc.h (EXPAND_BUILTIN_VA_START): New.
20946         (EXPAND_BUILTIN_VA_ARG): New.
20947         * arc.c (arc_setup_incoming_varargs): Set alias set of
20948         varargs save area.
20949         (arc_va_start): New.
20950         (arc_va_arg): New.
20951
20952 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
20953
20954         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
20955         (BUILD_VA_LIST_TYPE): New.
20956         (EXPAND_BUILTIN_VA_START): New.
20957         (EXPAND_BUILTIN_VA_ARG): New.
20958         * alpha.c (alpha_builtin_saveregs): Delete.
20959         (alpha_build_va_list): New.
20960         (alpha_va_start): New.
20961         (alpha_va_arg): New.
20962
20963 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
20964
20965         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
20966         column zero.
20967         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
20968         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
20969
20970         * gcc.texi: More changes related to list conversion.
20971         * invoke.texi: Likewise.
20972
20973 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
20974
20975         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
20976         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
20977         (expand_builtin_next_arg): Accept ARGLIST not EXP.
20978         (stabilize_va_list): New function.
20979         (std_expand_builtin_va_start): New function.
20980         (expand_builtin_va_start): New function.
20981         (get_varargs_alias_set): New function.
20982         (std_expand_builtin_va_arg): New function.
20983         (expand_builtin_va_arg): New function.
20984         (expand_builtin_va_end): New function.
20985         (expand_builtin_va_copy): New function.
20986         (expand_builtin): Call them.
20987         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
20988         __builtin_{varargs_start,stdarg_start,end,copy}.
20989         (build_va_arg): New function.
20990         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
20991         (build_va_arg): Declare.
20992         * c-decl.c (ptr_type_node, va_list_type_node): New.
20993         * c-parse.gperf (__builtin_va_arg): New.
20994         * c-parse.in (VA_ARG): New token.
20995         (unary_expr): Recognize it.
20996         * expr.c (expand_expr): Expand VA_ARG_EXPR.
20997         * expr.h (std_expand_builtin_va_start): Declare.
20998         (std_expand_builtin_va_arg): Declare.
20999         (expand_builtin_va_arg): Declare.
21000         (get_varargs_alias_set): Declare.
21001         * tree.def (VA_ARG_EXPR): New.
21002         * tree.h (BUILT_IN_VARARGS_START): New.
21003         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
21004         (ptr_type_node, va_list_type_node): Declare.
21005         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
21006         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
21007         * m88k.h, m88k.c: Likewise.
21008         * mn10300.h, mn10300.c: Likewise.
21009         * pa.h, pa.c: Likewise.
21010         * rs6000.h, rs6000.c: Likewise.
21011         * sh.h, sh.c: Likewise.
21012         * sparc.h, sparc.c: Likewise.
21013
21014         * emit-rtl.c (operand_subword): Copy alias set.
21015         (change_address): Likewise.
21016
21017 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
21018
21019         * pa.c (compute_frame_size): Scan all the used callee saved registers,
21020         not just the first one.
21021
21022 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
21023
21024         * config/arm/arm.h (TARGET_SWITCHES): Add
21025         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
21026         (TARGET_OPTIONS): Add -mpic-register=.
21027         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
21028         (arm_pic_register_string): Declare.
21029         (NEED_PLT_GOT): Delete, replace with ...
21030         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
21031         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
21032         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
21033         * config/arm/arm.c (arm_override_options): Add new option
21034         -mpic-register=N.
21035         (arm_pic_register_string): New variable.
21036         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
21037         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
21038         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
21039         (output_return_instruction): Likewise.
21040         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
21041         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
21042         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
21043
21044         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
21045         mention of -msched-prolog.  Document new options -msingle-pic-base
21046         and -mpic-register=.
21047
21048 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
21049
21050         * haifa-sched.c (reemit_notes): Tidy.
21051         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
21052         haifa's routine.
21053
21054 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
21055
21056         * explow.c (trunc_int_for_mode): New function.
21057         (plus_constant_wide): Use it.
21058         * combine.c (simplify_and_const_int): Likewise.
21059         (merge_outer_ops): Likewise.
21060         (simplify_shift_const): Likewise.
21061         * cse.c (simplify_unary_operation): Likewise.
21062         (simplify_binary_operation): Likewise.
21063         * emit-rtl.c (operand_subword): Likewise.
21064         * rtl.h: Declare it.
21065
21066 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21067
21068         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
21069         (use NUM_REGS instead of NUM_INTS).
21070
21071 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21072
21073         * builtins.c: New file.
21074         * expr.c (saveregs_value, apply_args_value):  Delete definition,
21075         moved into builtins.c.
21076         (string_constant): No longer static.
21077         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
21078         apply_args_size, apply_result_size, result_vector,
21079         expand_builtin_apply_args, expand_builtin_apply,
21080         expand_builtin_return): Delete functions, moved into builtins.c.
21081         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
21082         * expr.h (saveregs_value, apply_args_value): Declare variables.
21083         (expand_builtin, string_constant): Declare functions.
21084         * Makefile.in: Update to build builtin.o.
21085
21086 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
21087
21088         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
21089         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
21090         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
21091         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
21092         false.
21093         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
21094         Define to zero.
21095
21096 1999-07-21  Michael Meissner  <meissner@cygnus.com>
21097
21098         * print-rtl.c (print_rtx): Print the names of the virtual
21099         registers.
21100
21101 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
21102
21103         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
21104         introduced in previous delta.
21105
21106 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21107
21108         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
21109         to avoid name clash.
21110
21111 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21112
21113         * c-lex.c (yylex) : Correct the test for overflow when lexing
21114         integer literals.
21115
21116 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
21117
21118         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
21119         (adjust_priority): Always call ADJUST_PRIORITY.
21120         (schedule_insn): Only put insns into the ready at cost 0.
21121         (schedule_block): Remove redundant initial sort.  Give clock_var
21122         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
21123         is not 0.
21124         * tm.texi (MD_SCHED_REORDER): Update docs.
21125
21126         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
21127         * sparc.c (ultra_reorder_called_this_block): Delete.
21128         (ultrasparc_sched_init): Don't set it.
21129         (ultrasparc_sched_reorder): Don't check it.
21130
21131 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
21132
21133         * rs6000.h (struct rs6000_args): Add sysv_gregno.
21134         * rs6000.c (init_cumulative_args): Init sysv_gregno.
21135         (function_arg_boundary): Align DFmode.
21136         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
21137         to get fp reg and stack overflow correct.
21138         (function_arg): Likewise.
21139         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
21140         (setup_incoming_varargs): Restructure for ABI_V4; use
21141         function_arg_advance to skip final named argument.
21142         (expand_builtin_saveregs): Properly unskip the last integer arg
21143         when doing varargs.  Adjust overflow location calculation.
21144
21145         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
21146         explicitly unsigned.
21147         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
21148         (__VA_GP_REGSAVE): Similarly.
21149         (__va_longlong_p): Delete.
21150         (__va_arg_type_violation): New declaration.
21151         (va_arg): Restructure.  Flag promotion errors.  Align double.
21152         TFmode passed by reference.
21153
21154         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
21155         in the HOST_BITS_PER_WIDE_INT > 32 case.
21156
21157 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
21158
21159         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
21160
21161 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
21162
21163         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
21164         * toplev.c (documented_lang_options): Add -fpreprocessed.
21165         * cpplib.h (struct cpp_buffer): Add preprocessed.
21166         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
21167         (cpp_start_read): Don't expand macros or emit an initial #line
21168         directive if -fpreprocessed.
21169
21170 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21171
21172         * cpplib.h (struct cpp_buffer): Added manual_pop for
21173         better C++ tokenization.
21174         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
21175         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
21176         * c-common.c (cpp_token): Make non-static.
21177
21178 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21179
21180         * c-common.h: New file.
21181         * c-common.c (permanent_obstack): Delete unused declaration.
21182         (c_global_trees): New array.
21183         (c_common_nodes_and_builtins): New function; split off common code
21184         from init_decl_processing in both c-decl.c and cp/decl.c.
21185         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
21186         c_global_trees and accessor macros defined in c-common.h.
21187         Include c-common.h.
21188         * c-decl.c: Delete definitions for tree nodes that were replaced by
21189         c_global_trees.
21190         (init_decl_processing): Build void_list_node.
21191         Call c_common_nodes_and_builtins; delete code to generate the common
21192         builtins here.
21193         * objc/objc-act.c (build_module_descriptor): Rename variable
21194         void_list_node to avoid clash with c-common.h.
21195
21196         * Makefile.in: Update dependencies.
21197         * objc/Make-lang.in: Likewise.
21198
21199 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
21200
21201         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
21202         (UNIQUE_SECTION_P): Likewise.
21203         (UNIQUE_SECTION): Likewise.
21204
21205 1999-07-19  Linas Vepstas  <linas@linas.org>
21206
21207         * config/i370/README: New file.
21208         * config/i370/linux.h: New file.
21209         * config/i370/mvs.h: New file.
21210         * config/i370/oe.h: New file.
21211         * config/i370/t-linux: New file.
21212         * config/i370/t-mvs: New file.
21213         * config/i370/t-oe: New file.
21214         * config/i370/x-oe: New file.
21215         * config/i370/xm-linux.h: New file.
21216         * config/i370/xm-mvs.h: New file.
21217         * config/i370/xm-oe.h: New file.
21218
21219         * i370.c (label_node_t): Add first_ref_page, label_addr,
21220         label_first_ref, label_last_ref members.
21221         (mvs_need_base_reload): Renamed from mvs_label_emitted.
21222         (MAX_MVS_LABEL_SIZE): Define.
21223         (MAX_LONG_LABEL_SIZE): Define.
21224         (alias_node_t, alias_anchor, alias_number): New.
21225         (mvs_function_table): Reorder for EBCDIC.
21226         (ascebc, ebcasc): Unconditionally define.
21227         (i370_branch_dest, i370_branch_length): New functions.
21228         (i370_short_branch, i370_label_scan): New functions.
21229         (mvs_get_label): Renamed from mvs_add_label.  Search for
21230         an existing label before creating a new one.
21231         (mvs_add_label): New function.
21232         (mvs_get_label_page): New function.
21233         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
21234         over the entire list.
21235         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
21236         (mvs_check_page) [TARGET_ELF_ABI]: New function.
21237         (mvs_add_alias, mvs_need_alias): New functions.
21238         (mvs_get_alias, mvs_check_alias): New functions.
21239         (handle_pragma): New function.
21240         (mvs_function_check): New function.
21241         (unsigned_jump_follows_p): Search harder.
21242         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
21243         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
21244         * i370.h (TARGET_VERSION): Delete.
21245         (CPP_SPEC, CPP_PREDEFINES): Delete.
21246         (mvs_label_emitted): Delete.
21247         (TARGET_EBCDIC): Delete.
21248         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
21249         (HANDLE_PRAGMA): Define.
21250         (HARD_REGNO_NREGS): Handle complex modes.
21251         (HARD_REGNO_MODE_OK): Likewise.
21252         (CLASS_MAX_NREGS): Likewise.
21253         (RET_REG): Likewise.
21254         (EXTRA_CONSTRAINT): Define.
21255         (RETURN_IN_MEMORY): True for DImode.
21256         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
21257         (FUNCTION_PROFILER): Delete.
21258         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
21259         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
21260         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
21261         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
21262         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
21263         (ASM_FILE_START): Add "RMODE ANY".
21264         (ASM_OUTPUT_EXTERNAL): Check for aliases.
21265         (ASM_GLOBALIZE_LABEL): Likewise.
21266         (ASM_OUTPUT_LABELREF): Likewise.
21267         (ASM_OUTPUT_COMMON): Likewise.
21268         (PRINT_OPERAND): Handle 'K', 'W', default.
21269         (PRINT_OPERAND_ADDRESS): New.
21270         (Lots of defines): Add support for TARGET_ELF_ABI.
21271         * i370.md (attr length): New.  Define for all patterns.
21272         (*): Lots of tweeks to assembly output and constraints.
21273
21274 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
21275
21276         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
21277         Disable patterns performing SImode comparisons with SImode values
21278         if TARGET_POWERPC64 and instruction does not sign-extend or does
21279         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
21280         differ for signed quantities.
21281         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
21282         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
21283         (decrement_and_branch_on_count): Add 64-bit variant.
21284
21285 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21286
21287         * final.c (output_asm_insn): When searching for the matching string
21288         for a given dialect, don't run past the end of the list of
21289         alternatives if there are fewer alternatives in the template than
21290         dialects.
21291
21292 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
21293
21294         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
21295         Removed paragraph about compression of files and size limitation,
21296         duplicated in the FAQ.  Use gcc-patches for posting patches.
21297         * gcc.c (main): Updated URL with bug reporting instructions to
21298         gcc.gnu.org.  Removed e-mail address.
21299         * system.h (abort): Likewise.
21300
21301 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21302
21303         * Makefile.in (stmp-multilib-sub): Make the files extracted
21304         from $(LIBGCC1) writable.
21305
21306 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
21307
21308         * config/arm/aout.h: Reformat for improved readability.
21309
21310         * config/arm/arm.h: Reformat for improved readability.
21311         Replace uses of fprintf with asm_fprintf where appropriate.
21312         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
21313         function declaration assembler actions.
21314         (NUM_INTS): New macro: Convert from bytes to words.
21315         (NUM_REGS): New macro: Compute number of registers required to
21316         hold a quanitity of tyep MODE.
21317         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
21318         types.
21319         (NUM_ARG_REGS): New macro: The number of argument registers
21320         available.
21321         (ARG_REGISTER): New macro: Compute the register number of the Nth
21322         argument register.
21323         (LAST_ARG_REGNUM): New macro: The number of the last argument
21324         register.
21325         (SP_REGNUM): New macro: Register number of the stack pointer.
21326         (FP_REGNUM): New macro: Register number of the frame pointer.
21327         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
21328         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
21329         CUMULATIVE_ARGS so that it counts registers not bytes.
21330
21331         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
21332         TARGET_INTERWORK.
21333         Replace uses of fprintf with asm_fprintf where appropriate.
21334         (output_ascii_pseudo_op): Replace with version from thumb.c
21335
21336         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
21337
21338         * config/arm/elf.h (CPP_PREDEFINES): Replace with
21339         SUBTARGET_CPP_SPEC.
21340         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
21341         (ASM_FILE_START): Emit ASM_APP_OFF.
21342
21343 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
21344
21345         * pa.c (compute_frame_size): Round frame according to
21346         STACK_BOUNDARY rather than a hardwired value.
21347
21348         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
21349
21350         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
21351         of "1".
21352         * configure: Rebuilt.
21353
21354         * configure.in (hppa*-*-linux*): New configuration.
21355         * configure: Rebuilt.
21356         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
21357         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
21358         * pa/pa-linux.h: New file.
21359         * pa/t-linux: New file.
21360         * pa/xm-linux.h: New file.
21361
21362         * pa.c (hppa_legitimize_address): Change references from SImode to
21363         either Pmode or word_mode as appropriate.
21364         (emit_move_sequence, store_reg, load_reg): Likewise.
21365         (set_reg_plus_d, hppa_expand_prologue): Likewise.
21366         (output_mul_insn): Likewise.
21367         * pa.h (PROMOTE_MODE): Likewise.
21368         (INITIALZE_TRAMPOLINE): Likewise.
21369         (Pmode): Define to word_mode.
21370
21371         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
21372         value of 4.  Allocate 8 bytes for each FP register save.
21373         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
21374         value of 4.
21375         (hppa_expand_prologue): Likewise.
21376         * pa.h (PROMOTE_MODE): Likewise.
21377         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
21378         (FUNCTION_ARG_BOUNDARY): Likewise.
21379
21380         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
21381
21382         * pa.c (out_of_line_prologue_epilogue): Delete.
21383         (override_options): Remove -mspace related code.
21384         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
21385         (compute_frame_size): Only allocate space for register that
21386         actually need to be saved.
21387         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
21388         (TARGET_SWITCHES): Remove -mspace, -mno-space
21389         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
21390         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
21391         * pa/ee.asm, pa/ee_fp.asm: Delete.
21392
21393         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
21394
21395         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
21396         directive in column zero.
21397
21398 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
21399
21400         * m68k.c (output_function_prologue): Fix computation of save mask
21401         when generating PIC code.
21402
21403 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
21404
21405         * tree.c (build_type_attribute_variant): Move current_obstack restore
21406         after build_qualified_type call.
21407
21408 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
21409
21410         * configure.in: Use t-iris6, even with GNU LD.
21411         * config/mips/iris6gld.h: Fix typo in linker spec.
21412         * config/mips/t-iris6gld: Remove.
21413
21414 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
21415
21416         * rs6000.md (insv, extzv): Remove SImode dependence in named
21417         patterns.  Explicitly generate DImode RTL if PowerPC64 and
21418         operand is DImode.
21419         (insvdi): Reverse start and size in instruction template.
21420
21421 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
21422
21423         * invoke.texi: Typo fixes.
21424
21425 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
21426
21427         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
21428         handle at this time instead of silently generating incorrect code.
21429         (gen_imagpart): Likewise.
21430
21431         * reload.c (find_reloads): Emit a USE for a pseudo register without
21432         a hard register if we could not create an optional reload for the
21433         pseudo.
21434
21435 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21436
21437         * c-typeck.c (output_init_element, process_init_element):
21438         When advancing constructor_unfilled_fields for a RECORD_TYPE,
21439         check for nameless bit fields.
21440
21441 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
21442
21443         * regclass.c (scan_one_insn): Notice subregs that change the
21444         size of their operand.
21445         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
21446
21447 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
21448
21449         * configure.in (alpha*-*-*): Include alpha/t-ieee.
21450         * configure: Rebuilt.
21451         * alpha/t-ieee: New file.
21452
21453 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
21454
21455         * rs6000.c (find_addr_reg): Do not select r0 as an address
21456         register.
21457
21458 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
21459
21460         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
21461
21462 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
21463
21464         * rs6000.md (movsf): Do not force easy FP constants into memory.
21465
21466         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
21467         immed_double_const to ensure they are properly truncated then
21468         sign extended.
21469
21470 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
21471
21472         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
21473         always unless NO_DEBUG is used.  Compile this code
21474         unconditionally.
21475         (replace_symbols_in_block): Compile it unconditionally.
21476
21477 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
21478
21479         * configure.in (i?86-*-elf*): New target.
21480         * configure: Rebuilt.
21481         * i386/i386elf.h, i386/t-i386elf: New files.
21482
21483 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21484
21485         * toplev.c (main): Don't complain about saying -gdwarf.
21486         (rest_of_compilation): Remove redundant code.
21487
21488 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
21489
21490         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
21491
21492 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
21493
21494         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
21495         "Li960R:", to avoid name clash.
21496
21497 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21498
21499         * loop.c (check_dbra_loop): When reversing a loop, delete all
21500         REG_EQUAL notes referencing the reversed biv except those which are
21501         for a giv based on it.
21502
21503 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
21504
21505         * version.c: Drop "gcc-" prefix from version #.
21506
21507 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
21508
21509         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
21510         the label if we're being verbose.
21511
21512 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
21513
21514         * m68k.c (output_function_prologue): Add pic register to mask
21515         if live and flag_pic.
21516         (output_function_epilogue): Likewise.
21517
21518 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
21519
21520         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
21521         directives in column zero.
21522
21523         * pa/elf.h (ASM_FILE_START): Define.
21524         * pa/som.h (ASM_FILE_START): Include .level directives.
21525         * pa/hpux10.h (ASM_FILE_START): Delete.
21526         * pa/hpux11.h (ASM_FILE_START): Delete.
21527
21528         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
21529
21530 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21531
21532         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
21533         when reload_out equals reload_in.
21534
21535 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
21536
21537         * invoke.texi (Spec Files): New node: Describe the contents of
21538         spec files.
21539
21540 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
21541
21542         * invoke.texi (DEC Alpha Options): Put @end table at
21543         beginning of line, to avoid confusing texi2html.
21544
21545 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
21546
21547         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
21548         introduced in previous delta.
21549
21550 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
21551
21552         * reload1.c (gen_reload): When synthesizing a 3 operand add
21553         sequence, improve test for when to reload OP1 into the reload
21554         register instead of OP0.
21555
21556 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
21557
21558         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
21559
21560 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
21561
21562         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
21563         string literal.
21564
21565 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
21566
21567         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
21568         (va_dcl): Use __builtin_va_alist_t.
21569
21570 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
21571
21572         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
21573         on the permanent_obstack.
21574         * dwarfout.c (output_type): Likewise.
21575
21576 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21577
21578         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21579         Merged from c-typeck.c and cp/typeck.c.
21580         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21581         Merged into c-common.
21582
21583 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
21584
21585         * c-lex.c (errorcount): Declare it.
21586         (finish_parse): Update errorcount when using CPPLIB.
21587
21588 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
21589
21590         * fixinc/inclhack.def(end_else_label): Double the backslash so
21591         sed gets a chance to see it.
21592         * fixinc/inclhack.sh: regen
21593         * fixinc/fixincl.x: regen
21594
21595 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
21596
21597         Add framework to support armv5 architecture when it becomes
21598         available:
21599
21600         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
21601         (arm_arch5): New variable.
21602         (all_architectures): Add armv5 line.
21603         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
21604         -march=armv5 is specified on the command line.
21605         (arm_arch5): Export this variable.
21606         * invoke.texi: Document new string accepted by -march= switch for
21607         ARM ports.
21608
21609         * config/arm/arm.h: Replace use of constant 12 as a register
21610         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
21611         * config/arm/arm.c: Replace use of constant 12 as a register
21612         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
21613
21614         * config/arm/elf.h: Tidy up.
21615         * config/arm/coff.h: Tidy up.
21616
21617 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
21618
21619         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
21620         * gcc/config/mips/t-iris6gld: New file.
21621         * gcc/config/mips/iris6gld.h: Likewise.
21622
21623 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21624
21625         * c-decl.c (widest_integer_literal_type_node,
21626         widest_unsigned_literal_type) : New.
21627         (init_decl_processing): Handle/use the two new types.
21628         * c-common.c (type_for_size,type_for_mode) : Same.
21629         * c-lex.c (yylex) : Same.
21630         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
21631         Same.
21632         * c-tree.h (widest_integer_literal_type_node,
21633         widest_unsigned_literal_type) : New.
21634
21635 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
21636
21637         * dwarfout.c (field_byte_offset): Correctly compute the object's
21638         byte offset for the first bit of a field which crosses an alignment
21639         boundary on a !BYTES_BIG_ENDIAN target.
21640
21641 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
21642
21643         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
21644         ntohs.
21645
21646 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
21647                           Jeff Law <law@cygnus.com>
21648
21649         * ginclude/varargs.h (va_dcl): Use word_mode for type of
21650         __builtin_va_list.
21651
21652         * except.c: Include intl.h.
21653         (expand_eh_return): Set current_function_cannot_inline.
21654         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
21655         * function.h (struct function): Add eh_return_stub_label.
21656         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
21657         * Makefile.in (except.o): Depend on intl.h.
21658
21659 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
21660
21661         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
21662         same as offsettable in cases 1 and 2.
21663
21664 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
21665
21666         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
21667         (extlh, extwh): Likewise.
21668
21669 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21670
21671         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
21672
21673 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
21674
21675         * configure.in: Add arm-pe and thumb-pe targets.
21676         * configure: Regenerate.
21677
21678         * thumb.c (arm_naked_function_p): New function: Determines if
21679         a function is naked (has no gcc generated prologue/epilogue).
21680         (is_called_in_ARM_mode): Return true if the func has the
21681         interfacearm attribute.
21682         (output_return): Do not generate a return for naked functions.
21683         (thumb_function_prologue): Do not generate a prologue for
21684         naked functions.
21685         (thumb_expand_prologue): Do not generate a prologue for naked
21686         functions.
21687         (thumb_expand_epilogue): Do not generate an epilogue for naked
21688         functions.
21689         (arm_valid_machine_decl_attribute): New function, copied from
21690         arm.c:  Permit naked and interfacearm attributes.
21691
21692         * config/arm/pe.c: New file: Support code for arm-pe target.
21693         * config/arm/pe.h: New file: Header file for arm-pe target.
21694         * config/arm/tpe.h: New file: Header file for thumb-pe target.
21695         * config/arm/t-thumb-pe: New file: Makefile fragment for
21696         thumb-pe target.
21697
21698 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
21699
21700         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
21701         -fPIC or -fpic is specified.
21702
21703 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
21704
21705         * expr.c (emit_block_move): Use copy_to_mode_reg for
21706         !TARGET_MEM_FUNCTIONS case too.
21707
21708         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
21709         appropriate.
21710         * configure: Rebuilt.
21711         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
21712         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
21713         definitions made redundant by dbxelf.h inclusion.  Delete
21714         lots of definitions related to assembly output that are
21715         specific to the SOM object format.
21716         * pa.c (output_function_prologue): Do not emit the function's
21717         name for OBJ_ELF.
21718         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
21719         * pa-pro.h: Deleted.
21720         * som.h: New file with SOM specific definitions.
21721         * elf.h: New file with ELF specific definitions.
21722
21723         * elfos.h (const_section): Output a tab before assembler directives.
21724         (ctors_section, dtors_section): Likewise.
21725         (ASM_OUTPUT_SECTION_NAME): Likewise.
21726
21727         * pa/pa1.h: Delete unused file.
21728
21729 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
21730
21731         * configure.in (hppa*-hp-hpux11*): New configuration.
21732         * configure: Rebuilt.
21733         * pa/pa-hpux11.h: New file.
21734         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
21735         command line.
21736
21737         * mips.md (leasi, leadi): New patterns.
21738
21739         * expr.c (emit_block_move): Properly handle case where one of the
21740         block move arguments has a queued increment or decrement.
21741         (clear_storage): Similarly.  Fix formatting goof.
21742
21743 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
21744
21745         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
21746         semicolon from the BSD VA_LIST replacement expression.
21747
21748         * fixinc/inclhack.sh: regen
21749         * fixinc/fixincl.x: regen
21750
21751         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
21752         now use the fixincl program.
21753
21754 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
21755
21756         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
21757         case.  Also make the PIC register call_used.
21758
21759         * m68k.h (FINALIZE_PIC): Delete.
21760         * m68k.c (finalize_pic): Delete.
21761
21762 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
21763
21764         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
21765         to memory.
21766
21767 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
21768
21769         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
21770
21771 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
21772
21773         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
21774
21775 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
21776
21777         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
21778
21779 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
21780
21781         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
21782
21783 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
21784
21785         * rs6000.c (output_toc): Always use hex values for floating-point
21786         constants.  Store single-precision values in upper-half of TOC
21787         entry in 64-bit mode.
21788         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
21789         to final constraints.
21790         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
21791         (fctiwz): Improve accuracy of RTL for pattern.
21792
21793 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21794
21795         * expr.c (expand_expr): Allow RTL_EXPR's through the
21796         MAX_INTEGER_COMPUTATION_MODE checks.
21797
21798 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
21799
21800         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
21801         such that MASK_SUPPORT_ARCH is not negative.
21802
21803 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
21804
21805         * loop.c (verify_dominator): Properly handle ADDR_VEC and
21806         ADDR_DIFF_VEC insns that appear inside loops.
21807
21808 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
21809                           Jeff Law <law@cygnus.com>
21810
21811         * rs6000.md (movdf_hardfloat32): Revert previous patch.
21812         Handle LO_SUM the same as offsettable in cases 1 and 2.
21813         * rs6000.c (find_addr_reg): Revert previous patch.
21814
21815 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
21816
21817         * system.h (strstr): New external function declaration.
21818         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
21819         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
21820         * config.in, configure: Rebuilt.
21821
21822 1999-06-24  Tom Tromey  <tromey@cygnus.com>
21823
21824         * gcc.c (main): Read user-specified specs files after computing
21825         additional startfile_prefixes.
21826
21827 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
21828
21829         Revert these two patches:
21830
21831         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21832         * loop.c (strength_reduce): When doing biv->giv conversion, update
21833         reg note of NEXT->insn.
21834
21835         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21836         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
21837         reg_biv_class.
21838         (recombine_givs): Set ix field after sorting.
21839
21840 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21841
21842         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
21843         for the parts of an UNSPEC / UNSPEC_VOLATILE.
21844
21845 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
21846
21847         *fixinc/inclhack.def:  Add fix development commentary
21848         (read_ret_type): reactivate and add selection clause
21849         (zzz_*): tweak output file name to match what is used in hackshell.tpl
21850         *fixinc/{fixincl.x|inclhack.sh}: regen
21851
21852 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
21853
21854         * expr.c (expand_expr): STRIP_NOPS before checking against
21855         MAX_INTEGER_COMPUTATION_MODE
21856         (check_max_integer_computation_mode): Likewise.
21857
21858 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
21859
21860         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
21861
21862 1999-06-22  Jim Wilson  <wilson@cygnus.com>
21863
21864         * expr.c (store_expr): When target is a promoted subreg, return a
21865         promoted subreg as a result.
21866
21867 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
21868
21869         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
21870         coding standards.
21871         (dwarf2out_define): Mark unused parameters appropriately.
21872         (gen_unspecified_parameters_die): Ditto.
21873         (gen_subprogram_die): Fix signed/unsigned warnings.
21874         (gen_variable_die): Ditto.
21875
21876 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
21877
21878         * fixinc/inclhack.def(end_else_label): combined else_label
21879         and endif_label and fixed the sed expression.
21880         *fixinc/{fixincl.x|inclhack.sh}: regen
21881
21882 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
21883
21884         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
21885         'x' when handling non-offsettable addresses
21886
21887 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
21888
21889         * final.c (shorten_branches): Don't try to split an insn that has
21890         been deleted.
21891
21892 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
21893
21894         * config/mips/mips.c (symbolic_expression_p): New function.
21895         (mips_select_rtx_section): Put symbolic expressions in the
21896         data section, not the read-only data section.
21897
21898 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
21899
21900         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
21901
21902 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
21903
21904         * collect2.c (main): Log frame table count.
21905         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
21906         (scan_prog_file) [COFF]: Handle frame tables.
21907
21908         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
21909         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
21910         * alpha/elf.h: Undef them again.
21911         * alpha/vms.h: Remove their definitions.
21912
21913 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21914
21915         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
21916         remove the clobber of r0 and change the REG_UNUSED note to
21917         REG_INC.
21918
21919 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
21920
21921         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
21922         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
21923         fits in HOST_WIDE_INT and one uses union to access a long constant
21924         as double.
21925
21926 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
21927
21928         * sparc.c (sparc_override_options): Don't allow profiling for
21929         code models other than medlow.
21930         (sparc_function_profiler): New function from old FUNCTION_PROFILER
21931         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
21932         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
21933         (sparc_block_profiler): Likewise.
21934         (sparc_function_block_profiler_exit): Likewise.
21935         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
21936         (FUNCTION_BLOCK_PROFILER): Likewise.
21937         (BLOCK_PROFILER): Likewise.
21938         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
21939         (MCOUNT_FUNCTION): New.
21940         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
21941         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
21942         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
21943         (MCOUNT_FUNCTION): New.
21944         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
21945         (BLOCK_PROFILER): Delete.
21946         (MCOUNT_FUNCTION): New.
21947
21948 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
21949
21950         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
21951
21952 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
21953
21954         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21955         Add the macros.
21956
21957         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21958         Ditto.
21959
21960         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21961         Ditto.
21962
21963         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
21964         Ditto.
21965
21966 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
21967
21968         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
21969         types.
21970
21971 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
21972
21973         * i386/djgpp.h (LIB_SPEC): New.
21974         (STARTFILE_SPEC): New.
21975
21976         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
21977
21978 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
21979
21980         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
21981         compiler flags.
21982
21983         * system.h (WSTOPSIG): New macro.
21984
21985 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21986
21987         * c-pragma.c (push_alignment): Don't ignore alignments greater than
21988         4 bytes.
21989         (insert_pack_attributes): Take into account member natural
21990         alignment.
21991
21992         * i386/winnt.c (exports_head): New static variable.
21993         (i386_pe_record_exported_symbol): New function.
21994         (i386_pe_asm_file_end): Use.
21995         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
21996         symbols to be emitted at end of assembly.
21997         (ASM_DECLARE_OBJECT_NAME): Likewise.
21998         (ASM_DECLARE_FUNCTION_NAME): Likewise.
21999
22000         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
22001         -iwithprefix.
22002
22003 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
22004
22005         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
22006         in last change.
22007
22008 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
22009
22010         * haifa-sched.c (sched_analyze_1): Use free_list instead of
22011         zapping reg_last_uses directly.
22012         (sched_analyze_2, sched_analyze_insn): Likewise.
22013         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
22014
22015 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
22016
22017         * rs6000.md (movdf_hardfloat32): Use worst case insn length
22018         attributes for cases 1 and 2.
22019
22020 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
22021
22022         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
22023         instead of set.
22024
22025 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
22026
22027         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
22028
22029 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
22030
22031         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
22032         PIC_OFFSET_TABLE_REGNUM for general alloaction.
22033         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
22034         must be stacked if it is used for PIC accesses.
22035         * arm.c (use_return_insn): Handle PIC register specially.
22036         (output_return_instruction): Likewise.
22037         (output_func_{prologue,epilogue}): Likewise.
22038         (output_expand_prologue): Likewise.
22039
22040         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
22041         (*strsi_predec): Renamed from *strqi_predec.
22042         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
22043         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
22044
22045         * arm.c (arm_override_options): Remove warning about PIC code
22046         not being supported.
22047
22048 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
22049
22050         * rs6000.c (find_addr_reg): New function.
22051         * rs6000.h (find_addr_reg): Declare.
22052         (offsettable_addr_operand): Delete.
22053         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
22054         from and stores to GPRs.
22055
22056 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
22057
22058         * alpha.c (alpha_expand_block_move): Use get_insns rather than
22059         gen_sequence as argument to emit_no_conflict_block.
22060
22061 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22062
22063         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
22064         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
22065         *fixinc/fixincl.x: regen
22066         *fixinc/inclhack.sh: regen
22067
22068 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
22069
22070         * added support for -mpcrel (PC relative addressing for m68k)
22071         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
22072         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
22073         * m68k.c (print_operand_address): Handle 32-bit PIC case.
22074         (comments for general_src_operand): Add some explanation
22075         about EXTRA_CONSTRAINTS.
22076         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
22077         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
22078         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
22079         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
22080         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
22081         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
22082         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
22083         if not already set.
22084         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
22085         * m68k.h (TARGET_PCREL): New target flag.
22086         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
22087         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
22088         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
22089         contains a SYMBOL_REF.  Relax this constraint during reload, since
22090         we want to use the predicates, not reload's built-in concept of a
22091         valid memory address, to control what insns need reloading.
22092         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
22093         operands (essentially 'g', 'm', and 's' under normal circumstances).
22094         * m68k.c (print_operand): Cause printing of pc-relative addresses
22095         to include pc register.
22096         (print_operand_address): Ditto.
22097         (general_src_operand): Accept operands that are not only
22098         general_operands, but are also valid when used as a pc-relative
22099         source.
22100         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
22101         (memory_src_operand): Similar, for memory_operands.
22102         (pcrel_address): New predicate to accept the special case of a
22103         pc-relative address.
22104         * m68k.md (many patterns): Rewrite common SImode, HImode, and
22105         QImode insns to accept *_src_operand instead of *_operand where
22106         pc-relative operands can fit.  For example, a pc-relative operand
22107         can be used as a memory source operand for addsi3, but not as a
22108         memory destination.
22109         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
22110
22111 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
22112
22113         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
22114         .thumb_set pseudo op to mark aliases of thumb functions.
22115
22116 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
22117
22118         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
22119         preference to ASM_OUTPUT_DEF, if it is defined.
22120
22121         * tm.texi: Document new, optional target macro
22122         ASM_OUTPUT_DEF_FROM_DECLS.
22123
22124 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22125
22126         * fixincludes: ISCNTL patch
22127         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
22128         (dgux_int_varargs): new for DG/UX
22129         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
22130
22131 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
22132
22133         * invoke.texi (ia32 options): Fix typo.
22134
22135 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22136
22137         * loop.c (strength_reduce): When doing biv->giv conversion, update
22138         reg note of NEXT->insn.
22139
22140 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
22141
22142         * loop.c (move_movables): Note issues with replacing REGs with
22143         SUBREGs.
22144         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
22145
22146 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
22147
22148         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
22149
22150         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
22151         the reference to `mcount' was not correct for the ELF on FreeBSD.
22152
22153 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22154
22155         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22156         reg_biv_class.
22157
22158         (recombine_givs): Set ix field after sorting.
22159
22160 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
22161
22162         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
22163         to safe to extract a subword out of a REG.
22164
22165 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22166
22167         * sh.md (mulsi3): Don't add a no-op move at the end.
22168
22169 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22170
22171         * cse.c (cse_insn): Don't put hard register source into tables for
22172         the last insn of a libcall.
22173
22174 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22175
22176         * loop.c (strength_reduce): Insert sets of derived givs at every
22177         biv increment, even if it's the only one.
22178
22179 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
22180
22181         * dwarfout.c (add_incomplete_type): New fn.
22182         (output_type): Call it.
22183         (retry_incomplete_types): New fn.
22184         (dwarfout_finish): Call it.
22185
22186         From Eric Raskin <ehr@listworks.com>:
22187         (output_type): Output types for bases.
22188
22189 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
22190
22191         * mips.c (mips_output_conditional_branch): Add `break'
22192         between `default' label and `close braces'.
22193
22194 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
22195
22196         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
22197         specifications and make it realistic.
22198         (LIB_SPEC): Likewise.
22199
22200 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
22201
22202         * config/mips/mips.c (mips_secondary_reload_class): Check for
22203         (PLUS (SP) (REG)) and return appropriate register class.
22204         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
22205         Handle (PLUS (SP) (REG)).
22206         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
22207         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
22208         of emit_insn for tablejump.
22209
22210 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
22211
22212         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
22213         asm_fprintf format string by itself.
22214         (output_function_profiler): Likewise.
22215
22216 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
22217
22218         * combine.c (simplify_logical, case AND): Only call
22219         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
22220         or the constant is positive.
22221
22222 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
22223
22224         * configure.in: Fix typo in rs6000-ibm-aix4 case.
22225         * configure: Regenerate.
22226
22227 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
22228
22229         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
22230         require a sub-version #.
22231         * configure: Rebuilt.
22232
22233 1999-06-14  Robert Lipe  (robertlipe@usa.net)
22234
22235         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
22236
22237 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
22238
22239         * c-typeck.c (process_init_element): Detect excess elements in
22240         char array initializer.
22241
22242 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
22243
22244         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
22245
22246 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22247
22248         * invoke.texi (Option Summary): Add -fpermissive flag.
22249
22250 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
22251
22252         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
22253         that require PIC code sequences.
22254
22255 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
22256
22257         * configure.in: Add new target: thumb-elf.
22258         * configure: Regenerate.
22259         * config/arm/t-thumb-elf: New file: Makefile fragment for
22260         thumb-elf build.
22261         * config/arm/telf.h: New file: Header file for thumb-elf
22262         build.
22263
22264 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
22265
22266         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
22267         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
22268         initializers is some circumstances.
22269
22270         * fixinc/inclhack.def (endif_label): Add additional selector for
22271         more bogus stuff after #endif statements.
22272         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
22273
22274 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22275
22276         * i386/cygwin.h (SET_ASM_OP): Define.
22277
22278 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22279
22280         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
22281
22282 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22283
22284         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
22285         latter.
22286
22287         * sh.md (ic_invalidate_line_i): Remove second alternative.
22288
22289 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22290
22291         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
22292         test for the presence of valid prototypes.  Delete bypass expr.
22293         (ioctl_fix_ctrl): Correct the selection expression.
22294         (no_double_slash): Correct quoting rules
22295         *fixinc/fixincl.x: regen
22296         *fixinc/inclhack.sh: regen
22297
22298 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
22299
22300         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
22301
22302 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22303
22304         * rs6000.md (movsi_got_internal_mem): Delete.
22305         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
22306         (GOT_TOC_REGNUM): Delete.
22307         (PIC_OFFSET_TABLE_REGNUM): Define.
22308         (FINALIZE_PIC): Disable.
22309         * rs6000.c (rs6000_got_register): New code for fixed pic register.
22310         (rs6000_replace_regno): Delete.
22311         (rs6000_finalize_pic): Likewise.
22312         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
22313
22314 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22315
22316         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
22317         is a note; use <= for the compare; advance P while it is
22318         a NOTE.
22319
22320 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
22321
22322         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
22323         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
22324
22325         * varasm.c (remove_from_pending_weak_list): Verify t->name
22326         is non-NULL before passing it to strcmp.
22327
22328 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22329
22330         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
22331         the typed arguments are not part of a comment
22332         (ioctl_fix_ctrl): Added a purpose comment
22333         *fixinc/fixincl.x: regenerate
22334         *fixinc/inclhack.sh: regenerate
22335
22336 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22337
22338         * invoke.texi: Add C4x invocation docs.
22339
22340 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
22341
22342         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
22343         Define new macros.
22344         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
22345         TARGET_EXPOSE_LDP.
22346         (c4x_legitimize_reload_address): New function.
22347         * config/c4x/c4x.md: Update docs.
22348
22349 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
22350
22351         * fixincludes: Avoid removing '.'.
22352         * fixinc/fixinc.svr4: Likewise.
22353         * fixinc/fixinc.winnt: Likewise.
22354         * fixinc/inclhack.tpl: Likewise.
22355         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
22356
22357 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22358
22359         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
22360         pattern.
22361         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
22362
22363 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
22364
22365         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
22366         correctly.
22367
22368 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
22369
22370         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
22371         * configure: Regenerate.
22372
22373 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
22374
22375         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
22376         values.
22377
22378 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
22379
22380         * fixinc/inclhack.def (avoid_bool): Also catch
22381         "typedef [unsigned] int bool".
22382         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
22383
22384         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
22385         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
22386         * configure: Rebuilt.
22387
22388 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
22389
22390         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
22391         such that we can override its definitions if necessary.
22392         (CPP_SPEC): New define.  Support processor specific predefines via
22393         %(cpp_cpu).
22394         (CC1_SPEC): New define.  Support processor specific compiler
22395         options via %(cc1_cpu).
22396         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
22397         -static.
22398
22399 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22400
22401         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
22402         between sed's -e flag, and the open-quote following it.
22403         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
22404
22405 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
22406                           Jeffrey A Law  (law@cygnus.com)
22407
22408         * varasm.c (assemble_start_function): Remove the function
22409         from the pending weak decls list when we define a function.
22410         (assemble_variable): Similarly for variables.
22411         (weak_finish): Ignore items on the list with a NULL name.
22412         (remove_from_ending_weak_list); New function to "remove" an item
22413         from the pending weak declarations list.
22414
22415 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22416
22417         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
22418
22419 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
22420
22421         * c-lex.c (GETC): Redefine to call getch.
22422         (UNGETC): Redefine to call put_back.
22423         (putback_buffer): New structure type.
22424         (putback): New static structure.
22425         (getch): New function.
22426         (put_back): New function.
22427         (yylex): Replace unused bytes from bad multibyte character.
22428
22429 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
22430
22431         * cpplib.c (do_define): Cast `alloca' return value.
22432         (do_include, do_undef, do_pragma): Likewise.
22433         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
22434         values.
22435         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
22436         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
22437
22438 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22439
22440         * sparc.md (abstf2): This should be an expand.
22441         (split after abstf2_notv9): Fix mode.
22442         (abstf2_hq_v9): New pattern.
22443         (abstf2_v9): Only use when no hard quad.
22444         (absdf2_v9): Fix if target is not the same as source.
22445         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
22446         Add correct output constraints.
22447
22448 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
22449
22450         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
22451         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
22452
22453 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
22454
22455         * mips.h (mips_output_conditional_branch): New function.
22456         (mips_adjust_insn_length): Likewise.
22457         (ASSEMBLER_SCRATCH_REGNUM): New macro.
22458         (ADJUST_INSN_LENGTH): Likewise.
22459         * mips.c (print_operand): Add `F' and `W' for floating-point
22460         comparison opcodes.
22461         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
22462         are now in bytes.
22463         (mips_adjust_insn_length): New function.
22464         (mips_output_conditional_branch): New function.
22465         * mips.md (length): Adjust attribute definition to handle
22466         conditional branches.  Change lengths to bytes, rather than
22467         instructions throughout.  Remove length attribute from
22468         instructions whose length is four bytes, and rely on the default
22469         instead.
22470         (dslot): Fix typo in comment.
22471         Reword conditional branch patterns to use
22472         mips_output_conditional_branch.
22473
22474 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
22475
22476         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
22477         (LIB_SPEC): Likewise.
22478         Link with -lprof1_r for -g/-pg.
22479
22480 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22481
22482         * loop.c (check_dbra_loop): Fix change of Jan 19.
22483
22484 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
22485
22486         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
22487         (STARTFILE_SPEC):  Define, override the svr4.h version.
22488         (ENDFILE_SPEC):  Likewise.
22489
22490 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
22491
22492         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
22493         * fixinc/fixincl.x: Regenerated.
22494         * fixinc/inclhack.sh: Regenerated.
22495
22496 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22497
22498         * sh.c (barrier_align): Don't return early for normal branch/barrier
22499         when optimizing for SH2.
22500
22501 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
22502
22503         * i386/udk.h (LINK_SPEC): Correct linker search path for
22504         system libraries.
22505
22506 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22507
22508         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
22509         (braf_label_ref_operand): Delete.
22510         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
22511         * sh.md (casesi_jump_2): Operand1 is now the inside of a
22512         label_ref, and has no predicate.
22513         The patten has a predicate to guard against invalid substitutions.
22514         (dummy_jump): Delete.
22515         (casesi): Update use of casesi_jump_2.
22516
22517 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22518
22519         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
22520         *fixinc/fixincl.x: regenerate
22521         *fixinc/inclhack.sh: regenerate
22522
22523 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
22524
22525         * dwarf2out.c (add_incomplete_type): New fn.
22526         (gen_struct_or_union_type_die): Call it.
22527         (retry_incomplete_types): New fn.
22528         (dwarf2out_finish): Call it.
22529
22530 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
22531
22532         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
22533         current block starts with a CODE_LABEL and ends with a CALL and
22534         we can not find all the argument setup instructions for the CALL.
22535
22536 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
22537
22538         Revert this change:
22539         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
22540         something is a candidate for optimize_bit_field_compare.
22541
22542 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22543
22544         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
22545
22546 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
22547
22548         * alpha.c (override_options): Thinko in last patch.
22549
22550         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
22551         (LIB_SPEC): Recognize -pthread.
22552
22553 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
22554
22555         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
22556         definition in config/arm/coff.h
22557         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
22558
22559 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
22560
22561         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
22562         fixes that need "file=xxx\n" prepended before invocation
22563         (start_fixer - new): starting the fixer process is complex enough
22564         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
22565         (process): uses the new routine; omit usage of putenv()
22566         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
22567         * fixinc/fixincl.x: regenerate
22568
22569 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
22570
22571         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
22572         and version #s (1.1 -> 2.96) as needed.
22573         * README.g77: Kill way out of date file in the toplevel directory.
22574
22575 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
22576
22577         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
22578         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
22579         * configure: Rebuilt.
22580         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
22581         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
22582         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
22583         (SWITCH_TAKES_ARG): Likewise.
22584         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
22585         * config/t-freebsd: Moved from config/i386/ so it can used for all
22586         FreeBSD targets.
22587
22588 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
22589
22590         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
22591
22592 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
22593
22594         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
22595         * configure: Rebuilt.
22596
22597 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
22598
22599         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
22600         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
22601         * rs6000/rs6000.c (rs6000_file_start): Use putc.
22602         (rs6000_output_load_toc_table): Same.
22603         (output_prolog, output_mi_thunk): Same.
22604         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
22605         (ASM_GLOBALIZE_LABEL): Use putc.
22606
22607 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
22608
22609         * alpha.md (reload_*_help): New patterns and splitters.
22610         (reload_*): Use them.
22611         (mov[qh]i): Likewise.
22612
22613 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
22614
22615         * cccp.c (handle_directive): Handle backslash-newlines in quoted
22616         strings correctly.
22617
22618 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
22619
22620         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
22621
22622 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
22623
22624         * flow.c (mark_regs_live_at_end, insn_dead_p,
22625         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
22626         and HARD_FRAME_POINTER_REGNUM special treatment if reload
22627         hasn't run or the frame pointer is needed.
22628         * haifa-sched.c (attach_deaths): Likewise.
22629         * sched.c (attach_deaths): Likewise.
22630
22631 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
22632
22633         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
22634         calculate_can_reach_end returns nonzero.
22635
22636         * configure.in (native gas tests): Search for an assembler in the
22637         same manner that the installed compiler will.
22638         * configure: Rebuilt.
22639         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
22640
22641         * alias.c (find_base_term): Improve handling of addresses
22642         constructed from binary operations.
22643
22644 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
22645
22646         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
22647
22648 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
22649
22650         * function.h (cleanup_label, frame_offset): Declare.
22651         (tail_recursion_label, tail_recursion_reentry): Likewise.
22652         (arg_pointer_save_area, rtl_expr_chain): Likewise.
22653         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
22654         (tail_recursion_label, tail_recursion_reentry): Likewise.
22655         (arg_pointer_save_area, rtl_expr_chain): Likewise.
22656
22657 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
22658
22659         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
22660         defined.
22661         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
22662         (MAX_OFILE_ALIGNMENT): Define.
22663
22664 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
22665
22666         * fixincl.c: Replace local include scheme with #includes of
22667         gansidecl.h and system.h.
22668         * procopen.c:  Likewise.
22669         * server.c:  Likewise.
22670
22671 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
22672
22673         * i386/t-dgux (EXTRA_PARTS): Add crti.o
22674         (crti.o): Add build rule and dependencies.
22675         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
22676
22677 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22678
22679         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
22680         (LIB_LINUX_SPEC): Likewise.
22681         (LIB_LINUX_SPEC): Add support for -pthread
22682         (CPP_OS_LINUX_SPEC): Likewise.
22683         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
22684         specified.
22685
22686 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
22687
22688         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
22689         conditional move.
22690         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
22691         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
22692         for IEEE math and CC_FCOMI.
22693         (put_jump_code): No IEEE if CC_FCOMI is set.
22694
22695 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22696
22697         * fold-const.c (fold_truthop): Make the field reference unsigned
22698         when converting a single bit compare.
22699
22700 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22701
22702         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
22703
22704 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
22705
22706         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
22707         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
22708         version did.
22709
22710         * reload.c (push_reload): Do not call remove_address_replacements
22711         when presented with identical optional reloads.
22712
22713 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
22714
22715         * alpha.h (MASK_FIX, TARGET_FIX): New.
22716         (MASK_*): Reorganize constants.
22717         (CPP_AM_FIX_SPEC): New.
22718         (TARGET_SWITCHES): Add FIX.
22719         (EXTRA_SPECS): Likewise.
22720         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
22721         (SECONDARY_MEMORY_NEEDED): Likewise.
22722         (REGISTER_MOVE_COST): Likewise.
22723         * alpha.c (override_options): Add FIX support.  Always use
22724         ALPHA_TP_PROG for ev6.
22725         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
22726         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
22727         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
22728
22729 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
22730
22731         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
22732         something is a candidate for optimize_bit_field_compare.
22733
22734 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
22735
22736         * gcc.texi (Passes): Document branch-shortening.
22737         * invoke.texi (Debugging Options): Document the fact that `-dp'
22738         outputs length information for instructions.
22739
22740 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
22741
22742         * flow.c: Revert previous delta.
22743
22744 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
22745
22746         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
22747         FRAME_POINTER_REGNUM.
22748         (mark_set_1): Ditto.
22749         (mark_used_regs): Ditto.
22750
22751 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
22752
22753         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
22754         (GOT_PCREL): New macro.  Define to 1 if not already defined.
22755         * arm/elf.h (GOT_PCREL): Define to 0.
22756         * arm.c (arm_finalize_pic): Take into account the setting of
22757         GOT_PCREL.
22758
22759 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
22760
22761         * output.h (STRIP_NAME_ENCODING): Provide default definition.
22762         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
22763
22764         * flow.c (mark_set_1): Do not record BLKmode stores as dead
22765         store elimination candidates.
22766
22767 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22768
22769         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
22770         TARGET_GAS.
22771
22772 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
22773
22774         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
22775         Add use of x-aix41-gld.
22776
22777 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22778
22779         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
22780         (ASM_OUTPUT_DESTRUCTOR): Define.
22781
22782 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
22783
22784         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
22785         last CODE_LABEL in a loop if we have previously passed a jump
22786         to the top of the loop.
22787
22788 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
22789
22790         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
22791         applying Philip's patch.
22792
22793 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
22794
22795         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
22796         are not VAR_DECLs.
22797
22798 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
22799
22800         * loop.c (strength_reduce): Grow reg_single_usage as needed.
22801
22802 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
22803
22804         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
22805         Also remove a useless comment.
22806
22807 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
22808
22809         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
22810
22811 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
22812
22813         * collect2.c (main): Only generate import or export file and add
22814         to link arguments if non-empty.  Use xmalloc not alloca.
22815         (write_{export,import}_file): Delete.
22816         (write_aix_file): New function.
22817         (locatelib): Use xmalloc not malloc.
22818         (GCC_OK_SYMBOL): Do not check type if aix64.
22819
22820 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
22821
22822         Based on patch by Scott Bambrough and Pat Beirne:
22823         * config/arm/arm.c (making_const_table): New variable.
22824         * config/arm/arm.h (making_const_table): Declare.
22825         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
22826         appropriate.
22827         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
22828         Keep track of when we are building the constant table.
22829
22830 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
22831
22832         * config/arm/arm.c (arm_override_options): Fix erroneous warning
22833         message.
22834
22835 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
22836
22837         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
22838         defined.
22839
22840 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
22841
22842         * tm.texi (FUNCTION_ARG): Correct description of a stack element
22843         in a PARALLEL.
22844
22845 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
22846
22847         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
22848
22849 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22850
22851         * rs6000.c (output_mi_thunk): Enable full support again.
22852
22853 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22854
22855         * sh.h (BRANCH_COST): Define.
22856
22857 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
22858
22859         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
22860
22861 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
22862
22863         * function.c (assign_stack_local): Align stack slot propertly.
22864         (assign_outer_stack_local): Likewise.
22865
22866 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
22867
22868         * expr.h (lang_expand_constant): Declare.
22869         * toplev.c (lang_expand_constant): Define it.
22870         * varasm.c (output_constant): Use it.
22871
22872 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22873
22874         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
22875         Change function definitions to K&R style.
22876
22877 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22878
22879         * fixinc/fixincl.c: We must not ignore SIGCLD now.
22880
22881 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
22882
22883         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
22884         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
22885         (several places): omit static initialization
22886         (process): use single fd, since only the read fd is used
22887         * fixinc/gnu-regex.c: define 'const' away, if not supported
22888         * fixinc/procopen.c(several places): omit static initialization
22889         * fixinc/server.c: define 'volitile' away, if not supported
22890
22891 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
22892
22893         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
22894         asm_fprintf and %L to generate the label name.
22895         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
22896         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
22897
22898 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
22899
22900         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
22901         insn for a conditional jump can not be found.
22902
22903 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
22904
22905         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
22906         on variables in specific sections other than .sbss and .sdata.
22907
22908 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
22909
22910         * stmt.c (expand_return): Call start_cleanup_deferral and
22911         end_cleanup_deferral around conditional code.
22912
22913 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
22914
22915         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
22916         filename lists.  Utilizes new "krstr" AutoGen function.
22917         * fixinc/fixincl.x: Rebuilt.
22918
22919 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
22920
22921         * i386.c (output_float_compare): Avoid GNU-C extensions.
22922
22923 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
22924
22925         * version.c: Bump to distinguish mainline tree from the
22926         gcc-2.95 branch.
22927
22928 See ChangeLog.1 for earlier changes.