OSDN Git Service

* cp/tinfo.h: Remove apostrophes from C++ comment (xgettext
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
2
3         * i386/osf1elf.h: Add missing backslash to multiline string.
4
5 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6
7         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
8
9 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10
11         * Makefile.in (c-common.o): Depend on $(EXPR_H).
12
13         * c-common.c: Include expr.h.
14
15         * c-pragma.c (mark_align_stack): Add prototype.
16
17         * caller-save.c (add_stored_regs): Likewise.
18
19         * combine.c (record_promoted_value): Likewise.
20
21         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
22         Likewise.
23
24         * cppinit.c (new_pending_define): Likewise.
25
26         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
27
28         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
29         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
30         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
31         class_scope_p): Likewise.
32
33         * dwarf2out.h (dwarf2out_set_demangle_name_func,
34         dwarf2out_add_library_unit_info): Likewise.
35
36         * ggc.h (ggc_page_print_statistics): Likewise.
37
38         * haifa-sched.c (propagate_deps): Likewise.
39
40         * reg-stack.c (next_flags_user, record_label_references): Likewise.
41
42         * rtl.h (set_stack_check_libfunc): Likewise.
43
44         * toplev.h (set_fatal_function): Likewise.
45
46         * toplev.c (set_fatal_function): Delete prototype.
47         
48         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
49         
50 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
51
52         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
53         (FUNC_END): Likewise.
54
55 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
56
57         * caller-save.c: Include tm_p.h.
58
59 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
60
61         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
62
63 2000-02-04  Neil Booth  <NeilB@earthling.net>
64
65         * cccp.c (main): Check 'dir' for a NULL pointer before passing
66         it to strcmp.
67
68 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
69
70         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
71         * genflags.c: Use the max_operand_1 logic from genemit.c to
72         calculate how many arguments gen_insn prototypes have.  Remove
73         NO_MD_PROTOTYPES ifdefs from the generated file.
74         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
75         file.  Cast gen_insn initializers to insn_gen_fn.
76         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
77         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
78
79 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
80
81         * fixinc/Makefile.in (HDR): Add machname.h.
82         (clean): Likewise.
83
84 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
85
86         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
87         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
88         (c4x_cpu_version): Ditto.
89         * config/c4x/c4x-protos.h: ... here.
90
91 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
92
93         * dwarf2out.c (add_abstract_origin_attribute): Don't call
94         gen_abstract_function on our context if we're a nested function.
95
96 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
97
98         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
99         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
100
101 2000-02-04  Bruce Korb  <bkorb@gnu.org>
102
103         * fixinc/genfixes(machname.h):
104         Move the functionality from gen-machine.h into this file.
105         UNdef MN_NAME_PAT if there are no names to change.
106         Also, be a little kinder when AutoGen is not present.
107
108         * fixinc/Makefile.in(machname.h):
109         Change the generation rule to use genfixes.
110
111         * fixinc/fixfixes.c(machine_name):
112         machine_name_fix's functionality now dependent upon whether
113         MN_NAME_PAT is defined.
114
115         * fixinc/fixtests.c(machine_name):
116         ditto.
117
118         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
119         of MN_NAME_PAT.
120
121         * fixinc/fixlib.h(mn_get_regexps):
122         ditto
123
124         * fixinc/gen-machine.h: DELETED
125
126 2000-02-04  Jan Hubicka  <jh@suse.cz>
127             Richard Henderson  <rth@cygnus.com>
128
129         * i386.c (SAVE_REGS_FIRST): Remove.
130         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
131         (ix86_compute_frame_size): Likewise.
132         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
133         (ix86_emit_restore_regs): Remove.
134         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
135         when a frame pointer is in use.
136         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
137         instead of pop to restore a register when profitable; emit leave
138         when profitable.
139         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
140         as a TYPE_LEA insn.
141         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
142         * i386.md (prologue_allocate_stack): Remove.
143         (epilogue_deallocate_stack): Remove.
144         (pro_epilogue_adjust_stack): New.
145
146 2000-02-04  Richard Henderson  <rth@cygnus.com>
147
148         * function.c (diddle_return_value): Rework to use a callback function.
149         Use current_function_return_rtx if it's been set up.
150         (do_clobber_return_reg, clobber_return_register): New.
151         (do_use_return_reg, use_return_register): New.
152         (expand_function_end): Use them.
153         * stmt.c (expand_null_return): Likewise.
154         * function.h: Declare them.
155         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
156         (mark_reg): Change arguments as appropriate for callback.
157         * integrate.c (expand_inline_function): Revert 19 Jan change.
158
159 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
160
161         * tm.texi (Values in Registers): Fix typo: "fo" "for".
162         (Misc): Say the scheduler, not the Haifa scheduler.
163
164 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
165
166         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
167         when in_mem is set.  Update all callers.
168
169 2000-02-04  Richard Henderson  <rth@cygnus.com>
170
171         * i386/openbsd.h (INT_ASM_OP): Define.
172
173 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
174
175         * tm.texi: Fix various typos.
176
177 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
178
179         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
180         (MD_STARTFILE_PREFIX_1): New macro.
181
182 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
183
184         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
185         destination when needed.
186         (strmovsi, strsetsi): New expander.
187         (strmovsi_1, strsetsi_1): New pattern.
188         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
189         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
190         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
191         * invoke.texi (align-stringops, inline-all-stringops): Document.
192
193 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
194
195         * i386/netbsd.h (INT_ASM_OP): Define.
196
197 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
198
199         * cpplib.h (cpp_reader): Add new flag, no_directives.
200         * cpphash.c (macarg): Set it.
201         * cpplib.c (handle_directive): If no_directives is on and we
202         find a directive, issue an error and discard the line.
203
204 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
205
206         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
207         FP constants.  Add ! TARGET_FPU check for FP constants.
208
209 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
210         
211         * flow.c (find_basic_blocks): Don't kill label_value_list
212         here.
213         (cleanup_cfg): Kill it here.
214
215 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
216
217         * expr.c (store_field): Ensure ALIGN is no stricter than the
218         alignment of EXP.
219
220 2000-02-02  Richard Henderson  <rth@cygnus.com>
221
222         * jump.c (delete_insn): Partially revert 19 Jan change; 
223         don't convert unused code labels to notes at -O0.
224
225 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
226
227         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
228         split_all_insns to recreate REG_LABEL notes for flow2 pass.
229
230 2000-02-01  Richard Henderson  <rth@cygnus.com>
231
232         * i386.c (general_no_elim_operand): New.
233         (nonmemory_no_elim_operand): New.
234         (ix86_expand_move): Copy eliminable operands before a push.
235         * i386-protos.h: Declare new functions.
236         * i386.h (CAN_ELIMINATE): Simplify.
237         (PREDICATE_CODES): Update.
238         * i386.md (push insns): Don't allow eliminable register operands.
239
240 2000-02-01  Richard Henderson  <rth@cygnus.com>
241
242         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
243         replace BLKmode with DECL_RTL's mode.
244
245 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
246
247         * frame.c (find_fde): Convert for loop to do-while so compiler
248         sees it's always executed at least once.
249         * libgcc2.c (BBINBUFSIZE): Kill.
250         (__bb_init_prg): Use fgets.
251         (__bb_exit_trace_func): Don't paste strings.
252         * unroll.c (unroll_loop): Initialize unroll_type, not
253         unroll_number, and tweak logic to match.
254
255         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
256         all failure paths.
257         (ix86_flags_dependant): Likewise.  Disentangle control flow.
258         (ix86_sched_reorder): Break guts out to
259         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
260         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
261         any possible use.
262
263         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
264         use string concatenation.  Don't save and restore esi.
265
266         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
267         (machname.h): Remove script to separate file.  Use two-step
268         sequence so target is not created if script fails.
269         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
270         identifiers are defined.
271         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
272         an empty string, machine_name doesn't need to do anything at
273         all.
274         (is_cxx_header): Add more cases to regexp.
275         * fixinc/fixlib.h: Update prototype.
276         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
277         mn_get_regexps.
278         * fixinc/fixincl.c: Define NO_BOGOSITY.
279
280         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
281         (hp_sysfile): Add missing comma.
282         (math_exception): Put the wrapper ifdefs at the beginning and
283         the end of the file.
284         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
285
286 2000-02-01  Richard Henderson  <rth@cygnus.com>
287
288         * sparc.c (fp_zero_operand): Turn into a normal predicate.
289         Use CONST0_RTX.  Update all callers.
290         * sparc.h, sparc-protos.h: Update accordingly.
291         * sparc.md (fp mov insns): Use fp_zero_operand directly
292         where applicable.
293
294 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
295
296         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
297         example.
298
299 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
300
301         * Makefile.in (specs.ready): New target.
302         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
303
304 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
305
306         * fixinc.irix: Use unique filenames for writing into /tmp,
307         * fixinc.ptx: Likewise.
308         * fixinc.sco: Likewise.
309         * fixinc.svr4: Likewise.
310         * fixinc.winnt: Likewise.
311
312 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
313
314         * tsystem.h: New file.
315
316         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
317         s-crtS): Depend on tsystem.h.
318
319         * crtstuff.c: Include tsystem.h.
320         * frame.c: Likewise.
321         * libgcc2.c: Likewise.
322
323 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
324
325         * builtins.c (expand_builtin_memset): Expand for variable sized
326         lengths too.
327
328 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
329
330         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
331         on ABI.
332
333 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
334
335         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
336
337         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
338
339 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
340
341         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
342         case 3->2 combining (combining with splitting) in which 2 is CC0
343         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
344         checked at the begining of the function with the aid of calling 
345         function 'can_combine_p'. 
346
347 2000-01-31  Dave Brolley  <brolley@redhat.com>
348
349         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
350
351 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
352
353         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
354         new label.
355
356 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
357
358         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
359         
360         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
361         PROTO -> PARAMS.
362
363 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
364
365         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
366         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
367         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
368         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
369         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
370         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
371         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
372         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
373         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
374         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
375         
376         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
377         Add %(cpp_cpu) to CPP_SPEC.
378
379         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
380         Add %(cc1_cpu) to CC1_SPEC.
381
382 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
383
384         * c-decl.c (c_decode_option): Accept optional numeric argument to
385         -Wformat and set warn_format.
386         * c-common.c: Don't emit warning about non-constant printf format
387         string unless warn_format > 1.
388
389 2000-01-30  Richard Henderson  <rth@cygnus.com>
390
391         * alpha.md (return_internal): Allow after reload only.
392
393 2000-01-30  Richard Henderson  <rth@cygnus.com>
394
395         * i386.c (ix86_compute_frame_size): Omit padding1 if the
396         local frame size is zero.
397
398 2000-01-30  Richard Henderson  <rth@cygnus.com>
399
400         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
401         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
402         * alpha.md (return): Turn into an expander.
403         (return_internal): Don't use $26.
404         (epilogue): Emit the return insn.
405
406 2000-01-30  Richard Henderson  <rth@cygnus.com>
407
408         * alpha.md (negtf2, abstf2): Fix word order thinko.
409         (extendsftf2): New.
410         (trunctfsf2): Avoid intermediate rounding errors.
411
412 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
413
414         * cppfiles.c (find_position): Drop 'colp' argument, return the
415         new line base.
416         (read_and_prescan): Adjust to match.  Don't ever manipulate
417         line or line_base except via find_position.
418
419 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
420
421         * c-parse.in: Apply Ulrich's changes from c-parse.y.
422         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
423         Regenerate.
424
425 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
426
427         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
428         just print "<command line>".  If 'filename' is null or an
429         empty string, print "<stdin>" for the filename.
430         * cpplib.c (do_define): Don't print the 'location of the
431         previous definition' message if we're still parsing the
432         command line.
433         (cpp_pedwarn_with_file_and_line): Always call
434         cpp_file_line_for_message.
435
436 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
437
438         * flow.c (mark_regs_live_at_end): Fix typo.
439
440 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
441
442         * c-common.c: Adjust variable names, comments, help strings to c99.
443         * c-lex.c: Likewise.
444         * c-parse.y: Likewise.
445         * c-tree.h: Likewise.
446         * cccp.c: Likewise.
447         * cpplib.h: Likewise.
448         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
449         * cppinit.c: Likewise.
450
451 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
452
453         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
454         * c4x.c: Define the optab rtx values.
455         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
456         (c4x_emit_libcall): Use new optab rtx values.
457         (c4x_emit_libcall3): Likewise.
458         (c4x_emit_libcall_mulhi): Likewise.
459         * c4x-protos.h: Add prototypes for optab rtx values and change
460         prototypes for above c4x_emit_libcall functions.
461
462 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
463
464         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
465         syntax is used.
466         (c4x_function_prologue): Use regnames intead of float_reg_names when
467         TI syntax is used.
468         (c4x_function_epilogue): Likewise.
469         (c4x_print_operand): Likewise.
470         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
471         * c4x.md (set_high): Disable for TARGET_TI.
472
473 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
474
475         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
476         of framepointer + constant to ADDR_REGS class.
477         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
478         * c4x.c (std_or_reg_operand): New function.
479         * c4x-protos.h (std_or_reg_operand): Prototype it.
480
481 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
482
483         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
484                 object names as libgcc2.c.
485         * libgcc.S: Use newly defined names.
486
487 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
488         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
489         function.
490         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
491         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
492         (FLOW_LOOP_LAST_BLOCK): Likewise.
493
494 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
495
496         * basic-block.h (struct loop): New fields 'first' and 'last'.
497         * flow.c (flow_loops_find): Compute loop->first and loop->last.
498         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
499         and loop->last to check for NOTE_INSN_LOOP_END.
500
501 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
502
503         * predict.c (estimate_probability): Use the new FIRST and LAST fields
504         of the loop descriptor rather than HEADER and LATCH. Also added
505         missing break statements as well making some coding style modifications
506         as suggested by Michael Hayes.
507
508 2000-01-28  Richard Henderson  <rth@cygnus.com>
509
510         * flow.c (find_basic_blocks): Remove do_cleanup argument.
511         Break out that code ...
512         (cleanup_cfg): ... here.
513         (commit_one_edge_insertion): Detect a return instruction being
514         emitted to an edge.  Emit a barrier following; clear fallthru.
515         (commit_edge_insertions): Verify CFG consistency.
516         * function.c (expand_function_start): Kill unused variable.
517         (expand_function_end): Likewise.
518         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
519         to insert the epilogue.
520
521         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
522         (delete_null_pointer_checks): Likewise.
523         * output.h: Likewise.
524         * reg-stack.c (reg_to_stack): Likewise.
525         * toplev.c (rest_of_compilation): Likewise.  Run
526         thread_prologue_and_epilogue_insns after rebuilding the CFG.
527
528 2000-01-28  Richard Henderson  <rth@cygnus.com>
529
530         * Makefile.in (flow.o): Revert 24 Jan change.
531         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
532         FUNCTION_VALUE result to DECL_RESULT's mode.
533
534         * haifa-sched.c (schedule_insns): Don't recompute reg info
535         after reload.
536
537 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
538
539         * configure.in: Make --enable-cpplib the default.
540         * configure: Regenerate.
541         * gcc.dg/990119-1.c: No longer expected to fail.
542
543 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
544
545         * jump.c (jump_optimize_1): Delete an optimization that is also done
546         by merge_blocks in flow.
547
548 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
549
550         * diagnostic.c (build_message_string, output_printf,
551         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
552         (build_location_prefix): Fix non-literal format string.
553
554 2000-01-27  Richard Henderson  <rth@cygnus.com>
555
556         * alpha.md (trunctfsf2): New.
557
558 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
559
560         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
561
562 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
563
564         * cppinit.c (cpp_handle_option): Recognize C++ comments under
565         -std=gnu89.
566         * cpplib.c (skip_block_comment, skip_line_comment): Split code
567         out of...
568         (skip_comment) ... here.  Permit C++ comments in system
569         headers always.  Warn about C++ comments in user code under
570         -std=gnu89 -pedantic.
571         (copy_comment): Use skip_comment.
572         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
573         return EOF.
574         (consider_directive_while_skipping, do_else, do_endif): Call
575         validate_else unconditionally.
576         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
577         text after the conditional in a system header.
578         * cpplib.h (struct cpp_buffer): Add flag
579         warned_cplusplus_comments.
580
581 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
582
583         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
584         Use unshare_all_rtl_1.
585         (unshare_all_rtl_again): New function.
586         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
587
588         * function.c (purge_addressof_1): Use unshare_all_rtl_again
589         rather than resetting the 'used' flags ourself.
590
591         * toplev.c (rest_of_compilation): Add current_function_decl
592         to the unshare_all_rtl call.
593         * tree.h: Prototype unshare_all_rtl.
594         * rtl.h: Prototype unshare_all_rtl_again here.
595
596 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
597
598         * genoutput.c (output_prologue): Include ggc.h in generated
599         files.
600         * Makefile.in (insn-output.o): Depends on ggc.h.
601
602 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
603             Hans-Peter Nilsson  <hp@bitrange.com>
604
605         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
606         Remove redundant include of xm-ns32k.h.
607         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
608         Remove redundant include of xm-ns32k.h.
609         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
610         Remove redundant include of xm-ns32k.h.
611         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
612
613         * ns32k/ns32k.h: Update comment on multiply-add instructions.
614         (TARGET_SWITCHES): Add documentation strings.
615         (DWARF_FRAME_REGNUM): Override default definition.
616         (REG_CLASS_CONTENTS): Add comments.
617         (SUBSET_P): Format to reduce line length.
618         (SMALL_REGISTER_CLASSES): Make a run time option.
619         (GO_IF_NONINDEXED_ADDRESS): Reformat.
620         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
621         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
622         (regclass_map): fix typo in comment.
623         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
624         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
625         (trace, reg_or_mem_operand): Delete, unused function.
626         (calc_address_cost): Small offsets are cheaper than large ones.
627         (expand_block_move): Generate more efficient code when bytes is a
628         known at compile time.
629         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
630         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
631         instead of reg_or_mem_operand.
632
633         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
634         not general_operand.  Similarly use "=rm" or stricter, not "=g".
635         For input operands, use stricter constraints than "g" if not
636         general_operand.  Similarly use stricter predicate than
637         "general_operand" when stricter constraints than "g" are present,
638         except for matching constraints.
639         (movstrsi): Use "memory_operand" for operands 0 and 1.
640         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
641         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
642         not reg_or_mem_operand.
643         (udivmoddisi4): Ditto.
644         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
645         Use nonimmediate_operand for operand 3, not register_operand.
646         (udivmoddiqi4_internal): Use register_operand for operand 1, not
647         reg_or_mem_operand.
648
649 2000-01-27  Fred Fish  <fnf@be.com>
650
651         * gthr-posix.h: Fix typo; compatibily -> compatibility.
652         * gthr-single.h: Likewise.
653         * gthr-solaris.h: Likewise.
654         * gthr-vxworks.h: Likewise.
655         * gthr-win32.h: Likewise.
656         * gthr.h: Likewise.
657
658 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
659
660         * cppinit.c: Add " (cpplib)" to end of string printed by
661         -v / --version.
662
663 2000-01-27  Richard Henderson  <rth@cygnus.com>
664
665         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
666         testing for a signed comparison.
667         (alpha_emit_floatuns): New.
668         * alpha-protos.h: Declare it.
669         * alpha.md (floatunsdisf2, floatunsdidf2): New.
670         (extendsfdf2): Tidy.
671
672 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
673
674         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
675         no -g option specifying debugging format, default to -gstabs+.
676
677 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
678
679         * calls.c (special_function_p): New argument fork_or_exec.
680         (expand_call): When profile_arc_flag is set and the function
681         is in the fork_or_exec group, call __bb_fork_func first.
682         * libgcc2.c, _bb module (__bb_fork_func): New function.
683         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
684         output file.
685         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
686         * tree.h (special_function_p): Update prototype.
687
688 2000-01-26  Richard Henderson  <rth@cygnus.com>
689
690         * alpha.c (alpha_split_tfmode_pair): New.
691         * alpha-protos.h: Declare it.
692         * alpha.md (abstf2, negtf2): New.
693         (movtf insn): Add input G constraint.
694         (movtf splitter): Use alpha_split_tfmode_pair.
695
696 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
697
698         * i386/cygwin.h: PROTO -> PARAMS.
699
700 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
701
702         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
703         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
704         using _Qp_cmp/_Q_cmp and testing the return value.
705         (print_operand): Call reverse_condition_maybe_unordered if
706         we are handling CCFPmode or CCFPEmode.
707         Handle ORDERED, UN* and LTGT comparisons.
708         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
709         if not TARGET_HARD_QUAD.
710         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
711         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
712         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
713         Adjust gen_b* calls so that they reflect return comparison of
714         sparc_emit_float_lib_cmp.
715
716 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
717
718         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
719         incoming operands array is large enough for one more operand.
720         (alpha_emit_xfloating_arith): Likewise.
721
722 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
723
724         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
725         file with one line and no trailing newline.
726         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
727         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
728         checking if the match is on the line.
729         * fixinc/gnu-regex.c: Provide regerror not __regerror.
730
731 2000-01-25  Richard Henderson  <rth@cygnus.com>
732
733         * sparc.c (output_cbranch): Fix accidental squashing of the
734         fp branch pre-delay nop.
735
736 2000-01-25  Richard Henderson  <rth@cygnus.com>
737
738         * tree.def (UNNE_EXPR): Remove.
739         * c-typeck.c (build_binary_op): Don't handle it.
740         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
741
742         * rtl.def (UNNE): Remove.
743         (LTGT): Add.
744         * jump.c (reverse_condition): Update accordingly.
745         (swap_condition): Likewise.
746         (comparison_dominates_p): Handle unordered comparisons.
747         (reverse_condition_maybe_unordered): New.
748         * rtl.h (reverse_condition_maybe_unordered): Declare.
749
750         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
751         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
752         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
753         * sparc.md (bltgt): New.
754
755 2000-01-25  Nick Clifton  <nickc@redhat.com>
756
757         * emit-rtl.c (emit_insn): Only check machine class insns for
758         improper emission of a RETURN.
759
760 2000-01-25  Richard Henderson  <rth@cygnus.com>
761
762         * Makefile.in (flow.o): Depend on $(EXPR_H).
763         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
764         duplicate the structure of diddle_return_value for keeping regs live.
765
766 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
767
768         * loop.c (current_loop_info): Delete.
769         (consec_sets_invariant_p): Add loop argument, update callers.
770         (get_condition_for_loop): Likewise.
771         (count_nonfixed_reads, update_giv_derive): Likewise.
772         (simplify_giv_expr, general_induction_var): Likewise.
773         (consec_sets_giv, recombine_givs): Likewise.
774         (move_movables): Delete loop_start and loop_end arguments,
775         add loop argument, and update callers.
776         (find_mem_givs, check_final_value): Likewise.
777         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
778         (loop_invariant_p): Rename from invariant_p, add loop argument, and
779         update callers.
780         (basic_induction_var): Add loop argument, delete loop_level argument,
781         and update callers.
782         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
783         add loop argument, and update callers.
784         (find_splittable_regs, find_splittable_givs): Likewise.
785         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
786         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
787         (biv_total_increment): Delete loop_start and loop_end arguments;
788         update callers.
789         (precondition_loop_p): Delete loop_start and loop_info arguments;
790         update callers.
791         * loop.h (get_condition_for_loop): Add loop argument.
792         (biv_total_increment): Delete loop_start and loop_end arguments.
793         (precondition_loop_p): Delete loop_start and loop_info arguments;
794         add loop argument.
795         (final_biv_value): Delete loop_start and loop_end arguments;
796         add loop argument.
797         (final_giv_value, back_branch_in_range_p): Likewise.
798
799 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
800
801         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
802
803 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
804
805         * Makefile.in (c-gperf.h) : Change the "See" pointer to
806         point to the new "generated_files" doc.
807
808 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
809
810         * config/fp-bit.c (_unord_f2): Fix typo.
811
812 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
813
814         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
815         c-typeck.c, objc/objc-act.c: Remove all references to obstack
816         functions obsoleted by GC, such as push_obstacks_nochange,
817         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
818         and code which existed only to decide whether or not to call
819         them.  Remove now-unused NESTED argument from start_function;
820         all callers changed.  Do not change behavior based on ggc_p.
821         The use of the ixp_obstack in c-iterate.c and the util_obstack
822         in objc/objc-act.c remain; these are not obsoleted by garbage
823         collection.
824         * c-tree.h: Update prototype for start_function.
825
826         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
827
828 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
829
830         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
831         mips16.
832
833 2000-01-25  Richard Henderson  <rth@cygnus.com>
834
835         * sparc-protos.h (select_cc_mode): Declare.
836         * sparc.c (select_cc_mode): New.  Handle unordered compares.
837         (output_cbranch): Always reverse via code change.  Handle
838         unordered compares.  Factor tests and string updates.
839         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
840         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
841         * sparc.md (bunordered, bordered): New.
842         (bungt, bunlt, buneq, bunge, bunle): New.
843
844 2000-01-25  Richard Henderson  <rth@cygnus.com>
845
846         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
847         * ggc-common.c (ggc_add_rtx_varray_root): New.
848         (ggc_mark_rtx_varray): New.
849         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
850         functions down below ggc_mark_foo.
851         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
852
853 2000-01-25  Richard Henderson  <rth@cygnus.com>
854
855         * alpha.c (secondary_reload_class): Don't allocate a secondary
856         for integral mode memories into FLOAT_REGS.  Rearrange the more
857         complicated memory expression inward.
858
859 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
860
861         * inclhack.def: Fixes to play nicer with FreeBSD, and
862         corrections to comments.
863         (cxx_unready): Add select expression.
864         (irix_sockaddr): Add bypass expression.
865         (machine_ansi_h_va_list): New fix.
866         (stdio_va_list): No need to edit _BSD_VA_LIST_.
867         Split out addition of "#include <stdarg.h>" to...
868         (stdio_stdarg_h): ... here.
869         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
870         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
871         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
872         size_t.
873         (ultrix_ifdef): Tighten up select expression.
874
875         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
876         re_ct and max_mach to avoid use of shell.  Make printed names
877         match names in inclhack.def.  Use static copyright date.
878         Don't count c_test and test expressions as requiring regex_t
879         slots.  Add some commentary.
880         * inclhack.tpl: Do not include the 'This script contains N
881         fixup scripts' line if PROGRAM is defined.  Use static
882         copyright date.
883
884 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
885
886         * dwarf2out.c: include "varray.h", not dyn-string.h.
887         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
888         (addr_const_to_string, addr_to_string): Lose.
889         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
890         (struct dw_val_struct): val_addr is now an rtx.
891         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
892         (used_rtx_varray): New varray.
893         (dwarf2out_init): Initialize it.
894         (save_rtx): New fn.
895         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
896         addr_to_string.
897         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
898         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
899         * Makefile.in (dwarf2out.o): Update dependencies.
900
901 2000-01-24  Richard Henderson  <rth@cygnus.com>
902
903         * i386.c (i386_dwarf_output_addr_const): New.
904         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
905
906         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
907         if defined.
908         * dwarfout.c (output_mem_loc_descriptor): Likewise.
909         * i386.c (i386_simplify_dwarf_addr): New.
910         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
911
912 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
913
914         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
915         TYPE_STUB_DECL is NULL.
916
917 2000-01-24  Richard Henderson  <rth@cygnus.com>
918
919         * builtins.c (expand_tree_builtin): Move ...
920         * c-common.c (expand_tree_builtin): ... here.
921
922 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
923
924         * loop.h (LOOP_INFO): New accessor macro.
925         * basic-block.h (struct loop): Rename field `info' to `aux'.
926         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
927         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
928         * unroll.c (loop_iterations, unroll_loop): Likewise.
929
930 2000-01-24  Christopher Faylor <cgf@cygnus.com>
931
932         * config/i386/t-cygwin: Accomodate new winsup directory layout
933         when searching for include files.
934
935 2000-01-24  Richard Henderson  <rth@cygnus.com>
936
937         * rtl.def: Add unordered fp comparisions.
938         * tree.def: Likewise.
939         * tree.h: Add ISO C 9x unordered fp comparision builtins.
940
941         * builtins.c (expand_tree_builtin): New function.
942         * c-typeck.c (build_function_call): Use it.
943         (build_binary_op): Support unordered compares.
944         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
945
946         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
947         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
948         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
949         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
950         * jump.c (reverse_condition): Don't abort for UNLE etc, but
951         return UNKNOWN.
952         (swap_condition): Handle unordered compares.
953         (thread_jumps): Check can_reverse before reversing.
954         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
955         reversed for FP.
956
957         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
958         setcc is present before acking for cmp_optab.  Update all callers.
959         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
960         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
961         * expr.c (expand_expr): Likewise.  Support unordered compares.
962         (do_jump, do_store_flag): Likewise.
963         * expr.h (enum libfunc_index): Add unordered compares.
964
965         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
966         (DPBIT_FUNCS): Add _unord_df.
967         * config/fp-bit.c (_unord_f2): New.
968         * fp-test.c (main): Try unordered compare builtins.
969
970         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
971         * alpha.c (alpha_comparison_operator): Check mode properly.
972         (alpha_swapped_comparison_operator): Likewise.
973         (signed_comparison_operator): Likewise.
974         (alpha_fp_comparison_operator): New.
975         (alpha_emit_conditional_branch): Handle unordered compares.
976         * alpha.h (PREDICATE_CODES): Update.
977         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
978         (bunordered, bordered): New.
979
980 2000-01-24  Richard Henderson  <rth@cygnus.com>
981
982         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
983         * alpha.md (movtf): New expander, insn, and splitter.
984
985 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
986
987         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
988         dead registers.
989
990 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
991
992         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
993         (FIXED_REGISTERS, CALL_USED_REGISTERS,
994          REG_ALLOC_ORDER): Add frame pointer
995         (FRAME_POINTER_REGNUM): Set to 20
996         (HARD_FRAME_POINTER_REGNUM): New macro.
997         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
998         to HARD_FRAME_POINTER.
999         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
1000         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
1001         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
1002         (HI_REGISTER_NAMES): Add "frame".
1003         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
1004         (debug_reg): Handle FRAME_POINTER_REGNUM.
1005         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
1006         GENERAL_REGS and INDEX_REGS.
1007         * i386.c (SAVED_REGS_FIRST): new macro.
1008         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
1009         (ix86_decompose_address, memory_address_length): Likewise.
1010         (regclass_map): Add frame pointer.
1011         (call_insn_operand): Handle frame_pointer_rtx.
1012         (reg_no_sp_operand): Likewise.
1013         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
1014         (print_operand, legitimize_pic_address): Fix formating.
1015         (ix86_compute_frame_size): Make static, update prototype, new
1016         parameters padding1, padding2, use ix86_nsaved_regs, use
1017         stack_alignment_needed.
1018         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
1019         to HARD_FRAME_POINTER_REGNUM conversions.
1020         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
1021         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
1022         (print_reg): Abort on FRAME_POINTER_REGNUM
1023
1024 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
1025
1026         * i386.h (PREDICATE_CODES): Add aligned_operand.
1027         * i386.c (aligned_operand): New function.
1028         (ix86_aligned_p): Kill.
1029         * i386.md (movhi_1): Emit mov for aligned operands.
1030         (promoting peep2s): Use aligned_operand.
1031
1032 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
1033
1034         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
1035         expression to allow underscores in macro names.
1036         (fix_char_macro_defines): Increment scanning pointer.
1037
1038 2000-01-23  Richard Henderson  <rth@cygnus.com>
1039
1040         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
1041         * alpha/osf5.h: New file.
1042         * configure.in (alpha-*-osf5): Add it to tm_file.
1043
1044         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
1045
1046         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
1047         (alpha_emit_xfloating_cvt, function_arg): Declare.
1048         * alpha.c (alpha_emit_conditional_branch): Call
1049         alpha_emit_xfloating_compare for TFmode compares.
1050         (alpha_lookup_xfloating_lib_func): New.
1051         (alpha_compute_xfloating_mode_arg): New.
1052         (alpha_emit_xfloating_libcall): New.
1053         (alpha_emit_xfloating_arith): New.
1054         (alpha_emit_xfloating_compare): New.
1055         (alpha_emit_xfloating_cvt): New.
1056         (print_operand): Add default abort case.
1057         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
1058         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
1059         (BIGGEST_ALIGNMENT): Increase to 128 bits.
1060         (RETURN_IN_MEMORY): True for TF/TCmode.
1061         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
1062         (FUNCTION_ARG): Move to function_arg.
1063         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
1064         (ASM_OUTPUT_LONG_DOUBLE): New.
1065         (ASM_OUTPUT_DOUBLE): Always output bits.
1066         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
1067         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
1068         (extenddftf2, trunctfdf2): New.
1069
1070 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1071
1072         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
1073         * config/sparc/sol2.h: ... here.
1074
1075 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1076
1077         * basic-block.h (struct loops): New field `levels'.
1078         * flow.c (flow_loops_level_compute): Traverse all outer loops.
1079         (flow_loop_level_compute): Initialise level to 1.
1080         (flow_loops_find): Set loops->levels.
1081         (flow_loops_dump): Print loops->levels.
1082
1083 2000-01-23  Richard Henderson  <rth@cygnus.com>
1084
1085         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
1086         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
1087
1088 2000-01-23  Richard Henderson  <rth@cygnus.com>
1089
1090         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
1091         * i386.h (DBX_REGISTER_NUMBER): Use them.
1092         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
1093         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
1094         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
1095         * i386/sequent.h: Kill incorrect comment.
1096
1097 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
1098
1099         * ggc-page.c (struct page_entry): Make `context_depth' an
1100         `unsigned short'.
1101         (struct globals): Likewise.
1102
1103 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
1104
1105         * loop.c (check_dbra_loop): When checking a loop for
1106         reversability, check the source of any stores to ensure
1107         they don't depend on an initial value.
1108
1109 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1110
1111         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
1112
1113 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
1114
1115         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
1116         'pz_scan' into scope of entire function.  Only affects
1117         compiles with -DDEBUG.
1118
1119 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
1120
1121         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
1122         section naming to that prior to 2000-01-07 patch.
1123         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
1124         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
1125         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
1126         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
1127         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
1128
1129 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
1130
1131         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
1132         constant.
1133
1134 2000-01-21  Jim Wilson  <wilson@cygnus.com>
1135
1136         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
1137         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
1138
1139 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
1140
1141         * cpphash.c (change_newlines): Delete function.
1142         (struct argdata): Delete 'newlines' and 'use_count' fields.
1143         (macroexpand): Remove code referencing those fields.
1144
1145 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1146
1147         * loop.c (loops_info): New variable.
1148         (loop_optimize): Allocate loops->array and free it on exit.
1149         Allocate memory for loops_info and assign to each loop,
1150         replacing alloca.
1151         (find_and_verify_loops): Do not allocate loops->array.
1152
1153 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
1154
1155         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
1156
1157 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
1158
1159         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
1160         pseudos if expanded after first flow.
1161         (movdi_pic_label_ref): Likewise.
1162
1163 2000-01-20  Richard Henderson  <rth@cygnus.com>
1164
1165         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
1166
1167 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
1168
1169         * Makefile.in (fixinc.sh): Depend on specs.
1170         * fixinc/Makefile.in: Add rule to create machname.h.
1171         (fixlib.o): Depend on machname.h.
1172         * fixinc/fixtests.c (machine_name): New test.
1173         * fixinc/fixfixes.c (machine_name): New fix.
1174         * fixinc/fixlib.c (mn_get_regexps): New helper function for
1175         the machine_name test and fix.
1176         * fixinc/fixlib.h: Prototype it.
1177         * fixinc/inclhack.def (machine_name): Use the C test and fix.
1178         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
1179
1180         * gcc.c (do_spec_1) [case P]: Take care not to create
1181         identifiers with three leading or trailing underscores.
1182
1183         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
1184         (fixincl): Don't specify libraries twice on link line.
1185         (gnu-regex.o): Remove special rule.
1186         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
1187         defined by config.h.  Do not define _REGEX_RE_COMP.
1188         (regcomp): Allocate and initialize a fastmap.
1189         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
1190
1191 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
1192
1193         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
1194
1195 2000-01-19  Richard Henderson  <rth@cygnus.com>
1196
1197         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
1198         arguments with BB.  Update all callers.  Tidy line wrapping.
1199
1200 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
1201
1202         * emit-rtl.c (try_split): Return last_insn if we split the
1203         last_insn.
1204
1205 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
1206
1207         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
1208         (ix86_initial_elimination_offset): Declare.
1209         * i386.c (ix86_nsaved_regs): Break out from ...
1210         (ix86_can_use_return_insn_p): ... here.
1211         (ix86_emit_save_regs): Break out from ...
1212         (ix86_expand_prologue): ... here.
1213         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
1214         out from ...
1215         (ix86_expand_epilogue): ... here.
1216         (ix86_compute_frame_size): Make static, add prototype.
1217         (ix86_initial_elimination_offset): Break out from ...
1218         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
1219
1220 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1221
1222         * recog.h (OUT_FCN): Delete.
1223
1224         * vax.md: Call `get_insn_template' instead of OUT_FCN.
1225
1226 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1227
1228         * cppalloc.c: PROTO -> PARAMS.
1229         * cpperror.c: Likewise.
1230         * cppfiles.c: Likewise.
1231         * cpplib.c: Likewise.
1232         * cpplib.h: Likewise.
1233
1234         * config/arm/arm-protos.h: PROTO -> PARAMS.
1235         * config/arm/arm.c: Likewise.
1236         * config/c4x/c4x.c: Likewise.
1237         * config/fr30/fr30-protos.h: Likewise.
1238         * config/nextstep.c: Likewise.
1239         * config/pa/pa.c: Likewise.
1240         * config/pj/pj.c: Likewise.
1241         * config/rs6000/rs6000.c: Likewise.
1242         * config/v850/v850-protos.h: Likewise.
1243         * config/v850/v850.c: Likewise.
1244
1245 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1246
1247         * i370-protos.h: New file.
1248
1249         * i370.c: Include tm_p.h.  Fix compile time warnings.
1250
1251         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
1252         warnings.
1253
1254         * i370.md: Likewise.
1255
1256 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1257
1258         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
1259         (target_isinf, target_isnan, eisnan): Mark parameter with
1260         ATTRIBUTE_UNUSED.
1261         (eiisinf): Wrap in INFINITY.
1262         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
1263         (ibmtoe): Remove unused variable `rndsav'.
1264
1265 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1266
1267         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
1268         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
1269
1270 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
1271
1272         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
1273         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
1274         (fix_char_macro_defines, fix_char_macro_uses): New functions.
1275
1276         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
1277         Recognize Emacs mode markers also.
1278         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
1279         C++ comments in C++ headers.  Call is_cxx_header only if
1280         necessary.
1281
1282         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
1283         bypass for ncurses.
1284         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
1285         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
1286         ... these, which use the new C fixes.
1287         (math_exception): Escape literal '+' in bypass expression.
1288
1289         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
1290         Regenerate.
1291
1292 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
1293
1294         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
1295         inside the MEM.
1296
1297 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1298
1299         * loop.c (loop_optimize): Allocate loop_info structure for each loop
1300         prior to calling scan_loop.
1301
1302 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1303
1304         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
1305         (split_branches, calc_live_regs): Likewise.
1306
1307 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1308
1309         * sh.md (fpu_single, fp_mode): New attributes.
1310
1311 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1312
1313         * loop.c (current_loop_info): Renamed from loop_info_data
1314         and changed to a pointer.
1315         (loop_optimize): Allocate loop_info structure for each loop
1316         and initialise to zero.
1317         (scan_loop): Set current_loop_info.
1318
1319         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
1320         on iteration_var.
1321
1322 2000-01-19  Richard Henderson  <rth@cygnus.com>
1323
1324         * stupid.c: Die die die.
1325         * Makefile.in (OBJS): Remove stupid.o.
1326         (stupid.o): Likewise.
1327
1328         * except.c (emit_eh_context): Don't emit USEs for stupid.
1329         * explow.c (probe_stack_range): Likewise.
1330         * flags.h (obey_regdecls): Remove.
1331         * flow.c (find_basic_blocks): Don't run try_merge_blocks
1332         when not optimizing.
1333         (life_analysis): Limit data collection when not optimizing.
1334         (mark_regs_live_at_end): Always mark the return value registers.
1335         (mark_used_regs): Remove dummy RETURN case.
1336         (print_rtl_with_bb): Don't consult obey_regdecls.
1337         * function.c (use_variable, use_variable_after): Remove.
1338         (assign_parms): Consult optimize not obey_regdecls.
1339         (expand_function_start): Don't emit USEs for stupid.
1340         (expand_function_end): Likewise.
1341         * global.c (build_insn_chain): Export.
1342         * integrate.c (expand_inline_function): Kill return-value USE
1343         handling code.
1344         * jump.c (jump_optimize_1): Do simple jump optimizations and
1345         dead code elimination.
1346         (calculate_can_reach_end): Remove check_deleted argument.
1347         (delete_insn): Patch out insns even when not optimizing.
1348         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
1349         * rtl.h (use_variable, use_variable_after): Remove declarations.
1350         (build_insn_chain): Declare.
1351         * stmt.c (expand_value_return): Don't emit USEs for stupid.
1352         (expand_end_bindings): Likewise.
1353         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
1354         * toplev.c (obey_regdecls): Remove.
1355         (rest_of_compilation): Don't set it.  Kill stupid in favour of
1356         flow1, local-alloc, and reload.
1357         (main): Don't set obey_regdecls.
1358
1359         * config/nextstep.c (handle_pragma): Likewise.
1360
1361         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
1362
1363         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
1364
1365 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1366
1367         * alpha-protos.h: PROTO -> PARAMS.
1368         * alpha.c: Likewise.
1369         * elf.h: Likewise.
1370         * h8300.c: Likewise.
1371         * i386-protos.h: Likewise.
1372         * i386.c: Likewise.
1373         * m32r-protos.h: Likewise.
1374         * m32r.c: Likewise.
1375         * mips.c: Likewise.
1376         * mips.md: Likewise.
1377         * gmon-sol2.c: Likewise.
1378         * sparc.c: Likewise.
1379
1380 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1381
1382         * ns32k-protos.h: New file.
1383
1384         * ns32k.c: Fix compile time warnings.
1385
1386         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
1387         warnings.
1388
1389         * ns32k.md: Likewise.
1390
1391 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1392
1393         * vax-protos.h: New file.
1394
1395         * vax.c: Fix compile time warnings.
1396
1397         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
1398         warnings.
1399
1400         * vax.md: Likewise.
1401
1402         * vaxv.md: Likewise.
1403
1404 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1405
1406         * romp-protos.h: New file.
1407
1408         * romp.c: Fix compile time warnings.
1409
1410         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
1411         warnings.
1412
1413         * romp.md: Likewise.
1414
1415 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1416
1417         * we32k-protos.h: New file.
1418
1419         * we32k.c: Fix compile time warnings.
1420
1421         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
1422         warnings.
1423
1424 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1425
1426         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
1427
1428         * except.c (eh_regs): Likewise.
1429
1430         * final.c (output_operand): Likewise.
1431
1432         * fold-const.c (target_isinf, target_isnan): Likewise.
1433
1434 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
1435
1436         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
1437         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
1438
1439         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
1440         when optimize_size.
1441         (clrstrsi): Rewrite.
1442         (strsethi, strsetqi): New expanders.
1443         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
1444         (cmpstrsi): Emit compare insn before cmpstrsi_1
1445         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
1446         (strlensi_1): Likewise.
1447         (cmpstrsi_1): Likewise; do not output compare.
1448         (strlen expander): Do not unroll when optimizing for size.
1449         (*subsi3_carry): Rename to subsi3_carry
1450         (addqi3_cc): New pattern.
1451         * i386.h (processor_costs): Add move_ratio field.
1452         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
1453         * i386.c (*_cost): Set move_ratio.
1454         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
1455         (x86_expand_strlensi_1): Rewrite the main loop.
1456
1457 2000-01-17  Richard Henderson  <rth@cygnus.com>
1458
1459         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
1460         * cse.c (find_comparison_args, fold_rtx): Likewise.
1461         * integrate.c (subst_constants): Likewise.
1462         * loop.c (get_condition): Likewise.
1463
1464         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
1465
1466         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
1467
1468 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1469
1470         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
1471         (RESTORE_WARN_FLAGS): Unpack it.
1472         Change semantic type of extension to ttype.
1473         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
1474         * c-parse.y, c-parse.c, objc/objc-parse.y,
1475         objc/objc-parse.c: Regenerate.
1476
1477 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
1478
1479         * fixinc/fixlib.c: Add copyright notice.
1480         (compile_re): New function.
1481         * fixinc/fixlib.h: Prototype compile_re.
1482
1483         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
1484         Use compile_re to compile regular expressions.
1485
1486         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
1487         where the pattern matched.
1488
1489         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
1490         use 'replace'.
1491         (ultrix_ansi_compat): Likewise.
1492         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
1493         add egrep test.
1494         (interactv_add2, interactv_add3): Delete.
1495         (x11_sprintf): Don't use filename glob.
1496         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
1497         Regenerate.
1498
1499 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1500
1501         * print-rtl.c: PROTO -> PARAMS.
1502         * real.c: Likewise.
1503         * reg-stack.c: Likewise.
1504         * resource.c: Likewise.
1505         * sdbout.h: Likewise.
1506         * simplify-rtx.c: Likewise.
1507         * stor-layout.c: Likewise.
1508         * stupid.c: Likewise.
1509         * xcoffout.c: Likewise.
1510         * xcoffout.h: Likewise.
1511
1512 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1513
1514         * toplev.c: PROTO -> PARAMS.
1515         * toplev.h: Likewise.
1516         * tree.c: Likewise.
1517         * tree.h: Likewise.
1518         * unroll.c: Likewise.
1519         * varasm.c: Likewise.
1520         * varray.c: Likewise.
1521         * varray.h: Likewise.
1522
1523 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1524
1525         * reload.c: PROTO -> PARAMS.
1526         * reload.h: Likewise.
1527         * reload1.c: Likewise.
1528         * reorg.c: Likewise.
1529         * resource.h: Likewise.
1530         * rtl.c: Likewise.
1531         * rtl.h: Likewise.
1532         * rtlanal.c: Likewise.
1533         * sbitmap.h: Likewise.
1534         * sdbout.c: Likewise.
1535         * stack.h: Likewise.
1536         * stmt.c: Likewise.
1537         * system.h: Likewise.
1538
1539 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1540
1541         * machmode.h: PROTO -> PARAMS.
1542         * mbchar.h: Likewise.
1543         * mips-tdump.c: Likewise.
1544         * mips-tfile.c: Likewise.
1545         * optabs.c: Likewise.
1546         * output.h: Likewise.
1547         * prefix.c: Likewise.
1548         * profile.c: Likewise.
1549         * protoize.c: Likewise.
1550         * real.h: Likewise.
1551         * recog.c: Likewise.
1552         * recog.h: Likewise.
1553         * regclass.c: Likewise.
1554         * regmove.c: Likewise.
1555         * regs.h: Likewise.
1556
1557 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1558
1559         * ggc-common.c: PROTO -> PARAMS.
1560         * ggc-page.c: Likewise.
1561         * ggc-simple.c: Likewise.
1562         * ggc.h: Likewise.
1563         * global.c: Likewise.
1564         * graph.c: Likewise.
1565         * gthr-win32.h: Likewise.
1566         * haifa-sched.c: Likewise.
1567         * halfpic.h: Likewise.
1568         * integrate.c: Likewise.
1569         * integrate.h: Likewise.
1570         * jump.c: Likewise.
1571         * lcm.c: Likewise.
1572         * local-alloc.c: Likewise.
1573         * loop.c: Likewise.
1574         * loop.h: Likewise.
1575
1576 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1577
1578         * genattr.c: PROTO -> PARAMS.
1579         * genattrtab.c: Likewise.
1580         * gencheck.c: Likewise.
1581         * gencodes.c: Likewise.
1582         * genconfig.c: Likewise.
1583         * genemit.c: Likewise.
1584         * genextract.c: Likewise.
1585         * genflags.c: Likewise.
1586         * gengenrtl.c: Likewise.
1587         * genopinit.c: Likewise.
1588         * genoutput.c: Likewise.
1589         * genpeep.c: Likewise.
1590         * genrecog.c: Likewise.
1591
1592 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
1593
1594         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
1595
1596 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1597
1598         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
1599         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
1600         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
1601         * configure, config.in: Rebuilt.
1602
1603 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
1604
1605         * config/i386/i386.md: Add peephole to merge successive stack
1606         adjusts.
1607
1608 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
1609
1610         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
1611         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
1612         when walking backwards to find all the parameter loads when
1613         the basic block ends in a call.
1614
1615 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1616
1617         * loop.c (this_loop_info): Delete.
1618         (uid_loop): Add in place of uid_loop_num.  All uses updated.
1619         (loop_number_exit_count): Delete and replace with entry in loop
1620         structure.  All uses updated.
1621         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1622         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1623         (loop_outer_loop): Likewise.
1624         (loop_invalid, loop_number_exit_labels): Likewise.
1625         (loop_used_count_register): Delete and replace with entry in
1626         loop_info structure.
1627         (find_and_verify_loops): Add loops argument.
1628         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
1629         loop_end, etc. arguments with loop structure pointer.  All callers
1630         changed.
1631         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
1632         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
1633         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
1634         (insert_bct): Likewise.
1635         (basic_induction_var): New argument level.
1636         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
1637         vtop, and cont.  Add used_count_register.
1638         (uid_loop): Delete declaration.
1639         (loop_number_exit_count): Likewise.
1640         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1641         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1642         (loop_outer_loop, loop_used_count_register): Likewise.
1643         (loop_invalid, loop_number_exit_labels): Likewise.
1644         (unroll_loop): Replace loop_start and loop_end arguments
1645         with loop structure pointer.
1646         (loop_precondition_p, loop_iterations): Likewise.
1647         Include basic-block.h.
1648         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
1649         with loop structure pointer.
1650         (loop_precondition_p, loop_iterations): Likewise.
1651         * basic-block.h (struct loop): New entries vtop, cont,
1652         cont_dominator, start, end, top, scan_start, exit_labels,
1653         exit_count.
1654         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
1655
1656 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1657
1658         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
1659
1660 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
1661
1662         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
1663
1664 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1665
1666         * pdp11-protos.h: New file.
1667
1668         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
1669         time warnings.
1670
1671         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
1672         warnings.
1673
1674         * pdp11.md: Likewise.
1675
1676         * 2bsd.h: Likewise.
1677
1678 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1679
1680         * mn10300-protos.h: New file.
1681
1682         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
1683         time warnings.
1684
1685         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
1686         warnings.
1687
1688         * mn10300.md: Likewise.
1689
1690 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1691
1692         * mn10200-protos.h: New file.
1693
1694         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
1695         time warnings.
1696
1697         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
1698         warnings.
1699
1700         * mn10200.md: Likewise.
1701
1702 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1703
1704         * h8300-protos.h: New file.
1705
1706         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
1707         time warnings.
1708
1709         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
1710         warnings.
1711
1712         * h8300.md: Likewise.
1713
1714 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1715
1716         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
1717         (asm_emit_uninitialised): Likewise.
1718
1719 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
1720
1721         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
1722         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
1723
1724 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
1725
1726         * config/mips/mips.c (override_options): Don't turn on extra
1727         alignment for mips16.
1728
1729 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
1730
1731         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
1732         eabi, and make sure queued POSTINCREMENT rtl is emitted at
1733         the right point.
1734
1735 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
1736
1737         * builtins.c (PAD_VARARGS_DOWN): Define.
1738         (std_expand_builtin_va_arg): Use the above macro.
1739         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
1740         * tm.texi (Register Arguments): Document the above macro.
1741
1742 2000-01-14  Nick Clifton  <nickc@cygnus.com>
1743
1744         * emit-rtl.c (emit_insn): If checking is enabled, make sure
1745         that this function has not been used to emit a jump
1746         instruction.
1747
1748         * jump.c (return_jump_1): Cope with being passed a null rtx.
1749
1750 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1751
1752         * eh-common.h: PROTO -> PARAMS.
1753         * emit-rtl.c: Likewise.
1754         * errors.c: Likewise.
1755         * errors.h: Likewise.
1756         * except.c: Likewise.
1757         * except.h: Likewise.
1758         * explow.c: Likewise.
1759         * expmed.c: Likewise.
1760         * expr.c: Likewise.
1761         * expr.h: Likewise.
1762         * final.c: Likewise.
1763         * fix-header.c: Likewise.
1764         * flow.c: Likewise.
1765         * fold-const.c: Likewise.
1766         * function.c: Likewise.
1767         * function.h: Likewise.
1768         * gcc.c: Likewise.
1769         * gcov-io.h: Likewise.
1770         * gcov.c: Likewise.
1771         * gcse.c: Likewise.
1772
1773 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1774
1775         * sh-protos.h: New file.
1776
1777         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
1778         Add static prototypes.  Fix compile time warnings.
1779
1780         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
1781         * sh.md: Likewise.
1782         * elf.h: Likewise.
1783
1784 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1785
1786         * arc-protos.h: New file.
1787
1788         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
1789         time warnings.
1790
1791         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
1792         warnings.
1793
1794         * arc.md: Likewise.
1795
1796 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1797
1798         * dsp16xx-protos.h: New file.
1799
1800         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
1801         time warnings.
1802
1803         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
1804         warnings.
1805
1806         * dsp16xx.md: Likewise.
1807
1808 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1809
1810         * convex-protos.h: New file.
1811
1812         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
1813         time warnings.
1814
1815         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
1816         warnings.
1817
1818 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1819
1820         * elxsi-protos.h: New file.
1821
1822         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
1823         time warnings.
1824
1825         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
1826         warnings.
1827
1828         * elxsi.md: Likewise.
1829
1830 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
1831
1832         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
1833         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
1834         match the comment for MIPS16.
1835
1836 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
1837
1838         * flow.c (split_edge): Do not call set_block_for_insn if we
1839         do not have a basic_block_for_insn structure.
1840
1841         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
1842         and destination functions are 32bit aligned within the trampoline.
1843         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
1844         (TRAMPOLINE_ALIGNMENT): Define.
1845
1846         * cse.c (cse_insn): When changing (set (pc) (reg)) to
1847         (set (pc) (label_ref)), verify the change creates a valid insn.
1848
1849         * fr30.c (call_operand): Tighten and rework to match rules for
1850         call RTL expressions.
1851         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
1852         * fr30.md (call patterns): Improve constraints.
1853
1854 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
1855
1856         * fr30.c (fr30_expand_epilogue): Revert last change.
1857         Use emit_jump_insn for the return insn.
1858
1859 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
1860                           Stan Cox  <scox@cygnus.com>
1861
1862         * predict.c: New file. Preliminary infrastructure work for static
1863         branch prediction and basic block reordering.
1864         * basic-block.h: Add prototype for estimate_probability.
1865         * Makefile.in: Add rules for predict.o.
1866
1867 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
1868
1869         * fixincludes (va_list): Use __not_va_list__ for the dummy.
1870         * fixinc/*: Likewise.
1871
1872 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1873
1874         * cccp.c: PROTO -> PARAMS.
1875         * cexp.y: Likewise.
1876         * collect2.c: Likewise.
1877         * combine.c: Likewise.
1878         * convert.h: Likewise.
1879         * cse.c: Likewise.
1880         * dbxout.c: Likewise.
1881         * dbxout.h: Likewise.
1882         * diagnostic.c: Likewise.
1883         * doprint.c: Likewise.
1884         * dwarf2out.c: Likewise.
1885         * dwarf2out.h: Likewise.
1886         * dwarfout.c: Likewise.
1887         * dwarfout.h: Likewise.
1888         * dyn-string.h: Likewise.
1889
1890 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1891
1892         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
1893         macro conditionals guarding use.
1894
1895         * dwarf2out.c: Include "tm_p.h".
1896
1897         * function.c (locate_and_pad_parm): Mark parameter with
1898         ATTRIBUTE_UNUSED.
1899         (expand_function_end): Likewise for variable `context'.
1900
1901         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
1902
1903 2000-01-13  Nick Clifton  <nickc@cygnus.com>
1904
1905         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
1906         register to prevent compile time warnings.
1907
1908 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
1909
1910         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
1911         to avoid -Wtraditional warning.
1912
1913 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1914
1915         * 1750a-protos.h: New file.
1916
1917         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
1918         time warnings.
1919
1920         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
1921         warnings.
1922
1923         * 1750a.md: Likewise.
1924
1925 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1926
1927         * a29k-protos.h: New file.
1928
1929         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
1930         time warnings.
1931
1932         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
1933         warnings.
1934
1935 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1936
1937         * clipper-protos.h: New file.
1938
1939         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
1940         time warnings.
1941
1942         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
1943         warnings.
1944
1945 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1946
1947         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
1948
1949 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
1950
1951         * configure.in (--enable-new-gxx-abi): New option.
1952         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
1953         * Makefile.in (GXX_ABI_FLAG): New variable.
1954         * configure: Regenerate.
1955
1956 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1957
1958         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
1959         * tm.texi (FORCE_STRUCT_BLK): Document.
1960         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
1961
1962 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
1963
1964         * config/ns32k/ns32k.md: Revert Jan 9 change.
1965
1966         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
1967         to a mode-test, if the predicate is address_operand.
1968
1969 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
1970
1971         * combine.c (if_then_else_cond): Be careful about what kinds
1972         of RTL expressions are passed to operand_subword.
1973
1974         * flow.c (split_edge): If we have to insert a new jump, make
1975         sure to associate it with a basic block.
1976
1977         * flow.c (commit_one_edge_insertion): A block with one successor
1978         can end in a JUMP_INSN that is not a simplejump.
1979
1980 2000-01-12  Robert Lipe  <robertl@sco.com>
1981
1982         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
1983         (BUILD_VA_LIST_TYPE): Define.
1984         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
1985         with crtstuff.c.
1986
1987 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
1988
1989         * cccp.c (do_pragma): Add cast to (char *).
1990
1991 2000-01-12  Richard Henderson  <rth@cygnus.com>
1992             Fred Fish  <fnf@be.com>
1993             Jason Merrill  <jason@cygnus.com>
1994
1995         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
1996         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
1997         * i386/beos-elf.h, i386/beos-pe.h: New files.
1998
1999         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
2000         * cross-make (SYSTEM_HEADER_DIR): Define using
2001         CROSS_SYSTEM_HEADER_DIR.
2002
2003         * gcc.c (LIBRARY_PATH_ENV): Provide default.
2004         (process_command): Use it.
2005         (main): Likewise.  Kill trailing = from env vars.
2006         (build_search_list): Put it back.
2007         * collect2.c (main): Use LIBRARY_PATH_ENV.
2008
2009         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
2010         * toplev.c: Use NEED_DECLARATION_ENVIRON.
2011
2012         * tm.texi (Frame Layout): Document SMALL_STACK.
2013         * c-common.c (c_common_nodes_and_builtins): Check it.
2014
2015         * system.h: Undef alloca after including glibc's <stdlib.h>,
2016         if USE_C_ALLOCA is defined.
2017
2018         * gcc.c (set_input): New fn.
2019         (main): After all input files are compiled, reset the input file
2020         info to the first.
2021
2022         * aclocal.m4 (rindex, index): If already defined, don't attempt
2023         to redefine.
2024
2025         * ginclude/varargs.h: (__va_list__): Define ifndef.
2026         * ginclude/stdarg.h: Likewise.
2027
2028         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
2029         instead of unsigned char.
2030
2031         * hash.h (true, false, boolean): Undef before enum.
2032
2033         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
2034         proper type of "HOST_WIDE_INT *", rather than their natural type of
2035         "unsigned HOST_WIDE_INT *".
2036
2037 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2038
2039         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
2040
2041         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
2042
2043         * regclass.c (choose_hard_reg_mode): Likewise.
2044
2045         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
2046
2047         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
2048
2049 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2050
2051         * c-common.c: PROTO -> PARAMS.
2052         * c-common.h: Likewise.
2053         * c-decl.c: Likewise.
2054         * c-iterate.c: Likewise.
2055         * c-lang.c: Likewise.
2056         * c-lex.c: Likewise.
2057         * c-lex.h: Likewise.
2058         * c-parse.in: Likewise.
2059         * c-pragma.c: Likewise.
2060         * c-pragma.h: Likewise.
2061         * c-tree.h: Likewise.
2062         * c-typeck.c: Likewise.
2063         * objc/objc-act.c: Likewise.
2064         * objc/objc-act.h: Likewise.
2065
2066 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2067
2068         * m88k-protos.h: New file.
2069
2070         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
2071         time warnings.
2072
2073         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
2074
2075         * m88k.md: Likewise.
2076
2077         * tekXD88.h: Likewise.
2078
2079 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2080
2081         * m68k-protos.h: New file.
2082
2083         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
2084         time warnings.
2085
2086         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
2087
2088         * mot3300.h: Likewise.
2089
2090 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
2091
2092         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
2093         extract_bitlst.
2094         (extract_bitlist): Declare bitlen.
2095
2096 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
2097
2098         * cccp.c: Accept and ignore -lang-fortran.
2099
2100         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
2101         qualifiers don't match at any level of pointerness.
2102
2103 2000-01-12  Robert Lipe  <robertl@sco.com>
2104
2105         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
2106
2107 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
2108
2109         * reload1.c (reload_reg_unavailable): New static variable.
2110         (reload_reg_free_p): Test it.
2111         (reload_reg_free_for_value_p): Test it instead of
2112         reload_reg_used.
2113         (choose_reload_regs_init): Compute it.
2114
2115 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
2116
2117         * reorg.c (fill_slots_from_thread): Check modified_in_p
2118         before replacing.
2119
2120 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
2121
2122         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
2123         these nodes even if INTERNALS is not set.
2124
2125 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
2126
2127         * gcse.c (delete_null_pointer_checks_1): Cope when
2128         get_condition cannot determine the condition.
2129
2130 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
2131
2132         * toplev.h (set_message_length): Declare.
2133
2134         * diagnostic.c (obstack_chunk_alloc): Define macro.
2135         (obstack_chunk_free): Likewise.
2136         (struct output_buffer): New data structure.
2137         (vmessage): Remove.
2138         (output_maximum_width): New variable.
2139         (doing_line_wrapping, set_message_length, init_output_buffer,
2140         get_output_prefix, output_space_left, emit_output_prefix,
2141         output_newline, output_append, output_puts, dump_output,
2142         vbuild_message_string, build_message_string, build_location_prefix,
2143         voutput_notice, output_printf, line_wrapper_printf,
2144         vline_wrapper_message_with_location):  New functions. Implement
2145         automatic line wrapping.
2146         (v_message_with_decl): Make it handle automatic line wrapping.
2147         (v_error_with_file_and_line): Likewise.
2148         (v_warning_with_file_and_line): Likewise.
2149         (announce_function): Likewise.
2150         (default_print_error_function): Likewise.
2151
2152 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
2153
2154         * cpplib.h (struct cpp_options): Change lang_asm to char.
2155         Add lang_fortran.
2156         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
2157         done in cpp_handle_option now.
2158         (initialize_builtins): Take out special case code used only by
2159         __STDC_VERSION__.
2160         (cpp_handle_option): Turn off trigraphs and trigraph warnings
2161         if -traditional.  Recognize -lang-fortran and set
2162         lang_fortran, also turn off cplusplus_comments.
2163         (print_help): Document -lang-fortran.
2164         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
2165         lang_asm. Ignore all directives other than `# 123 "file"' if
2166         CPP_PREPROCESSED.
2167         (cpp_get_token): If -traditional, don't recognize directives
2168         unless the # is in column 1.
2169         (parse_string): If lang_fortran or lang_asm, silently
2170         terminate strings ('' or "") at end of line.
2171         Remove unnecessary braces.
2172
2173 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2174             Richard Henderson  <rth@cygnus.com>
2175
2176         * resource.c (mark_referenced_resources): Mark a set strict_low_part
2177         as used.
2178         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
2179         strict_low_part when possible.
2180
2181 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2182
2183         * alias.c: PROTO -> PARAMS.
2184         * basic-block.h: Likewise.
2185         * bitmap.c: Likewise.
2186         * bitmap.h: Likewise.
2187         * builtins.c: Likewise.
2188         * c-aux-info.c: Likewise.
2189         * caller-save.c: Likewise.
2190         * calls.c: Likewise.
2191
2192 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2193
2194         * Makefile.in (toplev.o): Depend on regs.h.
2195
2196         * output.h (tdesc_section): Prototype.
2197
2198         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
2199
2200         * sdbout.c: Include "tm_p.h".
2201
2202         * toplev.c: Include "regs.h".
2203
2204 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
2205
2206         * unroll.c (unroll_loop): Add EH support.
2207
2208 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2209
2210         * pa-protos.h: New file.
2211
2212         * pa.c: Include recog.h and tm_p.h.
2213         (compute_zdepwi_operands, compute_movstrsi_length,
2214         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
2215         find_addr_reg, import_milli): Add static prototypes.
2216         (pa_cpu_string, pa_arch_string): Constify a char*.
2217         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
2218         (read_only_operand): Add argument `mode'.
2219         (singlemove_string, output_move_double, output_fp_move_double,
2220         output_block_move, output_and, output_ior, output_ascii,
2221         remove_useless_addtr_insns, milli_names, output_mul_insn,
2222         output_div_insn, output_mod_insn, output_arg_descriptor,
2223         output_cbranch, output_bb, output_bvb, output_dbra, ,
2224         output_millicode_call, output_call, hppa_encode_label,
2225         output_parallel_movb, output_parallel_addb): Constify a char*.
2226         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
2227         (output_parallel_addb): Remove extra arg to `constrain_operands'
2228
2229         * pa.h:  Move all prototypes to pa-protos.h.
2230         (pa_cpu_string, pa_arch_string): Constify a char*.
2231         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
2232
2233         * pa.md: Call `function_label_operand' with mode argument.
2234         Likewise for `read_only_operand'.
2235         Fix nesting of parens in call to `symbolic_operand'.
2236
2237 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2238
2239         * i860-protos.h: New file.
2240
2241         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
2242         time warnings.
2243
2244         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
2245
2246         * i860.md: Likewise.
2247
2248 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
2249
2250         * i386.md (movstrsi expander): Rewrite.
2251         (movstrsi_1 insn): Deleted.
2252         (strmovhi, strmovqi expander): New expanders.
2253         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
2254         * i386.c (x86_single_stringop): New global variable.
2255         * i386.h (x86_single_stringop): Declare.
2256         (TARGET_SINGLE_STRINGOP): New macro.
2257
2258 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
2259
2260         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
2261         integer vararg POSTINCREMENT before the destination of the jump
2262         for the hard fp case.
2263         (function_arg_pass_by_reference): Pass a copy of CUM to
2264         FUNCTION_ARG.
2265
2266         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
2267         for CONSTANT_ADDRESS_P above while loop for subreg.
2268
2269 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
2270
2271         * flow.c (propagate_block): When a prologue/epilogue insn
2272         is marked dead, unconditionally clear libcall_is_dead and
2273         insn_is_dead, and only dump rtl if warnings aren't being
2274         suppressed.
2275
2276 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
2277
2278         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
2279         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
2280         (FIXED_REGISTERS): Set dirflag as fixed.
2281         (CALL_USED_REGISTERS): Set dirflag as used.
2282         (REG_ALLOC_ORDER): Set dirflag as last one.
2283         (DIRFLAG_REG): New macro.
2284         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
2285         (HI_REGISTER_NAMES): Add dirflag.
2286         (DEBUF_PRINT_REG): Handle dirflag.
2287         * i386.md (type attribute): New cld and str types.
2288         (length_opcode attribute): Set cld and str to 1.
2289         (memory attribute): Set str to unknown - it is not clear from the
2290         patterns.
2291         (pent_np function unit): Prefixed string operations takes 12 cycles
2292         minimally; cld takes 2 cycles.
2293         (ppro_uops attribute): Str is "many" and cld is "few".
2294         (ppro_p0 unit): Handle cld here.
2295         (k6_alux unit): Handle cld and str types.
2296         (k6_load unit): It is ocupied by str opcodes.
2297         (k6_store unit): It is ocupied by str opcodes.
2298         (athlon_decode): Str is vector decoded.
2299         (athlon_ieu): Handle str and cld.
2300         (cld pattern): New.
2301         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
2302         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
2303         cmpstrsi_nz_1 insn): Do not output cld instruction
2304
2305 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
2306
2307         * gcc.texi (G++ and GCC): Add Java and Chill.
2308         (Bug Critera): Don't list languages.
2309
2310         * gcc.texi (Incompatibilities): No longer claim most C compilers
2311         are K&R.
2312
2313         * gcc.texi (G++ and GCC): Update other front-ends list.
2314
2315 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
2316
2317         * i386.c (ix86_expand_setcc): Fix typo.
2318         (ix86_expand_movcc): Similarly.
2319
2320         * Band-aid until haifa's bitset implementation is nuked.
2321         * haifa-sched.c (extract_bitlst): New parameter for size of the
2322         bitset in bits.  All callers changed.  Avoid looking at undefined
2323         bits in the bitset.
2324         (edgeset_bitsize): New variable.
2325         (schedule_region): Initialize edgeset_bitsize.
2326
2327 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2328
2329         * Makefile.in (optabs.o): Depend on real.h
2330         (resource.o): Depend on insn-attr.h
2331
2332         * builtins.c (result_vector): Wrap prototype in macro conditions
2333         governing definition and use.
2334
2335         * c-common.c: Include tm_p.h.
2336
2337         * c-lex.c: Likewise.
2338
2339         * elfos.h: Constify a char*.
2340
2341         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
2342         (get_attr_length, shorten_branches, profile_after_prologue): Mark
2343         parameter with ATTRIBUTE_UNUSED.
2344
2345         * fold-const.c (exact_real_inverse): Wrap variable `i' in
2346         CHECK_FLOAT_VALUE.
2347
2348         * haifa-sched.c (schedule_insns): Mark parameter with
2349         ATTRIBUTE_UNUSED.
2350
2351         * optabs.c: Include real.h.
2352
2353         * real.h (ereal_atof): Add prototype arguments.
2354
2355         * resource.c: Include insn-attr.h.
2356
2357         * sdbout.c (sdbout_queue_anonymous_type,
2358         sdbout_dequeue_anonymous_types): Wrap in macro
2359         SDB_ALLOW_FORWARD_REFERENCES.
2360         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
2361         ATTRIBUTE_UNUSED.
2362
2363         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
2364
2365         * stupid.c: Include tm_p.h.
2366
2367         * tree.c (real_value_from_int_cst): Mark parameter with
2368         ATTRIBUTE_UNUSED.
2369
2370 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2371
2372         * i960-protos.h: New file.
2373
2374         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
2375         time warnings.
2376
2377         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
2378
2379 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2380
2381         * combine.c (expand_field_assignment): Do not discard SUBREGs
2382         while computing nonzero_bits.
2383
2384 2000-01-09  Nick Clifton  <nickc@cygnus.com>
2385
2386         * config/arm/arm.c: Fix compile time warnings about signed vs
2387         unsigned constants.
2388         * config/arm/arm.h: Fix compile time warnings about signed vs
2389         unsigned constants.
2390
2391 2000-01-09  Philip Blundell  <philb@gnu.org>
2392
2393         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
2394         than `ldm' with only one register.
2395         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
2396         only one register.
2397
2398         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
2399         clobbered.
2400
2401 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
2402
2403         * config/ns32k/ns32k.md (load or push effective address): Operand 1
2404         must have SImode.
2405
2406 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2407
2408         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
2409         assignment used as truth value.
2410
2411         * function.c (assign_temp): Mark parameter `dont_promote' with
2412         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
2413         PROMOTE_FOR_CALL_ONLY.
2414
2415         * genrecog.c (write_subroutine): Mark variable `operands' with
2416         ATTRIBUTE_UNUSED.
2417
2418         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
2419         ATTRIBUTE_UNUSED.
2420
2421         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
2422         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
2423
2424         * toplev.c (note_deferral_of_defined_inline_function): Likewise
2425         for `decl'.
2426
2427 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2428
2429         * config/c4x.h: Tidy up comments.
2430         * config/c4x.c: Likewise.
2431
2432 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
2433
2434         * fold-const.c (lshift_double, rshift_double): Handle
2435         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
2436
2437 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2438
2439         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
2440         in prepare_function_start().
2441
2442 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
2443
2444         * config/v850/v850.c (expand_epilogue): Interrupt functions no
2445         longer allocate extra stack for function calls.
2446
2447 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2448
2449         * config/c4x/c4x.md (*subqf3_set): Fix typo.
2450
2451 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2452
2453         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
2454
2455 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
2456
2457         * rs6000.c (processor_target_table): Add power3 as alias for 630.
2458         * aix43.h: Revert Aug 2 change.
2459         (HAS_INIT_SECTION): Define, not visible yet.
2460         (LD_INIT_SWITCH): Define, not visible yet.
2461         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
2462
2463         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
2464
2465         * collect2.c (main): Expand ld2 size further.
2466         (export_object_lst): Cast assignment to avoid warning.
2467         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
2468         (scan_prog_file, COFF): Do not collect initialization or
2469         finalization functions generated for entire shared object if
2470         init/fini support present.
2471
2472 2000-01-07  Nick Clifton  <nickc@cygnus.com>
2473
2474         * config/elfos.h: Tidy up formatting of marcos.  Make sure
2475         that .section directives are always prefixed by a tab.
2476
2477         * config/svr4.h: Add #include "elfos.h" and remove duplicate
2478         definitions.
2479
2480 2000-01-07  Matt Austern  <austern@sgi.com>
2481
2482         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
2483         expon.
2484
2485 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
2486
2487         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
2488         crtstuff.c.
2489         (crtbegin.o, s-crtS): Likewise.
2490
2491 2000-01-06  Richard Henderson  <rth@cygnus.com>
2492
2493         * alpha.md (adddi_2+1): Limit offset such that it will be
2494         loadable with a single ldah+lda pair.
2495         (adddi_2+2): Explicitly fail split if we can't make it work.
2496
2497 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
2498
2499         * protoize.c: Conditionally include unistd.h.
2500         (IS_SAME_PATH_CHAR): New macro.
2501         (IS_SAME_PATH): New macro.
2502         (CPLUS_FILE_SUFFIX): New macro.
2503         (cplus_suffix): New static variable.
2504         (is_abspath): New static function.
2505         (in_system_include_dir): Handle DOS style pathnames.
2506         (file_could_be_converted): Likewise.
2507         (file_normally_convertible): Likewise.
2508         (directory_specified_p): Likewise.
2509         (file_excluded_p): Likewise.
2510         (abspath): Likewise.
2511         (shortpath): Likewise.
2512         (referenced_file_is_newer): Likewise.
2513         (save_def_or_dec): Likewise.
2514         (do_processing): Likewise.
2515         (main): Likewise.
2516         (edit_file): Likewise. Use rename instead of link.
2517         (rename_c_file): Likewise. Don't rename syscalls file.
2518         (munge_compile_params): Define null device for DOS based systems.
2519         (process_aux_info_file): Use binary mode if appliable.
2520         (edit_file): Likewise.
2521         * invoke.texi (Running Protoize): Document C++ suffixes used.
2522
2523         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
2524         IS_DIR_SEPARATOR macros.
2525         * collect2.c: Likewise.
2526         * cppinit.c: Likewise.
2527         * dwarf2out.c: Likewise.
2528         * gcc.c: Likewise.
2529         * gcov.c: Likewise.
2530         * prefix.c: Likewise.
2531         * rtl.c: Likewise.
2532         * toplev.c: Likewise.
2533         * system.h: And move to here.
2534
2535         * prefix.c (update_path): Fix typo in variable name.
2536
2537 2000-01-06  Richard Henderson  <rth@cygnus.com>
2538
2539         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
2540         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
2541         (count_reg_sets_1, count_reg_references): Likewise.
2542         (flow_loops_level_compute): Start counting actual loop depth at 1.
2543         (flow_loops_find): Likewise.
2544         * local-alloc.c (update_equiv_regs): Likewise.
2545         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
2546
2547 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2548
2549         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
2550         FIRST_PSEUDO_REGISTER
2551         * dwarf2out.c: Don't include frame.h
2552         * dwarfout.c: Likewise
2553         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
2554         frame.h
2555
2556 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
2557
2558         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
2559         dead registers.
2560
2561         * i386.c (movsf splitter): Fix typo in my last checkin.
2562
2563 2000-01-05  Nick Clifton  <nickc@cygnus.com>
2564
2565         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
2566         own definition of this macro.
2567         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
2568         flag_data_sections or UNIQUE_SECTION_P are true.
2569
2570         * tm.texi (UNIQUE_SECTION): Document that it can be called for
2571         unitialised data decls.
2572
2573         * config/i386/winnt.c (i386_pe_unique_section): Cope with
2574         being called for uninitialised data.
2575
2576         * config/i386/interix.c (i386_pe_unique_section): Cope with
2577         being called for uninitialised data.
2578
2579         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
2580         for uninitialised data.
2581
2582         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
2583         for uninitialised data.
2584
2585         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
2586         for uninitialised data.
2587
2588         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
2589         (UNIQUE_SECTION_P): Always generate a unique section if
2590         flag_data_sections is true.
2591         (UNIQUE_SECTION): Also generate unique sections for
2592         uninitialised data.
2593         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
2594         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
2595         named_section().
2596
2597 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2598
2599         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
2600         SI, or DI.
2601
2602 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2603
2604         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
2605         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
2606         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
2607         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
2608         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
2609
2610         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
2611
2612 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
2613
2614         * c-decl.c (finish_enum): Simplify code to determine minimum and
2615         maximum values of the enum, and calculate the type.  Remove check
2616         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
2617         the DECL_INITIAL of each enumeration constant with a copy converted
2618         to the enumeration type.  When updating variant types, don't bother
2619         updating the type itself.
2620
2621         * c-typeck.c (build_binary_op): Simplify conditional expressions
2622         when weeding out spurious signed-unsigned warnings.  Add new
2623         spurious warning category: if the unsigned quantity is an enum
2624         and its maximum value fits in signed_type(result_type).  Update
2625         commentary.
2626         (build_conditional_expr): Warn here if one alternative is signed
2627         and the other is unsigned.
2628
2629 2000-01-05  Nick Clifton  <nickc@cygnus.com>
2630
2631         * config/fr30/fr30.h: Remove extraneous comments.
2632
2633 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
2634
2635         * reload1.c (choose_reload_regs): When disabling a reload, also
2636         set reload_spill_index to -1.
2637
2638 2000-01-04  Joel Sherrill (joel@OARcorp.com>
2639
2640         * configure.in (m68*-*-rtemscoff*): New target, formal name for
2641         old m68*-*-rtems*.
2642         (m68*-*-rtemself*): New target.
2643         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
2644         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
2645         (sparc*-*-rtemself*): New target.
2646         (sparc*-*-rtems*): Now elf not a.out.
2647         * config/i386/rtems.h: Include config/rtems.h.
2648         * config/i386/rtemself.h: Include config/rtems.h.
2649         * config/i960/rtems.h: Include config/rtems.h.
2650         * config/m68k/rtems.h: Include config/rtems.h.
2651         * config/m68k/rtemself.h: Include config/rtems.h.
2652         * config/mips/rtems64.h: Include config/rtems.h.
2653         * config/pa/rtems.h: Include config/rtems.h.
2654         * config/rs6000/rtems.h: Include config/rtems.h.
2655         * config/sh/rtems.h: Include config/rtems.h.
2656         * config/sh/rtemself.h: Include config/rtems.h.
2657         * config/sparc/rtems.h: Include config/rtems.h.
2658         * config/sparc/rtemself.h: Include config/rtems.h
2659
2660 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
2661
2662         * final.c (shorten_branches): Correctly compute length of
2663         asms without operands.
2664
2665 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
2666
2667         * configure.in: Add pj target.
2668         * configure: Regenerate.
2669         * config/pj: New directory.
2670         * config/pj/lib1funcs.S: New file.
2671         * config/pj/linux.h: New file.
2672         * config/pj/pj.c: New file.
2673         * config/pj/pj.md: New file.
2674         * config/pj/pjl.h: New file.
2675         * config/pj/t-pj: New file.
2676         * config/pj/xm-pj.h: New file
2677
2678 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
2679
2680         * toplev.c (rest_of_compilation): Run shorten-branches before
2681         reg-stack for now.
2682
2683 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2684
2685         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
2686         macros so that they're consistent with their names.
2687         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2688         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
2689
2690 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2691
2692         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
2693         modified inadvertently.
2694
2695 2000-01-04  Joel Sherrill <joel@OARcorp.com>
2696
2697         * configure.in (v850*-*-rtems*): New target.
2698         * configure: Regenerate.
2699         * config/v850/rtems.h: New file.
2700
2701 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
2702
2703         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
2704         (__gthread_key_create): Likewise.
2705         (__gthread_key_dtor):  Likewise.
2706         (__gthread_once): Fix logic.
2707         (__gthread_key_delete): Cast away constness.
2708
2709         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
2710         * invoke.texi: Document.
2711         * i386/mingw32.h (CPP_SPEC): Use.
2712         (LIBGCC_SPEC): Likewise.
2713         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
2714
2715 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
2716
2717         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
2718         (HANDLE_PRAGMA_PACK): Undefine.
2719         (SLOW_UNALIGNED_ACCESS): Define.
2720
2721 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
2722
2723         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2724         to default definition.
2725         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
2726         (store_fixed_bit_field): Call macro with word_mode and alignment.
2727         (extract_bit_field): Call macro with relevant mode and alignment.
2728         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
2729         to default definition.
2730         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
2731         and alignment.
2732         (move_by_pieces_ninsns): Likewise.
2733         (clear_by_pieces): Likewise.
2734         (emit_push_insn): Likewise.
2735         (store_field): Call macro with relevant mode and alignment.
2736         (expand_expr): Likewise.
2737         (expand_expr_unaligned): Likewise.
2738
2739         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
2740         (SLOW_UNALIGNED_ACCESS): Define.
2741         (CASE_VECTOR_MODE): Always use 32-bit offsets.
2742         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
2743         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
2744         (toc_section): Likewise and .toc pseudo-op.
2745         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
2746         64-bit mode.
2747         (TEXT_SECTION_ASM_OP): Likewise.
2748         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
2749         32-bit offsets.
2750
2751         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
2752         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
2753         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
2754         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
2755         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
2756
2757 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
2758
2759         * regclass.c: Revert my Jan 4 change to loop cost computation.
2760
2761 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
2762
2763         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
2764         compilation.
2765
2766 2000-01-04  Stan Cox  <scox@cygnus.com>
2767
2768         * haifa-sched.c (build_control_flow): Change unreachable simple
2769         loop test to check if current block has only one predecessor.
2770         (find_rgns): Initialize degree.  Use dest as degree index, not src.
2771
2772 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2773
2774         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
2775
2776         * calls.c (expand_call): Likewise for
2777         `old_stack_arg_under_construction'.
2778
2779         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
2780
2781         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
2782         `save_constant'.
2783
2784         * gcc.c (execute): Likewise for `ut' and `st'.
2785
2786         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
2787
2788         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
2789
2790         * jump.c (jump_optimize_1): Likewise for `temp2'.
2791
2792         * local-alloc.c (block_alloc): Likewise for `r1'.
2793
2794         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
2795
2796         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
2797         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
2798
2799         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
2800         and `set2'.
2801
2802         * reload.c (find_reloads): Likewise for `goal_alternative_number'
2803         and `goal_earlyclobber'.
2804
2805         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
2806
2807         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
2808
2809         * stupid.c (stupid_life_analysis): Likewise for `chain'.
2810
2811         * unroll.c (copy_loop_body): Likewise for `copy'.
2812
2813         * varasm.c (output_constructor): Likewise for `byte'.
2814
2815 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
2816
2817         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
2818         all FP constants for constant->reg moves.
2819         (ix86_split_to_parts): Try to convert memory address into immediate
2820         when available in the constant pool.
2821         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
2822         moves.
2823         (LEGITIMATE_CONSTANT_P): Return 1.
2824         * i386.md (pushsf): New splitter to convert constant pool memory
2825         reference to immediate.
2826         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
2827         reload.
2828
2829 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
2830
2831         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
2832         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
2833         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
2834         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
2835         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
2836
2837 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
2838
2839         * ginclude/stdbool.h:  Support compilation as C++.
2840
2841 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2842
2843         * fold-const.c (make_range): Don't try to reverse an unbounded range.
2844
2845 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
2846
2847         * regclass.c (regclass): Properly compute loop_cost.  Adjust
2848         comments.
2849
2850         * regclass.c: Fix minor whitespace problems.
2851
2852 2000-01-03  Anthony Green  <green@cygnus.com>
2853
2854         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
2855         Restore the pic register if required.
2856
2857 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
2858
2859         * c-common.c (format_char_info): Update comment.
2860         (check_format_info): Recognize 'z' modifier in the same way 'Z'
2861         was recognized.  Emit warning for formats new in ISO C99 only
2862         if flag_isoc9x is not set.
2863
2864 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
2865
2866         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
2867
2868 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
2869
2870         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
2871         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
2872         (make_compound_operation): Choose cheaper alternative between
2873         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
2874
2875         * regclass.c (op_costs): Remove global variable.
2876         (record_reg_classes): New parameter "op_costs" and "reg_pref".
2877         (record_operand_costs): Break out from ...
2878         (scan_one_insn): ... here.
2879         (dump_regclass): Make dumps nicer.
2880         (regclass): Dump preferrences choosed and changes done during passes.
2881
2882 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
2883
2884         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
2885
2886 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
2887
2888         * config/sparc/sparc.c (gen_df_reg): New function.
2889         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
2890         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
2891         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
2892         movtf_cc_reg_sp64+1): Use it.
2893
2894 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
2895
2896         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
2897         copied LABEL_DECLs.
2898
2899 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2900
2901         * config/i386/i386.c (ix86_expand_unary_operator): Function
2902         definition made void.
2903         (ix86_expand_binary_operator): Update outdated preceding comment.
2904         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
2905         prototype.
2906
2907         * config/i386/i386.c (override_options): Fix option-name typo.
2908
2909 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
2910
2911         * system.h (CEIL): Define.
2912         * builtins.c (CEIL): Remove.
2913         * expmed.c (CEIL): Likewise.
2914         * expr.c (CEIL): Likewise.
2915         * stor-layout.c (CEIL): Likewise.
2916
2917 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2918
2919         * expr.c (store_constructor_field): Fix typo introduced with last
2920         gcc2 merge.
2921
2922 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
2923
2924         * tree.h (BINFO_N_BASETYPES): New macro.
2925
2926 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
2927
2928         * expmed.c (emit_store_flag): Prevent losing a pending stack
2929         adjust the same way we prevent losing queued increments.
2930
2931 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2932
2933         * function.c (update_temp_slot_address): Handle case where sum of
2934         temporary address plus offset in register is a valid address.
2935
2936 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
2937
2938         * genrecog.c (change_state) Corrected typo.
2939
2940 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2941
2942         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
2943         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
2944         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
2945
2946 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
2947
2948         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
2949         case, expand GT comparisons correctly.  Fix a comment before this
2950         part of the code.
2951
2952 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
2953
2954         * dwarfout.c: Include "frame.h"
2955         * dwarf2out.c: Likewise.
2956         * Makefile.in (dwarfout.o): Depend on frame.h
2957         (dwarf2out.o): Likewise.
2958
2959 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
2960
2961         Restore i386 binary compatibility in Dwarf EH info.
2962         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
2963         value of FIRST_PSEUDO_REGISTER.
2964         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
2965         (struct frame_state): Use DWARF_FRAME_REGISTERS.
2966         * dwarfout.c (output_reg_number): Ditto.
2967         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
2968         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
2969
2970 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
2971
2972         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
2973         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
2974         (<hack>_RE_CT): not needed
2975         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
2976         rewritten to scan the file text once only
2977         "template<..." test added
2978         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
2979         (is_cxx_header): declaration added
2980         * fixinc/fixtests.c(is_cxx_header): removed
2981         (apply_fix_p_t): removed
2982         (double_slash_test): is_cxx_header is only called once now
2983         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
2984         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
2985         within the templates.
2986         The borken spelling of "broken" was fixed.
2987         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
2988         The default level depends on FIXINC_DEBUG.
2989
2990 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2991
2992         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
2993         Otherwise provide a declaration for atexit.
2994         (init_dummy): Make sure dummy call to atexit is nevertheless
2995         called with correct number of args.
2996
2997         * frame.c: Update comments referring to other files.
2998
2999         * libgcc2.c: Likewise.
3000
3001 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3002
3003         * cse.c (free_element, get_element): Remove unused prototypes.
3004
3005         * fold-const.c (extract_muldiv): Initialize variables `op0' and
3006         `op1'.
3007
3008         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
3009         `else' clauses.
3010
3011 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
3012
3013         * configure.in,configure: case arm for mn10200-*-* now sets
3014         float_format=i32 so that float.h will correctly claim "double"
3015         to be 32 bits. Ran autoconf to generate configure from .in file.
3016
3017 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
3018
3019         * pa.md (conditional zero): If op1 is a register, force it into
3020         the same register as op0.
3021
3022 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
3023
3024         * tree.h (BINFO_BASETYPES): Improve documentation.
3025
3026 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3027
3028         * configure.in (--enable-checking): Use a more portable `for'
3029         loop syntax.
3030
3031 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3032
3033         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
3034         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
3035
3036         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
3037         Delete files.
3038
3039         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
3040         Delete descriptions.
3041
3042         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
3043         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
3044         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
3045         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
3046         xm-svr4.h: Remove all instances of sys_siglist handling.
3047
3048 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
3049
3050         * config/sparc/sparc.md (cmp_zero_qi,
3051         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
3052         cmp_zero_extendqidi2_andcc_set): New patterns.
3053
3054 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
3055
3056         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
3057         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
3058         (fpgnulib.c, xfgnulib.c): Add rules.
3059         * m68k/t-mot3300-gas: Likewise.
3060
3061 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
3062
3063         * configure.in: Avoid [[ by using test and changequote.  Add
3064         changequote required by 1999-12-14 change.
3065         * configure: Rebuild.
3066
3067 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
3068
3069         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
3070
3071 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
3072
3073         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
3074         * flow.c (find_use_as_address): Likewise.
3075         * function.c (fixup_var_refs_1): Likewise.
3076         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
3077         * jump.c (invert_exp, redirect_exp): Likewise.
3078         * loop.c (replace_call_address): Likewise.
3079         (count_nonfixed_reads): Likewise.
3080         * rtlanal.c (modified_between_p): Likewise.
3081         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
3082         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
3083         * unroll.c (remap_split_bivs): Likewise.
3084
3085 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3086
3087         * diagnostic.c (v_message_with_decl): Use .* format specifier
3088         instead of building the format specifier width manually.
3089
3090         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
3091         determining whether to provide a prototype.  Remove the
3092         sys_siglist clause in the conditional.
3093
3094 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3095
3096         * fold-const.c (operand_equal_p): Use memcmp to compare string
3097         constants.
3098         Suggested by D. J. Bernstein
3099
3100 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
3101
3102         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
3103         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3104         compiling libgcc2.
3105         * config/mips/mips.h (TARGET_64BIT): Likewise.
3106         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
3107         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
3108         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
3109         dsps.  Give routines proper names if SI/DI modes are not used.
3110         * longlong.h: Use DWunion instead of DIunion.
3111
3112 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
3113
3114         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
3115         GC_CHECKING, GC_ALWAYS_COLLECT.
3116         * configure.in: Allow --enable-checking with an argument
3117         listing check modes to enable.
3118         * config.in, configure: Rebuilt.
3119         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
3120         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
3121         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
3122         ENABLE_GC_ALWAYS_COLLECT.
3123         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
3124         throughout.
3125         * tree.h, tree.c: Change ENABLE_CHECKING to
3126         ENABLE_TREE_CHECKING throughout.
3127
3128 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3129
3130         * fold-const.c (fold_truthop): Properly check for FP RHS.
3131
3132 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
3133
3134         * toplev.h (note_deferall_of_defined_inline_function): Declare.
3135         * toplev.c (note_deferral_of_defined_inline_function): New
3136         function, split out from ...
3137         (rest_of_compilation): ... here.  Use it.
3138
3139 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3140
3141         * expr.c (store_constructor): Don't call clear_storage if size is
3142         variable.
3143
3144 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3145
3146         * Makefile.in (toplev.o): Depend on loop.h.
3147
3148         * dwarfout.c: Include tm_p.h.
3149
3150         * emit-rtl.c (restore_emit_status): Mark parameter with
3151         ATTRIBUTE_UNUSED.
3152
3153         * final.c (final_scan_insn): Likewise.
3154
3155         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
3156         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
3157         flow_depth_first_order_compute, flow_loop_pre_header_find,
3158         flow_loop_tree_node_add, flow_loops_tree_build,
3159         flow_loop_level_compute, flow_loops_level_compute,
3160         flow_loop_outside_edge_p): Add prototypes.
3161         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
3162
3163         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
3164         Mark with ATTRIBUTE_NORETURN.
3165
3166         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
3167
3168         * local-alloc.c (no_conflict_p): Likewise.
3169
3170         * loop.c (insert_bct): Hide definitions of variables with hidden
3171         usage.
3172         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
3173
3174         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
3175         with ATTRIBUTE_UNUSED.
3176         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
3177         (reg_scan): Likewise.
3178
3179         * reload.c (find_reloads): Remove unused variables `changed'.
3180
3181         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
3182         away const-ness.
3183         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
3184         Remove unused variable `insn'.
3185
3186         * toplev.c: Include loop.h.
3187         (report_file_and_line): Remove unnecessary prototype.
3188
3189         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
3190
3191         * unroll.c (biv_total_increment): Likewise.
3192
3193 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3194
3195         * reload1.c (emit_input_reload_insns): Restore old behaviour
3196         wrt. 'special' reloads.
3197
3198 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
3199
3200         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
3201         hash.h.  (cse.c): Don't depend on hashtab.h.
3202
3203         * cse.c: Don't include hashtab.h.
3204         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
3205         of dead functions.
3206         * ggc-simple.c: Don't include hash.h.
3207
3208 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
3209
3210         * dwarf2out.c (add_abstract_origin_attribute): Call
3211         gen_abstract_function on our function context.
3212
3213 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
3214
3215         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
3216
3217 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3218
3219         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
3220         case in switch.
3221
3222 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3223
3224         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
3225         constraints to "a!r".
3226
3227 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
3228
3229         * Makefile.in (calls.o): Depend on function.h.
3230         (alias.o): Likewise.
3231
3232 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
3233
3234         * reload1.c (emit_reload_insns): Break out code and variables into...
3235         (input_reload_insns, other_input_address_reload_insns,
3236         other_input_reload_insns, input_address_reload_insns,
3237         inpaddr_address_reload_insns, output_reload_insns,
3238         output_address_reload_insns, outaddr_address_reload_insns,
3239         operand_reload_insns, other_operand_reload_insns,
3240         other_output_reload_insns): ... new static variables, and...
3241         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
3242         do_output_reload): ... new functions.
3243
3244 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3245
3246         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
3247
3248 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3249
3250         * md.texi: Add c4x constraints documentation.
3251
3252 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3253
3254         * config/i386/dgux.c (struct option): Rename to
3255         lang_independent_option.
3256         (struct m_options): Add description field.
3257         (output_options): Rename option type, add sep declaration, output
3258         ix86_cpu_string and ix86_arch_string only if set.
3259         (output_file_start): Rename option type.
3260
3261 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
3262
3263         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
3264         stmp-int-hdrs.
3265         (libgcc2.a): Similarly.
3266
3267 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
3268
3269         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
3270         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
3271         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
3272
3273 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
3274
3275         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
3276         Remove redundant initialization of "frexpon" and "expon".
3277
3278 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3279
3280         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
3281
3282         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
3283         (store_constructor_field, expand_expr): Pass new arg.
3284
3285 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
3286
3287         * Makefile.in (explow.o): Depend on function.h.
3288
3289         * stor-layout.c (set_sizetype): Fix typo.
3290
3291 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
3292
3293         * function.c (cfun): Renamed from current_function.  All users
3294         changed.
3295         * function.h (cfun): Rename declaration as well.
3296
3297         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
3298         to be of type regset_head, not regset.  All users changed by adding
3299         address operator.
3300         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
3301
3302 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3303
3304         * config/c4x/rtems.h: New file.
3305
3306 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
3307
3308         * reload1.c (spill_failure): Take class of failed reload as argument
3309         and print it.  Caller changed.
3310
3311 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3312
3313         * rs6000.h (SUBTARGET_DEFAULT): New macro.
3314         (TARGET_SWITCHES): Allow subtargets to default switches.
3315         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
3316
3317 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
3318
3319         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
3320         in a main program.
3321
3322 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
3323
3324         * cccp.c (main): Define __STDC_VERSION__ as necessary.
3325         * cppinit.c (cpp_handle_option): Likewise.
3326
3327         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
3328         determine when to define.
3329
3330 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
3331
3332         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
3333         cmove with mismatched test and data modes.
3334
3335 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
3336
3337         * c-typeck.c (c_expand_start_case): Don't warn for long switch
3338         in system headers.
3339
3340 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3341
3342         * alias.c: Minor reformatting.
3343         * flow.c: Likewise.
3344         * regs.h: Likewise.
3345         * stor-layout.c: Likewise.
3346         * fold-const.c: Likewise.
3347         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
3348         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
3349         not arg itself.
3350         (size_int_wide): Cache nodes even if garbage collecting.
3351         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
3352         of SAVE_EXPR has no side effects.
3353         * cse.c: Move a comment.
3354         * tree.c: Minor reformatting.
3355         (int_size_in_bytes): Return -1 if constant overflows.
3356
3357 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3358
3359         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
3360
3361 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
3362
3363         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
3364         after any change to c-parse.in, even if objc-parse.y didn't
3365         change.  Oops.
3366
3367 1999-12-18  David S. Miller  <davem@redhat.com>
3368
3369         * toplev.c (rest_of_compilation): Restore BLOCK tree
3370         reconstruction and branch shortening changes lost in
3371         December 18th change.
3372
3373 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
3374
3375         * config/arm/linux-elf.h: Change all instances of
3376         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
3377         * config/arm/uclinux-elf.h: Likewise.
3378
3379 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
3380
3381         * toplev.c (notice, vmessage, v_message_with_file_and_line,
3382         v_message_with_decl, file_and_line_for_asm,
3383         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
3384         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
3385         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
3386         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
3387         pfatal_with_name, fatal_io_error, need_error_newline,
3388         last_error_function, last_error_tick, announce_function,
3389         default_print_error_function, print_error_function,
3390         report_error_function, fnotice, error_with_file_and_line,
3391         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
3392         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
3393         warning_with_decl, warning_for_asm, warning, pedwarn,
3394         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
3395         diagnostic.c
3396         (compile_file): Use fnotice instead of notice.  Adjust call.
3397
3398         * diagnostic.c: New file.
3399
3400         * Makefile.in (OBJS): Include diagnostic.o
3401         (diagnostic.o): Define dependence.
3402
3403 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3404
3405         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
3406         Tweak formatting.
3407
3408 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3409
3410         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
3411
3412 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
3413
3414         * fixtests.c (is_cxx_header): New fn, split out of
3415         double_slash_test.
3416         (else_endif_label): Allow "#endif // comment" in C++ headers,
3417         as determined by is_cxx_header.
3418         * fixfixes.c (else_endif_label_fix): Update comment.
3419         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
3420         a tty.
3421         * genfixes: Correct double thinko in commandline parsing.
3422         * hackshell.tpl: Generate correct sh syntax for bypass
3423         entries.
3424
3425         * inclhack.def (all): Whenever an inserted preprocessor
3426         conditional is split over multiple lines, use double
3427         backslashes in this file so the fixed header will be readable.
3428
3429         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
3430         and add bypass entry for correct version of this header.
3431         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
3432         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
3433
3434         (hpux8_bogus_inlines): New fix, split from...
3435         (ultrix_atof_param) ... here.
3436         (math_expression): Add bypass entry keyed to glibc comment
3437         indicating the problem has been dealt with; disable
3438         unnecessary sed operations; update commentary.
3439         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
3440         add select and bypass entries, simplify shell operation.
3441         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
3442
3443         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
3444          ultrix_atof_param): Add select entry.
3445         (stdio_va_list, sunos_mather_decl): Add bypass entry.
3446         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
3447         comments with the fixes they describe.
3448
3449         * c-parse.in (string action): Do not warn about ANSI string
3450         concatenation in system headers.  Affects C parser only.
3451         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
3452
3453 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
3454
3455         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
3456         compiling libgcc2 the macro depends always on arch cpp defines.
3457
3458 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
3459
3460         * loop.c (insert_loop_mem): Don't record MEMs from inside
3461         EXPR_LISTs.
3462
3463 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
3464
3465         * regclass.c (regclass): Do not use flowgraph when not optimizing.
3466
3467         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
3468         notes too, create one when replacement failed, attempt to simplify
3469         resulting notes.
3470         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
3471         or REG_EQUIV notes.
3472
3473 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
3474
3475         * crtstuff.c (__dso_handle): Declare.
3476         (__cxa_finalize): Likewise.
3477         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
3478         non-NULL.
3479
3480         * invoke.texi: Document -fuse-cxa-atexit.
3481
3482         * tree.h (ptr_type_node): Document.
3483         (const_ptr_type_node): Likewise.
3484
3485 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3486
3487         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
3488         (optimize_reg_copy_2): Likewise.
3489         (optimize_reg_copy_3): Likewise.
3490         (fixup_match_2): Likewise.
3491         (regmove_optimize): Likewise.
3492         (fixup_match_1): Liekwise.
3493
3494         * i386.md (HI to SImode promoting splitters): Rewrite.
3495         (pushsf mem peep2): New.
3496         (testhi to andhi peep2): Remove.
3497         * i386.h (x86_promote_QImode): New.
3498         (TARGET_PROMOTE_QImode): New.
3499         (PREDICATE_CODES): Add promotable_binary_operator.
3500         * i386.c (x86_promote_QImode0: New.
3501         (promotable_binary_operator): New.
3502         * i386-protos.h (promotable_binary_operator): New.
3503
3504         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
3505         condition.
3506         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
3507
3508 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
3509
3510         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
3511         * function.c (insert_block_after_note): Remove.
3512         (retrofit_block): Likewise.
3513         (identify_blocks): Fix indentation.
3514         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
3515         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
3516         * function.h (insert_block_after_note): Remove prototype.
3517         (retrofit_block): Likewise.
3518         * integrate.c (expand_inline_function): Don't call
3519         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
3520         just expand_start_bindings.  Use the block_map to remap old
3521         NOTE_BLOCKs to new ones.
3522         (integrate_decl_tree): Keep track of remapped blocks.
3523         * integrate.h (struct inline_remap): Add block_map.
3524         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
3525         NOTE_BLOCK on the notes.
3526         (expand_start_bindings): Rename to ...
3527         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
3528         (expand_end_bindings): Set NOTE_BLOCK.
3529         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
3530         reconstruct the BLOCK tree.
3531         * tree.h (expand_start_bindings): Macroize.  Call ...
3532         (expand_start_bindings_and_block): New function.
3533
3534 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
3535
3536         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
3537         to match the format.
3538
3539 1999-12-16  David S. Miller  <davem@redhat.com>
3540
3541         * expr.c (emit_move_insn_1): Only emit clobbers if one of
3542         the outputs is a SUBREG.
3543         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
3544         change.
3545
3546         * config/sparc/sparc.c (epilogue_renumber): Add default case
3547         to switch stmt.
3548
3549 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3550
3551         * toplev.c (rest_of_compilation): Run branch shortening after
3552         reg-stack.
3553
3554         * regclass.c (loop_depth): Remove
3555         (scan_one_insn): Do not handle LOOP_NOTE insns.
3556         (regclass): Go through basic blocks and set loop_cost
3557
3558 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
3559
3560         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
3561
3562 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3563
3564         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
3565         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
3566         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
3567
3568 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
3569
3570         * loop.c (insert_loop_mem): Ignore memory clobbers.
3571
3572         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
3573         to (OP A B).
3574
3575 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
3576
3577         * profile.c: Remove redundant #include "output.h".
3578
3579         * h8300.md (HImode preinc peephole): Fix typo.
3580
3581 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
3582
3583         * function.c (retrofit_block): Abort if we don't find a suitable insn.
3584         (insert_block_after_note): Abort if we don't have a previous block.
3585         Remove FN parameter.
3586         * function.h: Adjust.
3587
3588 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
3589
3590         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
3591         argument more than once.
3592
3593 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
3594
3595         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
3596
3597 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
3598
3599         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
3600
3601 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3602
3603         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
3604         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
3605         update stack_alignment_needed.
3606         (prepare_function_start): Initialize stack_alignment_needed
3607         * function.h (struct function): Add field stack_alignment_needed.
3608
3609 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3610
3611         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
3612         Handle live_throughout / dead_or_set instead of live_before /
3613         live_after.
3614         (save_call_clobbered_regs): Get register livenessinformation from
3615         chain->live_throughout.
3616         (add_stored_regs): New function.
3617         (insert_restore, insert_save): Add restored / saved registers to
3618         dead_or_set.
3619         * global.c (reg_dies): New parameter chain.
3620         (reg_becomes_live): Third parameter is regs_set now.
3621         Changed all callers.
3622         (reg_dies): New parameter chain.  Changed all callers.
3623         (build_insn_chain): Set live_throughout instead of
3624         live_before / live_after.
3625         * reload.h (struct insn_chain): Replace members live_before /
3626         live_after with live_throughout / dead_or_set.
3627         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
3628         instead of live_before / live_after.
3629         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
3630         (order_regs_for_reload, find_reg, finish_spills): Likewise.
3631         (choose_reload_regs_init): Likewise.
3632         * stupid.c (current_chain, find_clobbered_regs): Delete.
3633         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
3634         instead of chain->live_before / chain->live_after.
3635         (mark_hard_ref): New function.
3636         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
3637
3638 1999-12-15  David S. Miller  <davem@redhat.com>
3639
3640         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
3641
3642 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3643
3644         * flow.c (calculate_loop_depth): Make global, remove prototype,
3645         rewrite to use new loop infrastructure.
3646         (find_basic_block): Remove calculate_loop_depth call.
3647         * toplev.c (rest_of_compilation): Call find_basic_block.
3648         * output.h (calculate_loop_depth): Declare.
3649
3650         * flow.c (dump_flow_info): Dump loop_depth.
3651         (flow_loops_nodes_find): Increase loop_depth for basic block in the
3652         body.
3653         (flow_loops_find): Initialize the loop_depth for each basic block.
3654
3655 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
3656
3657         * tree.c (decl_function_context): Handle virtual functions.
3658
3659         * tlink.c (scan_linker_output): Don't look in demangled name when
3660         looking for linker output keywords.
3661
3662         * dwarfout.c (output_type): We can defer namespace-scope classes.
3663
3664 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
3665
3666         * regclass.c (record_reg_classes): Update comment for merging
3667         register class preferences in reg->reg copies.  Tighten conditions
3668         for merging register class preferences in reg->reg copies.
3669
3670 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
3671
3672         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
3673
3674 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
3675
3676         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
3677         (INIT_SECTION_ASM_OP): Delete.
3678         (FINI_SECTION_ASM_OP): Delete.
3679         (STARTFILE_SPEC): Define to hold just crtbegin.o.
3680
3681 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
3682
3683         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
3684         the abstract origin wasn't emitted.
3685
3686         * dwarf2out.c (class_scope_p): New fn.
3687         (gen_subprogram_die): Use it.
3688         (gen_variable_die): Use it.  Tweak logic.
3689         (gen_struct_or_union_type_die): Check context_die to determine
3690         if we're function-local.
3691         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
3692
3693 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
3694
3695         * loop.c (check_dbra_loop): Can't reverse a biv that has
3696         maybe_multiple set.
3697
3698 1999-12-14  Nick Clifton  <nickc@cygnus.com>
3699
3700         * config/arm/arm.c: Add support for -mcpu=arm720 command line
3701         switch.
3702
3703 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3704
3705         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
3706         for givs made from biv increments.
3707
3708 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
3709
3710         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
3711         * alpha.c (override_options): Recognize -mcpu=ev67.
3712         * alpha.h (CPP_CPU_EV67_SPEC): New.
3713         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
3714         (EXTRA_SPECS): Update.
3715
3716 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
3717
3718         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
3719         appropriate for -lang-c89 and -std=*.
3720         * cppinit.c (cpp_handle_option): Likewise.
3721         (new_pending_define): New, split out from cpp_handle_option.
3722         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
3723         or enable trigraphs for -ansi/-std=*.
3724
3725         * ginclude/stdarg.h (__va_copy): New.
3726         (va_copy): Don't define for C89.
3727
3728 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
3729
3730         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
3731         for long long multiply-accumulate.
3732
3733 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3734
3735         * regclass.c (scan_one_insn): Set loop_cost to 1 when
3736         optimizing for size.
3737
3738 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
3739
3740         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
3741         if something changed.  Back out that part of yesterday's changes.
3742
3743         * loop.c (loop_max_reg): New static variable.
3744         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
3745         max_reg_num.
3746         (scan_loop): Call reg_scan_update whenever we may have added new
3747         registers, and update loop_max_reg.
3748
3749 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
3750
3751         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
3752         when source does not die.
3753
3754         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
3755
3756 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
3757
3758         * config/sparc/linux64.h (TARGET_LIVE_G0,
3759         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
3760         variants on Linux.
3761         * config/sparc/linux.h (TARGET_LIVE_G0,
3762         TARGET_BROKEN_SAVERESTORE): Likewise.
3763         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
3764         TARGET_BROKEN_SAVERESTORE): Likewise.
3765
3766         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
3767         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
3768         not %g2.
3769         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
3770         as sparc64 block profiling register.
3771         * config/sparc/sparc.c (sparc_override_options): Allow block
3772         profiling with -m32.
3773         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
3774         profiling register.
3775         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
3776         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
3777         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
3778
3779         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
3780         for sparc64.
3781         * config/sparc/sparc.h: Likewise.
3782         * config/sparc/xm-sysv4-64.h: Likewise.
3783         * config/float-sparc.h: Likewise.
3784         * glimits.h: Likewise.
3785         * longlong.h: Likewise.
3786
3787         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
3788         (ASM_IDENTIFY_GCC): Remove.
3789
3790 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
3791
3792         * combine.c (combine_simplify_rtx): Don't make shared rtl.
3793         (simplify_logical): Likewise.
3794
3795 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
3796
3797         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
3798         * cppfiles.c (INO_T_EQ): Likewise.
3799
3800 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
3801
3802         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
3803         * i386/mingw32.h (LIB_SPEC): Likewise.
3804         (STARTFILE_SPEC): Likewise.
3805         * i386/uwin.h (LIB_SPEC): Likewise.
3806         (STARTFILE_SPEC): Likewise.
3807
3808         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
3809         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
3810
3811 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
3812
3813         * combine.c (combine_simplify_rtx): Fix order of checks for
3814         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
3815
3816 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
3817
3818         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
3819         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
3820
3821 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
3822
3823         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
3824         defined.
3825         * regclass.c (inv_reg_alloc_order): New array.
3826         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
3827
3828         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
3829         counted_for_groups, counted_for_nongroups.  Add fields rld and
3830         n_reloads.
3831         * reload.c (push_secondary_reload): Don't set nongroup field of
3832         new reloads.
3833         (push_reload): Likewise.
3834         (find_reloads): Delete code to compute nongroup fields.
3835         * reload1.c (reload_insn_firstobj): New static variable.
3836         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
3837         users changed.
3838         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
3839         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
3840         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
3841         functions.
3842         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
3843         functions.
3844         (struct hard_reg_n_uses): Deleted.
3845         (potential_reload_regs): Deleted.
3846         (init_reload): Initialize spilled_pseudos and pseudos_counted.
3847         (reload): Don't try to allocate reload registers if we already know
3848         we have to make another pass.  Call select_reload_regs.  Free memory
3849         starting with reload_firstobj when starting another pass.
3850         Don't allocate spilled_pseudos.
3851         (calculate_needs_all_insns): Call copy_reloads for an insn that
3852         needs reloads; don't call calculate_needs.
3853         (spill_cost): New static array.
3854         (used_spill_regs_local): New static variable.
3855         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
3856         to compute potential_reload_regs.
3857         (find_reload_regs): Completely rewritten to use find_reg.
3858         (allocate_reload_reg): Don't test counted_for_groups or
3859         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
3860         all cllers changed.
3861         (choose_reload_regs): Add fallback code that uses the existing
3862         register allocation from find_reload_regs.
3863
3864 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
3865
3866         * flow.c (create_edge_list): Cast xmalloc return value.
3867
3868 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
3869
3870         * doprnt.c: Remove incorrect comment closure.
3871
3872         * cse.c: Fix a few minor whitespace goofs.
3873
3874 1999-12-13  Don Bowman  <don@pixstream.com>
3875
3876         * mips/vxworks.h: Fix problem with comment termination.
3877         (EXTRA_SECTIONS): Add in_sbss.
3878         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
3879
3880 1999-12-12  David S. Miller  <davem@redhat.com>
3881
3882         * cse.c (struct cse_reg_info): Add hash_next member,
3883         reorder rest of struct for better packing on 64-bit
3884         hosts.
3885         (cse_reg_info_tree): Kill.
3886         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
3887         REGHASH_FN): New custom pow2 hash mechanism.
3888         (NBUCKETS): Kill.
3889         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
3890         use a pow2 hash table.
3891         (get_cse_reg_info): Rework to use new REGHASH.
3892         (new_basic_block): Likewise, use HASH_SIZE, and inline
3893         free_element call.
3894         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
3895         and inline free_element call.
3896         (lookup_as_function, insert, flush_hash_table, invalidate,
3897         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
3898         invalidate_for_call, use_related_value, find_comparison_args,
3899         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
3900         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
3901         get_element): Kill.
3902
3903 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
3904
3905         * cse.c (cse_basic_block): Free qty_table consistently.
3906
3907 1999-12-12  David S. Miller  <davem@redhat.com>
3908             Jakub Jelinek    <jakub@redhat.com>
3909
3910         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
3911         SUBREGs by hand, gen the appropriate hard reg directly.
3912         (movtf reg/mem split): Likewise and alter_subreg on destination
3913         if necessary.
3914         (movtf mem/reg split): Similarly.
3915         (movdf_cc_sp64): Rename from hidden pattern.
3916         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
3917         (movtf_cc_sp64, following split): New pattern and splitter.
3918         (movdf_cc_reg_sp64): Rename from hidden pattern.
3919         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
3920         TARGET_HARD_QUAD.
3921         (movtf_cc_reg_sp64, following split): New pattern and splitter.
3922
3923 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
3924
3925         * loop.c (load_mems): Don't hoist written floating point mem
3926         if -ffloat-store.
3927
3928 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
3929
3930         * except.h (struct eh_queue): Add `next' pointer.
3931         (struct eh_status): Make x_ehqueue a pointer.
3932         (push_ehqueue):  Declare.
3933         (pop_ehqueue): Likewise.
3934         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
3935         pointer.
3936         (expand_fixup_region_end): Likewise.
3937         (expand_leftover_cleanups): Likewise.
3938         (push_ehqueue): Define.
3939         (pop_ehqueue): Likewise.
3940         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
3941         than doing it inline.
3942         (expand_start_all_catch):  Adjust now that ehqueue is a
3943         pointer.
3944         (mark_eh_queue): Mark all level of the queue.
3945         (mark_eh_status):  Adjust now that ehqueue is a
3946         pointer.
3947         (init_eh_for_function): Allocate ehqueue.
3948         (free_eh_status): Free it.
3949         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
3950         expansion for a fixup.
3951
3952 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3953
3954         * gthr-single.h (__gthread_active_p): Add prototype arguments.
3955
3956         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
3957         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
3958         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
3959         function_ptr, getpagesize, __enable_execute_stack,
3960         __enable_execute_stack, __clear_insn_cache,
3961         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
3962         _cleanup, _exit, __default_terminate, __terminate_func,
3963         __terminate, __empty, __throw, new_eh_context,
3964         eh_context_initialize, eh_context_static, eh_context_specific,
3965         get_eh_context, __get_eh_context, __get_eh_info,
3966         init_reg_size_table, eh_threads_initialize,
3967         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
3968         __unwinding_cleanup, throw_helper, __throw, __rethrow,
3969         __pure_virtual): Add prototype arguments.
3970         (__bb_exit_func): Cast a sizeof to long when comparing against one.
3971         Cast a signed value to unsigned long when comparing against one.
3972         (new_eh_context): Wrap in _GTHREADS macro.
3973         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
3974         declaration.
3975         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
3976         (throw_helper): Initialize variables `handler_p' and `pc_p'.
3977
3978 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3979
3980         * combine.c (record_promoted_value): Remove unused variable
3981         `links2'.
3982
3983         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
3984
3985         * global.c (record_conflicts): Likewise for `j'.
3986
3987         * genoutput.c (output_insn_data): Don't unnecessarily cast away
3988         const-ness.
3989
3990 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3991
3992         * i386-protos.h (output_387_binary_op, output_fix_trunc,
3993         output_fp_compare): Constify a char*.
3994
3995         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
3996         static prototypes.
3997         (override_options, ix86_comp_type_attributes, print_operand,
3998         output_387_binary_op, output_fix_trunc, output_fp_compare):
3999         Constify a char*.
4000         (ix86_sched_reorder): Mark parameter `clock_var' with
4001         ATTRIBUTE_UNUSED.
4002
4003         * i386.h (DEBUG_PRINT_REG): Constify a char*.
4004
4005 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
4006
4007         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
4008         operand, for use in the Java front-end.
4009
4010 1999-12-10  Ben Collins  <bcollins@debian.org>
4011
4012         * configure.in: Fix typo for "-64" in 64bit as check.
4013         * configure: Rebuilt.
4014
4015 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
4016
4017         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
4018         appropriate.
4019
4020 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4021
4022         * c-parse.in (string): With -Wtraditional, warn if ANSI string
4023         concatenation is utilized.
4024
4025         * invoke.texi (-Wtraditional): Document it.
4026
4027 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4028
4029         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
4030         Cast a ptrdiff_t to long and pass it to printf with %ld.
4031
4032 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
4033
4034         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
4035         68881, we have no 68881 registers at all.
4036         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
4037         value in a 68881 register if it is available.
4038
4039 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
4040
4041         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
4042         for long long multiply-accumulate.
4043
4044 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
4045
4046         * loop.c (insert_loop_mem): Undo last change.
4047
4048 1999-12-10  David S. Miller  <davem@redhat.com>
4049
4050         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
4051         New functions.
4052         * config/sparc/sparc-protos.h: Add them.
4053         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
4054         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
4055         constraints which use those helpers.
4056         (EXTRA_CONSTRAINT): Use this new macro.
4057         * md.texi: Update sparc target constraints documentation.
4058         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
4059         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
4060         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
4061         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
4062         (movsf high/lo_sum split): Rework for new patterns.
4063         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
4064
4065 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
4066
4067         * c-common.c (c_common_nodes_and_builtins):
4068         Create __builtin_ptrdiff_t and __builtin_size_t.
4069
4070 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
4071
4072         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
4073
4074 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4075
4076         * regclass.c (globalize_reg): Re-instate test that allows
4077         fixed registers to be declared as a variable even after functions
4078         are defined.
4079
4080 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4081
4082         * i386.md (cpu attribute): Add "athlon".
4083         (athlon_decode): New attribute.
4084         (Athlon scheduling units definitions): New.
4085         (fcmp and shld patterns): Set athlon_decode to "vector".
4086         * i386.c (athlon_cost): New.
4087         (m_ATHLON): New.
4088         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
4089         x86_use_sahf): Set for Athlon.
4090         (x86_use_fiop): Unset for Athlon.
4091         (override_options): Define Athlon alignments and "athlon" name.
4092         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
4093         * i386.h (TARGET_ATHLON): New.
4094         (enum processor_type): Add PROCESSOR_ATHLON.
4095         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
4096         for CPU_DEFAULT==5
4097         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
4098
4099 1999-12-09  Andreas Jaeger  <aj@suse.de>
4100
4101         * loop.c (record_biv): Declare parameter as int.
4102
4103         * config/i386/i386-protos.h: Declare long_memory_operand.
4104
4105 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
4106
4107         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
4108         EXPR_WITH_FILE_LOCATION.
4109
4110 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
4111
4112         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
4113         in expander.
4114
4115         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
4116
4117         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
4118         updating code.
4119
4120 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
4121
4122         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
4123         default on linux64 again.
4124         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
4125         models for multilibing.
4126         * genmultilib: Accept | as alternative separator within a set in
4127         MULTILIB_OPTIONS.
4128
4129         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
4130
4131         * calls.c (precompute_arguments): Make sure initial_value contains
4132         value pseudo which CSE expects.
4133         * cse.c (struct set): New entry orig_src.
4134         (cse_insn): Set it early on entry, use it for libcall EQUIV note
4135         replacement.
4136
4137 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
4138
4139         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
4140
4141 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
4142
4143         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
4144
4145 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
4146
4147         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
4148         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
4149
4150         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
4151         if TARGET_ARCH32.
4152
4153         * longlong.h: Merge in changes from glibc.
4154         Also don't clobber %g2 register in 32bit SPARC assembly, so that
4155         -mno-app-regs libgcc can be compiled.
4156         * libgcc2.c: Add defines so that the updated longlong.h
4157         can be used in libgcc2.a. Also, make sure on most architectures
4158         (at least on all which have optimized code in longlong.h defined
4159         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
4160
4161 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4162
4163         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
4164         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
4165         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
4166         is GNU ld.
4167         * configure: Rebuilt.
4168
4169 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
4170
4171         * alpha.c (secondary_reload_class): For !BWX, sub-simode
4172         outputs require a register.
4173
4174 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
4175
4176         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
4177         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
4178         functions like dptoul will be resolved.
4179         (libgcc2.a): Make sure that the object files from DPBIT are named
4180         differently (prefix `_dp') from those that would be coming from
4181         FPBIT.
4182
4183 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
4184
4185         * configure.in: When target is sparc* and tm_file contains 64,
4186         test for 64bit support in assembler.  If not supported, remove
4187         sparc/t-sol2-64 from target-dependent Makefile fragments.
4188         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
4189         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
4190         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
4191         * acconfig.h (AS_SPARC64_FLAG): Added.
4192         * configure, config.in: Rebuilt.
4193         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
4194         support.  Use AS_SPARC64_FLAG.
4195
4196 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
4197
4198         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
4199         suitable for holding OFmode values so that gcc works with complex
4200         quad long doubles.
4201         (hard_64bit_mode_classes): Likewise.
4202
4203         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
4204         so that it is actually matched.
4205         (sethi_di_medlow): Likewise.
4206
4207         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
4208         as legitimate constant if -mvis.
4209         * config/sparc/sparc.md (movtf): Likewise.
4210         (clear_sf): Use const_double_operand.
4211         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
4212
4213         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
4214         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
4215         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
4216         routines, _Qp_* cannot be handled like that now.
4217         (INIT_TARGET_OPTABS): Likewise.
4218         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
4219         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
4220         sparc_emit_float_lib_cmp if ARCH64 and soft float.
4221         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
4222         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
4223         divtf3, sqrttf3): New expanders.
4224         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
4225         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
4226         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
4227         non-_hq patterns.
4228
4229         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
4230         * configure: Rebuilt.
4231         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
4232         -mcpu is given and we're doing 64bit compiles.
4233
4234 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
4235
4236         * loop.h (struct induction): Add multi_insn_incr.
4237         * loop.c (basic_induction_var): New multi_insn_incr argument.
4238         Set it if we search back through previous insns for the biv.
4239         (record_biv): New multi_insn_incr argument; fill in struct induction.
4240         (strength_reduce): Discard an iv with multiple bivs, any of
4241         which require multiple insns to increment.
4242
4243 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4244
4245         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
4246         documentation.
4247
4248 1999-12-06  David S. Miller  <davem@redhat.com>
4249
4250         * combine.c (check_promoted_subreg): Do not conditionalize this upon
4251         PROMOTE_FUNCTION_RETURN.
4252
4253 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
4254
4255         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
4256         and handle REG_UNUSED note on insn.
4257
4258         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
4259         inner_mask instead of mask.
4260
4261 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
4262
4263         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
4264         zero if there was an error.
4265
4266 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
4267
4268         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
4269         output string.
4270
4271         * longlong.h: Fix clobbers in SPARC asm statements.
4272
4273         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
4274         valid sethi operations when TARGET_ARCH64.
4275
4276         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
4277         always use move_by_pieces to avoid infinite recursion.
4278         (restore_fixed_argument_area): Likewise.
4279
4280         * combine.c (check_promoted_subreg, record_promoted_value): New
4281         functions.
4282         (combine_instructions): Use them to retain nonzero and sign bit
4283         information after SUBREGs are eliminated by optimizations in
4284         this pass if PROMOTE_FUNCTION_RETURN.
4285
4286         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
4287         .register declaration. Don't use variables with __ prefixes.
4288
4289 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4290
4291         * fold-const.c (optimize_bit_field_compare): Only use one mode
4292         for both RHS and LHS in non-constant case.
4293
4294 1999-12-06  Nathan Sidwell  <nathan@acm.org>
4295
4296         * frame.c (start_fde_sort): Only allocate erratic array, if
4297         linear one was allocated. Return allocated flag.
4298         (fde_insert): Only insert, if there's a valid array.
4299         (fde_end_sort): Split, sort and merge if linear and erratic
4300         arrays exist, else just sort linear one.
4301         (search_fdes): New function. Linear search through original fde
4302         structure.
4303         (frame_init): Permit multiple initializations. Cope with
4304         memory shortages.
4305         (find_fde): Fallback on linear search, if failed to sort array.
4306         (__deregister_frame_info): Only free sorted array, if we
4307         allocated it.
4308
4309 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
4310
4311         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
4312
4313 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
4314
4315         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
4316
4317 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
4318
4319         * tree.h (special_function_p): Declare.
4320         * calls.c (special_function_p): Make it global.  Don't take `name'
4321         as a parameter.  Fix typo in 1999-11-28 change.
4322         (expand_cal): Adjust.
4323
4324 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
4325
4326         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
4327         * tree.h (EXPR_WFL_FILENAME): Define in terms of
4328         EXPR_WFL_FILENAME_NODE.
4329         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
4330         the TREE_CHAIN.
4331         * print-tree.c (print_note): Print TREE_PRIVATE and
4332         TREE_PROTECTED.
4333
4334         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
4335         the original die cannot be found.
4336
4337         * varray.h (varray_head_tag): Add elements_used.
4338         (VARRAY_PUSH): New macro.
4339         (VARRAY_POP): Likewise.
4340         (VARRAY_TOP): Likewise.
4341         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
4342         types.
4343         * varray.c (varray_init): Initialize elements_used.
4344         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
4345         (INTEGRATE_H): New variable.
4346         (integrate.o): Depend on INTEGRATE_H.
4347         (unroll.o): Likewise.
4348
4349         * function.h (insert_block_after_note): Declare.
4350         * function.c (insert_block_after_note): Split out from ...
4351         (retrofit_block): ... here.
4352
4353         * stmt.c (expand_fixup): Fix typo in comment.
4354
4355 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4356
4357         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
4358         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
4359         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
4360         (regmove_optimize, fixup_match_1): Likewise.
4361
4362 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4363
4364         * flow.c (flow_loops_dump): Add missing argument when calling
4365         flow_loop_nested_p.
4366
4367 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
4368             Greg McGary  <gkm@gnu.org>
4369
4370         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
4371         (init_attributes): Add A_NO_LIMIT_STACK.
4372         (decl_attributes): Handle A_NO_LIMIT_STACK.
4373         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
4374         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
4375         Handle stack bounds checking.
4376         * flags.h (flag_stack_check): Use the word 'probe' rather than
4377         'check', because the flag doesn't actually cause any checking to
4378         be done.
4379         * function.c (expand_function_start): Set
4380         current_function_limit_stack.
4381         * function.h (struct function): Add limit_stack.
4382         (current_function_limit_stack): Define.
4383         * invoke.texi (Code Gen Options): Document new options.
4384         * rtl.h: Declare stack_limit_rtx.
4385         * toplev.c (stack_limit_rtx): New variable.
4386         (decode_f_option): Handle new options -fstack-limit-register=REG,
4387         -fstack-limit-symbol=IDENT, -fno-stack-limit.
4388         (main): Add stack_limit_rtx as GC root.
4389         * tree.h (DECL_NO_LIMIT_STACK): New macro.
4390         (struct tree_decl): New member no_limit_stack.
4391
4392         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
4393         stack_limit_rtx.
4394         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
4395         (conditional_trap+1): Get new mnemonic correct.
4396         (conditional_trap+2): New pattern for DImode traps.
4397
4398         * config/m68k/m68k.c (output_function_prologue): Handle
4399         stack_limit_rtx.
4400         * config/m68k/m68k.md (trap): New insn.
4401         (conditional_trap): New insn.
4402         * md.texi (Standard Names): Document `trap' and
4403         `conditional_trap'.
4404         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
4405         so a cc0 setter doesn't get emitted at some random place in the
4406         function.
4407
4408         * config/i960/i960.md (trap): New insn.
4409         (conditional_trap): New expander.
4410         (conditional_trap+1, conditional_trap+2): New insns for signed
4411         and unsigned cases.
4412         * config/i960/i960.c (i960_function_prologue): Use
4413         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
4414
4415 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
4416                           Geoffrey Keating  <geoffk@cygnus.com>
4417
4418         * flags.h (warn_padded, warn_packed): Add global var decls.
4419         * toplev.c (warn_padded, warn_packed): Add global var defns.
4420         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
4421         * stor-layout.c (layout_record): Add local variable `type'
4422         to hold often-used TREE_TYPE (field).  Add local variable
4423         `unpacked_align' to hold alignment that would be in force
4424         if no `packed' attribute were present.  Warn if `packed' attribute
4425         is unnecessary, or even harmful.  Warn when gcc inserts padding
4426         to satisfy alignment requirements of members.  Use NULL_TREE
4427         when checking whether var_size is set.
4428         * invoke.texi: Document new flags.
4429
4430 1999-12-03  Nathan Sidwell  <nathan@acm.org>
4431
4432         * frame.c (fde_split): Reimplement to avoid variable sized array.
4433
4434 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4435
4436         * combine.c (try_combine): Before fixing up LOG_LINKS for the
4437         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
4438
4439 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
4440
4441         * invoke.texi: Document the mips option -mno-crt0
4442
4443 1999-12-02  Mike Karr  <mkarr@mathworks.com>
4444
4445         * cccp.c (argdata): Added free_ptr member.
4446         (macroexpand): Initialize free_ptr of each argument. When an
4447         argument's buffers are freed, if the argument's free_ptr corresponds
4448         to a buffer on the input stack, then return the free_ptr to that stack
4449         frame, otherwise, free it.
4450         (macarg): If an argument begins and ends on the same input stack level,
4451         then transfer the free_ptr of that buffer to the argument in case
4452         the stack is popped during the processing of a subsequent argument.
4453
4454 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
4455
4456         * loop.c (note_reg_stored): New function.
4457         (struct note_reg_stored_arg): New structure.
4458         (try_copy_prop): Change to be more conservative; only replace within
4459         one extended basic block and stop replacing if a store to the
4460         replacement reg is seen.
4461
4462 1999-12-02  Nick Clifton  <nickc@cygnus.com>
4463
4464         * config/fp-bit.c: Initialise all fields of the NAN
4465         constants.
4466
4467         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
4468         to HANDLE_PRAGMA.
4469
4470 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
4471
4472         * i386.md (extend?f?f2): Force the input into a register, not
4473         the output.
4474
4475 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
4476
4477         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
4478         regclass' sake.
4479         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
4480         alternative because setting up 64bit constant is usually costly,
4481         especially when reload is in progress or completed.
4482         (movdf_const_intreg_sp64): Likewise.
4483         (movdf_const_intreg split): Fix building up constants when
4484         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
4485
4486 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
4487
4488         * combine.c (if_then_else_cond): Use const_true_rtx instead of
4489         const1_rtx for return values in EQ/NE comparison against (const_int 0)
4490         case.
4491
4492         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
4493         (asm_file_start): Emit .am33 into assembly file when compiling for
4494         the AM33.
4495         (print_operand_address): Handle POST_INC addresses.
4496         (can_use_return_insn, initial_offset): Check AM33 registers too.
4497         (expand_prologue): Check & save AM33 registers too.
4498         (expand_epilogue): Similarly.
4499         (secondary_reload_class): Handle AM33 specific secondary reloads.
4500         (output_tst): Emit efficient code for the AM33 too.
4501         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
4502         (TARGET_SWITCHES): Add -mam33 switch.
4503         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
4504         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
4505         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
4506         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
4507         (enum reg_class, REG_CLASS_NAMES): Likewise.
4508         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
4509         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
4510         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
4511         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
4512         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
4513         (HAVE_POST_INCREMENT): Define.
4514         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
4515         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
4516         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
4517         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
4518         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
4519         (zero_extend to SI from QI/HI): Likewise.
4520         (sign_extend to SI from QI/HI): Likewise.
4521         (mulsidi3, umulsidi3): New patterns for the AM33.
4522         (tstsi with zero extension from QI/HI): Add AM33 variants.
4523         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
4524         (return_internal_regs, store_movm): Handle new AM33 registers.
4525         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
4526         (LIBGCC, INSTALL_LIBGCC): Likewise.
4527         * invoke.texi: Document new flags.
4528
4529 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4530
4531         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
4532         (addsi3_carry): Likewise.
4533         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
4534         (sbbsi3_carry): Likewise.
4535         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
4536         (mulhi3): Likewise.
4537         (test?i_1): Ensure that only one operand is memory.
4538         (conditional move patterns): likewise.
4539         (shift and rotate patterns): Rewrite to expander, add
4540         "binary_operator_ok" to the condition.
4541
4542         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
4543         * i386.h (procesor_costs): Add movzbl_load field.
4544         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
4545         non-Q registers, accept DImode registers anywhere.
4546         (Q_CLASS_P): New.
4547         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
4548         * i386.c (*_cost): Set value for movxbl_load field.
4549
4550         * (addsi): New add to lea splitter.
4551         (ashlsi): Likewise.
4552         (lea to add/shift peep2): New.
4553
4554 1999-12-01  Mark Salter <msalter@cygnus.com>
4555
4556         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
4557         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
4558         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
4559
4560 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4561
4562         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
4563         * i386.md (movsi_xor): New.
4564         (movsi_or): New.
4565         (movsi_1, movhi_1, movqi_1): Remove.
4566         (movsi_2): Rename to movsi_1.
4567         (movhi_2): Rename to movhi_1.
4568         (movqi_2): Rename to movqi_1.
4569         (movdi_1): Remove; remove splitter.
4570         (movdi_2): Rename to movdi_1.
4571         (divmodsi4 splitter): Do not emit clobbers for move patterns.
4572         (long move peep2): Do not create QI or HI mode mov0s
4573         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
4574
4575         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
4576         rewrite splitters.
4577
4578         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
4579         (abs?f2_if): Likewise.
4580
4581 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
4582
4583         * ggc.h (ggc_test_and_set_mark): New macro.
4584         (ggc_mark_rtx): Use ggc_test_and_set_mark.
4585         (ggc_mark_tree): Likewise.
4586         (ggc_mark_rtvec): Likewise.
4587         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
4588
4589 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
4590
4591         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
4592         containing types.
4593         (decl_scope_table): Just an array of trees now.
4594         (push_decl_scope): Simplify.
4595         (dwarf2out_init): Adjust.
4596         (local_scope_p): New fn.
4597         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
4598         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
4599         (gen_typedef_die): Likewise.
4600         (gen_lexical_block_die): Don't call push/pop_decl_scope.
4601         (gen_inlined_subroutine_die): Likewise.
4602         (gen_abstract_function): Set current_function_decl temporarily.
4603         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
4604         Handle block extern declarations.  Don't call push/pop_decl_scope.
4605         (gen_decl_die): Fix logic for block externs.
4606
4607 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4608
4609         * calls.c (special_function_p): Remove `realloc' and add `strdup'
4610         to the list of functions which have attribute malloc by default.
4611
4612 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4613
4614         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
4615         integer constant does not match the traditional type, limit the
4616         warnings to cases where the base of the type is ten.
4617
4618         * invoke.texi (-Wtraditional): Document it.
4619
4620 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4621
4622         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
4623         * rs6000.md: Only access a CONST_INT with INTVAL
4624
4625 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
4626
4627         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
4628         (compute_nearerout): Likewise.
4629         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
4630         size_t to unsigned long for formatting.
4631
4632 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
4633
4634         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
4635         Allow the user to override call-used/fixed state of %g2-5
4636         registers from the command line (with the exception of %g4 for
4637         embedded model).
4638         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
4639         there is a higher chance of having a leaf function.
4640         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
4641         for ARCH64 which has %ccr register.
4642         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
4643         patterns.
4644         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
4645         insn accept into delay slot any insn which does not use %[ol]
4646         registers.  Accept some LO_SUM and shift left by 1 for the normal
4647         restore case.
4648         (output_function_epilogue): Likewise.
4649         (epilogue_renumber): Added argument which inhibits any renumbering
4650         and just tests if the rtx does not use any %[ol] registers.
4651         (output_return): Reflect above change.
4652
4653 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
4654
4655         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
4656         aggregate passing for sizes <= 16 bytes.
4657
4658 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
4659
4660         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
4661         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
4662         * reload.c (find_dummy_reload): Likewise.
4663         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
4664         * reload1.c (reload_as_needed): Likewise.
4665         * stupid.c (stupid_find_reg): Likewise.
4666         * tm.texi (Obsolete Register Macros): Delete section.
4667         * gmicro.h: Remove all traces of the two macros.
4668         * i386.h: Likewise.
4669         * m88k.h: Likewise.
4670         * mips.h: Likewise.
4671
4672 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
4673
4674         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
4675         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
4676         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
4677         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
4678         units for the sparclite86x chip.
4679         (flush): Revert October 14th change; add SImode specifically.
4680         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
4681         * invoke.texi: Document it.
4682
4683 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
4684
4685         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
4686         psimode_truncation_operand.
4687
4688         * config/mn10200/mn10200.c (psimode_truncation_operand): New
4689         function.  Return true if the operand is either a MEM valid
4690         for a PSImode address or not a MEM at all.
4691
4692         * config/mn10200/mn10200.md (truncsipsi2): Use
4693         psimode_truncation_operand.
4694
4695 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4696
4697         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
4698         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
4699         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
4700         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
4701         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
4702         (flow_loop_level_compute, low_loops_level_compute): Likewise.
4703         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
4704         * basic-block.h: Protect from multiple inclusion.
4705         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
4706         (struct loops, struct loop): Define structures.
4707         * sbitmap.c (sbitmap_a_subset_b_p): New function.
4708         * sbitmap.h: Protect from multiple inclusion.
4709         (sbitmap_a_subset_b_p): Add prototype.
4710         * Makefile.in (LOOP_H): New macro.
4711         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
4712
4713 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
4714
4715         * cppinit.c (CAT): The argument list of this macro may not contain
4716         spaces !
4717
4718 1999-11-29  David S. Miller  <davem@redhat.com>
4719
4720         Move quantity tables and register equivalence chains into
4721         per-qty and per-register structure arrays respectively.
4722         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
4723         qty_const_insn, qty_comparison_code, qty_comparison_const,
4724         qty_comparison_qty): Delete, replace with...
4725         (qty_table): this structure table.
4726         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
4727         (reg_eqv_table): this structure table.
4728         (make_new_qty): Add argument MODE.  Caller updated.
4729         Update to use qty_table and reg_eqv_table.
4730         (make_regs_eqv, delete_reg_equiv, insert_regs,
4731         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
4732         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
4733         cse_process_notes, cse_main, cse_basic_block): Likewise.
4734
4735 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4736
4737         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
4738         operation if C is negative.
4739         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
4740         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
4741         law for some divisions if constant is negative and change other
4742         divisions to the opposite rounding.
4743
4744         * expr.c (store_constructor_field): If bit position is not multiple
4745         of alignment of TARGET's mode, use BLKmode.
4746
4747         * expr.c (expand_expr_unaligned): Add more code from full case
4748         that is needed when OP0 is in a register.
4749
4750 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4751
4752         * dwarfout.c (field_byte_offset): Size can be zero if there was
4753         an error.
4754
4755 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
4756
4757         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
4758         (associate_trees): Delete unused var TEM.
4759         (extract_muldiv): Delete unused var CANCEL_P.
4760
4761         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
4762         (target_isinf, target_isnan, target_negative): Add return types to
4763         function definitions.
4764
4765 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
4766
4767         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
4768         * fixinc/hackshell.tpl: ditto
4769         * fixinc/fixtests.c(double_slash_test): more C++ header testing
4770         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
4771
4772 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
4773
4774         * reload.c (push_reload): When looking for a register to put into
4775         reg_rtx, make sure all hard regs in a multi-reg register are in the
4776         right class and nonfixed.
4777
4778         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
4779         pending_read_insns, pending_write_insns, pending_read_mems,
4780         pending_write_mems, pending_list_length, last_pending_memory_flush,
4781         last_function_call, sched_before_next_call): Move static variables
4782         into a structure.
4783         (bb_ prefixed versions): Replace with single array bb_deps.
4784         (struct deps): New structure.
4785         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
4786         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
4787         argument of type "struct deps *"; use that instead of global
4788         variables.  All callers changed.
4789         (init_rgn_data_dependencies): Delete function.
4790         (init_rtx_vector): Delete function.
4791         (init_deps): New function.
4792
4793         (free_pending_lists): Simplify, we always use the bb_deps array even
4794         if only one basic block.
4795         (compute_block_backward_dependences): Likewise.
4796         (schedule_region): Likewise.
4797
4798         (propagate_deps): New function, broken out of
4799         compute_block_backward_dependences.
4800         (compute_block_backward_dependences): Use it.
4801
4802         * alpha.md: Delete useless patterns that tried to work around
4803         register elimination problems.
4804
4805         * unroll.c (loop_iterations): Don't abort if iteration variable
4806         was made by loop.
4807
4808         From Joern Rennecke:
4809         * reload1.c (reloads_conflict): Reverse test comparing operand
4810         numbers when testing for conflict between output/outaddr reloads.
4811
4812 1999-11-29  David S. Miller  <davem@redhat.com>
4813
4814         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
4815         arg.
4816         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
4817
4818 1999-11-28  Robert Lipe  <robertl@cygnus.com>
4819
4820         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
4821         table from .fini into .dtor.
4822
4823 1999-11-28  Anthony Green  <green@cygnus.com>
4824
4825         * tree.h (struct tree_decl): Add malloc_flag.
4826         (DECL_IS_MALLOC): Define.
4827         * c-common.c (attrs): Add A_MALLOC attribute.
4828         (init_attributes): Add this attribute to the table.
4829         (decl_attributes): Handle malloc attribute.
4830         * calls.c (special_function_p): Check for the malloc attribute.
4831         * extend.texi (Function Attributes): Document malloc attribute.
4832
4833 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
4834
4835         * pa.md (reload shift-add patterns): Remove.
4836
4837 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4838
4839         * reorg.c (dbr_schedule) Print more statistics. Corrected
4840         problem when printing info when 3 delay slots are filled.
4841
4842 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
4843
4844         * combine.c (setup_incoming_promotions): Pass an outgoing
4845         regno to FUNCTION_ARG_REGNO_P which it expects.
4846
4847 1999-11-28  Andreas Jaeger  <aj@suse.de>
4848
4849         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
4850
4851 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
4852
4853         * cccp.c (do_include): Avoid initialization of automatic variable.
4854
4855         * integrate.c (mark_stores): Function definition made void, to match
4856         previous declaration.
4857         * regclass.c (dump_regclass): Ditto.
4858         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
4859
4860 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4861
4862         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
4863         known to be multiple of divisor.
4864
4865         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
4866
4867         * combine.c (try_combine): Add code to try to merge a set of a
4868         two-word pseudo to a constant with a setting of one of those words
4869         to a constant.
4870
4871         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
4872         (split_tree): Completely rework to make more general.
4873         (make_range, fold): Call negate_expr.
4874         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
4875         (fold, associate): Call new split_tree and associate_trees.
4876         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
4877
4878 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
4879
4880         * loop.c (try_copy_prop): Avoid GNU C extension.
4881
4882 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
4883
4884         * except.c (init_eh_for_function): Still zero eh_return_context,
4885         eh_return_stack_adjust, and eh_return_handler.
4886
4887         * except.h (eh_status): Adjust documentation for x_protect_list.
4888         (begin_protect_partials): New function.
4889         * except.c (enqueue_eh_entry): Fix formatting.
4890         (get_first_handler): Add consistency check.
4891         (add_partial_entry): Adjust usage of protect_list.
4892         (emit_cleanup_handler): Save and restore ehqueue.
4893         (expand_start_all_catch): Add comment.
4894         (begin_protect_partials): New function.
4895         (end_protect_partials): Adjust usage of protect_list.
4896         (init_eh_for_function): Use xcalloc.
4897
4898 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4899
4900         * c-common.c (check_format_info): Don't call a variadic function
4901         with a non-literal format string.
4902
4903         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
4904
4905         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
4906         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
4907         Likewise.
4908
4909         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
4910         Likewise.
4911
4912         * collect2.c (collect_wait): Likewise.
4913
4914         * dbxout.c (dbxout_type): Likewise.
4915
4916         * gcc.c (do_spec_1): Likewise.
4917
4918         * genemit.c (gen_insn, gen_expand): Likewise.
4919
4920         * genrecog.c (write_switch, write_subroutine): Likewise.
4921
4922         * mips-tfile.c (catch_signal, botch): Likewise.
4923
4924         * print-rtl.c (print_rtx): Likewise.
4925
4926         * toplev.c (default_print_error_function, report_error_function,
4927         _fatal_insn): Likewise.
4928
4929 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
4930
4931         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
4932
4933 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
4934
4935         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
4936         operations when needed.
4937         * i386.md (fop_?f_comm): New.
4938         (fop_?f_1): Do not accept commutative operands.
4939
4940 1999-11-25  Andreas Jaeger  <aj@suse.de>
4941
4942         * config/mips/mips.md (casesi_internal): Add missing brace.
4943
4944 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
4945
4946         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
4947         (splice_child_die): Handle moving a child DIE from the declaration
4948         DIE of a class to its specification.
4949         (gen_struct_or_union_type_die): Use 'complete' consistently.
4950         (gen_decl_die): Generate the virtual context DIE first.
4951         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
4952
4953 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
4954
4955         * config/mips/mips.md (call_value_multiple_interanal1): New.
4956
4957 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
4958
4959         * dwarf2out.c (free_AT, free_die): New fns.
4960         (remove_children): Call them.
4961         (output_line_info): Disable removal of duplicate notes.
4962
4963         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
4964         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
4965         means pretend the type isn't defined.
4966         Don't defer emitting types.
4967         (gen_type_die_for_member): New fn.
4968         (gen_decl_die): Call it.
4969         (splice_child_die): New fn.
4970         (gen_member_die): Call it rather than generate duplicate dies.
4971
4972         Defer emitting information for the abstract instance of an inline
4973         until we either inline it or emit an out-of-line copy.
4974         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
4975         from output_inline_function if DECL_ABSTRACT is also set.
4976         (block_ultimate_origin): Likewise.
4977         (gen_abstract_function): New fn.
4978         (gen_decl_die, gen_inlined_subroutine_die): Call it.
4979         (gen_subprogram_die):  An abstract instance is not a declaration
4980         just because it doesn't match current_function_decl.  Don't abort
4981         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
4982         has an abstract origin.
4983         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
4984         abstract instance here.
4985
4986 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
4987
4988         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
4989         where we need to reload fpul from a system register.
4990
4991 1999-11-24  Andreas Jaeger  <aj@suse.de>
4992
4993         * config/mips/linux.h (CPP_PREDEFINES): Added.
4994         (LINK_SPEC): Remove -Y since this is only needed on sparc.
4995
4996 1999-11-24  Andreas Jaeger  <aj@suse.de>
4997
4998         * config/mips/linux.h (TARGET_VERSION): Added.
4999         (HANDLE_SYSV_PRAGMA): Added.
5000         (DEFAULT_VTABLE_THUNKS): Added.
5001
5002 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5003
5004         * local-alloc.c (qty): New structure and static variable.
5005         (qty_phys_reg): Remove, all references changed to qty.
5006         (qty_n_refs): Likewise.
5007         (qty_min_class): Likewise.
5008         (qty_birth): Likewise.
5009         (qty_death): Likewise.
5010         (qty_size): Likewise.
5011         (qty_mode): Likewise.
5012         (qty_n_calls_crossed): Likewise.
5013         (qty_alternate_class): Likewise.
5014         (qty_changes_size): Likewise.
5015         (qty_first_reg): Likewise.
5016         (alloc_qty): Rename variable QTY to QTYNO.
5017         (finf_free_reg): Likewise.
5018         (local_alloc): Allocate qty, do not allocate the removed variables.
5019
5020 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
5021
5022         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
5023         when -membedded-pic is passed.
5024
5025         * config/mips/mips.md (casesi): Handle 64-bit case too.
5026         (casesi_internal_di): New insn.
5027
5028         * config/mips/mips.c (embedded_pic_offset): Always make the
5029         embedded-pic subtractions relative to the name of the current
5030         function by use of the magic string "..CURRENT_FUNCTION".
5031         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
5032
5033 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
5034
5035         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
5036         of (const_int 0), when what we really care about is
5037         whether it's a zero constant anyway.
5038         (div_trap_mips16): Likewise.
5039
5040 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
5041
5042         * loop.c (loop_optimize): Always find_loop_tree_blocks and
5043         unroll_block_trees when generating debuggable code.
5044
5045         * tree.h (unsave_expr_1): New function.
5046         (lang_unsave): New variable.
5047         (get_callee_fndecl): New function.
5048         * tree.c (unsave_expr_now_r): New function.
5049         (lang_unsave): Define.
5050         (unsave_expr_1): Likewise.
5051         (unsave_expr_now_r): Split out from unsave_expr_now.
5052         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
5053         call unsave_expr_now_r.
5054         (get_callee_fndecl): Define.
5055
5056         * Makefile.in (gencheck): Don't depend on lang_tree_files.
5057         (gencheck.o): Do depend on lang_tree_files.
5058
5059         * integrate.h (copy_decl_for_inlining): New declaration.
5060         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
5061         (copy_decl_for_inlining): New function.
5062         (integrate_parm_decls): Use it.
5063         (integrate_decl_tree): Likewise.
5064
5065 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
5066
5067         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
5068         the second two from the first.
5069         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
5070         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
5071         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5072         ISA_HAS_FP4.
5073         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
5074         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5075         ISA_HAS_FP4.
5076
5077 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
5078
5079         * pa.md (call_internal_symref, call_value_internal_symref): No mode
5080         needed on the address operand.
5081         * pa.c (call_operand_address): Check for the correct mode.
5082
5083 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
5084
5085         * loop.c: Include "basic-block.h".
5086         (try_copy_prop, replace_loop_reg): New functions.
5087         (load_mems): Detect registers that just hold copies of the hoisted
5088         mem, and call try_copy_prop to eliminate them.
5089         * Makefile.in (loop.o): Update dependencies.
5090
5091 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
5092
5093         * Makefile.in (gencheck.o): Depend on gencheck.h.
5094         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
5095         (insn-peep.o): Depend on except.h and function.h.
5096         (insn-attrtab.o): Depend on RECOG_H.
5097         (insn-output.o): Depend on toplev.h and flags.h.
5098         (gengenrtl.o): Depend on real.h.
5099         (gen-protos.o): Depend on cpplib.h and cpphash.h.
5100         Unify all dependencies to be on RECOG_H rather than recog.h.
5101
5102 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5103
5104         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
5105         * configure.in: Try building a bi-arch 32/64-bit compiler on
5106         sparc-*-solaris2.7 and higher.
5107         * configure: Rebuild.
5108
5109 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
5110
5111         * config/freebsd.h: New, FreeBSD architecture independent file.
5112         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
5113         independent pieces.
5114         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
5115         directly by i386/freebsd.h.
5116         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
5117         independent configuration file.
5118         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
5119         directly by i386/freebsd.h.
5120         * configure: Rebuilt.
5121
5122         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
5123         which is in the user's namespace.
5124         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
5125         `i386' which is not in our namespace.
5126
5127 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
5128
5129         * invoke.texi (ARM Options): Add in -mno-alignment-traps
5130
5131 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
5132
5133         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
5134         (add_dwarf_attr, add_child_die): Just push onto the front.
5135         (reverse_die_lists): New fn.
5136         (add_sibling_attributes): Use it.
5137         (push_decl_scope): Reorganize.
5138         (add_name_and_src_coords_attributes): Don't set file and line for
5139         an artificial decl.
5140         (gen_subprogram_die): An artificial function doesn't need to match
5141         file and line.
5142         (gen_compile_unit_die): Return the generated die.  Only add
5143         AT_comp_dir if the filename is relative.
5144         (remove_AT): Simplify loop.  Also free string values.
5145         (output_die): A DIE ref can't be null.
5146         (output_value_format, value_format): Take a dw_attr_ref.
5147         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
5148         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5149         AT_addr, AT_lbl): New fns.
5150         (various): Use them.
5151         (various): Constify.
5152
5153 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5154
5155         * combine.c (combine_simplify_rtx): When handling a SUBREG,
5156         take SUBREG_WORD into account.
5157         (if_then_else_cond): Likewise.
5158
5159 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
5160
5161         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
5162         clause from BSD license, pursuant with
5163
5164           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
5165
5166 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
5167
5168         * loop.c (load_mems): Reformat slightly.
5169         * basic-block.h (regset_head): New typedef.
5170         (INIT_REG_SET): New macro.
5171
5172 1999-11-22  Bruce Korb  <autogen@linuxbox.com
5173
5174         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
5175         (mips-dec-bsd*): non-functional code
5176         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
5177
5178         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
5179         added three replacement fixes
5180         (no_double_slash): removed comments that are not (any longer) pertinent
5181         (bad_lval): this fix currently runs against many files.
5182         The comment seems to indicate that we should select for files
5183         containing 'pragma extern_prefix'.
5184
5185         * fixinc/fixinc.x86-linux-gnu: deleted
5186         * fixinc/inclhack.sh:  regen
5187         * fixinc/fixincl.x:  regen
5188         * fixinc/fixincl.sh:  regen
5189
5190 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
5191
5192         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
5193         its code is INSN and it has no notes.
5194
5195 1999-11-22  Andrew Haley  <aph@cygnus.com>
5196
5197         * varasm.c (function_defined): Remove.
5198         (make_function_rtl): Don't set function_defined.
5199         (make_decl_rtl): Remove global register warning.
5200         * regclass.c (no_global_reg_vars): New variable.
5201         (globalize_reg): Warn if function has already been defined.
5202         (regclass_init): Set no_global_reg_vars.
5203
5204 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5205
5206         * regclass.c (reg_pref): New structure and static variable
5207         (prefclass): Delete.
5208         (altclass): Delete.
5209         (all uses of prefclass and altclass): Use reg_pref instead.
5210
5211 1999-11-21  Nick Clifton  <nickc@cygnus.com>
5212
5213         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
5214         -malignment-traps.
5215         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
5216         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5217         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5218
5219 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
5220
5221         * varasm.c (output_constructor): Solve problem with long long
5222         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
5223
5224 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5225
5226         * global.c (allocno): New structure and static variable.
5227         (allocno_reg): Remove, all references replaced by allocno.
5228         (allocno_size): Likewise.
5229         (hard_reg_conflicts): Likewise.
5230         (hard_reg_preferences): Likewise.
5231         (hard_reg_copy_preferences): Likewise.
5232         (hard_reg_full_preferences): Likewise.
5233         (regs_someone_prefers): Likewise.
5234         (allocno_calls_crossed): Likewise.
5235         (allocno_n_refs): Likewise.
5236         (allocno_live_length): Likewise.
5237         (find_reg): Rename ALLOCNO to NUM.
5238
5239         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
5240         references updated.
5241         (may_move_out_cost): New variable.
5242         (init_reg_sets_1): Initialize may_move_out_cost.
5243         (record_reg_classes): Use may_move_out_cost.
5244
5245         * regclass.c (dump_regclass): New function.
5246         (regclass): New parameter DUMP, call DUMP_REGCLASS.
5247         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
5248         pass rtl_dump_file to regclass.
5249         * rtl.h (regclass): Update prototype.
5250
5251 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5252
5253         * i386.md (neg, not and abs patterns): Revmap to use
5254         ix86_expand_unary_operator and ix86_unary_operator_ok.
5255         (add?f and sub?f expanders): Force operand 1 to register.
5256         * i386.c (ix86_expand_unary_operator): Rewrite.
5257         (ix86_unary_operator_ok): Ensure that memory operands
5258         match real opcode.
5259         (ix86_binary_operator_ok): Do not allow operand 1 to
5260         come into memory and operand 0 not.
5261         (ix86_expand_binary_operator): Ensure that
5262         src1 is not non-matching memory.
5263
5264         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
5265         to support integer registers and memory.
5266         (abss?2_integer): Likewise.
5267
5268         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
5269         (REG_CLASS_NAMES): Likewise.
5270         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
5271         and GENERAL_REGS.
5272         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
5273         (movsf): Likewise; unify 4th and 5th alternative.
5274         (pushdf): Likewise.
5275         (movdf_1): Likewise; rename to movdf_integer.
5276         (pushxf): Likewise; rename to pushxf_integer; fix output template;
5277         remove redundant splitter.
5278         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
5279         (movdf_nointeger): New.
5280         (movxf_nointeger): New.
5281         (pushxf_nointeger): New.
5282
5283         * i386.md (extend?f?f): Split to expander and pattern, refuse two
5284         memory operands in patterns.
5285         (fop*): Refuse two memory operands.
5286
5287         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
5288         on !TARGET_USE_CLTD CPUs.
5289
5290 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
5291
5292         * extend.texi: Document C++ restricted pointers and references.
5293
5294 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
5295
5296         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
5297         (invalidate_skipped_set): Call it unconditionally.
5298         (cse_set_around_loop): Likewise.
5299
5300 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
5301
5302         * rtl.texi (mem): Add documentation for alias-set argument
5303         to RTX `mem'.
5304
5305 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5306
5307         * i386.h (struct_processor_costs): New fields int_load, int_store,
5308         fp_move, fp_load and fp_store
5309         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
5310         fp->int moves
5311         (MEMORY_MOVE_COST): New macro.
5312         * i386.c (386_cost): Define new fields.
5313         (i486_cost): Likewise.
5314         (pentium_cost): Likewise.
5315         (pentiumpro_cost): Likewise.
5316         (k6_cost): Likewise.
5317
5318 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
5319                           Geoffrey Keating  <geoffk@cygnus.com>
5320
5321         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
5322
5323         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
5324         MASK_ALIGN_INT.
5325
5326         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
5327         (TARGET_STRICT_ALIGNMENT): New macro.
5328         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
5329         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
5330         * invoke.texi (M680x0 Options): Document -mstrict-align.
5331
5332 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
5333                           Richard Henderson  <rth@cygnus.com>
5334
5335         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
5336         (ix86_split_long_move): Declare.
5337         * i386.c (split_xf, ix86_split_movdi): Remove.
5338         (ix86_split_to_parts, ix86_split_long_move): New.
5339         * i386.md (dimode move splitters): Use ix86_split_long_move.
5340         (dfmode move splitters): Likewise.
5341         (xfmode move splitters): Likewise.
5342         (movsf_1): Allow F->r.
5343         (movdf_1, movxf_1): Allow F->ro.
5344
5345 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
5346
5347         * except.h (struct eh_entry): Add goto_entry_p.
5348         (eh_region_from_symbol): Remove prototype.
5349         * except.c (find_func_region_from_symbol): New function.
5350         (emit_cleanup_handler): Likewise.
5351         (eh_region_from_symbol): Make it static.
5352         (add_new_handler): Verify the argument.
5353         (find_func_region): Update comment.
5354         (expand_eh_region_end): Expand handlers here, rater than waiting
5355         until expand_leftover_cleanups or start_all_catch.
5356         (expand_leftover_cleanups): Don't expand here.
5357         (expand_start_all_catch): Or here.
5358         (expand_rethrow): Check the return value from find_func_region.
5359         * function.c (expand_function_end): Emit the catch_clauses.
5360
5361 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
5362
5363         * integrate.c (expand_inline_function): Add necessary check for NULL.
5364
5365 1999-11-18  Nick Clifton  <nickc@cygnus.com>
5366
5367         * toplev.c (main): Correctly detect an unrecognised option.
5368
5369         * cppinit.c (cpp_handle_option): Do not claim to have consumed
5370         a -f option if it has not been recognised.
5371
5372 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
5373
5374         * basic-block.h (update_life_extent): Remove trailing comma on
5375         enumeration type list.
5376
5377 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5378
5379         * varasm.c (output_constructor) Solved problem with long long
5380         bitfields. Corrected calculating this_time and shift. Also
5381         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
5382
5383 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
5384
5385         * flow.c (split_edge): Take looping structure into account when
5386         determining where to put the new block note.
5387
5388 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
5389
5390         * Makefile.in (ggc-none.o): Provide host specific version if
5391         needed.
5392
5393 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
5394
5395         * cse.c (delete_trivially_dead_insns): Identify no-op insns
5396         containing subregs too.
5397
5398 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
5399
5400         * invoke.texi: Add documentation for -muninit-const-in-rodata.
5401         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
5402         (TARGET_UNINIT_CONST_IN_RODATA): Define.
5403         (text_section): Add switches -munint-const-in-rodata and
5404         -mno-uninit-const-in-rodata.
5405         (ASM_OUTPUT_COMMON): Remove.
5406         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
5407         const objects should be placed in read-only data. Otherwise declare
5408         them in common.
5409
5410 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
5411
5412         * jump.c (jump_optimize_1): Revert last change.
5413
5414 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
5415
5416         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
5417         test if optimizing for size.
5418
5419 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
5420
5421         * Makefile.in (toplev.o): Depend on except.h.
5422         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
5423
5424 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
5425
5426         * i386.md (divmodsi4): Rewrite to expander.
5427         (*divmodsi4_nocltd): New.
5428         (*divmodsi4_cltd): New.
5429         (divmodsi4 splitter): Handle the case when input comes in edx.
5430         (udivmodhi4): Do not use constraints in exander.
5431         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
5432
5433 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
5434
5435         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
5436         for the common case.
5437
5438 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
5439
5440         * explow.c (hard_function_value): Add outgoing argument.
5441         * expr.h (hard_function_value): Declare it.
5442         * calls.c (expand_call, emit_library_call_value): Update callers.
5443         * function.c (aggregate_value_p): Ditto.
5444         (diddle_return_value): Must look at the outgoing registers
5445         on archs with register windows.
5446
5447 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
5448
5449         * alpha.c (alpha_build_va_list): Use make_lang_type and
5450         initialize TYPE_NAME for the va_list record.
5451
5452         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
5453
5454         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
5455         for printing.
5456         * ggc.h (struct ggc_statistics): Rearrange elements for better
5457         packing on 64-bit hosts.
5458         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
5459         (compute_nearerout): Likewise.
5460
5461 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
5462
5463         * config/rs6000/rs6000.c (first_reg_to_save): Save
5464         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
5465
5466 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
5467
5468         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
5469         notion of nesting to find the DIE for a type or function.
5470         DIEs can go in limbo even if we got a context_die.
5471         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
5472         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
5473         for local type.
5474         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
5475         (gen_type_die): Writing out the context doesn't cause member class
5476         template instantiations to be written out as well.
5477
5478 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
5479
5480         * rs6000.h (ASM_OUTPUT_DEF): New.
5481         Based on proposed addition from David Edelsohn.
5482
5483 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
5484             Bruce Korb  <autogen@linuxbox.com>
5485
5486         * fixinc/inclhack.def
5487         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
5488         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
5489                 in net/inet.h.
5490         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
5491         (svr4_endian): enabled with SVR5
5492         (svr4_mkdev): simplified syntax and enabled with SVR5
5493
5494 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
5495
5496         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
5497         * configure: Rebuilt.
5498         * config/t-freebsd-thread: New file.
5499
5500 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
5501
5502         * i386.c (ix86_decompose_address): Verify the base is a REG
5503         before trying to examine its register number.
5504
5505         * basic-block.h: Remove all #defines and prototypes related to
5506         integer lists.
5507         (free_bb_mem, compute_preds_succs): Remove prototype.
5508         * rtl.h (free_bb_mem): Remove prototype.
5509         * flow.c (alloc_int_list_node); Remove function.
5510         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
5511         (compute_preds_succs, free_bb_mem): Likewise.
5512         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
5513         * toplev.c (rest_of_compilation): Likewise.
5514         * haifa-sched.c (build_control_flow): Use flow generated edge
5515         list to build the haifa specific edge list.
5516         (find_rgns): Use new CFG data structures instead of pred/succ lists.
5517         (schedule_insns): Do not build pred/succ lists anymore.  Instead
5518         build the edge table.
5519
5520         * basic-block.h (dump_bb_data): Remove declaration.
5521         * flow.c (dump_bb_data): Remove function.
5522         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
5523         (sbitmap_union_of_predsucc): Likewise.
5524
5525         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
5526         argument.  All callers changed.
5527         (delete_null_pointer_checks_1): No longer need to compute the
5528         pred/succ lists.
5529
5530         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
5531         All callers changed.
5532         (pre_expr_reaches_here_p_work): Likewise.
5533         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
5534         * lcm.c (compute_laterin): Fix initialization of LATER.
5535         (compute_nearerout): Similarly for NEARER.
5536
5537 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5538
5539         * cse.c (set_nonvarying_address_components): Delete unused function.
5540         (refers_to_p): Likewise.
5541
5542 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
5543
5544         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
5545         needed.
5546
5547 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5548
5549         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
5550         definition in do while (0).
5551
5552 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
5553
5554         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
5555
5556 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
5557
5558         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
5559
5560 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
5561
5562         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
5563         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
5564         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
5565         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
5566
5567         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
5568         saved on the stack.  Output more accurate stack frame statistics
5569         into assembler file.
5570
5571 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
5572
5573         * genextract.c (record_insn_name): New function.
5574         (get_insn_name): No longer a stub.
5575         (main): Call record_insn_name for each insn.  After each label
5576         written, print the insn name in a comment.
5577
5578 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5579
5580         * output.h (const_section, init_section, fini_section): Add
5581         prototypes.
5582
5583         * alpha/elf.h (const_section): Delete declaration.
5584
5585         * svr4.h (const_section): Likewise.
5586
5587 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
5588
5589         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
5590         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
5591         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
5592         expressions.
5593         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
5594         variable-sized array bounds.
5595
5596 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
5597
5598         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
5599         ASM_OUTPUT_LABEL.
5600
5601 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5602
5603         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
5604         addresses the same way GO_IF_LEGITIMATE_INDEX does.
5605
5606 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5607
5608         * cse.c (hash_arg_in_struct): Delete.
5609         (struct table_elt): Delete elt in_struct.
5610         (struct set): Delete elt src_in_struct.
5611         (merge_equiv_classes): Don't set either hash_arg_in_struct or
5612         the corresponding in_struct elts.
5613         (canon_hash): Likewise.
5614         (safe_hash): Likewise.
5615         (find_best_addr): Likewise.
5616         (record_jump_cond): Likewise.
5617         (cse_insn): Likewise.
5618
5619 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
5620
5621         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
5622
5623         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
5624         unsigned types.
5625
5626 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
5627
5628         * function.c (diddle_return_value): Put back check that the DECL_RTL
5629         for the function is a register.
5630
5631         * function.c (diddle_return_value): Use hard_function_value to
5632         get an rtx suitable for use in the USE/CLOBBER insn.
5633
5634         * global.c (global_conflicts): Update comments.
5635         (record_conflicts): No need to record conflicts between pseudos here.
5636
5637 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
5638
5639         * fixinc/fixincl.c: Added verbose levels for status messages
5640
5641 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
5642
5643         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
5644         operand as argument to expand_and or expand_binop.
5645
5646 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
5647
5648         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
5649         gcc_add_string_root.
5650
5651 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
5652
5653         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
5654
5655 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
5656
5657         * flow.c (compute_flow_dominators): Initially put all blocks on
5658         the worklist.
5659         * lcm.c (compute_antinout_edge, compute_available): Similarly.
5660         * gcse.c (compute_cprop_avinout): Remove.
5661         (compute_cprop_data): Use compute_available.
5662         (delete_null_pointer_checks_1): Use compute_available.
5663
5664         * basic-block.h (compute_available): Returns a void now.
5665         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
5666         to return a value anymore.
5667         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
5668         worklists.  Fix boundary cases. Compute maximal solutions.
5669         (compute_laterin, compute_nearerout): Similarly.
5670
5671         * dwarf2out.c (add_AT_location_description): Allow
5672         (mem (plus (pseudo) (...)) too.
5673
5674 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
5675
5676         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
5677
5678 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
5679                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5680
5681         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
5682
5683         * gansidecl.h: Likewise.
5684
5685         * rtl.c: Likewise.
5686
5687         * rtl.h: Likewise.
5688
5689         * toplev.h: Likewise.
5690
5691         * tree.c: Likewise.
5692
5693         * tree.h: Likewise.
5694
5695         * varray.c: Likewise.
5696
5697         * varray.h: Likewise.
5698
5699 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
5700
5701         * gcov.c (struct arcdata): Add hits and total, remove prob.
5702         (output_branch_counts): New.
5703         (process_args): Set output_branch_counts if -c.
5704         (calculate_branch_probs): Store hits and total instead of
5705         percentage.
5706         (output_data): Emit counts if output_branch_counts is true.
5707         * gcov.texi (Invoking Gcov): Document -c switch..
5708
5709 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
5710
5711         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
5712         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
5713
5714 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
5715
5716         * invoke.texi (C Dialect Options): Add missing builtins from
5717         c-common.c to list.
5718         * extend.texi (Other Builtins): Copy to this list.
5719
5720 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5721
5722         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
5723         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
5724         redundant bitmap.h.
5725
5726 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
5727
5728         * flow.c (compute_flow_dominators): No longer treat basic block 0
5729         or (n_basic_blocks - 1) specially.  Clear the AUX field before
5730         starting computation of doms/pdoms.  Fix initial state for pdoms.
5731
5732 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5733
5734         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
5735         match rtl.o's: added ggc.h and toplev.h
5736         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
5737         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
5738         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
5739
5740 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
5741
5742         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
5743         from HAVE_DOS_BASED_FILESYSTEM.
5744         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
5745         HAVE_DOS_BASED_FILESYSTEM.
5746         (main): Likewise.
5747         (split_directories): Only special-case DOS file names if
5748         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
5749         instead of explicit tests.  Conditionalize on !VMS.
5750         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
5751         tests.  Conditionalize on !VMS.
5752         (process_command): Only use make_relative_prefix if !VMS.
5753         (free_split_directories): Conditionalize on !VMS.
5754         (DIR_UP): Conditionalize on !VMS.
5755
5756 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5757
5758         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
5759
5760 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
5761
5762         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
5763         case.
5764
5765 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
5766
5767         * invoke.texi (Environment Variables): Document relative path
5768         lookup.
5769         * gcc.c (DIR_UP): If not defined, define as "..".
5770         (standard_bindir_prefix): New static, holds target location to
5771         install binaries.
5772         (split_directories): New function to split a filename into
5773         component directories.
5774         (free_split_directories): New function, release memory allocated
5775         by split_directories.
5776         (make_relative_prefix): New function, make a relative pathname if
5777         the compiler is not in the expected location.
5778         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
5779         can figure out an appropriate prefix from argv[0].
5780         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
5781         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
5782         STANDARD_BINDIR_PREFIX.
5783
5784 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5785
5786         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
5787         in c4x.c.
5788         * config/c4x/c4x.h: Moved prototypes to c4x.h.
5789         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
5790         c4x_secondary_memory_needed) Delete.
5791         (fp_zero_operand): Add mode argument.
5792
5793 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
5794
5795         * reload1.c (reload_reg_free_for_value_p): Don't use a register
5796         that is in reload_reg_used.
5797
5798 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
5799
5800         * config/arm/arm-protos.h: New file: Prototypes for functions
5801         defined in arm.c and pe.c.
5802         * config/arm/arm.h: Fix compile time warnings.
5803         * config/arm/arm.c: Fix compile time warnings.
5804         * config/arm/pe.h: Fix compile time warnings.
5805         * config/arm/aout.h: Fix compile time warnings.
5806
5807 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
5808
5809         * config/m32r/m32r-protos.h: New file: Prototypes for functions
5810         defined in m32r.c
5811
5812         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
5813         Add support for subtargets.
5814         Add prototypes for new predicates.
5815         Add scheduling macros.
5816
5817         * config/m32r/m32r.c: Fix compile time warnings.
5818         (int8_operand): New predicate function.
5819         (reg_or_cmp_int16_operand): New predicate function.
5820         (extend_operand): New predicate function.
5821         (m32r_adjust_code): New scheduling function.
5822         (m32r_adjust_priorty): New scheduling function.
5823         (m32r_sched_init): New scheduling function.
5824         (m32r_sched_reorder): New scheduling function.
5825         (m32r_sched_variable_issue): New scheduling function.
5826         (direct_return): New codegen function.
5827         (m32r_not_same_reg): New rtl testsing function.
5828
5829         * config/m32r/m32r.md: Fix compile time warnings.
5830         Add support for pre decrement and post increment memory
5831         references.
5832         Add S<cc> patterns.
5833         Add fabs patterns.
5834
5835 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5836
5837         * global.c (EXECUTE_IF_CONFLICT): Don't define.
5838         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
5839         (find_reg): Likewise.
5840
5841 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
5842
5843         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
5844         to avoid assembler errors.
5845
5846 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
5847
5848         * config/v850/v850-protos.h: New file: Prototypes for functions
5849         defined in v850.c
5850         * config/v850/v850.h: Move prototypes to v850-protos.h
5851         * config/v850/v850.c: Move prototypes to v850-protos.h
5852         * config/v850/v850.md: Fix compile time warnings.
5853
5854         * config/fr30/fr30-protos.h: New file: Prototypes for functions
5855         defined in fr30.c
5856         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
5857         * config/fr30/fr30.c: Fix compile time warnings.
5858         * config/fr30/fr30.md: Fix compile time warnings.
5859
5860 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
5861
5862         * tree.h (get_containing_scope): Declare it.
5863         * tree.c (get_containing_scope): New fucntion.
5864         (decl_function_context): Use it.
5865         * toplev.c (rest_of_compilation): Use get_containing_scope.
5866
5867 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5868
5869         * Makefile.in (rtl.o): Depend on toplev.h.
5870
5871 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
5872
5873         * cse.c (delete_trivially_dead_insns): Replace alloca with
5874         xmalloc/xcalloc.
5875         * except.c (update_rethrow_references): Likewise.
5876         (init_eh_nesting_info): Likewise.
5877         * function.c (identify_blocks): Likewise.
5878         * gcse.c (dump_hash_table): Likewise.
5879         * graph.c (print_rtl_graph_with_bb): Likewise.
5880         * loop.c (combine_movables): Likewise.
5881         (move_movables): Likewise.
5882         (count_loop_regs_set): Likewise.
5883         (strength_reduce): Likewise.
5884         * profile.c (compute_branch_probabilities): New function, split
5885         out from ...
5886         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
5887         * regclass.c (regclass): Likewise.
5888         * regmove.c (regmove_optimize): Likewise.
5889         * toplev.c (compile_file): Likewise.
5890         (main): Don't mess with the stack rlimit.
5891
5892 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
5893
5894         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
5895         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
5896
5897 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
5898
5899         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
5900
5901 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
5902
5903         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
5904         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
5905         macro expansion.
5906
5907 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
5908
5909         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
5910
5911 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
5912
5913         * gcse.c (post_dominators): Kill.
5914         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
5915         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
5916         pass in a pdom array since we do not need pdoms.
5917         * haifa-sched.c (schedule_insns): Similarly.
5918         * flow.c (compute_dominators): Remove dead function.
5919         (compute_flow_dominators): Do not compute doms or pdoms if the
5920         caller does not request them.  Split up loop to build doms and
5921         pdoms.  Use a worklist to compute doms and pdoms.
5922         * basic-block.h (compute_dominators): Remove prototype.
5923
5924 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
5925
5926         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
5927         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
5928         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
5929         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
5930         (cant_move, fed_by_spec_load, is_load_insn): Remove.
5931         (schedule_region): Remove unused variable.
5932         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
5933
5934 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
5935
5936         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
5937         (update_equiv_regs): Likewise.
5938         (block_alloc): Likewise.
5939         * reg-stack.c (reg_to_stack): Likewise.
5940         (convert_regs_2): Likewise.
5941         * reload1.c (reload_as_needed): Likewise.
5942
5943 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
5944
5945         * Makefile.in (dbxout.o): Depend on ggc.h.
5946         (dwarf2out.o): Likewise.
5947         (xcoffout.o): Likewise.
5948         * dbxout.c: Include ggc.h.
5949         (dbxout_init): Register lastfile as a root.
5950         * dwarf2out.c: Include ggc.h.
5951         (dwarf2out_line): Register lastfile as a root.
5952         * xcoffout.c: Include ggc.h.
5953         (xcoffout_source_line): Register xcoff_lastfile as a root.
5954
5955 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
5956
5957         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
5958
5959 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
5960
5961         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
5962         defined.
5963         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
5964
5965 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
5966
5967         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
5968         (EXECUTE_IF_CONFLICT): Likewise.
5969         (ALLOCNO_LIVE_P): Avoid signed division.
5970         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
5971         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
5972         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
5973
5974 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
5975
5976         * haifa-sched.c (schedule_block): Don't crash if there's no
5977         next insn for an interblock movement.
5978         (add_branch_dependences): Don't allow clobber insns to move either.
5979
5980 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
5981
5982         * i386.c (split_xf): New.
5983         * i386-protos.h: Declare it.
5984         * i386.md (movxf_1): Add general regs alternatives.
5985         (movxf_1+1): New splitter for same.
5986
5987 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
5988
5989         * function.c (purge_addressof_1): Add missing return values.
5990
5991 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
5992
5993         * function.c (is_addressof): New function.  Returns true if
5994         the given piece of RTL is an ADDRESSOF.
5995         (purge_addressof_1): Make boolean.  Return false if the
5996         ADDRESSOFs could not be purged.
5997         (purge_addressof): If ADDRESSOFs could not be purged from the
5998         notes attached to an insn, remove the offending note(s),
5999         unless they are attached to a libcall.
6000
6001 1999-11-05  Andreas Jaeger  <aj@suse.de>
6002
6003         * genoutput.c (null_operand =): Initialize all fields.
6004
6005         * errors.h: Add extern to prototypes.
6006
6007 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
6008
6009         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
6010         * configure: Rebuilt.
6011
6012 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6013
6014         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
6015         (mirror_conflicts): New function.
6016         (global_alloc): Call it.
6017         (expand_preferences): Remove redundant CONFLICTP test.
6018         (find_reg, dump_conflicts): Likewise.
6019         (prune_preferences): Process conflicts one word at a time.
6020
6021 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
6022
6023         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
6024         instead of an explicit loop.
6025
6026 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
6027
6028         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
6029         if REG_RETVAL check succeeds, then put classp in src_elt.
6030
6031 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
6032
6033         * function.c (pad_to_arg_alignment): Only update argument_pad
6034         if the argument's alignment is greater than STACK_BOUNDARY.
6035
6036 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
6037
6038         * bitmap.h (BITMAP_XFREE): New.
6039         * flow.c (life_analysis): Use it.
6040         (life_analysis_1): Free blocks.
6041
6042         * combine.c (undo_commit): New.
6043         (try_combine): Use it.  Don't zap undobuf.undos.
6044         (combine_instructions): Don't zap undobuf.undos; free the
6045         undobuf.frees list.
6046
6047         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
6048
6049         * stmt.c (cost_table_): New.
6050         (estimate_case_costs): Use it instead of xmalloc.
6051
6052         * toplev.c (compile_file): Reuse dumpname memory instead
6053         of strdup'ing it.
6054
6055 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
6056
6057         * reg-stack.c (convert_regs_1): Initialize target_stack->top
6058         after verifying an EH edge.
6059
6060         * haifa-sched.c (init_rgn_data_dependences): Correctly
6061         size bb_pending_lists_length when zeroing.
6062
6063 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
6064
6065         * function.c (diddle_return_value): New.
6066         (expand_function_end): Use it.
6067         * stmt.c (expand_null_return): Likewise.
6068         (expand_value_return): Likewise.
6069
6070         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
6071
6072         * reload1.c (reload): Don't remove return value clobbers.
6073
6074 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
6075
6076         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
6077
6078 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
6079
6080         * cse.c (cse_main): Use xmalloc, not alloca.
6081         (cse_basic_block): Likewise.
6082         * local-alloc.c (local_alloc): Likewise.
6083
6084 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
6085                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6086
6087         * rtl.c: Include toplev.h.
6088         (fatal): Remove declaration.
6089
6090 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
6091
6092         * haifa-sched.c (schedule_block): Fix thinko.
6093
6094 1999-11-03  James McKelvey <mckelvey@fafnir.com>
6095
6096         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
6097         S_IR* defined values
6098
6099 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
6100
6101         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
6102         call `malloc' instead.
6103
6104 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
6105
6106         * flags.h (flag_renumber_insns): Declare.
6107         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
6108         renumbering table.
6109         * rtl.h (renumber_insns): Change prototype.
6110         * toplev.c (flag_renumber_insns): Define.
6111         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
6112
6113 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
6114
6115         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
6116         and fpsqrtd.  Use them and create fdiv function unit to more
6117         accurately represent fpu sqrt pipeline semantics on UltraSparc.
6118         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
6119
6120 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
6121
6122         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
6123         3 on UltraSparc.
6124         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
6125         insn into ready list, do not use just a raw swap.
6126
6127 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
6128
6129         * rtl.h (renumber_insns): New function.
6130         (remove_unnecessary_notes): Likewise.
6131         * emit-rtl.c (renumber_insns): Define.
6132         (remove_unncessary_notes): Likewise.
6133         * toplev.c (rest_of_compilation): Remove dead code.
6134         Use renumber_insns and remove_unncessary_notes.
6135
6136         * gcse.c (struct null_pointer_info): New type.
6137         (get_bitmap_width): New function.
6138         (current_block): Remove.
6139         (nonnull_local): Likewise.
6140         (nonnull_killed): Likewise.
6141         (invalidate_nonnull_info): Take a null_pointer_info as input.
6142         (delete_null_pointer_checks_1): New function.
6143         (delete_null_pointer_checks): Use it.
6144
6145         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
6146         (split_edges): Likewise.
6147         (schedule_block): Likewise.
6148         (compute_block_backward_dependencies): Likewise.
6149         (schedule_region): Likewise.
6150         (schedule_insns): Likewise.
6151
6152 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
6153
6154         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
6155         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
6156         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
6157         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
6158         * jump.c (delete_unreferenced_labels): Don't delete if
6159         LABEL_ALTERNATE_NAME is set.
6160         * print-rtl.c (print_rtx): Dump alternate name.
6161         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
6162         * rtl.h (LABEL_ALTERNATE_NAME): Define.
6163         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
6164         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
6165
6166 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6167
6168         * fix-header.c (recognized_extern, recognized_function): Constify
6169         a char*.
6170
6171         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
6172         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6173         (compute_available): Remove unused variable `last'.
6174         (compute_nearerout): Remove unused variable `temp_bitmap'.
6175         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6176         Remove unused variable `x'.
6177
6178         * scan.h (recognized_function, recognized_extern): Constify a
6179         char*.
6180
6181         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
6182
6183 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6184
6185         * varasm.c (decode_rtx_const): Use XSTR to access the string
6186         of a SYMBOL_REF.
6187
6188 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
6189
6190         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
6191
6192 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6193
6194         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
6195
6196 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
6197
6198         * pa.c (ireg_operand): New function.
6199         * pa.h (PREDICATE_CODES): Handle ireg_operand.
6200         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
6201         Fix out of date comment.
6202
6203         * pa.md (negdi2): Turn into expander + anonymous pattern.
6204
6205         * reload.c (find_reloads): Fix typos in recent change.
6206
6207         * dwarf2out.c: Do not include ctype.h.
6208
6209 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6210
6211         * regclass.c (record_reg_classes): Always use may_move_cost when
6212         seeing how operand fits with various register classes.
6213
6214 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
6215
6216         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
6217         * toplev.c: Revert Nov 1 13:22 change.
6218
6219 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
6220
6221         * config/pa/pa.md (height reduction patterns): Add checks for
6222         overlapping operands to avoid semantic-destroying splits for
6223         height reduction patterns.
6224
6225 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6226
6227         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
6228         have been an hyphen, fixed.
6229         * configure: Rebuilt.
6230
6231 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
6232
6233         * config/arm/tpe.h: Add prototypes for exported functions.
6234         * config/arm/pe.c: Fix compile time warnings.
6235         * config/arm/semi.h: Fix compile time warnings.
6236         * config/arm/arm.c: Fix compile time warnings.
6237         * config/arm/arm.h: Fix compile time warnings.
6238         * config/arm/arm.md: Fix compile time warnings.
6239         * config/arm/thumb.c: Fix compile time warnings.
6240         * config/arm/thumb.h: Fix compile time warnings.
6241         * config/arm/thumb.md: Fix compile time warnings.
6242
6243 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
6244
6245         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
6246         detection code
6247
6248         * unroll.c (unroll_loop): Remove LOOP notes when loop is
6249         completely unrolled.
6250
6251 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6252
6253         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
6254
6255 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
6256
6257         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
6258         * rtl.h (rtx_equal_p): Move prototype.
6259         * rtl.c (rtx_equal_function_value_matters): Move from
6260         rtlanal.c
6261         (rtx_equal_p): Likewise.
6262         * rtlanal.c (rtx_equal_function_value_matters): Delete.
6263         (rtx_equal_p): Likewise.
6264
6265 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
6266
6267         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
6268         ! HAS_INIT_SECTION.
6269
6270 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
6271
6272         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
6273
6274         * pa.h (ADDR_VEC_ALIGN): Define.
6275
6276         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
6277         notes when presented with "if (foo) break; end_of_loop" and
6278         the break sequence gets moved out of the loop.
6279
6280         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
6281         Remove explicit zero initializations of entries within MAP.
6282
6283 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
6284
6285         * reg-stack.c (convert_regs_1): Handle EH edges specially.
6286
6287 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
6288
6289         * bitmap.h (BITMAP_XMALLOC): New macro.
6290         * flow.c (CLEAN_ALLOCA): Remove.
6291         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
6292         (life_analysis): Likewise.
6293         (update_life_info): Don't use CLEAN_ALLOCA.
6294         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
6295         (calculate_global_regs_live): Likewise.
6296         (print_rtl_with_bb): Likewise.
6297         (verify_flow_info): Likewise.
6298         * global.c (global_alloc): Likewise.
6299         (global_conflicts): Likewise.
6300         * integrate.c (save_for_inline_nocopy): Likewise.
6301         (expand_inline_function): Likewise.
6302         * jump.c (jump_optimize_1): Likewise.
6303         (duplicate_loop_exit_test): Likewise.
6304         (thread_jumps): Likewise.
6305         * loop.c (loop_optimize): Likewise.
6306         (combine_givs): Likewise.
6307         (recombine_givs): Likewise.
6308         * reorg.c (dbr_schedule): Likewise.
6309         * unroll.c (unroll_loop): Likewise.
6310
6311         * combine.c (combine_instructions): Use xmalloc instead of alloca.
6312
6313 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
6314
6315         * toplev.c (rest_of_compilation): Don't optimize the CFG
6316         when rebuilding, just before dbr.
6317
6318 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6319
6320         * output.h (assemble_end_function, assemble_destructor,
6321         assemble_constructor, assemble_gc_entry, assemble_global,
6322         assemble_label, output_constant_pool) Constify a char*.
6323
6324         * varasm.c (assemble_destructor, assemble_constructor,
6325         assemble_gc_entry, assemble_end_function, assemble_global,
6326         assemble_label, output_constant_pool): Likewise.
6327
6328 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
6329
6330         * config/arm/thumb.c (thumb_expand_prologue): Add comments
6331         explaining what is goin on in this function.
6332
6333 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6334
6335         * regclass.c (record_reg_classes): In matching case, recompute
6336         costs since the direction of movement is different.
6337
6338 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
6339
6340         * resource.c (mark_target_live_regs): For unconditional branches,
6341         the resources found at the branch target should be added to the
6342         resources found so far, not intersected.
6343
6344 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
6345
6346         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
6347         old cpp's.
6348         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
6349         (sys/mman.h): Include this file only if #HAVE_MMAP.
6350         (run_compiles): Initialize `esac_fmt' with one old KR string, not
6351         with automatically concatenated ANSI strings.
6352
6353 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
6354
6355         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
6356         (DIV_ROUND_UP): Robustify.
6357         (ggc_recalculate_in_use_p): New function.
6358         (release_pages): Don't inline it.
6359         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
6360         outer contexts.
6361         (ggc_pop_context): Use ggc_recalculate_in_use_p.
6362         (clear_marks): Always save in_use_p.
6363         (sweep_pages): Use ggc_recalculate_in_use_p.
6364         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
6365         Release pages before counting statistics.
6366
6367 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
6368
6369         * toplev.c (rest_of_compilation): Fix thinko in this change:
6370
6371         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
6372
6373         (rest_of_compilation): If inside an inlined external function,
6374         pretend we are just being declared.
6375
6376 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
6377
6378         * flow.c (calculate_global_regs_live): Fix thinko.
6379
6380         * integrate.c (expand_inline_function): Fix bugs in previous
6381         change from Oct 28, 1999.
6382
6383 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
6384
6385         * stmt.c (expand_value_return): Fix typo in this change:
6386
6387         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6388         (expand_value_return): Correctly convert VAL when promoting function
6389         return; support RETURN_REG being a PARALLEL.
6390
6391 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
6392
6393         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
6394
6395 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6396
6397         * hard-reg-set.h (reg_names): Constify a char*.
6398
6399         * regclass.c  (reg_names): Likewise.
6400
6401         * regs.h (reg_names): Likewise
6402
6403         * a29k/a29k.c (reg_names): Delete declaration.
6404
6405         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
6406
6407         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
6408         arc_output_function_epilogue): Likewise.
6409
6410         * elxsi/elxsi.c (reg_names): Likewise.
6411
6412         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
6413
6414         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
6415         Likewise.
6416
6417         * m88k/m88k.c (output_function_profiler): Likewise.
6418
6419         * sparc/sparc.c (sparc_flat_output_function_prologue,
6420         sparc_flat_output_function_epilogue): Likewise.
6421
6422 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
6423
6424         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
6425         warning from -Wuninitialized and put it under -W.
6426         * function.c (uninitialized_vars_warning): Warn only when the
6427         corresponding flag is set.
6428
6429 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
6430
6431         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
6432         is nonzero and the single set does not have an elt, then assign
6433         it an elt.
6434
6435         * simplify-rtx.c: New file.
6436         * Makefile.in (OBJS): Add simplify-rtx.o
6437         (simplify-rtx.o): Add dependencies.
6438         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
6439         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
6440         (cse_gen_binary, simplify_unary_operation): Delete.
6441         (simplify_binary_operation, simplify_plus_minus): Likewise.
6442         (check_fold_consts, simplify_relation_operation): Likewise.
6443         (simplify_ternary_operation): Likewise.
6444         (delete_trivially_dead_insns): Simplify the contents of the
6445         REG_EQUAL note before trying to substitute it into the source
6446         of the reg-reg copy at the end of a libcall sequence.
6447
6448         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
6449         references/callers changed.
6450
6451         * mn10200.c (mn10200_va_arg): Force the return value into a
6452         register.
6453
6454         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
6455
6456         * cccp.c (macroexpand): Avoid out of range accesses for omitted
6457         arguments.
6458
6459 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
6460
6461         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
6462
6463 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
6464
6465         * fold-const.c (fold): Fix thinko when optimizing comparisons
6466         against -0.0.
6467
6468 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
6469
6470         * gcc.texi (Passes): Update front-end files to their current
6471         location.
6472
6473 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
6474
6475         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
6476         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
6477         (PREDICATE_CODES): Add addition_operation.
6478         * alpha-protos.h (addition_operation): Declare.
6479         (secondary_reload_class): Likewise.
6480         * alpha.c (addition_operation): New.
6481         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
6482         * alpha.md (adddi3): Turn into expander.
6483         (*lda, *adddi_2): New.
6484         (movsf, movdf patterns): Don't preference integer regs.
6485         (movsi, movdi patterns): Don't preference fp regs.
6486
6487 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
6488
6489         * genrecog.c (write_switch): Check for duplicate CODE cases.
6490
6491 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
6492
6493         * ggc-common.c: Update pre-function commentary.
6494         * ggc-page.c: Likewise.
6495         (poison): Remove.
6496         (poison_pages): Use memset directly.
6497         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
6498         (ggc_collect): Poison before sweeping.
6499         * ggc-simple.c: Update pre-function commentary.
6500         (ggc_alloc_obj): Poison non-zeroed memory.
6501
6502 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
6503
6504         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
6505         match format string, even on 64-bit hosts.
6506         * gcc-page.c (ggc_page_print_statistics): Likewise.
6507
6508 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
6509
6510         * config/i386/i386.c (ix86_cpu): Revert last patch.
6511         * config/i386/i386.h (ix86_cpu): Ditto.
6512
6513 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
6514
6515         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
6516         TYPE_SIZE, convert type of result to sizetype.
6517
6518 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
6519
6520         * flow.c (count_or_remove_death_notes): Equate NULL with the
6521         universal set.
6522
6523         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
6524         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
6525         dbr_schedule.
6526
6527         * i386.c (pic_label_no): Delete.
6528         (ix86_attr_length_default): Don't use single_set to peek
6529         inside a parallel.
6530
6531         * recog.c (peephole2_optimize): Allow recog_next_insn to index
6532         the first insn after bb->end.
6533         * i386.md (push mem peeps): Scratch is live after evaluation
6534         of the memory.
6535         (cmp mem peep): Similarly.
6536
6537 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
6538
6539         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
6540         * function.c (pad_to_arg_alignment): Add missing braces.
6541
6542 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6543
6544         * alpha/alpha-protos.h (literal_section): Add prototype.
6545         (alpha_need_linkage, alpha_start_function,alpha_end_function):
6546         Constify a char*.
6547
6548         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
6549         prototype.
6550         (alpha_start_function, alpha_end_function, float_strings,
6551         alpha_need_linkage): Constify a char*
6552
6553         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
6554
6555         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
6556
6557         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6558
6559         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6560
6561 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6562
6563         * flow.c (debug_flow_info): Add prototype.
6564
6565         * gcc.c (main): Likewise.
6566
6567         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
6568         Likewise.
6569
6570         * reload1.c (failed_reload, set_reload_reg): Likewise.
6571
6572         * mips-tfile.c (main): Likewise.
6573         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
6574         with ATTRIBUTE_NORETURN.
6575
6576 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
6577
6578         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
6579         DECL is not a memory ref.
6580
6581 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
6582
6583         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
6584         * config/i386/i386.c (ix86_cpu): Add extern attribute.
6585
6586 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
6587
6588         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
6589         * config/mips/elf64.h: ditto.
6590
6591 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
6592
6593         * expr.c (emit_push_insn): New argument alignment_pad.
6594         Update all callers.  Adjust stack pointer based on alignment pad.
6595         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
6596         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
6597         (locate_and_pad_parm): New argument alignment_pad.  Update all
6598         callers.
6599         * expr.h (emit_push_insn): Update prototype.
6600         (locate_and_pad_parm): Update prototype.
6601         * calls.c (arg_data):  Add new field alignment_pad.
6602         (initialize_argument_information): Initialize alignment_pad.
6603
6604 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
6605
6606         * except.c (free_eh_nesting_info): Free the info itself.
6607         * function.c (free_after_compilation): Don't free NULL.
6608         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
6609         (pre_edge_insert): Free inserted.
6610         * stmt.c (free_stmt_status): Don't free NULL.
6611
6612 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
6613
6614         * gcov.c (DIR_SEPARATOR): Provide default.
6615         (output_data): Add test for MS-DOS format absolute filename.
6616         (fancy_abort): Correct program name.
6617         (open_files): Open all files in binary mode.
6618         * libgcc2.c (__bb_exit_func): Likewise.
6619
6620         * profile.c (init_branch_prob): Specify binary when opening files.
6621
6622         * flags.h (flag_unwind_tables): New decl.
6623         * toplev.c (flag_unwind_table): New definition.
6624         (f_options): Add -funwind-tables.
6625         (decode_g_option): Clarify warning when unknown -g option is given.
6626         (rest_of_compilation): If inside an inlined external function,
6627         pretend we are just being declared.
6628
6629         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
6630         (dwarf2out_frame_finish): Likewise.
6631
6632 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
6633
6634         * fold-const.c (merge_ranges): If not in0, but in1, handle
6635         upper bounds equal like subset case.
6636
6637 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
6638
6639         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
6640         passed in a register but moved to the stack.
6641
6642 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
6643
6644         * gcc.c (pass_exit_codes, greatest_status): New variables.
6645         (struct option_map): Add entry for "--pass-exit-codes".
6646         (execute): Update greatest_status if error.
6647         (display_help): Add documentation for -pass-exit-codes.
6648         (process_command): Handle -pass-exit-codes.
6649         (main): Look at pass_exit_codes and greatest_status on call to exit.
6650
6651 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6652
6653         * reload.c (find_reloads): Refine test for no input reload
6654         case to not includes reloads emitted after insn.
6655
6656         * function.c (find_temp_slots_from_address): Handle sum involving
6657         a register that points to a temp slot.
6658         (update_temp_slot_address): Make recursive call if both old and
6659         new are PLUS with a common operand.
6660         * calls.c (expand_call): Mark temp slot for result as having
6661         address taken.
6662
6663         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
6664
6665         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
6666         component as well as "BINUTILS".
6667
6668         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
6669         * integrate.c (copy_rtx_and_substitute): Likewise.
6670         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
6671         All callers changed.
6672         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
6673
6674         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
6675         gdb extensions, write size of type; also be more consistent
6676         in using references when this is a subtype.
6677
6678         * pa.md (extv, extzv, insv): Use define_expand to reject constant
6679         that is out of range.
6680
6681         * loop.c (unknown_constant_address_altered): New variable.
6682         (prescan_loop): Initialize it.
6683         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
6684         (invariant_p, case MEM): Remove handling for volatile and readonly;
6685         check new variable if readonly.
6686         (check_dbra_loop): Chdeck unknown_constant_address_altered.
6687
6688         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
6689         (addr_affects_sp_p): Removed from note_mem_written and only
6690         define #ifdef AUTO_INC_DEC.
6691
6692         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
6693
6694         * regclass.c (record_reg_classes): Properly handle register move
6695         directions.
6696
6697         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
6698         Don't think valid if both operands are invalid.
6699         (struct constant_descriptor): New field RTL.
6700         (mark_const_hash_entry): Mark it.
6701         (record_constant{,_rtx}): Initialize it.
6702         (output_constant_def): Allocate RTL in permanent obstack and
6703         save in table.
6704         ({record,compare}_constant_1): Modes must match for
6705         CONSTRUCTOR of ARRAY_TYPE.
6706
6707         * c-common.h (initializer_constant_valid_p): Delete decl from here.
6708         * output.h (initializer_constant_valid_p): Move decl to here.
6709         * c-common.c (initializer_constant_valid_p): Delete function from here.
6710         * varasm.c (initializer_constant_valid_p): Move function to here.
6711
6712         * tree.h (STRIP_SIGN_NOPS): New macro.
6713         * fold-const.c (optimize_minmax_comparison): New function.
6714         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
6715         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
6716         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
6717         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
6718         widening conversions.
6719         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
6720         to look at size of mode, not precision of type; also add missing cases.
6721         (optimize_bit_field_compare, decode_field_reference): Don't try to
6722         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
6723
6724         * dwarf2out.c (ctype.h): Include.
6725         (dwarf2out_set_demangle_name_func): New function.
6726         (size_of_line_info): Deleted.
6727         (output_line_info): Compute size of line info table from difference
6728         of labels.
6729         (base_type_die, add_name_attribute): Call demangle function, if any.
6730         (field_byte_offset): Use bits per word for variable length fields.
6731         (gen_array_type_die): Add array name.
6732         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
6733         (dwarf2out_add_library_unit_info): New function.
6734
6735         * explow.c (set_stack_check_libfunc): New function.
6736         (stack_check_libfunc): New static variable.
6737         (probe_stack_range): Allow front-end to set up a libfunc to call.
6738
6739         * combine.c (simplify_comparison): When making comparison in wider
6740         mode, check for having commuted an AND and a SUBREG.
6741         (contains_muldiv): New function.
6742         (try_combine): Call it when dividing a PARALLEL.
6743         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
6744         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
6745         a PLUS.
6746         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
6747         use one of the CLOBBERs instead.
6748         (if_then_else_cond): If comparing against zero, just return thing
6749         being compared.
6750
6751         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
6752         Don't generate shifts and subtract if have conditional arithmetic.
6753
6754         * rtl.h (delete_barrier): New declaration.
6755         * jump.c (jump_optimize): Set up to handle conditional call.
6756         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
6757         (delete_barrier): New function.
6758
6759         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
6760
6761         * recog.c (nonmemory_operand): Accept ADDRESSOF.
6762
6763         * tree.c (build_type_attribute_variant): Push to obstack of
6764         ttype around type_hash_canon call.
6765
6766         * expr.c (placeholder_list): Move decl to file scope.
6767         (expand_expr): Don't force access to volatile just because its
6768         address is taken.
6769         If ignoring reference operations, just expand the operands.
6770         (expand_expr, case COMPONENT_REF): Propagate
6771         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
6772         Refine test for using bitfield operations vs pointer punning.
6773         (expand_expr, case CONVERT_EXPR): If converting to
6774         BLKmode UNION_TYPE from BLKmode, just return inner object.
6775         Use proper mode in store_field call.
6776         Properly set sizes of object to store and total size in store_field
6777         call for convert to union.
6778         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
6779         memory (like for ADDR_EXPR).  Also, don't put constant in register if
6780         we'll want it in memory.
6781         (readonly_fields_p): New function.
6782         (expand_expr, case INDIRECT_REF): Call it if LHS.
6783         (expand_assignment): Handle a RESULT_DECL where
6784         DECL_RTL is a PARALLEL.
6785         (do_jump, case WITH_RECORD_EXPR): New case.
6786         (get_inner_reference): Always go inside a CONVERT_EXPR
6787         and NOP_EXPR if both modes are the same.
6788         (store_field): Use bitfield operations if size of bitsize is not same
6789         as size of RHS's type.
6790         Check for bitpos not a multiple of alignment in BLKmode case.
6791         Do block move in largest possible alignment.
6792         (store_constructor): Set BITSIZE to -1 for variable size and properly
6793         in case of array of BLKmode.
6794         (expand_expr_unaligned): New function.
6795         (do_compare_and_jump): Call it.
6796
6797         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
6798         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
6799         does not include 'o'.
6800
6801         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
6802         both SET_DEST and SET_SRC reference a virtual register.
6803         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
6804
6805         * integrate.c (expand_inline_function): Handle case of setting
6806         virtual stack vars register (from built in setjmp); when parameter
6807         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
6808         (subst_constant): Add new parm, MEMONLY.
6809         (expand_inline_function, integrate_parm_decls): Pass new parm.
6810         (integrate_decl_tree): Likewise.
6811         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
6812         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
6813         (copy_rtx_and_substitute, case SET): Add explicit calls to
6814         copy_rtx_and_substitute for both sides.
6815
6816         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
6817         constraints.
6818         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
6819         within INDEX_TYPE, instead of before.
6820         (fixup_gotos): Use f->target_rtl, not the next insn,
6821         since latter may be from a later fixup.
6822         (expand_value_return): Correctly convert VAL when promoting function
6823         return; support RETURN_REG being a PARALLEL.
6824         (expand_return): When checking for result in regs and having
6825         cleanup, consider PARALLEL in DECL_RTL as being in regs.
6826
6827 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
6828
6829         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
6830         last_nominal_fname): Mark const.
6831         (struct include_hash: name, nshort, control_macro): Mark
6832         const.
6833         (struct macrodef: symnam): Mark const.
6834         (struct if_stack: fname): Mark const.
6835         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
6836         (IStable): New character-syntax array which encompasses all
6837         the old is_foo arrays.
6838         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
6839         is_space): New macros for interrogating IStable.
6840         (check_macro_name): Kill last argument.  All callers changed.
6841
6842         * cppinit.c (initialize_char_syntax): Delete.
6843         (is_idchar, is_idstart, is_hor_space, is_space,
6844         trigraph_table): Delete.
6845         (IStable): New.  Initialize with clever macros to avoid
6846         information duplication.
6847         (builtin_array): Table of builtins to get rid of explicit list
6848         in initialize_builtins.
6849         (initialize_builtins): Use builtins_array.
6850         (cpp_start_read): Call init_IStable, and set IStable['$'] if
6851         opts->dollars_in_ident.
6852
6853         * cppexp.c: Change all refs to is_xyz[] arrays to use new
6854         is_xyz() macros.
6855         (cpp_parse_expr): Avoid 'format string is not constant'
6856         warning. Use ISGRAPH to identify printable chars.
6857         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
6858         is_xyz() macros.
6859         (read_and_prescan): Map trigraphs to chars with open-coded
6860         if-else-if-... sequence, not a lookup table.
6861         * cpphash.c: Change all refs to is_xyz[] arrays to use new
6862         is_xyz() macros.
6863         * cpplib.c: Change all refs to is_xyz[] arrays to use new
6864         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
6865         (check_macro_name): Remove ability to report an invalid
6866         assertion name, which is never used.
6867         (do_line): Constify a couple of char *'s.
6868         * cppmain.c (main): Call cpp_cleanup before returning.
6869
6870 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
6871
6872         * ggc.h (struct ggc_statistics): New type.
6873         (ggc_get_size): New function.
6874         (ggc_print_statistics): Likewise.
6875         * ggc-common.c (ggc_stats): New variable.
6876         (ggc_mark_rtx_children): Keep statistics.
6877         (ggc_mark_tree_children): Likewise.
6878         (ggc_print_statistics): New function.
6879         * ggc-page.c (struct globals): Add bytes_mapped field.
6880         (alloc_anon): Update it.
6881         (release_pages): Likewise.
6882         (ggc_get_size): New function.
6883         (ggc_page_print_statistics): New function.
6884         * ggc-simple.c (ggc_get_size): New function.
6885
6886 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
6887
6888         * flow.c (propagate_block): When the last reference to a label
6889         before an ADDR_VEC is deleted because the reference is a dead
6890         store, delete the ADDR_VEC.
6891
6892 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
6893
6894         * resource.c (find_free_register): Don't use the frame pointer
6895         if frame_pointer_needed.
6896
6897 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
6898
6899         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
6900         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
6901
6902         * config/i960/i960.c (i960_va_start): New locals base, num.
6903         Use INDIRECT_REF instead of ARRAY_REF on valist.
6904         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
6905
6906 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
6907
6908         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
6909
6910 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
6911
6912         * tree.def (PLACEHOLDER_EXPR): Update comments.
6913
6914 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6915
6916         * c-common.c (check_format_info): Avoid non-literal format string
6917         warnings when `first_arg_num' is zero.
6918
6919 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
6920
6921         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
6922
6923 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
6924
6925         * arm.md (casesi_insn): Add a clobber of the condition code
6926         register.
6927
6928 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
6929
6930         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
6931         used by both cc1 and cc1plus.
6932
6933 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
6934
6935         * config/arm/arm.c: Initialise arm_structure_size_boundary to
6936         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
6937         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
6938         to the value 32 if it has not already been defined.
6939         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
6940         Override definition in arm.h with a value of 8.
6941
6942 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
6943
6944         * c-pragma.c (push_alignment): Don't check the return value
6945         of xmalloc.
6946
6947 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
6948
6949         * sparc.h (ADJUST_COST): Fix thinko.
6950
6951 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
6952
6953         * cccp.c (rescan): Fixed obp pointer handling around call to
6954         check_expand subroutine.
6955
6956 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
6957
6958         * gcse.c (delete_null_pointer_checks): Only record non-null info
6959         for pseudos when examining stores.
6960
6961         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
6962         splitters for these patterns.  Use "#" for output templates.
6963         (addsi3_carryin_shift): New pattern.
6964
6965 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
6966
6967         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
6968         of the function return register into a plain REG until
6969         after function inlining is done.
6970
6971 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
6972
6973         * jump.c (jump_optimize_1): If we did cross-jumping, and
6974         the data will matter, rebuild the CFG.
6975         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
6976         not optimizing.  Don't run shorten_branches.
6977         * toplev.c (rest_of_compilation): Run shorten_branches after
6978         reg_to_stack.
6979
6980 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
6981
6982         * rtl.h (note_stores): Add additional paramter.
6983         * rtlanal.c (reg_set_p_1): Take additional paramter.
6984         (reg_set_last_1): Likewise.
6985         (reg_set_p): Adjust call to note_stores.
6986         (reg_set_last): Likewise.
6987         (note_stores): Pass data parameter to worker function.
6988         * alias.c (record_set): Take additional parameter.
6989         (init_alias_analysis): Pass it.
6990         * caller-save.c (mark_set_regs): Take additional parameter.
6991         (save_call_clobbered_regs): Pass NULL to note_stores.
6992         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
6993         parameter.
6994         (record_dead_and_set_regs_1): Likewise.
6995         (reg_dead_at_p_1): Likewise.
6996         (combine_instructions): Adjust calls to note_stores.
6997         (try_combine): Likewise.
6998         (record_dead_insn): Remove.
6999         (record_dead_and_set_regs): Adjust calls to note_stores.
7000         (reg_dead_at_p): Likewise.
7001         * cse.c (invalidate_skipped_set): Take additional parameter.
7002         (cse_check_loop_start): Likewise.
7003         (cse_check_loop_start_value): Remove.
7004         (cse_set_around_loop): Adjust calls to note_stores.
7005         * flow.c (notice_stack_pointer_modification): Take additional
7006         parameter.  Remove duplicate declaration.
7007         (record_volatile_insns): Adjust calls to note_stores.
7008         * gcse.c (record_set_info): Take additional parameter.
7009         (record_last_set_info): Likewise.
7010         (invalidate_nonnull_info): Likewise.
7011         (record_set_insn): Remove.
7012         (compute_sets): Adjust calls to note_stores.
7013         (last_set_insn): Remove.
7014         (compute_hash_table): Adjust calls to note_stores.
7015         (insert_insn_end_bb): Likewise.
7016         (delete_null_pointer_checks): Likewise.
7017         * global.c (mark_reg_store): Take additional parameter.
7018         (mark_reg_clobber): Likewise.
7019         (reg_becomes_live): Likewise.
7020         (global_conflicts): Adjust calls to note_stores.
7021         (build_insn_chain): Likewise.
7022         * integrate.c (note_modified_parmregs): Take additional parameter.
7023         (mark_stores): Likewise.  Make it static.
7024         (save_for_inline_nocopy): Adjust calls to note_stores.
7025         (try_constants): Likewise.
7026         * integrate.h (mark_stores): Remove declaration.
7027         * jump.c (mark_modified_reg): Take additional parameter.
7028         (thread_jumps): Adjust calls to note_stores.
7029         * local-alloc.c (validate_equiv_mem_from_store): Take additional
7030         parameter.
7031         (no_equiv): Likewise.
7032         (reg_is_set): Likewise.
7033         (validate_equiv_mem): Adjust calls to note_stores.
7034         (update_equiv_regs): Likewise.
7035         (block_alloc): Likewise.
7036         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
7037         (note_addr_stored): Take additional parameter.
7038         (note_set_pseudo_multiple_uses): Likewise.
7039         (record_initial): Likewise.
7040         (prescan_loop): Adjust calls to note_stores.
7041         (strength_reduce): Likewise.
7042         (check_dbra_loop): Likewise.
7043         * regmove.c (flags_set_1): Take additional paramter.
7044         (mark_flags_life_zones): Adjust calls to note_stores.
7045         * reload1.c (mark_not_eliminable): Take additional parameter.
7046         (forget_old_reloads_1): Likewise.
7047         (reload_cse_invalidate_rtx): Likewise.
7048         (reload_cse_check_clobber): Likewise.
7049         (reload_combine_note_store): Likewise.
7050         (move2add_note_store): Likewise.
7051         (reload): Adjust calls to note_stores.
7052         (reload_as_needed): Likewise.
7053         (emit_reload_insns): Likewise.
7054         (reload_cse_regs_1): Likewise.
7055         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
7056         (reload_combine): Adjust calls to note_stores.
7057         * resource.c (update_live_status): Take additional paramter.
7058         (mark_target_live_regs): Adjust calls to note_stores.
7059         * stupid.c (find_clobbered_regs): Take additional parameter.
7060         (stupid_life_analysis): Adjust calls to note_stores.
7061
7062 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
7063
7064         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
7065         definition.
7066
7067         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
7068         definition.
7069
7070         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
7071         of the variable arm_structure_size_boundary.
7072
7073 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
7074
7075         * alias.c (init_alias_analysis): Allocate reg_known_value and
7076         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
7077         and reg_seen.
7078         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
7079         * cse.c (cse_main): Call end_alias_analysis.
7080         * haifa-sched.c (schedule_insns): Likewise.
7081         * local-alloc. (update_equiv_regs): Likewise.
7082         * reload1.c (reload_cse_regs): Likewise.
7083
7084 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7085
7086         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
7087         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
7088         mapping from MASK_FPU.
7089
7090 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
7091
7092         * sparc.md (call): Don't bound structure return size to 0xfff.
7093
7094 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
7095
7096         * resource.c (mark_target_live_regs): Check that the target
7097         insn wasn't created after compute_bb_for_insn.
7098
7099 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
7100
7101         * ggc-page.c (poison_pages): Don't be overzealous.
7102
7103 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
7104
7105         * alias.c: Update comments for ADDRESS.
7106         (nonlocal_reference_p): Look inside the ADDRESS to determine if
7107         it is a local memory reference.
7108
7109         * c-typeck.c (build_function_call): Check that the built-in
7110         function is of class BUILT_IN_NORMAL before trying to recongize
7111         it as BUILT_IN_ABS.
7112         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
7113         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
7114
7115 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
7116
7117         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
7118         of alloca.
7119         (pre_gcse): Likewise.
7120         (hoist_expr_reaches_here_p): Likewise.
7121         (hoist_code): Likewise.
7122         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
7123         code to ...
7124         (pre_expr_reaches_here_p_work): ... here.
7125         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
7126         code to ...
7127         (expr_reaches_here_p_work): ... here.
7128
7129 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
7130
7131         * resource.c (find_basic_block): Delete.
7132         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
7133         (init_resource_info): Call compute_bb_for_insn.
7134
7135 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
7136
7137         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
7138         with already adjacent blocks, but no fallthru.
7139         (merge_blocks_move_successor_nojumps): Simplify.
7140         (debug_flow_info): New.
7141
7142         * toplev.c (rest_of_compilation): Open jump1 dump file before
7143         jump and close after, as opposed to just using dump_rtl.
7144
7145 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7146
7147         * reload.h (earlyclobber_operand_p): Declare.
7148         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
7149         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
7150         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
7151         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
7152
7153 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
7154                           Richard Henderson  <rth@cygnus.com>
7155
7156         * emit-rtl.c (emit_block_insn_before): New.
7157         (emit_block_insn_after): New.
7158         * basic-block.h: Declare them.
7159
7160         * bitmap.h: Protect from multiple inclusion.
7161
7162         * recog.c (scratch_operand): Handle VOIDmode correctly.
7163
7164         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
7165
7166         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
7167         * function.c (assign_parms): Likewise.
7168         * global.c (global_conflicts): Clarify STACK_REGS commentary.
7169
7170         * reg-stack.c (max_uid): Remove.
7171         (blocks, block_begin, block_end, block_drops_in): Remove.
7172         (block_stack_in, block_out_reg_set, block_number): Remove.
7173         (struct block_info_def, BLOCK_INFO): New.
7174         (enum emit_where): New.
7175         (current_block): New.
7176         (BLOCK_NUM): Remove.
7177         (mark_regs_pat, record_label_references): Remove.
7178         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
7179         (nan): New.
7180         (goto_block_pat, print_blocks, dump_stack_info): Remove.
7181         (reg_to_stack): Simplified test for existance of fp code.  Use
7182         flow.c code.  Call shorten_branches after cross-jump opt.
7183         (check_asm_stack_operands): Renamed from record_asm_reg_life.
7184         Return false if the asm doesn't use stack regs.  Don't do life
7185         analysis on the asm.
7186         (emit_pop_insn): Replace function pointer arg `when' with
7187         enum `where'.  Update all callers.
7188         (change_stack): Likewise.  Update basic block end.
7189         (emit_swap_insn): Use current_block->head to limit reverse search
7190         for start of block.  Use emit_block_insn_after.
7191         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
7192         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
7193         structure assignment instead of bcopy.
7194         (print_stack): New.
7195         (convert_regs_entry, convert_regs_exit): New.
7196         (convert_regs_1, convert_regs_2): Split out from convert_regs.
7197         Work on basic blocks and the CFG.
7198         (convert_regs): Use them.
7199
7200         * i386.c (output_fix_trunc): Remove code for DImode input operand
7201         not at top-of-stack.
7202         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
7203         appropriate mode.
7204         (fix_truncdi_1): Allow any mode scratch.
7205
7206 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
7207
7208         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
7209         * linux.h, netbsd.h, vms.h: Not here.
7210
7211 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
7212
7213         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
7214         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
7215         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
7216         CONDITIONAL_REGISTER_USEAGE): Use them.
7217         * config/mips/mips.c (mips_move_1word,mips_move_2words,
7218         gen_conditional_branch,override_options) : Use them.
7219         * config/mips/mips.md : Use them.
7220
7221 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
7222
7223         * i386.md (zero_extendqihi2): Use SImode register name with andl.
7224
7225 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
7226
7227         * integrate.c (function_cannot_inline_p): Don't allow inlining
7228         if setjmp is used.
7229
7230 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7231
7232         * c-parse.in (cast_expr): Constify.
7233
7234         * cccp.c (special_symbol): Likewise.
7235
7236         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
7237
7238         * dwarf2out.c (base_type_die): Likewise.
7239
7240         * global.c (allocno_compare): Likewise.
7241
7242         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
7243
7244         * regclass.c (fix_register): Likewise.
7245
7246         * rtl.h (fix_register): Likewise.
7247
7248         * stupid.c (stupid_reg_compare): Likewise.
7249
7250         * toplev.c (decode_f_option): Likewise.
7251
7252         * tree.c (build_complex_type): Likewise.
7253
7254 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
7255
7256         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
7257
7258 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7259
7260         * reload.c (find_reloads): Compute mode and nregs fields of all
7261         reloads.
7262         * reload1.c (calculate_needs_all_insns): Simplify a bit.
7263         (calculate_needs): Use precomputed mode/nregs values.
7264         (allocate_reload_reg): Likewise.
7265         Break out two...
7266         (failed_reload, set_reload_reg): ... new functions.
7267         (choose_reload_regs_init): New function, mostly broken out from...
7268         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
7269         Also lose one #if 0 block.
7270
7271 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
7272
7273         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
7274         substitution.
7275
7276 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
7277
7278         * tree.h (BLOCK_TYPE_TAGS): Remove.
7279         (BLOCK_END_NOTE): Likewise.
7280         (BLOCK_LIVE_RANGE_FLAG): Likewise.
7281         (BLOCK_LIVE_RANGE_START): Likewise.
7282         (BLOCK_LIVE_RANGE_END): Likewise.
7283         (tree_block): Remove live_range_flag, live_range_var_flag, and
7284         type_tags.  Remove end_note, live_range_start, and live_range_end.
7285         (remember_end_note): Remove prototype.
7286         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
7287         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
7288         remember_end_note.
7289         * ggc-common.c (ggc_mark_tree_children): Don't mark
7290         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
7291         * integrate.c (adjust_copied_decl_tree): Remove.
7292         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
7293         * stmt.c (last_block_end_note): Remove.
7294         (init_stmt): Don't add a GC root for it.
7295         (expand_fixup): Don't set it.
7296         (remember_end_note): Remove.
7297         (expand_end_bindings): Don't set last_block_end_note.
7298
7299 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7300
7301         * reload1.c (reload_reg_free_for_value_p): Show
7302         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
7303         reloads.
7304
7305 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
7306
7307         * expmed.c (extract_bit_field): Allow for the case of non-integer
7308         objects that are smaller than a word (like SFmode on a 64-bit
7309         machine).
7310
7311         * loop.c (basic_induction_var): A non-integer variable which is
7312         being set by a paradoxical subreg is probably not a biv.
7313
7314 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7315
7316         * prefix.c (translate_name) Check for empty prefix string.
7317
7318 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
7319
7320         * Makefile.in (CPP_CROSS_NAME): New variable.
7321         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
7322         xcpp.
7323         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
7324         names of the files to be uninstalled.
7325
7326 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
7327
7328         * collect2.c (IS_DIR_SEPARATOR): Define.
7329         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
7330
7331         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
7332         functions too.
7333
7334         * haifa-sched.c (add_dependence): Update the true dependency
7335         cache the first time we add a true dependence to the LOG_LINKS chain.
7336
7337 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
7338
7339         * fold-const.c (fold): Fix comment.
7340
7341 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7342
7343         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
7344         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
7345         dbxout_start_new_source_file, dbxout_source_file,
7346         dbxout_source_line, dbxout_finish, dbxout_type_fields,
7347         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
7348         Constify a char*.
7349         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
7350         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
7351         (dbxout_block): Initialize variable `blocknum'.
7352
7353         * dbxout.h (dbxout_init, dbxout_finish,
7354         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
7355         dbxout_args, dbxout_source_line): Constify a char*.
7356
7357         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
7358         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
7359         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
7360         low_pc_attribute, high_pc_attribute, body_begin_attribute,
7361         body_end_attribute, comp_dir_attribute, sf_names_attribute,
7362         src_info_attribute, mac_info_attribute, producer_attribute,
7363         lookup_filename, generate_macinfo_entry, fundamental_type_code,
7364         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
7365         dwarfout_undef): Constify a char*.
7366         (add_incomplete_type, retry_incomplete_types): Add prototypes.
7367
7368         * dwarfout.h (dwarfout_define, dwarfout_undef,
7369         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
7370
7371 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
7372
7373         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
7374         (MULTILIB_ISA_DEFAULT): New.
7375         (MULTILIB_DEFAULTS): Use it.
7376         * config/mips/mips.c (): Remove the now unnecessary definition
7377         of MIPS_ISA_DEFAULT.
7378         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
7379         unnecessary definition.
7380
7381 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
7382
7383         * arm.md (pic_load_addr): Add constraints to operand 1.
7384
7385 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
7386
7387         * fixinc/genfixes:  Provide a means for specifying -D options to
7388         AutoGen
7389
7390 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
7391
7392         * arm.c (arm_override_options): Correct initialization of
7393         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
7394         arm_is_strong, and arm_is_6_or_7.
7395
7396         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
7397         (note_set_pseudo_multiple_uses): New function.
7398         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
7399         if a pseudo set in the loop exit is used elsewhere.
7400
7401 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
7402
7403         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
7404
7405 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
7406
7407         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
7408         a single load-address pattern.
7409
7410 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
7411
7412         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
7413         depending on whether or not line-number notes are present.
7414
7415 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7416
7417         * cccp.c (progname, file_buf, default_include, include_file,
7418         macrodef, definition, hashval, wchar_type, user_label_prefix,
7419         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
7420         expand_to_temp_buffer, is_system_include, base_name,
7421         absolute_filename, read_name_map, open_include_file,
7422         record_control_macro, check_precompiled, check_preconditions,
7423         pcfinclude, pass_thru_directive, create_definition,
7424         check_macro_name, comp_def_part, collect_expansion,
7425         check_assertion, read_token_list, assertion_install,
7426         assertion_lookup, eval_if_expression, conditional_skip,
7427         validate_else, skip_quoted_string, quote_string, macarg1,
7428         error_from_errno, install, lookup, hashf, dump_defn_1,
7429         perror_with_name, pfatal_with_name, main, trigraph_pcp,
7430         check_white_space, rescan, handle_directive, monthnames,
7431         special_symbol, do_include, remap_include_file, write_output,
7432         arglist, do_assert, do_unassert, do_line, do_error, do_once,
7433         do_ident, do_sccs, do_xifdef, skip_if_group,
7434         output_line_directive, macroexpand, macarg, change_newlines,
7435         initialize_builtins, make_definition): Constify a char*.
7436
7437         * pcp.h (stringdef): Likewise.
7438
7439 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
7440
7441         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
7442         not of pattern.
7443
7444 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
7445                           Richard Henderson  <rth@cygnus.com>
7446
7447         * alias.c: Include ggc.h.
7448         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
7449         (record_set): Verify enough room in reg_base_value.
7450         (init_alias_analysis): Allocate reg_base_value with xcalloc.
7451         Register it as a GC root.
7452         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
7453         * Makefile.in (alias.o): Depend on ggc.h.
7454
7455         * unroll.c (unroll_loop): Verify the insn before a barrier
7456         is a JUMP_INSN before checking JUMP_LABEL.
7457
7458 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7459
7460         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
7461         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
7462         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
7463         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
7464         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
7465         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
7466
7467 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7468
7469         * output.h (ctors_section, dtors_section, bss_section): Prototype.
7470
7471         * alpha/alpha-interix.h (text_section): Delete prototype.
7472         * alpha/elf.h (text_section): Likewise.
7473         * arm/linux-elf.h (text_section): Likewise.
7474         * arm/linux-telf.h (text_section): Likewise.
7475         * c4x/c4x.h (text_section): Likewise.
7476         * dsp16xx/dsp16xx.h (bss_section): Likewise.
7477         * elfos.h (text_section): Likewise.
7478         * i386/aix386ng.h (text_section): Likewise.
7479         * i386/i386-interix.h (text_section): Likewise.
7480         * i386/sco5.h (text_section): Likewise.
7481         * i386/svr3gas.h (text_section): Likewise.
7482         * nextstep.h (text_section): Likewise.
7483         * psos.h (text_section): Likewise.
7484         * ptx4.h (text_section): Likewise.
7485         * svr3.h (text_section): Likewise.
7486         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
7487
7488 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7489
7490         * final.c (peephole): Delete prototype.
7491
7492         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
7493         (pre_insert_copies): Remove unused variable `bb'.
7494
7495         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
7496         prototypes.
7497
7498         * output.h (peephole): Add prototype.
7499
7500 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
7501
7502         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
7503         -O0.
7504
7505 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
7506
7507         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
7508         for inlined declarations.
7509
7510 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
7511
7512         * arm.c (logical_binary_operator): New fucntion.
7513         * arm.h (logical_binary_operator): Declare it.
7514         (PREDICATE_CODES): Handle logical_binary_operator.
7515         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
7516         output constraints.  Add appropriate splitters.
7517         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
7518         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
7519         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
7520
7521 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7522
7523         * genoutput.c (struct operand_data): New elt eliminable.
7524         (output_operand_data): Write it.
7525         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
7526         (compare_operands): Take it into account.
7527         * recog.h (struct insn_operand_data): New elt eliminable.
7528         * reload1.c (check_eliminable_occurrences, elimination_effects): New
7529         functions.
7530         (old_asm_operands_vec, new_asm_operands_vec): Delete.
7531         (eliminate_regs): Move code that detects changes to elimination
7532         target regs into new function elimination_effects.
7533         Delete one #if 0 block.
7534         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
7535         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
7536         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
7537         Only call eliminate_regs for real operands of the insn, not for parts
7538         of its structure or parts matched by things like match_operator.
7539         Use elimination_effects and check_eliminable_occurrences.  Use
7540         copy_insn to duplicate the pattern when not in the final pass.
7541
7542 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
7543
7544         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
7545         and fld.
7546
7547 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
7548
7549         * fixinc/README: document the "mach" machine matching test
7550         * fixinc/fixfixes.c: Implement the #else/#endif label fix
7551         * fixinc/fixtests.c: Implement the #else/#endif label test
7552         * fixinc/inclhack.def: utilize these tests and fixes
7553         * fixinc/inclhack.sh:  regen
7554         * fixinc/fixincl.x:  regen
7555         * fixinc/fixincl.sh:  regen
7556
7557 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
7558
7559         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
7560         depend on ggc.h.
7561
7562 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
7563
7564         * gcc.1: Document exit codes.
7565
7566 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7567
7568         * calls.c: Include tm_p.h later, so everything we need is defined.
7569         * expr.c: Likewise.
7570         * function.c: Likewise.
7571
7572         * except.c: Include tm_p.h.
7573
7574         * sparc.c: Likewise.
7575         (dwarf2out_cfi_label): Don't prototype.
7576         (check_return_regs, epilogue_renumber,
7577         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
7578         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
7579         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
7580         ultra_schedule_insn): Add static prototype.
7581         (data_segment_operand, text_segment_operand): Call itself with the
7582         proper number of arguments.
7583         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
7584
7585         * sparc.h: Move all declarations to sparc-protos.h.
7586         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
7587         symbolic_operand.
7588
7589         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
7590
7591         * config/svr4.h (text_section, ctors_section, dtors_section): Add
7592         Prototypes.
7593         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
7594         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7595         ASM_OUTPUT_ASCII): Constify a char*.
7596
7597         * sparc-protos.h: New file for sparc prototypes.
7598
7599 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7600
7601         * function.c (record_insns, contains): Always declare and define.
7602         (record_insns): Mark with ATTRIBUTE_UNUSED.
7603
7604 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
7605
7606         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
7607         to .section when outputting a .bss section to deal with multiple
7608         .bss input sections (as happens with -fdata-sections)
7609         Also output %progbits, not @progbits so the assembler doesn't treat as
7610         a comment.
7611         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
7612
7613         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
7614         thumb parts even when building with non-thumb CPUs, by forcing
7615         thumb mode.
7616
7617 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
7618
7619         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
7620         (movdf_const_intreg_sp64): Similarly.
7621
7622         * local-alloc.c (update_equiv_regs): Check the correct insn
7623         for pre-existing REG_EQUIV notes.
7624
7625 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
7626
7627         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
7628         block reached by a branch if we're not going to actually process
7629         this block.
7630
7631 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
7632
7633         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
7634         a local extern function declaration.
7635
7636 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
7637
7638         * i386.c (ix86_expand_prologue): Properly wrap USE around
7639         reg for CALL_INSN_FUNCTION_USAGE.
7640
7641 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
7642
7643         * config/mips/mips.md (movdf_internal1a): Allow floating-point
7644         move between GP_REGs.
7645
7646 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
7647
7648         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
7649         the mode size when finding out if an offset is legal.
7650
7651 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
7652
7653         * basic-block.h (PROP_*): Move constants from ...
7654         * flow.c: ... here.
7655         (compute_bb_for_insn): Free the array before reallocating.
7656         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
7657         (allocate_reg_life_data): Reset all reg variables collected by
7658         propagate_block.
7659         (get_block_head_tail): Don't convert from bb to block.
7660         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
7661         (find_insn_reg_weight): Take block not bb.
7662         (schedule_block): Don't set block num for moved insns.
7663         (schedule_region): Don't update_life_info or find_insn_reg_weight.
7664         (schedule_insns): Do it here instead.
7665         * combine.c (combine_instructions): Invoke compute_bb_for_insn
7666         before update_life_info.
7667         * recog.c (split_all_insns, peephole2_optimize): Update for
7668         new arg to update_life_info.
7669         * rtlanal.c (remove_note): Cope with NULL note.
7670         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
7671         if we did sched1.
7672
7673 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
7674
7675         * jump.c (jump_optimize_1): More accurately detect casesi insns.
7676
7677         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
7678         block records so that merge_blocks_nomove will clean up correctly.
7679         (split_edge): Handle casesi insns.
7680
7681         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
7682
7683 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
7684
7685         * pa.md (call, call_value): Do not emit a blockage after restoring
7686         the PIC register.
7687
7688 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
7689
7690         * c-typeck.c (c_expand_asm_operands): Fix typo.
7691
7692 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7693
7694         * arm.c (fpu_rhs_operand): Verify modes.
7695         (fpu_add_operand): Likewise.
7696         (di_operand): Likewise.
7697         (soft_df_operand): Likewise.
7698
7699 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
7700
7701         * arm.c (arm_return_in_memory): APCS rules state that the elements
7702         of a structure returned in a register must be 'integer-like'.
7703
7704 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
7705
7706         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
7707         in the source tree when the generated targets are out of date
7708         * fixinc/genfixes: Alter it to run individual fixes for make.
7709         * fixinc/README: rewrite
7710         * fixinc/inclhack.def: moved initial comments to README
7711
7712 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
7713
7714         * toplev.c (main): Do not generate an error message if an
7715         unrecognised command line switch is recognisable by another
7716         language.  If extra_warnings are enabled, then generate a
7717         warning message instead.
7718
7719 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
7720
7721         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
7722         (insert_pack_attributes): Delete prototype.
7723
7724         * c-pragma.c (default_alignment): New static variable.
7725         (push_alignment): Initialize to current effective alignment.
7726         (pop_alignment): Use to set new alignment.
7727         (insert_pack_attributes): Delete function.
7728         (handle_pragma_token): Set default_alignment as well each time
7729         a #pragma pack(<n>) is encountered.
7730
7731 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
7732
7733         * reg-stack.c (stack_result): Aggregates are not returned in
7734         stack registers.
7735
7736 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
7737
7738         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
7739
7740 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
7741
7742         * basic-block.h (set_block_num): Declare.
7743         * flow.c (update_life_info): Don't call compute_bb_for_insn
7744         or free_basic_block_vars.
7745         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
7746         (insn_orig_block): Remove.
7747         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
7748         (schedule_block): Keep BLOCK_NUM up-to-date.
7749         (schedule_insns): Use compute_bb_for_insn.
7750         * recog.c (split_all_insns): Likewise.
7751         (peephole2_optimize): Likewise.
7752
7753 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
7754
7755         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
7756         if the pic register is used.
7757
7758 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7759
7760         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
7761         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
7762         if that tests TREE_PERMANENT.
7763
7764 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
7765
7766         * cse.c (invalidate_for_call): Do not remove memory references from
7767         the table here.  It's handled elsewhere.
7768
7769         * haifa-sched.c (add_dependence): Protect references to the
7770         true dependency cache with #ifdef INSN_SCHEDULING.
7771         (remove_dependence): Similarly.
7772
7773         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
7774         to the cfg code that this is a return instruction.
7775         * mn10300.md (return_internal): Similarly.
7776
7777         * combine.c (get_last_value): If the last set of a register
7778         is after subst_low_cuid, then we can not use it to determine
7779         the register's last value.
7780
7781 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
7782
7783         * Makefile.in: Back out previous change.
7784
7785 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
7786
7787         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
7788
7789         * haifa-sched.c (add_dependence): Only check/update the cache
7790         if it exists.
7791         (remove_dependence): Likewise.
7792         (schedule_insns): Only create the true_dependency_cache if the
7793         average number of instructions in a basic block is very large.
7794
7795 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
7796
7797         * Makefile.in (ggc-common.o): Depend on genrtl.h.
7798         (ggc-simple.o): Likewise.
7799         (ggc-page.o): Likewise.
7800
7801 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
7802
7803         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
7804         Prototype for exported functions.
7805         (pre_lcm, pre_rev_lcm): Remove prototypes.
7806         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
7807         (compute_available): Move to lcm.c, and change parameter order.
7808         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
7809         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
7810         (gcse_main): No longer call compute_preds_succs.  Rebuild the
7811         set table after reach pre pass.
7812         (pre_insert_map, pre_delete_map, edge_list): New.
7813         (alloc_pre_mem): Allocate edge vectors.
7814         (free_pre_mem): Delete edge vectors.
7815         (compute_pre_data): Call new edge based lcm routines.
7816         (process_insert_insn): New function.
7817         (insert_insn_end_bb): Use it.
7818         (pre_edge_insert): New function.
7819         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
7820         needed.
7821         (pre_insert_copies): Revamp using new edge based lcm outputs.
7822         (pre_delete): Likewise.
7823         (one_pre_gcse_pass): Insert & remove fake edges to the exit
7824         block.
7825         (compute_code_hoist_vbeinout): New new edge based routines.
7826         * lcm.c: Remove all the old LCM functions.  Replace with new ones
7827         that work with the new cfg datastructures and work with edges
7828         instead of blocks.
7829
7830 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
7831
7832         * reload.h (struct reload): Add new fields "mode" and "nregs".
7833         * reload1.c: Change all occurrences of reload_mode and reload_nregs
7834         to reference the "mode" and "nregs" field within struct reload.
7835
7836 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
7837
7838         * haifa-sched.c (true_dependency_cache): New.
7839         (add_dependence): Use the true dependency cache to avoid expensive
7840         walks down the LOG_LINKS dependency list.  Add entries to the
7841         cache as necessary.
7842         (remove_dependence): Remove entries from the true dependency cache
7843         as needed.
7844         (schedule_insns): Allocate and initialize and free the true
7845         dependency cache.
7846
7847         * haifa-sched.c (schedule_insns): Do not remove inter-block
7848         dependencies anymore.
7849
7850 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
7851
7852         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
7853         * i386/t-winnt: Likewise.
7854
7855 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
7856
7857         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
7858
7859 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
7860
7861         * Makefile.in (LANGUAGES): Omit "proto".
7862         (clean): Remove stale comment about removing unprotoize.c.
7863
7864 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7865
7866         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
7867         using arithmetic on void pointers.
7868
7869 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
7870
7871         * haifa-sched.c (compute_block_forward_dependencies): Only check
7872         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
7873
7874 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
7875
7876         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
7877         (expr_equiv_p): Reject memories with different alias sets.
7878
7879 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
7880
7881         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
7882         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
7883         (f_options): Add "bounded-pointers" and "bounds-check" entries.
7884         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
7885         (lang_init): Set default for flag_bounds_check if still "unspecified".
7886
7887 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7888
7889         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
7890
7891 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7892
7893         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
7894         instructions.
7895
7896 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7897
7898         * config/c4x/c4x.md (*db_noclobber,
7899         *decrement_and_branch_until_zero_noclobber): New patterns and
7900         associated splitters.
7901
7902 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7903
7904         * config/c4x/c4x.md (parallel instruction patterns): Rework
7905         constraints to keep reload happy.
7906
7907 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7908
7909         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
7910         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
7911         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
7912         Add new patterns and associated post-reload splitters.
7913
7914 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7915
7916         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
7917
7918 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7919
7920         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
7921         if appropriate.
7922         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
7923
7924 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7925
7926         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
7927         memory mode.
7928
7929 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
7930
7931         * pa.c (move_operand): Rely on memory_address_p to determine the
7932         validity of non-indexed memory addresses.
7933         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
7934         operand in DFmode and SFmode when generating PA2.0 code.
7935
7936 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
7937
7938         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
7939
7940 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
7941
7942         * mips.c (function_prologue): Fix argument types.
7943         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
7944         (casesi_internal): Write to the scratch register.
7945
7946 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
7947
7948         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
7949         to U_CHAR **.
7950         (parse_charconst): Delete unnecessary cast when calling
7951         cpp_parse_escape.
7952         (cpplib.h): Kill prototype of cpp_parse_escape.
7953
7954 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
7955
7956         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
7957         * unroll.c (unroll_loop): Cast return value of alloca.
7958         * i370/i370.c: Include function.h and toplev.h.
7959         (i370_label_scan): Remove c++ commented abort.
7960         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
7961         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
7962         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
7963         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
7964
7965 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
7966
7967         * config/t-freebsd: Do not override USER_H.
7968         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
7969
7970 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
7971                           Mumit Khan  <khan@xraylith.wisc.edu>
7972
7973         * c-parse.in (component_decl): Support anonymous struct/union.
7974         (%expect): Update.
7975         * c-parse.y: Regenerate.
7976         * c-parse.c: Likewise.
7977         * objc/objc-parse.y: Likewise.
7978         * objc/objc-parse.c: Likewise.
7979         * c-decl.c (finish_struct): Don't sort the fields.
7980         (field_decl_cmp): Delete unused function.
7981
7982 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
7983
7984         * sparc.md (movsf_const_intreg): Revert last constraint change.
7985         (movdf_const_intreg_sp32): Likewise.
7986
7987 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
7988
7989         * cse.c: Include hashtab.h instead of splay-tree.h
7990         (struct cse_reg_info): No longer use variant union.  Add new
7991         field "regno".  All references changed to avoid union.
7992         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
7993         (free_cse_reg_info): Remove.
7994         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
7995         (get_cse_reg_info): Revamp to use expandable hash tables instead
7996         of splay trees.  Initialize new fields in cse_reg_info structure.
7997         (new_basic_block): Similarly.
7998
7999 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
8000
8001         * genrecog.c (message_with_line): Prototype.
8002         (validate_pattern): Pass along the set for the dest, not a flag.
8003         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
8004         Check for PC/CC0 as sources.
8005         (nodes_identical): Check for children position match before
8006         allowing the combination.
8007
8008         * rtl.c (read_rtx): Track line number across \\\n.
8009
8010 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
8011
8012         * mips.h (SPECIAL_MODE_PREDICATES): New.
8013         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
8014         (movdi+1, movsi+1): Add output reload constraint.
8015         (casesi_internal): Likewise.  Fix commentary.
8016         (return_internal): Use pmode_register_operand.
8017
8018 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
8019
8020         * 1750a.md (movstrqi): Add missing output reload constraint.
8021         (call_value): Likewise.
8022         * a29k.md (cpxxx patterns): Add missing match_operator mode.
8023         (jmpfdec): Add missing inout reload constraint.
8024         * elxsi.md (addsi patterns): Add missing output reload constraint.
8025         (move from sp): Use @ alternates.
8026         (call_value): No constraint on output.
8027         * fr30.md (movsi_pop): Add missing output reload constraint.
8028         (movsf_constant_store): Likewise.
8029         (splits): Remove constraints.
8030         (subsi3): Add missing mode.
8031         * i370.md (cmpstrsi+1): Add missing output reload constraint.
8032         (call_value): Likewise.
8033         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
8034         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
8035         * m32r.md (movsicc_internal): Add output reload constraint.
8036         (movstrsi_internal): Add inout reload constraints.
8037         * m88k.h (reg_names): Don't declare.
8038         (SPECIAL_MODE_PREDICATES): New.
8039         * m88k.md (*): Use register_operand not reg_or_0_operand
8040         on destinations.
8041         * mn10200.h (PREDICATE_CODES): New.
8042         * ns32k.md (ffs pattern): Add output reload constraint.
8043         * pdp11.md (sob pattern): Add inout reload constraint.
8044         * sh.md (splits): Remove constraints.
8045         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
8046         * v850.md (pattern_is_ok_for_epilogue): Likewise.
8047         * vax.md (jgequ pattern): Add inout reload constraint.
8048
8049 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
8050
8051         * configure.in (djgpp): Revert previous patch.
8052         * configure: Rebuit.
8053         * config/i386/djgpp.h: Revert previous patch.
8054
8055 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
8056
8057         * fixinc/inclhack.def: Restore patch lost during last merge of
8058         "no_bogosity" branch.
8059         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
8060
8061 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
8062
8063         * fixincludes: Add a HPUX 11 fix for inttypes.h.
8064         * fixinc/inclhack.def: Same.
8065         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
8066
8067 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
8068
8069         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
8070         as the base of a PLUS.
8071
8072 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8073
8074         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
8075         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
8076
8077 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
8078
8079         * pa.md (post_stw+1): Use pmode_register_operand.
8080         (dcacheflush, icacheflush): Likewise.
8081
8082         * i386.md (movstricthi_1): Allow r/r.
8083
8084 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
8085
8086         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
8087         to (not (and (arg0) (arg1))). Similary for and.
8088
8089         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
8090         fallthrough to associate code.
8091         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
8092         bits in common.
8093
8094         * combine.c (simplify_logical): Convert XOR to IOR if operands have
8095         no bits in common; remove XOR to ROTATE conversion.
8096
8097 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8098
8099         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
8100
8101 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8102
8103         * config/c4x/c4x.c (dst_operand): New.
8104         (PREDICATE_CODES): Update.
8105         * config/c4x/c4x.h (dst_operand): Declare it.
8106         * config/c4x/c4x.md:  Define mode for each unspec usage.
8107         (move patterns):  Use dst_operand predicate instead of src_operand.
8108         (movqi_update, movqf_update): Delete.
8109
8110 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
8111
8112         * recog.c (pmode_register_operand): New.
8113         * recog.h: Declare it.
8114         * genrecog.c (pred_codes): Likewise.
8115         (special_mode_pred_table): Likewise.
8116         (validate_pattern): Don't warn no mode for address_operand.
8117
8118         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
8119         if the operand is not insn-like.
8120
8121 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
8122                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
8123
8124         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
8125
8126 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
8127
8128         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
8129         instead of general_operand in a SET_DEST.  Use const_double_operand
8130         instead of an explicit test against CONST_DOUBLE.
8131         (movsf_const_lo): Add missing register mode.
8132         (goto_handler_and_restore): Add auxiliary test for Pmode.
8133         (flush): Adjust to use address_operand.
8134         (return_sf_no_fpu): Add missing output constraint.
8135
8136 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
8137
8138         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
8139         for call return value.
8140         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
8141
8142 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
8143
8144         * toplev.c (main): Only warn about options for other languages.
8145         * collect2.c (main): Pass -w to sub-gcc.
8146
8147 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
8148
8149         * flow.c (propagate_block): Add call-clobbered registers to
8150         significant too.
8151
8152         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
8153         zapping mem_set_list.
8154         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
8155         (mark_set_1, mark_used_regs): Likewise.
8156
8157 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
8158
8159         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
8160
8161 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8162
8163         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
8164         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
8165         options. Also add a new item "C-only Warning Options" to the
8166         option summary.
8167
8168 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
8169
8170         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
8171         from multiple calls.
8172
8173 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
8174
8175         * i386.md (call value patterns): Move to the end of the file.
8176         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
8177
8178 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
8179
8180         * configure.in (djgpp configuration): Define extra_objects..
8181         * configure: Rebuilt.
8182         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
8183         (DTORS_SECTION_ASM_OP): Define.
8184         (INIT_SECTION_ASM_OP): Define.
8185         (FINI_SECTION_ASM_OP): Define.
8186         (DATA_SECTION_ASM_OP): Define.
8187         (TEXT_SECTION_ASM_OP): Define.
8188         (EH_FRAME_SECTION_ASM_OP): Define.
8189         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
8190         (STARTFILE_SPEC): Add crtbegin.o.
8191         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
8192         to here from LINK_COMMAND_SPEC.
8193         (DO_GLOBAL_CTORS_BODY): Define.
8194         (CRTSTUFF_USE_FINI_SECTION): Define
8195         (HAS_INIT_SECTION): Delete.
8196
8197 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
8198
8199         * Makefile.in (all.cross): Depend on xcpp$(exeext).
8200
8201 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
8202
8203         * pa.h (PREDICATE_CODES): New.
8204
8205         * genrecog.c (validate_pattern): Condense the destination
8206         non-lvalue message.
8207
8208 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
8209
8210         * alpha.md (call-1): Supply missing mode for operator.
8211         (*): Add missing output reload constraints.  Remove constraints
8212         from define_splits.
8213
8214         * i386.h (SPECIAL_MODE_PREDICATES): New.
8215         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
8216         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
8217         (addsi_lea_3): Add missing mode for op 3.
8218         (prologue_set_got, prologue_get_pc): Add missing modes.
8219         (*) Add missing output reload constraints.
8220
8221 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
8222
8223         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
8224         check for member bit-size overflow and use var_size if it occurs.
8225         (layout_record): Use bitsize_int() to define the type size in bits.
8226         Likewise for computation and assignment to DECL_FIELD_BITPOS.
8227         (layout_decl): Likewise when assigning to DECL_SIZE.
8228
8229 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
8230
8231         * genrecog.c (validate_pattern): Typo last change.  Verify
8232         that output operands have output reloads.
8233
8234 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
8235
8236         * genrecog.c (special_mode_pred_table): New.
8237         (NUM_SPECIAL_MODE_PREDS): New.
8238         (find_operand): New.
8239         (validate_pattern): New argument `insn'.  Warn for assignment to
8240         any predicate accepting non-lvalues.  Conditionaly warn for
8241         match_operand without a mode.  Try much harder to match source
8242         and destination modes on a set.
8243         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
8244
8245 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
8246
8247         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
8248
8249 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
8250
8251         * combine.c (simplify_logical): Recognize xor pattern that encodes
8252         rotation.
8253
8254 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8255
8256         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
8257         alignment.
8258
8259 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
8260
8261         * ggc-page.c (MAP_FAILED): Provide default.
8262
8263 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
8264
8265         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
8266         * sparc.h (PREDICATE_CODES): Update.
8267
8268 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
8269
8270         * alpha.c (some_ni_operand): New.
8271         * alpha-protos.h: Declare it.
8272         * alpha.h (PREDICATE_CODES): Update.
8273         * alpha.md (sXaddq reload insns): Use some_ni_operand
8274         for SET_DEST instead of some_operand.
8275
8276 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
8277                           Jim Wilson  <wilson@cygnus.com>
8278
8279         * genrecog.c (maybe_both_true_2): Don't compare modes of
8280         two DT_pred tests.
8281         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
8282         after find_afterward.
8283         (debug_decision_1): Dump next and afterward codes.
8284
8285 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
8286
8287         * rtl.c (dump_and_abort): Remove.
8288         (fatal_with_file_and_line): New.
8289         (fatal_expected_char): New.
8290         (read_rtx_lineno, read_rtx_filename): New.
8291         (read_skip_spaces): Track line number.
8292         (read_name): Use fatal_with_file_and_line.
8293         (read_rtx): Use fatal_expected_char.  Track line number.
8294         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
8295
8296         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
8297         if it isn't a CODE_LABEL.
8298
8299         * genattr.c (main): Set read_rtx_filename.
8300         * genattrtab.c (main): Likewise.
8301         * gencodes.c (main): Likewise.
8302         * genconfig.c (main): Likewise.
8303         * genemit.c (main): Likewise.
8304         * genextract.c (main): Likewise.
8305         * genflags.c (main): Likewise.
8306         * genopinit.c (main): Likewise.
8307         * genoutput.c (main): Likewise.
8308         * genpeep.c (main): Likewise.
8309
8310         * genrecog.c (decision_test.u.insn): Add `lineno'.
8311         (pattern_lineno, error_count): New variables.
8312         (message_with_line): New.
8313         (add_to_sequence): Break out checking code to ...
8314         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
8315         (merge_insn): Use message_with_line.
8316         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
8317         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
8318
8319 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8320
8321         * expr.c (store_constructor): Clear union if constructor is empty.
8322
8323 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
8324
8325         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
8326         Add !endian checks.  Change %{...} to %(...).
8327
8328 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
8329
8330         * i386.md (*addsi3_cc): Renamed from addcsi3.
8331         (*addsi3_carry): Renamed from addxsi3.
8332         (*subsi3_cc): Renamed from subcsi3.
8333         (*subsi3_carry): Renamed from subxsi3.
8334         (*xorqi_cc_1): Renamed from xorcqi_1.
8335         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
8336         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
8337
8338 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
8339
8340         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
8341         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
8342
8343 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
8344
8345         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
8346         climb up the chain of insns.
8347
8348 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
8349
8350         * genrecog.c (write_subroutine): Careful for null trees.
8351         (process_tree): Don't elide empty functions.
8352
8353 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
8354
8355         * Makefile.in (genrtl.o): Depend on ggc.h.
8356         * configure.in (valloc): Probe for it.
8357         (with-gc): Use ggc-page if valloc present.
8358         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
8359         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
8360         (ggc_alloc_string): Moved from ggc-page.c.
8361         * ggc-none.c (ggc_alloc_obj): New.
8362         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
8363         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
8364         (struct globals): Likewise for dev_zero_fd.
8365         (init_ggc): Likewise for it's initialization.
8366         (ggc_allocated_p): Move careful dereference from ...
8367         (ggc_lookup_page_table): ... here.  Delete.
8368         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
8369         (alloc_anon): Use valloc if no mmap.
8370         (release_pages): Use free if using valloc.
8371         (ggc_alloc_obj): Renamed from alloc_obj.
8372         (ggc_set_mark): Renamed from mark_obj.
8373         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
8374         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
8375         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
8376         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
8377         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
8378         (ggc_collect): Use fp printing instead of our own rounding.
8379         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
8380         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
8381         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
8382         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
8383         (struct ggc_string, struct ggc_any): Delete.
8384         (offsetof): Provide default definition.
8385         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
8386         (PTR_KEY): New.
8387         (struct ggc_mem): New, from corpse of ggc_any.
8388         (struct ggc_status): Delete.
8389         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
8390         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
8391         (n_strings_collected, n_anys_collected): Delete.
8392         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
8393         (ggc_alloc_string, ggc_alloc): Delete.
8394         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
8395         (ggc_free_string, ggc_free_any): Delete.
8396         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
8397         (ggc_compare_addresses, ggc_mark_string): Delete.
8398         (ggc_mark_string_if_gcable, ggc_mark): Delete.
8399         (search_data): Delete.
8400         (struct globals): New.
8401         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
8402         (tree_insert, tree_lookup): New.
8403         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
8404         (clear_marks, sweep_objs): New.
8405         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
8406         (init_ggc): Set allocated_last_gc.
8407         (ggc_push_context): Gut.  Use G.context.
8408         (ggc_pop_context): Likewise.
8409         (ggc_pop_context_1): New.
8410         (debug_ggc_tree): New.
8411         (debug_ggc_balance, tally_leaves): New.
8412         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
8413         (ggc_mark_string_if_gcable): Remove decl.
8414         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
8415         (ggc_mark_rtvec_children): New.
8416         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
8417         (ggc_mark_if_gcable): New decl.
8418         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
8419         (ggc_alloc_tree, ggc_alloc): Likewise.
8420         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
8421         (ggc_alloc_obj): New decl.
8422         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
8423         (ggc_alloc_tree, ggc_alloc): Likewise.
8424         (ggc_set_mark): New decl.
8425         * rtl.h (struct rtx_def): Remove gc_mark.
8426         (struct rtvec_def): Likewise.
8427         * tree.h (struct tree_common): Likewise.
8428
8429 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
8430
8431         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
8432         float_format and thread_file definitions.
8433         * configure: Rebuilt.
8434
8435 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
8436
8437         * extend.texi (Function Names): Document types of function names.
8438
8439 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8440
8441         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
8442         an earlyclobbered output conflict with RELOAD_INPUT reloads.
8443
8444 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8445
8446         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
8447
8448 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8449
8450         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
8451
8452 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
8453
8454         * collect2.c (main): Do prelimnary link on AIX if rflag.
8455
8456 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8457
8458         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
8459         __CTOR_LIST__ in opposite order, which is the correct order for sorted
8460         constructors.
8461         (__do_global_dtors): similarly for __DTOR_LIST__.
8462
8463 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8464                                 Diego Novillo <dnovillo@cygnus.com>
8465
8466         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
8467         FPUL_REGS.
8468
8469 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
8470
8471         * fixincl/*: Merged "no_bogosity" branch
8472         * fixincl/fixlib.h: protect against doubly defining t_bool
8473         * fixincl/server.h: protect against doubly defining t_bool
8474
8475 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
8476
8477         * genoutput.c: Include toplev.h.
8478
8479 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
8480
8481         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
8482         Undef.
8483         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
8484         * configure: Regenerate.
8485
8486 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
8487
8488         * gcse.c (delete_null_pointer_checks): Returns void.
8489
8490 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8491
8492         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
8493         * emit-rtl.c (copy_insn_1): Likewise.
8494
8495 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
8496
8497         * config/mips/mips.c (mips_build_va_list): Correct
8498         TREE_CHAIN setting when hard-float.
8499         (mips_va_start): Use corrected setting.
8500         (mips_va_arg): Likewise.  Also pass a tree to build of
8501         POSTINCREMENT_EXPR rather than a naked 'int'.
8502
8503 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
8504
8505         * ggc.h (ggc_push_context): Fix comment.
8506         (ggc_pop_context): Likewise.
8507         (mark_string_if_gcable): Likewise.
8508         * ggc-common.c (ggc_mark_rtx_children): Use
8509         ggc_mark_string_if_gcable.
8510         * ggc-page.c (ggc_lookup_page_table): New function.
8511         (ggc_allocated_p): Likewise.
8512         (mark_obj): Fix formatting.
8513         (ggc_mark_string_if_gcable): New function.
8514         * ggc-simple.c (ggc_allocated_strings): New variable.
8515         (ggc_strings_used): Likewise.
8516         (ggc_compare_addresses): New function.
8517         (ggc_pop_context): Pop the `any' memory too.
8518         (ggc_mark_string_if_gcable): New function.
8519         (ggc_collect): Initialize and tear down ggc_allocated_strings.
8520
8521 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
8522
8523         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
8524         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
8525         * rs6000.c (expand_block_move): Match movstrsi_?reg register
8526         changes.
8527
8528 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
8529
8530         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
8531         (sched_reg_live_length, sched_reg_basic_block): Delete.
8532         (current_block_num, bb_live_regs, old_live_regs): Delete.
8533         (dead_notes, struct sometimes): Delete.
8534         (sched_note_set, birthing_insn_p): Delete.
8535         (adjust_priority): Gut useless reg lifetime code.
8536         (create_reg_dead_note, attach_deaths): Delete.
8537         (attach_deaths_insn, new_sometimes_live): Delete.
8538         (finish_sometimes_live): Delete.
8539         (find_pre_sched_live, find_post_sched_live): Delete.
8540         (update_reg_usage): Delete.
8541         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
8542         (schedule_insns): Delete reg lifetime code.
8543         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
8544         (unlink_other_notes): Adjust REG_NOTE commentary.
8545         (reemit_notes): Use REG_SAVE_NOTE.
8546         (schedule_block): Likewise.
8547         (schedule_region): Allocate bitmap of blocks in region.  Use
8548         count_or_remove_death_notes.  Use update_life_info.
8549
8550         * rtl.h (REG_SAVE_NOTE): New.
8551         * rtl.c (reg_note_name): Update.
8552
8553 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
8554
8555         * combine.c (refresh_blocks, need_refresh): New.
8556         (combine_instructions): Allocate refresh_blocks.  Invoke
8557         update_life_info if needed.
8558         (distribute_notes): Mark refresh_blocks instead of installing
8559         USE insns.
8560         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
8561         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
8562
8563         * Makefile.in (recog.o): Depend on basic-block.h.
8564
8565 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
8566
8567         * genrecog.c (add_to_sequence): Thinko last change: delete
8568         shadowing allow_const_int variable.
8569
8570 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8571
8572         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
8573         __GNUC__ and __GNUC_MINOR__.
8574
8575         * gansidecl.h: Likewise.
8576
8577         * rtl.c: Likewise.
8578
8579         * rtl.h: Likewise.
8580
8581         * toplev.h: Likewise.
8582
8583         * tree.c: Likewise.
8584
8585         * tree.h: Likewise.
8586
8587         * varray.c: Likewise.
8588
8589         * varray.h: Likewise.
8590
8591 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8592
8593         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
8594         use one before a jump table.
8595
8596         * rtl.def (ADDRESS): Change documentation to match reality.
8597         * md.texi: Don't document it.
8598         * gmicro.md (load address pattern): Use 'p' constraint, delete use
8599         of ADDRESS rtx.
8600
8601         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
8602
8603 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
8604
8605         * genrecog.c (add_to_sequence): Move allow_const_int test outside
8606         known predicate block; default allow_const_int true.
8607         (debug_decision_list): New.
8608
8609 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
8610
8611         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
8612
8613 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
8614
8615         * gcse.c (gcse_main): Avoid global optimizations if we have a
8616         large number of basic blocks and the ratio of edges to blocks
8617         is high.
8618         (delete_null_pointer_checks): Likewise.
8619
8620 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
8621
8622         * c-common.c (check_format_info): Warn if format string isn't a
8623         string literal.
8624
8625 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
8626
8627         * configure.in (arm*-*-*): Don't let autoconf remove brackets
8628         * configure: regenerate
8629
8630 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
8631
8632         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
8633         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
8634         (peepholes): Re-enable.
8635
8636 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
8637
8638         * Makefile.in (flow.o): Depend on TREE_H.
8639         * basic-block.h (REG_SET_EQUAL_P): New.
8640         (XOR_REG_SET): New.
8641         (n_edges): Declare.
8642         (free_regset_vector): Remove declaration.
8643         (flow_delete_insn_chain): Declare.
8644         (enum update_life_extent): New.
8645         (update_life_info, count_or_remove_death_notes): Declare.
8646         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
8647         Verify register live at bb->global_live_at_start before adding USE.
8648         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
8649         (CLEAN_ALLOCA): New.
8650         (n_edges): New.
8651         (PROP_*): New flags.
8652         (find_basic_blocks_1): Use alloc_EXPR_LIST.
8653         (clear_edges): Zero n_edges.
8654         (make_edge): Increment n_edges.
8655         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
8656         (flow_delete_insn_chain): Export.
8657         (delete_block): Decrement n_edges.
8658         (merge_blocks_nomove): Likewise.
8659         (life_analysis): Give life_analysis_1 PROP flags.
8660         (verify_wide_reg_1, verify_wide_reg): New.
8661         (verify_local_live_at_start): New.
8662         (update_life_info): Rewrite to call into propogate_block.
8663         (mark_reg): New.
8664         (mark_regs_live_at_end): After reload, if epilogue as rtl,
8665         always mark stack pointer.  Conditionally mark PIC register.
8666         After reload, mark call-saved registers, return regsiters.
8667         (life_analysis_1): Accept PROP flags not remove_dead_code.
8668         Call mark_regs_live_at_end before zeroing regs_ever_live.
8669         Use calculate_global_regs_live.  Copy global_live_at_end before
8670         calling final propagate_block.  Zero reg_next_use on exit.
8671         (calculate_global_regs_live): New.
8672         (allocate_bb_life_data): Don't allocate bb->local_set.
8673         (init_regset_vector, free_regset_vector): Remove.
8674         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
8675         Test flags before every operation.  Warn if prologue/epilogue insn
8676         would have been deleted.
8677         (mark_set_regs, mark_set_1): Accept and use FLAGS.
8678         Use alloc_EXPR_LIST.
8679         (mark_used_regs): Accept and use FLAGS, not FINAL.
8680         Remove special handling for RETURN.
8681         (try_pre_increment): Use alloc_EXPR_LIST.
8682         (dump_flow_info): Dump n_edges.
8683         (unlink_insn_chain, split_hard_reg_notes): Remove.
8684         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
8685         (find_insn_with_note, new_insn_dead_notes): Remove.
8686         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
8687         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
8688         (replace_insns): Remove.
8689         (count_or_remove_death_notes): New.
8690         (verify_flow_info): Abort on error after all checks.
8691         (remove_edge): Decrement n_edges.
8692         (remove_fake_edges): Tweek format.
8693         * haifa-sched.c (schedule_insns): Use split_all_insns.
8694         * output.h (update_life_info): Remove declaration.
8695         * recog.c (split_all_insns): From the corpse of split_block_insns,
8696         do the whole function block by block.  Use update_life_info.
8697         (recog_last_allowed_insn): New.
8698         (recog_next_insn): Mind it.
8699         (peephole2_optimize): Set it.  Walk backwards through blocks.
8700         Use update_life_info.
8701         * rtl.h (update_flow_info, replace_insns): Remove declarations.
8702         (split_all_insns): Declare.
8703         * toplev.c (rest_of_compilation): Thread prologue before flow2.
8704         Use split_all_insns.
8705
8706         * i386.md (or -1 peep2s): Disable.
8707
8708 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
8709
8710         * config/mips/mips.md (movstrsi+[123]) : Combine these into
8711         a single pattern.  Scrap the 'd' versions as unnecessary.
8712
8713         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
8714         tablejump_mips162,tablejump_internal4): The operands to a
8715         label_ref must be VOIDmode.
8716
8717 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8718
8719         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
8720
8721 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
8722
8723         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
8724
8725 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
8726
8727         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
8728         cache every function if ggc_p.
8729
8730 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8731
8732         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
8733         instead of copy_rtx.  Accept sequences that contain asm statements.
8734         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
8735         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
8736         orig_asm_operands_vector, copy_asm_operands_vector,
8737         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
8738         variables.
8739         * rtl.h (copy_insn, copy_insn_1): Declare.
8740
8741 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8742
8743         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
8744
8745         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
8746         arguments to `current_file_function_operand'.
8747
8748         * genrecog.c: Include hard-reg-set.h and resource.h in the
8749         generated output file.
8750
8751         * real.c: Include tm_p.h.
8752
8753 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8754
8755         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
8756         output operand.
8757
8758 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
8759
8760         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
8761         before the fctiwz insn.
8762
8763 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8764                           Mark Mitchell  <mark@codesourcery.com>
8765
8766         * tree.c (make_lang_type_fn): New funtion pointer.
8767         (make_lang_type): Call it.
8768         * tree.h (make_lang_type): Declare.
8769         (make_lang_type_fn): Likewise.
8770         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
8771
8772 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
8773
8774         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
8775         make sure that HIGH instructions are copied into BASE_REGS.
8776
8777 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
8778
8779         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
8780
8781 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
8782
8783         * c-decl.c (finish_struct): Use simpler method of
8784         removing elements of a singly-linked list.
8785
8786 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
8787
8788         * alpha.md (peephole2's): Comment out peephole2's that generate
8789         buggy code.
8790
8791 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
8792
8793         * genrecog.c (add_to_sequence): Disable mode check for
8794         wildcard matches.
8795
8796 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
8797
8798         * ggc-simple.c (init_ggc): Set empty_string.
8799
8800 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
8801
8802         * configure.in: Detect mmap.  Add --with-gc=foo to select
8803         garbage collector; default to page if mmap available.
8804         * Makefile.in (GGC): Substitute.
8805
8806 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
8807
8808         * c-decl.c (ggc_p): Enable.
8809
8810 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8811
8812         * flow.c (verify_flow_info): Make it extern & unconditionally define.
8813
8814 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
8815
8816         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
8817         string for little-endian-data.
8818
8819 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
8820
8821         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
8822         case somebody tries to compile --enable-checking code with gcc
8823         1.34 or such.
8824
8825 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
8826
8827         * genrecog.c (add_to_sequence): Verify operand to label_ref is
8828         VOIDmode.
8829
8830 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
8831
8832         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
8833         * jump.c (jump_optimize_1): Document why.
8834
8835 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8836
8837         * collect2.c (scan_prog_file, scan_libraries): Prototype function
8838         pointers and casts for `int_handler' and `quit_handler'.
8839
8840         * flow.c (verify_flow_info, split_hard_reg_notes,
8841         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
8842         remove_edge, remove_fake_successors): Add static prototypes.
8843         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
8844         (mark_set_1): Initialize variable `regno'.
8845         (unlink_insn_chain): Likewise for variable `curr'.
8846         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
8847
8848         * loop.c (strength_reduce): Initialize variable
8849         `unrolled_insn_copies'.
8850         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
8851         prototypes.  Change these functions to take const PTR parameters
8852         to avoid prototype conflict when used as the comparson argument
8853         for qsort.
8854         (check_dbra_loop): Initialize variable `comparison_val'.
8855
8856         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
8857         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
8858         (find_valid_class): Initialize variable `best_class'.
8859         (find_reloads): Call memcpy, not bcopy.
8860
8861         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
8862         (hard_reg_use_compare): Don't needlessly cast away const.
8863         (reload_reg_class_lower): Likewise.
8864         (choose_reload_regs): Initialize variable `regno'.
8865
8866 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
8867
8868         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
8869
8870 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
8871
8872         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
8873         ({,d}discard): Add forward declarations.  Declare parameter as
8874         unused.
8875         (main_without_main): Explicitly declare return type to be int.
8876         (memcpy): Properly declare.
8877
8878         * libgcc2.c (toplevel): If inhibit_libc is defined and not
8879         building the trampoline support, declare malloc, free, and
8880         atexit.
8881         (__clear_cache): Mark arguments as potentially unused.
8882
8883         * frame.c (toplevel): If inhibit_libc is defined, declare
8884         malloc and free.
8885
8886 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
8887
8888         * flow.c (make_edge): Accept an optional 2D bitmap in which
8889         to cache edge existence.  Update all callers.
8890         (make_label_edge, make_eh_edge): Pass through the edge cache.
8891         (make_edges): Provide the cache.
8892
8893 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8894
8895         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
8896         a char*.
8897         (local_mbtowc): Change the type of variable `i' from int to size_t.
8898
8899         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
8900         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
8901
8902 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
8903
8904         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
8905         after other includes that define the appropriate types.  Include
8906         tm_p.h for getting user prototypes.
8907         * ggc-callbacks.c (toplevel): Ditto.
8908         * ggc-none.c (toplevel): Ditto.
8909         * gcc-page.c (toplevel): Ditto.
8910         * ggc-simple.c (toplevel): Ditto.
8911
8912 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
8913                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
8914
8915         * config/mips/mips.c (mips_move_2words): Split doubles if
8916         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
8917
8918 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
8919
8920         * genrecog.c (struct decision_test): New.
8921         (struct decision): Remove test-related members, sort the rest by size.
8922         (IS_SPLIT): Simplify.
8923         (new_decision, new_decision_test): New.
8924         (add_to_sequence): Use them.  No special handling for args of
8925         non-MATCH codes.
8926         (maybe_both_true): Renamed from not_both_true; return sense changed.
8927         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
8928         of maybe_both_true and adjusted for decision_test.
8929         (position_merit): Remove.
8930         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
8931         (merge_accept_insn): New, broken out of merge_trees.
8932         (merge_trees): Use them.  No special case for c_test; no node
8933         splitting; use test type instead of position_merit.
8934         (factor_tests): New.
8935         (simplify_tests): New.
8936         (break_out_subroutines): Don't write code now.
8937         (find_afterward): New.
8938         (write_afterward, write_switch, write_cond): New.
8939         (write_action, is_unconditional): New.
8940         (write_node): New.  Use them.
8941         (write_tree_1): Rewrite.  Use the new functions above.
8942         (write_tree): Remove afterward processing.
8943         (write_subroutine): Simplify function variant emission.
8944         (write_subroutines): New.
8945         (same_codes, clear_codes): Remove.
8946         (same_modes, clear_modes): Remove.
8947         (write_header): New, broken out of main.
8948         (make_insn_sequence): Use new_decision and new_decision_test.
8949         (process_tree): New, broken out of main.
8950         (main): Adjust for merge_trees interface change.
8951         Don't #define operands in the output file.
8952         (record_insn_name): New, broken out of make_insn_sequence.
8953         (debug_decision_2, debug_decision_1, debug_decision_0): New.
8954         (debug_decision): New.
8955
8956 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
8957
8958         * resource.c (find_free_register): Mark class_str argument const.
8959         * resource.h: Update prototype to match.
8960
8961         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
8962         * i386.md: Give all anonymous insns names.
8963
8964 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
8965
8966         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
8967         blocks.
8968
8969 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
8970
8971         * toplev.c (dbr_sched_time): Unconditional.
8972         (peephole2_time): New.
8973         (compile_file): Add pass numbers to all of the dump file suffixes.
8974         Dump peephole2_time.  Don't dump times for non-applicable passes.
8975         (rest_of_compilation): Add pass numbers to dump file suffixes.
8976         Conditionalize calls to the scheduler.
8977         * invoke.texi: Update.
8978
8979 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
8980
8981         * flow.c (make_edges): Fix insn iteration.
8982         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
8983         (find_basic_blocks_1): Fix spelling mistake.
8984
8985 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
8986
8987         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
8988         always have side-effects.  Use memset not bzero.
8989         (make_node): Likewise.
8990
8991 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
8992
8993         * stmt.c (expand_anon_union_decl): When any of the elements of the
8994         union is addressable, so is the entire union.
8995
8996 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
8997
8998         * sbitmap.c (sbitmap_ones): Don't set too many bits.
8999
9000         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
9001         * bitmap.c (bitmap_operation): Return true iff TO changed.
9002         (bitmap_equal_p): New.
9003         (bitmap_bit_p): Tidy arithmetic.
9004         (debug_bitmap_file): Likewise.
9005
9006 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
9007
9008         * toplev.c (rest_of_compilation): Turn on cse_not_expected
9009         before cse2 instead of after.
9010
9011 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
9012
9013         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
9014         register offsets.
9015
9016 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9017
9018         * cppinit.c (is_idchar initializer): Loosen tests to accept
9019         gcc 2.>6 and >2.
9020
9021 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
9022
9023         * mips.md: Define conditional move patterns for floating point
9024         operands and DI mode conditions.
9025
9026 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
9027
9028         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
9029         always have side-effects.
9030
9031 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
9032
9033         * mn10200.c (asm_file_start): Fix typo.
9034
9035         * cppinit.c (is_idchar initializer): Tighten tests for when
9036         to put the table into initialized memory.
9037
9038         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
9039         not an array of rtunion.
9040         * gcc-page.c (ggc_alloc_rtvec): Similarly.
9041         * gcc-simple (ggc_free_rtvec): Similarly.
9042
9043         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
9044         of rtunions.
9045
9046         * mbchar.h: Add missing #endif.
9047
9048         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
9049         (FPBIT, DPBIT): Define.
9050
9051 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9052
9053         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
9054
9055         * profile.c (instrument_arcs, output_gcov_string,
9056         tablejump_entry_p): Add static prototypes.
9057         (output_gcov_string): Constify a char*.
9058
9059         * regmove.c (replacement_quality, fixup_match_2): Add static
9060         prototypes.
9061
9062         * resource.h (reg_dead_p): Add extern prototype.
9063
9064         * rtl.c (trim_filename): Add static prototype.
9065
9066         * scan-decls.c (skip_to_closing_brace): Likewise.
9067
9068         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
9069         (expand_end_case): Initialize variable `range'.
9070         (emit_case_nodes): Remove unused prototype `rtx_fn'.
9071
9072         * varasm.c (asm_emit_uninitialised): Add static prototype.
9073         (asm_emit_uninitialised, assemble_variable): Mark parameter with
9074         ATTRIBUTE_UNUSED.
9075
9076 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9077
9078         * cpplib.c (if_directive_nameo): Add static prototype.
9079
9080         * cse.c (cse_insn): Remove unused variable `p'.
9081
9082         * except.c (create_rethrow_ref, push_entry,
9083         receive_exception_label, new_eh_region_entry, find_func_region,
9084         clear_function_eh_region, process_nestinfo): Add static prototypes.
9085         (get_reg_for_handler): Hide definition.
9086         (process_nestinfo): Initialize variable `extra_handlers'.
9087
9088         * expr.h (expand_builtin_longjmp): Add extern prototype.
9089
9090         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
9091
9092         * function.c (prepare_function_start): Likewise.
9093         (pop_function_context_from): Mark parameter `context' with
9094         ATTRIBUTE_UNUSED.
9095         (push_temp_slots_for_block, flush_addressof): Hide definition.
9096
9097         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
9098         solve_program_flow_graph, calculate_branch_probs,
9099         function_summary, main, fancy_abort): Add prototypes.
9100
9101         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
9102         (add_hash): Constify a char*.
9103
9104         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
9105         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
9106         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
9107
9108         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
9109
9110         * lists.c (free_list, zap_lists): Likewise.
9111
9112 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9113
9114         * alias.c (nonlocal_reference_p): Add static prototype.
9115
9116         * bitmap.c (bitmap_element_allocate): Prototype args in function
9117         pointer cast.
9118
9119         * builtins.c (stabilize_va_list): Add static prototype.
9120         (expand_builtin_va_arg): Constify a char*.
9121
9122         * c-lex.c (getch, put_back, extend_token_buffer_to,
9123         read_line_number, token_getch, token_put_back): Add static
9124         prototypes.
9125
9126         * c-parse.gperf (hash, is_reserved_word): Likewise.
9127
9128         * cccp.c (is_dir_separator): Likewise.
9129
9130 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9131
9132         * graph.h: New file to prototype functions exported by graph.c.
9133
9134         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
9135
9136         * graph.c: Include graph.h.
9137
9138         * toplev.c: Likewise.  Remove redundant prototypes.
9139
9140 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
9141
9142         * invoke.texi: Removed duplicated description for -Q.
9143
9144 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
9145
9146         * extend.texi: Grammar fix in __extension__ text.
9147
9148 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
9149
9150         * md.texi (define_peephole2): New section.
9151
9152 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
9153
9154         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
9155         (mov $-1 to or peepholer): Enable for pentium when optimizing for
9156         speed.
9157
9158 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
9159
9160         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
9161
9162 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
9163
9164         * i386.md (ffs expander): Emit Pentium friendly code for
9165         TARGET_PENTIUM.
9166
9167 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
9168
9169         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
9170         for non-trees.
9171         (build1): Likewise.
9172
9173 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9174
9175         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
9176
9177 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
9178
9179         * config/m68k/m68k.c (use_return_insn): Return false if the pic
9180         register is in use.
9181
9182 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9183
9184         * md.texi (No Constraints): Delete section.
9185         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
9186         * final.c (final_scan_insn): We always have register constraints.
9187         * genattrtab.c: Don't include "insn-config.h".
9188         (write_attr_case): We always have register constraints.
9189         * genconfig.c (register_constraint_flag): Delete.
9190         (walk_insn_part): Don't check whether we have register constraints.
9191         (main): Don't write out "#define REGISTER_CONSTRAINTS".
9192         * genoutput.c (have_constraints): Delete.
9193         (main): Don't set it.
9194         (output_operand_data): We always have constraints.
9195         (scan_operands): Likewise.
9196         (compare_operands): Likewise.
9197         * local-alloc.c (block_alloc): We always have constraints.
9198         (requires_inout): Always compile this function.
9199         * recog.c (extract_insn): We always have constraints.
9200         (constrain_operands, reg_fits_class_p): Always compile these
9201         functions.
9202         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
9203         fields.
9204         (struct insn_operand_data): Likewise.
9205         * regclass.c (regclass): We always have constraints.
9206         (record_reg_classes, copy_cost, record_address_regs,
9207         auto_inc_dec_reg_p): Always compile these functions.
9208         * regmove.c (regmove_optimize): We always have constraints.
9209         * reload.c (find_reloads): Likewise.
9210         * reload1.c (reload): Likewise.
9211         (reload_cse_simplify_operands): Likewise.
9212         * i860.c (output_delay_insn): Likewise.
9213
9214 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
9215
9216         * iris6.h (BUILD_VA_LIST_TYPE): Define.
9217
9218 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9219
9220         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
9221         for the va_list record.
9222
9223 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
9224
9225         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
9226         prologues.
9227
9228 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
9229
9230         * alias.c: Include insn-flags.h.
9231         * Makefile.in (alias.o): Update.
9232
9233 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
9234
9235         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
9236         to LTU and GEU.  Handle more cases using sbb.
9237
9238 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
9239
9240         * i386.md (truncatexfdf splitters): Do not use subreg.
9241         (fop XFmode patterns): Fix mode in operand testing.
9242
9243 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
9244
9245         * jump.c (jump_optimize_1): Amend last change to test only the
9246         form of the operand, not the insn.
9247
9248         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
9249         not register_operand to determine when B may need preloading.
9250
9251 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
9252
9253         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
9254         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
9255         (call-value patterns): Move to end of file.
9256         (*): Remove mode from label_ref in (pc) context.
9257         (movstrqi): Use memory not general_operand for BLKmode operands.
9258         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
9259         to register_operand operands.
9260         (peep2 patterns): Convert from commented-out peephole patterns.
9261
9262 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9263
9264         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
9265         to BUILT_IN_INIT_DWARF_REG_SIZES.
9266         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
9267         Renamed from BUILT_IN_DWARF_REG_SIZE; call
9268         expand_builtin_init_dwarf_reg_sizes.
9269         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
9270         with __builtin_init_dwarf_reg_size_table.
9271         * dwarf2out.c (struct reg_size_range): Delete.
9272         (expand_builtin_init_dwarf_reg_sizes): New function.
9273         (expand_builtin_dwarf_reg_size): Delete.
9274         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
9275         (expand_builtin_dwarf_reg_size): Don't declare.
9276         * libgcc2.c (dwarf_reg_size_table_initialized): New.
9277         (dwarf_reg_size_table): New.
9278         (init_reg_size_table): New function.
9279         (copy_reg): Use dwarf_reg_size_table.
9280         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
9281         before use.
9282
9283 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
9284
9285         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
9286         Correctly build argument list to constructor and destructor functions.
9287
9288 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
9289
9290         * c-tree.h (warn_float_equal): Declare.
9291         * c-decl.c (warn_float_equal): Define.
9292         (c_decode_option): Recognize -W[no-]float-equal.
9293         * c-typeck.c (build_binary_op): Conditionally warn
9294         about equality tests of floating point types.
9295         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
9296         * invoke.texi: Add docs for -Wfloat-equal warning.
9297
9298 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
9299
9300         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
9301         generating RTL directly.
9302         * mips.h (INIT_TARGET_OPTABS): Likewise.
9303         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
9304
9305         * expr.h (init_mov_optab): Delete declaration
9306
9307         * h8300.c (WORD_REG_USED): Update to avoid useless register
9308         saves in interrupt functions and functions which never return.
9309
9310         * cse.c (struct set): Delete inner_dest_loc field.
9311         (cse_insn): Remove assignments to inner_dest_loc field.
9312
9313 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
9314
9315         * ggc-page.c: Don't include <unistd.h> etc taken care of
9316         by "system.h".  Include <sys/mman.h> afterward.
9317
9318 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
9319
9320         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
9321         ggc_alloc_string.
9322
9323 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
9324
9325         * xcoffout.c (xcoffout_declare_function): Add documentation.
9326         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
9327         TARGET_64BIT.  Compare constant to -1, not bit pattern.
9328         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
9329         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
9330         gen_movsi typos.
9331
9332 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
9333
9334         * dwarf2out.c (add_abstract_origin_attribute): Abort if
9335         origin_die is NULL.
9336         (gen_inlined_enumeration_type_die): Do not abort if the type has
9337         not been writeen out.
9338         (gen_inlined_structure_type_die): Do not abort if the type has
9339         not been writeen out.
9340         (gen_inlined_union_type_die): Do not abort if the type has
9341         not been writeen out.
9342         (gen_tagged_type_instantiation_die): Do not abort if the type
9343         has not been written out.
9344
9345 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9346
9347         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
9348         call it.
9349         * reg-stack.c (straighten_stack): Copy hard reg set with
9350         COPY_HARD_REG_SET.
9351
9352 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
9353
9354         * builtins.c (stabilize_va_list): Stabilize array type va_list
9355         to a pointer type, not the base record type.
9356         (expand_builtin_va_copy): Dereference the pointers explicitly;
9357         use the correct size for the copy.
9358
9359         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
9360         (rs6000_va_arg): Likewise.
9361
9362 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
9363
9364         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
9365
9366 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
9367
9368         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
9369         field.
9370         (DECL_BUILT_IN_CLASS): Adjust accordingly.
9371
9372 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
9373
9374         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
9375         (init_ggc): Use it instead of a constant.
9376         (ggc_collect): Bound allocated_last_gc by it.
9377
9378 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
9379
9380         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
9381         with va_list.
9382
9383 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
9384
9385         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
9386         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
9387         * configure:  Regen.
9388         * config/mips/openbsd.h:  New, OpenBSD little endian target.
9389         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
9390         * config/mips/xm-openbsd.h:  New, OpenBSD host.
9391
9392 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
9393
9394         * config/m68k/m68k.c (output_function_prologue,
9395         output_function_epilogue): Use
9396         current_function_uses_pic_offset_table instead of regs_ever_live
9397         to decide whether to save/restore pic register.
9398         (legitimize_pic_address): Don't modify regs_ever_live any more.
9399
9400 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
9401
9402         * function.h (struct function): Add x_dont_save_pending_sizes_p.
9403         * stor-layout.c (variable_size): Don't add sizes to the pending
9404         sizes list if x_dont_save_pending_sizes_p is set.
9405
9406 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
9407
9408         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
9409         for symbolic_operand().
9410         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
9411
9412 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9413
9414         * combine.c (gen_rtx_combine): Add missing call to va_end().
9415
9416         * final.c (asm_fprintf): Likewise.
9417
9418         * genattrtab.c (attr_rtx): Likewise.
9419
9420 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
9421
9422         * cse.c: Update comments.
9423         (cse_insn): When converting a conditional/computed jump into
9424         an unconditional jump, always make sure a BARRIER immediately
9425         follows the converted jump.  Do not delete unreachable code.
9426         (cse_basic_block): Do not delete unreachable code.
9427         * toplev.c (rest_of_compilation): Move call to
9428         delete_trivially_dead_insns after the conditional call to
9429         jump_optimize.
9430
9431 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9432
9433         * collect2.c (make_temp_file): Don't prototype.
9434
9435         * gcc.c (make_temp_file): Likewise.
9436
9437         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
9438
9439 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
9440
9441         * varasm.c (asm_emit_uninitialised): New function: Generate
9442         the assembler statements necessary to declare an uninitialised
9443         variable.
9444         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
9445         variable.
9446         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
9447         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
9448         section.
9449         (assemble_variable): Use asm_emit_uninitialised to emit an
9450         uninitialised variable.
9451
9452 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
9453
9454         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
9455         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
9456         <geoffk@cygnus.com>.
9457
9458 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9459
9460         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
9461         * c-common.h (builtin_function): Don't declare.
9462
9463         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
9464         DECL_BUILT_IN.
9465         (pushdecl): Likewise.
9466         (finish_decl): Likewise.
9467         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
9468         int.  All callers changed.
9469         Set the builtin's DECL_BUILT_IN_CLASS.
9470         * tree.h (enum built_in_class): New.
9471         (enum built_in_function): Delete NOT_BUILT_IN.
9472         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
9473         in a union.
9474         (DECL_SET_FUNCTION_CODE): Likewise.
9475         (DECL_BUILT_IN_CLASS): New macro.
9476         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
9477         (struct tree_decl): Split builtin function code field into a
9478         struct.
9479         (builtin_function): Declare.
9480
9481 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
9482
9483         * optabs.c (init_traps): Fix typo in last change.
9484
9485 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
9486
9487         * toplev.c (rest_of_decl_compilation): Update comment.
9488
9489 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
9490
9491         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
9492         in .sbss if appropriate.
9493         (EXTRA_SECTION_FUNCTIONS): Add sbss.
9494         (SBSS_SECTION_ASM_OP): New macro.
9495         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
9496         (EXTRA_SECTIONS): Add in_sbss.
9497         * config/mips/mips.h: Prototype sbss_section.
9498
9499 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
9500
9501         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
9502         to disappear.
9503
9504 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
9505
9506         * optabs.c (init_traps): Register trap_rtx as a GC root.
9507
9508 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9509
9510         * config/mips/mips.c (function_arg_pass_by_reference): Define
9511         unconditionally, since it's called unconditionally.
9512
9513 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
9514
9515         * toplev.c (documented_lang_options): Add -fshort-wchar.
9516         * c-decl.c (c_decode_option): Likewise.
9517         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
9518         for wchar_t.
9519         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
9520         * gcc.c (default_compilers): If -fshort-wchar,
9521         override __WCHAR_TYPE__.
9522         * tm.texi (C Dialect Options): Add -fshort-wchar.
9523
9524         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
9525         symbol for a variable.
9526
9527         * cpplib.h (CPP_PREPROCESSED): New macro.
9528         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
9529         we're seeing this input for a second time.
9530
9531 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
9532
9533         * emit-rtl.c (init_emit_once): Initialize modes first.
9534
9535 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
9536
9537         * config/i386/i386.c (pic_label_name): Change to char pointer.
9538         (global_offset_table): New variable.
9539         (load_pic_register): Fill global_offset_table if it hasn't
9540         already been done.  Allocate pic_label_name dynamically.
9541         * ggc.h (empty_string): New variable.
9542         * ggc-simple.c (empty_string): Likewise.
9543         (init_ggc): Allocate empty_string and add as root.
9544         * stmt.c (digit_strings): New variable.
9545         (init_stmt): Add last_block_end_note as root.  Allocate and
9546         initialize digit_strings.
9547         (expand_asm_operands): Use empty_string instead of string
9548         constant.  Use digit_strings instead of string constants.
9549         * profile.c (init_arc_profiler): Allocate string with
9550         ggc_alloc_string instead of xmalloc.
9551         (output_func_start_profiler): Likewise.
9552         * c-typeck.c (digest_init): Check if init is error_mark_node.
9553
9554 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
9555                           Richard Henderson  <rth@cygnus.com>
9556
9557         * ggc-page.c: New file.
9558         * Makefile.in (ggc-page.o): New.
9559
9560 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
9561
9562         * invoke.texi: Document -fdelete-null-pointer-checks
9563         * toplev.c (flag_delete_null_pointer_checks): New.
9564         (f_options): Add entry for -fdelete-null-pointer-checks.
9565         (rest_of_compilation): Conditionalize null pointer check
9566         elimination on flag_delete_null_pointer_checks.
9567         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
9568
9569 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
9570
9571         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
9572         copyright notice and special exception to GPL.
9573
9574 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9575
9576         * abi64.h (mips_function_value): Add prototype arguments.
9577
9578         * mips-protos.h: New file with mips prototypes.
9579
9580         * mips.c: Include "tm_p.h".
9581         (mktemp, lookup_name): Add prototype arguments.
9582         (extern_list, string_constant, mips_fill_delay_slot,
9583         mips_output_external, mips_output_external_libcall,
9584         mips_output_filename, mips_declare_object, function_prologue,
9585         mips_expand_prologue, function_epilogue, mips16_constant,
9586         build_mips16_function_stub, mips_output_conditional_branch):
9587         Constify a char*.
9588         (mips_va_start): Remove unused variable `u'.
9589         (mips_va_arg): Cast value to unsigned when comparing against one.
9590         (trace): Delete.
9591         (save_restore_insns, mips_expand_prologue): Add missing arg in
9592         call to `large_int'.
9593
9594         * mips.h: Move prototypes to mips-protos.h.
9595         (data_section, memory_address_p, rdata_section,
9596         readonly_data_section, simple_epilogue_p, text_section): Delete
9597         prototypes delcared elsewhere.
9598         (mips_epilogue_delay_slots, print_options): Delete unused decls.
9599         (trace): Delete.
9600         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
9601
9602         * mips.md: Delete extra args in call to `mips_move_2words'.
9603
9604         * xm-iris6.h (alloca): Add prototype argument.
9605
9606         * genpeep.c: Include "tm_p.h" in generated output file.
9607
9608 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9609
9610         * basic-block.h (find_edge_index): Change parameters.
9611         * flow.c (verify_edge_list): Pass basic_block parameters to
9612         find_edge_index instead of integers.
9613
9614 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
9615
9616         * combine.c (simplify_comparison): Use an unsigned shift to adjust
9617         the constant.
9618
9619 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
9620
9621         * gcc.1: Fix a formatting error.
9622
9623 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9624
9625         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
9626         i786, mn10200, mn10300, pdp11, v850.
9627
9628 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
9629
9630         * libgcc2.c (num_digits): Add prototype with
9631         __attribute__((const)).
9632         (__terminate): Add prototype.
9633
9634 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
9635
9636         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
9637
9638         * alpha/alpha.c (print_operand): Fix type of `code'.
9639         (alpha_output_filename): Constify.
9640         * alpha/alpha.h: Move all function declarations ...
9641         * alpha/alpha-protos.h: ... here.  New file.
9642         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
9643         (SECTION_FUNCTION_TEMPLATE): Likewise.
9644
9645 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9646
9647         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
9648         * expr.c (expand_expr): Likewise.
9649         (do_jump): Likewise.
9650         (do_store_flag): Pass ccp_store_flag to can_compare_p.
9651         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
9652         accessor macros.
9653         (enum can_compare_purpose): New.
9654         (can_compare_p): Adjust prototype.
9655         (prepare_cmp_insn, prepare_operand): Declare.
9656         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
9657         * optabs.c (cmp_available_p): Deleted.
9658         (expand_abs): Pass ccp_jump to can_compare_p.
9659         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
9660         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
9661         Call can_compare_p rather than cmp_available_p.
9662         (prepare_operand): No longer static.
9663         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
9664         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
9665         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
9666         sequence to use emit_cmp_and_jump_insns.
9667         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
9668
9669 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
9670
9671         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
9672         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
9673         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
9674         (plus (reg) (const_int 0))
9675         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
9676
9677 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
9678
9679         * rs6000.c (expand_block_move): DImode loads and stores require
9680         word-aligned displacements.  Increment address registers with
9681         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
9682
9683 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
9684
9685         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
9686         is no name for the base type, rather than segfault.  If we are
9687         writing out a complex integer type, use DW_ATE_lo_user.
9688
9689         * expr.c (emit_move_insn_1): If we are copying a complex that fits
9690         in one word or less (complex char, complex short, or on 64 bit
9691         systems complex float) to/from a hard register, copy it through
9692         memory instead of dying in gen_{real,imag}part.  If we have a
9693         short complex type, prevent inlining since it allocates stack
9694         memory.
9695
9696         * tree.c (build_complex_type): If we are writing dwarf2 output,
9697         generate a name for complex integer types.
9698
9699 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9700
9701         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
9702         * flow.c (remove_edge): Remove extra whitespace.
9703         (remove_fake_edges): Fix comment.
9704         (add_noreturn_fake_exit_edges): Use the correct name.
9705
9706 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
9707
9708         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
9709         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
9710         (clean): Depend on INTL_CLEAN.
9711         (maintainer-clean): Adjust.
9712
9713 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9714
9715         * configure.in (AC_PREREQ): Bump to 2.13.
9716         (AC_C_STRINGIZE): Call this instead of using a custom macro.
9717
9718         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
9719
9720         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
9721
9722         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
9723
9724         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
9725         (HAVE_STRINGIZE): Define.
9726
9727 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
9728
9729         * c-parse.in: save and restore warn_pointer_arith on __extension__
9730         along with pedantic.
9731         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
9732         Set the type of extension to itype rather than $<itype>1 kludge.
9733         * extend.texi (Alternate Keywords): Adjust documentation.
9734         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
9735
9736 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
9737
9738         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
9739         most assembler templates.
9740
9741         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
9742         FP loads and stores.
9743         (following_call): Always return zero for the PA8000.
9744         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
9745         FP loads and stores.
9746         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
9747
9748         * pa.h (BRANCH_COST): Define.
9749
9750         * pa.md (return, return_internal): Use bve for PA2.0.
9751
9752         * pa.md (fused multiply): Add variants which reduce height for the
9753         fused multiply, but which still generate 2 insns.
9754         (fnegabs): Similarly.
9755
9756         * pa.md (subsi3): Turn into an expander.  Create two anonymous
9757         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
9758         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
9759
9760         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
9761         for TARGET_PA_20.
9762         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
9763         code generation.
9764         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
9765         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
9766
9767         * regclass.c (init_regs): Add "top_of_stack" as a garbage
9768         collection root.
9769
9770         * flow.c (record_active_eh_regions): Terminate loop after finding
9771         the last insn in the last basic block.
9772
9773 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9774
9775         * config/c4x/c4x.md: Delete parallel instruction peepholes.
9776
9777 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9778
9779         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
9780
9781 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9782
9783         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
9784         splitting to not use output template.
9785
9786 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9787
9788         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
9789         * config/c4x/c4x.c (c4x_va_start): New function.
9790
9791 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
9792
9793         * genrecog.c (not_both_true): Handle correctly cases when called for
9794         tests with different positions in the insn.
9795
9796 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9797
9798         * machmode.h (HOST_PTR_PRINTF): Move from here ...
9799
9800         * system.h (HOST_PTR_PRINTF): ... to here.
9801
9802         * mips-tfile.c: Don't include machmode.h.
9803
9804         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
9805         (mips-tfile.o): Don't depend on machmode.h.
9806
9807 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9808
9809         * haifa-sched.c (sched_analyze): Rename local variable `region' to
9810         avoid conflicts with typedef struct `region' at the top level scope.
9811
9812 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
9813
9814         * basic-block.h (basic_block): Add eh_beg, eh_end.
9815         * flow.c (entry_exit_blocks): Update.
9816         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
9817         Call new functions.
9818         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
9819         lists.c functions to allocate insn lists.
9820         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
9821         edge creation ...
9822         (make_eh_edge): ... here.  New.
9823         (move_stray_eh_region_notes): New.
9824         (record_active_eh_regions): New.
9825         (delete_unreachable_blocks): Split out block merging ...
9826         (try_merge_blocks): ... here.  New.
9827         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
9828         Dump debugging data.
9829         (merge_blocks_move_successor_nojumps): Likewise.
9830         (merge_blocks): Use eh_beg+eh_end to validate block movement.
9831
9832 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
9833
9834         * extend.texi (Bound member functions): Document unbound pmf
9835         conversion.
9836
9837 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9838
9839         * flow.c (split_edge): Handle insertion on a fallthrough edge which
9840         has the EXIT_BLOCK as a dest.
9841
9842 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9843
9844         * flow.c (remove_edge): New function to remove an edge from the
9845         flow graph.
9846         (remove_fake_successors): New function to remove fake successor edges.
9847         (remove_fake_edges): New function to remove all fake edges from the
9848         flow graph.
9849         (add_fake_exit_edges): New function to add fake edges from all blocks
9850         with no successors to the exit block.
9851         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
9852         prototypes for new functions.
9853
9854 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
9855
9856         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
9857         Use Pmode to determine whether to output .dword or .word.
9858
9859 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
9860
9861         * tree.c (built_in_filename): New variable.
9862         (BUILT_IN_FILENAME): New macro.
9863         (init_tree_codes): Allocate built_in_filename.
9864         (make_node): Use built_in_filename instead of string constant.
9865
9866 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
9867
9868         * configure.in: Add fr30 target.
9869         * configure: Regenerate.
9870         * config/fr30: New directory.
9871         * config/fr30/crti.asm: New file.
9872         * config/fr30/fr30.c: New file.
9873         * config/fr30/crtn.asm: New file.
9874         * config/fr30/fr30.h: New file.
9875         * config/fr30/fr30.md: New file.
9876         * config/fr30/lib1funcs.asm: New file.
9877         * config/fr30/t-fr30: New file.
9878         * config/fr30/xm-fr30.h: New file.
9879
9880 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
9881
9882         * flow.c (merge_blocks_move_successor_nojumps): Delete the
9883         BARRIER at the end of the successor, not the BARRIER before
9884         the successor.
9885
9886         * pa.c (pa_add_gc_roots): Fix thinko in last change.
9887
9888 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
9889
9890         * stmt.c (any_pending_cleanups): Don't crash when
9891         current_function->stmt is unset.
9892
9893 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9894
9895         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
9896         other initializations that may use it for relative offsets.
9897
9898 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9899
9900         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
9901         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
9902         * config/i386/sol2dbg.h: Removed.
9903         * config/i386/sol2gas.h: New file, to enable gas work-around.
9904         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
9905         Don't use sol2dbg.h.
9906         * configure: Rebuilt.
9907
9908 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
9909
9910         * invoke.texi (-fthis-is-variable): Remove documentation.
9911
9912 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
9913
9914         * basic-block.h (compute_bb_for_insn): Declare.
9915         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
9916         to use; set size of basic_block_for_insn directly.
9917         (find_basic_blocks): Update.
9918
9919 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9920
9921         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
9922
9923 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9924
9925         * crtstuff.c (ON_EXIT): Delete empty macro definition.
9926         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
9927
9928 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
9929
9930         * c-decl.c (c_decode_option): Extend comment.
9931
9932 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
9933
9934         * toplev.c (progname): Make 'const char *'
9935         (flag_print_mem): Move out of main.
9936         (version_flag): Move out of main.
9937         (filename): Move out of main.
9938         (debug_args): Remove g prefix from options.
9939         (documented_lang_options): Remove cpplib specific options.
9940         (display_help): Add g prefix to debug options.
9941         (check_lang_option): Delete this function.
9942         (decode_d_option): New function: Decode -d... option.
9943         (decode_f_option): New function: Decode -f... option.
9944         (decode_W_option): New function: Decode -W... option.
9945         (decode_g_option): New function: Decode -g... option.
9946         (independent_decode_option): New function: Decode a language
9947         independent command line option.
9948         (main): Invoke lang_decode_option and then
9949         independent_decode_option on each command line option in
9950         turn.
9951
9952 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
9953
9954         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
9955          * fold-const.c (fold_range_test): Do not try to fold the range
9956          test if the rhs or lhs has side effects.
9957
9958         * basic-block.h (compute_flow_dominators): Declare.
9959
9960         * gcse.c (alloc_code_hoist_mem): New function.
9961         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
9962         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
9963         (hoist_code, one_code_hoisting_pass): Likewise.
9964         (gcse_main): If optimizing for size, then hoist expressions
9965         computed in multiple dominated basic blocks.
9966
9967         * gcse.c (invalid_nonnull_info): New function.
9968         (delete_null_pointer_checks): Likewise.
9969         * rtl.h (delete_null_pointer_checks): Declare.
9970         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
9971
9972         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
9973         (merge-blocks_move_successor_nojumps): Likewise.
9974         (merge_blocks): Allow merging of some blocks, even if it requires
9975         physical movement of the blocks, but not if it requires new jumps.
9976
9977         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
9978         Callers and prototype changed.
9979         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
9980
9981 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9982
9983         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
9984         -YP when both -p and -pg are present.  From i386/sol2.h.
9985
9986 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9987
9988         * Makefile.in (distclean): Delete tm_p.h.
9989         * configure.in: Create a new file, "tm_p.h", from a list in
9990         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
9991         "i386/i386-protos.h".
9992
9993         * alias.c: Include "tm_p.h".
9994         * c-typeck.c: Likewise.
9995         * calls.c: Likewise.
9996         * cse.c: Likewise.
9997         * emit-rtl.c: Likewise.
9998         * explow.c: Likewise.
9999         * expmed.c: Likewise.
10000         * expr.c: Likewise.
10001         * final.c: Likewise.
10002         * flow.c: Likewise.
10003         * fold-const.c: Likewise.
10004         * function.c: Likewise.
10005         * gcse.c: Likewise.
10006         * global.c: Likewise.
10007         * haifa-sched.c: Likewise.
10008         * integrate.c: Likewise.
10009         * jump.c: Likewise.
10010         * local-alloc.c: Likewise.
10011         * loop.c: Likewise.
10012         * optabs.c: Likewise.
10013         * recog.c: Likewise.
10014         * reg-stack.c: Likewise.
10015         * regclass.c: Likewise.
10016         * regmove.c: Likewise.
10017         * reload.c: Likewise.
10018         * reload1.c: Likewise.
10019         * reorg.c: Likewise.
10020         * resource.c: Likewise.
10021         * stmt.c: Likewise.
10022         * stor-layout.c: Likewise.
10023         * toplev.c: Likewise.
10024         * tree.c: Likewise.
10025         * unroll.c: Likewise.
10026         * genattrtab.c (main): Make generated file include "tm_p.h".
10027         * genemit.c (main): Likewise.
10028         * genoutput.c (main): Likewise.
10029         * genrecog.c (main): Likewise.
10030
10031         * i386.h: Delete all prototypes.
10032         * i386.c: Include "tm_p.h".
10033         (ix86_attr_length_default): Call constant_call_address_operand
10034         with correct number of arguments.
10035         * i386-protos.h: New file.
10036         * i386.md (unnamed patterns): Call constant_call_address_operand
10037         with correct number of arguments.
10038         (exception_receiver): Call load_pic_register with correct number
10039         of arguments.
10040
10041 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
10042
10043         * c-pragma.c (mark_align_stack): Dereference the void* properly.
10044
10045 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
10046
10047         * rtl.h (insns_safe_to_move_p): New function.
10048         * loop.c (find_and_verify_loops): Use it.
10049         * rtlanal.c (insns_safe_to_move_p): Define it.
10050
10051 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
10052
10053         * c-pragma.c: Include ggc.h.
10054         * Makefile.in (c-pragma.o): Update.
10055
10056 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10057
10058         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
10059         (LIB_SPEC): Likewise.
10060         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
10061         Reindent -YP/-p/-pg.
10062         Copied from config/sparc/sol2.h.
10063
10064 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
10065
10066         * c-pragma.c (mark_align_stack): New.
10067         (init_pragma): New.
10068         * c-pragma.h (init_pragma): Declare it.
10069         * c-lex.c (init_parse): Call it.
10070
10071 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10072
10073         * configure.in: Pick up thread library on Solaris/x86 just
10074         like on Solaris/sparc.
10075         * configure: Rebuilt.
10076
10077 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
10078
10079         * rtl.h (global_rtx_index): New enum.
10080         (global_rtl): Change to array of rtx.
10081         (pc_rtx, cc0_rtx): Redefine accordingly.
10082         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
10083         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
10084         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
10085         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
10086         (const_int_rtx): Change to array of rtx.
10087         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
10088         accordingly.
10089         * emit-rtl.c (global_rtl): Change to array of rtx.
10090         (const_int_rtx): Change to aray of rtx.
10091         (gen_rtx_CONST_INT): Redefine accordingly.
10092         (init_emit_once): Allocate and initialize global_rtl.  Likewise
10093         for const_int_rtx.  Add both as GC roots.
10094         * genattrtab.c (global_rtl): Update declaration.
10095
10096 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
10097
10098         * Makefile (USER_H): Add iso646.h back.
10099
10100 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
10101
10102         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
10103         zapping the LOG_LINKS of sched_before_next_call.
10104
10105         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
10106         * pa.c (insn_refs_are_delayed): Renamed from
10107         insn_sets_and_refs_are_delayed.
10108
10109 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
10110
10111         * functiion.h (struct function): Add x_whole_function_mode_p.
10112         (retrofit_block): Declare.
10113         * function.c (retrofit_block): New function.
10114         (identify_blocks): Add assertions.  Allow an incomplete set of
10115         block notes if we're still generating code for the function.
10116         * integrate.c: Include loop.h.
10117         (expand_inline_function): Call find_loop_tree_blocks to map block
10118         notes to blocks when in whole-function mode.  Use retrofit_block
10119         to insert new BLOCKs for the inlined function, rather than
10120         insert_block.
10121         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
10122         * Makefile.in (integrate.o): Depend on loop.h.
10123
10124 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
10125
10126         * tree.h (warn_about_unused_variables): Declare.
10127         * stmt.c (warn_about_unused_variables): New function, split out
10128         from ...
10129         (expand_end_bindings): Here.
10130
10131 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
10132
10133         * stmt.c (preserve_subexpressions_p): Don't crash when
10134         current_function->stmt is unset.
10135
10136 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
10137
10138         * stmt.c (expand_start_bindings): Allow callers to pass a flag
10139         indicating that no NOTE_INSN_BLOCK_BEG note is required.
10140         (expand_start_target_temps): Use it.
10141         * except.c (expand_eh_region_start_for_decl): Likewise.
10142         * expr.c (expand_expr): Likewise.
10143
10144 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
10145
10146         * fold-const.c (operand_equal_p): Pay attention to side effects.
10147
10148 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
10149
10150         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
10151         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
10152
10153         * tlink.c (scan_linker_output): Look for keywords before accepting
10154         a mangled name in quotes.
10155
10156 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
10157
10158         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
10159         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
10160
10161 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
10162
10163         * alpha.md: Revert Thu Nov 26 change that came in through the
10164         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
10165         Avoid earlyclobber when possible.
10166
10167 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10168
10169         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
10170
10171         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
10172         Define HAVE_ON_EXIT.
10173
10174 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10175
10176         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
10177         CTYPE_CONV in all ctype macros.
10178
10179         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
10180         from system.h.
10181
10182         * cexp.y (initialize_random_junk): Likewise.
10183
10184         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
10185
10186         * i370.c (handle_pragma): Likewise.
10187
10188         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
10189
10190         * v850.c (override_options): Likewise.
10191
10192         * doprint.c (_doprnt): Likewise.
10193
10194         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
10195         Likewise.
10196
10197         * fixinc/server.c (load_data): Likewise.
10198
10199         * fold-const.c (real_hex_to_f): Likewise.
10200
10201         * genattr.c (write_upcase, gen_attr): Likewise.
10202
10203         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
10204         write_upcase): Likewise.
10205
10206         * genemit.c (print_code): Likewise.
10207
10208         * genopinit.c (gen_insn): Likewise.
10209
10210         * genpeep.c (print_code): Likewise.
10211
10212         * genrecog.c (print_code): Likewise.
10213
10214         * optabs.c (init_libfuncs): Likewise.
10215
10216 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
10217
10218         * haifa-sched.c (sched_analyze): Keep the list of notes organized
10219         in pairs.
10220         (reemit_notes): Likewise.
10221
10222 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
10223
10224         * ggc.h (ggc_root): Move to ggc-common.c.
10225         (roots): Remove.
10226         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
10227         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
10228         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
10229         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
10230         * ggc-common.c (ggc_root): Move from ggc.h.
10231         (roots): Declare, static.
10232         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
10233         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
10234         null or check/set mark bit.
10235         (ggc_mark_roots): New.
10236         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
10237
10238 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
10239
10240         * m32r.c: Include toplev.h.
10241         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
10242         (gen_compare): Rename swap_p to must_swap to match uses.
10243         Add default abort case.
10244         (m32r_output_function_epilogue): Remove unused variables.
10245         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
10246         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
10247         define to empty parameter list.  Update all uses.
10248         (predicate decls): Use enum machine_mode not int.
10249         * m32r.md (movsi): Call abort, not fatal_insn.
10250         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
10251
10252 1999-09-14  Andrew Haley  <aph@cygnus.com>
10253
10254         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
10255         use $0 instead of 0.
10256
10257 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10258
10259         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
10260         computation out of loop over hard regs.
10261
10262 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
10263
10264         * function.c (identify_blocks): Don't shadow a variable in an
10265         outer scope.
10266         * integrate.c (integrate_decl_tree): Don't use pushlevel,
10267         pushdecl, or poplevel to build up the new BLOCK tree.
10268         (expand_inline_function): Likewise.
10269         (integrate_parm_decls): Likewise.
10270
10271 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
10272
10273         * c-typeck.c (qualify_type): Merge qualifiers from both types.
10274
10275 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
10276
10277         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
10278         * invoke.texi: Document this change.
10279
10280 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
10281
10282         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
10283         Free the struct.
10284         (mark_emit_status): Renamed from mark_emit_state.
10285         * except.c (mark_eh_status): Renamed from mark_eh_state.
10286         Check not null before marking.
10287         (free_eh_status): New.
10288         * expr.c (mark_expr_status, free_expr_status): New.
10289         * function.c (free_machine_status): New.
10290         (free_after_parsing): New.
10291         (free_after_compilation): Move bits to free_after_parsing; call
10292         free_eh_status, free_expr_status; zero the marked members of the
10293         function state.
10294         (prepare_function_start): No can_garbage_collect.
10295         Call init_eh_for_function.
10296         (expand_dummy_function_end): Free up current_function state.
10297         (mark_function_status): Renamed from mark_function_state.
10298         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
10299         * function.h (struct function): No can_garbage_collect.
10300         (free_machine_status, free_after_parsing): Declare.
10301         (free_eh_status, free_expr_status): Declare.
10302         * ggc.h (mark_expr_status): Declare.
10303         * stmt.c (free_stmt_status): Free the struct.
10304         (mark_stmt_status): Renamed from mark_stmt_state.
10305         (init_stmt): Don't call init_eh.
10306         (init_stmt_for_function): Don't call init_eh_for_function.
10307         * toplev.c (compile_file): Call init_eh.
10308         (rest_of_compilation): Free basic block info before ggc_collect.
10309         Call free_after_parsing; conditionally call free_after_compilation.
10310         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
10311         Check not null before marking.
10312         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
10313
10314 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
10315
10316         * c-lex.c (yylex): Initialize warn.
10317
10318 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
10319
10320         * pa.c (emit_move_sequence): Properly set the mode of the scratch
10321         register when performing secondary reloads for the SAR register.
10322
10323 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
10324
10325         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
10326         (NOTE_BLOCK): New macro.
10327         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
10328         * function.h (identify_blocks): Change prototype.
10329         * function.c (identify_blocks): Simplify.
10330         (reorder_blocks): Likewise.
10331         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
10332         NOTE_INSN_BLOCK_{BEG,END}.
10333         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
10334         the list of saved notes if the note isn't a
10335         NOTE_INSN_BLOCK_{BEG,END}.
10336         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
10337         NOTE_BLOCK_NUMBER.
10338         (reemit_notes): Adjust recreation of notes to reflect new saved
10339         note structure.
10340         * print-rtl.c (print_rtx): Print the address of the BLOCK when
10341         printing a block note.
10342         * stmt.c (block_vector): Remove.
10343         (find_loop_tree_blocks): Simplify.
10344         (unroll_block_trees): Likewise.
10345         * tree.h (reorder_block): Change prototype.
10346
10347 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
10348
10349         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
10350         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
10351         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
10352         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
10353         (atexit, exit): Simplify.
10354         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
10355         * config/lots: Remove defns of HAVE_ATEXIT.
10356
10357 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
10358
10359         * calls.c (precompute_arguments): Fix typo in comment.
10360         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
10361         TARGET_EXPR.
10362
10363 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
10364
10365         * dsp16xx.c (override_options): Fix typos in GC root registration.
10366
10367 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
10368
10369         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
10370         from config/svr4.h.
10371         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
10372         (FUNCTION_PROFILER): Redefine appropriately for Linux.
10373         (CC1_SPEC): Likewise.
10374
10375 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10376
10377         * genattr.c (main): Add extern prototype.  Call return, not exit.
10378         * genattrtab.c (main): Likewise.
10379         * gencheck.c (main): Likewise.
10380         * gencodes.c (main): Likewise.
10381         * genconfig.c (main): Likewise.
10382         * genemit.c (main): Likewise.
10383         * genextract.c (main): Likewise.
10384         * genflags.c (main): Likewise.
10385         * gengenrtl.c (main): Likewise.
10386         * genopinit.c (main): Likewise.
10387         * genoutput.c (main): Likewise.
10388         * genpeep.c (main): Likewise.
10389         * genrecog.c (main): Likewise.
10390
10391         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
10392         * genattrtab.c (get_insn_name): Likewise.
10393         * gencodes.c (get_insn_name): Likewise.
10394         * genconfig.c (get_insn_name): Likewise.
10395         * genemit.c (get_insn_name): Likewise.
10396         * genextract.c (get_insn_name): Likewise.
10397         * genflags.c (get_insn_name): Likewise.
10398         * genopinit.c (get_insn_name): Likewise.
10399         * genpeep.c (get_insn_name): Likewise.
10400
10401         * gencheck.c (usage): Add static prototype.
10402         * genextract.c (print_path): Constify a char*.
10403         * genopinit.c (optabs): Likewise.
10404         * genoutput.c (operand_data, data, output_predicate_decls,
10405         compare_operands): Likewise.
10406         * genrecog.c (write_tree): Add default case in switch.
10407
10408 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10409
10410         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
10411
10412         * print-rtl.c (get_insn_name): Remove prototype.
10413
10414         * toplev.h (progname): Declare const.
10415
10416         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
10417         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
10418         dump_sched_info, dump_local_alloc, regset_release_memory,
10419         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
10420         error_with_file_and_line, error_with_decl, error_for_asm, error,
10421         fatal, warning_with_file_and_line, warning_with_decl, warning,
10422         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
10423         Remove redundant prototypes.
10424
10425         (notice, check_lang_option, report_file_and_line, vnotice,
10426         mark_file_stack): Add static prototype.
10427         (set_fatal_function): Add prototype.
10428         (vnotice, report_file_and_line, set_fatal_function,
10429         check_lang_option): Constify a char*.
10430         (main): Prototype.  Call return, not exit.
10431
10432 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10433
10434         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
10435
10436         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
10437
10438         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
10439
10440         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
10441
10442 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10443
10444         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
10445         behave as if it's zero in all cases.
10446         (expand_function_start): Adjust call to assign_parms.
10447         * tree.h (assign_parms): Adjust prototype.
10448         * objc/objc-act.c (hack_method_prototype): Adjust call to
10449         assign_parms.
10450
10451 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
10452
10453         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
10454         arg_pointer_rtx fixed if the argument pointer register is
10455         not fixed.
10456         (NONZERO_BASE_PLUS_P): Likewise.
10457
10458 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
10459
10460         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
10461         match_insn2 to match_insn.
10462         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
10463
10464 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
10465
10466         * Makefile.in (USER_H): Remove va-foo.h.
10467
10468         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
10469         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
10470         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
10471         va-spur.h,va-v850.h}: Remove.
10472
10473 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
10474
10475         * sparc/sparc.md (eligible_for_return_delay): New attribute.
10476         (in_return_delay): Use it instead of match_insn.
10477
10478 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10479
10480         * config/alpha/va_list.h (va-alpha.h): Do not include.
10481         (__gnuc_va_list): Typedef as in varargs.h.
10482
10483 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
10484
10485         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
10486         DECL_LIVE_RANGE_RTL.
10487
10488 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
10489
10490         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
10491         not NOTE_BLOCK_NUMBER.
10492         (expand_eh_region_end): Likewise.
10493         (find_exception_handler_labels): Likewise.
10494         (scan_region): Likewise.
10495         (exception_optimize): Likewise.
10496         (update_rethrow_references): Likewise.
10497         (set_insn_eh_region): Likewise.
10498         * final.c (final_scan_insn): Likewise.
10499         * flow.c (make_edges): Likewise.
10500         * integrate.c (expand_inline_function): Likewise.
10501         * print-rtl.c (print_rtx): Likewise.
10502
10503 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
10504
10505         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
10506         terms of builtin functions and types.
10507
10508         * mips.c (mips_build_va_list): New.
10509         (mips_va_start, mips_va_arg): New.
10510         * mips.h (BUILD_VA_LIST_TYPE): New.
10511         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10512
10513         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
10514         (sh_build_va_list, sh_va_start, sh_va_arg): New.
10515         * sh.h (BUILD_VA_LIST_TYPE): New.
10516         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10517
10518 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
10519
10520         * recog.h (struct recog_data): Make dup_num, operand_address_p,
10521         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
10522         (struct insn_data): Likewise with n_operands, n_dups,
10523         n_alternatives, output_format.
10524         * regclass.c (scan_one_insn): Cast n_operands to int before
10525         arithmetic inside comparison.
10526
10527 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
10528
10529         * toplev.c (compile_function): Unconditionally emit nop.
10530
10531 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10532
10533         * haifa-sched.c (actual_hazard): Move declaration of variable
10534         `this_cost' into the scope where it is used.
10535
10536 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10537
10538         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
10539         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
10540         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
10541
10542         * genrecog.c (make_insn_sequence): Call memset, not bzero.
10543
10544         * jump.c (find_insert_position): Don't declare or define unless
10545         !HAVE_conditional_arithmetic.
10546         (returnjump_p_1, delete_prior_computation): Add static prototypes.
10547
10548         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
10549
10550         * recog.c (offsettable_address_p): Prototype function pointer.
10551         (preprocess_constraints): Call memset, not bzero.
10552
10553         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
10554         (gcc_obstack_init): Don't declare.
10555         (fix_sizetype): Add static prototype.
10556         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
10557         (tree_cons): Call memset, not bzero.
10558
10559         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
10560         definition in macro ASM_WEAKEN_LABEL.
10561         (mark_const_hash_entry): Add static prototype.
10562
10563 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10564
10565         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
10566
10567         * unroll.c (find_common_reg_term, subtract_reg_term,
10568         loop_find_equiv_value): Add static prototypes.
10569         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
10570         (copy_loop_body): Remove unreachable break statement.
10571
10572         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
10573
10574         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
10575
10576 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10577
10578         Undo some changes from the gcc2 merge:
10579         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
10580         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
10581         pointers.
10582
10583         Undo this change:
10584         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
10585         * emit-rtl.c (gen_lowpart_common): Disable optimization of
10586         initialized float-int union if the value is a NaN.
10587
10588 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
10589
10590         * gthr-win32.h: New file.
10591
10592         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
10593         shared as a valid attribute.
10594         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
10595         * extend.texi: Document `shared' variable attribute.
10596
10597 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
10598
10599         * configure.in: Handle --enable-threads on FreeBSD.
10600         * configure: Rebuit.
10601
10602 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10603
10604         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
10605         thread support.
10606         * configure: Rebuilt.
10607
10608 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
10609                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
10610                           Rosimildo DaSilva <rdasilva@connecttel.com>
10611
10612         * configure.in (m68k-*-rtemscoff*): Added.
10613         * configure.in (mips64orion-*-rtems*): Converted to ELF.
10614         * configure.in (sparc-*-rtemsaout*): Added as alias for old
10615         sparc-rtems configuration.
10616         * configure.in (sparc-*-rtemself*): Added.
10617         * configure.in (sparc-*-rtems*): Now ELF not a.out.
10618         * config/i386/rtems.h: Added comment.
10619         * config/sparc/rtemself.h: New file.
10620
10621         * configure.in (m68k-rtemself): Added.
10622         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
10623         and DWARF_DEBUGGING_INFO.
10624         * config/m68k/crti.s: New file.
10625         * config/m68k/crtn.s: New file.
10626         * config/m68k/t-crtstuff: New file.
10627         * config/m68k/rtemself.h: New file.
10628
10629         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
10630         global ctor/dtor and C++ exception handling.
10631         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
10632         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
10633         ENDFILE_SPEC.
10634         * config/i386/t-rtems-i386: New File.
10635
10636 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
10637
10638         * stmt.c (expand_end_case): Return right away if the case stack is
10639         empty.
10640
10641 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
10642
10643         * Makefile.in (version.c): Remove rule incorrectly brought in from
10644         the gcc2 merge.
10645
10646 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
10647
10648         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
10649         * msdos/top.sed:  Take into account a prepended $(SHELL) to
10650         move-if-change.
10651         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
10652
10653         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
10654
10655 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10656
10657         * regmove.c (fixup_match_1): Don't change an unchanging register.
10658         (stable_but_for_p): Renamed to:
10659         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
10660         Changed all callers.
10661
10662 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
10663
10664         * loop.c (strength_reduce): Don't call reg_used_between_p if the
10665         insn from BL2 is after the insn from BL.
10666
10667 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
10668
10669         * recog.h (INSN_OUTPUT_FORMAT_*): New.
10670         (struct insn_data): Merge `template' and `outfun' into `output'.
10671         Add `output_format'.
10672         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
10673         (struct data): Remove `outfun'; add `output_format'.
10674         (name_for_index): Remove declaration.
10675         (output_insn_data): Handle output formats.
10676         (process_template): Emit the bare array for @.
10677         (gen_expand, gen_split): Set output_format to NONE.
10678         * output.h (get_insn_template): Declare.
10679         * final.c (get_insn_template): New.
10680         (final_scan_insn): Use it.
10681         * toplev.c (compile_file): Likewise.
10682
10683         * c4x/c4x.c (c4x_process_after_reload): Likewise.
10684         * i860/i860.c (output_delayed_branch): Likewise.
10685         (output_delay_insn): Likewise.
10686
10687 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
10688
10689         * rtl.c (obstack_alloc_rtx): Removed.
10690
10691 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
10692
10693         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
10694
10695 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
10696
10697         * i386.c (call_insn_operand): Reject const_int.
10698         (expander_call_insn_operand): Use call_insn_operand.
10699
10700 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10701
10702         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
10703
10704 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
10705
10706         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
10707         Use DImode operation.
10708
10709 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
10710
10711         * gcc.c: Include sys/resource.h.
10712         (report_times): New flag.
10713         (execute):  If report_times is set, calculate and report the
10714         CPU time consumed by each subprocess.
10715
10716         (rus, prus): New globals.
10717         (option_map): Add --time.
10718         (display_help): Document -time.
10719         (process_command): Set report_times if -time is given.
10720         Turn off -pipe if -time is given.
10721
10722         * invoke.texi: Document new option -time.
10723
10724         * configure.in: Check for getrusage.  Check if we have to
10725         prototype getrusage.
10726         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
10727         * configure: Regenerate.
10728         * config.in: Regenerate.
10729
10730 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
10731
10732         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
10733         fields.
10734
10735 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
10736
10737         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
10738         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
10739         (nan): Return _thenan_sf or _thenan_df as appropriate.
10740         (L_thenan_sf): Define _thenan_sf.
10741         (L_thenan_df): Define _thenan_df.
10742
10743         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
10744         (DPBIT_FUNCS): Add _thenan_df.
10745
10746 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
10747
10748         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
10749         TYPE_SIZE_UNIT.
10750
10751 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10752
10753         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
10754
10755         * gcc.h: New file.
10756         (lang_specific_driver): Don't take a function pointer parameter.
10757         All callers changed.
10758
10759         * gcc.c: Include gcc.h.
10760         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
10761         lang_specific_extra_outfiles, fatal): Don't declare.
10762         (multilib_defaults_raw): Constify.
10763         (read_specs): Call memset, rather than bzero.
10764         (main): Call return, not exit.
10765         (lookup_compiler): Call memcpy, not bcopy.
10766         (fatal): Make extern.
10767
10768         * cppspec.c: Include gcc.h.
10769         (lang_specific_driver): Initialize variable `quote'.  Constify a
10770         char*.  All calls to the function pointer parameter now
10771         explicitly call `fatal'.
10772
10773         * gccspec.c (lang_specific_driver): Include gcc.h.
10774
10775 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
10776
10777         * arm.c (note_invalid_constants): Use recog_data.operand_type
10778         for recog_op_type.
10779
10780 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10781
10782         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
10783         Declare.
10784
10785         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
10786         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
10787         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
10788         reload_secondary_in_reload, reload_secondary_out_reload,
10789         reload_secondary_in_icode, reload_secondary_out_icode,
10790         reload_reg_rtx, reload_when_needed): Delete declarations.
10791         (struct reload): New structure.
10792         (rld): Declare new array.
10793         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
10794         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
10795         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
10796         reload_secondary_in_reload, reload_secondary_out_reload,
10797         reload_secondary_in_icode, reload_secondary_out_icode,
10798         reload_reg_rtx, reload_when_needed): Delete definitions.
10799         (rld): New array.
10800         (whole file): Replace uses of the deleted arrays with uses of rld.
10801         * reload1.c (whole file): Replace uses of the deleted arrays with
10802         uses of rld.
10803         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
10804         explicit loops, not with bcopy.
10805
10806 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
10807
10808         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
10809         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
10810         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
10811         insn_name): Delete and consolidate into new structures.
10812         (insn_operand_predicate_fn): New.
10813         (insn_output_fn): New.
10814         (insn_gen_fn): New.
10815         (struct insn_operand_data): New.
10816         (struct insn_data): New.
10817         (insn_data): New.
10818         (OUT_FCN): Update for insn_data change.
10819         * builtins.c (expand_builtin_strlen): Likewise.
10820         (expand_builtin_memcmp): Likewise.
10821         * combine.c (make_extraction, simplify_comparison): Likewise.
10822         * cse.c (canon_reg, cse_insn): Likewise.
10823         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
10824         * expmed.c (store_bit_field, extract_bit_field): Likewise.
10825         (emit_store_flag): Likewise.
10826         * expr.c (convert_move, emit_block_move): Likewise.
10827         (clear_storage, emit_push_insn, expand_increment): Likewise.
10828         (do_store_flag): Likewise.
10829         * expr.h (GEN_FCN): Likewise.
10830         (insn_gen_function): Die.
10831         * final.c (final_scan_insn): Update for insn_data change.
10832         (output_asm_name): Likewise.
10833         * function.c (fixup_var_refs_1): Likewise.
10834         * loop.c (check_dbra_loop): Likewise.
10835         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
10836         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
10837         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
10838         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
10839         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
10840         * regmove.c (gen_add3_insn): Likewise.
10841         * reload.c (push_secondary_reload, combine_reloads): Likewise.
10842         (find_reloads, find_reloads_address_1): Likewise.
10843         (debug_reload_to_stream): Likewise.
10844         * reload1.c (emit_reload_insns, gen_reload): Likewise.
10845         * stmt.c (expand_end_case): Likewise.
10846         * toplev.c (compile_file): Likewise.
10847
10848         * c4x/c4x.c (c4x_process_after_reload): Likewise.
10849         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
10850
10851         * print-rtl.c (insn_name_ptr): Remove declaration.
10852         (get_insn_name): Declare.
10853         (print_rtx): Use it.
10854         * genoutput.c (insn_name_ptr): Remove.
10855         (next_operand_number): New.
10856         (struct operand_data): New.
10857         (null_operand, odata, odata_end): New.
10858         (struct data): Use struct operand_data.
10859         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
10860         (get_insn_name): Renamed from name_for_index.
10861         (output_prologue): Define NO_MD_PROTOTYPES.
10862         (output_predicate_decls): Break out from output_epilogue.
10863         Iterate over the operands list.
10864         (output_operand_data): Break out from output_epilogue.  Emit
10865         just the operands list.
10866         (output_insn_data): Break out from output_epilogue.  Emit just
10867         the insn data.
10868         (output_epilogue): Remove.
10869         (output_get_insn_name): New.
10870         (constraints, op_n_alternatives, predicates, address_p): Die.
10871         (modes, strict_low, seen): Die.
10872         (scan_operands): Take new param `d' instead of writing to
10873         seven global variables.
10874         (compare_operands): New.
10875         (place_operands): New.
10876         (validate_insn_alternatives): Update for struct data change.
10877         (gen_insn): Don't zero or copy 7 global arrays.  Update for
10878         scan_operands; call place_operands.
10879         (gen_peephole, gen_expand, gen_split): Likewise.
10880         (main): Update for new output routines.
10881
10882         * genattr.c (insn_name_ptr): Remove.
10883         (get_insn_name): New function.
10884         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
10885         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
10886         * genrecog.c: Likewise.
10887
10888         * alpha.md (adddi3): Make `pattern' array static.
10889
10890 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10891
10892         * config/c4x/c4x.h (c4x_rpts_cycles_string,
10893         c4x_cpu_version_string): Constify char *.
10894         * config/c4x/c4x.c (c4x_rpts_cycles_string,
10895         c4x_cpu_version_string): Likewise.
10896
10897 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
10898
10899         * tree.c (save_tree_status): Revert 10 Sep change.
10900         (restore_tree_status): Likewise.  Call obstack_free with NULL
10901         before freeing the obstack proper.
10902
10903 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
10904
10905         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
10906
10907         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
10908         surrounding context.
10909
10910 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
10911
10912         * tree.c (type_hash_canon): Put all types in the hash-table, when
10913         GC'ing.
10914
10915 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
10916
10917         * recog.h (struct recog_data, recog_data): New.
10918         (recog_foo variables): Kill.
10919         * recog.c (recog_operand, recog_operand_loc): Kill.
10920         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
10921         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
10922         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
10923         (recog_data): Define.
10924         (extract_insn): Update all recog_foo references to use recog_data.
10925         (preprocess_constraints, constrain_operands): Likewise.
10926         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
10927         * genattrtab.c (main): Likewise.
10928         * genextract.c (main): Likewise.
10929         * genoutput.c: Likewise.
10930         * genrecog.c (write_subroutine, main): Likewise.
10931         * local-alloc.c (block_alloc): Likewise.
10932         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
10933         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
10934         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
10935         * reload.c (find_reloads, find_reloads_toplev): Likewise.
10936         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
10937         (reload_cse_simplify_operands): Likewise.
10938
10939         * arc/arc.c (arc_final_prescan_insn): Likewise.
10940         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
10941         * h8300/h8300.c (notice_update_cc): Likewise.
10942         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
10943         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
10944         * mn10200/mn10200.c (notice_update_cc): Likewise.
10945         * mn10300/mn10300.c (notice_update_cc): Likewise.
10946         * romp/romp.c (update_cc): Likewise.
10947         * sparc/sparc.c (check_pic): Likewise.
10948         * v850/v850.c (notice_update_cc): Likewise.
10949
10950         * genemit.c (main): Don't declare recog_operand.
10951
10952 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
10953
10954         * ggc.h (rtvec_def): Forward declare.
10955         (tree_node): Likewise.
10956         (ggc_root): Define.
10957         (roots): Declare.
10958         (ggc_set_mark_rtx): Add prototype.
10959         (ggc_set_mark_rtvec): Likewise.
10960         (ggc_set_mark_tree): Likewise.
10961         * ggc-simple.c (ggc_root): Don't define.
10962         (roots): Don't declare.
10963         (ggc_mark_rtx): Remove.
10964         (ggc_mark_rtvec): Likewise.
10965         (ggc_mark_tree): Likewise.
10966         (ggc_mark_varray): Likewise.
10967         (ggc_mark_tree_hash_table_entry): Likewise.
10968         (ggc_mark_tree_hash_table): Likewise.
10969         (ggc_set_mart_rtx): New function.
10970         (ggc_set_mark_rtvec): Likewise.
10971         (ggc_set_mark_tree): Likewise.
10972         (ggc_add_root): Remove.
10973         (ggc_add_rtx_root): Likewise.
10974         (ggc_remove_tree_root): Likewise.
10975         (ggc_add_string_root): Likewise.
10976         (ggc_add_tree_varray_root): Likewise.
10977         (ggc_add_tree_hash_table_root): Likewise.
10978         (ggc_del_root): Likewise.
10979         (ggc_mark_rtx_ptr): Likewise.
10980         (ggc_mark_tree_ptr): Likewise.
10981         (ggc_mark_string_ptr): Likewise.
10982         (ggc_mark_tree_varray_ptr): Likewise.
10983         (ggc_mark_tree_hash_table_ptr): Likewise.
10984         * ggc-common.c: New file.
10985         * Makefile.in (OBJS): Add ggc-common.o.
10986         (ggc-common.o): List dependencies.
10987
10988 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
10989
10990         * cppalloc.c (xstrdup): Use memcpy.
10991         * cpperror.c (cpp_print_containing_files): Don't use
10992         cpp_notice.
10993         * cpplib.c (conditional_skip): Set temp->lineno.
10994         (do_endif): Make error message less obscure.
10995         (if_directive_name): New function.
10996         (cpp_get_token [case EOF]): Unwind the if stack and generate
10997         error messages for each unterminated conditional in this file.
10998         (parse_string):  Do not behave differently if -traditional.
10999
11000 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
11001
11002         * builtins.c (expand_builtin_va_arg): Cope with an array-type
11003         va_list decomposing to pointer-type.
11004         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
11005         (rs6000_va_arg): Likewise.
11006
11007 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
11008
11009         * except.c (start_dynamic_handler): Compute size using
11010         STACK_SAVEAREA_MODE.
11011
11012 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11013
11014         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
11015         include directory headers.  Don't define strrchr.  Don't provide
11016         my_* replacement functions.  Prefer PTR over `pointer_type'.
11017         Don't prototype system functions.  Don't redefine getopt.
11018
11019         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
11020         safe_read, safe_write, save_pointers, restore_pointers,
11021         is_id_char, in_system_include_dir, directory_specified_p,
11022         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
11023         find_corresponding_lparen, referenced_file_is_newer,
11024         save_def_or_dec, munge_compile_params, gen_aux_info_file,
11025         process_aux_info_file, identify_lineno, check_source,
11026         seek_to_line, forward_to_next_token_char, output_bytes,
11027         output_string, output_up_to, other_variable_style_function,
11028         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
11029         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
11030         find_static_definition, connect_defs_and_decs, add_local_decl,
11031         add_global_decls, needs_to_be_converted, visit_each_hash_node,
11032         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
11033         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
11034         scan_for_missed_items, edit_file, string_list_cons): Add static
11035         prototypes.
11036         (standard_exec_prefix, target_machine, target_version,
11037         default_syscalls_dir, string_list, string_list_cons, find_file,
11038         do_cleaning): Constify a char*.
11039         (safe_read, safe_write): Use PTR, not a char*.
11040         (is_id_char): Take an int, not a char.
11041         (main): Add prototype.  Call return, not exit.
11042
11043 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
11044
11045         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
11046         when comparing types.
11047
11048 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
11049
11050         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
11051         (strength_reduce): Release the varrays from the no-bivs early exit.
11052
11053         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
11054         the loop over the registers.
11055
11056         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
11057         for a new obstack.
11058         (restore_tree_status): Check that instead when freeing the obstack.
11059
11060 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
11061
11062         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
11063         as pointers.
11064
11065 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11066
11067         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
11068         operand size modifiers.
11069
11070 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11071
11072         * c-common.c (c_common_nodes_and_builtins): Don't build
11073         va_list_type_node.
11074         * c-common.h (enum c_tree_index and related accesor macros): Remove
11075         everything now declared in tree.h.
11076         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11077         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
11078         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
11079         (error_mark_node, void_type_node, char_type_node, integer_type_node,
11080         unsigned_type_node, ptr_type_node, va_list_type_node,
11081         integer_zero_node, null_pointer_node, integer_one_node): Delete.
11082         (init_decl_processing): Call build_common_tree_nodes and
11083         build_common_tree_nodes_2 instead of building their nodes here.
11084         Don't add roots for these nodes.
11085         * stor-layout.c (size_zero_node, size_one_node): Delete.
11086         (set_sizetype): Make a new node for bitsizetype each time.
11087         * tree.c (global_trees): New variable.
11088         (init_obstacks): Add a gc root for it.
11089         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11090         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
11091         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
11092         (build_common_tree_nodes): New function.
11093         (fix_sizetype): New function.
11094         (build_common_tree_nodes_2): New function.
11095         * tree.h (enum tree_index): New.
11096         (global_trees): Declare.
11097         Add accessor macros for all nodes now moved to global_trees.
11098         Delete their declarations.
11099
11100 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
11101
11102         * c-decl.c (finish_function): When processing a nested function,
11103         push and pop GC context around rest_of_compilation.
11104
11105 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
11106
11107         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
11108         Default ix86_arch to PROCESSOR_I386.
11109         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
11110         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
11111         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
11112         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
11113         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
11114         (EXTRA_SPECS): Remove deleted specs.
11115
11116 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
11117
11118         * function.c (assign_stack_local_1): Allocate from
11119         function->x_frame_offset, not frame_offset.
11120
11121 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
11122
11123         * ggc.h (lang_cleanup_tree): Remove.
11124         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
11125         * ggc-callbacks.c (lang_cleanup_tree): Remove.
11126
11127         * c-decl.c (finish_struct): Use ggc_alloc to allocate
11128         TYPE_LANG_SPECIFIC when garbage collecting.
11129         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
11130         (lang_cleanup_tree): Remove.
11131
11132 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
11133
11134         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
11135         * crtstuff.c: Not here.
11136         * dwarf2out.c: Or here.
11137         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
11138         info.
11139
11140 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
11141
11142         * function.h (free_after_compilation): Remove decl parameter.
11143         (free_varasm_status0: Likewise.
11144         (free_emit_status): Likewise.
11145         (free_stmt_status): Likewise.
11146         (free_after_compilation): Likewise.
11147         (init_lang_status): New variable.
11148         (free_lang_status): Likewise.
11149         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
11150         * function.c (init_lang_status): New variable.
11151         (free_lang_status): Likewise.
11152         (push_function_context_to): Don't set function::decl here.
11153         (free_after_copmilation): Make decl parameter implicit.  Call
11154         free_lang_status if defined.
11155         (prepare_function_start): Call init_lang_status if defined.
11156         (init_function_start): Set function::decl here.
11157         * profile.c (output_func_start_profiler): Don't call pushdecl
11158         until we've actually started the function.
11159         * stmt.c (free_stmt_status): Make decl parameter implicit.
11160         * toplev.c (rest_of_compilation): Don't pass decl to
11161         free_after_compilation.
11162         * varasm.c (free_varasm_status): Likewise.
11163
11164 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11165
11166         * except.c (call_get_eh_context): Add root when allocating static
11167         tree variable.
11168
11169 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
11170
11171         * arm.c: Include "ggc.h".
11172         (arm_add_gc_roots): New function.
11173         (arm_override_options): Call it.
11174         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
11175
11176         * arm.md (define_asm_attributes): Add a pool_range attribute.
11177
11178 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
11179
11180         * extend.texi (Volatiles): New node.
11181
11182 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
11183
11184         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
11185         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
11186         (struct ggc_any): Replace `mark' with `magic_mark'.
11187         (ggc_alloc_string): Use memcpy, not bcopy.
11188         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
11189         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
11190         (ggc_free_any): New.
11191         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
11192         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
11193         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
11194         Use IS_MARKED. Use ggc_free_any.
11195
11196 1999-09-09  Scott Bambrough <scottb@netwinder.org>
11197
11198         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
11199
11200 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
11201
11202         * toplev.c (main): Always init_ggc.
11203
11204 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
11205
11206         * except.c (find_all_handler_type_matches): Free the list if
11207         we found no matches.
11208
11209         * combine.c (SUBST): Break out to a real function do_SUBST.
11210         (SUBST_INT): Likewise.
11211         * gcse.c (free_pre_mem): Free `temp_bitmap'.
11212         (pre_insert): Free `inserted'.
11213         * loop.c (basic_induction_var): Always set `location'.
11214
11215         * function.c (expand_function_end): Add initial_trampoline as a root.
11216         * rtl.h (init_varasm_once): Declare.
11217         * toplev.c (compile_file): Call it.
11218         * ggc-simple.c (ggc_mark_string_ptr): New.
11219         (ggc_add_string_root): New.
11220         (ggc_collect): Disable collection avoidance temporarily.
11221         * ggc.h (ggc_add_string_root): Declare.
11222         * except.c (create_rethrow_ref): Use ggc_alloc_string.
11223         * optabs.c (init_libfuncs): Likewise.
11224         * varasm.c (named_section): Use ggc_alloc_string.
11225         (make_function_rtl): Likewise.
11226         (make_decl_rtl): Likewise.
11227         (assemble_static_space): Likewise.
11228         (assemble_trampoline_template): Likewise.
11229         (output_constant_def): Likewise.
11230         (force_const_mem): Likewise.
11231         (mark_const_hash_entry): New.
11232         (mark_pool_sym_hash_table): New.
11233         (mark_varasm_state): Use it.
11234         (init_varasm_once): New.
11235
11236         * expr.h (init_one_libfunc): Declare.
11237         * optabs.c (init_one_libfunc): New.
11238         (init_optabs): Use it.
11239         * config/gofast.h: Likewise.
11240         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
11241         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
11242
11243 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
11244
11245         * Makefile.in (cppexp.o): Depend on cpphash.h.
11246         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
11247         Include cpphash.h.
11248         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
11249         * cpplib.c (do_define): Generalise to handle poisoned definitions,
11250         redefining poisoned identifiers, etc.
11251         (do_undef): Don't allow poisoned identifiers to be undefined.
11252         (do_pragma): Add #pragma poison.
11253         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11254
11255         * cccp.c: Add T_POISON node type.
11256         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
11257         poisoned xxx.
11258         (do_define): Generalise to handle poisoned definitions,
11259         redefining poisoned identifiers, etc.
11260         (do_undef): Don't allow poisoned identifiers to be undefined.
11261         (do_pragma): Add #pragma poison.
11262         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11263
11264         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
11265         * c-pragma.h: Add ps_poison state.  We now always have generic
11266         pragmas.
11267
11268 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
11269
11270         * ggc.h (ggc_alloc): New function.
11271         (ggc_mark): Likewise.
11272         * ggc-simple.c (ggc_any): New structure.
11273         (ggc_status): Add anys.
11274         (n_anys_collected): New variable.
11275         (ggc_alloc): Define.
11276         (ggc_mark): Likewise.
11277         (ggc_collect): Collect the anys.
11278
11279 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11280
11281         * c-decl.c (mark_binding_level): Make static to match prototype.
11282
11283 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
11284
11285         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
11286
11287 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
11288
11289         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
11290         will use into account.  Expand the max width to 5.
11291         * rtl.c: Likewise.
11292
11293 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
11294
11295         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
11296         for the rtx length.
11297
11298 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
11299
11300         * alpha.md (call value patterns): Remove the result predicates.
11301
11302 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
11303
11304         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
11305         last change.
11306
11307 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11308
11309         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
11310         changed from extern char *, to extern PTR.  Also fix typo in
11311         NEED_DECLARATION_REALLOC test.
11312
11313         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
11314
11315 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11316
11317         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
11318         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
11319         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
11320         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
11321
11322         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
11323
11324         * cccp.c (pcfinclude): Likewise.
11325
11326         * global.c (allocno_compare): Likewise.
11327
11328         * haifa-sched.c (rank_for_schedule): Likewise.
11329
11330         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
11331
11332         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
11333
11334         * stupid.c (stupid_reg_compare): Likewise.
11335
11336         * tree.c (_obstack_allocated_p): Likewise.
11337
11338         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
11339
11340 1999-09-08  Bruce Korb  autogen@linuxbox.com
11341
11342         * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
11343         why "gperf -F" fails.
11344         * gcc/cp/Makefile.in: ditto
11345         * gcc/Makefile.in: ditto
11346         * gcc/java/Makefile.in: ditto
11347
11348 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
11349
11350         * lists.c: Include ggc.h.
11351         (zap_lists): New.
11352         (init_EXPR_INSN_LIST_cache): Install it.
11353
11354         * ggc-simple.c (init_ggc): Absorb the old init.
11355         (ggc_push_context): Use xcalloc.
11356         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
11357         (ggc_collect): Add [rvts] tags to the collection stats.
11358
11359 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
11360
11361         * cccp.c (main): Fix handling of -include and -imacros options.
11362
11363 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
11364
11365         * cpplib.c (cpp_push_buffer): Fix order of arguments.
11366
11367 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
11368
11369         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
11370         genrtl.c.
11371
11372 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
11373
11374         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
11375         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
11376         and SET_DEST. Update comment.
11377
11378 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11379
11380         * config/c4x/c4x.c: Include ggc.h.
11381         (c4x_add_gc_roots): New function.
11382         (c4x_override_options): Call c4x_add_gc_roots.
11383
11384 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
11385
11386         * defaults.h (TARGET_ESC): Move ...
11387         * system.h: ... here, where Linas had it in the first place.  Silly me.
11388
11389 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
11390
11391         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
11392         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
11393         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
11394         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
11395         * defaults.h (TARGET_ESC): Add default.
11396
11397 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
11398
11399         * configure.in: add i370-*-openedition, i370-*-mvs and
11400         i370-*-linux targets
11401
11402 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
11403
11404         * dsp16xxx.c: Include ggc.h
11405         (override_options): Mark GC roots.
11406         * mn10200.c: Include ggc.h.
11407         (asm_file_start): Mark GC roots.
11408         * tahoe.c: Include ggc.h.
11409         (extensible_operand): Mark GC roots.
11410
11411 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
11412
11413         * README: Add section discussing status of ELF ABI.
11414         * i370.c: Fix misc spelling mistakes.
11415         (i370_label_scan): Updated notes, exception handling.
11416         (i370_function_prolog): Simplify ELF stack handling.
11417         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
11418         (STACK_GROWS_DOWNWARD): ELF stack grows down.
11419         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
11420         * i370.md: (movdi): Add notes.
11421         (floatsidf2): Use stack not rtca for scratch float area.
11422         (iorsi3): Correct operand constraints.
11423         * x-oe: Restore TAROUTOPTS which are used by pax.
11424
11425 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
11426
11427         * rs6000.c: Include ggc.h.
11428         (rs6000_add_gc_roots): New function.
11429         (override_options): Call it.
11430
11431 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
11432
11433         * alpha.h (alpha_compare): New.
11434         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
11435         * alpha.c: Likewise for the definitions.
11436         (alpha_emit_conditional_branch): Update for alpha_compare.
11437         (alpha_emit_conditional_move): Likewise.
11438         * alpha.md (cmpdf, cmpdi): Likewise.
11439         (setcc patterns): Likewise.  Zero alpha_compare after use.
11440         (sne): Optimize (x != 0) into (0U < x).
11441
11442 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
11443
11444         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
11445         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
11446         (INIT_EXPANDERS): Remove.
11447         * alpha.c: Include ggc.h.
11448         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
11449         (alpha_init_machine_status, alpha_mark_machine_status): New.
11450         (override_options): Install them.
11451         (struct machine_function): Moved to alpha.h.
11452         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
11453         (alpha_init_expanders): Remove.
11454         (alpha_return_addr): Adjust to use current_function->machine.
11455         (alpha_ra_ever_killed): Likewise.
11456         (alpha_expand_epilogue): Likewise.
11457         * alpha.md (eh_epilogue): Likewise.
11458
11459 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
11460                           Melissa O'Neill  <oneill@cs.sfu.ca>
11461                           Geoffrey Keating  <geoffk@cygnus.com>
11462
11463         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
11464         call-used registers (call-saved registers must still be contiguous
11465         and end with r31, of course).
11466
11467 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
11468
11469         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
11470         (self_promoting_type_p): Delete.
11471         (self_promoting_args_p): Move ...
11472         * c-common.c: ... here.
11473         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
11474         (simple_type_promotes_to): New.
11475         * builtins.c (lang_type_promotes_to): New.
11476         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
11477         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
11478         * c-common.h: ... here.
11479         (self_promoting_args_p, simple_type_promotes_to): Declare.
11480         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
11481         (grokdeclarator): Likewise.
11482         * tree.h (lang_type_promotes_to): Declare.
11483
11484 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
11485
11486         Add some machine-dependent GC roots.
11487         * sparc.c: Include ggc.h.
11488         (sparc_add_gc_roots): New function.
11489         (mark_ultrasparc_pipeline_state): Likewise.
11490         (override_options): Call sparc_add_gc_roots.
11491         * pa.c: Include ggc.h.
11492         (pa_add_gc_roots): New function.
11493         (mark_deferred_plabels): Likewise.
11494         (override_options): Call pa_add_gc_roots.
11495         * mips.c: Include ggc.h.
11496         (mips_add_gc_roots): New function.
11497         (override_options): Use it.
11498
11499 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11500
11501         * cpperror.c (cpp_file_line_for_message): Constify a char*.
11502
11503         * cppexp.c (parse_number, parse_charconst, cpp_lex,
11504         cpp_parse_expr): Add static prototypes.
11505         (parse_charconst): Don't cast away const-ness.
11506         (token): Constify a char*.
11507
11508         * cppfiles.c (file_name_list, include_hash, find_include_file,
11509         finclude, initialize_input_buffer): Constify a char*.
11510         (file_cleanup, find_position): Add static prototypes.
11511
11512         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
11513         collect_expansion): Add static prototypes.
11514         (cpp_install, create_definition, monthnames): Constify a char*.
11515
11516         * cpphash.h (cpp_install): Likewise.
11517
11518         * cppinit.c (known_suffixes, default_include,
11519         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
11520         (base_name, dump_special_to_buffer, initialize_dependency_output):
11521         Add static prototypes.
11522
11523         * cpplib.c (my_strerror): Constify a char*.
11524         (null_underflow, null_cleanup, skip_comment, copy_comment,
11525         copy_rest_of_line, handle_directive, pass_thru_directive,
11526         get_directive_token, read_line_number, cpp_print_file_and_line,
11527         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
11528         v_cpp_warning_with_line, detect_if_not_defined,
11529         consider_directive_while_skipping): Add static prototypes.
11530         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
11531         cpp_pedwarn_with_file_and_line): Constify a char*.
11532
11533         * cpplib.h (cpp_options, include_hash, progname, definition,
11534         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
11535         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
11536         find_include_file, deps_output, include_hash): Constify a char*.
11537
11538         * cppmain.c (progname): Constify.
11539         (main): Add prototype.  Use return, not exit.
11540
11541         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
11542         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
11543         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
11544         check_protection): Add static prototype.
11545         (xfree): Remove.
11546         (progname, recognized_macrom, recognized_extern): Constify a char*.
11547         (main): Add prototype.
11548
11549         * gen-protos.c (progname): Constify a char*.
11550
11551 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
11552
11553         * emit-rtl.c (free_emit_status): Take decl as a parameter.
11554         (init_emit_once): Add more GC roots.
11555         * except.c (mark_func_eh_entry): New function.
11556         (mark_eh_node): Mark false_label and rethrow_label.
11557         (init_eh): Add more GC roots.
11558         * function.c (free_after_compilation): Take decl as a paramter.
11559         Call free_stmt_status.
11560         (mark_function_state): Don't assume x_parm_reg_stack_loc is
11561         non-NULL.
11562         * function.h (free_after_compilation): Change prototype.
11563         (free_varasm_status): Likewise.
11564         (free_emit_status): Likewise.
11565         (free_stmt_status): New function.
11566         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
11567         Remove, replacing with ...
11568         (ggc_status): New structure.
11569         (ggc_chain): New variable.
11570         (init_gcc): Define.
11571         (ggc_push_context): New function.
11572         (ggc_pop_context): Likewise.
11573         (ggc_alloc_rtx): Adjust for use of ggc_chain.
11574         (ggc_alloc_rtvec): Likewise.
11575         (ggc_alloc_tree): Likewise.
11576         (ggc_alloc_string): Likewise.
11577         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
11578         (ggc_mark_tree): Give language-dependent code a chance to mark
11579         `x' nodes.
11580         (ggc_mark_tree_varray): Handle empty arrays.
11581         (ggc_collect): Adjust for use of ggc_chain.  Clear
11582         bytes_alloced_since_last_gc.
11583         * ggc.h (ggc_pop_context): New function.
11584         (ggc_push_context): Likewise.
11585         * print-tree.c (print_node): Don't print obstacks when GC'ing.
11586         * stmt.c (free_stmt_status): New function.
11587         (init_stmt_for_function): Clear last_expr_value.
11588         * toplev.c (rest_of_compilation): Always call free_after_compilation.
11589         Conditionalize call to ggc_collect.
11590         (main): Call init_ggc.
11591         * tree.c (push_obstacks): Do the push, even when GC'ing.
11592         (push_obstacks_nochange): Likewise.
11593         (pop_obstacks): Liekwise.
11594         * varasm.c (free_varasm_status): Take decl as a parameter.
11595
11596 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11597
11598         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
11599         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
11600         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
11601         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
11602
11603 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
11604
11605         * pa/x-pa-mpeix: New file for the MPE port.
11606
11607         * pa/quadlib.asm: New file for long double support.
11608
11609         * configure.in: Add hppa1.0-*-mpeix for MPE port.
11610         * configure: Rebuilt.
11611
11612 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
11613
11614         * final.c (shorten_branches): Fix last change.
11615
11616 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
11617
11618         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
11619
11620 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
11621
11622         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
11623         details.
11624
11625 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11626
11627         * c-aux-info.c (concat): Don't define.
11628
11629         * cccp.c (my_strerror): Likewise.  All callers changed to use
11630         xstrerror instead.
11631         (do_include): Call xstrdup, not xmalloc/strcpy.
11632         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
11633         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
11634
11635         * collect2.c (my_strsignal): Likewise.  All callers changed to use
11636         strsignal instead.
11637         (locatelib): Call xstrdup, not xmalloc/strcpy.
11638
11639         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
11640
11641         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
11642
11643         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
11644
11645         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
11646
11647         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
11648
11649         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
11650
11651         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
11652         malloc/realloc.
11653         (find_all_handler_type_matches): Likewise.  Don't check return
11654         value.
11655         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
11656         xmalloc, not malloc.
11657         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
11658
11659         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
11660         (init_spec): Call xcalloc, not xmalloc/bzero.
11661         (set_spec): Call xstrdup, not save_string.
11662         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
11663         (find_a_file): Call xstrdup, not xmalloc/strcpy.
11664         (process_command): Call xstrdup, not save_string.
11665         (main): Call xcalloc, not xmalloc/bzero.
11666
11667         * gcov.c (xmalloc): Don't define.
11668         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
11669         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
11670         (output_data): Call xcalloc, not xmalloc/bzero.
11671
11672         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
11673
11674         * mips-tdump.c (xmalloc): Don't define.
11675         (print_symbol): Call xmalloc, not malloc.
11676         (read_tfile): Call xcalloc, not calloc.
11677
11678         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
11679         Don't define.  All callers of xfree/my_strsignal changed to use
11680         free/strsignal instead.
11681         (allocate_cluster): Call xcalloc, not calloc.
11682
11683         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
11684         Fix memory leak, free allocated memory.
11685
11686         * prefix.c (translate_name): Call xstrdup, not save_string.
11687         (update_path): Likewise.
11688
11689         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
11690
11691         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
11692         Don't define.  Callers of xfree/savestring2 changed to use
11693         free/concat instead.
11694
11695         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
11696         (init_elim_table): Likewise.
11697
11698         * resource.c (init_resource_info): Likewise.
11699
11700         * stupid.c (stupid_life_analysis): Likewise.
11701
11702         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
11703         (open_dump_file): Call concat, not xmalloc/strcpy/...
11704         (clean_dump_file): Likewise.
11705         (compile_file): Call xstrdup, not xmalloc/strcpy.
11706
11707 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
11708
11709         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
11710         * v850.c (v850_va_arg): New.
11711
11712 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11713
11714         * haifa-sched.c: Tidy comments.
11715
11716 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11717
11718         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
11719         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
11720         $(out_object_file)): Depend on ggc.h.
11721         * c-common.c: Include "ggc.h".
11722         (combine_strings): If doing GC, use ggc_alloc_string.
11723         * c-decl.c: Include "ggc.h".
11724         (ggc_p): Define with value 0.
11725         (mark_binding_level): New function.
11726         (init_decl_processing): Add GC roots.
11727         (mark_c_function_context): New function.
11728         (lang_mark_false_label_stack): New function.
11729         (lang_mark_tree): New function.
11730         (lang_cleanup_tree): New function.
11731         * c-lang.c: Include "ggc.h".
11732         (lang_init): Call c_parse_init.
11733         * c-lex.c: Include "ggc.h".
11734         (check_linenum): If doing GC, don't copy filenames to permanent
11735         obstack.
11736         * c-parse.in: Include "ggc.h".
11737         (c_parse_init): New function.
11738         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
11739         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
11740
11741         * except.c (mark_eh_state): Mark more state.
11742         * function.c (mark_function_state): Likewise.
11743         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
11744         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
11745         * toplev.c (mark_file_stack): New function.
11746         (compile_file): If doing GC, use ggc_alloc_string on input filename.
11747         (main): Add root for input_file_stack.
11748
11749         * i386.c: Include "ggc.h".
11750         (ix86_mark_machine_status): New function.
11751         (override_options): Set mark_machine_status.
11752
11753 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11754
11755         * tree.c (copy_node): Copy node contents also if doing GC.
11756
11757 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
11758
11759         * collect2.c (scan_libraries): Fix double-thinko :-).
11760
11761 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
11762
11763         * collect2.c (scan_libraries): Fix thinko.
11764
11765         * cse.c (delete_trivially_dead_insns): Do not skip the last
11766         insn if it is a real insn.
11767
11768 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
11769
11770         * Makefile.in (ggc-simple.o): Depend on hash.h.
11771         * ggc.h (ggc_add_tree_hash_table_root): Declare.
11772         (ggc_mark_tree_varray): Likewise.
11773         (ggc_mark_tree_hash_table): Likewise.
11774         * ggc-simple.c: Include hash.h.
11775         (ggc_mark_tree_hash_table_ptr): New function.
11776         (ggc_mark_tree_hash_table_entry): Likewise.
11777         (ggc_mark_tree_hash_table): Likewise.
11778         (ggc_add_tree_hash_table_root): Likewise.
11779         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
11780         rtx, when defining fields.
11781
11782 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11783
11784         * profile.c (output_func_start_profiler): Remove apparently
11785         nonsensical call to start_sequence.
11786
11787 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
11788
11789         * clipper/clipper.c (clipper_va_start): Fix typos.
11790
11791         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
11792         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
11793         (spur_va_arg): New stub.
11794
11795         * configure.in: Comment out pyramid.
11796
11797 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
11798
11799         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
11800         don't conflict with the bits that win32, cygwin, and dgux
11801         defines.
11802
11803 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
11804                           Bernd Schmidt <bernds@cygnus.co.uk>
11805
11806         * integrate.c (function_cannot_inline_p): Do not inline
11807         functions with forced labels.
11808
11809 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
11810                           Bernd Schmidt <bernds@cygnus.co.uk>
11811                           Mark Mitchell  <mark@codesourcery.com>
11812
11813         * Makefile.in (ggc-simple.o): Depend on varray.h.
11814         (rtl.o): Depend on ggc.h.
11815         (genattrtab.o): Depend on ggc.h.
11816         (print-tree.o): Likewise.
11817         (fold-const.o): Likewise.
11818         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
11819         (make_insn_raw): Don't cache insns when GC'ing.
11820         (emit_insn_before): Likewise.
11821         (emit_insn_after): Likewise.
11822         (emit_insn): Likewise.
11823         (start_sequence): Use xmalloc to allocate the sequence_stack.
11824         (end_sequence): Add free to free it.
11825         (gen_sequence): Don't cache insns when GC'ing.
11826         (clear_emit_caches): Don't use sequence_element_free_list.
11827         (init_emit): Use xcalloc, not xmalloc+bzero.
11828         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
11829         * function.c (pop_function_context_from): Use free to free the
11830         fixup_var_refs_queue.
11831         (put_reg_into_stack): Allocate it with xmalloc.
11832         * genattrtab.c: Include ggc.h.
11833         (operate_exp): Don't use obstack_free when GC'ing.
11834         (simplify_cond): Likewise.
11835         (simplify_text_exp): Likewise.
11836         (optimize_attrs): Likewise.
11837         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
11838         GC'ing.
11839         (gencode): Generate a #include for ggc.h.
11840         * ggc-callbacks.c (ggc_p): Define it to zero.
11841         * ggc-none.c (ggc_p): Likewise.
11842         * ggc-simple.c: Include varray.h.
11843         (ggc_mark_tree_varray): New function.
11844         (ggc_add_tree_varray_root): Likewise.
11845         (ggc_mark_tree_varray_ptr): Likewise.
11846         * ggc.h (ggc_p): Declare.
11847         (varray_head_tag): Likewise.
11848         (ggc_add_tree_varray_root): Declare.
11849         * print-tree.c (print_node): Don't check for TREE_PERMANENT
11850         inconsistencies when GC'ing.
11851         * rtl.c: Include ggc.h.
11852         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
11853         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
11854         (rtx_free): Don't call obstack_free when GC'ing.
11855         * toplev.c (rest_of_compilation): Call ggc_collect after every
11856         pass, if GC'ing.
11857         * tree.c (push_obstacks): Do nothing, if GC'ing.
11858         (pop_obstacks_nochange): Likewise.
11859         (pop_obstacks): Likewise.
11860         (make_node): Use ggc_alloc_tree when GC'ing.
11861         (copy_node): Likewise.
11862         (get_identifier): Use ggc_alloc_string when GC'ing.
11863         (build_string): Likewise.
11864         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
11865         (tree_cons): Likewise.
11866         (build1): Likewise.
11867         (type_hash_canon): Don't call obstack_free when GC'ing.
11868
11869 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
11870
11871         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
11872         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
11873
11874 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
11875                           Bernd Schmidt <bernds@cygnus.co.uk>
11876                           Mark Mitchell  <mark@codesourcery.com>
11877
11878         * Makefile.in (stor-layout.o): Depend on ggc.h.
11879         (expr.o): Depend on ggc.h.
11880         (profile.o): Depend on ggc.h.
11881         (stor-layout.o): Depend on ggc.h.
11882         * emit-rtl.c (init_emit_once): Add gc roots.
11883         * expr.c: Include ggc.h.
11884         (emit_block_move): Add gc roots.
11885         (clear_storage): Likewise.
11886         * expr.h (init_stor_layout_once): New function.
11887         * profile.c: Include ggc.h.
11888         (init_arc_profiler): profiler_label is a root.
11889         * scan.c (make_sstring_space): Trust xrealloc to function
11890         correctly with first parameter NULL.
11891         * stor-layout.c: Include ggc.h.
11892         (set_sizetype): Add gc root.
11893         (init_stor_layout_once): New function.
11894         * toplev.c (compile_file): Call it.
11895
11896 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
11897                           Bernd Schmidt <bernds@cygnus.co.uk>
11898                           Mark Mitchell  <mark@codesourcery.com>
11899
11900         * Makefile.in (tree.o): Depend on ggc.h.
11901         (varasm.o): Likewise.
11902         (function.o): Likewise.
11903         (stmt.o): Likewise.
11904         (except.o): Likewise.
11905         (optabs.o): Likewise.
11906         (emit-rtl.o): Likewise.
11907         * emit-rtl.c: Include ggc.h.
11908         (sequence_element_free_list): Remove, and all references.
11909         (mark_sequence): New functions.
11910         (mark_emit_state): New function.
11911         * except.c: Include ggc.h.
11912         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
11913         (mark_tree_label_node): New functions.
11914         (mark_eh_state): New function.
11915         * function.c: Include ggc.h.
11916         (mark_temp_slot, mark_function_chain): New functions.
11917         (mark_function_state): New function.
11918         (init_function_once): New function.
11919         * function.h (init_function_once): New function.
11920         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
11921         * ggc.h (label_node): Declare.
11922         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
11923         (lang_mark_false_label_stack): New function.
11924         (mark_temp_slot): Remove declaration.
11925         (mark_function_chain): Likewise.
11926         (mark_eh_state): Adjust prototype.
11927         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
11928         Likewise.
11929         * optabs.c: Include ggc.h.
11930         (mark_optab): New function.
11931         (init_optabs): Add gc roots.
11932         * stmt.c: Include ggc.h.
11933         (mark_cond_nesting, mark_loop_nesting): New functions.
11934         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
11935         (mark_stmt_state): New function.
11936         * toplev.c (compile_file): Call init_function_once.
11937         * tree.c: Include ggc.h.
11938         (type_hash): Move declaration earlier in file.
11939         (TYPE_HASH_SIZE, type_hash_table): Likewise.
11940         (init_obstacks): Add gc roots.
11941         (mark_type_hash): New function.
11942         * varasm.c: Include ggc.h.
11943         (mark_pool_constant): New function.
11944         (mark_varasm_state): New function.
11945
11946 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11947
11948         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
11949
11950 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
11951
11952         * c-decl.c (struct language_function): Renamed from struct c_function.
11953         Delete elt NEXT.
11954         (c_function_chain): Delete.
11955         (push_c_function_context): New arg F.  Don't warn about nested
11956         functions here.  Fill LANGUAGE elt of F.  Delete code to update
11957         c_function_chain.  Don't call push_function_context.
11958         (pop_c_function_context): New arg F.  Restore from there instead of
11959         from c_function_chain.  Don't call pop_function_context.  Clear out
11960         LANGUAGE field of F when done.
11961         * c-lang.c: Include "function.h"
11962         (lang_init): Initialize save_lang_status and restore_lang_status.
11963         * c-parse.in (nested_function, nested_function_notype): Warn about
11964         nested functions.  Call push_function_context/pop_function_context
11965         instead of the _c_ variants.
11966         * c-tree.h (push_c_function_context, pop_c_function_context): Update
11967         prototype.
11968         * Makefile.in (c-lang.o): Update dependencies.
11969
11970         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
11971         regno_pointer_flag, regno_pointer_align.
11972         (gen_reg_rtx): Use xrealloc to enlarge them.
11973         (free_emit_status): New function.
11974         * function.c (mark_machine_status, mark_lang_status): New variables.
11975         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
11976         in some bits from assign_stack_local.  All callers changed to use new
11977         name.
11978         (assign_stack_local): Just call assign_stack_local_1.
11979         (free_after_compilation): New function.
11980         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
11981         (trampoline_address): Likewise.
11982         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
11983         (prepare_function_start): Explicitly clear some more variables.
11984         * function.h (struct function): New elt can_garbage_collect.
11985         (mark_machine_status, mark_lang_status): Declare variables.
11986         (free_after_compilation, free_emit_status, free_varasm_status,
11987         init_varasm_status): Declare functions.
11988         * toplev.c (rest_of_compilation): Call free_after_compilation when
11989         done with the current function.
11990         * varasm.c (free_varasm_status): New function.
11991
11992 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
11993
11994         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
11995         (EXPAND_BUILTIN_VA_ARG): Define.
11996         * sparc.c (sparc_va_start): New.
11997         (sparc_va_arg): New.
11998
11999 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12000
12001         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
12002
12003 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12004
12005         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
12006
12007 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
12008
12009         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
12010         (OBJS): Add $(GGC).
12011         (ggc-callbacks.o): New target.
12012         * ggc-callbacks.c: New file.
12013
12014 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12015
12016         * expr.h: Collapse individual optab and libfunc vars to arrays.
12017         (optab_index, libfunc_index): New enumerations.
12018         (optab_table, libfunc_table): New arrays.
12019         Add accessor macros for both.
12020
12021         * optabs.c (optab_table, libfunc_table): New.
12022         Delete declarations for individual optab and libfunc vars.
12023
12024 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
12025
12026         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
12027
12028 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
12029
12030         * Makefile.in (GGC, GGC_LIB): New.
12031         (HOST_RTL): Include ggc-none.o.
12032         (ggc-simple.o): New target.
12033         (ggc-none.o): Likewise.
12034         * tree.h (tree_common): Add gc_mark.
12035         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
12036         (struct rtvec_def): Add gc_mark.
12037         * emit-rtl.c (global_rtl): Update static initializers to contain
12038         enough initializers.
12039         * ggc.h, ggc-none.c, ggc-simple.c: New files.
12040         * toplev.c (gc_time): New variable.
12041         (all_time): New variable.
12042         (compile_file): Print gc time.
12043         (print_time): Calculate percentage of the whole.
12044
12045 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12046
12047         Change obstack memory management and varasm constant pool handling so
12048         that nested functions are treated like any other functions.
12049         * function.c (init_machine_status): New variable.
12050         (push_function_context_to): Set contains_functions for the outer
12051         function.  Don't call save_varasm_status.
12052         (pop_function_context_from): Don't call restore_varasm_status.  Don't
12053         set current_function_contains_functions.
12054         (prepare_function_start): Call init_varasm_status rather than
12055         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
12056         is non-null.
12057         * function.h (struct function) Add field varasm.  Delete fields
12058         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
12059         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
12060         (init_machine_status): Declare.
12061         (save_varasm_status, restore_varasm_status): Delete declarations.
12062         (save_tree_status, restore_tree_status): Delete last argument.
12063         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
12064         code.  All callers changed.
12065         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
12066         save_constants_in_decl_trees, restore_constants, save_constants,
12067         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
12068         functions.
12069         (inlining): New variable.
12070         (reg_map, label_map, insn_map, orig_asm_operands_vector,
12071         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
12072         variables.
12073         (save_for_inline_nocopy): Don't save constants.
12074         Don't set inl_emit field in current_function.
12075         (expand_inline_function): Use emit field, not inl_emit, of the inlined
12076         function.  Set new variable inlining before
12077         calling copy_rtx_and_substitute.
12078         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
12079         constant pool references if inlining is nonzero.
12080         Delete ADDRESS and (most of the) CONST cases.
12081         (output_inline_function): Save and restore current_function/
12082         current_function_decl.  Delete restore_constants code.  Don't call
12083         init_const_rtx_hash_table.
12084         * output.h (init_const_rtx_hash_table): Don't declare.
12085         * rtl.h (struct function): Declare.
12086         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
12087         * toplev.c (rest_of_compilation): Don't treat nested functions or
12088         functions containing them specially.  Delete all code to deal with
12089         save_for_inline_copying.
12090         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
12091         inline_obstacks): Delete variables.
12092         (save_tree_status): Lose arg CONTEXT.  All callers changed.
12093         Simply allocate a new function_maybepermanent_obstack for the new
12094         function, delete all the special cases.
12095         Don't save inline_obstacks.
12096         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
12097         Delete special handling for function_maybepermanent_obstack; simply
12098         free it if empty.
12099         Don't restore inline_obstacks.
12100         (permanent_allocation):  Delete code that frees inline_obstacks.
12101         (print_inline_obstack_statistics): Delete function.
12102         (dump_tree_statistics): Don't call it.
12103         * varasm.c (struct varasm_status): New.
12104         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
12105         last_pool, pool_offset, const_double_chain): Delete global
12106         variables, replace with accessor macros.
12107         (immed_double_const): Don't walk const_double_chain outside a
12108         function, but don't treat nested functions specially anymore.
12109         (immed_real_const_1): Likewise.
12110         (clear_const_double_mem): Don't treat nested functions specially.
12111         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
12112         (save_varasm_status, restore_varasm_status): Delete functions.
12113         (init_varasm_status): New function.
12114         (force_const_mem): Don't treat nested functions specially.
12115         (find_pool_constant): Accept new arg F, search for constants in
12116         that function's pool rather than the current one.  All callers
12117         changed.
12118         (get_pool_constant_for_function, get_pool_mode_for_function): New
12119         functions.
12120
12121         * i386.c (init_386_machine_status): New function, mostly from
12122         clear_386_stack_locals.
12123         (struct machine_functions): Rename element names to avoid name
12124         clashes.
12125         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
12126         macros, replacing global variables.
12127         (clear_386_stack_locals, save_386_machine_status,
12128         restore_386_machine_status): Delete functions.
12129         (override_options): Initialize init_machine_status.
12130         * i386.h (INIT_EXPANDERS): Delete macro.
12131         (save_386_machine_status, restore_386_machine_status,
12132         clear_386_stack_locals): Delete declarations.
12133
12134 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12135
12136         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
12137         (doloop_begin):  Simplify pattern and use emit_jump_insn.
12138         (doloop_end): Simplify pattern, switch operand order,
12139         and use emit_jump_insn.
12140
12141 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12142
12143         * function.h (struct function): Add new element LANGUAGE.
12144         (save_lang_status): Declare new variable.
12145         (restore_lang_status): Likewise.
12146         * function.c (save_lang_status): Define.
12147         (restore_lang_status): Likewise.
12148         (push_function_context_to): Call language-specific save function.
12149         (pop_function_context_from): Call language-specific restore function.
12150
12151 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
12152
12153         * i386.md (movsf_1): Check REG_P before use of REGNO.
12154         (movdf_1): Likewise.
12155         (movxf_1): Likewise.
12156         (extendsfdf2): Likewise.
12157         (extendsfxf2): Likewise.
12158         (extenddfxf2): Likewise.
12159
12160 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12161
12162         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
12163         constants into memory.
12164         (c4x_shiftable_constant): New function.
12165         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
12166         (c4x_shiftable_constant): Declare.
12167         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
12168         ashlqi3_noclobber): Add new patterns and associated splitters.
12169
12170 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
12171
12172         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
12173         * dwarf2out.c (dwarf2out_frame_init): Likewise.
12174         * final.c (shorten_branches): Likewise.
12175         * global.c (global_alloc): Likewise.
12176         * haifa-sched.c (build_control_flow): Likewise.
12177         * stmt.c (check_for_full_enumeration_handling): Likewise.
12178         (estimate_case_costs): Likewise.
12179
12180 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
12181
12182         * rtl.h (RTL_CHECKC2): Fix typo in last change.
12183
12184 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
12185
12186         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
12187         (recompute_reg_usage): Likewise.
12188         * rtlanal.c (find_regno_fusage): Likewise.
12189
12190         * rtl.c (rtl_check_failed_code1): New function.
12191         (rtl_check_failed_code2): New.
12192         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
12193         (RTL_CHECKC1, RTL_CHECKC2): New.
12194         (XC*): New accessor macros.
12195         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
12196         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
12197         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
12198         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
12199         (TRAP_*, RANGE_INFO_*): Likewise.
12200
12201 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12202
12203         * Makefile.in (tlink.o): Don't depend on toplev.h.
12204
12205         * collect2.c (c_file, o_file, export_file, import_file, ldout,
12206         output_file, nm_file_name, ldd_file_name, strip_file_name,
12207         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
12208         add_prefix, prefix_from_env, prefix_from_string, do_wait,
12209         fork_execute, maybe_unlink, add_to_list,
12210         extract_init_priority, write_list, dump_list,
12211         dump_prefix_list, write_list_with_asm, write_c_file,
12212         write_c_file_stat, write_c_file_glob, scan_prog_file,
12213         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
12214         ignore_library, extract_string, notice, dump_file, target_machine,
12215         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
12216         read_file, print_load_command): Constify a char*.
12217         (fdopen, error, fatal, fatal_perror): Don't prototype.
12218         (my_strerror): Remove.  All callers use xstrerror instead.
12219         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
12220         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
12221         to xcalloc/strcpy/strcat/...  to one call to concat.
12222         (main, scan_prog_file, scan_libraries): Use an intermediate
12223         `const char **' to build an argv array.
12224         (mapfile, libselect, libcompare, locatelib): Add prototypes.
12225
12226         * collect2.h (collect_execute, collect_wait, dump_file,
12227         file_exists): Constify a char*.
12228         (ldout, c_file_name, temporary_obstack, permanent_obstack,
12229         temporary_firstobj, vflag, debug): Add extern declarations.
12230         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
12231
12232         * tlink.c: Don't include toplev.h.
12233         (vflag, debug, ldout, c_file_name, temporary_obstack,
12234         permanent_obstack, temporary_firstobj): Don't declare.
12235         (tlink_execute, frob_extension, symbol_hash_lookup,
12236         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
12237         recompile_files, read_repo_files, demangle_new_symbols,
12238         scan_linker_output): Constify a char*.
12239         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
12240         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
12241
12242 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
12243
12244         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
12245         (relative) rather than jsr (absolute) subroutine call insns.
12246         * config/m68k/m68k-coff.h: Ditto.
12247
12248 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
12249
12250         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
12251         now rework these too.
12252         (arm_reorg): If an insn can't reach the end of the current pool,
12253         ensure that we emit that pool before the insn.
12254
12255 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
12256
12257         * tlink.c (scan_linker_output): Skip the initial underscore in
12258         a mangled name if appropriate.
12259
12260 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12261
12262         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
12263         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
12264         error_with_ivar, gen_declarator, create_builtin_decl,
12265         my_build_string, generate_descriptor_table, generate_ivars_list,
12266         generate_dispatch_table, check_protocols, TAG_GETCLASS,
12267         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
12268         dump_base_name, lang_decode_option, build_encode_expr,
12269         start_class, finish_class, encode_pointer, really_start_method,
12270         gen_declaration, dump_interface, handle_class_ref, handle_impent):
12271         Constify.
12272         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
12273         Add static prototypes.
12274         (build_objc_string_decl, build_selector_reference_decl,
12275         encode_bitfield, build_class_reference_decl): Remove unused
12276         parameter, all callers changed.
12277         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
12278         (objc_printable_name): Likewise.  Change second parameter to type int.
12279         (init_objc): Use memcpy, not bcopy, to avoid casts.
12280
12281 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
12282
12283         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
12284         reg notes on a deleted insn.
12285         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
12286
12287 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
12288
12289         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
12290
12291 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12292
12293         * stmt.c (expand_asm_operands): Fix index into inout_mode when
12294         reading it.
12295
12296 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
12297
12298         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
12299         * tm.texi (MD_ASM_CLOBBERS): Document it.
12300
12301 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
12302
12303         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
12304         * except.c (expand_rethrow): Remove unused variable.
12305         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
12306         * flow.c (replace_insns): Likewise.
12307         (create_edge_list, verify_edge_list): Likewise.
12308         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
12309
12310         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
12311         is special code to run.
12312         (main): Don't define operands to emit_operand.
12313         * genrecog.c (main): Don't emit an empty peephole2_insn function.
12314
12315         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
12316
12317         * alpha/alpha.h (normal_memory_operand): Declare.
12318         (reg_no_subreg_operand): Declare.
12319         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
12320
12321 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
12322
12323         * c-parse.in (compstmt_primary_start): New, broken out of first
12324         part of compstmt handling in primary.
12325         (primary): Use it.  Add an error clause.
12326         (compstmt_nostart): Renamed from compstmt; remove all
12327         initial invocations of compstmt_start.
12328         (compstmt): New.
12329
12330 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
12331
12332         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
12333         needed.
12334
12335 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
12336
12337         * combine.c (simplify_shift_const): Remove extra semicolon.
12338         * dwarf2out.c (remove_AT): Likewise.
12339         * expmed.c (expand_mult): Likewise.
12340         * gcov.c (create_program_flow_graph): Likewise.
12341         * reorg.c (mostly_true_jump): Likewise.
12342
12343 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
12344
12345         * fold-const.c (fold_range_test): Do not try to fold the range
12346         test if the rhs or lhs has side effects.
12347
12348         * combine.c (simplify_rtx): Recognize another case of a synthesized
12349         sign extension.
12350
12351         * varasm.c (mark_constant_pool): When marking indirect references,
12352         only look at SYMBOL_REFs.
12353
12354         * except.c (expand_fixup_region_end): Do not peek at
12355         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
12356
12357 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
12358
12359         * flags.h: New variables align_loops, align_loops_log,
12360         align_jumps, align_jumps_log, align_labels, align_labels_log,
12361         align_functions, align_functions_log.
12362         * toplev.c: Define them.
12363         (f_options): Handle -falign-* when they have no argument.
12364         (main): Add logic to set variables for -falign-functions,
12365         -falign-jumps, -falign-labels, -falign-loops.
12366         Make it -fsched-verbose=<n> and -finline-limit=<n>.
12367         (display_help): Change help to match options.
12368         * final.c (LABEL_ALIGN): Default to align_labels_log.
12369         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
12370         (LOOP_ALIGN): Default to align_loops_log.
12371         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
12372         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
12373         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
12374         * varasm.c (assemble_start_function): Handle align_functions.
12375
12376         * config/sparc/sparc.h: Don't declare sparc_align_*.
12377         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
12378         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
12379         sparc.c.
12380         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
12381         it's a promise.
12382         * config/sparc/sparc.c: Delete sparc_align_loops,
12383         sparc_align_jumps, sparc_align_funcs and the corresponding string
12384         variables.
12385         (sparc_override_options): Default align_functions on ultrasparc.
12386         Delete -malign-* handling.
12387
12388         * config/mips/mips.c (override_options):  On 64-bit targets,
12389         try to align code to 64-bit boundaries.
12390         (print_operand): New substitution, %~,
12391         which aligns labels to align_labels_log.
12392         * config/mips/mips.md (div_trap_normal): Use %~.
12393         (div_trap_mips16): Likewise.
12394         (abssi): Likewise.
12395         (absdi2): Likewise.
12396         (ffssi2): Likewise.
12397         (ffsdi2): Likewise.
12398         (ashldi3_internal): Likewise.
12399         (ashrdi3_internal): Likewise.
12400         (lshrdi3_internal): Likewise.
12401         (casesi_internal): Likewise.
12402
12403 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
12404
12405         Merge new ia32 backend from the branch!
12406
12407         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
12408         See ChangeLog.P2 on new_ia32_branch for details.
12409
12410         * rtl.h (stack_regs_mentioned_p): Delete prototype.
12411         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
12412         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
12413         * i386/gas.h (ASM_FILE_START): Define.
12414         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
12415         for name change of ix86_valid_decl_attribute_p.
12416         (i386_pe_valid_type_attribute_p): Similarly.
12417
12418 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
12419
12420         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
12421         to step through CC modes.
12422
12423 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12424
12425         * regmove.c (fixup_match_1): Don't move INSN in front of P if
12426         it would end up in the shadow of a live flags regsiter.
12427
12428 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12429
12430         * reload1.c: Fix many indentation problems.
12431         * reload.c: Likewise.
12432
12433 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
12434
12435         * alias.c (non_local_reference_p): Constify fmt.
12436
12437 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
12438
12439         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
12440
12441 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
12442
12443         * cse.c (delete_trivially_dead_insns): Do not delete stores to
12444         the internal_arg_pointer.
12445
12446 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
12447
12448         Merge peephole2 from new_ia32_branch:
12449         * Makefile.in (STAGESTUFF): Add *.peephole2.
12450         (mostlyclean): Likewise.
12451         (recog.o): Depend on resource.h.
12452
12453         * final.c (peephole): Conditionalize decl on HAVE_peephole.
12454         (final_scan_insn): Likewise for the invocation of peephole.
12455         * genconfig.c (main): Look for peephole and peephole2 patterns.
12456         Emit HAVE_peephole* accordingly.
12457         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
12458         * flags.h (flag_peephole2): Declare.
12459         * toplev.c: New pass peephole2.  New flag -fpeephole2.
12460
12461         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
12462         * gencodes.c (main): Likewise.
12463         * genextract.c (main): Likewise.
12464         * genoutput.c (main): Likewise.
12465         * genemit.c (max_operand_1): Look for the max scratch operand.
12466         (gen_rtx_scratch): New.
12467         (gen_exp): Use it, and pass on new arg subroutine_type.
12468         (gen_expand): Take max scratch into account.
12469         (gen_split): Emit peephole2 functions.
12470         (output_peephole2_scratch): New.
12471         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
12472         * genrecog.c (routine_type): Add PEEPHOLE2.
12473         (IS_SPLIT): New.
12474         (make_insn_sequence): Match outer parallel for peep2.  Discard
12475         top level scratches and dups.
12476         (add_to_sequence): New args insn_type and top.  Update all callers.
12477         Handle toplevel peep2 matching insns.
12478         (write_subroutine): Handle peep2.
12479         (write_tree_1): Likewise.
12480         (write_tree): Likewise.
12481         (main): Likewise.
12482         (change_state): New arg afterward.  Update all callers.
12483         Handle matching separate insns.
12484         * recog.c (recog_next_insn): New.
12485         (peephole2_optimize): New.
12486         * rtl.def (DEFINE_PEEPHOLE2): New.
12487         * resource.c (find_free_register): New argument last_insn.  Use it
12488         to find a register available through the entire span.
12489         * resource.h (find_free_register): Update prototype.
12490
12491 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
12492
12493         * i386.c (output_strlen_unroll): Don't write xops[7]
12494         label if it wasn't set.
12495
12496 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
12497
12498         * cpplib.c (struct directive): Const-ify name pointer and
12499         function pointer prototype.
12500         (validate_else, do_define, do_line, do_include, do_undef,
12501         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
12502         do_elif, do_endif, do_sccs, do_assert, do_unassert,
12503         do_warning): Const-ify second arg.
12504         (directive_table): Mark const.  Reorder entries by frequency
12505         of usage, record statistics.
12506
12507 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
12508
12509         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
12510         bounds- check RTL accesses if --enable-checking.
12511         (RTVEC_ELT): Bounds check if --enable-checking.
12512         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
12513         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
12514         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
12515         GET_NUM_ELEM.
12516         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
12517         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
12518
12519         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
12520         (NOTE_SOURCE_FILE): Use X0STR.
12521         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
12522         MEM_ALIAS_SET): Use X0INT.
12523         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
12524         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
12525         Use X0EXP.
12526         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
12527         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
12528         (rtl_check_failed_bounds, rtl_check_failed_type1,
12529         rtl_check_failed_type2, rtvec_check_failed_bounds): New
12530         functions.
12531         (fancy_abort): Fix comment.
12532
12533         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
12534         (cse_insn): Decrement LABEL_NUSES for jump target before
12535         deleting jump insn.
12536         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
12537         * final.c (alter_subreg): Compute regno before changing x to
12538         REG; set REGNO(x) after changing it.
12539         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
12540         notes containing CONST_INTs.
12541         (delete_eh_regions): Use NOTE_EH_HANDLER.
12542         * function.c (put_reg_into_stack): Make reg a MEM before
12543         initializing it.
12544         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
12545         delete insn.
12546         (gen_mem_addressof): Make reg a MEM before initializing it.
12547         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
12548         X0WINT.
12549         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
12550         deleting an insn, not after.
12551         (block_alloc): Only look at PATTERN(insn) if we have to, and
12552         only if it's format class 'i'.
12553         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
12554         CONST_INT before using its INTVAL.
12555         * print-rtl.c (print_rtx): Use X0STR.
12556         * regmove.c (fixup_match_1): Don't look at PATTERN of
12557         non-class-'i' insn chain elements.
12558         * reload.c (loc_mentioned_in_p): Take address of
12559         in->fld[1].rtx directly.
12560         * reload1.c (reload): Change reg to a MEM before initializing
12561         it.
12562         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
12563         have no names.
12564         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
12565
12566 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
12567
12568         * config/mips/mips.c (machine_dependent_reorg): Force a
12569         barrier to output the local constant pool if a barrier hasn't
12570         been found at a natural point in the instruction stream.
12571
12572 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12573
12574         * c-parse.in (language_string): Constify.
12575
12576         * dwarf2out.c (language_string): Remove declaration.
12577
12578         * dwarfout.c (language_string): Likewise.
12579
12580         * toplev.c (language_string, init_parse, finish_parse): Likewise.
12581
12582         * tree.h (language_string, init_parse, finish_parse): Declare.
12583
12584         * i386/sun386.h (language_string): Remove declaration.
12585
12586         * mips.h (language_string): Likewise.
12587
12588         * nextstep.h (language_string): Likewise.
12589
12590         * nextstep21.h (language_string): Likewise.
12591
12592         * rs6000.c (language_string): Likewise.
12593
12594 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12595
12596         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
12597         (getpwd.o): Remove target.
12598
12599         * getpwd.c: Delete file.  Its in libiberty now.
12600
12601         * dbxout.c (getpwd): Don't prototype.
12602         * dwarf2out.c (getpwd): Likewise
12603         * dwarfout.c (getpwd): Likewise
12604         * final.c (getpwd): Likewise.
12605         * protoize.c (getpwd): Likewise.
12606
12607 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12608
12609         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
12610
12611 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
12612
12613         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
12614         mark_set_resources.
12615
12616 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
12617
12618         * fixinc/Makefile.in (subdir): New.
12619         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
12620         (Makefile): New.
12621
12622 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
12623
12624         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
12625         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
12626         be shared.
12627
12628         * invoke.texi: Fix typo.
12629
12630         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
12631         changed.  Handle autoincrement addressing modes.
12632
12633         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
12634         just like we would the virtual incoming args register when
12635         integrating.
12636
12637 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
12638
12639         * rs6000.h (ASM_FILE_START): Specify complete filename, including
12640         path, in .file directive.
12641
12642 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
12643
12644         * gcc.texi (External Bugs): Remove obsolete note about Perl on
12645         SunOS.
12646
12647 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
12648
12649         * stdbool.h: Make the typedef name _Bool, with bool a #defined
12650         alias.
12651
12652 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12653
12654         * tree.c (tree_code_name): Constify a char*.
12655
12656         * tree.h (tree_code_name, decl_printable_name): Likewise.
12657
12658         * function.h (struct function): Likewise.
12659
12660         * toplev.c (decl_name, decl_printable_name): Likewise.
12661
12662         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
12663
12664         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
12665         (init_objc): Remove function pointer cast.
12666
12667 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
12668
12669         * pa.md (interspace_jump): New pattern.
12670         (builtin_longjmp): New expander.
12671
12672 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12673
12674         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
12675         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
12676         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
12677
12678 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
12679
12680         * jump.c (delete_prior_computation): Also check calls
12681         to constant functions.  Don't bother checking for a
12682         REG_UNUSED note before adding it.
12683         (delete_computation): Handle multi-word hard registers
12684         when synthesizing missing REG_DEAD notes for a register
12685         which is both set and used by an insn.
12686
12687 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12688
12689         * loop.c (this_loop_info): New variable.
12690         (loop_has_call, loop_has_volatile, loop_has_tablejump,
12691         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
12692         All uses updated.
12693         (prescan_loop, strength_reduce): New argument loop_info.  All callers
12694         updated.
12695         (scan_loop): New variable loop_info, initialise to address of
12696         this_loop_info.
12697         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
12698         Delete variable loop_has_multiple_exit targets and replace with
12699         field in this_loop_info.
12700         (find_and_verify_loops): Rename this_loop to this_loop_num.
12701         (strength_reduce): Delete loop_iteration_info.  Replace variable
12702         loop_info with function argument of same name.
12703         (insert_bct): Rework test for loop being completely unrolled.
12704
12705         * loop.h (struct loop_info): New fields num, loops_enclosed,
12706         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
12707         has_indirect_jump, and cont.  Redefine use of unroll_number.
12708         (loop_unroll_number): Delete.
12709
12710         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
12711         field of loop_info.
12712         (loop_iterations): Delete variable vtop and instead use
12713         loop_info->vtop computed in prescan_loop.
12714
12715 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
12716
12717         * fix-header.c (main): Do not pass a null pointer to strcmp.
12718
12719 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
12720
12721         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
12722         filenames.
12723         * configure: Rebuilt.
12724
12725 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
12726
12727         * jump.c (jump_optimize_1): Do not delete assignments to
12728         internal_arg_pointer.
12729         * cse.c (delete_trivially_dead_insns): Always consider a set of
12730         the internal_arg_pointer live.
12731
12732 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
12733
12734         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
12735         (update_life_info) [REG_WAS_0]: Search the original insns rather
12736         than the new insns for the note.  Fix typos finding note_dest.
12737         If no dest found, discard the note rather than abort.
12738         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
12739         (replace_insns): Remove the old insn list after update_life_info
12740         not before.
12741
12742 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
12743
12744         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
12745         sched_analyze_insn.
12746         (sched_analyze_1): Let add_dependence care for not adding dups.
12747         (sched_analyze_2): Likewise.
12748         (add_branch_dependences): Likewise.
12749
12750 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
12751
12752         * i386/winnt.c (export_list): New type.
12753         (exports_head): Rename to
12754         (export_head):  this.
12755         (i386_pe_record_exported_symbol): Add is_data flag.
12756         (i386_pe_asm_file_end): Emit directive for exported variables.
12757         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
12758         prototype.
12759         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
12760         (ASM_DECLARE_OBJECT_NAME): Likewise.
12761         (ASM_DECLARE_FUNCTION_NAME): Likewise.
12762         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
12763
12764 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
12765
12766         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
12767
12768         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
12769         operand.
12770
12771 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
12772
12773         * config/openbsd.h: Define SET_ASM_OP.
12774         * tm.texi: cross-reference SET_ASM_OP in the index.
12775
12776 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
12777
12778         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
12779         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
12780         and class_narrowest_mode at compile time.  Kill init_rtl.
12781         Mark rtx_length, mode_class, mode_size, mode_unit_size,
12782         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
12783         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
12784         EXTRA_CC_NAMES.
12785         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
12786         format.
12787         * rtl.h: Declare rtx_length and rtx_format as const.
12788         * machmode.def: Define CC().  Use CC() to define CCmode.  If
12789         EXTRA_CC_MODES is defined, expand it here.
12790         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
12791         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
12792         const.  Kill all references to EXTRA_CC_MODES.
12793
12794         * toplev.c: Don't prototype or call init_rtl.
12795         * optabs.c: Don't call init_mov_optab.
12796         * genemit.c: Don't generate init_mov_optab.  Don't call
12797         init_rtl.
12798         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
12799         here.
12800         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
12801         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
12802         genrecog.c: Don't call init_rtl.
12803
12804         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
12805         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
12806         definition of EXTRA_CC_MODES.
12807
12808         * md.texi: Kill ref to EXTRA_CC_NAMES.
12809         * tm.texi: Document new way to define EXTRA_CC_MODES.
12810
12811         * genrecog.c: Do not look up the name of a define_split.
12812         (Unrelated bugfix.)
12813
12814 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
12815
12816         * config/v850/v850.md: Fix typo introduced by previous delta.
12817
12818 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12819
12820         * gcc.c (fatal): Make definition static to match prototype.
12821
12822 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12823
12824         * combine.c (get_last_value): Don't look for earlier sets if the last
12825         known set is somewhere in between the insns being combined.
12826
12827 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
12828
12829         * configure.in: Don't use shell ! to negate exit codes
12830         * configure: Regenerate
12831
12832 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
12833
12834         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
12835         the fact that ALIGN is measured in bits, not bytes.
12836
12837 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
12838
12839         * errors.c: New file; defines functions error, warning, and
12840         fatal, variables have_error and progname.
12841         * errors.h: New file; prototypes and decls for stuff in errors.c.
12842
12843         * Makefile: Add rules to build errors.o and
12844         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
12845         genopinit, genrecog, genextract, genpeep, genattr, and
12846         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
12847         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
12848         genpeep.o, genattr.o, and genoutput.o.
12849
12850         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
12851         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
12852         define or prototype fatal.  Set progname at beginning of main.
12853         * genoutput.c:  Likewise, and don't define or prototype error
12854         either.
12855
12856         * c-typeck.c (c_expand_start_case): Return immediately if exp
12857         is an ERROR_MARK.
12858         * fold-const.c (operand_equal_p): Return immediately if arg1
12859         or arg0 are ERROR_MARKs.
12860         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
12861         fields of type ERROR_MARK when calculating if the record can
12862         go in a register.
12863
12864 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
12865         with much help from Jeffrey A Law and Richard Henderson
12866
12867         * i386.md: In the 6 insns which call output_fix_trunc,
12868         earlyclobber operands[0].
12869
12870 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
12871
12872         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
12873         creating new registers.
12874
12875 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
12876
12877         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
12878         i386_reg_alloc_order, i386_regparm_string,
12879         i386_align_loops_string, i386_align_jumps_string,
12880         i386_align_funcs_string, i386_preferred_stack_boundary_string,
12881         and i386_branch_cost_string as type "const char *".
12882         * i386.c: Define all above strings as type "const char *".
12883
12884 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
12885
12886         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
12887         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
12888
12889 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
12890
12891         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
12892         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
12893
12894 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
12895
12896         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
12897         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
12898         (dwarf2out_line, dwarf2out_finish): Likewise.
12899         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
12900
12901 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
12902
12903         * tree.c (lang_unsave_expr_now) : Correct return type.
12904         * tree.h (lang_unsave_expr_now) : Same.
12905
12906 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
12907
12908         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
12909         instead of duplicating code.
12910
12911 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12912
12913         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
12914
12915 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
12916
12917         * tree.h: fancy_abort always takes three args.
12918         * resource.c: Move include of system.h before toplev.h.
12919
12920 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
12921
12922         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
12923         as SYMBOL_REFs.
12924
12925 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
12926
12927         * system.h: Don't redefine abort or trim_filename.
12928         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
12929         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
12930         whether or not __FUNCTION__ is available.
12931         * tree.h: Duplicate rtl.h's definition of abort, for files
12932         that don't include rtl.h.  Delete all code to perform type
12933         checking with a compiler other than GCC.
12934         * varray.h: Delete all code to perform type checking with a
12935         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
12936         its arguments exactly once, using a statement expression.
12937         Adjust the VARRAY_<type> accessor macros to match.
12938         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
12939         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
12940         caller's location.  Define fatal_insn and fatal_insn_not_found
12941         as macros that use _fatal_insn and _fatal_insn_not_found.
12942         (fancy_abort, trim_filename): Kill prototypes.
12943
12944         * rtl.c (trim_filename): Move here from toplev.c.
12945         (fancy_abort): New function.
12946         (DIR_SEPARATOR): Provide default definition.
12947         * tree.c (tree_check_failed, tree_class_check_failed): Go
12948         through fancy_abort.
12949         (tree_check, tree_class_check, cst_or_constructor_check,
12950         expr_check): Delete.
12951         * varray.c (varray_check_failed): New function.
12952         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
12953         _fatal_insn and _fatal_insn_not_found.  Go through
12954         fancy_abort.
12955         (trim_filename, fancy_abort): Delete.
12956
12957         * builtins.c (expand_builtin_args_info): Report ICE with abort.
12958         * except.c (start_catch_handler): Report ICE with error/abort
12959         combo.
12960         * final.c (output_operand_lossage): Likewise.
12961         * flow.c (verify_flow_info): Likewise.
12962
12963         * gcc.c: Prototype fatal.
12964         * gengenrtl.c: Undef abort after including rtl.h not system.h.
12965         * genattr.c, genattrtab.c, genemit.c, genextract.c,
12966         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
12967         Don't define fancy_abort.
12968
12969 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
12970
12971         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
12972         canonization.
12973
12974 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
12975
12976         * m88k.h (VERSION_INFO2): Kill.
12977         (VERSION_STRING): Kill.
12978         (TM_RCS_ID): Kill.
12979         (VERSION_INFO1): Tidy.
12980         (TARGET_VERSION): Update.
12981         * m88k/dgux.h (VERSION_INFO2): Kill.
12982         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
12983         * m88k/luna.h (VERSION_INFO1): Tidy.
12984         * m88k/sysv4.h (VERSION_INFO1): Likewise.
12985         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
12986         (output_file_start): Adjust for death of VERSION_STRING.
12987
12988 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
12989
12990         * cpplib.c (detect_if_not_defined): New function.
12991         (do_if): Use it to detect potential once-only headers.
12992
12993 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
12994
12995         * c-common.c (combine_strings): Always set TREE_CONSTANT.
12996
12997 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
12998
12999         * combine.c (nonzero_bits) : Allow single-ly set registers to be
13000         anywere in the function only if they are pseudos and set before
13001         being used (not live at the start of the function).
13002         (num_sign_bit_copies) : Same.
13003         (get_last_value_validate) : Same.
13004         (get_last_value) : Same.
13005
13006 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
13007
13008         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
13009         where N and M are constant and N is an integer multiple of M.
13010
13011 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13012
13013         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
13014         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
13015         sbitmap_union_of_preds): Add prototypes.
13016         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
13017         the intersection of successors with the new flow graph structures.
13018         (sbitmap_intersection_of_preds): New function to compute the
13019         intersection of predecessors with the new flow graph structures.
13020         (sbitmap_union_of_succs): New function to compute the union of
13021         successors with the new flow graph structures.
13022         (sbitmap_union_of_preds): New function to compute the union of
13023         predecessors with the new flow graph structures.
13024         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
13025         (expr_reaches_here_p): Use edge and basic_block structures instead
13026         of s_preds and s_succs.
13027         (compute_cprop_avinout): Use new sbitmap routines.
13028         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
13029         of s_preds and s_succs.
13030         * flow.c (compute_flow_dominators): Compute dominators using
13031         edges and basic blocks instead of s_preds and s_succs.
13032
13033 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13034
13035         * lists.c (unused_insn_list, unused_expr_list): New file for
13036         maintaining various types of lists. New statics for maintaining a
13037         cache of available INSN_LIST and EXPR_LIST nodes.
13038         (free_list): Static function for freeing a list of INSN/EXPR nodes.
13039         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
13040         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
13041         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
13042         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
13043         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
13044         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
13045         (free_INSN_LIST_node): Free an individual INSN_LIST node.
13046         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
13047         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
13048         (remove_dependence, free_pending_lists): Use new global routines.
13049         (flush_pending_lists, sched_analyze_insn): Use new global routines.
13050         (sched_analyze, compute_block_backward_dependences): Use new routines.
13051         (sched_analyze_1, sched_analyze_2): Use new routines.
13052         (schedule_insns): Use new global routines.
13053         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
13054         prototypes.
13055         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
13056         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
13057         prototypes.
13058         * toplev.c (rest_of_compilation): Initialize node cache.
13059         * Makefile.in (OBJS): Add lists.o to list of object files.
13060         (lists.o): Add dependancies.
13061
13062 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
13063
13064         * config/v850/v850.md: Fix compile time warning messages.
13065         * config/v850/v850.c: Fix compile time warning messages.
13066         * config/v850/v850.h: Fix compile time warning messages.
13067
13068 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13069
13070         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
13071         Remove unused prototype for `init_lengths'.
13072
13073 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13074
13075         * calls.c (emit_call_1): Mark parameter `stack_size' with
13076         ATTRIBUTE_UNUSED.
13077         (expand_call): Initialize variable `insn'.
13078         (emit_library_call): Likewise for variable `high_to_save'.
13079         (emit_library_call_value): Likewise.
13080         (store_one_arg): Likewise for variables `lower_bound' and
13081         `upper_bound'.
13082
13083         * combine.c (try_combine): Likewise for variables `i2_code_number'
13084         and `other_code_number'.
13085         (find_split_point): Likewise for variables `pos', `unsignedp' and
13086         `inner'.
13087         (simplify_if_then_else): Likewise for variables `op' and `c1'.
13088         (simplify_and_const_int): Remove unused variable `width'.
13089         (merge_outer_ops): Likewise.
13090
13091         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
13092         HOST_WIDE_INT' when comparing against one.
13093         (simplify_relational_operation): Likewise.
13094         (cse_insn): Initialize variables `src_eqv_volatile',
13095         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
13096
13097         * final.c (init_final): Constify parameter `filename'.
13098         (final_start_function): Mark parameter `optimize' with
13099         ATTRIBUTE_UNUSED.
13100         (profile_function): Likewise for parameters `first' and `optimize'.
13101         (output_source_line): Likewise for parameter `file'.
13102
13103         * integrate.c (subst_constants): Cast a value to `size_t' when
13104         comparing against one.
13105         (mark_stores): Initialize variable `mode'.  Cast a value to
13106         `size_t' when comparing against one.
13107
13108         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
13109
13110         * loop.c (move_movables): Initialize variable `first'.
13111         (strength_reduce): Likewise for variable `increment'.
13112         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
13113         value to `size_t' when comparing against one.
13114         (load_mems): Initialize variable `end_label'.
13115
13116         * output.h (init_final): Constify parameter.
13117
13118         * reload.c (decompose): Initialize variable `base'.
13119
13120         * reload1.c (reload): Likewise for variable `is_scalar'.
13121         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
13122         (choose_reload_regs): Initialize variable `mode'.
13123         (emit_reload_insns): Likewise for variable `store_insn'.
13124         (reload_cse_noop_set_p): Mark parameter `insn' with
13125         ATTRIBUTE_UNUSED.
13126         (reload_combine): Initialize variable `set'.
13127
13128         * unroll.c (unroll_loop): Likewise for variable `local_label'.
13129         (copy_loop_body): Cast a value to `size_t' when comparing against
13130         one.
13131
13132         * varasm.c (assemble_variable): Initialize variable `size_tree'.
13133         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
13134         (remove_from_pending_weak_list): Mark parameter `name' with
13135         ATTRIBUTE_UNUSED.
13136
13137 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13138
13139         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
13140         gcse dump file.
13141
13142 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
13143
13144         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
13145         (ASM_DECLARE_FUNCTION_NAME): Define.
13146         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
13147         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
13148         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
13149         not already defined.
13150
13151 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13152
13153         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
13154         of n_popped when call/call_value are not defined.
13155
13156 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
13157
13158         * tm.texi: GNU CC -> GCC conversion.
13159         (CC1_SPEC): Indicate it is used for all language front ends.
13160
13161 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
13162
13163         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
13164         NOTE_INSN_EH_REGION_END correctly.
13165
13166 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
13167                           Jeff Law <law@cygnus.com>
13168
13169         * loop.c (strength_reduce): Automatically unroll loops if the
13170         unrolled loop size is smaller than the rolled loop size.
13171
13172         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
13173         and delete comment that code should be rewritten.
13174
13175 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
13176
13177         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
13178         as reachable.
13179
13180         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
13181
13182 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13183
13184         * fixinc/mkfixinc.sh: Don't fix uwin headers.
13185         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
13186         (LINK_SPEC): Add -u _main when building executables.
13187         (ASM_DECLARE_FUNCTION): Update from Cygwin.
13188         (ASM_FILE_END): Use the default for ix86-pe.
13189         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
13190
13191 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
13192
13193         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
13194         and ASM_CLOSE_PAREN are empty strings.
13195
13196 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
13197                           Geoffrey Keating <geoffk@cygnus.com>
13198
13199         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
13200         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
13201         (unprotoize.o): Ditto.
13202         (test-protoize-simple): Don't define STD_PROTO_DIR.
13203         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
13204         changes to make 'test-protoize-simple' pass.
13205         (STD_PROTO_DIR): Remove define.
13206         (STANDARD_EXEC_PREFIX): Supply default define.
13207         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
13208         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
13209         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
13210         (GET_ENV_PATH_LIST): New macro.
13211         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
13212         (do_processing): Initialize default_syscalls_dir using new
13213         macros.  Use it to initialize syscalls_absolute_filename.
13214
13215 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
13216
13217         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
13218         B into a register before emit_conditional_move.
13219
13220 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
13221
13222         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
13223         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
13224         multiplicand out of (+ (* a b) (* c d)).
13225
13226 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
13227                           Richard Henderson  <rth@cygnus.com>
13228
13229         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
13230         (new_insn_dead_notes): Likewise.
13231         (update_n_sets): Likewise.
13232         (update_flow_info): Move to flow.c, renamed to update_life_info;
13233         extend to handle multiple source insns.
13234         * flow.c: Include resource.h
13235         (unlink_insn_chain): New.
13236         (split_hard_reg_notes): New.
13237         (maybe_add_dead_note): New.
13238         (maybe_add_dead_note_use): New.
13239         (find_insn_with_note): New.
13240         (new_insn_dead_notes): New.
13241         (update_n_sets): New.
13242         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
13243         (maybe_remove_dead_notes): New.
13244         (update_life_info): New.
13245         (prepend_reg_notes): New.
13246         (replace_insns): New.
13247         * output.h (update_life_info): Declare.
13248         * recog.c (split_block_insns): Use update_life_info.
13249         * resource.c (find_free_register): Use reg_alloc_order, don't use
13250         fixed regs, make sure the mode is supported, don't use new regs.
13251         (reg_dead_p): New.
13252         * rtl.h (replace_insns): Declare.
13253
13254 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
13255
13256         * expr.c (expand_expr): Cope with COND_EXPRs with one
13257         non-returning branch.
13258
13259 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
13260
13261         * expr.c (store_expr): Always pass down the target, even when not
13262         doing CSE.
13263
13264 1999-08-24  Nick Clifton  <nickc@cygnus.com>
13265
13266         * configure.in: Define target_cpu_default for v850 targets.
13267         * configure: Regenerate
13268
13269         * config/v850/v850.h (TARGET_CPU_generic): Define.
13270         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
13271         addresses are 4 byte aligned.
13272
13273         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
13274         addresses.
13275
13276 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13277
13278         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
13279         (main): Add prototypes.
13280
13281         * genattrtab.c (substitute_address, write_const_num_delay_slots,
13282         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
13283         (write_attr_get): Emit prototypes along with function definition.
13284         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
13285         (write_complex_function): Emit static prototype along with
13286         function definition.
13287
13288         * genemit.c (gen_split): Emit prototypes along with function
13289         definition.
13290
13291         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
13292         Likewise for predicates and `insn_operand_predicate'.
13293         (process_template): Emit static prototype along with function
13294         definition.
13295
13296         * genrecog.c (make_insn_sequence): Constify a char*.  Add
13297         prototypes for get_split_*().
13298         (write_subroutine): Emit prototypes along with function
13299         definition.
13300
13301 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13302
13303         * gcse.c (find_avail_set): Follow chains of register-register copies.
13304         Use oprs_not_set_p to guarantee that the returned value can be
13305         substituted.
13306         (cprop_insn): Don't verify the return value of find_avail_set with
13307         oprs_not_set_p.
13308
13309         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
13310         (cprop_cc0_jump): New function.
13311         (cprop_insn): Break out new function cprop_jump and use it.
13312         Also use cprop_cc0_jump for machines with CC0.
13313         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
13314
13315         * tree.h (current_function_calls_setjmp,
13316         current_function_calls_longjmp): Delete declarations.
13317         * dsp16xx.c: Include "function.h".
13318         * elxsi.c: Likewise.
13319         * gmicro.c: Likewise.
13320         * h8300.c: Likewise.
13321         * i370.c: Likewise.
13322         * m32r.c: Likewise.
13323         * mn10200.c: Likewise.
13324         * mn10300.c: Likewise.
13325         * ns32k.c: Likewise.
13326         * spur.c: Likewise.
13327         * v850.c: Likewise.
13328
13329         * rtl.h (rtx_equal_function_value_matters): Declare.
13330         * toplev.c (rtx_equal_function_value_matters): Don't declare.
13331         * cse.c: Likewise.
13332         * function.c: Likewise.
13333         * emit-rtl.c: Likewise.
13334
13335 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
13336
13337         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
13338         call.
13339
13340 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13341
13342         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
13343         exactly.
13344
13345 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
13346
13347         * cpp.texi: Add a node documenting macro varargs (copied
13348         from extend.texi).
13349
13350 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
13351
13352         * cppspec.c: Put a null pointer at the end of the new argv.
13353
13354 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
13355
13356         * configure.in: Remove code to select/de-select the haifa
13357         scheduler.  Every scheduled port gets haifa now.
13358         * configure: Rebuilt.
13359         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
13360         * sched.c Deleted.
13361         * Makefile.in: Corresponding changes.
13362
13363 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13364
13365         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
13366         All callers changed.
13367         (prepare_float_lib_cmp): Likewise.
13368         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
13369         * expr.h (emit_float_lib_cmp): Delete declaration.
13370         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
13371         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
13372         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
13373         specially.
13374         (cmptf): Now conditional on TARGET_HARD_QUAD.
13375
13376 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
13377
13378         * resource.c (mark_target_live_regs): Use
13379         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
13380
13381 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13382
13383         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
13384
13385         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
13386
13387         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
13388
13389 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13390
13391         * rtl.h (rtx_format): Constify a char*.
13392
13393         * rtl.c (rtx_format): Likewise.
13394         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
13395         (init_rtl): Use accessor macro, not `rtx_format'.
13396
13397         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
13398         char*.
13399
13400         * caller-save.c (mark_referenced_regs): Likewise.
13401
13402         * combine.c (subst, make_compound_operation, known_cond,
13403         gen_rtx_combine, update_table_tick, get_last_value_validate,
13404         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
13405
13406         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
13407         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
13408         count_reg_usage): Likewise.
13409
13410         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
13411         Likewise.
13412
13413         * final.c (leaf_renumber_regs_insn): Likewise.
13414
13415         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
13416         dump_edge_info, count_reg_references): Likewise.
13417
13418         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
13419         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
13420         Likewise.
13421
13422         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
13423         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
13424         add_label_notes): Likewise.
13425
13426         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
13427         clear_struct_flag, count_sub_rtxs, count_alternatives,
13428         compares_alternatives_p, contained_in_p, walk_attr_value,
13429         write_expr_attr_cache): Likewise.
13430
13431         * genconfig.c (walk_insn_part): Likewise.
13432
13433         * genemit.c (max_operand_1, gen_exp): Likewise.
13434
13435         * genextract.c (walk_rtx): Likewise.
13436
13437         * genflags.c (num_operands): Likewise.
13438
13439         * genoutput.c (scan_operands): Likewise.
13440
13441         * genpeep.c (match_rtx): Likewise.
13442
13443         * genrecog.c (add_to_sequence): Likewise.
13444
13445         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
13446         Likewise.
13447
13448         * integrate.c (save_constants, copy_for_inline,
13449         copy_rtx_and_substitute, subst_constants, restore_constants):
13450         Likewise.
13451
13452         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
13453         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
13454
13455         * local-alloc.c (contains_replace_regs, memref_referenced_p):
13456         Likewise.
13457
13458         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
13459         add_label_notes, replace_call_address, count_nonfixed_reads,
13460         invariant_p, find_single_use_in_loop, find_mem_givs,
13461         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
13462         Likewise.
13463
13464         * print-rtl.c (reg_names, print_rtx): Likewise.
13465
13466         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
13467
13468         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
13469         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
13470         print_blocks): Likewise.
13471
13472         * regclass.c (fix_register, record_address_regs,
13473         reg_scan_mark_refs): Likewise.
13474
13475         * regmove.c (stable_but_for_p): Likewise.
13476
13477         * reload.c (loc_mentioned_in_p, operands_match_p,
13478         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
13479         copy_replacements, refers_to_regno_for_reload_p,
13480         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
13481         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
13482         Likewise.
13483
13484         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
13485         delete_address_reloads_1, count_occurrences,
13486         reload_cse_mem_conflict_p, reload_combine_note_use,
13487         add_auto_inc_notes): Likewise.
13488
13489         * resource.c (mark_referenced_resources, mark_set_resources):
13490         Likewise.
13491
13492         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
13493         reg_mentioned_p, regs_set_between_p, modified_between_p,
13494         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
13495         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
13496         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
13497         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
13498
13499         * sched.c (sched_analyze_2, attach_deaths): Likewise.
13500
13501         * stupid.c (stupid_mark_refs): Likewise.
13502
13503         * unroll.c (remap_split_bivs): Likewise.
13504
13505         * varasm.c (mark_constants): Likewise.
13506
13507         * a29k/a29k.c (uses_local_reg_p): Likewise.
13508
13509         * alpha/alpha.c (summarize_insn): Likewise.
13510
13511         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
13512         eliminate_lr2ip): Likewise.
13513
13514         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
13515
13516         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
13517         reg_mentioned_in_mem): Likewise.
13518
13519         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
13520         symbolic_reference_mentioned_p): Likewise.
13521
13522         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
13523
13524         * sh/sh.c (regs_used, mark_use): Likewise.
13525
13526         * vax/vax.c (vax_rtx_cost): Likewise.
13527
13528 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13529
13530         * machmode.h (mode_name): Constify a char*.
13531
13532         * rtl.c (mode_name): Likewise.
13533
13534         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
13535
13536         * optabs.c (init_libfuncs): Constify a char*.
13537
13538         * print-tree.c (mode_name): Remove redundant declaration.
13539         (print_node): Use accessor macro, not `mode_name'.
13540
13541         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
13542         not `mode_name'.
13543         (new_spill_reg): Constify a char*.
13544
13545         * tree.c (mode_name): Remove redundant declaration.
13546
13547 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13548
13549         * rtl.c (rtx_name): Constify a char*.
13550
13551         * rtl.h (rtx_name, fix_sched_param): Likewise.
13552
13553         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
13554         (mypr): Use accessor macro, not `rtx_name'.
13555
13556         * genemit.c (print_code): Constify a char*.
13557
13558         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
13559
13560         * genpeep.c (print_code): Constify a char*.
13561
13562         * genrecog.c (print_code): Likewise.
13563
13564         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
13565         end_bb): Add static prototype.
13566         (draw_edge): Constify a char*.
13567         (end_bb): Remove unused parameter.
13568
13569         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
13570         print_block_visualization): Constify a char*.
13571
13572 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
13573
13574         * c-common.c (c_get_alias_set): Update comment.
13575
13576 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
13577
13578         * linux.h (LIB_SPEC): Added.
13579
13580 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13581
13582         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
13583
13584 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
13585
13586         * tree.c (expr_check): Fix typo in last change.
13587
13588 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
13589
13590         * rtl.def (NOTE): Change format to "iuu0n".
13591         (ADDR_DIFF_VEC): Change format to "eEee0".
13592         (ADDRESSOF): Change format to "eit".
13593
13594         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
13595         (RTVEC_ELT): Change to match.
13596         (XVECEXP): Use XVEC and RTVEC_ELT.
13597         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
13598         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
13599         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
13600         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
13601         TRAP_CONDITION, TRAP_CODE): Use XEXP.
13602         (INTVAL): Use XWINT.
13603         (ADDRESSOF_DECL): Use XTREE.
13604         (SET_ADDRESSOF_DECL): Delete.
13605         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
13606         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
13607         ifdefed out since 2.6 at least.
13608         (gen_rtvec_vv): Delete prototype.
13609
13610         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
13611         not rtunion.
13612         (copy_most_rtx): Handle 't' format letter.
13613         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
13614         (gen_rtvec_vv): Delete function.  All callers changed to use
13615         gen_rtvec_v instead.
13616         * print-rtl.c (print_rtx): Move special casing of NOTEs to
13617         the '0' format letter.
13618
13619         * function.c (gen_mem_addressof): Don't use
13620         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
13621         instead.
13622         * integrate.c (copy_rtx_and_substitute): Likewise.
13623         Copy 't' slots with XTREE.
13624         (subst_constants): Treat 't' slots like '[swi]' slots.
13625         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
13626         * jump.c (rtx_equal_for_thread_p): Likewise.
13627         * rtlanal.c (rtx_equal_p): Likewise.
13628         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
13629         only four arguments.
13630         * gengenrtl.c (type_from_format): Provide correct types for
13631         'b' and 't' slots.
13632
13633
13634         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
13635         If a recent gcc is in use (always in stage2 and beyond), use
13636         statement expressions, so we don't make a function call unless
13637         the check fails.  Evaluate arguments exactly once.
13638         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
13639         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
13640         Delete.
13641         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
13642         they evaluate their arguments exactly once, irrespective of
13643         the compiler in use.
13644
13645         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
13646         is used by the currently-enabled check macros.  This is:
13647         (tree_check_failed, tree_class_check_failed): For gcc.
13648         (tree_check, tree_class_check, cst_or_constructor_check,
13649         expr_check): For other compilers.
13650
13651         * gencheck.c: Do not define any *_CHECK1 macros.
13652
13653 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
13654                           Mark Mitchell <mark@codesourcery.com>
13655
13656         * c-common.c (c_get_alias_set): Fix support for poitners and
13657         references.
13658
13659 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
13660
13661         * alias.c: Include tree.h.
13662         (nonlocal_reference_p, mark_constant_function): New functions.
13663         * flow.c (life_analysis): Call mark_constant_function.
13664         * rtl.h (mark_constant_function): Declare it.
13665
13666 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
13667
13668         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
13669         unrecognisable switches.
13670
13671 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13672
13673         * loop.c (recombine_givs): Set ix field after sorting.
13674         (recombine_givs): Remove bogus index / giv lockstep looping.
13675
13676 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13677
13678         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
13679         on CODE.
13680         (emit_store_flag_force): Use do_compare_rtx_and_jump.
13681         (do_cmp_and_jump): Formatting fixes.
13682         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
13683         do_compare_rtx_and_jump instead of compare_from_rtx.
13684         (do_compare_rtx_and_jump): New function; mostly copied from
13685         compare_from_rtx.
13686         (do_jump_for_compare): Delete.
13687         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
13688         MIN_EXPR.
13689         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
13690         of compare/do_jump_for_compare pairs.
13691         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
13692         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
13693         compare_from_rtx/do_jump_for_compare pairs.
13694         (do_jump_by_parts_equality): Likewise.
13695         (do_jump_by_parts_equality_rtx): Likewise.
13696         * expr.h (do_compare_rtx_and_jump): Declare.
13697         * optabs.c (prepare_cmp_insn): New function, contains most of the code
13698         that used to be in emit_cmp_insn.
13699         (cmp_available_p): New function.
13700         (prepare_operand): New function.
13701         (emit_cmp_and_jump_insn_1): New function, contains some code that used
13702         to be in emit_cmp_insn.
13703         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
13704         parameters to be pointers; don't emit final compare but modify some of
13705         the values pointed to by the args so the caller can perform the
13706         correct comparison.
13707         (expand_binop): Call emit_store_flag_force with signed forms of
13708         comparison code.
13709         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
13710         emit_jump_insn pair.
13711         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
13712         emit_cmp_and_jump_insn_1.  Call emit_queue.
13713         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
13714         arg.
13715         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
13716         jump sets cc0 before deleting it.
13717         * integrate.c (expand_inline_function): Likewise.
13718         * unroll.c (unroll_loop): Similar changes in several places.
13719         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
13720         before deleting it.
13721
13722 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13723
13724         * Makefile.in (insn-recog.o): Update dependencies.
13725         * genrecog.c (main): Make generated file include "function.h".
13726
13727 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
13728
13729         * cse.c (cse_insn): Call never_reached_warning when a jump is
13730         changed to be unconditional.
13731         * flags.h: Declare warn_notreached.
13732         * flow.c (delete_block): Call never_reached_warning when
13733         a block is deleted.
13734         * jump.c (delete_barrier_successors): Call never_reached_warning
13735         when we delete everything after a BARRIER.
13736         (never_reached_warning): New function.
13737         * rtl.h: Declare never_reached_warning.
13738         * toplev.c (warn_notreached): New variable.
13739         (lang_independent_options): Set warn_notreached
13740         when -Wunreachable-code.
13741         (compile_file): We need line numbers for -Wunreachable-code.
13742
13743 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
13744
13745         * haifa-sched.c (insn_unit): Fix typo on out of range test.
13746         * sched.c (insn_unit): Likewise.
13747
13748 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
13749
13750         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
13751
13752 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13753
13754         * flow.c (create_edge_list): Use xmalloc, not malloc.
13755
13756 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
13757
13758         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
13759         C-style comments.  Do not lose the character before double slash.
13760
13761 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13762
13763         * basic-block.h (struct edge_list): Stucture to maintain a vector
13764         of edges.
13765         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
13766          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
13767         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
13768         New function prototypes.
13769         * flow.c (create_edge_list): Function to create an edge list.
13770         (free_edge_list): Discards memory used by an edge list.
13771         (print_edge_list): Debug output showing an edge list.
13772         (verify_edge_list): Internal consistency check for an edge list.
13773         (find_edge_index): Function to find an edge index for a pred and succ.
13774
13775 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
13776
13777         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
13778         hashtable.
13779
13780 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
13781
13782         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
13783
13784 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13785
13786         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
13787
13788 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
13789
13790         * toplev.c (rest_of_compilation): Allow machine dependent
13791         reorganisation pass to place information into the RTL dump
13792         file if it so wishes.
13793
13794 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
13795
13796         * explow.c (hard_function_value): Use VOIDmode instead of
13797         MAX_MACHINE_MODE.
13798         * stmt.c (expand_return): Likewise.
13799         * stor-layout.c (get_best_mode): Likewise.
13800
13801         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
13802         emit call instead of emit_insn call.
13803
13804 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13805
13806         * configure.in: Handle --disable/enable-win32-registry.
13807         * install.texi: Document --disable/enable-win32-registry.
13808         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
13809         (WIN32_REGISTRY_KEY): New macro.
13810         * prefix.c: Use to enable/disable win32-specific code.
13811         (lookup_key): Use versioned key.
13812         * configure: Regenerate.
13813         * config.in: Likewise.
13814
13815 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
13816
13817         * cpplib.c (read_line_number): New fn, split out of...
13818         (do_line): Here.
13819
13820 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13821
13822         tree.c (lang_unsave_expr_now) : New.
13823         (unsave_expr_now): Call lang_unsave_expr_now.
13824         tree.h (lang_unsave_expr_now) : New.
13825
13826 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
13827
13828         * toplev.c (flag_new_exceptions): On by default.
13829
13830 1999-08-13  Michael Meissner  <meissner@cygnus.com>
13831
13832         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
13833
13834 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
13835
13836         * dwarfout.c (fundamental_type_code): Return FT_boolean for
13837         INTEGER_TYPE with precision==1, it's __java_boolean.
13838
13839 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13840
13841         * global.c (prune_preferences): Move some invariants out of the
13842         inner loop.
13843
13844 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
13845
13846         * configure.in (alpha*-dec-osf*): Add osf5.
13847
13848 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
13849
13850         * configure.in: Rework handling of ARM GNU/Linux slightly.
13851         (arm*-*-linux-gnuoldld): New target.
13852         * configure: Regenerate.
13853         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
13854         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
13855         * config/arm/linux-oldld.h: New file.
13856         * config/arm/linux-elf26.h: Don't include linux-elf.h.
13857         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
13858         Don't define.
13859         * config/arm/linux-elf.h (ASM_SPEC): Define.
13860         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
13861         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
13862         for 26-bit APCS and old linker.
13863         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
13864         `arm_elf'.
13865         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
13866         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
13867         don't define `arm' or `arm_elf'.
13868         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
13869         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
13870
13871 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
13872
13873         * rtl.texi: Fix typo.
13874
13875 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
13876
13877         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
13878
13879 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
13880
13881         * extend.texi (C++ Signatures): Remove node.
13882         * invoke.texi: Remove discussion of -fhandle-signatures,
13883         signature, sigof, __signature__, and __sigof__.
13884
13885 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
13886
13887         * Makefile.in (JAVAGC): Removed.
13888
13889 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13890
13891         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
13892
13893 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
13894
13895         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
13896
13897 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
13898
13899         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
13900         a register that is already known to be a pointer.
13901
13902 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
13903
13904         * fixinc/inclhack.tpl: Only install assert.h conditionally.
13905         * fixinc/inclhack.sh: Regenerated.
13906         * fixinc/fixincl.sh: Regenerated.
13907
13908 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
13909
13910         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
13911         Fix documentation of -ansi flag to describe its C++ behavior.
13912         Remove bogus reference to GCC 2.9.
13913
13914 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
13915
13916         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
13917         note if it is non-NULL.
13918
13919 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13920
13921         * except.h (eh_nesting_info): Add new structure defintion.
13922         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
13923         (reachable_handlers, update_rethrow_references): Add function
13924         prototypes.
13925         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
13926         a rethrow symbol instead of an integer exception region number.
13927         * flow.c (Make_edges): Use new exception nesting routines to determine
13928         which handlers are reachable from a CALL or asynchronous insn.
13929         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
13930         goto receivers.
13931         (delete_eh_regions): Update rethrow labels, and don't delete
13932         regions which are the target of a rethrow.
13933         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
13934         avoid overloading the SYMBOL_REF_USED flag.
13935         (rethrow_symbol_map): Use new rethrow_ref field.
13936         (rethrow_used): Use new rethrow_ref field.
13937         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
13938         of an integer.  Fix formatting.
13939         (output_exception_table_entry): Use new rethrow_ref field.
13940         (can_throw): Check for EH_REGION_NOTE before deciding
13941         whether a CALL can throw or not.
13942         (scan_region): Call rethrow_used() instead of accessing data structure.
13943         (update_rethrow_references): New function to make sure only regions
13944         which are still targets of a rethrow are flagged as such.
13945         (process_nestinfo): New static function to initialize a handler
13946         list for a specific region.
13947         (init_eh_nesting_info): New function to allocate and initialize
13948         the list of all EH handlers reachable from all regions.
13949         (reachable_handlers): New function to retrieve the list of handlers
13950         reachable from a specific region and insn.
13951         (free_eh_nesting_info): New function to dispose of a list of
13952         reachable handlers.
13953
13954 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13955
13956         * flow.c (split_edge): Set JUMP_LABEL field.
13957         (commit_one_edge_insertion): Set head correctly for insert_before.
13958         When inserting insns, update insn block numbers if allocated.
13959
13960 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13961
13962         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
13963         retry_incomplete_types): Add static prototype.
13964         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
13965         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
13966         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
13967         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
13968         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
13969         Constify a char*.
13970
13971         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
13972         dwarf2out_start_source_file, dwarf2out_line): Likewise.
13973
13974 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13975
13976         * output.h (assemble_name): Constify a char*.
13977
13978         * varasm.c (UNIQUE_SECTION, assemble_start_function,
13979         assemble_variable, assemble_name): Likewise.
13980
13981         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
13982
13983         * arm/pe.c (arm_pe_unique_section): Likewise.
13984
13985         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
13986
13987         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
13988
13989         * i386/interix.c (i386_pe_unique_section): Likewise.
13990
13991         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
13992
13993         * i386/winnt.c (i386_pe_unique_section): Likewise.
13994
13995         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
13996
13997         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
13998
13999         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
14000
14001         * pa/pa.c (output_call): Likewise.
14002
14003         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
14004
14005         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
14006
14007         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
14008         Likewise.
14009
14010         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
14011         Likewise.
14012
14013         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
14014
14015         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
14016         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
14017
14018         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
14019
14020 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14021
14022         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
14023
14024 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14025
14026         * tree.h (lang_identify): Constify a char*.
14027         (print_error_function): Add extern prototype.  Constify a char*.
14028
14029         * c-lang.c (lang_identify): Constify a char*.
14030
14031         * objc/objc-act.c (lang_identify): Constify a char*.
14032
14033 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14034
14035         * genpeep.c (main): Make generated file include "function.h".
14036         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
14037
14038 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14039
14040         * Makefile.in: Update dependencies.
14041         * alias.c: Include "function.h"
14042         * c-decl.c: Likewise.
14043         * caller-save.c: Likewise.
14044         * calls.c: Likewise.
14045         * combine.c: Likewise.
14046         * cse.c: Likewise.
14047         * explow.c: Likewise.
14048         * final.c: Likewise.
14049         * global.c: Likewise.
14050         * graph.c: Likewise.
14051         * local-alloc.c: Likewise.
14052         * loop.c: Likewise.
14053         * optabs.c: Likewise.
14054         * profile.c: Likewise.
14055         * recog.c: Likewise.
14056         * regclass.c: Likewise.
14057         * regmove.c: Likewise.
14058         * reload.c: Likewise.
14059         * reorg.c: Likewise.
14060         * resource.c: Likewise.
14061         * sched.c: Likewise.
14062         * stupid.c: Likewise.
14063         * config/1750a/1750a.c: Likewise.
14064         * config/a29k/a29k.c: Likewise.
14065         * config/arc/arc.c: Likewise.
14066         * config/arm/arm.c: Likewise.
14067         * config/arm/thumb.c: Likewise.
14068         * config/c4x/c4x.c: Likewise.
14069         * config/clipper/clipper.c: Likewise.
14070         * config/convex/convex.c: Likewise.
14071         * config/fx80/fx80.c: Likewise.
14072         * config/i860/i860.c: Likewise.
14073         * config/m68k/m68k.c: Likewise.
14074         * config/m88k/m88k.c: Likewise.
14075         * config/mips/mips.c: Likewise.
14076         * config/pdp11/pdp11.c: Likewise.
14077         * config/pyr/pyr.c: Likewise.
14078         * config/romp/romp.c: Likewise.
14079         * config/sh/sh.c: Likewise.
14080         * config/tahoe/tahoe.c: Likewise.
14081         * config/vax/vax.c: Likewise.
14082         * config/we32k/we32k.c: Likewise.
14083         * config/sparc/sparc.c: Include "function.h".
14084         (mem_min_alignment): Test current_function rather than
14085         regno_pointer_align.
14086         * config/pa/pa.c: Likewise.
14087         (compute_frame_size): Delete declaration of
14088         current_function_outgoing_args_size.
14089         * config/arc/arc.h (current_function_varargs): Delete declaration.
14090         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
14091         declaration.
14092         * config/i370/i370.h (current_function_outgoing_args_size): Delete
14093         declaration.
14094         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
14095         current_function_uses_pic_offset_table.
14096         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
14097         of current_function_returns_pointer.
14098         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14099         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14100         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14101         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14102         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14103         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14104         * config/m88k/m88k.c: Include "function.h"
14105         (call_used_regs, current_function_pretend_args_size,
14106         current_function_outgoing_args_size, frame_pointer_needed): Delete
14107         declarations.
14108         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
14109         declaration.
14110         * config/mips/mips.h (current_function_calls_alloca): Delete
14111         declaration.
14112         * config/mn10200/mn10200.h (current_function_needs_context,
14113         rtx_equal_function_value_matters): Delete declarations.
14114         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
14115         flag_pic): Delete declarations.
14116         * config/pa/pa.h (current_function_pretend_args_size,
14117         current_function_decl): Delete declarations.
14118         * config/pa/som.h (current_function_varargs): Delete declaration.
14119         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
14120         declaration.
14121         * config/pyr/pyr.h (current_function_pretend_args_size,
14122         current_function_args_size, current_function_calls_alloca): Delete
14123         declarations.
14124         * config/sh/sh.h (current_function_varargs): Delete declaration.
14125         * config/sparc/sparc.h (current_function_outgoing_args_size,
14126         current_function_calls_alloca, current_function_decl): Delete
14127         declarations.
14128         * config/spur/spur.h (current_function_pretend_args_size,
14129         current_function_calls_alloca): Delete declarations.
14130         * config/v850/v850.c (current_function_outgoing_args_size): Delete
14131         declaration.
14132         * config/vax/vms.h (current_function_name): Delete declaration.
14133         * gcse.c: Include "function.h".
14134         (current_function_name, current_function_calls_setjmp): Delete
14135         declarations.
14136         * haifa-sched.c: Include "function.h".
14137         (forced_labels): Delete declaration.
14138         * jump.c: Likewise.
14139         * reg-stack.c: Likewise.
14140         * reload1.c: Likewise.
14141         * genemit.c (main): Make generated file include function.h.
14142         * genoutput.c (output_prologue): Likewise.
14143
14144         * builtins.c (saveregs_value, apply_args_value): Delete variables.
14145         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
14146         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
14147         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
14148         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
14149         macros for some of them.
14150         (emit_filename, emit_lineno): Delete declarations.
14151         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
14152         regno_pointer_* variables through current_function.
14153         (gen_inline_header_rtx): Delete function.
14154         (save_emit_status): Delete function.
14155         (set_new_last_label_num): New function.
14156         (clear_emit_caches): New function.
14157         (restore_emit_status): Just clear last_labelnum and call
14158         clear_emit_caches.
14159         (get_last_insn_anywhere): Variable sequence_stack is now accessed
14160         through macro seq_stack.
14161         (add_insn_after): Likewise.
14162         (add_insn_before): Likewise.
14163         (remove_insn): Likewise.
14164         (pop_topmost_sequence): Likewise.
14165         (in_sequence_p): Likewise.
14166         (start_sequence_for_rtl_expr): Likewise.
14167         (start_sequence): Likewise, and likewise for
14168         sequence_rtl_expr/seq_rtl_expr.
14169         (push_topmost_sequence): Likewise.
14170         (end_sequence): Likewise.
14171         (init_virtual_regs): Now takes a "struct emit_status *" argument.
14172         All callers changed.  Store into that pointer instead of globals.
14173         (init_emit): Allocate emit elt of current_function.
14174         Changes for sequence_rtl_expr/sequence_stack renaming.
14175         Call clear_emit_caches instead of doing it in-line.
14176         Access regno_pointer_* variables through current_function.
14177         (init_emit_once) Don't clear sequence_stack.
14178
14179         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
14180         Delete variables.
14181         (arg_pointer_save_area): Delete declaration.
14182         (finish_expr_for_function): Renamed from init_queue; no longer static.
14183         (init_expr): Don't call init_queue.
14184         (save_expr_status, restore_expr_status): Delete functions.
14185         (expand_expr): Changes to reflect new layout of struct function.
14186         Don't access current_function_check_memory_usage when current_function
14187         is 0.
14188         * expr.h (forced_labels, save_expr_regs, saveregs_value,
14189         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
14190         current_function_outgoing_args_size, current_function_arg_offset_rtx,
14191         current_function_uses_const_pool, function_call_count,
14192         current_function_uses_pic_offset_table, nonlocal_labels,
14193         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
14194         current_function_check_memory_usage, nonlocal_goto_handler_slots,
14195         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
14196         declarations.
14197         (finish_expr_for_function): Declare.
14198         * flags.h (current_function_has_nonlocal_label,
14199         current_function_has_nonlocal_goto, current_function_is_thunk,
14200         current_function_has_computed_jump): Delete declarations.
14201         * flow.c (forced_labels): Delete declaration.
14202         * function.c (current_function_pops_args,
14203         current_function_returns_struct, current_function_returns_pcc_struct,
14204         current_function_needs_context, current_function_calls_setjmp,
14205         current_function_calls_longjmp, current_function_has_nonlocal_label,
14206         current_function_has_nonlocal_goto, current_function_is_thunk,
14207         current_function_has_computed_jump, current_function_calls_alloca,
14208         current_function_contains_functions, current_function_returns_pointer,
14209         current_function_epilogue_delay_list, current_function_args_size,
14210         current_function_pretend_args_size, current_function_arg_offset_rtx,
14211         current_function_outgoing_args_size, current_function_varargs,
14212         current_function_stdarg, current_function_args_info, cleanup_label,
14213         current_function_name, current_function_uses_const_pool,
14214         current_function_instrument_entry_exit, current_function_return_rtx,
14215         current_function_uses_pic_offset_table, nonlocal_labels,
14216         current_function_internal_arg_pointer, current_function_cannot_inline,
14217         current_function_check_memory_usage, function_call_count,
14218         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
14219         nonlocal_goto_stack_level, return_label, save_expr_regs,
14220         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
14221         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
14222         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
14223         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
14224         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
14225         Delete variables.
14226         (push_function_context_to): Don't save them.  Don't call
14227         save_storage_status, save_emit_status or save_expr_status.
14228         (pop_function_context_from): Don't restore them.  Don't call
14229         restore_storage_status or restore_expr_status.
14230         (get_func_frame_size): New function.
14231         (get_frame_size): Use it.
14232         (assign_outer_stack_local): Reflect some member name changes in struct
14233         function.
14234         (put_reg_into_stack): Likewise.
14235         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
14236         seq_rtl_expr.
14237         (fixup_var_refs): Likewise.
14238         (fix_lexical_addr): Likewise.
14239         (trampoline_address): Likewise.
14240         (prepare_function_start): Clear field inlinable of current_function.
14241         (init_function_for_compilation): New function.
14242         (expand_dummy_function_end): New function.
14243         (expand_function_end): Call finish_expr_for_function.
14244         * function.h (struct emit_status): New; fields moved here from struct
14245         function and from global variables.  Add accessor macros for some of
14246         the fields.
14247         (struct expr_status): Likewise.
14248         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
14249         (struct function): Add fields expr and emit, inlinable, inl_emit,
14250         original_arg_vector, original_decl_initial, inl_last_parm_insn,
14251         inl_max_label_num.  Add many comments.
14252         Add accessor macros for all elts of struct function that no longer
14253         have a global variable.
14254         (cleanup_label, return_label, frame_offset, tail_recursion_label,
14255         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
14256         stack_slot_list): Delete declarations.
14257         (get_func_frame_size): Declare.
14258         (save_expr_status, restore_expr_status, save_emit_status,
14259         save_storage_status, restore_storage_status): Delete declarations.
14260         (init_virtual_regs): Declare.
14261         * output.h (current_function_pops_args,
14262         current_function_returns_struct, current_function_returns_pcc_struct,
14263         current_function_needs_context, current_function_calls_setjmp,
14264         current_function_calls_longjmp, current_function_calls_alloca,
14265         current_function_has_nonlocal_label, current_function_varargs,
14266         current_function_has_computed_jump, current_function_returns_pointer,
14267         current_function_contains_functions, current_function_args_size,
14268         current_function_pretend_args_size, current_function_stdarg,
14269         current_function_outgoing_args_size, current_function_args_info,
14270         current_function_name, current_function_return_rtx,
14271         current_function_epilogue_delay_list,
14272         current_function_uses_const_pool, current_function_cannot_inline):
14273         Delete declarations.
14274         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
14275         regno_reg_rtx): Delete declaration.
14276         (REGNO_POINTER_FLAG): Delete macro.
14277         * stmt.c (expand_goto): Changes to reflect that some fields in struct
14278         function were renamed.
14279         * stor-layout.c (save_storage_status, restore_storage_status): Delete
14280         functions.
14281         * toplev.c: Include "function.h".
14282         (current_function_decl): Delete declaration.
14283         (compile_file): Call init_dummy_function_start and
14284         expand_dummy_function_end around some initializations that need to
14285         emit rtl.
14286         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
14287         Call init_function_for_compilation.
14288         * unroll.c: Include "function.h"
14289         (unroll_loop): Access regno_pointer_* variables through
14290         current_function.
14291
14292         * tree.h (struct tree_decl): Add elt f to saved_insns member.
14293         (DECL_SAVED_INSNS): use it.
14294         (expand_dummy_function_end): Declare.
14295         (init_function_for_compilation): Declare.
14296         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
14297         that it's no longer an INLINE_HEADER.
14298         (expand_call): Likewise.
14299         * integrate.c (finish_inline): Delete function.
14300         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
14301         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
14302         args.  Don't generate an INLINE_HEADER rtx, just return the arg
14303         vector.  All callers changed.
14304         (save_for_inline_copying):  Create a duplicate struct emit_status to
14305         hold the emit state for compiling the current function.  Use this and
14306         the other new fields in struct function that are for integration
14307         instead of an INLINE_HEADER.
14308         Use memcpy instead of bcopy.
14309         Store the current struct function in DECL_SAVED_INSNS of fndecl.
14310         (save_for_inline_nocopy): Similar changes, except no new emit_status
14311         is needed here.
14312         (expand_inline_function): Get information from function structure,
14313         not from an inline header rtx.
14314         (output_inline_function): Lose code to extract the necessary
14315         information from an inline header; simply put back the function
14316         structure into current_function.  Clear its inlinable elt.
14317         * rtl.def (INLINE_HEADER): Delete.
14318         * rtl.h: Delete all accessors for an INLINE_HEADER.
14319         (gen_inline_header_rtx): Delete declaration.
14320         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
14321         Delete declarations.
14322         (REGNO_POINTER_ALIGN): Delete.
14323         (clear_emit_caches): Declare.
14324         (set_new_last_label_num): Declare.
14325
14326 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
14327
14328         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
14329
14330         * except.c (expand_eh_region_start_for_decl): Always start a new block.
14331         * stmt.c (is_eh_region): Make sure current_function is present, too.
14332
14333 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
14334
14335         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
14336         for 64bit PA targets.
14337
14338         * pa.h (SELECT_SECTION): Define.
14339         * som.h (SELECT_SECTION): Delete.
14340
14341 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14342
14343         * alias.c (init_alias_analysis): Wrap call to
14344         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
14345
14346 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
14347
14348         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
14349         <sys/asm.h> contains an asm comment with an apostrophe
14350         * fixinc/inclhack.sh:  regen
14351         * fixinc/fixincl.x:  regen
14352
14353 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
14354
14355         * function.c (init_function_start): Clear prologue & epilogue.
14356         (prologue_epilogue_contains): New function.
14357         * alias.c (init_alias_analysis): Use it.
14358         * rtl.h (prologue_epilogue_contains): Declare it.
14359
14360 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
14361
14362         * jump.c (onlyjump_p): New function.
14363         * rtl.h: Declare it.
14364         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
14365         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
14366
14367 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
14368
14369         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
14370         to invert loops.  Simplify block scanning.
14371
14372 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
14373
14374         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
14375         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
14376
14377 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14378
14379         * config/sparc/liteelf.h: New file to support sparclite-elf target
14380         * config/sparc/t-sp86x: New file to support sparc86x targets
14381         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
14382         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
14383         * configure.in: Support above target triplets
14384         * configure: Regenerated
14385
14386 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
14387
14388         * fixinc/server.c (server_setup): Do not prefix function used as
14389         parameter with `&'.
14390
14391 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
14392
14393         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
14394         Remove fp reg alternatives.
14395
14396 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
14397
14398         * Makefile.in (TAROUTOPTS): Kill.
14399         (install-headers-tar): Use "xpf" for tar headerfile extraction
14400         * i370/x-oe (TAROUTOPTS): Delete.
14401         * m68k/x-apollo68 (TAROUTOPTS): Delete.
14402         * m68k/x-hp320 (TAROUTOPTS): Delete.
14403         * m68k/x-hp320g (TAROUTOPTS): Delete.
14404         * gcc.texi: Update bug reporting text.
14405
14406 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14407
14408         * reg-stack.c (change_stack) Fixed problem with negative array index.
14409
14410 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
14411
14412         * extend.texi, install.texi: Fix spelling mistakes.
14413
14414         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
14415         (s-attrtab); No longer try to use pre-made insn-attrtab file.
14416         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
14417         PREMADE_ATTRTAB_MD.
14418         * mips/t-ecoff: Likewise.
14419         * mips/t-elf: Likewise.
14420         * mips/t-mips: Likewise.
14421         * mips/t-osfrose: Likewise.
14422         * mips/t-r3900: Likewise.
14423         * mips/t-svr3: Likewise.
14424         * mips/t-svr4: Likewise.
14425         * mips/t-ultrix: Likewise.
14426
14427         * gcc.texi: Document recommend means to provide software floating
14428         point libraries in libgcc.a
14429
14430 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
14431
14432         * c-lex.c (yylex): We can have a number with no digits.
14433
14434 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
14435
14436         * jump.c (delete_prior_computation): New function, broken
14437         out of delete_computation.  Check for side effects with
14438         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
14439         multi-word hard registers.
14440         (delete_computation): Use it.  Check for side effects with
14441         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
14442         missing REG_DEAD note for a register which is both set and
14443         used by an insn.
14444
14445 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
14446
14447         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
14448         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
14449         (ASM_FILE_START): Import _mcount with the right type.
14450         (ASM_DECLARE_FUNCTION_NAME): Define.
14451         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
14452         * pa.c (output_function_prologue): Always emit the function's label
14453         here.
14454         * pa.h (TEXT_SPACE_P): Define.
14455         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14456         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
14457         * som.h (TEXT_SPACE_P): Delete.
14458         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14459         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
14460
14461 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
14462
14463         * expr.c (emit_group_load): Allow src to be a CONCAT.
14464
14465 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14466
14467         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
14468         (___mulsi3): Use '!' comment character.
14469
14470 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14471
14472         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
14473
14474 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
14475
14476         * gcc.c: Update URLs and mail addresses.
14477         * gcc.texi: Likewise.
14478
14479 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
14480
14481         * rs6000.c (current_file_function_operand): Return zero for
14482         weak functions.
14483         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
14484         weak symbols.
14485         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
14486         for weak symbols.
14487
14488 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
14489
14490         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
14491         allocate space in the stack frame for the PIC register.
14492
14493 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
14494
14495         * m68k.md (xordi3, anddi3): These patterns are not available on
14496         the coldfire.
14497
14498 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
14499
14500         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
14501         (PUT_REAL): Likewise.
14502
14503 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14504
14505         * final.c (shorten_branches): Don't add an alignment for loops
14506         that have no label inside.
14507
14508 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14509
14510         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
14511         prototypes in macro HAVE_cmpstrsi.
14512
14513         * cpplib.c (cpp_get_token): Remove unused label `op3'.
14514
14515         * emit-rtl.c (operand_subword): Remove unused variable
14516         `bits_per_word'.
14517
14518         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
14519
14520         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
14521
14522 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
14523
14524         * cpphash.c (macroexpand): Delete leading whitespace when arg
14525         is concatenated before.
14526         (unsafe_chars): Correct test for whether + and - can extend a
14527         token.
14528
14529         * cppinit.c (cpp_start_read): Do dependencies for
14530         -include/-imacros files also.
14531
14532         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
14533         tokenizing non-directive lines.
14534         (cpp_expand_to_buffer): Temporarily disable no-output mode.
14535         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
14536         the input file.
14537
14538 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
14539
14540         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
14541
14542         * c-lex.c: Sync with C++ frontend.
14543         (linemode): New variable.
14544         (parse_float): imag, conversion_errno, and type are output only.
14545         (yylex): Adjust.  Move initial '.' case into main switch.
14546         Use linemode.
14547         (handle_generic_pragma): Just deal with tokens.
14548         (readescape): Use ISXDIGIT and ISGRAPH.
14549         * c-parse.in: Add END_OF_LINE token.
14550
14551         * c-lex.c (lang_init): Generalize.
14552         (nextchar): Remove.  Replace uses with UNGETC.
14553         (skip_white_space): Handle linemode here.  Optimize for cpplib.
14554         (skip_white_space_on_line): Remove.
14555         (extend_token_buffer_to): New fn.
14556         (extend_token_buffer): Use it.
14557         (read_line_number, check_newline): Just deal with tokens.
14558         (token_getch, token_put_back): New fns.
14559         (yylex): Use them.  More cpplib optimizations.  Simplify.
14560
14561 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
14562                           Jason Merrill  <jason@yorick.cygnus.com>
14563
14564         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
14565         (consume_string): Make this smart about USE_CPPLIB.
14566         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
14567         (yylex): Rewrite to be intelligent about USE_CPPLIB.
14568         Also, clean up cases where we redundantly set token_buffer[0].
14569         (read_line_number): New fn.
14570         (ignore_escape_flag): New variable.
14571
14572 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
14573
14574         * a29k/t-a29kbare: Fix some comments.
14575         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
14576         (FPBIT, DPBIT): Define.
14577         * a29k/t-vx29k: Likewise.
14578         * arc/t-arc: Likewise.
14579         * arm/t-arm-elf: Likewise.
14580         * arm/t-bare: Likewise.
14581         * arm/t-pe: Likewise.
14582         * arm/t-pe-thumb: Likewise.
14583         * arm/t-semi: Likewise.
14584         * arm/t-thumb: Likewise.
14585         * arm/t-thumb-elf: Likewise.
14586         * arm/t-thumb-linux: Likewise.
14587         * h8300/t-h8300: Likewise.
14588         * i960/t-i960: Likewise.
14589         * i960/t-vxworks960: Likewise.
14590         * m32r/t-m32r: Likewise.
14591         * mips/t-ecoff: Likewise.
14592         * mips/t-elf: Likewise.
14593         * mips/t-r3900: Likewise.
14594         * pa/t-pro: Likewise.
14595         * rs6000/t-aix43: Likewise.
14596         * rs6000/t-beos: Likewise.
14597         * rs6000/t-newas: Likewise.
14598         * rs6000/t-ppccomm: Likewise.
14599         * rs6000/t-rs6000: Likewise.
14600         * rs6000/t-winnt: Likewise.
14601         * rs6000/t-xnewas: Likewise.
14602         * rs6000/t-xrs6000: Likewise.
14603         * sh/t-sh: Likewise.
14604         * sparc/t-elf: Likewise.
14605         * sparc/t-sparcbare: Likewise.
14606         * sparc/t-sparclite: Likewise.
14607         * sparc/t-splet: Likewise.
14608         * v850/t-v850: Likewise.
14609         * mn10200/t-mn10200: Fix comments.
14610         * mn10300/t-mn10300: Likewise.
14611
14612         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
14613         dummy operand.  Allocate a new pseudo for the dummy operand.
14614         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
14615
14616         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
14617
14618 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
14619
14620         * configure: Rebuilt.
14621         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
14622
14623 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
14624
14625         * recog.c (preproces_constraints): Zero recog_op_alt before
14626         processing the constraints.
14627
14628         * arm.c (typedef minipool_node): Renamed from pool_node.
14629         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
14630         (add_minipool_constant): New function.
14631         (dump_minipool): New function.
14632         (find_barrier): Remove special case for getting the insn size of
14633         an insn that references the constant pool.
14634         (minipool_fixup): New structure.
14635         (push_minipool_barrier): New function.
14636         (push_minipool_fix): New function.
14637         (note_invalid_constants): New function.
14638         (add_pool_constant, dump_table, fixit, broken_move): Delete.
14639         (arm_reorg): Rewrite code to fix up the constant pool into a
14640         series of mini-pools embedded in the insn stream.
14641         (arm_output_epilogue): New function, made mainly from the body
14642         of output_func_epilogue.
14643         (output_func_epilogue): Move insn generation part of epilogue code
14644         to arm_output_epilogue.
14645         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
14646         * arm.md (pool_range): New attribute.
14647         (zero_extendqidi2): Add attribute pool_range.
14648         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
14649         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
14650         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
14651         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
14652         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
14653         (epilogue): New expand.
14654         (epilogue_insn): New insn.  Call arm_output_epilogue.
14655
14656         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
14657         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
14658
14659 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
14660
14661         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14662
14663 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
14664
14665         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
14666
14667 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
14668
14669         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
14670
14671 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
14672
14673         * global.c: Fix comment.
14674
14675 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
14676
14677         * gcc.c (access_check): New static function.
14678         (find_a_file): Use it when searching a directory list.
14679         * collect2.c (find_a_file): Don't accept directories found when
14680         searching a directory list.
14681
14682 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
14683
14684         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
14685         function parameters with `&'.
14686         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
14687
14688 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
14689
14690         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
14691         or tidy_fallthru_edge if the last insn in the block is not
14692         an unconditional jump or a simple conditional jump.
14693
14694 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14695
14696         * Makefile.in (c-decl.o): Depends on defaults.h.
14697
14698 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
14699
14700         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
14701         PA1.1 and above.
14702         (CLASS_MAX_NREGS): Likewise.
14703
14704 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
14705
14706         * cse.c (cse_insn): Fix dumb thinko in last change.
14707
14708 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14709
14710         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
14711         "const char *".
14712
14713 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
14714
14715         * dwarf2out.c (add_location_or_const_value_attribute): Correct
14716         test for sizes of passed and declared parameter types.
14717
14718 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14719
14720         * fixincludes: Fix the return type of bsearch, char* -> void*.
14721
14722         * fixinc/inclhack.def: Likewise.
14723
14724 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
14725
14726         * invoke.texi (-fdump-translation-unit): New option.
14727
14728 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
14729
14730         * expr.h (PROMOTE_PROTOTYPES): Move ...
14731         * defaults.h: ... to here.
14732         * c-decl.c: Include defaults.h instead of expr.h.
14733         * c-typeck.c: Include defaults.h.
14734
14735 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
14736
14737         * toplev.h (errorcount): Declare.
14738         (warningcount): Likewise.
14739         (sorrycount): Likewise.
14740         * c-lex.c (errorcount): Don't declare.
14741         * dwarf2out.c (errorcount): Don't declare.
14742
14743 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
14744
14745         * config/libgloss.h: Add a note discouraging use with ELF.
14746         * configure.in: Don't use libgloss.h for ELF targets.
14747         Always use_collect2 on a.out targets.
14748
14749 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
14750
14751         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
14752         (force_to_mode, case ASHIFTRT): Add shiftrt label.
14753
14754 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14755
14756         * loop.c (strength_reduce): When doing biv->giv conversion, update
14757         reg note of NEXT->insn.
14758
14759 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
14760
14761         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
14762
14763 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
14764
14765         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
14766         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
14767         Ensure expr.h is included.
14768         * c-typecheck.c (convert_arguments): Ditto.
14769
14770         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
14771
14772         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
14773         * config/convex/convex.h: Ditto.
14774         * config/dsp16xx/dsp16xx.h: Ditto.
14775         * config/fx80/fx80.h: Ditto.
14776         * config/gmicro/gmicro.h: Ditto.
14777         * config/i370/i370.h: Ditto.
14778         * config/i386/i386.h: Ditto.
14779         * config/m32r/m32r.h: Ditto.
14780         * config/m68k/m68k.h: Ditto.
14781         * config/m88k/m88k.h: Ditto.
14782         * config/mips/mips.h: Ditto.
14783         * config/pa/pa.h: Ditto.
14784         * config/pyr/pyr.h: Ditto.
14785         * config/tahoe/tahoe.h: Ditto.
14786         * config/we32k/we32k.h: Ditto.
14787
14788         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
14789         based on arch size.
14790
14791         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
14792
14793         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
14794         from comment.
14795
14796         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
14797
14798 1999-08-02  Richard Henderson  <rth@cygnus.com>
14799
14800         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
14801         for the register spill block.
14802         (m32r_va_arg): New.
14803         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
14804         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
14805
14806         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
14807         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
14808         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
14809
14810 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
14811
14812         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
14813         MAX_WCHAR_TYPE defined in sparc.h.
14814         * config/sparc/linuxaout.h: Likewise.
14815         * config/sparc/linux64.h: Likewise.
14816         Also default to -mvis if CPU is UltraSPARC.
14817
14818 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
14819
14820         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
14821         (RTX_OK_FOR_OLO10): Likewise.
14822         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
14823         %lo(), allow it in addresses...
14824         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
14825         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
14826         does not make sense.
14827         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
14828         (sparc_output_scratch_registers): New function.
14829         (output_function_prologue, sparc_flat_output_function_prologue): Use
14830         it.
14831         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
14832         defined.
14833         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
14834         * configure.in: Add check for .register pseudo-op support in as and
14835         check for offsetable %lo().
14836         * acconfig.h: Add templates for the above checks.
14837         * configure: Regenerate.
14838
14839 1999-08-02  Richard Henderson  <rth@cygnus.com>
14840
14841         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
14842         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
14843         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
14844
14845 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14846
14847         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
14848         reg_biv_class.
14849
14850 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
14851
14852         * config/float-sparc.h: New file.
14853         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
14854         sparc-*-linux-gnu and sparc64-*-linux*.
14855
14856 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14857
14858         * rs6000.c (rs6000_va_list): Type is an array.
14859         (rs6000_va_start): Don't doubly adjust for varargs.
14860         (rs6000_va_arg): Evaluate long long GPR adjustment.
14861
14862 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
14863
14864         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
14865         -maix64 and -maix32.
14866         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
14867         LINK_SPEC): Change appropriately.
14868         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
14869         (u_short_cint_operand): Likewise.
14870         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
14871         for 64-bit hosts.
14872         * rs6000/t-aix43 (MULTILIB): Change to -m64.
14873
14874         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
14875
14876 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
14877
14878         * rs6000/rs6000.c (num_insns_constant_wide): Correct
14879         for type promotion.
14880         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
14881         (non_add_cint_operand): Likewise.
14882         (logical_operand): Likewise.
14883         (non_logical_cint_operand): Likewise.
14884         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
14885         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
14886         (rs6000_select_rtx_section): Suppress warning.
14887         (small_data_operand): Suppress warning.
14888         (rs6000_got_register): Suppress warning.
14889         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
14890         type, so `J' is generally the wrong constraint for a SImode value;
14891         use `L' instead.
14892         (andsi3_internal2): Likewise.
14893         (andsi3_internal3): Likewise.
14894         (iorsi3_internal1): Likewise.
14895         (xorsi3_internal1): Likewise.
14896         (movsi): Likewise.
14897         (movsf_softfloat): Likewise.
14898         (scc insns): Likewise.
14899         (movsi+2): Preserve sign bits of SImode constant.
14900         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
14901         (movdf+1): Sign-extend properly.
14902         (movdi_32+1): Sign-extend properly.
14903         (scc insns): Sign-extend properly.
14904
14905         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
14906         K, L, and T.
14907
14908 1999-08-02  Richard Henderson  <rth@cygnus.com>
14909
14910         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
14911         -mcpu parsing code.
14912         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
14913         * alpha.md (all fp insns): Likewise.
14914
14915 1999-08-02  Nick Clifton  <nickc@cygnus.com>
14916
14917         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
14918         already defined.
14919
14920 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
14921
14922         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
14923         pic_load_label generator directly.
14924         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
14925         No longer a named pattern.
14926
14927 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
14928
14929         * explow.c (force_reg): Call force_operand if X does not
14930         satisfy general_operand.
14931
14932 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
14933
14934         * fix-header.c (main): When testing for CONTINUED, use string
14935         equality, not pointer equality.
14936
14937 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
14938
14939         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
14940
14941 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
14942
14943         * cse.c (cse_insn): Fix loop which deletes insns after a jump
14944         that has become an unconditional jump.
14945
14946         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
14947         (output_function_epilogue): Similarly.
14948
14949 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14950
14951         * tree.h (init_dummy_function_start): Declare.
14952
14953 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14954
14955         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
14956         last_expr_type, last_expr_value, block_start_count, block_stack,
14957         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
14958         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
14959         dynamically in stmt elt of struct function for each function.
14960         (struct nesting): Rename function_call_count elt to n_function_calls,
14961         target_temp_slot_level to block_target_temp_slot_level.  All users
14962         changed.
14963         (struct stmt_status): New structure definition.
14964         Add many accessor macros for stmt_status elements which previously
14965         were global variables.
14966         (init_stmt_for_function): Allocate stmt elt for current_function.
14967         Reflect that block_start_count was renamed to
14968         current_block_start_count.
14969         (save_stmt_status, restore_stmt_status): Delete functions.
14970         (preserve_subexpressions_p): Don't access loop_stack when outside
14971         a function.
14972         (expand_start_bindings): Reflect that block_start_count was renamed to
14973         current_block_start_count.
14974         (expand_fixup): Likewise.
14975         (expand_decl): Don't access block_stack when outside a function.
14976         (expand_decl_cleanup): Likewise.
14977         (expand_dcc_cleanup): Likewise.
14978         (expand_dhc_cleanup): Likewise.
14979         (expand_anon_union_decl): Likewise.
14980         (set_file_and_line_for_stmt): New function.
14981         (in_control_zone_p): New function.
14982
14983         * function.h (struct function): Add new elt stmt.
14984         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
14985         case_stack, nesting_stack, nesting_depth, block_start_count,
14986         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
14987         emit_lineno, goto_fixup_chain.
14988         (save_eh_status, restore_eh_status, save_stmt_status,
14989         restore_stmt_status): Delete declarations.
14990         * function.c (push_function_context_to): Don't call save_stmt_status.
14991         (pop_function_context_to): Don't call restore_stmt_status.
14992         * tree.h (in_control_zone_p): Declare.
14993         * rtl.h (set_file_and_line_for_stmt): Declare.
14994
14995         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
14996         call set_file_and_line_for_stmt.
14997
14998 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
14999
15000         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
15001         Also update copyright.
15002
15003 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15004
15005         * c-pragma.c: Don't include "except.h".
15006         * emit-rtl.c: Likewise.
15007         * stor-layout.c: Likewise.
15008         * tree.c: Likewise.
15009         * varasm.c: Likewise.
15010
15011         * flow.c: Include "function.h".
15012         * tree.h (init_dummy_function_start): Declare new function.
15013
15014         * except.h (struct eh_status): New structure.
15015         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
15016         been included.
15017         (eh_return_stub_label, ehstack, catchstack, ehqueue,
15018         catch_clauses, false_label_stack, caught_return_label_stack,
15019         protect_list, current_function_ehc): Add accessor macros for the
15020         corresponding fields in current_function->eh; delete declarations
15021         for all items that used to be declared here.
15022         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
15023         catch_clauses, false_label_stack, caught_return_label_stack,
15024         protect_list, current_function_ehc): Delete variables.
15025         (init_eh_for_function): Allocate current_function->eh.
15026         (save_eh_status, restore_eh_status): Delete functions.
15027
15028         * function.h (struct function): Add fields next_global and eh.
15029         Delete all exception handling related fields.
15030         * function.c (current_function): New variable.
15031         (all_functions): New variable.
15032         (push_function_context_to): Don't allocate a struct function,
15033         use current_function instead.  Call init_dummy_function_start when
15034         outside a function.  Clear current_function before returning.
15035         (pop_function_context_from): Restore current_function.
15036         Don't free the restored struct function.
15037         (prepare_function_start): New function.
15038         (init_dummy_function_start): New function.
15039         (init_function_start): Break out some code into prepare_function_start
15040         and call it here.
15041
15042         * stmt.c (save_stmt_status): Don't call save_eh_status.
15043         (restore_stmt_status): Don't call restore_eh_status.
15044
15045         * Makefile.in: Update dependencies.
15046
15047 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
15048
15049         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
15050         of depending on a magic constant value.  Update comments.
15051         (hppa_expand_prologue): Similarly.
15052
15053         * pa.md (reload_indi, reload_outdi): Allow any register for the
15054         original reload register.
15055
15056 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
15057
15058         * cccp.c (print_help): Change marcos to macros.
15059
15060 1999-07-30  Richard Henderson  <rth@cygnus.com>
15061
15062         * c-typeck.c (initializer_constant_valid_p): Move ...
15063         * c-common.c (initializer_constant_valid_p): ... here.  Use
15064         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
15065         of label addresses.
15066         * c-common.h (initializer_constant_valid_p): Declare.
15067         * c-tree.h (initializer_constant_valid_p): Remove.
15068
15069 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
15070
15071         * config/i386/sol2-c1.asm: Align the stack.
15072         * config/i386/sol2-gc1.asm: Likewise.
15073
15074 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
15075
15076         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
15077         -Asparclite for sparc86x.
15078         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
15079         sparc86x.
15080         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
15081
15082 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
15083
15084         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
15085         the user if using the non-default arch size in BI_ARCH configuration.
15086         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
15087
15088         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
15089         Fix patterns so that they actually match.
15090         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
15091         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
15092         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
15093         TARGET_HARD_MUL32.
15094         (mulsidi3): Reflect this in the expand.
15095         (smulsi3_highpart): Only on TARGET_ARCH32.
15096         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
15097         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
15098         (umulsidi3): Reflect this in the expand.
15099         (umulsi3_highpart): Only on TARGET_ARCH32.
15100         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
15101         don't require g0 to be zero.
15102         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
15103         ({,u}divsi3): New expands.
15104         ({,u}divsi3_sp64): New patterns.
15105         (after lshrdi3_v8plus): Four new patterns to help combiner
15106         optimizing nested mixed mode shifts.
15107
15108         * config/sparc/sparc.c (sparc_override_options): Use deprecated
15109         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
15110         speed things up. Don't use them by default on plain v9 in 64bit
15111         mode, according to what SPAMv9 sais.
15112
15113         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
15114         top 32 bits of %[og][0-7] in signal handlers.
15115         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
15116
15117 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
15118
15119         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
15120         (ashlsi3): Corresponding changes.
15121
15122         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
15123
15124 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
15125
15126         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
15127
15128 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15129
15130         * arm.h (Hint): Delete macro.
15131         Substitute HOST_WIDE_INT for Hint in some prototypes.
15132         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
15133
15134 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
15135
15136         * builtins.c (expand_builtin_setjmp): Use force_operand to
15137         make sure that the buffer address is in a suitable form to be
15138         passed to force_reg.
15139
15140 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
15141
15142         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
15143         them here.
15144
15145 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
15146
15147         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
15148         proper mode in the condition string.
15149         (icacheflush, dcacheflush): Remove modes from match_operands.
15150
15151         * pa.c (emit_move_sequence): Always convert scratch_reg to the
15152         proper mode before using it.
15153
15154         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
15155         pair.
15156
15157         * pa.c (store_reg): Do not call add_high_const generator directly.
15158         (load_reg, set_reg_plus_d): Likewise.
15159         * pa.md (add_high_const): No longer a named pattern.
15160
15161         * pa.c (legitimize_address): Consistently use Pmode rather than
15162         SImode.  Do not call gen_pic2_highpart directly anymore.
15163         * pa.md (pic2_highpart): No longer a named pattern.
15164         (pic2_lo_sum): Similarly.  Reformat to make more readable.
15165
15166         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
15167         needed.
15168
15169         * README: Update.
15170
15171 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15172
15173         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
15174
15175 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
15176
15177         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
15178         and tag the spill mems.
15179         (hppa_va_start): New.
15180         (hppa_va_arg): New.
15181         * pa.h (EXPAND_BUILTIN_VA_START): New.
15182         (EXPAND_BUILTIN_VA_ARG): New.
15183
15184 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
15185
15186         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
15187         and tag the spill mems.
15188         (mn10300_va_start): New.
15189         (mn10300_va_arg): New.
15190         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
15191         (EXPAND_BUILTIN_VA_ARG): New.
15192
15193 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
15194
15195         * mn10200.c (mn10200_va_arg): New.
15196         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
15197
15198 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
15199
15200         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
15201         rather than play with TREE_INT_CST_LOW.
15202
15203 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
15204
15205         * config/arm/telf.h: Include dbxelf.h.
15206         (CPP_PREDEFINES): Only define if not already defined.
15207         (ASM_IDENTIFY_GCC): Likewise.
15208         (SUBTARGET_EXTRA_SECTIONS): Likewise.
15209         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
15210         * config/arm/thumb.h (LINK_SPEC): Only define if not already
15211         defined.
15212         (DBX_DEBUGGING_INFO): Don't define.
15213         * config/arm/linux-telf.h: New file.
15214         * config/arm/linux-tgas.h: New file.
15215         * config/arm/t-thumb-linux: New file.
15216         * config/arm/uclinux-elf.h: New file.
15217         * config/arm/uclinux-telf.h: New file.
15218         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
15219         thumb-*-uclinux): New targets.
15220         * configure: Regenerate.
15221
15222 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
15223
15224         * pa.md (post_store, pre_load): New expanders.
15225         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
15226         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
15227         need to directly generate RTL for them.
15228         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
15229         changes.
15230
15231 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
15232
15233         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
15234         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
15235         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
15236         (secndary_reload_class): Make TARGET_ELF conditional compile.
15237         (print_operand_address): Similar.
15238         (output_toc): Print all values as hex.
15239         (get_issue_rate): Rearrange and add RS64A and PPC630.
15240         * rs6000.h (processor_type): Add RS64A and PPC630.
15241         (PROCESSOR_POWERPC64): New.
15242         (PROMOTE_MODE): Use word_mode.
15243         (RTX_COSTS): Add RS64A and PPC630.
15244         * rs6000.md (scheduling information): Add lmul and ldiv
15245         representing 64-bit integer multiply and divide.  Add rs64a and
15246         PPC630 information.
15247         (ashldi3): Add support for "rldic" instruction.
15248         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
15249
15250 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
15251
15252         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
15253         instead of V8 for sparclite86x in cpu_table.
15254
15255 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15256
15257         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
15258         output_file_directive.
15259
15260 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
15261
15262         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
15263         tree for op1, not the rtl.
15264
15265 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
15266
15267         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
15268         to m88k_va_start, leaving only the register spill.
15269         (m88k_build_va_list): New.
15270         (m88k_va_start): New.
15271         (m88k_va_arg): New.
15272         * m88k.h (BUILD_VA_LIST_TYPE): New.
15273         (EXPAND_BUILTIN_VA_START): New.
15274         (EXPAND_BUILTIN_VA_ARG): New.
15275
15276 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
15277
15278         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
15279         Rename from expand_builtin_saveregs.
15280         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
15281
15282 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
15283
15284         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
15285         for the register spill block.
15286         (i960_build_va_list): New.
15287         (i960_va_start): New.
15288         (i960_va_arg): New.
15289         * i960.h (BUILD_VA_LIST_TYPE): New.
15290         (EXPAND_BUILTIN_VA_START): New.
15291         (EXPAND_BUILTIN_VA_ARG): New.
15292         * i960.md (store_multiple): Use change_address on individul mems.
15293
15294 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
15295
15296         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
15297         an ARRAY_TYPE.
15298         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
15299         (expand_builtin_va_end): Evaluate arg for side effects.
15300         * c-common.c (c_common_nodes_and_builtins): Construct a
15301         va_list_arg_type_node to handle array decomposition to pointer.
15302
15303 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
15304
15305         * except.c (start_dynamic_cleanup): Use force_operand on the
15306         buffer's address.
15307
15308 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
15309
15310         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
15311         * c4x.c (c4x_va_arg): New.
15312
15313 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
15314
15315         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
15316         has manual_pop set.
15317
15318 1999-07-26  Nathan Sidwell  <nathan@acm.org>
15319
15320         * eh-common.h (__eh_matcher): Prototype correctly.
15321
15322 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
15323
15324         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
15325         (TARGET_SINGLE_PIC_BASE): Likewise.
15326         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
15327         definitions.
15328         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
15329         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
15330         (TARGET_OPTIONS): Add -mpic-register=N.
15331         (OUTPUT_INT_ADDR_CONST): New macro.
15332         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
15333         LEGITIMATE_PIC_OPERAND_P): Likewise.
15334         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
15335         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
15336         output_addr_const directly.
15337         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
15338         ARM port.
15339         (thumb_pic_register, thumb_pic_register_string): Declare.
15340
15341         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
15342         from arm.c.
15343         (label_mentioned_p): New function: Imported from arm.c.
15344         (legitimize_pic_address): New function: Imported from arm.c.
15345         (is_pic):New function: Imported from arm.c.
15346         (thumb_finalize_pic):New function: Imported from arm.c.
15347         (add_constant): Cope with PIC constants.
15348         (fixit): Cope with PIC constants.
15349         (output_return): Do not treat the PIC register as live if
15350         TARGET_SINGLE_PIC_BASE is true.
15351         (thumb_function_prologue): Do not treat the PIC register as live if
15352         TARGET_SINGLE_PIC_BASE is true.
15353         (thumb_expand_prologue): Do not treat the PIC register as live if
15354         TARGET_SINGLE_PIC_BASE is true.
15355         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
15356         TARGET_SINGLE_PIC_BASE is true.
15357         (thumb_print_operand): Accept '|'.
15358         (thumb_override_options): Process PIC options.
15359
15360         * config/arm/thumb.md (movsi): Support PIC.
15361         (call_insn): Change "i" constraint to "X".
15362         (call_value_insn): Likewise.
15363         (consttable_4, consttable_8, consttable_end): Set and clear
15364         "making_const_table" as appropriate.
15365         (pic_load_addr, pic_add_dot_plus_four): New insns.
15366
15367         * invoke.texi (Thumb Options): Fix spelling.  Document new
15368         options -msingle-pic-base and -mpic-register=.
15369
15370 1999-07-26  Andrew Haley  <aph@cygnus.com>
15371
15372         * config/m32r/initfini.c (__init): Use a full word immediate for
15373         __fini: this allows it to be placed in any memory region.
15374
15375         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
15376         -mmodel=medium.  This is OK for all memory models.
15377
15378 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
15379
15380         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
15381         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
15382
15383 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
15384
15385         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
15386         defined.
15387
15388         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
15389
15390 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
15391
15392         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
15393         (BUILD_VA_LIST_TYPE): New.
15394         (EXPAND_BUILTIN_VA_START): New.
15395         (EXPAND_BUILTIN_VA_ARG): New.
15396         * i860.c (output_delayed_branch): Disable.
15397         (output_delay_insn): Likewise.
15398         (i860_saveregs): New.
15399         (i860_build_va_list): New.
15400         (i860_va_start): New.
15401         (i860_va_arg): New.
15402         * i860.md: Disable all peepholes using output_delayed_branch.
15403         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
15404
15405 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
15406
15407         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
15408         (BUILD_VA_LIST_TYPE): New.
15409         (EXPAND_BUILTIN_VA_START): New.
15410         (EXPAND_BUILTIN_VA_ARG): New.
15411         * clipper.c (clipper_builtin_saveregs): Only dump registers.
15412         Return the address of the save area.
15413         (clipper_build_va_list): New.
15414         (clipper_va_start): New.
15415         (clipper_va_arg): New.
15416
15417 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
15418
15419         * arc.h (EXPAND_BUILTIN_VA_START): New.
15420         (EXPAND_BUILTIN_VA_ARG): New.
15421         * arc.c (arc_setup_incoming_varargs): Set alias set of
15422         varargs save area.
15423         (arc_va_start): New.
15424         (arc_va_arg): New.
15425
15426 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
15427
15428         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
15429         (BUILD_VA_LIST_TYPE): New.
15430         (EXPAND_BUILTIN_VA_START): New.
15431         (EXPAND_BUILTIN_VA_ARG): New.
15432         * alpha.c (alpha_builtin_saveregs): Delete.
15433         (alpha_build_va_list): New.
15434         (alpha_va_start): New.
15435         (alpha_va_arg): New.
15436
15437 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
15438
15439         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
15440         column zero.
15441         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
15442         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
15443
15444         * gcc.texi: More changes related to list conversion.
15445         * invoke.texi: Likewise.
15446
15447 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
15448
15449         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
15450         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
15451         (expand_builtin_next_arg): Accept ARGLIST not EXP.
15452         (stabilize_va_list): New function.
15453         (std_expand_builtin_va_start): New function.
15454         (expand_builtin_va_start): New function.
15455         (get_varargs_alias_set): New function.
15456         (std_expand_builtin_va_arg): New function.
15457         (expand_builtin_va_arg): New function.
15458         (expand_builtin_va_end): New function.
15459         (expand_builtin_va_copy): New function.
15460         (expand_builtin): Call them.
15461         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
15462         __builtin_{varargs_start,stdarg_start,end,copy}.
15463         (build_va_arg): New function.
15464         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
15465         (build_va_arg): Declare.
15466         * c-decl.c (ptr_type_node, va_list_type_node): New.
15467         * c-parse.gperf (__builtin_va_arg): New.
15468         * c-parse.in (VA_ARG): New token.
15469         (unary_expr): Recognize it.
15470         * expr.c (expand_expr): Expand VA_ARG_EXPR.
15471         * expr.h (std_expand_builtin_va_start): Declare.
15472         (std_expand_builtin_va_arg): Declare.
15473         (expand_builtin_va_arg): Declare.
15474         (get_varargs_alias_set): Declare.
15475         * tree.def (VA_ARG_EXPR): New.
15476         * tree.h (BUILT_IN_VARARGS_START): New.
15477         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
15478         (ptr_type_node, va_list_type_node): Declare.
15479         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
15480         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
15481         * m88k.h, m88k.c: Likewise.
15482         * mn10300.h, mn10300.c: Likewise.
15483         * pa.h, pa.c: Likewise.
15484         * rs6000.h, rs6000.c: Likewise.
15485         * sh.h, sh.c: Likewise.
15486         * sparc.h, sparc.c: Likewise.
15487
15488         * emit-rtl.c (operand_subword): Copy alias set.
15489         (change_address): Likewise.
15490
15491 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
15492
15493         * pa.c (compute_frame_size): Scan all the used callee saved registers,
15494         not just the first one.
15495
15496 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
15497
15498         * config/arm/arm.h (TARGET_SWITCHES): Add
15499         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
15500         (TARGET_OPTIONS): Add -mpic-register=.
15501         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
15502         (arm_pic_register_string): Declare.
15503         (NEED_PLT_GOT): Delete, replace with ...
15504         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
15505         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
15506         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
15507         * config/arm/arm.c (arm_override_options): Add new option
15508         -mpic-register=N.
15509         (arm_pic_register_string): New variable.
15510         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
15511         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
15512         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
15513         (output_return_instruction): Likewise.
15514         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
15515         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
15516         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
15517
15518         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
15519         mention of -msched-prolog.  Document new options -msingle-pic-base
15520         and -mpic-register=.
15521
15522 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
15523
15524         * haifa-sched.c (reemit_notes): Tidy.
15525         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
15526         haifa's routine.
15527
15528 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
15529
15530         * explow.c (trunc_int_for_mode): New function.
15531         (plus_constant_wide): Use it.
15532         * combine.c (simplify_and_const_int): Likewise.
15533         (merge_outer_ops): Likewise.
15534         (simplify_shift_const): Likewise.
15535         * cse.c (simplify_unary_operation): Likewise.
15536         (simplify_binary_operation): Likewise.
15537         * emit-rtl.c (operand_subword): Likewise.
15538         * rtl.h: Declare it.
15539
15540 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15541
15542         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
15543         (use NUM_REGS instead of NUM_INTS).
15544
15545 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15546
15547         * builtins.c: New file.
15548         * expr.c (saveregs_value, apply_args_value):  Delete definition,
15549         moved into builtins.c.
15550         (string_constant): No longer static.
15551         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
15552         apply_args_size, apply_result_size, result_vector,
15553         expand_builtin_apply_args, expand_builtin_apply,
15554         expand_builtin_return): Delete functions, moved into builtins.c.
15555         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
15556         * expr.h (saveregs_value, apply_args_value): Declare variables.
15557         (expand_builtin, string_constant): Declare functions.
15558         * Makefile.in: Update to build builtin.o.
15559
15560 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
15561
15562         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
15563         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
15564         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
15565         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
15566         false.
15567         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
15568         Define to zero.
15569
15570 1999-07-21  Michael Meissner  <meissner@cygnus.com>
15571
15572         * print-rtl.c (print_rtx): Print the names of the virtual
15573         registers.
15574
15575 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
15576
15577         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
15578         introduced in previous delta.
15579
15580 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15581
15582         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
15583         to avoid name clash.
15584
15585 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15586
15587         * c-lex.c (yylex) : Correct the test for overflow when lexing
15588         integer literals.
15589
15590 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
15591
15592         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
15593         (adjust_priority): Always call ADJUST_PRIORITY.
15594         (schedule_insn): Only put insns into the ready at cost 0.
15595         (schedule_block): Remove redundant initial sort.  Give clock_var
15596         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
15597         is not 0.
15598         * tm.texi (MD_SCHED_REORDER): Update docs.
15599
15600         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
15601         * sparc.c (ultra_reorder_called_this_block): Delete.
15602         (ultrasparc_sched_init): Don't set it.
15603         (ultrasparc_sched_reorder): Don't check it.
15604
15605 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
15606
15607         * rs6000.h (struct rs6000_args): Add sysv_gregno.
15608         * rs6000.c (init_cumulative_args): Init sysv_gregno.
15609         (function_arg_boundary): Align DFmode.
15610         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
15611         to get fp reg and stack overflow correct.
15612         (function_arg): Likewise.
15613         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
15614         (setup_incoming_varargs): Restructure for ABI_V4; use
15615         function_arg_advance to skip final named argument.
15616         (expand_builtin_saveregs): Properly unskip the last integer arg
15617         when doing varargs.  Adjust overflow location calculation.
15618
15619         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
15620         explicitly unsigned.
15621         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
15622         (__VA_GP_REGSAVE): Similarly.
15623         (__va_longlong_p): Delete.
15624         (__va_arg_type_violation): New declaration.
15625         (va_arg): Restructure.  Flag promotion errors.  Align double.
15626         TFmode passed by reference.
15627
15628         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
15629         in the HOST_BITS_PER_WIDE_INT > 32 case.
15630
15631 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
15632
15633         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
15634
15635 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
15636
15637         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
15638         * toplev.c (documented_lang_options): Add -fpreprocessed.
15639         * cpplib.h (struct cpp_buffer): Add preprocessed.
15640         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
15641         (cpp_start_read): Don't expand macros or emit an initial #line
15642         directive if -fpreprocessed.
15643
15644 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
15645
15646         * cpplib.h (struct cpp_buffer): Added manual_pop for
15647         better C++ tokenization.
15648         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
15649         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
15650         * c-common.c (cpp_token): Make non-static.
15651
15652 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15653
15654         * c-common.h: New file.
15655         * c-common.c (permanent_obstack): Delete unused declaration.
15656         (c_global_trees): New array.
15657         (c_common_nodes_and_builtins): New function; split off common code
15658         from init_decl_processing in both c-decl.c and cp/decl.c.
15659         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
15660         c_global_trees and accessor macros defined in c-common.h.
15661         Include c-common.h.
15662         * c-decl.c: Delete definitions for tree nodes that were replaced by
15663         c_global_trees.
15664         (init_decl_processing): Build void_list_node.
15665         Call c_common_nodes_and_builtins; delete code to generate the common
15666         builtins here.
15667         * objc/objc-act.c (build_module_descriptor): Rename variable
15668         void_list_node to avoid clash with c-common.h.
15669
15670         * Makefile.in: Update dependencies.
15671         * objc/Make-lang.in: Likewise.
15672
15673 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
15674
15675         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
15676         (UNIQUE_SECTION_P): Likewise.
15677         (UNIQUE_SECTION): Likewise.
15678
15679 1999-07-19  Linas Vepstas  <linas@linas.org>
15680
15681         * config/i370/README: New file.
15682         * config/i370/linux.h: New file.
15683         * config/i370/mvs.h: New file.
15684         * config/i370/oe.h: New file.
15685         * config/i370/t-linux: New file.
15686         * config/i370/t-mvs: New file.
15687         * config/i370/t-oe: New file.
15688         * config/i370/x-oe: New file.
15689         * config/i370/xm-linux.h: New file.
15690         * config/i370/xm-mvs.h: New file.
15691         * config/i370/xm-oe.h: New file.
15692
15693         * i370.c (label_node_t): Add first_ref_page, label_addr,
15694         label_first_ref, label_last_ref members.
15695         (mvs_need_base_reload): Renamed from mvs_label_emitted.
15696         (MAX_MVS_LABEL_SIZE): Define.
15697         (MAX_LONG_LABEL_SIZE): Define.
15698         (alias_node_t, alias_anchor, alias_number): New.
15699         (mvs_function_table): Reorder for EBCDIC.
15700         (ascebc, ebcasc): Unconditionally define.
15701         (i370_branch_dest, i370_branch_length): New functions.
15702         (i370_short_branch, i370_label_scan): New functions.
15703         (mvs_get_label): Renamed from mvs_add_label.  Search for
15704         an existing label before creating a new one.
15705         (mvs_add_label): New function.
15706         (mvs_get_label_page): New function.
15707         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
15708         over the entire list.
15709         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
15710         (mvs_check_page) [TARGET_ELF_ABI]: New function.
15711         (mvs_add_alias, mvs_need_alias): New functions.
15712         (mvs_get_alias, mvs_check_alias): New functions.
15713         (handle_pragma): New function.
15714         (mvs_function_check): New function.
15715         (unsigned_jump_follows_p): Search harder.
15716         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
15717         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
15718         * i370.h (TARGET_VERSION): Delete.
15719         (CPP_SPEC, CPP_PREDEFINES): Delete.
15720         (mvs_label_emitted): Delete.
15721         (TARGET_EBCDIC): Delete.
15722         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
15723         (HANDLE_PRAGMA): Define.
15724         (HARD_REGNO_NREGS): Handle complex modes.
15725         (HARD_REGNO_MODE_OK): Likewise.
15726         (CLASS_MAX_NREGS): Likewise.
15727         (RET_REG): Likewise.
15728         (EXTRA_CONSTRAINT): Define.
15729         (RETURN_IN_MEMORY): True for DImode.
15730         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
15731         (FUNCTION_PROFILER): Delete.
15732         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
15733         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
15734         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
15735         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
15736         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
15737         (ASM_FILE_START): Add "RMODE ANY".
15738         (ASM_OUTPUT_EXTERNAL): Check for aliases.
15739         (ASM_GLOBALIZE_LABEL): Likewise.
15740         (ASM_OUTPUT_LABELREF): Likewise.
15741         (ASM_OUTPUT_COMMON): Likewise.
15742         (PRINT_OPERAND): Handle 'K', 'W', default.
15743         (PRINT_OPERAND_ADDRESS): New.
15744         (Lots of defines): Add support for TARGET_ELF_ABI.
15745         * i370.md (attr length): New.  Define for all patterns.
15746         (*): Lots of tweeks to assembly output and constraints.
15747
15748 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
15749
15750         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
15751         Disable patterns performing SImode comparisons with SImode values
15752         if TARGET_POWERPC64 and instruction does not sign-extend or does
15753         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
15754         differ for signed quantities.
15755         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
15756         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
15757         (decrement_and_branch_on_count): Add 64-bit variant.
15758
15759 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15760
15761         * final.c (output_asm_insn): When searching for the matching string
15762         for a given dialect, don't run past the end of the list of
15763         alternatives if there are fewer alternatives in the template than
15764         dialects.
15765
15766 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
15767
15768         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
15769         Removed paragraph about compression of files and size limitation,
15770         duplicated in the FAQ.  Use gcc-patches for posting patches.
15771         * gcc.c (main): Updated URL with bug reporting instructions to
15772         gcc.gnu.org.  Removed e-mail address.
15773         * system.h (abort): Likewise.
15774
15775 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15776
15777         * Makefile.in (stmp-multilib-sub): Make the files extracted
15778         from $(LIBGCC1) writable.
15779
15780 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
15781
15782         * config/arm/aout.h: Reformat for improved readability.
15783
15784         * config/arm/arm.h: Reformat for improved readability.
15785         Replace uses of fprintf with asm_fprintf where appropriate.
15786         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
15787         function declaration assembler actions.
15788         (NUM_INTS): New macro: Convert from bytes to words.
15789         (NUM_REGS): New macro: Compute number of registers required to
15790         hold a quanitity of tyep MODE.
15791         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
15792         types.
15793         (NUM_ARG_REGS): New macro: The number of argument registers
15794         available.
15795         (ARG_REGISTER): New macro: Compute the register number of the Nth
15796         argument register.
15797         (LAST_ARG_REGNUM): New macro: The number of the last argument
15798         register.
15799         (SP_REGNUM): New macro: Register number of the stack pointer.
15800         (FP_REGNUM): New macro: Register number of the frame pointer.
15801         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
15802         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
15803         CUMULATIVE_ARGS so that it counts registers not bytes.
15804
15805         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
15806         TARGET_INTERWORK.
15807         Replace uses of fprintf with asm_fprintf where appropriate.
15808         (output_ascii_pseudo_op): Replace with version from thumb.c
15809
15810         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
15811
15812         * config/arm/elf.h (CPP_PREDEFINES): Replace with
15813         SUBTARGET_CPP_SPEC.
15814         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
15815         (ASM_FILE_START): Emit ASM_APP_OFF.
15816
15817 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
15818
15819         * pa.c (compute_frame_size): Round frame according to
15820         STACK_BOUNDARY rather than a hardwired value.
15821
15822         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
15823
15824         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
15825         of "1".
15826         * configure: Rebuilt.
15827
15828         * configure.in (hppa*-*-linux*): New configuration.
15829         * configure: Rebuilt.
15830         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
15831         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
15832         * pa/pa-linux.h: New file.
15833         * pa/t-linux: New file.
15834         * pa/xm-linux.h: New file.
15835
15836         * pa.c (hppa_legitimize_address): Change references from SImode to
15837         either Pmode or word_mode as appropriate.
15838         (emit_move_sequence, store_reg, load_reg): Likewise.
15839         (set_reg_plus_d, hppa_expand_prologue): Likewise.
15840         (output_mul_insn): Likewise.
15841         * pa.h (PROMOTE_MODE): Likewise.
15842         (INITIALZE_TRAMPOLINE): Likewise.
15843         (Pmode): Define to word_mode.
15844
15845         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
15846         value of 4.  Allocate 8 bytes for each FP register save.
15847         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
15848         value of 4.
15849         (hppa_expand_prologue): Likewise.
15850         * pa.h (PROMOTE_MODE): Likewise.
15851         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
15852         (FUNCTION_ARG_BOUNDARY): Likewise.
15853
15854         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
15855
15856         * pa.c (out_of_line_prologue_epilogue): Delete.
15857         (override_options): Remove -mspace related code.
15858         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
15859         (compute_frame_size): Only allocate space for register that
15860         actually need to be saved.
15861         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
15862         (TARGET_SWITCHES): Remove -mspace, -mno-space
15863         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
15864         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
15865         * pa/ee.asm, pa/ee_fp.asm: Delete.
15866
15867         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
15868
15869         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
15870         directive in column zero.
15871
15872 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
15873
15874         * m68k.c (output_function_prologue): Fix computation of save mask
15875         when generating PIC code.
15876
15877 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
15878
15879         * tree.c (build_type_attribute_variant): Move current_obstack restore
15880         after build_qualified_type call.
15881
15882 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
15883
15884         * configure.in: Use t-iris6, even with GNU LD.
15885         * config/mips/iris6gld.h: Fix typo in linker spec.
15886         * config/mips/t-iris6gld: Remove.
15887
15888 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
15889
15890         * rs6000.md (insv, extzv): Remove SImode dependence in named
15891         patterns.  Explicitly generate DImode RTL if PowerPC64 and
15892         operand is DImode.
15893         (insvdi): Reverse start and size in instruction template.
15894
15895 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
15896
15897         * invoke.texi: Typo fixes.
15898
15899 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
15900
15901         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
15902         handle at this time instead of silently generating incorrect code.
15903         (gen_imagpart): Likewise.
15904
15905         * reload.c (find_reloads): Emit a USE for a pseudo register without
15906         a hard register if we could not create an optional reload for the
15907         pseudo.
15908
15909 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15910
15911         * c-typeck.c (output_init_element, process_init_element):
15912         When advancing constructor_unfilled_fields for a RECORD_TYPE,
15913         check for nameless bit fields.
15914
15915 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
15916
15917         * regclass.c (scan_one_insn): Notice subregs that change the
15918         size of their operand.
15919         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
15920
15921 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
15922
15923         * configure.in (alpha*-*-*): Include alpha/t-ieee.
15924         * configure: Rebuilt.
15925         * alpha/t-ieee: New file.
15926
15927 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
15928
15929         * rs6000.c (find_addr_reg): Do not select r0 as an address
15930         register.
15931
15932 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
15933
15934         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
15935
15936 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
15937
15938         * rs6000.md (movsf): Do not force easy FP constants into memory.
15939
15940         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
15941         immed_double_const to ensure they are properly truncated then
15942         sign extended.
15943
15944 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
15945
15946         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
15947         always unless NO_DEBUG is used.  Compile this code
15948         unconditionally.
15949         (replace_symbols_in_block): Compile it unconditionally.
15950
15951 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
15952
15953         * configure.in (i?86-*-elf*): New target.
15954         * configure: Rebuilt.
15955         * i386/i386elf.h, i386/t-i386elf: New files.
15956
15957 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
15958
15959         * toplev.c (main): Don't complain about saying -gdwarf.
15960         (rest_of_compilation): Remove redundant code.
15961
15962 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
15963
15964         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
15965
15966 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
15967
15968         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
15969         "Li960R:", to avoid name clash.
15970
15971 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15972
15973         * loop.c (check_dbra_loop): When reversing a loop, delete all
15974         REG_EQUAL notes referencing the reversed biv except those which are
15975         for a giv based on it.
15976
15977 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
15978
15979         * version.c: Drop "gcc-" prefix from version #.
15980
15981 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
15982
15983         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
15984         the label if we're being verbose.
15985
15986 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
15987
15988         * m68k.c (output_function_prologue): Add pic register to mask
15989         if live and flag_pic.
15990         (output_function_epilogue): Likewise.
15991
15992 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
15993
15994         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
15995         directives in column zero.
15996
15997         * pa/elf.h (ASM_FILE_START): Define.
15998         * pa/som.h (ASM_FILE_START): Include .level directives.
15999         * pa/hpux10.h (ASM_FILE_START): Delete.
16000         * pa/hpux11.h (ASM_FILE_START): Delete.
16001
16002         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
16003
16004 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16005
16006         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
16007         when reload_out equals reload_in.
16008
16009 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
16010
16011         * invoke.texi (Spec Files): New node: Describe the contents of
16012         spec files.
16013
16014 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
16015
16016         * invoke.texi (DEC Alpha Options): Put @end table at
16017         beginning of line, to avoid confusing texi2html.
16018
16019 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
16020
16021         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
16022         introduced in previous delta.
16023
16024 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16025
16026         * reload1.c (gen_reload): When synthesizing a 3 operand add
16027         sequence, improve test for when to reload OP1 into the reload
16028         register instead of OP0.
16029
16030 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
16031
16032         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
16033
16034 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
16035
16036         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
16037         string literal.
16038
16039 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
16040
16041         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
16042         (va_dcl): Use __builtin_va_alist_t.
16043
16044 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
16045
16046         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
16047         on the permanent_obstack.
16048         * dwarfout.c (output_type): Likewise.
16049
16050 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16051
16052         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16053         Merged from c-typeck.c and cp/typeck.c.
16054         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16055         Merged into c-common.
16056
16057 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
16058
16059         * c-lex.c (errorcount): Declare it.
16060         (finish_parse): Update errorcount when using CPPLIB.
16061
16062 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
16063
16064         * fixinc/inclhack.def(end_else_label): Double the backslash so
16065         sed gets a chance to see it.
16066         * fixinc/inclhack.sh: regen
16067         * fixinc/fixincl.x: regen
16068
16069 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
16070
16071         Add framework to support armv5 architecture when it becomes
16072         available:
16073
16074         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
16075         (arm_arch5): New variable.
16076         (all_architectures): Add armv5 line.
16077         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
16078         -march=armv5 is specified on the command line.
16079         (arm_arch5): Export this variable.
16080         * invoke.texi: Document new string accepted by -march= switch for
16081         ARM ports.
16082
16083         * config/arm/arm.h: Replace use of constant 12 as a register
16084         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
16085         * config/arm/arm.c: Replace use of constant 12 as a register
16086         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
16087
16088         * config/arm/elf.h: Tidy up.
16089         * config/arm/coff.h: Tidy up.
16090
16091 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
16092
16093         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
16094         * gcc/config/mips/t-iris6gld: New file.
16095         * gcc/config/mips/iris6gld.h: Likewise.
16096
16097 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16098
16099         * c-decl.c (widest_integer_literal_type_node,
16100         widest_unsigned_literal_type) : New.
16101         (init_decl_processing): Handle/use the two new types.
16102         * c-common.c (type_for_size,type_for_mode) : Same.
16103         * c-lex.c (yylex) : Same.
16104         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16105         Same.
16106         * c-tree.h (widest_integer_literal_type_node,
16107         widest_unsigned_literal_type) : New.
16108
16109 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
16110
16111         * dwarfout.c (field_byte_offset): Correctly compute the object's
16112         byte offset for the first bit of a field which crosses an alignment
16113         boundary on a !BYTES_BIG_ENDIAN target.
16114
16115 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
16116
16117         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
16118         ntohs.
16119
16120 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
16121                           Jeff Law <law@cygnus.com>
16122
16123         * ginclude/varargs.h (va_dcl): Use word_mode for type of
16124         __builtin_va_list.
16125
16126         * except.c: Include intl.h.
16127         (expand_eh_return): Set current_function_cannot_inline.
16128         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
16129         * function.h (struct function): Add eh_return_stub_label.
16130         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
16131         * Makefile.in (except.o): Depend on intl.h.
16132
16133 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
16134
16135         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
16136         same as offsettable in cases 1 and 2.
16137
16138 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
16139
16140         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
16141         (extlh, extwh): Likewise.
16142
16143 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16144
16145         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
16146
16147 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
16148
16149         * configure.in: Add arm-pe and thumb-pe targets.
16150         * configure: Regenerate.
16151
16152         * thumb.c (arm_naked_function_p): New function: Determines if
16153         a function is naked (has no gcc generated prologue/epilogue).
16154         (is_called_in_ARM_mode): Return true if the func has the
16155         interfacearm attribute.
16156         (output_return): Do not generate a return for naked functions.
16157         (thumb_function_prologue): Do not generate a prologue for
16158         naked functions.
16159         (thumb_expand_prologue): Do not generate a prologue for naked
16160         functions.
16161         (thumb_expand_epilogue): Do not generate an epilogue for naked
16162         functions.
16163         (arm_valid_machine_decl_attribute): New function, copied from
16164         arm.c:  Permit naked and interfacearm attributes.
16165
16166         * config/arm/pe.c: New file: Support code for arm-pe target.
16167         * config/arm/pe.h: New file: Header file for arm-pe target.
16168         * config/arm/tpe.h: New file: Header file for thumb-pe target.
16169         * config/arm/t-thumb-pe: New file: Makefile fragment for
16170         thumb-pe target.
16171
16172 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
16173
16174         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
16175         -fPIC or -fpic is specified.
16176
16177 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
16178
16179         * expr.c (emit_block_move): Use copy_to_mode_reg for
16180         !TARGET_MEM_FUNCTIONS case too.
16181
16182         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
16183         appropriate.
16184         * configure: Rebuilt.
16185         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
16186         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
16187         definitions made redundant by dbxelf.h inclusion.  Delete
16188         lots of definitions related to assembly output that are
16189         specific to the SOM object format.
16190         * pa.c (output_function_prologue): Do not emit the function's
16191         name for OBJ_ELF.
16192         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
16193         * pa-pro.h: Deleted.
16194         * som.h: New file with SOM specific definitions.
16195         * elf.h: New file with ELF specific definitions.
16196
16197         * elfos.h (const_section): Output a tab before assembler directives.
16198         (ctors_section, dtors_section): Likewise.
16199         (ASM_OUTPUT_SECTION_NAME): Likewise.
16200
16201         * pa/pa1.h: Delete unused file.
16202
16203 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
16204
16205         * configure.in (hppa*-hp-hpux11*): New configuration.
16206         * configure: Rebuilt.
16207         * pa/pa-hpux11.h: New file.
16208         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
16209         command line.
16210
16211         * mips.md (leasi, leadi): New patterns.
16212
16213         * expr.c (emit_block_move): Properly handle case where one of the
16214         block move arguments has a queued increment or decrement.
16215         (clear_storage): Similarly.  Fix formatting goof.
16216
16217 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
16218
16219         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
16220         semicolon from the BSD VA_LIST replacement expression.
16221
16222         * fixinc/inclhack.sh: regen
16223         * fixinc/fixincl.x: regen
16224
16225         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
16226         now use the fixincl program.
16227
16228 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
16229
16230         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
16231         case.  Also make the PIC register call_used.
16232
16233         * m68k.h (FINALIZE_PIC): Delete.
16234         * m68k.c (finalize_pic): Delete.
16235
16236 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
16237
16238         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
16239         to memory.
16240
16241 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
16242
16243         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
16244
16245 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
16246
16247         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
16248
16249 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
16250
16251         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
16252
16253 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
16254
16255         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
16256
16257 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
16258
16259         * rs6000.c (output_toc): Always use hex values for floating-point
16260         constants.  Store single-precision values in upper-half of TOC
16261         entry in 64-bit mode.
16262         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
16263         to final constraints.
16264         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
16265         (fctiwz): Improve accuracy of RTL for pattern.
16266
16267 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16268
16269         * expr.c (expand_expr): Allow RTL_EXPR's through the
16270         MAX_INTEGER_COMPUTATION_MODE checks.
16271
16272 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
16273
16274         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
16275         such that MASK_SUPPORT_ARCH is not negative.
16276
16277 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
16278
16279         * loop.c (verify_dominator): Properly handle ADDR_VEC and
16280         ADDR_DIFF_VEC insns that appear inside loops.
16281
16282 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
16283                           Jeff Law <law@cygnus.com>
16284
16285         * rs6000.md (movdf_hardfloat32): Revert previous patch.
16286         Handle LO_SUM the same as offsettable in cases 1 and 2.
16287         * rs6000.c (find_addr_reg): Revert previous patch.
16288
16289 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
16290
16291         * system.h (strstr): New external function declaration.
16292         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
16293         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
16294         * config.in, configure: Rebuilt.
16295
16296 1999-06-24  Tom Tromey  <tromey@cygnus.com>
16297
16298         * gcc.c (main): Read user-specified specs files after computing
16299         additional startfile_prefixes.
16300
16301 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
16302
16303         Revert these two patches:
16304
16305         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16306         * loop.c (strength_reduce): When doing biv->giv conversion, update
16307         reg note of NEXT->insn.
16308
16309         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16310         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16311         reg_biv_class.
16312         (recombine_givs): Set ix field after sorting.
16313
16314 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16315
16316         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
16317         for the parts of an UNSPEC / UNSPEC_VOLATILE.
16318
16319 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
16320
16321         *fixinc/inclhack.def:  Add fix development commentary
16322         (read_ret_type): reactivate and add selection clause
16323         (zzz_*): tweak output file name to match what is used in hackshell.tpl
16324         *fixinc/{fixincl.x|inclhack.sh}: regen
16325
16326 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
16327
16328         * expr.c (expand_expr): STRIP_NOPS before checking against
16329         MAX_INTEGER_COMPUTATION_MODE
16330         (check_max_integer_computation_mode): Likewise.
16331
16332 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
16333
16334         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
16335
16336 1999-06-22  Jim Wilson  <wilson@cygnus.com>
16337
16338         * expr.c (store_expr): When target is a promoted subreg, return a
16339         promoted subreg as a result.
16340
16341 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
16342
16343         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
16344         coding standards.
16345         (dwarf2out_define): Mark unused parameters appropriately.
16346         (gen_unspecified_parameters_die): Ditto.
16347         (gen_subprogram_die): Fix signed/unsigned warnings.
16348         (gen_variable_die): Ditto.
16349
16350 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
16351
16352         * fixinc/inclhack.def(end_else_label): combined else_label
16353         and endif_label and fixed the sed expression.
16354         *fixinc/{fixincl.x|inclhack.sh}: regen
16355
16356 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
16357
16358         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
16359         'x' when handling non-offsettable addresses
16360
16361 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
16362
16363         * final.c (shorten_branches): Don't try to split an insn that has
16364         been deleted.
16365
16366 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
16367
16368         * config/mips/mips.c (symbolic_expression_p): New function.
16369         (mips_select_rtx_section): Put symbolic expressions in the
16370         data section, not the read-only data section.
16371
16372 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
16373
16374         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
16375
16376 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
16377
16378         * collect2.c (main): Log frame table count.
16379         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
16380         (scan_prog_file) [COFF]: Handle frame tables.
16381
16382         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
16383         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
16384         * alpha/elf.h: Undef them again.
16385         * alpha/vms.h: Remove their definitions.
16386
16387 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16388
16389         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
16390         remove the clobber of r0 and change the REG_UNUSED note to
16391         REG_INC.
16392
16393 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
16394
16395         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
16396         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
16397         fits in HOST_WIDE_INT and one uses union to access a long constant
16398         as double.
16399
16400 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
16401
16402         * sparc.c (sparc_override_options): Don't allow profiling for
16403         code models other than medlow.
16404         (sparc_function_profiler): New function from old FUNCTION_PROFILER
16405         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
16406         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
16407         (sparc_block_profiler): Likewise.
16408         (sparc_function_block_profiler_exit): Likewise.
16409         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
16410         (FUNCTION_BLOCK_PROFILER): Likewise.
16411         (BLOCK_PROFILER): Likewise.
16412         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
16413         (MCOUNT_FUNCTION): New.
16414         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
16415         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
16416         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
16417         (MCOUNT_FUNCTION): New.
16418         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
16419         (BLOCK_PROFILER): Delete.
16420         (MCOUNT_FUNCTION): New.
16421
16422 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
16423
16424         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
16425
16426 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
16427
16428         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16429         Add the macros.
16430
16431         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16432         Ditto.
16433
16434         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16435         Ditto.
16436
16437         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16438         Ditto.
16439
16440 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
16441
16442         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
16443         types.
16444
16445 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
16446
16447         * i386/djgpp.h (LIB_SPEC): New.
16448         (STARTFILE_SPEC): New.
16449
16450         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
16451
16452 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
16453
16454         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
16455         compiler flags.
16456
16457         * system.h (WSTOPSIG): New macro.
16458
16459 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16460
16461         * c-pragma.c (push_alignment): Don't ignore alignments greater than
16462         4 bytes.
16463         (insert_pack_attributes): Take into account member natural
16464         alignment.
16465
16466         * i386/winnt.c (exports_head): New static variable.
16467         (i386_pe_record_exported_symbol): New function.
16468         (i386_pe_asm_file_end): Use.
16469         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
16470         symbols to be emitted at end of assembly.
16471         (ASM_DECLARE_OBJECT_NAME): Likewise.
16472         (ASM_DECLARE_FUNCTION_NAME): Likewise.
16473
16474         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
16475         -iwithprefix.
16476
16477 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
16478
16479         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
16480         in last change.
16481
16482 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
16483
16484         * haifa-sched.c (sched_analyze_1): Use free_list instead of
16485         zapping reg_last_uses directly.
16486         (sched_analyze_2, sched_analyze_insn): Likewise.
16487         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
16488
16489 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
16490
16491         * rs6000.md (movdf_hardfloat32): Use worst case insn length
16492         attributes for cases 1 and 2.
16493
16494 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
16495
16496         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
16497         instead of set.
16498
16499 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
16500
16501         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
16502
16503 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
16504
16505         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
16506         PIC_OFFSET_TABLE_REGNUM for general alloaction.
16507         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
16508         must be stacked if it is used for PIC accesses.
16509         * arm.c (use_return_insn): Handle PIC register specially.
16510         (output_return_instruction): Likewise.
16511         (output_func_{prologue,epilogue}): Likewise.
16512         (output_expand_prologue): Likewise.
16513
16514         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
16515         (*strsi_predec): Renamed from *strqi_predec.
16516         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
16517         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
16518
16519         * arm.c (arm_override_options): Remove warning about PIC code
16520         not being supported.
16521
16522 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
16523
16524         * rs6000.c (find_addr_reg): New function.
16525         * rs6000.h (find_addr_reg): Declare.
16526         (offsettable_addr_operand): Delete.
16527         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
16528         from and stores to GPRs.
16529
16530 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
16531
16532         * alpha.c (alpha_expand_block_move): Use get_insns rather than
16533         gen_sequence as argument to emit_no_conflict_block.
16534
16535 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16536
16537         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
16538         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
16539         *fixinc/fixincl.x: regen
16540         *fixinc/inclhack.sh: regen
16541
16542 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
16543
16544         * added support for -mpcrel (PC relative addressing for m68k)
16545         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
16546         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
16547         * m68k.c (print_operand_address): Handle 32-bit PIC case.
16548         (comments for general_src_operand): Add some explanation
16549         about EXTRA_CONSTRAINTS.
16550         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
16551         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
16552         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
16553         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
16554         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
16555         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
16556         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
16557         if not already set.
16558         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
16559         * m68k.h (TARGET_PCREL): New target flag.
16560         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
16561         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
16562         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
16563         contains a SYMBOL_REF.  Relax this constraint during reload, since
16564         we want to use the predicates, not reload's built-in concept of a
16565         valid memory address, to control what insns need reloading.
16566         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
16567         operands (essentially 'g', 'm', and 's' under normal circumstances).
16568         * m68k.c (print_operand): Cause printing of pc-relative addresses
16569         to include pc register.
16570         (print_operand_address): Ditto.
16571         (general_src_operand): Accept operands that are not only
16572         general_operands, but are also valid when used as a pc-relative
16573         source.
16574         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
16575         (memory_src_operand): Similar, for memory_operands.
16576         (pcrel_address): New predicate to accept the special case of a
16577         pc-relative address.
16578         * m68k.md (many patterns): Rewrite common SImode, HImode, and
16579         QImode insns to accept *_src_operand instead of *_operand where
16580         pc-relative operands can fit.  For example, a pc-relative operand
16581         can be used as a memory source operand for addsi3, but not as a
16582         memory destination.
16583         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
16584
16585 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
16586
16587         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
16588         .thumb_set pseudo op to mark aliases of thumb functions.
16589
16590 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
16591
16592         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
16593         preference to ASM_OUTPUT_DEF, if it is defined.
16594
16595         * tm.texi: Document new, optional target macro
16596         ASM_OUTPUT_DEF_FROM_DECLS.
16597
16598 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16599
16600         * fixincludes: ISCNTL patch
16601         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
16602         (dgux_int_varargs): new for DG/UX
16603         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
16604
16605 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
16606
16607         * invoke.texi (ia32 options): Fix typo.
16608
16609 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16610
16611         * loop.c (strength_reduce): When doing biv->giv conversion, update
16612         reg note of NEXT->insn.
16613
16614 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
16615
16616         * loop.c (move_movables): Note issues with replacing REGs with
16617         SUBREGs.
16618         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
16619
16620 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
16621
16622         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
16623
16624         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
16625         the reference to `mcount' was not correct for the ELF on FreeBSD.
16626
16627 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16628
16629         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16630         reg_biv_class.
16631
16632         (recombine_givs): Set ix field after sorting.
16633
16634 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
16635
16636         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
16637         to safe to extract a subword out of a REG.
16638
16639 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16640
16641         * sh.md (mulsi3): Don't add a no-op move at the end.
16642
16643 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16644
16645         * cse.c (cse_insn): Don't put hard register source into tables for
16646         the last insn of a libcall.
16647
16648 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16649
16650         * loop.c (strength_reduce): Insert sets of derived givs at every
16651         biv increment, even if it's the only one.
16652
16653 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16654
16655         * dwarfout.c (add_incomplete_type): New fn.
16656         (output_type): Call it.
16657         (retry_incomplete_types): New fn.
16658         (dwarfout_finish): Call it.
16659
16660         From Eric Raskin <ehr@listworks.com>:
16661         (output_type): Output types for bases.
16662
16663 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
16664
16665         * mips.c (mips_output_conditional_branch): Add `break'
16666         between `default' label and `close braces'.
16667
16668 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
16669
16670         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
16671         specifications and make it realistic.
16672         (LIB_SPEC): Likewise.
16673
16674 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
16675
16676         * config/mips/mips.c (mips_secondary_reload_class): Check for
16677         (PLUS (SP) (REG)) and return appropriate register class.
16678         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
16679         Handle (PLUS (SP) (REG)).
16680         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
16681         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
16682         of emit_insn for tablejump.
16683
16684 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
16685
16686         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
16687         asm_fprintf format string by itself.
16688         (output_function_profiler): Likewise.
16689
16690 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
16691
16692         * combine.c (simplify_logical, case AND): Only call
16693         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
16694         or the constant is positive.
16695
16696 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
16697
16698         * configure.in: Fix typo in rs6000-ibm-aix4 case.
16699         * configure: Regenerate.
16700
16701 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
16702
16703         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
16704         require a sub-version #.
16705         * configure: Rebuilt.
16706
16707 1999-06-14  Robert Lipe  (robertlipe@usa.net)
16708
16709         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
16710
16711 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
16712
16713         * c-typeck.c (process_init_element): Detect excess elements in
16714         char array initializer.
16715
16716 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
16717
16718         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
16719
16720 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
16721
16722         * invoke.texi (Option Summary): Add -fpermissive flag.
16723
16724 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
16725
16726         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
16727         that require PIC code sequences.
16728
16729 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
16730
16731         * configure.in: Add new target: thumb-elf.
16732         * configure: Regenerate.
16733         * config/arm/t-thumb-elf: New file: Makefile fragment for
16734         thumb-elf build.
16735         * config/arm/telf.h: New file: Header file for thumb-elf
16736         build.
16737
16738 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
16739
16740         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
16741         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
16742         initializers is some circumstances.
16743
16744         * fixinc/inclhack.def (endif_label): Add additional selector for
16745         more bogus stuff after #endif statements.
16746         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
16747
16748 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16749
16750         * i386/cygwin.h (SET_ASM_OP): Define.
16751
16752 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16753
16754         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
16755
16756 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16757
16758         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
16759         latter.
16760
16761         * sh.md (ic_invalidate_line_i): Remove second alternative.
16762
16763 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16764
16765         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
16766         test for the presence of valid prototypes.  Delete bypass expr.
16767         (ioctl_fix_ctrl): Correct the selection expression.
16768         (no_double_slash): Correct quoting rules
16769         *fixinc/fixincl.x: regen
16770         *fixinc/inclhack.sh: regen
16771
16772 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
16773
16774         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
16775
16776 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16777
16778         * rs6000.md (movsi_got_internal_mem): Delete.
16779         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
16780         (GOT_TOC_REGNUM): Delete.
16781         (PIC_OFFSET_TABLE_REGNUM): Define.
16782         (FINALIZE_PIC): Disable.
16783         * rs6000.c (rs6000_got_register): New code for fixed pic register.
16784         (rs6000_replace_regno): Delete.
16785         (rs6000_finalize_pic): Likewise.
16786         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
16787
16788 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16789
16790         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
16791         is a note; use <= for the compare; advance P while it is
16792         a NOTE.
16793
16794 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
16795
16796         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
16797         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
16798
16799         * varasm.c (remove_from_pending_weak_list): Verify t->name
16800         is non-NULL before passing it to strcmp.
16801
16802 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16803
16804         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
16805         the typed arguments are not part of a comment
16806         (ioctl_fix_ctrl): Added a purpose comment
16807         *fixinc/fixincl.x: regenerate
16808         *fixinc/inclhack.sh: regenerate
16809
16810 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16811
16812         * invoke.texi: Add C4x invocation docs.
16813
16814 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16815
16816         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
16817         Define new macros.
16818         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
16819         TARGET_EXPOSE_LDP.
16820         (c4x_legitimize_reload_address): New function.
16821         * config/c4x/c4x.md: Update docs.
16822
16823 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
16824
16825         * fixincludes: Avoid removing '.'.
16826         * fixinc/fixinc.svr4: Likewise.
16827         * fixinc/fixinc.winnt: Likewise.
16828         * fixinc/inclhack.tpl: Likewise.
16829         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
16830
16831 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16832
16833         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
16834         pattern.
16835         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
16836
16837 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16838
16839         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
16840         correctly.
16841
16842 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
16843
16844         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
16845         * configure: Regenerate.
16846
16847 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
16848
16849         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
16850         values.
16851
16852 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
16853
16854         * fixinc/inclhack.def (avoid_bool): Also catch
16855         "typedef [unsigned] int bool".
16856         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
16857
16858         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
16859         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
16860         * configure: Rebuilt.
16861
16862 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
16863
16864         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
16865         such that we can override its definitions if necessary.
16866         (CPP_SPEC): New define.  Support processor specific predefines via
16867         %(cpp_cpu).
16868         (CC1_SPEC): New define.  Support processor specific compiler
16869         options via %(cc1_cpu).
16870         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
16871         -static.
16872
16873 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16874
16875         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
16876         between sed's -e flag, and the open-quote following it.
16877         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
16878
16879 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
16880                           Jeffrey A Law  (law@cygnus.com)
16881
16882         * varasm.c (assemble_start_function): Remove the function
16883         from the pending weak decls list when we define a function.
16884         (assemble_variable): Similarly for variables.
16885         (weak_finish): Ignore items on the list with a NULL name.
16886         (remove_from_ending_weak_list); New function to "remove" an item
16887         from the pending weak declarations list.
16888
16889 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
16890
16891         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
16892
16893 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
16894
16895         * c-lex.c (GETC): Redefine to call getch.
16896         (UNGETC): Redefine to call put_back.
16897         (putback_buffer): New structure type.
16898         (putback): New static structure.
16899         (getch): New function.
16900         (put_back): New function.
16901         (yylex): Replace unused bytes from bad multibyte character.
16902
16903 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
16904
16905         * cpplib.c (do_define): Cast `alloca' return value.
16906         (do_include, do_undef, do_pragma): Likewise.
16907         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
16908         values.
16909         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
16910         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
16911
16912 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
16913
16914         * sparc.md (abstf2): This should be an expand.
16915         (split after abstf2_notv9): Fix mode.
16916         (abstf2_hq_v9): New pattern.
16917         (abstf2_v9): Only use when no hard quad.
16918         (absdf2_v9): Fix if target is not the same as source.
16919         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
16920         Add correct output constraints.
16921
16922 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
16923
16924         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
16925         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
16926
16927 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
16928
16929         * mips.h (mips_output_conditional_branch): New function.
16930         (mips_adjust_insn_length): Likewise.
16931         (ASSEMBLER_SCRATCH_REGNUM): New macro.
16932         (ADJUST_INSN_LENGTH): Likewise.
16933         * mips.c (print_operand): Add `F' and `W' for floating-point
16934         comparison opcodes.
16935         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
16936         are now in bytes.
16937         (mips_adjust_insn_length): New function.
16938         (mips_output_conditional_branch): New function.
16939         * mips.md (length): Adjust attribute definition to handle
16940         conditional branches.  Change lengths to bytes, rather than
16941         instructions throughout.  Remove length attribute from
16942         instructions whose length is four bytes, and rely on the default
16943         instead.
16944         (dslot): Fix typo in comment.
16945         Reword conditional branch patterns to use
16946         mips_output_conditional_branch.
16947
16948 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16949
16950         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
16951         (LIB_SPEC): Likewise.
16952         Link with -lprof1_r for -g/-pg.
16953
16954 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
16955
16956         * loop.c (check_dbra_loop): Fix change of Jan 19.
16957
16958 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
16959
16960         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
16961         (STARTFILE_SPEC):  Define, override the svr4.h version.
16962         (ENDFILE_SPEC):  Likewise.
16963
16964 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
16965
16966         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
16967         * fixinc/fixincl.x: Regenerated.
16968         * fixinc/inclhack.sh: Regenerated.
16969
16970 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16971
16972         * sh.c (barrier_align): Don't return early for normal branch/barrier
16973         when optimizing for SH2.
16974
16975 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
16976
16977         * i386/udk.h (LINK_SPEC): Correct linker search path for
16978         system libraries.
16979
16980 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
16981
16982         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
16983         (braf_label_ref_operand): Delete.
16984         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
16985         * sh.md (casesi_jump_2): Operand1 is now the inside of a
16986         label_ref, and has no predicate.
16987         The patten has a predicate to guard against invalid substitutions.
16988         (dummy_jump): Delete.
16989         (casesi): Update use of casesi_jump_2.
16990
16991 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
16992
16993         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
16994         *fixinc/fixincl.x: regenerate
16995         *fixinc/inclhack.sh: regenerate
16996
16997 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
16998
16999         * dwarf2out.c (add_incomplete_type): New fn.
17000         (gen_struct_or_union_type_die): Call it.
17001         (retry_incomplete_types): New fn.
17002         (dwarf2out_finish): Call it.
17003
17004 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
17005
17006         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
17007         current block starts with a CODE_LABEL and ends with a CALL and
17008         we can not find all the argument setup instructions for the CALL.
17009
17010 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
17011
17012         Revert this change:
17013         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17014         something is a candidate for optimize_bit_field_compare.
17015
17016 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17017
17018         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
17019
17020 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
17021
17022         * alpha.c (override_options): Thinko in last patch.
17023
17024         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
17025         (LIB_SPEC): Recognize -pthread.
17026
17027 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
17028
17029         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
17030         definition in config/arm/coff.h
17031         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
17032
17033 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17034
17035         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
17036         fixes that need "file=xxx\n" prepended before invocation
17037         (start_fixer - new): starting the fixer process is complex enough
17038         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
17039         (process): uses the new routine; omit usage of putenv()
17040         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
17041         * fixinc/fixincl.x: regenerate
17042
17043 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
17044
17045         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
17046         and version #s (1.1 -> 2.96) as needed.
17047         * README.g77: Kill way out of date file in the toplevel directory.
17048
17049 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
17050
17051         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
17052         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
17053         * configure: Rebuilt.
17054         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
17055         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
17056         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
17057         (SWITCH_TAKES_ARG): Likewise.
17058         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
17059         * config/t-freebsd: Moved from config/i386/ so it can used for all
17060         FreeBSD targets.
17061
17062 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
17063
17064         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
17065
17066 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
17067
17068         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
17069         * configure: Rebuilt.
17070
17071 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
17072
17073         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
17074         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
17075         * rs6000/rs6000.c (rs6000_file_start): Use putc.
17076         (rs6000_output_load_toc_table): Same.
17077         (output_prolog, output_mi_thunk): Same.
17078         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
17079         (ASM_GLOBALIZE_LABEL): Use putc.
17080
17081 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
17082
17083         * alpha.md (reload_*_help): New patterns and splitters.
17084         (reload_*): Use them.
17085         (mov[qh]i): Likewise.
17086
17087 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
17088
17089         * cccp.c (handle_directive): Handle backslash-newlines in quoted
17090         strings correctly.
17091
17092 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
17093
17094         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
17095
17096 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
17097
17098         * flow.c (mark_regs_live_at_end, insn_dead_p,
17099         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
17100         and HARD_FRAME_POINTER_REGNUM special treatment if reload
17101         hasn't run or the frame pointer is needed.
17102         * haifa-sched.c (attach_deaths): Likewise.
17103         * sched.c (attach_deaths): Likewise.
17104
17105 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
17106
17107         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
17108         calculate_can_reach_end returns nonzero.
17109
17110         * configure.in (native gas tests): Search for an assembler in the
17111         same manner that the installed compiler will.
17112         * configure: Rebuilt.
17113         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
17114
17115         * alias.c (find_base_term): Improve handling of addresses
17116         constructed from binary operations.
17117
17118 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
17119
17120         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
17121
17122 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
17123
17124         * function.h (cleanup_label, frame_offset): Declare.
17125         (tail_recursion_label, tail_recursion_reentry): Likewise.
17126         (arg_pointer_save_area, rtl_expr_chain): Likewise.
17127         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
17128         (tail_recursion_label, tail_recursion_reentry): Likewise.
17129         (arg_pointer_save_area, rtl_expr_chain): Likewise.
17130
17131 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
17132
17133         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
17134         defined.
17135         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
17136         (MAX_OFILE_ALIGNMENT): Define.
17137
17138 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
17139
17140         * fixincl.c: Replace local include scheme with #includes of
17141         gansidecl.h and system.h.
17142         * procopen.c:  Likewise.
17143         * server.c:  Likewise.
17144
17145 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
17146
17147         * i386/t-dgux (EXTRA_PARTS): Add crti.o
17148         (crti.o): Add build rule and dependencies.
17149         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
17150
17151 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17152
17153         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
17154         (LIB_LINUX_SPEC): Likewise.
17155         (LIB_LINUX_SPEC): Add support for -pthread
17156         (CPP_OS_LINUX_SPEC): Likewise.
17157         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
17158         specified.
17159
17160 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
17161
17162         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
17163         conditional move.
17164         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
17165         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
17166         for IEEE math and CC_FCOMI.
17167         (put_jump_code): No IEEE if CC_FCOMI is set.
17168
17169 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
17170
17171         * fold-const.c (fold_truthop): Make the field reference unsigned
17172         when converting a single bit compare.
17173
17174 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17175
17176         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
17177
17178 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
17179
17180         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
17181         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
17182         version did.
17183
17184         * reload.c (push_reload): Do not call remove_address_replacements
17185         when presented with identical optional reloads.
17186
17187 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
17188
17189         * alpha.h (MASK_FIX, TARGET_FIX): New.
17190         (MASK_*): Reorganize constants.
17191         (CPP_AM_FIX_SPEC): New.
17192         (TARGET_SWITCHES): Add FIX.
17193         (EXTRA_SPECS): Likewise.
17194         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
17195         (SECONDARY_MEMORY_NEEDED): Likewise.
17196         (REGISTER_MOVE_COST): Likewise.
17197         * alpha.c (override_options): Add FIX support.  Always use
17198         ALPHA_TP_PROG for ev6.
17199         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
17200         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
17201         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
17202
17203 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
17204
17205         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17206         something is a candidate for optimize_bit_field_compare.
17207
17208 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
17209
17210         * gcc.texi (Passes): Document branch-shortening.
17211         * invoke.texi (Debugging Options): Document the fact that `-dp'
17212         outputs length information for instructions.
17213
17214 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
17215
17216         * flow.c: Revert previous delta.
17217
17218 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
17219
17220         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
17221         FRAME_POINTER_REGNUM.
17222         (mark_set_1): Ditto.
17223         (mark_used_regs): Ditto.
17224
17225 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
17226
17227         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
17228         (GOT_PCREL): New macro.  Define to 1 if not already defined.
17229         * arm/elf.h (GOT_PCREL): Define to 0.
17230         * arm.c (arm_finalize_pic): Take into account the setting of
17231         GOT_PCREL.
17232
17233 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
17234
17235         * output.h (STRIP_NAME_ENCODING): Provide default definition.
17236         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
17237
17238         * flow.c (mark_set_1): Do not record BLKmode stores as dead
17239         store elimination candidates.
17240
17241 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17242
17243         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
17244         TARGET_GAS.
17245
17246 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
17247
17248         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
17249         Add use of x-aix41-gld.
17250
17251 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
17252
17253         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
17254         (ASM_OUTPUT_DESTRUCTOR): Define.
17255
17256 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
17257
17258         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
17259         last CODE_LABEL in a loop if we have previously passed a jump
17260         to the top of the loop.
17261
17262 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
17263
17264         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
17265         applying Philip's patch.
17266
17267 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
17268
17269         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
17270         are not VAR_DECLs.
17271
17272 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
17273
17274         * loop.c (strength_reduce): Grow reg_single_usage as needed.
17275
17276 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
17277
17278         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
17279         Also remove a useless comment.
17280
17281 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
17282
17283         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
17284
17285 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
17286
17287         * collect2.c (main): Only generate import or export file and add
17288         to link arguments if non-empty.  Use xmalloc not alloca.
17289         (write_{export,import}_file): Delete.
17290         (write_aix_file): New function.
17291         (locatelib): Use xmalloc not malloc.
17292         (GCC_OK_SYMBOL): Do not check type if aix64.
17293
17294 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
17295
17296         Based on patch by Scott Bambrough and Pat Beirne:
17297         * config/arm/arm.c (making_const_table): New variable.
17298         * config/arm/arm.h (making_const_table): Declare.
17299         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
17300         appropriate.
17301         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
17302         Keep track of when we are building the constant table.
17303
17304 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
17305
17306         * config/arm/arm.c (arm_override_options): Fix erroneous warning
17307         message.
17308
17309 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
17310
17311         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
17312         defined.
17313
17314 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
17315
17316         * tm.texi (FUNCTION_ARG): Correct description of a stack element
17317         in a PARALLEL.
17318
17319 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
17320
17321         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
17322
17323 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
17324
17325         * rs6000.c (output_mi_thunk): Enable full support again.
17326
17327 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17328
17329         * sh.h (BRANCH_COST): Define.
17330
17331 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
17332
17333         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
17334
17335 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
17336
17337         * function.c (assign_stack_local): Align stack slot propertly.
17338         (assign_outer_stack_local): Likewise.
17339
17340 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
17341
17342         * expr.h (lang_expand_constant): Declare.
17343         * toplev.c (lang_expand_constant): Define it.
17344         * varasm.c (output_constant): Use it.
17345
17346 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17347
17348         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
17349         Change function definitions to K&R style.
17350
17351 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17352
17353         * fixinc/fixincl.c: We must not ignore SIGCLD now.
17354
17355 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
17356
17357         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
17358         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
17359         (several places): omit static initialization
17360         (process): use single fd, since only the read fd is used
17361         * fixinc/gnu-regex.c: define 'const' away, if not supported
17362         * fixinc/procopen.c(several places): omit static initialization
17363         * fixinc/server.c: define 'volitile' away, if not supported
17364
17365 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
17366
17367         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
17368         asm_fprintf and %L to generate the label name.
17369         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
17370         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
17371
17372 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
17373
17374         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
17375         insn for a conditional jump can not be found.
17376
17377 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
17378
17379         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
17380         on variables in specific sections other than .sbss and .sdata.
17381
17382 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
17383
17384         * stmt.c (expand_return): Call start_cleanup_deferral and
17385         end_cleanup_deferral around conditional code.
17386
17387 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
17388
17389         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
17390         filename lists.  Utilizes new "krstr" AutoGen function.
17391         * fixinc/fixincl.x: Rebuilt.
17392
17393 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
17394
17395         * i386.c (output_float_compare): Avoid GNU-C extensions.
17396
17397 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
17398
17399         * version.c: Bump to distinguish mainline tree from the
17400         gcc-2.95 branch.
17401
17402 See ChangeLog.1 for earlier changes.