OSDN Git Service

c708a029b7577686d717620584ff5be90af5b1d7
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-02-04  Richard Henderson  <rth@cygnus.com>
2
3         * function.c (diddle_return_value): Rework to use a callback function.
4         Use current_function_return_rtx if it's been set up.
5         (do_clobber_return_reg, clobber_return_register): New.
6         (do_use_return_reg, use_return_register): New.
7         (expand_function_end): Use them.
8         * stmt.c (expand_null_return): Likewise.
9         * function.h: Declare them.
10         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
11         (mark_reg): Change arguments as appropriate for callback.
12         * integrate.c (expand_inline_function): Revert 19 Jan change.
13
14 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
15
16         * tm.texi (Values in Registers): Fix typo: "fo" "for".
17         (Misc): Say the scheduler, not the Haifa scheduler.
18
19 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
20
21         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
22         when in_mem is set.  Update all callers.
23
24 2000-02-04  Richard Henderson  <rth@cygnus.com>
25
26         * i386/openbsd.h (INT_ASM_OP): Define.
27
28 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
29
30         * tm.texi: Fix various typos.
31
32 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
33
34         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
35         (MD_STARTFILE_PREFIX_1): New macro.
36
37 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
38
39         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
40         destination when needed.
41         (strmovsi, strsetsi): New expander.
42         (strmovsi_1, strsetsi_1): New pattern.
43         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
44         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
45         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
46         * invoke.texi (align-stringops, inline-all-stringops): Document.
47
48 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
49
50         * i386/netbsd.h (INT_ASM_OP): Define.
51
52 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
53
54         * cpplib.h (cpp_reader): Add new flag, no_directives.
55         * cpphash.c (macarg): Set it.
56         * cpplib.c (handle_directive): If no_directives is on and we
57         find a directive, issue an error and discard the line.
58
59 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
60
61         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
62         FP constants.  Add ! TARGET_FPU check for FP constants.
63
64 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
65         
66         * flow.c (find_basic_blocks): Don't kill label_value_list
67         here.
68         (cleanup_cfg): Kill it here.
69
70 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
71
72         * expr.c (store_field): Ensure ALIGN is no stricter than the
73         alignment of EXP.
74
75 2000-02-02  Richard Henderson  <rth@cygnus.com>
76
77         * jump.c (delete_insn): Partially revert 19 Jan change; 
78         don't convert unused code labels to notes at -O0.
79
80 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
81
82         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
83         split_all_insns to recreate REG_LABEL notes for flow2 pass.
84
85 2000-02-01  Richard Henderson  <rth@cygnus.com>
86
87         * i386.c (general_no_elim_operand): New.
88         (nonmemory_no_elim_operand): New.
89         (ix86_expand_move): Copy eliminable operands before a push.
90         * i386-protos.h: Declare new functions.
91         * i386.h (CAN_ELIMINATE): Simplify.
92         (PREDICATE_CODES): Update.
93         * i386.md (push insns): Don't allow eliminable register operands.
94
95 2000-02-01  Richard Henderson  <rth@cygnus.com>
96
97         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
98         replace BLKmode with DECL_RTL's mode.
99
100 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
101
102         * frame.c (find_fde): Convert for loop to do-while so compiler
103         sees it's always executed at least once.
104         * libgcc2.c (BBINBUFSIZE): Kill.
105         (__bb_init_prg): Use fgets.
106         (__bb_exit_trace_func): Don't paste strings.
107         * unroll.c (unroll_loop): Initialize unroll_type, not
108         unroll_number, and tweak logic to match.
109
110         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
111         all failure paths.
112         (ix86_flags_dependant): Likewise.  Disentangle control flow.
113         (ix86_sched_reorder): Break guts out to
114         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
115         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
116         any possible use.
117
118         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
119         use string concatenation.  Don't save and restore esi.
120
121         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
122         (machname.h): Remove script to separate file.  Use two-step
123         sequence so target is not created if script fails.
124         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
125         identifiers are defined.
126         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
127         an empty string, machine_name doesn't need to do anything at
128         all.
129         (is_cxx_header): Add more cases to regexp.
130         * fixinc/fixlib.h: Update prototype.
131         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
132         mn_get_regexps.
133         * fixinc/fixincl.c: Define NO_BOGOSITY.
134
135         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
136         (hp_sysfile): Add missing comma.
137         (math_exception): Put the wrapper ifdefs at the beginning and
138         the end of the file.
139         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
140
141 2000-02-01  Richard Henderson  <rth@cygnus.com>
142
143         * sparc.c (fp_zero_operand): Turn into a normal predicate.
144         Use CONST0_RTX.  Update all callers.
145         * sparc.h, sparc-protos.h: Update accordingly.
146         * sparc.md (fp mov insns): Use fp_zero_operand directly
147         where applicable.
148
149 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
150
151         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
152         example.
153
154 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
155
156         * Makefile.in (specs.ready): New target.
157         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
158
159 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
160
161         * fixinc.irix: Use unique filenames for writing into /tmp,
162         * fixinc.ptx: Likewise.
163         * fixinc.sco: Likewise.
164         * fixinc.svr4: Likewise.
165         * fixinc.winnt: Likewise.
166
167 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
168
169         * tsystem.h: New file.
170
171         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
172         s-crtS): Depend on tsystem.h.
173
174         * crtstuff.c: Include tsystem.h.
175         * frame.c: Likewise.
176         * libgcc2.c: Likewise.
177
178 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
179
180         * builtins.c (expand_builtin_memset): Expand for variable sized
181         lengths too.
182
183 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
184
185         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
186         on ABI.
187
188 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
189
190         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
191
192         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
193
194 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
195
196         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
197         case 3->2 combining (combining with splitting) in which 2 is CC0
198         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
199         checked at the begining of the function with the aid of calling 
200         function 'can_combine_p'. 
201
202 2000-01-31  Dave Brolley  <brolley@redhat.com>
203
204         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
205
206 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
207
208         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
209         new label.
210
211 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
212
213         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
214         
215         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
216         PROTO -> PARAMS.
217
218 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
219
220         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
221         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
222         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
223         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
224         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
225         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
226         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
227         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
228         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
229         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
230         
231         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
232         Add %(cpp_cpu) to CPP_SPEC.
233
234         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
235         Add %(cc1_cpu) to CC1_SPEC.
236
237 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
238
239         * c-decl.c (c_decode_option): Accept optional numeric argument to
240         -Wformat and set warn_format.
241         * c-common.c: Don't emit warning about non-constant printf format
242         string unless warn_format > 1.
243
244 2000-01-30  Richard Henderson  <rth@cygnus.com>
245
246         * alpha.md (return_internal): Allow after reload only.
247
248 2000-01-30  Richard Henderson  <rth@cygnus.com>
249
250         * i386.c (ix86_compute_frame_size): Omit padding1 if the
251         local frame size is zero.
252
253 2000-01-30  Richard Henderson  <rth@cygnus.com>
254
255         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
256         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
257         * alpha.md (return): Turn into an expander.
258         (return_internal): Don't use $26.
259         (epilogue): Emit the return insn.
260
261 2000-01-30  Richard Henderson  <rth@cygnus.com>
262
263         * alpha.md (negtf2, abstf2): Fix word order thinko.
264         (extendsftf2): New.
265         (trunctfsf2): Avoid intermediate rounding errors.
266
267 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
268
269         * cppfiles.c (find_position): Drop 'colp' argument, return the
270         new line base.
271         (read_and_prescan): Adjust to match.  Don't ever manipulate
272         line or line_base except via find_position.
273
274 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
275
276         * c-parse.in: Apply Ulrich's changes from c-parse.y.
277         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
278         Regenerate.
279
280 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
281
282         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
283         just print "<command line>".  If 'filename' is null or an
284         empty string, print "<stdin>" for the filename.
285         * cpplib.c (do_define): Don't print the 'location of the
286         previous definition' message if we're still parsing the
287         command line.
288         (cpp_pedwarn_with_file_and_line): Always call
289         cpp_file_line_for_message.
290
291 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
292
293         * flow.c (mark_regs_live_at_end): Fix typo.
294
295 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
296
297         * c-common.c: Adjust variable names, comments, help strings to c99.
298         * c-lex.c: Likewise.
299         * c-parse.y: Likewise.
300         * c-tree.h: Likewise.
301         * cccp.c: Likewise.
302         * cpplib.h: Likewise.
303         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
304         * cppinit.c: Likewise.
305
306 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
307
308         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
309         * c4x.c: Define the optab rtx values.
310         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
311         (c4x_emit_libcall): Use new optab rtx values.
312         (c4x_emit_libcall3): Likewise.
313         (c4x_emit_libcall_mulhi): Likewise.
314         * c4x-protos.h: Add prototypes for optab rtx values and change
315         prototypes for above c4x_emit_libcall functions.
316
317 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
318
319         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
320         syntax is used.
321         (c4x_function_prologue): Use regnames intead of float_reg_names when
322         TI syntax is used.
323         (c4x_function_epilogue): Likewise.
324         (c4x_print_operand): Likewise.
325         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
326         * c4x.md (set_high): Disable for TARGET_TI.
327
328 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
329
330         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
331         of framepointer + constant to ADDR_REGS class.
332         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
333         * c4x.c (std_or_reg_operand): New function.
334         * c4x-protos.h (std_or_reg_operand): Prototype it.
335
336 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
337
338         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
339                 object names as libgcc2.c.
340         * libgcc.S: Use newly defined names.
341
342 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
343         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
344         function.
345         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
346         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
347         (FLOW_LOOP_LAST_BLOCK): Likewise.
348
349 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
350
351         * basic-block.h (struct loop): New fields 'first' and 'last'.
352         * flow.c (flow_loops_find): Compute loop->first and loop->last.
353         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
354         and loop->last to check for NOTE_INSN_LOOP_END.
355
356 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
357
358         * predict.c (estimate_probability): Use the new FIRST and LAST fields
359         of the loop descriptor rather than HEADER and LATCH. Also added
360         missing break statements as well making some coding style modifications
361         as suggested by Michael Hayes.
362
363 2000-01-28  Richard Henderson  <rth@cygnus.com>
364
365         * flow.c (find_basic_blocks): Remove do_cleanup argument.
366         Break out that code ...
367         (cleanup_cfg): ... here.
368         (commit_one_edge_insertion): Detect a return instruction being
369         emitted to an edge.  Emit a barrier following; clear fallthru.
370         (commit_edge_insertions): Verify CFG consistency.
371         * function.c (expand_function_start): Kill unused variable.
372         (expand_function_end): Likewise.
373         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
374         to insert the epilogue.
375
376         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
377         (delete_null_pointer_checks): Likewise.
378         * output.h: Likewise.
379         * reg-stack.c (reg_to_stack): Likewise.
380         * toplev.c (rest_of_compilation): Likewise.  Run
381         thread_prologue_and_epilogue_insns after rebuilding the CFG.
382
383 2000-01-28  Richard Henderson  <rth@cygnus.com>
384
385         * Makefile.in (flow.o): Revert 24 Jan change.
386         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
387         FUNCTION_VALUE result to DECL_RESULT's mode.
388
389         * haifa-sched.c (schedule_insns): Don't recompute reg info
390         after reload.
391
392 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
393
394         * configure.in: Make --enable-cpplib the default.
395         * configure: Regenerate.
396         * gcc.dg/990119-1.c: No longer expected to fail.
397
398 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
399
400         * jump.c (jump_optimize_1): Delete an optimization that is also done
401         by merge_blocks in flow.
402
403 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
404
405         * diagnostic.c (build_message_string, output_printf,
406         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
407         (build_location_prefix): Fix non-literal format string.
408
409 2000-01-27  Richard Henderson  <rth@cygnus.com>
410
411         * alpha.md (trunctfsf2): New.
412
413 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
414
415         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
416
417 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
418
419         * cppinit.c (cpp_handle_option): Recognize C++ comments under
420         -std=gnu89.
421         * cpplib.c (skip_block_comment, skip_line_comment): Split code
422         out of...
423         (skip_comment) ... here.  Permit C++ comments in system
424         headers always.  Warn about C++ comments in user code under
425         -std=gnu89 -pedantic.
426         (copy_comment): Use skip_comment.
427         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
428         return EOF.
429         (consider_directive_while_skipping, do_else, do_endif): Call
430         validate_else unconditionally.
431         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
432         text after the conditional in a system header.
433         * cpplib.h (struct cpp_buffer): Add flag
434         warned_cplusplus_comments.
435
436 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
437
438         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
439         Use unshare_all_rtl_1.
440         (unshare_all_rtl_again): New function.
441         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
442
443         * function.c (purge_addressof_1): Use unshare_all_rtl_again
444         rather than resetting the 'used' flags ourself.
445
446         * toplev.c (rest_of_compilation): Add current_function_decl
447         to the unshare_all_rtl call.
448         * tree.h: Prototype unshare_all_rtl.
449         * rtl.h: Prototype unshare_all_rtl_again here.
450
451 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
452
453         * genoutput.c (output_prologue): Include ggc.h in generated
454         files.
455         * Makefile.in (insn-output.o): Depends on ggc.h.
456
457 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
458             Hans-Peter Nilsson  <hp@bitrange.com>
459
460         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
461         Remove redundant include of xm-ns32k.h.
462         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
463         Remove redundant include of xm-ns32k.h.
464         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
465         Remove redundant include of xm-ns32k.h.
466         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
467
468         * ns32k/ns32k.h: Update comment on multiply-add instructions.
469         (TARGET_SWITCHES): Add documentation strings.
470         (DWARF_FRAME_REGNUM): Override default definition.
471         (REG_CLASS_CONTENTS): Add comments.
472         (SUBSET_P): Format to reduce line length.
473         (SMALL_REGISTER_CLASSES): Make a run time option.
474         (GO_IF_NONINDEXED_ADDRESS): Reformat.
475         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
476         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
477         (regclass_map): fix typo in comment.
478         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
479         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
480         (trace, reg_or_mem_operand): Delete, unused function.
481         (calc_address_cost): Small offsets are cheaper than large ones.
482         (expand_block_move): Generate more efficient code when bytes is a
483         known at compile time.
484         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
485         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
486         instead of reg_or_mem_operand.
487
488         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
489         not general_operand.  Similarly use "=rm" or stricter, not "=g".
490         For input operands, use stricter constraints than "g" if not
491         general_operand.  Similarly use stricter predicate than
492         "general_operand" when stricter constraints than "g" are present,
493         except for matching constraints.
494         (movstrsi): Use "memory_operand" for operands 0 and 1.
495         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
496         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
497         not reg_or_mem_operand.
498         (udivmoddisi4): Ditto.
499         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
500         Use nonimmediate_operand for operand 3, not register_operand.
501         (udivmoddiqi4_internal): Use register_operand for operand 1, not
502         reg_or_mem_operand.
503
504 2000-01-27  Fred Fish  <fnf@be.com>
505
506         * gthr-posix.h: Fix typo; compatibily -> compatibility.
507         * gthr-single.h: Likewise.
508         * gthr-solaris.h: Likewise.
509         * gthr-vxworks.h: Likewise.
510         * gthr-win32.h: Likewise.
511         * gthr.h: Likewise.
512
513 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
514
515         * cppinit.c: Add " (cpplib)" to end of string printed by
516         -v / --version.
517
518 2000-01-27  Richard Henderson  <rth@cygnus.com>
519
520         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
521         testing for a signed comparison.
522         (alpha_emit_floatuns): New.
523         * alpha-protos.h: Declare it.
524         * alpha.md (floatunsdisf2, floatunsdidf2): New.
525         (extendsfdf2): Tidy.
526
527 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
528
529         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
530         no -g option specifying debugging format, default to -gstabs+.
531
532 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
533
534         * calls.c (special_function_p): New argument fork_or_exec.
535         (expand_call): When profile_arc_flag is set and the function
536         is in the fork_or_exec group, call __bb_fork_func first.
537         * libgcc2.c, _bb module (__bb_fork_func): New function.
538         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
539         output file.
540         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
541         * tree.h (special_function_p): Update prototype.
542
543 2000-01-26  Richard Henderson  <rth@cygnus.com>
544
545         * alpha.c (alpha_split_tfmode_pair): New.
546         * alpha-protos.h: Declare it.
547         * alpha.md (abstf2, negtf2): New.
548         (movtf insn): Add input G constraint.
549         (movtf splitter): Use alpha_split_tfmode_pair.
550
551 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
552
553         * i386/cygwin.h: PROTO -> PARAMS.
554
555 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
556
557         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
558         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
559         using _Qp_cmp/_Q_cmp and testing the return value.
560         (print_operand): Call reverse_condition_maybe_unordered if
561         we are handling CCFPmode or CCFPEmode.
562         Handle ORDERED, UN* and LTGT comparisons.
563         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
564         if not TARGET_HARD_QUAD.
565         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
566         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
567         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
568         Adjust gen_b* calls so that they reflect return comparison of
569         sparc_emit_float_lib_cmp.
570
571 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
572
573         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
574         incoming operands array is large enough for one more operand.
575         (alpha_emit_xfloating_arith): Likewise.
576
577 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
578
579         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
580         file with one line and no trailing newline.
581         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
582         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
583         checking if the match is on the line.
584         * fixinc/gnu-regex.c: Provide regerror not __regerror.
585
586 2000-01-25  Richard Henderson  <rth@cygnus.com>
587
588         * sparc.c (output_cbranch): Fix accidental squashing of the
589         fp branch pre-delay nop.
590
591 2000-01-25  Richard Henderson  <rth@cygnus.com>
592
593         * tree.def (UNNE_EXPR): Remove.
594         * c-typeck.c (build_binary_op): Don't handle it.
595         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
596
597         * rtl.def (UNNE): Remove.
598         (LTGT): Add.
599         * jump.c (reverse_condition): Update accordingly.
600         (swap_condition): Likewise.
601         (comparison_dominates_p): Handle unordered comparisons.
602         (reverse_condition_maybe_unordered): New.
603         * rtl.h (reverse_condition_maybe_unordered): Declare.
604
605         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
606         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
607         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
608         * sparc.md (bltgt): New.
609
610 2000-01-25  Nick Clifton  <nickc@redhat.com>
611
612         * emit-rtl.c (emit_insn): Only check machine class insns for
613         improper emission of a RETURN.
614
615 2000-01-25  Richard Henderson  <rth@cygnus.com>
616
617         * Makefile.in (flow.o): Depend on $(EXPR_H).
618         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
619         duplicate the structure of diddle_return_value for keeping regs live.
620
621 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
622
623         * loop.c (current_loop_info): Delete.
624         (consec_sets_invariant_p): Add loop argument, update callers.
625         (get_condition_for_loop): Likewise.
626         (count_nonfixed_reads, update_giv_derive): Likewise.
627         (simplify_giv_expr, general_induction_var): Likewise.
628         (consec_sets_giv, recombine_givs): Likewise.
629         (move_movables): Delete loop_start and loop_end arguments,
630         add loop argument, and update callers.
631         (find_mem_givs, check_final_value): Likewise.
632         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
633         (loop_invariant_p): Rename from invariant_p, add loop argument, and
634         update callers.
635         (basic_induction_var): Add loop argument, delete loop_level argument,
636         and update callers.
637         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
638         add loop argument, and update callers.
639         (find_splittable_regs, find_splittable_givs): Likewise.
640         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
641         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
642         (biv_total_increment): Delete loop_start and loop_end arguments;
643         update callers.
644         (precondition_loop_p): Delete loop_start and loop_info arguments;
645         update callers.
646         * loop.h (get_condition_for_loop): Add loop argument.
647         (biv_total_increment): Delete loop_start and loop_end arguments.
648         (precondition_loop_p): Delete loop_start and loop_info arguments;
649         add loop argument.
650         (final_biv_value): Delete loop_start and loop_end arguments;
651         add loop argument.
652         (final_giv_value, back_branch_in_range_p): Likewise.
653
654 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
655
656         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
657
658 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
659
660         * Makefile.in (c-gperf.h) : Change the "See" pointer to
661         point to the new "generated_files" doc.
662
663 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
664
665         * config/fp-bit.c (_unord_f2): Fix typo.
666
667 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
668
669         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
670         c-typeck.c, objc/objc-act.c: Remove all references to obstack
671         functions obsoleted by GC, such as push_obstacks_nochange,
672         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
673         and code which existed only to decide whether or not to call
674         them.  Remove now-unused NESTED argument from start_function;
675         all callers changed.  Do not change behavior based on ggc_p.
676         The use of the ixp_obstack in c-iterate.c and the util_obstack
677         in objc/objc-act.c remain; these are not obsoleted by garbage
678         collection.
679         * c-tree.h: Update prototype for start_function.
680
681         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
682
683 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
684
685         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
686         mips16.
687
688 2000-01-25  Richard Henderson  <rth@cygnus.com>
689
690         * sparc-protos.h (select_cc_mode): Declare.
691         * sparc.c (select_cc_mode): New.  Handle unordered compares.
692         (output_cbranch): Always reverse via code change.  Handle
693         unordered compares.  Factor tests and string updates.
694         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
695         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
696         * sparc.md (bunordered, bordered): New.
697         (bungt, bunlt, buneq, bunge, bunle): New.
698
699 2000-01-25  Richard Henderson  <rth@cygnus.com>
700
701         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
702         * ggc-common.c (ggc_add_rtx_varray_root): New.
703         (ggc_mark_rtx_varray): New.
704         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
705         functions down below ggc_mark_foo.
706         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
707
708 2000-01-25  Richard Henderson  <rth@cygnus.com>
709
710         * alpha.c (secondary_reload_class): Don't allocate a secondary
711         for integral mode memories into FLOAT_REGS.  Rearrange the more
712         complicated memory expression inward.
713
714 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
715
716         * inclhack.def: Fixes to play nicer with FreeBSD, and
717         corrections to comments.
718         (cxx_unready): Add select expression.
719         (irix_sockaddr): Add bypass expression.
720         (machine_ansi_h_va_list): New fix.
721         (stdio_va_list): No need to edit _BSD_VA_LIST_.
722         Split out addition of "#include <stdarg.h>" to...
723         (stdio_stdarg_h): ... here.
724         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
725         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
726         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
727         size_t.
728         (ultrix_ifdef): Tighten up select expression.
729
730         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
731         re_ct and max_mach to avoid use of shell.  Make printed names
732         match names in inclhack.def.  Use static copyright date.
733         Don't count c_test and test expressions as requiring regex_t
734         slots.  Add some commentary.
735         * inclhack.tpl: Do not include the 'This script contains N
736         fixup scripts' line if PROGRAM is defined.  Use static
737         copyright date.
738
739 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
740
741         * dwarf2out.c: include "varray.h", not dyn-string.h.
742         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
743         (addr_const_to_string, addr_to_string): Lose.
744         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
745         (struct dw_val_struct): val_addr is now an rtx.
746         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
747         (used_rtx_varray): New varray.
748         (dwarf2out_init): Initialize it.
749         (save_rtx): New fn.
750         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
751         addr_to_string.
752         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
753         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
754         * Makefile.in (dwarf2out.o): Update dependencies.
755
756 2000-01-24  Richard Henderson  <rth@cygnus.com>
757
758         * i386.c (i386_dwarf_output_addr_const): New.
759         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
760
761         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
762         if defined.
763         * dwarfout.c (output_mem_loc_descriptor): Likewise.
764         * i386.c (i386_simplify_dwarf_addr): New.
765         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
766
767 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
768
769         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
770         TYPE_STUB_DECL is NULL.
771
772 2000-01-24  Richard Henderson  <rth@cygnus.com>
773
774         * builtins.c (expand_tree_builtin): Move ...
775         * c-common.c (expand_tree_builtin): ... here.
776
777 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
778
779         * loop.h (LOOP_INFO): New accessor macro.
780         * basic-block.h (struct loop): Rename field `info' to `aux'.
781         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
782         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
783         * unroll.c (loop_iterations, unroll_loop): Likewise.
784
785 2000-01-24  Christopher Faylor <cgf@cygnus.com>
786
787         * config/i386/t-cygwin: Accomodate new winsup directory layout
788         when searching for include files.
789
790 2000-01-24  Richard Henderson  <rth@cygnus.com>
791
792         * rtl.def: Add unordered fp comparisions.
793         * tree.def: Likewise.
794         * tree.h: Add ISO C 9x unordered fp comparision builtins.
795
796         * builtins.c (expand_tree_builtin): New function.
797         * c-typeck.c (build_function_call): Use it.
798         (build_binary_op): Support unordered compares.
799         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
800
801         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
802         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
803         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
804         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
805         * jump.c (reverse_condition): Don't abort for UNLE etc, but
806         return UNKNOWN.
807         (swap_condition): Handle unordered compares.
808         (thread_jumps): Check can_reverse before reversing.
809         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
810         reversed for FP.
811
812         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
813         setcc is present before acking for cmp_optab.  Update all callers.
814         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
815         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
816         * expr.c (expand_expr): Likewise.  Support unordered compares.
817         (do_jump, do_store_flag): Likewise.
818         * expr.h (enum libfunc_index): Add unordered compares.
819
820         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
821         (DPBIT_FUNCS): Add _unord_df.
822         * config/fp-bit.c (_unord_f2): New.
823         * fp-test.c (main): Try unordered compare builtins.
824
825         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
826         * alpha.c (alpha_comparison_operator): Check mode properly.
827         (alpha_swapped_comparison_operator): Likewise.
828         (signed_comparison_operator): Likewise.
829         (alpha_fp_comparison_operator): New.
830         (alpha_emit_conditional_branch): Handle unordered compares.
831         * alpha.h (PREDICATE_CODES): Update.
832         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
833         (bunordered, bordered): New.
834
835 2000-01-24  Richard Henderson  <rth@cygnus.com>
836
837         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
838         * alpha.md (movtf): New expander, insn, and splitter.
839
840 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
841
842         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
843         dead registers.
844
845 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
846
847         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
848         (FIXED_REGISTERS, CALL_USED_REGISTERS,
849          REG_ALLOC_ORDER): Add frame pointer
850         (FRAME_POINTER_REGNUM): Set to 20
851         (HARD_FRAME_POINTER_REGNUM): New macro.
852         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
853         to HARD_FRAME_POINTER.
854         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
855         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
856         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
857         (HI_REGISTER_NAMES): Add "frame".
858         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
859         (debug_reg): Handle FRAME_POINTER_REGNUM.
860         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
861         GENERAL_REGS and INDEX_REGS.
862         * i386.c (SAVED_REGS_FIRST): new macro.
863         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
864         (ix86_decompose_address, memory_address_length): Likewise.
865         (regclass_map): Add frame pointer.
866         (call_insn_operand): Handle frame_pointer_rtx.
867         (reg_no_sp_operand): Likewise.
868         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
869         (print_operand, legitimize_pic_address): Fix formating.
870         (ix86_compute_frame_size): Make static, update prototype, new
871         parameters padding1, padding2, use ix86_nsaved_regs, use
872         stack_alignment_needed.
873         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
874         to HARD_FRAME_POINTER_REGNUM conversions.
875         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
876         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
877         (print_reg): Abort on FRAME_POINTER_REGNUM
878
879 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
880
881         * i386.h (PREDICATE_CODES): Add aligned_operand.
882         * i386.c (aligned_operand): New function.
883         (ix86_aligned_p): Kill.
884         * i386.md (movhi_1): Emit mov for aligned operands.
885         (promoting peep2s): Use aligned_operand.
886
887 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
888
889         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
890         expression to allow underscores in macro names.
891         (fix_char_macro_defines): Increment scanning pointer.
892
893 2000-01-23  Richard Henderson  <rth@cygnus.com>
894
895         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
896         * alpha/osf5.h: New file.
897         * configure.in (alpha-*-osf5): Add it to tm_file.
898
899         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
900
901         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
902         (alpha_emit_xfloating_cvt, function_arg): Declare.
903         * alpha.c (alpha_emit_conditional_branch): Call
904         alpha_emit_xfloating_compare for TFmode compares.
905         (alpha_lookup_xfloating_lib_func): New.
906         (alpha_compute_xfloating_mode_arg): New.
907         (alpha_emit_xfloating_libcall): New.
908         (alpha_emit_xfloating_arith): New.
909         (alpha_emit_xfloating_compare): New.
910         (alpha_emit_xfloating_cvt): New.
911         (print_operand): Add default abort case.
912         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
913         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
914         (BIGGEST_ALIGNMENT): Increase to 128 bits.
915         (RETURN_IN_MEMORY): True for TF/TCmode.
916         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
917         (FUNCTION_ARG): Move to function_arg.
918         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
919         (ASM_OUTPUT_LONG_DOUBLE): New.
920         (ASM_OUTPUT_DOUBLE): Always output bits.
921         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
922         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
923         (extenddftf2, trunctfdf2): New.
924
925 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
926
927         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
928         * config/sparc/sol2.h: ... here.
929
930 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
931
932         * basic-block.h (struct loops): New field `levels'.
933         * flow.c (flow_loops_level_compute): Traverse all outer loops.
934         (flow_loop_level_compute): Initialise level to 1.
935         (flow_loops_find): Set loops->levels.
936         (flow_loops_dump): Print loops->levels.
937
938 2000-01-23  Richard Henderson  <rth@cygnus.com>
939
940         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
941         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
942
943 2000-01-23  Richard Henderson  <rth@cygnus.com>
944
945         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
946         * i386.h (DBX_REGISTER_NUMBER): Use them.
947         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
948         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
949         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
950         * i386/sequent.h: Kill incorrect comment.
951
952 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
953
954         * ggc-page.c (struct page_entry): Make `context_depth' an
955         `unsigned short'.
956         (struct globals): Likewise.
957
958 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
959
960         * loop.c (check_dbra_loop): When checking a loop for
961         reversability, check the source of any stores to ensure
962         they don't depend on an initial value.
963
964 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
965
966         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
967
968 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
969
970         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
971         'pz_scan' into scope of entire function.  Only affects
972         compiles with -DDEBUG.
973
974 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
975
976         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
977         section naming to that prior to 2000-01-07 patch.
978         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
979         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
980         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
981         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
982         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
983
984 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
985
986         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
987         constant.
988
989 2000-01-21  Jim Wilson  <wilson@cygnus.com>
990
991         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
992         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
993
994 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
995
996         * cpphash.c (change_newlines): Delete function.
997         (struct argdata): Delete 'newlines' and 'use_count' fields.
998         (macroexpand): Remove code referencing those fields.
999
1000 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1001
1002         * loop.c (loops_info): New variable.
1003         (loop_optimize): Allocate loops->array and free it on exit.
1004         Allocate memory for loops_info and assign to each loop,
1005         replacing alloca.
1006         (find_and_verify_loops): Do not allocate loops->array.
1007
1008 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
1009
1010         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
1011
1012 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
1013
1014         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
1015         pseudos if expanded after first flow.
1016         (movdi_pic_label_ref): Likewise.
1017
1018 2000-01-20  Richard Henderson  <rth@cygnus.com>
1019
1020         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
1021
1022 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
1023
1024         * Makefile.in (fixinc.sh): Depend on specs.
1025         * fixinc/Makefile.in: Add rule to create machname.h.
1026         (fixlib.o): Depend on machname.h.
1027         * fixinc/fixtests.c (machine_name): New test.
1028         * fixinc/fixfixes.c (machine_name): New fix.
1029         * fixinc/fixlib.c (mn_get_regexps): New helper function for
1030         the machine_name test and fix.
1031         * fixinc/fixlib.h: Prototype it.
1032         * fixinc/inclhack.def (machine_name): Use the C test and fix.
1033         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
1034
1035         * gcc.c (do_spec_1) [case P]: Take care not to create
1036         identifiers with three leading or trailing underscores.
1037
1038         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
1039         (fixincl): Don't specify libraries twice on link line.
1040         (gnu-regex.o): Remove special rule.
1041         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
1042         defined by config.h.  Do not define _REGEX_RE_COMP.
1043         (regcomp): Allocate and initialize a fastmap.
1044         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
1045
1046 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
1047
1048         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
1049
1050 2000-01-19  Richard Henderson  <rth@cygnus.com>
1051
1052         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
1053         arguments with BB.  Update all callers.  Tidy line wrapping.
1054
1055 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
1056
1057         * emit-rtl.c (try_split): Return last_insn if we split the
1058         last_insn.
1059
1060 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
1061
1062         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
1063         (ix86_initial_elimination_offset): Declare.
1064         * i386.c (ix86_nsaved_regs): Break out from ...
1065         (ix86_can_use_return_insn_p): ... here.
1066         (ix86_emit_save_regs): Break out from ...
1067         (ix86_expand_prologue): ... here.
1068         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
1069         out from ...
1070         (ix86_expand_epilogue): ... here.
1071         (ix86_compute_frame_size): Make static, add prototype.
1072         (ix86_initial_elimination_offset): Break out from ...
1073         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
1074
1075 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1076
1077         * recog.h (OUT_FCN): Delete.
1078
1079         * vax.md: Call `get_insn_template' instead of OUT_FCN.
1080
1081 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1082
1083         * cppalloc.c: PROTO -> PARAMS.
1084         * cpperror.c: Likewise.
1085         * cppfiles.c: Likewise.
1086         * cpplib.c: Likewise.
1087         * cpplib.h: Likewise.
1088
1089         * config/arm/arm-protos.h: PROTO -> PARAMS.
1090         * config/arm/arm.c: Likewise.
1091         * config/c4x/c4x.c: Likewise.
1092         * config/fr30/fr30-protos.h: Likewise.
1093         * config/nextstep.c: Likewise.
1094         * config/pa/pa.c: Likewise.
1095         * config/pj/pj.c: Likewise.
1096         * config/rs6000/rs6000.c: Likewise.
1097         * config/v850/v850-protos.h: Likewise.
1098         * config/v850/v850.c: Likewise.
1099
1100 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1101
1102         * i370-protos.h: New file.
1103
1104         * i370.c: Include tm_p.h.  Fix compile time warnings.
1105
1106         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
1107         warnings.
1108
1109         * i370.md: Likewise.
1110
1111 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1112
1113         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
1114         (target_isinf, target_isnan, eisnan): Mark parameter with
1115         ATTRIBUTE_UNUSED.
1116         (eiisinf): Wrap in INFINITY.
1117         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
1118         (ibmtoe): Remove unused variable `rndsav'.
1119
1120 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1121
1122         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
1123         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
1124
1125 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
1126
1127         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
1128         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
1129         (fix_char_macro_defines, fix_char_macro_uses): New functions.
1130
1131         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
1132         Recognize Emacs mode markers also.
1133         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
1134         C++ comments in C++ headers.  Call is_cxx_header only if
1135         necessary.
1136
1137         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
1138         bypass for ncurses.
1139         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
1140         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
1141         ... these, which use the new C fixes.
1142         (math_exception): Escape literal '+' in bypass expression.
1143
1144         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
1145         Regenerate.
1146
1147 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
1148
1149         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
1150         inside the MEM.
1151
1152 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1153
1154         * loop.c (loop_optimize): Allocate loop_info structure for each loop
1155         prior to calling scan_loop.
1156
1157 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1158
1159         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
1160         (split_branches, calc_live_regs): Likewise.
1161
1162 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1163
1164         * sh.md (fpu_single, fp_mode): New attributes.
1165
1166 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1167
1168         * loop.c (current_loop_info): Renamed from loop_info_data
1169         and changed to a pointer.
1170         (loop_optimize): Allocate loop_info structure for each loop
1171         and initialise to zero.
1172         (scan_loop): Set current_loop_info.
1173
1174         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
1175         on iteration_var.
1176
1177 2000-01-19  Richard Henderson  <rth@cygnus.com>
1178
1179         * stupid.c: Die die die.
1180         * Makefile.in (OBJS): Remove stupid.o.
1181         (stupid.o): Likewise.
1182
1183         * except.c (emit_eh_context): Don't emit USEs for stupid.
1184         * explow.c (probe_stack_range): Likewise.
1185         * flags.h (obey_regdecls): Remove.
1186         * flow.c (find_basic_blocks): Don't run try_merge_blocks
1187         when not optimizing.
1188         (life_analysis): Limit data collection when not optimizing.
1189         (mark_regs_live_at_end): Always mark the return value registers.
1190         (mark_used_regs): Remove dummy RETURN case.
1191         (print_rtl_with_bb): Don't consult obey_regdecls.
1192         * function.c (use_variable, use_variable_after): Remove.
1193         (assign_parms): Consult optimize not obey_regdecls.
1194         (expand_function_start): Don't emit USEs for stupid.
1195         (expand_function_end): Likewise.
1196         * global.c (build_insn_chain): Export.
1197         * integrate.c (expand_inline_function): Kill return-value USE
1198         handling code.
1199         * jump.c (jump_optimize_1): Do simple jump optimizations and
1200         dead code elimination.
1201         (calculate_can_reach_end): Remove check_deleted argument.
1202         (delete_insn): Patch out insns even when not optimizing.
1203         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
1204         * rtl.h (use_variable, use_variable_after): Remove declarations.
1205         (build_insn_chain): Declare.
1206         * stmt.c (expand_value_return): Don't emit USEs for stupid.
1207         (expand_end_bindings): Likewise.
1208         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
1209         * toplev.c (obey_regdecls): Remove.
1210         (rest_of_compilation): Don't set it.  Kill stupid in favour of
1211         flow1, local-alloc, and reload.
1212         (main): Don't set obey_regdecls.
1213
1214         * config/nextstep.c (handle_pragma): Likewise.
1215
1216         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
1217
1218         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
1219
1220 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1221
1222         * alpha-protos.h: PROTO -> PARAMS.
1223         * alpha.c: Likewise.
1224         * elf.h: Likewise.
1225         * h8300.c: Likewise.
1226         * i386-protos.h: Likewise.
1227         * i386.c: Likewise.
1228         * m32r-protos.h: Likewise.
1229         * m32r.c: Likewise.
1230         * mips.c: Likewise.
1231         * mips.md: Likewise.
1232         * gmon-sol2.c: Likewise.
1233         * sparc.c: Likewise.
1234
1235 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1236
1237         * ns32k-protos.h: New file.
1238
1239         * ns32k.c: Fix compile time warnings.
1240
1241         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
1242         warnings.
1243
1244         * ns32k.md: Likewise.
1245
1246 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1247
1248         * vax-protos.h: New file.
1249
1250         * vax.c: Fix compile time warnings.
1251
1252         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
1253         warnings.
1254
1255         * vax.md: Likewise.
1256
1257         * vaxv.md: Likewise.
1258
1259 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1260
1261         * romp-protos.h: New file.
1262
1263         * romp.c: Fix compile time warnings.
1264
1265         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
1266         warnings.
1267
1268         * romp.md: Likewise.
1269
1270 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1271
1272         * we32k-protos.h: New file.
1273
1274         * we32k.c: Fix compile time warnings.
1275
1276         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
1277         warnings.
1278
1279 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1280
1281         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
1282
1283         * except.c (eh_regs): Likewise.
1284
1285         * final.c (output_operand): Likewise.
1286
1287         * fold-const.c (target_isinf, target_isnan): Likewise.
1288
1289 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1290
1291         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
1292         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
1293
1294         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
1295         when optimize_size.
1296         (clrstrsi): Rewrite.
1297         (strsethi, strsetqi): New expanders.
1298         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
1299         (cmpstrsi): Emit compare insn before cmpstrsi_1
1300         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
1301         (strlensi_1): Likewise.
1302         (cmpstrsi_1): Likewise; do not output compare.
1303         (strlen expander): Do not unroll when optimizing for size.
1304         (*subsi3_carry): Rename to subsi3_carry
1305         (addqi3_cc): New pattern.
1306         * i386.h (processor_costs): Add move_ratio field.
1307         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
1308         * i386.c (*_cost): Set move_ratio.
1309         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
1310         (x86_expand_strlensi_1): Rewrite the main loop.
1311
1312 2000-01-17  Richard Henderson  <rth@cygnus.com>
1313
1314         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
1315         * cse.c (find_comparison_args, fold_rtx): Likewise.
1316         * integrate.c (subst_constants): Likewise.
1317         * loop.c (get_condition): Likewise.
1318
1319         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
1320
1321         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
1322
1323 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1324
1325         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
1326         (RESTORE_WARN_FLAGS): Unpack it.
1327         Change semantic type of extension to ttype.
1328         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
1329         * c-parse.y, c-parse.c, objc/objc-parse.y,
1330         objc/objc-parse.c: Regenerate.
1331
1332 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
1333
1334         * fixinc/fixlib.c: Add copyright notice.
1335         (compile_re): New function.
1336         * fixinc/fixlib.h: Prototype compile_re.
1337
1338         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
1339         Use compile_re to compile regular expressions.
1340
1341         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
1342         where the pattern matched.
1343
1344         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
1345         use 'replace'.
1346         (ultrix_ansi_compat): Likewise.
1347         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
1348         add egrep test.
1349         (interactv_add2, interactv_add3): Delete.
1350         (x11_sprintf): Don't use filename glob.
1351         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
1352         Regenerate.
1353
1354 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1355
1356         * print-rtl.c: PROTO -> PARAMS.
1357         * real.c: Likewise.
1358         * reg-stack.c: Likewise.
1359         * resource.c: Likewise.
1360         * sdbout.h: Likewise.
1361         * simplify-rtx.c: Likewise.
1362         * stor-layout.c: Likewise.
1363         * stupid.c: Likewise.
1364         * xcoffout.c: Likewise.
1365         * xcoffout.h: Likewise.
1366
1367 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1368
1369         * toplev.c: PROTO -> PARAMS.
1370         * toplev.h: Likewise.
1371         * tree.c: Likewise.
1372         * tree.h: Likewise.
1373         * unroll.c: Likewise.
1374         * varasm.c: Likewise.
1375         * varray.c: Likewise.
1376         * varray.h: Likewise.
1377
1378 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1379
1380         * reload.c: PROTO -> PARAMS.
1381         * reload.h: Likewise.
1382         * reload1.c: Likewise.
1383         * reorg.c: Likewise.
1384         * resource.h: Likewise.
1385         * rtl.c: Likewise.
1386         * rtl.h: Likewise.
1387         * rtlanal.c: Likewise.
1388         * sbitmap.h: Likewise.
1389         * sdbout.c: Likewise.
1390         * stack.h: Likewise.
1391         * stmt.c: Likewise.
1392         * system.h: Likewise.
1393
1394 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1395
1396         * machmode.h: PROTO -> PARAMS.
1397         * mbchar.h: Likewise.
1398         * mips-tdump.c: Likewise.
1399         * mips-tfile.c: Likewise.
1400         * optabs.c: Likewise.
1401         * output.h: Likewise.
1402         * prefix.c: Likewise.
1403         * profile.c: Likewise.
1404         * protoize.c: Likewise.
1405         * real.h: Likewise.
1406         * recog.c: Likewise.
1407         * recog.h: Likewise.
1408         * regclass.c: Likewise.
1409         * regmove.c: Likewise.
1410         * regs.h: Likewise.
1411
1412 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1413
1414         * ggc-common.c: PROTO -> PARAMS.
1415         * ggc-page.c: Likewise.
1416         * ggc-simple.c: Likewise.
1417         * ggc.h: Likewise.
1418         * global.c: Likewise.
1419         * graph.c: Likewise.
1420         * gthr-win32.h: Likewise.
1421         * haifa-sched.c: Likewise.
1422         * halfpic.h: Likewise.
1423         * integrate.c: Likewise.
1424         * integrate.h: Likewise.
1425         * jump.c: Likewise.
1426         * lcm.c: Likewise.
1427         * local-alloc.c: Likewise.
1428         * loop.c: Likewise.
1429         * loop.h: Likewise.
1430
1431 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1432
1433         * genattr.c: PROTO -> PARAMS.
1434         * genattrtab.c: Likewise.
1435         * gencheck.c: Likewise.
1436         * gencodes.c: Likewise.
1437         * genconfig.c: Likewise.
1438         * genemit.c: Likewise.
1439         * genextract.c: Likewise.
1440         * genflags.c: Likewise.
1441         * gengenrtl.c: Likewise.
1442         * genopinit.c: Likewise.
1443         * genoutput.c: Likewise.
1444         * genpeep.c: Likewise.
1445         * genrecog.c: Likewise.
1446
1447 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
1448
1449         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
1450
1451 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1452
1453         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
1454         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
1455         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
1456         * configure, config.in: Rebuilt.
1457
1458 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
1459
1460         * config/i386/i386.md: Add peephole to merge successive stack
1461         adjusts.
1462
1463 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
1464
1465         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
1466         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
1467         when walking backwards to find all the parameter loads when
1468         the basic block ends in a call.
1469
1470 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1471
1472         * loop.c (this_loop_info): Delete.
1473         (uid_loop): Add in place of uid_loop_num.  All uses updated.
1474         (loop_number_exit_count): Delete and replace with entry in loop
1475         structure.  All uses updated.
1476         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1477         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1478         (loop_outer_loop): Likewise.
1479         (loop_invalid, loop_number_exit_labels): Likewise.
1480         (loop_used_count_register): Delete and replace with entry in
1481         loop_info structure.
1482         (find_and_verify_loops): Add loops argument.
1483         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
1484         loop_end, etc. arguments with loop structure pointer.  All callers
1485         changed.
1486         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
1487         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
1488         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
1489         (insert_bct): Likewise.
1490         (basic_induction_var): New argument level.
1491         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
1492         vtop, and cont.  Add used_count_register.
1493         (uid_loop): Delete declaration.
1494         (loop_number_exit_count): Likewise.
1495         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1496         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1497         (loop_outer_loop, loop_used_count_register): Likewise.
1498         (loop_invalid, loop_number_exit_labels): Likewise.
1499         (unroll_loop): Replace loop_start and loop_end arguments
1500         with loop structure pointer.
1501         (loop_precondition_p, loop_iterations): Likewise.
1502         Include basic-block.h.
1503         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
1504         with loop structure pointer.
1505         (loop_precondition_p, loop_iterations): Likewise.
1506         * basic-block.h (struct loop): New entries vtop, cont,
1507         cont_dominator, start, end, top, scan_start, exit_labels,
1508         exit_count.
1509         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
1510
1511 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1512
1513         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
1514
1515 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
1516
1517         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
1518
1519 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1520
1521         * pdp11-protos.h: New file.
1522
1523         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
1524         time warnings.
1525
1526         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
1527         warnings.
1528
1529         * pdp11.md: Likewise.
1530
1531         * 2bsd.h: Likewise.
1532
1533 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1534
1535         * mn10300-protos.h: New file.
1536
1537         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
1538         time warnings.
1539
1540         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
1541         warnings.
1542
1543         * mn10300.md: Likewise.
1544
1545 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1546
1547         * mn10200-protos.h: New file.
1548
1549         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
1550         time warnings.
1551
1552         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
1553         warnings.
1554
1555         * mn10200.md: Likewise.
1556
1557 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1558
1559         * h8300-protos.h: New file.
1560
1561         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
1562         time warnings.
1563
1564         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
1565         warnings.
1566
1567         * h8300.md: Likewise.
1568
1569 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1570
1571         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
1572         (asm_emit_uninitialised): Likewise.
1573
1574 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
1575
1576         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
1577         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
1578
1579 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
1580
1581         * config/mips/mips.c (override_options): Don't turn on extra
1582         alignment for mips16.
1583
1584 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
1585
1586         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
1587         eabi, and make sure queued POSTINCREMENT rtl is emitted at
1588         the right point.
1589
1590 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
1591
1592         * builtins.c (PAD_VARARGS_DOWN): Define.
1593         (std_expand_builtin_va_arg): Use the above macro.
1594         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
1595         * tm.texi (Register Arguments): Document the above macro.
1596
1597 2000-01-14  Nick Clifton  <nickc@cygnus.com>
1598
1599         * emit-rtl.c (emit_insn): If checking is enabled, make sure
1600         that this function has not been used to emit a jump
1601         instruction.
1602
1603         * jump.c (return_jump_1): Cope with being passed a null rtx.
1604
1605 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1606
1607         * eh-common.h: PROTO -> PARAMS.
1608         * emit-rtl.c: Likewise.
1609         * errors.c: Likewise.
1610         * errors.h: Likewise.
1611         * except.c: Likewise.
1612         * except.h: Likewise.
1613         * explow.c: Likewise.
1614         * expmed.c: Likewise.
1615         * expr.c: Likewise.
1616         * expr.h: Likewise.
1617         * final.c: Likewise.
1618         * fix-header.c: Likewise.
1619         * flow.c: Likewise.
1620         * fold-const.c: Likewise.
1621         * function.c: Likewise.
1622         * function.h: Likewise.
1623         * gcc.c: Likewise.
1624         * gcov-io.h: Likewise.
1625         * gcov.c: Likewise.
1626         * gcse.c: Likewise.
1627
1628 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1629
1630         * sh-protos.h: New file.
1631
1632         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
1633         Add static prototypes.  Fix compile time warnings.
1634
1635         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
1636         * sh.md: Likewise.
1637         * elf.h: Likewise.
1638
1639 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1640
1641         * arc-protos.h: New file.
1642
1643         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
1644         time warnings.
1645
1646         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
1647         warnings.
1648
1649         * arc.md: Likewise.
1650
1651 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1652
1653         * dsp16xx-protos.h: New file.
1654
1655         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
1656         time warnings.
1657
1658         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
1659         warnings.
1660
1661         * dsp16xx.md: Likewise.
1662
1663 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1664
1665         * convex-protos.h: New file.
1666
1667         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
1668         time warnings.
1669
1670         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
1671         warnings.
1672
1673 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1674
1675         * elxsi-protos.h: New file.
1676
1677         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
1678         time warnings.
1679
1680         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
1681         warnings.
1682
1683         * elxsi.md: Likewise.
1684
1685 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
1686
1687         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
1688         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
1689         match the comment for MIPS16.
1690
1691 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
1692
1693         * flow.c (split_edge): Do not call set_block_for_insn if we
1694         do not have a basic_block_for_insn structure.
1695
1696         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
1697         and destination functions are 32bit aligned within the trampoline.
1698         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
1699         (TRAMPOLINE_ALIGNMENT): Define.
1700
1701         * cse.c (cse_insn): When changing (set (pc) (reg)) to
1702         (set (pc) (label_ref)), verify the change creates a valid insn.
1703
1704         * fr30.c (call_operand): Tighten and rework to match rules for
1705         call RTL expressions.
1706         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
1707         * fr30.md (call patterns): Improve constraints.
1708
1709 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
1710
1711         * fr30.c (fr30_expand_epilogue): Revert last change.
1712         Use emit_jump_insn for the return insn.
1713
1714 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
1715                           Stan Cox  <scox@cygnus.com>
1716
1717         * predict.c: New file. Preliminary infrastructure work for static
1718         branch prediction and basic block reordering.
1719         * basic-block.h: Add prototype for estimate_probability.
1720         * Makefile.in: Add rules for predict.o.
1721
1722 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
1723
1724         * fixincludes (va_list): Use __not_va_list__ for the dummy.
1725         * fixinc/*: Likewise.
1726
1727 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1728
1729         * cccp.c: PROTO -> PARAMS.
1730         * cexp.y: Likewise.
1731         * collect2.c: Likewise.
1732         * combine.c: Likewise.
1733         * convert.h: Likewise.
1734         * cse.c: Likewise.
1735         * dbxout.c: Likewise.
1736         * dbxout.h: Likewise.
1737         * diagnostic.c: Likewise.
1738         * doprint.c: Likewise.
1739         * dwarf2out.c: Likewise.
1740         * dwarf2out.h: Likewise.
1741         * dwarfout.c: Likewise.
1742         * dwarfout.h: Likewise.
1743         * dyn-string.h: Likewise.
1744
1745 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1746
1747         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
1748         macro conditionals guarding use.
1749
1750         * dwarf2out.c: Include "tm_p.h".
1751
1752         * function.c (locate_and_pad_parm): Mark parameter with
1753         ATTRIBUTE_UNUSED.
1754         (expand_function_end): Likewise for variable `context'.
1755
1756         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
1757
1758 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1759
1760         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
1761         register to prevent compile time warnings.
1762
1763 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
1764
1765         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
1766         to avoid -Wtraditional warning.
1767
1768 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1769
1770         * 1750a-protos.h: New file.
1771
1772         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
1773         time warnings.
1774
1775         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
1776         warnings.
1777
1778         * 1750a.md: Likewise.
1779
1780 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1781
1782         * a29k-protos.h: New file.
1783
1784         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
1785         time warnings.
1786
1787         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
1788         warnings.
1789
1790 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1791
1792         * clipper-protos.h: New file.
1793
1794         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
1795         time warnings.
1796
1797         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
1798         warnings.
1799
1800 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1801
1802         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
1803
1804 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
1805
1806         * configure.in (--enable-new-gxx-abi): New option.
1807         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
1808         * Makefile.in (GXX_ABI_FLAG): New variable.
1809         * configure: Regenerate.
1810
1811 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1812
1813         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
1814         * tm.texi (FORCE_STRUCT_BLK): Document.
1815         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
1816
1817 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
1818
1819         * config/ns32k/ns32k.md: Revert Jan 9 change.
1820
1821         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
1822         to a mode-test, if the predicate is address_operand.
1823
1824 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
1825
1826         * combine.c (if_then_else_cond): Be careful about what kinds
1827         of RTL expressions are passed to operand_subword.
1828
1829         * flow.c (split_edge): If we have to insert a new jump, make
1830         sure to associate it with a basic block.
1831
1832         * flow.c (commit_one_edge_insertion): A block with one successor
1833         can end in a JUMP_INSN that is not a simplejump.
1834
1835 2000-01-12  Robert Lipe  <robertl@sco.com>
1836
1837         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
1838         (BUILD_VA_LIST_TYPE): Define.
1839         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
1840         with crtstuff.c.
1841
1842 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
1843
1844         * cccp.c (do_pragma): Add cast to (char *).
1845
1846 2000-01-12  Richard Henderson  <rth@cygnus.com>
1847             Fred Fish  <fnf@be.com>
1848             Jason Merrill  <jason@cygnus.com>
1849
1850         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
1851         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
1852         * i386/beos-elf.h, i386/beos-pe.h: New files.
1853
1854         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
1855         * cross-make (SYSTEM_HEADER_DIR): Define using
1856         CROSS_SYSTEM_HEADER_DIR.
1857
1858         * gcc.c (LIBRARY_PATH_ENV): Provide default.
1859         (process_command): Use it.
1860         (main): Likewise.  Kill trailing = from env vars.
1861         (build_search_list): Put it back.
1862         * collect2.c (main): Use LIBRARY_PATH_ENV.
1863
1864         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
1865         * toplev.c: Use NEED_DECLARATION_ENVIRON.
1866
1867         * tm.texi (Frame Layout): Document SMALL_STACK.
1868         * c-common.c (c_common_nodes_and_builtins): Check it.
1869
1870         * system.h: Undef alloca after including glibc's <stdlib.h>,
1871         if USE_C_ALLOCA is defined.
1872
1873         * gcc.c (set_input): New fn.
1874         (main): After all input files are compiled, reset the input file
1875         info to the first.
1876
1877         * aclocal.m4 (rindex, index): If already defined, don't attempt
1878         to redefine.
1879
1880         * ginclude/varargs.h: (__va_list__): Define ifndef.
1881         * ginclude/stdarg.h: Likewise.
1882
1883         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
1884         instead of unsigned char.
1885
1886         * hash.h (true, false, boolean): Undef before enum.
1887
1888         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
1889         proper type of "HOST_WIDE_INT *", rather than their natural type of
1890         "unsigned HOST_WIDE_INT *".
1891
1892 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1893
1894         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
1895
1896         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
1897
1898         * regclass.c (choose_hard_reg_mode): Likewise.
1899
1900         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
1901
1902         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
1903
1904 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1905
1906         * c-common.c: PROTO -> PARAMS.
1907         * c-common.h: Likewise.
1908         * c-decl.c: Likewise.
1909         * c-iterate.c: Likewise.
1910         * c-lang.c: Likewise.
1911         * c-lex.c: Likewise.
1912         * c-lex.h: Likewise.
1913         * c-parse.in: Likewise.
1914         * c-pragma.c: Likewise.
1915         * c-pragma.h: Likewise.
1916         * c-tree.h: Likewise.
1917         * c-typeck.c: Likewise.
1918         * objc/objc-act.c: Likewise.
1919         * objc/objc-act.h: Likewise.
1920
1921 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1922
1923         * m88k-protos.h: New file.
1924
1925         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
1926         time warnings.
1927
1928         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
1929
1930         * m88k.md: Likewise.
1931
1932         * tekXD88.h: Likewise.
1933
1934 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1935
1936         * m68k-protos.h: New file.
1937
1938         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
1939         time warnings.
1940
1941         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
1942
1943         * mot3300.h: Likewise.
1944
1945 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
1946
1947         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
1948         extract_bitlst.
1949         (extract_bitlist): Declare bitlen.
1950
1951 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
1952
1953         * cccp.c: Accept and ignore -lang-fortran.
1954
1955         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
1956         qualifiers don't match at any level of pointerness.
1957
1958 2000-01-12  Robert Lipe  <robertl@sco.com>
1959
1960         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
1961
1962 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
1963
1964         * reload1.c (reload_reg_unavailable): New static variable.
1965         (reload_reg_free_p): Test it.
1966         (reload_reg_free_for_value_p): Test it instead of
1967         reload_reg_used.
1968         (choose_reload_regs_init): Compute it.
1969
1970 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
1971
1972         * reorg.c (fill_slots_from_thread): Check modified_in_p
1973         before replacing.
1974
1975 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
1976
1977         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
1978         these nodes even if INTERNALS is not set.
1979
1980 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
1981
1982         * gcse.c (delete_null_pointer_checks_1): Cope when
1983         get_condition cannot determine the condition.
1984
1985 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
1986
1987         * toplev.h (set_message_length): Declare.
1988
1989         * diagnostic.c (obstack_chunk_alloc): Define macro.
1990         (obstack_chunk_free): Likewise.
1991         (struct output_buffer): New data structure.
1992         (vmessage): Remove.
1993         (output_maximum_width): New variable.
1994         (doing_line_wrapping, set_message_length, init_output_buffer,
1995         get_output_prefix, output_space_left, emit_output_prefix,
1996         output_newline, output_append, output_puts, dump_output,
1997         vbuild_message_string, build_message_string, build_location_prefix,
1998         voutput_notice, output_printf, line_wrapper_printf,
1999         vline_wrapper_message_with_location):  New functions. Implement
2000         automatic line wrapping.
2001         (v_message_with_decl): Make it handle automatic line wrapping.
2002         (v_error_with_file_and_line): Likewise.
2003         (v_warning_with_file_and_line): Likewise.
2004         (announce_function): Likewise.
2005         (default_print_error_function): Likewise.
2006
2007 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
2008
2009         * cpplib.h (struct cpp_options): Change lang_asm to char.
2010         Add lang_fortran.
2011         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
2012         done in cpp_handle_option now.
2013         (initialize_builtins): Take out special case code used only by
2014         __STDC_VERSION__.
2015         (cpp_handle_option): Turn off trigraphs and trigraph warnings
2016         if -traditional.  Recognize -lang-fortran and set
2017         lang_fortran, also turn off cplusplus_comments.
2018         (print_help): Document -lang-fortran.
2019         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
2020         lang_asm. Ignore all directives other than `# 123 "file"' if
2021         CPP_PREPROCESSED.
2022         (cpp_get_token): If -traditional, don't recognize directives
2023         unless the # is in column 1.
2024         (parse_string): If lang_fortran or lang_asm, silently
2025         terminate strings ('' or "") at end of line.
2026         Remove unnecessary braces.
2027
2028 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2029             Richard Henderson  <rth@cygnus.com>
2030
2031         * resource.c (mark_referenced_resources): Mark a set strict_low_part
2032         as used.
2033         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
2034         strict_low_part when possible.
2035
2036 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2037
2038         * alias.c: PROTO -> PARAMS.
2039         * basic-block.h: Likewise.
2040         * bitmap.c: Likewise.
2041         * bitmap.h: Likewise.
2042         * builtins.c: Likewise.
2043         * c-aux-info.c: Likewise.
2044         * caller-save.c: Likewise.
2045         * calls.c: Likewise.
2046
2047 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2048
2049         * Makefile.in (toplev.o): Depend on regs.h.
2050
2051         * output.h (tdesc_section): Prototype.
2052
2053         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
2054
2055         * sdbout.c: Include "tm_p.h".
2056
2057         * toplev.c: Include "regs.h".
2058
2059 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
2060
2061         * unroll.c (unroll_loop): Add EH support.
2062
2063 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2064
2065         * pa-protos.h: New file.
2066
2067         * pa.c: Include recog.h and tm_p.h.
2068         (compute_zdepwi_operands, compute_movstrsi_length,
2069         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
2070         find_addr_reg, import_milli): Add static prototypes.
2071         (pa_cpu_string, pa_arch_string): Constify a char*.
2072         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
2073         (read_only_operand): Add argument `mode'.
2074         (singlemove_string, output_move_double, output_fp_move_double,
2075         output_block_move, output_and, output_ior, output_ascii,
2076         remove_useless_addtr_insns, milli_names, output_mul_insn,
2077         output_div_insn, output_mod_insn, output_arg_descriptor,
2078         output_cbranch, output_bb, output_bvb, output_dbra, ,
2079         output_millicode_call, output_call, hppa_encode_label,
2080         output_parallel_movb, output_parallel_addb): Constify a char*.
2081         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
2082         (output_parallel_addb): Remove extra arg to `constrain_operands'
2083
2084         * pa.h:  Move all prototypes to pa-protos.h.
2085         (pa_cpu_string, pa_arch_string): Constify a char*.
2086         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
2087
2088         * pa.md: Call `function_label_operand' with mode argument.
2089         Likewise for `read_only_operand'.
2090         Fix nesting of parens in call to `symbolic_operand'.
2091
2092 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2093
2094         * i860-protos.h: New file.
2095
2096         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
2097         time warnings.
2098
2099         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
2100
2101         * i860.md: Likewise.
2102
2103 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
2104
2105         * i386.md (movstrsi expander): Rewrite.
2106         (movstrsi_1 insn): Deleted.
2107         (strmovhi, strmovqi expander): New expanders.
2108         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
2109         * i386.c (x86_single_stringop): New global variable.
2110         * i386.h (x86_single_stringop): Declare.
2111         (TARGET_SINGLE_STRINGOP): New macro.
2112
2113 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
2114
2115         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
2116         integer vararg POSTINCREMENT before the destination of the jump
2117         for the hard fp case.
2118         (function_arg_pass_by_reference): Pass a copy of CUM to
2119         FUNCTION_ARG.
2120
2121         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
2122         for CONSTANT_ADDRESS_P above while loop for subreg.
2123
2124 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
2125
2126         * flow.c (propagate_block): When a prologue/epilogue insn
2127         is marked dead, unconditionally clear libcall_is_dead and
2128         insn_is_dead, and only dump rtl if warnings aren't being
2129         suppressed.
2130
2131 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
2132
2133         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
2134         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
2135         (FIXED_REGISTERS): Set dirflag as fixed.
2136         (CALL_USED_REGISTERS): Set dirflag as used.
2137         (REG_ALLOC_ORDER): Set dirflag as last one.
2138         (DIRFLAG_REG): New macro.
2139         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
2140         (HI_REGISTER_NAMES): Add dirflag.
2141         (DEBUF_PRINT_REG): Handle dirflag.
2142         * i386.md (type attribute): New cld and str types.
2143         (length_opcode attribute): Set cld and str to 1.
2144         (memory attribute): Set str to unknown - it is not clear from the
2145         patterns.
2146         (pent_np function unit): Prefixed string operations takes 12 cycles
2147         minimally; cld takes 2 cycles.
2148         (ppro_uops attribute): Str is "many" and cld is "few".
2149         (ppro_p0 unit): Handle cld here.
2150         (k6_alux unit): Handle cld and str types.
2151         (k6_load unit): It is ocupied by str opcodes.
2152         (k6_store unit): It is ocupied by str opcodes.
2153         (athlon_decode): Str is vector decoded.
2154         (athlon_ieu): Handle str and cld.
2155         (cld pattern): New.
2156         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
2157         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
2158         cmpstrsi_nz_1 insn): Do not output cld instruction
2159
2160 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
2161
2162         * gcc.texi (G++ and GCC): Add Java and Chill.
2163         (Bug Critera): Don't list languages.
2164
2165         * gcc.texi (Incompatibilities): No longer claim most C compilers
2166         are K&R.
2167
2168         * gcc.texi (G++ and GCC): Update other front-ends list.
2169
2170 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
2171
2172         * i386.c (ix86_expand_setcc): Fix typo.
2173         (ix86_expand_movcc): Similarly.
2174
2175         * Band-aid until haifa's bitset implementation is nuked.
2176         * haifa-sched.c (extract_bitlst): New parameter for size of the
2177         bitset in bits.  All callers changed.  Avoid looking at undefined
2178         bits in the bitset.
2179         (edgeset_bitsize): New variable.
2180         (schedule_region): Initialize edgeset_bitsize.
2181
2182 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2183
2184         * Makefile.in (optabs.o): Depend on real.h
2185         (resource.o): Depend on insn-attr.h
2186
2187         * builtins.c (result_vector): Wrap prototype in macro conditions
2188         governing definition and use.
2189
2190         * c-common.c: Include tm_p.h.
2191
2192         * c-lex.c: Likewise.
2193
2194         * elfos.h: Constify a char*.
2195
2196         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
2197         (get_attr_length, shorten_branches, profile_after_prologue): Mark
2198         parameter with ATTRIBUTE_UNUSED.
2199
2200         * fold-const.c (exact_real_inverse): Wrap variable `i' in
2201         CHECK_FLOAT_VALUE.
2202
2203         * haifa-sched.c (schedule_insns): Mark parameter with
2204         ATTRIBUTE_UNUSED.
2205
2206         * optabs.c: Include real.h.
2207
2208         * real.h (ereal_atof): Add prototype arguments.
2209
2210         * resource.c: Include insn-attr.h.
2211
2212         * sdbout.c (sdbout_queue_anonymous_type,
2213         sdbout_dequeue_anonymous_types): Wrap in macro
2214         SDB_ALLOW_FORWARD_REFERENCES.
2215         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
2216         ATTRIBUTE_UNUSED.
2217
2218         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
2219
2220         * stupid.c: Include tm_p.h.
2221
2222         * tree.c (real_value_from_int_cst): Mark parameter with
2223         ATTRIBUTE_UNUSED.
2224
2225 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2226
2227         * i960-protos.h: New file.
2228
2229         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
2230         time warnings.
2231
2232         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
2233
2234 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2235
2236         * combine.c (expand_field_assignment): Do not discard SUBREGs
2237         while computing nonzero_bits.
2238
2239 2000-01-09  Nick Clifton  <nickc@cygnus.com>
2240
2241         * config/arm/arm.c: Fix compile time warnings about signed vs
2242         unsigned constants.
2243         * config/arm/arm.h: Fix compile time warnings about signed vs
2244         unsigned constants.
2245
2246 2000-01-09  Philip Blundell  <philb@gnu.org>
2247
2248         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
2249         than `ldm' with only one register.
2250         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
2251         only one register.
2252
2253         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
2254         clobbered.
2255
2256 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
2257
2258         * config/ns32k/ns32k.md (load or push effective address): Operand 1
2259         must have SImode.
2260
2261 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2262
2263         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
2264         assignment used as truth value.
2265
2266         * function.c (assign_temp): Mark parameter `dont_promote' with
2267         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
2268         PROMOTE_FOR_CALL_ONLY.
2269
2270         * genrecog.c (write_subroutine): Mark variable `operands' with
2271         ATTRIBUTE_UNUSED.
2272
2273         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
2274         ATTRIBUTE_UNUSED.
2275
2276         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
2277         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
2278
2279         * toplev.c (note_deferral_of_defined_inline_function): Likewise
2280         for `decl'.
2281
2282 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2283
2284         * config/c4x.h: Tidy up comments.
2285         * config/c4x.c: Likewise.
2286
2287 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
2288
2289         * fold-const.c (lshift_double, rshift_double): Handle
2290         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
2291
2292 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2293
2294         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
2295         in prepare_function_start().
2296
2297 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
2298
2299         * config/v850/v850.c (expand_epilogue): Interrupt functions no
2300         longer allocate extra stack for function calls.
2301
2302 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2303
2304         * config/c4x/c4x.md (*subqf3_set): Fix typo.
2305
2306 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2307
2308         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
2309
2310 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
2311
2312         * rs6000.c (processor_target_table): Add power3 as alias for 630.
2313         * aix43.h: Revert Aug 2 change.
2314         (HAS_INIT_SECTION): Define, not visible yet.
2315         (LD_INIT_SWITCH): Define, not visible yet.
2316         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
2317
2318         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
2319
2320         * collect2.c (main): Expand ld2 size further.
2321         (export_object_lst): Cast assignment to avoid warning.
2322         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
2323         (scan_prog_file, COFF): Do not collect initialization or
2324         finalization functions generated for entire shared object if
2325         init/fini support present.
2326
2327 2000-01-07  Nick Clifton  <nickc@cygnus.com>
2328
2329         * config/elfos.h: Tidy up formatting of marcos.  Make sure
2330         that .section directives are always prefixed by a tab.
2331
2332         * config/svr4.h: Add #include "elfos.h" and remove duplicate
2333         definitions.
2334
2335 2000-01-07  Matt Austern  <austern@sgi.com>
2336
2337         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
2338         expon.
2339
2340 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
2341
2342         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
2343         crtstuff.c.
2344         (crtbegin.o, s-crtS): Likewise.
2345
2346 2000-01-06  Richard Henderson  <rth@cygnus.com>
2347
2348         * alpha.md (adddi_2+1): Limit offset such that it will be
2349         loadable with a single ldah+lda pair.
2350         (adddi_2+2): Explicitly fail split if we can't make it work.
2351
2352 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
2353
2354         * protoize.c: Conditionally include unistd.h.
2355         (IS_SAME_PATH_CHAR): New macro.
2356         (IS_SAME_PATH): New macro.
2357         (CPLUS_FILE_SUFFIX): New macro.
2358         (cplus_suffix): New static variable.
2359         (is_abspath): New static function.
2360         (in_system_include_dir): Handle DOS style pathnames.
2361         (file_could_be_converted): Likewise.
2362         (file_normally_convertible): Likewise.
2363         (directory_specified_p): Likewise.
2364         (file_excluded_p): Likewise.
2365         (abspath): Likewise.
2366         (shortpath): Likewise.
2367         (referenced_file_is_newer): Likewise.
2368         (save_def_or_dec): Likewise.
2369         (do_processing): Likewise.
2370         (main): Likewise.
2371         (edit_file): Likewise. Use rename instead of link.
2372         (rename_c_file): Likewise. Don't rename syscalls file.
2373         (munge_compile_params): Define null device for DOS based systems.
2374         (process_aux_info_file): Use binary mode if appliable.
2375         (edit_file): Likewise.
2376         * invoke.texi (Running Protoize): Document C++ suffixes used.
2377
2378         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
2379         IS_DIR_SEPARATOR macros.
2380         * collect2.c: Likewise.
2381         * cppinit.c: Likewise.
2382         * dwarf2out.c: Likewise.
2383         * gcc.c: Likewise.
2384         * gcov.c: Likewise.
2385         * prefix.c: Likewise.
2386         * rtl.c: Likewise.
2387         * toplev.c: Likewise.
2388         * system.h: And move to here.
2389
2390         * prefix.c (update_path): Fix typo in variable name.
2391
2392 2000-01-06  Richard Henderson  <rth@cygnus.com>
2393
2394         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
2395         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
2396         (count_reg_sets_1, count_reg_references): Likewise.
2397         (flow_loops_level_compute): Start counting actual loop depth at 1.
2398         (flow_loops_find): Likewise.
2399         * local-alloc.c (update_equiv_regs): Likewise.
2400         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
2401
2402 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2403
2404         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
2405         FIRST_PSEUDO_REGISTER
2406         * dwarf2out.c: Don't include frame.h
2407         * dwarfout.c: Likewise
2408         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
2409         frame.h
2410
2411 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
2412
2413         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
2414         dead registers.
2415
2416         * i386.c (movsf splitter): Fix typo in my last checkin.
2417
2418 2000-01-05  Nick Clifton  <nickc@cygnus.com>
2419
2420         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
2421         own definition of this macro.
2422         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
2423         flag_data_sections or UNIQUE_SECTION_P are true.
2424
2425         * tm.texi (UNIQUE_SECTION): Document that it can be called for
2426         unitialised data decls.
2427
2428         * config/i386/winnt.c (i386_pe_unique_section): Cope with
2429         being called for uninitialised data.
2430
2431         * config/i386/interix.c (i386_pe_unique_section): Cope with
2432         being called for uninitialised data.
2433
2434         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
2435         for uninitialised data.
2436
2437         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
2438         for uninitialised data.
2439
2440         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
2441         for uninitialised data.
2442
2443         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
2444         (UNIQUE_SECTION_P): Always generate a unique section if
2445         flag_data_sections is true.
2446         (UNIQUE_SECTION): Also generate unique sections for
2447         uninitialised data.
2448         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
2449         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
2450         named_section().
2451
2452 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2453
2454         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
2455         SI, or DI.
2456
2457 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2458
2459         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
2460         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
2461         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
2462         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
2463         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
2464
2465         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
2466
2467 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
2468
2469         * c-decl.c (finish_enum): Simplify code to determine minimum and
2470         maximum values of the enum, and calculate the type.  Remove check
2471         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
2472         the DECL_INITIAL of each enumeration constant with a copy converted
2473         to the enumeration type.  When updating variant types, don't bother
2474         updating the type itself.
2475
2476         * c-typeck.c (build_binary_op): Simplify conditional expressions
2477         when weeding out spurious signed-unsigned warnings.  Add new
2478         spurious warning category: if the unsigned quantity is an enum
2479         and its maximum value fits in signed_type(result_type).  Update
2480         commentary.
2481         (build_conditional_expr): Warn here if one alternative is signed
2482         and the other is unsigned.
2483
2484 2000-01-05  Nick Clifton  <nickc@cygnus.com>
2485
2486         * config/fr30/fr30.h: Remove extraneous comments.
2487
2488 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
2489
2490         * reload1.c (choose_reload_regs): When disabling a reload, also
2491         set reload_spill_index to -1.
2492
2493 2000-01-04  Joel Sherrill (joel@OARcorp.com>
2494
2495         * configure.in (m68*-*-rtemscoff*): New target, formal name for
2496         old m68*-*-rtems*.
2497         (m68*-*-rtemself*): New target.
2498         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
2499         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
2500         (sparc*-*-rtemself*): New target.
2501         (sparc*-*-rtems*): Now elf not a.out.
2502         * config/i386/rtems.h: Include config/rtems.h.
2503         * config/i386/rtemself.h: Include config/rtems.h.
2504         * config/i960/rtems.h: Include config/rtems.h.
2505         * config/m68k/rtems.h: Include config/rtems.h.
2506         * config/m68k/rtemself.h: Include config/rtems.h.
2507         * config/mips/rtems64.h: Include config/rtems.h.
2508         * config/pa/rtems.h: Include config/rtems.h.
2509         * config/rs6000/rtems.h: Include config/rtems.h.
2510         * config/sh/rtems.h: Include config/rtems.h.
2511         * config/sh/rtemself.h: Include config/rtems.h.
2512         * config/sparc/rtems.h: Include config/rtems.h.
2513         * config/sparc/rtemself.h: Include config/rtems.h
2514
2515 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
2516
2517         * final.c (shorten_branches): Correctly compute length of
2518         asms without operands.
2519
2520 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
2521
2522         * configure.in: Add pj target.
2523         * configure: Regenerate.
2524         * config/pj: New directory.
2525         * config/pj/lib1funcs.S: New file.
2526         * config/pj/linux.h: New file.
2527         * config/pj/pj.c: New file.
2528         * config/pj/pj.md: New file.
2529         * config/pj/pjl.h: New file.
2530         * config/pj/t-pj: New file.
2531         * config/pj/xm-pj.h: New file
2532
2533 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
2534
2535         * toplev.c (rest_of_compilation): Run shorten-branches before
2536         reg-stack for now.
2537
2538 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2539
2540         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
2541         macros so that they're consistent with their names.
2542         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2543         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2544
2545 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2546
2547         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
2548         modified inadvertently.
2549
2550 2000-01-04  Joel Sherrill <joel@OARcorp.com>
2551
2552         * configure.in (v850*-*-rtems*): New target.
2553         * configure: Regenerate.
2554         * config/v850/rtems.h: New file.
2555
2556 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2557
2558         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
2559         (__gthread_key_create): Likewise.
2560         (__gthread_key_dtor):  Likewise.
2561         (__gthread_once): Fix logic.
2562         (__gthread_key_delete): Cast away constness.
2563
2564         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
2565         * invoke.texi: Document.
2566         * i386/mingw32.h (CPP_SPEC): Use.
2567         (LIBGCC_SPEC): Likewise.
2568         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
2569
2570 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
2571
2572         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
2573         (HANDLE_PRAGMA_PACK): Undefine.
2574         (SLOW_UNALIGNED_ACCESS): Define.
2575
2576 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
2577
2578         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2579         to default definition.
2580         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
2581         (store_fixed_bit_field): Call macro with word_mode and alignment.
2582         (extract_bit_field): Call macro with relevant mode and alignment.
2583         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2584         to default definition.
2585         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
2586         and alignment.
2587         (move_by_pieces_ninsns): Likewise.
2588         (clear_by_pieces): Likewise.
2589         (emit_push_insn): Likewise.
2590         (store_field): Call macro with relevant mode and alignment.
2591         (expand_expr): Likewise.
2592         (expand_expr_unaligned): Likewise.
2593
2594         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
2595         (SLOW_UNALIGNED_ACCESS): Define.
2596         (CASE_VECTOR_MODE): Always use 32-bit offsets.
2597         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
2598         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
2599         (toc_section): Likewise and .toc pseudo-op.
2600         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
2601         64-bit mode.
2602         (TEXT_SECTION_ASM_OP): Likewise.
2603         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
2604         32-bit offsets.
2605
2606         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
2607         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
2608         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
2609         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
2610         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
2611
2612 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
2613
2614         * regclass.c: Revert my Jan 4 change to loop cost computation.
2615
2616 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
2617
2618         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
2619         compilation.
2620
2621 2000-01-04  Stan Cox  <scox@cygnus.com>
2622
2623         * haifa-sched.c (build_control_flow): Change unreachable simple
2624         loop test to check if current block has only one predecessor.
2625         (find_rgns): Initialize degree.  Use dest as degree index, not src.
2626
2627 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2628
2629         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
2630
2631         * calls.c (expand_call): Likewise for
2632         `old_stack_arg_under_construction'.
2633
2634         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
2635
2636         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
2637         `save_constant'.
2638
2639         * gcc.c (execute): Likewise for `ut' and `st'.
2640
2641         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
2642
2643         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
2644
2645         * jump.c (jump_optimize_1): Likewise for `temp2'.
2646
2647         * local-alloc.c (block_alloc): Likewise for `r1'.
2648
2649         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
2650
2651         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
2652         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
2653
2654         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
2655         and `set2'.
2656
2657         * reload.c (find_reloads): Likewise for `goal_alternative_number'
2658         and `goal_earlyclobber'.
2659
2660         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
2661
2662         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
2663
2664         * stupid.c (stupid_life_analysis): Likewise for `chain'.
2665
2666         * unroll.c (copy_loop_body): Likewise for `copy'.
2667
2668         * varasm.c (output_constructor): Likewise for `byte'.
2669
2670 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
2671
2672         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
2673         all FP constants for constant->reg moves.
2674         (ix86_split_to_parts): Try to convert memory address into immediate
2675         when available in the constant pool.
2676         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
2677         moves.
2678         (LEGITIMATE_CONSTANT_P): Return 1.
2679         * i386.md (pushsf): New splitter to convert constant pool memory
2680         reference to immediate.
2681         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
2682         reload.
2683
2684 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
2685
2686         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
2687         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
2688         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
2689         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
2690         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
2691
2692 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
2693
2694         * ginclude/stdbool.h:  Support compilation as C++.
2695
2696 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2697
2698         * fold-const.c (make_range): Don't try to reverse an unbounded range.
2699
2700 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
2701
2702         * regclass.c (regclass): Properly compute loop_cost.  Adjust
2703         comments.
2704
2705         * regclass.c: Fix minor whitespace problems.
2706
2707 2000-01-03  Anthony Green  <green@cygnus.com>
2708
2709         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
2710         Restore the pic register if required.
2711
2712 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
2713
2714         * c-common.c (format_char_info): Update comment.
2715         (check_format_info): Recognize 'z' modifier in the same way 'Z'
2716         was recognized.  Emit warning for formats new in ISO C99 only
2717         if flag_isoc9x is not set.
2718
2719 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
2720
2721         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
2722
2723 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
2724
2725         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
2726         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
2727         (make_compound_operation): Choose cheaper alternative between
2728         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
2729
2730         * regclass.c (op_costs): Remove global variable.
2731         (record_reg_classes): New parameter "op_costs" and "reg_pref".
2732         (record_operand_costs): Break out from ...
2733         (scan_one_insn): ... here.
2734         (dump_regclass): Make dumps nicer.
2735         (regclass): Dump preferrences choosed and changes done during passes.
2736
2737 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
2738
2739         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
2740
2741 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
2742
2743         * config/sparc/sparc.c (gen_df_reg): New function.
2744         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
2745         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
2746         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
2747         movtf_cc_reg_sp64+1): Use it.
2748
2749 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
2750
2751         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
2752         copied LABEL_DECLs.
2753
2754 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2755
2756         * config/i386/i386.c (ix86_expand_unary_operator): Function
2757         definition made void.
2758         (ix86_expand_binary_operator): Update outdated preceding comment.
2759         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
2760         prototype.
2761
2762         * config/i386/i386.c (override_options): Fix option-name typo.
2763
2764 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
2765
2766         * system.h (CEIL): Define.
2767         * builtins.c (CEIL): Remove.
2768         * expmed.c (CEIL): Likewise.
2769         * expr.c (CEIL): Likewise.
2770         * stor-layout.c (CEIL): Likewise.
2771
2772 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2773
2774         * expr.c (store_constructor_field): Fix typo introduced with last
2775         gcc2 merge.
2776
2777 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
2778
2779         * tree.h (BINFO_N_BASETYPES): New macro.
2780
2781 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
2782
2783         * expmed.c (emit_store_flag): Prevent losing a pending stack
2784         adjust the same way we prevent losing queued increments.
2785
2786 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2787
2788         * function.c (update_temp_slot_address): Handle case where sum of
2789         temporary address plus offset in register is a valid address.
2790
2791 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
2792
2793         * genrecog.c (change_state) Corrected typo.
2794
2795 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2796
2797         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
2798         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
2799         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
2800
2801 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
2802
2803         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
2804         case, expand GT comparisons correctly.  Fix a comment before this
2805         part of the code.
2806
2807 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2808
2809         * dwarfout.c: Include "frame.h"
2810         * dwarf2out.c: Likewise.
2811         * Makefile.in (dwarfout.o): Depend on frame.h
2812         (dwarf2out.o): Likewise.
2813
2814 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
2815
2816         Restore i386 binary compatibility in Dwarf EH info.
2817         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
2818         value of FIRST_PSEUDO_REGISTER.
2819         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
2820         (struct frame_state): Use DWARF_FRAME_REGISTERS.
2821         * dwarfout.c (output_reg_number): Ditto.
2822         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
2823         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
2824
2825 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
2826
2827         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
2828         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
2829         (<hack>_RE_CT): not needed
2830         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
2831         rewritten to scan the file text once only
2832         "template<..." test added
2833         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
2834         (is_cxx_header): declaration added
2835         * fixinc/fixtests.c(is_cxx_header): removed
2836         (apply_fix_p_t): removed
2837         (double_slash_test): is_cxx_header is only called once now
2838         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
2839         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
2840         within the templates.
2841         The borken spelling of "broken" was fixed.
2842         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
2843         The default level depends on FIXINC_DEBUG.
2844
2845 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2846
2847         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
2848         Otherwise provide a declaration for atexit.
2849         (init_dummy): Make sure dummy call to atexit is nevertheless
2850         called with correct number of args.
2851
2852         * frame.c: Update comments referring to other files.
2853
2854         * libgcc2.c: Likewise.
2855
2856 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2857
2858         * cse.c (free_element, get_element): Remove unused prototypes.
2859
2860         * fold-const.c (extract_muldiv): Initialize variables `op0' and
2861         `op1'.
2862
2863         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
2864         `else' clauses.
2865
2866 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
2867
2868         * configure.in,configure: case arm for mn10200-*-* now sets
2869         float_format=i32 so that float.h will correctly claim "double"
2870         to be 32 bits. Ran autoconf to generate configure from .in file.
2871
2872 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
2873
2874         * pa.md (conditional zero): If op1 is a register, force it into
2875         the same register as op0.
2876
2877 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
2878
2879         * tree.h (BINFO_BASETYPES): Improve documentation.
2880
2881 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2882
2883         * configure.in (--enable-checking): Use a more portable `for'
2884         loop syntax.
2885
2886 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2887
2888         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
2889         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
2890
2891         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
2892         Delete files.
2893
2894         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
2895         Delete descriptions.
2896
2897         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
2898         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
2899         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
2900         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
2901         xm-svr4.h: Remove all instances of sys_siglist handling.
2902
2903 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
2904
2905         * config/sparc/sparc.md (cmp_zero_qi,
2906         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
2907         cmp_zero_extendqidi2_andcc_set): New patterns.
2908
2909 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
2910
2911         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
2912         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
2913         (fpgnulib.c, xfgnulib.c): Add rules.
2914         * m68k/t-mot3300-gas: Likewise.
2915
2916 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
2917
2918         * configure.in: Avoid [[ by using test and changequote.  Add
2919         changequote required by 1999-12-14 change.
2920         * configure: Rebuild.
2921
2922 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
2923
2924         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
2925
2926 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
2927
2928         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
2929         * flow.c (find_use_as_address): Likewise.
2930         * function.c (fixup_var_refs_1): Likewise.
2931         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
2932         * jump.c (invert_exp, redirect_exp): Likewise.
2933         * loop.c (replace_call_address): Likewise.
2934         (count_nonfixed_reads): Likewise.
2935         * rtlanal.c (modified_between_p): Likewise.
2936         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
2937         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
2938         * unroll.c (remap_split_bivs): Likewise.
2939
2940 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2941
2942         * diagnostic.c (v_message_with_decl): Use .* format specifier
2943         instead of building the format specifier width manually.
2944
2945         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
2946         determining whether to provide a prototype.  Remove the
2947         sys_siglist clause in the conditional.
2948
2949 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2950
2951         * fold-const.c (operand_equal_p): Use memcmp to compare string
2952         constants.
2953         Suggested by D. J. Bernstein
2954
2955 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
2956
2957         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
2958         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
2959         compiling libgcc2.
2960         * config/mips/mips.h (TARGET_64BIT): Likewise.
2961         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
2962         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
2963         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
2964         dsps.  Give routines proper names if SI/DI modes are not used.
2965         * longlong.h: Use DWunion instead of DIunion.
2966
2967 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
2968
2969         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
2970         GC_CHECKING, GC_ALWAYS_COLLECT.
2971         * configure.in: Allow --enable-checking with an argument
2972         listing check modes to enable.
2973         * config.in, configure: Rebuilt.
2974         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
2975         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
2976         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
2977         ENABLE_GC_ALWAYS_COLLECT.
2978         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
2979         throughout.
2980         * tree.h, tree.c: Change ENABLE_CHECKING to
2981         ENABLE_TREE_CHECKING throughout.
2982
2983 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2984
2985         * fold-const.c (fold_truthop): Properly check for FP RHS.
2986
2987 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
2988
2989         * toplev.h (note_deferall_of_defined_inline_function): Declare.
2990         * toplev.c (note_deferral_of_defined_inline_function): New
2991         function, split out from ...
2992         (rest_of_compilation): ... here.  Use it.
2993
2994 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2995
2996         * expr.c (store_constructor): Don't call clear_storage if size is
2997         variable.
2998
2999 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3000
3001         * Makefile.in (toplev.o): Depend on loop.h.
3002
3003         * dwarfout.c: Include tm_p.h.
3004
3005         * emit-rtl.c (restore_emit_status): Mark parameter with
3006         ATTRIBUTE_UNUSED.
3007
3008         * final.c (final_scan_insn): Likewise.
3009
3010         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
3011         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
3012         flow_depth_first_order_compute, flow_loop_pre_header_find,
3013         flow_loop_tree_node_add, flow_loops_tree_build,
3014         flow_loop_level_compute, flow_loops_level_compute,
3015         flow_loop_outside_edge_p): Add prototypes.
3016         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
3017
3018         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
3019         Mark with ATTRIBUTE_NORETURN.
3020
3021         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
3022
3023         * local-alloc.c (no_conflict_p): Likewise.
3024
3025         * loop.c (insert_bct): Hide definitions of variables with hidden
3026         usage.
3027         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
3028
3029         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
3030         with ATTRIBUTE_UNUSED.
3031         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
3032         (reg_scan): Likewise.
3033
3034         * reload.c (find_reloads): Remove unused variables `changed'.
3035
3036         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
3037         away const-ness.
3038         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
3039         Remove unused variable `insn'.
3040
3041         * toplev.c: Include loop.h.
3042         (report_file_and_line): Remove unnecessary prototype.
3043
3044         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
3045
3046         * unroll.c (biv_total_increment): Likewise.
3047
3048 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3049
3050         * reload1.c (emit_input_reload_insns): Restore old behaviour
3051         wrt. 'special' reloads.
3052
3053 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
3054
3055         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
3056         hash.h.  (cse.c): Don't depend on hashtab.h.
3057
3058         * cse.c: Don't include hashtab.h.
3059         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
3060         of dead functions.
3061         * ggc-simple.c: Don't include hash.h.
3062
3063 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
3064
3065         * dwarf2out.c (add_abstract_origin_attribute): Call
3066         gen_abstract_function on our function context.
3067
3068 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
3069
3070         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
3071
3072 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3073
3074         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
3075         case in switch.
3076
3077 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3078
3079         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
3080         constraints to "a!r".
3081
3082 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
3083
3084         * Makefile.in (calls.o): Depend on function.h.
3085         (alias.o): Likewise.
3086
3087 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
3088
3089         * reload1.c (emit_reload_insns): Break out code and variables into...
3090         (input_reload_insns, other_input_address_reload_insns,
3091         other_input_reload_insns, input_address_reload_insns,
3092         inpaddr_address_reload_insns, output_reload_insns,
3093         output_address_reload_insns, outaddr_address_reload_insns,
3094         operand_reload_insns, other_operand_reload_insns,
3095         other_output_reload_insns): ... new static variables, and...
3096         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
3097         do_output_reload): ... new functions.
3098
3099 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3100
3101         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
3102
3103 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3104
3105         * md.texi: Add c4x constraints documentation.
3106
3107 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3108
3109         * config/i386/dgux.c (struct option): Rename to
3110         lang_independent_option.
3111         (struct m_options): Add description field.
3112         (output_options): Rename option type, add sep declaration, output
3113         ix86_cpu_string and ix86_arch_string only if set.
3114         (output_file_start): Rename option type.
3115
3116 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
3117
3118         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
3119         stmp-int-hdrs.
3120         (libgcc2.a): Similarly.
3121
3122 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
3123
3124         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
3125         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
3126         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
3127
3128 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
3129
3130         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
3131         Remove redundant initialization of "frexpon" and "expon".
3132
3133 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3134
3135         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
3136
3137         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
3138         (store_constructor_field, expand_expr): Pass new arg.
3139
3140 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
3141
3142         * Makefile.in (explow.o): Depend on function.h.
3143
3144         * stor-layout.c (set_sizetype): Fix typo.
3145
3146 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
3147
3148         * function.c (cfun): Renamed from current_function.  All users
3149         changed.
3150         * function.h (cfun): Rename declaration as well.
3151
3152         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
3153         to be of type regset_head, not regset.  All users changed by adding
3154         address operator.
3155         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
3156
3157 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3158
3159         * config/c4x/rtems.h: New file.
3160
3161 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
3162
3163         * reload1.c (spill_failure): Take class of failed reload as argument
3164         and print it.  Caller changed.
3165
3166 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3167
3168         * rs6000.h (SUBTARGET_DEFAULT): New macro.
3169         (TARGET_SWITCHES): Allow subtargets to default switches.
3170         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
3171
3172 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
3173
3174         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
3175         in a main program.
3176
3177 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
3178
3179         * cccp.c (main): Define __STDC_VERSION__ as necessary.
3180         * cppinit.c (cpp_handle_option): Likewise.
3181
3182         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
3183         determine when to define.
3184
3185 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
3186
3187         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
3188         cmove with mismatched test and data modes.
3189
3190 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
3191
3192         * c-typeck.c (c_expand_start_case): Don't warn for long switch
3193         in system headers.
3194
3195 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3196
3197         * alias.c: Minor reformatting.
3198         * flow.c: Likewise.
3199         * regs.h: Likewise.
3200         * stor-layout.c: Likewise.
3201         * fold-const.c: Likewise.
3202         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
3203         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
3204         not arg itself.
3205         (size_int_wide): Cache nodes even if garbage collecting.
3206         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
3207         of SAVE_EXPR has no side effects.
3208         * cse.c: Move a comment.
3209         * tree.c: Minor reformatting.
3210         (int_size_in_bytes): Return -1 if constant overflows.
3211
3212 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3213
3214         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
3215
3216 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
3217
3218         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
3219         after any change to c-parse.in, even if objc-parse.y didn't
3220         change.  Oops.
3221
3222 1999-12-18  David S. Miller  <davem@redhat.com>
3223
3224         * toplev.c (rest_of_compilation): Restore BLOCK tree
3225         reconstruction and branch shortening changes lost in
3226         December 18th change.
3227
3228 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
3229
3230         * config/arm/linux-elf.h: Change all instances of
3231         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
3232         * config/arm/uclinux-elf.h: Likewise.
3233
3234 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
3235
3236         * toplev.c (notice, vmessage, v_message_with_file_and_line,
3237         v_message_with_decl, file_and_line_for_asm,
3238         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
3239         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
3240         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
3241         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
3242         pfatal_with_name, fatal_io_error, need_error_newline,
3243         last_error_function, last_error_tick, announce_function,
3244         default_print_error_function, print_error_function,
3245         report_error_function, fnotice, error_with_file_and_line,
3246         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
3247         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
3248         warning_with_decl, warning_for_asm, warning, pedwarn,
3249         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
3250         diagnostic.c
3251         (compile_file): Use fnotice instead of notice.  Adjust call.
3252
3253         * diagnostic.c: New file.
3254
3255         * Makefile.in (OBJS): Include diagnostic.o
3256         (diagnostic.o): Define dependence.
3257
3258 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3259
3260         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
3261         Tweak formatting.
3262
3263 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3264
3265         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
3266
3267 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
3268
3269         * fixtests.c (is_cxx_header): New fn, split out of
3270         double_slash_test.
3271         (else_endif_label): Allow "#endif // comment" in C++ headers,
3272         as determined by is_cxx_header.
3273         * fixfixes.c (else_endif_label_fix): Update comment.
3274         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
3275         a tty.
3276         * genfixes: Correct double thinko in commandline parsing.
3277         * hackshell.tpl: Generate correct sh syntax for bypass
3278         entries.
3279
3280         * inclhack.def (all): Whenever an inserted preprocessor
3281         conditional is split over multiple lines, use double
3282         backslashes in this file so the fixed header will be readable.
3283
3284         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
3285         and add bypass entry for correct version of this header.
3286         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
3287         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
3288
3289         (hpux8_bogus_inlines): New fix, split from...
3290         (ultrix_atof_param) ... here.
3291         (math_expression): Add bypass entry keyed to glibc comment
3292         indicating the problem has been dealt with; disable
3293         unnecessary sed operations; update commentary.
3294         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
3295         add select and bypass entries, simplify shell operation.
3296         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
3297
3298         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
3299          ultrix_atof_param): Add select entry.
3300         (stdio_va_list, sunos_mather_decl): Add bypass entry.
3301         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
3302         comments with the fixes they describe.
3303
3304         * c-parse.in (string action): Do not warn about ANSI string
3305         concatenation in system headers.  Affects C parser only.
3306         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
3307
3308 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
3309
3310         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
3311         compiling libgcc2 the macro depends always on arch cpp defines.
3312
3313 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
3314
3315         * loop.c (insert_loop_mem): Don't record MEMs from inside
3316         EXPR_LISTs.
3317
3318 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
3319
3320         * regclass.c (regclass): Do not use flowgraph when not optimizing.
3321
3322         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
3323         notes too, create one when replacement failed, attempt to simplify
3324         resulting notes.
3325         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
3326         or REG_EQUIV notes.
3327
3328 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
3329
3330         * crtstuff.c (__dso_handle): Declare.
3331         (__cxa_finalize): Likewise.
3332         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
3333         non-NULL.
3334
3335         * invoke.texi: Document -fuse-cxa-atexit.
3336
3337         * tree.h (ptr_type_node): Document.
3338         (const_ptr_type_node): Likewise.
3339
3340 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3341
3342         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
3343         (optimize_reg_copy_2): Likewise.
3344         (optimize_reg_copy_3): Likewise.
3345         (fixup_match_2): Likewise.
3346         (regmove_optimize): Likewise.
3347         (fixup_match_1): Liekwise.
3348
3349         * i386.md (HI to SImode promoting splitters): Rewrite.
3350         (pushsf mem peep2): New.
3351         (testhi to andhi peep2): Remove.
3352         * i386.h (x86_promote_QImode): New.
3353         (TARGET_PROMOTE_QImode): New.
3354         (PREDICATE_CODES): Add promotable_binary_operator.
3355         * i386.c (x86_promote_QImode0: New.
3356         (promotable_binary_operator): New.
3357         * i386-protos.h (promotable_binary_operator): New.
3358
3359         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
3360         condition.
3361         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
3362
3363 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
3364
3365         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
3366         * function.c (insert_block_after_note): Remove.
3367         (retrofit_block): Likewise.
3368         (identify_blocks): Fix indentation.
3369         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
3370         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
3371         * function.h (insert_block_after_note): Remove prototype.
3372         (retrofit_block): Likewise.
3373         * integrate.c (expand_inline_function): Don't call
3374         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
3375         just expand_start_bindings.  Use the block_map to remap old
3376         NOTE_BLOCKs to new ones.
3377         (integrate_decl_tree): Keep track of remapped blocks.
3378         * integrate.h (struct inline_remap): Add block_map.
3379         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
3380         NOTE_BLOCK on the notes.
3381         (expand_start_bindings): Rename to ...
3382         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
3383         (expand_end_bindings): Set NOTE_BLOCK.
3384         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
3385         reconstruct the BLOCK tree.
3386         * tree.h (expand_start_bindings): Macroize.  Call ...
3387         (expand_start_bindings_and_block): New function.
3388
3389 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
3390
3391         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
3392         to match the format.
3393
3394 1999-12-16  David S. Miller  <davem@redhat.com>
3395
3396         * expr.c (emit_move_insn_1): Only emit clobbers if one of
3397         the outputs is a SUBREG.
3398         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
3399         change.
3400
3401         * config/sparc/sparc.c (epilogue_renumber): Add default case
3402         to switch stmt.
3403
3404 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3405
3406         * toplev.c (rest_of_compilation): Run branch shortening after
3407         reg-stack.
3408
3409         * regclass.c (loop_depth): Remove
3410         (scan_one_insn): Do not handle LOOP_NOTE insns.
3411         (regclass): Go through basic blocks and set loop_cost
3412
3413 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
3414
3415         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
3416
3417 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3418
3419         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
3420         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
3421         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
3422
3423 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
3424
3425         * loop.c (insert_loop_mem): Ignore memory clobbers.
3426
3427         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
3428         to (OP A B).
3429
3430 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
3431
3432         * profile.c: Remove redundant #include "output.h".
3433
3434         * h8300.md (HImode preinc peephole): Fix typo.
3435
3436 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
3437
3438         * function.c (retrofit_block): Abort if we don't find a suitable insn.
3439         (insert_block_after_note): Abort if we don't have a previous block.
3440         Remove FN parameter.
3441         * function.h: Adjust.
3442
3443 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
3444
3445         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
3446         argument more than once.
3447
3448 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
3449
3450         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
3451
3452 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
3453
3454         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
3455
3456 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3457
3458         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
3459         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
3460         update stack_alignment_needed.
3461         (prepare_function_start): Initialize stack_alignment_needed
3462         * function.h (struct function): Add field stack_alignment_needed.
3463
3464 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3465
3466         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
3467         Handle live_throughout / dead_or_set instead of live_before /
3468         live_after.
3469         (save_call_clobbered_regs): Get register livenessinformation from
3470         chain->live_throughout.
3471         (add_stored_regs): New function.
3472         (insert_restore, insert_save): Add restored / saved registers to
3473         dead_or_set.
3474         * global.c (reg_dies): New parameter chain.
3475         (reg_becomes_live): Third parameter is regs_set now.
3476         Changed all callers.
3477         (reg_dies): New parameter chain.  Changed all callers.
3478         (build_insn_chain): Set live_throughout instead of
3479         live_before / live_after.
3480         * reload.h (struct insn_chain): Replace members live_before /
3481         live_after with live_throughout / dead_or_set.
3482         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
3483         instead of live_before / live_after.
3484         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
3485         (order_regs_for_reload, find_reg, finish_spills): Likewise.
3486         (choose_reload_regs_init): Likewise.
3487         * stupid.c (current_chain, find_clobbered_regs): Delete.
3488         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
3489         instead of chain->live_before / chain->live_after.
3490         (mark_hard_ref): New function.
3491         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
3492
3493 1999-12-15  David S. Miller  <davem@redhat.com>
3494
3495         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
3496
3497 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3498
3499         * flow.c (calculate_loop_depth): Make global, remove prototype,
3500         rewrite to use new loop infrastructure.
3501         (find_basic_block): Remove calculate_loop_depth call.
3502         * toplev.c (rest_of_compilation): Call find_basic_block.
3503         * output.h (calculate_loop_depth): Declare.
3504
3505         * flow.c (dump_flow_info): Dump loop_depth.
3506         (flow_loops_nodes_find): Increase loop_depth for basic block in the
3507         body.
3508         (flow_loops_find): Initialize the loop_depth for each basic block.
3509
3510 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
3511
3512         * tree.c (decl_function_context): Handle virtual functions.
3513
3514         * tlink.c (scan_linker_output): Don't look in demangled name when
3515         looking for linker output keywords.
3516
3517         * dwarfout.c (output_type): We can defer namespace-scope classes.
3518
3519 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
3520
3521         * regclass.c (record_reg_classes): Update comment for merging
3522         register class preferences in reg->reg copies.  Tighten conditions
3523         for merging register class preferences in reg->reg copies.
3524
3525 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
3526
3527         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
3528
3529 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
3530
3531         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
3532         (INIT_SECTION_ASM_OP): Delete.
3533         (FINI_SECTION_ASM_OP): Delete.
3534         (STARTFILE_SPEC): Define to hold just crtbegin.o.
3535
3536 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
3537
3538         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
3539         the abstract origin wasn't emitted.
3540
3541         * dwarf2out.c (class_scope_p): New fn.
3542         (gen_subprogram_die): Use it.
3543         (gen_variable_die): Use it.  Tweak logic.
3544         (gen_struct_or_union_type_die): Check context_die to determine
3545         if we're function-local.
3546         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
3547
3548 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
3549
3550         * loop.c (check_dbra_loop): Can't reverse a biv that has
3551         maybe_multiple set.
3552
3553 1999-12-14  Nick Clifton  <nickc@cygnus.com>
3554
3555         * config/arm/arm.c: Add support for -mcpu=arm720 command line
3556         switch.
3557
3558 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3559
3560         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
3561         for givs made from biv increments.
3562
3563 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
3564
3565         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
3566         * alpha.c (override_options): Recognize -mcpu=ev67.
3567         * alpha.h (CPP_CPU_EV67_SPEC): New.
3568         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
3569         (EXTRA_SPECS): Update.
3570
3571 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
3572
3573         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
3574         appropriate for -lang-c89 and -std=*.
3575         * cppinit.c (cpp_handle_option): Likewise.
3576         (new_pending_define): New, split out from cpp_handle_option.
3577         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
3578         or enable trigraphs for -ansi/-std=*.
3579
3580         * ginclude/stdarg.h (__va_copy): New.
3581         (va_copy): Don't define for C89.
3582
3583 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
3584
3585         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
3586         for long long multiply-accumulate.
3587
3588 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3589
3590         * regclass.c (scan_one_insn): Set loop_cost to 1 when
3591         optimizing for size.
3592
3593 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
3594
3595         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
3596         if something changed.  Back out that part of yesterday's changes.
3597
3598         * loop.c (loop_max_reg): New static variable.
3599         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
3600         max_reg_num.
3601         (scan_loop): Call reg_scan_update whenever we may have added new
3602         registers, and update loop_max_reg.
3603
3604 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3605
3606         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
3607         when source does not die.
3608
3609         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
3610
3611 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
3612
3613         * config/sparc/linux64.h (TARGET_LIVE_G0,
3614         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
3615         variants on Linux.
3616         * config/sparc/linux.h (TARGET_LIVE_G0,
3617         TARGET_BROKEN_SAVERESTORE): Likewise.
3618         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
3619         TARGET_BROKEN_SAVERESTORE): Likewise.
3620
3621         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
3622         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
3623         not %g2.
3624         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
3625         as sparc64 block profiling register.
3626         * config/sparc/sparc.c (sparc_override_options): Allow block
3627         profiling with -m32.
3628         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
3629         profiling register.
3630         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
3631         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
3632         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
3633
3634         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
3635         for sparc64.
3636         * config/sparc/sparc.h: Likewise.
3637         * config/sparc/xm-sysv4-64.h: Likewise.
3638         * config/float-sparc.h: Likewise.
3639         * glimits.h: Likewise.
3640         * longlong.h: Likewise.
3641
3642         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
3643         (ASM_IDENTIFY_GCC): Remove.
3644
3645 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
3646
3647         * combine.c (combine_simplify_rtx): Don't make shared rtl.
3648         (simplify_logical): Likewise.
3649
3650 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
3651
3652         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
3653         * cppfiles.c (INO_T_EQ): Likewise.
3654
3655 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
3656
3657         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
3658         * i386/mingw32.h (LIB_SPEC): Likewise.
3659         (STARTFILE_SPEC): Likewise.
3660         * i386/uwin.h (LIB_SPEC): Likewise.
3661         (STARTFILE_SPEC): Likewise.
3662
3663         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
3664         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
3665
3666 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
3667
3668         * combine.c (combine_simplify_rtx): Fix order of checks for
3669         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
3670
3671 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
3672
3673         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
3674         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
3675
3676 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
3677
3678         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
3679         defined.
3680         * regclass.c (inv_reg_alloc_order): New array.
3681         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
3682
3683         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
3684         counted_for_groups, counted_for_nongroups.  Add fields rld and
3685         n_reloads.
3686         * reload.c (push_secondary_reload): Don't set nongroup field of
3687         new reloads.
3688         (push_reload): Likewise.
3689         (find_reloads): Delete code to compute nongroup fields.
3690         * reload1.c (reload_insn_firstobj): New static variable.
3691         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
3692         users changed.
3693         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
3694         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
3695         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
3696         functions.
3697         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
3698         functions.
3699         (struct hard_reg_n_uses): Deleted.
3700         (potential_reload_regs): Deleted.
3701         (init_reload): Initialize spilled_pseudos and pseudos_counted.
3702         (reload): Don't try to allocate reload registers if we already know
3703         we have to make another pass.  Call select_reload_regs.  Free memory
3704         starting with reload_firstobj when starting another pass.
3705         Don't allocate spilled_pseudos.
3706         (calculate_needs_all_insns): Call copy_reloads for an insn that
3707         needs reloads; don't call calculate_needs.
3708         (spill_cost): New static array.
3709         (used_spill_regs_local): New static variable.
3710         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
3711         to compute potential_reload_regs.
3712         (find_reload_regs): Completely rewritten to use find_reg.
3713         (allocate_reload_reg): Don't test counted_for_groups or
3714         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
3715         all cllers changed.
3716         (choose_reload_regs): Add fallback code that uses the existing
3717         register allocation from find_reload_regs.
3718
3719 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
3720
3721         * flow.c (create_edge_list): Cast xmalloc return value.
3722
3723 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
3724
3725         * doprnt.c: Remove incorrect comment closure.
3726
3727         * cse.c: Fix a few minor whitespace goofs.
3728
3729 1999-12-13  Don Bowman  <don@pixstream.com>
3730
3731         * mips/vxworks.h: Fix problem with comment termination.
3732         (EXTRA_SECTIONS): Add in_sbss.
3733         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
3734
3735 1999-12-12  David S. Miller  <davem@redhat.com>
3736
3737         * cse.c (struct cse_reg_info): Add hash_next member,
3738         reorder rest of struct for better packing on 64-bit
3739         hosts.
3740         (cse_reg_info_tree): Kill.
3741         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
3742         REGHASH_FN): New custom pow2 hash mechanism.
3743         (NBUCKETS): Kill.
3744         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
3745         use a pow2 hash table.
3746         (get_cse_reg_info): Rework to use new REGHASH.
3747         (new_basic_block): Likewise, use HASH_SIZE, and inline
3748         free_element call.
3749         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
3750         and inline free_element call.
3751         (lookup_as_function, insert, flush_hash_table, invalidate,
3752         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
3753         invalidate_for_call, use_related_value, find_comparison_args,
3754         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
3755         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
3756         get_element): Kill.
3757
3758 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
3759
3760         * cse.c (cse_basic_block): Free qty_table consistently.
3761
3762 1999-12-12  David S. Miller  <davem@redhat.com>
3763             Jakub Jelinek    <jakub@redhat.com>
3764
3765         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
3766         SUBREGs by hand, gen the appropriate hard reg directly.
3767         (movtf reg/mem split): Likewise and alter_subreg on destination
3768         if necessary.
3769         (movtf mem/reg split): Similarly.
3770         (movdf_cc_sp64): Rename from hidden pattern.
3771         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
3772         (movtf_cc_sp64, following split): New pattern and splitter.
3773         (movdf_cc_reg_sp64): Rename from hidden pattern.
3774         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
3775         TARGET_HARD_QUAD.
3776         (movtf_cc_reg_sp64, following split): New pattern and splitter.
3777
3778 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
3779
3780         * loop.c (load_mems): Don't hoist written floating point mem
3781         if -ffloat-store.
3782
3783 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
3784
3785         * except.h (struct eh_queue): Add `next' pointer.
3786         (struct eh_status): Make x_ehqueue a pointer.
3787         (push_ehqueue):  Declare.
3788         (pop_ehqueue): Likewise.
3789         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
3790         pointer.
3791         (expand_fixup_region_end): Likewise.
3792         (expand_leftover_cleanups): Likewise.
3793         (push_ehqueue): Define.
3794         (pop_ehqueue): Likewise.
3795         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
3796         than doing it inline.
3797         (expand_start_all_catch):  Adjust now that ehqueue is a
3798         pointer.
3799         (mark_eh_queue): Mark all level of the queue.
3800         (mark_eh_status):  Adjust now that ehqueue is a
3801         pointer.
3802         (init_eh_for_function): Allocate ehqueue.
3803         (free_eh_status): Free it.
3804         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
3805         expansion for a fixup.
3806
3807 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3808
3809         * gthr-single.h (__gthread_active_p): Add prototype arguments.
3810
3811         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
3812         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
3813         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
3814         function_ptr, getpagesize, __enable_execute_stack,
3815         __enable_execute_stack, __clear_insn_cache,
3816         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
3817         _cleanup, _exit, __default_terminate, __terminate_func,
3818         __terminate, __empty, __throw, new_eh_context,
3819         eh_context_initialize, eh_context_static, eh_context_specific,
3820         get_eh_context, __get_eh_context, __get_eh_info,
3821         init_reg_size_table, eh_threads_initialize,
3822         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
3823         __unwinding_cleanup, throw_helper, __throw, __rethrow,
3824         __pure_virtual): Add prototype arguments.
3825         (__bb_exit_func): Cast a sizeof to long when comparing against one.
3826         Cast a signed value to unsigned long when comparing against one.
3827         (new_eh_context): Wrap in _GTHREADS macro.
3828         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
3829         declaration.
3830         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
3831         (throw_helper): Initialize variables `handler_p' and `pc_p'.
3832
3833 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3834
3835         * combine.c (record_promoted_value): Remove unused variable
3836         `links2'.
3837
3838         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
3839
3840         * global.c (record_conflicts): Likewise for `j'.
3841
3842         * genoutput.c (output_insn_data): Don't unnecessarily cast away
3843         const-ness.
3844
3845 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3846
3847         * i386-protos.h (output_387_binary_op, output_fix_trunc,
3848         output_fp_compare): Constify a char*.
3849
3850         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
3851         static prototypes.
3852         (override_options, ix86_comp_type_attributes, print_operand,
3853         output_387_binary_op, output_fix_trunc, output_fp_compare):
3854         Constify a char*.
3855         (ix86_sched_reorder): Mark parameter `clock_var' with
3856         ATTRIBUTE_UNUSED.
3857
3858         * i386.h (DEBUG_PRINT_REG): Constify a char*.
3859
3860 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
3861
3862         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
3863         operand, for use in the Java front-end.
3864
3865 1999-12-10  Ben Collins  <bcollins@debian.org>
3866
3867         * configure.in: Fix typo for "-64" in 64bit as check.
3868         * configure: Rebuilt.
3869
3870 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
3871
3872         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
3873         appropriate.
3874
3875 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3876
3877         * c-parse.in (string): With -Wtraditional, warn if ANSI string
3878         concatenation is utilized.
3879
3880         * invoke.texi (-Wtraditional): Document it.
3881
3882 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3883
3884         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
3885         Cast a ptrdiff_t to long and pass it to printf with %ld.
3886
3887 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
3888
3889         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
3890         68881, we have no 68881 registers at all.
3891         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
3892         value in a 68881 register if it is available.
3893
3894 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
3895
3896         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
3897         for long long multiply-accumulate.
3898
3899 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
3900
3901         * loop.c (insert_loop_mem): Undo last change.
3902
3903 1999-12-10  David S. Miller  <davem@redhat.com>
3904
3905         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
3906         New functions.
3907         * config/sparc/sparc-protos.h: Add them.
3908         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
3909         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
3910         constraints which use those helpers.
3911         (EXTRA_CONSTRAINT): Use this new macro.
3912         * md.texi: Update sparc target constraints documentation.
3913         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
3914         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
3915         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
3916         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
3917         (movsf high/lo_sum split): Rework for new patterns.
3918         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
3919
3920 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
3921
3922         * c-common.c (c_common_nodes_and_builtins):
3923         Create __builtin_ptrdiff_t and __builtin_size_t.
3924
3925 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
3926
3927         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
3928
3929 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3930
3931         * regclass.c (globalize_reg): Re-instate test that allows
3932         fixed registers to be declared as a variable even after functions
3933         are defined.
3934
3935 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3936
3937         * i386.md (cpu attribute): Add "athlon".
3938         (athlon_decode): New attribute.
3939         (Athlon scheduling units definitions): New.
3940         (fcmp and shld patterns): Set athlon_decode to "vector".
3941         * i386.c (athlon_cost): New.
3942         (m_ATHLON): New.
3943         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
3944         x86_use_sahf): Set for Athlon.
3945         (x86_use_fiop): Unset for Athlon.
3946         (override_options): Define Athlon alignments and "athlon" name.
3947         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
3948         * i386.h (TARGET_ATHLON): New.
3949         (enum processor_type): Add PROCESSOR_ATHLON.
3950         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
3951         for CPU_DEFAULT==5
3952         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
3953
3954 1999-12-09  Andreas Jaeger  <aj@suse.de>
3955
3956         * loop.c (record_biv): Declare parameter as int.
3957
3958         * config/i386/i386-protos.h: Declare long_memory_operand.
3959
3960 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
3961
3962         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
3963         EXPR_WITH_FILE_LOCATION.
3964
3965 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
3966
3967         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
3968         in expander.
3969
3970         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
3971
3972         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
3973         updating code.
3974
3975 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
3976
3977         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
3978         default on linux64 again.
3979         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
3980         models for multilibing.
3981         * genmultilib: Accept | as alternative separator within a set in
3982         MULTILIB_OPTIONS.
3983
3984         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
3985
3986         * calls.c (precompute_arguments): Make sure initial_value contains
3987         value pseudo which CSE expects.
3988         * cse.c (struct set): New entry orig_src.
3989         (cse_insn): Set it early on entry, use it for libcall EQUIV note
3990         replacement.
3991
3992 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
3993
3994         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
3995
3996 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
3997
3998         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
3999
4000 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
4001
4002         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
4003         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
4004
4005         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
4006         if TARGET_ARCH32.
4007
4008         * longlong.h: Merge in changes from glibc.
4009         Also don't clobber %g2 register in 32bit SPARC assembly, so that
4010         -mno-app-regs libgcc can be compiled.
4011         * libgcc2.c: Add defines so that the updated longlong.h
4012         can be used in libgcc2.a. Also, make sure on most architectures
4013         (at least on all which have optimized code in longlong.h defined
4014         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
4015
4016 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4017
4018         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
4019         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
4020         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
4021         is GNU ld.
4022         * configure: Rebuilt.
4023
4024 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
4025
4026         * alpha.c (secondary_reload_class): For !BWX, sub-simode
4027         outputs require a register.
4028
4029 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
4030
4031         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
4032         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
4033         functions like dptoul will be resolved.
4034         (libgcc2.a): Make sure that the object files from DPBIT are named
4035         differently (prefix `_dp') from those that would be coming from
4036         FPBIT.
4037
4038 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
4039
4040         * configure.in: When target is sparc* and tm_file contains 64,
4041         test for 64bit support in assembler.  If not supported, remove
4042         sparc/t-sol2-64 from target-dependent Makefile fragments.
4043         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
4044         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
4045         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
4046         * acconfig.h (AS_SPARC64_FLAG): Added.
4047         * configure, config.in: Rebuilt.
4048         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
4049         support.  Use AS_SPARC64_FLAG.
4050
4051 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
4052
4053         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
4054         suitable for holding OFmode values so that gcc works with complex
4055         quad long doubles.
4056         (hard_64bit_mode_classes): Likewise.
4057
4058         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
4059         so that it is actually matched.
4060         (sethi_di_medlow): Likewise.
4061
4062         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
4063         as legitimate constant if -mvis.
4064         * config/sparc/sparc.md (movtf): Likewise.
4065         (clear_sf): Use const_double_operand.
4066         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
4067
4068         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
4069         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
4070         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
4071         routines, _Qp_* cannot be handled like that now.
4072         (INIT_TARGET_OPTABS): Likewise.
4073         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
4074         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
4075         sparc_emit_float_lib_cmp if ARCH64 and soft float.
4076         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
4077         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
4078         divtf3, sqrttf3): New expanders.
4079         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
4080         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
4081         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
4082         non-_hq patterns.
4083
4084         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
4085         * configure: Rebuilt.
4086         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
4087         -mcpu is given and we're doing 64bit compiles.
4088
4089 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
4090
4091         * loop.h (struct induction): Add multi_insn_incr.
4092         * loop.c (basic_induction_var): New multi_insn_incr argument.
4093         Set it if we search back through previous insns for the biv.
4094         (record_biv): New multi_insn_incr argument; fill in struct induction.
4095         (strength_reduce): Discard an iv with multiple bivs, any of
4096         which require multiple insns to increment.
4097
4098 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4099
4100         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
4101         documentation.
4102
4103 1999-12-06  David S. Miller  <davem@redhat.com>
4104
4105         * combine.c (check_promoted_subreg): Do not conditionalize this upon
4106         PROMOTE_FUNCTION_RETURN.
4107
4108 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
4109
4110         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
4111         and handle REG_UNUSED note on insn.
4112
4113         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
4114         inner_mask instead of mask.
4115
4116 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
4117
4118         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
4119         zero if there was an error.
4120
4121 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
4122
4123         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
4124         output string.
4125
4126         * longlong.h: Fix clobbers in SPARC asm statements.
4127
4128         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
4129         valid sethi operations when TARGET_ARCH64.
4130
4131         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
4132         always use move_by_pieces to avoid infinite recursion.
4133         (restore_fixed_argument_area): Likewise.
4134
4135         * combine.c (check_promoted_subreg, record_promoted_value): New
4136         functions.
4137         (combine_instructions): Use them to retain nonzero and sign bit
4138         information after SUBREGs are eliminated by optimizations in
4139         this pass if PROMOTE_FUNCTION_RETURN.
4140
4141         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
4142         .register declaration. Don't use variables with __ prefixes.
4143
4144 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4145
4146         * fold-const.c (optimize_bit_field_compare): Only use one mode
4147         for both RHS and LHS in non-constant case.
4148
4149 1999-12-06  Nathan Sidwell  <nathan@acm.org>
4150
4151         * frame.c (start_fde_sort): Only allocate erratic array, if
4152         linear one was allocated. Return allocated flag.
4153         (fde_insert): Only insert, if there's a valid array.
4154         (fde_end_sort): Split, sort and merge if linear and erratic
4155         arrays exist, else just sort linear one.
4156         (search_fdes): New function. Linear search through original fde
4157         structure.
4158         (frame_init): Permit multiple initializations. Cope with
4159         memory shortages.
4160         (find_fde): Fallback on linear search, if failed to sort array.
4161         (__deregister_frame_info): Only free sorted array, if we
4162         allocated it.
4163
4164 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
4165
4166         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
4167
4168 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
4169
4170         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
4171
4172 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
4173
4174         * tree.h (special_function_p): Declare.
4175         * calls.c (special_function_p): Make it global.  Don't take `name'
4176         as a parameter.  Fix typo in 1999-11-28 change.
4177         (expand_cal): Adjust.
4178
4179 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
4180
4181         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
4182         * tree.h (EXPR_WFL_FILENAME): Define in terms of
4183         EXPR_WFL_FILENAME_NODE.
4184         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
4185         the TREE_CHAIN.
4186         * print-tree.c (print_note): Print TREE_PRIVATE and
4187         TREE_PROTECTED.
4188
4189         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
4190         the original die cannot be found.
4191
4192         * varray.h (varray_head_tag): Add elements_used.
4193         (VARRAY_PUSH): New macro.
4194         (VARRAY_POP): Likewise.
4195         (VARRAY_TOP): Likewise.
4196         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
4197         types.
4198         * varray.c (varray_init): Initialize elements_used.
4199         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
4200         (INTEGRATE_H): New variable.
4201         (integrate.o): Depend on INTEGRATE_H.
4202         (unroll.o): Likewise.
4203
4204         * function.h (insert_block_after_note): Declare.
4205         * function.c (insert_block_after_note): Split out from ...
4206         (retrofit_block): ... here.
4207
4208         * stmt.c (expand_fixup): Fix typo in comment.
4209
4210 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4211
4212         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
4213         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
4214         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
4215         (regmove_optimize, fixup_match_1): Likewise.
4216
4217 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4218
4219         * flow.c (flow_loops_dump): Add missing argument when calling
4220         flow_loop_nested_p.
4221
4222 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
4223             Greg McGary  <gkm@gnu.org>
4224
4225         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
4226         (init_attributes): Add A_NO_LIMIT_STACK.
4227         (decl_attributes): Handle A_NO_LIMIT_STACK.
4228         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
4229         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
4230         Handle stack bounds checking.
4231         * flags.h (flag_stack_check): Use the word 'probe' rather than
4232         'check', because the flag doesn't actually cause any checking to
4233         be done.
4234         * function.c (expand_function_start): Set
4235         current_function_limit_stack.
4236         * function.h (struct function): Add limit_stack.
4237         (current_function_limit_stack): Define.
4238         * invoke.texi (Code Gen Options): Document new options.
4239         * rtl.h: Declare stack_limit_rtx.
4240         * toplev.c (stack_limit_rtx): New variable.
4241         (decode_f_option): Handle new options -fstack-limit-register=REG,
4242         -fstack-limit-symbol=IDENT, -fno-stack-limit.
4243         (main): Add stack_limit_rtx as GC root.
4244         * tree.h (DECL_NO_LIMIT_STACK): New macro.
4245         (struct tree_decl): New member no_limit_stack.
4246
4247         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
4248         stack_limit_rtx.
4249         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
4250         (conditional_trap+1): Get new mnemonic correct.
4251         (conditional_trap+2): New pattern for DImode traps.
4252
4253         * config/m68k/m68k.c (output_function_prologue): Handle
4254         stack_limit_rtx.
4255         * config/m68k/m68k.md (trap): New insn.
4256         (conditional_trap): New insn.
4257         * md.texi (Standard Names): Document `trap' and
4258         `conditional_trap'.
4259         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
4260         so a cc0 setter doesn't get emitted at some random place in the
4261         function.
4262
4263         * config/i960/i960.md (trap): New insn.
4264         (conditional_trap): New expander.
4265         (conditional_trap+1, conditional_trap+2): New insns for signed
4266         and unsigned cases.
4267         * config/i960/i960.c (i960_function_prologue): Use
4268         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
4269
4270 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
4271                           Geoffrey Keating  <geoffk@cygnus.com>
4272
4273         * flags.h (warn_padded, warn_packed): Add global var decls.
4274         * toplev.c (warn_padded, warn_packed): Add global var defns.
4275         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
4276         * stor-layout.c (layout_record): Add local variable `type'
4277         to hold often-used TREE_TYPE (field).  Add local variable
4278         `unpacked_align' to hold alignment that would be in force
4279         if no `packed' attribute were present.  Warn if `packed' attribute
4280         is unnecessary, or even harmful.  Warn when gcc inserts padding
4281         to satisfy alignment requirements of members.  Use NULL_TREE
4282         when checking whether var_size is set.
4283         * invoke.texi: Document new flags.
4284
4285 1999-12-03  Nathan Sidwell  <nathan@acm.org>
4286
4287         * frame.c (fde_split): Reimplement to avoid variable sized array.
4288
4289 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4290
4291         * combine.c (try_combine): Before fixing up LOG_LINKS for the
4292         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
4293
4294 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
4295
4296         * invoke.texi: Document the mips option -mno-crt0
4297
4298 1999-12-02  Mike Karr  <mkarr@mathworks.com>
4299
4300         * cccp.c (argdata): Added free_ptr member.
4301         (macroexpand): Initialize free_ptr of each argument. When an
4302         argument's buffers are freed, if the argument's free_ptr corresponds
4303         to a buffer on the input stack, then return the free_ptr to that stack
4304         frame, otherwise, free it.
4305         (macarg): If an argument begins and ends on the same input stack level,
4306         then transfer the free_ptr of that buffer to the argument in case
4307         the stack is popped during the processing of a subsequent argument.
4308
4309 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
4310
4311         * loop.c (note_reg_stored): New function.
4312         (struct note_reg_stored_arg): New structure.
4313         (try_copy_prop): Change to be more conservative; only replace within
4314         one extended basic block and stop replacing if a store to the
4315         replacement reg is seen.
4316
4317 1999-12-02  Nick Clifton  <nickc@cygnus.com>
4318
4319         * config/fp-bit.c: Initialise all fields of the NAN
4320         constants.
4321
4322         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
4323         to HANDLE_PRAGMA.
4324
4325 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
4326
4327         * i386.md (extend?f?f2): Force the input into a register, not
4328         the output.
4329
4330 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
4331
4332         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
4333         regclass' sake.
4334         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
4335         alternative because setting up 64bit constant is usually costly,
4336         especially when reload is in progress or completed.
4337         (movdf_const_intreg_sp64): Likewise.
4338         (movdf_const_intreg split): Fix building up constants when
4339         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
4340
4341 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
4342
4343         * combine.c (if_then_else_cond): Use const_true_rtx instead of
4344         const1_rtx for return values in EQ/NE comparison against (const_int 0)
4345         case.
4346
4347         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
4348         (asm_file_start): Emit .am33 into assembly file when compiling for
4349         the AM33.
4350         (print_operand_address): Handle POST_INC addresses.
4351         (can_use_return_insn, initial_offset): Check AM33 registers too.
4352         (expand_prologue): Check & save AM33 registers too.
4353         (expand_epilogue): Similarly.
4354         (secondary_reload_class): Handle AM33 specific secondary reloads.
4355         (output_tst): Emit efficient code for the AM33 too.
4356         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
4357         (TARGET_SWITCHES): Add -mam33 switch.
4358         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
4359         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
4360         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
4361         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
4362         (enum reg_class, REG_CLASS_NAMES): Likewise.
4363         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
4364         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
4365         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
4366         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
4367         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
4368         (HAVE_POST_INCREMENT): Define.
4369         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
4370         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
4371         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
4372         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
4373         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
4374         (zero_extend to SI from QI/HI): Likewise.
4375         (sign_extend to SI from QI/HI): Likewise.
4376         (mulsidi3, umulsidi3): New patterns for the AM33.
4377         (tstsi with zero extension from QI/HI): Add AM33 variants.
4378         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
4379         (return_internal_regs, store_movm): Handle new AM33 registers.
4380         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
4381         (LIBGCC, INSTALL_LIBGCC): Likewise.
4382         * invoke.texi: Document new flags.
4383
4384 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4385
4386         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
4387         (addsi3_carry): Likewise.
4388         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
4389         (sbbsi3_carry): Likewise.
4390         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
4391         (mulhi3): Likewise.
4392         (test?i_1): Ensure that only one operand is memory.
4393         (conditional move patterns): likewise.
4394         (shift and rotate patterns): Rewrite to expander, add
4395         "binary_operator_ok" to the condition.
4396
4397         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
4398         * i386.h (procesor_costs): Add movzbl_load field.
4399         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
4400         non-Q registers, accept DImode registers anywhere.
4401         (Q_CLASS_P): New.
4402         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
4403         * i386.c (*_cost): Set value for movxbl_load field.
4404
4405         * (addsi): New add to lea splitter.
4406         (ashlsi): Likewise.
4407         (lea to add/shift peep2): New.
4408
4409 1999-12-01  Mark Salter <msalter@cygnus.com>
4410
4411         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
4412         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
4413         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
4414
4415 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4416
4417         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
4418         * i386.md (movsi_xor): New.
4419         (movsi_or): New.
4420         (movsi_1, movhi_1, movqi_1): Remove.
4421         (movsi_2): Rename to movsi_1.
4422         (movhi_2): Rename to movhi_1.
4423         (movqi_2): Rename to movqi_1.
4424         (movdi_1): Remove; remove splitter.
4425         (movdi_2): Rename to movdi_1.
4426         (divmodsi4 splitter): Do not emit clobbers for move patterns.
4427         (long move peep2): Do not create QI or HI mode mov0s
4428         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
4429
4430         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
4431         rewrite splitters.
4432
4433         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
4434         (abs?f2_if): Likewise.
4435
4436 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
4437
4438         * ggc.h (ggc_test_and_set_mark): New macro.
4439         (ggc_mark_rtx): Use ggc_test_and_set_mark.
4440         (ggc_mark_tree): Likewise.
4441         (ggc_mark_rtvec): Likewise.
4442         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
4443
4444 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
4445
4446         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
4447         containing types.
4448         (decl_scope_table): Just an array of trees now.
4449         (push_decl_scope): Simplify.
4450         (dwarf2out_init): Adjust.
4451         (local_scope_p): New fn.
4452         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
4453         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
4454         (gen_typedef_die): Likewise.
4455         (gen_lexical_block_die): Don't call push/pop_decl_scope.
4456         (gen_inlined_subroutine_die): Likewise.
4457         (gen_abstract_function): Set current_function_decl temporarily.
4458         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
4459         Handle block extern declarations.  Don't call push/pop_decl_scope.
4460         (gen_decl_die): Fix logic for block externs.
4461
4462 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4463
4464         * calls.c (special_function_p): Remove `realloc' and add `strdup'
4465         to the list of functions which have attribute malloc by default.
4466
4467 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4468
4469         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
4470         integer constant does not match the traditional type, limit the
4471         warnings to cases where the base of the type is ten.
4472
4473         * invoke.texi (-Wtraditional): Document it.
4474
4475 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4476
4477         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
4478         * rs6000.md: Only access a CONST_INT with INTVAL
4479
4480 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
4481
4482         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
4483         (compute_nearerout): Likewise.
4484         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
4485         size_t to unsigned long for formatting.
4486
4487 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
4488
4489         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
4490         Allow the user to override call-used/fixed state of %g2-5
4491         registers from the command line (with the exception of %g4 for
4492         embedded model).
4493         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
4494         there is a higher chance of having a leaf function.
4495         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
4496         for ARCH64 which has %ccr register.
4497         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
4498         patterns.
4499         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
4500         insn accept into delay slot any insn which does not use %[ol]
4501         registers.  Accept some LO_SUM and shift left by 1 for the normal
4502         restore case.
4503         (output_function_epilogue): Likewise.
4504         (epilogue_renumber): Added argument which inhibits any renumbering
4505         and just tests if the rtx does not use any %[ol] registers.
4506         (output_return): Reflect above change.
4507
4508 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
4509
4510         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
4511         aggregate passing for sizes <= 16 bytes.
4512
4513 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
4514
4515         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
4516         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
4517         * reload.c (find_dummy_reload): Likewise.
4518         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
4519         * reload1.c (reload_as_needed): Likewise.
4520         * stupid.c (stupid_find_reg): Likewise.
4521         * tm.texi (Obsolete Register Macros): Delete section.
4522         * gmicro.h: Remove all traces of the two macros.
4523         * i386.h: Likewise.
4524         * m88k.h: Likewise.
4525         * mips.h: Likewise.
4526
4527 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
4528
4529         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
4530         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
4531         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
4532         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
4533         units for the sparclite86x chip.
4534         (flush): Revert October 14th change; add SImode specifically.
4535         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
4536         * invoke.texi: Document it.
4537
4538 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
4539
4540         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
4541         psimode_truncation_operand.
4542
4543         * config/mn10200/mn10200.c (psimode_truncation_operand): New
4544         function.  Return true if the operand is either a MEM valid
4545         for a PSImode address or not a MEM at all.
4546
4547         * config/mn10200/mn10200.md (truncsipsi2): Use
4548         psimode_truncation_operand.
4549
4550 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4551
4552         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
4553         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
4554         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
4555         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
4556         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
4557         (flow_loop_level_compute, low_loops_level_compute): Likewise.
4558         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
4559         * basic-block.h: Protect from multiple inclusion.
4560         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
4561         (struct loops, struct loop): Define structures.
4562         * sbitmap.c (sbitmap_a_subset_b_p): New function.
4563         * sbitmap.h: Protect from multiple inclusion.
4564         (sbitmap_a_subset_b_p): Add prototype.
4565         * Makefile.in (LOOP_H): New macro.
4566         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
4567
4568 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
4569
4570         * cppinit.c (CAT): The argument list of this macro may not contain
4571         spaces !
4572
4573 1999-11-29  David S. Miller  <davem@redhat.com>
4574
4575         Move quantity tables and register equivalence chains into
4576         per-qty and per-register structure arrays respectively.
4577         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
4578         qty_const_insn, qty_comparison_code, qty_comparison_const,
4579         qty_comparison_qty): Delete, replace with...
4580         (qty_table): this structure table.
4581         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
4582         (reg_eqv_table): this structure table.
4583         (make_new_qty): Add argument MODE.  Caller updated.
4584         Update to use qty_table and reg_eqv_table.
4585         (make_regs_eqv, delete_reg_equiv, insert_regs,
4586         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
4587         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
4588         cse_process_notes, cse_main, cse_basic_block): Likewise.
4589
4590 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4591
4592         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
4593         operation if C is negative.
4594         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
4595         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
4596         law for some divisions if constant is negative and change other
4597         divisions to the opposite rounding.
4598
4599         * expr.c (store_constructor_field): If bit position is not multiple
4600         of alignment of TARGET's mode, use BLKmode.
4601
4602         * expr.c (expand_expr_unaligned): Add more code from full case
4603         that is needed when OP0 is in a register.
4604
4605 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4606
4607         * dwarfout.c (field_byte_offset): Size can be zero if there was
4608         an error.
4609
4610 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
4611
4612         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
4613         (associate_trees): Delete unused var TEM.
4614         (extract_muldiv): Delete unused var CANCEL_P.
4615
4616         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
4617         (target_isinf, target_isnan, target_negative): Add return types to
4618         function definitions.
4619
4620 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
4621
4622         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
4623         * fixinc/hackshell.tpl: ditto
4624         * fixinc/fixtests.c(double_slash_test): more C++ header testing
4625         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
4626
4627 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
4628
4629         * reload.c (push_reload): When looking for a register to put into
4630         reg_rtx, make sure all hard regs in a multi-reg register are in the
4631         right class and nonfixed.
4632
4633         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
4634         pending_read_insns, pending_write_insns, pending_read_mems,
4635         pending_write_mems, pending_list_length, last_pending_memory_flush,
4636         last_function_call, sched_before_next_call): Move static variables
4637         into a structure.
4638         (bb_ prefixed versions): Replace with single array bb_deps.
4639         (struct deps): New structure.
4640         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
4641         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
4642         argument of type "struct deps *"; use that instead of global
4643         variables.  All callers changed.
4644         (init_rgn_data_dependencies): Delete function.
4645         (init_rtx_vector): Delete function.
4646         (init_deps): New function.
4647
4648         (free_pending_lists): Simplify, we always use the bb_deps array even
4649         if only one basic block.
4650         (compute_block_backward_dependences): Likewise.
4651         (schedule_region): Likewise.
4652
4653         (propagate_deps): New function, broken out of
4654         compute_block_backward_dependences.
4655         (compute_block_backward_dependences): Use it.
4656
4657         * alpha.md: Delete useless patterns that tried to work around
4658         register elimination problems.
4659
4660         * unroll.c (loop_iterations): Don't abort if iteration variable
4661         was made by loop.
4662
4663         From Joern Rennecke:
4664         * reload1.c (reloads_conflict): Reverse test comparing operand
4665         numbers when testing for conflict between output/outaddr reloads.
4666
4667 1999-11-29  David S. Miller  <davem@redhat.com>
4668
4669         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
4670         arg.
4671         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
4672
4673 1999-11-28  Robert Lipe  <robertl@cygnus.com>
4674
4675         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
4676         table from .fini into .dtor.
4677
4678 1999-11-28  Anthony Green  <green@cygnus.com>
4679
4680         * tree.h (struct tree_decl): Add malloc_flag.
4681         (DECL_IS_MALLOC): Define.
4682         * c-common.c (attrs): Add A_MALLOC attribute.
4683         (init_attributes): Add this attribute to the table.
4684         (decl_attributes): Handle malloc attribute.
4685         * calls.c (special_function_p): Check for the malloc attribute.
4686         * extend.texi (Function Attributes): Document malloc attribute.
4687
4688 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
4689
4690         * pa.md (reload shift-add patterns): Remove.
4691
4692 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4693
4694         * reorg.c (dbr_schedule) Print more statistics. Corrected
4695         problem when printing info when 3 delay slots are filled.
4696
4697 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
4698
4699         * combine.c (setup_incoming_promotions): Pass an outgoing
4700         regno to FUNCTION_ARG_REGNO_P which it expects.
4701
4702 1999-11-28  Andreas Jaeger  <aj@suse.de>
4703
4704         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
4705
4706 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
4707
4708         * cccp.c (do_include): Avoid initialization of automatic variable.
4709
4710         * integrate.c (mark_stores): Function definition made void, to match
4711         previous declaration.
4712         * regclass.c (dump_regclass): Ditto.
4713         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
4714
4715 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4716
4717         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
4718         known to be multiple of divisor.
4719
4720         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
4721
4722         * combine.c (try_combine): Add code to try to merge a set of a
4723         two-word pseudo to a constant with a setting of one of those words
4724         to a constant.
4725
4726         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
4727         (split_tree): Completely rework to make more general.
4728         (make_range, fold): Call negate_expr.
4729         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
4730         (fold, associate): Call new split_tree and associate_trees.
4731         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
4732
4733 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
4734
4735         * loop.c (try_copy_prop): Avoid GNU C extension.
4736
4737 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
4738
4739         * except.c (init_eh_for_function): Still zero eh_return_context,
4740         eh_return_stack_adjust, and eh_return_handler.
4741
4742         * except.h (eh_status): Adjust documentation for x_protect_list.
4743         (begin_protect_partials): New function.
4744         * except.c (enqueue_eh_entry): Fix formatting.
4745         (get_first_handler): Add consistency check.
4746         (add_partial_entry): Adjust usage of protect_list.
4747         (emit_cleanup_handler): Save and restore ehqueue.
4748         (expand_start_all_catch): Add comment.
4749         (begin_protect_partials): New function.
4750         (end_protect_partials): Adjust usage of protect_list.
4751         (init_eh_for_function): Use xcalloc.
4752
4753 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4754
4755         * c-common.c (check_format_info): Don't call a variadic function
4756         with a non-literal format string.
4757
4758         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
4759
4760         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
4761         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
4762         Likewise.
4763
4764         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
4765         Likewise.
4766
4767         * collect2.c (collect_wait): Likewise.
4768
4769         * dbxout.c (dbxout_type): Likewise.
4770
4771         * gcc.c (do_spec_1): Likewise.
4772
4773         * genemit.c (gen_insn, gen_expand): Likewise.
4774
4775         * genrecog.c (write_switch, write_subroutine): Likewise.
4776
4777         * mips-tfile.c (catch_signal, botch): Likewise.
4778
4779         * print-rtl.c (print_rtx): Likewise.
4780
4781         * toplev.c (default_print_error_function, report_error_function,
4782         _fatal_insn): Likewise.
4783
4784 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
4785
4786         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
4787
4788 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4789
4790         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
4791         operations when needed.
4792         * i386.md (fop_?f_comm): New.
4793         (fop_?f_1): Do not accept commutative operands.
4794
4795 1999-11-25  Andreas Jaeger  <aj@suse.de>
4796
4797         * config/mips/mips.md (casesi_internal): Add missing brace.
4798
4799 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
4800
4801         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
4802         (splice_child_die): Handle moving a child DIE from the declaration
4803         DIE of a class to its specification.
4804         (gen_struct_or_union_type_die): Use 'complete' consistently.
4805         (gen_decl_die): Generate the virtual context DIE first.
4806         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
4807
4808 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
4809
4810         * config/mips/mips.md (call_value_multiple_interanal1): New.
4811
4812 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
4813
4814         * dwarf2out.c (free_AT, free_die): New fns.
4815         (remove_children): Call them.
4816         (output_line_info): Disable removal of duplicate notes.
4817
4818         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
4819         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
4820         means pretend the type isn't defined.
4821         Don't defer emitting types.
4822         (gen_type_die_for_member): New fn.
4823         (gen_decl_die): Call it.
4824         (splice_child_die): New fn.
4825         (gen_member_die): Call it rather than generate duplicate dies.
4826
4827         Defer emitting information for the abstract instance of an inline
4828         until we either inline it or emit an out-of-line copy.
4829         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
4830         from output_inline_function if DECL_ABSTRACT is also set.
4831         (block_ultimate_origin): Likewise.
4832         (gen_abstract_function): New fn.
4833         (gen_decl_die, gen_inlined_subroutine_die): Call it.
4834         (gen_subprogram_die):  An abstract instance is not a declaration
4835         just because it doesn't match current_function_decl.  Don't abort
4836         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
4837         has an abstract origin.
4838         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
4839         abstract instance here.
4840
4841 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
4842
4843         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
4844         where we need to reload fpul from a system register.
4845
4846 1999-11-24  Andreas Jaeger  <aj@suse.de>
4847
4848         * config/mips/linux.h (CPP_PREDEFINES): Added.
4849         (LINK_SPEC): Remove -Y since this is only needed on sparc.
4850
4851 1999-11-24  Andreas Jaeger  <aj@suse.de>
4852
4853         * config/mips/linux.h (TARGET_VERSION): Added.
4854         (HANDLE_SYSV_PRAGMA): Added.
4855         (DEFAULT_VTABLE_THUNKS): Added.
4856
4857 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4858
4859         * local-alloc.c (qty): New structure and static variable.
4860         (qty_phys_reg): Remove, all references changed to qty.
4861         (qty_n_refs): Likewise.
4862         (qty_min_class): Likewise.
4863         (qty_birth): Likewise.
4864         (qty_death): Likewise.
4865         (qty_size): Likewise.
4866         (qty_mode): Likewise.
4867         (qty_n_calls_crossed): Likewise.
4868         (qty_alternate_class): Likewise.
4869         (qty_changes_size): Likewise.
4870         (qty_first_reg): Likewise.
4871         (alloc_qty): Rename variable QTY to QTYNO.
4872         (finf_free_reg): Likewise.
4873         (local_alloc): Allocate qty, do not allocate the removed variables.
4874
4875 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
4876
4877         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
4878         when -membedded-pic is passed.
4879
4880         * config/mips/mips.md (casesi): Handle 64-bit case too.
4881         (casesi_internal_di): New insn.
4882
4883         * config/mips/mips.c (embedded_pic_offset): Always make the
4884         embedded-pic subtractions relative to the name of the current
4885         function by use of the magic string "..CURRENT_FUNCTION".
4886         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
4887
4888 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
4889
4890         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
4891         of (const_int 0), when what we really care about is
4892         whether it's a zero constant anyway.
4893         (div_trap_mips16): Likewise.
4894
4895 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
4896
4897         * loop.c (loop_optimize): Always find_loop_tree_blocks and
4898         unroll_block_trees when generating debuggable code.
4899
4900         * tree.h (unsave_expr_1): New function.
4901         (lang_unsave): New variable.
4902         (get_callee_fndecl): New function.
4903         * tree.c (unsave_expr_now_r): New function.
4904         (lang_unsave): Define.
4905         (unsave_expr_1): Likewise.
4906         (unsave_expr_now_r): Split out from unsave_expr_now.
4907         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
4908         call unsave_expr_now_r.
4909         (get_callee_fndecl): Define.
4910
4911         * Makefile.in (gencheck): Don't depend on lang_tree_files.
4912         (gencheck.o): Do depend on lang_tree_files.
4913
4914         * integrate.h (copy_decl_for_inlining): New declaration.
4915         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
4916         (copy_decl_for_inlining): New function.
4917         (integrate_parm_decls): Use it.
4918         (integrate_decl_tree): Likewise.
4919
4920 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
4921
4922         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
4923         the second two from the first.
4924         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
4925         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
4926         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
4927         ISA_HAS_FP4.
4928         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
4929         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
4930         ISA_HAS_FP4.
4931
4932 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
4933
4934         * pa.md (call_internal_symref, call_value_internal_symref): No mode
4935         needed on the address operand.
4936         * pa.c (call_operand_address): Check for the correct mode.
4937
4938 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
4939
4940         * loop.c: Include "basic-block.h".
4941         (try_copy_prop, replace_loop_reg): New functions.
4942         (load_mems): Detect registers that just hold copies of the hoisted
4943         mem, and call try_copy_prop to eliminate them.
4944         * Makefile.in (loop.o): Update dependencies.
4945
4946 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
4947
4948         * Makefile.in (gencheck.o): Depend on gencheck.h.
4949         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
4950         (insn-peep.o): Depend on except.h and function.h.
4951         (insn-attrtab.o): Depend on RECOG_H.
4952         (insn-output.o): Depend on toplev.h and flags.h.
4953         (gengenrtl.o): Depend on real.h.
4954         (gen-protos.o): Depend on cpplib.h and cpphash.h.
4955         Unify all dependencies to be on RECOG_H rather than recog.h.
4956
4957 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4958
4959         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
4960         * configure.in: Try building a bi-arch 32/64-bit compiler on
4961         sparc-*-solaris2.7 and higher.
4962         * configure: Rebuild.
4963
4964 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
4965
4966         * config/freebsd.h: New, FreeBSD architecture independent file.
4967         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
4968         independent pieces.
4969         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
4970         directly by i386/freebsd.h.
4971         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
4972         independent configuration file.
4973         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
4974         directly by i386/freebsd.h.
4975         * configure: Rebuilt.
4976
4977         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
4978         which is in the user's namespace.
4979         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
4980         `i386' which is not in our namespace.
4981
4982 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
4983
4984         * invoke.texi (ARM Options): Add in -mno-alignment-traps
4985
4986 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
4987
4988         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
4989         (add_dwarf_attr, add_child_die): Just push onto the front.
4990         (reverse_die_lists): New fn.
4991         (add_sibling_attributes): Use it.
4992         (push_decl_scope): Reorganize.
4993         (add_name_and_src_coords_attributes): Don't set file and line for
4994         an artificial decl.
4995         (gen_subprogram_die): An artificial function doesn't need to match
4996         file and line.
4997         (gen_compile_unit_die): Return the generated die.  Only add
4998         AT_comp_dir if the filename is relative.
4999         (remove_AT): Simplify loop.  Also free string values.
5000         (output_die): A DIE ref can't be null.
5001         (output_value_format, value_format): Take a dw_attr_ref.
5002         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
5003         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5004         AT_addr, AT_lbl): New fns.
5005         (various): Use them.
5006         (various): Constify.
5007
5008 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5009
5010         * combine.c (combine_simplify_rtx): When handling a SUBREG,
5011         take SUBREG_WORD into account.
5012         (if_then_else_cond): Likewise.
5013
5014 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
5015
5016         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
5017         clause from BSD license, pursuant with
5018
5019           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
5020
5021 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
5022
5023         * loop.c (load_mems): Reformat slightly.
5024         * basic-block.h (regset_head): New typedef.
5025         (INIT_REG_SET): New macro.
5026
5027 1999-11-22  Bruce Korb  <autogen@linuxbox.com
5028
5029         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
5030         (mips-dec-bsd*): non-functional code
5031         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
5032
5033         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
5034         added three replacement fixes
5035         (no_double_slash): removed comments that are not (any longer) pertinent
5036         (bad_lval): this fix currently runs against many files.
5037         The comment seems to indicate that we should select for files
5038         containing 'pragma extern_prefix'.
5039
5040         * fixinc/fixinc.x86-linux-gnu: deleted
5041         * fixinc/inclhack.sh:  regen
5042         * fixinc/fixincl.x:  regen
5043         * fixinc/fixincl.sh:  regen
5044
5045 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
5046
5047         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
5048         its code is INSN and it has no notes.
5049
5050 1999-11-22  Andrew Haley  <aph@cygnus.com>
5051
5052         * varasm.c (function_defined): Remove.
5053         (make_function_rtl): Don't set function_defined.
5054         (make_decl_rtl): Remove global register warning.
5055         * regclass.c (no_global_reg_vars): New variable.
5056         (globalize_reg): Warn if function has already been defined.
5057         (regclass_init): Set no_global_reg_vars.
5058
5059 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5060
5061         * regclass.c (reg_pref): New structure and static variable
5062         (prefclass): Delete.
5063         (altclass): Delete.
5064         (all uses of prefclass and altclass): Use reg_pref instead.
5065
5066 1999-11-21  Nick Clifton  <nickc@cygnus.com>
5067
5068         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
5069         -malignment-traps.
5070         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
5071         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5072         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5073
5074 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
5075
5076         * varasm.c (output_constructor): Solve problem with long long
5077         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
5078
5079 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5080
5081         * global.c (allocno): New structure and static variable.
5082         (allocno_reg): Remove, all references replaced by allocno.
5083         (allocno_size): Likewise.
5084         (hard_reg_conflicts): Likewise.
5085         (hard_reg_preferences): Likewise.
5086         (hard_reg_copy_preferences): Likewise.
5087         (hard_reg_full_preferences): Likewise.
5088         (regs_someone_prefers): Likewise.
5089         (allocno_calls_crossed): Likewise.
5090         (allocno_n_refs): Likewise.
5091         (allocno_live_length): Likewise.
5092         (find_reg): Rename ALLOCNO to NUM.
5093
5094         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
5095         references updated.
5096         (may_move_out_cost): New variable.
5097         (init_reg_sets_1): Initialize may_move_out_cost.
5098         (record_reg_classes): Use may_move_out_cost.
5099
5100         * regclass.c (dump_regclass): New function.
5101         (regclass): New parameter DUMP, call DUMP_REGCLASS.
5102         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
5103         pass rtl_dump_file to regclass.
5104         * rtl.h (regclass): Update prototype.
5105
5106 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5107
5108         * i386.md (neg, not and abs patterns): Revmap to use
5109         ix86_expand_unary_operator and ix86_unary_operator_ok.
5110         (add?f and sub?f expanders): Force operand 1 to register.
5111         * i386.c (ix86_expand_unary_operator): Rewrite.
5112         (ix86_unary_operator_ok): Ensure that memory operands
5113         match real opcode.
5114         (ix86_binary_operator_ok): Do not allow operand 1 to
5115         come into memory and operand 0 not.
5116         (ix86_expand_binary_operator): Ensure that
5117         src1 is not non-matching memory.
5118
5119         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
5120         to support integer registers and memory.
5121         (abss?2_integer): Likewise.
5122
5123         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
5124         (REG_CLASS_NAMES): Likewise.
5125         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
5126         and GENERAL_REGS.
5127         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
5128         (movsf): Likewise; unify 4th and 5th alternative.
5129         (pushdf): Likewise.
5130         (movdf_1): Likewise; rename to movdf_integer.
5131         (pushxf): Likewise; rename to pushxf_integer; fix output template;
5132         remove redundant splitter.
5133         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
5134         (movdf_nointeger): New.
5135         (movxf_nointeger): New.
5136         (pushxf_nointeger): New.
5137
5138         * i386.md (extend?f?f): Split to expander and pattern, refuse two
5139         memory operands in patterns.
5140         (fop*): Refuse two memory operands.
5141
5142         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
5143         on !TARGET_USE_CLTD CPUs.
5144
5145 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
5146
5147         * extend.texi: Document C++ restricted pointers and references.
5148
5149 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
5150
5151         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
5152         (invalidate_skipped_set): Call it unconditionally.
5153         (cse_set_around_loop): Likewise.
5154
5155 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
5156
5157         * rtl.texi (mem): Add documentation for alias-set argument
5158         to RTX `mem'.
5159
5160 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5161
5162         * i386.h (struct_processor_costs): New fields int_load, int_store,
5163         fp_move, fp_load and fp_store
5164         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
5165         fp->int moves
5166         (MEMORY_MOVE_COST): New macro.
5167         * i386.c (386_cost): Define new fields.
5168         (i486_cost): Likewise.
5169         (pentium_cost): Likewise.
5170         (pentiumpro_cost): Likewise.
5171         (k6_cost): Likewise.
5172
5173 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
5174                           Geoffrey Keating  <geoffk@cygnus.com>
5175
5176         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
5177
5178         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
5179         MASK_ALIGN_INT.
5180
5181         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
5182         (TARGET_STRICT_ALIGNMENT): New macro.
5183         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
5184         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
5185         * invoke.texi (M680x0 Options): Document -mstrict-align.
5186
5187 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
5188                           Richard Henderson  <rth@cygnus.com>
5189
5190         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
5191         (ix86_split_long_move): Declare.
5192         * i386.c (split_xf, ix86_split_movdi): Remove.
5193         (ix86_split_to_parts, ix86_split_long_move): New.
5194         * i386.md (dimode move splitters): Use ix86_split_long_move.
5195         (dfmode move splitters): Likewise.
5196         (xfmode move splitters): Likewise.
5197         (movsf_1): Allow F->r.
5198         (movdf_1, movxf_1): Allow F->ro.
5199
5200 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
5201
5202         * except.h (struct eh_entry): Add goto_entry_p.
5203         (eh_region_from_symbol): Remove prototype.
5204         * except.c (find_func_region_from_symbol): New function.
5205         (emit_cleanup_handler): Likewise.
5206         (eh_region_from_symbol): Make it static.
5207         (add_new_handler): Verify the argument.
5208         (find_func_region): Update comment.
5209         (expand_eh_region_end): Expand handlers here, rater than waiting
5210         until expand_leftover_cleanups or start_all_catch.
5211         (expand_leftover_cleanups): Don't expand here.
5212         (expand_start_all_catch): Or here.
5213         (expand_rethrow): Check the return value from find_func_region.
5214         * function.c (expand_function_end): Emit the catch_clauses.
5215
5216 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
5217
5218         * integrate.c (expand_inline_function): Add necessary check for NULL.
5219
5220 1999-11-18  Nick Clifton  <nickc@cygnus.com>
5221
5222         * toplev.c (main): Correctly detect an unrecognised option.
5223
5224         * cppinit.c (cpp_handle_option): Do not claim to have consumed
5225         a -f option if it has not been recognised.
5226
5227 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
5228
5229         * basic-block.h (update_life_extent): Remove trailing comma on
5230         enumeration type list.
5231
5232 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5233
5234         * varasm.c (output_constructor) Solved problem with long long
5235         bitfields. Corrected calculating this_time and shift. Also
5236         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
5237
5238 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
5239
5240         * flow.c (split_edge): Take looping structure into account when
5241         determining where to put the new block note.
5242
5243 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
5244
5245         * Makefile.in (ggc-none.o): Provide host specific version if
5246         needed.
5247
5248 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
5249
5250         * cse.c (delete_trivially_dead_insns): Identify no-op insns
5251         containing subregs too.
5252
5253 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
5254
5255         * invoke.texi: Add documentation for -muninit-const-in-rodata.
5256         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
5257         (TARGET_UNINIT_CONST_IN_RODATA): Define.
5258         (text_section): Add switches -munint-const-in-rodata and
5259         -mno-uninit-const-in-rodata.
5260         (ASM_OUTPUT_COMMON): Remove.
5261         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
5262         const objects should be placed in read-only data. Otherwise declare
5263         them in common.
5264
5265 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
5266
5267         * jump.c (jump_optimize_1): Revert last change.
5268
5269 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
5270
5271         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
5272         test if optimizing for size.
5273
5274 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
5275
5276         * Makefile.in (toplev.o): Depend on except.h.
5277         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
5278
5279 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5280
5281         * i386.md (divmodsi4): Rewrite to expander.
5282         (*divmodsi4_nocltd): New.
5283         (*divmodsi4_cltd): New.
5284         (divmodsi4 splitter): Handle the case when input comes in edx.
5285         (udivmodhi4): Do not use constraints in exander.
5286         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
5287
5288 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
5289
5290         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
5291         for the common case.
5292
5293 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
5294
5295         * explow.c (hard_function_value): Add outgoing argument.
5296         * expr.h (hard_function_value): Declare it.
5297         * calls.c (expand_call, emit_library_call_value): Update callers.
5298         * function.c (aggregate_value_p): Ditto.
5299         (diddle_return_value): Must look at the outgoing registers
5300         on archs with register windows.
5301
5302 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
5303
5304         * alpha.c (alpha_build_va_list): Use make_lang_type and
5305         initialize TYPE_NAME for the va_list record.
5306
5307         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
5308
5309         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
5310         for printing.
5311         * ggc.h (struct ggc_statistics): Rearrange elements for better
5312         packing on 64-bit hosts.
5313         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
5314         (compute_nearerout): Likewise.
5315
5316 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
5317
5318         * config/rs6000/rs6000.c (first_reg_to_save): Save
5319         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
5320
5321 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
5322
5323         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
5324         notion of nesting to find the DIE for a type or function.
5325         DIEs can go in limbo even if we got a context_die.
5326         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
5327         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
5328         for local type.
5329         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
5330         (gen_type_die): Writing out the context doesn't cause member class
5331         template instantiations to be written out as well.
5332
5333 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
5334
5335         * rs6000.h (ASM_OUTPUT_DEF): New.
5336         Based on proposed addition from David Edelsohn.
5337
5338 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
5339             Bruce Korb  <autogen@linuxbox.com>
5340
5341         * fixinc/inclhack.def
5342         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
5343         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
5344                 in net/inet.h.
5345         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
5346         (svr4_endian): enabled with SVR5
5347         (svr4_mkdev): simplified syntax and enabled with SVR5
5348
5349 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
5350
5351         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
5352         * configure: Rebuilt.
5353         * config/t-freebsd-thread: New file.
5354
5355 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
5356
5357         * i386.c (ix86_decompose_address): Verify the base is a REG
5358         before trying to examine its register number.
5359
5360         * basic-block.h: Remove all #defines and prototypes related to
5361         integer lists.
5362         (free_bb_mem, compute_preds_succs): Remove prototype.
5363         * rtl.h (free_bb_mem): Remove prototype.
5364         * flow.c (alloc_int_list_node); Remove function.
5365         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
5366         (compute_preds_succs, free_bb_mem): Likewise.
5367         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
5368         * toplev.c (rest_of_compilation): Likewise.
5369         * haifa-sched.c (build_control_flow): Use flow generated edge
5370         list to build the haifa specific edge list.
5371         (find_rgns): Use new CFG data structures instead of pred/succ lists.
5372         (schedule_insns): Do not build pred/succ lists anymore.  Instead
5373         build the edge table.
5374
5375         * basic-block.h (dump_bb_data): Remove declaration.
5376         * flow.c (dump_bb_data): Remove function.
5377         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
5378         (sbitmap_union_of_predsucc): Likewise.
5379
5380         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
5381         argument.  All callers changed.
5382         (delete_null_pointer_checks_1): No longer need to compute the
5383         pred/succ lists.
5384
5385         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
5386         All callers changed.
5387         (pre_expr_reaches_here_p_work): Likewise.
5388         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
5389         * lcm.c (compute_laterin): Fix initialization of LATER.
5390         (compute_nearerout): Similarly for NEARER.
5391
5392 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5393
5394         * cse.c (set_nonvarying_address_components): Delete unused function.
5395         (refers_to_p): Likewise.
5396
5397 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
5398
5399         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
5400         needed.
5401
5402 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5403
5404         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
5405         definition in do while (0).
5406
5407 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
5408
5409         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
5410
5411 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
5412
5413         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
5414
5415 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
5416
5417         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
5418         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
5419         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
5420         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
5421
5422         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
5423         saved on the stack.  Output more accurate stack frame statistics
5424         into assembler file.
5425
5426 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
5427
5428         * genextract.c (record_insn_name): New function.
5429         (get_insn_name): No longer a stub.
5430         (main): Call record_insn_name for each insn.  After each label
5431         written, print the insn name in a comment.
5432
5433 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5434
5435         * output.h (const_section, init_section, fini_section): Add
5436         prototypes.
5437
5438         * alpha/elf.h (const_section): Delete declaration.
5439
5440         * svr4.h (const_section): Likewise.
5441
5442 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
5443
5444         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
5445         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
5446         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
5447         expressions.
5448         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
5449         variable-sized array bounds.
5450
5451 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
5452
5453         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
5454         ASM_OUTPUT_LABEL.
5455
5456 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5457
5458         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
5459         addresses the same way GO_IF_LEGITIMATE_INDEX does.
5460
5461 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5462
5463         * cse.c (hash_arg_in_struct): Delete.
5464         (struct table_elt): Delete elt in_struct.
5465         (struct set): Delete elt src_in_struct.
5466         (merge_equiv_classes): Don't set either hash_arg_in_struct or
5467         the corresponding in_struct elts.
5468         (canon_hash): Likewise.
5469         (safe_hash): Likewise.
5470         (find_best_addr): Likewise.
5471         (record_jump_cond): Likewise.
5472         (cse_insn): Likewise.
5473
5474 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
5475
5476         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
5477
5478         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
5479         unsigned types.
5480
5481 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
5482
5483         * function.c (diddle_return_value): Put back check that the DECL_RTL
5484         for the function is a register.
5485
5486         * function.c (diddle_return_value): Use hard_function_value to
5487         get an rtx suitable for use in the USE/CLOBBER insn.
5488
5489         * global.c (global_conflicts): Update comments.
5490         (record_conflicts): No need to record conflicts between pseudos here.
5491
5492 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
5493
5494         * fixinc/fixincl.c: Added verbose levels for status messages
5495
5496 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5497
5498         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
5499         operand as argument to expand_and or expand_binop.
5500
5501 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
5502
5503         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
5504         gcc_add_string_root.
5505
5506 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
5507
5508         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
5509
5510 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
5511
5512         * flow.c (compute_flow_dominators): Initially put all blocks on
5513         the worklist.
5514         * lcm.c (compute_antinout_edge, compute_available): Similarly.
5515         * gcse.c (compute_cprop_avinout): Remove.
5516         (compute_cprop_data): Use compute_available.
5517         (delete_null_pointer_checks_1): Use compute_available.
5518
5519         * basic-block.h (compute_available): Returns a void now.
5520         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
5521         to return a value anymore.
5522         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
5523         worklists.  Fix boundary cases. Compute maximal solutions.
5524         (compute_laterin, compute_nearerout): Similarly.
5525
5526         * dwarf2out.c (add_AT_location_description): Allow
5527         (mem (plus (pseudo) (...)) too.
5528
5529 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
5530
5531         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
5532
5533 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
5534                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5535
5536         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
5537
5538         * gansidecl.h: Likewise.
5539
5540         * rtl.c: Likewise.
5541
5542         * rtl.h: Likewise.
5543
5544         * toplev.h: Likewise.
5545
5546         * tree.c: Likewise.
5547
5548         * tree.h: Likewise.
5549
5550         * varray.c: Likewise.
5551
5552         * varray.h: Likewise.
5553
5554 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
5555
5556         * gcov.c (struct arcdata): Add hits and total, remove prob.
5557         (output_branch_counts): New.
5558         (process_args): Set output_branch_counts if -c.
5559         (calculate_branch_probs): Store hits and total instead of
5560         percentage.
5561         (output_data): Emit counts if output_branch_counts is true.
5562         * gcov.texi (Invoking Gcov): Document -c switch..
5563
5564 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
5565
5566         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
5567         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
5568
5569 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
5570
5571         * invoke.texi (C Dialect Options): Add missing builtins from
5572         c-common.c to list.
5573         * extend.texi (Other Builtins): Copy to this list.
5574
5575 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5576
5577         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
5578         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
5579         redundant bitmap.h.
5580
5581 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
5582
5583         * flow.c (compute_flow_dominators): No longer treat basic block 0
5584         or (n_basic_blocks - 1) specially.  Clear the AUX field before
5585         starting computation of doms/pdoms.  Fix initial state for pdoms.
5586
5587 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5588
5589         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
5590         match rtl.o's: added ggc.h and toplev.h
5591         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
5592         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
5593         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
5594
5595 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
5596
5597         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
5598         from HAVE_DOS_BASED_FILESYSTEM.
5599         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
5600         HAVE_DOS_BASED_FILESYSTEM.
5601         (main): Likewise.
5602         (split_directories): Only special-case DOS file names if
5603         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
5604         instead of explicit tests.  Conditionalize on !VMS.
5605         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
5606         tests.  Conditionalize on !VMS.
5607         (process_command): Only use make_relative_prefix if !VMS.
5608         (free_split_directories): Conditionalize on !VMS.
5609         (DIR_UP): Conditionalize on !VMS.
5610
5611 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5612
5613         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
5614
5615 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5616
5617         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
5618         case.
5619
5620 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
5621
5622         * invoke.texi (Environment Variables): Document relative path
5623         lookup.
5624         * gcc.c (DIR_UP): If not defined, define as "..".
5625         (standard_bindir_prefix): New static, holds target location to
5626         install binaries.
5627         (split_directories): New function to split a filename into
5628         component directories.
5629         (free_split_directories): New function, release memory allocated
5630         by split_directories.
5631         (make_relative_prefix): New function, make a relative pathname if
5632         the compiler is not in the expected location.
5633         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
5634         can figure out an appropriate prefix from argv[0].
5635         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
5636         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
5637         STANDARD_BINDIR_PREFIX.
5638
5639 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5640
5641         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
5642         in c4x.c.
5643         * config/c4x/c4x.h: Moved prototypes to c4x.h.
5644         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
5645         c4x_secondary_memory_needed) Delete.
5646         (fp_zero_operand): Add mode argument.
5647
5648 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
5649
5650         * reload1.c (reload_reg_free_for_value_p): Don't use a register
5651         that is in reload_reg_used.
5652
5653 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
5654
5655         * config/arm/arm-protos.h: New file: Prototypes for functions
5656         defined in arm.c and pe.c.
5657         * config/arm/arm.h: Fix compile time warnings.
5658         * config/arm/arm.c: Fix compile time warnings.
5659         * config/arm/pe.h: Fix compile time warnings.
5660         * config/arm/aout.h: Fix compile time warnings.
5661
5662 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
5663
5664         * config/m32r/m32r-protos.h: New file: Prototypes for functions
5665         defined in m32r.c
5666
5667         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
5668         Add support for subtargets.
5669         Add prototypes for new predicates.
5670         Add scheduling macros.
5671
5672         * config/m32r/m32r.c: Fix compile time warnings.
5673         (int8_operand): New predicate function.
5674         (reg_or_cmp_int16_operand): New predicate function.
5675         (extend_operand): New predicate function.
5676         (m32r_adjust_code): New scheduling function.
5677         (m32r_adjust_priorty): New scheduling function.
5678         (m32r_sched_init): New scheduling function.
5679         (m32r_sched_reorder): New scheduling function.
5680         (m32r_sched_variable_issue): New scheduling function.
5681         (direct_return): New codegen function.
5682         (m32r_not_same_reg): New rtl testsing function.
5683
5684         * config/m32r/m32r.md: Fix compile time warnings.
5685         Add support for pre decrement and post increment memory
5686         references.
5687         Add S<cc> patterns.
5688         Add fabs patterns.
5689
5690 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5691
5692         * global.c (EXECUTE_IF_CONFLICT): Don't define.
5693         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
5694         (find_reg): Likewise.
5695
5696 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
5697
5698         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
5699         to avoid assembler errors.
5700
5701 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
5702
5703         * config/v850/v850-protos.h: New file: Prototypes for functions
5704         defined in v850.c
5705         * config/v850/v850.h: Move prototypes to v850-protos.h
5706         * config/v850/v850.c: Move prototypes to v850-protos.h
5707         * config/v850/v850.md: Fix compile time warnings.
5708
5709         * config/fr30/fr30-protos.h: New file: Prototypes for functions
5710         defined in fr30.c
5711         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
5712         * config/fr30/fr30.c: Fix compile time warnings.
5713         * config/fr30/fr30.md: Fix compile time warnings.
5714
5715 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
5716
5717         * tree.h (get_containing_scope): Declare it.
5718         * tree.c (get_containing_scope): New fucntion.
5719         (decl_function_context): Use it.
5720         * toplev.c (rest_of_compilation): Use get_containing_scope.
5721
5722 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5723
5724         * Makefile.in (rtl.o): Depend on toplev.h.
5725
5726 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
5727
5728         * cse.c (delete_trivially_dead_insns): Replace alloca with
5729         xmalloc/xcalloc.
5730         * except.c (update_rethrow_references): Likewise.
5731         (init_eh_nesting_info): Likewise.
5732         * function.c (identify_blocks): Likewise.
5733         * gcse.c (dump_hash_table): Likewise.
5734         * graph.c (print_rtl_graph_with_bb): Likewise.
5735         * loop.c (combine_movables): Likewise.
5736         (move_movables): Likewise.
5737         (count_loop_regs_set): Likewise.
5738         (strength_reduce): Likewise.
5739         * profile.c (compute_branch_probabilities): New function, split
5740         out from ...
5741         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
5742         * regclass.c (regclass): Likewise.
5743         * regmove.c (regmove_optimize): Likewise.
5744         * toplev.c (compile_file): Likewise.
5745         (main): Don't mess with the stack rlimit.
5746
5747 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
5748
5749         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
5750         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
5751
5752 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
5753
5754         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
5755
5756 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
5757
5758         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
5759         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
5760         macro expansion.
5761
5762 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
5763
5764         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
5765
5766 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
5767
5768         * gcse.c (post_dominators): Kill.
5769         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
5770         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
5771         pass in a pdom array since we do not need pdoms.
5772         * haifa-sched.c (schedule_insns): Similarly.
5773         * flow.c (compute_dominators): Remove dead function.
5774         (compute_flow_dominators): Do not compute doms or pdoms if the
5775         caller does not request them.  Split up loop to build doms and
5776         pdoms.  Use a worklist to compute doms and pdoms.
5777         * basic-block.h (compute_dominators): Remove prototype.
5778
5779 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
5780
5781         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
5782         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
5783         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
5784         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
5785         (cant_move, fed_by_spec_load, is_load_insn): Remove.
5786         (schedule_region): Remove unused variable.
5787         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
5788
5789 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
5790
5791         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
5792         (update_equiv_regs): Likewise.
5793         (block_alloc): Likewise.
5794         * reg-stack.c (reg_to_stack): Likewise.
5795         (convert_regs_2): Likewise.
5796         * reload1.c (reload_as_needed): Likewise.
5797
5798 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
5799
5800         * Makefile.in (dbxout.o): Depend on ggc.h.
5801         (dwarf2out.o): Likewise.
5802         (xcoffout.o): Likewise.
5803         * dbxout.c: Include ggc.h.
5804         (dbxout_init): Register lastfile as a root.
5805         * dwarf2out.c: Include ggc.h.
5806         (dwarf2out_line): Register lastfile as a root.
5807         * xcoffout.c: Include ggc.h.
5808         (xcoffout_source_line): Register xcoff_lastfile as a root.
5809
5810 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
5811
5812         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
5813
5814 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
5815
5816         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
5817         defined.
5818         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
5819
5820 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5821
5822         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
5823         (EXECUTE_IF_CONFLICT): Likewise.
5824         (ALLOCNO_LIVE_P): Avoid signed division.
5825         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
5826         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
5827         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
5828
5829 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
5830
5831         * haifa-sched.c (schedule_block): Don't crash if there's no
5832         next insn for an interblock movement.
5833         (add_branch_dependences): Don't allow clobber insns to move either.
5834
5835 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
5836
5837         * i386.c (split_xf): New.
5838         * i386-protos.h: Declare it.
5839         * i386.md (movxf_1): Add general regs alternatives.
5840         (movxf_1+1): New splitter for same.
5841
5842 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
5843
5844         * function.c (purge_addressof_1): Add missing return values.
5845
5846 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
5847
5848         * function.c (is_addressof): New function.  Returns true if
5849         the given piece of RTL is an ADDRESSOF.
5850         (purge_addressof_1): Make boolean.  Return false if the
5851         ADDRESSOFs could not be purged.
5852         (purge_addressof): If ADDRESSOFs could not be purged from the
5853         notes attached to an insn, remove the offending note(s),
5854         unless they are attached to a libcall.
5855
5856 1999-11-05  Andreas Jaeger  <aj@suse.de>
5857
5858         * genoutput.c (null_operand =): Initialize all fields.
5859
5860         * errors.h: Add extern to prototypes.
5861
5862 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
5863
5864         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
5865         * configure: Rebuilt.
5866
5867 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5868
5869         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
5870         (mirror_conflicts): New function.
5871         (global_alloc): Call it.
5872         (expand_preferences): Remove redundant CONFLICTP test.
5873         (find_reg, dump_conflicts): Likewise.
5874         (prune_preferences): Process conflicts one word at a time.
5875
5876 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
5877
5878         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
5879         instead of an explicit loop.
5880
5881 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
5882
5883         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
5884         if REG_RETVAL check succeeds, then put classp in src_elt.
5885
5886 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
5887
5888         * function.c (pad_to_arg_alignment): Only update argument_pad
5889         if the argument's alignment is greater than STACK_BOUNDARY.
5890
5891 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
5892
5893         * bitmap.h (BITMAP_XFREE): New.
5894         * flow.c (life_analysis): Use it.
5895         (life_analysis_1): Free blocks.
5896
5897         * combine.c (undo_commit): New.
5898         (try_combine): Use it.  Don't zap undobuf.undos.
5899         (combine_instructions): Don't zap undobuf.undos; free the
5900         undobuf.frees list.
5901
5902         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
5903
5904         * stmt.c (cost_table_): New.
5905         (estimate_case_costs): Use it instead of xmalloc.
5906
5907         * toplev.c (compile_file): Reuse dumpname memory instead
5908         of strdup'ing it.
5909
5910 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
5911
5912         * reg-stack.c (convert_regs_1): Initialize target_stack->top
5913         after verifying an EH edge.
5914
5915         * haifa-sched.c (init_rgn_data_dependences): Correctly
5916         size bb_pending_lists_length when zeroing.
5917
5918 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
5919
5920         * function.c (diddle_return_value): New.
5921         (expand_function_end): Use it.
5922         * stmt.c (expand_null_return): Likewise.
5923         (expand_value_return): Likewise.
5924
5925         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
5926
5927         * reload1.c (reload): Don't remove return value clobbers.
5928
5929 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
5930
5931         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
5932
5933 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
5934
5935         * cse.c (cse_main): Use xmalloc, not alloca.
5936         (cse_basic_block): Likewise.
5937         * local-alloc.c (local_alloc): Likewise.
5938
5939 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
5940                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5941
5942         * rtl.c: Include toplev.h.
5943         (fatal): Remove declaration.
5944
5945 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
5946
5947         * haifa-sched.c (schedule_block): Fix thinko.
5948
5949 1999-11-03  James McKelvey <mckelvey@fafnir.com>
5950
5951         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
5952         S_IR* defined values
5953
5954 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
5955
5956         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
5957         call `malloc' instead.
5958
5959 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
5960
5961         * flags.h (flag_renumber_insns): Declare.
5962         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
5963         renumbering table.
5964         * rtl.h (renumber_insns): Change prototype.
5965         * toplev.c (flag_renumber_insns): Define.
5966         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
5967
5968 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
5969
5970         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
5971         and fpsqrtd.  Use them and create fdiv function unit to more
5972         accurately represent fpu sqrt pipeline semantics on UltraSparc.
5973         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
5974
5975 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
5976
5977         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
5978         3 on UltraSparc.
5979         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
5980         insn into ready list, do not use just a raw swap.
5981
5982 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
5983
5984         * rtl.h (renumber_insns): New function.
5985         (remove_unnecessary_notes): Likewise.
5986         * emit-rtl.c (renumber_insns): Define.
5987         (remove_unncessary_notes): Likewise.
5988         * toplev.c (rest_of_compilation): Remove dead code.
5989         Use renumber_insns and remove_unncessary_notes.
5990
5991         * gcse.c (struct null_pointer_info): New type.
5992         (get_bitmap_width): New function.
5993         (current_block): Remove.
5994         (nonnull_local): Likewise.
5995         (nonnull_killed): Likewise.
5996         (invalidate_nonnull_info): Take a null_pointer_info as input.
5997         (delete_null_pointer_checks_1): New function.
5998         (delete_null_pointer_checks): Use it.
5999
6000         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
6001         (split_edges): Likewise.
6002         (schedule_block): Likewise.
6003         (compute_block_backward_dependencies): Likewise.
6004         (schedule_region): Likewise.
6005         (schedule_insns): Likewise.
6006
6007 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
6008
6009         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
6010         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
6011         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
6012         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
6013         * jump.c (delete_unreferenced_labels): Don't delete if
6014         LABEL_ALTERNATE_NAME is set.
6015         * print-rtl.c (print_rtx): Dump alternate name.
6016         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
6017         * rtl.h (LABEL_ALTERNATE_NAME): Define.
6018         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
6019         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
6020
6021 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6022
6023         * fix-header.c (recognized_extern, recognized_function): Constify
6024         a char*.
6025
6026         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
6027         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6028         (compute_available): Remove unused variable `last'.
6029         (compute_nearerout): Remove unused variable `temp_bitmap'.
6030         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6031         Remove unused variable `x'.
6032
6033         * scan.h (recognized_function, recognized_extern): Constify a
6034         char*.
6035
6036         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
6037
6038 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6039
6040         * varasm.c (decode_rtx_const): Use XSTR to access the string
6041         of a SYMBOL_REF.
6042
6043 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
6044
6045         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
6046
6047 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6048
6049         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
6050
6051 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
6052
6053         * pa.c (ireg_operand): New function.
6054         * pa.h (PREDICATE_CODES): Handle ireg_operand.
6055         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
6056         Fix out of date comment.
6057
6058         * pa.md (negdi2): Turn into expander + anonymous pattern.
6059
6060         * reload.c (find_reloads): Fix typos in recent change.
6061
6062         * dwarf2out.c: Do not include ctype.h.
6063
6064 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6065
6066         * regclass.c (record_reg_classes): Always use may_move_cost when
6067         seeing how operand fits with various register classes.
6068
6069 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
6070
6071         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
6072         * toplev.c: Revert Nov 1 13:22 change.
6073
6074 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
6075
6076         * config/pa/pa.md (height reduction patterns): Add checks for
6077         overlapping operands to avoid semantic-destroying splits for
6078         height reduction patterns.
6079
6080 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6081
6082         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
6083         have been an hyphen, fixed.
6084         * configure: Rebuilt.
6085
6086 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
6087
6088         * config/arm/tpe.h: Add prototypes for exported functions.
6089         * config/arm/pe.c: Fix compile time warnings.
6090         * config/arm/semi.h: Fix compile time warnings.
6091         * config/arm/arm.c: Fix compile time warnings.
6092         * config/arm/arm.h: Fix compile time warnings.
6093         * config/arm/arm.md: Fix compile time warnings.
6094         * config/arm/thumb.c: Fix compile time warnings.
6095         * config/arm/thumb.h: Fix compile time warnings.
6096         * config/arm/thumb.md: Fix compile time warnings.
6097
6098 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
6099
6100         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
6101         detection code
6102
6103         * unroll.c (unroll_loop): Remove LOOP notes when loop is
6104         completely unrolled.
6105
6106 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6107
6108         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
6109
6110 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
6111
6112         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
6113         * rtl.h (rtx_equal_p): Move prototype.
6114         * rtl.c (rtx_equal_function_value_matters): Move from
6115         rtlanal.c
6116         (rtx_equal_p): Likewise.
6117         * rtlanal.c (rtx_equal_function_value_matters): Delete.
6118         (rtx_equal_p): Likewise.
6119
6120 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
6121
6122         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
6123         ! HAS_INIT_SECTION.
6124
6125 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
6126
6127         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
6128
6129         * pa.h (ADDR_VEC_ALIGN): Define.
6130
6131         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
6132         notes when presented with "if (foo) break; end_of_loop" and
6133         the break sequence gets moved out of the loop.
6134
6135         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
6136         Remove explicit zero initializations of entries within MAP.
6137
6138 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
6139
6140         * reg-stack.c (convert_regs_1): Handle EH edges specially.
6141
6142 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
6143
6144         * bitmap.h (BITMAP_XMALLOC): New macro.
6145         * flow.c (CLEAN_ALLOCA): Remove.
6146         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
6147         (life_analysis): Likewise.
6148         (update_life_info): Don't use CLEAN_ALLOCA.
6149         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
6150         (calculate_global_regs_live): Likewise.
6151         (print_rtl_with_bb): Likewise.
6152         (verify_flow_info): Likewise.
6153         * global.c (global_alloc): Likewise.
6154         (global_conflicts): Likewise.
6155         * integrate.c (save_for_inline_nocopy): Likewise.
6156         (expand_inline_function): Likewise.
6157         * jump.c (jump_optimize_1): Likewise.
6158         (duplicate_loop_exit_test): Likewise.
6159         (thread_jumps): Likewise.
6160         * loop.c (loop_optimize): Likewise.
6161         (combine_givs): Likewise.
6162         (recombine_givs): Likewise.
6163         * reorg.c (dbr_schedule): Likewise.
6164         * unroll.c (unroll_loop): Likewise.
6165
6166         * combine.c (combine_instructions): Use xmalloc instead of alloca.
6167
6168 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
6169
6170         * toplev.c (rest_of_compilation): Don't optimize the CFG
6171         when rebuilding, just before dbr.
6172
6173 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6174
6175         * output.h (assemble_end_function, assemble_destructor,
6176         assemble_constructor, assemble_gc_entry, assemble_global,
6177         assemble_label, output_constant_pool) Constify a char*.
6178
6179         * varasm.c (assemble_destructor, assemble_constructor,
6180         assemble_gc_entry, assemble_end_function, assemble_global,
6181         assemble_label, output_constant_pool): Likewise.
6182
6183 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
6184
6185         * config/arm/thumb.c (thumb_expand_prologue): Add comments
6186         explaining what is goin on in this function.
6187
6188 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6189
6190         * regclass.c (record_reg_classes): In matching case, recompute
6191         costs since the direction of movement is different.
6192
6193 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
6194
6195         * resource.c (mark_target_live_regs): For unconditional branches,
6196         the resources found at the branch target should be added to the
6197         resources found so far, not intersected.
6198
6199 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
6200
6201         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
6202         old cpp's.
6203         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
6204         (sys/mman.h): Include this file only if #HAVE_MMAP.
6205         (run_compiles): Initialize `esac_fmt' with one old KR string, not
6206         with automatically concatenated ANSI strings.
6207
6208 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
6209
6210         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
6211         (DIV_ROUND_UP): Robustify.
6212         (ggc_recalculate_in_use_p): New function.
6213         (release_pages): Don't inline it.
6214         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
6215         outer contexts.
6216         (ggc_pop_context): Use ggc_recalculate_in_use_p.
6217         (clear_marks): Always save in_use_p.
6218         (sweep_pages): Use ggc_recalculate_in_use_p.
6219         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
6220         Release pages before counting statistics.
6221
6222 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
6223
6224         * toplev.c (rest_of_compilation): Fix thinko in this change:
6225
6226         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
6227
6228         (rest_of_compilation): If inside an inlined external function,
6229         pretend we are just being declared.
6230
6231 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
6232
6233         * flow.c (calculate_global_regs_live): Fix thinko.
6234
6235         * integrate.c (expand_inline_function): Fix bugs in previous
6236         change from Oct 28, 1999.
6237
6238 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
6239
6240         * stmt.c (expand_value_return): Fix typo in this change:
6241
6242         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6243         (expand_value_return): Correctly convert VAL when promoting function
6244         return; support RETURN_REG being a PARALLEL.
6245
6246 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
6247
6248         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
6249
6250 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6251
6252         * hard-reg-set.h (reg_names): Constify a char*.
6253
6254         * regclass.c  (reg_names): Likewise.
6255
6256         * regs.h (reg_names): Likewise
6257
6258         * a29k/a29k.c (reg_names): Delete declaration.
6259
6260         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
6261
6262         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
6263         arc_output_function_epilogue): Likewise.
6264
6265         * elxsi/elxsi.c (reg_names): Likewise.
6266
6267         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
6268
6269         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
6270         Likewise.
6271
6272         * m88k/m88k.c (output_function_profiler): Likewise.
6273
6274         * sparc/sparc.c (sparc_flat_output_function_prologue,
6275         sparc_flat_output_function_epilogue): Likewise.
6276
6277 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
6278
6279         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
6280         warning from -Wuninitialized and put it under -W.
6281         * function.c (uninitialized_vars_warning): Warn only when the
6282         corresponding flag is set.
6283
6284 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
6285
6286         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
6287         is nonzero and the single set does not have an elt, then assign
6288         it an elt.
6289
6290         * simplify-rtx.c: New file.
6291         * Makefile.in (OBJS): Add simplify-rtx.o
6292         (simplify-rtx.o): Add dependencies.
6293         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
6294         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
6295         (cse_gen_binary, simplify_unary_operation): Delete.
6296         (simplify_binary_operation, simplify_plus_minus): Likewise.
6297         (check_fold_consts, simplify_relation_operation): Likewise.
6298         (simplify_ternary_operation): Likewise.
6299         (delete_trivially_dead_insns): Simplify the contents of the
6300         REG_EQUAL note before trying to substitute it into the source
6301         of the reg-reg copy at the end of a libcall sequence.
6302
6303         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
6304         references/callers changed.
6305
6306         * mn10200.c (mn10200_va_arg): Force the return value into a
6307         register.
6308
6309         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
6310
6311         * cccp.c (macroexpand): Avoid out of range accesses for omitted
6312         arguments.
6313
6314 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
6315
6316         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
6317
6318 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
6319
6320         * fold-const.c (fold): Fix thinko when optimizing comparisons
6321         against -0.0.
6322
6323 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
6324
6325         * gcc.texi (Passes): Update front-end files to their current
6326         location.
6327
6328 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
6329
6330         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
6331         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
6332         (PREDICATE_CODES): Add addition_operation.
6333         * alpha-protos.h (addition_operation): Declare.
6334         (secondary_reload_class): Likewise.
6335         * alpha.c (addition_operation): New.
6336         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
6337         * alpha.md (adddi3): Turn into expander.
6338         (*lda, *adddi_2): New.
6339         (movsf, movdf patterns): Don't preference integer regs.
6340         (movsi, movdi patterns): Don't preference fp regs.
6341
6342 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
6343
6344         * genrecog.c (write_switch): Check for duplicate CODE cases.
6345
6346 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
6347
6348         * ggc-common.c: Update pre-function commentary.
6349         * ggc-page.c: Likewise.
6350         (poison): Remove.
6351         (poison_pages): Use memset directly.
6352         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
6353         (ggc_collect): Poison before sweeping.
6354         * ggc-simple.c: Update pre-function commentary.
6355         (ggc_alloc_obj): Poison non-zeroed memory.
6356
6357 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
6358
6359         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
6360         match format string, even on 64-bit hosts.
6361         * gcc-page.c (ggc_page_print_statistics): Likewise.
6362
6363 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
6364
6365         * config/i386/i386.c (ix86_cpu): Revert last patch.
6366         * config/i386/i386.h (ix86_cpu): Ditto.
6367
6368 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
6369
6370         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
6371         TYPE_SIZE, convert type of result to sizetype.
6372
6373 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
6374
6375         * flow.c (count_or_remove_death_notes): Equate NULL with the
6376         universal set.
6377
6378         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
6379         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
6380         dbr_schedule.
6381
6382         * i386.c (pic_label_no): Delete.
6383         (ix86_attr_length_default): Don't use single_set to peek
6384         inside a parallel.
6385
6386         * recog.c (peephole2_optimize): Allow recog_next_insn to index
6387         the first insn after bb->end.
6388         * i386.md (push mem peeps): Scratch is live after evaluation
6389         of the memory.
6390         (cmp mem peep): Similarly.
6391
6392 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
6393
6394         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
6395         * function.c (pad_to_arg_alignment): Add missing braces.
6396
6397 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6398
6399         * alpha/alpha-protos.h (literal_section): Add prototype.
6400         (alpha_need_linkage, alpha_start_function,alpha_end_function):
6401         Constify a char*.
6402
6403         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
6404         prototype.
6405         (alpha_start_function, alpha_end_function, float_strings,
6406         alpha_need_linkage): Constify a char*
6407
6408         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
6409
6410         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
6411
6412         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6413
6414         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6415
6416 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6417
6418         * flow.c (debug_flow_info): Add prototype.
6419
6420         * gcc.c (main): Likewise.
6421
6422         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
6423         Likewise.
6424
6425         * reload1.c (failed_reload, set_reload_reg): Likewise.
6426
6427         * mips-tfile.c (main): Likewise.
6428         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
6429         with ATTRIBUTE_NORETURN.
6430
6431 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
6432
6433         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
6434         DECL is not a memory ref.
6435
6436 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
6437
6438         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
6439         * config/i386/i386.c (ix86_cpu): Add extern attribute.
6440
6441 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
6442
6443         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
6444         * config/mips/elf64.h: ditto.
6445
6446 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
6447
6448         * expr.c (emit_push_insn): New argument alignment_pad.
6449         Update all callers.  Adjust stack pointer based on alignment pad.
6450         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
6451         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
6452         (locate_and_pad_parm): New argument alignment_pad.  Update all
6453         callers.
6454         * expr.h (emit_push_insn): Update prototype.
6455         (locate_and_pad_parm): Update prototype.
6456         * calls.c (arg_data):  Add new field alignment_pad.
6457         (initialize_argument_information): Initialize alignment_pad.
6458
6459 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
6460
6461         * except.c (free_eh_nesting_info): Free the info itself.
6462         * function.c (free_after_compilation): Don't free NULL.
6463         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
6464         (pre_edge_insert): Free inserted.
6465         * stmt.c (free_stmt_status): Don't free NULL.
6466
6467 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
6468
6469         * gcov.c (DIR_SEPARATOR): Provide default.
6470         (output_data): Add test for MS-DOS format absolute filename.
6471         (fancy_abort): Correct program name.
6472         (open_files): Open all files in binary mode.
6473         * libgcc2.c (__bb_exit_func): Likewise.
6474
6475         * profile.c (init_branch_prob): Specify binary when opening files.
6476
6477         * flags.h (flag_unwind_tables): New decl.
6478         * toplev.c (flag_unwind_table): New definition.
6479         (f_options): Add -funwind-tables.
6480         (decode_g_option): Clarify warning when unknown -g option is given.
6481         (rest_of_compilation): If inside an inlined external function,
6482         pretend we are just being declared.
6483
6484         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
6485         (dwarf2out_frame_finish): Likewise.
6486
6487 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
6488
6489         * fold-const.c (merge_ranges): If not in0, but in1, handle
6490         upper bounds equal like subset case.
6491
6492 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
6493
6494         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
6495         passed in a register but moved to the stack.
6496
6497 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
6498
6499         * gcc.c (pass_exit_codes, greatest_status): New variables.
6500         (struct option_map): Add entry for "--pass-exit-codes".
6501         (execute): Update greatest_status if error.
6502         (display_help): Add documentation for -pass-exit-codes.
6503         (process_command): Handle -pass-exit-codes.
6504         (main): Look at pass_exit_codes and greatest_status on call to exit.
6505
6506 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6507
6508         * reload.c (find_reloads): Refine test for no input reload
6509         case to not includes reloads emitted after insn.
6510
6511         * function.c (find_temp_slots_from_address): Handle sum involving
6512         a register that points to a temp slot.
6513         (update_temp_slot_address): Make recursive call if both old and
6514         new are PLUS with a common operand.
6515         * calls.c (expand_call): Mark temp slot for result as having
6516         address taken.
6517
6518         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
6519
6520         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
6521         component as well as "BINUTILS".
6522
6523         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
6524         * integrate.c (copy_rtx_and_substitute): Likewise.
6525         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
6526         All callers changed.
6527         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
6528
6529         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
6530         gdb extensions, write size of type; also be more consistent
6531         in using references when this is a subtype.
6532
6533         * pa.md (extv, extzv, insv): Use define_expand to reject constant
6534         that is out of range.
6535
6536         * loop.c (unknown_constant_address_altered): New variable.
6537         (prescan_loop): Initialize it.
6538         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
6539         (invariant_p, case MEM): Remove handling for volatile and readonly;
6540         check new variable if readonly.
6541         (check_dbra_loop): Chdeck unknown_constant_address_altered.
6542
6543         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
6544         (addr_affects_sp_p): Removed from note_mem_written and only
6545         define #ifdef AUTO_INC_DEC.
6546
6547         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
6548
6549         * regclass.c (record_reg_classes): Properly handle register move
6550         directions.
6551
6552         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
6553         Don't think valid if both operands are invalid.
6554         (struct constant_descriptor): New field RTL.
6555         (mark_const_hash_entry): Mark it.
6556         (record_constant{,_rtx}): Initialize it.
6557         (output_constant_def): Allocate RTL in permanent obstack and
6558         save in table.
6559         ({record,compare}_constant_1): Modes must match for
6560         CONSTRUCTOR of ARRAY_TYPE.
6561
6562         * c-common.h (initializer_constant_valid_p): Delete decl from here.
6563         * output.h (initializer_constant_valid_p): Move decl to here.
6564         * c-common.c (initializer_constant_valid_p): Delete function from here.
6565         * varasm.c (initializer_constant_valid_p): Move function to here.
6566
6567         * tree.h (STRIP_SIGN_NOPS): New macro.
6568         * fold-const.c (optimize_minmax_comparison): New function.
6569         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
6570         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
6571         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
6572         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
6573         widening conversions.
6574         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
6575         to look at size of mode, not precision of type; also add missing cases.
6576         (optimize_bit_field_compare, decode_field_reference): Don't try to
6577         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
6578
6579         * dwarf2out.c (ctype.h): Include.
6580         (dwarf2out_set_demangle_name_func): New function.
6581         (size_of_line_info): Deleted.
6582         (output_line_info): Compute size of line info table from difference
6583         of labels.
6584         (base_type_die, add_name_attribute): Call demangle function, if any.
6585         (field_byte_offset): Use bits per word for variable length fields.
6586         (gen_array_type_die): Add array name.
6587         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
6588         (dwarf2out_add_library_unit_info): New function.
6589
6590         * explow.c (set_stack_check_libfunc): New function.
6591         (stack_check_libfunc): New static variable.
6592         (probe_stack_range): Allow front-end to set up a libfunc to call.
6593
6594         * combine.c (simplify_comparison): When making comparison in wider
6595         mode, check for having commuted an AND and a SUBREG.
6596         (contains_muldiv): New function.
6597         (try_combine): Call it when dividing a PARALLEL.
6598         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
6599         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
6600         a PLUS.
6601         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
6602         use one of the CLOBBERs instead.
6603         (if_then_else_cond): If comparing against zero, just return thing
6604         being compared.
6605
6606         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
6607         Don't generate shifts and subtract if have conditional arithmetic.
6608
6609         * rtl.h (delete_barrier): New declaration.
6610         * jump.c (jump_optimize): Set up to handle conditional call.
6611         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
6612         (delete_barrier): New function.
6613
6614         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
6615
6616         * recog.c (nonmemory_operand): Accept ADDRESSOF.
6617
6618         * tree.c (build_type_attribute_variant): Push to obstack of
6619         ttype around type_hash_canon call.
6620
6621         * expr.c (placeholder_list): Move decl to file scope.
6622         (expand_expr): Don't force access to volatile just because its
6623         address is taken.
6624         If ignoring reference operations, just expand the operands.
6625         (expand_expr, case COMPONENT_REF): Propagate
6626         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
6627         Refine test for using bitfield operations vs pointer punning.
6628         (expand_expr, case CONVERT_EXPR): If converting to
6629         BLKmode UNION_TYPE from BLKmode, just return inner object.
6630         Use proper mode in store_field call.
6631         Properly set sizes of object to store and total size in store_field
6632         call for convert to union.
6633         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
6634         memory (like for ADDR_EXPR).  Also, don't put constant in register if
6635         we'll want it in memory.
6636         (readonly_fields_p): New function.
6637         (expand_expr, case INDIRECT_REF): Call it if LHS.
6638         (expand_assignment): Handle a RESULT_DECL where
6639         DECL_RTL is a PARALLEL.
6640         (do_jump, case WITH_RECORD_EXPR): New case.
6641         (get_inner_reference): Always go inside a CONVERT_EXPR
6642         and NOP_EXPR if both modes are the same.
6643         (store_field): Use bitfield operations if size of bitsize is not same
6644         as size of RHS's type.
6645         Check for bitpos not a multiple of alignment in BLKmode case.
6646         Do block move in largest possible alignment.
6647         (store_constructor): Set BITSIZE to -1 for variable size and properly
6648         in case of array of BLKmode.
6649         (expand_expr_unaligned): New function.
6650         (do_compare_and_jump): Call it.
6651
6652         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
6653         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
6654         does not include 'o'.
6655
6656         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
6657         both SET_DEST and SET_SRC reference a virtual register.
6658         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
6659
6660         * integrate.c (expand_inline_function): Handle case of setting
6661         virtual stack vars register (from built in setjmp); when parameter
6662         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
6663         (subst_constant): Add new parm, MEMONLY.
6664         (expand_inline_function, integrate_parm_decls): Pass new parm.
6665         (integrate_decl_tree): Likewise.
6666         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
6667         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
6668         (copy_rtx_and_substitute, case SET): Add explicit calls to
6669         copy_rtx_and_substitute for both sides.
6670
6671         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
6672         constraints.
6673         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
6674         within INDEX_TYPE, instead of before.
6675         (fixup_gotos): Use f->target_rtl, not the next insn,
6676         since latter may be from a later fixup.
6677         (expand_value_return): Correctly convert VAL when promoting function
6678         return; support RETURN_REG being a PARALLEL.
6679         (expand_return): When checking for result in regs and having
6680         cleanup, consider PARALLEL in DECL_RTL as being in regs.
6681
6682 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
6683
6684         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
6685         last_nominal_fname): Mark const.
6686         (struct include_hash: name, nshort, control_macro): Mark
6687         const.
6688         (struct macrodef: symnam): Mark const.
6689         (struct if_stack: fname): Mark const.
6690         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
6691         (IStable): New character-syntax array which encompasses all
6692         the old is_foo arrays.
6693         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
6694         is_space): New macros for interrogating IStable.
6695         (check_macro_name): Kill last argument.  All callers changed.
6696
6697         * cppinit.c (initialize_char_syntax): Delete.
6698         (is_idchar, is_idstart, is_hor_space, is_space,
6699         trigraph_table): Delete.
6700         (IStable): New.  Initialize with clever macros to avoid
6701         information duplication.
6702         (builtin_array): Table of builtins to get rid of explicit list
6703         in initialize_builtins.
6704         (initialize_builtins): Use builtins_array.
6705         (cpp_start_read): Call init_IStable, and set IStable['$'] if
6706         opts->dollars_in_ident.
6707
6708         * cppexp.c: Change all refs to is_xyz[] arrays to use new
6709         is_xyz() macros.
6710         (cpp_parse_expr): Avoid 'format string is not constant'
6711         warning. Use ISGRAPH to identify printable chars.
6712         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
6713         is_xyz() macros.
6714         (read_and_prescan): Map trigraphs to chars with open-coded
6715         if-else-if-... sequence, not a lookup table.
6716         * cpphash.c: Change all refs to is_xyz[] arrays to use new
6717         is_xyz() macros.
6718         * cpplib.c: Change all refs to is_xyz[] arrays to use new
6719         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
6720         (check_macro_name): Remove ability to report an invalid
6721         assertion name, which is never used.
6722         (do_line): Constify a couple of char *'s.
6723         * cppmain.c (main): Call cpp_cleanup before returning.
6724
6725 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
6726
6727         * ggc.h (struct ggc_statistics): New type.
6728         (ggc_get_size): New function.
6729         (ggc_print_statistics): Likewise.
6730         * ggc-common.c (ggc_stats): New variable.
6731         (ggc_mark_rtx_children): Keep statistics.
6732         (ggc_mark_tree_children): Likewise.
6733         (ggc_print_statistics): New function.
6734         * ggc-page.c (struct globals): Add bytes_mapped field.
6735         (alloc_anon): Update it.
6736         (release_pages): Likewise.
6737         (ggc_get_size): New function.
6738         (ggc_page_print_statistics): New function.
6739         * ggc-simple.c (ggc_get_size): New function.
6740
6741 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
6742
6743         * flow.c (propagate_block): When the last reference to a label
6744         before an ADDR_VEC is deleted because the reference is a dead
6745         store, delete the ADDR_VEC.
6746
6747 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
6748
6749         * resource.c (find_free_register): Don't use the frame pointer
6750         if frame_pointer_needed.
6751
6752 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
6753
6754         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
6755         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
6756
6757         * config/i960/i960.c (i960_va_start): New locals base, num.
6758         Use INDIRECT_REF instead of ARRAY_REF on valist.
6759         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
6760
6761 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
6762
6763         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
6764
6765 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
6766
6767         * tree.def (PLACEHOLDER_EXPR): Update comments.
6768
6769 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6770
6771         * c-common.c (check_format_info): Avoid non-literal format string
6772         warnings when `first_arg_num' is zero.
6773
6774 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6775
6776         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
6777
6778 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
6779
6780         * arm.md (casesi_insn): Add a clobber of the condition code
6781         register.
6782
6783 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
6784
6785         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
6786         used by both cc1 and cc1plus.
6787
6788 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
6789
6790         * config/arm/arm.c: Initialise arm_structure_size_boundary to
6791         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
6792         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
6793         to the value 32 if it has not already been defined.
6794         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
6795         Override definition in arm.h with a value of 8.
6796
6797 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
6798
6799         * c-pragma.c (push_alignment): Don't check the return value
6800         of xmalloc.
6801
6802 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
6803
6804         * sparc.h (ADJUST_COST): Fix thinko.
6805
6806 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
6807
6808         * cccp.c (rescan): Fixed obp pointer handling around call to
6809         check_expand subroutine.
6810
6811 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
6812
6813         * gcse.c (delete_null_pointer_checks): Only record non-null info
6814         for pseudos when examining stores.
6815
6816         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
6817         splitters for these patterns.  Use "#" for output templates.
6818         (addsi3_carryin_shift): New pattern.
6819
6820 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
6821
6822         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
6823         of the function return register into a plain REG until
6824         after function inlining is done.
6825
6826 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
6827
6828         * jump.c (jump_optimize_1): If we did cross-jumping, and
6829         the data will matter, rebuild the CFG.
6830         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
6831         not optimizing.  Don't run shorten_branches.
6832         * toplev.c (rest_of_compilation): Run shorten_branches after
6833         reg_to_stack.
6834
6835 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
6836
6837         * rtl.h (note_stores): Add additional paramter.
6838         * rtlanal.c (reg_set_p_1): Take additional paramter.
6839         (reg_set_last_1): Likewise.
6840         (reg_set_p): Adjust call to note_stores.
6841         (reg_set_last): Likewise.
6842         (note_stores): Pass data parameter to worker function.
6843         * alias.c (record_set): Take additional parameter.
6844         (init_alias_analysis): Pass it.
6845         * caller-save.c (mark_set_regs): Take additional parameter.
6846         (save_call_clobbered_regs): Pass NULL to note_stores.
6847         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
6848         parameter.
6849         (record_dead_and_set_regs_1): Likewise.
6850         (reg_dead_at_p_1): Likewise.
6851         (combine_instructions): Adjust calls to note_stores.
6852         (try_combine): Likewise.
6853         (record_dead_insn): Remove.
6854         (record_dead_and_set_regs): Adjust calls to note_stores.
6855         (reg_dead_at_p): Likewise.
6856         * cse.c (invalidate_skipped_set): Take additional parameter.
6857         (cse_check_loop_start): Likewise.
6858         (cse_check_loop_start_value): Remove.
6859         (cse_set_around_loop): Adjust calls to note_stores.
6860         * flow.c (notice_stack_pointer_modification): Take additional
6861         parameter.  Remove duplicate declaration.
6862         (record_volatile_insns): Adjust calls to note_stores.
6863         * gcse.c (record_set_info): Take additional parameter.
6864         (record_last_set_info): Likewise.
6865         (invalidate_nonnull_info): Likewise.
6866         (record_set_insn): Remove.
6867         (compute_sets): Adjust calls to note_stores.
6868         (last_set_insn): Remove.
6869         (compute_hash_table): Adjust calls to note_stores.
6870         (insert_insn_end_bb): Likewise.
6871         (delete_null_pointer_checks): Likewise.
6872         * global.c (mark_reg_store): Take additional parameter.
6873         (mark_reg_clobber): Likewise.
6874         (reg_becomes_live): Likewise.
6875         (global_conflicts): Adjust calls to note_stores.
6876         (build_insn_chain): Likewise.
6877         * integrate.c (note_modified_parmregs): Take additional parameter.
6878         (mark_stores): Likewise.  Make it static.
6879         (save_for_inline_nocopy): Adjust calls to note_stores.
6880         (try_constants): Likewise.
6881         * integrate.h (mark_stores): Remove declaration.
6882         * jump.c (mark_modified_reg): Take additional parameter.
6883         (thread_jumps): Adjust calls to note_stores.
6884         * local-alloc.c (validate_equiv_mem_from_store): Take additional
6885         parameter.
6886         (no_equiv): Likewise.
6887         (reg_is_set): Likewise.
6888         (validate_equiv_mem): Adjust calls to note_stores.
6889         (update_equiv_regs): Likewise.
6890         (block_alloc): Likewise.
6891         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
6892         (note_addr_stored): Take additional parameter.
6893         (note_set_pseudo_multiple_uses): Likewise.
6894         (record_initial): Likewise.
6895         (prescan_loop): Adjust calls to note_stores.
6896         (strength_reduce): Likewise.
6897         (check_dbra_loop): Likewise.
6898         * regmove.c (flags_set_1): Take additional paramter.
6899         (mark_flags_life_zones): Adjust calls to note_stores.
6900         * reload1.c (mark_not_eliminable): Take additional parameter.
6901         (forget_old_reloads_1): Likewise.
6902         (reload_cse_invalidate_rtx): Likewise.
6903         (reload_cse_check_clobber): Likewise.
6904         (reload_combine_note_store): Likewise.
6905         (move2add_note_store): Likewise.
6906         (reload): Adjust calls to note_stores.
6907         (reload_as_needed): Likewise.
6908         (emit_reload_insns): Likewise.
6909         (reload_cse_regs_1): Likewise.
6910         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
6911         (reload_combine): Adjust calls to note_stores.
6912         * resource.c (update_live_status): Take additional paramter.
6913         (mark_target_live_regs): Adjust calls to note_stores.
6914         * stupid.c (find_clobbered_regs): Take additional parameter.
6915         (stupid_life_analysis): Adjust calls to note_stores.
6916
6917 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
6918
6919         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
6920         definition.
6921
6922         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
6923         definition.
6924
6925         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
6926         of the variable arm_structure_size_boundary.
6927
6928 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
6929
6930         * alias.c (init_alias_analysis): Allocate reg_known_value and
6931         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
6932         and reg_seen.
6933         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
6934         * cse.c (cse_main): Call end_alias_analysis.
6935         * haifa-sched.c (schedule_insns): Likewise.
6936         * local-alloc. (update_equiv_regs): Likewise.
6937         * reload1.c (reload_cse_regs): Likewise.
6938
6939 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6940
6941         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
6942         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
6943         mapping from MASK_FPU.
6944
6945 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
6946
6947         * sparc.md (call): Don't bound structure return size to 0xfff.
6948
6949 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
6950
6951         * resource.c (mark_target_live_regs): Check that the target
6952         insn wasn't created after compute_bb_for_insn.
6953
6954 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
6955
6956         * ggc-page.c (poison_pages): Don't be overzealous.
6957
6958 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
6959
6960         * alias.c: Update comments for ADDRESS.
6961         (nonlocal_reference_p): Look inside the ADDRESS to determine if
6962         it is a local memory reference.
6963
6964         * c-typeck.c (build_function_call): Check that the built-in
6965         function is of class BUILT_IN_NORMAL before trying to recongize
6966         it as BUILT_IN_ABS.
6967         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
6968         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
6969
6970 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
6971
6972         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
6973         of alloca.
6974         (pre_gcse): Likewise.
6975         (hoist_expr_reaches_here_p): Likewise.
6976         (hoist_code): Likewise.
6977         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
6978         code to ...
6979         (pre_expr_reaches_here_p_work): ... here.
6980         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
6981         code to ...
6982         (expr_reaches_here_p_work): ... here.
6983
6984 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
6985
6986         * resource.c (find_basic_block): Delete.
6987         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
6988         (init_resource_info): Call compute_bb_for_insn.
6989
6990 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
6991
6992         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
6993         with already adjacent blocks, but no fallthru.
6994         (merge_blocks_move_successor_nojumps): Simplify.
6995         (debug_flow_info): New.
6996
6997         * toplev.c (rest_of_compilation): Open jump1 dump file before
6998         jump and close after, as opposed to just using dump_rtl.
6999
7000 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7001
7002         * reload.h (earlyclobber_operand_p): Declare.
7003         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
7004         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
7005         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
7006         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
7007
7008 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
7009                           Richard Henderson  <rth@cygnus.com>
7010
7011         * emit-rtl.c (emit_block_insn_before): New.
7012         (emit_block_insn_after): New.
7013         * basic-block.h: Declare them.
7014
7015         * bitmap.h: Protect from multiple inclusion.
7016
7017         * recog.c (scratch_operand): Handle VOIDmode correctly.
7018
7019         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
7020
7021         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
7022         * function.c (assign_parms): Likewise.
7023         * global.c (global_conflicts): Clarify STACK_REGS commentary.
7024
7025         * reg-stack.c (max_uid): Remove.
7026         (blocks, block_begin, block_end, block_drops_in): Remove.
7027         (block_stack_in, block_out_reg_set, block_number): Remove.
7028         (struct block_info_def, BLOCK_INFO): New.
7029         (enum emit_where): New.
7030         (current_block): New.
7031         (BLOCK_NUM): Remove.
7032         (mark_regs_pat, record_label_references): Remove.
7033         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
7034         (nan): New.
7035         (goto_block_pat, print_blocks, dump_stack_info): Remove.
7036         (reg_to_stack): Simplified test for existance of fp code.  Use
7037         flow.c code.  Call shorten_branches after cross-jump opt.
7038         (check_asm_stack_operands): Renamed from record_asm_reg_life.
7039         Return false if the asm doesn't use stack regs.  Don't do life
7040         analysis on the asm.
7041         (emit_pop_insn): Replace function pointer arg `when' with
7042         enum `where'.  Update all callers.
7043         (change_stack): Likewise.  Update basic block end.
7044         (emit_swap_insn): Use current_block->head to limit reverse search
7045         for start of block.  Use emit_block_insn_after.
7046         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
7047         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
7048         structure assignment instead of bcopy.
7049         (print_stack): New.
7050         (convert_regs_entry, convert_regs_exit): New.
7051         (convert_regs_1, convert_regs_2): Split out from convert_regs.
7052         Work on basic blocks and the CFG.
7053         (convert_regs): Use them.
7054
7055         * i386.c (output_fix_trunc): Remove code for DImode input operand
7056         not at top-of-stack.
7057         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
7058         appropriate mode.
7059         (fix_truncdi_1): Allow any mode scratch.
7060
7061 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
7062
7063         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
7064         * linux.h, netbsd.h, vms.h: Not here.
7065
7066 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
7067
7068         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
7069         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
7070         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
7071         CONDITIONAL_REGISTER_USEAGE): Use them.
7072         * config/mips/mips.c (mips_move_1word,mips_move_2words,
7073         gen_conditional_branch,override_options) : Use them.
7074         * config/mips/mips.md : Use them.
7075
7076 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
7077
7078         * i386.md (zero_extendqihi2): Use SImode register name with andl.
7079
7080 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
7081
7082         * integrate.c (function_cannot_inline_p): Don't allow inlining
7083         if setjmp is used.
7084
7085 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7086
7087         * c-parse.in (cast_expr): Constify.
7088
7089         * cccp.c (special_symbol): Likewise.
7090
7091         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
7092
7093         * dwarf2out.c (base_type_die): Likewise.
7094
7095         * global.c (allocno_compare): Likewise.
7096
7097         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
7098
7099         * regclass.c (fix_register): Likewise.
7100
7101         * rtl.h (fix_register): Likewise.
7102
7103         * stupid.c (stupid_reg_compare): Likewise.
7104
7105         * toplev.c (decode_f_option): Likewise.
7106
7107         * tree.c (build_complex_type): Likewise.
7108
7109 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
7110
7111         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
7112
7113 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7114
7115         * reload.c (find_reloads): Compute mode and nregs fields of all
7116         reloads.
7117         * reload1.c (calculate_needs_all_insns): Simplify a bit.
7118         (calculate_needs): Use precomputed mode/nregs values.
7119         (allocate_reload_reg): Likewise.
7120         Break out two...
7121         (failed_reload, set_reload_reg): ... new functions.
7122         (choose_reload_regs_init): New function, mostly broken out from...
7123         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
7124         Also lose one #if 0 block.
7125
7126 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
7127
7128         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
7129         substitution.
7130
7131 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
7132
7133         * tree.h (BLOCK_TYPE_TAGS): Remove.
7134         (BLOCK_END_NOTE): Likewise.
7135         (BLOCK_LIVE_RANGE_FLAG): Likewise.
7136         (BLOCK_LIVE_RANGE_START): Likewise.
7137         (BLOCK_LIVE_RANGE_END): Likewise.
7138         (tree_block): Remove live_range_flag, live_range_var_flag, and
7139         type_tags.  Remove end_note, live_range_start, and live_range_end.
7140         (remember_end_note): Remove prototype.
7141         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
7142         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
7143         remember_end_note.
7144         * ggc-common.c (ggc_mark_tree_children): Don't mark
7145         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
7146         * integrate.c (adjust_copied_decl_tree): Remove.
7147         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
7148         * stmt.c (last_block_end_note): Remove.
7149         (init_stmt): Don't add a GC root for it.
7150         (expand_fixup): Don't set it.
7151         (remember_end_note): Remove.
7152         (expand_end_bindings): Don't set last_block_end_note.
7153
7154 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7155
7156         * reload1.c (reload_reg_free_for_value_p): Show
7157         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
7158         reloads.
7159
7160 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
7161
7162         * expmed.c (extract_bit_field): Allow for the case of non-integer
7163         objects that are smaller than a word (like SFmode on a 64-bit
7164         machine).
7165
7166         * loop.c (basic_induction_var): A non-integer variable which is
7167         being set by a paradoxical subreg is probably not a biv.
7168
7169 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7170
7171         * prefix.c (translate_name) Check for empty prefix string.
7172
7173 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
7174
7175         * Makefile.in (CPP_CROSS_NAME): New variable.
7176         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
7177         xcpp.
7178         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
7179         names of the files to be uninstalled.
7180
7181 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
7182
7183         * collect2.c (IS_DIR_SEPARATOR): Define.
7184         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
7185
7186         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
7187         functions too.
7188
7189         * haifa-sched.c (add_dependence): Update the true dependency
7190         cache the first time we add a true dependence to the LOG_LINKS chain.
7191
7192 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
7193
7194         * fold-const.c (fold): Fix comment.
7195
7196 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7197
7198         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
7199         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
7200         dbxout_start_new_source_file, dbxout_source_file,
7201         dbxout_source_line, dbxout_finish, dbxout_type_fields,
7202         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
7203         Constify a char*.
7204         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
7205         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
7206         (dbxout_block): Initialize variable `blocknum'.
7207
7208         * dbxout.h (dbxout_init, dbxout_finish,
7209         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
7210         dbxout_args, dbxout_source_line): Constify a char*.
7211
7212         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
7213         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
7214         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
7215         low_pc_attribute, high_pc_attribute, body_begin_attribute,
7216         body_end_attribute, comp_dir_attribute, sf_names_attribute,
7217         src_info_attribute, mac_info_attribute, producer_attribute,
7218         lookup_filename, generate_macinfo_entry, fundamental_type_code,
7219         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
7220         dwarfout_undef): Constify a char*.
7221         (add_incomplete_type, retry_incomplete_types): Add prototypes.
7222
7223         * dwarfout.h (dwarfout_define, dwarfout_undef,
7224         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
7225
7226 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
7227
7228         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
7229         (MULTILIB_ISA_DEFAULT): New.
7230         (MULTILIB_DEFAULTS): Use it.
7231         * config/mips/mips.c (): Remove the now unnecessary definition
7232         of MIPS_ISA_DEFAULT.
7233         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
7234         unnecessary definition.
7235
7236 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
7237
7238         * arm.md (pic_load_addr): Add constraints to operand 1.
7239
7240 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
7241
7242         * fixinc/genfixes:  Provide a means for specifying -D options to
7243         AutoGen
7244
7245 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
7246
7247         * arm.c (arm_override_options): Correct initialization of
7248         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
7249         arm_is_strong, and arm_is_6_or_7.
7250
7251         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
7252         (note_set_pseudo_multiple_uses): New function.
7253         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
7254         if a pseudo set in the loop exit is used elsewhere.
7255
7256 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
7257
7258         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
7259
7260 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
7261
7262         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
7263         a single load-address pattern.
7264
7265 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
7266
7267         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
7268         depending on whether or not line-number notes are present.
7269
7270 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7271
7272         * cccp.c (progname, file_buf, default_include, include_file,
7273         macrodef, definition, hashval, wchar_type, user_label_prefix,
7274         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
7275         expand_to_temp_buffer, is_system_include, base_name,
7276         absolute_filename, read_name_map, open_include_file,
7277         record_control_macro, check_precompiled, check_preconditions,
7278         pcfinclude, pass_thru_directive, create_definition,
7279         check_macro_name, comp_def_part, collect_expansion,
7280         check_assertion, read_token_list, assertion_install,
7281         assertion_lookup, eval_if_expression, conditional_skip,
7282         validate_else, skip_quoted_string, quote_string, macarg1,
7283         error_from_errno, install, lookup, hashf, dump_defn_1,
7284         perror_with_name, pfatal_with_name, main, trigraph_pcp,
7285         check_white_space, rescan, handle_directive, monthnames,
7286         special_symbol, do_include, remap_include_file, write_output,
7287         arglist, do_assert, do_unassert, do_line, do_error, do_once,
7288         do_ident, do_sccs, do_xifdef, skip_if_group,
7289         output_line_directive, macroexpand, macarg, change_newlines,
7290         initialize_builtins, make_definition): Constify a char*.
7291
7292         * pcp.h (stringdef): Likewise.
7293
7294 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
7295
7296         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
7297         not of pattern.
7298
7299 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
7300                           Richard Henderson  <rth@cygnus.com>
7301
7302         * alias.c: Include ggc.h.
7303         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
7304         (record_set): Verify enough room in reg_base_value.
7305         (init_alias_analysis): Allocate reg_base_value with xcalloc.
7306         Register it as a GC root.
7307         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
7308         * Makefile.in (alias.o): Depend on ggc.h.
7309
7310         * unroll.c (unroll_loop): Verify the insn before a barrier
7311         is a JUMP_INSN before checking JUMP_LABEL.
7312
7313 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7314
7315         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
7316         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
7317         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
7318         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
7319         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
7320         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
7321
7322 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7323
7324         * output.h (ctors_section, dtors_section, bss_section): Prototype.
7325
7326         * alpha/alpha-interix.h (text_section): Delete prototype.
7327         * alpha/elf.h (text_section): Likewise.
7328         * arm/linux-elf.h (text_section): Likewise.
7329         * arm/linux-telf.h (text_section): Likewise.
7330         * c4x/c4x.h (text_section): Likewise.
7331         * dsp16xx/dsp16xx.h (bss_section): Likewise.
7332         * elfos.h (text_section): Likewise.
7333         * i386/aix386ng.h (text_section): Likewise.
7334         * i386/i386-interix.h (text_section): Likewise.
7335         * i386/sco5.h (text_section): Likewise.
7336         * i386/svr3gas.h (text_section): Likewise.
7337         * nextstep.h (text_section): Likewise.
7338         * psos.h (text_section): Likewise.
7339         * ptx4.h (text_section): Likewise.
7340         * svr3.h (text_section): Likewise.
7341         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
7342
7343 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7344
7345         * final.c (peephole): Delete prototype.
7346
7347         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
7348         (pre_insert_copies): Remove unused variable `bb'.
7349
7350         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
7351         prototypes.
7352
7353         * output.h (peephole): Add prototype.
7354
7355 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
7356
7357         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
7358         -O0.
7359
7360 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
7361
7362         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
7363         for inlined declarations.
7364
7365 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
7366
7367         * arm.c (logical_binary_operator): New fucntion.
7368         * arm.h (logical_binary_operator): Declare it.
7369         (PREDICATE_CODES): Handle logical_binary_operator.
7370         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
7371         output constraints.  Add appropriate splitters.
7372         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
7373         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
7374         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
7375
7376 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7377
7378         * genoutput.c (struct operand_data): New elt eliminable.
7379         (output_operand_data): Write it.
7380         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
7381         (compare_operands): Take it into account.
7382         * recog.h (struct insn_operand_data): New elt eliminable.
7383         * reload1.c (check_eliminable_occurrences, elimination_effects): New
7384         functions.
7385         (old_asm_operands_vec, new_asm_operands_vec): Delete.
7386         (eliminate_regs): Move code that detects changes to elimination
7387         target regs into new function elimination_effects.
7388         Delete one #if 0 block.
7389         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
7390         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
7391         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
7392         Only call eliminate_regs for real operands of the insn, not for parts
7393         of its structure or parts matched by things like match_operator.
7394         Use elimination_effects and check_eliminable_occurrences.  Use
7395         copy_insn to duplicate the pattern when not in the final pass.
7396
7397 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
7398
7399         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
7400         and fld.
7401
7402 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
7403
7404         * fixinc/README: document the "mach" machine matching test
7405         * fixinc/fixfixes.c: Implement the #else/#endif label fix
7406         * fixinc/fixtests.c: Implement the #else/#endif label test
7407         * fixinc/inclhack.def: utilize these tests and fixes
7408         * fixinc/inclhack.sh:  regen
7409         * fixinc/fixincl.x:  regen
7410         * fixinc/fixincl.sh:  regen
7411
7412 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
7413
7414         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
7415         depend on ggc.h.
7416
7417 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
7418
7419         * gcc.1: Document exit codes.
7420
7421 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7422
7423         * calls.c: Include tm_p.h later, so everything we need is defined.
7424         * expr.c: Likewise.
7425         * function.c: Likewise.
7426
7427         * except.c: Include tm_p.h.
7428
7429         * sparc.c: Likewise.
7430         (dwarf2out_cfi_label): Don't prototype.
7431         (check_return_regs, epilogue_renumber,
7432         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
7433         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
7434         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
7435         ultra_schedule_insn): Add static prototype.
7436         (data_segment_operand, text_segment_operand): Call itself with the
7437         proper number of arguments.
7438         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
7439
7440         * sparc.h: Move all declarations to sparc-protos.h.
7441         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
7442         symbolic_operand.
7443
7444         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
7445
7446         * config/svr4.h (text_section, ctors_section, dtors_section): Add
7447         Prototypes.
7448         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
7449         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7450         ASM_OUTPUT_ASCII): Constify a char*.
7451
7452         * sparc-protos.h: New file for sparc prototypes.
7453
7454 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7455
7456         * function.c (record_insns, contains): Always declare and define.
7457         (record_insns): Mark with ATTRIBUTE_UNUSED.
7458
7459 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
7460
7461         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
7462         to .section when outputting a .bss section to deal with multiple
7463         .bss input sections (as happens with -fdata-sections)
7464         Also output %progbits, not @progbits so the assembler doesn't treat as
7465         a comment.
7466         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
7467
7468         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
7469         thumb parts even when building with non-thumb CPUs, by forcing
7470         thumb mode.
7471
7472 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
7473
7474         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
7475         (movdf_const_intreg_sp64): Similarly.
7476
7477         * local-alloc.c (update_equiv_regs): Check the correct insn
7478         for pre-existing REG_EQUIV notes.
7479
7480 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
7481
7482         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
7483         block reached by a branch if we're not going to actually process
7484         this block.
7485
7486 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
7487
7488         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
7489         a local extern function declaration.
7490
7491 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
7492
7493         * i386.c (ix86_expand_prologue): Properly wrap USE around
7494         reg for CALL_INSN_FUNCTION_USAGE.
7495
7496 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
7497
7498         * config/mips/mips.md (movdf_internal1a): Allow floating-point
7499         move between GP_REGs.
7500
7501 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
7502
7503         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
7504         the mode size when finding out if an offset is legal.
7505
7506 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
7507
7508         * basic-block.h (PROP_*): Move constants from ...
7509         * flow.c: ... here.
7510         (compute_bb_for_insn): Free the array before reallocating.
7511         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
7512         (allocate_reg_life_data): Reset all reg variables collected by
7513         propagate_block.
7514         (get_block_head_tail): Don't convert from bb to block.
7515         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
7516         (find_insn_reg_weight): Take block not bb.
7517         (schedule_block): Don't set block num for moved insns.
7518         (schedule_region): Don't update_life_info or find_insn_reg_weight.
7519         (schedule_insns): Do it here instead.
7520         * combine.c (combine_instructions): Invoke compute_bb_for_insn
7521         before update_life_info.
7522         * recog.c (split_all_insns, peephole2_optimize): Update for
7523         new arg to update_life_info.
7524         * rtlanal.c (remove_note): Cope with NULL note.
7525         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
7526         if we did sched1.
7527
7528 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
7529
7530         * jump.c (jump_optimize_1): More accurately detect casesi insns.
7531
7532         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
7533         block records so that merge_blocks_nomove will clean up correctly.
7534         (split_edge): Handle casesi insns.
7535
7536         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
7537
7538 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
7539
7540         * pa.md (call, call_value): Do not emit a blockage after restoring
7541         the PIC register.
7542
7543 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
7544
7545         * c-typeck.c (c_expand_asm_operands): Fix typo.
7546
7547 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7548
7549         * arm.c (fpu_rhs_operand): Verify modes.
7550         (fpu_add_operand): Likewise.
7551         (di_operand): Likewise.
7552         (soft_df_operand): Likewise.
7553
7554 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
7555
7556         * arm.c (arm_return_in_memory): APCS rules state that the elements
7557         of a structure returned in a register must be 'integer-like'.
7558
7559 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
7560
7561         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
7562         in the source tree when the generated targets are out of date
7563         * fixinc/genfixes: Alter it to run individual fixes for make.
7564         * fixinc/README: rewrite
7565         * fixinc/inclhack.def: moved initial comments to README
7566
7567 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
7568
7569         * toplev.c (main): Do not generate an error message if an
7570         unrecognised command line switch is recognisable by another
7571         language.  If extra_warnings are enabled, then generate a
7572         warning message instead.
7573
7574 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7575
7576         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
7577         (insert_pack_attributes): Delete prototype.
7578
7579         * c-pragma.c (default_alignment): New static variable.
7580         (push_alignment): Initialize to current effective alignment.
7581         (pop_alignment): Use to set new alignment.
7582         (insert_pack_attributes): Delete function.
7583         (handle_pragma_token): Set default_alignment as well each time
7584         a #pragma pack(<n>) is encountered.
7585
7586 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
7587
7588         * reg-stack.c (stack_result): Aggregates are not returned in
7589         stack registers.
7590
7591 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
7592
7593         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
7594
7595 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
7596
7597         * basic-block.h (set_block_num): Declare.
7598         * flow.c (update_life_info): Don't call compute_bb_for_insn
7599         or free_basic_block_vars.
7600         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
7601         (insn_orig_block): Remove.
7602         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
7603         (schedule_block): Keep BLOCK_NUM up-to-date.
7604         (schedule_insns): Use compute_bb_for_insn.
7605         * recog.c (split_all_insns): Likewise.
7606         (peephole2_optimize): Likewise.
7607
7608 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
7609
7610         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
7611         if the pic register is used.
7612
7613 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7614
7615         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
7616         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
7617         if that tests TREE_PERMANENT.
7618
7619 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
7620
7621         * cse.c (invalidate_for_call): Do not remove memory references from
7622         the table here.  It's handled elsewhere.
7623
7624         * haifa-sched.c (add_dependence): Protect references to the
7625         true dependency cache with #ifdef INSN_SCHEDULING.
7626         (remove_dependence): Similarly.
7627
7628         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
7629         to the cfg code that this is a return instruction.
7630         * mn10300.md (return_internal): Similarly.
7631
7632         * combine.c (get_last_value): If the last set of a register
7633         is after subst_low_cuid, then we can not use it to determine
7634         the register's last value.
7635
7636 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
7637
7638         * Makefile.in: Back out previous change.
7639
7640 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
7641
7642         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
7643
7644         * haifa-sched.c (add_dependence): Only check/update the cache
7645         if it exists.
7646         (remove_dependence): Likewise.
7647         (schedule_insns): Only create the true_dependency_cache if the
7648         average number of instructions in a basic block is very large.
7649
7650 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
7651
7652         * Makefile.in (ggc-common.o): Depend on genrtl.h.
7653         (ggc-simple.o): Likewise.
7654         (ggc-page.o): Likewise.
7655
7656 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
7657
7658         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
7659         Prototype for exported functions.
7660         (pre_lcm, pre_rev_lcm): Remove prototypes.
7661         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
7662         (compute_available): Move to lcm.c, and change parameter order.
7663         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
7664         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
7665         (gcse_main): No longer call compute_preds_succs.  Rebuild the
7666         set table after reach pre pass.
7667         (pre_insert_map, pre_delete_map, edge_list): New.
7668         (alloc_pre_mem): Allocate edge vectors.
7669         (free_pre_mem): Delete edge vectors.
7670         (compute_pre_data): Call new edge based lcm routines.
7671         (process_insert_insn): New function.
7672         (insert_insn_end_bb): Use it.
7673         (pre_edge_insert): New function.
7674         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
7675         needed.
7676         (pre_insert_copies): Revamp using new edge based lcm outputs.
7677         (pre_delete): Likewise.
7678         (one_pre_gcse_pass): Insert & remove fake edges to the exit
7679         block.
7680         (compute_code_hoist_vbeinout): New new edge based routines.
7681         * lcm.c: Remove all the old LCM functions.  Replace with new ones
7682         that work with the new cfg datastructures and work with edges
7683         instead of blocks.
7684
7685 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7686
7687         * reload.h (struct reload): Add new fields "mode" and "nregs".
7688         * reload1.c: Change all occurrences of reload_mode and reload_nregs
7689         to reference the "mode" and "nregs" field within struct reload.
7690
7691 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
7692
7693         * haifa-sched.c (true_dependency_cache): New.
7694         (add_dependence): Use the true dependency cache to avoid expensive
7695         walks down the LOG_LINKS dependency list.  Add entries to the
7696         cache as necessary.
7697         (remove_dependence): Remove entries from the true dependency cache
7698         as needed.
7699         (schedule_insns): Allocate and initialize and free the true
7700         dependency cache.
7701
7702         * haifa-sched.c (schedule_insns): Do not remove inter-block
7703         dependencies anymore.
7704
7705 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
7706
7707         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
7708         * i386/t-winnt: Likewise.
7709
7710 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
7711
7712         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
7713
7714 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
7715
7716         * Makefile.in (LANGUAGES): Omit "proto".
7717         (clean): Remove stale comment about removing unprotoize.c.
7718
7719 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7720
7721         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
7722         using arithmetic on void pointers.
7723
7724 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
7725
7726         * haifa-sched.c (compute_block_forward_dependencies): Only check
7727         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
7728
7729 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
7730
7731         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
7732         (expr_equiv_p): Reject memories with different alias sets.
7733
7734 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
7735
7736         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
7737         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
7738         (f_options): Add "bounded-pointers" and "bounds-check" entries.
7739         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
7740         (lang_init): Set default for flag_bounds_check if still "unspecified".
7741
7742 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7743
7744         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
7745
7746 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7747
7748         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
7749         instructions.
7750
7751 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7752
7753         * config/c4x/c4x.md (*db_noclobber,
7754         *decrement_and_branch_until_zero_noclobber): New patterns and
7755         associated splitters.
7756
7757 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7758
7759         * config/c4x/c4x.md (parallel instruction patterns): Rework
7760         constraints to keep reload happy.
7761
7762 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7763
7764         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
7765         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
7766         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
7767         Add new patterns and associated post-reload splitters.
7768
7769 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7770
7771         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
7772
7773 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7774
7775         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
7776         if appropriate.
7777         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
7778
7779 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7780
7781         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
7782         memory mode.
7783
7784 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
7785
7786         * pa.c (move_operand): Rely on memory_address_p to determine the
7787         validity of non-indexed memory addresses.
7788         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
7789         operand in DFmode and SFmode when generating PA2.0 code.
7790
7791 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
7792
7793         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
7794
7795 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
7796
7797         * mips.c (function_prologue): Fix argument types.
7798         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
7799         (casesi_internal): Write to the scratch register.
7800
7801 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
7802
7803         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
7804         to U_CHAR **.
7805         (parse_charconst): Delete unnecessary cast when calling
7806         cpp_parse_escape.
7807         (cpplib.h): Kill prototype of cpp_parse_escape.
7808
7809 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
7810
7811         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
7812         * unroll.c (unroll_loop): Cast return value of alloca.
7813         * i370/i370.c: Include function.h and toplev.h.
7814         (i370_label_scan): Remove c++ commented abort.
7815         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
7816         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
7817         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
7818         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
7819
7820 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
7821
7822         * config/t-freebsd: Do not override USER_H.
7823         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
7824
7825 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
7826                           Mumit Khan  <khan@xraylith.wisc.edu>
7827
7828         * c-parse.in (component_decl): Support anonymous struct/union.
7829         (%expect): Update.
7830         * c-parse.y: Regenerate.
7831         * c-parse.c: Likewise.
7832         * objc/objc-parse.y: Likewise.
7833         * objc/objc-parse.c: Likewise.
7834         * c-decl.c (finish_struct): Don't sort the fields.
7835         (field_decl_cmp): Delete unused function.
7836
7837 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
7838
7839         * sparc.md (movsf_const_intreg): Revert last constraint change.
7840         (movdf_const_intreg_sp32): Likewise.
7841
7842 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
7843
7844         * cse.c: Include hashtab.h instead of splay-tree.h
7845         (struct cse_reg_info): No longer use variant union.  Add new
7846         field "regno".  All references changed to avoid union.
7847         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
7848         (free_cse_reg_info): Remove.
7849         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
7850         (get_cse_reg_info): Revamp to use expandable hash tables instead
7851         of splay trees.  Initialize new fields in cse_reg_info structure.
7852         (new_basic_block): Similarly.
7853
7854 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
7855
7856         * genrecog.c (message_with_line): Prototype.
7857         (validate_pattern): Pass along the set for the dest, not a flag.
7858         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
7859         Check for PC/CC0 as sources.
7860         (nodes_identical): Check for children position match before
7861         allowing the combination.
7862
7863         * rtl.c (read_rtx): Track line number across \\\n.
7864
7865 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
7866
7867         * mips.h (SPECIAL_MODE_PREDICATES): New.
7868         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
7869         (movdi+1, movsi+1): Add output reload constraint.
7870         (casesi_internal): Likewise.  Fix commentary.
7871         (return_internal): Use pmode_register_operand.
7872
7873 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
7874
7875         * 1750a.md (movstrqi): Add missing output reload constraint.
7876         (call_value): Likewise.
7877         * a29k.md (cpxxx patterns): Add missing match_operator mode.
7878         (jmpfdec): Add missing inout reload constraint.
7879         * elxsi.md (addsi patterns): Add missing output reload constraint.
7880         (move from sp): Use @ alternates.
7881         (call_value): No constraint on output.
7882         * fr30.md (movsi_pop): Add missing output reload constraint.
7883         (movsf_constant_store): Likewise.
7884         (splits): Remove constraints.
7885         (subsi3): Add missing mode.
7886         * i370.md (cmpstrsi+1): Add missing output reload constraint.
7887         (call_value): Likewise.
7888         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
7889         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
7890         * m32r.md (movsicc_internal): Add output reload constraint.
7891         (movstrsi_internal): Add inout reload constraints.
7892         * m88k.h (reg_names): Don't declare.
7893         (SPECIAL_MODE_PREDICATES): New.
7894         * m88k.md (*): Use register_operand not reg_or_0_operand
7895         on destinations.
7896         * mn10200.h (PREDICATE_CODES): New.
7897         * ns32k.md (ffs pattern): Add output reload constraint.
7898         * pdp11.md (sob pattern): Add inout reload constraint.
7899         * sh.md (splits): Remove constraints.
7900         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
7901         * v850.md (pattern_is_ok_for_epilogue): Likewise.
7902         * vax.md (jgequ pattern): Add inout reload constraint.
7903
7904 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
7905
7906         * configure.in (djgpp): Revert previous patch.
7907         * configure: Rebuit.
7908         * config/i386/djgpp.h: Revert previous patch.
7909
7910 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
7911
7912         * fixinc/inclhack.def: Restore patch lost during last merge of
7913         "no_bogosity" branch.
7914         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
7915
7916 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
7917
7918         * fixincludes: Add a HPUX 11 fix for inttypes.h.
7919         * fixinc/inclhack.def: Same.
7920         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
7921
7922 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
7923
7924         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
7925         as the base of a PLUS.
7926
7927 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7928
7929         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
7930         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
7931
7932 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
7933
7934         * pa.md (post_stw+1): Use pmode_register_operand.
7935         (dcacheflush, icacheflush): Likewise.
7936
7937         * i386.md (movstricthi_1): Allow r/r.
7938
7939 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
7940
7941         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
7942         to (not (and (arg0) (arg1))). Similary for and.
7943
7944         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
7945         fallthrough to associate code.
7946         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
7947         bits in common.
7948
7949         * combine.c (simplify_logical): Convert XOR to IOR if operands have
7950         no bits in common; remove XOR to ROTATE conversion.
7951
7952 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7953
7954         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
7955
7956 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7957
7958         * config/c4x/c4x.c (dst_operand): New.
7959         (PREDICATE_CODES): Update.
7960         * config/c4x/c4x.h (dst_operand): Declare it.
7961         * config/c4x/c4x.md:  Define mode for each unspec usage.
7962         (move patterns):  Use dst_operand predicate instead of src_operand.
7963         (movqi_update, movqf_update): Delete.
7964
7965 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
7966
7967         * recog.c (pmode_register_operand): New.
7968         * recog.h: Declare it.
7969         * genrecog.c (pred_codes): Likewise.
7970         (special_mode_pred_table): Likewise.
7971         (validate_pattern): Don't warn no mode for address_operand.
7972
7973         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
7974         if the operand is not insn-like.
7975
7976 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
7977                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
7978
7979         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
7980
7981 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
7982
7983         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
7984         instead of general_operand in a SET_DEST.  Use const_double_operand
7985         instead of an explicit test against CONST_DOUBLE.
7986         (movsf_const_lo): Add missing register mode.
7987         (goto_handler_and_restore): Add auxiliary test for Pmode.
7988         (flush): Adjust to use address_operand.
7989         (return_sf_no_fpu): Add missing output constraint.
7990
7991 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
7992
7993         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
7994         for call return value.
7995         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
7996
7997 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
7998
7999         * toplev.c (main): Only warn about options for other languages.
8000         * collect2.c (main): Pass -w to sub-gcc.
8001
8002 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
8003
8004         * flow.c (propagate_block): Add call-clobbered registers to
8005         significant too.
8006
8007         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
8008         zapping mem_set_list.
8009         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
8010         (mark_set_1, mark_used_regs): Likewise.
8011
8012 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
8013
8014         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
8015
8016 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8017
8018         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
8019         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
8020         options. Also add a new item "C-only Warning Options" to the
8021         option summary.
8022
8023 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
8024
8025         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
8026         from multiple calls.
8027
8028 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
8029
8030         * i386.md (call value patterns): Move to the end of the file.
8031         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
8032
8033 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
8034
8035         * configure.in (djgpp configuration): Define extra_objects..
8036         * configure: Rebuilt.
8037         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
8038         (DTORS_SECTION_ASM_OP): Define.
8039         (INIT_SECTION_ASM_OP): Define.
8040         (FINI_SECTION_ASM_OP): Define.
8041         (DATA_SECTION_ASM_OP): Define.
8042         (TEXT_SECTION_ASM_OP): Define.
8043         (EH_FRAME_SECTION_ASM_OP): Define.
8044         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
8045         (STARTFILE_SPEC): Add crtbegin.o.
8046         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
8047         to here from LINK_COMMAND_SPEC.
8048         (DO_GLOBAL_CTORS_BODY): Define.
8049         (CRTSTUFF_USE_FINI_SECTION): Define
8050         (HAS_INIT_SECTION): Delete.
8051
8052 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
8053
8054         * Makefile.in (all.cross): Depend on xcpp$(exeext).
8055
8056 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
8057
8058         * pa.h (PREDICATE_CODES): New.
8059
8060         * genrecog.c (validate_pattern): Condense the destination
8061         non-lvalue message.
8062
8063 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
8064
8065         * alpha.md (call-1): Supply missing mode for operator.
8066         (*): Add missing output reload constraints.  Remove constraints
8067         from define_splits.
8068
8069         * i386.h (SPECIAL_MODE_PREDICATES): New.
8070         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
8071         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
8072         (addsi_lea_3): Add missing mode for op 3.
8073         (prologue_set_got, prologue_get_pc): Add missing modes.
8074         (*) Add missing output reload constraints.
8075
8076 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
8077
8078         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
8079         check for member bit-size overflow and use var_size if it occurs.
8080         (layout_record): Use bitsize_int() to define the type size in bits.
8081         Likewise for computation and assignment to DECL_FIELD_BITPOS.
8082         (layout_decl): Likewise when assigning to DECL_SIZE.
8083
8084 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
8085
8086         * genrecog.c (validate_pattern): Typo last change.  Verify
8087         that output operands have output reloads.
8088
8089 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
8090
8091         * genrecog.c (special_mode_pred_table): New.
8092         (NUM_SPECIAL_MODE_PREDS): New.
8093         (find_operand): New.
8094         (validate_pattern): New argument `insn'.  Warn for assignment to
8095         any predicate accepting non-lvalues.  Conditionaly warn for
8096         match_operand without a mode.  Try much harder to match source
8097         and destination modes on a set.
8098         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
8099
8100 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
8101
8102         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
8103
8104 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
8105
8106         * combine.c (simplify_logical): Recognize xor pattern that encodes
8107         rotation.
8108
8109 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8110
8111         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
8112         alignment.
8113
8114 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
8115
8116         * ggc-page.c (MAP_FAILED): Provide default.
8117
8118 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
8119
8120         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
8121         * sparc.h (PREDICATE_CODES): Update.
8122
8123 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
8124
8125         * alpha.c (some_ni_operand): New.
8126         * alpha-protos.h: Declare it.
8127         * alpha.h (PREDICATE_CODES): Update.
8128         * alpha.md (sXaddq reload insns): Use some_ni_operand
8129         for SET_DEST instead of some_operand.
8130
8131 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
8132                           Jim Wilson  <wilson@cygnus.com>
8133
8134         * genrecog.c (maybe_both_true_2): Don't compare modes of
8135         two DT_pred tests.
8136         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
8137         after find_afterward.
8138         (debug_decision_1): Dump next and afterward codes.
8139
8140 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
8141
8142         * rtl.c (dump_and_abort): Remove.
8143         (fatal_with_file_and_line): New.
8144         (fatal_expected_char): New.
8145         (read_rtx_lineno, read_rtx_filename): New.
8146         (read_skip_spaces): Track line number.
8147         (read_name): Use fatal_with_file_and_line.
8148         (read_rtx): Use fatal_expected_char.  Track line number.
8149         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
8150
8151         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
8152         if it isn't a CODE_LABEL.
8153
8154         * genattr.c (main): Set read_rtx_filename.
8155         * genattrtab.c (main): Likewise.
8156         * gencodes.c (main): Likewise.
8157         * genconfig.c (main): Likewise.
8158         * genemit.c (main): Likewise.
8159         * genextract.c (main): Likewise.
8160         * genflags.c (main): Likewise.
8161         * genopinit.c (main): Likewise.
8162         * genoutput.c (main): Likewise.
8163         * genpeep.c (main): Likewise.
8164
8165         * genrecog.c (decision_test.u.insn): Add `lineno'.
8166         (pattern_lineno, error_count): New variables.
8167         (message_with_line): New.
8168         (add_to_sequence): Break out checking code to ...
8169         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
8170         (merge_insn): Use message_with_line.
8171         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
8172         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
8173
8174 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8175
8176         * expr.c (store_constructor): Clear union if constructor is empty.
8177
8178 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
8179
8180         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
8181         Add !endian checks.  Change %{...} to %(...).
8182
8183 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
8184
8185         * i386.md (*addsi3_cc): Renamed from addcsi3.
8186         (*addsi3_carry): Renamed from addxsi3.
8187         (*subsi3_cc): Renamed from subcsi3.
8188         (*subsi3_carry): Renamed from subxsi3.
8189         (*xorqi_cc_1): Renamed from xorcqi_1.
8190         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
8191         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
8192
8193 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
8194
8195         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
8196         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
8197
8198 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
8199
8200         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
8201         climb up the chain of insns.
8202
8203 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
8204
8205         * genrecog.c (write_subroutine): Careful for null trees.
8206         (process_tree): Don't elide empty functions.
8207
8208 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
8209
8210         * Makefile.in (genrtl.o): Depend on ggc.h.
8211         * configure.in (valloc): Probe for it.
8212         (with-gc): Use ggc-page if valloc present.
8213         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
8214         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
8215         (ggc_alloc_string): Moved from ggc-page.c.
8216         * ggc-none.c (ggc_alloc_obj): New.
8217         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
8218         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
8219         (struct globals): Likewise for dev_zero_fd.
8220         (init_ggc): Likewise for it's initialization.
8221         (ggc_allocated_p): Move careful dereference from ...
8222         (ggc_lookup_page_table): ... here.  Delete.
8223         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
8224         (alloc_anon): Use valloc if no mmap.
8225         (release_pages): Use free if using valloc.
8226         (ggc_alloc_obj): Renamed from alloc_obj.
8227         (ggc_set_mark): Renamed from mark_obj.
8228         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
8229         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
8230         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
8231         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
8232         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
8233         (ggc_collect): Use fp printing instead of our own rounding.
8234         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
8235         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
8236         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
8237         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
8238         (struct ggc_string, struct ggc_any): Delete.
8239         (offsetof): Provide default definition.
8240         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
8241         (PTR_KEY): New.
8242         (struct ggc_mem): New, from corpse of ggc_any.
8243         (struct ggc_status): Delete.
8244         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
8245         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
8246         (n_strings_collected, n_anys_collected): Delete.
8247         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
8248         (ggc_alloc_string, ggc_alloc): Delete.
8249         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
8250         (ggc_free_string, ggc_free_any): Delete.
8251         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
8252         (ggc_compare_addresses, ggc_mark_string): Delete.
8253         (ggc_mark_string_if_gcable, ggc_mark): Delete.
8254         (search_data): Delete.
8255         (struct globals): New.
8256         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
8257         (tree_insert, tree_lookup): New.
8258         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
8259         (clear_marks, sweep_objs): New.
8260         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
8261         (init_ggc): Set allocated_last_gc.
8262         (ggc_push_context): Gut.  Use G.context.
8263         (ggc_pop_context): Likewise.
8264         (ggc_pop_context_1): New.
8265         (debug_ggc_tree): New.
8266         (debug_ggc_balance, tally_leaves): New.
8267         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
8268         (ggc_mark_string_if_gcable): Remove decl.
8269         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
8270         (ggc_mark_rtvec_children): New.
8271         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
8272         (ggc_mark_if_gcable): New decl.
8273         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
8274         (ggc_alloc_tree, ggc_alloc): Likewise.
8275         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
8276         (ggc_alloc_obj): New decl.
8277         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
8278         (ggc_alloc_tree, ggc_alloc): Likewise.
8279         (ggc_set_mark): New decl.
8280         * rtl.h (struct rtx_def): Remove gc_mark.
8281         (struct rtvec_def): Likewise.
8282         * tree.h (struct tree_common): Likewise.
8283
8284 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
8285
8286         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
8287         float_format and thread_file definitions.
8288         * configure: Rebuilt.
8289
8290 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
8291
8292         * extend.texi (Function Names): Document types of function names.
8293
8294 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8295
8296         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
8297         an earlyclobbered output conflict with RELOAD_INPUT reloads.
8298
8299 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8300
8301         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
8302
8303 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8304
8305         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
8306
8307 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
8308
8309         * collect2.c (main): Do prelimnary link on AIX if rflag.
8310
8311 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8312
8313         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
8314         __CTOR_LIST__ in opposite order, which is the correct order for sorted
8315         constructors.
8316         (__do_global_dtors): similarly for __DTOR_LIST__.
8317
8318 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8319                                 Diego Novillo <dnovillo@cygnus.com>
8320
8321         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
8322         FPUL_REGS.
8323
8324 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
8325
8326         * fixincl/*: Merged "no_bogosity" branch
8327         * fixincl/fixlib.h: protect against doubly defining t_bool
8328         * fixincl/server.h: protect against doubly defining t_bool
8329
8330 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
8331
8332         * genoutput.c: Include toplev.h.
8333
8334 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
8335
8336         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
8337         Undef.
8338         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
8339         * configure: Regenerate.
8340
8341 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
8342
8343         * gcse.c (delete_null_pointer_checks): Returns void.
8344
8345 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8346
8347         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
8348         * emit-rtl.c (copy_insn_1): Likewise.
8349
8350 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
8351
8352         * config/mips/mips.c (mips_build_va_list): Correct
8353         TREE_CHAIN setting when hard-float.
8354         (mips_va_start): Use corrected setting.
8355         (mips_va_arg): Likewise.  Also pass a tree to build of
8356         POSTINCREMENT_EXPR rather than a naked 'int'.
8357
8358 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
8359
8360         * ggc.h (ggc_push_context): Fix comment.
8361         (ggc_pop_context): Likewise.
8362         (mark_string_if_gcable): Likewise.
8363         * ggc-common.c (ggc_mark_rtx_children): Use
8364         ggc_mark_string_if_gcable.
8365         * ggc-page.c (ggc_lookup_page_table): New function.
8366         (ggc_allocated_p): Likewise.
8367         (mark_obj): Fix formatting.
8368         (ggc_mark_string_if_gcable): New function.
8369         * ggc-simple.c (ggc_allocated_strings): New variable.
8370         (ggc_strings_used): Likewise.
8371         (ggc_compare_addresses): New function.
8372         (ggc_pop_context): Pop the `any' memory too.
8373         (ggc_mark_string_if_gcable): New function.
8374         (ggc_collect): Initialize and tear down ggc_allocated_strings.
8375
8376 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
8377
8378         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
8379         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
8380         * rs6000.c (expand_block_move): Match movstrsi_?reg register
8381         changes.
8382
8383 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
8384
8385         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
8386         (sched_reg_live_length, sched_reg_basic_block): Delete.
8387         (current_block_num, bb_live_regs, old_live_regs): Delete.
8388         (dead_notes, struct sometimes): Delete.
8389         (sched_note_set, birthing_insn_p): Delete.
8390         (adjust_priority): Gut useless reg lifetime code.
8391         (create_reg_dead_note, attach_deaths): Delete.
8392         (attach_deaths_insn, new_sometimes_live): Delete.
8393         (finish_sometimes_live): Delete.
8394         (find_pre_sched_live, find_post_sched_live): Delete.
8395         (update_reg_usage): Delete.
8396         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
8397         (schedule_insns): Delete reg lifetime code.
8398         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
8399         (unlink_other_notes): Adjust REG_NOTE commentary.
8400         (reemit_notes): Use REG_SAVE_NOTE.
8401         (schedule_block): Likewise.
8402         (schedule_region): Allocate bitmap of blocks in region.  Use
8403         count_or_remove_death_notes.  Use update_life_info.
8404
8405         * rtl.h (REG_SAVE_NOTE): New.
8406         * rtl.c (reg_note_name): Update.
8407
8408 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
8409
8410         * combine.c (refresh_blocks, need_refresh): New.
8411         (combine_instructions): Allocate refresh_blocks.  Invoke
8412         update_life_info if needed.
8413         (distribute_notes): Mark refresh_blocks instead of installing
8414         USE insns.
8415         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
8416         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
8417
8418         * Makefile.in (recog.o): Depend on basic-block.h.
8419
8420 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
8421
8422         * genrecog.c (add_to_sequence): Thinko last change: delete
8423         shadowing allow_const_int variable.
8424
8425 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8426
8427         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
8428         __GNUC__ and __GNUC_MINOR__.
8429
8430         * gansidecl.h: Likewise.
8431
8432         * rtl.c: Likewise.
8433
8434         * rtl.h: Likewise.
8435
8436         * toplev.h: Likewise.
8437
8438         * tree.c: Likewise.
8439
8440         * tree.h: Likewise.
8441
8442         * varray.c: Likewise.
8443
8444         * varray.h: Likewise.
8445
8446 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8447
8448         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
8449         use one before a jump table.
8450
8451         * rtl.def (ADDRESS): Change documentation to match reality.
8452         * md.texi: Don't document it.
8453         * gmicro.md (load address pattern): Use 'p' constraint, delete use
8454         of ADDRESS rtx.
8455
8456         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
8457
8458 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
8459
8460         * genrecog.c (add_to_sequence): Move allow_const_int test outside
8461         known predicate block; default allow_const_int true.
8462         (debug_decision_list): New.
8463
8464 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
8465
8466         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
8467
8468 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
8469
8470         * gcse.c (gcse_main): Avoid global optimizations if we have a
8471         large number of basic blocks and the ratio of edges to blocks
8472         is high.
8473         (delete_null_pointer_checks): Likewise.
8474
8475 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
8476
8477         * c-common.c (check_format_info): Warn if format string isn't a
8478         string literal.
8479
8480 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8481
8482         * configure.in (arm*-*-*): Don't let autoconf remove brackets
8483         * configure: regenerate
8484
8485 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
8486
8487         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
8488         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
8489         (peepholes): Re-enable.
8490
8491 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
8492
8493         * Makefile.in (flow.o): Depend on TREE_H.
8494         * basic-block.h (REG_SET_EQUAL_P): New.
8495         (XOR_REG_SET): New.
8496         (n_edges): Declare.
8497         (free_regset_vector): Remove declaration.
8498         (flow_delete_insn_chain): Declare.
8499         (enum update_life_extent): New.
8500         (update_life_info, count_or_remove_death_notes): Declare.
8501         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
8502         Verify register live at bb->global_live_at_start before adding USE.
8503         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
8504         (CLEAN_ALLOCA): New.
8505         (n_edges): New.
8506         (PROP_*): New flags.
8507         (find_basic_blocks_1): Use alloc_EXPR_LIST.
8508         (clear_edges): Zero n_edges.
8509         (make_edge): Increment n_edges.
8510         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
8511         (flow_delete_insn_chain): Export.
8512         (delete_block): Decrement n_edges.
8513         (merge_blocks_nomove): Likewise.
8514         (life_analysis): Give life_analysis_1 PROP flags.
8515         (verify_wide_reg_1, verify_wide_reg): New.
8516         (verify_local_live_at_start): New.
8517         (update_life_info): Rewrite to call into propogate_block.
8518         (mark_reg): New.
8519         (mark_regs_live_at_end): After reload, if epilogue as rtl,
8520         always mark stack pointer.  Conditionally mark PIC register.
8521         After reload, mark call-saved registers, return regsiters.
8522         (life_analysis_1): Accept PROP flags not remove_dead_code.
8523         Call mark_regs_live_at_end before zeroing regs_ever_live.
8524         Use calculate_global_regs_live.  Copy global_live_at_end before
8525         calling final propagate_block.  Zero reg_next_use on exit.
8526         (calculate_global_regs_live): New.
8527         (allocate_bb_life_data): Don't allocate bb->local_set.
8528         (init_regset_vector, free_regset_vector): Remove.
8529         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
8530         Test flags before every operation.  Warn if prologue/epilogue insn
8531         would have been deleted.
8532         (mark_set_regs, mark_set_1): Accept and use FLAGS.
8533         Use alloc_EXPR_LIST.
8534         (mark_used_regs): Accept and use FLAGS, not FINAL.
8535         Remove special handling for RETURN.
8536         (try_pre_increment): Use alloc_EXPR_LIST.
8537         (dump_flow_info): Dump n_edges.
8538         (unlink_insn_chain, split_hard_reg_notes): Remove.
8539         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
8540         (find_insn_with_note, new_insn_dead_notes): Remove.
8541         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
8542         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
8543         (replace_insns): Remove.
8544         (count_or_remove_death_notes): New.
8545         (verify_flow_info): Abort on error after all checks.
8546         (remove_edge): Decrement n_edges.
8547         (remove_fake_edges): Tweek format.
8548         * haifa-sched.c (schedule_insns): Use split_all_insns.
8549         * output.h (update_life_info): Remove declaration.
8550         * recog.c (split_all_insns): From the corpse of split_block_insns,
8551         do the whole function block by block.  Use update_life_info.
8552         (recog_last_allowed_insn): New.
8553         (recog_next_insn): Mind it.
8554         (peephole2_optimize): Set it.  Walk backwards through blocks.
8555         Use update_life_info.
8556         * rtl.h (update_flow_info, replace_insns): Remove declarations.
8557         (split_all_insns): Declare.
8558         * toplev.c (rest_of_compilation): Thread prologue before flow2.
8559         Use split_all_insns.
8560
8561         * i386.md (or -1 peep2s): Disable.
8562
8563 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
8564
8565         * config/mips/mips.md (movstrsi+[123]) : Combine these into
8566         a single pattern.  Scrap the 'd' versions as unnecessary.
8567
8568         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
8569         tablejump_mips162,tablejump_internal4): The operands to a
8570         label_ref must be VOIDmode.
8571
8572 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8573
8574         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
8575
8576 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
8577
8578         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
8579
8580 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
8581
8582         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
8583         cache every function if ggc_p.
8584
8585 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8586
8587         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
8588         instead of copy_rtx.  Accept sequences that contain asm statements.
8589         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
8590         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
8591         orig_asm_operands_vector, copy_asm_operands_vector,
8592         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
8593         variables.
8594         * rtl.h (copy_insn, copy_insn_1): Declare.
8595
8596 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8597
8598         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
8599
8600         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
8601         arguments to `current_file_function_operand'.
8602
8603         * genrecog.c: Include hard-reg-set.h and resource.h in the
8604         generated output file.
8605
8606         * real.c: Include tm_p.h.
8607
8608 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8609
8610         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
8611         output operand.
8612
8613 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
8614
8615         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
8616         before the fctiwz insn.
8617
8618 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8619                           Mark Mitchell  <mark@codesourcery.com>
8620
8621         * tree.c (make_lang_type_fn): New funtion pointer.
8622         (make_lang_type): Call it.
8623         * tree.h (make_lang_type): Declare.
8624         (make_lang_type_fn): Likewise.
8625         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
8626
8627 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
8628
8629         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
8630         make sure that HIGH instructions are copied into BASE_REGS.
8631
8632 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
8633
8634         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
8635
8636 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
8637
8638         * c-decl.c (finish_struct): Use simpler method of
8639         removing elements of a singly-linked list.
8640
8641 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
8642
8643         * alpha.md (peephole2's): Comment out peephole2's that generate
8644         buggy code.
8645
8646 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
8647
8648         * genrecog.c (add_to_sequence): Disable mode check for
8649         wildcard matches.
8650
8651 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8652
8653         * ggc-simple.c (init_ggc): Set empty_string.
8654
8655 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
8656
8657         * configure.in: Detect mmap.  Add --with-gc=foo to select
8658         garbage collector; default to page if mmap available.
8659         * Makefile.in (GGC): Substitute.
8660
8661 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
8662
8663         * c-decl.c (ggc_p): Enable.
8664
8665 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8666
8667         * flow.c (verify_flow_info): Make it extern & unconditionally define.
8668
8669 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
8670
8671         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
8672         string for little-endian-data.
8673
8674 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
8675
8676         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
8677         case somebody tries to compile --enable-checking code with gcc
8678         1.34 or such.
8679
8680 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
8681
8682         * genrecog.c (add_to_sequence): Verify operand to label_ref is
8683         VOIDmode.
8684
8685 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
8686
8687         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
8688         * jump.c (jump_optimize_1): Document why.
8689
8690 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8691
8692         * collect2.c (scan_prog_file, scan_libraries): Prototype function
8693         pointers and casts for `int_handler' and `quit_handler'.
8694
8695         * flow.c (verify_flow_info, split_hard_reg_notes,
8696         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
8697         remove_edge, remove_fake_successors): Add static prototypes.
8698         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
8699         (mark_set_1): Initialize variable `regno'.
8700         (unlink_insn_chain): Likewise for variable `curr'.
8701         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
8702
8703         * loop.c (strength_reduce): Initialize variable
8704         `unrolled_insn_copies'.
8705         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
8706         prototypes.  Change these functions to take const PTR parameters
8707         to avoid prototype conflict when used as the comparson argument
8708         for qsort.
8709         (check_dbra_loop): Initialize variable `comparison_val'.
8710
8711         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
8712         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
8713         (find_valid_class): Initialize variable `best_class'.
8714         (find_reloads): Call memcpy, not bcopy.
8715
8716         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
8717         (hard_reg_use_compare): Don't needlessly cast away const.
8718         (reload_reg_class_lower): Likewise.
8719         (choose_reload_regs): Initialize variable `regno'.
8720
8721 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
8722
8723         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
8724
8725 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
8726
8727         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
8728         ({,d}discard): Add forward declarations.  Declare parameter as
8729         unused.
8730         (main_without_main): Explicitly declare return type to be int.
8731         (memcpy): Properly declare.
8732
8733         * libgcc2.c (toplevel): If inhibit_libc is defined and not
8734         building the trampoline support, declare malloc, free, and
8735         atexit.
8736         (__clear_cache): Mark arguments as potentially unused.
8737
8738         * frame.c (toplevel): If inhibit_libc is defined, declare
8739         malloc and free.
8740
8741 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
8742
8743         * flow.c (make_edge): Accept an optional 2D bitmap in which
8744         to cache edge existence.  Update all callers.
8745         (make_label_edge, make_eh_edge): Pass through the edge cache.
8746         (make_edges): Provide the cache.
8747
8748 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8749
8750         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
8751         a char*.
8752         (local_mbtowc): Change the type of variable `i' from int to size_t.
8753
8754         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
8755         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
8756
8757 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
8758
8759         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
8760         after other includes that define the appropriate types.  Include
8761         tm_p.h for getting user prototypes.
8762         * ggc-callbacks.c (toplevel): Ditto.
8763         * ggc-none.c (toplevel): Ditto.
8764         * gcc-page.c (toplevel): Ditto.
8765         * ggc-simple.c (toplevel): Ditto.
8766
8767 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
8768                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
8769
8770         * config/mips/mips.c (mips_move_2words): Split doubles if
8771         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
8772
8773 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
8774
8775         * genrecog.c (struct decision_test): New.
8776         (struct decision): Remove test-related members, sort the rest by size.
8777         (IS_SPLIT): Simplify.
8778         (new_decision, new_decision_test): New.
8779         (add_to_sequence): Use them.  No special handling for args of
8780         non-MATCH codes.
8781         (maybe_both_true): Renamed from not_both_true; return sense changed.
8782         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
8783         of maybe_both_true and adjusted for decision_test.
8784         (position_merit): Remove.
8785         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
8786         (merge_accept_insn): New, broken out of merge_trees.
8787         (merge_trees): Use them.  No special case for c_test; no node
8788         splitting; use test type instead of position_merit.
8789         (factor_tests): New.
8790         (simplify_tests): New.
8791         (break_out_subroutines): Don't write code now.
8792         (find_afterward): New.
8793         (write_afterward, write_switch, write_cond): New.
8794         (write_action, is_unconditional): New.
8795         (write_node): New.  Use them.
8796         (write_tree_1): Rewrite.  Use the new functions above.
8797         (write_tree): Remove afterward processing.
8798         (write_subroutine): Simplify function variant emission.
8799         (write_subroutines): New.
8800         (same_codes, clear_codes): Remove.
8801         (same_modes, clear_modes): Remove.
8802         (write_header): New, broken out of main.
8803         (make_insn_sequence): Use new_decision and new_decision_test.
8804         (process_tree): New, broken out of main.
8805         (main): Adjust for merge_trees interface change.
8806         Don't #define operands in the output file.
8807         (record_insn_name): New, broken out of make_insn_sequence.
8808         (debug_decision_2, debug_decision_1, debug_decision_0): New.
8809         (debug_decision): New.
8810
8811 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
8812
8813         * resource.c (find_free_register): Mark class_str argument const.
8814         * resource.h: Update prototype to match.
8815
8816         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
8817         * i386.md: Give all anonymous insns names.
8818
8819 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
8820
8821         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
8822         blocks.
8823
8824 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
8825
8826         * toplev.c (dbr_sched_time): Unconditional.
8827         (peephole2_time): New.
8828         (compile_file): Add pass numbers to all of the dump file suffixes.
8829         Dump peephole2_time.  Don't dump times for non-applicable passes.
8830         (rest_of_compilation): Add pass numbers to dump file suffixes.
8831         Conditionalize calls to the scheduler.
8832         * invoke.texi: Update.
8833
8834 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
8835
8836         * flow.c (make_edges): Fix insn iteration.
8837         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
8838         (find_basic_blocks_1): Fix spelling mistake.
8839
8840 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
8841
8842         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
8843         always have side-effects.  Use memset not bzero.
8844         (make_node): Likewise.
8845
8846 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
8847
8848         * stmt.c (expand_anon_union_decl): When any of the elements of the
8849         union is addressable, so is the entire union.
8850
8851 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
8852
8853         * sbitmap.c (sbitmap_ones): Don't set too many bits.
8854
8855         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
8856         * bitmap.c (bitmap_operation): Return true iff TO changed.
8857         (bitmap_equal_p): New.
8858         (bitmap_bit_p): Tidy arithmetic.
8859         (debug_bitmap_file): Likewise.
8860
8861 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
8862
8863         * toplev.c (rest_of_compilation): Turn on cse_not_expected
8864         before cse2 instead of after.
8865
8866 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
8867
8868         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
8869         register offsets.
8870
8871 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8872
8873         * cppinit.c (is_idchar initializer): Loosen tests to accept
8874         gcc 2.>6 and >2.
8875
8876 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
8877
8878         * mips.md: Define conditional move patterns for floating point
8879         operands and DI mode conditions.
8880
8881 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
8882
8883         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
8884         always have side-effects.
8885
8886 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
8887
8888         * mn10200.c (asm_file_start): Fix typo.
8889
8890         * cppinit.c (is_idchar initializer): Tighten tests for when
8891         to put the table into initialized memory.
8892
8893         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
8894         not an array of rtunion.
8895         * gcc-page.c (ggc_alloc_rtvec): Similarly.
8896         * gcc-simple (ggc_free_rtvec): Similarly.
8897
8898         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
8899         of rtunions.
8900
8901         * mbchar.h: Add missing #endif.
8902
8903         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
8904         (FPBIT, DPBIT): Define.
8905
8906 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8907
8908         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
8909
8910         * profile.c (instrument_arcs, output_gcov_string,
8911         tablejump_entry_p): Add static prototypes.
8912         (output_gcov_string): Constify a char*.
8913
8914         * regmove.c (replacement_quality, fixup_match_2): Add static
8915         prototypes.
8916
8917         * resource.h (reg_dead_p): Add extern prototype.
8918
8919         * rtl.c (trim_filename): Add static prototype.
8920
8921         * scan-decls.c (skip_to_closing_brace): Likewise.
8922
8923         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
8924         (expand_end_case): Initialize variable `range'.
8925         (emit_case_nodes): Remove unused prototype `rtx_fn'.
8926
8927         * varasm.c (asm_emit_uninitialised): Add static prototype.
8928         (asm_emit_uninitialised, assemble_variable): Mark parameter with
8929         ATTRIBUTE_UNUSED.
8930
8931 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8932
8933         * cpplib.c (if_directive_nameo): Add static prototype.
8934
8935         * cse.c (cse_insn): Remove unused variable `p'.
8936
8937         * except.c (create_rethrow_ref, push_entry,
8938         receive_exception_label, new_eh_region_entry, find_func_region,
8939         clear_function_eh_region, process_nestinfo): Add static prototypes.
8940         (get_reg_for_handler): Hide definition.
8941         (process_nestinfo): Initialize variable `extra_handlers'.
8942
8943         * expr.h (expand_builtin_longjmp): Add extern prototype.
8944
8945         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
8946
8947         * function.c (prepare_function_start): Likewise.
8948         (pop_function_context_from): Mark parameter `context' with
8949         ATTRIBUTE_UNUSED.
8950         (push_temp_slots_for_block, flush_addressof): Hide definition.
8951
8952         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
8953         solve_program_flow_graph, calculate_branch_probs,
8954         function_summary, main, fancy_abort): Add prototypes.
8955
8956         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
8957         (add_hash): Constify a char*.
8958
8959         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
8960         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
8961         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
8962
8963         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
8964
8965         * lists.c (free_list, zap_lists): Likewise.
8966
8967 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8968
8969         * alias.c (nonlocal_reference_p): Add static prototype.
8970
8971         * bitmap.c (bitmap_element_allocate): Prototype args in function
8972         pointer cast.
8973
8974         * builtins.c (stabilize_va_list): Add static prototype.
8975         (expand_builtin_va_arg): Constify a char*.
8976
8977         * c-lex.c (getch, put_back, extend_token_buffer_to,
8978         read_line_number, token_getch, token_put_back): Add static
8979         prototypes.
8980
8981         * c-parse.gperf (hash, is_reserved_word): Likewise.
8982
8983         * cccp.c (is_dir_separator): Likewise.
8984
8985 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8986
8987         * graph.h: New file to prototype functions exported by graph.c.
8988
8989         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
8990
8991         * graph.c: Include graph.h.
8992
8993         * toplev.c: Likewise.  Remove redundant prototypes.
8994
8995 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
8996
8997         * invoke.texi: Removed duplicated description for -Q.
8998
8999 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
9000
9001         * extend.texi: Grammar fix in __extension__ text.
9002
9003 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
9004
9005         * md.texi (define_peephole2): New section.
9006
9007 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
9008
9009         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
9010         (mov $-1 to or peepholer): Enable for pentium when optimizing for
9011         speed.
9012
9013 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
9014
9015         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
9016
9017 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
9018
9019         * i386.md (ffs expander): Emit Pentium friendly code for
9020         TARGET_PENTIUM.
9021
9022 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
9023
9024         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
9025         for non-trees.
9026         (build1): Likewise.
9027
9028 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9029
9030         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
9031
9032 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
9033
9034         * config/m68k/m68k.c (use_return_insn): Return false if the pic
9035         register is in use.
9036
9037 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9038
9039         * md.texi (No Constraints): Delete section.
9040         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
9041         * final.c (final_scan_insn): We always have register constraints.
9042         * genattrtab.c: Don't include "insn-config.h".
9043         (write_attr_case): We always have register constraints.
9044         * genconfig.c (register_constraint_flag): Delete.
9045         (walk_insn_part): Don't check whether we have register constraints.
9046         (main): Don't write out "#define REGISTER_CONSTRAINTS".
9047         * genoutput.c (have_constraints): Delete.
9048         (main): Don't set it.
9049         (output_operand_data): We always have constraints.
9050         (scan_operands): Likewise.
9051         (compare_operands): Likewise.
9052         * local-alloc.c (block_alloc): We always have constraints.
9053         (requires_inout): Always compile this function.
9054         * recog.c (extract_insn): We always have constraints.
9055         (constrain_operands, reg_fits_class_p): Always compile these
9056         functions.
9057         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
9058         fields.
9059         (struct insn_operand_data): Likewise.
9060         * regclass.c (regclass): We always have constraints.
9061         (record_reg_classes, copy_cost, record_address_regs,
9062         auto_inc_dec_reg_p): Always compile these functions.
9063         * regmove.c (regmove_optimize): We always have constraints.
9064         * reload.c (find_reloads): Likewise.
9065         * reload1.c (reload): Likewise.
9066         (reload_cse_simplify_operands): Likewise.
9067         * i860.c (output_delay_insn): Likewise.
9068
9069 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
9070
9071         * iris6.h (BUILD_VA_LIST_TYPE): Define.
9072
9073 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9074
9075         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
9076         for the va_list record.
9077
9078 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
9079
9080         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
9081         prologues.
9082
9083 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
9084
9085         * alias.c: Include insn-flags.h.
9086         * Makefile.in (alias.o): Update.
9087
9088 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
9089
9090         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
9091         to LTU and GEU.  Handle more cases using sbb.
9092
9093 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
9094
9095         * i386.md (truncatexfdf splitters): Do not use subreg.
9096         (fop XFmode patterns): Fix mode in operand testing.
9097
9098 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
9099
9100         * jump.c (jump_optimize_1): Amend last change to test only the
9101         form of the operand, not the insn.
9102
9103         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
9104         not register_operand to determine when B may need preloading.
9105
9106 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
9107
9108         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
9109         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
9110         (call-value patterns): Move to end of file.
9111         (*): Remove mode from label_ref in (pc) context.
9112         (movstrqi): Use memory not general_operand for BLKmode operands.
9113         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
9114         to register_operand operands.
9115         (peep2 patterns): Convert from commented-out peephole patterns.
9116
9117 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9118
9119         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
9120         to BUILT_IN_INIT_DWARF_REG_SIZES.
9121         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
9122         Renamed from BUILT_IN_DWARF_REG_SIZE; call
9123         expand_builtin_init_dwarf_reg_sizes.
9124         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
9125         with __builtin_init_dwarf_reg_size_table.
9126         * dwarf2out.c (struct reg_size_range): Delete.
9127         (expand_builtin_init_dwarf_reg_sizes): New function.
9128         (expand_builtin_dwarf_reg_size): Delete.
9129         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
9130         (expand_builtin_dwarf_reg_size): Don't declare.
9131         * libgcc2.c (dwarf_reg_size_table_initialized): New.
9132         (dwarf_reg_size_table): New.
9133         (init_reg_size_table): New function.
9134         (copy_reg): Use dwarf_reg_size_table.
9135         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
9136         before use.
9137
9138 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
9139
9140         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
9141         Correctly build argument list to constructor and destructor functions.
9142
9143 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
9144
9145         * c-tree.h (warn_float_equal): Declare.
9146         * c-decl.c (warn_float_equal): Define.
9147         (c_decode_option): Recognize -W[no-]float-equal.
9148         * c-typeck.c (build_binary_op): Conditionally warn
9149         about equality tests of floating point types.
9150         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
9151         * invoke.texi: Add docs for -Wfloat-equal warning.
9152
9153 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
9154
9155         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
9156         generating RTL directly.
9157         * mips.h (INIT_TARGET_OPTABS): Likewise.
9158         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
9159
9160         * expr.h (init_mov_optab): Delete declaration
9161
9162         * h8300.c (WORD_REG_USED): Update to avoid useless register
9163         saves in interrupt functions and functions which never return.
9164
9165         * cse.c (struct set): Delete inner_dest_loc field.
9166         (cse_insn): Remove assignments to inner_dest_loc field.
9167
9168 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
9169
9170         * ggc-page.c: Don't include <unistd.h> etc taken care of
9171         by "system.h".  Include <sys/mman.h> afterward.
9172
9173 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
9174
9175         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
9176         ggc_alloc_string.
9177
9178 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
9179
9180         * xcoffout.c (xcoffout_declare_function): Add documentation.
9181         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
9182         TARGET_64BIT.  Compare constant to -1, not bit pattern.
9183         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
9184         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
9185         gen_movsi typos.
9186
9187 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
9188
9189         * dwarf2out.c (add_abstract_origin_attribute): Abort if
9190         origin_die is NULL.
9191         (gen_inlined_enumeration_type_die): Do not abort if the type has
9192         not been writeen out.
9193         (gen_inlined_structure_type_die): Do not abort if the type has
9194         not been writeen out.
9195         (gen_inlined_union_type_die): Do not abort if the type has
9196         not been writeen out.
9197         (gen_tagged_type_instantiation_die): Do not abort if the type
9198         has not been written out.
9199
9200 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9201
9202         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
9203         call it.
9204         * reg-stack.c (straighten_stack): Copy hard reg set with
9205         COPY_HARD_REG_SET.
9206
9207 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
9208
9209         * builtins.c (stabilize_va_list): Stabilize array type va_list
9210         to a pointer type, not the base record type.
9211         (expand_builtin_va_copy): Dereference the pointers explicitly;
9212         use the correct size for the copy.
9213
9214         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
9215         (rs6000_va_arg): Likewise.
9216
9217 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
9218
9219         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
9220
9221 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
9222
9223         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
9224         field.
9225         (DECL_BUILT_IN_CLASS): Adjust accordingly.
9226
9227 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
9228
9229         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
9230         (init_ggc): Use it instead of a constant.
9231         (ggc_collect): Bound allocated_last_gc by it.
9232
9233 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
9234
9235         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
9236         with va_list.
9237
9238 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
9239
9240         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
9241         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
9242         * configure:  Regen.
9243         * config/mips/openbsd.h:  New, OpenBSD little endian target.
9244         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
9245         * config/mips/xm-openbsd.h:  New, OpenBSD host.
9246
9247 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
9248
9249         * config/m68k/m68k.c (output_function_prologue,
9250         output_function_epilogue): Use
9251         current_function_uses_pic_offset_table instead of regs_ever_live
9252         to decide whether to save/restore pic register.
9253         (legitimize_pic_address): Don't modify regs_ever_live any more.
9254
9255 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
9256
9257         * function.h (struct function): Add x_dont_save_pending_sizes_p.
9258         * stor-layout.c (variable_size): Don't add sizes to the pending
9259         sizes list if x_dont_save_pending_sizes_p is set.
9260
9261 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
9262
9263         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
9264         for symbolic_operand().
9265         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
9266
9267 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9268
9269         * combine.c (gen_rtx_combine): Add missing call to va_end().
9270
9271         * final.c (asm_fprintf): Likewise.
9272
9273         * genattrtab.c (attr_rtx): Likewise.
9274
9275 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
9276
9277         * cse.c: Update comments.
9278         (cse_insn): When converting a conditional/computed jump into
9279         an unconditional jump, always make sure a BARRIER immediately
9280         follows the converted jump.  Do not delete unreachable code.
9281         (cse_basic_block): Do not delete unreachable code.
9282         * toplev.c (rest_of_compilation): Move call to
9283         delete_trivially_dead_insns after the conditional call to
9284         jump_optimize.
9285
9286 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9287
9288         * collect2.c (make_temp_file): Don't prototype.
9289
9290         * gcc.c (make_temp_file): Likewise.
9291
9292         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
9293
9294 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
9295
9296         * varasm.c (asm_emit_uninitialised): New function: Generate
9297         the assembler statements necessary to declare an uninitialised
9298         variable.
9299         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
9300         variable.
9301         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
9302         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
9303         section.
9304         (assemble_variable): Use asm_emit_uninitialised to emit an
9305         uninitialised variable.
9306
9307 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
9308
9309         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
9310         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
9311         <geoffk@cygnus.com>.
9312
9313 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9314
9315         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
9316         * c-common.h (builtin_function): Don't declare.
9317
9318         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
9319         DECL_BUILT_IN.
9320         (pushdecl): Likewise.
9321         (finish_decl): Likewise.
9322         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
9323         int.  All callers changed.
9324         Set the builtin's DECL_BUILT_IN_CLASS.
9325         * tree.h (enum built_in_class): New.
9326         (enum built_in_function): Delete NOT_BUILT_IN.
9327         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
9328         in a union.
9329         (DECL_SET_FUNCTION_CODE): Likewise.
9330         (DECL_BUILT_IN_CLASS): New macro.
9331         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
9332         (struct tree_decl): Split builtin function code field into a
9333         struct.
9334         (builtin_function): Declare.
9335
9336 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
9337
9338         * optabs.c (init_traps): Fix typo in last change.
9339
9340 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
9341
9342         * toplev.c (rest_of_decl_compilation): Update comment.
9343
9344 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
9345
9346         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
9347         in .sbss if appropriate.
9348         (EXTRA_SECTION_FUNCTIONS): Add sbss.
9349         (SBSS_SECTION_ASM_OP): New macro.
9350         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
9351         (EXTRA_SECTIONS): Add in_sbss.
9352         * config/mips/mips.h: Prototype sbss_section.
9353
9354 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
9355
9356         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
9357         to disappear.
9358
9359 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
9360
9361         * optabs.c (init_traps): Register trap_rtx as a GC root.
9362
9363 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9364
9365         * config/mips/mips.c (function_arg_pass_by_reference): Define
9366         unconditionally, since it's called unconditionally.
9367
9368 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
9369
9370         * toplev.c (documented_lang_options): Add -fshort-wchar.
9371         * c-decl.c (c_decode_option): Likewise.
9372         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
9373         for wchar_t.
9374         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
9375         * gcc.c (default_compilers): If -fshort-wchar,
9376         override __WCHAR_TYPE__.
9377         * tm.texi (C Dialect Options): Add -fshort-wchar.
9378
9379         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
9380         symbol for a variable.
9381
9382         * cpplib.h (CPP_PREPROCESSED): New macro.
9383         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
9384         we're seeing this input for a second time.
9385
9386 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
9387
9388         * emit-rtl.c (init_emit_once): Initialize modes first.
9389
9390 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
9391
9392         * config/i386/i386.c (pic_label_name): Change to char pointer.
9393         (global_offset_table): New variable.
9394         (load_pic_register): Fill global_offset_table if it hasn't
9395         already been done.  Allocate pic_label_name dynamically.
9396         * ggc.h (empty_string): New variable.
9397         * ggc-simple.c (empty_string): Likewise.
9398         (init_ggc): Allocate empty_string and add as root.
9399         * stmt.c (digit_strings): New variable.
9400         (init_stmt): Add last_block_end_note as root.  Allocate and
9401         initialize digit_strings.
9402         (expand_asm_operands): Use empty_string instead of string
9403         constant.  Use digit_strings instead of string constants.
9404         * profile.c (init_arc_profiler): Allocate string with
9405         ggc_alloc_string instead of xmalloc.
9406         (output_func_start_profiler): Likewise.
9407         * c-typeck.c (digest_init): Check if init is error_mark_node.
9408
9409 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
9410                           Richard Henderson  <rth@cygnus.com>
9411
9412         * ggc-page.c: New file.
9413         * Makefile.in (ggc-page.o): New.
9414
9415 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
9416
9417         * invoke.texi: Document -fdelete-null-pointer-checks
9418         * toplev.c (flag_delete_null_pointer_checks): New.
9419         (f_options): Add entry for -fdelete-null-pointer-checks.
9420         (rest_of_compilation): Conditionalize null pointer check
9421         elimination on flag_delete_null_pointer_checks.
9422         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
9423
9424 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
9425
9426         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
9427         copyright notice and special exception to GPL.
9428
9429 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9430
9431         * abi64.h (mips_function_value): Add prototype arguments.
9432
9433         * mips-protos.h: New file with mips prototypes.
9434
9435         * mips.c: Include "tm_p.h".
9436         (mktemp, lookup_name): Add prototype arguments.
9437         (extern_list, string_constant, mips_fill_delay_slot,
9438         mips_output_external, mips_output_external_libcall,
9439         mips_output_filename, mips_declare_object, function_prologue,
9440         mips_expand_prologue, function_epilogue, mips16_constant,
9441         build_mips16_function_stub, mips_output_conditional_branch):
9442         Constify a char*.
9443         (mips_va_start): Remove unused variable `u'.
9444         (mips_va_arg): Cast value to unsigned when comparing against one.
9445         (trace): Delete.
9446         (save_restore_insns, mips_expand_prologue): Add missing arg in
9447         call to `large_int'.
9448
9449         * mips.h: Move prototypes to mips-protos.h.
9450         (data_section, memory_address_p, rdata_section,
9451         readonly_data_section, simple_epilogue_p, text_section): Delete
9452         prototypes delcared elsewhere.
9453         (mips_epilogue_delay_slots, print_options): Delete unused decls.
9454         (trace): Delete.
9455         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
9456
9457         * mips.md: Delete extra args in call to `mips_move_2words'.
9458
9459         * xm-iris6.h (alloca): Add prototype argument.
9460
9461         * genpeep.c: Include "tm_p.h" in generated output file.
9462
9463 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9464
9465         * basic-block.h (find_edge_index): Change parameters.
9466         * flow.c (verify_edge_list): Pass basic_block parameters to
9467         find_edge_index instead of integers.
9468
9469 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
9470
9471         * combine.c (simplify_comparison): Use an unsigned shift to adjust
9472         the constant.
9473
9474 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
9475
9476         * gcc.1: Fix a formatting error.
9477
9478 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9479
9480         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
9481         i786, mn10200, mn10300, pdp11, v850.
9482
9483 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
9484
9485         * libgcc2.c (num_digits): Add prototype with
9486         __attribute__((const)).
9487         (__terminate): Add prototype.
9488
9489 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
9490
9491         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
9492
9493         * alpha/alpha.c (print_operand): Fix type of `code'.
9494         (alpha_output_filename): Constify.
9495         * alpha/alpha.h: Move all function declarations ...
9496         * alpha/alpha-protos.h: ... here.  New file.
9497         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
9498         (SECTION_FUNCTION_TEMPLATE): Likewise.
9499
9500 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9501
9502         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
9503         * expr.c (expand_expr): Likewise.
9504         (do_jump): Likewise.
9505         (do_store_flag): Pass ccp_store_flag to can_compare_p.
9506         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
9507         accessor macros.
9508         (enum can_compare_purpose): New.
9509         (can_compare_p): Adjust prototype.
9510         (prepare_cmp_insn, prepare_operand): Declare.
9511         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
9512         * optabs.c (cmp_available_p): Deleted.
9513         (expand_abs): Pass ccp_jump to can_compare_p.
9514         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
9515         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
9516         Call can_compare_p rather than cmp_available_p.
9517         (prepare_operand): No longer static.
9518         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
9519         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
9520         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
9521         sequence to use emit_cmp_and_jump_insns.
9522         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
9523
9524 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
9525
9526         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
9527         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
9528         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
9529         (plus (reg) (const_int 0))
9530         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
9531
9532 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
9533
9534         * rs6000.c (expand_block_move): DImode loads and stores require
9535         word-aligned displacements.  Increment address registers with
9536         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
9537
9538 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
9539
9540         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
9541         is no name for the base type, rather than segfault.  If we are
9542         writing out a complex integer type, use DW_ATE_lo_user.
9543
9544         * expr.c (emit_move_insn_1): If we are copying a complex that fits
9545         in one word or less (complex char, complex short, or on 64 bit
9546         systems complex float) to/from a hard register, copy it through
9547         memory instead of dying in gen_{real,imag}part.  If we have a
9548         short complex type, prevent inlining since it allocates stack
9549         memory.
9550
9551         * tree.c (build_complex_type): If we are writing dwarf2 output,
9552         generate a name for complex integer types.
9553
9554 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9555
9556         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
9557         * flow.c (remove_edge): Remove extra whitespace.
9558         (remove_fake_edges): Fix comment.
9559         (add_noreturn_fake_exit_edges): Use the correct name.
9560
9561 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
9562
9563         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
9564         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
9565         (clean): Depend on INTL_CLEAN.
9566         (maintainer-clean): Adjust.
9567
9568 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9569
9570         * configure.in (AC_PREREQ): Bump to 2.13.
9571         (AC_C_STRINGIZE): Call this instead of using a custom macro.
9572
9573         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
9574
9575         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
9576
9577         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
9578
9579         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
9580         (HAVE_STRINGIZE): Define.
9581
9582 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
9583
9584         * c-parse.in: save and restore warn_pointer_arith on __extension__
9585         along with pedantic.
9586         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
9587         Set the type of extension to itype rather than $<itype>1 kludge.
9588         * extend.texi (Alternate Keywords): Adjust documentation.
9589         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
9590
9591 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
9592
9593         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
9594         most assembler templates.
9595
9596         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
9597         FP loads and stores.
9598         (following_call): Always return zero for the PA8000.
9599         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
9600         FP loads and stores.
9601         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
9602
9603         * pa.h (BRANCH_COST): Define.
9604
9605         * pa.md (return, return_internal): Use bve for PA2.0.
9606
9607         * pa.md (fused multiply): Add variants which reduce height for the
9608         fused multiply, but which still generate 2 insns.
9609         (fnegabs): Similarly.
9610
9611         * pa.md (subsi3): Turn into an expander.  Create two anonymous
9612         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
9613         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
9614
9615         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
9616         for TARGET_PA_20.
9617         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
9618         code generation.
9619         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
9620         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
9621
9622         * regclass.c (init_regs): Add "top_of_stack" as a garbage
9623         collection root.
9624
9625         * flow.c (record_active_eh_regions): Terminate loop after finding
9626         the last insn in the last basic block.
9627
9628 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9629
9630         * config/c4x/c4x.md: Delete parallel instruction peepholes.
9631
9632 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9633
9634         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
9635
9636 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9637
9638         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
9639         splitting to not use output template.
9640
9641 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9642
9643         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
9644         * config/c4x/c4x.c (c4x_va_start): New function.
9645
9646 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
9647
9648         * genrecog.c (not_both_true): Handle correctly cases when called for
9649         tests with different positions in the insn.
9650
9651 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9652
9653         * machmode.h (HOST_PTR_PRINTF): Move from here ...
9654
9655         * system.h (HOST_PTR_PRINTF): ... to here.
9656
9657         * mips-tfile.c: Don't include machmode.h.
9658
9659         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
9660         (mips-tfile.o): Don't depend on machmode.h.
9661
9662 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9663
9664         * haifa-sched.c (sched_analyze): Rename local variable `region' to
9665         avoid conflicts with typedef struct `region' at the top level scope.
9666
9667 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
9668
9669         * basic-block.h (basic_block): Add eh_beg, eh_end.
9670         * flow.c (entry_exit_blocks): Update.
9671         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
9672         Call new functions.
9673         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
9674         lists.c functions to allocate insn lists.
9675         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
9676         edge creation ...
9677         (make_eh_edge): ... here.  New.
9678         (move_stray_eh_region_notes): New.
9679         (record_active_eh_regions): New.
9680         (delete_unreachable_blocks): Split out block merging ...
9681         (try_merge_blocks): ... here.  New.
9682         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
9683         Dump debugging data.
9684         (merge_blocks_move_successor_nojumps): Likewise.
9685         (merge_blocks): Use eh_beg+eh_end to validate block movement.
9686
9687 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9688
9689         * extend.texi (Bound member functions): Document unbound pmf
9690         conversion.
9691
9692 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9693
9694         * flow.c (split_edge): Handle insertion on a fallthrough edge which
9695         has the EXIT_BLOCK as a dest.
9696
9697 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9698
9699         * flow.c (remove_edge): New function to remove an edge from the
9700         flow graph.
9701         (remove_fake_successors): New function to remove fake successor edges.
9702         (remove_fake_edges): New function to remove all fake edges from the
9703         flow graph.
9704         (add_fake_exit_edges): New function to add fake edges from all blocks
9705         with no successors to the exit block.
9706         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
9707         prototypes for new functions.
9708
9709 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9710
9711         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
9712         Use Pmode to determine whether to output .dword or .word.
9713
9714 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
9715
9716         * tree.c (built_in_filename): New variable.
9717         (BUILT_IN_FILENAME): New macro.
9718         (init_tree_codes): Allocate built_in_filename.
9719         (make_node): Use built_in_filename instead of string constant.
9720
9721 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
9722
9723         * configure.in: Add fr30 target.
9724         * configure: Regenerate.
9725         * config/fr30: New directory.
9726         * config/fr30/crti.asm: New file.
9727         * config/fr30/fr30.c: New file.
9728         * config/fr30/crtn.asm: New file.
9729         * config/fr30/fr30.h: New file.
9730         * config/fr30/fr30.md: New file.
9731         * config/fr30/lib1funcs.asm: New file.
9732         * config/fr30/t-fr30: New file.
9733         * config/fr30/xm-fr30.h: New file.
9734
9735 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
9736
9737         * flow.c (merge_blocks_move_successor_nojumps): Delete the
9738         BARRIER at the end of the successor, not the BARRIER before
9739         the successor.
9740
9741         * pa.c (pa_add_gc_roots): Fix thinko in last change.
9742
9743 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
9744
9745         * stmt.c (any_pending_cleanups): Don't crash when
9746         current_function->stmt is unset.
9747
9748 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9749
9750         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
9751         other initializations that may use it for relative offsets.
9752
9753 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9754
9755         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
9756         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
9757         * config/i386/sol2dbg.h: Removed.
9758         * config/i386/sol2gas.h: New file, to enable gas work-around.
9759         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
9760         Don't use sol2dbg.h.
9761         * configure: Rebuilt.
9762
9763 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
9764
9765         * invoke.texi (-fthis-is-variable): Remove documentation.
9766
9767 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
9768
9769         * basic-block.h (compute_bb_for_insn): Declare.
9770         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
9771         to use; set size of basic_block_for_insn directly.
9772         (find_basic_blocks): Update.
9773
9774 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9775
9776         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
9777
9778 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9779
9780         * crtstuff.c (ON_EXIT): Delete empty macro definition.
9781         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
9782
9783 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
9784
9785         * c-decl.c (c_decode_option): Extend comment.
9786
9787 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
9788
9789         * toplev.c (progname): Make 'const char *'
9790         (flag_print_mem): Move out of main.
9791         (version_flag): Move out of main.
9792         (filename): Move out of main.
9793         (debug_args): Remove g prefix from options.
9794         (documented_lang_options): Remove cpplib specific options.
9795         (display_help): Add g prefix to debug options.
9796         (check_lang_option): Delete this function.
9797         (decode_d_option): New function: Decode -d... option.
9798         (decode_f_option): New function: Decode -f... option.
9799         (decode_W_option): New function: Decode -W... option.
9800         (decode_g_option): New function: Decode -g... option.
9801         (independent_decode_option): New function: Decode a language
9802         independent command line option.
9803         (main): Invoke lang_decode_option and then
9804         independent_decode_option on each command line option in
9805         turn.
9806
9807 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
9808
9809         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
9810          * fold-const.c (fold_range_test): Do not try to fold the range
9811          test if the rhs or lhs has side effects.
9812
9813         * basic-block.h (compute_flow_dominators): Declare.
9814
9815         * gcse.c (alloc_code_hoist_mem): New function.
9816         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
9817         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
9818         (hoist_code, one_code_hoisting_pass): Likewise.
9819         (gcse_main): If optimizing for size, then hoist expressions
9820         computed in multiple dominated basic blocks.
9821
9822         * gcse.c (invalid_nonnull_info): New function.
9823         (delete_null_pointer_checks): Likewise.
9824         * rtl.h (delete_null_pointer_checks): Declare.
9825         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
9826
9827         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
9828         (merge-blocks_move_successor_nojumps): Likewise.
9829         (merge_blocks): Allow merging of some blocks, even if it requires
9830         physical movement of the blocks, but not if it requires new jumps.
9831
9832         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
9833         Callers and prototype changed.
9834         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
9835
9836 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9837
9838         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
9839         -YP when both -p and -pg are present.  From i386/sol2.h.
9840
9841 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9842
9843         * Makefile.in (distclean): Delete tm_p.h.
9844         * configure.in: Create a new file, "tm_p.h", from a list in
9845         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
9846         "i386/i386-protos.h".
9847
9848         * alias.c: Include "tm_p.h".
9849         * c-typeck.c: Likewise.
9850         * calls.c: Likewise.
9851         * cse.c: Likewise.
9852         * emit-rtl.c: Likewise.
9853         * explow.c: Likewise.
9854         * expmed.c: Likewise.
9855         * expr.c: Likewise.
9856         * final.c: Likewise.
9857         * flow.c: Likewise.
9858         * fold-const.c: Likewise.
9859         * function.c: Likewise.
9860         * gcse.c: Likewise.
9861         * global.c: Likewise.
9862         * haifa-sched.c: Likewise.
9863         * integrate.c: Likewise.
9864         * jump.c: Likewise.
9865         * local-alloc.c: Likewise.
9866         * loop.c: Likewise.
9867         * optabs.c: Likewise.
9868         * recog.c: Likewise.
9869         * reg-stack.c: Likewise.
9870         * regclass.c: Likewise.
9871         * regmove.c: Likewise.
9872         * reload.c: Likewise.
9873         * reload1.c: Likewise.
9874         * reorg.c: Likewise.
9875         * resource.c: Likewise.
9876         * stmt.c: Likewise.
9877         * stor-layout.c: Likewise.
9878         * toplev.c: Likewise.
9879         * tree.c: Likewise.
9880         * unroll.c: Likewise.
9881         * genattrtab.c (main): Make generated file include "tm_p.h".
9882         * genemit.c (main): Likewise.
9883         * genoutput.c (main): Likewise.
9884         * genrecog.c (main): Likewise.
9885
9886         * i386.h: Delete all prototypes.
9887         * i386.c: Include "tm_p.h".
9888         (ix86_attr_length_default): Call constant_call_address_operand
9889         with correct number of arguments.
9890         * i386-protos.h: New file.
9891         * i386.md (unnamed patterns): Call constant_call_address_operand
9892         with correct number of arguments.
9893         (exception_receiver): Call load_pic_register with correct number
9894         of arguments.
9895
9896 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
9897
9898         * c-pragma.c (mark_align_stack): Dereference the void* properly.
9899
9900 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
9901
9902         * rtl.h (insns_safe_to_move_p): New function.
9903         * loop.c (find_and_verify_loops): Use it.
9904         * rtlanal.c (insns_safe_to_move_p): Define it.
9905
9906 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
9907
9908         * c-pragma.c: Include ggc.h.
9909         * Makefile.in (c-pragma.o): Update.
9910
9911 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9912
9913         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
9914         (LIB_SPEC): Likewise.
9915         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
9916         Reindent -YP/-p/-pg.
9917         Copied from config/sparc/sol2.h.
9918
9919 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
9920
9921         * c-pragma.c (mark_align_stack): New.
9922         (init_pragma): New.
9923         * c-pragma.h (init_pragma): Declare it.
9924         * c-lex.c (init_parse): Call it.
9925
9926 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9927
9928         * configure.in: Pick up thread library on Solaris/x86 just
9929         like on Solaris/sparc.
9930         * configure: Rebuilt.
9931
9932 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
9933
9934         * rtl.h (global_rtx_index): New enum.
9935         (global_rtl): Change to array of rtx.
9936         (pc_rtx, cc0_rtx): Redefine accordingly.
9937         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
9938         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
9939         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
9940         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
9941         (const_int_rtx): Change to array of rtx.
9942         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
9943         accordingly.
9944         * emit-rtl.c (global_rtl): Change to array of rtx.
9945         (const_int_rtx): Change to aray of rtx.
9946         (gen_rtx_CONST_INT): Redefine accordingly.
9947         (init_emit_once): Allocate and initialize global_rtl.  Likewise
9948         for const_int_rtx.  Add both as GC roots.
9949         * genattrtab.c (global_rtl): Update declaration.
9950
9951 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
9952
9953         * Makefile (USER_H): Add iso646.h back.
9954
9955 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
9956
9957         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
9958         zapping the LOG_LINKS of sched_before_next_call.
9959
9960         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
9961         * pa.c (insn_refs_are_delayed): Renamed from
9962         insn_sets_and_refs_are_delayed.
9963
9964 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
9965
9966         * functiion.h (struct function): Add x_whole_function_mode_p.
9967         (retrofit_block): Declare.
9968         * function.c (retrofit_block): New function.
9969         (identify_blocks): Add assertions.  Allow an incomplete set of
9970         block notes if we're still generating code for the function.
9971         * integrate.c: Include loop.h.
9972         (expand_inline_function): Call find_loop_tree_blocks to map block
9973         notes to blocks when in whole-function mode.  Use retrofit_block
9974         to insert new BLOCKs for the inlined function, rather than
9975         insert_block.
9976         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
9977         * Makefile.in (integrate.o): Depend on loop.h.
9978
9979 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
9980
9981         * tree.h (warn_about_unused_variables): Declare.
9982         * stmt.c (warn_about_unused_variables): New function, split out
9983         from ...
9984         (expand_end_bindings): Here.
9985
9986 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
9987
9988         * stmt.c (preserve_subexpressions_p): Don't crash when
9989         current_function->stmt is unset.
9990
9991 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
9992
9993         * stmt.c (expand_start_bindings): Allow callers to pass a flag
9994         indicating that no NOTE_INSN_BLOCK_BEG note is required.
9995         (expand_start_target_temps): Use it.
9996         * except.c (expand_eh_region_start_for_decl): Likewise.
9997         * expr.c (expand_expr): Likewise.
9998
9999 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
10000
10001         * fold-const.c (operand_equal_p): Pay attention to side effects.
10002
10003 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
10004
10005         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
10006         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
10007
10008         * tlink.c (scan_linker_output): Look for keywords before accepting
10009         a mangled name in quotes.
10010
10011 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
10012
10013         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
10014         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
10015
10016 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
10017
10018         * alpha.md: Revert Thu Nov 26 change that came in through the
10019         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
10020         Avoid earlyclobber when possible.
10021
10022 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10023
10024         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
10025
10026         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
10027         Define HAVE_ON_EXIT.
10028
10029 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10030
10031         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
10032         CTYPE_CONV in all ctype macros.
10033
10034         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
10035         from system.h.
10036
10037         * cexp.y (initialize_random_junk): Likewise.
10038
10039         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
10040
10041         * i370.c (handle_pragma): Likewise.
10042
10043         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
10044
10045         * v850.c (override_options): Likewise.
10046
10047         * doprint.c (_doprnt): Likewise.
10048
10049         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
10050         Likewise.
10051
10052         * fixinc/server.c (load_data): Likewise.
10053
10054         * fold-const.c (real_hex_to_f): Likewise.
10055
10056         * genattr.c (write_upcase, gen_attr): Likewise.
10057
10058         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
10059         write_upcase): Likewise.
10060
10061         * genemit.c (print_code): Likewise.
10062
10063         * genopinit.c (gen_insn): Likewise.
10064
10065         * genpeep.c (print_code): Likewise.
10066
10067         * genrecog.c (print_code): Likewise.
10068
10069         * optabs.c (init_libfuncs): Likewise.
10070
10071 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
10072
10073         * haifa-sched.c (sched_analyze): Keep the list of notes organized
10074         in pairs.
10075         (reemit_notes): Likewise.
10076
10077 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
10078
10079         * ggc.h (ggc_root): Move to ggc-common.c.
10080         (roots): Remove.
10081         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
10082         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
10083         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
10084         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
10085         * ggc-common.c (ggc_root): Move from ggc.h.
10086         (roots): Declare, static.
10087         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
10088         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
10089         null or check/set mark bit.
10090         (ggc_mark_roots): New.
10091         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
10092
10093 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
10094
10095         * m32r.c: Include toplev.h.
10096         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
10097         (gen_compare): Rename swap_p to must_swap to match uses.
10098         Add default abort case.
10099         (m32r_output_function_epilogue): Remove unused variables.
10100         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
10101         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
10102         define to empty parameter list.  Update all uses.
10103         (predicate decls): Use enum machine_mode not int.
10104         * m32r.md (movsi): Call abort, not fatal_insn.
10105         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
10106
10107 1999-09-14  Andrew Haley  <aph@cygnus.com>
10108
10109         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
10110         use $0 instead of 0.
10111
10112 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10113
10114         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
10115         computation out of loop over hard regs.
10116
10117 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
10118
10119         * function.c (identify_blocks): Don't shadow a variable in an
10120         outer scope.
10121         * integrate.c (integrate_decl_tree): Don't use pushlevel,
10122         pushdecl, or poplevel to build up the new BLOCK tree.
10123         (expand_inline_function): Likewise.
10124         (integrate_parm_decls): Likewise.
10125
10126 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
10127
10128         * c-typeck.c (qualify_type): Merge qualifiers from both types.
10129
10130 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
10131
10132         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
10133         * invoke.texi: Document this change.
10134
10135 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
10136
10137         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
10138         Free the struct.
10139         (mark_emit_status): Renamed from mark_emit_state.
10140         * except.c (mark_eh_status): Renamed from mark_eh_state.
10141         Check not null before marking.
10142         (free_eh_status): New.
10143         * expr.c (mark_expr_status, free_expr_status): New.
10144         * function.c (free_machine_status): New.
10145         (free_after_parsing): New.
10146         (free_after_compilation): Move bits to free_after_parsing; call
10147         free_eh_status, free_expr_status; zero the marked members of the
10148         function state.
10149         (prepare_function_start): No can_garbage_collect.
10150         Call init_eh_for_function.
10151         (expand_dummy_function_end): Free up current_function state.
10152         (mark_function_status): Renamed from mark_function_state.
10153         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
10154         * function.h (struct function): No can_garbage_collect.
10155         (free_machine_status, free_after_parsing): Declare.
10156         (free_eh_status, free_expr_status): Declare.
10157         * ggc.h (mark_expr_status): Declare.
10158         * stmt.c (free_stmt_status): Free the struct.
10159         (mark_stmt_status): Renamed from mark_stmt_state.
10160         (init_stmt): Don't call init_eh.
10161         (init_stmt_for_function): Don't call init_eh_for_function.
10162         * toplev.c (compile_file): Call init_eh.
10163         (rest_of_compilation): Free basic block info before ggc_collect.
10164         Call free_after_parsing; conditionally call free_after_compilation.
10165         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
10166         Check not null before marking.
10167         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
10168
10169 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
10170
10171         * c-lex.c (yylex): Initialize warn.
10172
10173 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
10174
10175         * pa.c (emit_move_sequence): Properly set the mode of the scratch
10176         register when performing secondary reloads for the SAR register.
10177
10178 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
10179
10180         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
10181         (NOTE_BLOCK): New macro.
10182         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
10183         * function.h (identify_blocks): Change prototype.
10184         * function.c (identify_blocks): Simplify.
10185         (reorder_blocks): Likewise.
10186         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
10187         NOTE_INSN_BLOCK_{BEG,END}.
10188         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
10189         the list of saved notes if the note isn't a
10190         NOTE_INSN_BLOCK_{BEG,END}.
10191         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
10192         NOTE_BLOCK_NUMBER.
10193         (reemit_notes): Adjust recreation of notes to reflect new saved
10194         note structure.
10195         * print-rtl.c (print_rtx): Print the address of the BLOCK when
10196         printing a block note.
10197         * stmt.c (block_vector): Remove.
10198         (find_loop_tree_blocks): Simplify.
10199         (unroll_block_trees): Likewise.
10200         * tree.h (reorder_block): Change prototype.
10201
10202 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
10203
10204         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
10205         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
10206         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
10207         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
10208         (atexit, exit): Simplify.
10209         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
10210         * config/lots: Remove defns of HAVE_ATEXIT.
10211
10212 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
10213
10214         * calls.c (precompute_arguments): Fix typo in comment.
10215         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
10216         TARGET_EXPR.
10217
10218 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
10219
10220         * dsp16xx.c (override_options): Fix typos in GC root registration.
10221
10222 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
10223
10224         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
10225         from config/svr4.h.
10226         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
10227         (FUNCTION_PROFILER): Redefine appropriately for Linux.
10228         (CC1_SPEC): Likewise.
10229
10230 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10231
10232         * genattr.c (main): Add extern prototype.  Call return, not exit.
10233         * genattrtab.c (main): Likewise.
10234         * gencheck.c (main): Likewise.
10235         * gencodes.c (main): Likewise.
10236         * genconfig.c (main): Likewise.
10237         * genemit.c (main): Likewise.
10238         * genextract.c (main): Likewise.
10239         * genflags.c (main): Likewise.
10240         * gengenrtl.c (main): Likewise.
10241         * genopinit.c (main): Likewise.
10242         * genoutput.c (main): Likewise.
10243         * genpeep.c (main): Likewise.
10244         * genrecog.c (main): Likewise.
10245
10246         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
10247         * genattrtab.c (get_insn_name): Likewise.
10248         * gencodes.c (get_insn_name): Likewise.
10249         * genconfig.c (get_insn_name): Likewise.
10250         * genemit.c (get_insn_name): Likewise.
10251         * genextract.c (get_insn_name): Likewise.
10252         * genflags.c (get_insn_name): Likewise.
10253         * genopinit.c (get_insn_name): Likewise.
10254         * genpeep.c (get_insn_name): Likewise.
10255
10256         * gencheck.c (usage): Add static prototype.
10257         * genextract.c (print_path): Constify a char*.
10258         * genopinit.c (optabs): Likewise.
10259         * genoutput.c (operand_data, data, output_predicate_decls,
10260         compare_operands): Likewise.
10261         * genrecog.c (write_tree): Add default case in switch.
10262
10263 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10264
10265         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
10266
10267         * print-rtl.c (get_insn_name): Remove prototype.
10268
10269         * toplev.h (progname): Declare const.
10270
10271         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
10272         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
10273         dump_sched_info, dump_local_alloc, regset_release_memory,
10274         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
10275         error_with_file_and_line, error_with_decl, error_for_asm, error,
10276         fatal, warning_with_file_and_line, warning_with_decl, warning,
10277         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
10278         Remove redundant prototypes.
10279
10280         (notice, check_lang_option, report_file_and_line, vnotice,
10281         mark_file_stack): Add static prototype.
10282         (set_fatal_function): Add prototype.
10283         (vnotice, report_file_and_line, set_fatal_function,
10284         check_lang_option): Constify a char*.
10285         (main): Prototype.  Call return, not exit.
10286
10287 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10288
10289         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
10290
10291         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
10292
10293         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
10294
10295         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
10296
10297 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10298
10299         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
10300         behave as if it's zero in all cases.
10301         (expand_function_start): Adjust call to assign_parms.
10302         * tree.h (assign_parms): Adjust prototype.
10303         * objc/objc-act.c (hack_method_prototype): Adjust call to
10304         assign_parms.
10305
10306 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
10307
10308         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
10309         arg_pointer_rtx fixed if the argument pointer register is
10310         not fixed.
10311         (NONZERO_BASE_PLUS_P): Likewise.
10312
10313 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
10314
10315         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
10316         match_insn2 to match_insn.
10317         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
10318
10319 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
10320
10321         * Makefile.in (USER_H): Remove va-foo.h.
10322
10323         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
10324         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
10325         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
10326         va-spur.h,va-v850.h}: Remove.
10327
10328 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
10329
10330         * sparc/sparc.md (eligible_for_return_delay): New attribute.
10331         (in_return_delay): Use it instead of match_insn.
10332
10333 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10334
10335         * config/alpha/va_list.h (va-alpha.h): Do not include.
10336         (__gnuc_va_list): Typedef as in varargs.h.
10337
10338 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
10339
10340         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
10341         DECL_LIVE_RANGE_RTL.
10342
10343 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
10344
10345         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
10346         not NOTE_BLOCK_NUMBER.
10347         (expand_eh_region_end): Likewise.
10348         (find_exception_handler_labels): Likewise.
10349         (scan_region): Likewise.
10350         (exception_optimize): Likewise.
10351         (update_rethrow_references): Likewise.
10352         (set_insn_eh_region): Likewise.
10353         * final.c (final_scan_insn): Likewise.
10354         * flow.c (make_edges): Likewise.
10355         * integrate.c (expand_inline_function): Likewise.
10356         * print-rtl.c (print_rtx): Likewise.
10357
10358 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
10359
10360         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
10361         terms of builtin functions and types.
10362
10363         * mips.c (mips_build_va_list): New.
10364         (mips_va_start, mips_va_arg): New.
10365         * mips.h (BUILD_VA_LIST_TYPE): New.
10366         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10367
10368         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
10369         (sh_build_va_list, sh_va_start, sh_va_arg): New.
10370         * sh.h (BUILD_VA_LIST_TYPE): New.
10371         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10372
10373 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
10374
10375         * recog.h (struct recog_data): Make dup_num, operand_address_p,
10376         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
10377         (struct insn_data): Likewise with n_operands, n_dups,
10378         n_alternatives, output_format.
10379         * regclass.c (scan_one_insn): Cast n_operands to int before
10380         arithmetic inside comparison.
10381
10382 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
10383
10384         * toplev.c (compile_function): Unconditionally emit nop.
10385
10386 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10387
10388         * haifa-sched.c (actual_hazard): Move declaration of variable
10389         `this_cost' into the scope where it is used.
10390
10391 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10392
10393         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
10394         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
10395         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
10396
10397         * genrecog.c (make_insn_sequence): Call memset, not bzero.
10398
10399         * jump.c (find_insert_position): Don't declare or define unless
10400         !HAVE_conditional_arithmetic.
10401         (returnjump_p_1, delete_prior_computation): Add static prototypes.
10402
10403         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
10404
10405         * recog.c (offsettable_address_p): Prototype function pointer.
10406         (preprocess_constraints): Call memset, not bzero.
10407
10408         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
10409         (gcc_obstack_init): Don't declare.
10410         (fix_sizetype): Add static prototype.
10411         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
10412         (tree_cons): Call memset, not bzero.
10413
10414         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
10415         definition in macro ASM_WEAKEN_LABEL.
10416         (mark_const_hash_entry): Add static prototype.
10417
10418 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10419
10420         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
10421
10422         * unroll.c (find_common_reg_term, subtract_reg_term,
10423         loop_find_equiv_value): Add static prototypes.
10424         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
10425         (copy_loop_body): Remove unreachable break statement.
10426
10427         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
10428
10429         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
10430
10431 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10432
10433         Undo some changes from the gcc2 merge:
10434         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
10435         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
10436         pointers.
10437
10438         Undo this change:
10439         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
10440         * emit-rtl.c (gen_lowpart_common): Disable optimization of
10441         initialized float-int union if the value is a NaN.
10442
10443 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
10444
10445         * gthr-win32.h: New file.
10446
10447         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
10448         shared as a valid attribute.
10449         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
10450         * extend.texi: Document `shared' variable attribute.
10451
10452 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
10453
10454         * configure.in: Handle --enable-threads on FreeBSD.
10455         * configure: Rebuit.
10456
10457 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10458
10459         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
10460         thread support.
10461         * configure: Rebuilt.
10462
10463 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
10464                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
10465                           Rosimildo DaSilva <rdasilva@connecttel.com>
10466
10467         * configure.in (m68k-*-rtemscoff*): Added.
10468         * configure.in (mips64orion-*-rtems*): Converted to ELF.
10469         * configure.in (sparc-*-rtemsaout*): Added as alias for old
10470         sparc-rtems configuration.
10471         * configure.in (sparc-*-rtemself*): Added.
10472         * configure.in (sparc-*-rtems*): Now ELF not a.out.
10473         * config/i386/rtems.h: Added comment.
10474         * config/sparc/rtemself.h: New file.
10475
10476         * configure.in (m68k-rtemself): Added.
10477         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
10478         and DWARF_DEBUGGING_INFO.
10479         * config/m68k/crti.s: New file.
10480         * config/m68k/crtn.s: New file.
10481         * config/m68k/t-crtstuff: New file.
10482         * config/m68k/rtemself.h: New file.
10483
10484         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
10485         global ctor/dtor and C++ exception handling.
10486         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
10487         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
10488         ENDFILE_SPEC.
10489         * config/i386/t-rtems-i386: New File.
10490
10491 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
10492
10493         * stmt.c (expand_end_case): Return right away if the case stack is
10494         empty.
10495
10496 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
10497
10498         * Makefile.in (version.c): Remove rule incorrectly brought in from
10499         the gcc2 merge.
10500
10501 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
10502
10503         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
10504         * msdos/top.sed:  Take into account a prepended $(SHELL) to
10505         move-if-change.
10506         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
10507
10508         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
10509
10510 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10511
10512         * regmove.c (fixup_match_1): Don't change an unchanging register.
10513         (stable_but_for_p): Renamed to:
10514         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
10515         Changed all callers.
10516
10517 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
10518
10519         * loop.c (strength_reduce): Don't call reg_used_between_p if the
10520         insn from BL2 is after the insn from BL.
10521
10522 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
10523
10524         * recog.h (INSN_OUTPUT_FORMAT_*): New.
10525         (struct insn_data): Merge `template' and `outfun' into `output'.
10526         Add `output_format'.
10527         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
10528         (struct data): Remove `outfun'; add `output_format'.
10529         (name_for_index): Remove declaration.
10530         (output_insn_data): Handle output formats.
10531         (process_template): Emit the bare array for @.
10532         (gen_expand, gen_split): Set output_format to NONE.
10533         * output.h (get_insn_template): Declare.
10534         * final.c (get_insn_template): New.
10535         (final_scan_insn): Use it.
10536         * toplev.c (compile_file): Likewise.
10537
10538         * c4x/c4x.c (c4x_process_after_reload): Likewise.
10539         * i860/i860.c (output_delayed_branch): Likewise.
10540         (output_delay_insn): Likewise.
10541
10542 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10543
10544         * rtl.c (obstack_alloc_rtx): Removed.
10545
10546 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
10547
10548         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
10549
10550 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
10551
10552         * i386.c (call_insn_operand): Reject const_int.
10553         (expander_call_insn_operand): Use call_insn_operand.
10554
10555 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10556
10557         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
10558
10559 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
10560
10561         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
10562         Use DImode operation.
10563
10564 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
10565
10566         * gcc.c: Include sys/resource.h.
10567         (report_times): New flag.
10568         (execute):  If report_times is set, calculate and report the
10569         CPU time consumed by each subprocess.
10570
10571         (rus, prus): New globals.
10572         (option_map): Add --time.
10573         (display_help): Document -time.
10574         (process_command): Set report_times if -time is given.
10575         Turn off -pipe if -time is given.
10576
10577         * invoke.texi: Document new option -time.
10578
10579         * configure.in: Check for getrusage.  Check if we have to
10580         prototype getrusage.
10581         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
10582         * configure: Regenerate.
10583         * config.in: Regenerate.
10584
10585 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
10586
10587         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
10588         fields.
10589
10590 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
10591
10592         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
10593         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
10594         (nan): Return _thenan_sf or _thenan_df as appropriate.
10595         (L_thenan_sf): Define _thenan_sf.
10596         (L_thenan_df): Define _thenan_df.
10597
10598         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
10599         (DPBIT_FUNCS): Add _thenan_df.
10600
10601 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
10602
10603         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
10604         TYPE_SIZE_UNIT.
10605
10606 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10607
10608         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
10609
10610         * gcc.h: New file.
10611         (lang_specific_driver): Don't take a function pointer parameter.
10612         All callers changed.
10613
10614         * gcc.c: Include gcc.h.
10615         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
10616         lang_specific_extra_outfiles, fatal): Don't declare.
10617         (multilib_defaults_raw): Constify.
10618         (read_specs): Call memset, rather than bzero.
10619         (main): Call return, not exit.
10620         (lookup_compiler): Call memcpy, not bcopy.
10621         (fatal): Make extern.
10622
10623         * cppspec.c: Include gcc.h.
10624         (lang_specific_driver): Initialize variable `quote'.  Constify a
10625         char*.  All calls to the function pointer parameter now
10626         explicitly call `fatal'.
10627
10628         * gccspec.c (lang_specific_driver): Include gcc.h.
10629
10630 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
10631
10632         * arm.c (note_invalid_constants): Use recog_data.operand_type
10633         for recog_op_type.
10634
10635 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10636
10637         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
10638         Declare.
10639
10640         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
10641         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
10642         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
10643         reload_secondary_in_reload, reload_secondary_out_reload,
10644         reload_secondary_in_icode, reload_secondary_out_icode,
10645         reload_reg_rtx, reload_when_needed): Delete declarations.
10646         (struct reload): New structure.
10647         (rld): Declare new array.
10648         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
10649         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
10650         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
10651         reload_secondary_in_reload, reload_secondary_out_reload,
10652         reload_secondary_in_icode, reload_secondary_out_icode,
10653         reload_reg_rtx, reload_when_needed): Delete definitions.
10654         (rld): New array.
10655         (whole file): Replace uses of the deleted arrays with uses of rld.
10656         * reload1.c (whole file): Replace uses of the deleted arrays with
10657         uses of rld.
10658         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
10659         explicit loops, not with bcopy.
10660
10661 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
10662
10663         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
10664         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
10665         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
10666         insn_name): Delete and consolidate into new structures.
10667         (insn_operand_predicate_fn): New.
10668         (insn_output_fn): New.
10669         (insn_gen_fn): New.
10670         (struct insn_operand_data): New.
10671         (struct insn_data): New.
10672         (insn_data): New.
10673         (OUT_FCN): Update for insn_data change.
10674         * builtins.c (expand_builtin_strlen): Likewise.
10675         (expand_builtin_memcmp): Likewise.
10676         * combine.c (make_extraction, simplify_comparison): Likewise.
10677         * cse.c (canon_reg, cse_insn): Likewise.
10678         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
10679         * expmed.c (store_bit_field, extract_bit_field): Likewise.
10680         (emit_store_flag): Likewise.
10681         * expr.c (convert_move, emit_block_move): Likewise.
10682         (clear_storage, emit_push_insn, expand_increment): Likewise.
10683         (do_store_flag): Likewise.
10684         * expr.h (GEN_FCN): Likewise.
10685         (insn_gen_function): Die.
10686         * final.c (final_scan_insn): Update for insn_data change.
10687         (output_asm_name): Likewise.
10688         * function.c (fixup_var_refs_1): Likewise.
10689         * loop.c (check_dbra_loop): Likewise.
10690         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
10691         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
10692         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
10693         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
10694         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
10695         * regmove.c (gen_add3_insn): Likewise.
10696         * reload.c (push_secondary_reload, combine_reloads): Likewise.
10697         (find_reloads, find_reloads_address_1): Likewise.
10698         (debug_reload_to_stream): Likewise.
10699         * reload1.c (emit_reload_insns, gen_reload): Likewise.
10700         * stmt.c (expand_end_case): Likewise.
10701         * toplev.c (compile_file): Likewise.
10702
10703         * c4x/c4x.c (c4x_process_after_reload): Likewise.
10704         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
10705
10706         * print-rtl.c (insn_name_ptr): Remove declaration.
10707         (get_insn_name): Declare.
10708         (print_rtx): Use it.
10709         * genoutput.c (insn_name_ptr): Remove.
10710         (next_operand_number): New.
10711         (struct operand_data): New.
10712         (null_operand, odata, odata_end): New.
10713         (struct data): Use struct operand_data.
10714         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
10715         (get_insn_name): Renamed from name_for_index.
10716         (output_prologue): Define NO_MD_PROTOTYPES.
10717         (output_predicate_decls): Break out from output_epilogue.
10718         Iterate over the operands list.
10719         (output_operand_data): Break out from output_epilogue.  Emit
10720         just the operands list.
10721         (output_insn_data): Break out from output_epilogue.  Emit just
10722         the insn data.
10723         (output_epilogue): Remove.
10724         (output_get_insn_name): New.
10725         (constraints, op_n_alternatives, predicates, address_p): Die.
10726         (modes, strict_low, seen): Die.
10727         (scan_operands): Take new param `d' instead of writing to
10728         seven global variables.
10729         (compare_operands): New.
10730         (place_operands): New.
10731         (validate_insn_alternatives): Update for struct data change.
10732         (gen_insn): Don't zero or copy 7 global arrays.  Update for
10733         scan_operands; call place_operands.
10734         (gen_peephole, gen_expand, gen_split): Likewise.
10735         (main): Update for new output routines.
10736
10737         * genattr.c (insn_name_ptr): Remove.
10738         (get_insn_name): New function.
10739         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
10740         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
10741         * genrecog.c: Likewise.
10742
10743         * alpha.md (adddi3): Make `pattern' array static.
10744
10745 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10746
10747         * config/c4x/c4x.h (c4x_rpts_cycles_string,
10748         c4x_cpu_version_string): Constify char *.
10749         * config/c4x/c4x.c (c4x_rpts_cycles_string,
10750         c4x_cpu_version_string): Likewise.
10751
10752 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
10753
10754         * tree.c (save_tree_status): Revert 10 Sep change.
10755         (restore_tree_status): Likewise.  Call obstack_free with NULL
10756         before freeing the obstack proper.
10757
10758 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
10759
10760         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
10761
10762         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
10763         surrounding context.
10764
10765 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
10766
10767         * tree.c (type_hash_canon): Put all types in the hash-table, when
10768         GC'ing.
10769
10770 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
10771
10772         * recog.h (struct recog_data, recog_data): New.
10773         (recog_foo variables): Kill.
10774         * recog.c (recog_operand, recog_operand_loc): Kill.
10775         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
10776         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
10777         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
10778         (recog_data): Define.
10779         (extract_insn): Update all recog_foo references to use recog_data.
10780         (preprocess_constraints, constrain_operands): Likewise.
10781         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
10782         * genattrtab.c (main): Likewise.
10783         * genextract.c (main): Likewise.
10784         * genoutput.c: Likewise.
10785         * genrecog.c (write_subroutine, main): Likewise.
10786         * local-alloc.c (block_alloc): Likewise.
10787         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
10788         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
10789         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
10790         * reload.c (find_reloads, find_reloads_toplev): Likewise.
10791         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
10792         (reload_cse_simplify_operands): Likewise.
10793
10794         * arc/arc.c (arc_final_prescan_insn): Likewise.
10795         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
10796         * h8300/h8300.c (notice_update_cc): Likewise.
10797         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
10798         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
10799         * mn10200/mn10200.c (notice_update_cc): Likewise.
10800         * mn10300/mn10300.c (notice_update_cc): Likewise.
10801         * romp/romp.c (update_cc): Likewise.
10802         * sparc/sparc.c (check_pic): Likewise.
10803         * v850/v850.c (notice_update_cc): Likewise.
10804
10805         * genemit.c (main): Don't declare recog_operand.
10806
10807 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
10808
10809         * ggc.h (rtvec_def): Forward declare.
10810         (tree_node): Likewise.
10811         (ggc_root): Define.
10812         (roots): Declare.
10813         (ggc_set_mark_rtx): Add prototype.
10814         (ggc_set_mark_rtvec): Likewise.
10815         (ggc_set_mark_tree): Likewise.
10816         * ggc-simple.c (ggc_root): Don't define.
10817         (roots): Don't declare.
10818         (ggc_mark_rtx): Remove.
10819         (ggc_mark_rtvec): Likewise.
10820         (ggc_mark_tree): Likewise.
10821         (ggc_mark_varray): Likewise.
10822         (ggc_mark_tree_hash_table_entry): Likewise.
10823         (ggc_mark_tree_hash_table): Likewise.
10824         (ggc_set_mart_rtx): New function.
10825         (ggc_set_mark_rtvec): Likewise.
10826         (ggc_set_mark_tree): Likewise.
10827         (ggc_add_root): Remove.
10828         (ggc_add_rtx_root): Likewise.
10829         (ggc_remove_tree_root): Likewise.
10830         (ggc_add_string_root): Likewise.
10831         (ggc_add_tree_varray_root): Likewise.
10832         (ggc_add_tree_hash_table_root): Likewise.
10833         (ggc_del_root): Likewise.
10834         (ggc_mark_rtx_ptr): Likewise.
10835         (ggc_mark_tree_ptr): Likewise.
10836         (ggc_mark_string_ptr): Likewise.
10837         (ggc_mark_tree_varray_ptr): Likewise.
10838         (ggc_mark_tree_hash_table_ptr): Likewise.
10839         * ggc-common.c: New file.
10840         * Makefile.in (OBJS): Add ggc-common.o.
10841         (ggc-common.o): List dependencies.
10842
10843 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
10844
10845         * cppalloc.c (xstrdup): Use memcpy.
10846         * cpperror.c (cpp_print_containing_files): Don't use
10847         cpp_notice.
10848         * cpplib.c (conditional_skip): Set temp->lineno.
10849         (do_endif): Make error message less obscure.
10850         (if_directive_name): New function.
10851         (cpp_get_token [case EOF]): Unwind the if stack and generate
10852         error messages for each unterminated conditional in this file.
10853         (parse_string):  Do not behave differently if -traditional.
10854
10855 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
10856
10857         * builtins.c (expand_builtin_va_arg): Cope with an array-type
10858         va_list decomposing to pointer-type.
10859         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
10860         (rs6000_va_arg): Likewise.
10861
10862 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
10863
10864         * except.c (start_dynamic_handler): Compute size using
10865         STACK_SAVEAREA_MODE.
10866
10867 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10868
10869         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
10870         include directory headers.  Don't define strrchr.  Don't provide
10871         my_* replacement functions.  Prefer PTR over `pointer_type'.
10872         Don't prototype system functions.  Don't redefine getopt.
10873
10874         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
10875         safe_read, safe_write, save_pointers, restore_pointers,
10876         is_id_char, in_system_include_dir, directory_specified_p,
10877         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
10878         find_corresponding_lparen, referenced_file_is_newer,
10879         save_def_or_dec, munge_compile_params, gen_aux_info_file,
10880         process_aux_info_file, identify_lineno, check_source,
10881         seek_to_line, forward_to_next_token_char, output_bytes,
10882         output_string, output_up_to, other_variable_style_function,
10883         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
10884         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
10885         find_static_definition, connect_defs_and_decs, add_local_decl,
10886         add_global_decls, needs_to_be_converted, visit_each_hash_node,
10887         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
10888         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
10889         scan_for_missed_items, edit_file, string_list_cons): Add static
10890         prototypes.
10891         (standard_exec_prefix, target_machine, target_version,
10892         default_syscalls_dir, string_list, string_list_cons, find_file,
10893         do_cleaning): Constify a char*.
10894         (safe_read, safe_write): Use PTR, not a char*.
10895         (is_id_char): Take an int, not a char.
10896         (main): Add prototype.  Call return, not exit.
10897
10898 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
10899
10900         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
10901         when comparing types.
10902
10903 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
10904
10905         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
10906         (strength_reduce): Release the varrays from the no-bivs early exit.
10907
10908         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
10909         the loop over the registers.
10910
10911         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
10912         for a new obstack.
10913         (restore_tree_status): Check that instead when freeing the obstack.
10914
10915 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
10916
10917         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
10918         as pointers.
10919
10920 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10921
10922         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
10923         operand size modifiers.
10924
10925 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10926
10927         * c-common.c (c_common_nodes_and_builtins): Don't build
10928         va_list_type_node.
10929         * c-common.h (enum c_tree_index and related accesor macros): Remove
10930         everything now declared in tree.h.
10931         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
10932         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
10933         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
10934         (error_mark_node, void_type_node, char_type_node, integer_type_node,
10935         unsigned_type_node, ptr_type_node, va_list_type_node,
10936         integer_zero_node, null_pointer_node, integer_one_node): Delete.
10937         (init_decl_processing): Call build_common_tree_nodes and
10938         build_common_tree_nodes_2 instead of building their nodes here.
10939         Don't add roots for these nodes.
10940         * stor-layout.c (size_zero_node, size_one_node): Delete.
10941         (set_sizetype): Make a new node for bitsizetype each time.
10942         * tree.c (global_trees): New variable.
10943         (init_obstacks): Add a gc root for it.
10944         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
10945         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
10946         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
10947         (build_common_tree_nodes): New function.
10948         (fix_sizetype): New function.
10949         (build_common_tree_nodes_2): New function.
10950         * tree.h (enum tree_index): New.
10951         (global_trees): Declare.
10952         Add accessor macros for all nodes now moved to global_trees.
10953         Delete their declarations.
10954
10955 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
10956
10957         * c-decl.c (finish_function): When processing a nested function,
10958         push and pop GC context around rest_of_compilation.
10959
10960 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
10961
10962         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
10963         Default ix86_arch to PROCESSOR_I386.
10964         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
10965         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
10966         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
10967         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
10968         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
10969         (EXTRA_SPECS): Remove deleted specs.
10970
10971 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
10972
10973         * function.c (assign_stack_local_1): Allocate from
10974         function->x_frame_offset, not frame_offset.
10975
10976 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
10977
10978         * ggc.h (lang_cleanup_tree): Remove.
10979         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
10980         * ggc-callbacks.c (lang_cleanup_tree): Remove.
10981
10982         * c-decl.c (finish_struct): Use ggc_alloc to allocate
10983         TYPE_LANG_SPECIFIC when garbage collecting.
10984         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
10985         (lang_cleanup_tree): Remove.
10986
10987 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
10988
10989         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
10990         * crtstuff.c: Not here.
10991         * dwarf2out.c: Or here.
10992         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
10993         info.
10994
10995 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
10996
10997         * function.h (free_after_compilation): Remove decl parameter.
10998         (free_varasm_status0: Likewise.
10999         (free_emit_status): Likewise.
11000         (free_stmt_status): Likewise.
11001         (free_after_compilation): Likewise.
11002         (init_lang_status): New variable.
11003         (free_lang_status): Likewise.
11004         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
11005         * function.c (init_lang_status): New variable.
11006         (free_lang_status): Likewise.
11007         (push_function_context_to): Don't set function::decl here.
11008         (free_after_copmilation): Make decl parameter implicit.  Call
11009         free_lang_status if defined.
11010         (prepare_function_start): Call init_lang_status if defined.
11011         (init_function_start): Set function::decl here.
11012         * profile.c (output_func_start_profiler): Don't call pushdecl
11013         until we've actually started the function.
11014         * stmt.c (free_stmt_status): Make decl parameter implicit.
11015         * toplev.c (rest_of_compilation): Don't pass decl to
11016         free_after_compilation.
11017         * varasm.c (free_varasm_status): Likewise.
11018
11019 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11020
11021         * except.c (call_get_eh_context): Add root when allocating static
11022         tree variable.
11023
11024 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
11025
11026         * arm.c: Include "ggc.h".
11027         (arm_add_gc_roots): New function.
11028         (arm_override_options): Call it.
11029         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
11030
11031         * arm.md (define_asm_attributes): Add a pool_range attribute.
11032
11033 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
11034
11035         * extend.texi (Volatiles): New node.
11036
11037 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
11038
11039         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
11040         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
11041         (struct ggc_any): Replace `mark' with `magic_mark'.
11042         (ggc_alloc_string): Use memcpy, not bcopy.
11043         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
11044         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
11045         (ggc_free_any): New.
11046         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
11047         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
11048         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
11049         Use IS_MARKED. Use ggc_free_any.
11050
11051 1999-09-09  Scott Bambrough <scottb@netwinder.org>
11052
11053         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
11054
11055 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
11056
11057         * toplev.c (main): Always init_ggc.
11058
11059 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
11060
11061         * except.c (find_all_handler_type_matches): Free the list if
11062         we found no matches.
11063
11064         * combine.c (SUBST): Break out to a real function do_SUBST.
11065         (SUBST_INT): Likewise.
11066         * gcse.c (free_pre_mem): Free `temp_bitmap'.
11067         (pre_insert): Free `inserted'.
11068         * loop.c (basic_induction_var): Always set `location'.
11069
11070         * function.c (expand_function_end): Add initial_trampoline as a root.
11071         * rtl.h (init_varasm_once): Declare.
11072         * toplev.c (compile_file): Call it.
11073         * ggc-simple.c (ggc_mark_string_ptr): New.
11074         (ggc_add_string_root): New.
11075         (ggc_collect): Disable collection avoidance temporarily.
11076         * ggc.h (ggc_add_string_root): Declare.
11077         * except.c (create_rethrow_ref): Use ggc_alloc_string.
11078         * optabs.c (init_libfuncs): Likewise.
11079         * varasm.c (named_section): Use ggc_alloc_string.
11080         (make_function_rtl): Likewise.
11081         (make_decl_rtl): Likewise.
11082         (assemble_static_space): Likewise.
11083         (assemble_trampoline_template): Likewise.
11084         (output_constant_def): Likewise.
11085         (force_const_mem): Likewise.
11086         (mark_const_hash_entry): New.
11087         (mark_pool_sym_hash_table): New.
11088         (mark_varasm_state): Use it.
11089         (init_varasm_once): New.
11090
11091         * expr.h (init_one_libfunc): Declare.
11092         * optabs.c (init_one_libfunc): New.
11093         (init_optabs): Use it.
11094         * config/gofast.h: Likewise.
11095         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
11096         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
11097
11098 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
11099
11100         * Makefile.in (cppexp.o): Depend on cpphash.h.
11101         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
11102         Include cpphash.h.
11103         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
11104         * cpplib.c (do_define): Generalise to handle poisoned definitions,
11105         redefining poisoned identifiers, etc.
11106         (do_undef): Don't allow poisoned identifiers to be undefined.
11107         (do_pragma): Add #pragma poison.
11108         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11109
11110         * cccp.c: Add T_POISON node type.
11111         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
11112         poisoned xxx.
11113         (do_define): Generalise to handle poisoned definitions,
11114         redefining poisoned identifiers, etc.
11115         (do_undef): Don't allow poisoned identifiers to be undefined.
11116         (do_pragma): Add #pragma poison.
11117         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11118
11119         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
11120         * c-pragma.h: Add ps_poison state.  We now always have generic
11121         pragmas.
11122
11123 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
11124
11125         * ggc.h (ggc_alloc): New function.
11126         (ggc_mark): Likewise.
11127         * ggc-simple.c (ggc_any): New structure.
11128         (ggc_status): Add anys.
11129         (n_anys_collected): New variable.
11130         (ggc_alloc): Define.
11131         (ggc_mark): Likewise.
11132         (ggc_collect): Collect the anys.
11133
11134 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11135
11136         * c-decl.c (mark_binding_level): Make static to match prototype.
11137
11138 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
11139
11140         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
11141
11142 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
11143
11144         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
11145         will use into account.  Expand the max width to 5.
11146         * rtl.c: Likewise.
11147
11148 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
11149
11150         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
11151         for the rtx length.
11152
11153 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
11154
11155         * alpha.md (call value patterns): Remove the result predicates.
11156
11157 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
11158
11159         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
11160         last change.
11161
11162 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11163
11164         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
11165         changed from extern char *, to extern PTR.  Also fix typo in
11166         NEED_DECLARATION_REALLOC test.
11167
11168         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
11169
11170 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11171
11172         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
11173         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
11174         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
11175         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
11176
11177         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
11178
11179         * cccp.c (pcfinclude): Likewise.
11180
11181         * global.c (allocno_compare): Likewise.
11182
11183         * haifa-sched.c (rank_for_schedule): Likewise.
11184
11185         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
11186
11187         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
11188
11189         * stupid.c (stupid_reg_compare): Likewise.
11190
11191         * tree.c (_obstack_allocated_p): Likewise.
11192
11193         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
11194
11195 1999-09-08  Bruce Korb  autogen@linuxbox.com
11196
11197         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
11198         why "gperf -F" fails.
11199         * gcc/cp/Makefile.in: ditto
11200         * gcc/Makefile.in: ditto
11201         * gcc/java/Makefile.in: ditto
11202
11203 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
11204
11205         * lists.c: Include ggc.h.
11206         (zap_lists): New.
11207         (init_EXPR_INSN_LIST_cache): Install it.
11208
11209         * ggc-simple.c (init_ggc): Absorb the old init.
11210         (ggc_push_context): Use xcalloc.
11211         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
11212         (ggc_collect): Add [rvts] tags to the collection stats.
11213
11214 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
11215
11216         * cccp.c (main): Fix handling of -include and -imacros options.
11217
11218 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
11219
11220         * cpplib.c (cpp_push_buffer): Fix order of arguments.
11221
11222 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
11223
11224         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
11225         genrtl.c.
11226
11227 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
11228
11229         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
11230         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
11231         and SET_DEST. Update comment.
11232
11233 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11234
11235         * config/c4x/c4x.c: Include ggc.h.
11236         (c4x_add_gc_roots): New function.
11237         (c4x_override_options): Call c4x_add_gc_roots.
11238
11239 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
11240
11241         * defaults.h (TARGET_ESC): Move ...
11242         * system.h: ... here, where Linas had it in the first place.  Silly me.
11243
11244 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
11245
11246         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
11247         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
11248         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
11249         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
11250         * defaults.h (TARGET_ESC): Add default.
11251
11252 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
11253
11254         * configure.in: add i370-*-openedition, i370-*-mvs and
11255         i370-*-linux targets
11256
11257 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
11258
11259         * dsp16xxx.c: Include ggc.h
11260         (override_options): Mark GC roots.
11261         * mn10200.c: Include ggc.h.
11262         (asm_file_start): Mark GC roots.
11263         * tahoe.c: Include ggc.h.
11264         (extensible_operand): Mark GC roots.
11265
11266 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
11267
11268         * README: Add section discussing status of ELF ABI.
11269         * i370.c: Fix misc spelling mistakes.
11270         (i370_label_scan): Updated notes, exception handling.
11271         (i370_function_prolog): Simplify ELF stack handling.
11272         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
11273         (STACK_GROWS_DOWNWARD): ELF stack grows down.
11274         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
11275         * i370.md: (movdi): Add notes.
11276         (floatsidf2): Use stack not rtca for scratch float area.
11277         (iorsi3): Correct operand constraints.
11278         * x-oe: Restore TAROUTOPTS which are used by pax.
11279
11280 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
11281
11282         * rs6000.c: Include ggc.h.
11283         (rs6000_add_gc_roots): New function.
11284         (override_options): Call it.
11285
11286 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
11287
11288         * alpha.h (alpha_compare): New.
11289         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
11290         * alpha.c: Likewise for the definitions.
11291         (alpha_emit_conditional_branch): Update for alpha_compare.
11292         (alpha_emit_conditional_move): Likewise.
11293         * alpha.md (cmpdf, cmpdi): Likewise.
11294         (setcc patterns): Likewise.  Zero alpha_compare after use.
11295         (sne): Optimize (x != 0) into (0U < x).
11296
11297 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
11298
11299         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
11300         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
11301         (INIT_EXPANDERS): Remove.
11302         * alpha.c: Include ggc.h.
11303         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
11304         (alpha_init_machine_status, alpha_mark_machine_status): New.
11305         (override_options): Install them.
11306         (struct machine_function): Moved to alpha.h.
11307         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
11308         (alpha_init_expanders): Remove.
11309         (alpha_return_addr): Adjust to use current_function->machine.
11310         (alpha_ra_ever_killed): Likewise.
11311         (alpha_expand_epilogue): Likewise.
11312         * alpha.md (eh_epilogue): Likewise.
11313
11314 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
11315                           Melissa O'Neill  <oneill@cs.sfu.ca>
11316                           Geoffrey Keating  <geoffk@cygnus.com>
11317
11318         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
11319         call-used registers (call-saved registers must still be contiguous
11320         and end with r31, of course).
11321
11322 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
11323
11324         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
11325         (self_promoting_type_p): Delete.
11326         (self_promoting_args_p): Move ...
11327         * c-common.c: ... here.
11328         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
11329         (simple_type_promotes_to): New.
11330         * builtins.c (lang_type_promotes_to): New.
11331         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
11332         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
11333         * c-common.h: ... here.
11334         (self_promoting_args_p, simple_type_promotes_to): Declare.
11335         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
11336         (grokdeclarator): Likewise.
11337         * tree.h (lang_type_promotes_to): Declare.
11338
11339 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
11340
11341         Add some machine-dependent GC roots.
11342         * sparc.c: Include ggc.h.
11343         (sparc_add_gc_roots): New function.
11344         (mark_ultrasparc_pipeline_state): Likewise.
11345         (override_options): Call sparc_add_gc_roots.
11346         * pa.c: Include ggc.h.
11347         (pa_add_gc_roots): New function.
11348         (mark_deferred_plabels): Likewise.
11349         (override_options): Call pa_add_gc_roots.
11350         * mips.c: Include ggc.h.
11351         (mips_add_gc_roots): New function.
11352         (override_options): Use it.
11353
11354 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11355
11356         * cpperror.c (cpp_file_line_for_message): Constify a char*.
11357
11358         * cppexp.c (parse_number, parse_charconst, cpp_lex,
11359         cpp_parse_expr): Add static prototypes.
11360         (parse_charconst): Don't cast away const-ness.
11361         (token): Constify a char*.
11362
11363         * cppfiles.c (file_name_list, include_hash, find_include_file,
11364         finclude, initialize_input_buffer): Constify a char*.
11365         (file_cleanup, find_position): Add static prototypes.
11366
11367         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
11368         collect_expansion): Add static prototypes.
11369         (cpp_install, create_definition, monthnames): Constify a char*.
11370
11371         * cpphash.h (cpp_install): Likewise.
11372
11373         * cppinit.c (known_suffixes, default_include,
11374         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
11375         (base_name, dump_special_to_buffer, initialize_dependency_output):
11376         Add static prototypes.
11377
11378         * cpplib.c (my_strerror): Constify a char*.
11379         (null_underflow, null_cleanup, skip_comment, copy_comment,
11380         copy_rest_of_line, handle_directive, pass_thru_directive,
11381         get_directive_token, read_line_number, cpp_print_file_and_line,
11382         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
11383         v_cpp_warning_with_line, detect_if_not_defined,
11384         consider_directive_while_skipping): Add static prototypes.
11385         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
11386         cpp_pedwarn_with_file_and_line): Constify a char*.
11387
11388         * cpplib.h (cpp_options, include_hash, progname, definition,
11389         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
11390         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
11391         find_include_file, deps_output, include_hash): Constify a char*.
11392
11393         * cppmain.c (progname): Constify.
11394         (main): Add prototype.  Use return, not exit.
11395
11396         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
11397         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
11398         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
11399         check_protection): Add static prototype.
11400         (xfree): Remove.
11401         (progname, recognized_macrom, recognized_extern): Constify a char*.
11402         (main): Add prototype.
11403
11404         * gen-protos.c (progname): Constify a char*.
11405
11406 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
11407
11408         * emit-rtl.c (free_emit_status): Take decl as a parameter.
11409         (init_emit_once): Add more GC roots.
11410         * except.c (mark_func_eh_entry): New function.
11411         (mark_eh_node): Mark false_label and rethrow_label.
11412         (init_eh): Add more GC roots.
11413         * function.c (free_after_compilation): Take decl as a paramter.
11414         Call free_stmt_status.
11415         (mark_function_state): Don't assume x_parm_reg_stack_loc is
11416         non-NULL.
11417         * function.h (free_after_compilation): Change prototype.
11418         (free_varasm_status): Likewise.
11419         (free_emit_status): Likewise.
11420         (free_stmt_status): New function.
11421         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
11422         Remove, replacing with ...
11423         (ggc_status): New structure.
11424         (ggc_chain): New variable.
11425         (init_gcc): Define.
11426         (ggc_push_context): New function.
11427         (ggc_pop_context): Likewise.
11428         (ggc_alloc_rtx): Adjust for use of ggc_chain.
11429         (ggc_alloc_rtvec): Likewise.
11430         (ggc_alloc_tree): Likewise.
11431         (ggc_alloc_string): Likewise.
11432         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
11433         (ggc_mark_tree): Give language-dependent code a chance to mark
11434         `x' nodes.
11435         (ggc_mark_tree_varray): Handle empty arrays.
11436         (ggc_collect): Adjust for use of ggc_chain.  Clear
11437         bytes_alloced_since_last_gc.
11438         * ggc.h (ggc_pop_context): New function.
11439         (ggc_push_context): Likewise.
11440         * print-tree.c (print_node): Don't print obstacks when GC'ing.
11441         * stmt.c (free_stmt_status): New function.
11442         (init_stmt_for_function): Clear last_expr_value.
11443         * toplev.c (rest_of_compilation): Always call free_after_compilation.
11444         Conditionalize call to ggc_collect.
11445         (main): Call init_ggc.
11446         * tree.c (push_obstacks): Do the push, even when GC'ing.
11447         (push_obstacks_nochange): Likewise.
11448         (pop_obstacks): Liekwise.
11449         * varasm.c (free_varasm_status): Take decl as a parameter.
11450
11451 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11452
11453         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
11454         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
11455         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
11456         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
11457
11458 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
11459
11460         * pa/x-pa-mpeix: New file for the MPE port.
11461
11462         * pa/quadlib.asm: New file for long double support.
11463
11464         * configure.in: Add hppa1.0-*-mpeix for MPE port.
11465         * configure: Rebuilt.
11466
11467 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
11468
11469         * final.c (shorten_branches): Fix last change.
11470
11471 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
11472
11473         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
11474
11475 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
11476
11477         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
11478         details.
11479
11480 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11481
11482         * c-aux-info.c (concat): Don't define.
11483
11484         * cccp.c (my_strerror): Likewise.  All callers changed to use
11485         xstrerror instead.
11486         (do_include): Call xstrdup, not xmalloc/strcpy.
11487         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
11488         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
11489
11490         * collect2.c (my_strsignal): Likewise.  All callers changed to use
11491         strsignal instead.
11492         (locatelib): Call xstrdup, not xmalloc/strcpy.
11493
11494         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
11495
11496         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
11497
11498         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
11499
11500         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
11501
11502         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
11503
11504         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
11505
11506         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
11507         malloc/realloc.
11508         (find_all_handler_type_matches): Likewise.  Don't check return
11509         value.
11510         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
11511         xmalloc, not malloc.
11512         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
11513
11514         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
11515         (init_spec): Call xcalloc, not xmalloc/bzero.
11516         (set_spec): Call xstrdup, not save_string.
11517         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
11518         (find_a_file): Call xstrdup, not xmalloc/strcpy.
11519         (process_command): Call xstrdup, not save_string.
11520         (main): Call xcalloc, not xmalloc/bzero.
11521
11522         * gcov.c (xmalloc): Don't define.
11523         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
11524         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
11525         (output_data): Call xcalloc, not xmalloc/bzero.
11526
11527         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
11528
11529         * mips-tdump.c (xmalloc): Don't define.
11530         (print_symbol): Call xmalloc, not malloc.
11531         (read_tfile): Call xcalloc, not calloc.
11532
11533         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
11534         Don't define.  All callers of xfree/my_strsignal changed to use
11535         free/strsignal instead.
11536         (allocate_cluster): Call xcalloc, not calloc.
11537
11538         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
11539         Fix memory leak, free allocated memory.
11540
11541         * prefix.c (translate_name): Call xstrdup, not save_string.
11542         (update_path): Likewise.
11543
11544         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
11545
11546         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
11547         Don't define.  Callers of xfree/savestring2 changed to use
11548         free/concat instead.
11549
11550         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
11551         (init_elim_table): Likewise.
11552
11553         * resource.c (init_resource_info): Likewise.
11554
11555         * stupid.c (stupid_life_analysis): Likewise.
11556
11557         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
11558         (open_dump_file): Call concat, not xmalloc/strcpy/...
11559         (clean_dump_file): Likewise.
11560         (compile_file): Call xstrdup, not xmalloc/strcpy.
11561
11562 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
11563
11564         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
11565         * v850.c (v850_va_arg): New.
11566
11567 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11568
11569         * haifa-sched.c: Tidy comments.
11570
11571 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11572
11573         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
11574         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
11575         $(out_object_file)): Depend on ggc.h.
11576         * c-common.c: Include "ggc.h".
11577         (combine_strings): If doing GC, use ggc_alloc_string.
11578         * c-decl.c: Include "ggc.h".
11579         (ggc_p): Define with value 0.
11580         (mark_binding_level): New function.
11581         (init_decl_processing): Add GC roots.
11582         (mark_c_function_context): New function.
11583         (lang_mark_false_label_stack): New function.
11584         (lang_mark_tree): New function.
11585         (lang_cleanup_tree): New function.
11586         * c-lang.c: Include "ggc.h".
11587         (lang_init): Call c_parse_init.
11588         * c-lex.c: Include "ggc.h".
11589         (check_linenum): If doing GC, don't copy filenames to permanent
11590         obstack.
11591         * c-parse.in: Include "ggc.h".
11592         (c_parse_init): New function.
11593         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
11594         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
11595
11596         * except.c (mark_eh_state): Mark more state.
11597         * function.c (mark_function_state): Likewise.
11598         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
11599         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
11600         * toplev.c (mark_file_stack): New function.
11601         (compile_file): If doing GC, use ggc_alloc_string on input filename.
11602         (main): Add root for input_file_stack.
11603
11604         * i386.c: Include "ggc.h".
11605         (ix86_mark_machine_status): New function.
11606         (override_options): Set mark_machine_status.
11607
11608 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11609
11610         * tree.c (copy_node): Copy node contents also if doing GC.
11611
11612 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
11613
11614         * collect2.c (scan_libraries): Fix double-thinko :-).
11615
11616 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
11617
11618         * collect2.c (scan_libraries): Fix thinko.
11619
11620         * cse.c (delete_trivially_dead_insns): Do not skip the last
11621         insn if it is a real insn.
11622
11623 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
11624
11625         * Makefile.in (ggc-simple.o): Depend on hash.h.
11626         * ggc.h (ggc_add_tree_hash_table_root): Declare.
11627         (ggc_mark_tree_varray): Likewise.
11628         (ggc_mark_tree_hash_table): Likewise.
11629         * ggc-simple.c: Include hash.h.
11630         (ggc_mark_tree_hash_table_ptr): New function.
11631         (ggc_mark_tree_hash_table_entry): Likewise.
11632         (ggc_mark_tree_hash_table): Likewise.
11633         (ggc_add_tree_hash_table_root): Likewise.
11634         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
11635         rtx, when defining fields.
11636
11637 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11638
11639         * profile.c (output_func_start_profiler): Remove apparently
11640         nonsensical call to start_sequence.
11641
11642 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
11643
11644         * clipper/clipper.c (clipper_va_start): Fix typos.
11645
11646         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
11647         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
11648         (spur_va_arg): New stub.
11649
11650         * configure.in: Comment out pyramid.
11651
11652 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
11653
11654         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
11655         don't conflict with the bits that win32, cygwin, and dgux
11656         defines.
11657
11658 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
11659                           Bernd Schmidt <bernds@cygnus.co.uk>
11660
11661         * integrate.c (function_cannot_inline_p): Do not inline
11662         functions with forced labels.
11663
11664 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
11665                           Bernd Schmidt <bernds@cygnus.co.uk>
11666                           Mark Mitchell  <mark@codesourcery.com>
11667
11668         * Makefile.in (ggc-simple.o): Depend on varray.h.
11669         (rtl.o): Depend on ggc.h.
11670         (genattrtab.o): Depend on ggc.h.
11671         (print-tree.o): Likewise.
11672         (fold-const.o): Likewise.
11673         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
11674         (make_insn_raw): Don't cache insns when GC'ing.
11675         (emit_insn_before): Likewise.
11676         (emit_insn_after): Likewise.
11677         (emit_insn): Likewise.
11678         (start_sequence): Use xmalloc to allocate the sequence_stack.
11679         (end_sequence): Add free to free it.
11680         (gen_sequence): Don't cache insns when GC'ing.
11681         (clear_emit_caches): Don't use sequence_element_free_list.
11682         (init_emit): Use xcalloc, not xmalloc+bzero.
11683         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
11684         * function.c (pop_function_context_from): Use free to free the
11685         fixup_var_refs_queue.
11686         (put_reg_into_stack): Allocate it with xmalloc.
11687         * genattrtab.c: Include ggc.h.
11688         (operate_exp): Don't use obstack_free when GC'ing.
11689         (simplify_cond): Likewise.
11690         (simplify_text_exp): Likewise.
11691         (optimize_attrs): Likewise.
11692         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
11693         GC'ing.
11694         (gencode): Generate a #include for ggc.h.
11695         * ggc-callbacks.c (ggc_p): Define it to zero.
11696         * ggc-none.c (ggc_p): Likewise.
11697         * ggc-simple.c: Include varray.h.
11698         (ggc_mark_tree_varray): New function.
11699         (ggc_add_tree_varray_root): Likewise.
11700         (ggc_mark_tree_varray_ptr): Likewise.
11701         * ggc.h (ggc_p): Declare.
11702         (varray_head_tag): Likewise.
11703         (ggc_add_tree_varray_root): Declare.
11704         * print-tree.c (print_node): Don't check for TREE_PERMANENT
11705         inconsistencies when GC'ing.
11706         * rtl.c: Include ggc.h.
11707         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
11708         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
11709         (rtx_free): Don't call obstack_free when GC'ing.
11710         * toplev.c (rest_of_compilation): Call ggc_collect after every
11711         pass, if GC'ing.
11712         * tree.c (push_obstacks): Do nothing, if GC'ing.
11713         (pop_obstacks_nochange): Likewise.
11714         (pop_obstacks): Likewise.
11715         (make_node): Use ggc_alloc_tree when GC'ing.
11716         (copy_node): Likewise.
11717         (get_identifier): Use ggc_alloc_string when GC'ing.
11718         (build_string): Likewise.
11719         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
11720         (tree_cons): Likewise.
11721         (build1): Likewise.
11722         (type_hash_canon): Don't call obstack_free when GC'ing.
11723
11724 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
11725
11726         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
11727         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
11728
11729 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
11730                           Bernd Schmidt <bernds@cygnus.co.uk>
11731                           Mark Mitchell  <mark@codesourcery.com>
11732
11733         * Makefile.in (stor-layout.o): Depend on ggc.h.
11734         (expr.o): Depend on ggc.h.
11735         (profile.o): Depend on ggc.h.
11736         (stor-layout.o): Depend on ggc.h.
11737         * emit-rtl.c (init_emit_once): Add gc roots.
11738         * expr.c: Include ggc.h.
11739         (emit_block_move): Add gc roots.
11740         (clear_storage): Likewise.
11741         * expr.h (init_stor_layout_once): New function.
11742         * profile.c: Include ggc.h.
11743         (init_arc_profiler): profiler_label is a root.
11744         * scan.c (make_sstring_space): Trust xrealloc to function
11745         correctly with first parameter NULL.
11746         * stor-layout.c: Include ggc.h.
11747         (set_sizetype): Add gc root.
11748         (init_stor_layout_once): New function.
11749         * toplev.c (compile_file): Call it.
11750
11751 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
11752                           Bernd Schmidt <bernds@cygnus.co.uk>
11753                           Mark Mitchell  <mark@codesourcery.com>
11754
11755         * Makefile.in (tree.o): Depend on ggc.h.
11756         (varasm.o): Likewise.
11757         (function.o): Likewise.
11758         (stmt.o): Likewise.
11759         (except.o): Likewise.
11760         (optabs.o): Likewise.
11761         (emit-rtl.o): Likewise.
11762         * emit-rtl.c: Include ggc.h.
11763         (sequence_element_free_list): Remove, and all references.
11764         (mark_sequence): New functions.
11765         (mark_emit_state): New function.
11766         * except.c: Include ggc.h.
11767         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
11768         (mark_tree_label_node): New functions.
11769         (mark_eh_state): New function.
11770         * function.c: Include ggc.h.
11771         (mark_temp_slot, mark_function_chain): New functions.
11772         (mark_function_state): New function.
11773         (init_function_once): New function.
11774         * function.h (init_function_once): New function.
11775         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
11776         * ggc.h (label_node): Declare.
11777         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
11778         (lang_mark_false_label_stack): New function.
11779         (mark_temp_slot): Remove declaration.
11780         (mark_function_chain): Likewise.
11781         (mark_eh_state): Adjust prototype.
11782         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
11783         Likewise.
11784         * optabs.c: Include ggc.h.
11785         (mark_optab): New function.
11786         (init_optabs): Add gc roots.
11787         * stmt.c: Include ggc.h.
11788         (mark_cond_nesting, mark_loop_nesting): New functions.
11789         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
11790         (mark_stmt_state): New function.
11791         * toplev.c (compile_file): Call init_function_once.
11792         * tree.c: Include ggc.h.
11793         (type_hash): Move declaration earlier in file.
11794         (TYPE_HASH_SIZE, type_hash_table): Likewise.
11795         (init_obstacks): Add gc roots.
11796         (mark_type_hash): New function.
11797         * varasm.c: Include ggc.h.
11798         (mark_pool_constant): New function.
11799         (mark_varasm_state): New function.
11800
11801 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11802
11803         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
11804
11805 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
11806
11807         * c-decl.c (struct language_function): Renamed from struct c_function.
11808         Delete elt NEXT.
11809         (c_function_chain): Delete.
11810         (push_c_function_context): New arg F.  Don't warn about nested
11811         functions here.  Fill LANGUAGE elt of F.  Delete code to update
11812         c_function_chain.  Don't call push_function_context.
11813         (pop_c_function_context): New arg F.  Restore from there instead of
11814         from c_function_chain.  Don't call pop_function_context.  Clear out
11815         LANGUAGE field of F when done.
11816         * c-lang.c: Include "function.h"
11817         (lang_init): Initialize save_lang_status and restore_lang_status.
11818         * c-parse.in (nested_function, nested_function_notype): Warn about
11819         nested functions.  Call push_function_context/pop_function_context
11820         instead of the _c_ variants.
11821         * c-tree.h (push_c_function_context, pop_c_function_context): Update
11822         prototype.
11823         * Makefile.in (c-lang.o): Update dependencies.
11824
11825         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
11826         regno_pointer_flag, regno_pointer_align.
11827         (gen_reg_rtx): Use xrealloc to enlarge them.
11828         (free_emit_status): New function.
11829         * function.c (mark_machine_status, mark_lang_status): New variables.
11830         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
11831         in some bits from assign_stack_local.  All callers changed to use new
11832         name.
11833         (assign_stack_local): Just call assign_stack_local_1.
11834         (free_after_compilation): New function.
11835         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
11836         (trampoline_address): Likewise.
11837         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
11838         (prepare_function_start): Explicitly clear some more variables.
11839         * function.h (struct function): New elt can_garbage_collect.
11840         (mark_machine_status, mark_lang_status): Declare variables.
11841         (free_after_compilation, free_emit_status, free_varasm_status,
11842         init_varasm_status): Declare functions.
11843         * toplev.c (rest_of_compilation): Call free_after_compilation when
11844         done with the current function.
11845         * varasm.c (free_varasm_status): New function.
11846
11847 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
11848
11849         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
11850         (EXPAND_BUILTIN_VA_ARG): Define.
11851         * sparc.c (sparc_va_start): New.
11852         (sparc_va_arg): New.
11853
11854 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11855
11856         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
11857
11858 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11859
11860         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
11861
11862 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
11863
11864         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
11865         (OBJS): Add $(GGC).
11866         (ggc-callbacks.o): New target.
11867         * ggc-callbacks.c: New file.
11868
11869 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11870
11871         * expr.h: Collapse individual optab and libfunc vars to arrays.
11872         (optab_index, libfunc_index): New enumerations.
11873         (optab_table, libfunc_table): New arrays.
11874         Add accessor macros for both.
11875
11876         * optabs.c (optab_table, libfunc_table): New.
11877         Delete declarations for individual optab and libfunc vars.
11878
11879 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
11880
11881         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
11882
11883 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
11884
11885         * Makefile.in (GGC, GGC_LIB): New.
11886         (HOST_RTL): Include ggc-none.o.
11887         (ggc-simple.o): New target.
11888         (ggc-none.o): Likewise.
11889         * tree.h (tree_common): Add gc_mark.
11890         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
11891         (struct rtvec_def): Add gc_mark.
11892         * emit-rtl.c (global_rtl): Update static initializers to contain
11893         enough initializers.
11894         * ggc.h, ggc-none.c, ggc-simple.c: New files.
11895         * toplev.c (gc_time): New variable.
11896         (all_time): New variable.
11897         (compile_file): Print gc time.
11898         (print_time): Calculate percentage of the whole.
11899
11900 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11901
11902         Change obstack memory management and varasm constant pool handling so
11903         that nested functions are treated like any other functions.
11904         * function.c (init_machine_status): New variable.
11905         (push_function_context_to): Set contains_functions for the outer
11906         function.  Don't call save_varasm_status.
11907         (pop_function_context_from): Don't call restore_varasm_status.  Don't
11908         set current_function_contains_functions.
11909         (prepare_function_start): Call init_varasm_status rather than
11910         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
11911         is non-null.
11912         * function.h (struct function) Add field varasm.  Delete fields
11913         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
11914         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
11915         (init_machine_status): Declare.
11916         (save_varasm_status, restore_varasm_status): Delete declarations.
11917         (save_tree_status, restore_tree_status): Delete last argument.
11918         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
11919         code.  All callers changed.
11920         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
11921         save_constants_in_decl_trees, restore_constants, save_constants,
11922         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
11923         functions.
11924         (inlining): New variable.
11925         (reg_map, label_map, insn_map, orig_asm_operands_vector,
11926         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
11927         variables.
11928         (save_for_inline_nocopy): Don't save constants.
11929         Don't set inl_emit field in current_function.
11930         (expand_inline_function): Use emit field, not inl_emit, of the inlined
11931         function.  Set new variable inlining before
11932         calling copy_rtx_and_substitute.
11933         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
11934         constant pool references if inlining is nonzero.
11935         Delete ADDRESS and (most of the) CONST cases.
11936         (output_inline_function): Save and restore current_function/
11937         current_function_decl.  Delete restore_constants code.  Don't call
11938         init_const_rtx_hash_table.
11939         * output.h (init_const_rtx_hash_table): Don't declare.
11940         * rtl.h (struct function): Declare.
11941         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
11942         * toplev.c (rest_of_compilation): Don't treat nested functions or
11943         functions containing them specially.  Delete all code to deal with
11944         save_for_inline_copying.
11945         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
11946         inline_obstacks): Delete variables.
11947         (save_tree_status): Lose arg CONTEXT.  All callers changed.
11948         Simply allocate a new function_maybepermanent_obstack for the new
11949         function, delete all the special cases.
11950         Don't save inline_obstacks.
11951         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
11952         Delete special handling for function_maybepermanent_obstack; simply
11953         free it if empty.
11954         Don't restore inline_obstacks.
11955         (permanent_allocation):  Delete code that frees inline_obstacks.
11956         (print_inline_obstack_statistics): Delete function.
11957         (dump_tree_statistics): Don't call it.
11958         * varasm.c (struct varasm_status): New.
11959         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
11960         last_pool, pool_offset, const_double_chain): Delete global
11961         variables, replace with accessor macros.
11962         (immed_double_const): Don't walk const_double_chain outside a
11963         function, but don't treat nested functions specially anymore.
11964         (immed_real_const_1): Likewise.
11965         (clear_const_double_mem): Don't treat nested functions specially.
11966         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
11967         (save_varasm_status, restore_varasm_status): Delete functions.
11968         (init_varasm_status): New function.
11969         (force_const_mem): Don't treat nested functions specially.
11970         (find_pool_constant): Accept new arg F, search for constants in
11971         that function's pool rather than the current one.  All callers
11972         changed.
11973         (get_pool_constant_for_function, get_pool_mode_for_function): New
11974         functions.
11975
11976         * i386.c (init_386_machine_status): New function, mostly from
11977         clear_386_stack_locals.
11978         (struct machine_functions): Rename element names to avoid name
11979         clashes.
11980         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
11981         macros, replacing global variables.
11982         (clear_386_stack_locals, save_386_machine_status,
11983         restore_386_machine_status): Delete functions.
11984         (override_options): Initialize init_machine_status.
11985         * i386.h (INIT_EXPANDERS): Delete macro.
11986         (save_386_machine_status, restore_386_machine_status,
11987         clear_386_stack_locals): Delete declarations.
11988
11989 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11990
11991         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
11992         (doloop_begin):  Simplify pattern and use emit_jump_insn.
11993         (doloop_end): Simplify pattern, switch operand order,
11994         and use emit_jump_insn.
11995
11996 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11997
11998         * function.h (struct function): Add new element LANGUAGE.
11999         (save_lang_status): Declare new variable.
12000         (restore_lang_status): Likewise.
12001         * function.c (save_lang_status): Define.
12002         (restore_lang_status): Likewise.
12003         (push_function_context_to): Call language-specific save function.
12004         (pop_function_context_from): Call language-specific restore function.
12005
12006 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
12007
12008         * i386.md (movsf_1): Check REG_P before use of REGNO.
12009         (movdf_1): Likewise.
12010         (movxf_1): Likewise.
12011         (extendsfdf2): Likewise.
12012         (extendsfxf2): Likewise.
12013         (extenddfxf2): Likewise.
12014
12015 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12016
12017         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
12018         constants into memory.
12019         (c4x_shiftable_constant): New function.
12020         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
12021         (c4x_shiftable_constant): Declare.
12022         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
12023         ashlqi3_noclobber): Add new patterns and associated splitters.
12024
12025 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
12026
12027         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
12028         * dwarf2out.c (dwarf2out_frame_init): Likewise.
12029         * final.c (shorten_branches): Likewise.
12030         * global.c (global_alloc): Likewise.
12031         * haifa-sched.c (build_control_flow): Likewise.
12032         * stmt.c (check_for_full_enumeration_handling): Likewise.
12033         (estimate_case_costs): Likewise.
12034
12035 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
12036
12037         * rtl.h (RTL_CHECKC2): Fix typo in last change.
12038
12039 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
12040
12041         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
12042         (recompute_reg_usage): Likewise.
12043         * rtlanal.c (find_regno_fusage): Likewise.
12044
12045         * rtl.c (rtl_check_failed_code1): New function.
12046         (rtl_check_failed_code2): New.
12047         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
12048         (RTL_CHECKC1, RTL_CHECKC2): New.
12049         (XC*): New accessor macros.
12050         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
12051         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
12052         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
12053         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
12054         (TRAP_*, RANGE_INFO_*): Likewise.
12055
12056 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12057
12058         * Makefile.in (tlink.o): Don't depend on toplev.h.
12059
12060         * collect2.c (c_file, o_file, export_file, import_file, ldout,
12061         output_file, nm_file_name, ldd_file_name, strip_file_name,
12062         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
12063         add_prefix, prefix_from_env, prefix_from_string, do_wait,
12064         fork_execute, maybe_unlink, add_to_list,
12065         extract_init_priority, write_list, dump_list,
12066         dump_prefix_list, write_list_with_asm, write_c_file,
12067         write_c_file_stat, write_c_file_glob, scan_prog_file,
12068         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
12069         ignore_library, extract_string, notice, dump_file, target_machine,
12070         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
12071         read_file, print_load_command): Constify a char*.
12072         (fdopen, error, fatal, fatal_perror): Don't prototype.
12073         (my_strerror): Remove.  All callers use xstrerror instead.
12074         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
12075         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
12076         to xcalloc/strcpy/strcat/...  to one call to concat.
12077         (main, scan_prog_file, scan_libraries): Use an intermediate
12078         `const char **' to build an argv array.
12079         (mapfile, libselect, libcompare, locatelib): Add prototypes.
12080
12081         * collect2.h (collect_execute, collect_wait, dump_file,
12082         file_exists): Constify a char*.
12083         (ldout, c_file_name, temporary_obstack, permanent_obstack,
12084         temporary_firstobj, vflag, debug): Add extern declarations.
12085         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
12086
12087         * tlink.c: Don't include toplev.h.
12088         (vflag, debug, ldout, c_file_name, temporary_obstack,
12089         permanent_obstack, temporary_firstobj): Don't declare.
12090         (tlink_execute, frob_extension, symbol_hash_lookup,
12091         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
12092         recompile_files, read_repo_files, demangle_new_symbols,
12093         scan_linker_output): Constify a char*.
12094         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
12095         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
12096
12097 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
12098
12099         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
12100         (relative) rather than jsr (absolute) subroutine call insns.
12101         * config/m68k/m68k-coff.h: Ditto.
12102
12103 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
12104
12105         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
12106         now rework these too.
12107         (arm_reorg): If an insn can't reach the end of the current pool,
12108         ensure that we emit that pool before the insn.
12109
12110 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
12111
12112         * tlink.c (scan_linker_output): Skip the initial underscore in
12113         a mangled name if appropriate.
12114
12115 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12116
12117         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
12118         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
12119         error_with_ivar, gen_declarator, create_builtin_decl,
12120         my_build_string, generate_descriptor_table, generate_ivars_list,
12121         generate_dispatch_table, check_protocols, TAG_GETCLASS,
12122         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
12123         dump_base_name, lang_decode_option, build_encode_expr,
12124         start_class, finish_class, encode_pointer, really_start_method,
12125         gen_declaration, dump_interface, handle_class_ref, handle_impent):
12126         Constify.
12127         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
12128         Add static prototypes.
12129         (build_objc_string_decl, build_selector_reference_decl,
12130         encode_bitfield, build_class_reference_decl): Remove unused
12131         parameter, all callers changed.
12132         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
12133         (objc_printable_name): Likewise.  Change second parameter to type int.
12134         (init_objc): Use memcpy, not bcopy, to avoid casts.
12135
12136 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
12137
12138         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
12139         reg notes on a deleted insn.
12140         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
12141
12142 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
12143
12144         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
12145
12146 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12147
12148         * stmt.c (expand_asm_operands): Fix index into inout_mode when
12149         reading it.
12150
12151 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
12152
12153         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
12154         * tm.texi (MD_ASM_CLOBBERS): Document it.
12155
12156 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
12157
12158         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
12159         * except.c (expand_rethrow): Remove unused variable.
12160         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
12161         * flow.c (replace_insns): Likewise.
12162         (create_edge_list, verify_edge_list): Likewise.
12163         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
12164
12165         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
12166         is special code to run.
12167         (main): Don't define operands to emit_operand.
12168         * genrecog.c (main): Don't emit an empty peephole2_insn function.
12169
12170         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
12171
12172         * alpha/alpha.h (normal_memory_operand): Declare.
12173         (reg_no_subreg_operand): Declare.
12174         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
12175
12176 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
12177
12178         * c-parse.in (compstmt_primary_start): New, broken out of first
12179         part of compstmt handling in primary.
12180         (primary): Use it.  Add an error clause.
12181         (compstmt_nostart): Renamed from compstmt; remove all
12182         initial invocations of compstmt_start.
12183         (compstmt): New.
12184
12185 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
12186
12187         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
12188         needed.
12189
12190 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
12191
12192         * combine.c (simplify_shift_const): Remove extra semicolon.
12193         * dwarf2out.c (remove_AT): Likewise.
12194         * expmed.c (expand_mult): Likewise.
12195         * gcov.c (create_program_flow_graph): Likewise.
12196         * reorg.c (mostly_true_jump): Likewise.
12197
12198 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
12199
12200         * fold-const.c (fold_range_test): Do not try to fold the range
12201         test if the rhs or lhs has side effects.
12202
12203         * combine.c (simplify_rtx): Recognize another case of a synthesized
12204         sign extension.
12205
12206         * varasm.c (mark_constant_pool): When marking indirect references,
12207         only look at SYMBOL_REFs.
12208
12209         * except.c (expand_fixup_region_end): Do not peek at
12210         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
12211
12212 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
12213
12214         * flags.h: New variables align_loops, align_loops_log,
12215         align_jumps, align_jumps_log, align_labels, align_labels_log,
12216         align_functions, align_functions_log.
12217         * toplev.c: Define them.
12218         (f_options): Handle -falign-* when they have no argument.
12219         (main): Add logic to set variables for -falign-functions,
12220         -falign-jumps, -falign-labels, -falign-loops.
12221         Make it -fsched-verbose=<n> and -finline-limit=<n>.
12222         (display_help): Change help to match options.
12223         * final.c (LABEL_ALIGN): Default to align_labels_log.
12224         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
12225         (LOOP_ALIGN): Default to align_loops_log.
12226         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
12227         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
12228         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
12229         * varasm.c (assemble_start_function): Handle align_functions.
12230
12231         * config/sparc/sparc.h: Don't declare sparc_align_*.
12232         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
12233         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
12234         sparc.c.
12235         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
12236         it's a promise.
12237         * config/sparc/sparc.c: Delete sparc_align_loops,
12238         sparc_align_jumps, sparc_align_funcs and the corresponding string
12239         variables.
12240         (sparc_override_options): Default align_functions on ultrasparc.
12241         Delete -malign-* handling.
12242
12243         * config/mips/mips.c (override_options):  On 64-bit targets,
12244         try to align code to 64-bit boundaries.
12245         (print_operand): New substitution, %~,
12246         which aligns labels to align_labels_log.
12247         * config/mips/mips.md (div_trap_normal): Use %~.
12248         (div_trap_mips16): Likewise.
12249         (abssi): Likewise.
12250         (absdi2): Likewise.
12251         (ffssi2): Likewise.
12252         (ffsdi2): Likewise.
12253         (ashldi3_internal): Likewise.
12254         (ashrdi3_internal): Likewise.
12255         (lshrdi3_internal): Likewise.
12256         (casesi_internal): Likewise.
12257
12258 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
12259
12260         Merge new ia32 backend from the branch!
12261
12262         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
12263         See ChangeLog.P2 on new_ia32_branch for details.
12264
12265         * rtl.h (stack_regs_mentioned_p): Delete prototype.
12266         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
12267         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
12268         * i386/gas.h (ASM_FILE_START): Define.
12269         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
12270         for name change of ix86_valid_decl_attribute_p.
12271         (i386_pe_valid_type_attribute_p): Similarly.
12272
12273 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
12274
12275         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
12276         to step through CC modes.
12277
12278 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12279
12280         * regmove.c (fixup_match_1): Don't move INSN in front of P if
12281         it would end up in the shadow of a live flags regsiter.
12282
12283 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12284
12285         * reload1.c: Fix many indentation problems.
12286         * reload.c: Likewise.
12287
12288 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
12289
12290         * alias.c (non_local_reference_p): Constify fmt.
12291
12292 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
12293
12294         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
12295
12296 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
12297
12298         * cse.c (delete_trivially_dead_insns): Do not delete stores to
12299         the internal_arg_pointer.
12300
12301 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
12302
12303         Merge peephole2 from new_ia32_branch:
12304         * Makefile.in (STAGESTUFF): Add *.peephole2.
12305         (mostlyclean): Likewise.
12306         (recog.o): Depend on resource.h.
12307
12308         * final.c (peephole): Conditionalize decl on HAVE_peephole.
12309         (final_scan_insn): Likewise for the invocation of peephole.
12310         * genconfig.c (main): Look for peephole and peephole2 patterns.
12311         Emit HAVE_peephole* accordingly.
12312         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
12313         * flags.h (flag_peephole2): Declare.
12314         * toplev.c: New pass peephole2.  New flag -fpeephole2.
12315
12316         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
12317         * gencodes.c (main): Likewise.
12318         * genextract.c (main): Likewise.
12319         * genoutput.c (main): Likewise.
12320         * genemit.c (max_operand_1): Look for the max scratch operand.
12321         (gen_rtx_scratch): New.
12322         (gen_exp): Use it, and pass on new arg subroutine_type.
12323         (gen_expand): Take max scratch into account.
12324         (gen_split): Emit peephole2 functions.
12325         (output_peephole2_scratch): New.
12326         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
12327         * genrecog.c (routine_type): Add PEEPHOLE2.
12328         (IS_SPLIT): New.
12329         (make_insn_sequence): Match outer parallel for peep2.  Discard
12330         top level scratches and dups.
12331         (add_to_sequence): New args insn_type and top.  Update all callers.
12332         Handle toplevel peep2 matching insns.
12333         (write_subroutine): Handle peep2.
12334         (write_tree_1): Likewise.
12335         (write_tree): Likewise.
12336         (main): Likewise.
12337         (change_state): New arg afterward.  Update all callers.
12338         Handle matching separate insns.
12339         * recog.c (recog_next_insn): New.
12340         (peephole2_optimize): New.
12341         * rtl.def (DEFINE_PEEPHOLE2): New.
12342         * resource.c (find_free_register): New argument last_insn.  Use it
12343         to find a register available through the entire span.
12344         * resource.h (find_free_register): Update prototype.
12345
12346 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
12347
12348         * i386.c (output_strlen_unroll): Don't write xops[7]
12349         label if it wasn't set.
12350
12351 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
12352
12353         * cpplib.c (struct directive): Const-ify name pointer and
12354         function pointer prototype.
12355         (validate_else, do_define, do_line, do_include, do_undef,
12356         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
12357         do_elif, do_endif, do_sccs, do_assert, do_unassert,
12358         do_warning): Const-ify second arg.
12359         (directive_table): Mark const.  Reorder entries by frequency
12360         of usage, record statistics.
12361
12362 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
12363
12364         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
12365         bounds- check RTL accesses if --enable-checking.
12366         (RTVEC_ELT): Bounds check if --enable-checking.
12367         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
12368         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
12369         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
12370         GET_NUM_ELEM.
12371         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
12372         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
12373
12374         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
12375         (NOTE_SOURCE_FILE): Use X0STR.
12376         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
12377         MEM_ALIAS_SET): Use X0INT.
12378         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
12379         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
12380         Use X0EXP.
12381         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
12382         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
12383         (rtl_check_failed_bounds, rtl_check_failed_type1,
12384         rtl_check_failed_type2, rtvec_check_failed_bounds): New
12385         functions.
12386         (fancy_abort): Fix comment.
12387
12388         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
12389         (cse_insn): Decrement LABEL_NUSES for jump target before
12390         deleting jump insn.
12391         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
12392         * final.c (alter_subreg): Compute regno before changing x to
12393         REG; set REGNO(x) after changing it.
12394         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
12395         notes containing CONST_INTs.
12396         (delete_eh_regions): Use NOTE_EH_HANDLER.
12397         * function.c (put_reg_into_stack): Make reg a MEM before
12398         initializing it.
12399         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
12400         delete insn.
12401         (gen_mem_addressof): Make reg a MEM before initializing it.
12402         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
12403         X0WINT.
12404         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
12405         deleting an insn, not after.
12406         (block_alloc): Only look at PATTERN(insn) if we have to, and
12407         only if it's format class 'i'.
12408         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
12409         CONST_INT before using its INTVAL.
12410         * print-rtl.c (print_rtx): Use X0STR.
12411         * regmove.c (fixup_match_1): Don't look at PATTERN of
12412         non-class-'i' insn chain elements.
12413         * reload.c (loc_mentioned_in_p): Take address of
12414         in->fld[1].rtx directly.
12415         * reload1.c (reload): Change reg to a MEM before initializing
12416         it.
12417         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
12418         have no names.
12419         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
12420
12421 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
12422
12423         * config/mips/mips.c (machine_dependent_reorg): Force a
12424         barrier to output the local constant pool if a barrier hasn't
12425         been found at a natural point in the instruction stream.
12426
12427 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12428
12429         * c-parse.in (language_string): Constify.
12430
12431         * dwarf2out.c (language_string): Remove declaration.
12432
12433         * dwarfout.c (language_string): Likewise.
12434
12435         * toplev.c (language_string, init_parse, finish_parse): Likewise.
12436
12437         * tree.h (language_string, init_parse, finish_parse): Declare.
12438
12439         * i386/sun386.h (language_string): Remove declaration.
12440
12441         * mips.h (language_string): Likewise.
12442
12443         * nextstep.h (language_string): Likewise.
12444
12445         * nextstep21.h (language_string): Likewise.
12446
12447         * rs6000.c (language_string): Likewise.
12448
12449 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12450
12451         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
12452         (getpwd.o): Remove target.
12453
12454         * getpwd.c: Delete file.  Its in libiberty now.
12455
12456         * dbxout.c (getpwd): Don't prototype.
12457         * dwarf2out.c (getpwd): Likewise
12458         * dwarfout.c (getpwd): Likewise
12459         * final.c (getpwd): Likewise.
12460         * protoize.c (getpwd): Likewise.
12461
12462 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12463
12464         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
12465
12466 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
12467
12468         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
12469         mark_set_resources.
12470
12471 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
12472
12473         * fixinc/Makefile.in (subdir): New.
12474         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
12475         (Makefile): New.
12476
12477 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
12478
12479         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
12480         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
12481         be shared.
12482
12483         * invoke.texi: Fix typo.
12484
12485         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
12486         changed.  Handle autoincrement addressing modes.
12487
12488         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
12489         just like we would the virtual incoming args register when
12490         integrating.
12491
12492 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
12493
12494         * rs6000.h (ASM_FILE_START): Specify complete filename, including
12495         path, in .file directive.
12496
12497 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
12498
12499         * gcc.texi (External Bugs): Remove obsolete note about Perl on
12500         SunOS.
12501
12502 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
12503
12504         * stdbool.h: Make the typedef name _Bool, with bool a #defined
12505         alias.
12506
12507 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12508
12509         * tree.c (tree_code_name): Constify a char*.
12510
12511         * tree.h (tree_code_name, decl_printable_name): Likewise.
12512
12513         * function.h (struct function): Likewise.
12514
12515         * toplev.c (decl_name, decl_printable_name): Likewise.
12516
12517         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
12518
12519         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
12520         (init_objc): Remove function pointer cast.
12521
12522 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
12523
12524         * pa.md (interspace_jump): New pattern.
12525         (builtin_longjmp): New expander.
12526
12527 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12528
12529         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
12530         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
12531         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
12532
12533 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
12534
12535         * jump.c (delete_prior_computation): Also check calls
12536         to constant functions.  Don't bother checking for a
12537         REG_UNUSED note before adding it.
12538         (delete_computation): Handle multi-word hard registers
12539         when synthesizing missing REG_DEAD notes for a register
12540         which is both set and used by an insn.
12541
12542 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12543
12544         * loop.c (this_loop_info): New variable.
12545         (loop_has_call, loop_has_volatile, loop_has_tablejump,
12546         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
12547         All uses updated.
12548         (prescan_loop, strength_reduce): New argument loop_info.  All callers
12549         updated.
12550         (scan_loop): New variable loop_info, initialise to address of
12551         this_loop_info.
12552         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
12553         Delete variable loop_has_multiple_exit targets and replace with
12554         field in this_loop_info.
12555         (find_and_verify_loops): Rename this_loop to this_loop_num.
12556         (strength_reduce): Delete loop_iteration_info.  Replace variable
12557         loop_info with function argument of same name.
12558         (insert_bct): Rework test for loop being completely unrolled.
12559
12560         * loop.h (struct loop_info): New fields num, loops_enclosed,
12561         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
12562         has_indirect_jump, and cont.  Redefine use of unroll_number.
12563         (loop_unroll_number): Delete.
12564
12565         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
12566         field of loop_info.
12567         (loop_iterations): Delete variable vtop and instead use
12568         loop_info->vtop computed in prescan_loop.
12569
12570 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
12571
12572         * fix-header.c (main): Do not pass a null pointer to strcmp.
12573
12574 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
12575
12576         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
12577         filenames.
12578         * configure: Rebuilt.
12579
12580 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
12581
12582         * jump.c (jump_optimize_1): Do not delete assignments to
12583         internal_arg_pointer.
12584         * cse.c (delete_trivially_dead_insns): Always consider a set of
12585         the internal_arg_pointer live.
12586
12587 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
12588
12589         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
12590         (update_life_info) [REG_WAS_0]: Search the original insns rather
12591         than the new insns for the note.  Fix typos finding note_dest.
12592         If no dest found, discard the note rather than abort.
12593         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
12594         (replace_insns): Remove the old insn list after update_life_info
12595         not before.
12596
12597 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
12598
12599         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
12600         sched_analyze_insn.
12601         (sched_analyze_1): Let add_dependence care for not adding dups.
12602         (sched_analyze_2): Likewise.
12603         (add_branch_dependences): Likewise.
12604
12605 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12606
12607         * i386/winnt.c (export_list): New type.
12608         (exports_head): Rename to
12609         (export_head):  this.
12610         (i386_pe_record_exported_symbol): Add is_data flag.
12611         (i386_pe_asm_file_end): Emit directive for exported variables.
12612         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
12613         prototype.
12614         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
12615         (ASM_DECLARE_OBJECT_NAME): Likewise.
12616         (ASM_DECLARE_FUNCTION_NAME): Likewise.
12617         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
12618
12619 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
12620
12621         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
12622
12623         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
12624         operand.
12625
12626 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
12627
12628         * config/openbsd.h: Define SET_ASM_OP.
12629         * tm.texi: cross-reference SET_ASM_OP in the index.
12630
12631 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
12632
12633         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
12634         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
12635         and class_narrowest_mode at compile time.  Kill init_rtl.
12636         Mark rtx_length, mode_class, mode_size, mode_unit_size,
12637         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
12638         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
12639         EXTRA_CC_NAMES.
12640         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
12641         format.
12642         * rtl.h: Declare rtx_length and rtx_format as const.
12643         * machmode.def: Define CC().  Use CC() to define CCmode.  If
12644         EXTRA_CC_MODES is defined, expand it here.
12645         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
12646         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
12647         const.  Kill all references to EXTRA_CC_MODES.
12648
12649         * toplev.c: Don't prototype or call init_rtl.
12650         * optabs.c: Don't call init_mov_optab.
12651         * genemit.c: Don't generate init_mov_optab.  Don't call
12652         init_rtl.
12653         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
12654         here.
12655         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
12656         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
12657         genrecog.c: Don't call init_rtl.
12658
12659         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
12660         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
12661         definition of EXTRA_CC_MODES.
12662
12663         * md.texi: Kill ref to EXTRA_CC_NAMES.
12664         * tm.texi: Document new way to define EXTRA_CC_MODES.
12665
12666         * genrecog.c: Do not look up the name of a define_split.
12667         (Unrelated bugfix.)
12668
12669 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
12670
12671         * config/v850/v850.md: Fix typo introduced by previous delta.
12672
12673 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12674
12675         * gcc.c (fatal): Make definition static to match prototype.
12676
12677 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12678
12679         * combine.c (get_last_value): Don't look for earlier sets if the last
12680         known set is somewhere in between the insns being combined.
12681
12682 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
12683
12684         * configure.in: Don't use shell ! to negate exit codes
12685         * configure: Regenerate
12686
12687 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
12688
12689         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
12690         the fact that ALIGN is measured in bits, not bytes.
12691
12692 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
12693
12694         * errors.c: New file; defines functions error, warning, and
12695         fatal, variables have_error and progname.
12696         * errors.h: New file; prototypes and decls for stuff in errors.c.
12697
12698         * Makefile: Add rules to build errors.o and
12699         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
12700         genopinit, genrecog, genextract, genpeep, genattr, and
12701         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
12702         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
12703         genpeep.o, genattr.o, and genoutput.o.
12704
12705         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
12706         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
12707         define or prototype fatal.  Set progname at beginning of main.
12708         * genoutput.c:  Likewise, and don't define or prototype error
12709         either.
12710
12711         * c-typeck.c (c_expand_start_case): Return immediately if exp
12712         is an ERROR_MARK.
12713         * fold-const.c (operand_equal_p): Return immediately if arg1
12714         or arg0 are ERROR_MARKs.
12715         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
12716         fields of type ERROR_MARK when calculating if the record can
12717         go in a register.
12718
12719 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
12720         with much help from Jeffrey A Law and Richard Henderson
12721
12722         * i386.md: In the 6 insns which call output_fix_trunc,
12723         earlyclobber operands[0].
12724
12725 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
12726
12727         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
12728         creating new registers.
12729
12730 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
12731
12732         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
12733         i386_reg_alloc_order, i386_regparm_string,
12734         i386_align_loops_string, i386_align_jumps_string,
12735         i386_align_funcs_string, i386_preferred_stack_boundary_string,
12736         and i386_branch_cost_string as type "const char *".
12737         * i386.c: Define all above strings as type "const char *".
12738
12739 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
12740
12741         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
12742         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
12743
12744 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
12745
12746         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
12747         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
12748
12749 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
12750
12751         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
12752         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
12753         (dwarf2out_line, dwarf2out_finish): Likewise.
12754         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
12755
12756 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
12757
12758         * tree.c (lang_unsave_expr_now) : Correct return type.
12759         * tree.h (lang_unsave_expr_now) : Same.
12760
12761 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
12762
12763         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
12764         instead of duplicating code.
12765
12766 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12767
12768         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
12769
12770 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
12771
12772         * tree.h: fancy_abort always takes three args.
12773         * resource.c: Move include of system.h before toplev.h.
12774
12775 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
12776
12777         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
12778         as SYMBOL_REFs.
12779
12780 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
12781
12782         * system.h: Don't redefine abort or trim_filename.
12783         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
12784         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
12785         whether or not __FUNCTION__ is available.
12786         * tree.h: Duplicate rtl.h's definition of abort, for files
12787         that don't include rtl.h.  Delete all code to perform type
12788         checking with a compiler other than GCC.
12789         * varray.h: Delete all code to perform type checking with a
12790         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
12791         its arguments exactly once, using a statement expression.
12792         Adjust the VARRAY_<type> accessor macros to match.
12793         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
12794         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
12795         caller's location.  Define fatal_insn and fatal_insn_not_found
12796         as macros that use _fatal_insn and _fatal_insn_not_found.
12797         (fancy_abort, trim_filename): Kill prototypes.
12798
12799         * rtl.c (trim_filename): Move here from toplev.c.
12800         (fancy_abort): New function.
12801         (DIR_SEPARATOR): Provide default definition.
12802         * tree.c (tree_check_failed, tree_class_check_failed): Go
12803         through fancy_abort.
12804         (tree_check, tree_class_check, cst_or_constructor_check,
12805         expr_check): Delete.
12806         * varray.c (varray_check_failed): New function.
12807         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
12808         _fatal_insn and _fatal_insn_not_found.  Go through
12809         fancy_abort.
12810         (trim_filename, fancy_abort): Delete.
12811
12812         * builtins.c (expand_builtin_args_info): Report ICE with abort.
12813         * except.c (start_catch_handler): Report ICE with error/abort
12814         combo.
12815         * final.c (output_operand_lossage): Likewise.
12816         * flow.c (verify_flow_info): Likewise.
12817
12818         * gcc.c: Prototype fatal.
12819         * gengenrtl.c: Undef abort after including rtl.h not system.h.
12820         * genattr.c, genattrtab.c, genemit.c, genextract.c,
12821         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
12822         Don't define fancy_abort.
12823
12824 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
12825
12826         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
12827         canonization.
12828
12829 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
12830
12831         * m88k.h (VERSION_INFO2): Kill.
12832         (VERSION_STRING): Kill.
12833         (TM_RCS_ID): Kill.
12834         (VERSION_INFO1): Tidy.
12835         (TARGET_VERSION): Update.
12836         * m88k/dgux.h (VERSION_INFO2): Kill.
12837         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
12838         * m88k/luna.h (VERSION_INFO1): Tidy.
12839         * m88k/sysv4.h (VERSION_INFO1): Likewise.
12840         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
12841         (output_file_start): Adjust for death of VERSION_STRING.
12842
12843 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
12844
12845         * cpplib.c (detect_if_not_defined): New function.
12846         (do_if): Use it to detect potential once-only headers.
12847
12848 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
12849
12850         * c-common.c (combine_strings): Always set TREE_CONSTANT.
12851
12852 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
12853
12854         * combine.c (nonzero_bits) : Allow single-ly set registers to be
12855         anywere in the function only if they are pseudos and set before
12856         being used (not live at the start of the function).
12857         (num_sign_bit_copies) : Same.
12858         (get_last_value_validate) : Same.
12859         (get_last_value) : Same.
12860
12861 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
12862
12863         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
12864         where N and M are constant and N is an integer multiple of M.
12865
12866 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12867
12868         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
12869         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
12870         sbitmap_union_of_preds): Add prototypes.
12871         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
12872         the intersection of successors with the new flow graph structures.
12873         (sbitmap_intersection_of_preds): New function to compute the
12874         intersection of predecessors with the new flow graph structures.
12875         (sbitmap_union_of_succs): New function to compute the union of
12876         successors with the new flow graph structures.
12877         (sbitmap_union_of_preds): New function to compute the union of
12878         predecessors with the new flow graph structures.
12879         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
12880         (expr_reaches_here_p): Use edge and basic_block structures instead
12881         of s_preds and s_succs.
12882         (compute_cprop_avinout): Use new sbitmap routines.
12883         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
12884         of s_preds and s_succs.
12885         * flow.c (compute_flow_dominators): Compute dominators using
12886         edges and basic blocks instead of s_preds and s_succs.
12887
12888 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
12889
12890         * lists.c (unused_insn_list, unused_expr_list): New file for
12891         maintaining various types of lists. New statics for maintaining a
12892         cache of available INSN_LIST and EXPR_LIST nodes.
12893         (free_list): Static function for freeing a list of INSN/EXPR nodes.
12894         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
12895         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
12896         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
12897         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
12898         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
12899         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
12900         (free_INSN_LIST_node): Free an individual INSN_LIST node.
12901         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
12902         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
12903         (remove_dependence, free_pending_lists): Use new global routines.
12904         (flush_pending_lists, sched_analyze_insn): Use new global routines.
12905         (sched_analyze, compute_block_backward_dependences): Use new routines.
12906         (sched_analyze_1, sched_analyze_2): Use new routines.
12907         (schedule_insns): Use new global routines.
12908         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
12909         prototypes.
12910         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
12911         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
12912         prototypes.
12913         * toplev.c (rest_of_compilation): Initialize node cache.
12914         * Makefile.in (OBJS): Add lists.o to list of object files.
12915         (lists.o): Add dependancies.
12916
12917 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
12918
12919         * config/v850/v850.md: Fix compile time warning messages.
12920         * config/v850/v850.c: Fix compile time warning messages.
12921         * config/v850/v850.h: Fix compile time warning messages.
12922
12923 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12924
12925         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
12926         Remove unused prototype for `init_lengths'.
12927
12928 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12929
12930         * calls.c (emit_call_1): Mark parameter `stack_size' with
12931         ATTRIBUTE_UNUSED.
12932         (expand_call): Initialize variable `insn'.
12933         (emit_library_call): Likewise for variable `high_to_save'.
12934         (emit_library_call_value): Likewise.
12935         (store_one_arg): Likewise for variables `lower_bound' and
12936         `upper_bound'.
12937
12938         * combine.c (try_combine): Likewise for variables `i2_code_number'
12939         and `other_code_number'.
12940         (find_split_point): Likewise for variables `pos', `unsignedp' and
12941         `inner'.
12942         (simplify_if_then_else): Likewise for variables `op' and `c1'.
12943         (simplify_and_const_int): Remove unused variable `width'.
12944         (merge_outer_ops): Likewise.
12945
12946         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
12947         HOST_WIDE_INT' when comparing against one.
12948         (simplify_relational_operation): Likewise.
12949         (cse_insn): Initialize variables `src_eqv_volatile',
12950         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
12951
12952         * final.c (init_final): Constify parameter `filename'.
12953         (final_start_function): Mark parameter `optimize' with
12954         ATTRIBUTE_UNUSED.
12955         (profile_function): Likewise for parameters `first' and `optimize'.
12956         (output_source_line): Likewise for parameter `file'.
12957
12958         * integrate.c (subst_constants): Cast a value to `size_t' when
12959         comparing against one.
12960         (mark_stores): Initialize variable `mode'.  Cast a value to
12961         `size_t' when comparing against one.
12962
12963         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
12964
12965         * loop.c (move_movables): Initialize variable `first'.
12966         (strength_reduce): Likewise for variable `increment'.
12967         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
12968         value to `size_t' when comparing against one.
12969         (load_mems): Initialize variable `end_label'.
12970
12971         * output.h (init_final): Constify parameter.
12972
12973         * reload.c (decompose): Initialize variable `base'.
12974
12975         * reload1.c (reload): Likewise for variable `is_scalar'.
12976         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
12977         (choose_reload_regs): Initialize variable `mode'.
12978         (emit_reload_insns): Likewise for variable `store_insn'.
12979         (reload_cse_noop_set_p): Mark parameter `insn' with
12980         ATTRIBUTE_UNUSED.
12981         (reload_combine): Initialize variable `set'.
12982
12983         * unroll.c (unroll_loop): Likewise for variable `local_label'.
12984         (copy_loop_body): Cast a value to `size_t' when comparing against
12985         one.
12986
12987         * varasm.c (assemble_variable): Initialize variable `size_tree'.
12988         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
12989         (remove_from_pending_weak_list): Mark parameter `name' with
12990         ATTRIBUTE_UNUSED.
12991
12992 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12993
12994         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
12995         gcse dump file.
12996
12997 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
12998
12999         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
13000         (ASM_DECLARE_FUNCTION_NAME): Define.
13001         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
13002         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
13003         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
13004         not already defined.
13005
13006 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13007
13008         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
13009         of n_popped when call/call_value are not defined.
13010
13011 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
13012
13013         * tm.texi: GNU CC -> GCC conversion.
13014         (CC1_SPEC): Indicate it is used for all language front ends.
13015
13016 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
13017
13018         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
13019         NOTE_INSN_EH_REGION_END correctly.
13020
13021 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
13022                           Jeff Law <law@cygnus.com>
13023
13024         * loop.c (strength_reduce): Automatically unroll loops if the
13025         unrolled loop size is smaller than the rolled loop size.
13026
13027         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
13028         and delete comment that code should be rewritten.
13029
13030 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
13031
13032         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
13033         as reachable.
13034
13035         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
13036
13037 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13038
13039         * fixinc/mkfixinc.sh: Don't fix uwin headers.
13040         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
13041         (LINK_SPEC): Add -u _main when building executables.
13042         (ASM_DECLARE_FUNCTION): Update from Cygwin.
13043         (ASM_FILE_END): Use the default for ix86-pe.
13044         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
13045
13046 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
13047
13048         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
13049         and ASM_CLOSE_PAREN are empty strings.
13050
13051 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
13052                           Geoffrey Keating <geoffk@cygnus.com>
13053
13054         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
13055         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
13056         (unprotoize.o): Ditto.
13057         (test-protoize-simple): Don't define STD_PROTO_DIR.
13058         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
13059         changes to make 'test-protoize-simple' pass.
13060         (STD_PROTO_DIR): Remove define.
13061         (STANDARD_EXEC_PREFIX): Supply default define.
13062         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
13063         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
13064         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
13065         (GET_ENV_PATH_LIST): New macro.
13066         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
13067         (do_processing): Initialize default_syscalls_dir using new
13068         macros.  Use it to initialize syscalls_absolute_filename.
13069
13070 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
13071
13072         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
13073         B into a register before emit_conditional_move.
13074
13075 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
13076
13077         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
13078         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
13079         multiplicand out of (+ (* a b) (* c d)).
13080
13081 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
13082                           Richard Henderson  <rth@cygnus.com>
13083
13084         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
13085         (new_insn_dead_notes): Likewise.
13086         (update_n_sets): Likewise.
13087         (update_flow_info): Move to flow.c, renamed to update_life_info;
13088         extend to handle multiple source insns.
13089         * flow.c: Include resource.h
13090         (unlink_insn_chain): New.
13091         (split_hard_reg_notes): New.
13092         (maybe_add_dead_note): New.
13093         (maybe_add_dead_note_use): New.
13094         (find_insn_with_note): New.
13095         (new_insn_dead_notes): New.
13096         (update_n_sets): New.
13097         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
13098         (maybe_remove_dead_notes): New.
13099         (update_life_info): New.
13100         (prepend_reg_notes): New.
13101         (replace_insns): New.
13102         * output.h (update_life_info): Declare.
13103         * recog.c (split_block_insns): Use update_life_info.
13104         * resource.c (find_free_register): Use reg_alloc_order, don't use
13105         fixed regs, make sure the mode is supported, don't use new regs.
13106         (reg_dead_p): New.
13107         * rtl.h (replace_insns): Declare.
13108
13109 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
13110
13111         * expr.c (expand_expr): Cope with COND_EXPRs with one
13112         non-returning branch.
13113
13114 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
13115
13116         * expr.c (store_expr): Always pass down the target, even when not
13117         doing CSE.
13118
13119 1999-08-24  Nick Clifton  <nickc@cygnus.com>
13120
13121         * configure.in: Define target_cpu_default for v850 targets.
13122         * configure: Regenerate
13123
13124         * config/v850/v850.h (TARGET_CPU_generic): Define.
13125         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
13126         addresses are 4 byte aligned.
13127
13128         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
13129         addresses.
13130
13131 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13132
13133         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
13134         (main): Add prototypes.
13135
13136         * genattrtab.c (substitute_address, write_const_num_delay_slots,
13137         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
13138         (write_attr_get): Emit prototypes along with function definition.
13139         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
13140         (write_complex_function): Emit static prototype along with
13141         function definition.
13142
13143         * genemit.c (gen_split): Emit prototypes along with function
13144         definition.
13145
13146         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
13147         Likewise for predicates and `insn_operand_predicate'.
13148         (process_template): Emit static prototype along with function
13149         definition.
13150
13151         * genrecog.c (make_insn_sequence): Constify a char*.  Add
13152         prototypes for get_split_*().
13153         (write_subroutine): Emit prototypes along with function
13154         definition.
13155
13156 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13157
13158         * gcse.c (find_avail_set): Follow chains of register-register copies.
13159         Use oprs_not_set_p to guarantee that the returned value can be
13160         substituted.
13161         (cprop_insn): Don't verify the return value of find_avail_set with
13162         oprs_not_set_p.
13163
13164         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
13165         (cprop_cc0_jump): New function.
13166         (cprop_insn): Break out new function cprop_jump and use it.
13167         Also use cprop_cc0_jump for machines with CC0.
13168         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
13169
13170         * tree.h (current_function_calls_setjmp,
13171         current_function_calls_longjmp): Delete declarations.
13172         * dsp16xx.c: Include "function.h".
13173         * elxsi.c: Likewise.
13174         * gmicro.c: Likewise.
13175         * h8300.c: Likewise.
13176         * i370.c: Likewise.
13177         * m32r.c: Likewise.
13178         * mn10200.c: Likewise.
13179         * mn10300.c: Likewise.
13180         * ns32k.c: Likewise.
13181         * spur.c: Likewise.
13182         * v850.c: Likewise.
13183
13184         * rtl.h (rtx_equal_function_value_matters): Declare.
13185         * toplev.c (rtx_equal_function_value_matters): Don't declare.
13186         * cse.c: Likewise.
13187         * function.c: Likewise.
13188         * emit-rtl.c: Likewise.
13189
13190 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
13191
13192         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
13193         call.
13194
13195 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13196
13197         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
13198         exactly.
13199
13200 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
13201
13202         * cpp.texi: Add a node documenting macro varargs (copied
13203         from extend.texi).
13204
13205 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
13206
13207         * cppspec.c: Put a null pointer at the end of the new argv.
13208
13209 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
13210
13211         * configure.in: Remove code to select/de-select the haifa
13212         scheduler.  Every scheduled port gets haifa now.
13213         * configure: Rebuilt.
13214         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
13215         * sched.c Deleted.
13216         * Makefile.in: Corresponding changes.
13217
13218 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13219
13220         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
13221         All callers changed.
13222         (prepare_float_lib_cmp): Likewise.
13223         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
13224         * expr.h (emit_float_lib_cmp): Delete declaration.
13225         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
13226         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
13227         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
13228         specially.
13229         (cmptf): Now conditional on TARGET_HARD_QUAD.
13230
13231 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
13232
13233         * resource.c (mark_target_live_regs): Use
13234         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
13235
13236 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13237
13238         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
13239
13240         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
13241
13242         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
13243
13244 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13245
13246         * rtl.h (rtx_format): Constify a char*.
13247
13248         * rtl.c (rtx_format): Likewise.
13249         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
13250         (init_rtl): Use accessor macro, not `rtx_format'.
13251
13252         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
13253         char*.
13254
13255         * caller-save.c (mark_referenced_regs): Likewise.
13256
13257         * combine.c (subst, make_compound_operation, known_cond,
13258         gen_rtx_combine, update_table_tick, get_last_value_validate,
13259         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
13260
13261         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
13262         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
13263         count_reg_usage): Likewise.
13264
13265         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
13266         Likewise.
13267
13268         * final.c (leaf_renumber_regs_insn): Likewise.
13269
13270         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
13271         dump_edge_info, count_reg_references): Likewise.
13272
13273         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
13274         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
13275         Likewise.
13276
13277         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
13278         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
13279         add_label_notes): Likewise.
13280
13281         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
13282         clear_struct_flag, count_sub_rtxs, count_alternatives,
13283         compares_alternatives_p, contained_in_p, walk_attr_value,
13284         write_expr_attr_cache): Likewise.
13285
13286         * genconfig.c (walk_insn_part): Likewise.
13287
13288         * genemit.c (max_operand_1, gen_exp): Likewise.
13289
13290         * genextract.c (walk_rtx): Likewise.
13291
13292         * genflags.c (num_operands): Likewise.
13293
13294         * genoutput.c (scan_operands): Likewise.
13295
13296         * genpeep.c (match_rtx): Likewise.
13297
13298         * genrecog.c (add_to_sequence): Likewise.
13299
13300         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
13301         Likewise.
13302
13303         * integrate.c (save_constants, copy_for_inline,
13304         copy_rtx_and_substitute, subst_constants, restore_constants):
13305         Likewise.
13306
13307         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
13308         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
13309
13310         * local-alloc.c (contains_replace_regs, memref_referenced_p):
13311         Likewise.
13312
13313         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
13314         add_label_notes, replace_call_address, count_nonfixed_reads,
13315         invariant_p, find_single_use_in_loop, find_mem_givs,
13316         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
13317         Likewise.
13318
13319         * print-rtl.c (reg_names, print_rtx): Likewise.
13320
13321         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
13322
13323         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
13324         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
13325         print_blocks): Likewise.
13326
13327         * regclass.c (fix_register, record_address_regs,
13328         reg_scan_mark_refs): Likewise.
13329
13330         * regmove.c (stable_but_for_p): Likewise.
13331
13332         * reload.c (loc_mentioned_in_p, operands_match_p,
13333         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
13334         copy_replacements, refers_to_regno_for_reload_p,
13335         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
13336         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
13337         Likewise.
13338
13339         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
13340         delete_address_reloads_1, count_occurrences,
13341         reload_cse_mem_conflict_p, reload_combine_note_use,
13342         add_auto_inc_notes): Likewise.
13343
13344         * resource.c (mark_referenced_resources, mark_set_resources):
13345         Likewise.
13346
13347         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
13348         reg_mentioned_p, regs_set_between_p, modified_between_p,
13349         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
13350         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
13351         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
13352         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
13353
13354         * sched.c (sched_analyze_2, attach_deaths): Likewise.
13355
13356         * stupid.c (stupid_mark_refs): Likewise.
13357
13358         * unroll.c (remap_split_bivs): Likewise.
13359
13360         * varasm.c (mark_constants): Likewise.
13361
13362         * a29k/a29k.c (uses_local_reg_p): Likewise.
13363
13364         * alpha/alpha.c (summarize_insn): Likewise.
13365
13366         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
13367         eliminate_lr2ip): Likewise.
13368
13369         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
13370
13371         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
13372         reg_mentioned_in_mem): Likewise.
13373
13374         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
13375         symbolic_reference_mentioned_p): Likewise.
13376
13377         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
13378
13379         * sh/sh.c (regs_used, mark_use): Likewise.
13380
13381         * vax/vax.c (vax_rtx_cost): Likewise.
13382
13383 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13384
13385         * machmode.h (mode_name): Constify a char*.
13386
13387         * rtl.c (mode_name): Likewise.
13388
13389         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
13390
13391         * optabs.c (init_libfuncs): Constify a char*.
13392
13393         * print-tree.c (mode_name): Remove redundant declaration.
13394         (print_node): Use accessor macro, not `mode_name'.
13395
13396         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
13397         not `mode_name'.
13398         (new_spill_reg): Constify a char*.
13399
13400         * tree.c (mode_name): Remove redundant declaration.
13401
13402 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13403
13404         * rtl.c (rtx_name): Constify a char*.
13405
13406         * rtl.h (rtx_name, fix_sched_param): Likewise.
13407
13408         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
13409         (mypr): Use accessor macro, not `rtx_name'.
13410
13411         * genemit.c (print_code): Constify a char*.
13412
13413         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
13414
13415         * genpeep.c (print_code): Constify a char*.
13416
13417         * genrecog.c (print_code): Likewise.
13418
13419         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
13420         end_bb): Add static prototype.
13421         (draw_edge): Constify a char*.
13422         (end_bb): Remove unused parameter.
13423
13424         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
13425         print_block_visualization): Constify a char*.
13426
13427 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
13428
13429         * c-common.c (c_get_alias_set): Update comment.
13430
13431 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
13432
13433         * linux.h (LIB_SPEC): Added.
13434
13435 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13436
13437         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
13438
13439 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
13440
13441         * tree.c (expr_check): Fix typo in last change.
13442
13443 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
13444
13445         * rtl.def (NOTE): Change format to "iuu0n".
13446         (ADDR_DIFF_VEC): Change format to "eEee0".
13447         (ADDRESSOF): Change format to "eit".
13448
13449         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
13450         (RTVEC_ELT): Change to match.
13451         (XVECEXP): Use XVEC and RTVEC_ELT.
13452         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
13453         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
13454         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
13455         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
13456         TRAP_CONDITION, TRAP_CODE): Use XEXP.
13457         (INTVAL): Use XWINT.
13458         (ADDRESSOF_DECL): Use XTREE.
13459         (SET_ADDRESSOF_DECL): Delete.
13460         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
13461         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
13462         ifdefed out since 2.6 at least.
13463         (gen_rtvec_vv): Delete prototype.
13464
13465         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
13466         not rtunion.
13467         (copy_most_rtx): Handle 't' format letter.
13468         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
13469         (gen_rtvec_vv): Delete function.  All callers changed to use
13470         gen_rtvec_v instead.
13471         * print-rtl.c (print_rtx): Move special casing of NOTEs to
13472         the '0' format letter.
13473
13474         * function.c (gen_mem_addressof): Don't use
13475         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
13476         instead.
13477         * integrate.c (copy_rtx_and_substitute): Likewise.
13478         Copy 't' slots with XTREE.
13479         (subst_constants): Treat 't' slots like '[swi]' slots.
13480         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
13481         * jump.c (rtx_equal_for_thread_p): Likewise.
13482         * rtlanal.c (rtx_equal_p): Likewise.
13483         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
13484         only four arguments.
13485         * gengenrtl.c (type_from_format): Provide correct types for
13486         'b' and 't' slots.
13487
13488
13489         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
13490         If a recent gcc is in use (always in stage2 and beyond), use
13491         statement expressions, so we don't make a function call unless
13492         the check fails.  Evaluate arguments exactly once.
13493         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
13494         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
13495         Delete.
13496         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
13497         they evaluate their arguments exactly once, irrespective of
13498         the compiler in use.
13499
13500         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
13501         is used by the currently-enabled check macros.  This is:
13502         (tree_check_failed, tree_class_check_failed): For gcc.
13503         (tree_check, tree_class_check, cst_or_constructor_check,
13504         expr_check): For other compilers.
13505
13506         * gencheck.c: Do not define any *_CHECK1 macros.
13507
13508 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
13509                           Mark Mitchell <mark@codesourcery.com>
13510
13511         * c-common.c (c_get_alias_set): Fix support for poitners and
13512         references.
13513
13514 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
13515
13516         * alias.c: Include tree.h.
13517         (nonlocal_reference_p, mark_constant_function): New functions.
13518         * flow.c (life_analysis): Call mark_constant_function.
13519         * rtl.h (mark_constant_function): Declare it.
13520
13521 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
13522
13523         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
13524         unrecognisable switches.
13525
13526 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13527
13528         * loop.c (recombine_givs): Set ix field after sorting.
13529         (recombine_givs): Remove bogus index / giv lockstep looping.
13530
13531 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13532
13533         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
13534         on CODE.
13535         (emit_store_flag_force): Use do_compare_rtx_and_jump.
13536         (do_cmp_and_jump): Formatting fixes.
13537         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
13538         do_compare_rtx_and_jump instead of compare_from_rtx.
13539         (do_compare_rtx_and_jump): New function; mostly copied from
13540         compare_from_rtx.
13541         (do_jump_for_compare): Delete.
13542         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
13543         MIN_EXPR.
13544         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
13545         of compare/do_jump_for_compare pairs.
13546         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
13547         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
13548         compare_from_rtx/do_jump_for_compare pairs.
13549         (do_jump_by_parts_equality): Likewise.
13550         (do_jump_by_parts_equality_rtx): Likewise.
13551         * expr.h (do_compare_rtx_and_jump): Declare.
13552         * optabs.c (prepare_cmp_insn): New function, contains most of the code
13553         that used to be in emit_cmp_insn.
13554         (cmp_available_p): New function.
13555         (prepare_operand): New function.
13556         (emit_cmp_and_jump_insn_1): New function, contains some code that used
13557         to be in emit_cmp_insn.
13558         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
13559         parameters to be pointers; don't emit final compare but modify some of
13560         the values pointed to by the args so the caller can perform the
13561         correct comparison.
13562         (expand_binop): Call emit_store_flag_force with signed forms of
13563         comparison code.
13564         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
13565         emit_jump_insn pair.
13566         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
13567         emit_cmp_and_jump_insn_1.  Call emit_queue.
13568         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
13569         arg.
13570         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
13571         jump sets cc0 before deleting it.
13572         * integrate.c (expand_inline_function): Likewise.
13573         * unroll.c (unroll_loop): Similar changes in several places.
13574         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
13575         before deleting it.
13576
13577 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13578
13579         * Makefile.in (insn-recog.o): Update dependencies.
13580         * genrecog.c (main): Make generated file include "function.h".
13581
13582 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
13583
13584         * cse.c (cse_insn): Call never_reached_warning when a jump is
13585         changed to be unconditional.
13586         * flags.h: Declare warn_notreached.
13587         * flow.c (delete_block): Call never_reached_warning when
13588         a block is deleted.
13589         * jump.c (delete_barrier_successors): Call never_reached_warning
13590         when we delete everything after a BARRIER.
13591         (never_reached_warning): New function.
13592         * rtl.h: Declare never_reached_warning.
13593         * toplev.c (warn_notreached): New variable.
13594         (lang_independent_options): Set warn_notreached
13595         when -Wunreachable-code.
13596         (compile_file): We need line numbers for -Wunreachable-code.
13597
13598 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
13599
13600         * haifa-sched.c (insn_unit): Fix typo on out of range test.
13601         * sched.c (insn_unit): Likewise.
13602
13603 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
13604
13605         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
13606
13607 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13608
13609         * flow.c (create_edge_list): Use xmalloc, not malloc.
13610
13611 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
13612
13613         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
13614         C-style comments.  Do not lose the character before double slash.
13615
13616 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13617
13618         * basic-block.h (struct edge_list): Stucture to maintain a vector
13619         of edges.
13620         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
13621          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
13622         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
13623         New function prototypes.
13624         * flow.c (create_edge_list): Function to create an edge list.
13625         (free_edge_list): Discards memory used by an edge list.
13626         (print_edge_list): Debug output showing an edge list.
13627         (verify_edge_list): Internal consistency check for an edge list.
13628         (find_edge_index): Function to find an edge index for a pred and succ.
13629
13630 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
13631
13632         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
13633         hashtable.
13634
13635 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
13636
13637         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
13638
13639 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13640
13641         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13642
13643 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
13644
13645         * toplev.c (rest_of_compilation): Allow machine dependent
13646         reorganisation pass to place information into the RTL dump
13647         file if it so wishes.
13648
13649 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
13650
13651         * explow.c (hard_function_value): Use VOIDmode instead of
13652         MAX_MACHINE_MODE.
13653         * stmt.c (expand_return): Likewise.
13654         * stor-layout.c (get_best_mode): Likewise.
13655
13656         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
13657         emit call instead of emit_insn call.
13658
13659 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13660
13661         * configure.in: Handle --disable/enable-win32-registry.
13662         * install.texi: Document --disable/enable-win32-registry.
13663         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
13664         (WIN32_REGISTRY_KEY): New macro.
13665         * prefix.c: Use to enable/disable win32-specific code.
13666         (lookup_key): Use versioned key.
13667         * configure: Regenerate.
13668         * config.in: Likewise.
13669
13670 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
13671
13672         * cpplib.c (read_line_number): New fn, split out of...
13673         (do_line): Here.
13674
13675 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13676
13677         tree.c (lang_unsave_expr_now) : New.
13678         (unsave_expr_now): Call lang_unsave_expr_now.
13679         tree.h (lang_unsave_expr_now) : New.
13680
13681 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
13682
13683         * toplev.c (flag_new_exceptions): On by default.
13684
13685 1999-08-13  Michael Meissner  <meissner@cygnus.com>
13686
13687         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
13688
13689 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
13690
13691         * dwarfout.c (fundamental_type_code): Return FT_boolean for
13692         INTEGER_TYPE with precision==1, it's __java_boolean.
13693
13694 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13695
13696         * global.c (prune_preferences): Move some invariants out of the
13697         inner loop.
13698
13699 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
13700
13701         * configure.in (alpha*-dec-osf*): Add osf5.
13702
13703 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
13704
13705         * configure.in: Rework handling of ARM GNU/Linux slightly.
13706         (arm*-*-linux-gnuoldld): New target.
13707         * configure: Regenerate.
13708         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
13709         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
13710         * config/arm/linux-oldld.h: New file.
13711         * config/arm/linux-elf26.h: Don't include linux-elf.h.
13712         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
13713         Don't define.
13714         * config/arm/linux-elf.h (ASM_SPEC): Define.
13715         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
13716         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
13717         for 26-bit APCS and old linker.
13718         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
13719         `arm_elf'.
13720         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
13721         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
13722         don't define `arm' or `arm_elf'.
13723         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
13724         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
13725
13726 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
13727
13728         * rtl.texi: Fix typo.
13729
13730 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
13731
13732         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
13733
13734 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
13735
13736         * extend.texi (C++ Signatures): Remove node.
13737         * invoke.texi: Remove discussion of -fhandle-signatures,
13738         signature, sigof, __signature__, and __sigof__.
13739
13740 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
13741
13742         * Makefile.in (JAVAGC): Removed.
13743
13744 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13745
13746         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
13747
13748 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
13749
13750         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
13751
13752 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
13753
13754         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
13755         a register that is already known to be a pointer.
13756
13757 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
13758
13759         * fixinc/inclhack.tpl: Only install assert.h conditionally.
13760         * fixinc/inclhack.sh: Regenerated.
13761         * fixinc/fixincl.sh: Regenerated.
13762
13763 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
13764
13765         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
13766         Fix documentation of -ansi flag to describe its C++ behavior.
13767         Remove bogus reference to GCC 2.9.
13768
13769 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
13770
13771         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
13772         note if it is non-NULL.
13773
13774 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13775
13776         * except.h (eh_nesting_info): Add new structure defintion.
13777         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
13778         (reachable_handlers, update_rethrow_references): Add function
13779         prototypes.
13780         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
13781         a rethrow symbol instead of an integer exception region number.
13782         * flow.c (Make_edges): Use new exception nesting routines to determine
13783         which handlers are reachable from a CALL or asynchronous insn.
13784         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
13785         goto receivers.
13786         (delete_eh_regions): Update rethrow labels, and don't delete
13787         regions which are the target of a rethrow.
13788         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
13789         avoid overloading the SYMBOL_REF_USED flag.
13790         (rethrow_symbol_map): Use new rethrow_ref field.
13791         (rethrow_used): Use new rethrow_ref field.
13792         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
13793         of an integer.  Fix formatting.
13794         (output_exception_table_entry): Use new rethrow_ref field.
13795         (can_throw): Check for EH_REGION_NOTE before deciding
13796         whether a CALL can throw or not.
13797         (scan_region): Call rethrow_used() instead of accessing data structure.
13798         (update_rethrow_references): New function to make sure only regions
13799         which are still targets of a rethrow are flagged as such.
13800         (process_nestinfo): New static function to initialize a handler
13801         list for a specific region.
13802         (init_eh_nesting_info): New function to allocate and initialize
13803         the list of all EH handlers reachable from all regions.
13804         (reachable_handlers): New function to retrieve the list of handlers
13805         reachable from a specific region and insn.
13806         (free_eh_nesting_info): New function to dispose of a list of
13807         reachable handlers.
13808
13809 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13810
13811         * flow.c (split_edge): Set JUMP_LABEL field.
13812         (commit_one_edge_insertion): Set head correctly for insert_before.
13813         When inserting insns, update insn block numbers if allocated.
13814
13815 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13816
13817         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
13818         retry_incomplete_types): Add static prototype.
13819         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
13820         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
13821         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
13822         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
13823         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
13824         Constify a char*.
13825
13826         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
13827         dwarf2out_start_source_file, dwarf2out_line): Likewise.
13828
13829 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13830
13831         * output.h (assemble_name): Constify a char*.
13832
13833         * varasm.c (UNIQUE_SECTION, assemble_start_function,
13834         assemble_variable, assemble_name): Likewise.
13835
13836         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
13837
13838         * arm/pe.c (arm_pe_unique_section): Likewise.
13839
13840         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
13841
13842         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
13843
13844         * i386/interix.c (i386_pe_unique_section): Likewise.
13845
13846         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
13847
13848         * i386/winnt.c (i386_pe_unique_section): Likewise.
13849
13850         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
13851
13852         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
13853
13854         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
13855
13856         * pa/pa.c (output_call): Likewise.
13857
13858         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
13859
13860         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
13861
13862         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
13863         Likewise.
13864
13865         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
13866         Likewise.
13867
13868         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
13869
13870         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
13871         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
13872
13873         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
13874
13875 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13876
13877         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
13878
13879 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13880
13881         * tree.h (lang_identify): Constify a char*.
13882         (print_error_function): Add extern prototype.  Constify a char*.
13883
13884         * c-lang.c (lang_identify): Constify a char*.
13885
13886         * objc/objc-act.c (lang_identify): Constify a char*.
13887
13888 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13889
13890         * genpeep.c (main): Make generated file include "function.h".
13891         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
13892
13893 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13894
13895         * Makefile.in: Update dependencies.
13896         * alias.c: Include "function.h"
13897         * c-decl.c: Likewise.
13898         * caller-save.c: Likewise.
13899         * calls.c: Likewise.
13900         * combine.c: Likewise.
13901         * cse.c: Likewise.
13902         * explow.c: Likewise.
13903         * final.c: Likewise.
13904         * global.c: Likewise.
13905         * graph.c: Likewise.
13906         * local-alloc.c: Likewise.
13907         * loop.c: Likewise.
13908         * optabs.c: Likewise.
13909         * profile.c: Likewise.
13910         * recog.c: Likewise.
13911         * regclass.c: Likewise.
13912         * regmove.c: Likewise.
13913         * reload.c: Likewise.
13914         * reorg.c: Likewise.
13915         * resource.c: Likewise.
13916         * sched.c: Likewise.
13917         * stupid.c: Likewise.
13918         * config/1750a/1750a.c: Likewise.
13919         * config/a29k/a29k.c: Likewise.
13920         * config/arc/arc.c: Likewise.
13921         * config/arm/arm.c: Likewise.
13922         * config/arm/thumb.c: Likewise.
13923         * config/c4x/c4x.c: Likewise.
13924         * config/clipper/clipper.c: Likewise.
13925         * config/convex/convex.c: Likewise.
13926         * config/fx80/fx80.c: Likewise.
13927         * config/i860/i860.c: Likewise.
13928         * config/m68k/m68k.c: Likewise.
13929         * config/m88k/m88k.c: Likewise.
13930         * config/mips/mips.c: Likewise.
13931         * config/pdp11/pdp11.c: Likewise.
13932         * config/pyr/pyr.c: Likewise.
13933         * config/romp/romp.c: Likewise.
13934         * config/sh/sh.c: Likewise.
13935         * config/tahoe/tahoe.c: Likewise.
13936         * config/vax/vax.c: Likewise.
13937         * config/we32k/we32k.c: Likewise.
13938         * config/sparc/sparc.c: Include "function.h".
13939         (mem_min_alignment): Test current_function rather than
13940         regno_pointer_align.
13941         * config/pa/pa.c: Likewise.
13942         (compute_frame_size): Delete declaration of
13943         current_function_outgoing_args_size.
13944         * config/arc/arc.h (current_function_varargs): Delete declaration.
13945         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
13946         declaration.
13947         * config/i370/i370.h (current_function_outgoing_args_size): Delete
13948         declaration.
13949         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
13950         current_function_uses_pic_offset_table.
13951         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
13952         of current_function_returns_pointer.
13953         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13954         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13955         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13956         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13957         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13958         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
13959         * config/m88k/m88k.c: Include "function.h"
13960         (call_used_regs, current_function_pretend_args_size,
13961         current_function_outgoing_args_size, frame_pointer_needed): Delete
13962         declarations.
13963         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
13964         declaration.
13965         * config/mips/mips.h (current_function_calls_alloca): Delete
13966         declaration.
13967         * config/mn10200/mn10200.h (current_function_needs_context,
13968         rtx_equal_function_value_matters): Delete declarations.
13969         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
13970         flag_pic): Delete declarations.
13971         * config/pa/pa.h (current_function_pretend_args_size,
13972         current_function_decl): Delete declarations.
13973         * config/pa/som.h (current_function_varargs): Delete declaration.
13974         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
13975         declaration.
13976         * config/pyr/pyr.h (current_function_pretend_args_size,
13977         current_function_args_size, current_function_calls_alloca): Delete
13978         declarations.
13979         * config/sh/sh.h (current_function_varargs): Delete declaration.
13980         * config/sparc/sparc.h (current_function_outgoing_args_size,
13981         current_function_calls_alloca, current_function_decl): Delete
13982         declarations.
13983         * config/spur/spur.h (current_function_pretend_args_size,
13984         current_function_calls_alloca): Delete declarations.
13985         * config/v850/v850.c (current_function_outgoing_args_size): Delete
13986         declaration.
13987         * config/vax/vms.h (current_function_name): Delete declaration.
13988         * gcse.c: Include "function.h".
13989         (current_function_name, current_function_calls_setjmp): Delete
13990         declarations.
13991         * haifa-sched.c: Include "function.h".
13992         (forced_labels): Delete declaration.
13993         * jump.c: Likewise.
13994         * reg-stack.c: Likewise.
13995         * reload1.c: Likewise.
13996         * genemit.c (main): Make generated file include function.h.
13997         * genoutput.c (output_prologue): Likewise.
13998
13999         * builtins.c (saveregs_value, apply_args_value): Delete variables.
14000         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
14001         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
14002         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
14003         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
14004         macros for some of them.
14005         (emit_filename, emit_lineno): Delete declarations.
14006         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
14007         regno_pointer_* variables through current_function.
14008         (gen_inline_header_rtx): Delete function.
14009         (save_emit_status): Delete function.
14010         (set_new_last_label_num): New function.
14011         (clear_emit_caches): New function.
14012         (restore_emit_status): Just clear last_labelnum and call
14013         clear_emit_caches.
14014         (get_last_insn_anywhere): Variable sequence_stack is now accessed
14015         through macro seq_stack.
14016         (add_insn_after): Likewise.
14017         (add_insn_before): Likewise.
14018         (remove_insn): Likewise.
14019         (pop_topmost_sequence): Likewise.
14020         (in_sequence_p): Likewise.
14021         (start_sequence_for_rtl_expr): Likewise.
14022         (start_sequence): Likewise, and likewise for
14023         sequence_rtl_expr/seq_rtl_expr.
14024         (push_topmost_sequence): Likewise.
14025         (end_sequence): Likewise.
14026         (init_virtual_regs): Now takes a "struct emit_status *" argument.
14027         All callers changed.  Store into that pointer instead of globals.
14028         (init_emit): Allocate emit elt of current_function.
14029         Changes for sequence_rtl_expr/sequence_stack renaming.
14030         Call clear_emit_caches instead of doing it in-line.
14031         Access regno_pointer_* variables through current_function.
14032         (init_emit_once) Don't clear sequence_stack.
14033
14034         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
14035         Delete variables.
14036         (arg_pointer_save_area): Delete declaration.
14037         (finish_expr_for_function): Renamed from init_queue; no longer static.
14038         (init_expr): Don't call init_queue.
14039         (save_expr_status, restore_expr_status): Delete functions.
14040         (expand_expr): Changes to reflect new layout of struct function.
14041         Don't access current_function_check_memory_usage when current_function
14042         is 0.
14043         * expr.h (forced_labels, save_expr_regs, saveregs_value,
14044         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
14045         current_function_outgoing_args_size, current_function_arg_offset_rtx,
14046         current_function_uses_const_pool, function_call_count,
14047         current_function_uses_pic_offset_table, nonlocal_labels,
14048         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
14049         current_function_check_memory_usage, nonlocal_goto_handler_slots,
14050         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
14051         declarations.
14052         (finish_expr_for_function): Declare.
14053         * flags.h (current_function_has_nonlocal_label,
14054         current_function_has_nonlocal_goto, current_function_is_thunk,
14055         current_function_has_computed_jump): Delete declarations.
14056         * flow.c (forced_labels): Delete declaration.
14057         * function.c (current_function_pops_args,
14058         current_function_returns_struct, current_function_returns_pcc_struct,
14059         current_function_needs_context, current_function_calls_setjmp,
14060         current_function_calls_longjmp, current_function_has_nonlocal_label,
14061         current_function_has_nonlocal_goto, current_function_is_thunk,
14062         current_function_has_computed_jump, current_function_calls_alloca,
14063         current_function_contains_functions, current_function_returns_pointer,
14064         current_function_epilogue_delay_list, current_function_args_size,
14065         current_function_pretend_args_size, current_function_arg_offset_rtx,
14066         current_function_outgoing_args_size, current_function_varargs,
14067         current_function_stdarg, current_function_args_info, cleanup_label,
14068         current_function_name, current_function_uses_const_pool,
14069         current_function_instrument_entry_exit, current_function_return_rtx,
14070         current_function_uses_pic_offset_table, nonlocal_labels,
14071         current_function_internal_arg_pointer, current_function_cannot_inline,
14072         current_function_check_memory_usage, function_call_count,
14073         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
14074         nonlocal_goto_stack_level, return_label, save_expr_regs,
14075         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
14076         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
14077         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
14078         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
14079         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
14080         Delete variables.
14081         (push_function_context_to): Don't save them.  Don't call
14082         save_storage_status, save_emit_status or save_expr_status.
14083         (pop_function_context_from): Don't restore them.  Don't call
14084         restore_storage_status or restore_expr_status.
14085         (get_func_frame_size): New function.
14086         (get_frame_size): Use it.
14087         (assign_outer_stack_local): Reflect some member name changes in struct
14088         function.
14089         (put_reg_into_stack): Likewise.
14090         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
14091         seq_rtl_expr.
14092         (fixup_var_refs): Likewise.
14093         (fix_lexical_addr): Likewise.
14094         (trampoline_address): Likewise.
14095         (prepare_function_start): Clear field inlinable of current_function.
14096         (init_function_for_compilation): New function.
14097         (expand_dummy_function_end): New function.
14098         (expand_function_end): Call finish_expr_for_function.
14099         * function.h (struct emit_status): New; fields moved here from struct
14100         function and from global variables.  Add accessor macros for some of
14101         the fields.
14102         (struct expr_status): Likewise.
14103         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
14104         (struct function): Add fields expr and emit, inlinable, inl_emit,
14105         original_arg_vector, original_decl_initial, inl_last_parm_insn,
14106         inl_max_label_num.  Add many comments.
14107         Add accessor macros for all elts of struct function that no longer
14108         have a global variable.
14109         (cleanup_label, return_label, frame_offset, tail_recursion_label,
14110         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
14111         stack_slot_list): Delete declarations.
14112         (get_func_frame_size): Declare.
14113         (save_expr_status, restore_expr_status, save_emit_status,
14114         save_storage_status, restore_storage_status): Delete declarations.
14115         (init_virtual_regs): Declare.
14116         * output.h (current_function_pops_args,
14117         current_function_returns_struct, current_function_returns_pcc_struct,
14118         current_function_needs_context, current_function_calls_setjmp,
14119         current_function_calls_longjmp, current_function_calls_alloca,
14120         current_function_has_nonlocal_label, current_function_varargs,
14121         current_function_has_computed_jump, current_function_returns_pointer,
14122         current_function_contains_functions, current_function_args_size,
14123         current_function_pretend_args_size, current_function_stdarg,
14124         current_function_outgoing_args_size, current_function_args_info,
14125         current_function_name, current_function_return_rtx,
14126         current_function_epilogue_delay_list,
14127         current_function_uses_const_pool, current_function_cannot_inline):
14128         Delete declarations.
14129         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
14130         regno_reg_rtx): Delete declaration.
14131         (REGNO_POINTER_FLAG): Delete macro.
14132         * stmt.c (expand_goto): Changes to reflect that some fields in struct
14133         function were renamed.
14134         * stor-layout.c (save_storage_status, restore_storage_status): Delete
14135         functions.
14136         * toplev.c: Include "function.h".
14137         (current_function_decl): Delete declaration.
14138         (compile_file): Call init_dummy_function_start and
14139         expand_dummy_function_end around some initializations that need to
14140         emit rtl.
14141         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
14142         Call init_function_for_compilation.
14143         * unroll.c: Include "function.h"
14144         (unroll_loop): Access regno_pointer_* variables through
14145         current_function.
14146
14147         * tree.h (struct tree_decl): Add elt f to saved_insns member.
14148         (DECL_SAVED_INSNS): use it.
14149         (expand_dummy_function_end): Declare.
14150         (init_function_for_compilation): Declare.
14151         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
14152         that it's no longer an INLINE_HEADER.
14153         (expand_call): Likewise.
14154         * integrate.c (finish_inline): Delete function.
14155         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
14156         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
14157         args.  Don't generate an INLINE_HEADER rtx, just return the arg
14158         vector.  All callers changed.
14159         (save_for_inline_copying):  Create a duplicate struct emit_status to
14160         hold the emit state for compiling the current function.  Use this and
14161         the other new fields in struct function that are for integration
14162         instead of an INLINE_HEADER.
14163         Use memcpy instead of bcopy.
14164         Store the current struct function in DECL_SAVED_INSNS of fndecl.
14165         (save_for_inline_nocopy): Similar changes, except no new emit_status
14166         is needed here.
14167         (expand_inline_function): Get information from function structure,
14168         not from an inline header rtx.
14169         (output_inline_function): Lose code to extract the necessary
14170         information from an inline header; simply put back the function
14171         structure into current_function.  Clear its inlinable elt.
14172         * rtl.def (INLINE_HEADER): Delete.
14173         * rtl.h: Delete all accessors for an INLINE_HEADER.
14174         (gen_inline_header_rtx): Delete declaration.
14175         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
14176         Delete declarations.
14177         (REGNO_POINTER_ALIGN): Delete.
14178         (clear_emit_caches): Declare.
14179         (set_new_last_label_num): Declare.
14180
14181 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
14182
14183         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
14184
14185         * except.c (expand_eh_region_start_for_decl): Always start a new block.
14186         * stmt.c (is_eh_region): Make sure current_function is present, too.
14187
14188 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
14189
14190         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
14191         for 64bit PA targets.
14192
14193         * pa.h (SELECT_SECTION): Define.
14194         * som.h (SELECT_SECTION): Delete.
14195
14196 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14197
14198         * alias.c (init_alias_analysis): Wrap call to
14199         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
14200
14201 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
14202
14203         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
14204         <sys/asm.h> contains an asm comment with an apostrophe
14205         * fixinc/inclhack.sh:  regen
14206         * fixinc/fixincl.x:  regen
14207
14208 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
14209
14210         * function.c (init_function_start): Clear prologue & epilogue.
14211         (prologue_epilogue_contains): New function.
14212         * alias.c (init_alias_analysis): Use it.
14213         * rtl.h (prologue_epilogue_contains): Declare it.
14214
14215 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
14216
14217         * jump.c (onlyjump_p): New function.
14218         * rtl.h: Declare it.
14219         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
14220         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
14221
14222 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
14223
14224         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
14225         to invert loops.  Simplify block scanning.
14226
14227 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
14228
14229         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
14230         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
14231
14232 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14233
14234         * config/sparc/liteelf.h: New file to support sparclite-elf target
14235         * config/sparc/t-sp86x: New file to support sparc86x targets
14236         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
14237         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
14238         * configure.in: Support above target triplets
14239         * configure: Regenerated
14240
14241 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
14242
14243         * fixinc/server.c (server_setup): Do not prefix function used as
14244         parameter with `&'.
14245
14246 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
14247
14248         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
14249         Remove fp reg alternatives.
14250
14251 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
14252
14253         * Makefile.in (TAROUTOPTS): Kill.
14254         (install-headers-tar): Use "xpf" for tar headerfile extraction
14255         * i370/x-oe (TAROUTOPTS): Delete.
14256         * m68k/x-apollo68 (TAROUTOPTS): Delete.
14257         * m68k/x-hp320 (TAROUTOPTS): Delete.
14258         * m68k/x-hp320g (TAROUTOPTS): Delete.
14259         * gcc.texi: Update bug reporting text.
14260
14261 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14262
14263         * reg-stack.c (change_stack) Fixed problem with negative array index.
14264
14265 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
14266
14267         * extend.texi, install.texi: Fix spelling mistakes.
14268
14269         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
14270         (s-attrtab); No longer try to use pre-made insn-attrtab file.
14271         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
14272         PREMADE_ATTRTAB_MD.
14273         * mips/t-ecoff: Likewise.
14274         * mips/t-elf: Likewise.
14275         * mips/t-mips: Likewise.
14276         * mips/t-osfrose: Likewise.
14277         * mips/t-r3900: Likewise.
14278         * mips/t-svr3: Likewise.
14279         * mips/t-svr4: Likewise.
14280         * mips/t-ultrix: Likewise.
14281
14282         * gcc.texi: Document recommend means to provide software floating
14283         point libraries in libgcc.a
14284
14285 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
14286
14287         * c-lex.c (yylex): We can have a number with no digits.
14288
14289 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
14290
14291         * jump.c (delete_prior_computation): New function, broken
14292         out of delete_computation.  Check for side effects with
14293         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
14294         multi-word hard registers.
14295         (delete_computation): Use it.  Check for side effects with
14296         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
14297         missing REG_DEAD note for a register which is both set and
14298         used by an insn.
14299
14300 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
14301
14302         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
14303         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
14304         (ASM_FILE_START): Import _mcount with the right type.
14305         (ASM_DECLARE_FUNCTION_NAME): Define.
14306         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
14307         * pa.c (output_function_prologue): Always emit the function's label
14308         here.
14309         * pa.h (TEXT_SPACE_P): Define.
14310         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14311         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
14312         * som.h (TEXT_SPACE_P): Delete.
14313         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14314         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
14315
14316 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
14317
14318         * expr.c (emit_group_load): Allow src to be a CONCAT.
14319
14320 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14321
14322         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
14323         (___mulsi3): Use '!' comment character.
14324
14325 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14326
14327         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
14328
14329 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
14330
14331         * gcc.c: Update URLs and mail addresses.
14332         * gcc.texi: Likewise.
14333
14334 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
14335
14336         * rs6000.c (current_file_function_operand): Return zero for
14337         weak functions.
14338         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
14339         weak symbols.
14340         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
14341         for weak symbols.
14342
14343 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
14344
14345         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
14346         allocate space in the stack frame for the PIC register.
14347
14348 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
14349
14350         * m68k.md (xordi3, anddi3): These patterns are not available on
14351         the coldfire.
14352
14353 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
14354
14355         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
14356         (PUT_REAL): Likewise.
14357
14358 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14359
14360         * final.c (shorten_branches): Don't add an alignment for loops
14361         that have no label inside.
14362
14363 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14364
14365         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
14366         prototypes in macro HAVE_cmpstrsi.
14367
14368         * cpplib.c (cpp_get_token): Remove unused label `op3'.
14369
14370         * emit-rtl.c (operand_subword): Remove unused variable
14371         `bits_per_word'.
14372
14373         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
14374
14375         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
14376
14377 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
14378
14379         * cpphash.c (macroexpand): Delete leading whitespace when arg
14380         is concatenated before.
14381         (unsafe_chars): Correct test for whether + and - can extend a
14382         token.
14383
14384         * cppinit.c (cpp_start_read): Do dependencies for
14385         -include/-imacros files also.
14386
14387         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
14388         tokenizing non-directive lines.
14389         (cpp_expand_to_buffer): Temporarily disable no-output mode.
14390         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
14391         the input file.
14392
14393 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
14394
14395         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
14396
14397         * c-lex.c: Sync with C++ frontend.
14398         (linemode): New variable.
14399         (parse_float): imag, conversion_errno, and type are output only.
14400         (yylex): Adjust.  Move initial '.' case into main switch.
14401         Use linemode.
14402         (handle_generic_pragma): Just deal with tokens.
14403         (readescape): Use ISXDIGIT and ISGRAPH.
14404         * c-parse.in: Add END_OF_LINE token.
14405
14406         * c-lex.c (lang_init): Generalize.
14407         (nextchar): Remove.  Replace uses with UNGETC.
14408         (skip_white_space): Handle linemode here.  Optimize for cpplib.
14409         (skip_white_space_on_line): Remove.
14410         (extend_token_buffer_to): New fn.
14411         (extend_token_buffer): Use it.
14412         (read_line_number, check_newline): Just deal with tokens.
14413         (token_getch, token_put_back): New fns.
14414         (yylex): Use them.  More cpplib optimizations.  Simplify.
14415
14416 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
14417                           Jason Merrill  <jason@yorick.cygnus.com>
14418
14419         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
14420         (consume_string): Make this smart about USE_CPPLIB.
14421         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
14422         (yylex): Rewrite to be intelligent about USE_CPPLIB.
14423         Also, clean up cases where we redundantly set token_buffer[0].
14424         (read_line_number): New fn.
14425         (ignore_escape_flag): New variable.
14426
14427 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
14428
14429         * a29k/t-a29kbare: Fix some comments.
14430         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
14431         (FPBIT, DPBIT): Define.
14432         * a29k/t-vx29k: Likewise.
14433         * arc/t-arc: Likewise.
14434         * arm/t-arm-elf: Likewise.
14435         * arm/t-bare: Likewise.
14436         * arm/t-pe: Likewise.
14437         * arm/t-pe-thumb: Likewise.
14438         * arm/t-semi: Likewise.
14439         * arm/t-thumb: Likewise.
14440         * arm/t-thumb-elf: Likewise.
14441         * arm/t-thumb-linux: Likewise.
14442         * h8300/t-h8300: Likewise.
14443         * i960/t-i960: Likewise.
14444         * i960/t-vxworks960: Likewise.
14445         * m32r/t-m32r: Likewise.
14446         * mips/t-ecoff: Likewise.
14447         * mips/t-elf: Likewise.
14448         * mips/t-r3900: Likewise.
14449         * pa/t-pro: Likewise.
14450         * rs6000/t-aix43: Likewise.
14451         * rs6000/t-beos: Likewise.
14452         * rs6000/t-newas: Likewise.
14453         * rs6000/t-ppccomm: Likewise.
14454         * rs6000/t-rs6000: Likewise.
14455         * rs6000/t-winnt: Likewise.
14456         * rs6000/t-xnewas: Likewise.
14457         * rs6000/t-xrs6000: Likewise.
14458         * sh/t-sh: Likewise.
14459         * sparc/t-elf: Likewise.
14460         * sparc/t-sparcbare: Likewise.
14461         * sparc/t-sparclite: Likewise.
14462         * sparc/t-splet: Likewise.
14463         * v850/t-v850: Likewise.
14464         * mn10200/t-mn10200: Fix comments.
14465         * mn10300/t-mn10300: Likewise.
14466
14467         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
14468         dummy operand.  Allocate a new pseudo for the dummy operand.
14469         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
14470
14471         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
14472
14473 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
14474
14475         * configure: Rebuilt.
14476         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
14477
14478 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
14479
14480         * recog.c (preproces_constraints): Zero recog_op_alt before
14481         processing the constraints.
14482
14483         * arm.c (typedef minipool_node): Renamed from pool_node.
14484         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
14485         (add_minipool_constant): New function.
14486         (dump_minipool): New function.
14487         (find_barrier): Remove special case for getting the insn size of
14488         an insn that references the constant pool.
14489         (minipool_fixup): New structure.
14490         (push_minipool_barrier): New function.
14491         (push_minipool_fix): New function.
14492         (note_invalid_constants): New function.
14493         (add_pool_constant, dump_table, fixit, broken_move): Delete.
14494         (arm_reorg): Rewrite code to fix up the constant pool into a
14495         series of mini-pools embedded in the insn stream.
14496         (arm_output_epilogue): New function, made mainly from the body
14497         of output_func_epilogue.
14498         (output_func_epilogue): Move insn generation part of epilogue code
14499         to arm_output_epilogue.
14500         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
14501         * arm.md (pool_range): New attribute.
14502         (zero_extendqidi2): Add attribute pool_range.
14503         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
14504         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
14505         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
14506         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
14507         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
14508         (epilogue): New expand.
14509         (epilogue_insn): New insn.  Call arm_output_epilogue.
14510
14511         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
14512         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
14513
14514 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
14515
14516         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14517
14518 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
14519
14520         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
14521
14522 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
14523
14524         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
14525
14526 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
14527
14528         * global.c: Fix comment.
14529
14530 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
14531
14532         * gcc.c (access_check): New static function.
14533         (find_a_file): Use it when searching a directory list.
14534         * collect2.c (find_a_file): Don't accept directories found when
14535         searching a directory list.
14536
14537 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
14538
14539         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
14540         function parameters with `&'.
14541         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
14542
14543 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
14544
14545         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
14546         or tidy_fallthru_edge if the last insn in the block is not
14547         an unconditional jump or a simple conditional jump.
14548
14549 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14550
14551         * Makefile.in (c-decl.o): Depends on defaults.h.
14552
14553 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
14554
14555         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
14556         PA1.1 and above.
14557         (CLASS_MAX_NREGS): Likewise.
14558
14559 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
14560
14561         * cse.c (cse_insn): Fix dumb thinko in last change.
14562
14563 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14564
14565         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
14566         "const char *".
14567
14568 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
14569
14570         * dwarf2out.c (add_location_or_const_value_attribute): Correct
14571         test for sizes of passed and declared parameter types.
14572
14573 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14574
14575         * fixincludes: Fix the return type of bsearch, char* -> void*.
14576
14577         * fixinc/inclhack.def: Likewise.
14578
14579 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
14580
14581         * invoke.texi (-fdump-translation-unit): New option.
14582
14583 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
14584
14585         * expr.h (PROMOTE_PROTOTYPES): Move ...
14586         * defaults.h: ... to here.
14587         * c-decl.c: Include defaults.h instead of expr.h.
14588         * c-typeck.c: Include defaults.h.
14589
14590 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
14591
14592         * toplev.h (errorcount): Declare.
14593         (warningcount): Likewise.
14594         (sorrycount): Likewise.
14595         * c-lex.c (errorcount): Don't declare.
14596         * dwarf2out.c (errorcount): Don't declare.
14597
14598 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
14599
14600         * config/libgloss.h: Add a note discouraging use with ELF.
14601         * configure.in: Don't use libgloss.h for ELF targets.
14602         Always use_collect2 on a.out targets.
14603
14604 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
14605
14606         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
14607         (force_to_mode, case ASHIFTRT): Add shiftrt label.
14608
14609 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14610
14611         * loop.c (strength_reduce): When doing biv->giv conversion, update
14612         reg note of NEXT->insn.
14613
14614 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
14615
14616         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
14617
14618 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
14619
14620         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
14621         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
14622         Ensure expr.h is included.
14623         * c-typecheck.c (convert_arguments): Ditto.
14624
14625         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
14626
14627         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
14628         * config/convex/convex.h: Ditto.
14629         * config/dsp16xx/dsp16xx.h: Ditto.
14630         * config/fx80/fx80.h: Ditto.
14631         * config/gmicro/gmicro.h: Ditto.
14632         * config/i370/i370.h: Ditto.
14633         * config/i386/i386.h: Ditto.
14634         * config/m32r/m32r.h: Ditto.
14635         * config/m68k/m68k.h: Ditto.
14636         * config/m88k/m88k.h: Ditto.
14637         * config/mips/mips.h: Ditto.
14638         * config/pa/pa.h: Ditto.
14639         * config/pyr/pyr.h: Ditto.
14640         * config/tahoe/tahoe.h: Ditto.
14641         * config/we32k/we32k.h: Ditto.
14642
14643         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
14644         based on arch size.
14645
14646         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
14647
14648         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
14649         from comment.
14650
14651         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
14652
14653 1999-08-02  Richard Henderson  <rth@cygnus.com>
14654
14655         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
14656         for the register spill block.
14657         (m32r_va_arg): New.
14658         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
14659         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
14660
14661         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
14662         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
14663         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
14664
14665 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
14666
14667         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
14668         MAX_WCHAR_TYPE defined in sparc.h.
14669         * config/sparc/linuxaout.h: Likewise.
14670         * config/sparc/linux64.h: Likewise.
14671         Also default to -mvis if CPU is UltraSPARC.
14672
14673 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
14674
14675         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
14676         (RTX_OK_FOR_OLO10): Likewise.
14677         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
14678         %lo(), allow it in addresses...
14679         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
14680         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
14681         does not make sense.
14682         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
14683         (sparc_output_scratch_registers): New function.
14684         (output_function_prologue, sparc_flat_output_function_prologue): Use
14685         it.
14686         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
14687         defined.
14688         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
14689         * configure.in: Add check for .register pseudo-op support in as and
14690         check for offsetable %lo().
14691         * acconfig.h: Add templates for the above checks.
14692         * configure: Regenerate.
14693
14694 1999-08-02  Richard Henderson  <rth@cygnus.com>
14695
14696         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
14697         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
14698         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
14699
14700 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14701
14702         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
14703         reg_biv_class.
14704
14705 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
14706
14707         * config/float-sparc.h: New file.
14708         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
14709         sparc-*-linux-gnu and sparc64-*-linux*.
14710
14711 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14712
14713         * rs6000.c (rs6000_va_list): Type is an array.
14714         (rs6000_va_start): Don't doubly adjust for varargs.
14715         (rs6000_va_arg): Evaluate long long GPR adjustment.
14716
14717 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
14718
14719         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
14720         -maix64 and -maix32.
14721         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
14722         LINK_SPEC): Change appropriately.
14723         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
14724         (u_short_cint_operand): Likewise.
14725         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
14726         for 64-bit hosts.
14727         * rs6000/t-aix43 (MULTILIB): Change to -m64.
14728
14729         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
14730
14731 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
14732
14733         * rs6000/rs6000.c (num_insns_constant_wide): Correct
14734         for type promotion.
14735         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
14736         (non_add_cint_operand): Likewise.
14737         (logical_operand): Likewise.
14738         (non_logical_cint_operand): Likewise.
14739         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
14740         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
14741         (rs6000_select_rtx_section): Suppress warning.
14742         (small_data_operand): Suppress warning.
14743         (rs6000_got_register): Suppress warning.
14744         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
14745         type, so `J' is generally the wrong constraint for a SImode value;
14746         use `L' instead.
14747         (andsi3_internal2): Likewise.
14748         (andsi3_internal3): Likewise.
14749         (iorsi3_internal1): Likewise.
14750         (xorsi3_internal1): Likewise.
14751         (movsi): Likewise.
14752         (movsf_softfloat): Likewise.
14753         (scc insns): Likewise.
14754         (movsi+2): Preserve sign bits of SImode constant.
14755         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
14756         (movdf+1): Sign-extend properly.
14757         (movdi_32+1): Sign-extend properly.
14758         (scc insns): Sign-extend properly.
14759
14760         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
14761         K, L, and T.
14762
14763 1999-08-02  Richard Henderson  <rth@cygnus.com>
14764
14765         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
14766         -mcpu parsing code.
14767         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
14768         * alpha.md (all fp insns): Likewise.
14769
14770 1999-08-02  Nick Clifton  <nickc@cygnus.com>
14771
14772         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
14773         already defined.
14774
14775 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
14776
14777         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
14778         pic_load_label generator directly.
14779         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
14780         No longer a named pattern.
14781
14782 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
14783
14784         * explow.c (force_reg): Call force_operand if X does not
14785         satisfy general_operand.
14786
14787 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
14788
14789         * fix-header.c (main): When testing for CONTINUED, use string
14790         equality, not pointer equality.
14791
14792 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
14793
14794         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
14795
14796 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
14797
14798         * cse.c (cse_insn): Fix loop which deletes insns after a jump
14799         that has become an unconditional jump.
14800
14801         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
14802         (output_function_epilogue): Similarly.
14803
14804 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14805
14806         * tree.h (init_dummy_function_start): Declare.
14807
14808 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14809
14810         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
14811         last_expr_type, last_expr_value, block_start_count, block_stack,
14812         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
14813         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
14814         dynamically in stmt elt of struct function for each function.
14815         (struct nesting): Rename function_call_count elt to n_function_calls,
14816         target_temp_slot_level to block_target_temp_slot_level.  All users
14817         changed.
14818         (struct stmt_status): New structure definition.
14819         Add many accessor macros for stmt_status elements which previously
14820         were global variables.
14821         (init_stmt_for_function): Allocate stmt elt for current_function.
14822         Reflect that block_start_count was renamed to
14823         current_block_start_count.
14824         (save_stmt_status, restore_stmt_status): Delete functions.
14825         (preserve_subexpressions_p): Don't access loop_stack when outside
14826         a function.
14827         (expand_start_bindings): Reflect that block_start_count was renamed to
14828         current_block_start_count.
14829         (expand_fixup): Likewise.
14830         (expand_decl): Don't access block_stack when outside a function.
14831         (expand_decl_cleanup): Likewise.
14832         (expand_dcc_cleanup): Likewise.
14833         (expand_dhc_cleanup): Likewise.
14834         (expand_anon_union_decl): Likewise.
14835         (set_file_and_line_for_stmt): New function.
14836         (in_control_zone_p): New function.
14837
14838         * function.h (struct function): Add new elt stmt.
14839         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
14840         case_stack, nesting_stack, nesting_depth, block_start_count,
14841         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
14842         emit_lineno, goto_fixup_chain.
14843         (save_eh_status, restore_eh_status, save_stmt_status,
14844         restore_stmt_status): Delete declarations.
14845         * function.c (push_function_context_to): Don't call save_stmt_status.
14846         (pop_function_context_to): Don't call restore_stmt_status.
14847         * tree.h (in_control_zone_p): Declare.
14848         * rtl.h (set_file_and_line_for_stmt): Declare.
14849
14850         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
14851         call set_file_and_line_for_stmt.
14852
14853 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
14854
14855         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
14856         Also update copyright.
14857
14858 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14859
14860         * c-pragma.c: Don't include "except.h".
14861         * emit-rtl.c: Likewise.
14862         * stor-layout.c: Likewise.
14863         * tree.c: Likewise.
14864         * varasm.c: Likewise.
14865
14866         * flow.c: Include "function.h".
14867         * tree.h (init_dummy_function_start): Declare new function.
14868
14869         * except.h (struct eh_status): New structure.
14870         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
14871         been included.
14872         (eh_return_stub_label, ehstack, catchstack, ehqueue,
14873         catch_clauses, false_label_stack, caught_return_label_stack,
14874         protect_list, current_function_ehc): Add accessor macros for the
14875         corresponding fields in current_function->eh; delete declarations
14876         for all items that used to be declared here.
14877         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
14878         catch_clauses, false_label_stack, caught_return_label_stack,
14879         protect_list, current_function_ehc): Delete variables.
14880         (init_eh_for_function): Allocate current_function->eh.
14881         (save_eh_status, restore_eh_status): Delete functions.
14882
14883         * function.h (struct function): Add fields next_global and eh.
14884         Delete all exception handling related fields.
14885         * function.c (current_function): New variable.
14886         (all_functions): New variable.
14887         (push_function_context_to): Don't allocate a struct function,
14888         use current_function instead.  Call init_dummy_function_start when
14889         outside a function.  Clear current_function before returning.
14890         (pop_function_context_from): Restore current_function.
14891         Don't free the restored struct function.
14892         (prepare_function_start): New function.
14893         (init_dummy_function_start): New function.
14894         (init_function_start): Break out some code into prepare_function_start
14895         and call it here.
14896
14897         * stmt.c (save_stmt_status): Don't call save_eh_status.
14898         (restore_stmt_status): Don't call restore_eh_status.
14899
14900         * Makefile.in: Update dependencies.
14901
14902 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
14903
14904         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
14905         of depending on a magic constant value.  Update comments.
14906         (hppa_expand_prologue): Similarly.
14907
14908         * pa.md (reload_indi, reload_outdi): Allow any register for the
14909         original reload register.
14910
14911 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
14912
14913         * cccp.c (print_help): Change marcos to macros.
14914
14915 1999-07-30  Richard Henderson  <rth@cygnus.com>
14916
14917         * c-typeck.c (initializer_constant_valid_p): Move ...
14918         * c-common.c (initializer_constant_valid_p): ... here.  Use
14919         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
14920         of label addresses.
14921         * c-common.h (initializer_constant_valid_p): Declare.
14922         * c-tree.h (initializer_constant_valid_p): Remove.
14923
14924 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
14925
14926         * config/i386/sol2-c1.asm: Align the stack.
14927         * config/i386/sol2-gc1.asm: Likewise.
14928
14929 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
14930
14931         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
14932         -Asparclite for sparc86x.
14933         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
14934         sparc86x.
14935         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
14936
14937 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
14938
14939         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
14940         the user if using the non-default arch size in BI_ARCH configuration.
14941         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
14942
14943         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
14944         Fix patterns so that they actually match.
14945         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
14946         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
14947         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
14948         TARGET_HARD_MUL32.
14949         (mulsidi3): Reflect this in the expand.
14950         (smulsi3_highpart): Only on TARGET_ARCH32.
14951         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
14952         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
14953         (umulsidi3): Reflect this in the expand.
14954         (umulsi3_highpart): Only on TARGET_ARCH32.
14955         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
14956         don't require g0 to be zero.
14957         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
14958         ({,u}divsi3): New expands.
14959         ({,u}divsi3_sp64): New patterns.
14960         (after lshrdi3_v8plus): Four new patterns to help combiner
14961         optimizing nested mixed mode shifts.
14962
14963         * config/sparc/sparc.c (sparc_override_options): Use deprecated
14964         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
14965         speed things up. Don't use them by default on plain v9 in 64bit
14966         mode, according to what SPAMv9 sais.
14967
14968         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
14969         top 32 bits of %[og][0-7] in signal handlers.
14970         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
14971
14972 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
14973
14974         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
14975         (ashlsi3): Corresponding changes.
14976
14977         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
14978
14979 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
14980
14981         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
14982
14983 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14984
14985         * arm.h (Hint): Delete macro.
14986         Substitute HOST_WIDE_INT for Hint in some prototypes.
14987         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
14988
14989 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
14990
14991         * builtins.c (expand_builtin_setjmp): Use force_operand to
14992         make sure that the buffer address is in a suitable form to be
14993         passed to force_reg.
14994
14995 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
14996
14997         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
14998         them here.
14999
15000 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
15001
15002         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
15003         proper mode in the condition string.
15004         (icacheflush, dcacheflush): Remove modes from match_operands.
15005
15006         * pa.c (emit_move_sequence): Always convert scratch_reg to the
15007         proper mode before using it.
15008
15009         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
15010         pair.
15011
15012         * pa.c (store_reg): Do not call add_high_const generator directly.
15013         (load_reg, set_reg_plus_d): Likewise.
15014         * pa.md (add_high_const): No longer a named pattern.
15015
15016         * pa.c (legitimize_address): Consistently use Pmode rather than
15017         SImode.  Do not call gen_pic2_highpart directly anymore.
15018         * pa.md (pic2_highpart): No longer a named pattern.
15019         (pic2_lo_sum): Similarly.  Reformat to make more readable.
15020
15021         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
15022         needed.
15023
15024         * README: Update.
15025
15026 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15027
15028         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
15029
15030 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
15031
15032         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
15033         and tag the spill mems.
15034         (hppa_va_start): New.
15035         (hppa_va_arg): New.
15036         * pa.h (EXPAND_BUILTIN_VA_START): New.
15037         (EXPAND_BUILTIN_VA_ARG): New.
15038
15039 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
15040
15041         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
15042         and tag the spill mems.
15043         (mn10300_va_start): New.
15044         (mn10300_va_arg): New.
15045         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
15046         (EXPAND_BUILTIN_VA_ARG): New.
15047
15048 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
15049
15050         * mn10200.c (mn10200_va_arg): New.
15051         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
15052
15053 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
15054
15055         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
15056         rather than play with TREE_INT_CST_LOW.
15057
15058 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
15059
15060         * config/arm/telf.h: Include dbxelf.h.
15061         (CPP_PREDEFINES): Only define if not already defined.
15062         (ASM_IDENTIFY_GCC): Likewise.
15063         (SUBTARGET_EXTRA_SECTIONS): Likewise.
15064         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
15065         * config/arm/thumb.h (LINK_SPEC): Only define if not already
15066         defined.
15067         (DBX_DEBUGGING_INFO): Don't define.
15068         * config/arm/linux-telf.h: New file.
15069         * config/arm/linux-tgas.h: New file.
15070         * config/arm/t-thumb-linux: New file.
15071         * config/arm/uclinux-elf.h: New file.
15072         * config/arm/uclinux-telf.h: New file.
15073         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
15074         thumb-*-uclinux): New targets.
15075         * configure: Regenerate.
15076
15077 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
15078
15079         * pa.md (post_store, pre_load): New expanders.
15080         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
15081         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
15082         need to directly generate RTL for them.
15083         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
15084         changes.
15085
15086 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
15087
15088         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
15089         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
15090         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
15091         (secndary_reload_class): Make TARGET_ELF conditional compile.
15092         (print_operand_address): Similar.
15093         (output_toc): Print all values as hex.
15094         (get_issue_rate): Rearrange and add RS64A and PPC630.
15095         * rs6000.h (processor_type): Add RS64A and PPC630.
15096         (PROCESSOR_POWERPC64): New.
15097         (PROMOTE_MODE): Use word_mode.
15098         (RTX_COSTS): Add RS64A and PPC630.
15099         * rs6000.md (scheduling information): Add lmul and ldiv
15100         representing 64-bit integer multiply and divide.  Add rs64a and
15101         PPC630 information.
15102         (ashldi3): Add support for "rldic" instruction.
15103         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
15104
15105 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
15106
15107         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
15108         instead of V8 for sparclite86x in cpu_table.
15109
15110 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15111
15112         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
15113         output_file_directive.
15114
15115 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
15116
15117         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
15118         tree for op1, not the rtl.
15119
15120 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
15121
15122         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
15123         to m88k_va_start, leaving only the register spill.
15124         (m88k_build_va_list): New.
15125         (m88k_va_start): New.
15126         (m88k_va_arg): New.
15127         * m88k.h (BUILD_VA_LIST_TYPE): New.
15128         (EXPAND_BUILTIN_VA_START): New.
15129         (EXPAND_BUILTIN_VA_ARG): New.
15130
15131 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
15132
15133         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
15134         Rename from expand_builtin_saveregs.
15135         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
15136
15137 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
15138
15139         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
15140         for the register spill block.
15141         (i960_build_va_list): New.
15142         (i960_va_start): New.
15143         (i960_va_arg): New.
15144         * i960.h (BUILD_VA_LIST_TYPE): New.
15145         (EXPAND_BUILTIN_VA_START): New.
15146         (EXPAND_BUILTIN_VA_ARG): New.
15147         * i960.md (store_multiple): Use change_address on individul mems.
15148
15149 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
15150
15151         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
15152         an ARRAY_TYPE.
15153         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
15154         (expand_builtin_va_end): Evaluate arg for side effects.
15155         * c-common.c (c_common_nodes_and_builtins): Construct a
15156         va_list_arg_type_node to handle array decomposition to pointer.
15157
15158 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
15159
15160         * except.c (start_dynamic_cleanup): Use force_operand on the
15161         buffer's address.
15162
15163 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
15164
15165         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
15166         * c4x.c (c4x_va_arg): New.
15167
15168 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
15169
15170         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
15171         has manual_pop set.
15172
15173 1999-07-26  Nathan Sidwell  <nathan@acm.org>
15174
15175         * eh-common.h (__eh_matcher): Prototype correctly.
15176
15177 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
15178
15179         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
15180         (TARGET_SINGLE_PIC_BASE): Likewise.
15181         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
15182         definitions.
15183         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
15184         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
15185         (TARGET_OPTIONS): Add -mpic-register=N.
15186         (OUTPUT_INT_ADDR_CONST): New macro.
15187         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
15188         LEGITIMATE_PIC_OPERAND_P): Likewise.
15189         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
15190         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
15191         output_addr_const directly.
15192         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
15193         ARM port.
15194         (thumb_pic_register, thumb_pic_register_string): Declare.
15195
15196         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
15197         from arm.c.
15198         (label_mentioned_p): New function: Imported from arm.c.
15199         (legitimize_pic_address): New function: Imported from arm.c.
15200         (is_pic):New function: Imported from arm.c.
15201         (thumb_finalize_pic):New function: Imported from arm.c.
15202         (add_constant): Cope with PIC constants.
15203         (fixit): Cope with PIC constants.
15204         (output_return): Do not treat the PIC register as live if
15205         TARGET_SINGLE_PIC_BASE is true.
15206         (thumb_function_prologue): Do not treat the PIC register as live if
15207         TARGET_SINGLE_PIC_BASE is true.
15208         (thumb_expand_prologue): Do not treat the PIC register as live if
15209         TARGET_SINGLE_PIC_BASE is true.
15210         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
15211         TARGET_SINGLE_PIC_BASE is true.
15212         (thumb_print_operand): Accept '|'.
15213         (thumb_override_options): Process PIC options.
15214
15215         * config/arm/thumb.md (movsi): Support PIC.
15216         (call_insn): Change "i" constraint to "X".
15217         (call_value_insn): Likewise.
15218         (consttable_4, consttable_8, consttable_end): Set and clear
15219         "making_const_table" as appropriate.
15220         (pic_load_addr, pic_add_dot_plus_four): New insns.
15221
15222         * invoke.texi (Thumb Options): Fix spelling.  Document new
15223         options -msingle-pic-base and -mpic-register=.
15224
15225 1999-07-26  Andrew Haley  <aph@cygnus.com>
15226
15227         * config/m32r/initfini.c (__init): Use a full word immediate for
15228         __fini: this allows it to be placed in any memory region.
15229
15230         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
15231         -mmodel=medium.  This is OK for all memory models.
15232
15233 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
15234
15235         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
15236         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
15237
15238 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
15239
15240         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
15241         defined.
15242
15243         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
15244
15245 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
15246
15247         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
15248         (BUILD_VA_LIST_TYPE): New.
15249         (EXPAND_BUILTIN_VA_START): New.
15250         (EXPAND_BUILTIN_VA_ARG): New.
15251         * i860.c (output_delayed_branch): Disable.
15252         (output_delay_insn): Likewise.
15253         (i860_saveregs): New.
15254         (i860_build_va_list): New.
15255         (i860_va_start): New.
15256         (i860_va_arg): New.
15257         * i860.md: Disable all peepholes using output_delayed_branch.
15258         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
15259
15260 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
15261
15262         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
15263         (BUILD_VA_LIST_TYPE): New.
15264         (EXPAND_BUILTIN_VA_START): New.
15265         (EXPAND_BUILTIN_VA_ARG): New.
15266         * clipper.c (clipper_builtin_saveregs): Only dump registers.
15267         Return the address of the save area.
15268         (clipper_build_va_list): New.
15269         (clipper_va_start): New.
15270         (clipper_va_arg): New.
15271
15272 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
15273
15274         * arc.h (EXPAND_BUILTIN_VA_START): New.
15275         (EXPAND_BUILTIN_VA_ARG): New.
15276         * arc.c (arc_setup_incoming_varargs): Set alias set of
15277         varargs save area.
15278         (arc_va_start): New.
15279         (arc_va_arg): New.
15280
15281 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
15282
15283         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
15284         (BUILD_VA_LIST_TYPE): New.
15285         (EXPAND_BUILTIN_VA_START): New.
15286         (EXPAND_BUILTIN_VA_ARG): New.
15287         * alpha.c (alpha_builtin_saveregs): Delete.
15288         (alpha_build_va_list): New.
15289         (alpha_va_start): New.
15290         (alpha_va_arg): New.
15291
15292 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
15293
15294         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
15295         column zero.
15296         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
15297         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
15298
15299         * gcc.texi: More changes related to list conversion.
15300         * invoke.texi: Likewise.
15301
15302 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
15303
15304         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
15305         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
15306         (expand_builtin_next_arg): Accept ARGLIST not EXP.
15307         (stabilize_va_list): New function.
15308         (std_expand_builtin_va_start): New function.
15309         (expand_builtin_va_start): New function.
15310         (get_varargs_alias_set): New function.
15311         (std_expand_builtin_va_arg): New function.
15312         (expand_builtin_va_arg): New function.
15313         (expand_builtin_va_end): New function.
15314         (expand_builtin_va_copy): New function.
15315         (expand_builtin): Call them.
15316         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
15317         __builtin_{varargs_start,stdarg_start,end,copy}.
15318         (build_va_arg): New function.
15319         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
15320         (build_va_arg): Declare.
15321         * c-decl.c (ptr_type_node, va_list_type_node): New.
15322         * c-parse.gperf (__builtin_va_arg): New.
15323         * c-parse.in (VA_ARG): New token.
15324         (unary_expr): Recognize it.
15325         * expr.c (expand_expr): Expand VA_ARG_EXPR.
15326         * expr.h (std_expand_builtin_va_start): Declare.
15327         (std_expand_builtin_va_arg): Declare.
15328         (expand_builtin_va_arg): Declare.
15329         (get_varargs_alias_set): Declare.
15330         * tree.def (VA_ARG_EXPR): New.
15331         * tree.h (BUILT_IN_VARARGS_START): New.
15332         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
15333         (ptr_type_node, va_list_type_node): Declare.
15334         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
15335         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
15336         * m88k.h, m88k.c: Likewise.
15337         * mn10300.h, mn10300.c: Likewise.
15338         * pa.h, pa.c: Likewise.
15339         * rs6000.h, rs6000.c: Likewise.
15340         * sh.h, sh.c: Likewise.
15341         * sparc.h, sparc.c: Likewise.
15342
15343         * emit-rtl.c (operand_subword): Copy alias set.
15344         (change_address): Likewise.
15345
15346 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
15347
15348         * pa.c (compute_frame_size): Scan all the used callee saved registers,
15349         not just the first one.
15350
15351 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
15352
15353         * config/arm/arm.h (TARGET_SWITCHES): Add
15354         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
15355         (TARGET_OPTIONS): Add -mpic-register=.
15356         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
15357         (arm_pic_register_string): Declare.
15358         (NEED_PLT_GOT): Delete, replace with ...
15359         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
15360         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
15361         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
15362         * config/arm/arm.c (arm_override_options): Add new option
15363         -mpic-register=N.
15364         (arm_pic_register_string): New variable.
15365         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
15366         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
15367         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
15368         (output_return_instruction): Likewise.
15369         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
15370         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
15371         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
15372
15373         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
15374         mention of -msched-prolog.  Document new options -msingle-pic-base
15375         and -mpic-register=.
15376
15377 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
15378
15379         * haifa-sched.c (reemit_notes): Tidy.
15380         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
15381         haifa's routine.
15382
15383 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
15384
15385         * explow.c (trunc_int_for_mode): New function.
15386         (plus_constant_wide): Use it.
15387         * combine.c (simplify_and_const_int): Likewise.
15388         (merge_outer_ops): Likewise.
15389         (simplify_shift_const): Likewise.
15390         * cse.c (simplify_unary_operation): Likewise.
15391         (simplify_binary_operation): Likewise.
15392         * emit-rtl.c (operand_subword): Likewise.
15393         * rtl.h: Declare it.
15394
15395 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15396
15397         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
15398         (use NUM_REGS instead of NUM_INTS).
15399
15400 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15401
15402         * builtins.c: New file.
15403         * expr.c (saveregs_value, apply_args_value):  Delete definition,
15404         moved into builtins.c.
15405         (string_constant): No longer static.
15406         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
15407         apply_args_size, apply_result_size, result_vector,
15408         expand_builtin_apply_args, expand_builtin_apply,
15409         expand_builtin_return): Delete functions, moved into builtins.c.
15410         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
15411         * expr.h (saveregs_value, apply_args_value): Declare variables.
15412         (expand_builtin, string_constant): Declare functions.
15413         * Makefile.in: Update to build builtin.o.
15414
15415 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
15416
15417         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
15418         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
15419         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
15420         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
15421         false.
15422         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
15423         Define to zero.
15424
15425 1999-07-21  Michael Meissner  <meissner@cygnus.com>
15426
15427         * print-rtl.c (print_rtx): Print the names of the virtual
15428         registers.
15429
15430 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
15431
15432         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
15433         introduced in previous delta.
15434
15435 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15436
15437         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
15438         to avoid name clash.
15439
15440 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15441
15442         * c-lex.c (yylex) : Correct the test for overflow when lexing
15443         integer literals.
15444
15445 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
15446
15447         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
15448         (adjust_priority): Always call ADJUST_PRIORITY.
15449         (schedule_insn): Only put insns into the ready at cost 0.
15450         (schedule_block): Remove redundant initial sort.  Give clock_var
15451         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
15452         is not 0.
15453         * tm.texi (MD_SCHED_REORDER): Update docs.
15454
15455         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
15456         * sparc.c (ultra_reorder_called_this_block): Delete.
15457         (ultrasparc_sched_init): Don't set it.
15458         (ultrasparc_sched_reorder): Don't check it.
15459
15460 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
15461
15462         * rs6000.h (struct rs6000_args): Add sysv_gregno.
15463         * rs6000.c (init_cumulative_args): Init sysv_gregno.
15464         (function_arg_boundary): Align DFmode.
15465         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
15466         to get fp reg and stack overflow correct.
15467         (function_arg): Likewise.
15468         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
15469         (setup_incoming_varargs): Restructure for ABI_V4; use
15470         function_arg_advance to skip final named argument.
15471         (expand_builtin_saveregs): Properly unskip the last integer arg
15472         when doing varargs.  Adjust overflow location calculation.
15473
15474         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
15475         explicitly unsigned.
15476         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
15477         (__VA_GP_REGSAVE): Similarly.
15478         (__va_longlong_p): Delete.
15479         (__va_arg_type_violation): New declaration.
15480         (va_arg): Restructure.  Flag promotion errors.  Align double.
15481         TFmode passed by reference.
15482
15483         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
15484         in the HOST_BITS_PER_WIDE_INT > 32 case.
15485
15486 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
15487
15488         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
15489
15490 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
15491
15492         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
15493         * toplev.c (documented_lang_options): Add -fpreprocessed.
15494         * cpplib.h (struct cpp_buffer): Add preprocessed.
15495         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
15496         (cpp_start_read): Don't expand macros or emit an initial #line
15497         directive if -fpreprocessed.
15498
15499 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
15500
15501         * cpplib.h (struct cpp_buffer): Added manual_pop for
15502         better C++ tokenization.
15503         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
15504         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
15505         * c-common.c (cpp_token): Make non-static.
15506
15507 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15508
15509         * c-common.h: New file.
15510         * c-common.c (permanent_obstack): Delete unused declaration.
15511         (c_global_trees): New array.
15512         (c_common_nodes_and_builtins): New function; split off common code
15513         from init_decl_processing in both c-decl.c and cp/decl.c.
15514         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
15515         c_global_trees and accessor macros defined in c-common.h.
15516         Include c-common.h.
15517         * c-decl.c: Delete definitions for tree nodes that were replaced by
15518         c_global_trees.
15519         (init_decl_processing): Build void_list_node.
15520         Call c_common_nodes_and_builtins; delete code to generate the common
15521         builtins here.
15522         * objc/objc-act.c (build_module_descriptor): Rename variable
15523         void_list_node to avoid clash with c-common.h.
15524
15525         * Makefile.in: Update dependencies.
15526         * objc/Make-lang.in: Likewise.
15527
15528 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
15529
15530         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
15531         (UNIQUE_SECTION_P): Likewise.
15532         (UNIQUE_SECTION): Likewise.
15533
15534 1999-07-19  Linas Vepstas  <linas@linas.org>
15535
15536         * config/i370/README: New file.
15537         * config/i370/linux.h: New file.
15538         * config/i370/mvs.h: New file.
15539         * config/i370/oe.h: New file.
15540         * config/i370/t-linux: New file.
15541         * config/i370/t-mvs: New file.
15542         * config/i370/t-oe: New file.
15543         * config/i370/x-oe: New file.
15544         * config/i370/xm-linux.h: New file.
15545         * config/i370/xm-mvs.h: New file.
15546         * config/i370/xm-oe.h: New file.
15547
15548         * i370.c (label_node_t): Add first_ref_page, label_addr,
15549         label_first_ref, label_last_ref members.
15550         (mvs_need_base_reload): Renamed from mvs_label_emitted.
15551         (MAX_MVS_LABEL_SIZE): Define.
15552         (MAX_LONG_LABEL_SIZE): Define.
15553         (alias_node_t, alias_anchor, alias_number): New.
15554         (mvs_function_table): Reorder for EBCDIC.
15555         (ascebc, ebcasc): Unconditionally define.
15556         (i370_branch_dest, i370_branch_length): New functions.
15557         (i370_short_branch, i370_label_scan): New functions.
15558         (mvs_get_label): Renamed from mvs_add_label.  Search for
15559         an existing label before creating a new one.
15560         (mvs_add_label): New function.
15561         (mvs_get_label_page): New function.
15562         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
15563         over the entire list.
15564         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
15565         (mvs_check_page) [TARGET_ELF_ABI]: New function.
15566         (mvs_add_alias, mvs_need_alias): New functions.
15567         (mvs_get_alias, mvs_check_alias): New functions.
15568         (handle_pragma): New function.
15569         (mvs_function_check): New function.
15570         (unsigned_jump_follows_p): Search harder.
15571         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
15572         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
15573         * i370.h (TARGET_VERSION): Delete.
15574         (CPP_SPEC, CPP_PREDEFINES): Delete.
15575         (mvs_label_emitted): Delete.
15576         (TARGET_EBCDIC): Delete.
15577         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
15578         (HANDLE_PRAGMA): Define.
15579         (HARD_REGNO_NREGS): Handle complex modes.
15580         (HARD_REGNO_MODE_OK): Likewise.
15581         (CLASS_MAX_NREGS): Likewise.
15582         (RET_REG): Likewise.
15583         (EXTRA_CONSTRAINT): Define.
15584         (RETURN_IN_MEMORY): True for DImode.
15585         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
15586         (FUNCTION_PROFILER): Delete.
15587         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
15588         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
15589         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
15590         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
15591         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
15592         (ASM_FILE_START): Add "RMODE ANY".
15593         (ASM_OUTPUT_EXTERNAL): Check for aliases.
15594         (ASM_GLOBALIZE_LABEL): Likewise.
15595         (ASM_OUTPUT_LABELREF): Likewise.
15596         (ASM_OUTPUT_COMMON): Likewise.
15597         (PRINT_OPERAND): Handle 'K', 'W', default.
15598         (PRINT_OPERAND_ADDRESS): New.
15599         (Lots of defines): Add support for TARGET_ELF_ABI.
15600         * i370.md (attr length): New.  Define for all patterns.
15601         (*): Lots of tweeks to assembly output and constraints.
15602
15603 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
15604
15605         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
15606         Disable patterns performing SImode comparisons with SImode values
15607         if TARGET_POWERPC64 and instruction does not sign-extend or does
15608         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
15609         differ for signed quantities.
15610         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
15611         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
15612         (decrement_and_branch_on_count): Add 64-bit variant.
15613
15614 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15615
15616         * final.c (output_asm_insn): When searching for the matching string
15617         for a given dialect, don't run past the end of the list of
15618         alternatives if there are fewer alternatives in the template than
15619         dialects.
15620
15621 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
15622
15623         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
15624         Removed paragraph about compression of files and size limitation,
15625         duplicated in the FAQ.  Use gcc-patches for posting patches.
15626         * gcc.c (main): Updated URL with bug reporting instructions to
15627         gcc.gnu.org.  Removed e-mail address.
15628         * system.h (abort): Likewise.
15629
15630 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15631
15632         * Makefile.in (stmp-multilib-sub): Make the files extracted
15633         from $(LIBGCC1) writable.
15634
15635 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
15636
15637         * config/arm/aout.h: Reformat for improved readability.
15638
15639         * config/arm/arm.h: Reformat for improved readability.
15640         Replace uses of fprintf with asm_fprintf where appropriate.
15641         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
15642         function declaration assembler actions.
15643         (NUM_INTS): New macro: Convert from bytes to words.
15644         (NUM_REGS): New macro: Compute number of registers required to
15645         hold a quanitity of tyep MODE.
15646         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
15647         types.
15648         (NUM_ARG_REGS): New macro: The number of argument registers
15649         available.
15650         (ARG_REGISTER): New macro: Compute the register number of the Nth
15651         argument register.
15652         (LAST_ARG_REGNUM): New macro: The number of the last argument
15653         register.
15654         (SP_REGNUM): New macro: Register number of the stack pointer.
15655         (FP_REGNUM): New macro: Register number of the frame pointer.
15656         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
15657         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
15658         CUMULATIVE_ARGS so that it counts registers not bytes.
15659
15660         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
15661         TARGET_INTERWORK.
15662         Replace uses of fprintf with asm_fprintf where appropriate.
15663         (output_ascii_pseudo_op): Replace with version from thumb.c
15664
15665         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
15666
15667         * config/arm/elf.h (CPP_PREDEFINES): Replace with
15668         SUBTARGET_CPP_SPEC.
15669         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
15670         (ASM_FILE_START): Emit ASM_APP_OFF.
15671
15672 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
15673
15674         * pa.c (compute_frame_size): Round frame according to
15675         STACK_BOUNDARY rather than a hardwired value.
15676
15677         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
15678
15679         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
15680         of "1".
15681         * configure: Rebuilt.
15682
15683         * configure.in (hppa*-*-linux*): New configuration.
15684         * configure: Rebuilt.
15685         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
15686         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
15687         * pa/pa-linux.h: New file.
15688         * pa/t-linux: New file.
15689         * pa/xm-linux.h: New file.
15690
15691         * pa.c (hppa_legitimize_address): Change references from SImode to
15692         either Pmode or word_mode as appropriate.
15693         (emit_move_sequence, store_reg, load_reg): Likewise.
15694         (set_reg_plus_d, hppa_expand_prologue): Likewise.
15695         (output_mul_insn): Likewise.
15696         * pa.h (PROMOTE_MODE): Likewise.
15697         (INITIALZE_TRAMPOLINE): Likewise.
15698         (Pmode): Define to word_mode.
15699
15700         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
15701         value of 4.  Allocate 8 bytes for each FP register save.
15702         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
15703         value of 4.
15704         (hppa_expand_prologue): Likewise.
15705         * pa.h (PROMOTE_MODE): Likewise.
15706         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
15707         (FUNCTION_ARG_BOUNDARY): Likewise.
15708
15709         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
15710
15711         * pa.c (out_of_line_prologue_epilogue): Delete.
15712         (override_options): Remove -mspace related code.
15713         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
15714         (compute_frame_size): Only allocate space for register that
15715         actually need to be saved.
15716         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
15717         (TARGET_SWITCHES): Remove -mspace, -mno-space
15718         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
15719         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
15720         * pa/ee.asm, pa/ee_fp.asm: Delete.
15721
15722         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
15723
15724         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
15725         directive in column zero.
15726
15727 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
15728
15729         * m68k.c (output_function_prologue): Fix computation of save mask
15730         when generating PIC code.
15731
15732 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
15733
15734         * tree.c (build_type_attribute_variant): Move current_obstack restore
15735         after build_qualified_type call.
15736
15737 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
15738
15739         * configure.in: Use t-iris6, even with GNU LD.
15740         * config/mips/iris6gld.h: Fix typo in linker spec.
15741         * config/mips/t-iris6gld: Remove.
15742
15743 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
15744
15745         * rs6000.md (insv, extzv): Remove SImode dependence in named
15746         patterns.  Explicitly generate DImode RTL if PowerPC64 and
15747         operand is DImode.
15748         (insvdi): Reverse start and size in instruction template.
15749
15750 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
15751
15752         * invoke.texi: Typo fixes.
15753
15754 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
15755
15756         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
15757         handle at this time instead of silently generating incorrect code.
15758         (gen_imagpart): Likewise.
15759
15760         * reload.c (find_reloads): Emit a USE for a pseudo register without
15761         a hard register if we could not create an optional reload for the
15762         pseudo.
15763
15764 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15765
15766         * c-typeck.c (output_init_element, process_init_element):
15767         When advancing constructor_unfilled_fields for a RECORD_TYPE,
15768         check for nameless bit fields.
15769
15770 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
15771
15772         * regclass.c (scan_one_insn): Notice subregs that change the
15773         size of their operand.
15774         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
15775
15776 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
15777
15778         * configure.in (alpha*-*-*): Include alpha/t-ieee.
15779         * configure: Rebuilt.
15780         * alpha/t-ieee: New file.
15781
15782 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
15783
15784         * rs6000.c (find_addr_reg): Do not select r0 as an address
15785         register.
15786
15787 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
15788
15789         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
15790
15791 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
15792
15793         * rs6000.md (movsf): Do not force easy FP constants into memory.
15794
15795         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
15796         immed_double_const to ensure they are properly truncated then
15797         sign extended.
15798
15799 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
15800
15801         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
15802         always unless NO_DEBUG is used.  Compile this code
15803         unconditionally.
15804         (replace_symbols_in_block): Compile it unconditionally.
15805
15806 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
15807
15808         * configure.in (i?86-*-elf*): New target.
15809         * configure: Rebuilt.
15810         * i386/i386elf.h, i386/t-i386elf: New files.
15811
15812 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
15813
15814         * toplev.c (main): Don't complain about saying -gdwarf.
15815         (rest_of_compilation): Remove redundant code.
15816
15817 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
15818
15819         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
15820
15821 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
15822
15823         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
15824         "Li960R:", to avoid name clash.
15825
15826 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15827
15828         * loop.c (check_dbra_loop): When reversing a loop, delete all
15829         REG_EQUAL notes referencing the reversed biv except those which are
15830         for a giv based on it.
15831
15832 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
15833
15834         * version.c: Drop "gcc-" prefix from version #.
15835
15836 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
15837
15838         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
15839         the label if we're being verbose.
15840
15841 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
15842
15843         * m68k.c (output_function_prologue): Add pic register to mask
15844         if live and flag_pic.
15845         (output_function_epilogue): Likewise.
15846
15847 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
15848
15849         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
15850         directives in column zero.
15851
15852         * pa/elf.h (ASM_FILE_START): Define.
15853         * pa/som.h (ASM_FILE_START): Include .level directives.
15854         * pa/hpux10.h (ASM_FILE_START): Delete.
15855         * pa/hpux11.h (ASM_FILE_START): Delete.
15856
15857         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
15858
15859 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15860
15861         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
15862         when reload_out equals reload_in.
15863
15864 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
15865
15866         * invoke.texi (Spec Files): New node: Describe the contents of
15867         spec files.
15868
15869 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
15870
15871         * invoke.texi (DEC Alpha Options): Put @end table at
15872         beginning of line, to avoid confusing texi2html.
15873
15874 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
15875
15876         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
15877         introduced in previous delta.
15878
15879 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15880
15881         * reload1.c (gen_reload): When synthesizing a 3 operand add
15882         sequence, improve test for when to reload OP1 into the reload
15883         register instead of OP0.
15884
15885 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
15886
15887         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
15888
15889 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
15890
15891         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
15892         string literal.
15893
15894 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
15895
15896         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
15897         (va_dcl): Use __builtin_va_alist_t.
15898
15899 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
15900
15901         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
15902         on the permanent_obstack.
15903         * dwarfout.c (output_type): Likewise.
15904
15905 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15906
15907         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15908         Merged from c-typeck.c and cp/typeck.c.
15909         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15910         Merged into c-common.
15911
15912 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
15913
15914         * c-lex.c (errorcount): Declare it.
15915         (finish_parse): Update errorcount when using CPPLIB.
15916
15917 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
15918
15919         * fixinc/inclhack.def(end_else_label): Double the backslash so
15920         sed gets a chance to see it.
15921         * fixinc/inclhack.sh: regen
15922         * fixinc/fixincl.x: regen
15923
15924 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
15925
15926         Add framework to support armv5 architecture when it becomes
15927         available:
15928
15929         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
15930         (arm_arch5): New variable.
15931         (all_architectures): Add armv5 line.
15932         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
15933         -march=armv5 is specified on the command line.
15934         (arm_arch5): Export this variable.
15935         * invoke.texi: Document new string accepted by -march= switch for
15936         ARM ports.
15937
15938         * config/arm/arm.h: Replace use of constant 12 as a register
15939         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
15940         * config/arm/arm.c: Replace use of constant 12 as a register
15941         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
15942
15943         * config/arm/elf.h: Tidy up.
15944         * config/arm/coff.h: Tidy up.
15945
15946 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
15947
15948         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
15949         * gcc/config/mips/t-iris6gld: New file.
15950         * gcc/config/mips/iris6gld.h: Likewise.
15951
15952 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15953
15954         * c-decl.c (widest_integer_literal_type_node,
15955         widest_unsigned_literal_type) : New.
15956         (init_decl_processing): Handle/use the two new types.
15957         * c-common.c (type_for_size,type_for_mode) : Same.
15958         * c-lex.c (yylex) : Same.
15959         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
15960         Same.
15961         * c-tree.h (widest_integer_literal_type_node,
15962         widest_unsigned_literal_type) : New.
15963
15964 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
15965
15966         * dwarfout.c (field_byte_offset): Correctly compute the object's
15967         byte offset for the first bit of a field which crosses an alignment
15968         boundary on a !BYTES_BIG_ENDIAN target.
15969
15970 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
15971
15972         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
15973         ntohs.
15974
15975 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
15976                           Jeff Law <law@cygnus.com>
15977
15978         * ginclude/varargs.h (va_dcl): Use word_mode for type of
15979         __builtin_va_list.
15980
15981         * except.c: Include intl.h.
15982         (expand_eh_return): Set current_function_cannot_inline.
15983         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
15984         * function.h (struct function): Add eh_return_stub_label.
15985         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
15986         * Makefile.in (except.o): Depend on intl.h.
15987
15988 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
15989
15990         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
15991         same as offsettable in cases 1 and 2.
15992
15993 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
15994
15995         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
15996         (extlh, extwh): Likewise.
15997
15998 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15999
16000         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
16001
16002 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
16003
16004         * configure.in: Add arm-pe and thumb-pe targets.
16005         * configure: Regenerate.
16006
16007         * thumb.c (arm_naked_function_p): New function: Determines if
16008         a function is naked (has no gcc generated prologue/epilogue).
16009         (is_called_in_ARM_mode): Return true if the func has the
16010         interfacearm attribute.
16011         (output_return): Do not generate a return for naked functions.
16012         (thumb_function_prologue): Do not generate a prologue for
16013         naked functions.
16014         (thumb_expand_prologue): Do not generate a prologue for naked
16015         functions.
16016         (thumb_expand_epilogue): Do not generate an epilogue for naked
16017         functions.
16018         (arm_valid_machine_decl_attribute): New function, copied from
16019         arm.c:  Permit naked and interfacearm attributes.
16020
16021         * config/arm/pe.c: New file: Support code for arm-pe target.
16022         * config/arm/pe.h: New file: Header file for arm-pe target.
16023         * config/arm/tpe.h: New file: Header file for thumb-pe target.
16024         * config/arm/t-thumb-pe: New file: Makefile fragment for
16025         thumb-pe target.
16026
16027 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
16028
16029         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
16030         -fPIC or -fpic is specified.
16031
16032 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
16033
16034         * expr.c (emit_block_move): Use copy_to_mode_reg for
16035         !TARGET_MEM_FUNCTIONS case too.
16036
16037         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
16038         appropriate.
16039         * configure: Rebuilt.
16040         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
16041         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
16042         definitions made redundant by dbxelf.h inclusion.  Delete
16043         lots of definitions related to assembly output that are
16044         specific to the SOM object format.
16045         * pa.c (output_function_prologue): Do not emit the function's
16046         name for OBJ_ELF.
16047         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
16048         * pa-pro.h: Deleted.
16049         * som.h: New file with SOM specific definitions.
16050         * elf.h: New file with ELF specific definitions.
16051
16052         * elfos.h (const_section): Output a tab before assembler directives.
16053         (ctors_section, dtors_section): Likewise.
16054         (ASM_OUTPUT_SECTION_NAME): Likewise.
16055
16056         * pa/pa1.h: Delete unused file.
16057
16058 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
16059
16060         * configure.in (hppa*-hp-hpux11*): New configuration.
16061         * configure: Rebuilt.
16062         * pa/pa-hpux11.h: New file.
16063         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
16064         command line.
16065
16066         * mips.md (leasi, leadi): New patterns.
16067
16068         * expr.c (emit_block_move): Properly handle case where one of the
16069         block move arguments has a queued increment or decrement.
16070         (clear_storage): Similarly.  Fix formatting goof.
16071
16072 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
16073
16074         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
16075         semicolon from the BSD VA_LIST replacement expression.
16076
16077         * fixinc/inclhack.sh: regen
16078         * fixinc/fixincl.x: regen
16079
16080         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
16081         now use the fixincl program.
16082
16083 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
16084
16085         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
16086         case.  Also make the PIC register call_used.
16087
16088         * m68k.h (FINALIZE_PIC): Delete.
16089         * m68k.c (finalize_pic): Delete.
16090
16091 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
16092
16093         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
16094         to memory.
16095
16096 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
16097
16098         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
16099
16100 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
16101
16102         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
16103
16104 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
16105
16106         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
16107
16108 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
16109
16110         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
16111
16112 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
16113
16114         * rs6000.c (output_toc): Always use hex values for floating-point
16115         constants.  Store single-precision values in upper-half of TOC
16116         entry in 64-bit mode.
16117         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
16118         to final constraints.
16119         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
16120         (fctiwz): Improve accuracy of RTL for pattern.
16121
16122 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16123
16124         * expr.c (expand_expr): Allow RTL_EXPR's through the
16125         MAX_INTEGER_COMPUTATION_MODE checks.
16126
16127 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
16128
16129         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
16130         such that MASK_SUPPORT_ARCH is not negative.
16131
16132 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
16133
16134         * loop.c (verify_dominator): Properly handle ADDR_VEC and
16135         ADDR_DIFF_VEC insns that appear inside loops.
16136
16137 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
16138                           Jeff Law <law@cygnus.com>
16139
16140         * rs6000.md (movdf_hardfloat32): Revert previous patch.
16141         Handle LO_SUM the same as offsettable in cases 1 and 2.
16142         * rs6000.c (find_addr_reg): Revert previous patch.
16143
16144 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
16145
16146         * system.h (strstr): New external function declaration.
16147         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
16148         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
16149         * config.in, configure: Rebuilt.
16150
16151 1999-06-24  Tom Tromey  <tromey@cygnus.com>
16152
16153         * gcc.c (main): Read user-specified specs files after computing
16154         additional startfile_prefixes.
16155
16156 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
16157
16158         Revert these two patches:
16159
16160         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16161         * loop.c (strength_reduce): When doing biv->giv conversion, update
16162         reg note of NEXT->insn.
16163
16164         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16165         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16166         reg_biv_class.
16167         (recombine_givs): Set ix field after sorting.
16168
16169 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16170
16171         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
16172         for the parts of an UNSPEC / UNSPEC_VOLATILE.
16173
16174 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
16175
16176         *fixinc/inclhack.def:  Add fix development commentary
16177         (read_ret_type): reactivate and add selection clause
16178         (zzz_*): tweak output file name to match what is used in hackshell.tpl
16179         *fixinc/{fixincl.x|inclhack.sh}: regen
16180
16181 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
16182
16183         * expr.c (expand_expr): STRIP_NOPS before checking against
16184         MAX_INTEGER_COMPUTATION_MODE
16185         (check_max_integer_computation_mode): Likewise.
16186
16187 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
16188
16189         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
16190
16191 1999-06-22  Jim Wilson  <wilson@cygnus.com>
16192
16193         * expr.c (store_expr): When target is a promoted subreg, return a
16194         promoted subreg as a result.
16195
16196 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
16197
16198         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
16199         coding standards.
16200         (dwarf2out_define): Mark unused parameters appropriately.
16201         (gen_unspecified_parameters_die): Ditto.
16202         (gen_subprogram_die): Fix signed/unsigned warnings.
16203         (gen_variable_die): Ditto.
16204
16205 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
16206
16207         * fixinc/inclhack.def(end_else_label): combined else_label
16208         and endif_label and fixed the sed expression.
16209         *fixinc/{fixincl.x|inclhack.sh}: regen
16210
16211 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
16212
16213         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
16214         'x' when handling non-offsettable addresses
16215
16216 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
16217
16218         * final.c (shorten_branches): Don't try to split an insn that has
16219         been deleted.
16220
16221 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
16222
16223         * config/mips/mips.c (symbolic_expression_p): New function.
16224         (mips_select_rtx_section): Put symbolic expressions in the
16225         data section, not the read-only data section.
16226
16227 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
16228
16229         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
16230
16231 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
16232
16233         * collect2.c (main): Log frame table count.
16234         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
16235         (scan_prog_file) [COFF]: Handle frame tables.
16236
16237         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
16238         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
16239         * alpha/elf.h: Undef them again.
16240         * alpha/vms.h: Remove their definitions.
16241
16242 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16243
16244         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
16245         remove the clobber of r0 and change the REG_UNUSED note to
16246         REG_INC.
16247
16248 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
16249
16250         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
16251         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
16252         fits in HOST_WIDE_INT and one uses union to access a long constant
16253         as double.
16254
16255 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
16256
16257         * sparc.c (sparc_override_options): Don't allow profiling for
16258         code models other than medlow.
16259         (sparc_function_profiler): New function from old FUNCTION_PROFILER
16260         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
16261         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
16262         (sparc_block_profiler): Likewise.
16263         (sparc_function_block_profiler_exit): Likewise.
16264         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
16265         (FUNCTION_BLOCK_PROFILER): Likewise.
16266         (BLOCK_PROFILER): Likewise.
16267         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
16268         (MCOUNT_FUNCTION): New.
16269         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
16270         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
16271         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
16272         (MCOUNT_FUNCTION): New.
16273         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
16274         (BLOCK_PROFILER): Delete.
16275         (MCOUNT_FUNCTION): New.
16276
16277 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
16278
16279         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
16280
16281 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
16282
16283         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16284         Add the macros.
16285
16286         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16287         Ditto.
16288
16289         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16290         Ditto.
16291
16292         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16293         Ditto.
16294
16295 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
16296
16297         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
16298         types.
16299
16300 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
16301
16302         * i386/djgpp.h (LIB_SPEC): New.
16303         (STARTFILE_SPEC): New.
16304
16305         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
16306
16307 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
16308
16309         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
16310         compiler flags.
16311
16312         * system.h (WSTOPSIG): New macro.
16313
16314 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16315
16316         * c-pragma.c (push_alignment): Don't ignore alignments greater than
16317         4 bytes.
16318         (insert_pack_attributes): Take into account member natural
16319         alignment.
16320
16321         * i386/winnt.c (exports_head): New static variable.
16322         (i386_pe_record_exported_symbol): New function.
16323         (i386_pe_asm_file_end): Use.
16324         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
16325         symbols to be emitted at end of assembly.
16326         (ASM_DECLARE_OBJECT_NAME): Likewise.
16327         (ASM_DECLARE_FUNCTION_NAME): Likewise.
16328
16329         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
16330         -iwithprefix.
16331
16332 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
16333
16334         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
16335         in last change.
16336
16337 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
16338
16339         * haifa-sched.c (sched_analyze_1): Use free_list instead of
16340         zapping reg_last_uses directly.
16341         (sched_analyze_2, sched_analyze_insn): Likewise.
16342         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
16343
16344 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
16345
16346         * rs6000.md (movdf_hardfloat32): Use worst case insn length
16347         attributes for cases 1 and 2.
16348
16349 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
16350
16351         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
16352         instead of set.
16353
16354 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
16355
16356         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
16357
16358 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
16359
16360         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
16361         PIC_OFFSET_TABLE_REGNUM for general alloaction.
16362         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
16363         must be stacked if it is used for PIC accesses.
16364         * arm.c (use_return_insn): Handle PIC register specially.
16365         (output_return_instruction): Likewise.
16366         (output_func_{prologue,epilogue}): Likewise.
16367         (output_expand_prologue): Likewise.
16368
16369         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
16370         (*strsi_predec): Renamed from *strqi_predec.
16371         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
16372         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
16373
16374         * arm.c (arm_override_options): Remove warning about PIC code
16375         not being supported.
16376
16377 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
16378
16379         * rs6000.c (find_addr_reg): New function.
16380         * rs6000.h (find_addr_reg): Declare.
16381         (offsettable_addr_operand): Delete.
16382         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
16383         from and stores to GPRs.
16384
16385 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
16386
16387         * alpha.c (alpha_expand_block_move): Use get_insns rather than
16388         gen_sequence as argument to emit_no_conflict_block.
16389
16390 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16391
16392         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
16393         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
16394         *fixinc/fixincl.x: regen
16395         *fixinc/inclhack.sh: regen
16396
16397 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
16398
16399         * added support for -mpcrel (PC relative addressing for m68k)
16400         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
16401         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
16402         * m68k.c (print_operand_address): Handle 32-bit PIC case.
16403         (comments for general_src_operand): Add some explanation
16404         about EXTRA_CONSTRAINTS.
16405         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
16406         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
16407         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
16408         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
16409         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
16410         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
16411         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
16412         if not already set.
16413         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
16414         * m68k.h (TARGET_PCREL): New target flag.
16415         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
16416         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
16417         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
16418         contains a SYMBOL_REF.  Relax this constraint during reload, since
16419         we want to use the predicates, not reload's built-in concept of a
16420         valid memory address, to control what insns need reloading.
16421         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
16422         operands (essentially 'g', 'm', and 's' under normal circumstances).
16423         * m68k.c (print_operand): Cause printing of pc-relative addresses
16424         to include pc register.
16425         (print_operand_address): Ditto.
16426         (general_src_operand): Accept operands that are not only
16427         general_operands, but are also valid when used as a pc-relative
16428         source.
16429         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
16430         (memory_src_operand): Similar, for memory_operands.
16431         (pcrel_address): New predicate to accept the special case of a
16432         pc-relative address.
16433         * m68k.md (many patterns): Rewrite common SImode, HImode, and
16434         QImode insns to accept *_src_operand instead of *_operand where
16435         pc-relative operands can fit.  For example, a pc-relative operand
16436         can be used as a memory source operand for addsi3, but not as a
16437         memory destination.
16438         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
16439
16440 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
16441
16442         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
16443         .thumb_set pseudo op to mark aliases of thumb functions.
16444
16445 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
16446
16447         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
16448         preference to ASM_OUTPUT_DEF, if it is defined.
16449
16450         * tm.texi: Document new, optional target macro
16451         ASM_OUTPUT_DEF_FROM_DECLS.
16452
16453 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16454
16455         * fixincludes: ISCNTL patch
16456         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
16457         (dgux_int_varargs): new for DG/UX
16458         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
16459
16460 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
16461
16462         * invoke.texi (ia32 options): Fix typo.
16463
16464 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16465
16466         * loop.c (strength_reduce): When doing biv->giv conversion, update
16467         reg note of NEXT->insn.
16468
16469 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
16470
16471         * loop.c (move_movables): Note issues with replacing REGs with
16472         SUBREGs.
16473         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
16474
16475 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
16476
16477         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
16478
16479         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
16480         the reference to `mcount' was not correct for the ELF on FreeBSD.
16481
16482 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16483
16484         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16485         reg_biv_class.
16486
16487         (recombine_givs): Set ix field after sorting.
16488
16489 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
16490
16491         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
16492         to safe to extract a subword out of a REG.
16493
16494 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16495
16496         * sh.md (mulsi3): Don't add a no-op move at the end.
16497
16498 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16499
16500         * cse.c (cse_insn): Don't put hard register source into tables for
16501         the last insn of a libcall.
16502
16503 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16504
16505         * loop.c (strength_reduce): Insert sets of derived givs at every
16506         biv increment, even if it's the only one.
16507
16508 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16509
16510         * dwarfout.c (add_incomplete_type): New fn.
16511         (output_type): Call it.
16512         (retry_incomplete_types): New fn.
16513         (dwarfout_finish): Call it.
16514
16515         From Eric Raskin <ehr@listworks.com>:
16516         (output_type): Output types for bases.
16517
16518 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
16519
16520         * mips.c (mips_output_conditional_branch): Add `break'
16521         between `default' label and `close braces'.
16522
16523 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
16524
16525         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
16526         specifications and make it realistic.
16527         (LIB_SPEC): Likewise.
16528
16529 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
16530
16531         * config/mips/mips.c (mips_secondary_reload_class): Check for
16532         (PLUS (SP) (REG)) and return appropriate register class.
16533         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
16534         Handle (PLUS (SP) (REG)).
16535         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
16536         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
16537         of emit_insn for tablejump.
16538
16539 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
16540
16541         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
16542         asm_fprintf format string by itself.
16543         (output_function_profiler): Likewise.
16544
16545 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
16546
16547         * combine.c (simplify_logical, case AND): Only call
16548         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
16549         or the constant is positive.
16550
16551 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
16552
16553         * configure.in: Fix typo in rs6000-ibm-aix4 case.
16554         * configure: Regenerate.
16555
16556 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
16557
16558         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
16559         require a sub-version #.
16560         * configure: Rebuilt.
16561
16562 1999-06-14  Robert Lipe  (robertlipe@usa.net)
16563
16564         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
16565
16566 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
16567
16568         * c-typeck.c (process_init_element): Detect excess elements in
16569         char array initializer.
16570
16571 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
16572
16573         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
16574
16575 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
16576
16577         * invoke.texi (Option Summary): Add -fpermissive flag.
16578
16579 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
16580
16581         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
16582         that require PIC code sequences.
16583
16584 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
16585
16586         * configure.in: Add new target: thumb-elf.
16587         * configure: Regenerate.
16588         * config/arm/t-thumb-elf: New file: Makefile fragment for
16589         thumb-elf build.
16590         * config/arm/telf.h: New file: Header file for thumb-elf
16591         build.
16592
16593 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
16594
16595         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
16596         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
16597         initializers is some circumstances.
16598
16599         * fixinc/inclhack.def (endif_label): Add additional selector for
16600         more bogus stuff after #endif statements.
16601         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
16602
16603 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16604
16605         * i386/cygwin.h (SET_ASM_OP): Define.
16606
16607 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16608
16609         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
16610
16611 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16612
16613         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
16614         latter.
16615
16616         * sh.md (ic_invalidate_line_i): Remove second alternative.
16617
16618 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16619
16620         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
16621         test for the presence of valid prototypes.  Delete bypass expr.
16622         (ioctl_fix_ctrl): Correct the selection expression.
16623         (no_double_slash): Correct quoting rules
16624         *fixinc/fixincl.x: regen
16625         *fixinc/inclhack.sh: regen
16626
16627 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
16628
16629         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
16630
16631 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16632
16633         * rs6000.md (movsi_got_internal_mem): Delete.
16634         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
16635         (GOT_TOC_REGNUM): Delete.
16636         (PIC_OFFSET_TABLE_REGNUM): Define.
16637         (FINALIZE_PIC): Disable.
16638         * rs6000.c (rs6000_got_register): New code for fixed pic register.
16639         (rs6000_replace_regno): Delete.
16640         (rs6000_finalize_pic): Likewise.
16641         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
16642
16643 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16644
16645         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
16646         is a note; use <= for the compare; advance P while it is
16647         a NOTE.
16648
16649 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
16650
16651         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
16652         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
16653
16654         * varasm.c (remove_from_pending_weak_list): Verify t->name
16655         is non-NULL before passing it to strcmp.
16656
16657 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16658
16659         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
16660         the typed arguments are not part of a comment
16661         (ioctl_fix_ctrl): Added a purpose comment
16662         *fixinc/fixincl.x: regenerate
16663         *fixinc/inclhack.sh: regenerate
16664
16665 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16666
16667         * invoke.texi: Add C4x invocation docs.
16668
16669 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16670
16671         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
16672         Define new macros.
16673         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
16674         TARGET_EXPOSE_LDP.
16675         (c4x_legitimize_reload_address): New function.
16676         * config/c4x/c4x.md: Update docs.
16677
16678 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
16679
16680         * fixincludes: Avoid removing '.'.
16681         * fixinc/fixinc.svr4: Likewise.
16682         * fixinc/fixinc.winnt: Likewise.
16683         * fixinc/inclhack.tpl: Likewise.
16684         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
16685
16686 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16687
16688         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
16689         pattern.
16690         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
16691
16692 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16693
16694         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
16695         correctly.
16696
16697 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
16698
16699         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
16700         * configure: Regenerate.
16701
16702 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
16703
16704         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
16705         values.
16706
16707 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
16708
16709         * fixinc/inclhack.def (avoid_bool): Also catch
16710         "typedef [unsigned] int bool".
16711         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
16712
16713         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
16714         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
16715         * configure: Rebuilt.
16716
16717 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
16718
16719         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
16720         such that we can override its definitions if necessary.
16721         (CPP_SPEC): New define.  Support processor specific predefines via
16722         %(cpp_cpu).
16723         (CC1_SPEC): New define.  Support processor specific compiler
16724         options via %(cc1_cpu).
16725         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
16726         -static.
16727
16728 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16729
16730         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
16731         between sed's -e flag, and the open-quote following it.
16732         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
16733
16734 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
16735                           Jeffrey A Law  (law@cygnus.com)
16736
16737         * varasm.c (assemble_start_function): Remove the function
16738         from the pending weak decls list when we define a function.
16739         (assemble_variable): Similarly for variables.
16740         (weak_finish): Ignore items on the list with a NULL name.
16741         (remove_from_ending_weak_list); New function to "remove" an item
16742         from the pending weak declarations list.
16743
16744 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
16745
16746         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
16747
16748 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
16749
16750         * c-lex.c (GETC): Redefine to call getch.
16751         (UNGETC): Redefine to call put_back.
16752         (putback_buffer): New structure type.
16753         (putback): New static structure.
16754         (getch): New function.
16755         (put_back): New function.
16756         (yylex): Replace unused bytes from bad multibyte character.
16757
16758 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
16759
16760         * cpplib.c (do_define): Cast `alloca' return value.
16761         (do_include, do_undef, do_pragma): Likewise.
16762         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
16763         values.
16764         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
16765         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
16766
16767 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
16768
16769         * sparc.md (abstf2): This should be an expand.
16770         (split after abstf2_notv9): Fix mode.
16771         (abstf2_hq_v9): New pattern.
16772         (abstf2_v9): Only use when no hard quad.
16773         (absdf2_v9): Fix if target is not the same as source.
16774         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
16775         Add correct output constraints.
16776
16777 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
16778
16779         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
16780         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
16781
16782 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
16783
16784         * mips.h (mips_output_conditional_branch): New function.
16785         (mips_adjust_insn_length): Likewise.
16786         (ASSEMBLER_SCRATCH_REGNUM): New macro.
16787         (ADJUST_INSN_LENGTH): Likewise.
16788         * mips.c (print_operand): Add `F' and `W' for floating-point
16789         comparison opcodes.
16790         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
16791         are now in bytes.
16792         (mips_adjust_insn_length): New function.
16793         (mips_output_conditional_branch): New function.
16794         * mips.md (length): Adjust attribute definition to handle
16795         conditional branches.  Change lengths to bytes, rather than
16796         instructions throughout.  Remove length attribute from
16797         instructions whose length is four bytes, and rely on the default
16798         instead.
16799         (dslot): Fix typo in comment.
16800         Reword conditional branch patterns to use
16801         mips_output_conditional_branch.
16802
16803 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16804
16805         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
16806         (LIB_SPEC): Likewise.
16807         Link with -lprof1_r for -g/-pg.
16808
16809 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
16810
16811         * loop.c (check_dbra_loop): Fix change of Jan 19.
16812
16813 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
16814
16815         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
16816         (STARTFILE_SPEC):  Define, override the svr4.h version.
16817         (ENDFILE_SPEC):  Likewise.
16818
16819 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
16820
16821         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
16822         * fixinc/fixincl.x: Regenerated.
16823         * fixinc/inclhack.sh: Regenerated.
16824
16825 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16826
16827         * sh.c (barrier_align): Don't return early for normal branch/barrier
16828         when optimizing for SH2.
16829
16830 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
16831
16832         * i386/udk.h (LINK_SPEC): Correct linker search path for
16833         system libraries.
16834
16835 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16836
16837         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
16838         (braf_label_ref_operand): Delete.
16839         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
16840         * sh.md (casesi_jump_2): Operand1 is now the inside of a
16841         label_ref, and has no predicate.
16842         The patten has a predicate to guard against invalid substitutions.
16843         (dummy_jump): Delete.
16844         (casesi): Update use of casesi_jump_2.
16845
16846 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16847
16848         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
16849         *fixinc/fixincl.x: regenerate
16850         *fixinc/inclhack.sh: regenerate
16851
16852 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
16853
16854         * dwarf2out.c (add_incomplete_type): New fn.
16855         (gen_struct_or_union_type_die): Call it.
16856         (retry_incomplete_types): New fn.
16857         (dwarf2out_finish): Call it.
16858
16859 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
16860
16861         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
16862         current block starts with a CODE_LABEL and ends with a CALL and
16863         we can not find all the argument setup instructions for the CALL.
16864
16865 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
16866
16867         Revert this change:
16868         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
16869         something is a candidate for optimize_bit_field_compare.
16870
16871 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16872
16873         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
16874
16875 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
16876
16877         * alpha.c (override_options): Thinko in last patch.
16878
16879         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
16880         (LIB_SPEC): Recognize -pthread.
16881
16882 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
16883
16884         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
16885         definition in config/arm/coff.h
16886         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
16887
16888 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16889
16890         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
16891         fixes that need "file=xxx\n" prepended before invocation
16892         (start_fixer - new): starting the fixer process is complex enough
16893         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
16894         (process): uses the new routine; omit usage of putenv()
16895         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
16896         * fixinc/fixincl.x: regenerate
16897
16898 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
16899
16900         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
16901         and version #s (1.1 -> 2.96) as needed.
16902         * README.g77: Kill way out of date file in the toplevel directory.
16903
16904 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
16905
16906         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
16907         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
16908         * configure: Rebuilt.
16909         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
16910         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
16911         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
16912         (SWITCH_TAKES_ARG): Likewise.
16913         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
16914         * config/t-freebsd: Moved from config/i386/ so it can used for all
16915         FreeBSD targets.
16916
16917 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
16918
16919         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
16920
16921 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
16922
16923         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
16924         * configure: Rebuilt.
16925
16926 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
16927
16928         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
16929         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
16930         * rs6000/rs6000.c (rs6000_file_start): Use putc.
16931         (rs6000_output_load_toc_table): Same.
16932         (output_prolog, output_mi_thunk): Same.
16933         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
16934         (ASM_GLOBALIZE_LABEL): Use putc.
16935
16936 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
16937
16938         * alpha.md (reload_*_help): New patterns and splitters.
16939         (reload_*): Use them.
16940         (mov[qh]i): Likewise.
16941
16942 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
16943
16944         * cccp.c (handle_directive): Handle backslash-newlines in quoted
16945         strings correctly.
16946
16947 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
16948
16949         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
16950
16951 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
16952
16953         * flow.c (mark_regs_live_at_end, insn_dead_p,
16954         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
16955         and HARD_FRAME_POINTER_REGNUM special treatment if reload
16956         hasn't run or the frame pointer is needed.
16957         * haifa-sched.c (attach_deaths): Likewise.
16958         * sched.c (attach_deaths): Likewise.
16959
16960 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
16961
16962         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
16963         calculate_can_reach_end returns nonzero.
16964
16965         * configure.in (native gas tests): Search for an assembler in the
16966         same manner that the installed compiler will.
16967         * configure: Rebuilt.
16968         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
16969
16970         * alias.c (find_base_term): Improve handling of addresses
16971         constructed from binary operations.
16972
16973 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
16974
16975         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
16976
16977 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
16978
16979         * function.h (cleanup_label, frame_offset): Declare.
16980         (tail_recursion_label, tail_recursion_reentry): Likewise.
16981         (arg_pointer_save_area, rtl_expr_chain): Likewise.
16982         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
16983         (tail_recursion_label, tail_recursion_reentry): Likewise.
16984         (arg_pointer_save_area, rtl_expr_chain): Likewise.
16985
16986 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
16987
16988         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
16989         defined.
16990         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
16991         (MAX_OFILE_ALIGNMENT): Define.
16992
16993 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
16994
16995         * fixincl.c: Replace local include scheme with #includes of
16996         gansidecl.h and system.h.
16997         * procopen.c:  Likewise.
16998         * server.c:  Likewise.
16999
17000 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
17001
17002         * i386/t-dgux (EXTRA_PARTS): Add crti.o
17003         (crti.o): Add build rule and dependencies.
17004         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
17005
17006 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17007
17008         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
17009         (LIB_LINUX_SPEC): Likewise.
17010         (LIB_LINUX_SPEC): Add support for -pthread
17011         (CPP_OS_LINUX_SPEC): Likewise.
17012         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
17013         specified.
17014
17015 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
17016
17017         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
17018         conditional move.
17019         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
17020         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
17021         for IEEE math and CC_FCOMI.
17022         (put_jump_code): No IEEE if CC_FCOMI is set.
17023
17024 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
17025
17026         * fold-const.c (fold_truthop): Make the field reference unsigned
17027         when converting a single bit compare.
17028
17029 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17030
17031         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
17032
17033 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
17034
17035         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
17036         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
17037         version did.
17038
17039         * reload.c (push_reload): Do not call remove_address_replacements
17040         when presented with identical optional reloads.
17041
17042 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
17043
17044         * alpha.h (MASK_FIX, TARGET_FIX): New.
17045         (MASK_*): Reorganize constants.
17046         (CPP_AM_FIX_SPEC): New.
17047         (TARGET_SWITCHES): Add FIX.
17048         (EXTRA_SPECS): Likewise.
17049         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
17050         (SECONDARY_MEMORY_NEEDED): Likewise.
17051         (REGISTER_MOVE_COST): Likewise.
17052         * alpha.c (override_options): Add FIX support.  Always use
17053         ALPHA_TP_PROG for ev6.
17054         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
17055         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
17056         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
17057
17058 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
17059
17060         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17061         something is a candidate for optimize_bit_field_compare.
17062
17063 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
17064
17065         * gcc.texi (Passes): Document branch-shortening.
17066         * invoke.texi (Debugging Options): Document the fact that `-dp'
17067         outputs length information for instructions.
17068
17069 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
17070
17071         * flow.c: Revert previous delta.
17072
17073 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
17074
17075         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
17076         FRAME_POINTER_REGNUM.
17077         (mark_set_1): Ditto.
17078         (mark_used_regs): Ditto.
17079
17080 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
17081
17082         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
17083         (GOT_PCREL): New macro.  Define to 1 if not already defined.
17084         * arm/elf.h (GOT_PCREL): Define to 0.
17085         * arm.c (arm_finalize_pic): Take into account the setting of
17086         GOT_PCREL.
17087
17088 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
17089
17090         * output.h (STRIP_NAME_ENCODING): Provide default definition.
17091         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
17092
17093         * flow.c (mark_set_1): Do not record BLKmode stores as dead
17094         store elimination candidates.
17095
17096 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17097
17098         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
17099         TARGET_GAS.
17100
17101 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
17102
17103         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
17104         Add use of x-aix41-gld.
17105
17106 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
17107
17108         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
17109         (ASM_OUTPUT_DESTRUCTOR): Define.
17110
17111 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
17112
17113         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
17114         last CODE_LABEL in a loop if we have previously passed a jump
17115         to the top of the loop.
17116
17117 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
17118
17119         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
17120         applying Philip's patch.
17121
17122 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
17123
17124         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
17125         are not VAR_DECLs.
17126
17127 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
17128
17129         * loop.c (strength_reduce): Grow reg_single_usage as needed.
17130
17131 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
17132
17133         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
17134         Also remove a useless comment.
17135
17136 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
17137
17138         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
17139
17140 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
17141
17142         * collect2.c (main): Only generate import or export file and add
17143         to link arguments if non-empty.  Use xmalloc not alloca.
17144         (write_{export,import}_file): Delete.
17145         (write_aix_file): New function.
17146         (locatelib): Use xmalloc not malloc.
17147         (GCC_OK_SYMBOL): Do not check type if aix64.
17148
17149 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
17150
17151         Based on patch by Scott Bambrough and Pat Beirne:
17152         * config/arm/arm.c (making_const_table): New variable.
17153         * config/arm/arm.h (making_const_table): Declare.
17154         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
17155         appropriate.
17156         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
17157         Keep track of when we are building the constant table.
17158
17159 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
17160
17161         * config/arm/arm.c (arm_override_options): Fix erroneous warning
17162         message.
17163
17164 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
17165
17166         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
17167         defined.
17168
17169 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
17170
17171         * tm.texi (FUNCTION_ARG): Correct description of a stack element
17172         in a PARALLEL.
17173
17174 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
17175
17176         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
17177
17178 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17179
17180         * rs6000.c (output_mi_thunk): Enable full support again.
17181
17182 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17183
17184         * sh.h (BRANCH_COST): Define.
17185
17186 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
17187
17188         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
17189
17190 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
17191
17192         * function.c (assign_stack_local): Align stack slot propertly.
17193         (assign_outer_stack_local): Likewise.
17194
17195 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
17196
17197         * expr.h (lang_expand_constant): Declare.
17198         * toplev.c (lang_expand_constant): Define it.
17199         * varasm.c (output_constant): Use it.
17200
17201 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17202
17203         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
17204         Change function definitions to K&R style.
17205
17206 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17207
17208         * fixinc/fixincl.c: We must not ignore SIGCLD now.
17209
17210 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
17211
17212         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
17213         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
17214         (several places): omit static initialization
17215         (process): use single fd, since only the read fd is used
17216         * fixinc/gnu-regex.c: define 'const' away, if not supported
17217         * fixinc/procopen.c(several places): omit static initialization
17218         * fixinc/server.c: define 'volitile' away, if not supported
17219
17220 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
17221
17222         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
17223         asm_fprintf and %L to generate the label name.
17224         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
17225         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
17226
17227 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
17228
17229         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
17230         insn for a conditional jump can not be found.
17231
17232 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
17233
17234         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
17235         on variables in specific sections other than .sbss and .sdata.
17236
17237 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
17238
17239         * stmt.c (expand_return): Call start_cleanup_deferral and
17240         end_cleanup_deferral around conditional code.
17241
17242 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17243
17244         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
17245         filename lists.  Utilizes new "krstr" AutoGen function.
17246         * fixinc/fixincl.x: Rebuilt.
17247
17248 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
17249
17250         * i386.c (output_float_compare): Avoid GNU-C extensions.
17251
17252 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
17253
17254         * version.c: Bump to distinguish mainline tree from the
17255         gcc-2.95 branch.
17256
17257 See ChangeLog.1 for earlier changes.