OSDN Git Service

* integrate.c (initialize_for_inline): In DECL_RTL of a PARM_DECL,
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog.11
1 Fri Dec 12 08:01:44 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2
3         * integrate.c (initialize_for_inline): In DECL_RTL of a PARM_DECL,
4         look inside a (mem (addressof (mem ...))).
5
6 Wed Dec 10 18:38:28 1997  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7  
8         * libgcc2.c (__bb_exit_func): Fix test of return value of fopen.
9
10 Wed Dec 10 07:07:37 1997  Bernd Schmidt <crux@starsky.Informatik.RWTH-Aachen.DE>
11         * combine.c (simplify_rtx, case ABS): Don't get confused by a
12         VOIDmode operand.
13
14 Tue Dec  9 17:44:14 1997  David Edelsohn  <edelsohn@mhpcc.edu>
15
16         * rs6000.h (FUNCTION_ARG_PADDING): Define.
17         * rs6000.c (function_arg_padding): New function.
18
19 Tue Dec  9 08:53:56 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
20
21         * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
22
23 Mon Dec  8 19:23:58 1997  Pat Rankin  <rankin@eql.caltech.edu>
24
25         * toplev.c (get_run_time): [#if VMS] Cast arg in times call.
26
27         * vax/xm-vms.h (HAVE_UNISTD_H): Define for DEC C.
28         * make-cccp.com [CC]: Add /Prefix=All for DEC C.
29
30 Mon Dec  8 08:09:17 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
31
32         * stmt.c (expand_decl_cleanup_no_eh): Properly return a value.
33
34         * fold-const.c (fold_convert): Don't flag overflow when converting
35         pointer to integer.
36
37 Sun Dec  7 09:42:05 1997  Pat Rankin  <rankin@eql.caltech.edu>
38
39         * make-gcc.com (@make-l2): Pass along any command line arguments.
40         * make-l2.com: Add latent support to compile cp/inc/* if `cc1plus'
41         is specified [currently disabled].
42         * make-cc1.com: When building with GNU C, use -O2.
43         * make-cccp.com: Likewise.
44
45 Sun Dec  7 06:56:48 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
46
47         * crtstuff.c (__do_global_ctors): Add missing arg to __register_frame.
48
49         * collect2.c (write_c_file_stat): Fix error in last change;
50         use __SIZE_TYPE__, not size_t.
51
52 Sun Dec  7 05:50:43 1997  Paul Eggert  <eggert@twinsun.com>
53
54         * cccp.c (strings.h): Fix misspelling of `include' introduced
55         in last change to this file.
56
57 Sat Dec  6 18:54:11 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
58
59         * alpha/vms.h (CPP_PREDEFINES): Remove redundant setting
60         of GCC version and unneeded setting of __VMS_VER.
61
62 Fri Dec  5 07:24:36 1997  Richard Stallman  <rms@gnu.org>
63
64         * sparc/linux64.h (TARGET_VERSION): Write "GNU/Linux".
65         * sparc/linux.h, sparc/linux-aout.h, rs6000/linux.h: Likewise.
66         * m68k/linux.h, arm/linux.h, alpha/{linux,elf}.h: Likewise.
67         * listing: Change linux to gnu-linux.
68
69 Fri Dec  5 06:23:22 1997  Paul Eggert  <eggert@twinsun.com>
70
71         Alter C startup code so that it doesn't invoke malloc on Solaris.
72         * frame.h (struct object): Decl moved here from frame.c.
73         * frame.c (struct object): Move decl to frame.h.
74         ("frame.h"): Include after <stddef.h>, so that size_t is defined.
75         (__register_frame, __register_frame_table, __deregister_frame):
76         It's now the caller's responsibility to allocate storage for object.
77         * crtstuff.c (frame_dummy), collect2.c (write_c_file_stat):
78         Allocate initial frame object in static storage and pass its address.
79         * crtstuff.c (<stddef.h>, "frame.h"): Include.
80         * Makefile.in ($(T)crtbegin.o, $(T)crtend.o, stamp-crtS):
81         Depend on defaults.h and frame.h.
82
83         * Makefile.in (RTL_H, TREE_H): Add gansidecl.h.
84         (DEMANGLE_H): New macro.  All dependencies on demangle.h
85         changed to $(DEMANGLE_H).
86         (RECOG_H): Likewise.
87         (libgcc2.a, stmp-multilib): Add dependencies on frame.h, gansidecl.h.
88         (collect.o): Add dependency on gansidecl.h.
89         (gcc.o, choose-temp.o, pexecute.o, prefix.o): Likewise.
90         (obstack.o, choose-temp.o, pexecute.o): Add dependency on $(CONFIG_H).
91
92 Fri Dec  5 06:20:06 1997  Dean Deaver <deaver@amt.tay1.dec.com>
93
94         * arm.md (casesi_internal):  Add USE of label.
95
96 Fri Dec  5 05:59:44 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
97
98         * configure.in (sys/times.h): Check for this instead of times.h.
99         * cpplib.c, toplev.c: Properly test for and include sys/times.h.
100
101 Thu Dec  4 12:30:40 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
102
103         * sh.c (final_prescan_insn): Use local label prefix when emitting
104         .uses pseudo-ops.
105
106 Thu Dec  4 07:00:48 1997  Richard Earnshaw <rearnsha@arm.com>
107
108         * arm.c (arm_finalize_pic): Use an offset of 4 when adjusting the
109         GOT address.
110
111 Thu Dec  4 06:58:32 1997  Dean Deaver  <deaver@amt.tay1.dec.com>
112
113         * genoutput.c (scan_operands): Treat format of "u" like "e".
114
115 Thu Dec  4 06:28:33 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
116
117         * msdos/top.sed, winnt/config-nt.sed: Change version to 2.8.0.
118
119         * stmt.c (pushcase_range): Clean up handling of "infinite" values.
120
121 Wed Dec  3 09:03:35 1997  Bernd Schmidt  <crux@ohara.Informatik.RWTH-Aachen.DE>
122
123         * i386.c (notice_update_cc): Remove bogus Pentium GCC code.
124
125 Wed Dec  3 08:46:32 1997  Paul Eggert  <eggert@twinsun.com>
126
127         * arm.h (CPP_ARCH_DEFAULT_SPEC): Fix misspelling: `TARGET_CPU_DEFUALT'.
128         (TARGET_SWITCHES): Fix misspelling: `no-apcs-rentrant'.
129         * pa.c (override_options): Fix misspelling: `compatable'.
130         * enquire.c (main): Fix misspelling in diagnostic: `mallocatable'.
131         * gcov.c (function_summary): Fix misspelling in diagnostic: `funcion'.
132         * objc/thr-decosf1.c (__objc_thread_id): Fix misspelling in code:
133         `pthread_getuniqe_np'.
134
135         * tahoe.c (extensible_operand): Renamed from extendable_operand.
136         All callers changed.
137         * dwarf2.h (enum dwarf_discrim_list): Renamed from dwarf_descrim_list.
138         * dwarf2out.c: Fix misspellings in forward static function
139         declarations: `add_AT_setion_offset', `add_sibling_atttributes'.
140         * dwarfout.c: Fix misspellings in forward static function
141         declarations: `langauge_attribute', `geneate_new_sfname_entry'.
142         * stmt.c, tree.h (start_cleanup_deferral):
143         Renamed from start_cleanup_deferal.
144         (end_cleanup_deferral): Renamed from end_cleanup_deferal.
145         * toplev.c (rest_of_compilation): Rename local var from
146         inlineable to inlinable.
147
148 Wed Dec  3 06:17:03 1997  Jason Merrill  <jason@yorick.cygnus.com>
149
150         * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
151
152 Wed Dec  3 06:06:38 1997  Jim Wilson  <wilson@cygnus.com>
153
154         * dwarf2out.c (gen_type_die, case POINTER_TYPE): See TREE_ASM_WRITTEN
155         before the recursive call.
156
157 Wed Dec  3 05:57:29 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
158
159         * configure.in (AC_HEADER_{STDC,TIME}): Add calls.
160         (AC_CHECK_HEADERS): Add fcntl.h times.h, sys/times.h,
161         sys/resource.h, and sys/param.h.
162         (getenv): Check if need declaration.
163         * cccp.c: Remove obsolete ways of including headers and use autoconf
164         symbols instead.
165         Include gansidecl.h; remove things defined there.
166         See if getenv needs to be declared.
167         * cpplib.c: Likewise.
168         * cexp.y: Use autoconf symbols to select what include files are needed.
169         * genattrtab.c, toplev.c: Likewise.
170
171 Tue Dec  2 21:44:25 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
172
173         * reload1.c (reload): Make copy of MEM before setting
174         req_equiv_mem if the address is a PLUS.
175
176 Tue Dec  2 07:03:47 1997  Pat Rankin  <rankin@eql.caltech.edu>
177
178         * vax/xm-vms.h (STDC_HEADERS, HAVE_STDLIB, HAVE_STRING): Define.
179         (mesg_implicit_function_declaration): New macro.
180
181         * make-l2.com: Compile libgcc2.c with `-fexceptions' specified.
182
183 Mon Dec  1 17:44:59 1997  Jeffrey A Law  (law@cygnus.com)
184
185         * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
186         output ASCII by default; only use ASM_OUTPUT_DWARF_STRING if
187         flag_debug_asm is on.
188         (output_die, output_pubnames, output_line_info): Likewise.
189
190 Mon Dec  1 17:15:30 1997  Philip Blundell  <pb@nexus.co.uk>
191
192         * arm/linux.h (SUBTARGET_CPU_DEFAULT): Define  instead
193         of TARGET_CPU_DEFAULT.
194
195 Mon Dec  1 16:51:23 1997  J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
196
197         * i386/mingw32.h (MATH_LIBRARY): Set to "-lcrtdll".
198
199 Mon Dec  1 16:46:57 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
200
201         * c-aux-info.c: Add prototypes for static functions.
202         * c-lex.c, emit-rtl.c, rtl.c, xcoffout.c: Likewise.
203
204         * i386.h (TARGET_SWITCHES): Add entries for "windows" and "dll".
205
206 Mon Dec  1 16:42:20 1997  Jim Wilson  <wilson@cygnus.com>
207
208         * mips.md (fix_trunc{dfsi,sfsi,dfsi}2): Add '*' in operand 3.
209
210 Sun Nov 30 20:25:59 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
211
212         * expr.c (get_inner_reference): For ARRAY_REF, if need
213         WITH_RECORD_EXPR, make it with the ARRAY_REF as exp.
214
215         * expr.c (store_constructor): Use TARGET, not EXP, for
216         WITH_RECORD_EXPR when offset has a placeholder.
217
218 Sun Nov 30 11:19:00 1997  J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
219
220         * objc/Make-lang.in (libobjc.dll): Rename -dll flag to -mdll.
221
222 Sun Nov 30 08:42:29 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>
223
224         * stmt.c (expand_end_bindings): Cleanups and incoming gotos are
225         not incompatible.
226
227 Sun Nov 30 05:45:06 1997  Michael P. Hayes  <michaelh@ongaonga.chch.cri.nz>
228
229         * jump.c (jump_optimize): Use find_insert_position in two more places.
230
231 Sat Nov 29 13:47:40 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
232
233         * alpha/vms.h (HAVE_STRERROR, HAVE_{LIMITS,STDDEF,TIME}_H): Define. 
234
235 Sat Nov 29 08:29:47 1997  J.J.van der Heijden <J.J.vanderHeijden@student.utwente.nl>
236
237         * configure.in: Add check for kill.
238         * gcc.c: Define kill as raise if not HAVE_KILL.
239
240 Sat Nov 29 06:18:08 1997  Michael P. Hayes  <michaelh@ongaonga.chch.cri.nz>
241
242         * jump.c (find_insert_position): New function.
243         (jump_optimize): Use it when making new copy of insn after test.
244
245 Sat Nov 29 05:54:57 1997  Douglas Rupp  <rupp@gnat.com>
246
247         * alpha/vms.h (BIGGEST_ALIGNMENT, ENCODE_SECTION_INFO): No longer
248         override.
249
250 Sat Nov 29 05:43:37 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
251
252         * getpwd.c (getpwd, [VMS]): Only add extra arg if VMS.
253
254         * alpha/xm-vms.h (HAVE_VPRINTF, HAVE_PUTENV): Define.
255
256         * cccp.c (index, rindex): Add conditional defs to strchr and strrchr.s
257         * cpplib.c: Likewise.
258         * gcov.c: Include gansidecl.h.
259
260 Fri Nov 28 21:17:51 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
261
262         * objc/objc-act.c: Include "output.h".
263
264         * objc/Make-lang.in (objc-parse.o, objc-act.o): Also depend on
265         $(srcdir)/output.h.
266
267         * objc/Object.m (+conformsTo:): Surround assignment with parentheses.
268
269         * objc/archive.c, objc/class.c, objc/encoding.c: Finish prototyping.
270         * objc/init.c, objc/objc-act.c, objc/objc-api.h: Likewise.
271         * objc/runtime.h, objc/sendmsg.c: Likewise.
272
273 Fri Nov 28 19:15:53 1997  Mark Kettenis <kettenis@phys.uva.nl>
274
275         * objc/thr-posix.c (__objc_mutex_allocate): Allocate
276         mutex type instead of assuming it fits in a void * type.
277         (__objc_mutex_deallocate): Free mutex type.
278         (__objc_mutex_lock): Pass mutex type instead of pointer to it.
279         (__objc_mutex_{try,un}lock): Likewise.
280         (__objc_condition_allocate): Allocate condition type instead
281         of assuming it fits in a void * type.
282         (__objc_condition_deallocate): Free condition type.
283         (__objc_condition_wait): Pass condition type instead of pointer to it.
284         (__objc_condition_{broadcast,signal}): Likewise.
285
286 Fri Nov 28 17:07:25 1997  David Edelsohn  <edelsohn@mhpcc.edu>
287
288         * rs6000.c (function_arg_partial_nregs): Undo 11/26 change.
289
290 Fri Nov 28 12:34:03 1997  Scott Christley  <scottc@net-community.com>
291
292         * objc/Make-lang.in (runtime-info.h): Add comment in file.
293
294         * objc/selector.c: Replace all occurences of sarray_get
295         with sarray_get_safe.
296         * objc/sendmsg.c: Likewise.
297
298         * protoize.c (include_defaults): Add component element as in cccp.c.
299         * nextstep.h (INCLUDE_DEFAULTS): Add component element.
300         (ASM_COMMENT_START): Correct assembly comment string.
301         * objc/Make-lang.in (objc/{NXConstStr,Object,Protocol,linking):
302         Compile with GNU runtime.
303
304 Fri Nov 28 12:27:50 1997  Ovidiu Predescu <ovidiu@net-community.com>
305
306         Generate platform information required by ObjC runtime.
307         * toplev.c (lang_options): New ObjC specific compiler flag.
308         * objc/Make-lang.in: Add target to generate runtime-info.h file.
309         * objc/objc-act.c (print_struct_values): New variable.
310         (generate_struct_by_value_array): New function.
311         (lang_init): Call generate_struct_by_value_array if requested.
312         (lang_decode_option): Check for new compiler flag.s
313         * objc/sendmsg.c (__objc_get_forward_imp): Check size of type
314         for determining proper forwarding function.
315
316 Fri Nov 28 05:58:30 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
317
318         * regclass.c (record_address_regs): Use REG_OK_FOR_{INDEX,BASE},
319         not the REGNO versions.
320
321 Thu Nov 27 16:28:04 1997  Scott Snyder  <snyder@d0sgif.fnal.gov>
322
323         * dwarf2out.c (outout_call_frame_info): Ensure info has proper
324         alignment.
325
326         * libgcc2.c (__throw): Initialize HANDLER.
327
328 Thu Nov 27 16:23:25 1997  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
329
330         * tree.h, rtl.h: See if need declarations for free.
331         * tree.c, bc-optab.c: Get the declaration of free from stdlib.h.
332
333 Thu Nov 27 07:21:54 1997  Jason Merrill  <jason@yorick.cygnus.com>
334
335         * except.h: Add outer_context_label_stack.
336         * except.c: Likewise.
337         (expand_start_all_catch): Push the outer_context for the try block
338         onto outer_context_label_stack.
339         (expand_end_all_catch): Use it and pop it.
340
341         * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
342
343         * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
344
345 Thu Nov 27 07:15:10 1997  Michael Meissner  <meissner@cygnus.com>
346
347         * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
348         (print_operand{,_address}): Use SMALL_DATA_REG for register involved in
349         small data relocations.
350
351         * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
352         -dynamic linker is not used.
353
354         * rs6000.md (call insns): For local calls, use @local suffix under
355         System V; don't use @plt under Solaris.
356
357 Wed Nov 26 15:12:32 1997  Jeffrey A Law  (law@cygnus.com)
358
359         * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
360
361         * toplev.c (flag_exceptions): Default value is 2.
362         (compile_file): If flag_exceptions still has the value 2, then
363         set it to 0.
364
365 Wed Nov 26 14:58:42 1997  Michael Meissner  <meissner@cygnus.com>
366
367         * rs6000.c (output_function_profiler): Put label address in r0, and
368         store LR in 4(sp) for System V/eabi.
369
370         * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
371         byte boundary, and maintain stack backchain.
372
373         (Originally from Geoffrey Keating)
374         * rs6000.c (function_arg): Excess floating point arguments don't
375         go into GPR registers after exhausting FP registers under the
376         System V.4 ABI.
377         (function_arg_partial_nregs): Likewise.
378
379         * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
380         suffix to calls.
381
382 Wed Nov 26 14:09:01 1997  Jason Merrill  <jason@yorick.cygnus.com>
383
384         * dwarfout.c (output_type): If finalizing, write out nested types 
385         of types we've already written.
386
387         * toplev.c (main): Complain about -gdwarfn.
388
389 Wed Nov 26 12:37:56 1997  J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
390
391         * mingw32.h (PATH_SEPARATOR): Moved to xm-mingw32.h
392         * xm-mingw32.h (PATH_SEPARATOR): Moved here from mingw32.h.
393
394         * getpwd.c (getpwd): Use VMS implementation of _WIN32 unless cygwin32.
395
396 Wed Nov 26 12:26:44 1997  John Hassey  <hassey@dg-rtp.dg.com>
397
398         * m88k/dgux.h (ASM_CPU_SPEC) : No whitespace allowed.
399
400         * m88k.h (SUPPORTS_ONE_ONLY) : Must be svr4.
401
402         * i386/dgux.h (ASM_OUTPUT_ALIGN): Deleted.
403
404         * i386/dgux.c (output_file_start) : Changed ix86_isa_string
405         to ix86_arch_string.
406
407         * cplus-dem.c (fancy_abort): Added.
408
409 Wed Nov 26 06:07:50 1997  Richard Earnshaw <rearnsha@arm.com>
410
411         * arm/coff.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_32 to defaults.
412
413         * configure.in (arm*-*-*): Recognize --with-cpu for ARM processors.
414
415 Wed Nov 26 05:05:36 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
416
417         * libgcc2.c (inhibit_libc): Define #ifdef CROSS_COMPILE.
418
419         * mips/xm-iris6.h (malloc, realloc, calloc): No longer declare.
420         (USG): Define here.
421         (xm-iris5.h): No longer include; just include xm-mips.h.
422
423         * mips-tfile.c (parse_def): Properly recognize bitfield and
424         count array dimensions.
425
426         * protoize.c: Remove declarations of void, exit, and free.
427
428         * i386/mingw32.h (LINK_SPEC, STARTFILE_SPEC): Change -dll to -mdll.
429
430         * configure.in: Check for sys/file.h.
431         * gcc.c (sys/file.h): Include if HAVE_SYS_FILE_H.
432
433         * configure.in: Only give error on bad --with-cpu value for target.
434
435 Sat Nov 22 19:21:55 1997  Philippe De Muyter  <phdm@macqel.be>
436
437         * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
438         (ASM_OUTPUT_DWARF_VALUE4): New macro.
439         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
440         defined.
441         (output_call_frame_info): Don't output forward label differences
442         if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
443         Substitute instead simple label and define this label later to be
444         difference of desired labels after they have been defined.
445         * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
446
447         * gcc.c (process_command): Don't take address of function fatal when
448         calling lang_specific_driver.
449
450 Sat Nov 22 17:08:03 1997  J. Kean Johnston  <jkj@sco.com>
451
452         * i386/sco5.h (SELECT_RTX_SECTION): Redefine to work with -fpic.
453         (LIBGCC_SPEC, LIB_SPEC): Link with correct libgcc.a.
454         (HAVE_ATEXIT): Define.
455
456 Sat Nov 22 12:20:22 1997  Richard Earnshaw <rearnsha@arm.com>
457
458         * arm.md (movsfcc{,_hard}_insn): Specify mode for all alternatives.
459
460 Sat Nov 22 06:56:16 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
461
462         * function.c (instantiate_decl): Only ignore ADDRESSOF if arg is REG.
463
464         * configure.in: Check for functions before checking which need decls.
465         (bcopy, bzero, bcmp, index, rindex): Add checks.
466         (vax-*-sysv*): Fix typo in setting of xm_file.
467         * aclocal.m4: Add conditional definitions of index and rindex.
468         * gansidecl.h (bcopy, bzero, bcmp, index, rindex): If don't
469         have one of these, define macro to use ANSI form.
470         * pa/xm-pahpux.h (bcopy, bzero, bcmp, rindex, index): No longer define.
471         * mips/xm-sysv.h, xm-m88k.h, m68k/xm-plexus.h: Likewise.
472         * m68k/xm-mot3300.h, m68k/xm-m68kv.h, m68k/xm-hp320.h: Likewise.
473         * winnt/xm-winnt.h, vax/xm-vms.h, m68k/xm-3b1.h: Likewise.
474         * i386/xm-os2.h, i386/xm-mingw32.h, alpha/xm-vms.h: Likewise.
475         * xm-svr4.h, xm-svr3.h: Likewise.
476         * clipper/xm-clix.h: Likewise.
477         (TARGET_MEM_FUNCTIONS): Define here.
478         * xm-linux.h (bcmp, bcopy, bzero, index, rindex): No longer undefine.
479         * xm-convex.h (bcopy, bzero): No longer define.
480         * vax/xm-vaxv.h, sparc/xm-pbd.h, mips/xm-iris{3,4,5}.h: Likewise.
481         * m68k/xm-crds.h, m68k/xm-altos3068.h, i386/xm-sun.h: Likewise.
482         * i386/xm-osf.h, i386/xm-aix.h, xm-i370.h, ns32k/xm-genix.h: Likewise.
483
484 Sat Nov 22 06:46:26 1997  Paul Eggert  <eggert@twinsun.com>
485
486         * c-typeck.c, collect2.c, cpplib.c, dwarfout.c, gcov.c, protoize.c:
487         Don't include <strings.h> unless there's no <string.h>.
488
489 Fri Nov 21 06:46:50 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
490
491         * configure.in (i[3456]86-*-freebsd{,elf}*): Delete i386/xm-freebsd.h.
492         * xm-freebsd.h, i386/xm-freebsd.h: Deleted.
493
494         * i386/xm-cygwin32.h (HAVE_RUSAGE, HAVE_FILE_H): Deleted.
495         * i386/xm-mingw32.h, rs6000/xm-cygwin32.h: Likewise.
496
497         * xm-std32.h: New file, so far unused.
498
499 Fri Nov 21 05:50:54 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
500
501         * m68k.c (legitimize_pic_address): Make sure pic register marked used.
502
503         * dwarf2out.c (output_call_frame_info): Call app_enable and
504         app_disable if flag_debug_asm, not if flag_verbose_asm.
505
506 Thu Nov 20 16:37:36 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
507
508         * expr.c (expand_builtin_apply): Fix typo in last change.
509
510         * expr.c (expand_assignment): If assigning to readonly field,
511         mark rtx as unchanging.
512
513         * configure.in: Add checks for functions putenv, popen, and vprintf.
514         (i[3456]86-*-netbsd*): No longer need i386/xm-netbsd.h.
515         (i860-alliant-*): No longer need i860/xm-fx2800.h.
516         (m68k-ncr-sysv*): Use xm-svr3.h instead of m68k/xm-tower.h.
517         (m68k-sun-sunos*): No longer need m68k/xm-sun3.h.
518         (m68k-*-netbsd*): No longer need m68k/xm-netbsd.h.
519         (mips-dec-netbsd*): No longer need mips/xm-netbsd.h.
520         (ns32k-pc532-netbsd*): No longer need ns32k/xm-netbsd.h.
521         (sparc-*-netbsd*): No longer need sparc/xm-netbsd.h.
522         (vax-*-netbsd*): No longer need config/xm-netbsd.h.
523         * arm/xm-netbsd.h: No longer include xm-netbsd.h.
524         * xm-linux.h (HAVE_VPRINTF, HAVE_POPEN, HAVE_PUTENV): Deleted.
525         * xm-mips.h (HAVE_VPRINTF, HAVE_PUTENV): Deleted.
526         * i386/xm-osf.h, xm-arm.h, xm-alpha.h: Likewise.
527         * xm-sparc.h (HAVE_POPEN): Deleted.
528         * xm-sh.h (HAVE_VPRINTF): Deleted.
529         * mips/xm-iris4.h, mips/xm-iris5.h, xm-m88k.h: Likewise.
530         * m68k/xm-crds.h, m68k/xm-atari.h, m68k/xm-amix.h: Likewise.
531         * xm-svr3.h, xm-svr4.h, i386/xm-mingw32.h: Likewise.
532         * i386/xm-os2.h (HAVE_PUTENV): Deleted.
533         * i386/xm-dos.h, i386/xm-aix.h: Likewise.
534         * arm/xm-netbsd.h (HAVE_VPRINTF, HAVE_STRERROR): No longer
535         need undefine.
536         * xm-netbsd.h, i386/xm-netbsd.h, m68k/xm-netbsd.h: Deleted.
537         * mips/xm-netbsd.h, ns32k/xm-netbsd.h, sparc/xm-netbsd.h: Likewise.
538         * i860/xm-fx2800.h, m68k/xm-sun3.h, m68k/xm-tower.h: Likewise.
539
540 Thu Nov 20 16:04:24 1997  Richard Earnshaw <rearnsha@arm.com>
541
542         * explow.c (plus_constant_wide, case MEM): If about to call 
543         force_const_mem, generate the rtl in a saveable obstack.
544
545         * arm.md (movhi): Pass the full MEM to storeinthi, storehi and
546         storehi_bigend.
547         (storeinthi, storehi, storehi_bigend): Be more conservative about
548         when not to force a PLUS or MINUS into a REG.  Use change_address
549         to create new MEMs.
550
551 Wed Nov 19 15:16:04 1997  Ulrich Drepper  <drepper@cygnus.com>
552
553         * c-common.c (print_char_table): Add a and A to float formats.
554         (scan_char_table): Likewise.
555         (check_format_info): Recognize `a' as allocate flag only if used
556         in correct context.
557
558 Wed Nov 19 12:56:54 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
559
560         * configure.in: Fix check for <inttypes.h>.
561
562 Tue Nov 18 19:27:01 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
563
564         * sh.md (attribute "type"): Add nil.
565         (movsi_ie): y/y alternative is type nil.
566         (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X.
567         (movsf_ie+1): Delete.
568
569 Tue Nov 18 18:38:41 1997  Paul Eggert  <eggert@twinsun.com>
570
571         * cccp.c (warn_undef): Now static.
572         (eval_if_expression): Don't warn about undefined preprocessor symbols
573         in system headers.
574         * cexp.y (parse_c_expression):
575         Now takes new arg specifying whether to warn
576         about undefined preprocessor symbols.
577         (warn_undef): Now local and static; independent of warn_undef in cccp.c
578         (yylex): `register' -> `register int', needed for C9X.
579
580         The following changes are only if TEST_EXP_READER is defined:
581         (expression_signedp): New var.
582         (start): Set expression_signedp to signedness of expression.
583         (print_unsigned_host_wide_int): New function.
584         (main): Use it to print value of expression, instead of hoping that
585         `long' is long enough.  Print "u" after unsigned values.
586
587 Tue Nov 18 18:33:30 1997  Jim Wilson  <wilson@cygnus.com>
588
589         * mips.c (save_restore_insns): If gp_offset or fp_offset are
590         large_int, emit two insns instead of one splitable insn.
591         * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
592         from cfa_temp_value, use cfa_offset.  Add assert checking that
593         cfa_reg is SP.
594
595 Tue Nov 18 09:11:58 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
596
597         * fold-const.c (div_and_round_double): Return overflow for
598         divide-by-zero instead of aborting.
599
600         * tree.c (substitute_in_expr, case TREE_LIST): Fix two typos.
601
602 Tue Nov 18 05:03:52 1997  Jeffrey A Law  <law@cygnus.com>
603
604         * arm.c (output_move_double): Allocate 3 entries in otherops array.
605
606 Tue Nov 18 02:41:01 1997  Paul Eggert  <eggert@twinsun.com>
607
608         * cccp.c (quote_string_for_make): New function.
609         (deps_output): Use it to fix bug with file name quoting in -M output.
610
611 Mon Nov 17 13:28:33 1997  Philip Blundell  <Philip.Blundell@pobox.com>
612
613         * arm/lib1funcs.asm (__div0): Provide GNU/Linux implementation.
614         * arm/t-linux (LIB1ASMFUNCS): Use it.
615
616 Mon Nov 17 09:13:59 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
617
618         * function.c (purge_addressof_1): Make copy when substituting argument
619         of ADDRESSOF.
620         (fixup_var_refs_1): Likewise.
621
622         * m68k.c: Include tree.h.
623
624 Mon Nov 17 09:01:05 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
625
626         * getpwd.c (getpwd, [VMS]): Add extra arg of 0 to getcwd call.
627
628         * alpha/vms.h ({OPTIMIZATION,OVERRIDE}_OPTIONS): Delete, for now.
629         * alpha/xm-vms.h (DIR_SEPARATOR, PATH_SEPARATOR): Delete.
630
631 Mon Nov 17 08:52:45 1997  Richard Earnshaw  <rearnsha@arm.com>
632
633         * function.c (fixup_stack_1): Also fix-up refs via ARG_POINTER_REGNUM.
634
635         * configure.in (arm-*-netbsd*): Doesn't need collect2.
636
637 Mon Nov 17 08:50:01 1997  Stephen L Moshier  <moshier@world.std.com>
638
639         * i386/isc.h (DWARF2_UNWIND_INFO): Define as 0.
640
641 Mon Nov 17 08:42:28 1997  Michael P. Hayes  <michaelh@ongaonga.chch.cri.nz>
642
643         * flow.c (propagate_block): Look for pre-inc/dec within PARALLEL.
644
645 Mon Nov 17 03:14:46 1997  Paul Eggert  <eggert@twinsun.com>
646
647         * cpplib.c (file_size_and_mode): Remove.
648         (finclude): Don't assume long and off_t are same size or that
649         mode_t fits in int.
650         * cccp.c: (main, finclude, check_precompiled): Don't assume size_t
651         and off_t are same size.
652         * gcov.c (read_files): Don't assume off_t and unsigned are same size.
653
654 Sun Nov 16 18:56:40 1997  Scott Christley  <scottc@net-community.com>
655
656         * objc/objc-act.c (objc_demangle): New function.
657         (objc_printable_name): New function.
658         (init_objc): Change default function.
659
660         * expr.c (expand_builtin_apply): Prefer nonlocal over block.
661
662 Sun Nov 16 18:10:13 1997  Fila Kolodny  <fila@ibi.com>
663
664         * i370.c (i370_function_prolog): New function from i370.h.
665         * i370.h (FUNCTION_PROLOG): Just call i370_function_prolog.
666
667 Sun Nov 16 08:40:35 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>
668
669         * calls.c (expand_call, store_one_arg): Don't pass QImode arguments
670         to emit_library_call. 
671         * expr.c (emit_push_insn, expand_assignment, store_expr): Likewise.
672         (expand_expr, expand_builtin): Likewise.
673         * function.c (put_var_into_stack, assign_parms): Likewise.
674         * alpha.c (alpha_builtin_saveregs): Likewise.
675         * clipper.c (clipper_builtin_saveregs): Likewise.
676         * m88k.c (m88k_builtin_saveregs): Likewise.
677         * pa.c (hppa_builtin_saveregs): Likewise.
678         * sparc.c (sparc_builtin_saveregs): Likewise.
679
680 Sun Nov 16 07:39:08 1997  Paul Eggert  <eggert@twinsun.com>
681
682         * real.h (REAL_VALUES_IDENTICAL): New macro.
683         * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
684         * fold-const.c (operand_equal_p): Don't consider -0.0 identical to 0.0.
685         * tree.c (simple_cst_equal): Likewise.
686         * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL macro.
687
688 Sun Nov 16 07:29:12 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
689
690         * acconfig.h (NEED_DECLARATION_{,R}INDEX): New cases.
691         * configure.in: See if need declarations for index and rindex.
692         * c-typeck.c, collect2.c, cpplib.c, dwarfout.c, gcov.c, protoize.c:
693         Include stdlib.h, string.h, and strings.h, if they exist.
694         Only declare index and rindex if needed.
695         * collect2.c: Only declare free if needed.
696
697         * regclass.c (record_address_regs): Refine choice of index and base
698         when have sum of two regs, one of which is a hard reg.
699
700 Sun Nov 16 07:07:45 1997  Robert Lipe (robertl@dgii.com)
701
702         * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define as in sysv4 and linux
703         (HAVE_ATEXIT): No longer define.  This confused ELF destructors.
704         (DBX_DEBUGGING_INFO): Define.
705
706 Sat Nov 15 09:55:11 1997  Richard Earnshaw (rearnsha@arm.com)
707
708         * arm.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept MINUS (until reload
709         knows what to do with it).
710
711 Thu Nov 13 11:07:41 1997  Michael Meissner  <meissner@cygnus.com>
712
713         * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
714         pick apart floating point values, instead of using CONST_DOUBLE_LOW
715         and CONST_DOUBLE_HIGH.
716
717         * rs6000.md (define_splits for DF constants): Use the appropriate
718         REAL_VALUE_* interface to pick apart DF floating point constants in
719         a machine independent fashion.
720
721 Thu Nov 13 07:30:53 1997  Richard Earnshaw (rearnsha@arm.com)
722
723         * arm/netbsd.h (LINK_SPEC): Redefine -- pass -X.
724
725         * arm.md (movsicc_insn): Add extra reload alternatives for better 
726         register tying.
727         (movsfcc_hard_insn, movsfcc_soft_insn, movdfcc_insn): Likewise.
728
729 Mon Nov 10 19:32:14 1997  Doug Evans  <dje@cygnus.com>
730
731         * sparc.md (mov[sdt]f_const_insn): Fix condition to match what
732         instruction can handle.
733
734 Mon Nov 10 03:02:19 1997  Jason Merrill  <jason@yorick.cygnus.com>
735
736         * stmt.c (expand_decl_cleanup_no_eh): New fn.
737
738         * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
739
740 Sun Nov  9 14:34:47 1997  David Edelsohn  <edelsohn@mhpcc.edu>
741
742         * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
743         swap instruction order.
744         
745 Sun Nov  9 09:51:08 1997  Michael P. Hayes  <michaelh@ongaonga.chch.cri.nz>
746
747         * machmode.def (QCmode, HCmode): New modes.
748
749 Sun Nov  9 09:24:21 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
750
751         * combine.c (sets_function_arg_p): New function.
752         (combinable_i3pat): Check if combining with any but the first
753         argument register setting insn for a function call.
754
755         * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid sheduling load from
756         stack slot.
757
758 Sun Nov  9 09:17:53 1997  Richard Earnshaw (rearnsha@arm.com)
759
760         * loop.c (strength_reduce): If initial value of BIV is equivalent to
761         a constant, record that as initial value.
762         (check_dbra_loop): Don't reverse loop if initial value isn't CONST_INT.
763
764 Sun Nov  9 09:12:41 1997  Tristan Gingold  <gingold@haendel.enst.fr>
765
766         * expr.c (emit_push_insn): Avoid infinite recursion
767         when -fcheck-memory-usage.
768   
769 Sun Nov  9 08:03:42 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
770
771         * cse.c (simplify_binary_operation): Fix error in last change.
772
773 Sun Nov  9 07:56:31 1997  Pat Rankin  <rankin@eql.caltech.edu>
774
775         * vmsconfig.com [version.opt]: Parse version string more robustly.
776         [@variable@]: Discard configure tokens when using Makefile.in.
777         [libgcc2-cxx.list]: Generate this new file for CXX_LIB2FUNCS.
778         [cp/input.c]: Suppress it as workaround to avoid linker warning.
779         [objc-parse.y]: Now lives in the objc subdirectory.
780         * make-cc1.com [objc-parse.{c,y}]: Ditto.
781         * make-cccp.com [prefix.c]: Compile additional source file.
782
783         * cccp.c (VMS_freopen, VMS_fopen, VMS_open, VMS_fstat): Call
784         corresponding library routine specified via its ordinary name
785         rather than with a decc$ prefix.  (Reverses Oct 19 change.)
786
787         * cccp.c, cexp.y [HOST_WIDE_INT]: Manually splice long lines
788         of avoid backslash+newline continuation on #if directives.
789
790 Sun Nov  9 01:54:54 1997  Jeffrey A Law  (law@cygnus.com)
791
792         * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
793         are shared.
794
795 Sat Nov  8 23:01:37 1997  Michael P. Hayes  <michaelh@ongaonga.chch.cri.nz>
796
797         * cse.c (simplify_binary_operation): Don't simplify divide by zero
798         for targets that don't support a representation of INFINITY.
799
800 Sat Nov  8 22:37:29 1997  Richard Earnshaw  <rearnsha@arm.com>
801
802         * Makefile.in (cse.o): Depend on expr.h.
803         * cse.c: Include expr.h.
804         (fold_rtx, case MEM): For ADDRESSOF, create new MEM.
805
806 Sat Nov  8 19:27:56 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
807
808         * expr.c (expand_increment): When enqueing a postincrement for a MEM,
809         use copy_to_reg if address is not a general_operand.
810
811 Sat Nov  8 18:39:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
812
813         * libgcc2.c (L_eh): Define __eh_pc here.
814         Replace __eh_type with generic pointer __eh_info.
815
816 Sat Nov  8 07:03:47 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
817
818         * alpha.h (SECONDARY_OUTPUT_RELOAD_CLASS): If FLOAT_REGS,
819         need secondary reload for QImode and HImode even if BWX.
820
821         * expmed.c (store_split_bit_field): Force ADDRESSOF into register.
822
823         * cse.c (fold_rtx, case ADDRESSOF): New case (that does nothing).
824
825         * function.c (fixup_var_refs_1, case ADDRESSSOF): Check that
826         new value is valid for insn.
827
828         * stor-layout.c (get_best_mode): Refine test for field within
829         unit to work properly for negative positions.
830
831         * print-rtl.c (print_inline_rtx): Save and restore sawclose and indent.
832
833         * reload.c (find_replacement): If PLUS, MINUS, or MULT, see if
834         either arg contains a replacement.
835
836 Fri Nov  7 10:22:24 1997  Jason Merrill  <jason@yorick.cygnus.com>
837
838         * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
839         linked once FDEs.
840
841 Fri Nov  7 06:50:57 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
842
843         * alpha.h (FUNCTION_VALUE): Take into account promotion of pointers.
844
845         * unroll.c (back_branch_in_range_p): Refine check for INSN at loop end.
846
847 Wed Nov  5 18:17:50 1997  Paul Eggert  <eggert@twinsun.com>
848
849         * fixinc.svr4: Replace `__STDC__ - 0 == 1'
850         with `defined (__STRICT_ANSI__)'.
851
852 Tue Nov  4 18:32:44 1997  Jim Wilson  <wilson@cygnus.com>
853
854         * mips.md (insv, extzv, extv): Add change_address call.
855         (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
856         * mips.c (mips_expand_epilogue): Emit blockage insn before call to
857         save_restore_insns if no FP and GP will be restored.
858
859         * acconfig.h (HAVE_INTTYPES_H): Undef.
860         * configure.in (inttypes.h): Check for conflicts between sys/types.h
861         and inttypes.h, and verify that intmax_t is defined.
862         * mips/x-iris (CC, OPT, OLDCC): Comment out.
863         * mips/x-iris3: Likewise.
864
865 Tue Nov  4 17:28:31 1997  Doug Evans  <dje@cygnus.com>
866
867         * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
868         (yylex): Record wide strings using target endianness, not host.
869
870 Tue Nov  4 16:18:19 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
871
872         * Makefile.in (distdir-start): Add dependency on $(srcdir)/config.in.
873
874 Tue Nov  4 06:14:30 1997  Paul Eggert  <eggert@twinsun.com>
875
876         * c-lex.c (yylex): Don't warn about constants like
877         9223372036854775807 and 18446744073709551615U on an L32LL64 host
878         unless pedantic.
879
880 Mon Nov  3 18:42:44 1997  Jim Wilson  <wilson@cygnus.com>
881
882         * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
883         * i386.md (prologue_{set_got,get_pc}): Add UNSPEC_VOLATILE to pattern.
884         (prologue_get_pc_and_set_got): New pattern.
885
886 Mon Nov  3 13:42:21 1997  Paul Eggert  <eggert@twinsun.com>
887
888         * cccp.c, cpplib.c (compare_defs): Don't complain about arg name
889         respellings unless pedantic.
890         * cpplib.c (compare_defs): Accept pfile as new arg.
891         All callers changed.
892
893 Fri Oct 31 07:10:09 1997  Jeffrey A Law  (law@cygnus.com)
894
895         * global.c (global_alloc): Free the conflict matrix after
896         reload has finished.
897
898 Thu Oct 30 17:30:42 1997  Doug Evans  <dje@cygnus.com>
899
900         * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
901         Set extra_parts.
902         (sparc*-*-*): Recognize --with-cpu=v9.
903         * sparc/elf.h: New file.
904         * sparc/t-elf: New file.
905
906 Thu Oct 30 16:36:17 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
907
908         * stmt.c (expand_asm_operand): If error in matching constraint,
909         don't emit asm.
910
911 Thu Oct 30 12:21:06 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
912
913         * va-sh.h (__va_arg_sh1): Define.
914         (va_arg): Use it.
915         SH3E doesn't use any integer registers for subsequent arguments
916         once a non-float value was passed in the stack.
917         * sh.c (machine_dependent_reorg): If optimizing, put explicit
918         alignment in front label for ADDR_DIFF_VEC.
919         * sh.h (PASS_IN_REG_P): Fix SH3E case.
920         (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
921
922 Tue Oct 28 21:09:25 1997  Jim Wilson  <wilson@cygnus.com>
923
924         * m68k.md (btst patterns): Add 5200 support.
925
926 1997-10-28  Brendan Kehoe  <brendan@cygnus.com>
927
928         * global.c (global_alloc): Use xmalloc instead of alloca for
929         CONFLICTS, since max_allocno * allocno_row_words alone can be more
930         than 2.5Mb sometimes.
931
932 Tue Oct 28 15:06:44 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
933
934         * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
935         svr4.h.
936
937 Tue Oct 28 10:19:01 1997  Jason Merrill  <jason@yorick.cygnus.com>
938
939         From Brendan:
940         * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
941
942 Mon Oct 27 16:01:14 1997  Jeffrey A Law  (law@cygnus.com)
943
944         * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
945
946 Mon Oct 27 16:11:52 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
947
948         * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
949         put an use_sfunc_addr before each sfunc.
950         * sh.md (use_sfunc_addr, dummy_jump): New insns.
951         (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
952
953 Mon Oct 27 11:49:43 1997  Jason Merrill  <jason@yorick.cygnus.com>
954
955         * dwarf2.h: Remove dwarf2out prototypes.
956         * tree.h: And put them here.
957         * m68k.c, i386.c: Don't include dwarf2.h.
958
959 Mon Oct 27 00:02:13 1997  Paul Eggert  <eggert@twinsun.com>
960
961         Remap include files with header.gcc only if user or configuration
962         file specifies "-remap".
963
964         * cccp.c (remap): New var.
965         (main): Set it if user specifies "-remap".
966         (open_include_file): Remap only if `remap' is nonzero.
967
968         * cpplib.h (struct cpp_options): New member `remap'.
969         * cpplib.c (cpp_options_init): Set remap to 0.
970         (open_include_file): Remap only if `remap' is nonzero.
971         (cpp_handle_options): Set remap if user specifies "-remap".
972
973         * i386/cygwin32.h, rs6000/cygwin32.h (CPP_SPEC): Define with -remap.
974
975 Sun Oct 26 11:41:49 1997  Jason Merrill  <jason@yorick.cygnus.com>
976
977         * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
978         bit PC-relative offset.  The exception range table pointer is now in
979         the CIE.
980         * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
981         (count_fdes, add_fdes, get_cie): Adjust.
982         (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
983
984         From H.J. Lu:
985         * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
986
987 Sat Oct 25 20:29:39 1997  Alexandre Oliva  <oliva@dcc.unicamp.br>
988
989         * Makefile.in (float.h-nat): If float.h is to be empty, ensure it is.
990
991 Sat Oct 25 20:16:52 1997  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
992
993         * prefix.c: Use stdarg.h only ifdef __STDC__.  Otherwise,
994         use varargs.h.  Wrap header with <>, not "".
995
996 Sat Oct 25 20:10:57 1997  Robert Lipe (robertl@dgii.com)
997
998         * i386/sco5.h (EH_FRAME_SECTION_ASM_OP{,_ELF,_COFF}): Define.
999         (DWARF2_UNWIND_INFO): Likewise.
1000         (EXTRA_SECTIONS): Add in_eh.
1001
1002 Sat Oct 25 12:20:58 1997  Jeffrey A Law  (law@cygnus.com)
1003
1004         * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
1005         (TARGET_MULT_BUG): Define.
1006         (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
1007         * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
1008
1009 Fri Oct 24 15:43:57 1997  Michael Meissner  <meissner@cygnus.com>
1010
1011         * rs6000.c (toplevel): Move include stdio.h before config.h.
1012
1013         (Patch from H.J. Lu, Aug 27, 1997)
1014         * rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New; defined as 1.
1015
1016         (Patch from Jeff Law, Oct 22, 1997)
1017         * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
1018         (rs6000_{save,restore}_machine_status): Save/restore it.
1019
1020         * rs6000.md (movsi_got_internal_mem): New pattern to work around
1021         case where GOT value did not get a register.
1022         (movsi_got_internal_mem splitter): Split above pattern.
1023
1024         (Patch from Geoffrey Keating, Oct 21, 1997)
1025         * rs6000.c (rs6000_stack_info): Avoid creating a stack
1026         frame under System V ABI if we only need to save the LR.
1027
1028         (Patch from Joel Sherrill, Sep 1, 1997)
1029         * rs6000/sysv4.h (SUBTARGET_SWITCHES): Add new macro
1030         EXTRA_SUBTARGET_SWITCHES, which defaults to nothing.
1031
1032         (Patch from Geoffrey Keating, Oct 20, 1997)
1033         * rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS{,_S}): Add -msdata=none
1034         switch.
1035
1036 Fri Oct 24 15:25:50 1997  Doug Evans  <dje@cygnus.com>
1037
1038         * sparc.h (ASM_SPEC): Delete.
1039
1040 Fri Oct 24 13:16:24 1997  Jeffrey A Law  (law@cygnus.com)
1041
1042         * mn10200.c (indirect_memory_operand): Delete unused function.
1043         * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
1044         * mn10200.md (bset, bclr insns): Handle output in a reg too.
1045
1046         * mn10300.c (symbolic_operand, legitimize_address): New functions.
1047         * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
1048         (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
1049
1050 Thu Oct 23 08:03:59 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
1051
1052         * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
1053         for FILENAME.
1054
1055 Tue Oct 21 16:18:13 1997  Paul Eggert  <eggert@twinsun.com>
1056
1057         * winnt/win-nt.h (CPP_SPEC): Remove reference to obsolete
1058         option -lang-c-c++-comments.
1059
1060 Tue Oct 21 10:00:20 1997  Jeffrey A Law  (law@cygnus.com)
1061
1062         * mn10300.md (movqi, movhi): Avoid using address registers as
1063         destinations unless absolutely necessary.
1064
1065         * mn10200.c (expand_prologue): Fix typo.
1066
1067         * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed addresses.
1068         * mn10200.md (neghi2): Provide an alternative which works if
1069         the input and output register are the same.
1070
1071         * mn10300.c (print_operand): Handle 'S'.
1072         * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
1073         shift amount in last alternative
1074
1075         * mn10300.c (expand_epilogue): Rework to handle register restores
1076         in "ret" and "retf" instructions correctly.
1077
1078 Tue Oct 21 07:35:19 1997  Richard Earnshaw  (rearnsha@arm.com)
1079
1080         * arm.md (insv): Avoid writing result into a paradoxical subreg.
1081
1082 Tue Oct 21 07:12:28 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
1083
1084         * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
1085
1086 Mon Oct 20 12:04:04 1997  Nick Clifton  <nickc@cygnus.com>
1087
1088         * v850.h (CPP_SPEC): Define __v850__.
1089         (CPP_PREDEFINES): Do not define __v850__.
1090         
1091         * xm-v850.h: Use __v850 rather than __v850__ to identify v850 port.
1092         
1093 Mon Oct 20 17:29:55 1997  Doug Evans  <dje@cygnus.com>
1094
1095         * sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
1096         (DEFAULT_ARCH32_P): New macro.
1097         (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
1098         (enum cmodel): Declare.
1099         (sparc_cmodel_string,sparc_cmodel): Declare.
1100         (SPARC_DEFAULT_CMODEL): Provide default.
1101         (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
1102         (TARGET_FULLANY): Deleted.
1103         (TARGET_CM_MEDMID): New macro.
1104         (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
1105         (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
1106         (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
1107         (CPP_SPEC): Rewrite.
1108         (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
1109         (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
1110         (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
1111         (ASM_SPEC): Add %(asm_arch).
1112         (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
1113         Rename asm_default to asm_cpu_default.
1114         Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
1115         cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
1116         (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
1117         ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
1118         (MASK_INT64,MASK_LONG64): Delete.
1119         (MASK_ARCH64): Renamed to MASK_64BIT.
1120         (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
1121         (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
1122         (TARGET_SWITCHES): Always provide 64 bit options.
1123         (ARCH64_SWITCHES): Delete.
1124         (TARGET_OPTIONS): New option -mcmodel=.
1125         (INT_TYPE_SIZE): Always 32.
1126         (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
1127         (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
1128         (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
1129         (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
1130         * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
1131         CPP_SPEC.
1132         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
1133         * sparc/linux.h: Likewise.
1134         * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
1135         (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
1136         (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
1137         (SPARC_DEFAULT_CMODEL): Define.
1138         (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
1139         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
1140         (LONG_DOUBLE_TYPE_SIZE): Define.
1141         (ASM_SPEC): Add %(asm_arch).
1142         * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
1143         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
1144         (TARGET_CPU_DEFAULT): Add ultrasparc case.
1145         * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
1146         (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
1147         (SPARC_DEFAULT_CMODEL): Define.
1148         * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
1149         (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.  Delete
1150         MASK_LONG64, MASK_MEDANY.
1151         (SPARC_DEFAULT_CMODEL): Define.
1152         (CPP_PREDEFINES): Delete.
1153         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
1154         (ASM_SPEC): Add %(asm_arch).
1155         (LONG_DOUBLE_TYPE_SIZE): Define.
1156         (DWARF2_DEBUGGING_INFO): Define.
1157         * sparc/splet.h (CPP_SPEC): Delete.
1158         * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
1159         (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
1160         (BLOCK_PROFILER): Likewise.
1161         * sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
1162         (sparc_override_options): Handle code model selection.
1163         (sparc_init_expanders): Renamed from sparc64_init_expanders.
1164         * sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
1165         TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
1166         (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
1167         (sethi_di_fullany): Delete.
1168
1169 Mon Oct 20 17:20:17 1997  Jim Wilson  <wilson@cygnus.com>
1170
1171         * mips.c (compute_frame_size): Not a leaf function if profile_flag set.
1172
1173 Sun Oct 19 17:46:02 1997  Douglas Rupp  <rupp@gnat.com>
1174
1175         * cccp.c (OBJECT_SUFFIX): Add default definition.
1176         (main): Use OBJECT_SUFFIX.
1177         (VMS_{freopen,fopen,open}): Use instead of using macro on
1178         unprefixed name.
1179         (VMS_fstat): Use decc$fstat explicitly, not via macro.
1180         
1181 Sun Oct 19 09:07:38 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1182
1183         * prefix.c (get_key_value): Initialize prefix to null.
1184         * Makefile.in (prefix.o): Properly pass in prefix.
1185
1186         * objc/Make-lang.in (objc.distdir): Make the objc directory.
1187         * Makefile.in (distdir-start): No longer depend on objc-parse.[cy].
1188         Don't copy objc files here.
1189         (TAGS): Don't delete objc-parse.y
1190
1191         * i386/mingw32.h (LIB_SPEC): Add -ladvapi32.
1192         (STARTFILE_SPEC): If -dll, use dllcrt1.o.
1193         (INCOMING_RETURN_ADDR_RTX): Undefine.
1194         
1195         * Makefile.in (float.h-nat): Avoid using /dev/null for input,
1196         since it's not present on all systems.
1197
1198         * prefix.c : New file.
1199         * Makefile.in (xgcc, cccp, cppmain, fix-header): Add prefix.o.
1200         (prefix.o): New rule.
1201         * cccp.c (update_path): Add extern definition.
1202         (struct default_include): New field `component'.
1203         (default_include): Add initializer for new field to all entries.
1204         (new_include_prefix): Take new arg and call update_path;
1205         all callers changed.
1206         Add trailing "." before doing stat of file.
1207         * cpplib.c (update_path): Add extern definition.
1208         (struct default_include): New field `component'.
1209         (default_include): Add initializer for new field to all entries.
1210         (cpp_start_read): Call update_path.
1211         * gcc.c (upate_path): Add extern definition.
1212         (find_a_file): For MS-DOS-based, consider a drive spec as absolute.
1213         (add_prefix): New arg component and pass to update_path;
1214         all callers changed.
1215         * netbsd.h (INCLUDE_DEFAULTS): Add `component' to values.
1216         * i386/freebsd.h, mips/netbsd.h, winnt/win-nt.h: Likewise.
1217         * i386/mingw32 (STANDARD_INCLUDE_COMPONENT): New macro.
1218         * vax/vms.h (INCLUDE_DEFAULTS): New macro.
1219         * vax/xm-vms.h (INCLUDE_DEFAULTS): Delete from here.
1220
1221         * sparc/sol2.h (WIDEST_HARDWARE_FP_SIZE): New macro.
1222
1223         * i386.c (ix86_prologue): Conditionalize Dwarf2 calls 
1224         on #ifdef INCOMING_RETURN_ADDR_RTX.
1225         * i386.md (allocate_stack): Fix incorrect operand number.
1226
1227         * alpha.c (vmskrunch): Deleted.
1228         (output_prolog, VMS): Use alloca for entry_label and don't
1229         truncate to 64 characters.
1230         * alpha/vms.h (vmskrunch): No longer define.
1231         (ENCODE_SECTION_INFO): No longer call vmskrunch.
1232         (ASM_DECLARE_FUNCTION_NAME): No longer override.
1233
1234         * toplev.c (output_quoted_string): Call new OUTPUT_QUOTED_STRING macro.
1235         * i386/mingw32.h (OUTPUT_QUOTED_STRING): New macro.
1236
1237         * stmt.c (using_eh_for_cleanups_p): New variable.
1238         (using_eh_for_cleanups): New function.
1239         (expand_decl_cleanup): Don't call expand_eh_region_start_tree
1240         unless using EH for cleanups.
1241
1242         * function.c (purge_addressof_1): When dealing with a
1243         bare (address (mem)), verify that what's inside is valid in insn.
1244         (instantiate_virtual_regs_1, case ADDRESSOF): If have MEM, just
1245         do instantiation inside and leave alone here.
1246
1247         * fold-const.c (fold, case COND_EXPR): Allow creation
1248         of {MIN,MAX}_EXPR, but preserve info on orginal comparison code.
1249
1250         * function.h (restore_tree_status): Update prototype.
1251
1252         * cse.c (cse_basic_block): Flush the hash table every 1,000 insns.
1253
1254 Sat Oct 18 13:48:14 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
1255
1256         * longlong.h (count_leading_zeros): Add missing casts to USItype.
1257
1258 Sat Oct 18 13:35:09 1997  Marc Lehmann (pcg@goof.com)
1259
1260         * toplev.c (main): Don't execute "ps" under MSDOS.
1261
1262 Sat Oct 18 13:26:42 1997  Richard Earnshaw  (rearnsha@arm.com)
1263
1264         * function.c (instantiate_virtual_regs): Don't instantiate the 
1265         stack slots for the parm registers until after the insns have had
1266         their virtuals instantiated.
1267
1268          * varargs.h (va_arg): For ARM systems, definition is endian-dependent.
1269          * stdarg.h (va_arg): Likewise.
1270
1271 Sat Oct 18 11:23:04 1997  Nick Clifton  <nickc@cygnus.com>
1272
1273         * final.c (end_final): Use ASM_OUTPUT_ALIGNED_DECL_LOCAL if defined.
1274         * varasm.c (assemble_static_space): Likewise.
1275         (assemble_variable): Use ASM_OUTPUT_ALIGNED_DECL_{COMMON,LOCAL} if def.
1276
1277 Sat Oct 18 11:02:19 1997  Doug Evans  <dje@canuck.cygnus.com>
1278
1279         * expr.c (use_group_regs): Don't call use_reg unless REG.
1280
1281 Sat Oct 18 10:39:22 1997  Jim Wilson  <wilson@cygnus.com>
1282
1283         * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
1284         redundant conditional moves to single operand.
1285
1286         * expmed.c (extract_bit_field): Don't make flag_force_mem disable
1287         extzv for memory operands.
1288
1289 Sat Oct 18 09:58:44 1997  Jeffrey A Law  <law@cygnus.com>
1290
1291         * ptx4.h: Fix typo.
1292
1293         * integrate.c (save_for_inline_copying): Avoid undefined pointer
1294         operations.
1295         (expand_inline_function): Likewise.
1296         
1297 Sat Oct 18 09:49:46 1997  Jason Merrill  <jason@yorick.cygnus.com>
1298
1299         * tree.c (restore_tree_status): Also free up temporary storage
1300         when we finish a toplevel function.
1301         (dump_tree_statistics): Print stats for backend obstacks.
1302
1303         * libgcc2.c (__throw): Don't copy the return address.
1304         * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
1305
1306         * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
1307         * tree.h: Declare them.
1308
1309         * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
1310         * toplev.c (main): Initialize exceptions_via_longjmp.
1311
1312         * tree.c: Add extra_inline_obstacks.
1313         (save_tree_status): Use it.
1314         (restore_tree_status): If this is a toplevel inline obstack and we
1315         didn't want to save anything on it, recycle it.
1316         (print_inline_obstack_statistics): New fn.
1317         * function.c (pop_function_context_from): Pass context to 
1318         restore_tree_status.
1319
1320 Sat Oct 18 09:45:22 1997  Michael Meissner  <meissner@cygnus.com>
1321
1322         * profile.c (get_file_function_name): Remove declaration.
1323         * c-lang.c (finish_file): Likewise.
1324
1325 Sat Oct 18 09:35:40 1997  Tristan Gingold  <gingold@messiaen.enst.fr>
1326
1327         * expr.c (expand_assignment): If -fcheck-memory-usage, add call to
1328         chkr_check_addr if size not zero.
1329         (expand_expr, case COMPONENT_REF): Likewise.
1330         (expand_builtin): If -fcheck_memory-usage, check memory usage
1331         of operands for strlen, strcpy, and memcpy or don't use builtins
1332         for memcmp and strcmp.
1333         * expr.h (chkr_check_str_libfunc): Declare.
1334         * optabs.c (chkr_check_str_libfunc): New variable.
1335         (init_optabs): Initialize it.
1336
1337 Sat Oct 18 09:29:21 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
1338
1339         * i386/cygwin32.h (ASM_COMMENT_START): Redefine.
1340
1341 Sat Oct 18 09:23:54 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1342
1343         * frame.c (__frame_state_for): Execute the FDE insns until the
1344         current pc value is strictly bigger than the target pc value.
1345
1346         * expr.c (expand_expr, case TARGET_EXPR): If target and slot has
1347         no DECL_RTL, then call mark_addressable again for the slot after
1348         we give it RTL.
1349
1350 Sat Oct 18 08:58:36 1997  Manfred Hollstein  (manfred@lts.sel.alcatel.de)
1351
1352         * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
1353         * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Unconditionally define.
1354         * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
1355         __DOLPHIN__.
1356
1357         * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment.
1358         * dwarf2out.c (output_call_frame_info): Call app_enable and
1359         app_disable to let GNU as accept the generated comments.
1360
1361         * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
1362
1363 Sat Oct 18 08:50:04 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
1364
1365         * flow.c (print_rtl_with_bb): Cast alloca return values.
1366
1367 Sat Oct 18 08:47:46 1997  Douglas Rupp  <rupp@gnat.com>
1368
1369         * alpha/vms.h (LITERALS_SECTION_ASM_OP, ASM_OUTPUT_DEF): 
1370         (EXTRA_SECTION_FUNCTIONS): Add literals_section.
1371         (EXTRA_SECTIONS): Include in_literals.
1372
1373 Sat Oct 18 08:40:55 1997  Nick Burrett  <nick.burrett@btinternet.com>
1374
1375         * cpplib.c: (initialize_builtins): Cast all string constants for the
1376         function install, to type U_CHAR *.
1377         (eval_if_expression): Likewise.
1378         * cppexp.c: (cpp_lex): Cast string, for cpp_lookup, to type U_CHAR *.
1379
1380 Sat Oct 18 08:38:13 1997  Ken Raeburn  <raeburn@cygnus.com>
1381
1382         * c-lex.c (check_newline) At `skipline', flush nextchar as well.
1383
1384 Sat Oct 18 08:17:13 1997  Paul Russell  <Paul.Russell@RustCorp.com.au>
1385
1386         * input.h (struct file_stack): Added indent_level.
1387         * c-lex.c (check_newline): Add {}-count & balance warning.
1388
1389 Sat Oct 18 06:54:39 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1390
1391         * regclass.c (record_address_regs, case PLUS): Refine how to choose
1392         which is base and index.
1393
1394         * alpha.h (FUNCTION_VALUE): Use word_mode only for integral types,
1395         not types with integral modes.
1396
1397         * final.c (alter_cond): Properly conditionalize forward decl.
1398
1399         * tree.h (SAVE_EXPR_NOPLACEHOLDER): New flag.
1400         * tree.c (contains_placeholder_p, case SAVE_EXPR): Avoid
1401         checking each SAVE_EXPR more than once.
1402
1403         * rs6000.md (nonlocal_goto_receiver): Don't test pool size.
1404
1405         * i386.c (load_pic_register): New function.
1406         (ix86_prologue): Code to load PIC register moved to new function.
1407         Don't emit blockage if not generating RTL.
1408         * i386.md (nolocal_goto_receiver): New pattern.
1409
1410         * i386.c: Major cleanup, mostly reformatting.
1411         Include dwarf2.h.
1412         Remove many spurious casts.
1413         (ix86_{pro,epi}logue): Use proper mode for SET rtx.
1414
1415 Fri Oct 17 17:13:42 1997  David S. Miller  <davem@tanya.rutgers.edu>
1416
1417         * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
1418         * sparc.h (FUNCTION_PROFILER): Fix format string when TARGET_MEDANY.
1419         * sparc.c (output_double_int): Output DI mode values
1420         correctly when HOST_BITS_PER_WIDE_INT is 64.
1421         (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
1422         fmovd so it works if a quad float ends up in one of the upper 32
1423         float regs.
1424         * sparc.md (pic_{lo_sum,sethi}_di): New patterns for PIC support
1425         on sparc64.
1426
1427 Fri Oct 17 16:27:07 1997  Doug Evans  <dje@cygnus.com>
1428
1429         * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
1430         * sparc.h (PROMOTE_MODE): Promote small ints if arch64.
1431         (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
1432         (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
1433         (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
1434         (SPARC_FP_ARG_FIRST): New macro.
1435         (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
1436         (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
1437         (NPARM_REGS): There are 32 fp argument registers now.
1438         (FUNCTION_ARG_REGNO_P): Likewise.
1439         (FIRST_PARM_OFFSET): Update to new v9 abi.
1440         (REG_PARM_STACK_SPACE): Define for arch64.
1441         (enum sparc_arg_class): Delete.
1442         (sparc_arg_count,sparc_n_named_args): Delete.
1443         (struct sparc_args): Redefine and use for arch32 as well as arch64.
1444         (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
1445         (FUNCTION_ARG_ADVANCE): Rewrite.
1446         (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
1447         (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
1448         (FUNCTION_ARG_CALLEE_COPIES): Delete.
1449         (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
1450         (STRICT_ARGUMENT_NAMING): Define.
1451         (doublemove_string): Declare.
1452         * sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
1453         (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
1454         (doublemove_string): New function.
1455         (output_move_quad): Clean up some of the arch64 support.
1456         (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
1457         Don't add 8 bytes of reserved space if arch64.
1458         (sparc_builtin_saveregs): Combine arch32/arch64 versions.
1459         (init_cumulative_args): New function.
1460         (function_arg_slotno): New static function.
1461         (function_arg,function_arg_partial_nregs): New functions.
1462         (function_arg_{pass_by_reference,advance}): New functions.
1463         (function_arg_padding): New function.
1464         * ginclude/va-sparc.h: Rewrite v9 support.
1465
1466 Fri Oct 17 13:21:45 EDT 1997  Philip Blundell  <pb@nexus.co.uk>
1467
1468         * arm/netbsd.h (TYPE_OPERAND_FMT): use % not @ to avoid
1469         problems with comments.
1470
1471 Fri Oct 17 13:00:38 EDT 1997  Richard Earnshaw  (rearnsha@arm.com)
1472
1473         * arm/aout.h (ASM_OUTPUT_LABEL): Define in place of ARM_OUTPUT_LABEL.
1474         * arm/aof.h (ASM_OUTPUT_LABEL): Likewise.
1475         * arm.h (ASM_OUTPUT_LABEL): Delete.
1476         (ASM_OUTPUT_INTERNAL_LABEL): Call ASM_OUTPUT_LABEL directly.
1477         * arm.c (arm_asm_output_label): Delete.
1478
1479         * arm/aout.h (ASM_OUTPUT_ALIGNED_LOCAL): Do what is needed inline.
1480         * arm.c (output_lcomm_directive): Delete.
1481
1482         * arm.h (PUSH_ROUNDING): Delete; this is not what happens.
1483         (ACCUMULATE_OUTGOING_ARGS): Define.
1484         (PROMOTE_FUNCTION_ARGS): Define.
1485         (INITIAL_ELIMINATION_OFFSET): Take current_function_outgoing_args_size
1486         into account.
1487         * arm.c (use_return_insn, output_func_epilogue,
1488         arm_expand_prologue): Likewise.
1489
1490         * arm.c (const_ok_for_arm): If HOST_WIDE_INT more than 32 bits,
1491         insist high bits are all zero  or all one.
1492         (output_move_double): Handle case where CONST_INT is more than 32 bits.
1493
1494         * arm.c (load_multiple_sequence): Support SUBREG of MEM.
1495         (store_multiple_sequence): Likewise.
1496
1497         * arm.c (arm_gen_load_multiple): New args UNCHANGING_P and IN_STRUCT_P.
1498         Use them if we create any new MEMs; all callers changed.
1499         (arm_gen_store_multiple): Likewise.
1500         (arm_gen_movstrqi): Preserve RTX_UNCHANGING_P and MEM_IN_STRUCT_P
1501         on any MEMs created.
1502
1503         * arm.h (ASM_OUTPUT_MI_THUNK): Use branch instruction to jump to label.
1504         (RETURN_ADDR_RTX): Use NULL_RTX rather than casting zero.
1505         (output_move_double): Correct typo in prototype.
1506
1507         * arm.md (movsfcc): If not TARGET_HARD_FLOAT, ensure operand[3] valid.
1508
1509         * arm/netbsd.h (CPP_PREDEFINES): Always predefine __arm__.
1510         * arm/xm-netbsd.h (SYS_SIGLIST_DECLARED, HAVE_STRERROR): Define these.
1511
1512         * arm/t-netbsd (CROSS_LIBGCC1, LIB1ASMSRC, LIB1ASMFUNCS) Don't define
1513         these any more.
1514         * configure.in (arm-*-netbsd*): Pick up t-netbsd before arm/t-netbsd.
1515
1516 Thu Oct 16 19:31:22 1997  Jim Wilson  <wilson@cygnus.com>
1517
1518         * v850.c (ep_memory_offset): New function.
1519         (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
1520
1521         * v850.h (CONST_OK_FOR_*): Add and correct comments.
1522         (CONSTANT_ADDRESS_P): Add comment.
1523         (EXTRA_CONSTRAINT): Define 'U'.
1524         * v850.md: Add comments on bit field instructions.
1525         (addsi3): Delete &r/r/r alternative.  Add r/r/U alternative.
1526         (lshrsi3): Use N not J constraint.
1527
1528         * v850.md (v850_tst1+1): New define_split for tst1 instruction.
1529
1530         * v850.c (reg_or_0_operand): Call register_operand.
1531         (reg_or_int5_operand): Likewise.
1532         * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
1533         (TARGET_SWITCHES): Add "big-switch".
1534         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
1535         ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
1536         (CASE_DROPS_THROUGH): Comment out.
1537         (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
1538         * v850.md (cmpsi): Delete compare mode.
1539         (casesi): New pattern.
1540
1541         * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
1542         * v850.md (ashlsi3): Use SImode not QImode for shift count.
1543         (lshrsi3): Likewise.
1544
1545         * v850.c (print_operand): Add 'c', 'C', and 'z' support.  Delete
1546         unreachable switch statement after 'b' support.  Remove "b" from
1547         strings for 'b' support.
1548         * v850.md (branch_normal, branch_invert): Change %b to b%b.
1549
1550 Thu Oct 16 13:08:45 1997  Doug Evans  <dje@cygnus.com>
1551
1552         * configure.in (sparc-*-elf*): New target.
1553
1554 Wed Oct 15 22:30:37 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
1555
1556         * h8300.h (REG_CLASS_CONTENTS): AP is a general register.
1557         (REG_OK_FOR_BASE_P, ! REG_OK_STRICT case): Reject special registers.
1558
1559 Wed Oct 15 22:00:57 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
1560
1561         * sh.md (movhi+1): Add x/r alternative.
1562
1563         * sh/elf.h (HANDLE_SYSV_PRAGMA): Undefine.
1564
1565         * va-sh.h (va_arg): Fix big endian bugs for small integers.
1566
1567 Wed Oct 15 21:34:45 1997  David Edelsohn  <edelsohn@mhpcc.edu>
1568
1569         * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
1570         PPC601.
1571         (umulsidi3,umulsi3_highpart): Likewise.
1572         (smulsi3_highpart_no_mq): Add !TARGET_POWER.
1573
1574 Wed Oct 15 18:45:31 1997  Doug Evans  <dje@cygnus.com>
1575
1576         * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
1577
1578 Wed Oct 15 17:17:33 1997  Jeffrey A Law  (law@cygnus.com)
1579
1580         * pa.c (following_call): Fail if the CALL_INSN is an indirect call.
1581
1582 Wed Oct  1 17:52:09 1997  Douglas Rupp  <rupp@gnat.com>
1583
1584         * vms.h (UNALIGNED_{SHORT,INT,DOUBLE_INT}_ASM_OP): Define.
1585
1586 Wed Oct  1 16:09:42 1997  Benjamin Kosnik  <bkoz@melange.gnu.ai.mit.edu>
1587
1588         * fixincludes: Fix sys/param.h so that MAXINT will not be redefined
1589         on HPUX.
1590         
1591 Wed Oct  1 08:08:21 1997  Jeffrey A Law  <law@chunks.cygnus.com>
1592
1593         * cse.c (this_insn_cc0_mode): Initialize.
1594
1595 Wed Oct  1 07:22:12 1997  Richard Henderson  <rth@cygnus.com>
1596
1597         * i386.h (RETURN_ADDR_RTX): Use FRAME arg, not ap.
1598
1599 Tue Sep 30 19:19:58 1997  Jim Wilson  <wilson@cygnus.com>
1600
1601         * except.c (find_exception_handler_labels): Correct argument to free.
1602
1603 Fri Sep 26 14:06:45 1997  Mike Stump  <mrs@wrs.com>
1604
1605         * c-decl.c (start_struct): Ensure that structs with forward
1606         declarations are in fact packed when -fpack-struct is given.
1607
1608 Wed Sep 24 11:31:24 1997  Mike Stump  <mrs@wrs.com>
1609
1610         * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
1611         packing structure.  This allows a structure with only bytes to be
1612         aligned on a byte boundary and have no padding on a m68k.
1613
1614 Tue Sep 30 11:00:00 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
1615
1616         * except.c (find_exception_handler_labels): Free LABELS when done.
1617
1618 Tue Sep 30 10:47:33 1997  Paul Eggert  <eggert@twinsun.com>
1619
1620         * cexp.y, cppexp.c (HOST_BITS_PER_WIDE_INT):
1621         Define only if not already defined.
1622
1623 Mon Sep 29 17:55:55 1997  Gavin Koch  <gavin@cygnus.com>
1624
1625         * c-decl.c (warn_implicit): Deleted.
1626         (warn_implicit_int, mesg_implicit_function_declaration}): New vars.
1627         (c_decode_option): For -Wimplicit, set both new variables.
1628         Add -Wimplicit-function-declarations, -Wimplicit-int,
1629         and -Werror-implicit-function-declaration.
1630         (implicitly_declare, grokdeclarator): Use new flags.
1631         * toplev.c (lang_options): Add new -W options.
1632
1633 Mon Sep 29 17:55:15 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1634
1635         * c-common.c (check_format_info): Add check for scanf into
1636         constant object or via constant pointer type.
1637
1638 Mon Sep 29 16:10:12 1997  Richard Henderson  <rth@cygnus.com>
1639
1640         * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne.
1641         (bne): Likewise for cmpeq+beq.
1642
1643 Mon Sep 29 15:58:22 1997  Doug Evans  <dje@cygnus.com>
1644
1645         * reload1.c (reload_cse_simplify_set): Fix return values.
1646
1647 Mon Sep 29 08:21:35 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>
1648
1649         * i386.c (notice_update_cc): Use reg_overlap_mentioned_p.
1650
1651 Sun Sep 28 18:59:58 1997  Jason Merrill  <jason@yorick.cygnus.com>
1652
1653         * libgcc2.c (__throw): Fix thinko.
1654
1655 Sun Sep 28 12:00:52 1997  Mark Mitchell  <mmitchell@usa.net>
1656
1657         * cplus-dem.c (demangle_template): Add new parameter.  Handle new
1658         template-function mangling.
1659         (consume_count_with_underscores): New function.
1660         (demangle_signature): Handle new name-mangling scheme.
1661
1662 Sun Sep 28 11:19:09 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1663
1664         * flow.c (print_rtl_with_bb): Reformat messages about BB boundaries.
1665
1666         * calls.c: Include regs.h.
1667         * profile.c: Likewise.
1668         * Makefile.in (calls.o, profile.o): Depend on regs.h.
1669         * except.h (expand_builtin_dwarf_reg_size): Put in #ifdef TREE_CODE.
1670
1671         * tree.h (get_file_function_name): Add decl.
1672         * dwarf2out.c (output_call_frame_info): Don't cast its result.
1673
1674 Sun Sep 28 10:58:21 1997  Manfred Hollstein  <manfred@s-direktnet.de>
1675
1676         * Makefile.in (sub-makes): Pass value of LANGUAGES.
1677
1678 Sun Sep 28 10:52:59 1997  Ian Dall  <ian.dall@dsto.defence.gov.au>
1679
1680         * regs.h (SMALL_REGISTER_CLASSES): Default to 0.
1681         * calls.c (prepare_call_address, expand_call):
1682         Remove #if test on SMALL_REGISTER_CLASSES.
1683         * combine.c (can_combine_p, combinable_i3pat, try_combine): Likewise.
1684         * cse.c (canon_hash): Likewise.
1685         * function.c (expand_function_start): Likewise.
1686         * jump.c (jump_optimize): Likewise.
1687         * local-alloc.c (optimize_reg_copy_1): Likewise.
1688         * loop.c (scan_loop, valid_initial_value_p): Likewise.
1689         * profile.c (output_arc_profiler): Likewise.
1690         * reload.c (push_secondary_reload, push_reload): Likewise.
1691         (combine_reloads): Likewise.
1692         * reload1.c (reload, scan_paradoxical_subregs): Likewise.
1693         (order_regs_for_reload, reload_as_needed): Likewise.
1694         (choose_reload_regs): Likewise.
1695         (merge_assigned_reloads): Declare unconditionally.
1696
1697 Sat Sep 27 11:02:38 1997  Jason Merrill  <jason@yorick.cygnus.com>
1698
1699         * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
1700         * tree.h (built_in_function): Likewise.
1701         * expr.c (expand_builtin): Likewise.
1702         * except.h: Likewise.
1703         * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
1704         * libgcc2.c (copy_reg): New fn.
1705         (__throw): Use it.
1706
1707 Fri Sep 26 09:00:13 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1708
1709         * frame.c (gansidecl.h): New include, for PROTO.
1710         * dwarf2out.c: Move inclusion of dwarf2.h down.
1711         (dwarf2out_cfi_label): Don't declare here.
1712         * dwarf2.h (dwarf2out_{do_frame,cfi_label,def_cfa}): New declarations.
1713         (dwarf2out_{window_save,args_size,reg_save,return_save}): Likewise.
1714         (dwarf2out_{return_reg,begin_prologue,end_epilogue}): Likewise.
1715         * m68k.c (dwarf2.h): Include.
1716         (output_function_prologue): Add dwarf2 support.
1717         * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
1718         (INCOMING_FRAME_SP_OFFSET): Likewise.
1719
1720         * integrate.c (copy_rtx_and_substitute, case ADDRESSOF): New case.
1721
1722         * integrate.c (expand_inline_function): Make sure there is at
1723         least one insn that can be used as an insertion point.
1724
1725 Fri Sep 26 08:54:59 1997  Paul Eggert  <eggert@twinsun.com>
1726
1727         * c-typeck.c (build_binary_op): Warn about comparing signed vs
1728         unsigned if -W is specified and -Wno-sign-compare is not.
1729         * c-decl.c (warn_sign_compare): Initialize to -1.
1730         (c_decode_option): -Wall no longer implies -Wsign-compare.
1731
1732 Wed Sep 24 21:34:06 1997  Jason Merrill  <jason@yorick.cygnus.com>
1733
1734         * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
1735
1736 Wed Sep 24 19:17:08 1997  Doug Evans  <dje@cygnus.com>
1737
1738         * sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
1739         (get_pc_via_rdpc): Renamed from get_pc_sp64.
1740         * sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
1741
1742 Wed Sep 24 18:38:22 1997  David S. Miller  <davem@tanya.rutgers.edu>
1743
1744         * sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
1745         (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
1746         and -malign-functions=.
1747         (sparc_align_{loops,jumps,funcs}_string): Declare.
1748         (sparc_align_{loops,jumps,funcs}): Declare.
1749         (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
1750         (FUNCTION_BOUNDARY): Use sparc_align_funcs.
1751         (STACK_BIAS): Define.
1752         (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT, then perform test.
1753         (SPARC_SETHI_P): New macro.
1754         (CONST_OK_FOR_LETTER_P): Use it.
1755         (ASM_OUTPUT_ALIGN_CODE): Define.
1756         (ASM_OUTPUT_LOOP_ALIGN): Define.
1757         * sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
1758         (sparc_align_{loops,jumps,funcs}): New globals.
1759         (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
1760         -malign-functions=.
1761         (move_operand): Use SPARC_SETHI_P.
1762         (arith_double_operand): Cast to unsigned HOST_WIDE_INT, then test.
1763         (arith11_double_operand): Likewise.
1764         (arith10_double_operand): Likewise.
1765         (finalize_pic): Finish sparc64 support.
1766         (emit_move_sequence): Use SPARC_SETHI_P.  Simplify low part of
1767         64 bit constants if able.
1768         (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
1769         (sparc_builtin_saveregs [sparc64]): Don't save fp regs if ! TARGET_FPU.
1770         * sparc.md: Use GEN_INT instead of gen_rtx.
1771         (get_pc_sp32): Use for sparc64 as well.
1772         (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
1773         (sethi_di_sp64_const): Likewise.
1774         (movtf_cc_sp64): Check TARGET_HARD_QUAD.
1775         (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
1776         (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
1777
1778 Wed Sep 24 08:25:28 1997  Alexandre Oliva  <oliva@dcc.unicamp.br>
1779
1780         * i386.md (allocate_stack): Fix typo in last change.
1781
1782 Tue Sep 23 19:02:46 1997  Doug Evans  <dje@cygnus.com>
1783
1784         * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
1785         * sparc/linux.h (COMMENT_BEGIN): Likewise.
1786         * sparc/linux64.h (COMMENT_BEGIN): Likewise.
1787
1788 Tue Sep 23 14:48:18 1997  David S. Miller  <davem@tanya.rutgers.edu>
1789
1790         Add sparc64 linux support.
1791         * configure.in (sparc64-*-linux*): Recognize.  Add sparc/xm-sparc.h
1792         to xm_file list on 32-bit sparc-linux.
1793         * sparc/xm-sp64.h: New file.
1794         * sparc/linux64.h: New file.
1795         * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
1796         Don't include xm-sparc.h.
1797         * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
1798         * glimits.h (LONG_MAX): Handle sparc64.
1799
1800 Tue Sep 23 08:32:51 1997  Jason Merrill  <jason@yorick.cygnus.com>
1801
1802         * final.c (final_end_function): Also do dwarf2 thing if
1803         DWARF2_DEBUGGING_INFO.
1804         (final_start_function): Likewise.
1805
1806 Tue Sep 23 06:55:40 1997  David S. Miller  <davem@tanya.rutgers.edu>
1807
1808         * expmed.c (expand_divmod): If compute_mode is not same as mode,
1809         handle case where convert_modes causes op1 to no longer be CONST_INT.
1810
1811 Tue Sep 23 00:58:48 1997  Jim Wilson  <wilson@cygnus.com>
1812
1813         * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
1814
1815 Mon Sep 22 18:26:25 1997  J. Kean Johnston  <jkj@sco.com>
1816
1817         * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
1818         (MULTILIB_DEFAULTS): Define.
1819         (ASM_SPEC, CPP_SPEC): Handle -mcoff.
1820         (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
1821         (LIBGCC_SPEC): Likewise.
1822         (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
1823         (SUBTARGET_SWITCHES): Add -mcoff and -melf.
1824         * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
1825         (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
1826         (EXTRA_PARTS, TAROUTOPTS): Delete.
1827         (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
1828         (MULTILIB_OPTIONS): Define.
1829         (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
1830         (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
1831
1832 Mon Sep 22 14:42:11 1997  Jeffrey A Law  (law@cygnus.com)
1833
1834         * reg-stack.c (find_blocks): Fix thinko in last change.
1835
1836 Mon Sep 22 16:22:41 1997  David S. Miller  <davem@tanya.rutgers.edu>
1837
1838         * combine.c (try_combine): Use NULL_RTX, not 0, in gen_rtx calls.
1839         * cse.c (cse_main): Likewise.
1840         * emit-rtl.c (gen_label_rtx): Likewise.
1841         * expr.c (init_expr_once): Likewise.
1842         * sched.c (schedule_insns): Likewise.
1843         * varasm.c (immed_double_const): Likewise.
1844
1845         * sparc.h (INCOMING_FRAME_SP_OFFSET): Define as SPARC_STACK_BIAS.
1846
1847 Mon Sep 22 16:13:21 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
1848
1849         * alpha/linux.h (HANDLE_SYSV_PRAGMA): Define.
1850
1851 Mon Sep 22 16:02:01 1997  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
1852
1853         * c-common.c (decl_attributes): Add support for TYPE_UNUSED on types.
1854         * c-decl.c (finish_decl): Set TREE_USED on decls if TREE_USED on type.
1855         * stmt.c (expand_end_bindings): Check DECL_NAME and DECL_ARTIFICIAL
1856         before unused variable warning.
1857
1858 Mon Sep 22 14:04:18 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1859
1860         * rtlanal.c (computed_jump_p): Fix typo in last change.
1861
1862         * clipper.md (movstrsi): Use change_address instead of making new MEM.
1863         * dsp16xx.md (movstrqi): Likewise.
1864         * i370.md (movstrsi): Likewise.
1865         * i860.md (movstrsi): Likewise.
1866         * pa.md (movstrsi): Likewise.
1867         * mips.md (movstrsi): Fix (unused) pattern in define_expand.
1868         * pdp11.md (movstrhi): Likewise.
1869
1870         * alpha.md (allocate_stack): Use virtual_stack_dynamic for result.
1871         * i386.md (allocate_stack): Likewise.
1872         * rs6000.md (allocate_stack): Likewise.
1873
1874         * alpha.h (FLOAT_STORE_FLAG_VALUE): Different for VAX and IEEE float.
1875
1876         * function.c (assign_parms): Make max_parm_reg handling more
1877         precise and make it agree with size of parm_reg_stack_loc.
1878         * integrate.c (save_for_inline_{nocopy,copying}): Remove
1879         redundant assignment of max_parm_reg.
1880
1881         * function.c (assign_parms): Properly set RTX_UNCHANGING_P for
1882         copy of parm.
1883
1884         * integrate.c (copy_rtx_and_substitute, case SET): Handle
1885         a SET_DEST of the virtual fp or ap specially and undo
1886         the adjustment into the local area as well.
1887         (mark_stores): Don't wipe out map entries for virtual fp and ap.
1888
1889         * alpha.h (FLOAT_STORE_FLAG_VALUE): Different for VAX and IEEE float.
1890
1891         * emit-rtl.c (gen_lowpart): Handle ADDRESSOF.
1892
1893 Mon Sep 22 13:35:56 1997  Doug Evans  <dje@cygnus.com>
1894
1895         * rtlanal.c (replace_regs): Fix up lossage in last patch.
1896
1897 Sun Sep 21 19:28:48 1997  Jeffrey A Law  (law@cygnus.com)
1898
1899         * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
1900         (find_basic_blocks): Use computed_jump_p to determine if a 
1901         particular JUMP_INSN is a computed jump.
1902         * reg-stack.c (find_blocks): Use computed_jump_p to determine
1903         if a particular JUMP_INSN is a computed jump.
1904         * rtlanal.c (jmp_uses_reg_or_mem): New function.
1905         (computed_jump_p): Likewise.
1906         * rtl.h (computed_jump_p): Declare.
1907         * genattrtab.c (pc_rtx): Define and initialize.
1908
1909         * cse.c (simplify_relational_operation): Set h0u just like h0s.
1910         Similarly for h1u and h1s.
1911
1912 Sun Sep 21 14:13:31 1997  Doug Evans  <dje@cygnus.com>
1913
1914         * function.c (instantiate_virtual_regs): Fix thinko in last patch.
1915
1916 Sun Sep 21 10:33:26 1997  Paul Eggert  <eggert@twinsun.com>
1917
1918         * cccp.c, cpplib.c (special_symbol): If STDC_0_IN_SYSTEM_HEADERS
1919         is defined, expand __STDC__ to 0 in system headers.
1920         * i386/sol2.h, rs6000/sol2.h, sparc/sol2.h:
1921         (STDC_0_IN_SYSTEM_HEADERS): New macro.
1922         (CPP_SPEC): Remove -D__STDC__=0; it's no longer needed.
1923
1924         * fixinc.math (_MATH_H_WRAPPER):  Define at the end of the
1925         wrapper, not the start, so that if #include_next gets another
1926         instance of the wrapper, this will follow the #include_next
1927         chain until we arrive at the real <math.h>.
1928
1929         * fixproto (subdirs_made):  New var, to keep track of which
1930         subdirectories we've made (in reverse order).  At the end,
1931         attempt to rmdir them all, so that we don't create any empty
1932         directories.
1933
1934 Sun Sep 21 10:02:07 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1935
1936         * pa.c (move_operand): Respect -mdisable-indexing.
1937         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
1938
1939 Sun Sep 21 09:29:23 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1940
1941         * function.c (purge_addressof_1): Don't convert (MEM (ADDRESSOF (REG)))
1942         to (SUBREG (REG)) on big endian machines.
1943         Don't fall through to substitute the inner (REG) unchanged
1944         when the above conversion cannot be validated.
1945
1946 Sat Sep 20 16:22:06 1997  Jason Merrill  <jason@yorick.cygnus.com>
1947
1948         * frame.c (__deregister_frame): Properly check for initialized object.
1949
1950         * function.c (instantiate_virtual_regs): Instantiate 
1951         parm_reg_stack_locs.
1952
1953 Sat Sep 20 03:07:54 1997  Doug Evans  <dje@cygnus.com>
1954
1955         * sparc/sysv4.h (ASM_COMMENT_START): Delete.
1956         * sparc.h (ASM_COMMENT_START): Define.
1957         * sparc.c (output_function_prologue): Use it.
1958         (sparc_flat_output_function_{epi,pro}logue): Likewise.
1959
1960 Fri Sep 19 19:43:09 1997  Jeffrey A Law  (law@cygnus.com)
1961
1962         * loop.c (strength_reduce): Fix typo.
1963
1964         * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
1965         * mips.h, xm-rs6000.h, rs6000/xm-sysv4.h: Likewise.
1966
1967 Fri Sep 19 20:10:30 1997  Doug Evans  <dje@cygnus.com>
1968
1969         * rtl.h (find_use_as_address): Delete accidentally added decl.
1970
1971 Fri Sep 19 08:36:16 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
1972
1973         * jump.c (thread_jumps): Check can_reverse_comparison_p before
1974         threading a reversed-condition jump.
1975
1976 Fri Sep 19 08:16:12 1997  Andrew M. Bishop <amb@gedanken.demon.co.uk>.
1977
1978         * Add support for new -dI option for cxref,
1979         * cccp.c (dump_includes): New variable.
1980         (struct directive, directive_table): Remove members angle_brackets,
1981         traditional_comments, pass_thru; all code using struct directive
1982         now uses `type' member instead.
1983         (IS_INCLUDE_DIRECTIVE_TYPE): New macro.
1984         (main, handle_directive): Add support for new -dI option.
1985         (do_ident): Avoid unnecessary alloca.
1986         (do_pragma): Avoid unnecessary comparison to newline.
1987
1988         * cpplib.h (struct cpp_options): New member dump_includes.
1989         * cpplib.c (struct directive, directive_table): Remove members
1990         traditional_comments, pass_thru; all code using struct directive
1991         now uses `type' member instead.
1992         (IS_INCLUDE_DIRECTIVE_TYPE): New macro.
1993         (handle_directive, cpp_handle_options): Add support for new -dI option.
1994
1995 Fri Sep 19 07:57:19 1997  Pat Rankin  <rankin@eql.caltech.edu>
1996
1997         * vax/xm-vms.h (expand_builtin_{extract,set}_return_addr): New macros.
1998
1999 Fri Sep 19 07:47:29 1997  Nick Burrett  <n.a.burrett@btinternet.com>
2000
2001         * cpplib.c (pcstring_used, pcfinclude): Delete unused declarations.
2002         (check_preconditions, print_containing_files, pipe_closed): Likewise.
2003         (dump_defn_1, dump_arg_n, make_undef): Likewise.
2004         (trigraph_pcp): Pre-process out decl.
2005         (quote_string): Cast CPP_PWRITTEN macro to char * for sprintf.
2006         (output_line_command): Likewise.
2007         (macro_expand): Likewise.
2008         (do_line): Cast atoi argument to char *.
2009         * genattrtab.c (simplify_by_alternatives): Pre-process out decl.
2010         * genpeep.c (gen_exp): Remove decl.
2011
2012 Fri Sep 19 07:29:40 1997  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2013
2014         * enquire.c (basic): Elminate dangling else warning.
2015         * except.h (struct function, save_eh_status, restore_eh_status):
2016         Don't declare.
2017         * expr.c (clear_storage): Don't return without a value.
2018         * function.h ({save,restore}_machine_status): Add proper prototype.
2019         ({save,restore}_{tree,eh,stmt,expr,emit,storage}_status): Declare.
2020         * real.h (real_value_truncate): Add proper prototype.
2021         (target_isnan, target_isinf, target_negative, debug_real): Declare.
2022         (assemble_real): Likewise.
2023         * recog.c (strict_memory_address_p, memory_address_p): Don't declare.
2024         (find_single_use_1): Add prototype.
2025         * recog.h (init_recog, init_recog_no_volatile): Declare.
2026         (check_asm_operands, constrain_operands, memory_address_p): Likewise.
2027         (strict_memory_address_p, validate_replace_rtx): Likewise.
2028         (reg_fits_class_p, find_single_use, general_operand): Likewise.
2029         (address_operand, register_operand, scratch_operand): Likewise.
2030         (immediate_operand, const_int_operand, const_double_operand): Likewise.
2031         (nonimmediate_operand, nonmemory_operand, push_operand): Likewise.
2032         (memory_operand, indirect_operand, mode_independent_operand): Likewise.
2033         (comparison_operator, offsettable_{,nonstrict_}memref_p): Likewise.
2034         (offsettable_address_p, mode_dependent_address_p, recog): Likewise.
2035         (add_clobbers): Likewise.
2036         * reload.h (strict_memory_address_p): Don't declare here.
2037         * rtl.h (struct rtvec_def): Make num_elem an integer.
2038         (PUT_NUM_ELEM): Delete cast to unsigned.
2039         (rtx_unstable_p, rtx_varies_p, reg_mentioned_p): Declare.
2040         (reg_{referenced,used_between,referenced_between}_p: Likewise.
2041         ({reg_set,modified,no_labels}_between_p, modified_in_p): Likewise.
2042         (reg_set_p, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
2043         (note_stores, rtx_equal_p, dead_or_set{,_regno}_p): Likewise.
2044         (remove_note, side_effects_p, volatile_{refs,insn}_p): Likewise.
2045         (may_trap_p, inequality_comparison_p): Likewise.
2046         * rtlanal.c (note_stores, reg_set_p): Don't declare.
2047         (rtx_addr_can_trap_p): Add prototype, make static.
2048         (reg_set_p_1): Add declaration for parameter pat.
2049         * emit-rtl.c: Include recog.h.
2050         * integrate.c: Likewise.
2051         * jump.c: Likewise.
2052         * unroll.c: Likewise.
2053         * Makefile.in (emit-rtl.o, integrate.o, jump.o, unroll.o): Depend
2054         on recog.h.
2055         
2056 Fri Sep 19 06:52:22 1997  Paul Eggert  <eggert@twinsun.com>
2057
2058         * enquire.c (SYS_FLOAT_H_WRAP): New macro.
2059         Include "float.h" if SYS_FLOAT_H_WRAP is nonzero.
2060         (f_define): New argument `req'.
2061         (main): Output `#include_next <float.h>' if wrapping float.h.
2062         (i_define, f_define): Don't output anything if wrapping float.h
2063         and if the system defn is already correct.  Put other value tests
2064         inside `#ifdef VERIFY'.
2065         (UNDEFINED): New macro.
2066         (I_MAX, I_MIN, U_MAX, F_RADIX, F_MANT_DIG, F_DIG, F_ROUNDS):
2067         Define even if VERIFY isn't defined, because SYS_FLOAT_H_WRAP may need
2068         these values.  Give them the value UNDEFINED if not already defined.
2069         (F_EPSILON, F_MIN_EXP, F_MIN, F_MIN_10_EXP, F_MAX_EXP): Likewise.
2070         (F_MAX, F_MAX_10_EXP): Likewise.
2071         (FPROP): Prefer system float.h definition of F_ROUNDS.
2072         Pass system values to f_define.
2073         * Makefile.in (FLOAT_H_TEST): New var.
2074         (float.h-nat): Make it empty if we can use the system float.h without
2075         change.
2076         (enquire.o): Define SYS_FLOAT_H_WRAP=1 if we can build a wrapper
2077         around the system <float.h>.  Remove include/float.h before compiling.
2078         (stmp-headers): Remove include/float.h if we would just be installing
2079         an empty file (which is a placeholder that stands for no file).
2080
2081         * fix-header.c: Don't munge headers for POSIX and XOPEN,
2082         as this is too error-prone.
2083         (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): New macros, normally undefed.
2084         (POSIX1_SYMBOL, POSIX2_SYMBOL): Now 0 unless ADD_MISSING_POSIX.
2085         (XOPEN_SYMBOL, XOPEN_EXTENDED_SYMBOL): Now 0 unless ADD_MISSING_XOPEN.
2086         (main): Ignore symbols whose flags are 0.
2087
2088 Thu Sep 18 10:43:07 1997  Nick Clifton  <nickc@cygnus.com>
2089  
2090         * v850.c (compute_register_save_size): Correct register number.
2091         * v850.md (save_interrupt, return_interrupt): Likewise.
2092         * v850/lib1funcs.asm (save_interrupt): Likewise.
2093         (return_interrupt): Use stack pointer, not element pointer.
2094
2095 Thu Sep 18 14:22:22 1997  Jason Merrill  <jason@yorick.cygnus.com>
2096
2097         * final.c (final_scan_insn): Hand BARRIERs to dwarf2 code.
2098         * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
2099         (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
2100
2101         * except.c (end_eh_unwinder): Subtract 1 from return address.
2102         * libgcc2.c (__throw): Likewise.
2103         (find_exception_handler): Don't change PC here.  Compare end with >.
2104
2105 Thu Sep 18 14:01:20 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
2106
2107         * configure.in: Make sure to create the stage* and include
2108         symbolic links in each subdirectory.
2109
2110 Thu Sep 18 13:20:37 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2111
2112         * sh/lib1funcs.asm (LOCAL): Define.
2113         (whole file): Use it.
2114
2115 Thu Sep 18 09:52:24 1997  Benjamin Kosnik  <bkoz@beauty.cygnus.com>
2116
2117         * collect2.c (collect_execute): Specify name of new file when
2118         redirecting stdout/stderr.
2119
2120 Thu Sep 18 01:47:06 1997  Jeffrey A Law  (law@cygnus.com)
2121
2122         * pa.md (reload_peepholes): Don't allow addresses with side
2123         effects for the memory operand.
2124
2125 Wed Sep 17 18:19:53 1997  Jason Merrill  <jason@yorick.cygnus.com>
2126
2127         * libgcc2.c (find_exception_handler): Subtract one from our PC when
2128         looking for a handler, to avoid hitting the beginning of the next
2129         region.
2130
2131         * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
2132
2133 Wed Sep 17 18:23:09 1997  Jeffrey A Law  (law@cygnus.com)
2134
2135         * mips/abi64.h (LONG_MAX_SPEC): Define.
2136         * mips.h (LONG_MAX_SPEC): Define.
2137         (CPP_SPEC): Include long_max_spec.
2138         (EXTRA_SPECS): Include long_max_spec.
2139
2140 Wed Sep 17 14:17:26 1997  Paul Eggert  <eggert@twinsun.com>
2141
2142         * configure.in (AC_CHECK_HEADERS): Add inttypes.h, limits.h.
2143         ({sparc,i[3456]86,powerpcle}-*-solaris2*): Use fixinc.math.
2144
2145         * fixinc.math (PWDCMD, ORIGDIR, LINKS): Remove.
2146         Remove duplicate test for missing $1.
2147         Don't cd to $INPUT.
2148         Build wrapper around system <math.h> instead of copying it;
2149         this is better if the system <math.h> is updated later by a software
2150         patch or upgrade.
2151
2152         * cccp.c (HAVE_STDLIB_H, HAVE_UNISTD_H):
2153         Do not define any more; now autoconfed.
2154         <limits.h>: Include if HAVE_LIMITS_H.
2155         (HOST_BITS_PER_WIDE_INT): Remove.
2156         (HOST_WIDE_INT): Use intmax_t or long long if available.
2157         (pcfinclude): Use size_t, not HOST_WIDE_INT, for cast from pointer;
2158         this is less likely to annoy the compiler.
2159
2160         * cexp.y (HAVE_STDLIB_H): Do not define any more; now autoconfed.
2161         <limits.h>: Include if HAVE_LIMITS_H.
2162         (HOST_WIDE_INT): Use intmax_t or long long if available.
2163         (unsigned_HOST_WIDE_INT, CHAR_BIT): New macros.
2164         (HOST_BITS_PER_WIDE_INT): Define in terms of CHAR_BIT and sizeof.
2165         (MAX_CHAR_TYPE_MASK, MAX_CHAR_TYPE_MASK): Rewrite so that we don't use
2166         HOST_BITS_PER_WIDE_INT in a preprocessor expression, since it now
2167         uses sizeof.
2168
2169         * cppexp.c: <limits.h>: Include if HAVE_LIMITS_H.
2170         (HOST_WIDE_INT): Use intmax_t or long long if available.
2171         (CHAR_BIT): New macro.
2172         (HOST_BITS_PER_WIDE_INT): Define in terms of CHAR_BIT and sizeof.
2173         * cpplib.c: <limits.h>: Include if HAVE_LIMITS_H.
2174         (HOST_WIDE_INT): Use intmax_t or long long if available.
2175         (HOST_BITS_PER_WIDE_INT): Remove.
2176
2177 Wed Sep 17 14:11:38 1997  Jeffrey A Law  (law@cygnus.com)
2178
2179         * v850.c (construct_save_jarl): Fix thinko in last change.
2180
2181 Wed Sep 17 15:04:19 1997  Doug Evans  <dje@cygnus.com>
2182
2183         * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
2184         use sparc.h's copies.
2185         * sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print ascii form
2186         as well.
2187
2188 Wed Sep 17 14:08:20 1997  Nick Burrett  <nick.burrett@btinternet.com>
2189
2190         * explow.c (allocate_dynamic_stack_space): Make allocate_stack
2191         pass 'target' as an extra operand.
2192         * expr.c (expand_builtin_apply): Use allocate_dynamic_stack_space
2193         to push a block of memory onto the stack.
2194         * alpha.md (allocate_stack): Alter in accordance with new operand.
2195         * i386.md (allocate_stack): Likewise.
2196         * rs6000.md (allocate_stack): Likewise.
2197
2198 Wed Sep 17 13:34:43 1997  Robert Lipe  <robertl@dgii.com>
2199
2200         * i386/xm-sco5.h (sys_siglist, SYS_SYGLIST_DECLARED): Define.
2201
2202 Wed Sep 17 13:27:05 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2203
2204         * Makefile.in (native): Correct dependency to auto-config.h from
2205         config.h.
2206
2207 Tue Sep 16 10:02:02 1997  Jason Merrill  <jason@yorick.cygnus.com>
2208
2209         * libgcc2.c (find_exception_handler): Not found is -1.
2210
2211         * integrate.c (expand_inline_function): Move expand_start_bindings
2212         after expanding the arguments.
2213
2214         * i386.c (ix86_prologue): Pass SYMBOL_REF to
2215         gen_prologue_{get_pc,set_got}.
2216         * i386.md (prologue_set_got, prologue_get_pc): Adjust.
2217
2218 Tue Sep 16 07:33:15 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2219
2220         * fold-const.c (make_range): Correctly handle cases of converting
2221         from unsigned to signed type.
2222
2223         * function.c (flush_addressof): New function.
2224
2225         * combine.c (num_sign_bit_copies): If asking about wider mode,
2226         treat like paradoxical subreg.
2227
2228 Tue Sep 16 00:26:52 1997  Jeffrey A Law  (law@cygnus.com)
2229
2230         * cse.c (simplify_relational_operation): If MODE specifies mode wider
2231         than HOST_WIDE_INT, high word of CONST_INT is derived from sign bit
2232         of low word.
2233
2234 Tue Sep 16 00:13:20 1997  Nick Clifton  <nickc@cygnus.com>
2235
2236         * v850.c ({register,pattern}_is_ok_for_epilogue): New functions.
2237         (construct_{save,restore}_jr, pattern_is_ok_for_prologue): Likewise.
2238         * v850.h (pattern_is_ok_for_{pro,epi}logue): New predicates.
2239         (register_is_ok_for_epilogue): Likewise.
2240         * v850.md: Replace prologue and epilogue patterns with a
2241         match_parallel pattern.
2242         * v850.c (output_move_single_unsigned): Cope with zero
2243         extending and moving between registers at the same time.
2244
2245 Mon Sep 15 22:02:46 1997  Jeffrey A Law  (law@cygnus.com)
2246
2247         * fixinc.math: New file to fix math.h on some systems.
2248         * configure.in (*-*-freebsd*, *-*-netbsd*): Use fixinc.math on these
2249         systems.
2250    
2251 Mon Sep 15 18:58:36 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2252
2253         * sched.c (update_flow_info) When looking if to set found_split_dest
2254         or found_orig_dest, look at all parts of a PARALLEL.
2255
2256         * sh.md (casesi_0): Reduce functionality, exclude insns from
2257         mova onwards.  Changed expander caller.
2258         (casesi_worker_0): New insn.
2259         (casesi_worker_0+[12]): New define_splits.
2260         (casesi_worker): Need no gen_* function.
2261         (casesi): Use casesi_worker_0 instead of casesi_worker.
2262         * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
2263
2264 Mon Sep 15 11:43:38 1997  Jason Merrill  <jason@yorick.cygnus.com>
2265
2266         Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
2267         * dwarf2.h: Add DW_CFA_GNU_args_size.
2268         * frame.c (execute_cfa_insn): Likewise.
2269         * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
2270         (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
2271         (dwarf2out_frame_debug): If this isn't a prologue or epilogue
2272         insn, hand it off to dwarf2out_stack_adjust.
2273         (dwarf2out_begin_prologue): Initialize args_size.
2274         * frame.h (struct frame_state): Add args_size.
2275         * libgcc2.c (__throw): Use args_size.
2276         * final.c (final_scan_insn): If we push args, hand off all insns
2277         to dwarf2out_frame_debug.
2278         * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
2279
2280         * dwarf2out.c (dwarf2out_frame_debug): Fix typo.
2281         Handle epilogue restore of SP from FP.
2282         * emit-rtl.c (gen_sequence): Still generate a sequence if the 
2283         lone insn has RTX_FRAME_RELATED_P set.
2284
2285         * frame.c (extract_cie_info): Handle "e" augmentation.
2286         * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
2287         absence of UNALIGNED_*_ASM_OP.
2288         (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
2289         (output_call_frame_info): Use "e" instead of "z" for augmentation.
2290         Don't emit augmentation fields length.
2291         (dwarf2out_do_frame): Move outside of #ifdefs.
2292         * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
2293         opcodes.
2294
2295         * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
2296         * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
2297         * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
2298         * sparc/sun4gas.h: New file.
2299         * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
2300
2301         * collect2.c (write_c_file_stat, write_c_file_glob): Declare 
2302         __register_frame_table and __deregister_frame.
2303
2304 Mon Sep 15 19:04:34 1997  Brendan Kehoe  <brendan@cygnus.com>
2305
2306         * except.c (find_exception_handler_labels): Use xmalloc instead of
2307         alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
2308         in some cases.
2309
2310 Sat Sep 13 23:13:51 1997  Paul Eggert  <eggert@twinsun.com>
2311
2312         * cpplib.h (PARAMS): Fix misspelling of __STDC__.
2313         (cpp_get_token): Arg is cpp_reader *, not struct parse_marker *.
2314
2315         * cpplib.c (cpp_fatal, cpp_file_line_for_message): New decls.
2316         (ppp_hash_cleanup, cpp_message, cpp_print_containing_files): Likewise.
2317         (copy_rest_of_line): Fix typo that prevented recognition of
2318         C++ style comments.
2319         (output_line_command, special_symbol): Use %ld for long, not %d.
2320
2321         * cppexp.c (xrealloc): Declare first arg as void *, not char *.
2322         (cpp_lex): Cast 2nd arg of cpp_parse_escape from const char ** to
2323         char **.
2324
2325 Fri Sep 12 16:54:04 1997  Doug Evans  <dje@cygnus.com>
2326
2327         * bitmap.h (bitmap_print): Don't use STDIO_PROTO.
2328
2329 Fri Sep 12 13:49:58 1997  Jason Merrill  <jason@yorick.cygnus.com>
2330
2331         * except.h: Prototype dwarf2 hooks.
2332         * expr.c: Adjust.
2333
2334 Thu Sep 11 18:36:51 1997  Jim Wilson  <wilson@cygnus.com>
2335
2336         * local-alloc.c (contains_replace_regs): New function.
2337         (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
2338         verify that there is no existing REG_EQUIV note, and add a call to
2339         contains_place_regs.
2340
2341         * m68k.h (MACHINE_STATE_{SAVE,RESTORE}): Add __HPUX_ASM__ versions.
2342
2343 Wed Sep 10 21:49:38 1997  Michael Meissner  <meissner@cygnus.com>
2344
2345         * toplev.c (rest_of_compilation): For passes starting with
2346         flow_analysis, use print_rtl_with_bb instead of print_rtl.
2347         * print-rtl.c (print_rtl_single): Print a single rtl value to a
2348         file.
2349         * flow.c (print_rtl_with_bb): Print which insns start and end
2350         basic blocks.  For the start of a basic block, also print the live
2351         information.
2352         * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
2353         two bitmaps ANDed together.
2354         (bitmap_print): Declare.
2355         * bitmap.c (function_obstack): Don't declare any more.
2356         (bitmap_obstack): Obstack for allocating links from.
2357         (bitmap_obstack_init): New static to say whether to initialize
2358         bitmap_obstack.
2359         (bitmap_element_allocate): Use bitmap_obstack to allocate from.
2360         (bitmap_release_memory): Free all memory allocated from
2361         bitmap_obstack.
2362         (toplevel): Conditionally include stdlib.h.
2363         (free): Provide a declaration if NEED_DECLARATION_FREE.
2364
2365         * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
2366         EXECUTE_IF_AND_IN_BITMAP.
2367
2368 Wed Sep 10 17:53:33 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2369
2370         * sh.c (addr_diff_vec_adjust): Properly propagate considered
2371         address changes through alignments.
2372
2373 Wed Sep 10 13:10:52 1997  Per Bothner  <bothner@cygnus.com>
2374
2375         * stor-layout.c (layout_type):  Simplify special BOOLEAN_TYPE handling.
2376
2377 Wed Sep 10 12:59:57 1997  Jason Merrill  <jason@yorick.cygnus.com>
2378
2379         * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
2380         if DWARF2_UNWIND_INFO.
2381
2382 Wed Sep 10 15:43:10 1997  Jason Merrill  <jason@yorick.cygnus.com>
2383
2384         * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
2385
2386 Wed Sep 10 11:13:53 1997  Paul Eggert  <eggert@twinsun.com>
2387
2388         Handle `extern int errno;' correctly when fixing <errno.h>.
2389         * fix-header.c (recognized_extern): Use name_length when comparing.
2390         * scan-decls.c (scan_decls): Don't ignore the first CPP_NAME in a
2391         declaration, so that we see the `extern' in `extern int errno;'.
2392
2393 Wed Sep 10 11:49:20 1997  Jason Merrill  <jason@yorick.cygnus.com>
2394
2395         Add support for exception handling using DWARF 2 frame unwind info.
2396         * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
2397         next_stack_level, in_reg_window): Helper fns.
2398         (__throw): Implement for DWARF2_UNWIND_INFO.
2399
2400         * expr.c (expand_builtin): Handle builtins used by __throw.
2401         * tree.h (enum built_in_function): Add builtins used by __throw.
2402         * c-decl.c (init_decl_processing): Declare builtins used by __throw.
2403         * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
2404         * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
2405         (expand_builtin_extract_return_addr): Likewise.
2406         (expand_builtin_frob_return_addr): Likewise.
2407         (expand_builtin_set_return_addr_reg): Likewise.
2408         (expand_builtin_eh_stub): Likewise.
2409         (expand_builtin_set_eh_regs): Likewise.
2410         (eh_regs): Choose two call-clobbered registers for passing back values.
2411
2412         * frame.c, frame.h: New files for parsing dwarf 2 frame info.
2413         * Makefile.in (LIB2ADD): New variable.  Add $(srcdir)/frame.c.
2414         (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
2415         (stmp-multilib): Likewise.
2416         ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
2417
2418         * except.c: #include "defaults.h".
2419         (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
2420         (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
2421         (register_exception_table_p): New fn.
2422         (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
2423         (end_eh_unwinder): Likewise.
2424
2425         * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP, 
2426         call __register_frame and __deregister_frame as needed.
2427         * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
2428         * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro.  Check
2429         EH_FRAME_SECTION_ASM_OP.
2430         * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
2431         * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
2432         (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
2433
2434         * dwarf2out.c (output_call_frame_info): If no support for
2435         EXCEPTION_SECTION, mark the start of the frame info with a
2436         collectable tag.
2437         * collect2.c (frame_tables): New list.
2438         (is_ctor_dtor): Recognise frame entries.
2439         (scan_prog_file): Likewise.
2440         (main): Pass -fno-exceptions to sub-compile.  Also do collection
2441         if there are any frame entries.
2442         (write_c_file_stat): Call __register_frame_table and
2443         __deregister_frame as needed.
2444         (write_c_file_glob): Likewise.
2445
2446         * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.  
2447         Also require unaligned reloc support.
2448         * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
2449         UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
2450         * sparc/sysv4.h: Not here.
2451
2452         * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
2453         * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
2454         (dwarf2out_finish): Don't call dwarf2out_frame_finish.
2455
2456         * libgcc2.c (L_eh): Reorganize, moving code shared by different
2457         EH implementations to the top.
2458         (find_exception_handler): Split out.  Start from 0.  Compare against
2459         end with >=.
2460         (__find_first_exception_table_match): Use it.
2461         * except.c (output_exception_table): Don't do anything if there's
2462         no table.  Don't output a first entry of zeroes.
2463         (eh_outer_context): Adjust properly.
2464         (add_eh_table_entry): Use xrealloc.
2465         * toplev.c (compile_file): Just call output_exception_table.
2466
2467 Wed Sep 10 11:49:20 1997  Jason Merrill  <jason@yorick.cygnus.com>
2468
2469         * varasm.c (save_varasm_status): Take the target function context.
2470         * function.c (push_function_context_to): Pass it in.
2471
2472         * rtl.def (ADDRESSOF): Add new field for original regno.
2473         * function.c (put_reg_into_stack and callers): Add original_regno
2474         argument.
2475         (gen_mem_addressof): Remember the original regno.
2476         * rtl.def (INLINE_HEADER): Add new field for parm_reg_stack_loc.
2477         * rtl.h (PARMREG_STACK_LOC): New macro.
2478         (ADDRESSOF_REGNO): New macro.
2479         * emit-rtl.c (gen_inline_header_rtx): Add parm_reg_stack_loc.
2480         * function.c (max_parm_reg, parm_reg_stack_loc): No longer static.
2481         (assign_parms): Allocate parm_reg_stack_loc on saveable obstack.
2482         * integrate.c (output_inline_function): Set max_parm_reg and
2483         parm_reg_stack_loc from inline header.
2484         (initialize_for_inline): Pass in parm_reg_stack_loc.
2485
2486 Wed Sep 10  11:30:36 1997  Stan Cox  <coxs@dg-rtp.dg.com>
2487
2488         * i386.c (override_options): Don't set TARGET_SCHEDULE_PROLOGUE
2489         (ix86_expand_prologue, ix86_expand_epilogue): Emit rtl by default.
2490         
2491 Wed Sep 10  11:30:36 1997  Jason Merrill  <jason@cygnus.com>
2492         
2493         * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
2494
2495 Wed Sep 10 08:48:44 1997  Jeffrey A Law  (law@cygnus.com)
2496
2497         * xm-m88k.h (USG): Only define if it hasn't already been defined.
2498
2499         * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
2500
2501         * expr.c (do_jump_by_parts_equality_rtx): Don't clobber the
2502         source operand when performing an IOR of the parts.
2503
2504         * expr.c (emit_block_move): Always return a value.
2505
2506         * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
2507         when clearing non-BLKmode data.
2508
2509         * final.c (shorten_branches): Remove last change for ADDR_VEC
2510         alignment computation.   During first pass, assume worst
2511         possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
2512
2513 Wed Sep 10 09:33:19 1997  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
2514
2515         * explow.c (emit_stack_save, emit_stack_restore): Correctly
2516         handle HAVE_{save,restore}_stack_* evaluating to 0.
2517
2518 Wed Sep 10 09:27:45 1997  Weiwen Liu  <liu@hepvms.physics.yale.edu>
2519
2520         * Makefile.in (sdbout.o): Add dependency on insn-config.h.
2521
2522 Wed Sep 10 09:24:56 1997  Nick Burrett  <n.a.burrett@btinternet.com>
2523
2524         * sched.c (birthing_insn_p): Rename prototype decl from birthing_insn.
2525         * final.c (leaf_renumber_regs, alter_cond): Declare prototype only
2526         if LEAF_REGISTERS is defined.
2527         * reload1.c (merge_assigned_reloads): Declare prototype only if
2528         SMALL_REGISTER_CLASSES is defined.
2529         * loop.c (replace_call_address): Pre-process out prototype decl.
2530         * real.c (dectoe, etodec, todec): Declare proto if DEC is defined
2531         (ibmtoe, etoibm, toibm): Declare proto if IBM is defined
2532
2533 Wed Sep 10 09:13:51 1997  Manfred Hollstein  <manfred@s-direktnet.de>
2534
2535         * configure.in (out_file): Emit definition to config.status.
2536
2537 Wed Sep 10 08:37:56 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2538
2539         * final.c (shorten_branches): Fix alignment calculation.
2540         Don't count the lengths of deleted instructions.
2541
2542 Wed Sep 10 08:34:11 1997  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2543
2544         * cpplib.c (cpp_start_read): Make known_suffixes static.
2545
2546 Wed Sep 10 08:27:05 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2547
2548         * m68k.c (print_operand_address) [MOTOROLA]: When compiling
2549         with -fpic (not -fPIC) force the GOT offset to 16 bits.
2550
2551 Wed Sep 10 08:22:51 1997  Christian Iseli  <chris@lslsun.epfl.ch>
2552
2553         * expr.c (convert_move): Add missing use of trunctqtf2.
2554
2555 Wed Sep 10 08:17:10 1997  Torbjorn Granlund  <tege@pdc.kth..se>
2556
2557         * except.c (eh_outer_context): Do masking using expand_and.
2558
2559 Wed Sep 10 07:52:21 1997  Joel Sherrill  <joel@OARcorp.com>
2560
2561         * pa/rtems.h (subtarget_switches): Removed -mrtems subtarget_switch.
2562         * configure.in (sh*-*-rtems*): New target.
2563         * sh.h (TARGET_SWITCHES: Call SUBTARGET_SWITCHES.
2564         (SUBTARGET_SWITCHES): Provide default definition.
2565
2566 Wed Sep 10 06:33:47 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2567
2568         * i386/mingw32.h ({LIB,LINK}_SPEC): Check for -mwindows, not -windows.
2569
2570         * alpha/vms.h (ASM_OUTPUT_SECTION): Clear NAME if overlaid.
2571
2572         * c-parse.in (unary_expr): Test DECL_C_BIT_FIELD, not DECL_BIT_FIELD.
2573         * c-typeck.c (default_conversion): Likewise.
2574
2575         * tree.c (contains_placeholder_p, substitute_in_expr):
2576         Handle placeholders inside args of CALL_EXPR (and hence in TREE_LIST).
2577
2578         * expr.c (expand_expr, case PLACEHOLDER_EXPR): Check all
2579         expressions in placeholder_list.
2580
2581 Tue Sep  9 18:10:30 1997  Doug Evans  <dje@cygnus.com>
2582
2583         Add port done awhile ago for the ARC cpu.
2584         * arc.h, arc.c, arc.md, t-arc, xm-arc.h: New files.
2585         * arc/initfini.c, arc/lib1funcs.asm: New files.
2586         * ginclude/va-arc.h: New file.
2587         * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
2588         * ginclude/varargs.h: Likewise.
2589         * Makefile.in (USER_H): Add va-arc.h.
2590         * configure.in (arc-*-elf*): Recognize.
2591         * longlong.h: Add ARC support.
2592
2593 Tue Sep  9 01:30:37 1997  Jason Merrill  <jason@yorick.cygnus.com>
2594
2595         * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
2596         write_symbols.
2597
2598 Mon Sep  8 15:15:11 1997  Nick Clifton  <nickc@cygnus.com>
2599
2600         * v850.h (ASM_SPEC): Pass on target processor.
2601         (CPP_PREDEFINES): Only define if not already specified.
2602         (TARGET_VERSION): Only define if not already specified.
2603         (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
2604         processor. 
2605         (EXTRA_SWITCHES): Extra entries in the switches array.
2606         (TARGET_DEFAULT): Set default target processor.
2607
2608 Tue Sep  9 09:50:02 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2609
2610         * configure.in (alpha*-*-*): Support pca56 and ev6.
2611
2612         * varasm.c (named_section): Set in section after writing directive.
2613         * dwarf2out.c (output_call_frame_info): Call named_section.
2614
2615 Mon Sep  8 16:32:43 1997  Jason Merrill  <jason@yorick.cygnus.com>
2616
2617         * mips.c (function_prologue): Set up the CFA when ABI_32.
2618
2619         * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
2620         for dwarf2 unwind info.
2621         (output_function_prologue, sparc_flat_output_function_prologue): Same.
2622
2623         * final.c (final_end_function): Check dwarf2out_do_frame instead
2624         of DWARF2_DEBUG for dwarf2 unwind info.
2625         (final_scan_insn): Likewise.
2626         (final_start_function): Likewise.  Initialize dwarf2 frame debug here.
2627         (final): Not here.
2628
2629         * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
2630         count > 0.
2631
2632         * varasm.c (exception_section): Check EXCEPTION_SECTION first.
2633
2634 Mon Sep  8 14:58:07 1997  Jim Wilson  <wilson@cygnus.com>
2635
2636         * toplev.c (main): Change #elif to #else/#ifdef
2637
2638         * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
2639
2640 Mon Sep  8 08:45:19 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2641
2642         * alpha.h (processor_type): Add EV6.
2643         ({TARGET,MASK}_BWX): Renamed from _BYTE_OPS.
2644         ({TARGET,MASK}_{CIX,MAX}): New macros.
2645         (MASK_CPU_EV5): Change bit number.
2646         (MASK_CPU_EV6, {TARGET,MASK}_SUPPORT_ARCH): New macros.
2647         (TARGET_OPTIONS): Rename "byte" to "bwx" and add "cix" and "max".
2648         (MINIMUM_ATOMIC_ALIGNMENT): Rename TARGET_BYTE_OPS to TARGET_BWX.
2649         (SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS, ASM_FILE_START): Likewise.
2650         (SECONDARY_MEMORY_NEEDED): Not needed if CIX.
2651         (ASM_FILE_START): Only write if TARGET_SUPPORT_ARCH.
2652         Add "pca56" and "ev6".
2653         * alpha.c (input_operand): Rename TARGET_BYTE_OPS to TARGET_BWX.
2654         (override_options): Likewise; also add new CPU types and subset flags.
2655         * alpha.md: Rename TARGET_BYTE_OPS to TARGET_BWX.
2656         (cpu attr): Add "ev6".
2657         (ev5 function units): Use for ev6 as well, for now.
2658         (ffsdi2): New define_expand and define_insn, for TARGET_CIX.
2659         (sqrt[sd]f2): New patterns, for TARGET_CIX.
2660         (s{min,max}[qh]i3): New patterns, for TARGET_MAX.
2661         (movsi): Use ldf/lsf when appropriate, instead of lds/sts.
2662         (mov[sd]i): Add use of ftio/itof for TARGET_CIX.
2663         * configure.in (alpha*-dec-osf*): Set MASK_SUPPORT_ARCH for >= 4.0B.
2664         Rename MASK_BYTE_OPS to MASK_BWX.
2665
2666         * i386/mingw32.h (STANDARD_INCLUDE_DIR): New macros.
2667         (STARTFILE_SPEC, PATH_SEPARATOR): Likewise.
2668
2669         * configure.in (AC_PROG_LN_S): Remove; unneeded.
2670         (*cygwin32*, *mingw32*): Default prefix to /usr.
2671         (symbolic_link): Set to "cp -p" if no "ln -s"; add AC_SUBST.
2672         (configure.lang call): Change remaining use of config.h to auto-conf.h.
2673
2674         * Makefile.in (LN): Add new symbol.
2675         (FLAGS_TO_PASS): Pass it down.
2676         (stage[1-4]-start): Use $(LN), not "ln -s".
2677
2678         * mips.h (flag_omit_frame_pointer, frame_pointer_needed, optimize):
2679         Remove declarations: no longer needed.
2680         * pyr.md: Remove unneeded declarations of `optimize'.
2681         * h8300.md: Likewise.
2682         * sparc.c (dwarf2out_cfi_label): Add declaration.
2683         (save_regs, output_function_prologue): Remove cast for it.
2684         (sparc_flat_{save_restore,output_function_prologue): Likewise.
2685         ({save,restore}_regs): No longer inline.
2686
2687 Mon Sep  8 03:08:35 1997  Jim Wilson  <wilson@cygnus.com>
2688
2689         * i960.h (LINK_SPEC): Handle -mjX and -mrp switches.
2690
2691         * mips.md (nonlocal_goto_receiver): Define.
2692
2693         * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
2694
2695         * alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
2696         is passed in.
2697         * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
2698         SFmode for 64 bit hosts.
2699
2700         * profile.c (output_arc_profiler): Verify next_insert_after is an
2701         INSN before and after skipping a stack pop.  Check next_insert_after
2702         for non NULL before deferencing it.
2703         (output_func_start_profiler): Set DECL_EXTERNAL to zero.
2704
2705         * va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
2706
2707         * m68k.md (iorsi_zexthi_ashl16): Disable.
2708
2709         * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
2710
2711 Sun Sep  7 18:30:46 1997  Jason Merrill  <jason@yorick.cygnus.com>
2712
2713         * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
2714         prologue insn, only the first elt is significant.
2715         (output_call_frame_info): For exception handling, always use 4-byte
2716         fields as specified by the dwarf2 spec.
2717         Don't skip trivial FDEs.
2718
2719 Sun Sep  7 03:35:28 1997  Paul Eggert  <eggert@twinsun.com>
2720
2721         * fix-header.c (std_include_table): Remove bogus entry for popen
2722         under stdio.h with ANSI_SYMBOL.  popen is a POSIX2_SYMBOL.
2723
2724 Fri Sep  5 17:19:58 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2725
2726         * sh.md (movsf_ie+1): Typo fix.
2727
2728 Fri Sep  5 10:08:44 1997  Jeffrey A Law  (law@cygnus.com)
2729
2730         * v850: New directory for v850 port.
2731         * v850/lib1funcs.asm: New file.
2732         * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
2733         * ginclude/va-v850.h: New file.
2734         * varargs.h, stdarg.h: Include va-mn10200.h.
2735         * configure.in (mn10200-*-*): New target.
2736         * Makefile.in (USER_H): Add va-mn10200.h. 
2737
2738         * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
2739         * mips/xm-news.h (SYS_SIGLIST_DECLARED): Define.
2740         * mips/xm-sysv4.h (SYS_SIGLIST_DECLARED): Define.
2741
2742 Fri Sep  5 03:50:15 1997  David Edelsohn  <edelsohn@mhpcc.edu>
2743
2744         * rs6000.md (fma patterns): Extend previous -mno-fused-madd
2745         patch to DFmode patterns inadvertently omitted.
2746
2747 Thu Sep  4 20:06:02 1997  Christian Kuehnke  <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
2748
2749         * sparc.md: Add ultrasparc scheduling support.
2750         * sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
2751
2752 Wed Sep  3 20:56:24 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2753
2754         * sh.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Define.
2755
2756 Wed Sep  3 20:52:07 1997  Joel Sherrill  <joel@OARcorp.com>
2757
2758         * sh/rtems.h: New file.
2759
2760 Wed Sep 3  17:30:36 1997  Stan Cox  <coxs@dg-rtp.dg.com>
2761
2762         * reg-stack.c (subst_stack_regs): Pop the stack register for a
2763         computed goto which sets the same stack register.
2764
2765 Wed Sep 3  17:30:36 1997  Jim Wilson  <wilson@cygnus.com>
2766
2767         * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
2768         
2769 Wed Sep  3 11:25:19 1997  Jeffrey A Law  (law@cygnus.com)
2770
2771         * pa.md (reload peepholes): Fix typo in last change.
2772
2773 Wed Sep  3 03:02:02 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2774
2775         * sh.md (movsi_ie): Move t/r alternative after r/r alternative.
2776
2777 Tue Sep  2 18:41:55 1997  Jeffrey A Law  (law@cygnus.com)
2778
2779         * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
2780         * collect2.c (sys_errlist): Likewise.
2781         * cpplib.c (sys_errlist): Likewise.
2782         * gcc.c (sys_errlist): Likewise.
2783         * protoize.c (sys_errlist): Likewise.
2784         * configure.in: Check for strerror.
2785         * xm-freebsd.h (HAVE_STRERROR): Remove definition.
2786         * xm-gnu.h (HAVE_STRERROR): Likewise.
2787         * xm-linux.h (HAVE_STRERROR): Likewise.
2788         * xm-netbsd.h (HAVE_STRERROR): Likewise.
2789         * alpha/xm-linux.h (HAVE_STRERROR): Likewise.
2790         * i386/xm-bsd386.h (HAVE_STRERROR): Likewise.
2791         * i386/xm-cygwin32.h (HAVE_STRERROR): Likewise.
2792         * i386/xm-dos.h (HAVE_STRERROR): Likewise.
2793         * i386/xm-mingw32.h (HAVE_STRERROR): Likewise.
2794         * pa/xm-pa.h (HAVE_STRERROR): Likewise.
2795         * pa/xm-papro.h (HAVE_STRERROR): Likewise.
2796         * rs6000/xm-cygwin32.h (HAVE_STRERROR): Likewise.
2797         * rs6000/xm-sysv4.h (HAVE_STRERROR): Likewise.
2798
2799         * collect2.c (SYS_SIGLIST_DECLARED): Renamed from
2800         DONT_DECLARE_SYS_SIGLIST.
2801         * mips-tfile.c (SYS_SIGLIST_DECLARED): Likewise.
2802         * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
2803         * xm-freebsd.h (DONT_DECLARE_SYS_SIGLIST): Likewise.
2804         * alpha/xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
2805         * i386/xm-bsd386.h (DONT_DECLARE_SYS_SIGLIST): Likewise.
2806         * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Likewise.
2807         * mips/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Likewise.
2808         * rs6000/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Likewise.
2809         * sparc/xm-sol2.h (DONT_DECLARE_SYS_SIGLIST): Likewise.
2810         * configure.in: Check for sys_siglist declaration.
2811
2812         * Makefile.in (libgcc2.a): Add missing "else true" clause.
2813         (stage{1,2,3,4}-start): Likewise.
2814
2815         * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
2816         are relative to the next instruction, not the current instruction.
2817
2818 Tue Sep  2 14:15:32 1997  Jason Merrill  <jason@yorick.cygnus.com>
2819
2820         * toplev.c (xrealloc): Handle null ptr.
2821
2822 Tue Sep  2 13:42:38 1997  Paul N. Hilfinger  <hilfingr@CS.Berkeley.EDU>
2823
2824         * fixincludes: Permits spaces between # and define.  Discard C++
2825         comments in sys/pci.h on HP/UX 10.20.
2826
2827 Tue Sep  2 09:28:31 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2828
2829         * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
2830
2831 Tue Sep  2 00:19:01 1997  Jason Merrill  <jason@yorick.cygnus.com>
2832
2833         * expr.c (expand_expr, case COND_EXPR): It's OK to merge two
2834         SAVE_EXPRs.
2835
2836 Mon Sep  1 23:36:45 1997  Jeffrey A Law  (law@cygnus.com)
2837
2838         * pa.c (restore_unscaled_index_insn_codes): New function.
2839         (record_unscaled_index_insn_codes): Likewise.
2840         (output_function_prologue): Call restore_unscaled_index_insn_codes.
2841         (output_function_epilogue): Free memory for unscaled_index_insn_codes.
2842         (pa_reorg): Call record_unscaled_index_insn_codes.
2843
2844 Mon Sep  1 14:46:09 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2845
2846         * sh.md (casesi_jump_1, casesi_jump2): Generate expanders.
2847         (casesi_jump): Delete.
2848         (casesi) Use gen_casesi_jump_1 and gen_casesi_jump2 instead of
2849         gen_casesi_jump.
2850
2851 Mon Sep  1 14:36:36 1997  Paul Eggert  <eggert@twinsun.com>
2852
2853         * sparc/sol2.h (CPP_SPEC): Add -D__STDC__=0 unless -ansi
2854         or -traditional, for compatibility with Sun's practice.
2855         * i386/sol2.h (CPP_SPEC), rs6000/sol2.h (CPP_SPEC): Likewise.
2856         * configure.in ({sparc,i[3456]86,powerpcle}-*-solaris2*):
2857         Set fixincludes=Makefile.in.
2858
2859 Mon Sep  1 14:08:23 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2860
2861         * Makefile.in (config.status): Depend on version.c.
2862
2863 Mon Sep  1 13:48:02 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2864
2865         * acconfig.h: Remove include of config2.h.
2866         * configure.in: Build auto-config.h, not config.h, from autoconf data.
2867         Add auto-conf.h in front of all other host_xm_file entries.
2868         Make config.h, not config2.h, from host_xm_file.
2869         * Makefile.in (auto-config.h): New rule; was config.h.
2870         (distclean): Remove auto-config.h, not config2.h.
2871
2872         * expr.c (do_jump_by_parts_equality_rtx): Try to do by IOR of
2873         all the words.
2874
2875 Mon Sep  1 13:07:36 1997  Bob Manson  <manson@charmed.cygnus.com>
2876
2877         * sparc/t-vxsparc (TARGET_LIBGCC2_CFLAGS): New definition.
2878         (LIBGCC2_CFLAGS): Deleted.
2879         * m68k/t-vxworks68: Likewise.
2880         * i960/t-vxworks960: Likewise.
2881         * a29k/t-vx29k: Likewise.
2882
2883 Sun Aug 31 17:12:27 1997   Paul Eggert  <eggert@twinsun.com>
2884
2885         * real.c (EMULONG): Correct typo in spelling of HOST_BITS_PER_LONGLONG.
2886
2887 Fri Aug 29 16:13:51 1997  Jeffrey A Law  (law@cygnus.com)
2888
2889         * mips.md (movstrsi_internal[23]): Set insn type to "store" to
2890         get more accurate schedules.
2891
2892         * pa.md (reload_peepholes): Make sure operand is a REG before
2893         examining REGNO.  Allow general registers too.
2894
2895 Thu Aug 28 12:34:56 1997  Doug Evans  <dje@seba.cygnus.com>
2896
2897         * reload1.c (reload_cse_no_longer_dead): Don't pass incremented regno
2898         to SET_HARD_REG_BIT, it can be evaluated twice.
2899
2900 Wed Aug 27 20:15:53 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2901
2902         * sh/elf.h: (LINK_SPEC): Use shlelf.
2903         (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX, ASM_FILE_START): Redefine.
2904         * sh/lib1funcs.asm (___ashrsi3, ___ashlsi3, ___lshrsi3):
2905         Truncate shift count.  Use braf if not SH1.
2906         * sh.c (sfunc_uses_reg): No longer static.
2907         Check for SImode inside the USE.
2908         (shiftcosts, expand_ashiftrt, shl_sext_kind): 
2909         Use SH_DYNAMIC_SHIFT_COST.
2910         (sh_dynamicalize_shift_p, output_branchy_insn): New functions.
2911         (output_ieee_ccmpeq, mova_p, cache_align_p, fixup_aligns): Likewise.
2912         (branch_offset, short_cbranch_p, med_branch_p): Likewise.
2913         (braf_branch_p, align_length, fixup_addr_diff_vecs): Likewise.
2914         (addr_diff_vec_adjust, get_dest_uid, gen_far_branch): Likewise.
2915         (split_branches, regs_used, gen_block_redirect): Likewise.
2916         (from_compare): Can't compare non-zero DImode constant directly.
2917         Emit special code for TARGET_SH3E floating point with code == GE.
2918         Force 0.0 into a register for SH3E.
2919         (print_operand): Add ','.
2920         Emit the actual comparison instruction.
2921         (sh_builtin_saveregs): Save floating point registers in order that
2922         allows pre-decrement.
2923         (find_barrier): New arguments num_mova and mova.  Changed caller.
2924         When rewinding to before a mova, also restore the last found barrier.
2925         Branch is now known to be shortened.
2926         Prefer barriers where no new alignment is needed.
2927         More generic alignment for cache lines.
2928         Add checks for pieces of code that use more table space than their
2929         own size.
2930         Fix up the barrier we return so that the alignment will always be
2931         after the table.
2932         Remove limit adjustments for table alignment.
2933         Handle PARALLELs correctly.
2934         (machine_dependent_reorg): Add extra pass to split insns.
2935         Don't scan instructions twice for broken moves.
2936         Calculate insn length, call fixup_addr_diff_vecs.
2937         Call split_branches.
2938         Add alignment for loops and after BARRIERs.
2939         Initialize max_uid_before_fixup_addr_diff_vecs.
2940         Advance mdep_reorg_phase.
2941         Clear insn_addresses.
2942         (output_far_jump): Use braf and/or pre-allocated scratch register
2943         when possible.
2944         (expand_ashiftrt): Truncate shift count.
2945         (push_regs): Push PR last.
2946         (sh_expand_epilogue): Pop PR first.
2947         (code_for_indirect_jump_scratch, mdep_reorg_phase): New variables.
2948         (uid_align, uid_align_max): Likewise.
2949         (max_uid_before_fixup_addr_diff_vecs, sh_addr_diff_vec_mode): Likewise.
2950         (braf_label_ref_operand): New predicate.
2951         (initial_elimination_offset): calculate offset from
2952         RETURN_ADDRESS_POINTER_REGNUM starting with total_saved_regs_space.
2953         (output_branch): Expect out-of-range condbranches to have been split.
2954         * sh.md (rotlsi3_16): Named insn.
2955         (rotlsi3): Rewritten to use superoptimizer patterns.
2956         (adddi3, subdi3, ashrsi2_16, ashrsi2_31): Always split.
2957         (movsi_i, movsi_ie): replace t/z alternative with t/r alternative.
2958         Use pcload_si and load_si insn types.
2959         (adddi3+1, subdi3+1, ashrsi2_16+1, ashrsi2_31+1) New define_splits.
2960         (addc, subc, ashlsi_c): New insns.
2961         (attribute "type"): New values dyn_shift, load_si, pcload_si, fmove,
2962         jump_ind, arith3 and arith3b.
2963         (function_unit "fp"): Take fmove into account.
2964         (function_unit "int"): Uses one cycle for !dyn_shift.
2965         (function_unit "memory"): Special case for load_si and pcload_si.
2966         (attribute "in_delay_slot): handle pcload_si.
2967         (cmpgtdi_t, cmpgedi_t, cmpgeudi_t, cmpgtudi_t): Type arith3.
2968         (cmpsi+1, cmpeqdi_t) Type arith3b.
2969         (movsf_ie, alternatives f/fGH/X, f/y/X, y/f/X): Type fmove.
2970         (extendsidi2): Delete.
2971         (cmpeqsi_t-2): Delete. (Redundant with movt.)
2972         (*rotlhi3_8) Name.
2973         (iorsi3, rotlsi3_1, rotlsi3_31, rotlsi3_16, (*rotlhi3_8): Type arith.
2974         (ashlsi3_k, ashlhi3_ki, ashrsi2_16, ashrsi2_31, lshrsi3_m): Likewise.
2975         (lshrsi3_k, lshrhi3_m, lshrhi3_k, ashldi3_k, lshrdi3_k): Likewise.
2976         (ashrdi3_k, xtrct_left, xtrct_right, dect, mova, movt): Likewise.
2977         (movt): Likewise.
2978         (ashlsi3_d, ashrsi3_d, lshrsi3_d): Type dyn_shift.
2979         (indirect_jump_scratch, *casesi_jump_1, *casesi_jump_2): Type jump_ind.
2980         (ashlsi3, ashlsi3_n, lshrsi3, lshrsi3_n): Use sh_dynamicalize_shift_p.
2981         (movsf_ie+1, movsf_ie+2): Exchange.
2982         (cmpeqdi_t-1, cmpeqdi_t, cmpgtdi_t, cmpgedi_t): New insns.
2983         (cmpgeudi_t, cmpgtudi_t, movsi_i_lowpart, ieee_ccmpeqsf_t): Likewise.
2984         (cmpdi, movnegt): New define_expands.
2985         (movsi_ie): Add y,y alternative.
2986         (sge): Use it for ! TARGET_IEEE.  Use special code for TARGET_IEEE.
2987         (sle): Use sge.
2988         (align_4, casesi_jump): Now define_expand.
2989         (casesi_0, addr_diff_vec_adjust, align_log): New patterns.
2990         (*casesi_jump_[12]): Likewise.
2991         (casesi): Use casesi_0 and casesi_jump.
2992         (casesi_worker): Depends on the mode used for the table.
2993         (define_delay for cbranches):  Test TARGET_SH2.
2994         Changed all callers of from_compare.
2995         (attribute "length"): Take use of braf and scratch registers into
2996         account.
2997         (indirect_jump_scratch, block_branch_redirect): New patterns.
2998         (jump): Call output_far_jump for any jump larger than 4 bytes.
2999         (inverse_branch_true, inverse_branch_false): Remove.
3000         (bne, blt, ble, bltu, bleu): Canonicalize.
3001         (attribute "cpu"): Remove "sh0" alternative.
3002         * sh.h (ADJUST_COST): Lower cost of non-address sfunc dependencies.
3003         Adjust cost of load_si / pcload_si insns when not used for call.
3004         (enum reg_class): Move GENERAL_REGS after FPUL_REGS.
3005         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise.
3006         (REGISTER_MOVE_COST): Add costs for fpul <-> mac, pr moves.
3007         Fix to match default cost in regclass.  Move to T reg not costly.
3008         When checking for GENERAL_REGS, check for R0_REGS too.
3009         (INITIALIZE_TRAMPOLINE): Include code for constant parts.
3010         (SHIFT_COUNT_TRUNCATED): Not true for TARGET_SH3.
3011         (CPP_SPEC): Define __sh1__ if no specific cpu is selected.
3012         (FUNCTION_BOUNDARY): Align to cache line boundary.
3013         (optimize, sh_addr_diff_vec_mode, machine_dependent_reorg): Declare.
3014         (addr_diff_vec_adjust, code_for_indirect_jump_scratch): Declare.
3015         (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Declare.
3016         (output_ieee_ccmpeq, output_branchy_insn, sfunc_uses_reg): Declare.
3017         (ASM_OUTPUT_ADDR_DIFF_ELT): Depends on sh_addr_diff_vec_mode.
3018         (PREDICATE_CODES): Add braf_label_ref_operand and register_operand.
3019         (IEEE_BIT, TAGET_IEEE, LOCAL_LABEL_PREFIX, ASSEMBLER_DIALECT): Define.
3020         (CACHE_LOG, enum mdep_reorg_phase_e, TRAMPOLINE_ALIGNMENT): Define.
3021         (SH_DYNAMIC_SHIFT_COST): Define.
3022         (TARGET_SWITCHES): Remove -m0 entry.  Add -mieee, -mno-ieee.
3023         (OVERRIDE_OPTIONS): sh_cpu defaults to CPU_SH1.
3024         Initialize sh_addr_diff_vec_mode.
3025         (REG_ALLOC_ORDER): Move FP0 behind FP7.
3026         Move all FP registers in front of the general registers.
3027         (SECONDARY_OUTPUT_RELOAD_CLASS): Add case for MAC_REGS / PR_REGS.
3028         When checking for GENERAL_REGS, check for R0_REGS too.
3029         Fix direction of compares to {FIR,LA}ST_FP_REG.
3030         (SECONDARY_INPUT_RELOAD_CLASS): check for fp_one_operand.
3031         (ASM_OUTPUT_ALIGN_CODE, ASM_OUTPUT_LOOP_ALIGN, SH0_BIT): Delete.
3032         (TARGET_SH0, PUSH_ROUNDING, TRAMPOLINE_TEMPLATE): Delete.
3033         (TRAMPOLINE_ALIGN): Delete.
3034         (processor_type): Remove PROCESSOR_SH0.
3035         (ADJUST_INSN_LENGTH): Remove check for preceding BARRIER.
3036         Adjust ADDR_DIFF_VECs.  Add code for alignment instructions.
3037         Check if insn needing a delay slot is already inside a SEQUENCE.
3038
3039         * va-sh.h (__va_rounded_size): Delete.
3040         (__LITTLE_ENDIAN_P, __SCALAR_TYPE, __PASS_AS_FLOAT): Define.
3041         (va_arg): Unify big and little endian code.
3042         Optimization for small integers.
3043
3044         From Fred Fish:
3045         * sh.h (INITIAL_ELIMINATION_OFFSET): Proper bracketing.
3046         (REGNO_REG_CLASS, PREFERRED_RELOAD_CLASS): Likewise.
3047         (SECONDARY_{OUTPUT,INPUT}_RELOAD_CLASS, LIBCALL_VALUE): Likewise.
3048         (ROUND_ADVANCE, FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS): Likewise.
3049         (FUNCTION_PROFILE, FUNCTION_EPILOGUE, RETURN_ADDR_RTX): Likewise.
3050         (REGNO_OK_FOR_INDEX_P, EXTRA_CONSTRAINT_Q, MODE_DISP_OK_4): Likewise.
3051         (GO_IF_LEGITIMATE_{INDEX,ADDRES}, LEGITIMIZE_ADDRESS): Likewise.
3052         (CONST_COSTS, REGISTER_MOVE_COST, ASM_OUTPUT_CONSTRUCTOR): Likewise.
3053         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Likewise.
3054         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP, ASM_OUTPUT_LABEL): Likewise.
3055         (ASM_OUTPUT_ALIGN),  ASM_DECLARE_FUNCTION_NAME): Likewise.
3056         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_CASE_LABEL): Likewise.
3057         (ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_ADDR_VEC_ELT) Likewise.
3058         (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_INT): Likewise.
3059         (ASM_OUTPUT_SHORT, ASM_OUTPUT_CHAR, ASM_OUTPUT_BYTE): Likewise.
3060         (ASM_OUTPUT_SKIP, FINAL_PRESCAN_INSN, PRINT_OPERAND): Likewise.
3061         (PRINT_OPERAND_ADDRESS, HANDLE_PRAGMA, ADJUST_INSN_LENGTH): Likewise.
3062         (PROMOTE_MODE): Likewise.
3063         (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.
3064         (ASM_OUTPUT_INTERNAL_LABEL): Use %L.
3065         * sh/elf.h: (ASM_OUTPUT_LABELREF): Use %U.
3066         (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.
3067         (ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SOURCE_LINE): Use %L.
3068
3069 Wed Aug 27 16:42:21 1997  Bob Manson  (manson@cygnus.com)
3070
3071         * t-h8300 (TARGET_LIBGCC2_CFLAGS): New definit.
3072         (LIBGCC2_CFLAGS): Deleted.
3073         * t-mn10200: Likewise.
3074
3075 Wed Aug 27 17:10:51 1997  Jim Wilson  <wilson@cygnus.com>
3076
3077         * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
3078         last change.
3079
3080 Wed Aug 27 15:19:55 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
3081
3082         * dwarfout.c (dwarfout_start_new_source_file): Strip leading '*'s
3083         from label names.
3084
3085 Wed Aug 27 14:33:38 1997  Jim Wilson  <wilson@cygnus.com>
3086
3087         * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
3088         address where an offsettable address is required.
3089
3090 Wed Aug 27 10:38:32 1997  Jeffrey A Law  (law@cygnus.com)
3091
3092         * reorg.c (dbr_schedule): Allow current_function_return_rtx
3093         to be something other than a REG.
3094         * function.c (expand_function_end): Fix current_function_return_rtx
3095         if it was a pseudo.
3096
3097         * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
3098         * x-netbsd: Likewise
3099         * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
3100         (INSTALL_HEADERS): Delete.
3101         * x-dguxbcs: Likewise.
3102         * x-hp3bsd44: Likewise
3103         * x-pa: Likewise.
3104
3105 Wed Aug 27 07:15:58 1997  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
3106
3107         * configure.in (AC_PROG_CC, AC_PROG_MAKE_SET): Check for gcc before
3108         testing for flex.
3109  
3110 Wed Aug 27 02:24:35 1997  Jim Wilson  <wilson@cygnus.com>
3111
3112         * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
3113         TYPE_DECL_IS_STUB instead of DECL_NAME.
3114
3115         * Makefile.in (install-info): Don't cd into srcdir.  Add srcdir to
3116         filenames.  Use sed to extract base filename for install.
3117
3118 Wed Aug 27 01:56:18 1997  Doug Evans  <dje@seba.cygnus.com>
3119
3120         * loop.c (combine_movables): Earlier insns don't match later ones.
3121
3122         * c-decl.c (grokdeclarator): If array index or size calculations
3123         overflow, issue an error.
3124         * fold-const.c (int_const_binop): New static function.
3125         (const_binop, size_binop): Call it.
3126
3127 Tue Aug 26 17:51:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
3128
3129         * collect2.c (main): Check SCAN_LIBRARIES instead of LDD_SUFFIX
3130         to decide whether to always emit init and fini handles.
3131
3132 Tue Aug 26 13:51:10 1997  Jim Wilson  <wilson@cygnus.com>
3133
3134         * stor-layout.c (layout_record): Test DECL_PACKED instead of
3135         TYPE_PACKED to determine alignment.
3136
3137         * combine.c (try_combine): Distribute REG_DEAD notes created for
3138         i3dest_killed similar to the ones created for i2dest_in_i2src
3139         and for i1dest_in_i1src.
3140
3141 Tue Aug 26 11:36:34 1997  Jeffrey A Law  (law@cygnus.com)
3142
3143         * loop.c (check_final_value): Don't miss a biv increment in a
3144         parallel.
3145
3146         * loop.c (check_dbra_loop): If the loop biv is only used
3147         for counting, then normalize it so that the initial
3148         value is zero.
3149
3150 Tue Aug 26 06:19:48 1997  Jason Merrill  <jason@yorick.cygnus.com>
3151
3152         * dwarfout.c (*_LABEL): Add initial '*'.
3153
3154 Tue Aug 26 05:27:28 1997  Richard Henderson  <rth@cygnus.com>
3155
3156         * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
3157         * configure.in (alpha-*-linux-gnulibc1): New target.
3158         (alpha-*-linux-gnu*): Don't build crtbegin/end.
3159
3160 Mon Aug 25 19:11:38 1997  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3161
3162         * reload1.c (reload_cse_simplify_operands): Fix typo.
3163
3164 Mon Aug 25 19:04:42 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3165
3166         * c-typeck.c (common_type): Always prefer long double to double.
3167
3168 Mon Aug 25 08:55:00 1997  Jeffrey A Law  (law@cygnus.com)
3169
3170         * pa.c (secondary_reload_class): (mem (mem ... )) does not need
3171         secondary reloads.
3172
3173         * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
3174         store of the argument registers.
3175
3176 Sun Aug 24 21:25:06 1997  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3177
3178         * reload1.c (reload_cse_mem_conflict_p, case MEM): Also check
3179         for conflict with the address.
3180
3181 Sat Aug 23 18:43:22 1997  Jim Wilson  <wilson@cygnus.com>
3182
3183         * acconfig.h (NEED_DECLARATION_CALLOC): Add.
3184         * configure.in: Add GCC_NEED_DECLARATION call for calloc.
3185         * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
3186         declarations.
3187
3188         * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
3189         * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
3190         
3191 Sat Aug 23 00:18:22 1997  Jeffrey A Law  (law@cygnus.com)
3192
3193         * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
3194         around branch tables.
3195         * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
3196         and .end_brtab directives if TARGET_GAS.
3197
3198 Fri Aug 22 19:17:25 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3199
3200         * function.c (instantiate_virtual_regs_1, case ADDRESSOF):
3201         New case.
3202         (fix_lexical_addr): Handle (addressof (mem ...)).
3203
3204 Thu Aug 21 17:56:06 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3205
3206         * reload.c (push_secondary_reload): If SECONDARY_MEM_NEEDED,
3207         call get_secondary_mem for input before adding reload and
3208         for output after.
3209         (push_reload): Likewise.
3210
3211 Thu Aug 21 15:57:03 1997  Jim Wilson  <wilson@cygnus.com>
3212
3213         * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
3214         block_stack before dereferencing it.
3215
3216 Wed Aug 20 15:45:52 1997  Dave Love  <d.love@dl.ac.uk>
3217
3218         * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
3219         list.
3220
3221 Wed Aug 20 15:30:36 1997  Stan Cox  <coxs@dg-rtp.dg.com>
3222
3223         * i386.c (ix86_prologue, ix86_epilogue): New functions.
3224         ({function,ix86_expand}_{pro,epi}logue, ix86_expand_prologue):
3225         Use ix86_prologue.
3226
3227 Wed Aug 20 14:57:11 1997  Michael Meissner  <meissner@cygnus.com>
3228
3229         * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
3230
3231 Tue Aug 19 17:10:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
3232
3233         * cplus-dem.c: Add 'extern' to prepends_underscore.
3234
3235 Tue Aug 19 15:46:30 1997  Jeffrey A Law  (law@cygnus.com)
3236
3237         * mips/r3900.h (SUBTARGET_CC1_SPEC): Remove some unnecessary stuff.
3238         (MIPS_CPU_STRING_DEFAULT, MIPS_ISA_DEFAULT): Define.
3239
3240 Mon Aug 18 21:49:02 1997  Jim Wilson  <wilson@cygnus.com>
3241
3242         * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
3243         reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
3244
3245 Mon Aug 18 17:39:02 1997  Mike Meissner  <meissner@cygnus.com>
3246
3247         * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
3248         quotes around the name.
3249
3250 Mon Aug 18 17:26:42 1997  Doug Evans  <dje@cygnus.com>
3251
3252         * mips.md (movsi_ulw,movsi_usw,loadgp): Give unspec a mode.
3253
3254 Mon Aug 18 11:05:17 1997  Jeffrey A Law  (law@cygnus.com)
3255
3256         * mips/r3900.h (TARGET_DEFAULT): Turn on MASK_MIPS3900.
3257
3258 Sun Aug 17 14:39:18 1997  Gavin Koch  (gavin@cygnus.com)
3259
3260         * mips/elf.h (PREFERRED_DEBUGGING_TYPE): Only set if not already set.
3261         * mips.c (TARGET_{SINGLE,SOFT}_FLOAT): Make sure both aren't set.
3262         (PROCESSOR_R3900): Set flag from option.
3263         * mips.h: Add m3900 option.
3264         ({PROCESSOR,TARGET,MASK}_R3900): Define.
3265         (GENERATE_{BRANCHLIKELY,MADD,MULT3): Likewise.
3266         (debugj,MASK_DEBUG_J): Delete to make room for m3900.
3267         (BRANCH_LIKELY_P): Redefine to include 3900.
3268         (GAS_ASM_SPEC,CC1_SPEC): Add m3900 option.
3269         (RTX_COSTS): Add 3900.
3270         * mips.md: Add 3900, including three op madd and mult.
3271         * configure.in (mipstx39{,el}-*-elf*): New cases.
3272         * mips/r3900.h: New file.
3273
3274 Fri Aug 15 07:34:12 1997  Richard Earnshaw (rearnsha@arm.com)
3275
3276         * arm.md (umulsi3_highpart, smulsi3_highpart): Add extra reloading
3277         alternatives.
3278
3279 Fri Aug 15 07:34:12 1997  Torbjorn Granlund  <tege@tege.pdc.kth.se>
3280
3281         * arm.md (umulsi3_highpart, smulsi3_highpart): New patterns.
3282         * arm.c (arm_rtx_costs, case TRUNCATE): New case.
3283
3284 Fri Aug 15 06:40:03 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3285
3286         * genemit.c (main): Write an include for flags.h.
3287         * genoutput.c (main): Likewise.
3288
3289         * alpha.c (override_options): Turn off byte insns for cpu=ev4 or ev5.
3290
3291         * alpha.md (allocate_stack): If stupid reg allocation, add USE
3292         for loop variable.
3293         
3294         * fold-const.c (fold, compare cases): Add calls to `fold' to
3295         previous change.
3296
3297 Wed Aug 13 17:32:38 1997  Jason Merrill  <jason@yorick.cygnus.com>
3298
3299         * rtl.h ({SET,}ADDRESSOF_DECL): op 1 of ADDRESSOF is now the decl.
3300         * function.c (put_var_into_stack, gen_mem_addressof,
3301         put_addressof_into_stack): Adjust.
3302
3303         * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
3304         again for the slot after we give it RTL.
3305         (expand_expr, case VAR_DECL): Lose gen_mem_addressof case.
3306
3307 Wed Aug 13 17:29:25 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
3308
3309         * c-lex.c (check_newline): Pass finput again to HANDLE_PRAGMA.
3310
3311 Wed Aug 13 16:51:35 1997  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3312
3313         * reload1.c (reload_cse_simplify_operands): New function.
3314         (reload_cse_no_longer_dead,reload_cse_delete_death_notes): Likewise.
3315         (no_longer_dead_regs): New static variable.
3316         (reload_cse_simplify_set): Now returns int.
3317         Don't delete death notes on previous insns, call
3318         reload_cse_no_longer_dead instead.
3319         Call validate_change with nonzero value for in_group.
3320         (reload_cse_noop_set_p): Don't delete death notes on previous insns,
3321         call reload_cse_no_longer_dead instead.
3322         (reload_cse_regs): Initialize no_longer_dead_regs and call
3323         reload_cse_delete_death_notes as appropriate.
3324         Call apply_change_group after calling reload_cse_simplify_set.
3325         Call reload_cse_simplify_set on elements of a PARALLEL.
3326         Call reload_cse_simplify_operands if reload_cse_simplify_set could
3327         not simplify things.
3328
3329 Wed Aug 13 16:18:42 1997  Douglas Rupp  <rupp@gnat.com>
3330
3331         * vms.h (LINK_SPEC): Echo -shared, not -share, to linker.
3332
3333 Wed Aug 13 12:51:11 1997  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3334
3335         * m68k.md: Add braces to clarify nesting.
3336
3337 Wed Aug 13 12:51:11 1997  Jason Merrill  <jason@yorick.cygnus.com>
3338
3339         * calls.c (expand_call): Use assign_temp and mark_addressable
3340         instead of calling gen_mem_addressof directly.
3341
3342 Wed Aug 13 12:40:15 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3343
3344         * Makefile.in (install-man): Add missing $(exeext).
3345
3346         * configure.in (alpha*-dec-osf*): Merge various cases;
3347         split off version-specific files in new case statement.
3348         Include osf2or3.h even for OSF1.2.
3349
3350         * alpha.c (NUM_ARGS): New macro.
3351         (CURRENT_FUNCTION_ARGS_INFO): Deleted.
3352         (alpha_builtin_saveregs): Use new macro.
3353         (function_arg): Deleted.
3354         (alpha_arg_type, alpha_arg_info_reg_val): New functions.
3355         * vms.h (enum avms_arg_type, avms_arg_info): New types.
3356         (CUMULATIVE_ARGS, INIT_CUMULATIVE_ARGS): Update definitions
3357         to use new types.
3358         (SETUP_INCOMING_VARARGS): Likewise.
3359         (FUNCTION_ARG{,_PARTIAL_NREGS}, FUNCTION_ARG_ADVANCE): Likewise.
3360         Only update CUM in FUNCTION_ARG_ADVANCE.
3361         
3362 Tue Aug 12 19:27:32 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
3363
3364         * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
3365         as initial value for real_label_map.
3366         (copy_for_inline): Likewise.
3367
3368 Tue Aug 12 16:15:36 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
3369
3370         * rtl.h (BYTECODE_LABEL): Use XSTR, not XEXP.
3371
3372         * calls.c (expand_calls): Properly call any_pending_cleanups.
3373
3374 Tue Aug 12 12:18:01 1997  Jason Merrill  <jason@yorick.cygnus.com>
3375
3376         * function.c (purge_addressof_1): Add force argument.
3377         (purge_addressof): If there are any ASM_OPERANDS in an insn, always
3378         put ADDRESSOFs into the stack.
3379
3380         * function.c (setjmp_protect): See through addressof.
3381         (setjmp_protect_args): Likewise.
3382         * calls.c (expand_call): For now, only use addressof if the type
3383         doesn't promote.
3384         * function.c (put_var_into_stack): Likewise.
3385         * expr.c (expand_expr): Likewise.
3386         * toplev.c (rest_of_compilation): Check inlineable instead of
3387         DECL_INLINE.
3388         * function.c (purge_addressof_1): Try recognizing the insn with
3389         and without the SUBREG.  If it doesn't work, just put the REG into
3390         the stack.
3391         (gen_mem_addressof): Set the mode of the MEM to the mode of the type.
3392         (put_var_into_stack): Don't be fooled by addressof in an enclosing
3393         scope.
3394
3395 Sun Aug 10 22:19:19 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3396
3397         * explow.c (probe_stack_range): Add USE for test_addr if -O0.
3398
3399 Sun Aug 10 22:15:40 1997  Jason Merrill  <merrill@churchy.gnu.ai.mit.edu>
3400
3401         * toplev.c (rest_of_compilation): Move purge_addressof before loop.
3402
3403 Sun Aug 10 15:25:51 1997  Jim Wilson  <wilson@cygnus.com>
3404
3405         * toplev.c (main): In -g handling code, add code to set len.
3406
3407         * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
3408         has integer TYPE_{MAX,MIN}_VALUE before using them.
3409
3410         * alpha.md (extendqihi2): Use HImode not QImode in force_reg call.
3411
3412 Sun Aug 10 16:47:34 1997  Nick Burrett  <nick.burrett@btinternet.com>
3413
3414         * arm/aof.h (COMMON_SECTION): New macro, define common_section.
3415         (EXTRA_SECTION_FUNCTIONS): Add COMMON_SECTION.
3416         (EXTRA_SECTIONS): Add in_common.
3417         (ASM_OUTPUT_COMMON): Call common_section() to indicate we've
3418         changed areas.
3419
3420 Sat Aug  9 20:04:35 1997  Jim Wilson  <wilson@cygnus.com>
3421
3422         * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
3423         extern inline function.
3424
3425 Sat Aug  9 13:01:06 1997  Michael Meissner  <meissner@cygnus.com>
3426
3427         * rs6000/sysv4.h (*_SPEC): Add support for -mads and -myellowknife.
3428         Use a common crt0.o for all embedded platforms.  Use --start-group
3429         and --end-group instead of -( and -) to allow better cut and pasting
3430         when debugging the linker.  Set default start for MVME text.
3431         (TARGET_SWITCHES): Add -mads and -myellowknife.
3432
3433 Fri Aug  8 20:12:43 1997  Per Bothner  <bothner@cygnus.com>
3434
3435         *  dwarf2out.c (gen_enumeration_type_die):
3436         Make code work for a tag name, without a TYPE_STUB_DECL.
3437         (gen_struct_or_union_type_die):  Likewise.
3438
3439 Fri Aug  8 18:10:40 1997  Marc Lehmann  <pcg@goof.com>
3440
3441         * i386/go32.h (HAS_INIT_SECTION, HAVE_ATEXIT): New macros.
3442
3443 Fri Aug  8 17:30:22 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
3444
3445         * i386.c (output_pic_addr_const, case PLUS): Emit the constant first.
3446
3447 Fri Aug  8 17:07:36 1997  Stan Cox  <coxs@dg-rtp.dg.com>
3448
3449         * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
3450         template.
3451         
3452         * reg-stack.c (compare_for_stack_reg): Swap only if the source and
3453         destination are both on the regstack.
3454         (subst_stack_regs_pat): Put the destination at the top of the regstack.
3455         
3456 Fri Aug  8 17:03:21 1997  Bernd Schmidt  <crux@pool.informatik.rwth-aachen.de>
3457
3458         * i386.md (pop): pop increments the stack pointer.
3459         (prologue_set_stack_ptr): New pattern.
3460         * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
3461         instead of subsi3. 
3462
3463 Fri Aug  8 17:00:36 1997  Paul Eggert  <eggert@twinsun.com>
3464
3465         * gansidecl.h, halfpic.h (STDIO_PROTO): Remove.
3466         * bitmap.h, c-tree.h, output.h, reload.h, rtl.h (STDIO_PROTO):
3467         Replace with PROTO in include files.
3468         * bc-emit.c: Include <stdio.h> before include files that formerly
3469         used STDIO_PROTO.
3470         * bc-optab.c, c-common.c, c-decl.c, caller-save.c, calls.c: Likewise.
3471         * convex.c, i860.c, mips.c, spur.c, tahoe.c, emit-rtl.c: Likewise.
3472         * explow.c, expmed.c, expr.c, genattrtab.c, halfpic.c: Likewise.
3473         * jump.c, optabs.c, profile.c, recog.c, regclass.c: Likewise.
3474         * rtlanal.c, sdbout.c, unroll.c: Likewise.
3475         * genattrtab.c (main): Generate files that include <stdio.h>
3476         before including files that formerly used STDIO_PROTO.
3477         * genemit.c (main), genextract.c (main), genopinit.c (main): Likewise.
3478         * genoutput.c (output_prologue), genpeep.c (main): Likewise.
3479         * genrecog.c (main): Likewise.
3480         * halfpic.h (PROTO): Use "gansidecl.h" to define this instead.
3481         (half_pic_finish): Declare without prototype; FILE isn't defined.
3482
3483         * bitmap.c, c-aux-info.c, c-lex.c: Include "config.h" first.
3484         * c-parse.in, c-pragma.c, 1750a.c, a29k.c, alpha.c: Likewise.
3485         * arm.c, clipper.c, dsp16xx.c, elxsi.c, fx80.c, gmicro.c: Likewise.
3486         * h8300.c, i370.c, i386.c, i386/winnt.c, i960.c: Likewise.
3487         * m32r.c, m68k.c, m88k.c, mn10200.c, mn10300.c, ns32k.c: Likewise.
3488         * pa.c, pdp11.c, pyr.c, romp.c, rs6000.c, sparc.c, vax.c: Likewise.
3489         * we32k.c, cppmain.c, dbxout.c, flow.c, fold-const.c: Likewise.
3490         * gcc.c, gcov.c, global.c, integrate.c, local-alloc.c: Likewise.
3491         * loop.c, mips-tdump.c, mips-tfile.c, objc-act.c: Likewise.
3492         * real.c, reg-stack.c, reload.c, reload1.c, reorg.c, sched.c: Likewise.
3493         * stupid.c, tree.c, varasm.c, xcoffout.c: Likewise.
3494
3495 Fri Aug  8 14:52:35 1997  Jason Merrill  <jason@yorick.cygnus.com>
3496
3497         * function.c (fixup_stack_1): Stack slots can also be relative to
3498         the frame or stack pointers.
3499
3500 Fri Aug  8 14:13:49 1997  Richard Henderson  <richard@gnu.ai.mit.edu>
3501
3502         * dwarf2out.c (reg_loc_descriptor): Fix prototype.
3503         (concat_loc_descriptor): New function.
3504         (loc_descriptor): Call it.
3505         (add_AT_location_description): Also elide the descriptor if both
3506         halves of a CONCAT are pseudos.
3507         (add_location_or_const_value_attribute): Recognize CONCAT too.
3508
3509 Fri Aug  8 06:36:29 1997  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3510
3511         * c-common.c (if_stack{,_space,_pointer}): New static variables.
3512         (c_expand_{start_cond,start_else,end_cond}): New functions.
3513         * c-parse.in (compstmt_count): New static variable.
3514         (compstmt_start): New rule.
3515         (compstmt): Use new rule.
3516         (do_stmt_start): Update compstmt_count.
3517         (simple_if, stmt): Use new versions of start_cond, start_else,
3518         and end_cond.
3519
3520 Thu Aug  7 15:35:25 1997  Jim Wilson  <wilson@cygnus.com>
3521
3522         * mips/iris6.h (TARGET_LONG64): Don't define here.
3523         * mips.c (override_options): Set MASK_LONG64 for ABI_64.
3524         
3525         * mips.c (function_prologue): Don't emit ".ent", ".frame",
3526         ".mask", ".fmask" if flag_inhibit_size_directive is true.
3527         (function_epilogue): Don't emit ".end" if
3528         flag_inhibit_size_directive is true.
3529
3530         * mips/iris6.h (STARTFILE_SPEC, LIB_SPEC): Move
3531         -L/usr/lib{32,64}/mips? from STARTFILE_SPEC to LIB_SPEC.
3532
3533 Thu Aug  7 13:14:21 1997  Torbjorn Granlund  <tege@tunnis.tmg.se>
3534
3535         * fold-const.c (fold): Optimize unsigned x <= 0x7fffffff.
3536
3537 Thu Aug  7 12:46:31 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3538
3539         * explow.c (convert_memory_address, case LABEL_REF): Copy
3540         LABEL_REF_NONLOCAL_P.
3541
3542         * expr.c (store_constructor): Use CONST0_RTX macro, not always
3543         the integer version, when clearing a register.
3544
3545         * varasm.c (output_constructor): Correctly check for
3546         multi-word constant.
3547
3548 Thu Aug  7 10:04:42 1997  Douglas Rupp  <rupp@gnat.com>
3549
3550         * alpha/vms-tramp.asm: New file.
3551
3552         * gcc.c (execute): Don't allow -pipe on VMS.
3553         
3554         * alpha.c (vmskrunch): Don't strip off trailing digits.
3555         (vms_valid_decl_attribute_p): New function.
3556         * alpha/vms.h (TRAMPOLINE_TEMPLATE): Add another quadword of zeros.
3557         (TRAMPOLINE_SIZE): Now 32 bytes.
3558         (INITIALIZE_TRAMPOLINE): Put FNADDR at offset 16, CXT at 24.
3559         (DBX_DEBUGGING_INFO, ASM_FORMAT_PRIVATE_NAME): Always undefine.
3560         (STARTFILE_SPEC): Likewise.
3561         (PREFERRED_DEBUGGING_TYPE): Define to be Dwarf-2.
3562         (VALID_MACHINE_DECL_ATTRIBUTE, ASM_OUTPUT_SECTION{,_NAME}): New macros.
3563         (ASM_OUTPUT_ALIGN{,ED_COMMON}): Redefine.
3564         (LINK_SPEC): Pass -share and -v.
3565         (ENDFILE_SPEC, LIBGCC2_SPEC): Don't redefine.
3566
3567 Thu Aug  7 06:21:47 1997  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3568
3569         * Eliminate most -Wswitch warnings.
3570         * c-common.c (binary_op_error): Add default case to switch.
3571         (shorten_compare, truthvalue_conversion): Likewise.
3572         * c-iterate.c (collect_iteratores): Likewise.
3573         * c-typeck.c (comptypes, build_component_ref): Likewise.
3574         (build_binary_op, lvalue_p, build_unary_op): Likewise.
3575         (build_modify_expr, initializer_constant_valid_p): Likewise.
3576         (c_expand_return): Likewise.
3577         * calls.c (calls_function_1): Likewise.
3578         * combine.c (find_split_point, simplify_rtx): Likewise.
3579         (simplify_if_then_else, simplify_logical): Likewise.
3580         (extract_left_shift, make_compound_operation, force_to_mode): Likewise.
3581         (known_cond, nonzero_bits, num_sign_bit_copies): Likewise.
3582         (merge_outer_ops, simplify_shift_const, simplify_comparison): Likewise.
3583         (reversible_comparison_p, mark_used_regs_combine): Likewise.
3584         * convert.c (convert_to_integer): Likewise.
3585         * cse.c (canon_hash, exp_equiv_p): Likewise.
3586         (set_nonvarying_address_components, canon_reg): Likewise.
3587         (simplify_unary_operation, simplify_plus_minus): Likewise.
3588         (simplify_relational_operation, fold_rtx): Likewise.
3589         (cse_process_note,  count_reg_usage): Likewise.
3590         * dbxout.c (dbxout_symbol): Likewise.
3591         * dwarf2out.c (lookup_cfa_1, print_die): Likewise.
3592         * emit_rtl.c (copy_rtx_if_shared, reset_used_flags): Likewise.
3593         * explow.c (plus_constant_wide, convert_memory_address): Likewise.
3594         (promote_mode, emit_stack_save, emit_stack_restore): Likewise.
3595         * expmed.c (expand_divmod, emit_store_flag): Likewise.
3596         * expr.c (queued_subexp_p, is_zeros_p, safe_from_p): Likewise.
3597         (bc_expand_expr, preexpand_calls, convert_move): Likewise.
3598         * final.c (get_attr_length, final_scan_insn): Likewise.
3599         (walk_alter_subreg, alter_cond): Likewise.
3600         * flow.c (jmp_uses_reg_or_mem, mark_used_regs): Likewise.
3601         * fold-const.c (operand_equal_p, twoval_comparison_p): Likewise.
3602         (eval_subst, invert_truthvalue, range_binop): Likewise.
3603         (make_range, fold): Likewise.
3604         * function.c (fixup_var_refs_1, instantiate_virtual_regs_1): Likewise.
3605         * genattrtab.c (attr_copy_rtx, make_canonical): Likewise.
3606         (encode_units_mask, simplify_test_exp): Likewise.
3607         (find_and_mark_used_attributes, write_test_expr): Likewise.
3608         (simplify_with_current_value_aux, clear_struct_flag): Likewise.
3609         (count_sub_rtxs, gen_insn walk_attr_value): Likewise.
3610         (copy_rtx_unchanging): Likewise.
3611         * genconfig.c (walk_insn_part): Likewise.
3612         * genextract.c (walk_rtx): Likewise.
3613         * genoutput.c (scan_operands): Likewise.
3614         * genpeep.c (match_rtx): Likewise.
3615         * genrecog.c (add_to_sequence): Likewise.
3616         * integrate.c (copy_for_inline, copy_rtx_and_substitute): Likewise.
3617         (subst_constants): Likewise.
3618         * jump.c (duplicate_loop_exit_test, comparison_dominates_p): Likewise.
3619         (mark_jump_label, rtx_renumbered_equal_p): Likewise.
3620         (rtx_equal_for_thread_p): Likewise.
3621         * local-alloc.c (memref_referenced_p): Likewise.
3622         * loop.c (record_excess_regs, reg_in_basic_block_p): Likewise.
3623         (get_condition, replace_call_address): Likewise.
3624         (count_nonfixed_reads, find_and_verify_loops, find_mem_givs): Likewise.
3625         (maybe_eliminate_biv_1, invariant_p, simplify_giv_expr): Likewise.
3626         * optabs.c (emit_float_lib_cmp): Likewise.
3627         * print-tree.c (print_node): Likewise.
3628         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
3629         * reload.c (subst_reg_equivs, find_reloads_address_1): Likewise.
3630         (refers_to_regno_for_reload_p, find_equiv_reg): Likewise.
3631         * reload1.c (set_label_offsets, eliminate_regs): Likewise.
3632         (scan_paradoxical_subregs, count_occurrences): Likewise.
3633         * rtl.c (copy_rtx, copy_most_rtx): Likewise.
3634         * rtlanal.c (rtx_varies_p, rtx_addr_can_trap_p): Likewise.
3635         (reg_mentioned_p, reg_referenced_p, modified_between_p): Likewise.
3636         (modified_in_p, refers_to_regno_p, volatile_insn_p): Likewise.
3637         (volatile_refs_p, side_effects_p): Likewise.
3638         (inequality_comparison_p, replace_regs): Likewise.
3639         * sched.c (sched_analyze_2): Likewise.
3640         * stmt.c (expand_return): Likewise.
3641         * tree.c (staticp, unsave_expr_now, contains_placeholder_p): Likewise.
3642         (substitute_in_expr, build_type_attribute_variant): Likewise.
3643         (simple_cst_equal): Likewise.
3644         * unroll.c (remap_split_bivs): Likewise.
3645         * varasm.c (const_hash, compare_constant_1): Likewise.
3646         (decode_rtx_const, output_addressed_constants): Likewise.
3647         (output_constant): Likewise.
3648         * print-tree.c (print_node): Convert switch with one case into an if.
3649         * sched.c (memrefs_conflict_p): Likewise.
3650         * genrecog.c (write_tree_1): Output default case for every switch.
3651
3652         * profile.c (output_arc_profiler) [SMALL_REGISTER_CLASSES]:
3653         Apply PATTERN only to insns.
3654
3655 Thu Aug  7 06:13:20 1997  Robert Lipe  <robertl@dgii.com>
3656
3657         * i386/t-sco5 (libgcc2-elf.a): Resync with Makefile.in.
3658
3659 Wed Aug  6 19:28:05 1997  Jim Wilson  <wilson@cygnus.com>
3660
3661         * dwarf2out.c (build_abbrev_table): Use xrealloc not xmalloc.
3662
3663 Wed Aug  6 12:57:24 1997  Jason Merrill  <jason@yorick.cygnus.com>
3664
3665         * dwarf2out.c (output_call_frame_info): Always emit the info.
3666         (dwarf2out_frame_debug): We can initialize the temp reg in the
3667         epilogue, too.
3668
3669         * rtl.def: Add ADDRESSOF.
3670         * rtl.h (ADDRESSOF_TYPE, SET_ADDRESSOF_TYPE): New macros.
3671         * Makefile.in (mostlyclean): Remove *.addressof.
3672         * toplev.c (rest_of_compilation): Set DECL_DEFER_OUTPUT on
3673         non-nested inlines.  Run purge_addressof after CSE.
3674         (various): Add .addressof RTL dump file.
3675         * rtl.c (copy_rtx): No need to copy ADDRESSOF.
3676         * reload1.c (eliminate_regs): Elide ADDRESSOF.
3677         * recog.c (general_operand): (MEM (ADDRESSOF ())) is a valid operand.
3678         So is (ADDRESSOF ()).
3679         (memory_address_p): (ADDRESSOF ()) is a valid memory address.
3680         * integrate.c (expand_inline_function): If the structure_value_addr
3681         is an ADDRESSOF, we can use it as a constant.
3682         (copy_rtx_and_substitute): Copy a '0' operand over unchanged.
3683         * function.c (fixup_var_refs_1): Remove (ADDRESSOF (MEM ())).
3684         (gen_mem_addressof): New fn.
3685         (put_addressof_into_stack): New fn.
3686         (purge_addressof_1): New fn.
3687         (purge_addressof): New fn.
3688         (instantiate_decl): Don't bother looking into an ADDRESSOF.
3689         (put_var_into_stack): Call gen_mem_addressof for local REGs instead
3690         of calling put_reg_into_stack.
3691         * expr.c (expand_expr, case TARGET_EXPR): Put the temp in a register 
3692         if it will fit.
3693         (expand_expr, case ADDR_EXPR): Call gen_mem_addressof to take the
3694         address of a REG.
3695         * explow.c (memory_address): An ADDRESSOF is a valid memory address.
3696         * dwarfout.c (location_or_const_value_attribute): Handle ADDRESSOF.
3697         * dwarf2out.c (add_location_or_const_value_attribute): Handle
3698         ADDRESSOF.
3699         * cse.c (FIXED_BASE_PLUS_P): Add ADDRESSOF.
3700         (NONZERO_BASE_PLUS_P): Add ADDRESSOF.
3701         (canon_hash): Ignore '0' operands.
3702         (find_best_addr): Don't try to replace an ADDRESSOF.
3703         (fold_rtx): If our address has a const equiv of an ADDRESSOF, use it.
3704         * calls.c (expand_call): Put the struct value in a register if
3705         it fits.
3706
3707 Tue Aug  5 16:10:45 1997  Jason Merrill  <jason@yorick.cygnus.com>
3708
3709         * mips.c (function_arg): Handle passing a struct 
3710         containing a double in a DFmode register without the PARALLEL.
3711
3712 Tue Aug  5 12:27:31 1997  Doug Evans  <dje@cygnus.com>
3713
3714         * configure.in (sparc-*-solaris2): Set float_format to i128.
3715         * config/float-i128.h: New file.
3716
3717 Mon Aug  4 17:45:19 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3718
3719         * combine.c (try_combine): If have PARALLEL of independent SETs
3720         and have cc0, ensure insn using CC0 come first.
3721
3722 Mon Aug  4 15:22:41 1997  Mike Meissner  <meissner@cygnus.com>
3723
3724         * rs6000/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Undef for System V
3725         environments.
3726
3727 Mon Aug  4 12:34:41 1997  Philip Blundell  <pb@nexus.co.uk>
3728
3729         * configure.in (arm-*-aout): Set tmake_file correctly.
3730
3731 Mon Aug  4 08:06:48 1997  Bernd Schmidt  <crux@pool.informatik.rwth-aachen.de>
3732
3733         * reload.c (find_reloads_address_1): Don't pass VOIDmode for an
3734         integer argument of push_reload.
3735
3736         * rtlanal.c (may_trap_p): Fix unintended fall-through so divisions by
3737         non-zero constants are handled properly.  Return 1 for FP divisions.
3738
3739 Mon Aug  4 06:52:20 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3740
3741         * c-common.c (check_format_info): Store each flag character only
3742         once in the flag_chars array.
3743
3744 Sun Aug  3 21:57:31 1997  Jim Meyering  <meyering@eng.ascend.com>
3745
3746         * objc/Make-lang.in (objc/*.o): Depend on $(GCC_PASSES).
3747
3748 Sun Aug  3 21:54:51 1997  Nick Burrett  <n.a.burrett@btinternet.com>
3749
3750         * cpplib.c (cpp_start_read): Recognise suffixes 'cp' and 'c++'.
3751
3752 Sun Aug  3 19:18:27 1997  Ralf Baechle  <ralf@uni-koblenz.de>
3753
3754         * Makefile.in (mostlyclean): Remove libgcc1-test.
3755
3756 Sun Aug  3 19:10:27 1997  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
3757
3758         * Makefile.in (T): Move to place where it can be overridden.
3759         (install_common): Fix permissions of specs and EXTRA_PARTS files.
3760
3761 Sun Aug  3 19:07:04 1997  Jan-Jaap van der Heijden  <J.J.vanderHeijden@student.utwente.nl>
3762
3763         * gcc.c (default_compilers): Add default entries for Pascal.
3764
3765 Sun Aug  3 18:38:41 1997  Richard Henderson  <rth@cygnus.com>
3766
3767         * alpha.c (alpha_return_addr): New function.
3768         (output_epilog): Zero alpha_return_addr_rtx.
3769         * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
3770
3771 Sun Aug  3 17:27:44 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
3772
3773         * Makefile.in (INSTALL): Build in $(srcdir).
3774
3775         * config/linux.h (DEFAULT_VTABLE_THUNKS): New macro.
3776
3777 Sun Aug  3 17:18:31 1997  Richard Earnshaw (rearnshaw@cambridge.arm.com)
3778
3779         * expr.c (expand_builtin, case BUILT_IN_RETURN_ADDRESS): Emit warning
3780         if return address cannot be determined.
3781
3782 Sun Aug  3 17:04:00 1997  Bernd Schmidt  <crux@pool.informatik.rwth-aachen.de>
3783
3784         * stupid.c (stupid_life_analysis): If function receives non-local
3785         goto, don't let any registers live across calls.
3786
3787         * fold-const.c (merge_ranges): Make sure that if one range is subset
3788         of another, it will always be the second range.  Correct (+,-) case to
3789         account for this.
3790
3791 Sun Aug  3 16:48:30 1997  Paul Eggert  <eggert@twinsun.com>
3792
3793         * c-lex.c (yylex): Remove duplicate check on high bit before
3794         invoking int_fits_type_p.
3795
3796 Sun Aug  3 16:44:41 1997  Bernd Schmidt  <crux@pool.informatik.rwth-aachen.de>
3797
3798         * reload.c (find_equiv_reg): If goal is a pseudo that got memory, a
3799         store into memory makes it invalid.  This was handled in the single
3800         set case, but missing in the PARALLEL case.
3801
3802 Sun Aug  3 09:13:47 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3803
3804         * expr.c (store_field): Return quickly if EXP is ERROR_MARK.
3805
3806         * c-typeck.c (unary_complex_lvalue): Don't warn about COMPOUND_EXPR
3807         or COND_EXPR if FUNCTION_TYPE.
3808
3809         * alpha.h (ASM_SPEC): Add -O0.
3810
3811         * expr.h (clear_storage): Now returns rtx.
3812         (emit_block_move): Likewise; delete duplicate declaration.
3813         * expr.c (clear_storage, emit_block_move): Return address of
3814         dest if calling memset/memcpy.
3815         (expand_builtin, BUILT_IN_MEM{CPY,SET}): Return value from
3816         clear_storage or emit_block_move if present.
3817
3818         * c-decl.c (start_function): Reset immediate_size_expand on
3819         error return.
3820
3821 Sat Aug  2 18:50:43 1997  Paul Eggert  <eggert@twinsun.com>
3822
3823         * tree.c (int_fits_type_p): Negative ints never fit unsigned
3824         types, and unsigned ints with top-bit-set never fit signed types.
3825
3826 Sat Aug  2 16:25:43 1997  Per Bothner  <bothner@frobnitz.gnu.ai.mit.edu>
3827
3828         * Makefile.in (EXTRA_C_OBJS): Removed.
3829         (C_AND_OBJC_OBJS):  New.  Subsumes EXTRA_C_OBJS and OBJC_CCOMMON.
3830         * objc/Make-lang.in (OBJC_CCOMMON):  Removed.
3831
3832 Sat Aug  2 16:11:57 1997  Doug Evans  <dje@cygnus.com>
3833
3834         * configure.in: Build .gdbinit for top level build dir here.
3835         (AC_OUTPUT): Pass oldstyle_subdirs to configure.lang.
3836         * configure.lang: Fix building of .gdbinit for oldstyle lang subdirs.
3837
3838 Sat Aug  2 13:48:15 1997  Ken Raeburn  <raeburn@cygnus.com>
3839
3840         * cse.c (cse_insn): Ignore paradoxical SUBREGs unless we are
3841         looking for such.
3842
3843 Sat Aug  2 13:25:33 1997  Tristan Gingold  (gingold@email.enst.fr)
3844
3845         * calls.c (expand_call): If -fcheck-memory-usage, use pseudo-register,
3846         check indirectly called function is executable, and set rights of
3847         memory for aggregate as write only.
3848         (store_one_arg): If -fcheck-memory-usage, set rights for pushed
3849         stack argument.
3850         * c-decl.c (init_decl_processing): Add
3851         __builtin_aggregate_incoming_address.
3852         * explow.c (expr_size): Call expand_expr with appropriate flag.
3853         * expr.c (expand_builtin, case BUILT_IN_AGGREGATE_INCOMING_ADDRESS):
3854         New case.
3855         (expand_assignment, expand_expr, emit_push_insn, store_expr):
3856         Insert calls to chkr_check_addr, chkr_set_right, and chkr_copy_bitmap
3857         when -fcheck-memory-usage.
3858         (get_push_address, get_memory_usage_from_modifier): New functions.
3859         * expr.h: Add expand_modifier flags.
3860         (chkr_*_libfunc): New decls.
3861         (memory_use_mode): New declaration.
3862         * flags.h (flag_check_memory_usage, flag_prefix_function_name): New
3863         declaration.
3864         * function.c (put_var_into_stack, assign_parms): If
3865         -fcheck-memory-usage, set the rights of pushed variable.
3866         * optabs.c (chkr_{check_addr,set_right}_libfunc): New definitions.
3867         (chkr_{copy_bitmap,check_exec}_libfunc): Likewise.
3868         (init_optabs): Initialize these chkr_*_libfunc.
3869         * stmt.c (expand_computed_goto): If -fcheck-memory-usage, check that
3870         computed address of a goto is executable.
3871         (expand_asm, expand_asm_operands): If -fcheck-memory-usage,
3872         disallow asm statments.
3873         * toplev.c (flag_check_memory_usage, flag_prefix_function_name): New
3874         variable.
3875         (f_options): Add `check-memory-usage' and `prefix_function_name'.
3876         (main): Disable `-fomit-frame-pointer' if `-fcheck-memory-usage' is set
3877         and the machine can't debug without the frame pointer.
3878         * tree.h (built_in_function): Add BUILT_IN_AGGREGATE_INCOMING_ADDRESS.
3879         * varasm.c (make_function_rtl, make_decl_rtl): Add a prefix when
3880         flag_prefix_function_name_usage is set.
3881         (assemble_name): Strip the CHKR_PREFIX.
3882         * alpha.c (alpha_builtin_saveregs): If -fcheck-memory-usage,
3883         set rights of saved registers.
3884         * clipper.c (clipper_builtin_saveregs): Likewise.
3885         * m88k.c (m88k_builtin_saveregs): Likewise.
3886         * pa.c (hppa_builtin_saveregs): Likewise.
3887         * sparc.c (sparc_builtin_saveregs): Likewise.
3888
3889 Sat Aug  2 08:01:12 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3890
3891         * c-decl.c (grokdeclarator): Give error for `long double' and
3892         refine text of some error messages.
3893
3894         * alpha.h (FLOAT_VALUE_TYPE, INTIFY, FLOATIFY, FLOAT_ARG_TYPE): Define.
3895         * i860.h (FLOAT_VALUE_TYPE): Fix typo; was FLOAT_TYPE_VALLUE.
3896
3897         * calls.c (store_one_arg): Allow stack_slot to be SP in
3898         ARGS_GROW_DOWNWARD case.
3899
3900         * c-decl.c (parmlist_tags_warning): Only suppress warning on
3901         union if anonymous.
3902
3903         * libgcc2.c (_trampoline): Rework last change; both getpagesize
3904         and mprotect are in cygwin32.
3905
3906         * reload1.c (reload): Add IN_ADDR to IN_ADDR_ADDR when computing
3907         needs since they conflict.
3908
3909         * print-rtl.c (indent): Move to file level; was static in print_rtx.
3910         (print_inline_rtx): New function.
3911         * reload.c (debug_reload): Rework to make output more compact.
3912
3913         * dwarfout.c (output_compile_unit_die): Add support for Pascal.
3914         * dwarf2out.c (gen_compile_unit_die): Likewise.
3915
3916         * c-typeck.c (lvalue_p, case BIND_EXPR, RTL_EXPR): Return 1 if array.
3917
3918         * Makefile.in (OBJC_OBJC): Delete from here.
3919
3920         * varasm.c (compare_constant_1, case STRING_CST): Compare TYPE_MODE.
3921         (record_constant_1, case STRING_CST): Record TYPE_MODE.
3922
3923         * tree.c (contains_this_placeholder_p): Delete.
3924         (contains_placeholder_p): Now contains code from above function.
3925         (contains_placeholder_p, case 'r'): Don't look at offset info.
3926         * expr.c (expand_expr, case PLACEHOLDER_EXPR): Find innermost
3927         matching and don't check contains_placeholder_p.
3928
3929 Fri Aug  1 17:15:07 1997  Per Bothner  <bothner@cygnus.com>
3930
3931         * objc/objc-act.c (lang_init):  Don't check_newline #if USE_CPPLIB.
3932         * c-lex.c (lang_init):  Remove (recently moved here).
3933         * c-lang.c (lang_init):  Restore, but add #if !USE_CPPLIB.
3934
3935 Fri Aug  1 11:26:45 1997  Jeffrey A Law  (law@cygnus.com)
3936
3937         * pa.c (pa_reorg): Explode ADDR_DIFF_VEC insns too.
3938
3939 Thu Jul 31 19:37:22 1997  Ian Lance Taylor  <ian@cygnus.com>
3940
3941         * libgcc2.c (getpagesize): Don't compile if __CYGWIN32__.
3942
3943 Thu Jul 31 16:04:42 1997  Stan Cox  <coxs@dg-rtp.dg.com>
3944
3945         * i386.c (output_to_reg, output_fix_trunc): Use scratch memory,
3946         if available, instead of dynamically extending the stack.
3947         (put_condition_code, print_operand): Added reverse_cc to reverse the
3948         comparison when $ah is accessed directly instead of using eflags
3949
3950         * i386.md (*trunc*): Use scratch memory for output_fix_trunc.
3951         (movsicc_1, movhicc_1) Change alternative 3 to: 
3952         jCC L1; mov; jmp L2; L1:mov; L2:
3953         (movsfcc, movdfcc, movxfcc): Force constant operands to memory.
3954         (movsfcc_1, movdfcc_1, movxfcc_1): Change alternative 3 as above.
3955
3956 Thu Jul 31 16:04:42 1997  Jason Merrill  <jason@yorick.cygnus.com>
3957
3958         * i386.h (MAX_FIXED_MODE_SIZE): Define.
3959
3960 Thu Jul 31 16:04:42 1997   Robert Lipe <robertl@dgii.com>
3961         
3962         * i386/sco5.h (SWITCHES_NEED_SPACES) Define.
3963         Required by the COFF (but not ELF) linker.
3964
3965 Wed Jul 30 15:03:52 1997  Per Bothner  <bothner@cygnus.com>
3966
3967         * demangle.h (DMGL_JAVA):  New option to request Java demangling.
3968         * cplus-dem.c:  Various changes to produce Java output when passed
3969         DMGL_JAVA.  Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
3970         (main):  Support --java and -j flags to set DMGL_JAVA.
3971
3972 Wed Jul 30 08:56:08 1997  Philip Blundell  <Philip.Blundell@pobox.com>
3973
3974         * configure.in (arm-*-*): Replace with arm-*-aout.
3975         * arm/aout.h (SET_ASM_OP): Define by default.
3976         * arm/riscix.h (SET_ASM_OP: Undefine.
3977         * arm.h (CPP_SPEC): Add %(subtarget_cpp_spec).
3978         (SUBTARGET_CPP_SPEC): New macro.
3979         * arm/linux.h: Include aout.h rather than arm.h directly.
3980         (TARGET_CPU_DEFAULT): Define.
3981         ({ASM,CPP}_SPEC): Remove.
3982         * arm/t-linux (MULTILIB_OPTIONS): Use -mapcs-NN instead of -mN.
3983         (LIB1ASMSRC): Use generic ARM version.
3984         (CROSS_LIBGCC1): Define.
3985         * arm/lib1funcs-linux.asm: Remove.
3986
3987 Tue Jul 29 17:57:47 1997  Per Bothner  <bothner@cygnus.com>
3988
3989         * Add hooks for using autconf-style Makefile.in in language subdirs.
3990         * configure.in (all_outputs, oldstyle_subdirs):  New variables.
3991         Pass all_outputs to AC_OUTPUT.
3992         * configure.lang:  Only iterate over oldstyle_subdirs.
3993
3994         * Patches to use cpplib with cc1 #if USE_CPPLIB.
3995         * configure.in (--enable-c-cpplib):  New option.
3996         (extra_c_flags, extra_c_objs):  New variables.
3997         * Makefile.in (EXTRA_C_OBJS):  New variable.
3998         (INTERNAL_CFLAGS):  Add @extra_c_flags@.
3999         (C_OBJS):  Add $(EXTRA_C_OBJS).
4000         * c-lex.c (generally):  Replace getc and ungetc by macros GETC and
4001         UNGETC.  Avoid explicit references to finput.
4002         (yy_get_token):  New function, that calls cpp_get_token.
4003         (init_parse):  New function - calls init_lex.
4004         (finish_parse):  New function (called by compile_file).
4005         (GET_DIRECTIVE_LINE):  New macro wrapper replaces get_directive_line.
4006         (lang_init):  Don't check_newline - already know main_input_filename.
4007         (handle_sysv_pragma):  Remove FILE* parameter.
4008         * toplev.c (finput):  Remove #if USE_CPPLIB.
4009         (compile_file):  #if USE_CPPLIB don't open input file here,
4010         do it in cpp_start_read.  Call init_parse instead of init_lex.
4011         At end, call finish_parse instead of fclose(finput).
4012
4013 Mon Jul 28 15:48:29 1997  Brendan Kehoe  <brendan@cygnus.com>
4014
4015         * integrate.c (expand_inline_function): Use xmalloc instead of
4016         alloca for the LABEL_MAP.
4017         (save_for_inline_copying): Likewise.
4018
4019 Mon Jul 28 11:22:16 1997  Jason Merrill  <jason@yorick.cygnus.com>
4020
4021         * toplev.c (compile_file): Also emit any deferred TREE_PUBLIC inlines.
4022         (rest_of_compilation): Use decl_printable_name instead of DECL_NAME
4023         to identify functions in the RTL dump files.
4024
4025         * dwarf2out.c (add_location_or_const_value_attribute): 
4026         leaf_renumber_regs_insn.  Also eliminate_regs here.
4027         (add_AT_location_description): Not here.  Don't emit anything 
4028         for a variable that has been optimized away.
4029         (add_const_value_attribute): Likewise.
4030
4031         * dwarfout.c (location_or_const_value_attribute):
4032         leaf_renumber_regs_insn.  Also eliminate_regs here.
4033         (location_attribute): Not here.
4034
4035         * stor-layout.c (layout_type): Fix ancient code to match ancient
4036         comment.  Use mode of field for one-field structs.
4037
4038 Sun Jul 27 12:09:02 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4039
4040         * function.c (put_var_into_stack, trampoline_address): Treat
4041         inline_function_decl like current_function_decl.
4042         * expr.c (expand_expr, case LABEL_DECL): Likewise.
4043         (expand_expr, case SAVE_EXPR): Handle top-level SAVE_EXPR by
4044         moving into current function; abort if in incorrect context.
4045         * fold-const.c (fold_range_test, fold): Avoid making SAVE_EXPR
4046         if at top level.
4047
4048         * dwarfout.c (ASM_OUTPUT_SOURCE_FILENAME): Delete default value.
4049
4050         * alpha.h (TARGET_SWITCHES): Add -mno-byte.
4051
4052         * expr.c (get_inner_unaligned_p): Deleted.
4053         (expand_assignment): Remove special-case of constant array.
4054         (expand_expr, case ARRAY_REF): Likewise, and clean up remaining code.
4055
4056         * explow.c (probe_stack_range): Do probing with loop if more
4057         than a small number.
4058
4059 Fri Jul 25 15:42:34 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
4060
4061         * configure.in: Finish fixing calculation if default thread
4062         support is enabled.
4063
4064 Fri Jul 25 15:30:09 1997  Doug Evans  <dje@cygnus.com>
4065
4066         * Makefile.in (native): Depend on config.h.
4067         (gcc.o): Depend on Makefile, not config.status.
4068
4069 Fri Jul 25 10:56:50 1997  Jeffrey A Law  (law@cygnus.com)
4070
4071         * pa.c (pa_reorg): If TARGET_BIG_SWITCH, then do not explode
4072         ADDR_VEC insns.  Slightly rework code which explodes ADDR_VEC
4073         insns.
4074         * pa.h (TARGET_BIG_SWITCH): Define.
4075         (TARGET_SWITCHES): Add "big-switch" and "no-big-switch".
4076         (CASE_VECTOR_MODE): Use TI or DI depending on TARGET_BIG_SWITCH.
4077         (CASE_DROPS_THROUGH): Remove definition.
4078         (ASM_OUTPUT_ADDR_VEC_ELT): Rewrite to handle TARGET_BIG_SWITCH.
4079         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
4080         * pa.md (casesi): Rework to avoid some potential long branch
4081         problems (also makes generated code faster!).  Handle
4082         TARGET_BIG_SWITCH.
4083         (casesi0): Corresponding changes.
4084
4085 Fri Jul 25 08:36:47 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4086
4087         * calls.c: (expand_call): If -fstack-check and temp needed
4088         for arg is too large, use alloca.
4089         * expr.c (expand_expr, case MODIFY_EXPR): Don't preexpand calls
4090         if LHS is an indirect via a constant pointer.
4091
4092 Thu Jul 24 21:49:11 1997  Pat Rankin  <rankin@eql.caltech.edu>
4093
4094         * bitmap.c (bitmap_operation): Reset CURRENT on deferred deletion.
4095
4096 Wed Jul 23 23:52:14 1997  Chris Smith  <csmith@convex.hp.com>
4097
4098         * convex.h (CHECK_FLOAT_VALUE): Fix OVERFLOW capitalization.
4099
4100 Wed Jul 23 13:00:47 1997  Richard Earnshaw <rearnsha@cambridge.arm.com>
4101
4102         * configure.in (arm-*-netbsd*): Fix typo setting tmake_file.
4103
4104 Wed Jul 23 06:39:35 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4105
4106         * configure.in (alpha*): Put quotes around MASK_GAS.
4107
4108 Tue Jul 22 15:24:45 1997  Brendan Kehoe  <brendan@cygnus.com>
4109
4110         * tree.c (array_type_nelts): Make sure the domain of TYPE is set
4111         before we try to use it.
4112
4113 Tue Jul 22 12:26:13 1997  Doug Evans  <dje@cygnus.com>
4114
4115         * sparc.c (gen_v9_scc): Handle early clobber of result.
4116         * sparc.md (seqdi_special): Don't clobber %xcc.
4117         (snedi_special, seqdi_special_trunc, snedi_special_trunc): Likewise.
4118         (snedi_zero, neg_snedi_zero, seqdi_zero, neg_seqdi_zero): Likewise.
4119         (snedi_zero_trunc, seqdi_zero_trunc): Likewise. Renamed from ..._sp64.
4120         (snedi_zero_trunc_sp32, seqdi_zero_trunc_sp32): Delete.
4121
4122         * Makefile.in (Makefile): Pass xmake_file, tmake_file to
4123         configure.frag
4124         (distclean): Delete Make-host, Make-target.
4125         * configure.in (host_overrides): Set to Make-host.
4126         (dep_host_xmakefile): Loop over all elements in host_make_file.
4127         (target_overrides): Set to Make-target.
4128         (dep_tmake_file):  Loop over all elements in tmake_file.
4129         (configure.frag): Pass dep_host_xmake_file, dep_tmake_file.
4130         * configure.frag: New arguments xmake_files, tmake_files.
4131         Build Make-host, Make-target.
4132
4133 Mon Jul 21 23:17:44 1997  Paul Eggert  <eggert@twinsun.com>     
4134
4135         * objc/Make-lang.in, objc/Makefile.in: Comment out lines containing
4136         just formfeeds.
4137
4138 Mon Jul 21 14:05:46 1997  Doug Evans  <dje@cygnus.com>
4139
4140         * Makefile.in (Makefile): Depend on config.status instead
4141         of configure.
4142         (config.status): Depend on configure.  Run config.status --recheck
4143         if out of date.
4144         (cstamp-h.in): Use echo instead of touch.
4145
4146         * reload1.c (reload_cse_mem_conflict_p): Restore handling of
4147         (mem:BLK const0_rtx) meaning all memory is clobbered.
4148
4149 Mon Jul 21 06:20:10 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4150
4151         * m68k.md (iorsi_zexthi_ashl16): Mark output operand as earlyclobber.
4152
4153 Sun Jul 20 06:11:30 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4154
4155         * configure.in (alpha*-*-*): Set cpu_type to alpha.
4156         Change "alpha-" to "alpha*-" in all entries.
4157         Set target_cpu_default for ev5 and ev56 systems.
4158         Use symbolic names for target_cpu_default.
4159         * alpha.c (override_options): Set default for alpha_cpu
4160         from TARGET_CPU_DEFAULT.
4161         * alpha.h (MASK_CPU_EV5): New macro.
4162
4163         * tree.c (contains_placeholder_p): Call contains_this_placeholder_p.
4164         (contains_this_placeholder_p): Renamed from contains_placeholder_p.
4165         Added new arg, PL.
4166         Rework to make more consistent, check more codes, and avoid
4167         undefined fields.
4168         * expr.c (expand_expr, case PLACEHOLDER_EXPR): Pick outermost
4169         object in placeholder_list of right type without a PLACEHOLDER_EXPR.
4170
4171 Sat Jul 19 18:00:01 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4172
4173         * alpha.c (override_options): Allow processor of ev56 or 21164a.
4174         (input_operand, case MEM): Correct test involving TARGET_BYTE_OPS.
4175         * alpha.h (SECONDARY_{IN,OUT}PUT_RELOAD_CLASS): Don't need for
4176         QImode or HImode if TARGET_BYTE_OPS.
4177         (ASM_FILE_START): Write a .arch directive.
4178         (STACK_CHECK_BUILTIN): New macro.
4179         * alpha.md ({zero_,}extend[qh]i[dsh]i2): Rework TARGET_BYTE_OPS cases.
4180         (mov[hq]i): Likewise.
4181         (extend[qh]i[hsd]i2x): Add missing cases and fix typo in constraint.
4182         (reload_{in,out}[qh]i): Disable for TARGET_BYTE_OPS.
4183
4184 Fri Jul 18 23:24:57 1997  Jason Merrill  <jason@yorick.cygnus.com>
4185
4186         * varasm.c (make_decl_rtl): Don't use ASM_FORMAT_PRIVATE_NAME for
4187         local decls with TREE_PUBLIC set.
4188         (bc_make_decl_rtl): Likewise.
4189
4190 Fri Jul 18 22:16:28 1997  Doug Evans  <dje@cygnus.com>
4191
4192         * configure.in: Invoke AC_CONFIG_HEADER.
4193         Check for string.h, strings.h, stdlib.h, time.h, unistd.h.
4194         Check for whether malloc/realloc/free need to be declared.
4195         (links): Rename config.h to config2.h.
4196         (AC_OUTPUT): Create cstamp-h.
4197         * Makefile.in (config.in,cstamp-h.in): Add rules for.
4198         (config.h,cstamp-h): Add rules for.
4199         (distclean): Delete config2.h, cstamp-h.
4200         (ALL_CFLAGS): Add @DEFS@.
4201         * aclocal.m4, acconfig.h: New files.
4202
4203         * Makefile.in (distclean): Delete Make-host, Make-target.
4204         * configure.in (host_overrides): Set to host_xmake_file, don't create
4205         Make-host.
4206         (target_overrides): Set to tmake_file, don't create Make-target.
4207         (language subdir support): Keep together.
4208
4209         * c-decl.c (duplicate_decls): Set DECL_ABSTRACT_ORIGIN to olddecl
4210         if inline function and not new definition.
4211
4212         * configure.in: Don't loop trying to configure language subdirs.
4213         Don't pass to configure.lang variables it doesn't use.
4214         * configure.lang: Delete top level directory from loop.
4215         Delete code not useful for language subdirs.
4216
4217 Fri Jul 18 08:12:53 1997  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
4218
4219         * toplev.c (rest_of_compilation): Call reload_cse_regs here.
4220         * reload1.c (reload): Don't call it here.
4221         (reload_cse_mem_conflict_p): Remove MEM_OFFSET and MEM_MODE args.
4222         (reload_cse_mem_conflict_p, case MEM): Call anti_dependence.
4223         (reload_cse_invalidate_mem): Update call to reload_cse_mem_conflict_p.
4224         (reload_cse_regs): No longer static.
4225         Call init_alias_analysis.
4226         Ignore CLOBBER in a PARALLEL.
4227
4228 Fri Jul 18 06:44:22 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4229
4230         * objc/Make-lang.in (objc-headers): Fix command for the new build
4231         directory layout, don't pass srcdir variable.
4232         * objc/Makefile.in (copy-headers): Use $(srcdir) from this
4233         makefile, not the parent's.
4234
4235 Thu Jul 17 16:03:03 1997  Doug Evans  <dje@cygnus.com>
4236
4237         * configure.lang (EXTRA_HEADERS,EXTRA_PASSES,EXTRA_PARTS): Delete.
4238         (EXTRA_PROGRAMS,EXTRA_OBJS,EXTRA_GCC_OBJS,MD_DEPS): Delete.
4239         (version) Delete duplicate entry.
4240         * configure.in (merged_frags): Delete unused variable.
4241         (extra_headers_list): Move setting outside of subdir loop.
4242         (extra_headers,extra_passes): Don't pass to configure.lang.
4243         (extra_programs,extra_parts,extra_objs): Likewise.
4244         (host_extra_gcc_objs,gxx_include_dir,md_cppflags): Likewise.
4245
4246 Thu Jul 17 07:00:43 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4247
4248         * expr.h (STACK_CHECK_*): Provide default values.
4249         (probe_stack_range): New declaration.
4250         * flags.h (flag_stack_check): Likewise.
4251         * explow.c (allocate_dynamic_stack_space): Call probe_stack_range.
4252         (emit_stack_probe, probe_stack_range): New functions.
4253         * function.c (expand_function_end): If function is non-leaf and stack 
4254         checking is requested, emit needed probes.
4255         * reload1.c (reload): If checking stack, verify frame small enough.
4256         * stmt.c (expand_decl): If stack checking, use alloca for large vars.
4257         * toplev.c (flag_stack_check): New variable.
4258         (f_options): Add "stack-check".
4259
4260         * reorg.c (mark_target_live_regs): Pass FIRST_PSEUDO_REGISTER to
4261         call to EXECUTE_IF_SET_IN_REG_SET.
4262
4263 Wed Jul 16 14:51:00 1997  Jason Merrill  <jason@yorick.cygnus.com>
4264
4265         * i960.h (ASM_OUTPUT_ALIGNED_BSS): Define.
4266         (ASM_OUTPUT_ALIGNED_LOCAL): Use standard method to convert ALIGN
4267         to power-of-two of bytes.
4268
4269         * sparc.h (ASM_OUTPUT_ALIGNED_BSS): Define.
4270         * sparc/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Undef before definition.
4271
4272 Wed Jul 16 14:34:09 1997  Klaus Espenlaub  (kespenla@hydra.informatik.uni-ulm.de)
4273
4274         * calls.c (emit_library_call_value): Initialize all argvec elements.
4275
4276 Wed Jul 16 14:31:39 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4277
4278         * global.c (global_conflicts): Pass FIRST_PSEUDO_REGISTER to
4279         call to EXECUTE_IF_SET_IN_REG_SET.
4280
4281 Wed Jul 16 10:57:03 1997  Richard Earnshaw (rearnsha@cambridge.arm.com)
4282
4283         * From Rob Black (r.black@ic.ac.uk) and Mark Brinicombe
4284         (amb@physig.ph.kcl.ac.uk):
4285         * configure.in (arm-*-netbsd*): New configuration.
4286         * arm/netbsd.h, arm/t-netbsd, arm/xm-netbsd.h: New files.
4287         
4288 Wed Jul 16 10:57:03 1997  Richard Earnshaw (rearnsha@cambridge.arm.com)
4289
4290         * arm.c (tune_flags): New variable.
4291         (target_{cpu,fpe}_name): Delete.
4292         (arm_fpu_arch): New variable.
4293         (arm_select): Also allow -march=... to configure just the 
4294         architecture.
4295         (all_procs): Allow armv{2,2a,3,3m,4,4t} for use with -march=.
4296         (arm_override_options): Handle -march=, but don't let -mcpu=
4297         and -mtune= match the architecture names, since we can only
4298         tune for an implementation.  Rework selection of tuning options
4299         for floating point.
4300         (use_return_insn): Support interworking with Thumb code.
4301         (arm_rtx_costs): Rework multiply costs so that cost is based on
4302         the tune, not the architecture.
4303         (f_register_operand): New function.
4304         (output_return_instruction): Support interworking with Thumb code.
4305         (output_func_epilogue): Support interworking with Thumb code.
4306         Remove redundant calculation of code_size. Use floating-point
4307         load-multiples if permitted.
4308         (emit_sfm): New function.
4309         (arm_expand_prologue): Use floating-point store-multiples if 
4310         permitted.
4311
4312         * arm.h (CPP_CPU_ARCH_SPEC): Handle -march=...
4313         (TARGET_OPTIONS): Add arch= and fp=.  Delete fpe=.
4314         (enum processor_type): Add PROCESSOR_NONE, for use in all_procs table.
4315         (FP_DEFAULT): Default floating point architecture for generic 
4316         back-end.
4317         (PREDICATE_CODES): Add f_register_operand.
4318
4319         * arm.md (*push_fp_multi): New pattern.
4320
4321
4322 Tue Jul 15 22:08:47 1997  Jim Wilson  <wilson@cygnus.com>
4323
4324         * Makefile.in (exeext): Set to build_exeext not exeext.
4325         * configure.in (exeext): Delete redundant set and AC_SUBST call.
4326         Change remaining AC_SUBST to use build_exeext instead of exeext.
4327
4328 Tue Jul 15 15:48:25 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
4329
4330         * configure.in: Fix calculation if default thread support is enabled.
4331
4332 Tue Jul 15 13:38:46 1997  Mike Meissner  <meissner@cygnus.com>
4333
4334         * rtl.h (replace_regs): Declare.
4335
4336 Mon Jul 14 16:18:19 1997  Jason Merrill  <jason@yorick.cygnus.com>
4337
4338         * i960.h (ASM_OUTPUT_MI_THUNK): Define.
4339
4340         * dwarf2out.c (gen_subprogram_die): Remove unreachable and redundant
4341         code.
4342
4343 Mon Jul 14 14:22:45 1997  Jeffrey A Law  (law@cygnus.com)
4344
4345         * calls.c (emit_library_call): Use right index into argvec array
4346         when iterating over arguments which need to be pushed on the stack.
4347         (emit_library_call_value): Likewise.
4348
4349 Mon Jul 14 08:17:41 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4350
4351         * gcc.c (convert_filename): Fix typo.
4352
4353 Mon Jul 14 08:10:12 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4354
4355         * configure.in: Clear headers and lib2funcs before re-reading
4356         config-lang.in.
4357
4358         * m68k/linux.h (LINK_SPEC): Fix last change.
4359
4360 Mon Jul 14 08:03:38 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
4361
4362         * configure.in (sparc-*-linux-gnu{*,libc1*}): Add sparc/t-linux.
4363         * sparc/t-linux: New file.
4364
4365         * alpha/elf.h (LINK_SPEC): Fix typo.
4366         * configure.in (alpha-*-linux-gnu*): Set tmake_file.
4367         * alpha/t-linux: New file.
4368
4369 Mon Jul 14 07:41:37 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
4370
4371         * m68k.c (output_{and,ior,xor}si3): New functions from patterns bodies.
4372         * m68k.h (output_{and,ior,xor}si3): New extern declarations.
4373         * m68k.md (adddi3, subdi3): Allow constant operand.
4374         (anddi3, iordi3, xordi3): New patterns.
4375         ({and,ior,xor}si3_internal): Use corresponding output_???si3 function.
4376
4377 Mon Jul 14 07:33:11 1997  Fila Kolodny  <fila@ibi.com>
4378
4379         * configure.in (*-*-gnu*): Add crt{begin,end}S.o to extra_parts.
4380
4381 Mon Jul 14 07:26:36 1997  Craig Burley  <burley@gnu.ai.mit.edu>
4382
4383         * varasm.c (assemble_variable): If low part of size
4384         doesn't fit in an int, variable is too large.
4385
4386 Mon Jul 14 06:51:37 1997  Mike Meissner  <meissner@cygnus.com>
4387
4388         * bitmap.{h,c}: New files.
4389         * Makefile.in (OBJS): Add bitmap.o.
4390         (BASIC_BLOCK_H): New make variable for basic-block.h, bitmap.h.
4391         ({flow,combine,regclass,local-alloc,reload1,reorg,sched}.o): Use
4392         BASIC_BLOCK_H variable instead of basic-block.h.
4393         * basic-block.h (*REG_SET): Delete old implementation; use bitmap.h.
4394         (regset_{size,bytes}): Delete.
4395         (regs_live_at_setjmp): Declare.
4396         (EXECUTE_IF_SET_AND_RESET_IN_REG_SET): Delete.
4397         * flow.c (init_regset_vector): Make global; don't take basic block
4398         times # of pseduos as argument.
4399         (life_analysis): Change all init_regset_vector calls.
4400         Use free_regset_vector to release arrays only flow uses at end.
4401         (allocate_for_life_analysis): Change init_regset_vector call.
4402         Don't set regset_{size,bytes}.
4403         (free_regset_vector): Call FREE_REG_SET to release any
4404         memory allocated by each vector.
4405         (propagate_block): Call FREE_REG_SET on dead/live.
4406         (mark_used_regs): Don't use REGSET_ELT_TYPE anymore.
4407         * output.h (allocate_for_life_analysis): Add declaration.
4408         (regno_uninitialized, regno_clobbered_at_setjmp): Likewise.
4409         (dump_flow_info, flow_analysis): Likewise.
4410         * regclass.c (init_reg_sets): Invoke INIT_ONCE_REG_SET.
4411         (allocate_reg_info): Invoke MAX_REGNO_REG_SET.
4412         (regset_release_memory): Free basic_block_live_at_start storage.
4413         * reorg.c (mark_target_live_regs): Delete unused variables.
4414         * sched.c (schedule_block): Free space associated with
4415         reg_pending_sets and old_live_regs.
4416         (schedule_insns): Free bb_{dead,live}_regs on first pass.
4417         (sched_analyze_insn): Use EXECUTE_IF_SET_IN_REG_SET and then clear.
4418         * toplev.c (rest_of_compilation): Call regset_release_memory.
4419
4420 Mon Jul 14 00:14:13 1997  Jason Merrill  <jason@yorick.cygnus.com>
4421
4422         * toplev.c (main): Prefer DWARF 2 or stabs with -ggdb.
4423         * ns32k/tek6000.h (PREFERRED_DEBUGGING_TYPE): DBX_DEBUG.
4424         * alpha.h (PREFERRED_DEBUGGING_TYPE): SDB_DEBUG.
4425         * mips.h (PREFERRED_DEBUGGING_TYPE): SDB_DEBUG.
4426
4427 Sun Jul 13 15:11:08 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4428
4429         * stupid.c (stupid_mark_refs): If setting reg set only in this
4430         insn and not referenced, make REG_UNUSED note.
4431
4432 Sun Jul 13 14:03:19 1997  Michael Meissner  <meissner@cygnus.com>
4433
4434         * gcc.c (process_command): If -save-temps and -pipe were specified
4435         together, don't do -pipe.
4436
4437 Sun Jul 13 12:27:03 1997  Doug Evans  <dje@cygnus.com>
4438
4439         * gcc.c (main): Handle blank in version_string when comparing
4440         with compiler_version.
4441
4442 Sat Jul 12 01:53:55 1997  Jason Merrill  <jason@yorick.cygnus.com>
4443
4444         * sparc.c (output_function_prologue): Fix offset from CFA.
4445         (sparc_flat_output_function_prologue): Likewise.
4446
4447 Fri Jul 11 09:49:15 1997  Jeffrey A Law  (law@cygnus.com)
4448         
4449         * mips.c (epilogue_reg_mentioned_p): Delete unused function.
4450         (mips_epilogue_delay_slots): Likewise.
4451         (function_epilogue): Greatly simplify.
4452         (mips_expand_epilogue): If we have a null prologue/epilogue,
4453         then use a normal return insn.  Emit blockage insns before
4454         stack pointer adjustments.
4455         (mips_can_use_return_insn): Renamed from simple_epilogue_p.  All
4456         callers changed.  Do not use return insns if $31 is live in the
4457         function or if generating profiling information.
4458         * mips.h (DELAY_SLOTS_FOR_EPILOGUE): Delete.
4459         (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise.
4460         * mips.md (return): Remove expander and change the pattern to
4461         look like a standard "return" insn.
4462         (return_internal): Show use of $31 explictly.
4463         (epilogue expander): Enable.
4464
4465 Thu Jul 10 13:04:53 1997  Doug Evans  <dje@cygnus.com>
4466
4467         * cccp.c (INO_T_EQ): Return 0 for MSDOS.
4468
4469         * Makefile.in (CC): Use autoconf value.
4470
4471 Tue Jul  8 18:08:00 1997  Jim Wilson  <wilson@cygnus.com>
4472
4473         * dwarf2out.c (gen_subprogram_die): When handling declarations, test
4474         DECL_CONTEXT not decl_class_context before equate_decl_number_to_die.
4475
4476 Tue Jul  8 16:47:13 1997  Michael Meissner  <meissner@cygnus.com>
4477
4478         * rs6000.md (movsi define_split): Use unsigned HOST_WIDE_INT,
4479         not unsigned.
4480
4481 Sat Jul  7 00:01:41 1997  Jim Meyering <meyering@eng.ascend.com>
4482
4483         * i386/t-sol2 (crt[1in].o): Also depend on $(GCC_PASSES).
4484
4485 Fri Jul  4 11:45:39 1997  Jason Merrill  <jason@yorick.cygnus.com>
4486
4487         * dwarf2out.c (DWARF_CIE_HEADER_SIZE, DWARF_FDE_HEADER_SIZE,
4488         size_of_cfi, size_of_fde, calc_fde_sizes, next_fde_offset,
4489         cie_size): Lose.
4490         (ASM_OUTPUT_DWARF_STRING): Move earlier.
4491         (INCOMING_FRAME_SP_OFFSET): Provide default.
4492         (initial_return_save): Adjust for CFA offset.
4493         (dwarf2out_frame_debug): Lookup initial CFA offset when setting up.
4494         (output_call_frame_info): Use label subtraction for length fields.
4495         Add pointer to exception region information in for_eh case.
4496         (dwarf2out_do_frame): New fn.
4497         (dwarf2out_frame_init): Use INCOMING_FRAME_SP_OFFSET.
4498         (dwarf2out_frame_finish): Don't bother emitting .debug_frame for
4499         non-Irix targets.  Just emit .eh_frame.
4500         (output_die): Refer to an FDE with label subtraction.
4501         * i386.h (INCOMING_FRAME_SP_OFFSET): Define.
4502         * defaults.h (DWARF2_UNWIND_INFO): Define if
4503         INCOMING_RETURN_ADDR_RTX is provided.
4504         * final.c (final): Don't call dwarf2out_frame_debug unless we are
4505         doing dwarf 2.
4506
4507 Thu Jul  3 17:37:52 1997  Jim Wilson  <wilson@cygnus.com>
4508
4509         * fp-bit.c (unpack_d): Check fraction not sign to distinquish QNaN.
4510
4511 Wed Jul  2 09:48:03 1997  Michael Meissner  <meissner@cygnus.com>
4512
4513         * loop.c (strength_reduce): Make sure register does not exceed the
4514         table size when looking up the last UID.
4515
4516 Wed Jul  2 07:47:44 1997  Nick Burrett  <n.a.burrett@btinternet.com>
4517
4518         * genoutput.c (process_template): Place increment expression
4519         outside of putchar function call.
4520
4521 Wed Jul  2 06:56:52 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
4522
4523         * sparc/linux.h (LIBGCC_SPEC): Removed.
4524         (CC1_SPEC): Add %{profile:-p}.
4525         ({CPP,LIB,LINK}_SPEC): Choose glibc 1 or 2 depending on USE_GNULIBC_1.
4526         * configure.in (sparc-*-linux-gnulibc1*): New configuration.
4527
4528         * configure.in (powerpc-*-linuxgnu*): Default thread_file is posix.
4529         Set xmake_file to x-linux.  Add extra_parts.
4530         * rs6000/linux.h (LINK_SPEC): Defined.
4531
4532         * m68k/linux.h (LINK_SPEC): Pass -shared for -shared.
4533         ({CPP,LINK}_SPEC): Choose for glibc 1 or 2 depending on USE_GNULIBC_1.
4534         * configure.in (m68k-*-linux-gnu*): Default thread_file is `posix'.
4535         (m68k-*-linux-gnulibc1): New configuration.
4536
4537         * alpha/elf.h (LINK_SPEC): Change ld-gnu.so.1 to ld-linux.so.2.
4538         * configure.in (alpha-*-linux-gnu*): Default thread_file is `posix'.
4539
4540 Wed Jul  2 06:12:37 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4541
4542         * alpha.md (divsi3, modsi3, udivsi3): Comment out.
4543         (extendsfsd2_no_tp): Add alternative with output in MEM, input in REG.
4544
4545         * configure.in (*-linux*): Add "-gnu" to names to match.
4546
4547         * libgcc2.c (_trampoline): Add stdcall attribute to VirtualProtect
4548         on i386.
4549
4550         * objc/objc.gperf: Renamed from gperf.
4551
4552 Wed Jul  2 05:42:19 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4553
4554         * objc/Make-lang.in ($(srcdir)/objc/objc-parse.c): Fix command
4555         to use the right file names.
4556
4557 Tue Jul  1 23:25:42 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4558
4559         * reorg.c (redundant_insn): If INSN or possible match has REG_UNUSED
4560         note, don't have match.
4561
4562 Tue Jul  1 18:36:24 1997  Doug Evans  <dje@cygnus.com>
4563
4564         * mips.c (mips_output_external): Don't output .extern's for
4565         variables in user specified sections unless they're .sbss/.sdata.
4566
4567 Tue Jul  1 18:30:26 1997  Jim Wilson  <wilson@cygnus.com>
4568
4569         * cse.c (find_best_addr): Add missing rtx_cost arguments.
4570
4571         * fp-bit.c (float_to_usi): Move code for negative numbers before code
4572         for infinity.  Modify infinty code to only handle positive infinities.
4573
4574 Tue Jul  1 11:16:41 1997  Robert Lipe  <robertl@dgii.com>
4575
4576         * fixinc.sco: Restore pwd after copy.
4577         Convert declaration of abs in math.h to prototype.
4578         Fix static functions in sys/stat.h for C++.
4579
4580 Tue Jul  1 10:55:47 1997  Michael Meissner  <meissner@cygnus.com>
4581
4582         * rs6000.md ({add,ior,xor}si3): Change to use define_expand wrapper
4583         and split add/ior/xor of large constants early.
4584         (andsi3): Remove 6/29 code to do and of large constants.
4585         (nor, nand, eqv, maskir): Add names to all logical define_insns.
4586
4587 Tue Jul  1 09:03:35 1997  Jeffrey A Law  (law@cygnus.com)
4588
4589         * h8300.h (BIGGEST_FIELD_ALIGNMENT): Remove definition.
4590         * mips.h (BIGGEST_FIELD_ALIGNMENT): Likewise.
4591
4592 Mon Jun 30 14:58:00 1997  Jeffrey A Law  (law@cygnus.com)
4593
4594         * sh.c (sh_expand_epilogue): Emit blockage insn before cutting
4595         back stack.
4596
4597 Sun Jun 29 11:27:07 1997  Michael Meissner  <meissner@cygnus.com>
4598
4599         * rs6000.h (TARGET_FLAGS): Add -m{,no-}update to suppress
4600         creating load/store with update instructions, and also
4601         -m{,no-}fused-madd to suppress the generation of fused add and
4602         multiply instructions.  Move debug flags to TARGET_OPTIONS.
4603         (GO_IF_LEGITIMATE_ADDRESS): Don't allow PRE_{INC,DEC} if -mno-update.
4604         (GO_IF_MODE_DEPENDENT_ADDRESS): Ditto.
4605         (rs6000_debug_{name,stack,arg}): Add declarations.
4606         (toc_initialized): Likewise.
4607         (got_no_const_operand): Likewise.
4608         (PREDICATE_CODES): Add got_no_const_operand.
4609         (toc_section): Make toc_initialized a global.
4610         (RTX_COSTS): Set appropriate costs for add, logical operators that
4611         are really two instructions.
4612         
4613         * rs6000.c (rs6000_debug_{name,stack,arg}): Add definitions.
4614         (rs6000_override_options): Process debug flags.
4615         (toc_initialized): Global to say toc initialized.
4616         (small_data_operand): Use #if TARGET_ELF, not #ifdef TARGET_SDATA.
4617         (rs6000_init_expanders): Likewise.
4618         (SMALL_DATA_RELOC): Likewise.
4619         (got_no_const_operand): Recognize SYMBOL_REF and LABEL_REF.
4620         (rs6000_makes_calls): System V profiling doesn't count as a call.
4621         (rs6000_stack_info): Likewise.
4622         (rs6000_output_load_toc_table): Take register number argument to
4623         determine register to load.  Generate correct code if more than
4624         one toc table is done in System V due to profiling or non-local
4625         gotos.  If System V toc is not initialized, initialize it now.
4626         (rs6000_allocate_stack_space): Move code from output_prolog to
4627         allocate stack space.  Take -mno-update into account.
4628         (output_prolog): Call rs6000_allocate_stack_space.  Only set
4629         rs6000_pic_func_labelno if not profiling.
4630         (output_function_profiler): Implement System V profiling.
4631         (and_operand): Don't call reg_or_short_operand.
4632         (rs6000_finalize_pic): If not optimizing, insert a USE of the GOT
4633         register as the last insn.
4634         
4635         * rs6000.md (load/store update): Take -mno-update into account.
4636         If -msoft-float, support SF load/store with update to GPR regs.
4637         (allocate_stack): Take -mno-update into account.
4638         (add/subtract + multiply instructions): Take -mno-fused-madd into
4639         account.
4640         (nonlocal_goto_receiver): Specify register # to load.
4641         ({add,and,ior,xor}si3): Recognize operation done with full 32 bit
4642         constant, splitting latter if need be.
4643         (andsi3 define_split): Fix up splitting andsi3 of large constant.
4644         ({ior,xor}si3 define_split): Use GEN_INT to create integer rtx
4645         values.
4646         (movsi_got{,_internal}): Split the load of a CONST into load of
4647         the SYMBOL_REF/LABEL_REF and an add.
4648         (movsi): Know that addsi3 can handle large values now for NT.
4649
4650         * sysv4.h (TARGET_SDATA): Remove explicit bit for -msdata.
4651         (SUBTARGET_OVERRIDE_OPTIONS): Likewise.
4652         (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
4653         (SUBTARGET_SWITCHES): Indicate -m{,no-}sdata doesn't set any flags.
4654         (ASM_SPEC): Only pass -m{,no-}reg-names if assembling .s/.S files.
4655         (CC1_SPEC): If -msdata, invoke compiler with -msdata=default.
4656         (PROFILE_BEFORE_PROLOGUE): Likewise.
4657         (RS6000_MCOUNT): Define as "_mcount".
4658         (toc_section): Make toc_initialized a global.
4659
4660 Fri Jun 27 19:01:11 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
4661
4662         * config/t-linux-gnulibc1: New file.
4663         * configure.in (i[3456]86-*-linux*): Default thread_file is `posix'.
4664         (i[3456]86-*-linux*gnulibc1): New case.
4665         * config/linux.h (LIB_SPEC): Choose for glibc 1 or 2 depending
4666         on USE_GNULIBC_1.
4667         * i386/linux.h (CPP_SPEC, LINK_SPEC): Likewise.
4668
4669 Fri Jun 27 19:00:52 1997  Ralf Baechle  <ralf@waldorf-gmbh.de>
4670
4671         * config/linux.h (PREFERRED_DEBUGGING_TYPE): Undefine before define.
4672
4673 Fri Jun 27 18:35:04 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>
4674         
4675         * configure.in: Clean up Make-{host,target,hooks} in all
4676         subdirs, not just '.'.
4677         * Makefile.in (distclean): Delete */Make-{host,target,lang,hooks}.
4678
4679 Fri Jun 27 18:27:11 1997  Fila Kolodny  <fila@ibi.com>
4680
4681         * config/xm-gnu.h (fcntl.h): Only include if not building libgcc.a.
4682
4683 Fri Jun 27 18:17:44 1997  Doug Evans  <dje@cygnus.com>
4684
4685         * configure.frag: Rewrite.
4686
4687         * objc/Make-lang.in (OBJC_CCOMMON): Object files don't go in srcdir.
4688         (OBJC_OBJS): Likewise.
4689         (OBJC_O): Likewise.
4690         (objc-parse.o, objc-act.o): Fix rules.
4691         (objc/libobjc files): Fix rules.
4692
4693 Fri Jun 27 13:23:38 1997  Andrew Cagney  <cagney@tpgi.com.au>
4694
4695         * fp-bit.c (float_to_si): Correct return value when Inf.
4696
4697 Fri Jun 27 10:47:09 1997  Scott Christley <scottc@net-community.com>
4698
4699         * Makefile.in (DLLTOOL): Define.
4700         * objc/Make-lang.in (libobjc_entry.o, libobjc_s.a, libobjc.dll):
4701         New targets.
4702         (objc.install-normal): Install Objective-C runtime as a DLL.
4703         (objc.mostlyclean): Clean up files used to build DLL.
4704         * objc/libobjc.def: New file.
4705         * objc/libobjc_entry.c: New file.
4706
4707         * objc/sendmsg.c (search_for_method_in_list): No longer static.
4708
4709         * Makefile.in (GCC_THREAD_FILE): Renamed from OBJC_THREAD_FILE.
4710         * configure.lang (GCC_THREAD_FILE): Likewise.
4711         * configure.in (--enable-threads): New parameter.
4712         * objc/Make-lang.in (OBJC_THREAD_FILE): New definition.e
4713         * objc/config-lang.in: Print message about ObjC thread file.
4714
4715         * cccp.c (INO_T_EQ): Define for Win32 but not Cygwin32.
4716         * i386/mingw32.h: New file.
4717         * i386/xm-mingw32.h: New file.
4718         * configure.in (i[3456]86-*-mingw32): New target.
4719         * protoize.c (link): Eliminate definition on Win32.
4720
4721         * objc/thr-posix.c (__objc_thread_yield): Use sched_yield instead.
4722
4723 Fri Jun 27 10:36:41 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
4724
4725         * stor-layout.c (layout_record, PCC_BITFIELD_TYPE_MATTERS):
4726         Round up when calculating possible end address.
4727
4728 Wed Jun 25 19:54:29 1997  Jim Wilson  <wilson@cygnus.com>
4729
4730         * unroll.c (final_giv_value): Verify that bl->initial_value is
4731         invariant before trying to use it.
4732
4733 Wed Jun 25 18:13:05 1997  Michael Meissner  <meissner@cygnus.com>
4734
4735         * rs6000/sysv4.h (WCHAR_TYPE{,_SIZE}): Make wchar_t long as per
4736         ABI spec.
4737
4738 Wed Jun 25 16:56:16 1997  Jason Merrill  <jason@yorick.cygnus.com>
4739
4740         * sparc.h (INCOMING_RETURN_ADDR_RTX): Define.
4741         (DBX_REGISTER_NUMBER): Fix frame pointer regno for -mflat.
4742         * sol2.h (DBX_REGISTER_NUMBER): Likewise.
4743         * sparc.c (save_regs): Emit dwarf2 frame debug info.
4744         (output_function_prologue, sparc_flat_save_restore,
4745         sparc_flat_output_function_prologue): Likewise.
4746
4747         * dwarf2.h (enum dwarf_call_frame_info): Add DW_CFA_GNU_window_save.
4748         * dwarf2out.c (dwarf_cfi_name, output_cfi): Support it.
4749         (dwarf2out_cfi_label): Make non-static.
4750         (initial_return_save): Support PLUS.
4751         (dwarf2out_window_save, dwarf2out_return_save, 
4752         dwarf2out_return_reg): New fns.
4753
4754         * dwarf2out.c (SECTION_FORMAT): Use PUSHSECTION_FORMAT, if defined.
4755         (DEBUG_INFO_SECTION): Rename from DEBUG_SECTION.
4756         (DEBUG_LINE_SECTION): Rename from LINE_SECTION.
4757         * mips/iris6.h: Likewise.
4758
4759 Wed Jun 25 16:25:41 1997  Scott Christley <scottc@net-community.com>
4760
4761         * Makefile.in (GCC_PASSES): Don't define with $(exeext).
4762         * configure.in ({cc,stage_prefix}_set_by_configure): Eliminate extra
4763         comma and don't pass value to configure.lang.
4764         * objc/Make-lang.in (objc-runtime): Add objc-headers.
4765
4766         * configure.in: Execute configure.frag in a shell.
4767
4768         * configure.in (cross_overrides, build_overrides): Default to
4769         /dev/null to help platforms where sed cannot handle empty filenames.
4770
4771         * Reorganize thread implementation to make a clearly defined
4772         front-end/back-end interface.
4773         * objc/thr-{decosf1,irix,mach,os2,posix,pthreads,single}.c: Completely
4774         rework according to new interface.
4775         * objc/thr-{solaris,win32}.c: Likewise.
4776         * objc/thr.c: Likewise.
4777         * objc/thr.h: Define front-end/back-end interface functions and
4778         structures.
4779
4780 Wed Jun 25 16:14:10 1997  Ovidiu Predescu <ovidiu@net-community.com>
4781
4782         * Complete implementation of +load.
4783         * objc/init.c (objc_send_load): New function.
4784         (objc_class_tree): New structure.
4785         (create_tree_of_subclasses_inherited_from): New function.
4786         (__objc_tree_insert_class): New function.
4787         (objc_tree_insert_class): New function.
4788         (objc_preorder_traverse): New function.
4789         (objc_postorder_traverse): New function.
4790         (__objc_tree_print): New function.
4791         (__objc_destroy_class_tree_node): New function.
4792         (class_is_subclass_of_class): New function.
4793         (__objc_exec_class): Allocate class tree list and load hash table.
4794         (__objc_send_message_in_list): Rewrite using hash table.
4795         (__objc_send_load): Remove calls to _objc_load_callback.
4796         (objc_send_load): Make static.  Create Tree of classes resembling
4797         class hierarchy for all modules.  Call __objc_send_load on all of 
4798         the modules in __objc_module_list.
4799         (__objc_create_classes_tree): New function.
4800
4801         * objc/encoding.h (method_get_sizeof_arguments): Fix typo.
4802         * objc/objc-api.h (OBJC_ERR_BAD_STATE): New error code.
4803         On NeXT redefine object_copy and object_dispose to avoid
4804         a conflict with those defined in system library.
4805         * objc/selector.c (__objc_register_instance_methods_to_class): New 
4806         function.
4807         * objc/runtime.h: Likewise.  Add missing function prototypes.
4808
4809 Wed Jun 25 15:09:01 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4810
4811         * Makefile.in (Makefile): Execute configure.frag from srcdir.
4812
4813         * Makefile.in (configure): Target is $(srcdir)/configure.
4814
4815 Tue Jun 24 15:18:14 1997  Jim Wilson  <wilson@cygnus.com>
4816
4817         * m68k.h (LIMIT_RELOAD_CLASS): Define.
4818
4819         * recog.c (constrain_operands): When checking earlyclobbers, use
4820         operands_match_p instead of rtx_equal_p.
4821
4822         * dwarfout.c (field_byte_offset): Check for object_offset_in_bits
4823         greater than bitpos_int and recompute object_offset_in_bytes if true.
4824
4825         * mips.md (movdi_internal): Add x/J alternative.
4826         (movdi_internal2): Add x/J alternative; change a/I to a/J.
4827         (movsi_internal1, movsi_internal2): Change x/I alternative to x/J.
4828
4829 Tue Jun 24 08:49:56 1997  Jeffrey A Law  (law@cygnus.com)
4830
4831         * pa.h (ASM_OUTPUT_SECTION_NAME): Fix typo.
4832
4833 Mon Jun 23 22:48:00 1997  Jim Wilson  <wilson@cygnus.com>
4834
4835         * unroll.c (find_splittable_givs): Set splittable_regs_updates to
4836         biv_count for reduced givs.
4837
4838 Mon Jun 23 10:51:53 1997  Jeffrey A Law  (law@cygnus.com)
4839
4840         * mn10200.c, mn10200.h, mn10200.md: New files for mn10200 port.
4841         * lib1funcs.asm, divmod.c, udivmod.c, udivmodsi4.c: Likewise.
4842         * t-mn10200, xm-mn10200.h, va-mn10200.h: Likewise.
4843         * Makefile.in (USER_H): Add va-mn10200.h.
4844         * varargs.h, stdarg.h: Include va-mn10200.h.
4845         * configure.in (mn10200-*-*): New target.
4846         
4847 Sun Jun 22 06:47:19 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4848
4849         * combine.c (force_to_mode): Don't do anything for ASM_OPERANDS insn.
4850
4851 Sun Jun 22 06:29:28 1997  J. Kean Johnston  <jkj@sco.com>
4852
4853         * ginclude/stdarg.h: Protect va_list definition from SCO headers.
4854         * ginclude/varargs.h: Likewise.
4855
4856 Sat Jun 21 20:56:23 1997  Scott Christley <scottc@net-community.com>
4857
4858         * Make ObjC a front-end language.
4859         * Makefile.in (LANGUAGES, COMPILERS, .PHONY, stmp-int-hdrs): Remove
4860         specific references to ObjC compiler and source files.
4861         ({mostly,dist,maintainer,}clean, install-normal): Likewise
4862         (OBJC_OBJS, OBJC, OBJECTIVE-C, cc1obj, objc-runtime): Rules deleted.
4863         (libobjc.a, sublibobjc.a, objc-parse.{o, c, y}): Rules deleted.
4864         (objc-headers, install-libobjc): Rules deleted.
4865         * objc/Make-lang.in: New file; from rules deleted above.
4866         * objc/config-lang.in: New file.
4867         * objc/Makefile.in: Changes to support ObjC as a front-end language;
4868         renamed from Makefile.in.
4869         * objc-act.{c,h}, objc-parse.{c,y}, objc-tree.def: Moved to objc dir.
4870
4871 Sat Jun 21 07:54:36 1997  Robert Lipe <robertl@dgii.com>
4872
4873         * fixinc.sco (math.h): Correct the collision of "exception".
4874
4875 Sat Jun 21 06:51:40 1997  Peter Gerwinski  <peter@agnes.dida.physik.uni-essen.de>
4876
4877         * rs6000.c (output_epilog): Name is "GNU Pascal", not all caps.
4878
4879 Sat Jun 21 06:29:19 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
4880
4881         * gcc.c (main): Check for and read ${libdir}/gcc-lib/specs to
4882         override the default specs.
4883
4884 Fri Jun 20 17:20:15 1997  Jim Wilson  <wilson@cygnus.com>
4885
4886         * mips.c (output_block_move): When loading addresses into registers,
4887         add checks for ABI_N32 and ABI_64.
4888         (mips_expand_prologue): Add check for SImode in code splitting
4889         tsize_rtx when it is large_int.
4890
4891 Fri Jun 20 09:07:31 1997  Russell King  <rmk92@ecs.soton.ac.uk>
4892
4893         * configure.in (arm-*-linuxaout): New target.
4894         * arm/lib1funcs-linux.asm, arm/linux-gas.h: New files.
4895         * arm/linux.h, arm/t-linux, arm/xm-linux.h: New file.
4896         * xm-linux.h: Undef some macros before defining them.
4897
4898 Thu Jun 19 21:18:20 1997  Jim Wilson  <wilson@cygnus.com>
4899
4900         * dwarf2out.c (output_line_info): Always use DW_LNE_set_address instead
4901         of DW_LNS_fixed_advance_pc for line number addresses.
4902         (size_of_line_info): Adjust size calculation as per above change.
4903         (text_end_label): Make it static.
4904
4905 Thu Jun 19 14:55:49 1997  Brendan Kehoe  <brendan@cygnus.com>
4906
4907         * toplev.c (xmalloc): Only give the fatal msg if SIZE is non-zero.
4908
4909 Sun Apr 27 23:19:13 1997  Ulrich Drepper  <drepper@cygnus.com>
4910
4911         * libgcc2.c (__eh_type):  Remove `extern' to make this a definition.
4912
4913 Wed Jun 18 18:10:16 1997  Per Bothner  <bothner@cygnus.com>
4914
4915         * dbxout.c (dbxout_type_fields):  Skip field if DECL_IGNORED_P.
4916
4917 Wed Jun 18 18:04:33 1997  Mike Stump  <mrs@cygnus.com>
4918
4919         * except.c (end_eh_unwinder): If we have a return instruction, we
4920         have to make sure we use it and don't fall off the end of the
4921         function in the unwinder.
4922
4923 Wed Jun 18 14:27:58 1997  Mike Stump  <mrs@cygnus.com>
4924  
4925         * flow.c (find_basic_blocks): Fix end case bug.
4926  
4927 Tue Jun 17 18:35:57 1997  Mike Stump  <mrs@cygnus.com>
4928
4929         * libgcc2.c (__eh_pcnthrow): Add support -fno-sjlj-exceptions
4930         -fPIC exception handling on the SPARC.
4931         * sparc.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
4932         * libgcc2.c (__eh_ffetmnpc): Remove.
4933
4934 Mon Jun 16 20:28:51 1997  Jason Merrill  <jason@yorick.cygnus.com>
4935
4936         * collect2.c (extract_string): Null-terminate.
4937
4938 Mon Jun 16 14:38:44 1997  Michael Meissner  <meissner@cygnus.com>
4939
4940         * combine.c (set_nonzero_bits_and_sign_copies): Use REG_SET macros
4941         instead of doing bit operations directly.
4942         (try_combine,reg_dead_at_p): Ditto.
4943         * caller-save.c (save_call_clobbered_regs): Ditto.
4944         * reload1.c (reload): Ditto.
4945         * local-alloc.c (update_equiv_regs,block_alloc): Ditto.
4946         * sched.c (schedule_block): Dito.
4947
4948 Sun Jun 15 20:46:12 1997  Jim Wilson  <wilson@cygnus.com>
4949
4950         * dwarf2out.c (dwarf2out_frame_debug): Handle IOR.
4951         (struct limbo_die_struct): Define.
4952         (TYPE_DECL_IS_STUB): Call decl_ultimate_origin if DECL_ABTRACT_ORIGIN
4953         is set.
4954         (limbo_die_count): Delete.
4955         (libmo_die_list): Define.
4956         (new_die): Add die to limbo_die_list instead of incrementing
4957         limbo_die_count.
4958         (add_AT_location_description): Renamed from add_location_attribute.
4959         New parameter attr_kind.
4960         (add_location_or_const_value_attribute, gen_subprogram_die,
4961         add_bound_info): Change call to add_AT_location_description.
4962         (add_bound_info): Add call to contains_placeholder_p.  Ignore
4963         MAX_EXPR and VAR_DECL.
4964         (add_subscript_info): Ignore the index type if it is an unnamed
4965         integral type.
4966         (scope_die_for): Move check for function-local tags after code setting
4967         containing_scope, and add check for non-NULL containing_scope
4968         (add_type_attribute): If unnamed type, use TREE_TYPE instead.
4969         (gen_enumeration_type_die, gen_struct_or_union_type_die): Call
4970         add_child_die if die_parent is NULL.
4971         (gen_subprogram_die): Ifdef out DW_AT_static_link code.
4972         (decls_for_scope): Delete decrement of limbo_die_count.
4973         (dwarf2out_finish): Add code to traverse the limbo_die_list, and
4974         call add_child_die if die_parent is NULL.  Delete limbo_die_count code.
4975         * mips.c (mips_expand_prologue): If tsize_rtx is large_int, emit two
4976         insns instead of one splitable insn, setting RTX_FRAME_RELATED_P.
4977
4978 Fri Jun 13 19:33:35 1997  Brendan Kehoe  <brendan@cygnus.com>
4979
4980         * fixincludes: Also fix AIX NULL macro in sys/{dir,param,types}.h.
4981
4982 Thu Jun 12 22:53:12 1997  Jim Wilson  <wilson@cygnus.com>
4983
4984         * m68k.md (mov[qhs]i): Remove pair of constraints which allow
4985         offsetable memory addresses to be moved to the same for TARGET_5200.
4986
4987 Thu Jun 12 15:33:01 1997  Jeffrey A Law  (law@cygnus.com)
4988
4989         * pa.h (SELECT_RTX_SECTION): Place symbolic operands into the
4990         data section.
4991
4992         * pa.c (emit_move_sequence): Rewrite code to handle arithmetic
4993         involving plabels.
4994
4995 Wed Jun 11 08:57:14 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
4996
4997         * tree.c (unsave_expr_now): Avoid recursing into the parts of
4998         the tree that are RTL.
4999
5000 Thu Jun 12 09:43:55 1997  Jeffrey A Law  (law@cygnus.com)
5001
5002         * reorg.c (emit_delay_sequence): Call set_new_first_and_last_insn
5003         after the new sequence insn has been spliced into the insn chain.
5004
5005 Wed Jun 11 23:10:49 1997  Jeffrey A Law  (law@cygnus.com)
5006
5007         * mn10300.md (call, call_value): Use "call" instead of "calls"
5008         for calls to named functions.
5009
5010 Wed Jun 11 00:22:34 1997  Jim Wilson  <wilson@cygnus.com>
5011
5012         * configure, configure.in: Restore changes from Feb 15 to Apr 13
5013         lost during conversion to autoconf.
5014
5015 Tue Jun 10 18:23:35 1997  Mike Stump  <mrs@cygnus.com>
5016
5017         * stmt.c (expand_decl_cleanup): Avoid core dumping when exceptions
5018         aren't on.
5019         
5020 Tue Jun 10 18:22:30 1997  Jason Merrill  <jason@yorick.cygnus.com>
5021
5022         * collect2.c (extract_string): New fn.
5023         (main): Use it.
5024
5025 Tue Jun 10 17:40:15 1997  Jim Wilson  <wilson@cygnus.com>
5026
5027         * expr.c (emit_group_load): Add case using gen_lowpart. 
5028
5029 Tue Jun 10 17:14:58 1997  Michael Meissner  <meissner@cygnus.com>
5030
5031         * rs6000.c (rs6000_override_options): If -mcpu=403, set -mstrict-align.
5032
5033         * rs6000/t-ppc{,gas} (MULTILIB_EXTRA_OPTS): Build libraries with
5034         -mstrict-align.
5035
5036         * configure.in ({powerpc,rs6000}*-*-*): Add embedded targets to
5037         --with-cpu=n support.
5038
5039 Tue Jun 10 07:06:12 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
5040
5041         * flow.c (mark_used_regs): Fix typo in Jun 4 change.
5042
5043 Mon Jun  9 20:26:26 1997  Jim Wilson  <wilson@cygnus.com>
5044
5045         * Makefile.in (MAYBE_USE_COLLECT2): Renamed from MAYBE_USE_COLLECT.
5046
5047 Mon Jun  9 19:42:21 1997  Jason Merrill  <jason@yorick.cygnus.com>
5048
5049         * fold-const.c (fold): Don't do COND_EXPR -> MIN_EXPR folding if it
5050         loses information that might be needed by a later use as an lvalue.
5051
5052 Mon Jun  9 19:10:50 1997  Alexandre Oliva <oliva@dcc.unicamp.br>
5053
5054         * configure.in: Don't override a user's setting for prefix
5055         on platforms that use the native prefix.
5056
5057 Mon Jun  9 19:00:49 1997  Brendan Kehoe  <brendan@melange.gnu.ai.mit.edu>
5058
5059         * integrate.c (expand_inline_function): Use the mode of FNDECL's
5060         result rtl, not the result type itself, in setting ARRIVING_MODE.
5061
5062         * reload1.c (reload): Use xmalloc instead of alloca for the label
5063         offsets in OFFSETS_AT and OFFSETS_KNOWN_AT.
5064
5065 Mon Jun  9 15:16:52 1997  Mike Stump  <mrs@cygnus.com>
5066
5067         * flow.c (find_basic_blocks): Eliminate more dead code, enables
5068         dead throws to be eliminated.
5069
5070 Mon Jun  9 17:15:50 1997  Stephen L Moshier  <moshier@world.std.com>
5071
5072         * alpha.c (check_float_value):  Underflow and overflow constants
5073         are different for FLOAT_VAX and default targets.
5074
5075 Mon Jun  9 16:48:21 1997  Scott Christley <scottc@net-community.com>
5076
5077         * Makefile.in (Makefile): Process language fragments.
5078         * configure.frag: New file.
5079         * configure.in: Move language fragment processing to configure.lang.e
5080
5081         * Makefile.in (GCC_PASSES): Prevent all compilers from being
5082         built when only the C compiler is needed.
5083
5084         * configure.in (cross_overrides, build_overrides): Use absolute
5085         path to GCC top-level source directory.
5086
5087         * configure.in: Save target alias for language directories.
5088
5089         * configure.in (with-gxx-include-dir): New parameter for
5090         setting the g++ header file directory.
5091         * Makefile.in (gxx_include_dir): Use autoconf variable.
5092
5093         * configure.in: Add parameter for setting local prefix.
5094
5095         * configure.lang: New file.
5096         * configure.in: Move language subdirectory Makefile processing
5097         into configure.lang.
5098
5099 Mon Jun  9 16:44:47 1997  Jim Wilson  <wilson@cygnus.com>
5100
5101         * sched.c (attach_deaths): Fix typo in Jun 4 change.
5102
5103 Mon Jun  9 15:13:00 1997  Marc Lehmann  (pcg@goof.com)
5104
5105         * varasm.c (assemble_end_function): Switch back to function
5106         section after outputting constant pool.
5107
5108 Mon Jun  9 14:47:22 1997  Paul Eggert  <eggert@twinsun.com>
5109
5110         * tree.c (change_main_variant): Remove unused function.
5111         (build_array_type): Remove obsolete references to
5112         change_main_variant.
5113         * c-decl.c (complete_array_type): Likewise.
5114
5115         * c-common.c (c_build_type_variant): Don't futz with main type
5116         variant of array since C Standard requires main type variant of
5117         array-of-const also be array-of-const.
5118
5119         * Makefile.in: Comment out lines containing just formfeeds.
5120
5121         * Makefile.in (distclean): Remove config.bak.
5122         (maintainer-clean): Output warning.
5123         Do not remove `configure'.
5124
5125 Mon Jun  9 14:44:17 1997  J.T. Conklin  <jtc@netbsd.org>
5126
5127         * configure.in (*-*-netbsd): Restore changes of Apr 13th lost in
5128         autoconf conversion: tmake_file now t-netbsd; delete xmake_file.
5129
5130 Mon Jun  9 14:39:29 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5131
5132         * expr.c (expand_builtin, case BUILT_IN_FRAME_ADDRESS):
5133         Use correct function name in error message.
5134
5135         * Makefile.in (diff): Exclude bi-parser.h.
5136
5137         * i386.h (CC1_CPU_SPEC): Renamed, was CC1_SPEC.
5138         (CC1_SPEC): New macro.
5139         (EXTRA_SPECS): Add "cc1_cpu".
5140         * i386/linux.h (CC1_SPEC): New macro.
5141
5142 Mon Jun  9 13:23:06 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
5143
5144         * m68k/next.h (TARGET_DEFAULT): Use MASK_68040,
5145         not MASK_68040_ALSO.
5146         * m68k/mot3300.h, m68k/ccur-GAS.h (TARGET_DEFAULT): Likewise.
5147
5148         * m68k.h (MACHINE_STATE_{SAVE,RESTORE}): Test #ifdef __mcf52000__,
5149         not if (TARGET_52000); fixed for mc68000 case.
5150
5151         * m68k/mot3300.h (CPP_SPEC): Define __mc68020__ if no -m[c]68000
5152         command-line option given.
5153
5154 Mon Jun  9 09:19:17 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
5155
5156         * Makefile.in (target_alias): Substitute with target_alias.
5157
5158         * final.c (final_scan_insn): Use single_set to check cc_status.flags.
5159
5160 Mon Jun  9 09:09:07 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5161
5162         * c-common.c (check_format_info): Correct handling of the 'a' flag
5163         which adds another pointer level.
5164
5165 Sun Jun  8 00:34:25 1997  Jeffrey A Law  (law@cygnus.com)
5166
5167         * pa.md (conditional branch insns): Get length right for branches
5168         to targets which can not be reached with a "bl" instruction.
5169         * pa.c (output_cbranch): Handle branches to targets which can not
5170         be reached with a "bl" instruction.
5171
5172         * pa.md (alternate dbra pattern): Remove incorrect pattern.
5173
5174 Sat Jun  7 23:30:25 1997  Jeffrey A Law  (law@cygnus.com)
5175
5176         * pa.c (struct defer_plab): Renamed to struct deferred_plabel.
5177         Remove "symbol" field and replace with "name" field.
5178         (output_function_epilogue): Don't output deferred plabels here.
5179         (output_deferred_labels): New function.  Output them here instead.
5180         (output_call): Rewrite long call support.
5181         * pa.h (ASM_FILE_END): Define.
5182         (LEGITIMATE_CONSTANT_P): Never accept a function_label_operand.
5183         * pa.md (HIGH and LO_SUM of function address): Remove patterns.
5184
5185 Fri Jun  6 16:09:04 1997  Mike Stump  <mrs@cygnus.com>
5186
5187         * libgcc2.c (__eh_ffetmnpc): Add support for machines that cannot
5188         access globals after throw's epilogue when -fno-sjlj-exceptions is
5189         used.
5190         * rs6000.c (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
5191         * mips.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
5192         (INITIAL_ELIMINATION_OFFSET): Fix RETURN_ADDRESS_POINTER_REGNUM
5193         for 64 bit words, with 32 bit pointers and variable endianness.
5194
5195 Fri Jun  6 17:27:58 1997  Mike Meissner  <meissner@cygnus.com>
5196
5197         * regclass.c (allocate_reg_info): Fix off by one error.
5198
5199 Fri Jun  6 17:17:41 1997  Doug Evans  <dje@cygnus.com>
5200
5201         * basic-block.h (EXECUTE_IF_SET_IN_REG_SET): Fix setting of scan_rs_.
5202         (EXECUTE_IF_SET_AND_RESET_IN_REG_SET): Likewise.
5203         (EXECUTE_IF_AND_IN_REG_SET): Likewise.
5204         (EXECUTE_IF_AND_COMPL_IN_REG_SET): Likewise.
5205
5206 Fri Jun  6 15:42:59 1997  Stan Cox  <coxs@dg-rtp.dg.com>
5207
5208         * i386.c (notice_cc_update): Set CC_FCOMI is this is a float compare.
5209
5210 Fri Jun  6 15:12:38 1997  Jim Wilson  <wilson@cygnus.com>
5211
5212         * basic-block.h (REG_SET_TO_HARD_REG_SET): Fix typo.
5213
5214         * sched.c (update_flow_info): When add extra REG_DEAD note for original
5215         dest, handle case where last insn both uses and sets dest.
5216
5217 Thu Jun  5 22:19:36 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
5218
5219         * fixinc.irix: Add declaration of __vfork to unistd.h.
5220
5221         * i960/vx960-coff.h (CPP_SPEC): Always define CPU, even if they
5222         use -ansi; the VxWorks headers assume it's always present.
5223         * sparc/vxsparc.h (CPP_SPEC): Define, adding the CPU definition to
5224         what came from sparc.h.
5225         (CPP_PREDEFINES): Don't define it here.
5226
5227 Thu Jun  5 13:40:33 1997  Mike Meissner  <meissner@cygnus.com>
5228
5229         * basic-block.c (OBSTACK_ALLOC_REG_SET): Rename from
5230         OBALLOC_REG_SET.  Add obstack pointer parameter.
5231
5232         * flow.c (function_obstack): Add declaration.
5233         (life_analysis): Don't allocate the space to hold to vector of
5234         regsets here.
5235         (init_regset_vector): Add pointer parameter and delete space
5236         paramter.  Use OBSTACK_ALLOC_REG_SET to allocate.  Change callers.
5237         (propagate_block): Use ALLOCA_REG_SET instead of bare alloca.
5238
5239         * sched.c (schedule_block): Fix typo in yesterday's changes.
5240         * reorg.c (mark_target_live_regs): Ditto.
5241
5242 Thu Jun  5 09:44:49 1997  Jeffrey A Law  (law@cygnus.com)
5243
5244         * sh.c (trap_exit, sp_switch): New variables.
5245         (print_operand, case '@'): If trap_exit is nonzero, then use
5246         a trapa instead of an rte/rts to exit the current function.
5247         (sh_expand_prologue): Switch stacks at function entry as needed.
5248         (sh_expand_epilogue): Similarly at function exit.
5249         (function_epilogue): Clear trap_exit and sp_switch too.
5250         (sh_valid_machine_decl_attribute): New function.
5251         * sh.h (VALID_MACHINE_DECL_ATTRIBUTE): Define.
5252         (sp_switch): Declare.
5253         * sh.md (sp_switch_1, sp_switch_2): New named patterns.
5254
5255 Wed Jun  4 18:11:14 1997  Michael Meissner  <meissner@cygnus.com>
5256
5257         * basic-block.h (REGSET_ELT_BITS): Make this explicitly unsigned, so
5258         that division and modulus of REGSET_ELT_BITS uses a pure shift.
5259         (*_REG_SET): New macros to abstract the register set interface.
5260
5261         * caller-save.c (save_call_clobbered_regs): Use new *_REG_SET
5262         macros.
5263         * flow.c (life_analysis,propagate_block,insn_dead_p): Ditto.
5264         (regno_uninitialized,regno_clobbered_at_setjmp,mark_set_1): Ditto.
5265         (mark_used_regs,dump_flow_info,global_conflicts): Ditto.
5266         global.c (mark_elimination): Ditto.
5267         * reorg.c (mark_target_live_regs): Ditto.
5268         * sched.c (sched_{analyze_{1,insn},note_set}): Ditto.
5269         (birthing_insn_p,attach_deaths,unlink_notes,schedule_block): Ditto.
5270
5271         * sched.c (sometimes structure): Delete offset, bit fields, replace
5272         with regno.
5273         (new_sometimes_live): Take regno argument, not offset and bit.
5274         Change all callers.
5275
5276 Tue Jun  3 19:18:36 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
5277
5278         * fixincludes: Fix AIX NULL macro use of void*.
5279
5280 Tue Jun  3 15:21:04 1997  Jason Merrill  <jason@yorick.cygnus.com>
5281
5282         * sparc.h (ASM_OUTPUT_MI_THUNK): Handle -fpic.
5283
5284 Mon Jun  2 16:53:53 1997  Michael Meissner  <meissner@cygnus.com>
5285
5286         * loop.c (n_times_{set,used}): Make type int, not short.
5287         (scan_loop): n_times{set,used} are now int pointers.
5288
5289         * sched.c (sched_reg_n_deaths): Remove unused variable.
5290         (struct sometimes): Make fields int sized, not short.
5291         (schedule_insns): Don't set sched_reg_n_deaths, nobody uses it.
5292
5293         * regclass.c (allocate_reg_info): Allocate space for reg_renumber,
5294         but don't set unless new argument RENUMBER_P is set.  If this is first
5295         call for function and we need to grow space, use free/xmalloc instead
5296         of realloc since we will be initializing the whole array.  If number
5297         of registers is < 0, just free up space.
5298         (reg_scan): Update allocate_reg_info call.
5299         * regs.h (allocate_reg_info): Change prototype.
5300         * flow.c (allocate_for_life_analysis): Update allocate_reg_info call.
5301         * local-alloc.c (local_alloc): Call allocate_reg_info to allocate
5302         and initialize the reg_renumber array.
5303         * stupid.c (stupid_life_analysis): Likewise.
5304
5305 Mon Jun  2 14:50:06 1997  Dave Miller  <davem@jenolan.rutgers.edu>
5306
5307         * sparc.md (v9 eq/ne cond move patterns): Add early clobber
5308         constraint to destination.
5309
5310 Fri May 30 11:00:44 1997  Michael Meissner  <meissner@cygnus.com>
5311
5312         * regs.h (reg_info): New structure to group the arrays indexed by
5313         register number created by reg_scan and flow_analysis that are
5314         globally visiable.
5315         (reg_n_info): Pointer to the register information array.
5316         (reg_n_{refs,sets,deaths,calls_crossed}): Delete variables.
5317         (reg_changes_size): Likewise.
5318         (REG_N_{REFS,SETS,DEATHS,CALLS_CROSSED}): New macros to reference
5319         reg_n_info.
5320         (REG_{CHANGES_SIZE,{FIRST,LAST,LAST_NOTE}_UID}): Likewise.
5321         (allocate_reg_info): Add declaration.
5322
5323         * basic-block.h (reg_basic_block): Delete.
5324         (REG_BASIC_BLOCK): Use reg_n_info structure.
5325
5326         * caller-save.c: Change all references to the above arrays to use
5327         the corresponding macro to access the reg_n_info array.
5328         * combine.c, cse.c, flow.c, global.c, jump.c, local-alloc.c: Likewise.
5329         * loop.c, regclass.c, reload1.c, sched.c, stupid.c, unroll.c: Likewise.
5330
5331         * regclass.c (allocate_reg_info): New function to allocate the
5332         reg_info array and initialize the appropriate fields.
5333         (reg_scan): Call it.
5334         * flow.c (allocate_for_life_analysis): Call allocate_reg_info to do
5335         the actual allocation.
5336
5337 Thu May 29 15:42:59 1997  Stan Cox  <coxs@dg-rtp.dg.com>
5338
5339         * i386.md (movsfcc_1, movdfcc_1, movxfcc_1): Use singlemove_string
5340         for float conditional move when destination and operands all differ.
5341         
5342         * i386.h (ASM_OUTPUT_REG_{PUSH,POP}): add %% before register name.
5343
5344         * go32.h (ASM_OUTPUT_ALIGN): Use .p2align, not byte alignments. 
5345
5346 Wed May 28 20:44:00 1997  Mike Stump  <mrs@cygnus.com>
5347
5348         * except.c (push_eh_entry): Eliminate start of exception region
5349         label, as it isn't used.  Rename end_label to outer_context.
5350         (expand_eh_region_start_for_decl): Likewise.
5351         (expand_leftover_cleanups): Likewise.
5352         (expand_start_all_catch): Likewise.
5353         * except.h (eh_entry): Likewise.
5354         * except.c (expand_eh_region_end): Likewise.  Jump around the nop
5355         that we insert, so that we can optimize it away, if it is unused,
5356         also so that flow analysis can tell if we fall through to the end
5357         of a function or not so that it can know if a function that returns
5358         a value, in fact does or not.
5359
5360 Wed May 28 10:50:09 1997  Jeffrey A Law  (law@cygnus.com)
5361
5362         * pa.md (jump): Handle out of range unconditional jump
5363         when not optimizing.
5364
5365 Thu May 22 00:57:07 1997  Jeffrey A Law  (law@cygnus.com)
5366
5367         * reload1.c (reload_cse_record_set): Ignore values for SREG if
5368         their mode is narrower than DEST_MODE.
5369
5370         * pa.h (DFMODE_RETURN_STRING): Define.
5371         (SFMODE_RETURN_STRING): Likewise.
5372         (ASM_DECLARE_FUNCTION_NAME): Use them.
5373
5374 Wed May 21 23:32:02 1997  Jeffrey A Law  (law@cygnus.com)
5375
5376         * mn10300.md (reload_insi): Handle SUBREG properly.
5377
5378 Tue May 20 22:32:13 1997  Jason Merrill  <jason@yorick.cygnus.com>
5379
5380         * dwarf2out.c (dwarf2out_def_cfa): Set cfa_reg at the top.
5381
5382 Tue May 20 16:57:50 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
5383
5384         * cplus-dem.c (do_type): Handle `J'.
5385         (demangle_fund_type): Print "complex" for it.
5386
5387 Mon May 19 21:01:53 1997  Jim Wilson  <wilson@cygnus.com>
5388
5389         * m68k.c (output_move_qimode): Add coldfire support.
5390         * m68k.h (PUSH_ROUNDING): Add coldfire support.
5391         * m68k.md (scc{,0}_di, seq, sne, sgt, sgtu, slt, sltu, sge, sgeu,
5392         sle, sleu): Add coldfire support.
5393
5394 Mon May 19 17:53:34 1997  Mike Meissner  <meissner@cygnus.com>
5395
5396         * rs6000.c: (rs6000_pic_func_labelno): New variable.
5397         (rs6000_output_load_toc_table): Use it.
5398         (output_prolog): Store current value.
5399
5400 Sun May 18 16:32:08 1997  Michael Meissner  <meissner@cygnus.com>
5401
5402         * dbxcoff.h (ASM_OUTPUT_SOURCE_LINE): Use macros
5403         ASM_{GENERATE,OUTPUT}_INTERNAL_LABEL to create/output line
5404         number label.
5405
5406 Sun May 18 13:55:12 1997  John Vickers (john@rhizik.demon.co.uk)
5407
5408         * m68k.h (TARGET_SWITCHES): Add new target name, cpu32.
5409
5410 Sun May 18 13:50:10 1997  Pat Rankin  <rankin@eql.caltech.edu>
5411
5412         * cccp.c (VMS_write, VMS_read): Delete.
5413         (safe_write): If MAX_WRITE_LEN is defined, limit
5414         incremental write attempts to that amount.
5415         (safe_read): Analogous situation for MAX_READ_LEN.
5416         * cpplib.c (safe_read): Likewise.
5417         * vax/xm-vms.h (MAX_WRITE_LEN, MAX_READ_LEN): Define.
5418
5419         * vax/xm-vms.h (get_dynamic_handler_chain_libfunc): New macro.
5420         (protect_cleanup_actions_with_terminate): New macro.
5421
5422 Sun May 18 08:50:25 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5423
5424         * m68k/linux.h (ASM_COMMENT_START): Define.
5425         * m68k/linux-aout.h (ASM_COMMENT_START): Define.
5426
5427         * reload1.c (reload_cse_regno_equal_p): Check for value using more
5428         than one register on a big endian machine.
5429
5430 Sun May 18 08:39:59 1997  Vince Del Vecchio  <vdelvecc@spd.analog.com>
5431
5432         * loop.c (maybe_eliminate_biv_1): In (set (cc0) <biv>) case,
5433         swap compare operands when mult_val < 0 in one additional place.
5434
5435 Sun May 18 08:33:30 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5436
5437         * dwarf2out.c (ASM_COMMENT_START): Add default definition.
5438
5439         * Makefile.in (maintainer-claean): Delete configure.
5440
5441 Sun May 18 08:31:59 1997  Scott Christley <scottc@net-community.com>
5442
5443         * configure.in: New file.
5444         * Makefile.in: Change to utilize autoconf variables.
5445         * configure: Now an output file.
5446
5447 Sun May 18 07:48:31 1997  J.T. Conklin  <jtc@netbsd.org>
5448
5449         * m68k.md (mov[qhs]i,movstrict[qs]i, mulsi3): Use 'Q' constraint
5450         for TARGET_5200.
5451         * m68k.h (EXTRA_CONSTRAINT): New macro. 
5452
5453         * m68k.h (TARGET_SWITCHES): Add 68020-60.
5454         Mask out bits which indicate a particular processor when a different
5455         processor is selected.
5456         (MASK_68040_ALSO): Remove.
5457         (MASK_68040): Change to be a single bit.
5458
5459         * m68k.h (TARGET_ALIGN_INT, MASK_ALIGN_INT): New macros.
5460         (BIGGEST_ALIGNMENT): Determine according to TARGET_ALIGN_INT.
5461         (TARGET_SWITCHES): Add align-int and no-align-int.
5462
5463         * m68k.md (mov[qhs]i}): Add pair of constraints which allow
5464         offsetable memory addresses to be moved to the same for TARGET_5200.
5465
5466         * m68k.c (output_move_strict{hi,qi}): New functions.
5467         * m68k.h (output_move_strict{hi,qi}): Declare.
5468         * m68k.md (movstrict*): Changed into define_expands.
5469         Split insns into m68k and coldfire specific versions with appropriate
5470         constraints.
5471
5472 Sun May 18 07:26:40 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
5473
5474         * libgcc2.c (atexit): Cast malloc and realloc calls.
5475
5476 Sat May 17 16:26:51 1997  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
5477
5478         * final.c (profile_function): Call function_section, not
5479         text_section.
5480
5481 Sat May 17 16:01:00 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
5482
5483         * cse.c (notreg_cost): New function, extracted from COST macro.
5484         (COST): Use notreg_cost.
5485
5486 Sat May 17 15:13:23 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5487
5488         * cse.c (cse_insn): Don't record a SRC that's a MEM and the same
5489         as a REG_EQUIV note if DEST is set more than once.
5490
5491 Fri May 16 14:50:57 1997  Jeffrey A Law  (law@cygnus.com)
5492
5493         * pa.c (output_move_double): Handle loading a general register
5494         from a scaled indexed memory address.
5495         * pa.md (movdf, movdi): Allow scaled loads into general registers.
5496
5497 Fri May 16 13:31:08 1997  Mike Stump  <mrs@cygnus.com>
5498
5499         * rs6000.c (rs6000_stack_info): Only do eabi setup for "main",
5500         when main is the global main, not some nested routine that
5501         happens to be called main.
5502
5503 Thu May 15 17:19:50 1997  Mike Stump  <mrs@cygnus.com>
5504
5505         * except.c (expand_start_all_catch): If the machine needs to
5506         perform any actions at the start of an expcetion handler that
5507         hasn't already been done, use gen_exception_receiver to emit it.
5508         (expand_leftover_cleanups): Likewise.
5509         * alpha.md (exception_receiver): Use it.
5510         * pa.h (exception_receiver): Use it.
5511
5512 Thu May 15 08:36:59 1997  Jeffrey A Law  (law@cygnus.com)
5513
5514         * dbxout.c (dbxout_function_end): Don't subtract one from
5515         the end of function scoping stab.
5516
5517 Wed May 14 23:27:09 1997  Jeffrey A Law  (law@cygnus.com)
5518
5519         * mn10300.md (adddi3, subdi3): Remove expanders and patterns.
5520
5521 Wed May 14 18:51:35 1997  Mike Stump  <mrs@cygnus.com>
5522
5523         * function.c (expand_function_end): Make sure we finish off any
5524         leftover exception handlers.
5525
5526 Tue May 13 14:07:01 1997  Mike Stump  <mrs@cygnus.com>
5527
5528         * expr.c (expand_builtin_setjmp): Remove setting of
5529         current_function_has_nonlocal_goto, as this isn't a goto.
5530
5531 Tue May 13 14:47:40 1997  Richard Earnshaw (rearnsha@cambridge.arm.com)
5532
5533         * arm.h (CPP_SPEC): Fix typo invoking cpp_endian.
5534         * arm/t-semi (LIB2FUNCS_EXTRA): Build fp-bit.c when compiling
5535         with -msoft-float.
5536         * arm.c: Add prototypes for all static functions.
5537         (output_multi_immediate, int_log2): Make static.
5538
5539         * arm.h (*_SPEC): Remove all references to mle/mbe.
5540         * arm/coff.h (MULTILIB_DEFAULTS): Likewise.
5541         * arm/t-bare (MULTILIB_OPTIONS): Change options mbe/mle to mbig-endian
5542         and mlittle-endian.
5543         (MULTILIB_MATCHES): Nothing matches that matters.
5544
5545 Mon May 12 20:42:20 1997  Mike Stump  <mrs@cygnus.com>
5546
5547         * except.c (expand_start_all_catch): If need nonlocal_goto_receiver,
5548         add one at the start of exception handler.
5549         (expand_leftover_cleanups): Likewise.
5550
5551 Mon May 12 17:36:28 1997  Jeffrey A Law  (law@cygnus.com)
5552
5553         * mips.c (move_operand): Accept any general operand after reload
5554         has started.
5555
5556 Fri May  9 14:29:33 1997  Jeffrey A Law  (law@cygnus.com)
5557
5558         * mn10300.md (udivmodhi4, divmodhi4): Remove expander, give
5559         corresponding pattern [u]divmodhir4 name.  Clear MDR register
5560         in the udivmodhi4 pattern itself.
5561         (clear_mdr): Delete pattern.
5562
5563 Thu May  8 18:20:30 1997 Richard Earnshaw (rearnshaw@cambridge.arm.com)
5564
5565         * arm/aout.h (ASM_OUTPUT_LONG_DOUBLE): Delete call to 
5566         arm_increase_location.
5567         (ASM_OUTPUT_{DOUBLE,FLOAT,INT,SHORT,CHAR,BYTE,ASCII,SKIP}): Likewise.
5568         (ASM_OUTPUT_ALIGN): Delete all code refering to arm_text_location.
5569
5570         * arm.c (arm_increase_location, get_prologue_size): Delete.
5571         (arm_naked_function_p): Add declaration.
5572         (arm_pic_register): Define.
5573         (all_procs): Delete entries for arm{60,620,70,7d,7di,700i,710c}; add
5574         entries for arm{7m,7500fe,8}, strongarm and strongarm110.
5575         (arm_override_options): Rework so that configure can properly set
5576         the default processor type. Add a warning that PIC code is not yet 
5577         supported.
5578         (legitimate_pic_operand_p, legitimize_pic_address): New functions.
5579         (is_pic, arm_finalize_pic): New functions.
5580         (arm_adjust_cost): New function.
5581         (const_pool_offset, arm_backwards_branch, short_branch): Delete.
5582         (arm_insn_not_targeted): Delete.
5583         (add_constant): If generating AOF syntax, then handle pic specially.
5584         (output_ascii_pseudo_op): Delete calls to arm_increase_location.
5585         (function_really_clobbers_lr): Calls followed by a barrier don't
5586         clobber the link register.
5587         (output_func_prologue): Handle AOF syntax pic code.
5588         (output_func_epilogue): Handle cases where lr_save_eliminated is set.
5589         Delete call to arm_increase_location.
5590         (arm_asm_output_label): Simplify, since we no-longer need to cache the
5591         label's address.
5592         (aof_pic_entry): New function to keep track of pic symbols.
5593         (aof_dump_pic_table): New function.
5594
5595         * arm.h (TARGET_CPU_arm*, TARGET_CPU_strongarm*, TARGET_CPU_generic):
5596         define.
5597         (CPP_ARCH_DEFAULT_SPEC): Set up based on setting of TARGET_CPU_DEFAULT.
5598         (CPP_SPEC): Split up into sub-rule calls.
5599         (CPP_CPU_SPEC): Add default definition.
5600         (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC): Add definitions.
5601         (CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC): Add definitions.
5602         (CPP_ENDIAN_SPEC, CPP_ENDIAN_DEFAULT_SPEC): Add definitions.
5603         (CC1_SPEC): Map legacy -m[236] onto -mcpu=.. and -mapcs-{26,32} as
5604         appropriate. Similarly for -mbe and -mle to -m{big,little}-endian.
5605         (EXTRA_SPECS): Define.
5606         (enum processor_type): New types for arm8 and strongarm.
5607         (CONDITIONAL_REGISTER_USAGE): Handle flag_pic.
5608         (LEGITIMIZE_ADDRESS): Likewise.
5609         (ADJUST_COST): Define.
5610         (PIC_OFFSET_TABLE_REGNUM): Define.
5611         (FINALIZE_PIC): Define.
5612         (LEGITIMATE_PIC_OPERAND_P): Define.
5613         (OUTPUT_INT_ADDR_CONST): Define.
5614         (ASM_OUTPUT_MI_THUNK): Delete calls to arm_increase_location.
5615         (MASK_RETURN_ADDR): Use TARGET_APCS_32 not TARGET_6.
5616
5617         * arm.md (attr cpu): Add new cpu types for arm8 and strongarm.
5618         (attr ldsched): New attribute, set if processor has a load_delay slot.
5619         (function_unit core): Rework to handle load delay slots.
5620         (function_unit loader): New function unit.
5621         (movsi): Handle pic.
5622         (pic_load_addr): New expand.
5623         (*pic_load_addr_based_insn, pic_add_dot_plus_eight): New patterns.
5624         (peepholes to cause flow to return to a label after a function call):
5625         Delete, these have been disabled for a while now.
5626
5627         * arm/riscix.h (CPP_SPEC): Rewrite using new sub-components.
5628         (SUBTARGET_CPU_DEFAULT): Set to TARGET_CPU_arm2.
5629         * arm/riscix1-1.h (CPP_SPEC): Rewrite using new sub-components.
5630         (SUBTARGET_CPU_DEFAULT): Set to TARGET_CPU_arm2.
5631         * arm/semi.h: (CPP_SPEC): Delete.
5632         (PROCESSOR_DEFAULT): Delete.
5633         (CPP_APCS_PC_DEFAULT_SPEC): Define.
5634         * arm/semiaof.h (CPP_SPEC): Delete.
5635         (CPP_APCS_PC_DEFAULT_SPEC): Define.
5636         * arm/t-semi (LIBGCC1_TEST): Don't build it.
5637         (MULTILIB_{OPTIONS,DIRNAMES,EXCEPTIONS}): Build a suitable set of
5638         cross libraries.
5639         (LIBGCC): Set to stmp-multilib.
5640         (INSTALL_LIBGCC): Set to install-multilib.
5641
5642 Thu May  8 15:20:46 1997  Stan Cox  <coxs@dg-rtp.dg.com>
5643
5644         * i386.c (output_float_compare): For pentiumpro use fcomip
5645         followed by a float stack pop for "compare;pop;pop" cases.
5646
5647 Thu May  8 13:20:20 1997  Chris Torek  <torek@elf.bsdi.com>
5648
5649         * fold-const.c (fold, truth_andor): Disable optimization for 
5650         side effects on RHS.
5651
5652 Wed May  7 15:43:57 1997  Mike Stump  <mrs@cygnus.com>
5653
5654         * except.c (start_dynamic_handler): Fix so we can use __builtin_setjmp,
5655         and default to using __builtin_setjmp instead of setjmp.
5656         * expr.c (expand_builtin_setjmp): New routine, split out from
5657         existing inline code from expand_builtin.
5658         (expand_builtin): Split out code into expand_builtin_setjmp.
5659         * expr.h (expand_builtin_setjmp): Add declaration.
5660         * libgcc2.c (__sjthrow): Default to using __builtin_setjmp instead
5661         of setjmp.
5662         (__sjpopnthrow): Likewise.
5663         * optabs.c (init_optabs): Likewise.
5664
5665 Wed May  7 18:01:24 1997  Samuel Figueroa  <Samuel_Figueroa@next.com>
5666
5667         * rs6000.md (insv): Only combine insert with shift if
5668         remaining source bits >= destination field size.
5669
5670 Tue May  6 15:48:52 1997  Jason Merrill  <jason@gerbil.cygnus.com>
5671
5672         * dwarf2out.c (dwarf2out_begin_prologue): Increment
5673         current_funcdef_number here.
5674         (dwarf2out_end_epilogue): Not here.
5675
5676 Mon May  5 18:52:32 1997  Jeffrey A Law  (law@cygnus.com)
5677
5678         * h8300.c (notice_update_cc): Use CC_SET_ZN and CC_SET_ZNV.
5679         (shift_one, shift_two): Set CC_NO_CARRY as needed.  Remove
5680         references to CC_OVERFLOW_0.
5681         (emit_a_shift): Similarly.
5682         * h8300.h (CC_OVERFLOW_0): Remove.
5683         * h8300.md: Use set_zn and set_znv for cc0 tracking.
5684         (bCC): Restore the comparison is CC_OVERFLOW_UNUSABLE is set and
5685         the comparison needs the overflow bits.
5686
5687         * mn10300.c (notice_update_cc): Use CC_SET_ZN and CC_SET_ZNV.
5688         * mn10300.h (CC_NO_CARRY): Define.
5689         * mn10300.md: Use "set_zn" and "set_znv" to more accurately
5690         describe cc0 status.
5691
5692 Fri May  2 17:00:33 1997  Jason Merrill  <jason@yorick.cygnus.com>
5693
5694         * dwarf2out.c: Reorganize, moving .debug_frame support to the top
5695         of the file, and compile it if INCOMING_RETURN_ADDR_RTX is defined
5696         even if DWARF2_DEBUGGING_INFO isn't.
5697         (EH_FRAME_SECTION): New macro.
5698         (output_call_frame_info): Handle .eh_frame variant.
5699         (dwarf2out_def_cfa): Update cfa_*{reg,offset}.
5700         (dwarf2out_frame_debug): Move cfa_*{reg,offset} to file scope.
5701         (dwarf2out_end_epilogue): Increment current_funcdef_number here.
5702         (dwarf2out_decl): Not here.
5703         (dwarf2out_frame_init, dwarf2out_frame_finish): New fns.
5704         (dwarf2out_init, dwarf2out_finish): Call them.
5705         (output_die): Add missing 'case 8:'
5706         (dwarf2out_decl): Revert other context_die = NULL change.
5707         (add_bound_info): Restore default case.
5708
5709 Fri May  2 15:30:16 1997  Doug Evans  <dje@seba.cygnus.com>
5710
5711         * m32r.h (LIT_NAME_P): New macro.
5712         (SMALL_NAME_P): Use it.
5713         (ASM_OUTPUT_ALIGNED_COMMON): Don't output to scommon if -msdata=none.
5714         * m32r.c (addr24_operand): Handle literals.
5715         (m32r_output_function_prologue): Use IMMEDIATE_PREFIX.
5716         (m32r_output_function_epilogue): Likewise.  Use shorter add insn if
5717         able.
5718
5719 Fri May  2 14:40:44 1997  David Edelsohn  <edelsohn@mhpcc.edu>
5720
5721         * rs6000.h (RS6000_ALIGN): Macro renamed from ALIGN.
5722         * rs6000.c (rs6000_stack_info): Use it.
5723
5724 Fri May  2 14:15:54 1997  Ian Lance Taylor  <ian@cygnus.com>
5725
5726         * reload1.c (reload_cse_noop_set_p): When checking the values
5727         equivalent to sreg, make sure the mode is right.
5728
5729 Fri May  2 12:53:03 1997  Jeffrey A Law  (law@cygnus.com)
5730
5731         * reload1.c (reload_cse_invalidate_regno): Properly set
5732         the mode for invalidate_regno_rtx.
5733
5734 Thu May  1 14:57:35 1997  Jeffrey A Law  (law@cygnus.com)
5735
5736         * pa.md (call_internal_symref): Fix typo.
5737
5738 Thu May  1 14:44:17 1997  Jim Wilson  <wilson@cygnus.com>
5739
5740         * mips.c (mips_asm_file_start): Use new macro TARGET_FILE_SWITCHING.
5741         (mips_asm_file_end): Likewise.
5742         * mips.h (TARGET_FILE_SWITCHING): Define.
5743         (NO_DBX_FUNCTION_END): Define.
5744
5745 Thu May  1 09:08:40 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5746
5747         * m68k.c (output_addsi3): Replace "\\;" by "\n\t" in
5748         assembler templates.
5749
5750 Thu May  1 09:00:42 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5751
5752         * integrate.c (subst_constants, case SUBREG): Cancel changes once
5753         done with result.
5754
5755 Wed Apr 30 19:45:56 1997  Jim Wilson  <wilson@cygnus.com>
5756
5757         * mips.c (override_options): Set mips_split_addresses only if
5758         TARGET_SPLIT_ADDRESSES is set.
5759         * mips.h (MASK_SPLIT_ADDR, TARGET_SPLIT_ADDRESSES): New macros.
5760         (TARGET_SWITCHES): Add -msplit-addresses, -mno-split-addresses.
5761         * configure (mips*-*-ecoff*, mips*-*-elf*): Set MASK_SPLIT_ADDR
5762         bit in target_cpu_default2.
5763
5764         * flags.h (current_function_is_thunk): Add extern to declaration.
5765
5766         * dbxout.c (dbxout_function): Test NO_DBX_FUNCTION_END at run time
5767         instead of compile time.
5768
5769         * unroll.c (set_dominates_use): In second loop, add check for copy_end.
5770
5771         * mips.md (paradoxical_extendhidi2, paradoxical_extendqidi2): New
5772         patterns.
5773
5774 Wed Apr 30 02:23:24 1997  Jason Merrill  <jason@yorick.cygnus.com>
5775
5776         * output.h (named_section): Add reloc argument.
5777         (DECL_READONLY_SECTION): New macro.
5778         * varasm.c (named_section): Add reloc argument, pass it to
5779         ASM_OUTPUT_SECTION_NAME.
5780         (UNIQUE_SECTION, UNIQUE_SECTION_P): Provide defaults.
5781         (function_section): Pass reloc argument to named_section.
5782         (variable_section, exception_section): Likewise.
5783         (output_constant_def_contents): Likewise.
5784         (assemble_start_function): Use UNIQUE_SECTION_P.  UNIQUE_SECTION is
5785         now a statement.
5786         (assemble_variable): Likewise.
5787         * mips/iris6.h (ASM_OUTPUT_SECTION_NAME): Add reloc arg,
5788         use DECL_READONLY_SECTION.
5789         * psos.h, ptx4.h, a29k.h, alpha/elf.h, arm/coff.h, h8300.h: Likewise.
5790         * i386/go32.h, i386/sco5.h, m68k/coff.h, mips/elf64.h: Likewise.
5791         * mips/netbsd.h, pa.h, rs6000/sysv4.h, sh.h, sparc/sysv4.h: Likewise.
5792         * config/svr4.h (SELECT_SECTION): Use DECL_READONLY_SECTION.
5793         (ASM_OUTPUT_SECTION_NAME): Likewise, add reloc argument.
5794         (MAKE_DECL_ONE_ONLY): Just set DECL_WEAK.
5795         (UNIQUE_SECTION, UNIQUE_SECTION_P): Define.
5796         * i386/cygwin32.h (UNIQUE_SECTION_P): Define.
5797         (SUPPORTS_ONE_ONLY): Define.
5798         (MAKE_DECL_ONE_ONLY): Lose.
5799         (ASM_OUTPUT_SECTION_NAME): Add reloc arg, use DECL_READONLY_SECTION.
5800         * i386/winnt.c (i386_pe_unique_section): Add reloc arg, 
5801         use DECL_READONLY_SECTION.
5802
5803         * mips/iris6.h (CTORS_SECTION_ASM_OP): Change aligment based on ABI.
5804         (DTORS_SECTION_ASM_OP): Likewise.
5805
5806 Tue Apr 29 16:08:07 1997  Jeffrey A Law  (law@cygnus.com)
5807
5808         * pa/lib1funcs.asm (divnorm, modnorm, exitdiv): Fix code to
5809         negate SImode values.
5810
5811 Tue Apr 29 12:54:14 1997  Mike Stump  <mrs@cygnus.com>
5812
5813         * except.c (expand_eh_region_start_tree): Add DECL argument so we
5814         can better track why the region was made for error reporting.
5815         * except.h (expand_eh_region_start_tree): Likewise.
5816         * tree.h (expand_dhc_cleanup): Likewise.
5817         (expand_dcc_cleanup): Likewise.
5818         * except.c (expand_eh_region_start_for_decl): New routine.
5819         * except.h (expand_eh_region_start_for_decl): Likewise.
5820         * stmt.c (expand_decl_cleanup): Add DECL to call of
5821         expand_eh_region_start_tree.
5822         (expand_dcc_cleanup): Likewise.
5823         (expand_dhc_cleanup): Likewise.
5824         (expand_start_case): Switches introduce conditional contexts.
5825         (expand_start_case_dummy): Likewise.
5826         (expand_start_case_dummy): Likewise.
5827         (expand_end_case): Likewise.
5828
5829 Tue Apr 29 11:45:09 1997  Jason Merrill  <jason@yorick.cygnus.com>
5830
5831         * dwarf2out.c (dwarf2out_decl): Undo earlier change.
5832         (constant_size): Likewise.
5833         (gen_subprogram_die): Handle NULL context_die.
5834
5835         * mips/iris6.h (ASM_OUTPUT_CONSTRUCTOR): Fix for -mabi=64.
5836         (ASM_OUTPUT_DESTRUCTOR): Likewise.
5837
5838 Mon Apr 28 09:10:19 1997  Jeffrey A Law  (law@cygnus.com)
5839
5840         * h8300.c (push_order, pop_order): Add missing initializer entries.
5841
5842 Fri Apr 25 19:39:43 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5843
5844         * h8300.c (output_adds_subs): Check for adding 0.
5845
5846 Fri Apr 25 14:52:31 1997  Jim Wilson  <wilson@cygnus.com>
5847
5848         * configure (i[3456]86-*-freebsdelf*, i[3456]86-*-freebsd*): Use
5849         t-freebsd instead of x-freebsd.
5850         * i386/t-freebsd: Renamed from x-freebsd.
5851
5852 Fri Apr 25 12:16:20 1997  Stan Cox  <coxs@dg-rtp.dg.com>
5853
5854         * go32.h (DBX_*): Use definitions from config/dbxcoff.h instead.
5855
5856 Fri Apr 25 11:55:54 1997  Jason Merrill  <jason@yorick.cygnus.com>
5857
5858         * i386/cygwin32.h (MULTIPLE_SYMBOL_SPACES): Define.
5859
5860 Thu Apr 24 18:32:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
5861
5862         * i386/winnt.c (i386_pe_unique_section): New fn.
5863         * i386/cygwin32.h (UNIQUE_SECTION): Define.
5864         (MAKE_DECL_ONE_ONLY): Define.
5865         (ASM_OUTPUT_SECTION_NAME): Support DECL_ONE_ONLY.
5866
5867         * c-decl.c (implicitly_declare): Don't set DECL_ARTIFICIAL.
5868
5869 Thu Apr 24 17:11:23 1997  Jim Wilson  <wilson@cygnus.com>
5870
5871         * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
5872         TARGET_5200 support.
5873
5874 Thu Apr 24 16:39:25 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5875
5876         * stmt.c (pushcase_range): Check for null range first.
5877
5878 Wed Apr 23 23:06:28 1997  Ian Lance Taylor  <ian@cygnus.com>
5879
5880         * reload1.c (reload_cse_record_set): Use push_operand to check for
5881         changes to the stack pointer.
5882
5883 Wed Apr 23 19:56:01 1997  Jason Merrill  <jason@yorick.cygnus.com>
5884
5885         * calls.c (expand_call): If we're in a thunk, pass through invisible
5886         references instead of making a copy.
5887         * flags.h: Add current_function_is_thunk.
5888         * function.c: Likewise.
5889         (init_function_start): Initialize it.
5890         (push_function_context_to): Save it.
5891         (pop_function_context_from): Restore it.
5892         * function.h (struct function): Add is_thunk.
5893
5894 Wed Apr 23 17:47:25 1997  Jeffrey A Law  (law@cygnus.com)
5895
5896         * mn10300.c (secondary_reload_class): Handle more cases where we
5897         need secondary reloads.
5898         (impossible_plus_operand): Accept anything that involves addition
5899         of the stack pointer.
5900         * mn10300.md (reload_insi): Always load the stack pointer into
5901         the destination (which is always an address register).
5902         * mn10300.h (STORE_FLAG_VALUE): Remove definition.
5903         * xm-mn10300.h: Declare malloc, realloc, calloc and free.
5904
5905 Wed Apr 23 14:28:30 1997  Mike Stump  <mrs@cygnus.com>
5906
5907         * expr.h (sjthrow_libfunc): Add support for setjmp/longjmp based
5908         exception handling.
5909         ({sjpopnthrow,terminate,setjmp,longjmp}_libfunc): Likewise.
5910         (get_dynamic_handler_chain_libfunc): Likewise.
5911         * expr.c (expand_expr, case TRY_CATCH_EXPR): Likewise.
5912         (expand_expr, case POPD{C,H}C_EXPR): Likewise.
5913         * stmt.c (mark_block_as_eh_region): Likewise.
5914         (mark_block_as_not_eh_region): Likewise.
5915         (is_eh_region, conditional_contex, expand_start_bindings): Likewise.
5916         (expand_end_bindings, expand_{decl,dcc,dhc}_cleanup): Likewise.
5917         (expand_cleanups): Likewise.
5918         * tree.h (mark_block_as_eh_region): Likewise.
5919         (mark_block_as_not_eh_region, is_eh_region): Likewise.
5920         conditional_context, expand_dhc_cleanup): Likewise.
5921         * except.c (exception_via_longjmp): Likewise.
5922         (protect_cleanup_actions_with_terminate): Likewise.
5923         (current_function_d{h,c}c, add_partial_entry): Likewise.
5924         (get_dynamic_{handler,cleanup}_chain): Likewise.
5925         (start_dynamic_{cleanup, handler}): Likewise.
5926         (expand_eh_region_start{,_tree}, expand_eh_region_end): Likewise.
5927         (emit_throw, expand_leftover_cleanups): Likewise.
5928         (expand_{start,end}_all_catch, protect_with_terminate): Likewise.
5929         ({start,end}_eh_unwinder, init_eh_for_function): Likewise.
5930         ({save,restore}_eh_status, exception_optimize): Likewise.
5931         * optabs.c ({sjthrow,sjpopnthrow,terminate,setjmp}_libfunc): Likewise.
5932         ({longjmp,get_dynamic_handler_chain}_libfunc): Likewise.
5933         (init_optabs): Likewise.
5934         * except.h: Likewise.
5935         * libgcc2.c (__default_terminate): Likewise.
5936         (__terminate, __get_dynamic_handler_chain, __sjthrow): Likewise.
5937         (__sjpopnthrow): Likewise.
5938         * toplev.c (f_options): Likewise.
5939         * tree.def (TRY_CATCH_EXPR, POPDHC_EXPR, POPDCC_EXPR): Likewise.
5940         * pa.h (JMP_BUF_SIZE): Define.
5941         * sparc.h (JMP_BUF_SIZE): Define.
5942
5943         * expr.h (cleanups_this_call): Transform uses of cleanups_this_call
5944         into uses of the cleanups managed by the block code
5945         (expand_start_bindings and friends).  Remove defer_cleanups_to and
5946         expand_cleanups_to, and use start_cleanup_deferal and
5947         end_cleanup_deferal instead.  Add exception_region,
5948         target_temp_slot_level, conditional_code,
5949         last_unconditional_cleanup and cleanup_ptr to struct nesting to
5950         facilitate conditional cleanups.
5951         * expr.c (cleanups_this_call, init_expr): Likewise.
5952         ({save,restore}_expr_status, store_expr): Likewise.
5953         (expand_expr, {defer,expand}_cleanups_to): Likewise.
5954         (do_jump, case TRUTH_{AND,OR}IF_EXPR): Likewise.
5955         (do_jump, case COND_EXPR): Likewise.
5956         * stmt.c (struct nesting): Likewise.
5957         (expand_return, expand_start_bindings, expand_end_bindings): Likewise.
5958         (expand_cleanups, {start,end}_cleanup_deferal): Likewise.       
5959         * tree.h (start_cleanup_deferal): Likewise.
5960         (end_cleanup_deferal): Likewise.
5961         * calls.c (expand_call): Likewise.
5962         * function.h (struct function): Likewise.
5963         * except.c (asynchronous_exceptions): Support
5964         -fasynchronous_exceptions.
5965         (can_throw): Likewise.
5966         * toplev.c (f_options): Likewise.
5967
5968         * flags.h (flag_short_temps): Remove support for short temps.
5969         * calls.c (expand_call): Likewise.
5970         * toplev.c (flag_short_temps): Likewise.
5971
5972         * stmt.c (expand_start_target_temps): Add for convenience.
5973         (expand_end_target_temps): Likewise.
5974         * except.c (jumpif{,not}_rtx): Likewise.
5975
5976         * stmt.c: Remove all traces of empty_cleanup_list.
5977
5978 Wed Apr 23 17:26:40 1997  Ian Lance Taylor  <ian@cygnus.com>
5979
5980         * reload1.c (reload_cse_mem_conflict_p): Don't assume that a
5981         SUBREG can not conflict with a MEM.
5982
5983 Wed Apr 23 09:48:58 1997  Oliver Kellogg  (oliver.kellogg@space.otn.dasa.de)
5984
5985         * 1750a.md (cmphi): Fixed when next CC user is unsigned.
5986         (mov[hq]i-[23]): New patterns for mem-indirect moves.
5987         (movhf,movtqf): Corrected.
5988         * 1750a.c (memop_valid): Memory indirection now valid.
5989         (nonindirect_operand): Remove.
5990         (print_operand): Fix the 'J' output modifier.
5991         * 1750a.h (FRAME_POINTER_REQUIRED): Not required.
5992         (INITIAL_FRAME_POINTER_OFFSET,FIX_FRAME_POINTER_ADDRESS): Undefine.
5993         (FUNCTION_PROLOGUE,FUNCTION_EPILOGUE): Honor -fomit-frame-pointer.
5994         (ELIMINABLE_REGS,CAN_ELIMINATE,INITIAL_ELIMINATION_OFFSET): Defined.
5995         (PREFERRED_RELOAD_CLASS): Corrected.
5996         (CONST_COSTS,ADDRESS_COST,REGISTER_MOVE_COST,MEMORY_MOVE_COST):
5997         Slight adjustments.
5998         (ASM_APP_ON,ASM_APP_OFF): Corrected.
5999         * ms1750.inc (DUCR.M,DUC.M): Defined.
6000
6001 Wed Apr 23 09:41:35 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6002
6003         * reload.c (push_reload): Fix last arg of call to find_dummy_reload.
6004
6005 Wed Apr 23 09:29:14 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6006
6007         * configure (i[3456]86-next-*, m68k-next-nextstep{2,3}*):
6008         Remove out_file and add extra_objs.
6009         * config/nextstep.c: Add includes for config.h, stdio.h, and flags.h.
6010         * {i386,m68k}/t-next (nextstep.o): New rule.
6011         * m68k/next.h: Remove include of machmode.h.
6012         * {i386,m68k}/next.c: Files deleted.
6013
6014 Tue Apr 22 20:45:29 1997  Jason Merrill  <jason@yorick.cygnus.com>
6015
6016         * sparc.h (DBX_CONTIN_LENGTH): Shrink to 1000.
6017
6018 Tue Apr 22 18:21:20 1997  Jim Wilson  <wilson@cygnus.com>
6019
6020         * dwarf2out.c (gen_variable_dir):  Add test for DW_AT_declaration to
6021         the old_die if statement, and delete assertion for it.
6022         (decl_ultimate_origin): Remove last change.
6023
6024 Tue Apr 22 10:22:27 1997  Jeffrey A Law  (law@cygnus.com)
6025
6026         * mn10300.c (expand_prologue): End the current sequence before
6027         counting the tst insns in the current function.  Start a new
6028         one before emitting any prologue instructions.
6029
6030         * mn10300.h (REGISTER_MOVE_COST): Bump up cost of moves in the
6031         same class.
6032
6033         * mn10300.md (untyped_call): New expander.
6034
6035 Mon Apr 21 16:30:21 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6036
6037         * cse.c (fold_rtx, case PLUS): When seeing if negative of constant
6038         is around, make sure not dealing with largest negative.
6039
6040 Mon Apr 21 13:57:53 1997  Jim Wilson  <wilson@cygnus.com>
6041
6042         * mips/t-ecoff: Set TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
6043
6044         * m68k.c (output_addsi3): New function.  From addsi3 pattern.
6045         * m68k.h (output_addsi3): Add declaration.
6046         * m68k.md (movqi+2): Add address registers.
6047         (movxf+1): Disable for TARGET_5200.
6048         (movxf+2): New pattern for TARGET_5200.
6049         (addsi3): Add define_expand.  Move code to output_addsi3.
6050         (addsi3_internal): Renamed from addsi3.  Disable for TARGET_5200.
6051         (addsi3_5200): New pattern for TARGET_5200.
6052
6053 Sun Apr 20 10:45:35 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6054
6055         * fold-const.c (operand_equal_p): Constants are not equal if there
6056         has been an overflow.
6057
6058         * toplev.c (compile_file): Shorten "branch-probabilities" in
6059         output of times.
6060
6061         * alpha/vms.h (MOD[SD]I3_LIBCALL): Call ots$rem, not ots$mod.
6062         (DWARF2_DEBUGGING_INFO): Define.
6063
6064         * alpha.c (alpha_need_linkage): Call get_identifier.
6065
6066         * rs6000.c (rs6000_output_load_toc_table): New function.
6067         (output_prolog): Call it instead of doing it directly.
6068         * rs6000.md (nonlocal_goto_receiver): New pattern.
6069
6070         * dwarf2out.c: Major cleanup; mostly reformatting.
6071         Include expr.h.
6072         Undefine inline ifndef __GNUC__; never define to include static.
6073         Add "static" to header of all inlined functions.
6074         Add declarations for all static functions, with prototypes.
6075         (addr_const_to_string): Use HOST_WIDE_INT_PRINT_* macros.
6076         (add_AT_*, new_{die,loc_descr,cfi): Don't check for xmalloc
6077         returning zero.
6078         (modified_type_die): Add missing parm on recursive call.
6079         ({reg,based}_loc_descriptor): Add missing arg to call to new_loc_descr.
6080         (add_const_value_attribute): Use REAL_VALUE_TYPE for fp calculations.
6081         (output_call_frame_info): Add missing arg to output_cfi call.
6082         (dwarf2out_def_cfa): Local variable OLD_REG must be unsigned long.
6083         * Makefile.in (dwarf2out.o): Includes expr.h.
6084         
6085         * dwarf2out.c: Cast first arg in all calls to bzero to char *.
6086         (decl_ultimate_origin): Return NULL if equal to decl.
6087         (constant_size): Never return more than 4.
6088         (value_format, case 8): New case.
6089         (dwarf2out_frame_debug): Use HARD_FRAME_POINTER_REGNUM.
6090         (based_loc_descr): Likewise.
6091         (add_bound_info): Delete default case.
6092         Add cases for CONVERT_EXPR and NON_LVALUE_EXPR; treat like NOP_EXPR.
6093         Change NOP_EXPR to to recursive call.
6094         (add_type_attribute): Ignore unnamed subtype of integral or FP.
6095         (gen_subprogram_die): Use reg_loc_descriptor.
6096         (dwarf2out_decl): Ignore nested functions.
6097
6098         * fix-header.c, protoize.c, gcov.c: Use symbolic codes for exit.
6099
6100         * final.c (profile_function): Only call ASM_OUTPUT_REG_{PUSH,POP}
6101         if defined.
6102
6103         * expr.c ({move,clear}_by_pieces_1, expand_assignment): Ensure
6104         we have unshared rtx before changing flags.
6105         (store_{constructor,field}): Likewise.
6106         (expand_expr, case COMPONENT_REF): Likewise.
6107         (store_expr): Check if TEMP and TARGET are same with rtx_equal_p.
6108
6109         * emit-rtl.c (change_address, init_emit): Delete forward references.
6110         (rtl_obstack, stack_depth, max_stack_depth): Delete extern decls.
6111
6112 Fri Apr 18 18:25:52 1997  Jim Wilson  <wilson@cygnus.com>
6113
6114         * function.c (instantiate_decls): For DECL_INCOMING_RTL, use max
6115         of type size and mode size in instantiate_decl call.
6116
6117         * fixincludes (sys/lc_core.h): Fix OSF1/4.x namespace pollution.
6118
6119 Wed Apr 16 19:36:53 1997  Jason Merrill  <jason@yorick.cygnus.com>
6120
6121         * dwarf2out.c (add_bound_info): Use a DIE instead of a location
6122         expression for variable bounds.  Trust a MEM rtx even when
6123         optimizing.
6124         (DWARF_FRAME_RETURN_COLUMN): Default to FIRST_PSEUDO_REGISTER.
6125
6126         * expr.c (expand_expr, case RTL_EXPR): If there is no sequence,
6127         don't set it to const0_rtx.
6128         * tree.c (array_type_nelts): Don't return any SAVE_EXPRs.
6129
6130 Mon Apr 14 18:12:57 1997  David Edelsohn  <edelsohn@mhpcc.edu>
6131
6132         * rs6000.h (RS6000_ITRUNC, RS6000_UITRUNC): Prepend underscores.
6133         (RS6000_MCOUNT): New macro.
6134         (ASM_FILE_START): Use RS6000_MCOUNT.
6135         * rs6000.c (output_function_profiler): Use RS6000_MCOUNT.
6136         * rs6000/aix31.h (RS6000_{ITRUNC,UITRUNC,MCOUNT}): New macros.
6137
6138 Mon Apr 14 14:37:27 1997  Jeffrey A Law  (law@cygnus.com)
6139
6140         * mn10300.c (can_use_return_insn): Include outgoing argument
6141         area in size computation.
6142         (expand_prologue): Likewise.  No longer diddle with sequences.
6143         Put register saves just before outgoing argument area.
6144         (expand_epilogue): Similarly.
6145         (impossible_plus_operand): New function.
6146         * mn10300.h (FRAME_POINTER_REQUIRED): Never require a frame pointer.
6147         (ACCUMULATE_OUTGOING_ARGS, OUTGOING_REG_PARM_STACK_SPACE): Define.
6148         (impossible_plus_operand): Declare.
6149         * mn10300.md (reload_insi): New expander to handle pathological
6150         reload cases.
6151         (addsi3): Fix CC status.
6152
6153         * mn10300.h (FUNCTION_VALUE): Return addresses in $a0.
6154         (FUNCTION_VALUE_REGNO_P): Corresponding changes.
6155         * mn10300.md (call_value_internal): Allow output to be in an
6156         address register.
6157
6158         * calls.c (emit_library_call): Handle saving of stack slots when
6159         ACCUMULATE_OUTGOING_ARGS is defined.
6160         (emit_library_call_value): Likewise.
6161
6162 Mon Apr 14 14:48:15 1997  Jim Wilson  <wilson@cygnus.com>
6163
6164         * sh.md (xtrct_left, xtrct_right): New patterns.
6165
6166         * combine.c (get_last_value_validate): New argument insn.
6167         Add check for memory reference clobbered by later store.
6168         (record_value_for_reg, get_last_values): Pass in new argument.
6169
6170 Mon Apr 14 14:03:18 1997  Mike Meissner  <meissner@cygnus.com>
6171
6172         * configure (powerpc --with-cpu=x): Add embedded powerpcs and 604e.
6173
6174         * rs6000.c (rs6000_override_options): Recognize -mcpu=801, -mcpu=823,
6175         and -mcpu=604e.
6176
6177 Sun Apr 13 18:43:16 1997  Ian Lance Taylor  <ian@cygnus.com>
6178
6179         * reload1.c (invalidate_regno_rtx): New static variable.
6180         (reload_cse_invalidate_regno): Check whether any earlier registers
6181         have a multi-register value which includes the register we are
6182         invalidating.
6183         (reload_cse_regs): Initialize invalidate_regno_rtx.
6184
6185         * reload1.c (reload_cse_record_set): When setting reg_values for a
6186         copy from one register to another, use gen_lowpart_common to
6187         adjust the value correctly if the mode changes.
6188
6189 Sun Apr 13 17:24:48 1997  Doug Evans  <dje@cygnus.com>
6190
6191         * expr.c (move_block_from_reg): Try using integral mov operation first.
6192
6193         * calls.c (expand_call): When copying unaligned values into a register,
6194         zero out the register first rather than emitting a clobber.
6195
6196         * integrate.c (copy_rtx_and_substitute): If FRAME_GROWS_DOWNWARD
6197         and regno == VIRTUAL_STACK_VARS_REGNUM, round size of stack slot up
6198         before calling assign_stack_temp.
6199
6200 Sun Apr 13 15:29:38 1997  Ulrich Drepper  <drepper@cygnus.com>
6201
6202         * enquire.c (fake_f_rep): Add missing element name in cast.
6203
6204 Sun Apr 13 15:20:05 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
6205
6206         * stor-layout.c (layout_record, PCC_BITFIELD_TYPE_MATTERS):
6207         Fix sign bug in last change.
6208
6209 Sun Apr 13 15:03:38 1997  J.T. Conklin  <jtc@netbsd.org>
6210         
6211         * m68k.md (movstricthi): Remove extraneous comparisons.
6212
6213         * configure (*-*-netbsd): tmake_file now t-netbsd; delete xmake_file.
6214         * config/t-netbsd: New file.
6215         * config/x-netbsd: Removed.
6216
6217 Sun Apr 13 14:51:25 1997  Richard Earnshaw (rearnsha@armltd.co.uk)
6218
6219         * cse.c (canon_reg, cse_insn): Don't examine insn_n_dups if
6220         recog_memoized fails to find a match.
6221
6222 Sun Apr 13 14:17:26 1997  Ian Lance Taylor  <ian@cygnus.com>
6223
6224         * reload1.c (reload_cse_noop_set_p): Add insn parameter.  Change
6225         all callers.  If deleting the instruction, remove any earlier
6226         REG_DEAD note for DREG.
6227         (reload_cse_simplify_set): If simplifying, remove any earlier
6228         REG_DEAD note for the new source register.
6229
6230 Sun Apr 13 14:12:08 1997  Pat Rankin  <rankin@eql.caltech.edu>
6231
6232         * libgcc2 (L_bb, L_exit): Use 0 rather than NULL for null pointers.
6233
6234 Sun Apr 13 12:53:03 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6235
6236         * m68k/linux.h (ASM_SPEC): Define.
6237         (STRUCT_VALUE_REGNUM, STATIC_CHAIN_REGNUM, INITIALIZE_TRAMPOLINE):
6238         Remove definitions, undoing the change of Mar 20 1996. 
6239
6240         * m68k.c (output_move_qimode): Optimize pushing one byte if source
6241         operand does not use stack pointer.
6242
6243         * m68k.md (rotl[shq]i3, rotl[hq]i3+1): Don't directly modify operand.
6244
6245         * m68k.md (tstdi): Add missing parallel around the pattern.
6246
6247 Sun Apr 13 12:51:00 1997  Paul Eggert  <eggert@twinsun.com>
6248
6249         * cccp.c, cpplib.c (do_include): Diagnose #import and
6250         #include_next if pedantic and if not in a system header.
6251         (do_warning): #warning now causes an error if -pedantic-errors
6252         is given; this is needed since #warning isn't ANSI.
6253
6254         * toplev.c (lang_options): Add -Wundef, -Wno-undef.
6255         * c-decl.c (c_decode_option): Ignore -Wundef, -Wno-undef.
6256
6257         * cccp.c, cexp.y (warn_undef): New variable.
6258         * cpplib.h (struct cpp_options): New member warn_undef.
6259         (CPP_WARN_UNDEF): New macro.
6260
6261         * cccp.c (main), cpplib.c (cpp_handle_options): Set warn_undef
6262         from -Wundef and -Wno-undef.
6263
6264         * cppexp.c (cpp_lex) New arg skip_evaluation.
6265         (cpp_parse_expr): Pass skip_evaluation to cpp_lex.
6266         Abort if cpp_lex returns NAME.
6267
6268         * cexp.y (exp), cppexp.c (cpp_lex): Optionally warn about undefined
6269         identifiers that evaluate to 0.
6270
6271 Sun Apr 13 11:43:16 1997  Joel Sherrill  <joel@OARcorp.com>
6272
6273         * configure (hppa1.1-*-rtems*): New target.
6274         * mips/rtems.h: New file.
6275
6276 Sun Apr 13 09:48:26 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6277
6278         * gcov.c (print_usage, open_files): Use FATAL_EXIT_CODE.
6279         * collect2.c (fatal_perror, fatal, collect_wait): Likewise.
6280
6281         * sparc.c (eligible_for_delay_slot): Clean up and make to agree
6282         precisely with patterns in MD file.
6283         * sparc.md (*return_addsi): Change condition to exclude both ints.
6284         (*return_adddi): Likewise.
6285         (*return_subsi): New pattern.
6286
6287         * recog.c (validate_replace_rtx_1, case MINUS): New case.
6288         
6289 Sun Apr 13 08:20:24 1997  Thomas Bushnell  <thomas@gnu.ai.mit.edu>
6290
6291         * i386/gnu.h (TARGET_VERSION): Redefine.
6292
6293 Sun Apr 13 08:15:31 1997  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6294
6295         * c-typeck.c (lookup_field): Don't recurse unless FIELD is
6296         a RECORD_TYPE or UNION_TYPE.
6297
6298         * final.c (profile_function): Save the static chain register
6299         around the call to the profiler function.
6300
6301         * loop.c (invariant_p, case REG): Pointers into frame are not
6302         invariants if function has nonlocal gotos.
6303         * reload1.c (reload): If function has nonlocal label, mark all
6304         caller-saved regs as used.
6305
6306 Fri Apr 11 16:49:06 1997  Doug Evans  <dje@seba.cygnus.com>
6307
6308         * m32r.h (REG_ALLOC_ORDER): Restore to original setting.
6309
6310         * m32r.h (UPPER16_P): Fix calculation.
6311         * m32r.c (two_insn_const_operand): New function.
6312         (m32r_print_operand): Handle 'X'.
6313         * m32r.md (movsi): Tweak.
6314         (*movsi_insn): Output hex value of constants too.
6315         (movsi define_split): Add.
6316         (andsi3,orsi3,xorsi3): Output hex value of constants too.
6317
6318 Thu Apr 10 18:39:33 1997  Jim Wilson  <wilson@cygnus.com>
6319
6320         * sh.md (sne): Modified to use negc instead of xor.
6321         (sne+1): New define_split for new sne pattern.
6322         * sh.c (output_stack_adjust): Reorganize code for readability.
6323         If size is negative, negate and subtract it instead of adding it.
6324
6325 Wed Apr  9 13:51:07 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
6326
6327         * sh.c (output_stack_adjust): When splitting an adjustment into two
6328         parts, make sure the stack is aligned at all times.
6329
6330 Tue Apr  8 12:34:38 1997  Jeffrey A Law  (law@cygnus.com)
6331
6332         * mn10300.h (RETURN_ADDR_RTX): Define.
6333
6334 Mon Apr  7 19:19:57 1997  Jeffrey A Law  (law@cygnus.com)
6335
6336         * mn10300.c (count_tst_insns): New function.
6337         (expand_prologue): Load zero into data and/or address registers
6338         if any are free and the function has optimizable tst insns.
6339         (output_tst): If a suitable register is known to have the
6340         value zero, use it instead of searching for a suitable register.
6341         * mn10300.h (zero_dreg, zero_areg): Declare.
6342         (FRAME_POINTER_NEEDED): Frame pointers are not needed if the
6343         outgoing argument size is zero.
6344         * mn10300.md (movXX): Optimize loading zero into an address
6345         register if possible.  Optimize loading a DF/DI mode value
6346         into an address register from a constant memory address.
6347         (addsi3): Provide alternative which doesn't require a matching
6348         inout operand.
6349         (return): Optimize consecutive return instructions.
6350
6351 Mon Apr  7 17:30:35 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
6352
6353         * mips/iris5.h (SUBTARGET_CC1_SPEC): Define.
6354         (LINK_SPEC, STARTFILE_SPEC): Support -static.
6355         * mips/iris6.h (SUBTARGET_CC1_SPEC): Define.
6356         (STARTFILE_SPEC, LINK_SPEC): Support -static.
6357         * mips.h: (SUBTARGET_CC1_SPEC): Define.
6358         (CC1_SPEC): Add subtarget_cc1_spec.
6359         (EXTRA_SPECS): Add subtarget_cc1_spec.
6360
6361 Sun Apr  6 12:24:53 1997  Richard Earnshaw (rearnsha@armltd.co.uk)
6362
6363         * arm.md (incscc): Use a match_operand with cc_register to match
6364         the condition code register.
6365         (decscc, *condbranch, *condbranch_reversed, *mov_scc): Likewise.
6366         (*mov_negscc, *mov_notscc, *cond_return): Likewise.
6367         (*cond_return_inverted, *ior_scc, *cond_move): Likewise.
6368         (insv): New expand.
6369         (andsi_notsi_si): Renamed from *andsi_notsi_si.
6370         (andsi_not_shiftsi_si): New insn.
6371         (*minmax_arithsi): Don't match this insn if operand1 is an
6372         eliminable register.
6373         ({sin,cos}*): Delete, since the ARM always emulates these its
6374         faster to call a library function.
6375         (movsicc, *movsicc_insn): Make operand0 an s_register_operand,
6376         and operand3 an arm_not_operand.  Use cc_register to match the
6377         condition code register.
6378         (mov[sd]fcc*): Make operand[0,2] s_register_operands, and operand3
6379         the nonmemory_operand.  Use cc_register to match the condition
6380         code register.
6381         (*ifcompare_plus_move): Move before *ifcompare_arith_move.  Just do
6382         a split for the output.
6383         (*ifcompare_move_plus): Similarly, but relative
6384         to *ifcompare_move_arith.
6385         (*if_plus_move, *if_move_plus): New patterns.
6386         (*ifcompare_arith_arith): Simplify the alternatives down to just one,
6387         and split the insn before output.
6388         (*if_arith_arith, *if_arith_move, *if_move_arith): New patterns.
6389         (*ifcompare_move_not, *ifcompare_not_move): Simplify and split the
6390         insn before output.
6391         (*if_move_not, *if_not_move): New patterns.
6392         (*ifcompare_shift_move, *ifcompare_move_shift): Simplify and split the
6393         insn before output.
6394         (*if_shift_move, *if_move_shift): New patterns.
6395         (*ifcompare_shift_shift): Simplify and split the insn before output.
6396         (*if_shift_shift): New pattern.
6397         (*ifcompare_not_arith, *ifcompare_arith_not): Simplify and split the
6398         insn before output.
6399         (*if_not_arith, *if_arith_not): New patterns.
6400         (*ifcompare_neg_move, *ifcompare_move_neg): Simplify and split the
6401         insn before output.
6402         (*if_neg_move, *if_move_neg): New patterns.
6403
6404 Sat Apr  5 20:17:43 1997  Michael Meissner  <meissner@cygnus.com>
6405
6406         * rs6000/sol-ci.asm (_environ): Don't make _envrion a common
6407         variable, the lastest assembler doesn't let common variables also
6408         be a weak symbol.
6409
6410 Fri Apr  4 18:30:12 1997  Jim Wilson  <wilson@cygnus.com>
6411
6412         * rs6000.md (adddi3): Use non_short_cint_operand instead of
6413         non_add_cint_operand.
6414
6415 Thu Apr  3 15:08:39 1997  Jeffrey A Law  (law@cygnus.com)
6416
6417         * mn10300.c (can_use_return_insn): Add size of fixed stack space
6418         for function calls into the size of the frame.
6419         (expand_prologue, expand_epilogue): Likewise.
6420         (initial_offset): Corresponding changes..
6421         * mn10300.h (OUTGOING_REG_PARM_STACK_SPACE): No longer define.
6422         (STACK_POINTER_OFFSET): Define.
6423         * mn10300.md (call, call_value expanders): Don't adjust the stack
6424         pointer here anymore.
6425
6426         * mn10300.md (ashlsi3): Remove some alternatives which are no longer
6427         needed or desired.
6428
6429 Thu Apr  3 15:06:53 1997  Jim Wilson  <wilson@cygnus.com>
6430
6431         * local-alloc.c (no_conflict_p): Reject sequences with foreign insns.
6432
6433         * combine.c (move_deaths): Handle partial REG_DEAD note for
6434         multi-reg hard register.
6435
6436         * function.c (expand_function_start): Emit queue after expanding
6437         each dynamic parameter type.
6438
6439         * mips.c (mips_move_2words): Add SIGN_EXTEND support for SYMBOL_REF,
6440         LABEL_REF, and CONST operands.
6441
6442         * dwarf2out.c: Delete comment referring to README.DWARF.
6443
6444 Wed Apr  2 17:21:23 1997  Jim Wilson  <wilson@cygnus.com>
6445
6446         * rs6000.md (ashrdi3_power): Mark alternative 0 as early_clobber
6447         output.
6448
6449         * rs6000.md (abssi3_nopower define_split): Switch operands of MINUS.
6450         (nabssi3_nopower define_split): Likewise.
6451
6452 Tue Apr  1 19:30:01 1997  Mike Stump  <mrs@cygnus.com>
6453         
6454         * libgcc2.c (find_exception_table): Fix to logic to deal with
6455         functions that are in their own section, such as template
6456         instantiations, that cause overlapping EH tables.
6457
6458 Tue Apr  1 17:16:22 1997  Jeffrey A Law  (law@cygnus.com)
6459
6460         * Makefile.in (USER_H): Add va-mn10300.h
6461
6462         * ginclude/stdarg.h: Include va-mn10300.h.
6463         * ginclude/varargs.h: Likewise.
6464         * ginclude/va-mn10300.h: New file.
6465         * mn10300.c (expand_prologue): If current_function_varargs is nonzero,
6466         flush d0/d1 back into stack.
6467         (mn10300_builtin_saveregs): New function.
6468         (function_arg, function_arg_partial_nregs): New functions.
6469         (initial_offset): Tweak now that the RP save area is allocated
6470         and deallocated around each call again.
6471         * mn10300.h (FIRST_PARM_OFFSET): Now 4.
6472         (FRAME_POINTER_REQUIRED): Require frame pointer for all non-leaf fcns.
6473         (REG_PARM_STACK_SPACE): Now 8 bytes.
6474         (FUNCTION_ARG_REGNO_P): Update for new parameter passing conventions.
6475         (CUMULATIVE_ARGS, INIT_CUMULATIVE_ARGS): Likewise.
6476         (FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Likewise.
6477         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
6478         (TRAMPOLINE_TEMPLATE): Don't clobber d0 anymore.
6479         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
6480         (EXPAND_BUILTIN_SAVEREGS): Define.
6481         * mn10300.md (call, call_value patterns): Allocate and deallocate
6482         stack slot for return pointer around each call.
6483
6484         * mn10300.h (RTX_COSTS): Refine.
6485         (CASE_VALUES_THRESHHOLD, NO_FUNCTION_CSE): Likewise.
6486         * mn10300.c (output_tst): New function.
6487         * mn10300.md (movdi, movdf): Improve code to load constants into regs.
6488         (tst insns): Use output_tst to optimize some cases.  Add versions to
6489         encourage more zero extensions instead of sign extensions of HImode
6490         and QImode values.
6491         (divsi3, udivsi3): Remove patterns.  Replaced by...
6492         (divmodsi4, udivmodsi4): New expanders/patterns.
6493         (andsi3): Optimize "and" operations with certain constants.
6494
6495 Tue Apr  1 09:14:29 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
6496
6497         * sh.h: (ADJUST_COSTS): Define.
6498
6499 Fri Mar 28 17:46:13 1997  Jim Wilson  <wilson@cygnus.com>
6500
6501         * Makefile.in (LANGUAGES): Add gcov.
6502         (OBJS): Add profile.o.
6503         (STAGESTUFF): Add gcov.
6504         (profile.o, gcov.o, gcov): Add rules to build them.
6505         (install-common): Install gcov.
6506         * combine.c (distribute_notes): Handle REG_BR_PROB and REG_EXEC_COUNT
6507         REG_NOTES.
6508         * sparc.h (OVERRIDE_OPTIONS): Check profile_arc_flag.
6509         * final.c (LONG_TYPE_SIZE): Define.
6510         (count_instrumented_arcs): New variable.
6511         (end_final, profile_after_prologue, leaf_function_p): Add support
6512         for profile_arc_flag.
6513         (add_bb): Only call CC_STATUS_INIT if HAVE_cc0.
6514         * flags.h (profile_arc_flag, flag_test_coverage,
6515         flag_branch_probabilities): Declare.
6516         * function.c (expand_function_end): Output NOTE_REPEATED_LINE_NUMBER
6517         for last line of function.
6518         * integrate.c (expand_inline_function): Output
6519         NOTE_REPEATED_LINE_NUMBER after inlined call.
6520         * jump.c (jump_optimize, follow_jumps, mark_jump_label): Disable some
6521         optimizations when flag_test_coverage and there is a line number note
6522         in the way.
6523         (invert_jump): Add REG_BR_PROB when flag_branch_probabililties.
6524         * libgcc2.c (__bb_exit_func): Support gcov style output.
6525         * reorg.c (mostly_true_jump): Use REG_BR_PROB notes when
6526         flag_branch_probabilities.
6527         * rtl.c (note_insn_name): Add NOTE_REPEATED_LINE_NUMBER.
6528         (reg_note_name): Add REG_BR_PROB and REG_EXEC_COUNT.
6529         * rtl.h (enum reg_note): Add REG_BR_PROB and REG_EXEC_COUNT.
6530         (REG_BR_PROB_BASE): Define.
6531         (NOTE_REPEATED_LINE_NUMBER): Define.
6532         * sched.c (update_flow_info): Handle REG_EXEC_COUNT and REG_BR_PROB
6533         notes.
6534         * toplev.c (branch_prob_dump, profile_arc_flag, flag_test_coverage,
6535         flag_branch_probabilities, branch_prob_dump_file, branch_prob_time):
6536         New variables.
6537         (f_options): Add profile-arcs, test-coverage, and
6538         branch-probabilities.
6539         (compile_file): Set branch_prob_time.  Pass flag_test_coverage to
6540         init_emit_once.  Handle branch_prob_dump.  Call init_branch_prob.
6541         Call end_branch_prob. Call output_func_start_profiler.
6542         (rest_of_compilation): Handle branch_prob_dump.  Call new
6543         branch_prob pass.
6544         (main): Set branch_prob_dump.
6545         * gcov.c, profile.c, gcov-io.h, gcov.texi: New files.
6546
6547 Thu Mar 27 16:52:52 1997  Stan Cox  <coxs@dg-rtp.dg.com>
6548
6549         * i386.h (CPP_CPU_DEFAULT): Define if TARGET_CPU_DEFAULT is not set.
6550         * i386.h (STACK_BOUNDARY): Define to always be 32.
6551
6552         From J"orn Rennecke <amylaar@cygnus.co.uk>
6553         * i386.md: (zero_extendhisi2+[12]): Use true_regnum instead of
6554         REGNO for operand 0.  
6555         (zero_extendqisi2+3): Use reg_overlap_mentioned_p instead of REGNO
6556         comparison; use true_regnum instead of REGNO for rtx generation.
6557
6558 Wed Mar 26 12:34:21 1997  Ian Lance Taylor  <ian@cygnus.com>
6559
6560         * reload1.c (reload): Call reload_cse_regs.
6561         (reg_values): New static variable.
6562         (reload_cse_invalidate_regno): New static function.
6563         (reload_cse_mem_conflict_p): New static function.
6564         (reload_cse_invalidate_mem): New static function.
6565         (reload_cse_invalidate_rtx): New static function.
6566         (reload_cse_regs): New static function.
6567         (reload_cse_regno_equal_p): New static function.
6568         (reload_cse_noop_set_p): New static function.
6569         (reload_cse_simplify_set): New static function.
6570         (reload_cse_check_clobbered): New static variable.
6571         (reload_cse_check_src): New static variable.
6572         (reload_cse_check_clobber): New static function.
6573         (reload_cse_record_set): New static function.
6574
6575 Wed Mar 26 07:34:06 1997  Ulrich Drepper  <drepper@cygnus.com>
6576
6577         * ginclude/stdarg.h (__va_copy): New definition.
6578
6579 Tue Mar 25 13:43:36 1997  Michael Meissner  <meissner@cygnus.com>
6580
6581         * gcc.c (init_spec): If -v, print out that the default spec values
6582         were being used.  Fix prototype to reflect no arguments.
6583         (set_spec): If specs has not been set, set it up with the default
6584         specs.
6585         (read_specs): Move to later in the file so that startfile_prefixes
6586         has been declared.  Process "%include <file>" to include another
6587         specs file, aborting if the file can't be found.  Process
6588         "%include_noerr <file>: to include another specs file, giving no
6589         error if the file can't be found.  Process "%rename var1 var2" to
6590         rename a specs variable.  Take new argument that indicates whether
6591         we are processing the main file.  Only process % commands if this
6592         is not the main specs file.  Change callers.
6593         (main): Do not call init_spec if a specs file was found.
6594         (set_spec,read_specs,do_spec_1): If DEBUG_SPECS is defined, print
6595         debug information.
6596         
6597 Tue Mar 25 14:43:58 1997  Doug Evans  <dje@cygnus.com>
6598
6599         * expr.c (emit_push_insn): Delete emission of CLOBBER
6600         when doing partial push, no longer necessary.
6601
6602         * c-decl.c (grokdeclarator): Pedwarn qualified void function return
6603         type.
6604
6605 Tue Mar 25 14:28:15 1997  Richard Earnshaw (rearnsha@armltd.co.uk)
6606
6607         * reload.c (find_dummy_reload): New parameter earlyclobber.  If set
6608         then don't use IN for the reload if it also appears elsewhere in
6609         the insn.  All callers changed.
6610
6611 Tue Mar 25 13:20:18 1997  J.T. Conklin  <jtc@cygnus.com>
6612
6613         * m68k/lb1sf68.asm (udivsi3): Fix hunk from previous patch that
6614         did not apply correctly.
6615
6616         * m68k.md (tablejump): Use extl to explicitly sign extend
6617         index registeron TARGET_5200.
6618         * m68k/{apollo68.h,coff.h,linux.h,mot3300.h,pbb.h}
6619         (ASM_RETURN_CASE_JUMP): Likewise.
6620
6621         * m68k.md (mulsi3): Changed into define_expand.  Split insn into
6622         m68k and coldfire specific versions with appropriate constraints.
6623
6624         * m68k.md (movqi): Disable use of address registers for 
6625         TARGET_5200.
6626
6627         * m68k/lb1sf68.asm (__modsi3, __umodsi3): Use mulsl instruction
6628         instead of __mulsi3 function call on the coldfire.
6629
6630         * m68k.md (bne0_di): Fix typo in last change.
6631
6632         * m68k.md (xorsi3_5200): Correct constraints.
6633
6634         * m68k.c (output_move_{si,hi,qi}mode): New functions.
6635         * m68k.h (output_move_{si,hi,qi}mode): Declare.
6636
6637         * m68k.md (move{si,hi,qi,di}): Changed into define_expands.  Split
6638         insns into m68k and coldfire specific versions with appropriate
6639         constraints.
6640
6641 Tue Mar 25 12:18:41 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6642
6643         * Makefile.in (GCC_PASSES): Revert previous change; use cc1$(exeext).
6644
6645 Mon Mar 24 16:12:20 1997  Doug Evans  <dje@cygnus.com>
6646
6647         * m32r/*: New files.
6648         * config.sub: Add m32r.
6649         * configure: Add m32r.
6650         * longlong.h: Add m32r support.
6651         * ginclude/{stdarg.h,varargs.h}: Add m32r support.
6652         * ginclude/va-m32r.h: New file.
6653
6654 Mon Mar 24 15:53:15 1997  Joel Sherrill <joel@OARcorp.com>
6655
6656         * rs6000/rtems.h: Change to a near clone of the powerpc-eabi target.
6657         * configure (powerpc*-*-rtems): Move before GNU/Linux configuration.
6658
6659 Mon Mar 24 14:26:37 1997  Gavin Koch  <gavin@cygnus.com>
6660
6661         * ginclude/va-mips.h:  For little endian, eabi, objects
6662         less than __va_reg_size are passed in registers.
6663
6664 Fri Mar 21 00:48:02 1997  Jeffrey A Law  (law@cygnus.com)
6665
6666         * mn10300.c (print_operand): Handle 'N'.
6667
6668         * mn10300.c (expand_epilogue): Correctly handle functions
6669         with large frames, but no callee register saves.
6670
6671         * mn1300.md (movdf, movdi): Handle overlapping moves.
6672
6673         * pa.c (compute_movstrsi_length): Handle residuals correctly.
6674
6675 Thu Mar 20 13:53:30 1997  Michael Meissner  <meissner@cygnus.com>
6676
6677         * rs6000.c (easy_fp_constant): If -mrelocatable, consider all fp
6678         constants to be hard.
6679
6680 Mon Mar 20 13:53:30 1997  Jim Wilson  <wilson@cygnus.com>
6681  
6682         * rs6000.md (movdf/movsf define_splits): Add SUBREG support.
6683  
6684         * rs6000.c (fp_reg_or_mem_operand): Delete.
6685         * rs6000.h (PREDICATE_CODES): Remove fp_reg_or_mem_operand.
6686         (fp_reg_or_mem_operand): Delete declaration.
6687         * rs6000.md (movsf_hardfloat): Use nonimmediate_operand instead
6688         of fp_reg_or_mem_operand.
6689
6690 Thu Mar 20 08:52:27 1997  Jeffrey A Law  (law@cygnus.com)
6691
6692         * mn10300.md (cmpsi): Handle comparing a register with
6693         itself by adding zero to the reg.  Z bit for such an insn is
6694         inverted.
6695         * mn10300.c (notice_update_cc): Handle CC_INVERT.
6696
6697         * pa.c (emit_move_sequence): Don't lose for a secondary reload
6698         to the SAR register if the input is a MEM with an offset that won't
6699         fit in 14bits.
6700
6701 Wed Mar 19 17:10:44 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6702
6703         * m68k/linux.h (ASM_OUTPUT_MI_THUNK): Define.
6704
6705 Wed Mar 19 16:59:34 1997  Paul Eggert  <eggert@twinsun.com>
6706
6707         * cccp.c, cpplib.c (do_error, do_warning): Fix memory leak.
6708
6709         * cccp.c (output_line_directive): Do not output negative line
6710         numbers when analyzing directives like `#line 0'.
6711
6712         * cexp.y (parse_number, yylex), cccp.c (rescan), cpplib.c
6713         (cpp_get_token): Unless -lang-c89 is specified, allow C9X-style
6714         hexadecimal floating-point numbers as preprocessor numbers.
6715         * cccp.c (c89): New decl.
6716         (main): Set it to 1 if -lang-c89.
6717         * cpplib.h (struct cpp_options): New member c89.
6718         (CPP_C89): New macro.
6719         * cpplib.c (unsafe_chars): `p' is unsafe before `-' or `+', since it
6720         might generate a C9X-style hexadecimal floating-point number.
6721         (cpp_handle_options): Set c89 option to 1 if -lang-c89.
6722
6723 Tue Mar 18 17:05:57 1997  Stan Cox  <coxs@dg-rtp.dg.com>
6724
6725         * i386.h (STACK_BOUNDARY): Determine according to TARGET_ALIGN_DOUBLE.
6726         
6727         * i386.c (override_options) Make the default alignment 4 for 486,
6728         otherwise 2.
6729         
6730         * i386/freebsd-elf.h (CPP_SPEC): Remove TARGET_CPU_DEFAULT reference.
6731         * i386/linux{,-aout,-oldld}.h (CPP_SPEC): Likewise.
6732         
6733         * i386/go32.h (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
6734         NO_STAB_H, ASM_FILE_START, DBX_BLOCKS_FUNCTION_RELATIVE,
6735         DBX_FUNCTION_FIRST, DBX_OUTPUT_MAIN_SOURCE_FILE_END,
6736         ASM_OUTPUT_SOURCE_LINE): Added to support stabs.
6737         (ASM_OUTPUT_SECTION_NAME): Support section attribute.
6738
6739 Tue Mar 18 16:12:28 1997  Jim Wilson  <wilson@cygnus.com>
6740
6741         * final.c (shorten_branches): Split all insns before computing insn
6742         lengths.
6743         (final_scan_insn, case default): If HAVE_ATTR_length defined, call
6744         abort for any insn that has a '#' output template.
6745
6746         * expr.c (emit_group_load): Call operand_subword instead of creating
6747         an explicit SUBREG.
6748
6749         * reload1.c (reload_reg_free_before_p, case
6750         RELOAD_FOR_OPERAND_ADDRESS): Conflicts with RELOAD_FOR_OPADDR_ADDR
6751         reloads.
6752
6753         * configure (alpha-dec-osf[23456789]*): Use install-headers-cpio
6754         for osf4.
6755
6756         * gcc.c (init_spec): Delete parameter.  Always initialize extra_specs.
6757         (process_command, main): Change all callers.
6758
6759         * combine.c (if_then_else_cond): Call copy_rtx to prevent sharing.
6760
6761 Tue Mar 18 14:59:12 1997  Ian Lance Taylor  <ian@cygnus.com>
6762
6763         * function.c (assign_parms): Add a REG_EQUIV note to the
6764         instruction which copies a parameter into a pseudo-register
6765         whenever there is an associated stack slot, even if the parameter
6766         actually arrived in a register.
6767
6768 Tue Mar 18 14:24:48 1997  Doug Evans  <dje@cygnus.com>
6769
6770         * configure (alpha-dec-osf[23]): Separate osf[23] case.
6771         * alpha.h (LIB_SPEC): -lprof1 requires -lpdf for OSF 4.
6772         * alpha/osf2or3.h: New file.
6773
6774 Tue Mar 18 11:32:10 1997  Jeffrey A Law  (law@cygnus.com)
6775
6776         * m68k.c (m68k_last_compare_had_fp_operands): New variable.
6777         * m68k.h (m68k_last_compare_had_fp_operands): Declare it.
6778         * m68k.md (tst*, cmp*): Turn into define_expand/define_insn pairs.
6779         Keep track of whether test/compare has fp operands.
6780         (seq, sne, sgt, slt, sge, sle): Turn into define_expand/define_insn
6781         pairs.  Make expanders FAIL if TARGET_68060 and last comparison/test
6782         had fp operands.
6783
6784 Tue Mar 18 04:29:29 1997  Richard Earnshaw <rearnsha@armltd.co.uk>
6785
6786         * arm.md (movhi): Handle generation of large constants during
6787         and after reload.
6788
6789 Mon Mar 17 17:30:24 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
6790
6791         * gmicro.h (RETURN_POPS_ARGS): Make sure FUNDECL is non-nil
6792         before we try to use it.
6793         * m68k.h (RETURN_POPS_ARGS): Likewise.
6794         * ns32k.h (RETURN_POPS_ARGS): Likewise.
6795         * pyr.h (RETURN_POPS_ARGS): Likewise.
6796
6797 Mon Mar 17 17:13:44 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
6798
6799         * stor-layout.c (layout_record, PCC_BITFIELD_TYPE_MATTERS):
6800         Only add padding if a bit field would otherwise span more units
6801         of alignment than its base type.
6802
6803 Mon Mar 17 17:03:55 1997  J.T. Conklin  <jtc@cygnus.com>
6804
6805         * m68k.md (beq0_di, bne0_di, bge0_di, blt0_di): Use cmpw #0
6806         instead of tstl when testing address registers on the 68000.
6807         
6808         * m68k/lb1sf68.asm: Fix prologues/epilogues to deal with the lack
6809         of predecrement/postincrement addressing modes in the coldfire
6810         moveml instruction.
6811
6812 Mon Mar 17 17:00:14 1997  Scott Christley <scottc@net-community.com>
6813
6814         * Fix long standing bug where first method call for a class could
6815         result in a garbled stack or produce an incorrect return value.
6816         * objc/sendmsg.c (__objc_block_return): Remove function.
6817         (__objc_word_return, __objc_double_return): Remove functions.
6818         (__objc_get_forward_imp): New function.
6819         (__objc_init_dispatch_tables): Install zero instead of
6820         __objc_init_install_dtable.
6821         (__objc_init_install_dtable): No longer call the method but
6822         allow objc_msg_lookup return it for normal execution.
6823         (obj_msg_lookup): Differentiate between when a method isn't
6824         implemented and when the dispatch table needs to be installed.
6825         Return the IMP when the dispatch table is installed versus
6826         having __objc_init_install_dtable call it.
6827         (get_imp): Install dispatch table if needed and return IMP
6828         from the newly installed dispatch table.
6829         (__objc_responds_to): Install dispatch table if needed before
6830         checking if method is implemented.
6831
6832 Mon Mar 17 16:29:38 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6833
6834         * tree.c (build_{index,range}_type): Ensure expressions for min
6835         and max value are in same obstack as type.
6836
6837 Mon Mar 17 15:44:18 1997  Pat Rankin  <rankin@eql.caltech.edu>
6838
6839         * cccp.c [#if VMS] (O_RDONLY, O_WRONLY): Delete (redundant).
6840         (BSTRING): Delete (obsolete; usage occurs prior to definition).
6841         (do_include): Handle old VAX C style includes better.
6842
6843 Mon Mar 17 13:46:47 1997  Paul Eggert  <eggert@twinsun.com>
6844
6845         * cexp.y, cppexp.c (parse_number): Invalid integer constants are
6846         errors if pedantic.
6847         * cexp.y (yylex): Invalid multibyte characters are errors if pedantic.
6848         * cppexp.c (cpp_lex): Likewise.
6849         * cppexp.c (cpp_parse_escape): Character constants that do not fit are
6850         errors if pedantic.
6851
6852         * c-parse.in (expr_no_commas): Do not store temporary
6853         skip_evaluation increments on yacc value stack.
6854
6855 Sun Mar 16 19:54:49 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6856
6857         * expr.c (expand_expr, case PLACEHOLDER_EXPR): Refine which
6858         object is picked.
6859
6860 Sun Mar 16 15:45:45 1997  Jeffrey A Law  (law@cygnus.com)
6861
6862         * loop.c (strength_reduce): Adjust BENEFIT appropriately if an
6863         autoincrement memory reference will eliminate add insns.
6864
6865 Sun Mar 16 08:41:40 1997  Scott Christley <scottc@net-community.com>
6866
6867         * i386.md (untyped_call): Re-enable code.
6868         * objc/sendmsg.c (__objc_block_return): New function.
6869         (__objc_word_return, __objc_double_return): New functions.
6870         (__objc_init_install_dtable): Call appropriate return function
6871         based upon method type.
6872         * objc/thr-pthreads.c: Correct include path.
6873
6874 Sat Mar 15 07:58:33 1997  Scott Christley <scottc@net-community.com>
6875
6876         * objc-act.c (OBJC_VERSION): Increment version.
6877         * objc/init.c (OBJC_VERSION): Likewise.
6878
6879 Sat Mar 15 07:58:00 1997  Ovidiu Predescu <ovidiu@net-community.com>
6880
6881         * Implement +load.
6882         * objc/init.c (objc_send_load, __objc_send_load): New functions.
6883         (__objc_send_message_in_list): New function.
6884         (__objc_force_linking): New function.
6885         (__objc_exec_class): Don't call _objc_load_callback here.
6886         * objc/linking.m: New file.
6887         * objc/sendmsg.c (class_add_method_list): Check for the +load method
6888         when adding a methods list to a class.
6889         * objc/Makefile (OBJC_O): Add linking.m.
6890
6891         * Allow methods defined in categories to override methods that are
6892         defined in the class implementation.
6893         * objc/sendmsg.c (__objc_install_methods_in_dtable): New function.
6894         (class_add_method_list): Don't check anymore for duplicate methods.
6895
6896         * config/nextstep.h (INCLUDE_DEFAULTS): Define to something useful
6897         when cross-compiling.
6898
6899         * The static instances list moved from the objc_module struct to 
6900         objc_symtab struct, at the end of defs array. This now allows the NeXT
6901         gdb to work with binaries generated for the GNU ObjC runtime.
6902         * objc-act.c (build_objc_symtab_template): Make sure
6903         defs in objc_symtab is a NULL terminated array.
6904         (init_def_list): Attach statics to end of def list.
6905         (init_objc_symtab): Take statics list into account.
6906         (init_module_descriptor, build_module_descriptor): Don't add statics.
6907         (generate_static_references): Indicate that statics are used.
6908         (finish_objc): Process statics in the beginning.
6909         * objc/objc-api.h (objc_module): Eliminate statics variable.
6910         * objc/init.c (__objc_exec_class): Access statics from their
6911         new place in the defs variable.
6912
6913 Sat Mar 15 07:29:15 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
6914
6915         * reload.c: Include expr.h.
6916         (find_reloads_address, find_reloads_address_1): New argument INSN.
6917         (find_reloads_address_1): Reload inside of p{re,ost}_{in,de}c
6918         instead of entire p{re,ost}_{in,de}c where appropriate.
6919         * Makefile.in (reload.o): Added expr.h to dependencies list.
6920
6921 Sat Mar 15 07:17:12 1997  Richard Henderson  <rth@tamu.edu>
6922
6923         * reload.h (eliminate_regs): Add STORING arg.
6924         * reload1.c (eliminate_regs): Likewise.
6925         (eliminate_regs, case SET): Pass that we are storing to recursive call.
6926         (eliminate_regs, case SUBREG): If storing and same number of words,
6927         use larger mode.
6928         * caller-save.c, dbxout.c, dwarfout.c, dwarf2out.c, reload.c, sdbout.c:
6929         Change all calls to eliminate_regs.
6930
6931 Fri Mar 14 14:18:49 1997  Ian Lance Taylor  <ian@cygnus.com>
6932
6933         * cplus-dem.c: Add prototypes for all static functions.
6934         (mystrstr): Make static.  Make arguments and result const.
6935         (cplus_match): Remove; not used.
6936
6937 Fri Mar 14 10:15:35 1997  Jeffrey A Law  (law@cygnus.com)
6938
6939         * mn10300.c (const_costs): Remove unused function.
6940         * mn10300.h (CONST_COSTS): Rework to generate better code.
6941
6942         * mn10300.c (print_operand): Handle 'H' and 'L' output
6943         modifers for high/low part of a 64bit value.
6944         * mn10300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Handle 'G'
6945         (LEGITIMATE_CONSTANT_P): Allow any constant.
6946         * mn10300.md (movdi, movdf): Implement.
6947         (adddi3, subdi3): New expanders and patterns.
6948
6949         * mn10300.c (print_operand): Handle 'A' modifier for an
6950         address which can't be simple register indirect.
6951         * mn10300.h (EXTRA_CONSTRAINT): Handle 'R' for bit ops.
6952         * mn10300.md: Add patterns to test, set and clear bitfields.
6953
6954         * mn10300.c (can_use_return_insn): New function.
6955         (expand_epilogue): Emit a RETURN insn if possible.
6956         * mn10300.md (return): New pattern.
6957
6958         * mn10300.h (CONST_OK_FOR_LETTER_P): Handle 'N'.
6959         * mn10300.md (andsi3): Catch "and 255,dn" and "and 65535,dn"
6960         which were not turned into zero_extend patterns.
6961
6962         * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Handle symbolic
6963         constant as an index/base too.
6964
6965         * mn10300.md (movsi): Allow SP to be loaded/saved with
6966         reg+d8 addresses.
6967
6968         * mn10300.md (cmpsi): Allow second operand to be a constant.
6969         (subsi3): Likewise.
6970
6971         * mn10300.md (sign extension patterns): Fix thinko when
6972         extending from memory.
6973
6974         * mn10300.md (tst peepholes): Add peepholes for test/branch
6975         based on N bit being set/clear and the data value being tested dies.
6976
6977 Tue Mar 11 17:07:51 1997  Jeffrey A Law  (law@cygnus.com)
6978
6979         * mn10300.c (expand_prologue): Rework so that eliminating
6980         the frame pointer produces faster/smaller code.
6981         (expand_epilogue): Likewise.
6982         (initial_offset): New function for argument pointer and frame pointer
6983         elimination.
6984         * mn10300.h (FIRST_PSEUDO_REGISTER): Bump to 10.
6985         (FIXED_REGISTERS): Add argument pointer register, it's a fake fixed
6986         register.
6987         (CALL_USED_REGISTERS, REG_ALLOC_ORDER): Corresponding changes.
6988         (REGNO_REG_CLASS, REG_CLASS_CONTENTS): Likewise.
6989         (REG_OK_FOR_BASE_P, REGISTER_NAMES): Likewise.
6990         (reg_class, REG_CLASS_NAMES): Delete unwanted DATA_OR_SP_REGS class.
6991         (PREFERRED_OUTPUT_RELOAD_CLASS): Define.
6992         (FIRST_PARM_OFFSET): No longer include register save area in
6993         computation.
6994         (STACK_POINTER_REGNUM): Is now register 9.
6995         (ARG_POINTER_REGNUM): Is now register 8.
6996         (FRAME_POINTER_REQUIRED): Refine.
6997         (ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): Define.
6998         (CAN_DEUG_WITHOUT_FP): Define.
6999         * mn10300.md (return_internal): Break into two patterns.
7000         
7001         * mn10300.h (CONST_OK_FOR_LETTER_P): Handle 'M' too.
7002         (REGISTER_MOVE_COST): Fix errors and refine.
7003
7004         * mn10300.c (notice_update_cc): SET_ZN_C0 insns leave the
7005         overflow bit in an unuseable state.  Rename CC_SET to CC_TST.
7006         * mn10300.md (cc attributes): "set" is gone, replaced by
7007         "tst".  Update attributes on various insns.
7008
7009         * mn10300.md: Improve sign and zero extension instructions.
7010         (ashlsi3): Improve.  Handle address registers too.
7011         (add peephole): Combine two consecutive adjustments of a register
7012         into a single adjustment.
7013
7014 Tue Mar 11 17:18:40 1997  Brendan Kehoe  <brendan@melange.gnu.ai.mit.edu>
7015
7016         * cplus-dem.c (gnu_special): Call demangled_fund_type for other
7017         __t* symbols.
7018
7019 Mon Mar 10 16:10:34 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7020
7021         * emit-rtl.c (subreg_lowpart_p): Return 0 if SUBREG_REG is VOIDmode.
7022         * combine.c (simplify_rtx, case SUBREG): Fix direction of test when
7023         calling operand_subword; use inline code intead of subreg_lowpart_p.
7024
7025 Fri Mar  7 09:22:28 1997  Jeffrey A Law  (law@cygnus.com)
7026
7027         * mn10300.c (expand_{pro,epi}logue): Rework to avoid
7028         unnecessary "add" operations.
7029         (expand_epilogue): Likewise.
7030         * mn10300.h (STARTING_FRAME_OFFSET): Is zero after the last
7031         round of prologue/epilogue changes.
7032         (FIRST_PARM_OFFSET): Is now 16 (-4 for REG_PARM_STACK_SPACE + 20 for
7033         register save area).
7034         (REG_PARM_STACK_SPACE): Define as 4 bytes.
7035         (OUTGOING_REG_PARM_STACK_SPACE): Define so caller allocates it.
7036         * mn10300.md (call{,_value} expander): Don't emit insns to adjust the
7037         stack here anymore.
7038
7039         * mn10300.md (bCC patterns): Just use "bCC target".
7040
7041 Tue Mar  4 13:21:41 1997  Jim Wilson  <wilson@cygnus.com>
7042
7043         * rs6000.md (movsi): Don't emit a USE insn for LABEL_REFs.
7044
7045 Thu Mar  6 16:29:13 1997  Jim Wilson  <wilson@cygnus.com>
7046
7047         * dwarf2out.c (modified_type_die): Initialize item_type to NULL.
7048         Move equate_type_number_to_die call before use of sub_die, and move
7049         recursive modified_type_die calls on item_type after it.
7050
7051         * dwarfout.c (root_type_1, write_modifier_bytes_1): New functions.
7052         (root_type): Call root_type_1.
7053         (write_modifier_bytes): Call write_modifier_bytes_1.
7054         (output_type, case POINTER_TYPE): Set TREE_ASM_WRITTEN before
7055         recursive call.
7056
7057 Wed Mar  5 14:30:49 1997  Torbjorn Granlund  <tege@quiet.matematik.su.se>
7058
7059         Partially undo Jan 11 changes (nor takes only register ops):
7060         * mips.md (*norsi3_const, *nordi3_const): Delete bogus patterns.
7061         * mips.c (complemented_arith_operand): Delete function.
7062         (print_operand): Don't handle `e' for CONST_INT.
7063         * mips.h (PREDICATE_CODES): Delete complemented_arith_operand.
7064
7065 Tue Mar  4 16:38:13 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
7066
7067         * i386.c (i386_return_pops_args): Make sure FUNDECL is non-nil
7068         before we try to use it.
7069         * i386/{isc,next,sco,sco5,scodbx}.h (RETURN_POPS_ARGS): Likewise.
7070
7071 Mon Mar  3 20:17:54 1997  Gavin Koch  <gavin@cygnus.com>
7072
7073         * ginclude/va-mips.h: __mips_single_float should have
7074         the same effect on vararg lists as __mips_soft_float.
7075
7076 Mon Mar  3 18:12:01 1997  Michael Meissner  <meissner@cygnus.com>
7077
7078         * rs6000.h (DBX_CONTIN_LENGTH): Undo 2/26 change.
7079
7080 Mon Mar  3 13:08:20 1997  Jeffrey A Law  (law@cygnus.com)
7081
7082         * combine.c (simplify_rtx): Do nothing with (truncate:mode) if
7083         mode is a partial integer mode.
7084
7085 Sun Mar  2 17:41:18 1997  Ulrich Drepper  <drepper@cygnus.com>
7086
7087         * ginclude/varargs.h: Add definition of __va_copy.
7088         * va-alpha.h, va-clipper.h, va-h8300.h, va-i860.h: Likewise.
7089         * va-i960.h, va-m88k.h, va-mips.h, va-pa.h, va-ppc.h: Likewise.
7090         * va-sh.h, va-sparc.h, va-spur.h: Likewise.
7091
7092 Sun Mar  2 13:25:49 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7093
7094         * c-typeck.c (process_init_element): Warn and truncate if upper
7095         bound of index is out of range.
7096
7097 Fri Feb 28 16:08:47 1997  Michael Meissner  <meissner@cygnus.com>
7098
7099         * rs6000/sol-c0.c (_start): Disable loading up r13 and r2 with the
7100         SDA base registers for now.
7101
7102         * rs6000.md (movsi): Emit a USE insn when putting the
7103         label of constants into the TOC, so that the constant is still
7104         emitted when expensive optimizations are used.
7105
7106 Thu Feb 27 17:54:42 1997  Karl Heuer  <kwzh@gnu.ai.mit.edu>
7107
7108         * fixinc.ptx: Fix sed expression looking for <sys/types.h> in pwd.h.
7109
7110 Thu Feb 27 12:11:16 1997  Dennis Glatting  <dennis.glatting@plaintalk.bellevue.wa.us>
7111
7112         * fixincludes: Remove more cases of __const__ from math.h on NeXT.
7113
7114 Wed Feb 26 14:52:27 1997  Michael Meissner  <meissner@cygnus.com>
7115
7116         * reload.c (debug_reload): Remove extra argument to fprintf.
7117         * rs6000.c (output_toc): Make fprintf calls type correct.
7118
7119         * rs6000.h (DBX_CONTIN_LENGTH): Define as 4000 to avoid AIX
7120         assembler line limit.
7121
7122 Mon Feb 24 17:56:17 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
7123
7124         * fixincludes: Fix need of prototypes for C++ in rpc/xdr.h on SunOS4.
7125
7126 Mon Feb 24 17:33:57 1997  Michael Meissner  <meissner@cygnus.com>
7127
7128         * rs6000/xm-sysv4.h (HAVE_STRERROR): Define.
7129
7130 Sun Feb 23 17:18:28 1997  Jim Wilson  <wilson@cygnus.com>
7131
7132         * rs6000.md (floatsidf2_loadaddr): Correct syntax for cau instruction.
7133         (load_multiple, store_multiple): Call change_address instead of
7134         creating MEM from scratch.
7135
7136 Thu Feb 20 16:39:15 1997  Jim Wilson  <wilson@cygnus.com>
7137
7138         * unroll.c (unroll_loop): Add check for naive loop that ends with
7139         conditional branch that does not branch back to loop start.
7140
7141         * reload1.c (reload): Move assign_stack_local call into main loop.
7142
7143 Thu Feb 20 11:40:46 1997  Jeffrey A Law  (law@cygnus.com)
7144
7145         * pa.md (zero extension patterns): Turn into define_expand and
7146         define_insn pair.
7147
7148 Wed Feb 19 17:05:38 1997  Jeffrey A Law  (law@cygnus.com)
7149
7150         * pa.c (emit_move_sequence): Don't copy 0.0 (double precision)
7151         directly to memory, go through a reg if reload hasn't started.
7152         * pa.md (main movdf pattern): Don't allow 0.0 (double precision)
7153         to be copied directly to memory.
7154
7155         * pa/pa-hpux10.h (MD_EXEC_PREFIX): Define appropriately for hpux10.
7156         (MD_STARTFILE_PREFIX): Similarly.
7157
7158         * pa.h (ASM_OUTPUT_SECTION_NAME): Surround the section name
7159         with '$' if not using GAS.
7160
7161 Wed Feb 19 16:43:47 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
7162
7163         * sched.c (schedule_insns): If there was no first scheduling pass,
7164         split instructions after reload.
7165         (update_flow_info): Tolerate some idiosyncrasies after reload.
7166
7167 Wed Feb 19 11:13:51 1997  Jeffrey A Law  (law@cygnus.com)
7168
7169         * combine.c (find_split_point): Don't turn a SIGN_EXTEND into
7170         a series of shifts if either mode is a partial integer mode.
7171
7172 Mon Feb 17 08:06:02 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7173
7174         * rs6000.c ({,non_}short_cint_operand): Use (unsigned HOST_WIDE_INT).
7175         (non_add_cint_operand, includes_rshift_p): Likewise.
7176         * rs6000.h (CONST_OK_FOR_LETTER_P): Likewise.
7177         (LEGITIMATE_ADDRESS_INTEGER_P, LEGITIMIZE_ADDRESS): Likewise.
7178
7179 Sun Feb 16 07:55:19 1997  J"orn Rennecke  (amylaar@cygnus.co.uk)
7180
7181         * libgcc2.c (__negdi2, __lshrdi3, __ashldi3, __ashrdi3, __ffsdi2):
7182         Use ANSI style definition with full prototype.
7183         (__muldi3, __udiv_w_sdiv, __udivmoddi4, __divdi3, __moddi3) : Likewise.
7184         (__udivmoddi4, __udivdi3, __cmpdi2, __ucmpdi2) : Likewise.
7185         (__fixunstfdi, __fixtfdi, __fixunsxfdi, __fixxfdi) : Likewise.
7186         (__fixunsdfdi, __fixdfdi, __floatdixf, __floatditf) : Likewise.
7187         (__floatdidf, __floatdisf, __fixunsxfsi, __fixunsdfsi) : Likewise.
7188         (__gcc_bcmp, __eprintf, gopen, gclose, __bb_init_file) : Likewise.
7189         (__bb_init_trace_func, __clear_cache, mprotect) : Likewise.
7190         (__enable_execute_stack, cacheflush, exit) : Likewise.
7191         (find_exception_table, __find_first_exception_table_match) : Likewise.
7192
7193 Sun Feb 16 07:52:02 1997  Oliver Kellogg  (oliver.kellogg@space.otn.dasa.de)
7194
7195         * 1750a.md (mulqihi3): Corrected.
7196         (tst{hf,tqf}): Simplified.
7197         (movqi): Removed redundant alternative.
7198         (addqi-3,addqi-2,addqi-1): Set/Reset Bit patterns by C. Nettleton.
7199         (many patterns): Introduced operand output modifiers d,t,b,B,w.
7200         * 1750a.c (print_operand): New operand output modifiers d,t,b,B,w.
7201         (simple_memory_operand): Removed.
7202         (one_bit_set_p, which_bit): Added from C. Nettleton's m1750 config.
7203
7204 Sun Feb 16 07:43:37 1997  Paul Eggert  <eggert@twinsun.com>
7205
7206         * cccp.c (special_symbol): Don't treat "L" in "L'...'" as identifier.
7207         (check_macro_name, collect_expansion, rescan): Likewise.
7208         * cpplib.c (special_symbol, check_macro_name, collect_expansion):
7209         Likewise.
7210
7211         * cexp.y (parse_c_expression): Don't check for null lexptr
7212         or *lexptr == 0.  If yyparse returns nonzero value, abort.
7213
7214         * cexp.y (yylex): Use is_space, not is_hor_space, to find keyword end.
7215         (is_space): New decl.
7216         (is_hor_space): Removed.
7217         * cccp.c (is_space): Now external.
7218         (is_hor_space): Now static.
7219
7220 Sun Feb 16 04:55:11 1997  Jason Merrill  <jason@yorick.cygnus.com>
7221
7222         * toplev.c, tree.h (decl_printable_name): Change arguments.
7223         * c-common.c (declare_function_name): Reflect above change.
7224         * final.c (final_start_function): Likewise.
7225         * function.c (init_function_start): Likewise.
7226         * toplev.c (decl_name): Likewise.
7227         (announce_function): Likewise.
7228         (v_message_with_decl): Likewise.
7229         * dwarf2out.c (dwarf2_name): New fn, uses decl_printable_name.
7230         (add_pubname): Use it.
7231         (add_name_and_src_coords_attributes): Use it, add 
7232         DW_AT_MIPS_linkage_name if appropriate.
7233         (output_aranges): Use DW_AT_MIPS_linkage_name if present.
7234
7235 Sat Feb 15 18:45:30 1997  J.T. Conklin  <jtc@cygnus.com>
7236
7237         * m68k.md (cmpsi): Added insn with appropriate constraints for
7238         TARGET_5200; changed condition of existing insn to !TARGET_5200.
7239
7240 Sat Feb 15 18:26:50 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
7241
7242         * m68k/hp320.h (PRINT_OPERAND_FLOAT): Removed.
7243         (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}_OPERAND): Defined.
7244         (PRINT_OPERAND): Turned off: use default.
7245         * m68k/news.h (PRINT_OPERAND): Turned off: use default.
7246         (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}_OPERAND): Defined.
7247         * m68k/tower-as.h (PRINT_OPERAND): Turned off: use default.
7248         (ASM_OUTPUT_{FLOAT,DOUBLE}_OPERAND): Defined.
7249         * m68k/crds.h (PRINT_OPERAND): Turned off: use default.
7250         (ASM_OUTPUT_{FLOAT,DOUBLE}_OPERAND): Defined.
7251         (SGS_NO_LI,STRUCTURE_SIZE_BOUNDARY,IMMEDIATE_PREFIX): Defined.
7252         (NEED_PROBE): Defined instead of HAVE_probe and gen_probe.
7253         (FUNCTION_{PRO,EPI}LOGUE): Do not access FPA registers.
7254         * m68k.c (output_function_prologue): Add CRDS and MOTOROLA probe code.
7255         (print_operand): Do not output '.' if CRDS.
7256
7257         * gcc.c (set_spec): Fix comment-in-comment typo.
7258         
7259 Sat Feb 15 17:54:23 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
7260
7261         * Makefile.in (COMPILERS): Moved before GCC_PASSES.
7262         (GCC_PASSES): Use $(COMPILERS) instead of cc1$(exeext).
7263
7264 Sat Feb 15 17:25:44 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7265
7266         * gcc.c (process_command): Allocate space for terminating null.
7267
7268 Sat Feb 15 17:21:34 1997  Pat Rankin  <rankin@eql.caltech.edu>
7269
7270         * vax.h (FUNCTION_PROLOGUE): Adjust size by STARTING_FRAME_OFFSET.
7271         * vax/vms.h (FUNCTION_PROLOGUE): Delete.
7272
7273 Sat Feb 15 08:48:14 1997  Douglas B. Rupp  (rupp@gnat.com)
7274
7275         * configure: Fix setting of CC in no-symlink case.
7276
7277 Sat Feb 15 08:42:17 1997  Oliver Kellogg  (oliver.kellogg@space.otn.dasa.de)
7278
7279         * expmed.c (expand_divmod): Prefer divmod in same mode over div
7280         in wider mode.
7281
7282 Sat Feb 15 08:27:50 1997  J"orn Rennecke  (amylaar@cygnus.co.uk)
7283
7284         * fold-const.c (fold): Don't assume a nonexplicit constant cannot
7285         equal an explicit one.
7286
7287         * i386.md (zero_extendqi[hs]i2+3): Ensure operating on REG.
7288
7289 Sat Feb 15 08:11:04 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7290
7291         * configure (i[3456]86-*-solaris2*): Correct tm.h filename in
7292         stabs case.
7293
7294         * a29k.h (STORE_FLAG_VALUE): Write so works on both 32 and 64-bit host.
7295
7296 Fri Feb 14 16:03:37 1997  Robert Lipe  <robertl@dgii.com>
7297
7298         * i386/t-sco5 (libgcc{1,2}-elf.a): correct target dependencies.
7299
7300 Fri Feb 14 16:00:23 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
7301
7302         * config/svr4.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Set 
7303         current-section variable to text.
7304
7305 Wed Feb 12 16:07:34 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
7306
7307         * fixinc.irix: New file.
7308         * configure (mips-sgi-irix[56]): Set fixincludes to fixinc.irix.
7309
7310 Wed Feb 12 15:40:20 1997  Jim Wilson  <wilson@cygnus.com>
7311
7312         * Makefile.in (LIBGCC2_DEBUG_CFLAGS): New macro.
7313         (LIBGCC2_CFLAGS): Use it.
7314
7315         * dwarfout.c (output_type): Do early exit only if TYPE_CONTEXT is NULL
7316         or if TYPE_CONTEXT is another type (e.g. a nested type).
7317
7318 Tue Feb 11 15:53:51 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
7319
7320         * sh.c (calc_live_regs): Exclude RETURN_ADDRESS_POINTER_REGNUM.
7321         Need not save MACL/MACH when not live or in leaf function.
7322
7323 Mon Feb 10 14:46:32 1997  Jeffrey A Law  (law@cygnus.com)
7324
7325         * stmt.c (group_case_nodes): Recognize more opportunities to
7326         group case nodes.
7327
7328 Sun Feb  9 14:05:48 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7329
7330         * function.c (assign_stack_temp): Clear MEM flags from reuse.
7331
7332 Sat Feb  8 17:37:47 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7333
7334         * local-alloc.c (update_equiv_regs): Fix error in last change.
7335
7336 Fri Feb  7 12:42:34 1997  Mike Stump  <mrs@cygnus.com>
7337
7338         * pa.h (RETURN_ADDR_RTX): Fix to ignore export stubs.
7339         * pa.c (return_addr_rtx): Define.
7340
7341 Fri Feb  7 13:56:56 1997  Doug Evans  <dje@cygnus.com>
7342
7343         * cse.c (invalidate_from_clobbers): Delete unnecessary test for
7344         (clobber nil).
7345
7346         * toplev.c (main): Delete redundant settings of flag_no_inline
7347         and warn_inline if not optimizating.
7348
7349 Fri Feb  7 10:45:02 1997  Jeffrey A Law  (law@cygnus.com)
7350
7351         * Makefile.in (stmp-multilib-sub): Add missing "else true"
7352         clauses to work around make bug on some systems.
7353
7354 Fri Feb  7 08:19:43 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7355
7356         * fold-const.c (const_binop): Don't call size_int if low < 0.
7357
7358         * function.c (instantiate_virtual_regs_1, case USE, CLOBBER):
7359         Fix error in last change.
7360
7361 Thu Feb  6 17:09:17 1997  Mike Stump  <mrs@cygnus.com>
7362
7363         * except.c (find_exception_handler_labels): Initialize label array
7364         with zeroes.
7365
7366 Wed Feb  5 22:11:55 1997  Jeffrey A Law  (law@cygnus.com)
7367
7368         * pa.md (post_ldwm): Fix typos.
7369
7370 Wed Feb  5 15:57:42 1997  Doug Evans  <dje@cygnus.com>
7371
7372         * m68k/vxm68k.h (WCHAR_TYPE,WCHAR_TYPE_SIZE,SIZE_TYPE): Fix.
7373         (PTRDIFF_TYPE): Define.
7374
7375 Wed Feb  5 11:19:13 1997  Ian Lance Taylor  <ian@cygnus.com>
7376
7377         * reload1.c (alter_reg): Don't ask assign_stack_local to round up
7378         to a multiple of BIGGEST_ALIGNMENT, unless a register appears in a
7379         paradoxical subreg.
7380
7381 Tue Feb  4 19:29:40 1997  Jim Wilson  <wilson@cygnus.com>
7382
7383         * reload.c (find_reloads_address_1, case POST_INC): Don't use
7384         ADDR_TYPE here.
7385
7386 Tue Feb  4 12:33:45 1997  Jeffrey A Law  (law@cygnus.com)
7387
7388         * flow.c (life_analysis): Delete obvious no-op moves
7389         which use SUBREGs.
7390
7391 Mon Feb  3 20:00:35 1997  Jim Wilson  <wilson@cygnus.com>
7392
7393         * jump.c (find_cross_jump): Don't allow old-style and volatile asms
7394         to match.
7395
7396 Mon Feb  3 15:51:31 1997  Doug Evans  <dje@cygnus.com>
7397
7398         * sparc/sol2.h (ASM_SHORT,ASM_LONG): Set to .uahalf/.uaword.
7399         * sparc/sysv4.h (ASM_LONG): Define.
7400         (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Use ASM_LONG.
7401
7402 Mon Feb  3 13:01:46 1997  Ian Lance Taylor  <ian@cygnus.com>
7403
7404         * reload.h (enum reload_type): Add RELOAD_FOR_INPADDR_ADDRESS and
7405         RELOAD_FOR_OUTADDR_ADDRESS.
7406         * reload.c (ADDR_TYPE): New macro.
7407         (push_secondary_reload): Check for new reload types.
7408         (combine_reloads): Likewise.
7409         (find_reloads): Likewise.  Convert INPADDR_ADDRESS and
7410         OUTADDR_ADDRESS to OPADDR_ADDR.  Check OPADDR_ADDR when looking
7411         for merges.
7412         (find_reloads_address): When reloading an address, use the
7413         ADDR_TYPE macro to get the type of the new reload.
7414         (find_reloads_address_1): Likewise.
7415         (reload_when_needed_name): Add new reload types.
7416         * reload1.c (reload): Add in_addr_addr and out_addr_addr fields to
7417         insn_needs struct.  Use them for new reload types, and when
7418         computing in_max and out_max.
7419         (reg_used_in_inpaddr_addr): New static array.
7420         (reg_used_in_outaddr_addr): New static array.
7421         (mark_reload_reg_in_use): Handle new reload types.
7422         (clear_reload_reg_in_use, reload_reg_free_p): Likewise.
7423         (reload_reg_free_before_p, reload_reg_reaches_end_p): Likewise.
7424         (reloads_conflict, merge_assigned_reloads): Likewise.
7425         (emit_reload_insns): Likewise.
7426         (choose_reload_regs): Save arrays for new reload types.
7427
7428 Sun Feb  2 19:43:17 1997  Scott Christley <scottc@net-community.com>
7429
7430         * objc/selector.c (__sel_register_typed_name): Eliminate compiler
7431         warnings with explicit cast.
7432
7433         * Add condition mutex support to the objc runtime.
7434         * objc/thr-mach.c (objc_condition_{,de}allocate): New functions.
7435         (objc_condition_{wait,broadcast,signal}): New functions.
7436         * objc/thr-pthreads.c (objc_condition_{,de}allocate): New functions.
7437         (objc_condition_{wait,broadcast,signal}): New functions.
7438         * objc/thr-solaris.c (objc_condition_{,de}allocate): New functions.
7439         (objc_condition_{wait,broadcast,signal}): New functions.
7440         * objc/thr.h: Prototypes for new functions.
7441
7442         * objc/init.c (__objc_runtime_mutex): Eliminate leading underscore
7443         from name of objc mutex and thread structures.
7444         * objc/runtime.h: Likewise.
7445         * objc/thr-{decosf1,irix,mach,os2,posix,pthreads,single}.c: Likewise.
7446         * objc/thr-{solaris,win32}.c: Likewise.
7447         * objc/thr.{c,h}: Likewise.
7448
7449         * Major reorganization of objc error handling.
7450         * objc/Object.m (-error:): Call objc_error function instead of
7451         using function pointer.
7452         * objc/archive.c: Replace call to abort or __objc_fatal functions
7453         with call to objc_error function throughout the complete file.
7454         * objc/class.c (objc_get_class): Replace call to abort function
7455         with call to objc_error function.
7456         * objc/encoding.c (objc_sizeof_type, objc_alignof_type): Replace
7457         call to abort function with call to objc_error function.
7458         (objc_skip_typespec): Likewise.
7459         * objc/init.c (init_check_module_version): Replace call to
7460         abort function with call to objc_error function.
7461         * objc/misc.c (objc_verror): New function.
7462         (objc_fatal): Remove function.
7463         (objc_set_error_handler): New function.
7464         (_objc_error_handler): New global variable.
7465         (__alpha__): Remove unneeded code.
7466         (objc_error): Allow user specified error handler function to
7467         trap and handle the objc error.  Added an error code parameter
7468         which indicates the specific error that occured.
7469         (objc_malloc, objc_atomic_malloc): Replace call to objc_fatal
7470         function with call to objc_error function.
7471         (objc_valloc, objc_realloc, objc_calloc): Likewise.
7472         * objc/objc-api.h: Declare error handling functions and typedef
7473         for user specified error handler function.  Define error codes
7474         used by the runtime library.
7475         * objc/runtime.h: Remove error handling declarations.
7476         * objc/sendmsg.c (__objc_forward): Replace call to abort function
7477         with call to objc_error function.
7478         
7479 Sun Feb  2 19:42:52 1997  Thomas Baier <baier@ci.tuwien.ac.at>
7480
7481         * objc/hash.c (hash_delete): Step through the hash nodes
7482         versus using hash_next to increase efficiency.
7483         * objc/archive.c (__objc_finish_read_root_object): Use hash
7484         table instead of list.
7485
7486 Sun Feb  2 08:25:05 1997  Ovidiu Predescu  <ovidiu@net-community.com>
7487
7488         * objc-act.c (encode_aggregate_within): New function.
7489         (encode_aggregate): Generates encodings for unions similar 
7490         to those for structs except surrounded by parenthesis instead
7491         of braces.
7492
7493 Sun Feb  2 07:15:54 1997  Mat Hostetter  (mat@lcs.mit.edu)
7494
7495         * c-decl.c (start_function): Fix improper installation of last change.
7496
7497 Sun Feb  2 06:50:55 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7498
7499         * m68k.c (output_scc_di): Add missing CC_STATUS_INIT.
7500
7501 Sun Feb  2 06:39:55 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7502
7503         * c-typeck.c (process_init_element): When popping levels, don't
7504         blow up if constructor_max_index not set due to previous error.
7505
7506         * combine.c (find_split_point, case SET): Fix error in last change.
7507
7508 Sun Feb  2 06:28:56 1997  Paul Eggert  <eggert@twinsun.com>
7509
7510         * cccp.c (rescan): Insert a space after `.' as well,
7511         to prevent accidental token-pasting (e.g. `.x' -> `.10').
7512
7513 Sun Feb  2 06:08:14 1997  Oliver Kellogg  (oliver.kellogg@space.otn.dasa.de)
7514
7515         * 1750a.c (modregno_adjust): Fixed case when reg_renumber invalid.
7516
7517 Sat Feb  1 19:11:08 1997  J.T. Conklin  <jtc@rhino.cygnus.com>
7518
7519         * m68k.md (movqi): Enable use of clr and st insns on TARGET_5200.
7520         * m68k.c (output_move_simode_const): Likewise.
7521
7522 Sat Feb  1 18:54:00 1997  Douglas B. Rupp  (rupp@gnat.com)
7523
7524         * gcc.c (process_command): Fix improper use of strncpy.
7525
7526 Fri Jan 31 15:35:08 1997  Mike Stump  <mrs@cygnus.com>
7527
7528         * libgcc2.c: Remove extern for malloc and realloc.
7529
7530 Fri Jan 31 17:08:11 1997  Ian Lance Taylor  <ian@cygnus.com>
7531
7532         * local-alloc.c (update_equiv_regs): If register which is equivalent
7533         to some value is only used in one place, and we can't substitute value
7534         for use, move register assignment to just before use.
7535
7536 Fri Jan 31 15:57:25 1997  Stan Cox  <coxs@dg-rtp.dg.com>
7537
7538         * i386.md (idiv,imul,fpmul): Added new functional units for pentiumpro.
7539
7540         * i386.c (pentiumpro_cost): Added new cost structure for pentiumpro.
7541         (override_options): Set ix86_cost to appropriate cost structure.
7542
7543 Thu Jan 30 09:34:26 1997  J.T. Conklin  <jtc@rhino.cygnus.com>
7544
7545         * m68k.md (stack adjust peepholes): Use lea instead of
7546         add.w when adding 16 bit constants on all but TARGET_68040.
7547
7548 Thu Jan 30 08:58:08 1997  Ralf Baechle  <ralf@waldorf-gmbh.de>
7549
7550         * function.c (TRAMPOLINE_ALIGNMENT): Provide default.
7551         (expand_function_end): Use TRAMPOLINE_ALIGNMENT instead
7552         of FUNCTION_BOUNDARY.
7553         * varasm.c (TRAMPOLINE_ALIGNMENT): Provide default.
7554         (assemble_trampoline_template): Use TRAMPOLINE_ALIGNMENT instead
7555         of FUNCTION_BOUNDARY.
7556
7557 Wed Jan 29 18:16:02 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
7558
7559         * sh.h (REG_CLASS_CONTENTS): Add rap to GENERAL_REGS and its
7560         superclasses.
7561
7562         * sh.md (movsi_i, movsi_ie, movhi_i, movhi+1): Use type pcload for
7563         immediate operands where appropriate.
7564         (movsf_ie+1): Fail when loading anything but a MEM into
7565         a floating point reguister.
7566
7567 Wed Jan 29 16:00:31 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7568
7569         * varasm.c (force_const_mem): Set MARK instead of clearing it.
7570         (output_constant_pool): Only mark constant pool if -O.
7571         Check mark flag unconditionally.
7572         (mark_constant_pool): Start by clearing all mark flags.
7573
7574         * tree.c (copy_node): Clear TREE_ASM_WRITTEN.
7575
7576         * flow.c (regno_uninitialized): Return 0 if reg is used for args.
7577
7578 Wed Jan 29 15:23:59 1997  Ian Lance Taylor  <ian@cygnus.com>
7579
7580         * combine.c (try_combine): Clear reg_n_refs if i2dest is not
7581         mentioned in newi2pat.
7582
7583 Tue Jan 28 16:00:23 1997  Stan Cox  (coxs@dg-rtp.dg.com)
7584
7585         From Robert Lipe <robertl@dgii.com> 
7586         * i386/sco5.h (SCO_DEFAULT_ASM_COFF): Remove bytecode stuff.
7587         (ASM_OUTPUT_ASCII): Use .ascii in both ELF and COFF modes.
7588         (ASM_OUTPUT_SECTION_NAME): Handle alternate sections for COFF.
7589         The OpenServer 5.0.0 assembler gives an error for section
7590         names over 6 characters long, so we catch the "obvious" case
7591         and shorten it.
7592
7593         * m88k.h (ASM_OUTPUT_SECTION_NAME): Undefine; fails
7594         for exception sections.  The 88k ABI specifies 'section'
7595         instead of '.section'.
7596
7597 Mon Jan 27 13:32:46 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
7598
7599         * sh.c (shl_and_kind): Fix typo.
7600         * sh.md (and_shl_scratch): Fix typo for length 8.
7601
7602 Mon Jan 27 08:56:03 1997  Jeffrey A Law  (law@cygnus.com)
7603
7604         * fixincludes (sys/time.h): Fix incorrect forward structure
7605         declaration on hpux10.20.
7606
7607 Mon Jan 27 09:05:35 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7608
7609         * combine.c (simplify_rtx): Don't do anything with if_then_else_cond
7610         result if both one arm and the input are a comparison.
7611         (simplify_{rtx,if_then_else,logical,shift_const}): Don't
7612         test STORE_FLAG_VALUE with #if; properly test for just sign bit.
7613         (num_sign_bit_copies, if_then_else_cond): Likewise.
7614         * expmed.c (emit_store_flag): Properly test for STORE_FLAG_VALUE
7615         of just sign bit.
7616         * fold-const.c (fold): Don't make COND_EXPR when both expr and
7617         one part are comparisons.
7618         * a29k.h (STORE_FLAG_VALUE): Make negative.
7619
7620 Fri Jan 24 16:42:26 1997  Ian Lance Taylor  <ian@cygnus.com>
7621
7622         * varasm.c (struct pool_constant): Add mark field.
7623         (force_const_mem): Clear mark field in new constant pool entry.
7624         (output_constant_pool): Call mark_constant_pool.
7625         (mark_constant_pool, mark_constants): New static functions.
7626
7627 Thu Jan 23 15:04:17 1997  Ian Lance Taylor  <ian@cygnus.com>
7628
7629         * cse.c (COST): Get the right cost for a SUBREG of a register when
7630         truncation is free.
7631
7632 Thu Jan 23 11:19:40 1997  Mike Stump  <mrs@cygnus.com>
7633
7634         * Makefile.in (objc-headers): Don't try and install the headers if
7635         the objc directory has been removed.
7636
7637 Wed Jan 22 13:26:25 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
7638
7639         * i960.c (process_pragma): Call ungetc on the last character
7640         that was read by the while loop, to make sure the parser sees it.
7641
7642 Tue Jan 21 17:20:30 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
7643
7644         * rs6000.c (output_toc): Move STRIP_NAME_ENCODING to common
7645         code, so the test for vt's works with -mminimal-toc.
7646
7647 Tue Jan 21 16:03:35 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7648
7649         * function.c (mark_all_temps_used): Set KEEP as well.
7650
7651 Tue Jan 21 12:16:15 1997  Doug Evans  <dje@seba.cygnus.com>
7652
7653         * stor-layout.c (layout_record): Correct test for whether field spans
7654         its unit of alignment in case where field_size == type_align.
7655
7656 Mon Jan 20 20:27:54 1997  Ian Lance Taylor  <ian@cygnus.com>
7657
7658         * mips.md (probe): Comment out.
7659
7660 Sun Jan 19 20:54:45 1997  John F. Carr  <jfc@mit.edu>
7661
7662         * integrate.c (expand_inline_function): Handle a PARALLEL containing
7663         a RETURN the same as a RETURN.
7664
7665 Sun Jan 19 20:35:28 1997  Pat Rankin  <rankin@eql.caltech.edu>
7666
7667         * vmsconfig.com: Change all hardcoded references of "vax" to
7668         use variable expansion instead.
7669         (arch_indx, arch): New variables.
7670
7671         * vax.c (not_qsort):  Don't declare alloca.
7672         * vax/xm-vms.h: Declare alloca here.
7673         Do most of the VAX C-specific set up for DEC C.
7674         #if DEC C, undefine QSORT_WORKAROUND and qsort.
7675         * make-gcc.com, make-cccp.com, make-cc1.com:  Support building
7676         with GNU C vs VAX C vs DEC C from the DCL command line.
7677
7678 Sun Jan 19 17:20:50 1997  Oliver Kellogg  (oliver.kellogg@space.otn.dasa.de)
7679
7680         * 1750a.md (movh[if]-1): Corrected.
7681         (movtqf-1): Deleted.
7682         * 1750a.c (add_1_to_mem): Deleted.
7683         (output_operand_address): Added output modifier 'A'.
7684
7685 Sun Jan 19 17:17:54 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
7686
7687         * m68k.md (ashrdi_const, ashrdi3): Allow 31 as shift count.
7688
7689         * m68k.h (CONST_OK_FOR_LETTER_P): Recognize 'N', 'O' and 'P'.
7690         * m68k.md (rotl[shq]i3, strict_low_part rotl): Allow 'N', 'O'
7691         or 'P' operands.
7692
7693 Sun Jan 19 17:09:17 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7694
7695         * m68k.md (addsi3): Fix previous change: {add,sub}qw should
7696         be {add,sub}ql. For other uses of {add,sub}q don't check for address
7697         register and always use {add,sub}ql.
7698
7699 Sun Jan 19 15:05:42 1997  Peter Seebach  <seebs@solon.com>
7700
7701         * c-decl.c (start_decl): Add code for -Wmain.
7702         (c_decode_option): Add -fhosted, -ffreestanding, and -Wmain.
7703         * toplev.c (lang_options): Likewise.
7704         * c-tree.h (warn_main, flag_hosted): New variables.
7705
7706 Sun Jan 19 14:35:41 1997  Alex Garthwaite  (alex@samwise.cis.upenn.edu)
7707
7708         * fixinc.svr4: Fix problems with symlinks to ".".
7709
7710 Sun Jan 19 14:21:46 1997  Craig Burley  <burley@gnu.ai.mit.edu>
7711
7712         * loop.c (check_final_value): Handle insns with no luid's.
7713
7714 Sun Jan 19 08:57:26 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7715
7716         * alpha.md (arg_home): Add CLOBBER of MEM and USE of arg regs.
7717         * vms.h (SETUP_INCOMING_VARARGS): Delete duplicate definition.
7718
7719         * toplev.c (set_float_handler): Set up signal catcher on first call
7720         in case a front end has disabled it.
7721
7722         * cccp.c, cexp.y: #define __attribute__ to be null if 
7723         compiling with GCC older than 2.7, not 2.6.
7724
7725         * toplev.c (main): If PREFERRED_DEBUGGING_TYPE used and set
7726         to NO_DEBUG, say debugging not supported.
7727         * mips/sni-svr4.h (PREFERRED_DEBUGGING_TYPE): Undefine.
7728
7729         * i386/xm-cygwin32.h (DIR_SEPARATOR): Define.
7730
7731         * explow.c (convert_memory_address, case SYMBOL_REF):
7732         Copy CONSTANT_POOL_ADDRESS_P.
7733         * integrate.c (save_constants): Make (address (const ..)) to record
7734         both modes.
7735         (copy_for_inline, copy_rtx_and_substitute, restore_constants): Use
7736         both modes when restoring constant pool entry for ADDRESS.
7737
7738         * alpha.h (MINIMUM_ATOMIC_ALIGNMENT): New macro.
7739
7740         * function.c (instantiate_virtual_regs_1, case USE, case CLOBBER):
7741         Properly handle case of shared MEM whose replacement is not valid.
7742
7743 Sat Jan 18 14:08:31 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7744
7745         * tree.c (get_unwidened): Don't crash if FIELD_DECL not layed out.
7746
7747         * varasm.c (const_hash): Treat NON_LVALUE_EXPR like CONVERT_EXPR.
7748         (compare_constant_1, copy_constant, bc_assemble_integer): Likewise.
7749         (const_hash, compare_constant_1): Use switch, not if-then-else.
7750
7751 Fri Jan 17 17:10:20 1997  Ian Lance Taylor  <ian@cygnus.com>
7752
7753         * mips.h (STACK_POINTER_OFFSET): Don't define.
7754
7755 Thu Jan 16 14:51:03 1997  Bob Manson  <manson@charmed.cygnus.com>
7756
7757         * cplus-dem.c: Fix indenting; note that this file also lives in
7758         libiberty.
7759         (do_type, case 'M'): Check for a template as well as a class.
7760
7761 Thu Jan 16 15:08:26 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
7762
7763         * gcc.c (cross_compile): Change to be a char * like all of the
7764         other specs.
7765         (process_command): Change how cross_compile is tested.
7766         (main): Likewise.
7767         (struct spec_list): Merge with the format used by EXTRA_SPECS.
7768         Add name length field to speed up repeated calls to strcmp.  Add
7769         flag to say spec was allocated.  Add pointer to char * so that
7770         static spec fields can be updated.
7771         (extra_specs): Use struct spec_list as type.
7772         (static_specs): Static list of predefined specs.
7773         (init_specs): New function, initialize the specs list.  Link in
7774         the default specs and any specs defined via EXTRA_SPECS.
7775         (set_spec): No longer special case predefined specs.
7776         (process_command,validate_all_switches): Ditto.
7777         (process_command): Call init_specs for -dumpspecs.
7778         (do_spec_1): Use name length field to avoid calling strncmp when
7779         it is going to fail.
7780         (main): Call init_spec.  Don't handle EXTRA_SPECS here.
7781
7782 Thu Jan 16 17:07:54 1997  Eddie C. Dost  <ecd@skynet.be>
7783
7784         * configure: Add sparc-linux{,aout} support.
7785         * ginclude/va-sparc.h: Likewise.
7786         * sparc/linux.h: New file.
7787         * sparc/linux-aout.h: New file.
7788         * sparc/xm-linux.h: New file.
7789
7790 Thu Jan 16 16:19:13 1997  Jim Wilson  <wilson@cygnus.com>
7791
7792         * configure (sparc-*-aout*): Add libgloss.h to tm_file.
7793         (sparclite-*-coff*): Change "= to =".
7794
7795 Thu Jan 16 12:53:15 CST 1997  Joel Sherrill <joel@OARcorp.com>
7796
7797         * rs6000/rtems.h: Change from being sysv4 based to being eabi based.
7798
7799 Thu Jan 16 13:40:51 1997  Jim Wilson  <wilson@cygnus.com>
7800
7801         * mips.h (LINKER_ENDIAN_SPEC): Define.
7802         (LINK_SPEC): Add linker_endian_spec.
7803         (EXTRA_SPECS): Add linker_endian_spec.
7804
7805 Thu Jan 16 08:02:13 1997  Jeffrey A Law  (law@cygnus.com)
7806
7807         * mn10300.md (bCC, inverted bCC): Use bCC .+X instead of bCC 0f.
7808
7809 Wed Jan 15 14:06:28 1997  Ian Lance Taylor  <ian@cygnus.com>
7810
7811         * reload.h (reload_address_base_reg_class): Declare.
7812         (reload_address_index_reg_class): Declare.
7813         * reload1.c (reload_address_base_reg_class): Define.
7814         (reload_address_index_reg_class): Define.
7815         (init_reload): Initialize reload_address_{base,index}_reg_class.
7816         * reload.c (find_reloads_address): Use
7817         reload_address_base_reg_class rather than BASE_REG_CLASS.  Use
7818         reload_address_index_reg_class rather than INDEX_REG_CLASS.
7819         (find_reloads_address_1): Likewise.
7820
7821 Tue Jan 14 15:26:33 1997  Ian Lance Taylor  <ian@cygnus.com>
7822
7823         * reload.c (REGNO_MODE_OK_FOR_BASE_P): Define if not defined.
7824         (REG_MODE_OK_FOR_BASE_P): Define if not defined.
7825         (find_reloads_address): Use REG[NO]_MODE_OK_FOR_BASE_P rather than
7826         REG[NO]_OK_FOR_BASE_P.
7827         (find_reloads_address_1): Likewise.
7828         Add mode parameter; change all callers.
7829
7830         * reload1.c (eliminate_regs_in_insn): Handle more cases when
7831         eliminating the frame pointer to the hard frame pointer.
7832
7833         * varasm.c (force_const_mem): Copy a CONST_INT rtx like a CONST rtx.
7834
7835         * varasm.c (assemble_end_function): Call
7836         output_after_function_constants.
7837         (after_function_constants): New static variable.
7838         (output_after_function_constants): New static function.
7839         (output_constant_def): Check CONSTANT_AFTER_FUNCTION_P.
7840
7841 Mon Jan 13 16:44:40 1997  David Edelsohn  <edelsohn@mhpcc.edu>
7842
7843         * rs6000/aix41.h (CPP_PREDEFINES): Add -D_AIX41.
7844
7845 Sun Jan 12 20:54:01 1997  Jim Wilson  <wilson@cygnus.com>
7846
7847         * libgloss.h (LINK_SPEC): Delete.
7848         (STARTFILE_SPEC): Delete spurious newline.
7849
7850 Sat Jan 11 00:13:03 1997  Torbjorn Granlund  <tege@quiet.matematik.su.se>
7851
7852         * mips.md (norsi3, nordi3): Use canonical RTL.  Prepend `*' to pattern
7853         name.  Don't match immediates.
7854         (norsi3_const, nordi3_const): New patterns.
7855         (anddi3, iordi3, xordi3): Test TARGET_64BIT, not mips_isa
7856         in length attribute calculation.
7857         * mips.c (complemented_arith_operand): New function.
7858         (print_operand): Handle `e' for CONST_INT.
7859         * mips.h (PREDICATE_CODES): Add complemented_arith_operand.
7860         
7861 Fri Jan 10 14:11:53 1997  David Edelsohn  <edelsohn@mhpcc.edu>
7862
7863         * rs6000/aix41.h (SUBTARGET_SWITCHES): Add threads and pe.
7864         (CPP_SPEC): Add mpe and mthreads cases.
7865         (LIB_SPEC): Add mpe and mthreads cases to variant from rs6000.h.
7866         (STARTFILE_SPEC): Add mpe and mthreads support.
7867
7868 Fri Jan 10 07:12:26 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7869
7870         * i386/cygwin32.h (LINK_SPEC): New definition.
7871
7872         * Makefile.in (FLAGS_TO_PASS): Add STAGE_PREFIX, set by configure.
7873         * configure: Initialize exeext.
7874         Update STAGE_PREFIX in Makefile.
7875
7876         * dwarfout.c (dwarfout_line): Push to LINE_SECTION after calling
7877         lookup_filename.
7878
7879 Thu Jan 9 12:06:04 1997  Jim Wilson  <wilson@cygnus.com>
7880
7881         * i386.md (addsidi3_2): Add & to operand 0 of alternative 5.
7882
7883 Thu Jan 9 12:06:04 1997  Stan Cox  <coxs@dg-rtp.dg.com>
7884
7885         From Linus Torvalds and Mat Hostetter:
7886         * i386.c (i386_sext16_if_const): Added to sign extend HImode constant.
7887         (i386_aligned_reg_p): Added to tell if an rtx is aligned.
7888         (i386_cc_probably_useless_p): Don't trust cc bits.
7889         * i386.h (TARGET_ZERO_EXTEND_WITH_AND): Don't do this for p6.
7890         * i386.md (cmpsf_ccfpeq+2): Use SImode test instruction.
7891         (movhi+1): Use movz instead of mov on p6.
7892         (addsi3): Add 128 by subtracting -128.
7893         (zero_extendhisi2): Use SImode move if aligned.
7894         ({add,sub,and,ior,xor}hi3): Likewise.
7895
7896 Tue Jan  7 16:58:27 1997  Jason Merrill  <jason@yorick.cygnus.com>
7897
7898         * c-parse.in (extension): New rule for __extension__.
7899         (extdef, unary_expr, decl, component_decl): Use it.
7900
7901 Mon Jan  6 15:44:37 1997  Oliver Kellogg  (oliver.kellogg@space.otn.dasa.de)
7902
7903         * 1750a.c: Now includes regs.h.
7904         ({movcnt,mod}_regno_adjust): Corrected typos.
7905         * 1750a.md (movhi): Corrected case of moving constant to memory.
7906
7907 Mon Jan  6 08:00:57 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7908
7909         * mips.h: Delete redundant definitions of compiler and library fns.
7910
7911         * dwarfout.c (type_attribute): Ignore any subtype for now.
7912
7913         * fold-const.c (operand_equal_p): Rework to consider two
7914         expressions that have embedded identical SAVE_EXPRs as
7915         equivalent; also handle some more cases.
7916
7917 Sun Jan  5 23:54:34 1997  Jeffrey A Law  (law@cygnus.com)
7918
7919         * pa.md (pic_load_label): Fix test for using just an
7920         ldo rather than an addil;ldo sequence to load the label's
7921         address.
7922
7923 Sun Jan  5 07:26:47 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7924
7925         * expr.c (expand_expr, case COMPONENT_REF): Fix error in last
7926         change: don't suppress conversion if just EXPAND_SUM.
7927
7928 Sat Jan  4 18:44:01 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
7929
7930         * tree.h (struct tree_decl): saved_insns.i is HOST_WIDE_INT.
7931
7932         * fold-const.c (const_binop): Rework to only make constants in
7933         one place; always use size_int if small enough and of sizetype.
7934         (size_int): Call force_fit_type.
7935         (fold): Avoid ever changing type of input tree.
7936
7937         * expr.c (get_inner_reference): Fix type error.
7938         (expand_expr, case COMPONENT_REF): Don't convert if modifier
7939         is EXPAND_CONST_ADDRESS, EXPAND_SUM, or EXPAND_INITIALIZER.
7940         * tree.c (staticp, case COMPONENT_REF, BIT_FIELD_REF): Not
7941         static if bitfield.
7942
7943         * expr.c (expand_expr, case COMPONENT_REF):  If taking value
7944         from a CONSTRUCTOR, must mask/sign-extend if bitfield.
7945         (expand_builtin, case BUILT_IN_LONGJMP): Pass type, not IDENTIFIER,
7946         to second arg of RETURN_POPS_ARGS.
7947
7948         * expr.c (expand_expr, case COND_EXPR): Add additional cases
7949         to "singleton" cases.
7950         * tree.c (integer_pow2): Mask value to width of type.
7951         (tree_log2): New function.
7952
7953         * expmed.c (store_fixed_bit_field): If not SLOW_UNALIGNED_ACCESS,
7954         treat everything as maximally aligned.
7955
7956         * combine.c (find_split_point, case SET): If SET_SRC is NE and
7957         STORE_FLAG_VALUE is -1, see if we can convert into NEG of shift.
7958         (force_to_mode, case NE): Make condition stricter.
7959
7960         * calls.c (emit_library_call_value): Remove redundant check for
7961         outmode != VOIDmode.
7962
7963 Sat Jan  4 08:12:16 1997  J.T. Conklin  <jtc@rhino.cygnus.com>
7964
7965         * Optimizations from John Vickers (john@rhizik.demon.co.uk):
7966         * m68k.c (output_function_{pro,epi}logue): Use addq/subq when
7967         adjusting stack pointer by small displacements.
7968         * m68k.md (addsi3, addhi3): Use two addqw (or subqw) insns when
7969         adding (or subtracting) small integer constants (8 < N <= 16) to
7970         both address and data registers.
7971
7972 Sat Jan  4 07:06:07 1997  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
7973
7974         * loop.c (basic_induction_var): Return 0 if SUBREG is not a
7975         promoted variable.
7976
7977 Sat Jan  4 06:22:36 1997  Doug Rupp  (rupp@gnat.com)
7978
7979         * alpha.c (vmskrunch): Try to not chop trailing uppercase letters.
7980         * alpha/vms.h (ENDFILE_SPEC): Use "gnu", not "gnu_cc".
7981
7982         * cccp.c (PRINTF_PROTO): Use __printf__ in __attribute__, not printf.
7983         * cexp.y (PRINTF_PROTO): Likewise.
7984
7985 Fri Jan  3 09:01:00 1997  Craig Burley  <burley@gnu.ai.mit.edu>
7986
7987         * alpha.md (cmov): Fix operand numbers in case involving DF target,
7988         DF comparison, and SF source.
7989
7990 Fri Jan  3 08:19:46 1997  Paul Eggert  <eggert@twinsun.com>
7991
7992         * cpplib.c (macroexpand): Delete any no-reexpansion marker following
7993         identifier at beginning of an argu concatenated with what precedes it.
7994
7995 Fri Jan  3 07:59:21 1997  Ken Rose  (rose@netcom.com)
7996
7997         * reorg.c (fill_slots_from_thread): Skip moved insn in all three cases.
7998
7999 Fri Jan  3 07:51:44 1997  Bob Manson  <manson@cygnus.com>
8000
8001         * function.c ({push,pop}_function_context_to): Save and restore
8002         current_function_args_info.
8003         * function.h (struct function): New field args_info.
8004
8005 Fri Jan  3 06:55:09 1997  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
8006
8007         * jump.c (rtx_equal_for_thread_p): Return 0 for floating-point.
8008
8009         * reload.c (find_reloads): If replaced a PLUS or MULT with a
8010         simple operand, start over again.
8011
8012         * va-alpha.h: Check for __VMS__, not VMS.
8013
8014 Thu Jan  2 08:52:51 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8015
8016         * configure: Finish restoring change of default of objc threads to
8017         "single" for Linux-based GNU systems.
8018
8019 Mon Dec 30 17:03:46 1996  Jeffrey A Law  (law@cygnus.com)
8020
8021         * pa.c (fmpy_operands): Remove.  No longer needed.
8022         (combinable_add, combinable_copy, combinable_fmpy): Likewise.
8023         (combinable_fadd, combineable_fsub): Likewise.
8024         (pa_reorg): Call pa_combine_instructions.
8025         (pa_combine_instructions): Combine instructions to make things
8026         like fmpyadd and fmpysub.
8027         (pa_can_combine_p): Helper function for pa_combine_instructions.
8028         * pa.md (pa_combine_type): New attribute.  Set it appropriately
8029         for various insns.
8030         (define_delays): Use a separate define_delay for unconditional
8031         branches.
8032         (fmpyadd, fmpysub peepholes): Remove, no longer needed.
8033         (fmpyadd, fmpysub insns): Add variant with fadd/fsub first,
8034         then the fmpy.
8035
8036 Mon Dec 30 14:43:51 1996  Jim Wilson  <wilson@cygnus.com>
8037
8038         * reg-stack.c (subst_stack_regs_pat): Set src_note explicitly, instead
8039         of using invalid aggregate initialization.
8040
8041         * print-tree.c (print_node): Don't try to print nonexistent
8042         TYPE_ATTRIBUTES field of a decl node.
8043
8044 Mon Dec 30 10:30:25 1996  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
8045
8046         * config.sub: Handle hiuxmpp as system type.
8047
8048 Thu Dec 26 13:33:27 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
8049
8050         * rs6000.md (init_v4_pic): Explicitly set the length.
8051
8052 Mon Dec 23 19:39:38 1996  Jim Wilson  <wilson@cygnus.com>
8053
8054         * mips.h (FUNCTION_ARG_REGNO_P): Correct for TARGET_SOFT_FLOAT and
8055         TARGET_FLOAT64 cases.
8056
8057         * integrate.c (function_cannot_inline_p): Reject function with
8058         PARALLEL result.
8059         (expand_inline_function): Abort if function result not handled.
8060
8061 Sat Dec 21 04:02:46 1996  Jason Merrill  <jason@gerbil.cygnus.com>
8062
8063         * mips.c (save_restore_insns): Mark large frame setup insns
8064         as frame-related.
8065         (mips_expand_prologue): Likewise.
8066
8067         * dwarf2out.c (dwarf2out_frame_debug): Support MIPS large frames.
8068         (add_bound_info): Use default lower bounds.
8069         Handle simple variable bounds with a DIE ref.
8070         Don't generate a NULL loc descr.
8071         (add_subscript_info): Always add lower bound.
8072         (gen_formal_parameter_die): Always equate_decl_number_to_die.
8073         (gen_variable_die): Likewise.  Don't use the old die for automatic
8074         variables.
8075
8076 Wed Dec 18 10:23:46 1996  Jeffrey A Law  (law@cygnus.com)
8077
8078         * mn10300.c (notice_update_cc): Enable this code.
8079         * mn10300.h (CC_OVERFLOW_UNUSABLE): Define.
8080         * mn10300.md (tstsi): Use "set_zn_c0" instead of "set" for cc status.
8081         (addsi3 pattern): Break "inc" into two different alternatives
8082         since "inc dn" sets cc0, but "inc an" does not.
8083         (multiply and divide patterns): Fix cc status.
8084         (bCC, inverted bCC): Restore any comparison which needs the
8085         overflow bits when CC_OVERFLOW_UNUSABLE is set.
8086         (zero and sign extensions): Fix cc status.
8087         (movm_store): Likewise.
8088
8089 Tue Dec 17 15:02:44 1996  Jim Wilson  <wilson@cygnus.com>
8090
8091         * sched.c (update_flow_info): When add REG_DEAD notes for dest of
8092         last insn, add check for global_regs.
8093
8094 Tue Dec 17 11:07:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
8095
8096         * rs6000/win-nt.h (HAS_INIT_SECTION): Delete, so that __main is
8097         called from main.
8098
8099 Mon Dec 16 15:28:44 1996  Jim Wilson  <wilson@cygnus.com>
8100
8101         * combine.c (nonzero_bits): Ifdef out calls to num_sign_bit_copies.
8102         Add dummy define/undef for num_sign_bit_copies.
8103
8104         * dwarfout.c (location_or_const_value_attribute, case CONCAT): Add.
8105
8106         * combine.c (simplify_comparison): Use mode_width as shift count
8107         only if it is less than or equal to HOST_BITS_PER_WIDE_INT.
8108
8109 Mon Dec 16 10:10:11 1996  Jeffrey A Law  (law@cygnus.com)
8110
8111         * mn10300.c (expand_epilogue): Restore registers in the
8112         "ret" instruction instead of a separate movm instruction.
8113         Support possible stack deallocation in "ret" instruction too.
8114         * mn10300.md (return_internal): Use "ret" instead of "rets";
8115         restore registers and deallocate stack as needed.
8116         (load_movm): Delete unused pattern.
8117
8118         * mn10300.h (SMALL_REGISTER_CLASSES): Define.
8119
8120 Fri Dec 13 14:46:54 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
8121
8122         * sh.md (dect): Rewrite pattern so that it can be combined.
8123
8124 Fri Dec 13 13:14:51 1996  Ian Lance Taylor  <ian@cygnus.com>
8125
8126         * varasm.c (output_constant_pool): If ASM_OUTPUT_POOL_EPILOGUE is
8127         defined, call it.
8128
8129 Thu Dec 12 20:04:55 1996  Jason Merrill  <jason@yorick.cygnus.com>
8130
8131         * rtl.h (RTX_FRAME_RELATED_P): New macro.
8132         (struct rtx_def): Add frame_related bitfield.
8133         * final.c (final_scan_insn): Call dwarf2out_frame_debug.  
8134         Don't call dwarf2out_begin_function.
8135         (final): Initialize dwarf2out_frame_debug.
8136         * dwarf2out.c (dwarf2out_begin_function): Remove.
8137         (dwarf2out_init): Use INCOMING_RETURN_ADDR_RTX.
8138         (DWARF_CIE_DATA_ALIGNMENT): Generalize.
8139         (DWARF_FRAME_REGNUM): Don't add 1.
8140         (decode_cfi_rtl): Lose.
8141         (dwarf2out_def_cfa): Now takes reg and offset directly.
8142         (reg_save): Likewise.
8143         (dwarf2out_reg_save): Now takes offset.
8144         (initial_return_save): Grok INCOMING_RETURN_ADDR_RTX.
8145         Replaces dwarf2out_return_save.
8146         (dwarf2out_cfi_label): New fn.
8147         (add_fde_cfi): Use it.
8148         (dwarf2out_frame_debug): New fn.
8149         * mips.h (DWARF_FRAME_REGNUM): Tweak r31.
8150         (INCOMING_RETURN_ADDR_RTX): Define.
8151         * mips.c (mips_expand_prologue): Set RTX_FRAME_RELATED_P as needed.
8152         (save_restore_insns): Likewise.
8153         * i386.c (ix86_expand_prologue): Likewise.
8154         * i386.h (INCOMING_RETURN_ADDR_RTX): Define.
8155         (DWARF_FRAME_RETURN_COLUMN): Define.
8156
8157         * dwarf2out.c (add_AT_long_long): Renamed from add_AT_double fo
8158         clarity.
8159         (print_die): Adjust.
8160         (add_AT_float): New fn.
8161         (add_const_value_attribute): Support fp values.
8162         (size_of_die): Use blocks for long_long and fp values.
8163         (value_format, output_die): Likewise.
8164         (output_loc_operands): Don't support DW_OP_const8?.
8165
8166 Thu Dec 12 19:49:09 1996  Ian Lance Taylor  <ian@cygnus.com>
8167
8168         * varasm.c (CONSTANT_POOL_BEFORE_FUNCTION): Define if not
8169         defined.
8170         (assemble_start_function): Check CONSTANT_POOL_BEFORE_FUNCTION
8171         to decide whether to call output_constant_pool.
8172         (assemble_end_function): Likewise.
8173
8174         * calls.c: Check SMALL_REGISTER_CLASSES at run time, not just
8175         compile time.
8176         * combine.c, cse.c, function.c, jump.c, local-alloc.c: Likewise.
8177         * loop.c, reload.c, reload1.c: Likewise.
8178         * dsp16xx.h (SMALL_REGISTER_CLASSES): Define with value.
8179         * h8300.h (SMALL_REGISTER_CLASSES): Likewise.
8180         * i386.h (SMALL_REGISTER_CLASSES): Likewise.
8181         * pdp11.h (SMALL_REGISTER_CLASSES): Likewise.
8182         * sh.h (SMALL_REGISTER_CLASSES): Likewise.
8183
8184 Thu Dec 12 15:25:39 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
8185
8186         * rs6000.md (sysv call insns): If flag_pic add @plt suffix.
8187
8188         * rs6000.md (fix_truncdfsi2_store): Fix offsets > 32k.
8189
8190         * rs6000/t-ppccomm: New file for common parts of embedded and
8191         System V target Makefile support.
8192
8193         * rs6000/t-ppcos: New file for System V OS target Makefile
8194         support.
8195
8196         * rs6000/t-solaris: Delete, merge into rs6000/t-ppcos.
8197
8198         * rs6000/t-{ppc,ppcgas}: Only keep the multilib specific parts,
8199         moving the rest to rs6000/t-ppccomm.
8200
8201         * configure (powerpc*-*-*): For embedded and System V
8202         configurations, add rs6000/t-ppccomm.
8203         For GNU/Linux and Solaris, use t-ppcos.
8204
8205         * ginclude/ppc-asm.h (cr*, f*): Add new macros for register names.
8206
8207         * rs6000/sol-c0.c (_start): Fix uninitialized data bug.
8208
8209         * rs6000.md (init_v4_pic): Add @local to call.
8210         (icbi,dcbst,sync,isync): Delete PowerPC cache control insns.
8211
8212         * rs6000/sysv4.h (ASM_SPEC): On explicit -mcall-solaris, pass
8213         -msolaris to the assembler.
8214
8215         * rs6000.c (rs6000_sync_trampoline): Delete.
8216         (rs6000_trampoline_template): Aix & System V don't need template now.
8217         (rs6000_initialize_trampoline): For System V, call the function
8218         __trampoline_setup to set up the trampoline.
8219
8220         * rs6000.h (TRAMPOLINE_TEMPLATE): Delete here.
8221         * rs6000/win-nt.h (TRAMPOLINE_TEMPLATE): Add it here.
8222
8223         * rs6000/tramp.asm: New file, setup trampolines properly on System
8224         V systems, properly flushing the caches.
8225
8226 Thu Dec 12 10:53:10 1996  Jeffrey A Law  (law@cygnus.com)
8227
8228         * reorg.c (fill_slots_from_thread): Don't call eligible_for_delay
8229         with an insn with asm operands.
8230
8231         * expmed.c (emit_store_flag_force): Fix typos/thinkos.
8232
8233 Thu Dec 12 08:09:20 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
8234
8235         * i386.c (i386_return_pops_args): Libcalls ignore TARGET_RTD.
8236
8237 Thu Dec 12 07:56:03 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
8238
8239         * tree.h (maybe_get_identifier): New declaration.
8240
8241         * calls.c (emit_library_call): Don't pass VOIDmode to type_for_mode.
8242
8243         * va-alpha.h: Add definitions for VMS; they differ from Unix.
8244
8245         * Makefile.in (stamp-objlist): Handle first character of object 
8246         file being a digit.
8247
8248         * 1750a.h (function_arg, {movcnt,mod}_regno_adjust): Add decls.
8249         (branch_or_jump): Likewise.
8250         (FUNCTION_ARG): Remove cast of function_arg result to rtx.
8251         * 1750a.md: Remove unneeded casts to char *.
8252
8253 Thu Dec 12 05:55:27 1996  Richard Earnshaw (rearnsha@armltd.co.uk)
8254
8255         * arm.c (arm_gen_constant, case [IX]OR): Don't invert constant if
8256         loading into temporary.
8257
8258 Wed Dec 11 18:57:21 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
8259
8260         * toplev.c (rest_of_compilation): Make sure unwinder RTL is saved.
8261
8262         * collect2.c (write_c_file): Wrap the ctor/dtor lists and fns
8263         with `extern "C" { ... }'.
8264
8265 Wed Dec 11 17:46:48 1996  John F. Carr  <jfc@mit.edu>
8266
8267         * tree.h (tree_decl): Reorder field declarations to reduce size
8268         on 64 bit machines.
8269
8270         * combine.c (try_combine): When splitting an insn, check for the
8271         new I2 setting a SUBREG.
8272
8273 Wed Dec 11 17:00:47 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
8274
8275         * alpha.c (print_operand): Use HOST_WIDE_INT_PRINT_DEC instead of
8276         using "%ld".
8277         (output_prolog): Don't print useless comment for VMS.
8278
8279         * alpha.c (output_prolog): SIZE is now HOST_WIDE_INT.
8280         * alpha.md (mov[hq]i unnamed): Split up for TARGET_BYTE_OPS and not.
8281
8282         * function.c (fixup_var_refs_1, case ZERO_EXTRACT): Don't call
8283         fixup_memory_subreg if no longer SUBREG of MEM.
8284
8285 Wed Dec 11 14:10:48 1996  Jeffrey A Law  (law@cygnus.com)
8286
8287         * mn10300.c: New file for Matsushita MN10300 port.
8288         * mn10300.h, mn10300.md, t-mn10300, xm-mn10300.h: Likewise.
8289         * config.sub: Recognize mn10300 as a basic machine type.
8290         * configure: Similarly.
8291         * ginclude/stdarg.h: mn10300 is little endian.
8292         * ginclude/varargs.h: Likewise.
8293
8294 Wed Dec 11 09:09:10 1996  Nagai Takayuki <nagai@ics.es.osaka-u.ac.jp>
8295
8296         * libgcc2.c (cacheflush): Add SONY NEWS-OS 4.2 version.
8297
8298 Wed Dec 11 09:01:39 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
8299
8300         * calls.c (emit_library_call, emit_library_call_value):
8301         Don't pass an identifier node as function type for
8302         library functions, but rather build a function type that
8303         has a return type with the correct mode.
8304         * i386.c (i386_return_pops_args): Don't test for IDENTIFIER_NODE.
8305         * i386/isc.h (obsolete RETURN_POPS_ARGS): Test first argument
8306         for IDENTIFIER_NODE.
8307         * i386/next.h (RETURN_POPS_ARGS): Likewise.
8308         * i386/sco.h (RETURN_POPS_ARGS): Likewise.
8309         * i386/sco5.h (RETURN_POPS_ARGS): Likewise.
8310         * i386/scodbx.h (RETURN_POPS_ARGS): Likewise.
8311         * m68k.h (RETURN_POPS_ARGS): Likewise.
8312         * ns32k.h (RETURN_POPS_ARGS): Likewise.
8313         * pyr.h (RETURN_POPS_ARGS): Likewise.
8314         * gmicro.h (RETURN_POPS_ARGS): Likewise; fix typo.
8315
8316 Tue Dec 10 17:36:47 1996  J.T. Conklin  <jtc@rhino.cygnus.com>
8317
8318         * Add optimizations from John Vickers (john@rhizik.demon.co.uk)
8319         * m68k.h (TARGET_CPU32): New macro.
8320         * m68k.md (add[hs]i3): Only use two addq.w or subq.w instructions
8321         when adding or subtracting constants 8 < N < 16 on TARGET_CPU32.
8322         Use lea instead of add.w when adding 16 bit constants to address
8323         registers on all but TARGET_68040.
8324         * m68k.c (output_function_{pro,epi}logue): Use lea instead of add.w
8325         when adjusting stack pointer on all but TARGET_68040.
8326         
8327 Tue Dec 10 15:55:23 1996  Ian Lance Taylor  <ian@cygnus.com>
8328
8329         * optabs.c (emit_unop_insn): Treat ZERO_EXTEND like SIGN_EXTEND.
8330
8331 Tue Dec 10 13:47:24 1996  Joern Rennecke <amylaar@cygnus.co.uk>
8332
8333         * combine.c (combinable_i3pat): Bring back to sync with can_combine_p.
8334
8335         * sh.h (ADJUST_INSN_LENGTH): Don't break from loop when LOOP_BEG found.
8336         Calculate padding in new variable pad.
8337
8338 Mon Dec  9 18:00:38 1996  Jason Merrill  <jason@yorick.cygnus.com>
8339
8340         * dwarf2out.c (output_uleb128): Output value in human-readable comment.
8341         (output_sleb128): Likewise.
8342         (various): Adjust.
8343         (output_call_frame_info): Only output info if it's interesting.
8344         (add_src_coords_attributes): New fn.
8345         (add_name_and_src_coords_attributes): Split out from here.
8346         (gen_enumeration_type_die): Add src coordinates.
8347         (gen_struct_or_union_type_die): Likewise.
8348         (dwarf2out_finish): Call output_call_frame_info for all targets.
8349
8350 Thu Dec  5 11:25:30 1996  Jason Merrill  <jason@yorick.cygnus.com>
8351
8352         * dwarf2out.c (add_pure_or_virtual_attribute): Only add 
8353         AT_containing_type if -g2 or higher.
8354
8355         * dwarf2out.c (gen_struct_or_union_type_die): Make sure that
8356         the type for AT_containing_type has been generated.
8357         (gen_decl_die): Likewise.
8358
8359         * dwarf2out.c (type_tag): Check DECL_IGNORED_P.
8360         (add_pure_or_virtual_attribute): Check DECL_VINDEX instead.
8361         (scope_die_for): Likewise.
8362         * dwarfout.c (type_tag): Likewise.
8363
8364 Wed Dec  4 22:51:38 1996  Jason Merrill  <jason@yorick.cygnus.com>
8365
8366         * dwarf2out.c (decode_cfi_rtl): Support getting a CONST_INT.
8367         (dwarf2out_begin_function): Adjust.
8368         (reg_save): Divide offset by the alignment.
8369         (output_cfi): Support having more than one advance_loc.
8370         (output_call_frame_info): Re-initialize current_label.
8371         (dwarf2out_begin_prologue): Initialize current_label to NULL.
8372         (lookup_cfa, lookup_cfa_1): New fns.
8373         (dwarf2out_def_cfa): Call lookup_cfa.
8374         (dwarf2out_finish): Don't generate CIE CFIs.
8375         (dwarf2out_init): Generate them here.
8376         (DWARF_FRAME_RETURN_COLUMN): Use PC_REGNUM.
8377
8378         (add_pure_or_virtual_attribute): Note virtual context.
8379         (gen_formal_parameter_die): Return the die.
8380         (gen_formal_types_die): Set AT_artificial on `this'.
8381         (gen_subprogram_die): Add AT_accessibility.
8382         (gen_variable_die): Likewise.
8383         (gen_field_die): Likewise.  Don't generate location attribute for
8384         union members.
8385         (gen_struct_or_union_type_die): Note where our vtable lives.
8386         (gen_decl_die): Handle anonymous union fields.
8387         (dwarf2out_decl): Always output `bool'.
8388
8389 Mon Dec  2 03:55:15 1996  Jason Merrill  <jason@yorick.cygnus.com>
8390
8391         * final.c (final_end_function): Don't call dwarf2out_end_function.
8392
8393         * dwarf2out.c (output_line_info): Emit special opcodes for each line
8394         entry, even if the line number doesn't change.
8395         (pend_type, output_pending_types_for_scope): New fns.
8396         (gen_struct_or_union_type_die): Use them to defer generating member
8397         dies if we're in the middle of some other context.
8398         (gen_type_die): Still put nested types in the right place.
8399         (dwarf2out_decl): Call output_pending_types_for_scope.
8400
8401         * dwarf2out.c (dw_fde_struct): Replace end_prologue, begin_epilogue
8402         with current_label.
8403         (DWARF_CIE_INSN_SIZE, DWARF_CIE_SIZE): Remove.
8404         (DWARF_CIE_HEADER_SIZE): The size without the initial insns.
8405         (size_of_cfi): Revert.
8406         (decode_cfi_rtl, add_fde_cfi, dwarf2out_def_cfa, reg_save,
8407         dwarf2out_reg_save, dwarf2out_return_save): New fns.
8408         (dwarf2out_begin_function): Use them to generate CFIs.
8409         (dwarf2out_finish): Use them to generate E CFIs.  
8410         Don't set next_fde_offset.
8411         (calc_fde_sizes): Initialize cie_size.
8412         (output_call_frame_info): Don't generate CIE CFIs.
8413         (dwarf2out_end_function): Remove.
8414
8415         * tree.c (maybe_get_identifier): New fn.
8416         * varasm.c (assemble_name): Use it instead of get_identifier.
8417
8418 Fri Nov 29 15:13:39 1996  Stan Cox  <coxs@dg-rtp.dg.com>
8419
8420         * jump.c (jump_optimize): Don't move initialization if there is a
8421         label between it and the jump for if (foo) bar++ to bar += (foo !=0)
8422         
8423 Wed Nov 27 16:21:14 1996  Stan Cox  <coxs@dg-rtp.dg.com>
8424         
8425         * Remove change of Oct 4.
8426         * i386.h (outer_function_chain): Remove.
8427         (current_function_calls_alloca): Remove.
8428         (rtx_equal_function_value_matters): Remove.
8429         (N_REGS_USED, N_ALLOCATABLE_REGISTERS): Remove.
8430         * i386.md (adddi3_1, subdi3_1): Remove.
8431         (adddi3, subdi3): Revert.
8432         (movsf, movsf_mem, movsf_normal, movdf, movdf_mem, movdf_mem+1):
8433         Likewise. 
8434         (movxf, movxf_mem, movxf_mem+1, addsidi3_1, addsidi3_2): Likewise.
8435         (adddi3_1, subsidi3, subdi3_1): Likewise.
8436         (addsidi3_1, addsidi3_2, subsidi3): Likewise.
8437         (addsidi3_1, addsidi3_2, adddi3, subsidi3): Disable the problem
8438         reload alternatives. 
8439         
8440 Wed Nov 27 16:21:14 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
8441
8442         * i386.md (ashldi3_non_const_int, ashrdi3_non_const_int):
8443         Use a hidden branch to handle shifts > 32 bit.
8444         (lshrdi3_non_const_int): Likewise.
8445         (floatdixf2): Don't use unnecessary XFmode operation.
8446
8447 Wed Nov 27 15:23:41 1996  Jason Merrill  <jason@yorick.cygnus.com>
8448
8449         * varasm.c (assemble_variable): Don't emit DWARF.
8450
8451         * toplev.c (rest_of_type_compilation): Don't emit DWARF.
8452         (main): Just let -gdwarf mean DWARF v1; remove -gdwarf-1.
8453
8454         * dwarfout.c (decl_class_context): New fn.
8455         (output_global_subroutine_die): Fix declaration case.
8456         (output_global_variable_die): Likewise.
8457         (output_type): Note when we are in a class defn.  If we're a nested
8458         type and our context hasn't been written, do that.  Do early exit
8459         for nested types.
8460         (output_decl): Output the class context for fns and vars.
8461         Don't emit detailed parm info for a fn declaration.
8462         Use TYPE_DECL_IS_STUB, is_redundant_typedef.
8463         (type_ok_for_scope): Support emitting nested types later.
8464         (is_redundant_typedef): New fn.
8465         (TYPE_DECL_IS_STUB): New macro.
8466         (output_compile_unit_die): Check use_gnu_debug_info_extensions.
8467         (output_local_subroutine_die, output_global_subroutine_die,
8468         dwarfout_begin_function, dwarfout_end_function, dwarfout_line,
8469         generate_macinfo_entry, dwarfout_init, dwarfout_finish): Likewise.
8470
8471         * dwarf2out.c (decl_class_context): Static.
8472         (lookup_type_die): Use TYPE_SYMTAB_POINTER.
8473         (equate_type_number_to_die): Likewise.
8474         (gen_subprogram_die): If we're in class context, it's a decl.
8475         (gen_variable_die): Likewise.
8476         (gen_decl_die): Output the containing type.
8477         (dwarf2out_init): Lose type_die_table code.
8478
8479 Wed Nov 27 08:30:54 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
8480
8481         * Makefile.in (DRIVER_DEFINES): New macro, with the macro
8482         definitions for the driver.
8483         (gcc.o): Make rule use $(DRIVER_DEFINES).
8484         * gcc.c (process_command) [LANG_SPECIFIC_DRIVER]: Call
8485         lang_specific_driver, passing along the addr of FATAL for errors
8486         along with our ARGC and ARGV.
8487
8488 Wed Nov 27 08:21:13 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
8489
8490         * m68k.md (iorsi_zexthi_ashl16): New pattern.
8491         (ashrsi_16): New name for old unnamed pattern.
8492
8493         * objc/misc.c (stdlib.h): Define __USE_FIXED_PROTOTYPES__ before
8494         including stdlib.h.
8495
8496 Wed Nov 27 08:17:34 1996  Joern Rennecke <amylaar@cygnus.co.uk>
8497
8498         * i386.md (decrement_and_branch_until_zero+[3-8]): Add missing
8499         CC_STATUS_INIT.
8500         (decrement_and_branch_until_zero+[5-8]): Delete redundant assignment.
8501
8502 Wed Nov 27 07:56:27 1996  J.T. Conklin  <jtc@rhino.cygnus.com>
8503
8504         * m68k.md ({and,ior,xor}si3_internal): Removed !TARGET_5200 from
8505         conditionals now that entire insn is disabled when !TARGET_5200.
8506         
8507 Wed Nov 27 07:52:32 1996  Oliver Kellogg  <kellogg@space.otn.dasa.de>
8508
8509         * 1750a.md (movhi pattern):  Fixed MEM to MEM move problem.
8510
8511 Tue Nov 26 14:50:54 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
8512
8513         * expr.c (move_by_pieces): Abort only if length positive at end.
8514         * function.c (frame_offset, get_frame_size): Make HOST_WIDE_INT.
8515         * function.h (struct function): Make frame_offset be HOST_WIDE_INT.
8516         (get_frame_size): Add definition.
8517         * reload1.c (reload): Make starting_frame_size be HOST_WIDE_INT.
8518
8519 Mon Nov 25 16:55:14 1996  Jason Merrill  <jason@yorick.cygnus.com>
8520
8521         * dwarf2out.c (dwarf2out_finish): Don't emit call frame info
8522         for non-MIPS targets.
8523         (is_redundant_typedef): New fn.
8524         (modified_type_die): Refer to typedef DIEs where appropriate.
8525         (gen_typedef_die): Support DECL_ORIGINAL_TYPE.
8526         (gen_type_die): Likewise.  Use is_redundant_typedef.
8527         (gen_subprogram_die): Don't force a spec DIE for local class methods.
8528
8529 Mon Nov 25 15:09:12 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
8530
8531         * gcc.c (handle_braces): Rework last change.
8532
8533 Mon Nov 25 13:49:51 1996  Jim Wilson  <wilson@cygnus.com>
8534
8535         * configure (build_exeext, exeext): New variables.  Use sed to insert
8536         build_exeext value into Makefile exeext rule.
8537         (*-*-cygwin32): Set exeext.
8538         * i386/x-cygwin32 (exeext): Delete.
8539         * rs6000/x-cygwin32 (exeext): Delete.
8540
8541         * dwarf.h (enum dwarf_location_atom): Add OP_MULT.
8542         * dwarfout.c (output_mem_loc_descriptor, case MULT): Add.
8543         * dwarfout2.c (mem_loc_descriptor, case MULT): Add.
8544
8545         * dwarfout.c (dwarf_fund_type_name, case FT_unsigned_int64): Fix typo.
8546
8547 Sun Nov 24 21:42:01 1996  J.T. Conklin  <jtc@rhino.cygnus.com>
8548
8549         * m68k.md (andsi3): Changed into define_expand.
8550         (andsi3_internal): Rename from old andsi3, changed condition
8551         to !TARGET_5200.
8552         (andsi2_5200): New insn.
8553         (iorsi3): Change into define_expand.
8554         (iorsi2_internal): Rename from old iorsi3, changed condition 
8555         to !TARGET_5200.
8556         (iorsi2_5200): New insn.
8557         (xorsi3): Change into define_expand.
8558         (xorsi2_internal): Rename from old xorsi3, changed condition 
8559         to !TARGET_5200.
8560         (xorsi2_5200): New insn.
8561
8562 Sun Nov 24 21:31:32 1996  John F. Carr  <jfc@mit.edu>
8563
8564         * i386.h (N_ALLOCATABLE_REGISTERS): Remove extra backslash at
8565         end of macro definition.
8566
8567         * cpplib.c (LOCAL_INCLUDE_DIR): Remove default definition.
8568         (include_defaults_array): Do not use LOCAL_INCLUDE_DIR or
8569         TOOL_INCLUDE_DIR if they are not defined.
8570         * cccp.c: Likewise.
8571
8572         * Makefile.in (cppmain.o): New rule.
8573
8574 Sun Nov 24 19:14:50 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8575
8576         * fold-const.c (merge_ranges): In (+,-) case, if lower bounds are
8577         the same the result is always false.
8578
8579 Sun Nov 24 18:48:31 1996  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8580
8581         * c-typeck.c (build_indirect_ref): Don't give warning for
8582         dereferencing void * if evaluation is being skipped.
8583
8584         * c-decl.c (poplevel): Don't call output_inline_function if
8585         DECL_SAVED_INSNS is not set.
8586
8587         * gcc.c (give_switch): Add new arg, INCLUDE_BLANKS.
8588         (handle_braces): All callers changed.
8589         Add support for new construct: %{S*^}.
8590
8591 Sun Nov 24 18:44:48 1996  Paul Eggert  <eggert@twinsun.com>
8592
8593         * c-parse.in (unary_expr, expr_no_commas): Increment skip_evaluation
8594         when analyzing an expression that is known not to be evaluated.
8595         (sizeof, alignof): New rules.
8596         * c-tree.h (skip_evaluation): New variable.
8597         * c-common.c (skip_evaluation): Likewise.
8598         (overflow_warning, unsigned_conversion_warning): Don't warn about
8599         potential runtime errors when skipping evaluation.
8600         * c-typeck.c (build_binary_op): Likewise.
8601         (build_conditional_expr): op1 now always nonnull.
8602
8603 Sun Nov 24 17:06:58 1996  Bernd Schmidt  (crux@Pool.Informatik.RWTH-Aachen.DE)
8604
8605         * toplev.c (rest_of_compilation): Call regscan before each
8606         jump threading pass.
8607
8608 Sun Nov 24 16:37:18 1996  Dave Love  <d.love@dl.ac.uk>
8609
8610         * configure (objc_thread_file): Set conditionally in each case so
8611         may be overidden with `--enable-objcthreads=posix'.
8612         Change GNU/Linux default to `single'.
8613
8614 Fri Nov 22 17:53:15 1996  Jason Merrill  <jason@yorick.cygnus.com>
8615
8616         * varasm.c (assemble_variable): Output DWARF in the third case, too.
8617
8618         * dwarf2out.c (decls_for_scope): Only add DIEs with no parents to
8619         our scope.
8620         (gen_subroutine_type_die): Parm types go under the fn type DIE.
8621
8622         * Makefile.in ($(T)crt{begin,end}.o): Move CRTSTUFF_T_CFLAGS after 
8623         general flags.
8624
8625         * mips/t-iris6 (CRTSTUFF_T_CFLAGS): Define.
8626         * mips.c (compute_frame_size): Fix fp_save_offset.
8627
8628         * dwarf2out.c (new_die): If we get a NULL parent, inc limbo_die_count.
8629         (decls_for_scope): Decrement limbo_die_count as appropriate.
8630         (dwarf2out_finish): Check for good limbo_die_count.
8631         (size_of_cfi): If regno too big for DW_CFA_offset, use offset_extended
8632         instead.
8633         (output_call_frame_info): Add disabled code for specifying ABI.
8634         (dwarf2out_begin_function): Note all saved regs.
8635
8636         * dwarf2out.c (gen_subprogram_die): Have a DIE for each fn at
8637         toplevel.
8638         (scope_die_for): Only use the NULL for fns and tags.
8639
8640 Tue Nov 21 15:53:51 1996  Joern Rennecke <amylaar@cygnus.co.uk>
8641
8642         * sh.c (output_stack_adjust): New argument TEMP.  Changed all callers. 
8643         If the adjust cannot be done with one, but can be done with two 
8644         CONST_OK_FOR_I constants, do it that way.
8645
8646 Thu Nov 21 14:25:55 1996  Ian Lance Taylor  <ian@cygnus.com>
8647
8648         * fixincludes: Include <stdio.h> in <assert.h> even if not C++ if
8649         stderr needs to be defined.
8650
8651 Wed Nov 20 15:38:13 1996  Jason Merrill  <jason@yorick.cygnus.com>
8652
8653         * toplev.c (rest_of_type_compilation): Do output function-scope tags
8654         for DWARF 2.
8655         * c-decl.c (pushtag): Set TYPE_CONTEXT on the tag.
8656         * toplev.c, varasm.c: s/dwarf2out_file_scope_decl/dwarf2out_decl/g.
8657         * dwarf2out.c (add_prototyped_attribute): Use a value of 1.
8658         (gen_subprogram_die): Support AT_static_link.
8659         (dwarf2out_decl): Rename from dwarf2out_file_scope_decl.
8660         Give nested fns and tags a die_parent of NULL.
8661         (decls_for_scope): Fix the die_parent for nested fns and tags.
8662         (scope_die_for): If we get a context of NULL, just return it.
8663
8664 Tue Nov 19 18:21:11 1996  Jason Merrill  <jason@yorick.cygnus.com>
8665
8666         * dwarf2out.c (gen_subprogram_die): Support block extern decls.
8667         (gen_variable_die): Likewise.
8668         (gen_decl_die): Emit block extern function decls.
8669
8670         * c-decl.c (implicitly_declare): Set DECL_ARTIFICIAL.
8671
8672 Tue Nov 19 16:50:32 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
8673
8674         * configure (powerpc*-{sysv,elf,eabi{,aix,sim}}): Set
8675         extra_headers to ppc-asm.h.
8676         (powerpc*-{linux,solaris,rtems,vxworks}): Likewise.
8677         (powerpc*-{winnt,pe,cygwin32}): Likewise.
8678
8679         * rs6000/t-{ppc,ppcgas,solaris,winnt} (EXTRA_HEADERS): Don't set here.
8680
8681 Mon Nov 18 14:51:46 1996  Jason Merrill  <jason@yorick.cygnus.com>
8682
8683         * dwarf2out.c (DWARF_CIE_INSN_SIZE): New macro.
8684         (DWARF_CIE_HEADER_SIZE): Use it.
8685         (DWARF_FRAME_RETURN_COLUMN, DWARF_FRAME_REGNUM): New macros.
8686         (output_call_frame_info, dwarf2out_begin_function): Use them.  
8687         For the MIPS, output the first CFA insn in the CIE.
8688         * dwarf2.h (enum dwarf_call_reg_usage): Lose.
8689         (dwarf_macinfo_record_type): Fix spelling.
8690         * mips/mips.h (DWARF_FRAME_REGNUM, DWARF_FRAME_RETURN_COLUMN): Define.
8691
8692         * dwarf2out.c (base_type_die): Just generate the DIEs as needed,
8693         rather than building up some table.
8694         (init_base_type_table): Lose.
8695         (add_subscript_info): Use add_type_attribute.  Don't give an upper
8696         bound for an array of unknown size.
8697         (gen_unspecified_parameters_die): Remove DWARF-1 kludge.
8698         (dwarf2out_init): Lose call to init_base_type_table.
8699         (is_c_family, is_fortran): New fns.
8700         (gen_compile_unit_die): Recognize GNU F77.
8701         (gen_array_type_die): Use AT_declaration for an array of unknown size.
8702         (modified_type_die): Take TYPE_MAIN_VARIANT before passing it
8703         to build_type_variant, so we ignore named variants.
8704         (dwarf2out_file_scope_decl): Don't generate DIEs for built-in structs,
8705         either; they will be emitted if they are used.
8706         From wilson:
8707         (gen_array_type_die): Force the element type out first on IRIX 6.
8708
8709 Sun Nov 17 20:23:11 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
8710
8711         * expr.c (get_inner_reference): Fix error in previous change.
8712
8713 Sat Nov 16 06:08:27 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
8714
8715         * emit-rtl.c (operand_subword): Avoid confusion if sizeof (float)
8716         is less than a full word.
8717
8718         * alpha.h (MASK_BYTE_OPS): Now define as 1024.
8719         * alpha/vms.h (TARGET_DEFAULT): Use symbolic values.
8720
8721         * expr.c (get_inner_reference): Add new arg PALIGNMENT and compute it.
8722         (expand_assignment, do_jump): Pass new arg to get_inner_reference.
8723         (expand_expr, case COMPONENT_REF): Likewise.
8724         * fold-const.c (optimize_bit_field_compare, decode_field_reference):
8725         Likewise.
8726         * tree.h (get_inner_reference): Add new arg.
8727
8728         * Add support for Alpha/VMS, mostly from
8729         Klaus Kaempf (kkaempf@progis.de)
8730         * configure (alpha-dec-vms*): New target.
8731         * alpha.c (override_options): Handle VAX format floating-point.
8732         (print_operand, case ',', '-'): New cases.
8733         (alpha_builtin_saveregs): Handle VMS convention.
8734         (alpha_sa_{mask,size}, alpha_pv_save_size, alpha_using_fp):
8735         New versions for VMS.
8736         (output_{pro,epi}logue, function_arg): Likewise.
8737         (direct_return): Never true on VMS.
8738         (check_float_value): Return 0 for VMS.
8739         (vmskrunch, alpha_{need,write}_linkage): New function.
8740         * alpha.h ({MASK,TARGET}_{OPEN_VMS,FLOAT_VAX}): New macros.
8741         (TARGET_SWITCHES): Add float-vax and float-ieee.
8742         ({FUNCTION,LIBCALL}_VALUE, FUNCTION_VALUE_REGNO_P): R1 and R33
8743         are also return registers.
8744         (ASM_OUTPUT_DOUBLE): Support both floating-point formats.
8745         (PRINT_OPERAND_FUNCT_VALID_P): Add ',' and '-'.
8746         * alpha.md ({div,mod}[sd]i3): Only for VMS.
8747         (fp operations): Add modifiers for multiple floating-point formats.
8748         (call patterns): Handle new calling sequence for VMS.
8749         (tablejump): Make new pattern for VMS.
8750         (nonlocal_goto_receiver, arg_home): New patterns.
8751         * alpha/t-vms, alpha/vms.h, alpha/xm-vms.h: New files.
8752
8753 Fri Nov 15 17:38:20 1996  Doug Evans  <dje@seba.cygnus.com>
8754
8755         * sdbout.c (current_file): New global.
8756         (PUT_SDB_SRC_FILE): New PUT_SDB_FOO macro.
8757         (sdbout_init): Initialize current_file ifdef MIPS_DEBUGGING_INFO.
8758         (sdbout_{start_new,resume_previous}_source_file): New functions.
8759         * toplev.c (debug_{start,end}_source_file): Call them if SDB_DEBUG.
8760         * mips.h (PUT_SDB_SRC_FILE): Define.
8761
8762 Fri Nov 15 16:11:25 1996  Jason Merrill  <jason@yorick.cygnus.com>
8763
8764         * dwarfout.c (dwarfout_line): Don't emit line number info for
8765         functions outside of .text.
8766
8767 Fri Nov 15 15:52:42 1996  Stan Cox  <coxs@dg-rtp.dg.com>
8768
8769         * i386/386bsd.h (COMMENT_BEGIN): Delete.
8770         * i386/freebsd.h (COMMENT_BEGIN): Likewise.
8771         * i386/netbsd.h (COMMENT_BEGIN): Likewise.
8772         * i386/unix.h (COMMENT_BEGIN): Likewise.
8773
8774 Fri Nov 15 13:22:42 1996  Jim Wilson  <wilson@cygnus.com>
8775
8776         * fold-const.c (unextend): Rewrite type conversions to avoid overflow.
8777
8778 Fri Nov 15 12:11:28 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
8779
8780         * combine.c (try_combine): Properly copy an rtvec.
8781         * emit-rtl.c (gen_rtvec_vv): New function.
8782         (copy_rtx_if_shared): Call it.
8783         * integrate.c (copy_for_inline): Likewise.
8784         * reload1.c (eliminate_regs): Likewise.
8785         * rtl.h (gen_rtvec_vv): Declare.
8786         * genattrtab.c (simplify_cond): Make TESTS an array of rtunions.
8787         * genextract.c (main): Use loop, not bcopy, to set recog_operands
8788         from an rtvec.
8789         * rtl.c (rtvec_alloc): Clear rtwint instead of rtvec.
8790
8791         * machmode.h (HOST_PTR_PRINTF): Handle char * wider than long.
8792         (HOST_WIDE_INT_PRINT_{DEC,UNSIGNED,HEX,DOUBLE_HEX}): New macros.
8793         * final.c (asm_fprintf): Use "ll" prefix for a long long HOST_WIDE_INT.
8794         (output_{asm_insn,addr_const}): Use HOST_WIDE_INT_PRINT_*.
8795         * print-tree.c (print_node{,_brief}, case INTEGER_CST): Likewise.
8796         * print-rtl.c (print_rtx, case 'w'): Use HOST_WIDE_INT_PRINT_DEC.
8797
8798         * unroll.c (iteration_info): Fix code so that it knows iteration_var
8799         is a HOST_WIDE_INT, not a long.
8800
8801         * fold-const.c (operand_equal_p): Do comparison with REAL_VALUES_EQUAL.
8802         (make_range): Properly decide when to get TREE_TYPE of arg0.
8803         Handle EXP being an INTEGER_CST at end.
8804         (fold_range_test): Handle return of 0 from make_range.
8805         (fold, case TRUTH_AND_EXPR): Handle first arg of 0.
8806         (fold, case TRUTH_OR_EXPR): Handle first arg of 1.
8807
8808         * c-common.c (decl_attributes, case A_ALIAS): Add missing parens.
8809
8810 Fri Nov 15 06:37:54 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8811
8812         * fold-const.c (range_binop): Set SNG1 to zero if ARG1 is a
8813         not a lower or upper bound.
8814
8815 Thu Nov 14 23:08:25 1996  Jason Merrill  <jason@yorick.cygnus.com>
8816
8817         * flags.h (debug_info_type): Add DWARF2_DEBUG.
8818         * toplev.c (main): Support DWARF2_DEBUG.  Add -gdwarf-1, -gdwarf-2
8819         options.  Check debug level after choosing type.
8820         (debug_{start,end}_source_file, debug_{define,undef}): New functions.
8821         (compile_file): Support dwarf2 separately from dwarf1. 
8822         (rest_of_type_compilation, rest_of_compilation): Likewise.
8823         * final.c (final_start_function): Likewise.
8824         (final_end_function, final_scan_insn, output_source_line): Likewise.
8825         * varasm.c (assemble_variable): Likewise.
8826         * dwarfout.c: Don't check DWARF_VERSION.
8827         * dwarf2out.c: s/dwarfout/dwarf2out/g.  Check DWARF2_DEBUGGING_INFO.
8828         * c-lex.c (check_newline): Use debug_* instead of calling *out
8829         functions directly.
8830         * svr4.h (DWARF2_DEBUGGING_INFO): Define.
8831         * mips/iris6.h (PREFERRED_DEBUGGING_TYPE): DWARF2_DEBUG.
8832         (DWARF2_DEBUGGING_INFO): Define instead of DWARF_DEBUGGING_INFO.
8833         (LINK_SPEC): Pass -w through.
8834         * mips.h (PREFERRED_DEBUGGING_TYPE): Don't check `len'.
8835
8836 Thu Nov 14 17:25:47 1996  Jeffrey A Law  (law@cygnus.com)
8837
8838         * h8300.c (dosize): Don't clobber static chain reg if needed by
8839         current function.
8840
8841 Wed Nov 13 17:05:19 1996  Jason Merrill  <jason@yorick.cygnus.com>
8842
8843         * Makefile.in (stage?-start): Keep a copy of EXTRA_MULTILIB_PARTS
8844         in the build directory.
8845
8846 Tue Nov 12 23:17:17 1996  Jeffrey A Law  (law@cygnus.com)
8847
8848         * pa.c (print_operand, case 'Y'): Fix comparisons to handle
8849         NaNs properly in all cases.
8850
8851 Tue Nov 12 18:47:24 1996  Jim Wilson  <wilson@cygnus.com>
8852
8853         * expr.c (emit_group_store): For REG case, call gen_lowpart if
8854         modes are different.
8855
8856 Tue Nov 12 18:24:40 1996  Doug Rupp  (rupp@gnat.com)
8857
8858         * gcc.c (exit): If VMS, define as __posix_exit.
8859         (option_map): Add define-macro and undefine-macro.
8860
8861 Tue Nov 12 17:55:10 1996  Torbjorn Granlund  <tege@tege.pdc.kth.se>
8862
8863         * alpha.c (input_operand): If TARGET_BYTE_OPS accept HImode and QImode.
8864         * alpha.h (MASK_BYTE_OPS): New define.
8865         (TARGET_BYTE_OPS): New define.
8866         (TARGET_SWITCHES): Handle -mbyte.
8867         (LOAD_EXTEND_OP): When MODE is not SImode, return ZERO_EXTEND.
8868         * alpha.md (zero_extendqidi2): Handle TARGET_BYTE_OPS.
8869         (zero_extend{hidi,qisi,hisi}2): Likewise.
8870         (extendqisi2): Use extendqidi2x if TARGET_BYTE_OPS.
8871         (extendqidi2): Likewise.
8872         (extendqidi2x): New pattern.
8873         (extendhisi2): Use extendhidi2x if TARGET_BYTE_OPS.
8874         (extendhidi2): Likewise.
8875         (extendhidi2x): New pattern.
8876         (movhi): Handle TARGET_BYTE_OPS.
8877         (movhi matcher): Output ldwu and stw.
8878         (movqi): Handle TARGET_BYTE_OPS.
8879         (movqi matcher): Output ldbu and stb.
8880
8881 Tue Nov 12 16:53:37 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
8882
8883         * configure (hppa1.1-pro*, i960-*-coff*,m68k-*-aout*): Add libgloss.h.
8884         (m68k-*-coff*, mips*-*-elf*, sparc*-*-aout*, sparc*-*-coff*): Likewise.
8885         * config/libgloss.h: New file.
8886
8887 Tue Nov 12 16:21:45 1996  Joern Rennecke <amylaar@cygnus.com>
8888
8889         * jump.c (jump_optimize): Fix bug in Sep 23 change.
8890
8891 Tue Nov 12 16:15:31 1996  Andrew Cagney  (cagney@tpgi.com.au)
8892
8893         * global.c (prune_references): Add missing symmetic CONFLICTP call.
8894
8895 Tue Nov 12 14:34:40 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
8896
8897         * m68k.c (output_function_{pro,epi}logue): Save and restore
8898         fp-registers only if TARGET_68881.
8899
8900         * m68k/mot3300.h (ASM_OUTPUT_INTERNAL_LABEL): Prefix labels with "L%".
8901         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_CASE_LABEL): Likewise.
8902         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
8903
8904         * m68k/mot3300.h (TARGET_DEFAULT): Use MASK_68040_ALSO, not MASK_68040.
8905         * m68k/next.h, m68k/ccur-GAS.h (TARGET_DEFAULT): Likewise.
8906
8907         * fixproto (std_files): Add sys/socket.h.
8908
8909         * m68k.md (movqi): Emit 'st' for INTVAL & 255 == 255, not INTVAL == -1.
8910         (seq,sne,sgt,sgtu,slt,sltu,sge,sgeu,sle,sleu): Allow "m" as operand 0.
8911
8912 Tue Nov 12 14:17:45 1996  Paul Eggert  <eggert@twinsun.com>
8913
8914         * c-decl.c (grokdeclarator): Generate a warning if -Wimplicit,
8915         unless a warning was already generated by -Wreturn-type.
8916
8917 Tue Nov 12 14:11:02 1996  Pat Rankin  <rankin@eql.caltech.edu>
8918
8919         * Make qsort callback routines conform to the ANSI/ISO standard.
8920         * c-decl.c (field_decl_cmp): Use `const void *' arguments.
8921         * global.c (allocno_compare): Likewise.
8922         * reload1.c (hard_reg_use_compare, compare_spill_regs): Likewise.
8923         (reload_reg_class_lower): Likewise.
8924         * stupid.c (stupid_reg_compare): Likewise.
8925         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
8926         (QTY_CMP_PRI, QTY_CMP_SUGG): New macros.
8927         (qty_compare_1, qty_sugg_compare_1): Use them.
8928
8929 Tue Nov 12 13:20:25 1996  Jim Wilson  <wilson@cygnus.com>
8930
8931         * fold-const.c (merge_ranges): In (+,-) case, treat subset specially
8932         if lower bounds are the same.
8933
8934 Tue Nov 12 13:10:01 1996  J.T. Conklin  <jtc@cygnus.com>
8935
8936         * m68k.md (addsi3): If TARGET_5200, use the lea insn to add small
8937         constants to address registers.
8938         (negsi2): Change into define_expand.
8939         (negsi2_internal): Rename from old negsi2, changed condition
8940         to !TARGET_5200.
8941         (negsi2_5200): New insn.
8942         (one_cmplsi2): Change into define_expand.
8943         (one_cmplsi2_internal): Rename from old one_cmplsi2, changed
8944         condition to !TARGET_5200.
8945         (one_cmplsi2_5200): New insn.
8946         (negdi2_5200): Corrected constraints.
8947         (one_cmpldi2): Changed condition to !TARGET_5200.
8948
8949         * m68k.c (m68k_align_loops_string, m68k_align_jumps_string): New vars.
8950         (m68k_align_funcs_string, m68k_align_loops): Likewise.
8951         (m68k_align_jumps, m68k_align_funcs): Likewise.
8952         (override_options): New function.
8953         * m68k.h (TARGET_OPTIONS): Added alignment options.
8954         (MAX_CODE_ALIGN, ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
8955         New macros.
8956         (FUNCTION_BOUNDARY): Use value derrived from  m68k_align_funcs
8957         instead of constant.
8958  
8959         * m68k.c (output_function_{pro,epi}logue): Fix typo in last change.
8960
8961 Tue Nov 12 09:26:51 1996  Torbjorn Granlund  <tege@wombat.gnu.ai.mit.edu>
8962
8963         * i386.md (parallel inc/dec and branch-if-zero/nonzero): Use `+' in
8964         constraint.
8965
8966 Mon Nov 11 15:12:22 1996  Jason Merrill  <jason@yorick.cygnus.com>
8967
8968         * libgcc2.c: Also define WEAK_ALIAS if ASM_OUTPUT_WEAK_ALIAS.
8969         * mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS): Define.
8970         * varasm.c (assemble_alias): Use ASM_OUTPUT_WEAK_ALIAS.
8971
8972         * dwarf2out.c (TYPE_USED_FOR_FUNCTION): Lose.
8973         (gen_compile_unit_die): Only append -g with -g2 or better.
8974         (scope_die_for): Don't emit any type info with -g1.
8975         (gen_subprogram_die): Likewise.
8976         (gen_decl_die): Likewise.
8977         (dwarfout_file_scope_decl): Likewise.
8978         (dwarfout_init): Likewise.
8979
8980         * mips/iris6.h (TYPE_ASM_OP): Define.
8981         (SIZE_ASM_OP): Define.
8982         (ASM_WEAKEN_LABEL): Define.
8983         (BSS_SECTION_ASM_OP): Define.
8984         (ASM_OUTPUT_ALIGNED_LOCAL): Don't use ASM_DECLARE_OBJECT_NAME.
8985         (ASM_OUTPUT_ALIGNED_BSS): Define.
8986         (ASM_DECLARE_OBJECT_NAME): Redefine to emit .size directive.
8987         (ASM_FINISH_DECLARE_OBJECT): Define.
8988         (ASM_OUTPUT_DEF): Don't define.
8989
8990 Fri Nov  8 20:38:51 1996  Jim Wilson  <wilson@cygnus.com>
8991
8992         * function.c (expand_function_end): Handle BLKmode structures returned
8993         in registers.
8994
8995 Fri Nov  8 20:27:07 1996  Jason Merrill  <jason@yorick.cygnus.com>
8996
8997         * stor-layout.c (layout_record): Check for VAR_DECL instead 
8998         of TREE_STATIC.
8999
9000         * varasm.c (assemble_variable): Do write out DWARF for 
9001         record-scope variables.
9002         * toplev.c (rest_of_type_compilation): Do write out DWARF for
9003         record-scope types.
9004
9005         * dwarf2out.c (gen_enumeration_type_die): Set TREE_ASM_WRITTEN on a
9006         complete enum type.
9007         (gen_struct_or_union_type_die): Don't recurse between nested classes.
9008         (gen_type_die): Write out nested classes by writing out their context.
9009
9010 Fri Nov  8 17:40:27 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9011
9012         * emit-rtl.c (change_address): If MEMREF isn't changing,
9013         return the old one.
9014
9015         * expr.c (expand_assignment): Remove bogus resetting of alignment
9016         to inner alignment.
9017         (expand_expr, case COMPONENT_REF): Likewise.
9018
9019 Fri Nov  8 16:31:31 1996  Stan Cox  <coxs@dg-rtp.dg.com>
9020
9021         * reg-stack.c (compare_for_stack_reg, subst_stack_regs_pat): 
9022         Add support for float conditional move.
9023
9024 Thu Nov  7 07:46:07 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9025
9026         * stor-layout.c (layout_record): Treat constant size as variable if
9027         it overflows.
9028         * fold-const.c (const_binop, case *_DIV_EXPR): Don't do special
9029         sizetype case if a constant overflows.
9030         (size_binop): Use integer_{zero,one}p instead of explicit test.
9031         * tree.c (integer_{zero,one,all_ones,pow2}p, real_{zero,one,two}p):
9032         Return 0 if TREE_CONSTANT_OVERFLOW.
9033
9034 Wed Nov  6 17:53:33 1996  Torbjorn Granlund  <tege@wombat.gnu.ai.mit.edu>
9035
9036         * i386.md (parallel inc and branch-if-zero/nonzero): Add two
9037         new pattern variants.  Change incrementing pattern to use incl/jnz.
9038
9039 Wed Nov  6 09:46:10 1996  Stan Cox  <coxs@dg-rtp.dg.com>
9040
9041         * i386.c (override_options): Set defaults for -march and -mcpu.
9042         (output_float_compare): Use cc_status.flags to mark if this
9043         comparison can be done with fcomi.
9044         (output_fp_cc0_set): A conditional move may be in a PARALLEL.
9045
9046         * i386.h (CC_FCOMI): Define
9047
9048         * i386.md (sgt,sgtu,sge,sle,bgt,blt,bge,ble): Use CC_FCOMI
9049         (movsicc_1,movhicc_1): Use correct size suffix.
9050         (movsfcc_1,movdfcc_1): Cleanup default move case.
9051
9052 Wed Nov  6 09:46:10 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
9053
9054         * i386.h (HARD_REGNO_MODE_OK): If long double isn't XFmode, can't
9055         allow XFmode.
9056
9057 Tue Nov  5 22:49:56 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
9058
9059         * sh.md (define_split for and_shl_scratch):
9060         Use rtx_equal_p on the operands to find out which alternative is used.
9061         * sh.c (gen_shl_and): Try to generate shorter constant for and.
9062
9063 Mon Nov  4 19:13:52 1996  Jason Merrill  <jason@yorick.cygnus.com>
9064
9065         * dwarf2out.c: Clean up unused variables.
9066         Use ASM_{GENERATE,OUTPUT}_INTERNAL_LABEL, shorten label names.
9067         (loc_descriptor): Use reg_loc_descriptor.
9068         (TYPE_DECL_IS_STUB): New macro.
9069         (gen_decl_die): Use it.
9070         (dwarfout_file_scope_decl): Use it.
9071
9072 Mon Nov  4 10:23:46 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
9073
9074         * ginclude/va-ppc.h (__va_regsave_t,va_start,va_end): Wrap macro
9075         and structures inside #ifndef __VA_PPC_H__ to allow reinclusion.
9076
9077         * rs6000.h (LEGITIMATE_SMALL_DATA_P): Don't allow -fpic or TARGET_TOC.
9078         (LEGITIMATE_LO_SUM_ADDRESS_P, LEGITIMIZE_ADDRESS): Likewise.
9079
9080         * rs6000.md (movsi): Don't call elf_{high,low} if -fpic.
9081
9082         * rs6000/cygwin32.h (STARTFILE_SPEC): Eliminate empty %{}.
9083
9084 Sun Nov  3 15:56:35 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
9085
9086         * rs6000/sysv4.h (TARGET_TOC): Plain -fpic does not require a TOC.
9087         ({MINIMAL_TOC,CONST}_SECTION_ASM_OP): -fpic should be treated like
9088         -mrelocatable in these cases.
9089         (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
9090         (ASM_OUTPUT_ALIGNED_LOCAL): Use sdata_section, not sbss_section.
9091
9092 Fri Nov  1 19:57:13 1996  Jason Merrill  <jason@yorick.cygnus.com>
9093
9094         * dwarf2out.c (based_loc_descr): Use DBX_REGISTER_NUMBER.  The 
9095         "frame base" is just the frame or stack reg without an offset.
9096         (gen_subprogram_die): Likewise.
9097         (dwarfout_begin_function): Use DBX_REGISTER_NUMBER.
9098
9099 Fri Nov  1 09:50:05 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9100
9101         * fold-const.c (make_range): Don't merge unsigned case with range
9102         containing upper bound; instead merge just with zero and convert
9103         a range with no upper bound to opposite one with no lower bound.
9104         (merge_ranges): In (+,-) case, don't treat subset specially if
9105         the upper bounds are the same; fix typo in others case here.
9106
9107 Thu Oct 31 20:12:13 1996  Jeffrey A Law  (law@cygnus.com)
9108
9109         * fold-const.c (make_range, case PLUS_EXPR): Correct
9110         normalization of an unsigned range that wraps around zero.
9111
9112 Thu Oct 31 21:06:37 1996  Jason Merrill  <jason@yorick.cygnus.com>
9113
9114         * mips/t-iris6 (EXTRA_MULTILIB_PARTS): Define.
9115         (EXTRA_PARTS): Don't define.
9116
9117         * dwarf2out.c (gen_struct_or_union_type_die): Use AT_specification
9118         for nested types defined outside their containing class.  Lose 
9119         is_complete.
9120         (gen_enumeration_type_die): Lose is_complete.
9121         (gen_type_die): Lose is_complete.
9122         (add_name_and_src_coords_attributes): Tweak.
9123         (gen_subroutine_type_die): Use scope_die_for.
9124         (gen_ptr_to_mbr_type_die): Likewise.
9125         (gen_subprogram_die): Support AT_artificial.
9126         (gen_variable_die): Likewise.
9127         (dwarfout_file_scope_decl): Lose finalizing.
9128
9129 Thu Oct 31 18:43:18 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9130
9131         * pa.c (emit_move_sequence): Refine previous change.
9132
9133 Thu Oct 31 13:25:32 1996  Jim Wilson  <wilson@cygnus.com>
9134
9135         * crtstuff.c: Put HAS_INIT_SECTION ifdefs around Irix6 support.
9136
9137         * tree.c (decl_function_context): Handle QUAL_UNION_TYPE.
9138
9139         * calls.c (expand_call): Disable special handling for const calls
9140         that return a PARALLEL rtx.
9141         * expr.c (expand_expr, case CONSTRUCTOR): Don't use a PARALLEL
9142         target.
9143
9144 Thu Oct 31 11:45:00 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
9145
9146         * rs6000/t-{ppcgas,ppc,solaris} (EXTRA_MULTILIB_PARTS): Add
9147         {e,s}crt{i,n,0}.o.
9148         ({stmp,install}-crt): Delete, no longer used.
9149         ({,INSTALL_}LIBGCC): Remove {stmp,install}-crt rule.
9150
9151 Thu Oct 31 02:49:58 1996  Torbjorn Granlund  <tege@nada.kth.se>
9152
9153         * i386.md (parallel inc and branch-if-zero/nonzero):
9154         Check for -1, not zero.
9155
9156 Wed Oct 30 15:50:49 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9157
9158         * fold-const.c (range_binop): Strip NOPs from result and
9159         verify it's an INTEGER_CST.
9160         (make_range, case BIT_NOT_EXPR): Fix typo in constant for PLUS_EXPR.
9161
9162         * stor-layout.c (layout_record): Use HOST_WIDE_INT for size.
9163
9164         * stmt.c (expand_asm_operands): Disallow matching constraints
9165         on output and validate the numbers on inputs.
9166
9167 Tue Oct 29 16:21:59 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
9168
9169         * gcc.c (process_command,main): Process -specs=file and -specs
9170         file after reading the main specs file to allow the user to
9171         override the default.
9172         (DEFAULT_WORD_SWITCH_TAKES_ARG): Add specs to list.
9173         (option_map): Likewise.
9174
9175 Tue Oct 29 15:49:18 1996  Jason Merrill  <jason@yorick.cygnus.com>
9176
9177         * Makefile.in (stmp-multilib): Pass $flags to s-m-sub in 
9178         MULTILIB_CFLAGS.
9179         (stmp-multilib-sub): Build EXTRA_MULTILIB_PARTS.
9180         ($(T)crt*.o): Add $(T), lose stamp-crt rule, use MULTILIB_CFLAGS.
9181         (install-multilib): Install EXTRA_MULTILIB_PARTS.
9182
9183 Mon Oct 28 20:09:39 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
9184
9185         * sh.md (shl_sext_ext): Don't accept simple left/right shift variant.
9186         * sh.c (EXT_SHIFT_SIGNED): New macro.
9187         (shl_sext_kind, gen_shl_sext): try left shift - sign extend -
9188         left shift - arithmetic right shift in case 2.
9189
9190 Mon Oct 28 14:55:42 1996  Jim Wilson  <wilson@cygnus.com>
9191
9192         * configure (sh-*-*): Set float_format to sh.
9193         * config/float-sh.h: New file.
9194
9195 Mon Oct 28 14:26:08 1996  Ian Lance Taylor  <ian@cygnus.com>
9196
9197         * mips/mips.h (RTX_COSTS): Add cases for SIGN_EXTEND and ZERO_EXTEND.
9198
9199         * m68k/lb1sf68.asm: Change # to IMM in udivsi3 __mcf5200__.
9200
9201         * combine.c (simplify_rtx): Add some optimizations for TRUNCATE.
9202         (expand_compound_operation): Add some optimizations for ZERO_EXTEND.
9203
9204 Mon Oct 28 14:11:20 1996  Gavin Koch  <gavin@cygnus.com>
9205         
9206         * varasm.c (make_decl_rtl,assemble_variable):
9207         Allow named sections for uninitialized variables.
9208
9209 Mon Oct 28 13:08:51 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9210
9211         * pa.c (emit_move_sequence): If reload in progress, replace
9212         reference to pseudo with reference to corresponding MEM.
9213
9214         * c-typeck.c ({un,}signed_type): If can't do anything, call
9215         signed_or_unsigned_type.
9216         (signed_or_unsigned_type): If already right signedness, return.
9217
9218 Mon Oct 28 13:05:26 1996  Stephen Williams (steve@icarus.com)
9219
9220         * i960.h: Add specification for -Jx types.
9221         * i960/t-960bare: Include multilib support for Jx types.
9222
9223 Mon Oct 28 10:06:00 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
9224
9225         * rs6000/t-{ppc{,gas},solaris} (install-crt): Depend on
9226         installdirs, not install-dir.
9227
9228         * rs6000/sysv4.h (TARGET_TOC): -fpic does not use a TOC area.
9229
9230 Mon Oct 28 09:07:42 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
9231
9232         * reload1.c (delete_output_reload): Don't use delete_insn
9233         when deleting all stores into a replaced pseudo.
9234
9235         * sh.md (movsf_ieq, movsf_ie): Merged the former into the latter.
9236         Changed matching define_split appropriately.
9237         (movsf): Changed appropriately.
9238         (reload_insf) Define.
9239         * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
9240
9241 Mon Oct 28 08:38:23 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
9242
9243         * dsp16xx.h (ASM_OUTPUT_BYTE): Adjust definition to actual type of
9244         VALUE, which is HOST_WIDE_INT.
9245
9246 Mon Oct 28 07:36:07 1996  Ulrich Drepper  <drepper@cygnus.com>
9247
9248         * ginclude/stddef.h: Make sure file is processed if some of the
9249         known __need_* macros is defined.
9250
9251 Sun Oct 27 21:37:59 1996  J.T. Conklin  <jtc@cygnus.com>
9252
9253         * m68k.c (output_function_prologue): Adjust SP then use movmel with
9254         plain address indirect mode for TARGET_5200.
9255         (output_function_epilogue): Disable moveml and use several movel's
9256         instead for TARGET_5200.
9257         (output_function_{pro,epi}logue): Use lea instruction to adjust
9258         stack pointer for short displacements for TARGET_5200.
9259
9260 Sun Oct 27 15:27:45 1996  Jeffrey A Law  (law@cygnus.com)
9261
9262         * fold-const.c (merge_ranges): Fix thinko/typo.
9263
9264 Sat Oct 26 22:07:04 1996  Ian Lance Taylor  <ian@cygnus.com>
9265
9266         * expr.c (convert_modes): Before returning a const_double for a
9267         large unsigned value, zero extend an integer value if necessary.
9268
9269 Sat Oct 26 15:24:55 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
9270
9271         * m68k/x-mot3300 (XCFLAGS): Disable native assembler's jump
9272         optimization for expr.o and cp/decl.o.
9273
9274 Sat Oct 26 14:04:09 1996  Ben Harris  <bjh21@cam.ac.uk>
9275
9276         * m68k.c (output_function_prologue): Add REGISTER_PREFIX to stack
9277         probe instruction.
9278
9279 Sat Oct 26 13:59:05 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9280
9281         * explow.c (allocate_dynamic_stack_space): Delete reference to
9282         nonexistant macro ALLOCATE_OUTGOING_ARGS.
9283
9284         * next.h (CPP_PREDEFINES): Add -D_NEXT_SOURCE.
9285
9286 Sat Oct 26 13:50:49 1996  Mark Mitchell  (mitchell@centerline.com)
9287
9288         * configure (i486-ncr-sysv4*): Use i386/sysv4gdb if stabs and gas.
9289
9290 Sat Oct 26 12:20:35 1996  John F. Carr  <jfc@mit.edu>
9291
9292         * configure: Support --with-cpu=* for SPARC.  Or target default
9293         values instead of adding them.
9294         * sparc.c (cpu_default): Add entries for v8 and supersparc.
9295         * sparc.h: Define TARGET_CPU values for v8 and supersparc.
9296
9297 Sat Oct 26 11:38:01 1996  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
9298
9299         * collect2.c (dump_file): Call fclose for opened files.
9300
9301 Sat Oct 26 11:29:29 1996  J"orn Rennecke  (amylaar@cygnus.co.uk)
9302
9303         * jump.c (jump_optimize): Fix second error in last change.
9304
9305         * svr3.h: Fix typo which makes comment text be non-comment.
9306
9307 Fri Oct 25 16:18:39 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
9308
9309         * rs6000/t-winnt (LIBGCC1): Don't build libgcc1.
9310         (EXTRA_PARTS): Build crti.o, crtn.o.
9311         (stmp-crt): Remove old multilib support.
9312
9313 Thu Oct 24 15:09:14 1996  Jim Wilson  <wilson@cygnus.com>
9314
9315         * fold-const.c (make_range, case PLUS_EXPR): Normalize an unsigned
9316         range that wraps around 0.
9317
9318 Thu Oct 24 14:37:17 1996  Ian Lance Taylor  <ian@cygnus.com>
9319
9320         * mips.md: Change predicates for 64 bit arithmetic operations
9321         so that they accept sign extended registers as operands.
9322         (extendsidi2): Accept hi or lo as input.
9323         * mips.c (movdi_operand, se_register_operand,
9324         se_reg_or_0_operand, se_uns_arith_operand, se_arith_operand,
9325         se_nonmemory_operand, se_nonimmediate_operand): New functions.
9326         (mips_move_2words): Handle a SIGN_EXTEND source.
9327         (print_operand): Handle a SIGN_EXTEND operand.
9328         (mips_secondary_reload_class): Handle a SIGN_EXTEND rtx.
9329         * mips.h: Declare new mips.c functions.
9330         (PREDICATE_CODES): Add new functions.
9331
9332 Thu Oct 24 07:41:14 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9333
9334         * fold-const.c (make_range, comparison cases): When making range
9335         for unsigned to merge in, use full range.
9336
9337         * stor-layout.c (GET_MODE_ALIGNMENT): Delete definition; duplicate.
9338
9339 Thu Oct 24 07:28:53 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
9340
9341         * reload1.c (emit_reload_insns): Check for second_reloadreg
9342         in SECONDARY_OUTPUT_RELOAD_CLASS / PRESERVE_DEATH_INFO_REGNO_P case.
9343
9344 Wed Oct 23 14:27:43 1996  Mike Stump  <mrs@cygnus.com>
9345
9346         * crtstuff.c (__do_global_dtors_aux): Allow finalization code to
9347         be run more than once.
9348         * libgcc2.c (__do_global_dtors): Ditto.
9349         
9350 Wed Oct 23 20:42:23 1996  Joern Rennecke <amylaar@cygnus.co.uk>
9351
9352         * sh.c (dump_table): handle SFmode and DFmode.
9353         (broken_move): handle simple PARALLEL.
9354         (machine_dependent_reorg, pc-relative move generation): Likewise.
9355         * sh.h (CONST_DOUBLE_OK_FOR_LETTER_P): always true for 'F' .
9356         (LEGITIMATE_CONSTANT_P): accept SFmode and DFmode.
9357         * sh.md (movdf_k, movsf_i, movsf_ie): new alternative for
9358         pc-relative load.
9359         (movsf_ieq): new define_insn with matching define_split.
9360         (movsf): use it where appropriate.
9361         (consttable_sf, consttable_df): new define_insns.
9362
9363 Wed Oct 23 17:48:32 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9364
9365         * svr4.h (MAKE_DECL_ONE_ONLY): Fix typo in use of macro parameter.
9366
9367 Wed Oct 23 17:46:13 1996  Pat Rankin  <rankin@eql.caltech.edu>
9368
9369         * cexp.y (yylex): Cast string literal to U_CHAR* for lookup() call.
9370
9371 Wed Oct 23 14:50:04 1996  Jason Merrill  <jason@yorick.cygnus.com>
9372
9373         * stmt.c (expand_return): Expand cleanups.  Make sure we get pseudo
9374         and provide target in non-BLKmode case.  Get proper return type of fn.
9375
9376 Wed Oct 23 14:16:06 1996  Ian Lance Taylor  <ian@cygnus.com>
9377
9378         * reload.c (find_reloads): Handle any unary operator.
9379         * recog.c (constrain_operands): Likewise.
9380
9381         * mips.md: Remove extendsidi2 define_expand. 
9382         Rename extendsidi2_internal define_insn to extendsidi2, and add a
9383         register to register case.
9384
9385 Wed Oct 23 14:08:31 1996  Jim Wilson  <wilson@cygnus.com>
9386
9387         * a29k.c (a29k_makes_calls): New global variable.
9388         (compute_regstack_size, a29k_compute_reg_names): New functions.
9389         (output_prolog): Much code moved to two new functions.
9390         Use a29k_makes_calls instead of makes_calls.
9391         * a29k.h (ASM_DECLARE_FUNCTION_NAME): Call a29k_compute_reg_names.
9392
9393         * calls.c (expand_call): In target code, move PARALLEL case above
9394         target != case.
9395
9396         * mips.c (block_move_load_store, block_move_sequence): Delete.
9397         (block_move_loop): New parameter orig_dest.  Call change_address to
9398         create new MEM instead of gen_rtx.
9399         (expand_block_move): New local orig_dest.  Pass it to block_move_loop.
9400         Call change_address to create new MEM instead of gen_rtx.
9401
9402 Wed Oct 23 10:30:32 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
9403
9404         * loop.c (combine_givs): When combining a DEST_REG giv with its
9405         only use, always set the benefit of the combined giv to that of
9406         the DEST_REG giv.
9407
9408         * emit-rtl (gen_lowpart_common): When converting a floating
9409         point value into an integer, use WORD as (first) word.
9410
9411         * combine.c (can_combine_p): When SMALL_REGISTER_CLASSES is defined,
9412         avoid substituting a return register into I3.
9413
9414         * optabs.c (emit_libcall_block): Before adding an REG_EQUAL note,
9415         check that it will really apply to a single instruction.
9416         (expand_binop, expand_fix): Likewise.
9417
9418 Wed Oct 23 10:20:52 1996  Stephen L Moshier  (moshier@world.std.com)
9419
9420         * real.c (exact_real_inverse): New function, if REAL_ARITHMETIC.
9421         * fold-const.c (exact_real_inverse): Likewise, if no REAL_ARITHMETIC.
9422         (fold, case RDIV_EXPR): Turn divide by constant into multiplication
9423         by the reciprocal, if optimizing and result is exact.
9424         * real.h (exact_real_inverse): Declare.
9425
9426 Wed Oct 23 00:12:52 1996  Torbjorn Granlund  <tege@nada.kth.se>
9427
9428         * expr.h (emit_store_flag_force): Declare.
9429
9430 Tue Oct 22 18:32:20 1996  Jim Wilson  <wilson@cygnus.com>
9431
9432         * unroll.c (unroll_loop): Always reject loops with unbalanced blocks.
9433
9434 Tue Oct 22 18:27:06 1996  Ian Lance Taylor  <ian@cygnus.com>
9435
9436         * config/fp-bit.c (float_to_usi): Correct thinko: avoid negative shift.
9437         (df_to_sf): Remember any discarded nonzero bits in the low order
9438         guard bit.
9439
9440         * ginclude/va-mips.h: Add support for -mips1 and -msoft-float when
9441         using -mabi=eabi.
9442         * mips/abi64.h (SETUP_INCOMING_VARARGS): When MIPS EABI, handle
9443         TARGET_SINGLE_FLOAT or ! TARGET_FLOAT64 correctly when saving
9444         floating point registers to the stack.
9445         * mips/mips.c (mips_function_value): If TARGET_SINGLE_FLOAT, use
9446         GP_RETURN for floating point types larger than 4 bytes.
9447
9448 Tue Oct 22 09:43:49 1996  Geoffrey Noer  <noer@cygnus.com>
9449
9450         * rs6000/cygwin32.h (LIB_SPEC): Add -lkernel32 all of the time,
9451         and {user,gdi,comdlg}32 if -mwindows.
9452
9453 Tue Oct 22 05:24:05 1996  Jason Merrill  <jason@yorick.cygnus.com>
9454
9455         * dwarf2out.c (scope_die_for): Don't skip lexical blocks.
9456         (gen_lexical_block_die): Call push_decl_scope.
9457         (gen_subprogram_die): Never refer to the function symbol.
9458         (dwarfout_begin_prologue): Likewise.
9459
9460 Mon Oct 21 20:22:49 1996  Torbjorn Granlund  <tege@nada.kth.se>
9461
9462         * expmed.c (emit_store_flag_force): New function.
9463         * optabs.c (expand_binop): Use it.
9464         
9465         * expr.c (do_store_flag): Don't check if target is 0 in code
9466         emitting store flag as compare-branch.
9467
9468 Mon Oct 21 17:58:33 1996  Ian Lance Taylor  <ian@cygnus.com>
9469
9470         * mips.c (override_options): Correct typo (MASK_64BIT should
9471         have been TARGET_64BIT).
9472
9473 Mon Oct 21 13:58:54 1996  Jim Wilson  <wilson@cygnus.com>
9474
9475         * unroll.c (loop_comparison_code): New static variable.
9476         (unroll_loop): Add check for loop_comparison_code
9477         (loop_iterations): Set loop_comparison_code.
9478
9479         * sh.c (gen_shl_sext): Add missing parameter to shl_sext_kind call.
9480
9481         * mips.h (INITIAL_FRAME_POINTER_OFFSET): Delete.
9482
9483         * loop.c (strength_reduce): Add check for ! bl->reversed to
9484         auto_inc_opt code.
9485
9486 Mon Oct 21 12:28:15 1996  J"orn Rennecke  <amylaar@cygnus.co.uk>
9487
9488         * jump.c (jump_optimize): Fix bug in Oct. 14 change.
9489
9490 Mon Oct 21 07:59:16 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9491
9492         * expr.c (store_expr): Disable optimization of using convert
9493         if exp's type is a subtype.
9494
9495         * c-typeck.c (build_array_ref): If -Wchar-subscripts, also warn
9496         in case when pointer is being indexed.
9497
9498 Mon Oct 21 07:39:31 1996  J"orn Rennecke  <amylaar@cygnus.co.uk>
9499
9500         * jump.c (jump_optimize): Use emit_store_flag even if branches
9501         are cheap, if the store is even cheaper.
9502
9503 Sun Oct 20 20:01:09 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9504
9505         * reload1.c (reload_reg_free_p, reloads_conflict): RELOAD_OTHER
9506         and RELOAD_FOR_OTHER_ADDRESS conflict.
9507
9508         * i386.md (ffs[sh]i2): Add missing CC_STATUS_INIT.
9509
9510 Fri Oct 18 13:32:13 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
9511
9512         * rs6000.md (float conversion insns): Generate correct code
9513         if the bit 15 of rs6000_fpmem_offset is non-zero.
9514
9515 Thu Oct 17 23:22:03 1996  Jason Merrill  <jason@yorick.cygnus.com>
9516
9517         * dwarfout.c (data_member_location_attribute): Support binfos.
9518         (output_inheritance_die): New fn.
9519         (output_type): Use it.
9520
9521         * dwarf2out.c (value_format): Split out from...
9522         (output_value_format): Here.
9523         (build_abbrev_table): Use value_format.
9524         (size_of_locs): New fn.
9525         (size_of_die): Don't assume a loc needs a 2-byte length.
9526         (value_format, output_die): Likewise.
9527
9528 Thu Oct 17 14:46:14 1996  Ian Lance Taylor  <ian@cygnus.com>
9529
9530         * mips.c (override_options): In 64 bit EABI mode, set TARGET_LONG64.
9531
9532 Thu Oct 17 11:34:51 1996  Bob Manson  <manson@cygnus.com>
9533
9534         * expr.c (do_jump): Conditionalize cleanups for the COND_EXPR case,
9535         similarly to the way TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR are
9536         handled.
9537
9538 Thu Oct 17 01:20:16 1996  Jim Wilson  <wilson@cygnus.com>
9539
9540         * m68k.h (MASK_68040_ALSO): New macro.
9541         (TARGET_SWITCHES): Option -m68020-40 includes MASK_68040_ALSO.
9542
9543 Wed Oct 16 16:25:38 1996  Jason Merrill  <jason@yorick.cygnus.com>
9544
9545         * dwarf2out.c (scope_die_for): Also support decls, add asserts.
9546         (modified_type_die): Modified types all go under comp_unit_die.
9547         (add_type_attribute): Just pass context_die through.
9548         (various): Revert useless lookup_type_die change.
9549         (gen_subprogram_die): Use scope_die_for.  Call push_decl_scope.
9550         (gen_inlined_subroutine_die): Call push_decl_scope.
9551         (gen_struct_or_union_type_die): Likewise.
9552         (gen_decl_die): Don't call push_decl_scope.
9553
9554         * mips/iris6.h (*_SPEC): Replace enumeration of !mabi= with !mabi*.
9555         (ASM_OUTPUT_{CON,DE}STRUCTOR): Enable.
9556         (STARTFILE_SPEC): Support -mips4, -shared.
9557         (ENDFILE_SPEC): Likewise.
9558         (LIB_SPEC): Support -shared, avoid warning 84.
9559         (LIBGCC_SPEC): Define.
9560         (LINK_SPEC): Support -shared, remove -woff 84.
9561         * mips/t-iris6 (EXTRA_PARTS): Add crtstuff.
9562         * crtstuff.c: Support Irix 6.
9563         * configure: Don't use collect2 for Irix 6.
9564         * libgcc2.c (__main): Don't use any of this stuff if HAS_INIT_SECTION.
9565
9566 Wed Oct 16 11:46:37 1996  Mike Stump  <mrs@cygnus.com>
9567
9568         * elxsi.h (CHECK_FLOAT_VALUE): Removed.
9569
9570 Wed Oct 16 14:19:38 1996  Jim Wilson  <wilson@cygnus.com>
9571
9572         * iris6.h (CPP_PREDEFINES): Add -D_LONGLONG.
9573         (CPP_SPECS): Remove -D_LONGLONG.
9574
9575 Wed Oct 16 03:34:42 1996  Torbjorn Granlund  <tege@nada.kth.se>
9576
9577         * i386.md (parallel inc/dec and branch-if-zero/nonzero): New patterns.
9578
9579 Tue Oct 15 22:28:11 1996  Ian Lance Taylor  <ian@cygnus.com>
9580
9581         * mips.h (enum mips_abi_type): Add ABI_EABI.
9582         (CPP_SPEC): Define __mips_soft_float if -msoft-float, and
9583         __mips_eabi if -mabi=eabi.
9584         (INITIAL_ELIMINATION_OFFSET, CUMULATIVE_ARGS,
9585         GO_IF_LEGITIMATE_ADDRESS, CONSTANT_ADDRESS_P, LEGITIMATE_CONSTANT,
9586         LEGITIMIZE_ADDRESS): Add support for MIPS EABI.
9587         * mips/abi64.h (STACK_BOUNDARY, MIPS_STACK_ALIGN,
9588         FUNCTION_ARG_PADDING, RETURN_IN_MEMORY, SETUP_INCOMING_VARARGS):
9589         Add support for MIPS EABI.
9590         (FUNCTION_ARG_PASS_BY_REFERENCE): Define.
9591         (FUNCTION_ARG_CALLEE_COPIES): Define.
9592         * mips.c (mips_const_double_ok, function_arg_advance,
9593         function_arg, function_arg_partial_nregs, override_options,
9594         compute_frame_size): Add support for MIPS EABI.
9595         (function_arg_pass_by_reference): New function.
9596         * ginclude/va-mips.h: Add support for MIPS EABI.
9597
9598 Tue Oct 15 19:10:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
9599
9600         * toplev.c (rest_of_type_compilation): Don't write out
9601         DWARF for function-scope types yet.
9602         (compile_file): Do send vars with no RTL to the DWARF code.
9603
9604 Tue Oct 15 17:54:43 1996  Doug Evans  <dje@cygnus.com>
9605
9606         * loop.c (strength_reduce): Avoid taking PATTERN of a label.
9607
9608 Tue Oct 15 16:52:33 1996  Ian Lance Taylor  <ian@cygnus.com>
9609
9610         * mips/iris6.h: (SUBTARGET_CPP_SIZE_SPEC): Define.
9611         (SUBTARGET_CPP_SPEC): Remove definitions of __SIZE_TYPE__ and
9612         __PTRDIFF_TYPE__, now in SUBTARGET_CPP_SIZE_SPEC.
9613
9614 Tue Oct 15 11:19:17 1996  Lee Iverson  <leei@Canada.AI.SRI.COM>
9615
9616         * mips.h (CPP_SPEC): Restore -D_LANGUAGE_C for Objective C.
9617
9618 Mon Oct 14 18:03:35 1996  Jason Merrill  <jason@yorick.cygnus.com>
9619
9620         * dwarf2out.c (gen_decl_die): Do generate dies for classes with -g1.
9621         (dwarfout_file_scope_decl): Likewise.
9622
9623 Mon Oct 14 16:31:44 1996  Joern Rennecke <amylaar@cygnus.co.uk>
9624
9625         * jump.c (jump_optimize): Check for if (...) { x = a; goto l; } x = b;
9626
9627 Mon Oct 14 14:19:49 1996  Jason Merrill  <jason@yorick.cygnus.com>
9628
9629         * dwarf2out.c (modified_type_die): Don't bother with AT_address_class.
9630         (add_data_member_location_attribute): Handle getting a binfo.
9631         (add_location_or_const_value_attribute): Handle a decl with no RTL.
9632         (add_pure_or_virtual_attribute): Add AT_vtable_elem_location.
9633         (add_name_and_src_coords_attributes): Only use DECL_ASSEMBLER_NAME 
9634         for staticp things.
9635         (gen_subprogram_die): Set up AT_inline for abstract decls.
9636         (gen_inheritance_die): New fn.
9637         (gen_member_die): Also emit info for base classes.
9638
9639 Sat Oct 12 00:07:00 1996  Doug Evans  <dje@cygnus.com>
9640
9641         * fold-const.c (make_range): Handle NULL operand 0 like in BIND_EXPRs.
9642
9643 Fri Oct 11 15:42:22 1996  Jason Merrill  <jason@yorick.cygnus.com>
9644
9645         * toplev.c (rest_of_compilation): If we did a
9646         save_for_inline_copying, reset DECL_ABSTRACT_ORIGIN for the
9647         function when we're done.
9648
9649         * toplev.c (main): DWARF works with C++ now.
9650
9651         * dwarf2out.c (gen_subprogram_die): Disable MIPS_AT_has_inline
9652         support for now.
9653
9654 Fri Oct 11 14:31:10 1996  Torbjorn Granlund  <tege@nada.kth.se>
9655
9656         * dwarfout.c: (output_bound_representation): Fix typo in prototype.
9657
9658 Fri Oct 11 12:19:21 1996  Ian Lance Taylor  <ian@cygnus.com>
9659
9660         * mips.h ({,SUBTARGET_}MIPS_AS_ASM_SPEC): Define.
9661         ({GAS,TARGET,SUBTARGET}_ASM_SPEC): Define.
9662         (SUBTARGET_ASM_{OPTIMIZING,DEBUGGING}_SPEC): Define.
9663         (ASM_SPEC): Rewrite to use above specs.
9664         (SUBTARGET_CPP{,_SIZE}_SPEC): Define.
9665         (CPP_SPEC): Use above specs.  Don't define _LANGUAGE_C if C++ or
9666         Objective C.
9667         ({,SUBTARGET_}EXTRA_SPECS): Define.
9668         * mips/dec-bsd.h ({CPP,ASM}_SPEC): Don't define.
9669         * mips/dec-osf1.h (CPP_SPEC): Don't define.
9670         (SUBTARGET_CPP_SIZE_SPEC): Define.
9671         * mips/elf64.h (CPP_SPEC): Don't define.
9672         (SUBTARGET_CPP_SPEC): Define.
9673         * mips/gnu.h (TARGET_DEFAULT): Define.
9674         (ASM_SPEC): Don't define.
9675         * mips/iris3.h (CPP_SPEC): Don't define.
9676         (SUBTARGET_CPP_SPEC): Define.
9677         * mips/iris4loser.h (ASM_SPEC): Don't define.
9678         (SUBTARGET_MIPS_AS_ASM_SPEC): Define.
9679         (SUBTARGET_ASM_OPTIMIZING_SPEC): Define.
9680         * mips/iris5.h (CPP_SPEC): Don't define.
9681         (SUBTARGET_CPP_SPEC): Define.
9682         * mips/iris6.h ({CPP,ASM}_SPEC): Don't define.
9683         (SUBTARGET_{CPP,ASM,MIPS_AS_ASM,ASM_DEBUGGING}_SPEC): Define.
9684         * mips/netbsd.h ({CPP,ASM}_SPEC): Don't define.
9685         (SUBTARGET_CPP_SPEC): Define.
9686         * mips/osfrose.h ({CPP,ASM,ASM_FINAL}_SPEC): Don't define.
9687         (SUBTARGET_CPP{,_SIZE}_SPEC): Define.
9688         * mips/sni-svr4.h (CPP_SPEC): Don't define.
9689         (SUBTARGET_CPP_SIZE_SPEC): Define.
9690
9691 Thu Oct 10 17:58:49 1996  Jason Merrill  <jason@yorick.cygnus.com>
9692
9693         * mips/iris6.h (ASM_OUTPUT_SECTION_NAME): Define.
9694         (DWARF_OFFSET_SIZE): Define.
9695
9696         * dwarf2out.c (most everywhere): Support SGI/MIPS -mabi=64 by fixing
9697         code which assumed pointers are 4 bytes long, parameterizing many
9698         sizes on DWARF_OFFSET_SIZE and using DELTA instead of DELTA4,
9699         DATA instead of DATA4, FORM_ref instead of FORM_ref4.
9700         (DWARF_ROUND, UNALIGNED_DOUBLE_INT_ASM_OP): New macros.
9701         (UNALIGNED_WORD_ASM_OP, ASM_OUTPUT_DWARF_DELTA): Likewise.
9702         (ASM_OUTPUT_DWARF_DATA, DW_FORM_data, DW_FORM_ref): New macros.
9703         (gen_variable_die): Only equate_decl_number_to_die if
9704         decl is TREE_STATIC.
9705         (get_AT): Fix thinko.
9706
9707         * dwarf2out.c (constant_size): New fn.
9708         (size_of_die): Use it instead of assuming 4 bytes.
9709         (output_value_format, output_die): Likewise.
9710         (build_abbrev_table): Need new abbrev if size of constant differs.
9711         (dwarf_attr_name): Add new SGI/MIPS extensions.
9712         (gen_subprogram_die): Support DW_AT_MIPS_has_inlines.
9713         (gen_inlined_subroutine_die): Likewise.
9714
9715 Thu Oct 10 16:38:58 1996  Ian Lance Taylor  <ian@cygnus.com>
9716
9717         * mips.md (mov[sd]fcc): Use register_operand, not reg_or_0_operand,
9718         for source predicates.
9719
9720 Thu Oct 10 15:19:38 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
9721
9722         * rs6000.md (floatsidf2_load): For large stack frames, do not
9723         generate an illegal memory reference.
9724         (movdi, movdf define_splits): Fix code so that it works for either
9725         big or little endian hosts generating code for either big or
9726         little endian targets.
9727
9728         (from Jim Wilson)
9729         * rs6000.c (rs6000_save_toc_p): Delete global variable.
9730         (rs6000_{save,restore}_machine_status): Do not save/restore it.
9731         (rs6000_init_expanders): Do not initialize it.
9732         (rs6000_stack_info): Always create TOC save space.
9733
9734         * rs6000.md (NT indirect call insns): Do not set
9735         rs6000_save_toc_p.
9736
9737         * rs6000.h (rs6000_save_toc_p): Delete declaration.
9738
9739 Wed Oct  9 18:06:54 1996  Ian Lance Taylor  <ian@cygnus.com>
9740
9741         * mips.h (EMPTY_FIELD_BOUNDARY): Define as 32.
9742         * mips/abi64.h (EMPTY_FIELD_BOUNDARY): Don't define.
9743
9744         * mips/abi64.h (TARGET_DEFAULT, TARGET_LONG64, CPP_PREDEFINES,
9745         CPP_SPEC): Move from here...
9746         * mips/iris6.h: ...to here.
9747
9748 Wed Oct  9 16:43:51 1996  Jim Wilson  <wilson@cygnus.com>
9749
9750         * configure (i[3456]86-dg-dgux): Use install-headers-cpio.
9751
9752         * expr.c (store_constructor): Delete unnecessary increment.
9753
9754 Wed Oct  9 16:29:22 1996  Gavin Koch <gavin@cetus.cygnus.com>
9755
9756         * cccp.c (do_include): Treat ENOTDIR like ENOENT when an open fails.
9757
9758 Wed Oct  9 16:26:57 1996  Paul Eggert  <eggert@twinsun.com>
9759
9760         * gcc.c (default_compilers): -ansi no longer implies -$ to cpp.
9761         * c-lex.c (yylex): Treat `$' just like `_', except issue a
9762         diagnostic if !dollars_in_ident or if pedantic.
9763         * c-decl.c (dollars_in_ident): DOLLARS_IN_IDENTIFIERS is now Boolean.
9764         (c_decode_option): -fdollars-in-identifiers is now independent
9765         of -ansi, of -traditional, and of DOLLARS_IN_IDENTIFIERS.
9766         * cexp.y (initialize_random_junk): Ignore DOLLARS_IN_IDENTIFIERS.
9767         * cccp.c (dollars_in_ident): Remove; replaced by is_idchar['$'].
9768         (main): Initialize is_idchar and is_idstart directly when given -$.
9769         Ignore DOLLARS_IN_IDENTIFIERS.
9770         (rescan): Diagnose $ in identifier if pedantic.
9771         (initialize_char_syntax): Assume $ is allowed in identifier;
9772         `main' will change this if -$ is given.
9773         * cpplib.h (DOLLARS_IN_IDENTIFIERS): Remove.
9774         * cpplib.c (cpp_options_init): Ignore DOLLARS_IN_IDENTIFIERS.
9775         (parse_name): Diagnose $ in identifier if pedantic.
9776         (cpp_handle_options): -traditional no longer messes with
9777         dollars_in_ident.
9778         * i386/dgux.h, m68k/apollo68.h (DOLLARS_IN_IDENTIFIERS): Remove.
9779         * m88k.h, mips.h, nextstep.h, pa.h (DOLLARS_IN_IDENTIFIERS): Remove.
9780         * vax/ultrix.h, vax/vms.h (DOLLARS_IN_IDENTIFIERS): Remove.
9781         * convex.h (OVERRIDE_OPTIONS): Don't need to set
9782         dollars_in_ident any more, since -ansi doesn't change it.
9783
9784 Wed Oct  9 07:35:47 1996  Doug Evans  <dje@cygnus.com>
9785
9786         * Allow prefix attributes in more places.
9787         * c-parse.in: Update number of shift/reduce conflicts.
9788         ({typed_declspecs,reserved_declspecs,declmods}_no_prefix_attr): New.
9789         (current_declspecs): Initialize to NULL_TREE.
9790         (fndef): Pass current_declspecs, not $1, to start_function.
9791         (old_style_parm_decls): Renamed from xdecls.
9792         (datadecl, declmods): Add references to new rules.
9793         (setspecs): Call split_specs_attrs.
9794         (absdcl1): Remove case with setattrs.
9795         * c-common.c (split_specs_attrs): New function.
9796
9797 Wed Oct  9 05:48:43 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9798
9799         * sdbout.c: Include defaults.h.
9800         * Makefile.in (sdbout.o): Make dependency list match included files.
9801
9802         * fold-const.c (range_test): Function deleted.
9803         (range_binop, make_range, build_range_check): New functions.
9804         (merge_ranges, fold_range_test): Likewise.
9805         (fold_truthop): No longer call range_test.
9806         (fold, case TRUTH_{AND,OR}{,IF}_EXPR): Call fold_range_test.
9807
9808 Tue Oct  8 22:03:32 1996  Torbjorn Granlund  <tege@nada.kth.se>
9809
9810         * configure: Set cpu_type for pyramid.
9811
9812 Tue Oct  8 21:54:04 1996  Jason Merrill  <jason@yorick.cygnus.com>
9813
9814         * final.c (final_start_function): Call dwarfout_begin_prologue.
9815
9816         * dwarf2out.c (pubname_*, arange_*): New data for .debug_pubnames
9817         and .debug_aranges sections.
9818         (add_pubname): New fn.
9819         (size_of_pubnames): Reimplement.
9820         (output_pubnames): Likewise.
9821         (add_arange): New fn.
9822         (size_of_aranges): Include function sections.
9823         (output_aranges): Likewise.
9824         (gen_variable_die): Call add_pubname.
9825         (add_name_and_src_coords_attributes): Use DECL_ASSEMBLER_NAME for now.
9826         (decl_start_label): Renamed from function_start_label.
9827         (gen_subprogram_die): If weak or one_only, use a local label for 
9828         AT_low_pc.  Call add_pubname and add_arange.
9829         (dwarfout_begin_prologue): New fn.  Start up FDE here. 
9830         (dwarfout_begin_function): Not here.
9831         (get_AT): Split out.  Look in specification and abstract_origin DIEs.
9832         (get_AT_low_pc, get_AT_string, get_AT_flag, get_AT_unsigned, 
9833         get_AT_hi_pc): Use it.
9834         (dwarfout_finish): Variables can produce pubnames, too.
9835
9836 Tue Oct  8 19:35:40 1996  Torbjorn Granlund  <tege@nada.kth.se>
9837
9838         * m88k/dgux.h (CPP_SPEC): Avoid newline in the string.
9839
9840         * final.c (final): Update insn_current_address before calling
9841         final_scan_insn.
9842
9843 Tue Oct  8 17:52:02 1996  Jim Wilson  <wilson@cygnus.com>
9844
9845         * unroll.c (unroll_loops): Set local_regno only if set_dominates_use
9846         returns true.
9847         (set_dominates_use): New function.
9848
9849 Tue Oct  8 16:01:37 1996  Doug Evans  <dje@cygnus.com>
9850
9851         * c-typeck.c (decl_constant_value): Delete test for ! TREE_PUBLIC.
9852
9853 Tue Oct  8 10:36:44 1996  Jeffrey A Law  (law@cygnus.com)
9854
9855         * pa.c (hppa_legitimize_address): Remove test code accidentally left
9856         in during last change.
9857
9858 Mon Oct  7 19:55:02 1996  Jim Wilson  <wilson@cygnus.com>
9859
9860         * sched.c (schedule_block): Before scheduling, add code to make all
9861         call used regs not fixed or global live when we see a CALL_INSN.
9862         During scheduling, change existing code to use same test.
9863
9864         * varasm.c (bss_section): Delete unused parameters.
9865
9866 Mon Oct  7 16:24:21 1996  Jason Merrill  <jason@yorick.cygnus.com>
9867
9868         * dwarf2.h: Add new SGI/MIPS attributes.
9869
9870         * dwarf2out.c (*_separate_line_info_*): Parallel line number
9871         information for functions defined in sections other than .text.
9872         (size_of_line_info): Support it.
9873         (output_line_info, dwarfout_line): Likewise.
9874         (gen_compile_unit_die): Don't add high/low_pc or stmt_list
9875         attributes here.
9876         (dwarfout_finish): Add them here if appropriate.
9877         (remove_AT): Free removed attribute properly.
9878         (gen_type_die): Don't assume a nested type is complete.
9879         (dwarfout_finish): Don't emit line info if it would be empty.
9880
9881         * dwarfout.c (output_block): Don't emit a DIE for a body block.
9882         (output_decls_for_scope): Don't increment next_block_number for the
9883         outer block.
9884         (output_decl): Start from the outer block, not
9885         the first inner block since there can be more than one in C++.
9886         (type_tag): Handle C++ TYPE_NAME.
9887         (output_type): Fix handling of TYPE_METHODS.
9888         (output_decl): Don't output a DIE for artificial typedefs.
9889
9890 Mon Oct  7 15:47:29 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
9891
9892         * rs6000.md (movdi define_splits): Fix previous change to work
9893         on both little and big endian hosts.
9894
9895 Sun Oct  6 16:52:34 1996  Jeffrey A Law  (law@cygnus.com)
9896
9897         * pa.h (combinable_fsub): Don't return without a value.
9898
9899 Sun Oct  6 14:05:39 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
9900
9901         * rs6000.md (mov{df,di} define_splits): Use split_double to
9902         properly split CONST_DOUBLEs.
9903         (movdi): Likewise.
9904
9905 Sat Oct  5 08:43:14 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9906
9907         * i386/cygwin32.h (LIB_SPEC): Add support for -mwindows.
9908         Always pass -lkernel32.
9909         (LIBGCC_SPEC): Don't delete.
9910         (STARTFILE_SPEC): Remove always-true conditionalization.
9911         (LONG_DOUBLE_TYPE_SIZE): Use default.
9912
9913 Fri Oct  4 17:22:53 1996  Jason Merrill  <jason@yorick.cygnus.com>
9914
9915         * toplev.c (rest_of_type_compilation): Don't emit DWARF for member
9916         types of a type we haven't emitted yet.
9917         (compile_file): Still emit DWARF for pending tagged types.
9918
9919         * final.c (final_scan_insn): Do emit DWARF labels for level 1 blocks.
9920
9921         * dwarf2out.c (gen_subprogram_die): Start from the outer block, not
9922         the first inner block since there can be more than one in C++.
9923         (gen_lexical_block_die): Keep track of the block depth.
9924         (gen_block_die): Don't emit a DIE for a body block.
9925         (gen_inlined_subroutine_die): Don't emit anything for an
9926         abstract instance.
9927         (decls_for_scope): Don't increment next_block_number for the
9928         outer block.
9929
9930 Fri Oct  4 15:27:55 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
9931
9932         * sh.h (PRESERVE_DEATH_INFO_REGNO_P): Define.
9933
9934         * sh.c (sfunc_uses_reg): New function.
9935         (noncall_uses_reg, machine_dependent_reorg, final_prescan_insn):
9936         Handle special functions like function calls for purposes of relaxing.
9937         (noncall_uses_reg): Added some missing cases of registers
9938         being used in non-call instructions.
9939
9940 Fri Oct  4 10:51:40 1996  Jason Merrill  <jason@yorick.cygnus.com>
9941
9942         * dwarf2out.c: Tear out backchaining brain damage.
9943         (remove_AT, remove_children): New functions.
9944         (modified_type_die): Call gen_type_die instead of backchaining.
9945         (gen_subprogram_die): Don't generate a new specification DIE for 
9946         member functions defined in the class; use the declaration DIE instead.
9947         (gen_struct_or_union_type_die): Support DW_AT_declaration.
9948         (gen_type_die): Don't set TREE_ASM_WRITTEN on incomplete structs.
9949         (gen_decl_die): Revert previous change; it's much simpler to emit 
9950         the class from rest_of_type_compilation.
9951
9952 Fri Oct  4 09:54:21 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
9953
9954         * Make sure we have enough registers for the insns we recognize.
9955         * i386.h (flag_omit_frame_pointer, outer_function_chain): Declare.
9956         (current_function_calls_alloca): Likewise
9957         (rtx_equal_function_value_matters): Likewise
9958         (N_REGS_USED, N_ALLOCATABLE_REGISTERS): Define.
9959
9960         * i386.md (adddi3_1, subdi3_1): Insns renamed from adddi3 and subdi3;
9961         added missing earlyclobbers.
9962         (adddi3_1): Removed duplicates from commutativity.
9963         (adddi3, subdi3): New define_expands.
9964         (movsf, movsf_mem, movsf_normal, movdf, movdf_mem , movdf_mem+1): Take
9965         number of used vs. available registers into account.
9966         (movxf, movxf_mem, movxf_mem+1, addsidi3_1, addsidi3_2): Likewise.
9967         (adddi3_1, subsidi3, subdi3_1): Likewise.
9968         (addsidi3_1, addsidi3_2, subsidi3): Need no generate function.
9969
9970         * i386.c (asm_output_function_prefix): Don't use
9971         ASM_DECLARE_FUNCTION_NAME if it is not defined.
9972
9973 Fri Oct  4 07:01:55 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
9974
9975         * stor-layout.c (layout_decl): Don't turn off DECL_BIT_FIELD
9976         if DECL's alignment is less than its type.
9977
9978 Thu Oct  3 19:42:30 1996  Jason Merrill  <jason@yorick.cygnus.com>
9979
9980         * toplev.c (rest_of_type_compilation): Also do this for DWARF.
9981         (compile_file): Don't try to write out DWARF for vars with no RTL.
9982
9983 Thu Oct  3 18:31:28 1996  Doug Evans  <dje@cygnus.com>
9984
9985         * ginclude/{stdarg.h,varargs.h}: Use #include "", not #include <>.
9986
9987 Wed Oct  2 17:29:53 1996  Ian Lance Taylor  <ian@cygnus.com>
9988
9989         * fixincludes: Add a hack to the big sed script to work around a
9990         bug in the sed implementation on HP/UX 10.20.
9991
9992 Wed Oct  2 16:53:56 1996  Jason Merrill  <jason@yorick.cygnus.com>
9993
9994         * dwarf2out.c (modified_type_die): Don't generate redundant DIEs.
9995         (gen_{array,pointer,reference,ptr_to_mbr}_type_die): Likewise.
9996         (gen_{subroutine,string,set}_type_die): Likewise.
9997
9998         * dwarf2out.c: Undo text_end_label, add_src_coords changes.
9999         (addr_const_to_string): Fix typos.
10000         (decl_class_context, get_AT_unsigned): New functions.
10001         (gen_subprogram_die): Only emit src coords info for a specification
10002         if they changed.
10003         (gen_variable_die): Support DW_AT_declaration and DW_AT_specification.
10004         (gen_decl_die): Avoid generating redundant DIEs for member functions
10005         and variables.
10006
10007 Wed Oct  2 11:22:50 1996  Jeffrey A Law  (law@cygnus.com)
10008
10009         * pa.h (EXTRA_CONSTRAINT): Loosen conditions for match of
10010         'Q' and 'T' while reload is running.
10011         * pa.c (hppa_legitimize_address): Rework to generate more
10012         indexed and scaled indexed addressing.
10013         * pa.md (scaled indexed store): Add define_splits to undo
10014         pessimizations created by hppa_legitimize_address for integer stores.
10015
10016         * pa.c (remove_useless_addtr_insns): New function.
10017         (pa_reorg): Delete code to remove useless add,tr insns.
10018         Instead call remove_useless_addtr_insns.
10019         (output_function_prologue): Call remove_useless_addtr_insns
10020         to catch any add,tr insns created by reorg.
10021
10022         * pa.c (secondary_reload_class): Remove duplicate/useless code.
10023
10024         * pa.h (PARSE_LDD_OUTPUT): Handle output from hpux10.20 "chatr".
10025
10026 Tue Oct  1 17:23:32 1996  Jason Merrill  <jason@yorick.cygnus.com>
10027
10028         * dwarf2out.c (text_end_label): New static.
10029         (size_of_line_info): The final entry is smaller.
10030         (output_aranges): Use TEXT_SECTION instead of TEXT_BEGIN_LABEL and
10031         text_end_label instead of TEXT_END_LABEL.
10032         (gen_compile_unit_die): Likewise.
10033         (output_line_info): Likewise.  Use a fixed advance for the last entry.
10034         (dwarfout_init): Don't output starting labels.
10035         (dwarfout_finish): Set up text_end_label.  Don't output ending labels.
10036
10037         (add_pure_or_virtual_attribute): Don't say pure virtual for now.
10038         (type_tag): Handle C++ TYPE_NAME.
10039         (gen_formal_parameter_die): Support DW_AT_artificial.
10040         (gen_formal_types_die): Do emit the type for 'this'.
10041         (gen_member_die): Fix handling of TYPE_METHODS.
10042         (gen_decl_die): Do output a DIE for member function declarations.
10043         Don't output a DIE for artificial typedefs.
10044
10045         (add_member_attribute): Remove, not in DWARF-II.
10046         (gen_array_type_die): Remove ref to add_member_attribute.
10047         (gen_set_type_die, gen_entry_point_die, gen_enumeration_type_die,
10048         gen_subprogram_die, gen_variable_die, gen_field_die,
10049         gen_pointer_type_die, gen_reference_type_die, gen_ptr_to_mbr_type_die,
10050         gen_string_type_die, gen_struct_or_union_type_die,
10051         gen_subroutine_type_die, gen_typedef_die): Likewise.
10052
10053         (get_AT_flag): New fn.
10054         (add_src_coords_attributes): Split out...
10055         (add_name_and_src_coords_attributes): From here.
10056         (gen_subprogram_die): Support DW_AT_declaration and 
10057         DW_AT_specification. 
10058
10059         (gen_compile_unit_die): Don't emit full pathname for source file; 
10060         comment claimed that SGI required it, but they don't emit it either.
10061         Append -g to producer rather than replacing it.
10062
10063 Tue Oct  1 14:19:23 1996  Jim Wilson  <wilson@cygnus.com>
10064
10065         * gcc.c (used_arg): When call xmalloc for mswitches, pass 1 if
10066         n_switches is zero.
10067
10068 Mon Sep 30 17:46:26 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
10069
10070         * sh.c (gen_shl_and, gen_shl_sext): Use gen_lowpart to
10071         generate rtx in the appropriate mode for zero/sign-extension.
10072         Don't generate a zero bit shift.
10073         (gen_shl_sext) Directly use gen_ashift instead of gen_ashrsi3.
10074
10075 Mon Sep 30 17:17:56 1996  Ian Lance Taylor  <ian@cygnus.com>
10076
10077         * fixinc.svr4: In math.h, redefine exception to __math_exception
10078         for C++, to avoid conflict with <exception>.
10079         * fixincludes: Likewise.
10080         Fix check for class in math.h to not match fp_class.
10081
10082 Mon Sep 30 17:15:19 1996  Jim Wilson  <wilson@cygnus.com>
10083
10084         * iris6.h (ASM_SPEC): Add -w.
10085         (STARTFILE_SPEC): Add mips3 to n32 pathnames.
10086         Add -L/usr/lib32/mips for n32 cases.
10087         (ENDFILE_SPEC): Add mips3 to n32 pathnames.
10088
10089 Mon Sep 30 13:20:31 1996  Ian Lance Taylor  <ian@cygnus.com>
10090
10091         * genopinit.c (gen_insn): Look through the modes in reverse order,
10092         to avoid stopping early on CC when EXTRA_CC_MODES is used.
10093
10094         * fixincludes: Add extern "C" to <sys/mman.h> on HP/UX.
10095
10096 Sun Sep 29 12:39:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
10097
10098         * c-typeck.c (pointer_diff): Do not do default conversions when
10099         doing the minus expression, in case restype is a short type.
10100
10101 Sun Sep 29 11:22:10 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
10102
10103         * tree.c (build_complex): Add new argument, TYPE.
10104         * tree.h (build_complex): Likewise.
10105         * c-lex.c (yylex): Add new arg, TYPE, to call to build_complex.
10106         * fold-const.c (const_binop): Likewise.
10107         (fold, case CONJ_EXPR, COMPLEX_EXPR): Likewise.
10108         * varasm.c (copy_constant, case COMPLEX_CST): Likewise.
10109         * expr.c (expand_expr, case COMPONENT_REF): Don't try to directly
10110         load a complex.
10111         * recog.c (register_operand): Don't reject subreg of complex mode.
10112         * emit-rtl.c (mark_user_reg): New function.
10113         * function.c (assign_parms): Use it.
10114         * stmt.c (expand_decl): Likewise, and simplify code.
10115
10116         * tree.c (contains_placeholder): Return 1 for PLACEHOLDER_EXPR.
10117
10118         * expr.c (store_expr): memset/bzero gets ptr_mode, not Pmode.
10119
10120         * stmt.c (expand_asm_operands): Fix errors in previous patches.
10121
10122         * x-linux: Simplify, but ensure headers aren't changed.
10123
10124         * getpwd.c: No longer include direct.h for _WIN32.
10125
10126         * configure (i[3456]86-*-isc*): Remove bogus echo.
10127         (m68k-apple-aux*): a-ux.h renamed from aux.h.
10128         (CC): Escape "$" char in "no-symlink" case for bash/cygwin32 bug.
10129
10130         * Makefile.in (installdirs): Renamed from install-dir.
10131         Create $(prefix) and $(exec_prefix) if doesn't exist.
10132         (install-float): Reflect new name for installdirs.
10133         (install-{common,info,man,libgcc,multilib,libobjc}): Likewise.
10134         (install-{include-dir,assert-h,collect2}): Likewise.
10135
10136         * reload1.c (gen_reload): Handle SUBREG in PLUS specially too.
10137         Change calls to emit_move_insn to recursive calls.
10138
10139         * stmt.c (fixup_gotos): When running undefined labels, if no cleanup
10140         actions for this block, don't clear BEFORE_JUMP.
10141
10142 Fri Sep 27 13:48:21 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
10143
10144         * c-decl.c (init_decl_processing): Create short int types before
10145         creating size_t in case a machine description needs to use
10146         unsigned short for size_t.
10147
10148 Fri Sep 27 12:28:54 1996  Stan Cox  <coxs@dg-rtp.dg.com>
10149
10150         * gcc.c (do_spec_1): Allow -A in %[Spec].
10151         
10152         * i386.h (CPP_CPU_SPEC): New. Added for defining the submodel.
10153
10154         * i386.c (asm_output_function_prefix, function_prologue,
10155         ix86_expand_prologue): Make the routine that sets the GOT (when pic
10156         is enabled) a function, to assist debugging.
10157
10158         * i386.md (gen_prologue_get_pc): Call the function created above.
10159         (divdf3): Added. 
10160         
10161         * i386/dgux.h (CPP_PREDEFINES, CPP_SPEC): Reference CPP_CPU_SPEC.
10162         Use svr4 assembler directive .backalign instead of .align.  
10163         (align to x bytes if it takes no more than y bytes to do so.)
10164
10165         * i386/{aix386ng.h,dgux.h} (CPP_SPEC): Use %[cpp_cpu].
10166         * i386/{freebsd-elf,gas,isc,linux-aout}.h: Likewise.
10167         * i386/{linux-oldld,linux,osfelf,osfrose,sco,sco4}.h: Likewise.
10168         * i386/{sco4dbx,sco5,sol2,sysv3}.h: Likewise.
10169
10170 Thu Sep 26 17:58:34 1996  Torbjorn Granlund  <tege@matematik.su.se>
10171
10172         * m68k.md (mulsidi3 matcher): Change predicate const_int_operand
10173         to const_sint32_operand.  Get rid of bogus range condition.
10174
10175 Thu Sep 26 17:12:00 1996  Jim Wilson  <wilson@cygnus.com>
10176
10177         * Makefile.in (stmp-int-hdrs): Don't cd to srcdir before copying
10178         header files to objdir.
10179
10180 Wed Sep 25 21:22:57 1996  Jeffrey A Law  (law@cygnus.com)
10181
10182         * h8300.h (FIRST_PSEUDO_REGISTER, ARG_POINTER_REGNUM): Bump up by one.
10183         (FIXED_REGISTERS): Add entry for MAC register.
10184         (CALL_USED_REGISTERS, REG_ALLOC_ORDER): Likewise.
10185         (HARD_REGNO_NREGS): Handle MAC register.
10186         (HARD_REGNO_MODE_OK, REGNO_OK_FOR_BASE_P, REGISTER_NAMES): Likewise.
10187         (enum reg_class): New MAC_REGS register class.
10188         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Corresponding changes.
10189         (REG_CLASS_FROM_LETTER): Likewise.
10190         (REGISTER_MOVE_COST): Make copies to/from MAC register expenseive.
10191         (CONDITIONAL_REGISTER_USAGE): Define.
10192         * h8300.md (movsi_h8300hs): Renamed from movsi_h8300h.
10193         Handle moves to/from the MAC register.
10194         (mac): Two new patterns to use the mac instruction.
10195
10196         * h8300.c (notice_update_cc): Fix CC_SET case.
10197         (restore_compare_p): Remove unused function.
10198         * h8300.md: Handle "set" vs "set_zn_c0" correctly.
10199         (bCC patterns): No longer need to call restore_compare_p.
10200
10201         * h8300.c (get_shift_alg): Fix HImode ASHIFTRT by 13 or 14 bits.
10202
10203 Wed Sep 25 18:52:19 1996  Joern Rennecke <amylaar@cygnus.co.uk> 
10204
10205         * sh.md (insv): New pattern.
10206
10207 Wed Sep 25 16:47:26 1996  Doug Evans  <dje@seba.cygnus.com>
10208
10209         * sparc/t-sunos41 (MULTILIB_{OPTIONS,DIRNAMES,MATCHES}): Create
10210         multilib versions of -fpic and -fPIC.
10211         (TARGET_LIBGCC2_CFLAGS): Comment out.
10212
10213         * sparc.c (print_operand): Handle new codes H/L.
10214         * sparc.md (lo_sum_di_sp32): Add little endian support.
10215         (adddi3_sp32,subdi3_sp32,mulsidi3_sp32,const_mulsidi3): Likewise.
10216         (umulsidi3_sp32,const_umulsidi3,smacdi,umacdi,anddi3_sp32): Likewise.
10217         (iordi3_sp32,xordi3_sp32,negdi2_sp32): Likewise.
10218
10219 Wed Sep 25 15:32:35 1996  Jim Wilson  <wilson@cygnus.com>
10220
10221         * expmed.c (store_bit_field): Don't make flag_force_mem disable insv
10222         for memory operands.
10223         
10224         * function.c (instantiate_decl): Always store addr back into x.
10225
10226 Tue Sep 24 19:37:00 1996  Jim Wilson  <wilson@cygnus.com>
10227
10228         * reload.c (push_secondary_reload): Do strip paradoxical SUBREG
10229         even if reload_class is CLASS_CANNOT_CHANGE_SIZE.  Change reload_mode
10230         to mode in SECONDARY_MEMORY_NEEDED and get_secondary_mem calls.
10231
10232         * reload1.c (emit_reload_insns): For output part of RELOAD_OTHER,
10233         emit after RELOAD_FOR_OUTPUT, in reverse order of reload number,
10234         but not separately.
10235
10236 Tue Sep 24 18:13:07 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
10237
10238         * expr.c (emit_group_load): Allow target to be smaller than source.
10239
10240 Tue Sep 24 17:40:39 1996  Doug Evans  <dje@cygnus.com>
10241
10242         * m68k/a-ux.h: Renamed from aux.h because of MSDOS.
10243
10244 Tue Sep 24 08:33:53 1996  David S. Miller  (davem@caip.rutgers.edu)
10245
10246         * tree.c (copy_node): Fix error in last change.
10247
10248 Tue Sep 24 08:29:03 1996  James G. Smith  <jsmith@cygnus.co.uk>
10249
10250         * gcc.c (used_arg): Fix multilib_matches parsing to not corrupt
10251         entry parameter.
10252
10253 Tue Sep 24 08:22:18 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
10254
10255         * loop.c (get_condition): Use rtx_equal_p to compare rtx.
10256
10257 Tue Sep 24 08:14:01 1996  Christian Iseli  <Christian.Iseli@lslsun.epfl.ch>
10258
10259         * integrate.c (expand_inline_function): Avoid creating paradoxical
10260         subreg wider than BITS_PER_WORD as inlined function result.
10261
10262 Tue Sep 24 08:00:15 1996  Paul Eggert  <eggert@twinsun.com>
10263
10264         * cccp.c (struct directive, directive_table, handle_directive):
10265         pass_thru now 1 for #define and 2 for #pragma.
10266         (handle_directive): When deciding whether to suppress comment at end
10267         of directive, ignore tabs and spaces after comment.  Remove redundant
10268         limit test.  With -dD -C, copy comment when isolating definition.
10269         (skip_to_end_of_comment): With -C, don't copy newline at end
10270         of C++ comment.
10271
10272         * fixinc.ptx, fixinc.svr4, fixincludes: Insert newlines just before
10273         end of 'sed' command strings if last 'sed' command is 'a' or 'i'.
10274
10275 Tue Sep 24 07:28:58 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
10276
10277         * toplev.c (PREFERRED_DEBUGGING_TYPE): If no debugging formats are
10278         supported, set to NO_DEBUG.
10279         (main): Don't do setting of PREFERRED_DEBUGGING_TYPE here.
10280
10281 Mon Sep 23 22:45:15 1996  Sean McNeil  <sean@mcneil.com>
10282
10283         * rs6000/vxppc.h, sparc/vxsim.h: New files.
10284         * configure (powerpc-*-vxworks*, sparc-*-vxsim*): New targets.
10285         * objc/objc.h (BOOL): Define BOOL as int for VxWorks.
10286
10287 Mon Sep 23 21:23:27 1996  Klaus K"ampf  (kkaempf@progis.de)
10288
10289         * explow.c (promote_mode, case REFERENCE_TYPE): New case.
10290
10291 Mon Sep 23 21:15:43 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10292
10293         * c-decl.c (finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value.
10294
10295         * dbxout.c (dbxout_symbol): Fix forgotten case in last change:
10296         check DECL_ARTIFICIAL also when using the short cut way.
10297
10298 Mon Sep 23 15:55:24 1996  David S. Miller  (davem@caip.rutgers.edu)
10299
10300         * tree.c (copy_node): Abort if don't know size of node.
10301
10302         * tree.c (build1): Clean up initialization of OBSTACK.
10303
10304 Mon Sep 23 15:35:33 1996  Jason Merrill  <jason@yorick.cygnus.com>
10305
10306         * Makefile.in (stmp-multilib): Depend on $(LANG_LIB2FUNCS).
10307
10308         * dbxout.c (dbxout_function): Don't check DECL_SECTION_NAME before
10309         calling dbxout_function_end.
10310
10311 Mon Sep 23 14:41:12 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
10312
10313         * combine.c (can_combine_p): Even if SMALL_REGISTER_CLASSES,
10314         know lifetime not extended if all_adjacent set.
10315
10316         * stmt.c (expand_asm_operands): Handle '+' constraint.
10317         * cse.c (fold_rtx): Fold inside ASM_OPERANDS.
10318
10319         * expr.c (expand_increment): If postincrement for MEM can't use add
10320         directly, load address in reg and enqueue increment and store of reg.
10321
10322         * loop.c (check_dbra_loop): Don't assume label must be second part of
10323         if_then_else in condjump.
10324
10325         * jump.c (jump_optimize): In no-nop move deletion, don't test
10326         PRESERVE_DEATH_INFO_REGNO_P; instead test if optimization is performed.
10327         Check for REG_UNUSED note on to-be deleted insn before searching for
10328         preceding instruction to delete note from.
10329         If PRESERVE_DEATH_INFO_REGNO_P is true for SREG, replace INSN with USE.
10330
10331         * reload1.c (reload): Initialize the previous_offset fields
10332         in reg_eliminate before calling setup_save_areas.
10333
10334         * reload1.c (emit_reload_insns): Declare and set this_reload_insn.
10335
10336         * expr.c (var_rtx): New function.
10337         (expand_expr, case COND_EXPR): Also use target if same as singleton.
10338
10339 Mon Sep 23 14:22:34 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
10340
10341         * recog.c (constrain_operands): Don't test clobbered constraints.
10342
10343         * reload1.c (emit_reload_insns): For output part of RELOAD_OTHER,
10344         put in front of anything previous for that output, but not separately.
10345
10346 Sun Sep 22 21:06:46 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
10347
10348         * c-common.c (decl_attribtes, case A_SECTION): Allow for static
10349         local variable.
10350
10351 Sun Sep 22 11:30:27 1996  Christian Iseli  (christian.iseli@di.epfl.ch)
10352
10353         * expr.c (convert_move): Replace explicit checks for FP extend ops
10354         with use of can_extend_p.
10355         Add missing tests for FP trunc operations.
10356
10357 Sun Sep 22 11:20:02 1996  Pat Rankin  <rankin@eql.caltech.edu>
10358
10359         * dwarfout.c (DWARF_VERSION): Define as 1 if not already defined.
10360         * dwarf2out.c (DWARF_VERSION): Likewise.
10361
10362 Sun Sep 22 11:12:20 1996  Joern Rennecke <amylaar@cygnus.co.uk>
10363
10364         * c-decl.c (pushdecl): Check new declaration actually conflicts before
10365         warning about implicit external vs. static declarations.
10366
10367         * loop.c (combine_givs): Improve combining DEST_REG giv with only use.
10368
10369 Sun Sep 22 10:50:03 1996  Scott Christley <scottc@net-community.com>
10370
10371         * Create consistent mechanism for memory allocation and release
10372         so that garbage collection routines can be easily subsititued
10373         for the ANSI standard malloc, realloc, free, etc.
10374         * objc/archive.c: Replace use of __objc_xmalloc and free 
10375         with objc_malloc and objc_free.
10376         * objc/hash.c: Replace use of __objc_xcalloc and free
10377         with objc_calloc and objc_free.
10378         * objc/init.c: Replace use of free with objc_free.
10379         * objc/misc.c (objc_malloc): Renamed from __objc_xmalloc.
10380         (objc_realloc): Renamed from __objc_realloc.
10381         (objc_atomic_malloc, objc_valloc): New functions.
10382         (objc_calloc): Renamed from __objc_calloc.
10383         (objc_free): New function.
10384         * objc/objc-api.h (_objc_malloc): New function pointer.
10385         (_objc_atomic_malloc, _objc_valloc): Likewise.
10386         (_objc_realloc, _objc_calloc, _objc_free): Likewise
10387         * objc/objc-list.h: Replace use of __obj_xmalloc and free
10388         with objc_malloc and objc_free.
10389         * objc/objects.c: Likewise.
10390         * objc/sarray.c: Replace use of __objc_xmalloc and free
10391         with objc_malloc and objc_free.
10392         * objc/sarray.h (__objc_xmalloc, __objc_xrealloc): Delete.
10393         * objc/selector.c: Replace use of __objc_xcalloc, __objc_xrealloc,
10394         and __objc_xmalloc with objc_calloc, objc_realloc, and objc_malloc.
10395         * objc/thr-decosf1.c: Replace use of __objc_xmalloc and free
10396         with objc_malloc and objc_free.
10397         * objc/thr-irix.c, objc/thr-mach.c, objc/thr-os2.c: Likewise.
10398         * objc/thr-posix.c, objc/thr-pthreads, objc/thr-single: Likewise.
10399         * objc/thr-solaris.c, objc/thr-win32.c, objc/thr.c: Likewise.
10400
10401 Sun Sep 22 05:26:01 1996  Jason Merrill  <jason@yorick.cygnus.com>
10402
10403         * configure: Set up LANG_LIB2FUNCS and LANG_EXTRA_HEADERS.
10404         * Makefile.in (libgcc2.a): Include LANG_LIB2FUNCS.
10405         (USER_H): Add LANG_EXTRA_HEADERS.
10406         (LANG_LIB2FUNCS): New macro.
10407         (LANG_EXTRA_HEADERS): New macro.
10408         (stmp-int-hdrs): Don't hardwire ginclude.
10409         (stamp-objlist): Don't depend on Makefile.
10410
10411 Sat Sep 21 18:00:10 1996  Stephen L Moshier  (moshier@world.std.com)
10412
10413         * alpha.md (alpha_swapped_comparison_operator pattern): Fix asm
10414         operand typo in last change.
10415
10416 Sat Sep 21 07:11:51 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
10417
10418         * defaults.h (ASM_OUTPUT_LABELREF): Provide default definition
10419         if not already defined.
10420         * 1750a.h (USER_LABEL_PREFIX): Define instead of ASM_OUTPUT_LABELREF.
10421         * a29k.h, alpha.h, convex.h, dsp16xx.h, elxsi.h, fx80.h: Likewise.
10422         * gmicro.h, h8300.h, i386/sun386.h, i860.h, i960.h, ns32k.h: Likewise.
10423         * pdp11.h, pyr.h, romp.h, sh.h, sparc.h, spur.h, tahoe.h: Likewise.
10424         * vax.h, we32k.h: Likewise.
10425         * i386/att.h (USER_LABEL_PREFIX): Redefine, not ASM_OUTPUT_LABELREF.
10426         * i386/bsd.h, i386/lynx.h, i386/sco5.h, i860/fx2800.h: Likewise.
10427         * m68k/3b1.h, m68k/mot3300.h, m68k/tower-as.h, m68k/tower.h: Likewise.
10428         * ptx4.h, sparc/pbd.h, svr3.h, svr4.h: Likewise.
10429         * i386/osfrose.h, m88k.h (USER_LABEL_PREFIX): Redefine.
10430         * nextstep.h (USER_LABEL_PREFIX): Redefine.
10431         (ASM_OUTPUT_LABELREF) Use USER_LABEL_PREFIX.
10432         * arm/aout.h, mips.h (ASM_OUTPUT_LABELREF): Delete.
10433         * rs6000/lynx.h (USER_LABEL_PREFIX): Undefine.
10434         * rs6000.h, rs6000/win-nt.h (USER_LABEL_PREFIX): Define.
10435
10436 Thu Sep 19 00:05:53 1996  Jason Merrill  <jason@yorick.cygnus.com>
10437
10438         * configure: Move i[3456]86-*-gnu* case after linux and don't
10439         treat linux-gnu like other gnu systems.
10440
10441 Wed Sep 18 20:51:09 1996  Jason Merrill  <jason@yorick.cygnus.com>
10442
10443         * cplus-dem.c (demangle_template): Fix handling of address args.
10444         (gnu_special): Handle type_info stuff.
10445
10446 Wed Sep 18 17:57:55 1996  Patrik Lantto (patrik@opq.se)
10447
10448         * jump.c (jump_optimize): Insert conditional move after jump
10449         insn instead of before. 
10450
10451 Wed Sep 18 17:33:36 1996  Richard Henderson  <rth@tamu.edu>
10452
10453         * alpha.h (PREDICATE_CODES): Add alpha_swapped_comparison_operator.
10454         * alpha.c (alpha_swapped_comparison_operator): New function.
10455         (print_operand): Support unsigned codes for %D, %c, and %d.
10456         * alpha.md: Add pattern for b%c with swapped comparisons with 0.
10457         Delete three unnamed cmp patterns that are strict subsets of it.
10458
10459         * alpha.c (alpha_emit_set_long_const): Save one instruction
10460         when -O2 and high word == low word.
10461
10462 Tue Sep 17 22:46:15 1996  Jason Merrill  <jason@yorick.cygnus.com>
10463
10464         * i386/unix.h (ASM_OUTPUT_MI_THUNK): Handle functions
10465         returning an aggregate.
10466
10467         * varasm.c (supports_one_only): New function.
10468         (make_decl_one_only): Likewise.
10469         * svr4.h (MAKE_DECL_ONE_ONLY): Define.
10470         * tree.h (DECL_ONE_ONLY): New macro.
10471
10472         * varasm.c (assemble_variable): Fix setting of
10473         first_global_object_name.
10474         (assemble_start_function): Likewise.
10475
10476 Tue Sep 17 19:42:39 1996  Doug Evans  <dje@wabamun.cygnus.com>
10477
10478         * i386/t-cygwin32 (winnt.o): Compile properly.
10479
10480 Tue Sep 17 15:47:20 1996  Ian Lance Taylor  <ian@cygnus.com>
10481
10482         * Add support for R5000, and finish MIPS4 support.
10483         * mips.h (enum processor_type): Add PROCESSOR_R5000.
10484         (gen_conditional_move): Declare.
10485         (CONDITIONAL_REGISTER_USAGE): Mark ST_REGS as fixed if not
10486         HARD_FLOAT, or if mips_isa < 4.
10487         (FIRST_PSEUDO_REGISTER): Change to 76.
10488         (FIXED_REGISTERS): Add condition code registers.
10489         (CALL_USED_REGISTERS): Likewise.
10490         (ST_REG_LAST): Change to 74.
10491         (RAP_REG_NUM): Change to 75.
10492         (ST_REG_P): Look for any condition code register.
10493         (REG_CLASS_CONTENTS): Update for new condition code registers.
10494         (RTX_COSTS): Add cases for R5000.
10495         (REGISTER_MOVE_COST): Add cases for condition code registers.
10496         (PREDICATE_CODES): Add "const_float_1_operand".
10497         (EXTRA_CC_{MODES,NAME}, SELECT_CC_MODE): Remove.
10498         (REGISTER_NAMES): Add entries for new condition code registers.
10499         (DEBUG_REGISTER_NAMES): Likewise.
10500         (ADDITIONAL_REGISTER_NAMES): Remove FPSW_REGNUM.
10501         * mips.md (cpu attribute): Add R5000.
10502         (function units): Add cases for the R5000.
10503         ({madd,msub,nmadd,nmsub}.d): Only available if TARGET_DOUBLE_FLOAT.
10504         (recip.d, recip.s, rsqrt.d, rsqrt.s): New define_insn patterns.
10505         (movcc): New pattern to move condition code values.
10506         (reload_incc, reload_out_cc): New define_expand patterns.
10507         (lwxc1, ldxc1, swxc1, sdxc1): Several new define_insn patterns.
10508         (various): Replace CC_FP with CC.
10509         (branch_fp_ne, branch_fp_eq): Match any condition code register.
10510         (branch_fp_ne_rev, branch_fp_eq_rev): Remove.
10511         (seq_df, slt_df, sle_df): Match any condition code register.
10512         (sgt_df, sge_df, seq_sf, slt_sf, sle_sf, sgt_sf, sge_sf): Likewise.
10513         (sne_df, sne_sf): Remove.
10514         (FP conditional moves): Match any condition code register.
10515         Require TARGET_HARD_FLOAT and, if appropriate, TARGET_DOUBLE_FLOAT.
10516         (movsicc): Just call gen_conditional_move.
10517         (movdicc, movsfcc, movdfcc): New define_expand patterns.
10518         * mips.c (mips_reg_names): Add condition code registers.
10519         (mips_sw_reg_names, mips_regno_to_class): Likewise.
10520         (const_float_1_operand): New function.
10521         (mips_move_1word): Treat CCmode as SImode.  Handle move from
10522         ST_REG to GR_REG if mips_isa >= 4.  Only permit move from GR_REG
10523         to ST_REG is mips_isa < 4.
10524         (gen_conditional_branch): Rewrite.  Just use CCmode, not extra
10525         condition modes.
10526         (gen_conditional_move): New function.
10527         (override_options): Recognize vr5000.  Look for just CCmode, not
10528         extra condition modes.  If mips_isa >= 4, permit CCmode in GR_REGS
10529         and FP_REGS.
10530         (print_operand): Handle %Z.
10531         (mips_secondary_reload_class): Require a data register to copy a
10532         value out of a condition code register.  Require a floating point
10533         register to copy a value into a condition code register.
10534
10535 Tue Sep 17 15:10:29 1996  Joern Rennecke <amylaar@cygnus.co.uk>
10536
10537         * sh.md: New define_splits to recombine output from LEGITIMIZE_ADDRESS.
10538         * sh.h (LEGITIMIZE_ADDRESS): Typo fixes (x -> X).
10539
10540 Mon Sep 16 23:00:35 1996  Jim Wilson  <wilson@cygnus.com>
10541
10542         * configure (build_broken_install): Renamed from host_broken_install.
10543         Set from build not host.
10544         (build_install_headers): Renamed from host_install_headers.  Set from
10545         build not host.
10546
10547 Mon Sep 16 22:38:55 1996  Stu Grossman  (grossman@critters.cygnus.com)
10548
10549         * configure (m68k-*-coff*): Use dbx debug format by default.
10550         * gcc.c (link_command_spec): Move -T to end of link command line.
10551         * m68k/m68kemb.h (LINK_SPEC, SUBTARTGET_SWITCHES): Delete.
10552         (LIB_SPEC): Define to just -lc.
10553         (STARTFILE_SPEC): Define to empty.
10554
10555 Mon Sep 16 13:12:27 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
10556
10557         * sh.c (ext_shift_insns, ext_shift_amounts): New arrays.
10558         (gen_ashift_hi, gen_shifty_hi_op, shl_and_kind): New functions.
10559         (rtx_equal_function_value_matters): Declare.
10560         (shl_and_length, shl_and_src_length, gen_shl_and): New functions.
10561         (shl_sext_kind, shl_sext_length, gen_shl_sext): Likewise.
10562         * sh.md (ashlhi3_k, lshrhi3_m): New patterns.
10563         (lshrhi3, shl_sext_ext, shl_sext_sub):
10564         New insn patterns with matching define_split.
10565         (and_shl_scratch): Likewise, but also with unnamed variants.
10566
10567 Sat Sep 14 17:05:07 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
10568
10569         * gcc.c (convert_filename): Don't start looking for '.' until
10570         after last directory separator.
10571
10572         * i386.md (clrstrsi): Correct check for constant size.
10573
10574         * Based on code by sac@cygnus.com.
10575         * i386/cygwin32.h (CHECK_STACK_LIMIT): Make consistent with MD file.
10576         * i386.c ({function,ix86_expand}_prologue): Use __alloca to allocate
10577         stack if desired and beyond CHECK_STACK_LIMIT in size.
10578         * i386.h ({MASK,TARGET}_STACK_PROBE): New macros.
10579         (TARGET_SWITCHES): Add -mstack-arg-probe.
10580         * i386.md (allocate_stack{,_worker}): New patterns.
10581
10582 Fri Sep 13 18:23:18 1996  Joel Sherrill <joel@OARcorp.com>
10583
10584         * sparc/lb1spc.asm (.div, .rem): Fixed typo so sign is returned
10585         correctly.  TOPBITS was 2 and should have been 4.
10586
10587 Thu Sep 12 21:51:56 1996  Jim Wilson  <wilson@cygnus.com>
10588
10589         * mips.md (call_value_multiple_internal0): Change from define_insn to
10590         define_expand.
10591
10592 Thu Sep 12 19:22:14 1996  Doug Evans  <dje@seba.cygnus.com>
10593
10594         * sparc.md (move_pic_label_si): Operand one is label_ref now.
10595         * sparc.c (emit_move_sequence): Pass label_ref to
10596         gen_move_pic_label_si to not lose flags.
10597
10598 Wed Sep 11 12:10:08 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
10599
10600         * Makefile.in (GCC_PASSES): Add $(exeext) to names.
10601         (FLAGS_TO_PASS): Add CLIB.
10602         (c-pragma.o): Add dependencies on except.h, function.h, defaults.h.
10603
10604 Tue Sep 10 22:25:03 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
10605
10606         * configure (i[3456]86-*-cygwin32): Use xm-cygwin32.h and xm-i386.h.
10607         Set fixincludes to Makefile.in and objc_thread_file to win32.
10608         * i386/xm-cywin32.h: Don't include xm-i386.h.
10609         * i386/x-cygwin32, rs6000/x-cygwin32 (STMP_FIXPROTO, exeext): New defs.
10610
10611         * gcc.c (HAVE_EXECUTABLE_SUFFIX): New macro.
10612         (convert_filename): New function.
10613         (process_command, case 'o'): Call it.
10614         (process_command, default case): Likewise; delete old code.
10615
10616 Tue Sep 10 21:08:43 1996  Torbjorn Granlund  <tege@albert.gnu.ai.mit.edu>
10617
10618         * i386.md (decrement_and_branch_until_zero matcher): Fix typo.
10619
10620 Tue Sep 10 19:04:19 1996  Jim Wilson  <wilson@cygnus.com>
10621
10622         * mips.c (mips_move_2words): Rewrite 32 bit shifts as 16 bit shifts.
10623
10624 Tue Sep 10 10:39:07 1996  Jeffrey A Law  (law@cygnus.com)
10625         
10626         * pa/pa-gas.h (DBX_DEBUGGING_INFO): Remove all #define
10627         and #undef statements related to debugging information.
10628         * pa/pa-hpux.h, pa-hpux7.h: Likewise
10629         * pa.c (override_options): Disable "-g" and issue a warning
10630         if it's used when !TARGET_GAS.
10631
10632 Mon Sep  9 17:57:49 1996  Doug Evans  <dje@wabamun.cygnus.com>
10633
10634         * sparc.h ({MASK,TARGET}_FPU_SET): Define.
10635         (TARGET_SWITCHES): Record if -m{,no-}fpu passed.
10636         * sparc.c (sparc_override_options): Don't clobber explicit
10637         -m{,no-}fpu setting with cpu default.
10638
10639 Mon Sep  9 15:57:57 1996  Joel Sherrill  <joel@OARcorp.com>
10640
10641         * configure (mips64orion-*-rtems*): New target.
10642         * mips/rtems64.h: New file.
10643
10644 Sat Sep  7 22:07:53 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
10645
10646         * expr.c (store_field): If storing a record on big endian targets,
10647         set up so we store the high-order bits.
10648         (expand_expr, case COMPONENT_REF): Likewise for loads.
10649
10650 Thu Sep  5 14:59:47 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
10651
10652         * sh.h (LEGITIMIZE_ADDRESS): Define nonempty.
10653
10654 Thu Sep  5 10:43:36 1996  Jeffrey A Law  (law@cygnus.com)
10655
10656         * pa.md (mov{si,di,sf}): Handle 'R' constraints as needed.
10657
10658 Wed Sep  4 17:13:28 1996  Bob Manson  <manson@charmed.cygnus.com>
10659
10660         * except.c: (add_partial_entry): New routine.
10661         (expand_start_try_stmts): Moved from cp/except.c.
10662         (expand_start_all_catch): Move functionality of expand_end_try_stmts
10663         here.
10664
10665 Wed Sep  4 12:30:02 1996  Mike Stump  <mrs@cygnus.com>
10666
10667         * except.c (emit_unwinder): Ensure CLOBBER and USE insns come last,
10668         if present.
10669
10670 Tue Sep  3 12:01:43 1996  Ian Lance Taylor  <ian@cygnus.com>
10671
10672         * configure (sh-*-elf*): New target.
10673         * sh/elf.h: New file.
10674
10675 Fri Aug 30 17:52:26 1996  Jim Wilson  <wilson@cygnus.com>
10676
10677         * dwarf2out.c (gen_formal_types_die): Delete extra argument from
10678         gen_type_die call.
10679
10680 Fri Aug 30 15:40:40 1996  James G. Smith  <jsmith@cygnus.co.uk>
10681
10682         * mips/elf64.h: Allow MULTILIB_DEFAULTS to be defined
10683         before this file is included.
10684
10685 Fri Aug 30 15:00:06 1996  Stan Cox  <coxs@dg-rtp.dg.com>
10686
10687         * i386.md: (movsicc,movhicc): Allow reload from memory.
10688         
10689         * i386.c (override_options): Don't thread the prologue if profiling.
10690
10691 Fri Aug 30 15:00:06 1996  James Hawtin  <cgjwh@sunrise.co.uk>
10692         
10693         * i386/t-sol2 (gcrt1.o): Added for profiling Solaris 2
10694         * i386/sol2.h (STARTFILE_SPEC): New.
10695         * i386/gmon-sol2.c, i386/sol2-gc1.asm: New files.
10696         
10697 Thu Aug 29 22:08:03 1996  Jim Wilson  <wilson@cygnus.com>
10698
10699         * except.c (add_eh_table_entry): Multiply realloc size by sizeof int.
10700
10701 Thu Aug 29 15:15:31 1996  Jeffrey A Law  (law@cygnus.com)
10702
10703         * pa.md (fcmp patterns): Don't try to eliminate useless add,tr
10704         insns here.
10705         * pa.c (pa_reorg): Do elimination of useless add,tr insns here instead.
10706         (print_operand, case 'y'): Remove this code.
10707
10708 Wed Aug 28 16:19:34 1996  Doug Evans  <dje@cygnus.com>
10709
10710         * toplev.c (print_single_switch): Ultrix fprintf returns 0 for success.
10711
10712         * toplev.c (main): Rewrite -g parsing.
10713
10714 Mon Aug 26 16:15:49 1996  Fred Fish  <fnf@cygnus.com>
10715
10716         * Makefile.in (objc-parse.y): Fix typo in name of temp file.
10717
10718 Mon Aug 26 14:08:37 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
10719
10720         * function.c (mark_all_temps_used): Fix error in last change.
10721
10722 Sun Aug 25 22:27:19 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
10723
10724         * function.c (mark_all_temps_used): New function.
10725
10726 Fri Aug 23 11:34:57 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
10727
10728         * rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Fixes to make -fPIC
10729         really the same as -mrelocatable.
10730         (ASM_SPEC): Pass -K PIC to the assembler if -fpic/-fPIC.
10731
10732         * rs6000/sol2.h (ASM_CPU_SPEC): Remove passing -K PIC to the
10733         assembler if -fpic/-fPIC.
10734
10735         * bi-{arity,opcode,opname}.c (fancy_abort): Define, so that
10736         -Dabort=fancy_abort works again.
10737
10738 Thu Aug 22 11:39:34 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
10739
10740         * rs6000/t-ppcgas ({stmp,install}-crt): Only build and install the
10741         eabi ecrt[in].o object files in eabi multilib directories, only
10742         build and install the solaris scrt[in0].o object files in solaris
10743         directories.
10744         (MULTILIB_MATCHES): Remove matches for solaris, linux to other
10745         switches.
10746
10747 Tue Aug 20 18:49:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
10748
10749         * rs6000/sysv4.h (ASM_OUTPUT_SECTION_NAME): If -mrelocatable or
10750         -mrelocatable-lib, don't make read-only sections.
10751
10752 Mon Aug 19 18:42:13 1996  Doug Evans  <dje@cygnus.com>
10753
10754         * sparc.h ({MASK,TARGET}_LITTLE_ENDIAN): Define.
10755         (LIBGCC2_WORDS_BIG_ENDIAN): Add little endian support.
10756         * sparc/sp64-elf.h ({CPP,ASM,LINK}_SPEC): Add little endian support.
10757         (SUBTARGET_SWITCHES): Recognize -m{big,little}-endian.
10758         ({BYTES,WORDS}_BIG_ENDIAN): Likewise.
10759         * sparc/splet.h (SUBTARGET_SWITCHES): Recognize -m{big,little}-endian.
10760         ({CPP,ASM,LINK}_SPEC): Add little endian support.
10761         ({BYTES,WORDS}_BIG_ENDIAN): Likewise.
10762         * sparc/t-splet (MULTILIB_{OPTIONS,DIRNAMES}): Likewise.
10763
10764         * sparc/lynx-ng.h (CPP_SPEC): Use %(cpp_cpu).
10765
10766 Sat Aug 17 15:23:39 1996  Geoffrey Noer  <noer@cygnus.com>
10767
10768         * i386/cygwin32.h (CPP_PREDEFINES): Define _WIN32, not WIN32.
10769         Define only __CYGWIN32__, not CYGWIN32 or __CYGWIN32.
10770         * rs6000/cygwin32.h (CPP_PREDEFINES): Likewise.
10771         * cccp.c (absolute_filename): Drive specifiers make the pathname
10772         absolute in cygwin32.
10773         * choose-temp.c: Delete !defined(_WIN32) condition when including
10774         sys/file.h (NO_SYS_FILE_H is still used).
10775         * gcc.c: Change ifndef _WIN32 to ifndef NO_SYS_FILE_H when deciding
10776         whether to include sys/file.h.
10777         (execute): -pipe is supported for cygwin32.
10778         * getopt.c: Change win32 test from WIN32 to _WIN32.
10779         * pexecute.c: Update test for win32 (&& ! cygwin32).
10780         * protoize.c: Likewise.
10781         (kill): Delete decl.
10782         * toplev.c: Update test for win32 (&& ! cygwin32).
10783         * ginclude/stdarg.h: Change __WIN32__ to _WIN32.
10784         * ginclude/varargs.h: Likewise.
10785         * ginclude/va-ppc.h: Likewise.
10786
10787 Fri Aug 16 16:02:09 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
10788
10789         * rs6000.c (rs6000_got_register): Make sure pic_offset_table_rtx
10790         allocated, even if current_function_uses_pic_offset_table set.
10791
10792 Fri Aug 16 15:56:04 1996  J. Kean Johnston  <hug@netcom.com>
10793
10794         * i386/sco5.h (CLASS_LIKELY_SPILLED_P): Deleted.
10795         (STARTFILE_SPEC): Insert crtbegin.o in correct place, and correct
10796         versions of values-X?.o.
10797         (SWITCH_TAKES_ARG): Extend DEFAULT_SWITCH_TAKES_ARG, not replace.
10798         (CPP_SPEC): Add -Di386, and correctly include extra directories.
10799         Define HAVE_ATEXIT in ELF mode for global destructors.
10800
10801 Thu Aug 15 16:42:44 1996  Doug Evans  <dje@cygnus.com>
10802
10803         * sparc.c (label_ref_operand): New function.
10804         (emit_move_sequence): Pass label_ref to gen_move_label_di to not
10805         lose flags.
10806         * sparc.md (move_label_di): Operand one is label_ref now.
10807         * genattrtab.c (write_test_expr): Allow label_ref in match_dup.
10808
10809         * sys-protos.h (gethostid): Make return type `int' ifdef __alpha__.
10810         * gen-protos.c: Delete support for SYS_PROTO_OVERRIDES.
10811         * alpha.h (SYS_PROTO_OVERRIDES): Delete.
10812
10813 Thu Aug 15 17:36:09 1996  Mike Stump  <mrs@cygnus.com>
10814
10815         * libgcc2.c (__throw): New routine.
10816         (__eh_pc): New data object for exception handling.
10817
10818         * except.c (eh_saved_pc): New object so we can call
10819         assemble_external.
10820         (expand_internal_throw_indirect): Call assemble_external for __eh_pc.
10821         (end_eh_unwinder): Likewise.
10822         (init_eh): Initialize eh_saved_pc.
10823
10824 Thu Aug 15 13:02:42 1996  Mike Stump  <mrs@cygnus.com>
10825
10826         * arm.h (RETURN_ADDR_RTX): Define.
10827
10828         * expr.c (expand_builtin_return_addr): Fix order of parameters.
10829
10830 Wed Aug 14 19:48:00 1996  Torbjorn Granlund  <tege@spiff.gnu.ai.mit.edu>
10831
10832         * stmt.c (expand_return): In code for doing scc with jumps,
10833         stick to default handling if we have corresponding scc pattern.
10834
10835 Wed Aug 14 10:31:28 1996  Jeffrey A Law  (law@cygnus.com)
10836
10837         * pa.c (override_options): Treat TARGET_FAST_INDIRECT_CALLS
10838         just like TARGET_NO_SPACE_REGS.
10839         (output_millicode_call): Likewise.
10840         * pa.h (TARGET_FAST_INDIRECT_CALLS): Define.
10841         (TARGET_SWITCHES): Add "fast-indirect-calls".
10842         * pa.md (TARGET_FAST_INDIRECT_CALLS): Treat just like
10843         TARGET_NO_SPACE_REGS in various call/millicode call patterns.
10844
10845         * pa.c (print_operand): Use the right comparison operator
10846         for reversed EQ and NE comparisons.
10847
10848         * pa.h (OUTPUT_MI_THUNK): Define.
10849
10850 Wed Aug 14 11:40:49 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
10851
10852         * ginclude/va-ppc.h: Add Windows NT support.
10853         * ginclude/{varargs,stdarg}.h: For PowerPC Windows NT, include
10854         va-ppc.h, instead of using the default handling.
10855
10856 Tue Aug 13 18:30:10 1996  Ian Lance Taylor  <ian@cygnus.com>
10857
10858         * fixincludes: Remove duplicate volatile from sig_atomic_t in AIX
10859         sys/signal.h
10860
10861 Tue Aug 13 16:51:37 1996  Jim Wilson  <wilson@cygnus.com>
10862
10863         * i960-coff.h (LIB_SPEC): Undef.
10864
10865         * sh.h (PROFILE_BEFORE_PROLOGUE): Define.
10866
10867 Tue Aug 13 11:36:02 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
10868
10869         * gcc.c (set_spec,process_command): Dump and load the compiler
10870         version number in the specs file.
10871
10872         * rs6000.c (output_toc): Fix last change, so that it doesn't use
10873         an uninitialized variable if -mminimal-toc.
10874         (output_prolog): Increment probe_labelno after last use.
10875
10876         * rs6000/t-ppcgas (MULTILIB_*): Build far fewer multilib
10877         libraries.  Build all libraries with -mrelocatable-lib and
10878         -mno-eabi.  Build special GNU/Linux and Solaris libraries.
10879         * rs6000/eabi{,aix,le}.h (MULTILIB_DEFAULTS): Adapt to changes in
10880         t-ppcgas.
10881         * rs6000/(linux,sol2,sysv4,sysv4le).h (MULTILIB_DEFAULTS): Likewise.
10882
10883 Tue Aug 13 11:36:02 1996  Jeffrey A Law  (law@cygnus.com)
10884
10885         * rs6000.c (handle_mac_pragma): Initialize "psize".
10886
10887 Mon Aug 12 18:14:35 1996  Jim Wilson  <wilson@cygnus.com>
10888
10889         * gcc.c (used_arg): Initialize cnt to zero.
10890
10891 Mon Aug 12 14:03:16 1996  Jim Wilson  <wilson@cygnus.com>
10892
10893         From Mike Stump:
10894         * sh.c (regno_reg_class): Change entry 23 from NO_REGS to GENERAL_REGS.
10895         (initial_elimination_offset): New variable live_regs_mask.  Add
10896         code to handle RETURN_ADDRESS_POINTER_REGNUM.
10897         * sh.h (RAP_REG, RETURN_ADDRESS_POINTER_REGNUM): Define.
10898         (ELIMINABLE_REGS): Add RETURN_ADDRESS_POINTER_REGNUM support.
10899         (RETURN_ADDR_RTX): Define.
10900         (REGISTER_NAMES): Add rap.
10901
10902         * iris5.h (DOLLARS_IN_IDENTIFIERS): Undefine.
10903
10904         * m68kemb.h (LIB_SPEC): Always emit -lc.
10905
10906 Mon Aug 12 12:30:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
10907
10908         * rs6000.c (rs6000_got_register): Test variable
10909         current_function_uses_pic_offset_table to see whether or not a GOT
10910         register has been created already.
10911
10912         * Makefile.in (multilib.h): Move to stamp-mlib.
10913         (stamp-mlib): Use move-if-change to conditionally update
10914         multilib.h.  Pass MULTILIB_EXTRA_OPTS to genmultilib.
10915         (STAGESTUFF): Add stamp-mlib.
10916         (mostlyclean): Delete tmp-mlib.h.
10917
10918         * genmultilib: Take fifth argument for options to all multilib builds.
10919         Restructure output so we pass synonym switches and extra arguments
10920         separately, and not exponentially slow down genmultilib.
10921
10922         * gcc.c (toplevel): Rearrange multilib support so we support passing
10923         synonyms separately from normal switches.  Add support for passing
10924         additional switches for all multilib builds.  Dump and restore value
10925         of MULTILIB_DEFAULTS.
10926         (setspec, process_command, main): Likewise.
10927         (used_arg,default_arg,print_multilib_info): Likewise.
10928
10929 Mon Aug 12 07:46:47 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
10930
10931         * expr.c (expand_builtin, case BUILT_IN_SETJMP): Add test
10932         and call for nonlocal_goto_receiver pattern.
10933         * stmt.c (expand_end_bindings): Likewise.
10934
10935         * stmt.c (expand_asm_operands): Fix off-by-one error when
10936         scanning constraints.
10937
10938 Sun Aug 11 22:48:02 1996  Jason Merrill  <jason@yorick.cygnus.com>
10939
10940         * expr.c (store_expr): Handle COND_EXPR cleanups like expand_expr.
10941
10942 Sun Aug 11 22:42:36 1996  J"orn Rennecke  <amylaar@cygnus.co.uk>
10943
10944         * optabs.c (expand_abs): When OP0 and TARGET are the same
10945         pseudo register, it is safe to use TARGET.
10946
10947         * local-alloc.c (reg_equiv_replace): New variable.
10948         (update_equiv_regs): Set reg_equiv_replacement for all REG_EQUIV
10949         notes encountered or generated.
10950
10951 Sun Aug 11 22:27:14 1996  Scott Christley <scottc@net-community.com>
10952
10953         * objc/hash.c (hash_is_key_in_hash): Function somehow got lost.
10954
10955 Sun Aug 11 21:43:15 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10956
10957         * ginclude/stddef.h (__need_wint_t): Move #undef to right place.
10958
10959 Sun Aug 11 17:46:22 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
10960
10961         * c-decl.c (finish_struct): If pedantic, also warn if struct/union
10962         has no named members.
10963
10964 Sun Aug 11 17:32:52 1996  Joel Sherrill <joel@OARcorp.com>
10965
10966         * i386/rtems.h: Renamed from i386/i386-rtems.h
10967         * i960/rtems.h: Renamed from i960/i960-rtems.h
10968         * m68k/rtems.h: Renamed from m68k/m68k-rtems.h
10969         * rs6000/rtems.h: Renamed from rs6000/powerpc-rtems.h
10970         * sparc/rtems.h: Renamed from sparc/sparc-rtems.h
10971         * config/t-rtems: New file.
10972         * configure (i386-*-rtems*): Added t-rtems to tmake_file.
10973         Renamed i386/i386-rtems.h to i386/rtems.h.
10974         (i960-*-rtems*): Added t-rtems to tmake_file.
10975         Renamed i960/i960-rtems.h to i960/rtems.h.
10976         Added original tm.h file and dbxcoff.h.
10977         (m68k-*-rtems*): Added t-rtems to tmake_file.
10978         Renamed m68k/m68k-rtems.h to m68k/rtems.h.
10979         (powerpc-*-rtems*): Added t-rtems to tmake_file.
10980         Renamed rs6000/powerpc-rtems.h to rs6000/rtems.h.
10981         (sparc-*-rtems*): Added t-rtems to tmake_file.
10982         Renamed sparc/sparc-rtems.h to sparc/rtems.h.
10983
10984 Fri Aug  9 16:05:13 1996  Stan Cox  <coxs@dg-rtp.dg.com>
10985
10986         * i386.md: (untyped_call) Avoid SIGFPE.
10987
10988         * i386.c (output_float_compare): Don't try to initialize
10989         aggregate local variable; use assignment statements instead.
10990
10991         * i386.h (RTX_COSTS): rtx_cost should pass two parameters.
10992         
10993         * i386/go32.h (ASM_OUTPUT_SECTION_NAME): New.
10994
10995 Fri Aug  9 16:00:11 1996  Jim Wilson  <wilson@cygnus.com>
10996
10997         * winnt.c (gen_stdcall_suffix): Round parameter size to PARM_BOUNDARY.
10998
10999 Thu Aug  8 17:42:35 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11000
11001         * rs6000.c (output_toc): If we are emitting a reference to a
11002         vtable, don't put in the section name, just use the symbol.
11003
11004 Wed Aug  7 19:03:36 1996  Jim Wilson  <wilson@cygnus.com>
11005
11006         * sh.md (casesi_jump): New pattern.
11007         (casesi): Generate RTL to match it.
11008
11009 Wed Aug  7 14:10:07 1996  Jason Merrill  <jason@yorick.cygnus.com>
11010
11011         * ginclude/stddef.h (NULL): Use __null for G++.
11012
11013 Tue Aug  6 17:37:53 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11014
11015         * rs6000/sysv4.h (STACK_BOUNDARY): Always define as 64.
11016         (ABI_STACK_BOUNDARY): Define as 64/128 based on the -mno-eabi
11017         switch.
11018
11019         * rs6000.c (rs6000_stack_info): Use ABI_STACK_BOUNDARY, not
11020         STACK_BOUNDARY.  Define ABI_STACK_BOUNDARY as STACK_BOUNDARY #ifndef.
11021
11022 Tue Aug  6 14:29:43 1996  Doug Evans  <dje@fallis.cygnus.com>
11023
11024         * gen-protos.c (overrides): New static local.
11025         (add_hash,parse_fn_proto): New static functions.
11026         (main): Add prototypes from SYS_PROTO_OVERRIDES to hash table before
11027         parsing sys-protos.h.  Reserve entry 0 in std_protos.
11028         * alpha.h (SYS_PROTO_OVERRIDES): Define.
11029
11030 Mon Aug  5 16:53:36 1996  Doug Evans  <dje@fallis.cygnus.com>
11031
11032         * sparc/t-splet (MULTILIB_OPTIONS): Add mbroken-saverestore.
11033         (MULTILIB_DIRNAMES): Add brknsave.
11034
11035         * stor-layout.c (layout_record): Correct overflow test for 0 sized
11036         fields.
11037
11038 Mon Aug  5 16:12:19 1996  Jim Wilson  <wilson@cygnus.com>
11039
11040         * alpha.c (alpha_output_filename): When emitting stabs, don't
11041         disable them if using GNU as.
11042         (alpha_output_lineno): Likewise, when not using GNU as.
11043
11044         * sh.c (arith_reg_operand): Reject SUBREG of an invalid hard reg.
11045
11046         * sparc/lite.h (aoutos.h): Don't include it.
11047         * configure (sparclite-*-aout*): Add aoutos.h to tm_file.
11048
11049 Sat Aug  3 23:13:55 1996  Jeffrey A Law  (law@cygnus.com)
11050
11051         * combine.c (rtx_equal_for_field_assignment_p): Check for
11052         get_last_value returning (CLOBBER (CONST_INT 0)).
11053
11054 Sat Aug  3 20:19:14 1996  Jim Wilson  <wilson@cygnus.com>
11055
11056         * i960.md (subsi3+1): Handle case where first operand is constant
11057         but second operand is not.
11058
11059         * m68k/vxm68k.h (WCHAR_TYPE_SIZE): Undef, then define to 16.
11060
11061 Fri Aug  2 15:46:19 1996  Jeffrey A Law  (law@cygnus.com)
11062
11063         * pa/pa-hpux.h (LINK_SPEC): Don't link in PA1.1 specific
11064         libraries when creating shared libraries.
11065         * pa/pa-hpux9.h, pa/pa-hpux10.h: Likewise.
11066
11067 Fri Aug  2 13:36:42 1996  Stan Cox  <coxs@dg-rtp.dg.com>
11068
11069         * i386.c (output_float_compare): fcomi should be followed by the
11070         correct conditional jump instead of fcom/pfstsw/and/jne
11071         (override_options): Added -mbranch-cost to set BRANCH_COST.
11072         
11073         * i386.md (sgt+1,slt+1,sge+1,sle+1,bgt+1,blt+1,bge+1,ble+1,bleu+4)
11074         Added TARGET_CMOVE check for fcomi.
11075         (movsicc_1+1,movhicc_1+1): Added to handle the general case.
11076         
11077         * i386.h (i386_branch_cost, i386_branch_cost_string): Added.
11078
11079 Fri Aug  2 11:53:55 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
11080
11081         * sparc/vxsparc.h (CPP_PREDEFINES): Add `-DCPU=SPARC'.
11082
11083 Thu Aug  1 23:56:01 1996  Jeffrey A Law  (law@cygnus.com)
11084
11085         * pa.h (ASM_OUTPUT_INT): Remove all hacks for exception table.
11086
11087 Thu Aug  1 10:08:14 1996  Torbjorn Granlund  <tege@spiff.gnu.ai.mit.edu>
11088
11089         * m68k.h (RTX_COSTS, case PLUS): Get operand order right.
11090
11091 Wed Jul 31 15:06:46 1996  Doug Evans  <dje@cygnus.com>
11092
11093         * sparc.md (negtf2,abstf2): Fix v9 case.
11094
11095 Wed Jul 31 09:49:25 1996  Jeffrey A Law  (law@cygnus.com)
11096
11097         * pa.h (ASM_OUTPUT_INT): Use an 'E%' prefix for items in
11098         the exception table if TARGET_GAS && ! TARGET_PORTABLE_RUNTIME.
11099
11100 Tue Jul 30 15:37:31 1996  Jim Wilson  <wilson@cygnus.com>
11101
11102         * i386/cygwin32.h (dbxcoff.h): Include.
11103         (DBX_DEBUGGING_INFO, SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
11104         Move definitions before include of dbxcoff.h.
11105         (ASM_OUTPUT_SOURCE_LINE, DBX_OUTPUT_MAIN_SOURCE_FILE_END): Delete.
11106         (DBX_BLOCKS_FUNCTION_RELATIVE, DBX_FUNCTION_FIRST): Delete.
11107
11108 Tue Jul 30 15:03:53 1996  Torbjorn Granlund  <tege@spiff.gnu.ai.mit.edu>
11109
11110         * i960.md (eq reg (const_int 0)): New pattern.
11111
11112 Tue Jul 30 11:15:44 1996  Jeffrey A Law  (law@cygnus.com)
11113
11114         * pa.h (RETURN_ADDR_RTX): Offset is -20 from the frame, not +20!
11115
11116 Mon Jul 29 12:16:17 1996  Jeffrey A Law  (law@cygnus.com)
11117
11118         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix thinko in last change.
11119
11120 Fri Jul 26 18:19:47 1996  Doug Evans  <dje@cygnus.com>
11121
11122         * dwarfout.c (output_bound_representation): Fix typo.
11123
11124 Thu Jul 25 16:00:10 1996  Mike Stump  <mrs@cygnus.com>
11125
11126         * expr.c (do_jump, case TRUTH_ORIF_EXPR): Ensure end of an
11127         exception region comes after its start.
11128         (do_jump, case TRUTH_ANDIF_EXPR): Likewise.
11129
11130 Thu Jul 25 13:36:42 1996  Stan Cox  <coxs@equinox>
11131
11132         * i386.c (output_float_compare): Added support for Pentium Pro
11133         fcomi instruction which sets EFLAGS instead of FPU Status Word.
11134
11135 Wed Jul 24 21:48:08 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
11136
11137         * cse.c (canon_hash, cse_insn): MEM is not unchanging if it is
11138         in the frame (since the temp slot might be reused).
11139
11140 Wed Jul 24 17:34:06 1996  J"orn Rennecke (amylaar@cygnus.com)
11141
11142         * sh.md (branch_true, branch_false, inverse_branch_true): Express
11143         tests of the T bit as comparisons against zero, rather than one.
11144         (inverse_branch_false, beq, bne, bgt, blt, ble, bge, bgtu): Likewise.
11145         (bltu, bgeu, bleu, casesi): Likewise.
11146
11147 Wed Jul 24 15:58:06 1996  Stan Cox  <coxs@dg-rtp.dg.com>
11148
11149         * i386.md: (mov{sf,df,xf}cc{,_1}): New patterns for P6 FP cmove.
11150         * i386.c (put_condition_code, print_operand, output_fp_cc0_set):
11151         Support fcmov suffixes.
11152
11153 Wed Jul 24 10:53:38 1996  Jeffrey A Law  (law@cygnus.com)
11154
11155         * pa.c (move_operand): Relax "mode" test.  Allow scaled
11156         indexed addressing modes.
11157         (output_fp_move_double): Tweak output strings to work with updated
11158         'F' and 'M' output modifiers.
11159         (print_operand): Collapse 'F' and 'M' into a single hunk of code.
11160         For auto-increment modes output "s,ma" and "s,mb".
11161         For scaled indexing modes output "x,s"
11162         For other addresses, output nothing for 'M' and "s" for 'F'.
11163         * pa.h (EXTRA_CONSTRAINT): Don't accept scaled indexed addresses
11164         for 'Q' and 'T'.  Do accept scaled indexed addresses for 'R'.
11165         (GO_IF_LEGITIMATE_ADDRESS): Accept scaled indexed addresses
11166         for SFmode and DFmode.
11167         * pa.md: Remove all scaled indexed load patterns.
11168         (movsi patterns): Accept scaled indexed addresses in some
11169         cases.  Update output strings for updated 'M' and 'F' output modifiers.
11170         (movhi, movqi, movsf, movdf, movdi patterns): Likewise.
11171
11172 Tue Jul 23 23:10:41 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
11173
11174         * tree.h (struct tree_int_cst): Add field for TREE_CST_RTL.
11175         * varasm.c (decode_addr_const, output_constant_def): AllowINTEGER_CST.
11176
11177 Tue Jul 23 16:42:09 1996  Jim Wilson  <wilson@cygnus.com>
11178
11179         * sh.c (reg_unused_after): Handle JUMP_INSN inside a sequence.
11180
11181 Tue Jul 23 16:33:25 1996  Mike Stump  <mrs@cygnus.com>
11182
11183         * Make exception handling work better when optimizations are on.
11184         * except.c, except.h: New files.
11185         * Makefile.in (OBJS): Add except.o.
11186         (except.o): Add.
11187         (stmt.o, final.o): Add except.h.
11188         * rtl.c (note_insn_name): Add NOTE_INSN_EH_REGION_{BEG,END}.
11189         * rtl.h: Likewise.
11190         * arm.h (MASK_RETURN_ADDR): Define.
11191         * pa.h (MASK_RETURN_ADDR, RETURN_ADDR_RTX): New macros.
11192         * sparc.h (DOESNT_NEED_UNWINDER): Define if not doing a flat function.
11193         * mips.h (RETURN_ADDR_RTX): Improve.
11194         * vax.h (RETURN_ADDR_RTX): Improve.
11195         * toplev.c (rest_of_compilation): Use find_handler_labels.
11196         (main, interim_eh{,_hook}): Remove interim_eh_hook support.
11197         (flag_exceptions): New flag; also add to table.
11198         (compile_file): Emit the exception table in the backend now.
11199         * final.c (final_scan_insn): Support ASM_OUTPUT_EH_REGION_{BEG,END}.
11200         (final_scan_insn): Redo handler labels, implement
11201         NOTE_INSN_EH_REGION_BEG and NOTE_INSN_EH_REGION_END and use them
11202         instead of CODE_LABELs.
11203         (final): Add call to check_handler_labels.
11204         * libgcc2.c (L_eh): Add support for EH_TABLE_LOOKUP.
11205         * sparc.md (return): Add a reference to the return address register.
11206         * flow.c (find_basic_blocks): Add support for handler_labels.
11207         * loop.c (find_and_verify_loops): Likewise.
11208         * jump.c (jump_optimize): Likewise.
11209         Add call to check_handler_labels.  Add call to exception_optimize.
11210         * sched.c (sched_analyze): Smuggle exception region notes around.
11211         (unlink_notes, reemit_notes, schedule_block): Likewise.
11212         (sched_analyze): Add extra element since we remove two at a time.
11213         * integrate.c (save_for_inline_copying): Add support for exception
11214         regions.
11215         (expand_inline_function): Likewise.
11216         (function_cannot_inline_p): Don't inline functions that have EH
11217         regions before NOTE_INSN_FUNCTION_BEG.
11218         (finish_inline): Use FIRST_FUNCTION_INSN, not NEXT_INSN.
11219         * function.c (expand_start_all_catch): New function.
11220         * function.h: Add exception handling support information.
11221         * expr.c (expand_expr, {defer,expand}_cleanups_to, do_jump): Transform
11222         interim_eh_hook into calls to expand_ehregion_{start,end}.
11223         * stmt.c (expand_{decl_cleanup,cleanups}): Likewise.
11224         (init_stmt_for_function): Call init_eh.
11225         (save_stmt_status): Call save_eh_status.
11226         (restore_stmt_status): Call restore_eh_status.
11227         * expr.h (throw_libfunc): Add.
11228         * optabs.c (throw_libfunc): Initialize.
11229         * print-rtl.c (print_rtx): Add support for exception regions.
11230         * rs6000.c (EXCEPTION_SECTION): Define.
11231         * output.h (exception_section): Declare.
11232         * varasm.c (exception_section): Define.
11233         * i386.c, i960.c, rs6000.c: Include except.h for function.h.
11234         * c-pragma.c, emit-rtl.c, expr.c, final.c, flow.c: Include except.h.
11235         * function.c, integrate.c, jump.c, loop.c, objc-act.c: Likewise.
11236         * stmt.c, stor-layout.c, toplev.c, tree.c, varasm.c: Likewise.
11237         
11238 Tue Jul 23 12:32:54 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11239
11240         * rs6000.c (rs6000_replace_regno): Set pic_offset_table_rtx so
11241         that other phases will use the PIC register instead of the
11242         placeholder.
11243
11244         * rs6000.md (movsi_got*): Eliminate -fPIC code, keep -fpic code.
11245         (movsi): Only call movsi_got if -fpic, not -fPIC.
11246
11247         * sysv4.h (OVERRIDE_OPTIONS): Improve error messages.  Always set
11248         -msdata=data by default, even if -fpic/-fPIC/-mrelocatable.  Treat
11249         -fPIC the same as -mrelocatable-lib and vica versa.
11250
11251         * t-ppcgas: (MULTILIB_*): Use -mreloctable-lib, instead of
11252         -mrelocatable.  Map Solaris into mcall-sysv-noeabi case.  Build
11253         -mrelocatable-lib libraries under non-eabi case.  When linking, if
11254         -fpic, -fPIC, or -shared, link in the -mrelocatable-lib libraries.
11255
11256 Mon Jul 22 19:34:20 1996  Jim Wilson  <wilson@cygnus.com>
11257
11258         * iris6.h (ASM_SPEC): Change {% to %{.
11259
11260         * dwarf2out.c (output_call_frame_info): Change FDE CIE offset to
11261         be section name rather than 0.
11262         (gen_subprogram_die): Only emit DW_AT_external if origin is NULL.
11263         Only call equate_decl_number_to_die if origin is NULL.
11264         (dwarfout_begin_function): In code that computes offset of frame
11265         pointer, change 4 to UNITS_PER_WORD.
11266
11267         * combine.c (undo_all): Clear previous_undos field.
11268
11269 Mon Jul 22 19:10:45 1996  Ian Lance Taylor  <ian@cygnus.com>
11270
11271         * configure: Don't change target_alias to target in Makefile.
11272
11273 Sat Jul 20 09:28:38 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
11274
11275         * dwarfout.c (output_bound_representation): Treat default case
11276         as variable bounds, then look inside for SAVE_EXPR.
11277
11278         * mips.h (INITIALIZE_TRAMPOLINE): Use `_flush_cache'; flush data
11279         cache too.
11280
11281 Sat Jul 20 09:24:13 1996  Marco Walther  (Marco.Walther@mch.sni.de).
11282
11283         * configure (mips-sni-sysv4): New target.
11284         * mips/sni-gas.h, mips/sni-svr4.h, mips/x-sni-svr4: New files.
11285
11286 Fri Jul 19 17:44:13 1996  Stan Coxs  <coxs@dg-rtp.dg.com>
11287
11288         * i386.md: (leave): Clobbers esp and ebp.
11289
11290         * i386.h: (TARGET_USE_Q_REG): Support inline strlen on PentiumPro
11291
11292 Fri Jul 19 15:56:18 1996  Ian Lance Taylor  <ian@cygnus.com>
11293
11294         * m68k/t-m68kbare (MULTILIB_OPTIONS): Add m5200.
11295         (MULTILIB_EXCEPTIONS): Define.
11296         * m68k/lb1sf68.asm: Add MCF5200 support.
11297         * m68k.md (adddi_sexthishl32): Set condition to !TARGET_5200.
11298         (subdi_sexthishl32, ashrdi3, ashrhi3): Likewise.
11299         (negdi2): Change into define_expand.
11300         (negdi2_internal): Rename from old negdi2; condition now !TARGET_5200.
11301         (negdi2_5200): New insn.
11302         * m68k.c (output_function_prologue): Don't use add.w if TARGET_5200.
11303         (output_function_epilogue): Likewise.
11304
11305         * m68k.md (movqi): Remove complex cases which move between address reg
11306         and memory; rely on secondary reloads instead.
11307
11308 Fri Jul 19 12:22:50 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
11309
11310         * fixproto (std_files): Add utime.h.
11311
11312 Fri Jul 19 10:59:46 1996  Jeffrey A Law  (law@cygnus.com)
11313
11314         * m68k/m68kemb.h: Remove '\' at EOF.
11315
11316 Fri Jul 19 09:59:00 1996  Joel Sherrill <joel@OARcorp.com>
11317
11318         * m68k/coff.h (STARTFILE_SPEC): Add #undef before definition.
11319
11320 Fri Jul 19 09:44:45 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
11321
11322         * m68k.h (LEGITIMATE_INDEX_P): Coldfire does not have scale
11323         by 8 addressing modes.
11324
11325         * m68k-none.h: Use MASK_* macros instead of explicit constants.
11326
11327 Fri Jul 19 09:08:53 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
11328
11329         * m68k.md (negdi2): Undo last change: don't apply neg to address regs.
11330
11331 Fri Jul 19 09:03:01 1996  Robert Wilhelm  (rwilhelm@Physik.TU-Muenchen.DE)
11332
11333         * toplev.c (main): Correct typo in error message.
11334
11335 Thu Jul 18 20:29:33 1996  Jim Wilson  <wilson@cygnus.com>
11336
11337         * Makefile.in (OBJS): Add dwarf2out.o.
11338         (dwarf2out.o): New rule.
11339         * dwarf2.h, dwarf2out.c: New files.
11340         * dwarfout.c: Check DWARF_VERSION macro.
11341
11342         * mips/iris6.h (DWARF_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
11343         Move after header files are included.
11344         (iris5.h): Include instead of iris5gas.h.
11345         (MACHINE_TYPE): Change 5.x to 6.x.
11346         (DEBUG_SECTION, LINE_SECTION): Add debug_ to name, fix attributes.
11347         (SFNAMES_SECTION, SRCINFO_SECTION, MACINFO_SECTION, PUBNAMES_SECTION,
11348         ARANGES_SECTION): Fix attributes.
11349         (DWARF_VERSION, MIPS_DEBUGGING_INFO, ASM_DECLARE_FUNCTION_NAME,
11350         ASM_DECLARE_FUNCTION_SIZE, FUNCTION_NAME_ALREADY_DECLARED,
11351         FRAME_SECTION, ABBREV_SECTION): Define.
11352         (DBX_DEBUGGING_INFO, SDB_DEBUGGING_INFO, MIPS_DEBUGGING_INFO,
11353         DWARF_DEBUGGING_INFO, PREFERRED_DEBUGGING_INFO): Delete undefs at
11354         end of file.
11355         * mips.c (function_{pro,epi}logue): Use FUNCTION_NAME_ALREADY_DECLARED.
11356
11357 Thu Jul 18 19:24:19 1996  David Mosberger-Tang  <davidm@azstarnet.com>
11358
11359         * alpha/elf.h (INT_ASM_OP): Change from ".long" to ".quad".
11360
11361 Thu Jul 18 19:20:58 1996  Ulrich Drepper  <drepper@myware.rz.uni-karlsruhe.de>
11362
11363         * stddef.h: Undefine __need_wint_t.
11364
11365 Thu Jul 18 19:06:35 1996  J.T. Conklin  <jtc@hippo.cygnus.com>
11366
11367         * longlong.h (mc680x0): Define umul_ppmm, udiv_qrnnd, sdiv_qrnnd
11368         for the '020, '030, '040, and '332.  Define count_leading_zeros
11369         for the '020, '030, '040, and '060.
11370
11371         * m68k.md: Add TARGET_5200 to conditions which determine whether
11372         the extbl instruction is emitted.
11373         (mulsi3): Enable pattern with TARGET_5200.
11374
11375         * m68k.md (add patterns): Don't use two addqw instructions when
11376         adding small (8 < N <= 16) integers to address registers on 68040.
11377
11378 Thu Jul 18 18:06:15 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
11379
11380         * configure: Write target_alias in Makefile.
11381         (i[3456]86-*-sco3.2v4*): Set truncate_target.
11382         * Makefile.in (target_alias): New and used for all current uses
11383         of `target'.
11384
11385 Thu Jul 18 17:46:02 1996  Dave Love  <d.love@dl.ac.uk>
11386
11387         * gcc.c (default_compilers): Extra Fortran extensions.
11388
11389 Wed Jul 17 10:28:10 1996  Torbjorn Granlund  <tege@spiff.gnu.ai.mit.edu>
11390
11391         * expmed.c (expand_mult_highpart): Revert last change.
11392
11393 Tue Jul 16 12:51:59 1996  Doug Evans  <dje@cygnus.com>
11394
11395         * sparc/sparc-rtems.h: #include "sparc/sparc-aout.h" -> sparc/aout.h.
11396
11397 Mon Jul 15 14:42:06 1996  Jim Wilson  <wilson@cygnus.com>
11398
11399         * mips/iris6.h (LINK_SPEC): Add -woff 84.
11400
11401 Fri Jul 12 17:34:01 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11402
11403         * rs6000/eabi.asm (__eabi): Convert pointers in the Global Offset
11404         Table if -mrelocatable.  Move loops into separate subroutines for
11405         ease of debugging.  Reorganize code somewhat.
11406
11407         * rs6000/rs6000.c (small_data_operand): Allow small data under
11408         Solaris.
11409
11410         * rs6000/sol-c0.c (_start): Initialize r13 to point to the small
11411         data operand.
11412
11413         * rs6000/sol-c{i,n}.asm (_init, _fini): Enable shared library
11414         support.
11415
11416         * rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Default to
11417         -msdata=data, even if -fpic or -mrelocatable.  Allow -mrelocatable
11418         and -mno-eabi.
11419         (CPP_SYSV_SPEC): If -fpic, define __PIC__ and __pic__ to 1.  If
11420         -fPIC, define them to 2.
11421         (CPP_ENDIAN_SPEC): Push definition of macros for specific endian
11422         targets to new specs.
11423         (CPP_ENDIAN_DEFAULT_SPEC): Define to use CPP_ENDIAN_BIG_SPEC.
11424         (CPP_ENDIAN_{LITTLE,BIG,SOLARIS}_SPEC): New specs for little
11425         endian mode, big endian mode, and Solaris, which can't define
11426         _LITTLE_ENDIAN.  Define __LITTLE_ENDIAN__ in all cases for little
11427         endian systems.  Define __BIG_ENDIAN__ in all cases for big endian
11428         systems.
11429         (SUBTARGET_EXTRA_SPECS): Add new specs.
11430
11431         * rs6000/{eabile,sysv4le}.h (CPP_ENDIAN_DEFAULT_SPEC): Define to
11432         use CPP_ENDIAN_LITTLE_SPEC.
11433
11434         * rs6000/sol2.h (CPP_ENDIAN_LITTLE_SPEC): Define as
11435         CPP_ENDIAN_SOLARIS_SPEC so that _LITTLE_ENDIAN is not define.
11436
11437 Fri Jul 12 17:34:01 1996  David Edelsohn  <edelsohn@mhpcc.edu>
11438
11439         * rs6000.c (function_arg): Add IBM AIX XL compiler broken FP arg
11440         passing compatibility mode.
11441         * rs6000.h (TARGET_XL_CALL): Define default.
11442         * aix3newas.h (TARGET_XL_CALL, SUBTARGET_SWITCHES): Define.
11443         * aix41.h (TARGET_XL_CALL, SUBTARGET_SWITCHES): Define.
11444
11445 Fri Jul 12 15:04:43 1996  Doug Evans  <dje@cygnus.com>
11446
11447         * arm.h (ASM_OUTPUT_MI_THUNK): Handle fns returning structures.
11448
11449         * ptx4.h ({ASM,LINK}_SPEC): %{V} %{v:%{!V:-V}} -> %{v:-V}.
11450         * svr4.h ({ASM,LINK}_SPEC): Likewise.
11451         * dsp16xx/dsp16xx.h ({ASM,LINK}_SPEC): Likewise.
11452         * i386/dgux.h (LINK_SPEC): Likewise.
11453         * i386/sol2.h (LINK_SPEC): Likewise.
11454         * m88k/dgux.h ({LINK,ASM_CPU}_SPEC): Likewise.
11455         * sparc/sol2.h ({ASM,LINK}_SPEC): Likewise.
11456         * sparc/sp64-elf.h ({ASM,LINK}_SPEC): Likewise.
11457         * sparc/sysv4.h (ASM_SPEC): Likewise.
11458
11459 Thu Jul 11 17:29:33 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11460
11461         * rs6000.h (GOT_TOC_REGNUM): New macro for r2, which is used as a
11462         marker for the GOT/TOC register to be allocated later.
11463         (MACHINE_DEPENDENT_REORG): Call rs6000_reorg.
11464         (rs6000_reorg): Add declaration.
11465
11466         * rs6000.c (rs6000_got_register): Return REG 2, not a pseudo
11467         register in order to work with inlined functions.
11468         (rs6000_replace_regno): New function to replace a register with a
11469         new pseudo register.
11470         (rs6000_finalize_pic): Loop through all insns, replacing any
11471         GOT_TOC_REGNUM registers with new pseudo register, and adding
11472         initialization of GOT register if it was created.
11473         (rs6000_reorg): New function to check whether the GOT_TOC register
11474         marker was removed.
11475
11476 Thu Jul 11 10:12:50 1996  Jeffrey A Law  (law@cygnus.com)
11477
11478         * h8300.h (OK_FOR_U): If generating H8/S code, accept
11479         SYMBOL_REF and SYMBOL_REF + CONST_INT.
11480
11481         * h8300.c ({shift,rotate}_one): Emit tabs between opcode and
11482         operands to be consistent with the rest of the compiler.
11483         (shift_two, rotate_two): Define.
11484         (get_shift_alg): Accept new argument "assembler2_p" for
11485         rotate/shift by two insns.  All callers changed.  Rework
11486         to generate more efficient code on the H8/300, H8/300H, and H8/S.
11487         Try to simplify somewhat.
11488         (emit_a_shift): Use shift-by-two insns when they're available.
11489         Emit tabs between opcode and operands to be consistent with
11490         the rest of the compiler.
11491
11492 Wed Jul 10 19:32:17 1996  Jim Wilson  <wilson@cygnus.com>
11493
11494         * mips/iris6.h (ASM_SPEC): Correct typos in Jun 18 change.
11495
11496 Wed Jul 10 18:56:38 1996  Ian Lance Taylor  <ian@cygnus.com>
11497
11498         * sh.c (machine_dependent_reorg): When looking for instruction that
11499         sets register in LOG_LINKS, skip link if REG_NOTE_KIND is not zero.
11500
11501 Wed Jul 10 15:02:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11502
11503         * rs6000.c (rs6000_got_register): New function to return a pseudo
11504         register to hold the pic register.  Abort if reload is in progress
11505         or done.
11506         (num_insns_constant): Allow SFmode and DFmode.
11507
11508         * rs6000.h (CONST_DOUBLE_OK_FOR_LETTER_P): Redo 'G' so that it
11509         means a constant that takes exactly two insns.
11510         (rs6000_got_register): Add declaration.
11511
11512         * rs6000.md (movsi_got): Move setup of pic register to
11513         rs6000_got_register.
11514         (movsf): If -msoft-float, don't force constants to memory.
11515         (mov{sf,df} insns): If soft floating point, allow any constant to
11516         be loaded.  Add define_splits that allow the 604 to use both
11517         integer units for loading constants.  Make sure insn length is
11518         correct.
11519
11520 Tue Jul  9 17:05:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11521
11522         * rs6000.c (easy_fp_constant): All FP constants are considered
11523         hard for -fpic and hardware floating point, so that the GOT
11524         register is created.
11525
11526 Tue Jul  9 15:21:27 1996  Jim Wilson  <wilson@cygnus.com>
11527
11528         * x-iris6 (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
11529
11530 Mon Jul  8 18:00:33 1996  Jim Wilson  <wilson@cygnus.com>
11531
11532         * sh.h (enum reg_class): Add new class GENERAL_FP_REGS.
11533         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise.
11534
11535         * cse.c (note_mem_written): Varying structure memory access with
11536         AND address can alias scalars.
11537         * sched.c ({true,anti,output}_dependence): Likewise.
11538
11539         * sh.c (calc_live_regs): For pragma_interrupt case, exclude call
11540         clobbered regs that are fixed, explicitly add MACH_REG and MACL_REG.
11541
11542         * calls.c (expand_call): For assign_stack_temp call in PARALLEL case,
11543         get mode from type instead of using BLKmode.
11544         * function.c (aggregate_value_p): If hard_function_value returns
11545         a non-REG, then return 0.
11546
11547         * mips.c (function_arg): Add explicit checks for FIELD_DECLs.
11548         (mips_function_value): Add explicit checks for FIELD_DECLs, and save
11549         them in the array FIELDS.  When returning structure with 1 float field,
11550         enclose it in a PARALLEL and set the PARALLEL mode correctly.
11551         * mips.md (call_value): Call gen_call_value_multiple_internal0
11552         only if there are multiple return values.  Strip the PARALLEL off
11553         if there there is only one return value.
11554
11555 Mon Jul  8 16:27:33 1996  Jeffrey A. Law  <law@cygnus.com>
11556
11557         * First cut at support for the H8/S.
11558         * h8300.c (h8300_init_once): Handle the H8/S (treat it
11559         like the H8/300H).
11560         (dosize, adds_subs_operand, one_insn_adds_subs_operand): Likewise.
11561         (output_adds_subs, const_costs, print_operand): Likewise.
11562         (output_simode_bld, h8300_adjust_insn_length): Likewise.
11563         (push_order, pop_order): Reverse.
11564         (function_prologue): Try to use ldm.l and stm.l insns
11565         on the H8/S.  Minor cleanups.
11566         (function_epilogue): Likewise.
11567         (asm_file_start): Emit ".h8300s" when compiling for the H8/S.
11568         * h8300/h8300.h (CPP_SPEC): Handle the H8/S.
11569         (TARGET_H8300S): New target.
11570         (TARGET_SWITCHES): Add "-ms" and "-mno-s".
11571         (BITS_PER_WORD): Handle the H8/S (treat it like the H8/300H).
11572         (UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY): Likewise.
11573         (BIGGEST_ALIGNMENT, BIGGEST_FIELD_ALIGNMENT): Likewise.
11574         (INITIALIZE_TRAMPOLINE, MOVE_MAX, Pmode): Likewise.
11575         * h8300.md: Handle H8/S just like H8/300H
11576         throughout the entire file.
11577         * t-h8300 (MULTILIB_OPTIONS): Build "-ms" libraries too.
11578         (MULTILIB_DIRNAMES): Put H8/S libraries in "h8300s" directory.
11579         * h8300/lib1funcs.asm: Emit ".h8300s" pseudo-op when generating
11580         h8300s object files.  Otherwise treat the H8/S just like the H8/300H.
11581         * ginclude/stdarg.h: Handle the H8/S.
11582         * ginclude/varargs.h: Likewise.
11583
11584 Mon Jul  8 14:50:58 1996  Doug Evans  <dje@cygnus.com>
11585
11586         * sparc/sol2.h (LINK_SPEC): Don't pass `-z text' if
11587         -shared -mimpure-text.
11588
11589 Sun Jul  7 18:03:46 1996  Torbjorn Granlund  <tege@noisy.tmg.se>
11590
11591         * m68k/lb1sf68.asm (__udivsi3): Use faster tstw instead of btst.
11592
11593 Thu Jul  4 11:44:39 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
11594
11595         * expr.c (get_inner_reference): Delete using alternate mode for
11596         bitfield; we don't make bitfields anymore if not needed.
11597
11598 Wed Jul  3 18:23:17 1996  Stephen L Moshier  (moshier@world.std.com)
11599
11600         * c-common.c (record_function_format): Define as static.
11601         
11602         * collect2.c (at SUNOS4_SHARED_LIBRARIES): Fix reference to unistd.h.
11603
11604 Wed Jul  3 17:35:20 1996  Gavin Koch  <gavin@cygnus.com>
11605
11606         * c-typeck.c (default_conversion): Add bitfield promotions.
11607                 
11608 Wed Jul  3 17:09:22 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
11609
11610         * gcc.c (default_compilers): Add null entries for languages we
11611         heard of.
11612         (main): If found one of those entries, say compiler not installed.
11613
11614 Wed Jul  3 12:52:53 1996  Jeffrey A. Law  <law@cygnus.com>
11615
11616         * pa.c (fmpy_operands): Define.
11617         (combinable_{fmpy,add,fsub}): New function.
11618         * pa.md (parallel_addb, parallel_movb): New patterns.
11619         (fmpyadd, fmpysub): New patterns.
11620
11621         * pa.c (fmpy{add,sub}operands): Tighten checks.  Allow SFmode.
11622
11623 Tue Jul  2 18:57:15 1996  Jeffrey A. Law  <law@cygnus.com>
11624
11625         * pa.c (ireg_or_int5_operand): New function.
11626         (output_parallel_movb, output_parallel_addb): Likewise.
11627         (combinable_copy, combinable_add, following_call): Likewise.
11628         (pa_adjust_insn_length): Handle parallel unconditional branches.
11629         (output_movb): Handle case were destination is %sar.
11630         * pa.h: Declare new functions.
11631         * pa.md (parallel_branch): New "type" attribute.
11632         (delay slot descriptions): Don't allow "parallel_branches" in
11633         delay slots.  Fill "parallel_branches" like "branch" insns.
11634         (movb patterns): Handle %sar as destination register.
11635
11636         * expr.c (compare): If function pointers need canonicalization
11637         before comparisons, canonicalize them.
11638         (do_store_flag): Do not use an sCC insn for a function pointer
11639         comparison if function pointers need canonicalization before
11640         comparing.
11641
11642 Tue Jul  2 17:56:37 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11643
11644         * rs6000/sysv4.h ({START,END}FILE_LINUX_SPEC): If -mnewlib is not
11645         used, use the crtbegin/crtend that 2.7.2 used.
11646
11647 Sat Jun 29 07:10:02 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11648
11649         * rs6000.h (INIT_EXPANDERS): Define, call rs6000_init_expanders.
11650         (RS6000_VARARGS_OFFSET): fpmem area no longer next to outgoing
11651         argument area.
11652         (STARTING_FRAME_OFFSET, STACK_DYNAMIC_OFFSET): Likewise.
11653         (frame_pointer_needed): Add external declaration.
11654         (rs6000_{save,restore}_machine_status): Ditto.
11655         (rs6000_init_expanders): Likewise.
11656
11657         * rs6000.c (rs6000_{save,restore}_machine_status): New functions
11658         to save and restore the globals needed on a per function basis.
11659         (rs6000_init_expanders): Initialize globals needed on a per
11660         function basis, and set up so the above save/restore functions are
11661         called when processing nested functions.
11662         (output_epilog): Don't initialize per function globals here.
11663         (rs6000_stack_info): Change where fpmem save area is to below local
11664         variables, and not just below the outgoing argument area.
11665
11666         * rs6000.md (floatsidf2*, fix_truncdfsi2*): Rewrite conversion
11667         routines to track new location of the fpmem save area.  Allocate a
11668         new base register temp for the routines in case the stack frame is
11669         more than 32k in size.
11670
11671 Sat Jun 29 05:44:37 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
11672
11673         * explow.c (convert_memory_address, case PLUS): Fix error in
11674         last change.
11675
11676 Fri Jun 28 23:30:48 1996  Jeffrey A. Law  <law@cygnus.com>
11677
11678         * reload1.c (choose_reload_regs): Properly mark spill registers
11679         as in use for inherited reloads.
11680
11681 Fri Jun 28 18:37:20 1996  Stephen L Moshier  <moshier@world.std.com>
11682
11683         * objc/sarray.c (ifdef __alpha__): Don't declare `free'.
11684         * objc/thr-decosf1.c (objc_thread_id): Use pthread_getunique_np
11685         to obtain a thread ID value.
11686         (objc_mutex_allocate): Cast mutex->owner to _objc_thread_t.
11687         (objc_mutex_{deallocate,unlock}): Likewise.
11688         (objc_mutex_{try,un,}lock):  Declare thread_id as _objc_thread_t.
11689
11690         * real.c (asctoeg): `0.0eX' is zero, regardless of the exponent X.
11691
11692 Fri Jun 28 18:33:13 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
11693
11694         * vax.md (rotl): Remove extraneous `$'.
11695
11696         * combine.c (previous_num_undos): Deleted variable.
11697         (MAX_UNDO): Deleted macro.
11698         (struct undo): New field, next.
11699         (struct undobuf): Deleted num_undos and undo.
11700         New fields undos, frees, and previous_undos.
11701         (SUBST, SUBST_INT): Rework to allocate memory and chain undo entries.
11702         (combine_instructions): Initialize undobuf.{undos,previous_undos},
11703         not undobuf.num_undo and previous_num_undos.
11704         (try_combine): Likewise.
11705         (undo_all, gen_rtx_combine): Rework to use new data structures.
11706
11707 Fri Jun 28 16:48:25 1996  Scott Christley <scottc@net-community.com>
11708
11709         * objc/sendmsg.c (__objc_block_forward): New function.
11710         (get_imp, objc_msg_lookup): Use different forwarding function
11711         when the returning a floating point value.
11712
11713 Fri Jun 28 16:25:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11714
11715         * configure: Allow multiple makefile frags.
11716         (i[3456]86-*-linux*oldld*): Add i386/t-crtstuff as target frag.
11717         (i[3456]86-*-linux*aout*, i[3456]86-*-linux*): Likewise.
11718         (m68k-*-linux*aout*): Add t-linux-aout as target frag.
11719         (m68k-*-linux*): Add t-linux as target frag.
11720         * Makefile.in (Makefile): xmake_file and tmake_file now already
11721         contain the $(srcdir)/config prefix.
11722
11723         * config/t-linux (BOOT_CFLAGS): Removed, no longer necessary.
11724         (CRTSTUFF_T_CFLAGS): Don't define.
11725         (CRTSTUFF_T_CFLAGS_S): Define this instead.
11726         * config/t-linux-aout (BOOT_CFLAGS): Removed.
11727         * m68k/t-linux: Remove variables now in t-linux.
11728
11729 Fri Jun 28 15:06:05 1996  John F. Carr  <jfc@mit.edu>
11730
11731         * alpha.c (alpha_emit_conditional_move): Emit correct code when
11732         incoming comparison code is NE.
11733
11734 Fri Jun 28 14:35:45 1996  J.T. Conklin  <jtc@hippo.cygnus.com>
11735
11736         * c-decl.c (init_decl_processing): Register __builtin_memset 
11737         and memset as builtin functions.
11738         * expr.c (expand_builtin, case BUILTIN_MEMSET): Open code memset
11739         where val == 0.
11740
11741 Fri Jun 28 14:10:03 1996  Richard Henderson  <rth@tamu.edu>
11742
11743         * alpha/linux.h (FUNCTION_PROFILER): _mcount has non-standard linkage.
11744         * alpha/elf.h (LINK_SPEC): Bring emulation name into sync
11745         with Cygnus snapshot.
11746
11747         * alpha.h ({MASK,TARGET}_BUILD_CONSTANTS): New macros.
11748         (TARGET_SWITCHES): New target option build-constants.
11749         * alpha.c (alpha_emit_set_long_const): New function.
11750         * alpha.md (movdi): Call it.
11751         * expmed.c (expand_mult_highpart): Use op1 not wide_op1 in
11752         expansion of mul_highpart.
11753         
11754         * alpha.c (output_{pro,epi}log): Flag_inhibit_size_directive
11755         should supress .ent, .end, and accompanying directives.
11756         (alpha_output_lineno): Fix polarity on GAS test.
11757         * alpha.h (NO_DBX_FUNCTION_END): New macro.
11758         * dbxout.c (dbxout_function): Respect NO_DBX_FUNCTION_END.
11759         * alpha/elf.h: New file.
11760         * alpha/linux.h (INITIALIZE_TRAMPOLINE): New definition.
11761         * alpha/xm-linux.h (HAVE_STRERROR): Define.
11762         * configure (alpha*-linux*ecoff*): New target, was alpha-*-linux*.
11763         (alpha-*-linux*): Use elf.h.
11764         * crtstuff.c (init_dummy): Only i386-linux (at most)
11765         needs ___brk_addr hack.
11766         
11767 Thu Jun 27 20:23:30 1996  Jon Buller  (jonb@metronet.com)
11768
11769         * ns32k.c (split_di): New; from i386.c.
11770         * ns32k.md (adddi3, subdi3, negdi3): New patterns.
11771
11772 Thu Jun 27 19:42:50 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
11773
11774         * combine.c (force_to_mode, case NE): Fix typo and logical error.
11775         (simplify_comparison): Don't swap args if op1 is CONST_INT.
11776
11777 Thu Jun 27 18:49:35 1996  Jim Wilson  <wilson@cygnus.com>
11778
11779         * expmed.c (extract_bit_field): Check TRULY_NOOP_TRUNCATION before
11780         making a SUBREG of a REG.
11781
11782 Thu Jun 27 11:03:59 1996  Ian Lance Taylor  <ian@cygnus.com>
11783
11784         * mips.h (CC1_SPEC): Put spaces between the -mips* cases.
11785         * mips/osfrose.h (CC1_SPEC): Likewise.
11786
11787         * sh.c (output_branch): Don't call ADJUST_INSN_LENGTH if insn is
11788         inside sequence.
11789
11790 Wed Jun 26 19:09:43 1996  Jeffrey A. Law  <law@cygnus.com>
11791
11792         * pa.h (CMP_PSI): Delete.
11793         (FUNCTION_POINTER_COMPARISON_MODE): Likewise.
11794         * pa.md (cmppsi): Delete expander.
11795         (canonicalize_funcptr_for_compare): Renamed from plabel_dereference,
11796         turned into an expander + anonymous pattern.
11797
11798 Tue Jun 25 22:36:11 1996  Doug Evans  <dje@seba.cygnus.com>
11799
11800         * gcc.c (PEXECUTE_VERBOSE): Define.
11801         (execute): Pass PEXECUTE_VERBOSE to pexecute if -v.
11802
11803 Tue Jun 25 12:23:54 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11804
11805         * rs6000.h (FINALIZE_PIC): Define to call rs6000_finalize_pic.
11806         (rs6000_finalize_pic): Add declaration.
11807         (svr4_traceback): Delete unused declaration.
11808
11809         * rs6000.md (movsi_got): Don't emit gen_init_v4_pic insn.
11810         (V.4 call insns): Do not use @plt for PIC calls.
11811
11812         * rs6000.c (print_operand_address): Handle LABEL_REF just like
11813         SYMBOL_REF.
11814         (rs6000_finalize_pic): Define, emit the gen_init_v4_pic insn
11815         before all other insns if needed for V.4 PIC calls.
11816
11817         * eabi-ci.asm (_GLOBAL_OFFSET_TABLE_): Do not provide a default
11818         definition, since it interferes with the linker generated version.
11819
11820 Tue Jun 25 01:17:50 1996  Jeffrey A. Law  <law@cygnsu.com>
11821
11822         * h8300.c (function_prologue): Update "monitor" prologues.
11823         (function_epilogue): Similarly.
11824
11825         * pa.h (PARSE_LDD_OUTPUT): Handle dynamic libraries that are
11826         loaded "statically".
11827
11828 Mon Jun 24 19:48:36 1996  Joel Sherrill  <joel@merlin.gcs.redstone.army.mil>
11829
11830         * configure ({i386,i960,m68k,powerpc,sparc}-rtems): New targets.
11831         * i386/go32-rtems.h, i386/i386-rtems.h: New files.
11832         * i960/i960-rtems.h: New file.
11833         * m68k/m68k-rtems.h: New file.
11834         * rs6000/powerpc-rtems.h: New file.
11835         * sparc/sparc-rtems.h: New file.
11836
11837 Mon Jun 24 23:09:22 1996  Paul Eggert  <eggert@twinsun.com>
11838
11839         * cccp.c: (create_definition): Diagnose `#define #' only once.
11840
11841 Mon Jun 24 11:42:58 1996  Jim Wilson  <wilson@cygnus.com>
11842
11843         * i386/cygwin32.h, rs6000/cygwin32.h (CPP_PREDEFINES): For consistency,
11844         change to define WIN32, WINNT, and CYGWIN32.
11845
11846 Mon Jun 24 10:46:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11847
11848         * rs6000.md (floatsidf2*): Move the xor of the argument into the
11849         define_insn, since it confuses inline function expands.
11850
11851 Fri Jun 21 20:40:17 1996  Jim Wilson  <wilson@cygnus.com>
11852
11853         * mips.md (call_internal1, call_value_internal1): Delete obsolete code.
11854         (call_internal2, call_value_internal2, call_value_multiple_internal2):
11855         Delete obsolete code.  Explicitly load SYMBOL_REF into register.
11856         (call_value): Change Pmode to SImode in gen_call_value_internal0 call.
11857
11858 Thu Jun 20 12:20:33 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
11859
11860         * configure (*-aix*): If building a cross compiler, use t-xnewas
11861         instead of t-newas.
11862
11863         * rs6000.c (num_insns_constant_wide): Fix typo if HOST_WIDE_INT
11864         has more than 32 bits.
11865
11866 Wed Jun 19 17:50:33 1996  Richard Henderson  <richard@atheist.tamu.edu>
11867
11868         * combine.c (move_deaths): New parameter maybe_kill_insn.
11869         Don't move note if reg killed by maybe_kill_insn.
11870         (try_combine): Pass new arg to move_deaths.
11871         
11872 Wed Jun 19 10:44:47 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
11873
11874         * toplev.c (flag_keep_static_consts): Define.
11875         (f_options): Add "keep-static-consts" entry.
11876         (compile_file): Check it in addition to !optimize for emitting
11877         static const variables.
11878
11879 Tue Jun 18 23:37:20 1996  Doug Evans  <dje@cygnus.com>
11880
11881         * i386/cygwin32.h (ASM_OUTPUT_SOURCE_LINE): Local symbols begin with L.
11882
11883 Tue Jun 18 12:00:11 1996  Jason Merrill  <jason@yorick.cygnus.com>
11884
11885         * varasm.c (asm_output_aligned_bss): Don't emit a skip of size 0.
11886
11887 Tue Jun 18 06:24:28 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
11888
11889         * integrate.c (expand_inline_function): Add missing call to
11890         force_operand when getting structure_value_addr into reg.
11891
11892         * alpha.c (override_options): Allow EV4/5 or 21064/21164 for cpu.
11893         Clean up handling of floating-point options.
11894         * alpha.h (TARGET_SWITCHES): Have all -mieee options turn
11895         on MASK_IEEE_CONFORMANT.
11896         (TARGET_DEFAULT): Use symbolic value.
11897         * alpha.md: When not involving named pattern, update condition
11898         to include alpha_tp != ALPHA_TP_INSN.
11899         Don't do float_extend as part of other pattern when ALPHA_TP_INSN.
11900         (extendsfsd2): Split into two patterns, depending on 
11901         value of alpha_tp.
11902
11903         * mips/iris6.h (ASM_SPEC): Treat -o32 as -32 and -n64 same as -64.
11904         * mips.c (override_options): Likewise.  
11905
11906         * genattrtab.c (fatal): Declare A1 and A2 as char *.
11907
11908         * function.c (find_temp_slot_from_address): Check for overlap
11909         from BASE_OFFSET if X is PLUS of virtual_stack_vars_rtx and const.
11910
11911         * flow.c (flow_analysis): Fix typo in last change.
11912
11913         * expr.c (expand_builtin, case BUILT_IN_{SET,LONG}JMP): Properly
11914         handle case when ptr_mode != Pmode.
11915
11916         * combine.c (try_combine): Don't use split if dest of new I2
11917         is used between I2 and I3.
11918
11919         * c-typeck.c (pointer_int_sum): Convert integer to both signedness
11920         and precision of sizetype.
11921         * explow.c (convert_memory_address, case PLUS, MULT): Don't commute
11922         operation with extension if not adding small integer.
11923
11924         * Makefile.in (BOOT_LANGUAGES): New variable.
11925         (bootstrap): Use it to select languages for stage1.
11926         * configure (extra_host_objs): New variable.
11927         Separate files needed for target and host and concatenate list.
11928         (extra_gcc_objs): Use setting for host, not target.
11929         (objc_thread_file): Start with it as null, then don't include "thr-".
11930         Print name of file after others and in same format.
11931         (alpha-*-winnt*, i[3456]86-*-winnt): oldnames.o is in extra_host_objs.
11932         (all_boot_languages): New variable.
11933         Set from boot_language variable in config-lang.in.
11934         Defines value of BOOT_LANGUAGES in Makefile.
11935         (Makefile): Set target to the canonical form of target.
11936
11937 Mon Jun 17 22:37:07 1996  Mike Meissner  <meissner@rtl.cygnus.com>
11938
11939         * rs6000/win-nt.h (ASM_DECLARE_FUNCTION_NAME): Put function
11940         descriptor in .reldata, not .text.
11941
11942 Mon Jun 17 16:05:34 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
11943
11944         * ginclude/stddef.h (wint_t): Don't wrap with #ifndef __cplusplus.
11945
11946 Mon Jun 17 15:03:20 1996  Jim Wilson  <wilson@cygnus.com>
11947
11948         * mips.c (mips_split_addresses): New variable.
11949         (simple_memory_operand): Add comment about mode check.  Add check
11950         for LO_SUM.
11951         (call_insn_operand): OP is now an addresses instead of a MEM.
11952         (move_operand, mips_check_split): New functions.
11953         (mips_count_memory_refs): Add check for LO_SUM.
11954         (mips_move_1word): Add HIGH support.
11955         (mips_address_cost): Delete check for HIGH.
11956         (output_block_move): Handle LO_SUM addresses.
11957         (override_options): Set mips_split_addresses.
11958         (print_operand_address): Add LO_SUM support.
11959         * mips.h (mips_split_addresses, mips_check_split, move_operand):
11960         New declarations
11961         (GO_IF_LEGITIMATE_ADDRESS): Reject constant addresses when
11962         mips_split_addresses is TRUE.  Add LO_SUM support.
11963         (LEGITIMIZE_ADDRESS): Add LO_SUM support.
11964         (PREDICATE_CODES): Modify call_insn_operand support.  Add
11965         move_operand.
11966         * mips.md (memory): Change r4100/r4300 support.
11967         (imuldiv): Add r4300 support.
11968         (high, low): New patterns.
11969         (movsi, movdi): Add LO_SUM support.
11970         (movsi_internal1, movsi_internal2): Use move_operand instead of
11971         general_operand.
11972         (movstrsi_internal, movstrsi_internal2): Delete R constraint.
11973         (call, call_value): Pass address instead of MEM to call_insn_operand.
11974         Call gen_call_{value_}internal0 instead of internal1.
11975         (call_internal0, call_value_internal0, call_multiple_internal0):
11976         New patterns.
11977         (call_internal1, call_internal2, call_value_internal1,
11978         call_value_internal2, call_value_multiple_internal2): Add explicit
11979         MEM before target address.
11980
11981 Sun Jun 16 23:05:16 1996  Jeffrey A. Law  <law@cygnus.com>
11982
11983         * configure (hppa*-hp-hpux10*): Use new pa-hpux10 configuration file.
11984         (hppa*-hp-hpux*): Use hpux9 configuration files by default.
11985         * pa/pa-hpux10.h: New file.
11986         * pa/pa-ghpux9.h: Deleted.  No longer used.
11987
11988 Sat Jun 15 04:35:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
11989
11990         * i386/gnu.h (LINK_SPEC): Remove -rpath /lib/ option.
11991         Ignore -ibcs option.
11992
11993 Thu Jun 13 14:49:41 1996  Jim Wilson  <wilson@cygnus.com>
11994
11995         * gen-protos.c (main): Change argv[i] to argv[0][i].
11996
11997 Thu Jun 13 10:46:24 1996  Doug Evans  <dje@cygnus.com>
11998
11999         * gcc.c (pfatal_pexecute): Delete code to check errno < sys_nerr.
12000
12001 Wed Jun 12 21:47:10 1996  Eliot Dresselhaus  <dresselh@rft30.nas.nasa.gov>
12002
12003         * alpha.c (alpha_cpu, alpha_cpu_string): New variables.
12004         (override_options): Process -mcpu= value.
12005         (alpha_adjust_cost): Handle adjustments for EV5.
12006         * alpha.h (enum processor_type): New enum.
12007         (alpha_cpu, alpha_cpu_string): New declarations.
12008         (target_options): Add "cpu=".
12009         (RTX_COSTS): Adjust values for EV5.
12010         * alpha.md: Add scheduling rules for EV5.
12011
12012 Tue Jun 11 17:51:03 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12013
12014         * c-common.c (check_format_info): Change text of message about use
12015         of `0' with precision.
12016
12017 Tue Jun 11 15:14:10 1996  Stan Cox  <coxs@dg-rtp.dg.com>
12018
12019         * i386.h (TARGET_SCHEDULE_PROLOGUE): New. Allows prologue to
12020         be emitted as asm or rtl.
12021
12022         * i386.c (function_prologue): Emit prologue as asm.
12023         (override_options): Don't emit rtl for prologue if -fpic.
12024
12025 Tue Jun 11 14:41:01 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
12026
12027         * rs6000/eabi.asm (__eabi): Fix normal code so that it properly
12028         loads up r2/r13 if needed again.
12029
12030         * rs6000/sysv4.h (CPP_ENDIAN_SPEC): Call cpp_endian_default, not
12031         cpp_endian_default_spec.
12032
12033 Mon Jun 10 15:10:56 1996  Jeffrey A. Law  <law@cygnus.com>
12034
12035         * local-alloc.c (update_equiv_regs): Ignore insns that read or
12036         write registers that are likely to be spilled.
12037
12038         * pa.h (cmp_type): Add CMP_PSI.
12039         (FUNCTION_POINTER_COMPARISON_MODE): Define.
12040         * pa.md (cmppsi): New expander.
12041         (plabel_dereference): New pattern
12042
12043 Mon Jun 10 14:56:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
12044
12045         * rs6000/sol2.h (SKIP_ASM_OP): Delete, Solaris accepts .space,
12046         like rest of PowerPC V4 ports.
12047
12048         * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Emit .lcomm if not
12049         using the .sbss area.  If using the .sbss area, put out
12050         appropriate .size directive.
12051
12052 Mon Jun 10 14:53:38 1996  Doug Evans  <dje@cygnus.com>
12053
12054         * Move fork/exec/wait handling into file of its own.
12055         * pexecute.c: New file.
12056         * Makefile.in (pexecute.o): Add rule.
12057         (xgcc): Link in pexecute.o.
12058         (protoize,unprotoize): Likewise.
12059         * gcc.c (_WIN32): Don't include process.h or declare spawnv{,p}.
12060         (pexecute,pwait): Add prototypes.
12061         (PEXECUTE_{FIRST,LAST,SEARCH}): Define.
12062         (execv,execvp): Delete decls.
12063         (perror_exec): Delete.
12064         (pfatal_pexecute): New function.
12065         (pexecute support): Delete.
12066         (execute): -pipe not supported if _WIN32 or OS2.
12067         Update call to pexecute.  Fatal error if pexecute fails.  Call pwait.
12068         * protoize.c: Include gansidecl.h.
12069         (my_execvp): Delete.
12070         (choose_temp_base,pexecute,pwait): Declare.
12071         (PEXECUTE_{FIRST,LAST,SEARCH}): Define.
12072         (execvp): Delete decl.
12073         (usage): Fix typo.
12074         (gen_aux_info_file): Rewrite to use pexecute/pwait.
12075
12076         * gcc.c (do_spec_1): Allow leading text in version string.
12077         Delete support for default minor number = 0.
12078
12079 Mon Jun 10 11:49:53 1996  Scott Christley <scottc@net-community.com>
12080
12081         * objc/Makefile (libobjc.a): Don't delete the library.
12082
12083         * objc/thr.h (objc_set_thread_callback): New function.
12084         (objc_thread_callback): Typedef for the hook function.
12085         * objc/thr.c (__objc_thread_detach_function): Clear thread storage.
12086         Call the thread hook function when first becoming multi-threaded.
12087         (objc_set_thread_callback): New function.
12088
12089         * objc/selector.c (__sel_register_typed_name): Additional parameter
12090         that indicates whether name and type parameters are constant or not.
12091         * objc/runtime.h (__sel_register_typed_name): Likewise.
12092         * objc/init.c (__sel_register_typed_name): Likewise.
12093
12094         * objc/init.c (__objc_init_protocols): Need to unlock mutex.
12095
12096 Mon Jun 10 11:44:44 1996  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12097
12098         * sparc/t-sol2 (gmon.o): Depend on stmp-int-hdrs.
12099         (crt1.o, crti.o, crtn.o, gcrt1.o): Depend on $(GCC_PASSES).
12100
12101 Mon Jun 10 11:29:46 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12102
12103         * flow.c (flow_analysis, find_basic_blocks): Ignore
12104         nonlocal_label_list for CALL_INSN that has a REG_RETVAL.
12105
12106         * c-common.c (decl_attributes, case A_T_UNION): Don't look at fields
12107         of union if there aren't any.
12108
12109 Sat Jun  8 22:13:33 1996  Stan Cox <coxs@dg-rtp.dg.com>
12110
12111         * i386.c (ix86_expand_prologue): Keep pic register load ahead
12112         of reference which may use a pic register.
12113
12114 Sat Jun  8 22:13:33 1996  Jim Wilson <wilson@cygnus.com>
12115
12116         * i386.md (strlensi_unroll4, strlensi_unroll5): Use + not =& for
12117         constraint for input/output operand 2.
12118
12119 Sat Jun  8 22:13:33 1996  J"orn Rennecke (amylaar@meolyon.hanse.de)
12120
12121         * i386.h (CONST_COSTS): Even integer constants have a cost.
12122         (RTX_COSTS): Take costs of subexpressions into account.
12123         If a multiply is actually a shift, use the cost of the shift.
12124         * i386/unix.h (SHIFT_DOUBLE_OMITS_COUNT): New macro.
12125         * i386/{gas, next, seq-gas}.h (SHIFT_DOUBLE_OMITS_COUNT): Redefine
12126         as zero.
12127         * i386.c (print_operand): new letter 's'.
12128
12129 Sat Jun  8 15:13:33 1996  Jim Wilson  <wilson@cygnus.com>
12130
12131         * mips.c (override_options): Add vr4100 and vr4300 support.
12132         * mips.h (enum processor_type): Likewise.
12133         (MASK_4300_MUL_FIX, TARGET_4300_MUL_FIX): New macros.
12134         (TARGET_SWITCHES): Add -mfix4300 option.
12135         * mips.md (cpu, memory, imuldiv, adder, mult, divide): Add
12136         vr4100 and vr4300 support.
12137         (muldf3, mulsf3): Add vr4300 support.
12138         (muldf3_internal, muldf_r4300, mulsf3_internal, mulsf_r4300): New
12139         patterns.
12140
12141 Sat Jun  8 14:35:23 1996  David Edelsohn  <edelsohn@mhpcc.edu>
12142
12143         * toplev.c (main): Re-enable -gxcoff+.
12144
12145 Sat Jun  8 14:20:14 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
12146
12147         * m68k/lb1sf68.asm (__{eq,ne,gt,lt,ge,le}{df,sf}2): Removed
12148         extraneous comments, constants, labels, etc.
12149
12150         * m68k/altos3068.h (TARGET_DEFAULT): Use MASK_* macros
12151         instead of explicit constants in definitions or conditionals.
12152         * m68k/{apollo68, aux, ccur-GAS, dpx2, hp320, hp3bsd}.h: Likewise.
12153         * m68k/{hp3bsd44, isi-nfp, isi, linux-aout, linux}.h): Likewise.
12154         * m68k/{lynx-ng, lynx, m68k-none, m68k-psos, m68kv4}.h): Likewise.
12155         * m68k/{mot3300, netbsd, news, next, pbb, plexus, sun2o4}.h): Likewise.
12156         * m68k/{sun3, sun3n, tower}.h): Likewise.
12157
12158 Sat Jun  8 13:55:23 1996  Matthias Pfaller  (leo@marco.de)
12159
12160         * ns32k.md (define_insns for ffs[qhs]i2): Deleted.
12161         (define_expand for ffssi2): New pattern.
12162
12163 Sat Jun  8 13:44:14 1996  Stephen L Moshier  (moshier@world.std.com)
12164
12165         * reload.c (find_equiv_reg): Set need_stable_sp if GOAL is the
12166         stack pointer.
12167
12168 Sat Jun  8 13:36:05 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12169
12170         * function.c (fixup_var_refs_1, case SIGN_EXTEND): Handle
12171         paradoxical SUBREGs as first operand.
12172         (fixup_var_regs_1, case SET): Handle paradoxical SUBREGs as
12173         first operand of a ZERO_EXTRACT in SET_DEST.
12174
12175         * c-common.c (enum attrs): Add A_FORMAT_ARG.
12176         (init_attribute): Initialize it.
12177         (decl_attributes, case A_FORMAT): Clean up error messages.
12178         (decl_attributes, case A_FORMAT_ARG): New case.
12179         (struct international_format_info): New structure and typedef.
12180         (international_format_list): New variable.
12181         (record_international_format): New function.
12182         (init_format_info): Call it for gettext, dcgettext, and dcgettext.
12183         (check_format_info): See if format arg is call to
12184         internationalization function.
12185
12186 Fri Jun  7 20:04:40 1996  Jim Wilson  <wilson@cygnus.com>
12187
12188         * gcc.c (MULTILIB_SELECT): Delete definition.
12189         (multilib_select): Delete static initializer.
12190         (multilib_obstack, multilib_raw): New global variables.
12191         (multilib.h): Include inside multilib_raw definition.
12192         (main): Set multilib_select from multilib_raw.
12193         * genmultilib: Change output to be a sequence of short strings
12194         separated by commas rather than a single long macro definition.
12195
12196         * cse.c (simplify_binary_operation, case MULT): Check for case
12197         where width is larger than HOST_BITS_PER_WIDE_INT, and upper most
12198         bit is set.  We can not generate a simple shift in this case.
12199
12200         * gsyms.h (enum sdb_type): Add T_LNGDBL if EXTENDED_SDB_BASIC_TYPES.
12201         (enum sdb_masks): Add EXTENDED_SDB_BASIC_TYPES masks.
12202         * sdbout.c (gsyms.h): Include if CROSS_COMPILE is defined.
12203         (plain_type_1): Use TYPE_PRECISION instead of TYPE_SIZE.
12204         Add check for LONG_DOUBLE_TYPE_SIZE if EXTENDED_SDB_BASIC_TYPES.
12205         * i960.h (EXTENDED_SDB_BASIC_TYPES): Define.
12206         (PUT_SDB_TYPE): Delete now unnecessary shifting and masking.
12207
12208         * i960.h (i960_output_move_{double,quad}): Declare.
12209
12210 Fri Jun  7 19:22:09 1996  Scott Christley <scottc@net-community.com>
12211
12212         * Makefile.in (OBJC_THREAD_FILE): New variable.
12213         * configure (objc_thread_file): Set new variable to appropriate
12214         values based upon target operating system; default is `thr-single'.
12215         * objc/Makefile (OBJC_THREAD_FILE): Add target and dependency.
12216         (thr.o): Remove OS specific thread files as dependencies.
12217         * objc/thr-decosf1.c: Now compiles as a separate source file, so
12218         include appropriate Objective-C headers.
12219         * objc/thr-{mach,os2,posix,irix,single,solaris,win32}.c: Likewise.
12220         * objc/thr.c: Remove inclusion of source files.
12221         * objc/thr.h (__objc_thread_exit_status): Declare global variable.
12222         * objc/thr-pthreads.c: New file.
12223
12224 Fri Jun  7 19:04:04 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
12225
12226         * m68k.h (TARGET_SWITCHES): Treat -m68302 like -m68000 and -m68332
12227         like -m68020; remove -mno-68302 and -mno-68332.
12228
12229 Fri Jun  7 12:06:12 1996  Per Bothner  <bothner@deneb.cygnus.com>
12230
12231         * expr.c (safe_from_p):  Allow Chill-style variable-sized arrays.
12232
12233 Thu Jun  6 23:11:11 1996  Jeffrey A. Law  <law@cygnus.com>
12234
12235         * h8300.c (h8300_monitor_function_p): New function.
12236         (h8300_os_task_function_p): Likewise.
12237         (os_task, monitor): Variables to note if the current
12238         function is an os_task or monitor.
12239         (function_prologue): Set monitor and/or os_task as needed.  Handle
12240         os_task and monitor functions.
12241         (function_epilogue): Clear monitor and os_task.  Handle os_task and
12242         monitor functions.
12243         (h8300_valid_machine_decl_attribute): Accept "OS_Task" and
12244         "monitor".
12245
12246 Thu Jun  6 20:01:54 1996  Per Bothner  <bothner@cygnus.com>
12247
12248         * gen-protos.c (progname):  New variable (needed by cppalloc.c).
12249         (main):  Set progname.
12250
12251         * cpplib.h (struct parse_file):  Removed.
12252         (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, CPP_OUT_BUFFER):  New macros.
12253         * cpphash.c (cpp_lookup):  Change struct parse_file -> cpp_reader.
12254
12255         * cpplib.c (init_parse_option):  Renamed to cpp_options_init.
12256         (push_parse_file):  Renamed to ...
12257         (cpp_start_read):  Change to return 1 on success, 0 on failure.
12258         (init_parse_file):  Renamed to cpp_reader_init.
12259         * cppmain.c (main):  Use CPP_SET_WRITTEN and cpp_fatal.
12260         Use renamed function names, and return protocols.
12261         * fix-header.c (read_scan_file):  Likewise.
12262
12263         * cpperror.c (cpp_message):  Generalize for "fatal" errors.
12264         (cpp_fatal):  New function (just calls cpp_message).
12265         * cpplib.c (cpp_start_read, cpp_handle_options, cpp_finish,
12266         parse_goto_mark, parse_move_mark):  Use cpp_fatal rather than fatal.
12267
12268         * fix-header.c (check_macro_names):  Fix struct parse_file->cpp_reader.
12269         * cpplib.c (newline_fix):  Remove unused function.
12270
12271 Thu Jun  6 19:47:26 1996  Jim Wilson  <wilson@cygnus.com>
12272
12273         Changes to support parameters and return values in multiple
12274         non-contiguous locations.
12275         * calls.c (expand_call): Handle NIL in PARALLEL.  Handle PARALLEL
12276         parameter in REG.  Handle PARALLEL return value in VALREG.
12277         (emit_library_call, emit_library_call_value): Abort for PARALLEL.
12278         (store_one_arg): Delete code for handling EXPR_LIST.
12279         * expr.c (emit_group_load, emit_group_store): New functions.
12280         (use_group_regs): New function.
12281         (emit_push_insn): Handle PARALLEL parameter in REG.
12282         (expand_assignment): Handle PARALLEL to_rtx.
12283         (store_expr): Handle PARALLEL target.
12284         * expr.h (emit_group_load, emit_group_store, use_group_regs): New
12285         declarations.
12286         * function.c (assign_parms): Handle PARALLEL parameter in ENTRY_PARM.
12287         * stmt.c (expand_value_return): Handle PARALLEL return_reg.
12288
12289         * mips/abi64.h (TYPE_DEPENDENT_REG): Delete.
12290         * mips.c (function_arg): Return PARALLEL for structure with
12291         aligned double fields.
12292         (type_dependent_reg): Delete.
12293         (mips_function_value): Return PARALLEL for structure
12294         with two floating point fields.
12295         * mips/mips.md (call_value): Handle PARALLEL in operands[0].
12296         (call_value_multiple_internal2): New pattern.
12297         * pa.h (FUNCTION_ARG): General PARALLEL instead of EXPR_LIST.
12298         * rs6000.c (init_cumulative_args): Change EXPR_LIST to PARALLEL
12299         in comments.
12300         (function_arg): Generate PARALLEL instead of EXPR_LIST.
12301
12302 Thu Jun  6 18:21:27 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12303
12304         * function.c (assign_parms): Tighten up code that makes REG_EQUIV
12305         notes for parms.
12306
12307         * fold-const.c (fold): Don't do anything with evaluated SAVE_EXPR.
12308
12309 Thu Jun  6 17:54:07 1996  J.T. Conklin  <jtc@cygnus.com>
12310
12311         * m68k.h (TARGET_SWITCHES): Group all floating point options.
12312         When an fp option is selected, unset bits used for other mutually
12313         exclusive fp options.
12314         (OVERRIDE_OPTIONS): Remove special case for SUPPORT_SUN_FPA;
12315         bits used for 68881 and SKY are now cleared by TARGET_SWITCHES.
12316
12317         * m68k.md (movsi_const0, movhi): Favor clr with TARGET_5200.
12318         (add[qhs]3): Don't use two addqw/subqw insns to add small integers to
12319         an address register with TARGET_68060.
12320         (stack push peephole): Use moveq.l with TARGET_5200 (when appropriate).
12321
12322         * m68k.h (MASK_5200, TARGET_5200): New macros.
12323         (TARGET_SWITCHES): Add "m5200".
12324         (LEGITIMATE_INDEX_P): Add TARGET_5200 to conditional expression.
12325         * m68k.c (const_method): Do not synthesize long constants
12326         with byte or word operations with TARGET_5200.
12327         * m68k.md: Disable byte and word arithmetic, rotate, integer
12328         divide, dbcc, etc. insns for TARGET_5200.
12329         * m68k-none.h: (CPU_FPU_SPEC, CPP_SPEC, ASM_SPEC): Support m5200.
12330
12331 Thu Jun  6 17:32:32 1996  Paul Eggert  <eggert@twinsun.com>
12332
12333         * fixproto (subdirs): Work around Solaris 2.5
12334         /usr/xpgr/bin/sed problem with \+\+.
12335
12336 Thu Jun  6 15:06:27 1996  Jim Wilson  <wilson@cygnus.com>
12337
12338         * c-decl.c (grokdeclarator): Call pop_obstacks after creating
12339         TYPE_DECL.
12340
12341         * loop.c (strength_reduce): If HAVE_cc0 defined, disable auto_inc_opt
12342         if it would put an insn between a cc0 setter/user pair.
12343
12344 Thu Jun  6 13:06:54 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
12345
12346         * rs6000/sysv4.h (LIBGCC2_WORDS_BIG_ENDIAN): If __sun__ is
12347         defined, treat that as little endian.
12348
12349 Wed Jun  5 20:04:53 1996  Jim Wilson  <wilson@cygnus.com>
12350
12351         * i960.h (ROUND_TYPE_ALIGN): Add check for TYPE_PACKED.
12352
12353         * sh.h (SHORT_IMMEDIATES_SIGN_EXTEND): Define.
12354         * sh.md (branch_true): Add comment about T-bit compares.
12355
12356 Tue Jun  4 23:08:34 1996  Per Bothner  <bothner@deneb.cygnus.com>
12357
12358         * cpplib.h, cpplib.c:  Remove support for !STATIC_BUFFERS.
12359         * cpplib.h:  Use unsigned char rather than U_CHAR.
12360         * cpplib.h (cpp_reader):  Add destructor #ifdef __cplusplus.
12361         (cpp_cleanup):  New prototype.
12362         * cpplib.c (special_symbol, do_once, do_include, cpp_get_token):
12363         Compare cpp_buffer against CPP_NULL_BUFFER, not NULL.
12364
12365         * cpplib.c (dump_special_to_buffer):  New function.
12366         (initialize_builtins):  Use it.
12367
12368 Wed Jun  5 19:10:22 1996  Jeffrey A. Law  <law@cygnus.com>
12369
12370         * pa/pa.h (TEXT_SPACE_P): Fix thinko in last change.
12371
12372 Wed Jun  5 16:25:51 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
12373
12374         * rs6000.h (ASM_DEFAULT_SPEC): Default to "", not -mpwr.
12375
12376         * sysv4.h (SUBTARGET_SWITCHES): Add -mshlib.
12377         (LINK_PATH_SPEC): Add -compat-bsd support from Solaris.
12378         (LINK_SPEC): Eliminate %{b} and %{G}, since they conflict with GCC
12379         switches.  Defer shared library support to LINK_SHLIB_SPEC.  Defer
12380         target selection to LINK_TARGET_SPEC.
12381         (LINK_SHLIB_SPEC): Provide two different versions, depending on
12382         whether shared libraries are default or not.  Make shared
12383         libraries not default until linker is fixed.
12384         (LINK_OS_*_SPEC): New specs for OS specific linker switches.
12385         (SUBTARGET_EXTRA_SPECS): Add new specs.
12386
12387         * {sol2,sysv4}.h (LINK_SPEC): Move Solaris link into general link spec.
12388
12389         * {sysv4,sysv4le,eabile}.h (LINK_TARGET_SPEC): Only pass -oformat
12390         to the linker if the user is changing the default endian format.
12391
12392         * {sol2,linux,eabisim,eabilesim}.h (LINK_OS_DEFAULT_SPEC): Define
12393         to use the appropriate OS link spec.
12394
12395 Wed Jun  5 16:35:10 1996  Ian Lance Taylor  <ian@cygnus.com>
12396
12397         * ginclude/stddef.h: Fix typo: TYPE_ptrdiff_t to _TYPE_ptrdiff_t.
12398
12399 Wed Jun  5 15:52:57 1996  Per Bothner  <bothner@kalessin.cygnus.com>
12400
12401         * varasm.c (output_constructor):  Handle RANGE_EXPR in array index.
12402
12403 Wed Jun  5 13:45:54 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12404
12405         * sparc.md (*call_{address,symbolic}_struct_value_sp32): Allow
12406         operand 2 to be const0_rtx.
12407
12408 Tue Jun  4 16:43:44 1996  Jason Merrill  <jason@yorick.cygnus.com>
12409
12410         * varasm.c (make_decl_rtl): Don't update DECL_ASSEMBLER_NAME for
12411         local statics.
12412
12413         * c-decl.c (start_decl): Always set DECL_COMMON on statics.
12414         * varasm.c (assemble_variable): Only treat vars with DECL_COMMON
12415         as common.
12416
12417 Tue Jun  4 14:55:49 1996  Jeffrey A. Law  <law@cygnus.com>
12418
12419         * pa.c (reloc_needed): New function.
12420         * pa.h (TEXT_SPACE_P): Variables/constants with initializers
12421         requiring relocs never live in the text space.
12422
12423 Tue Jun  4 14:10:46 1996  Ian Lance Taylor  <ian@cygnus.com>
12424
12425         * sh.c (fp_zero_operand): Do not accept minus zero.
12426
12427         * sh.h (ASM_OUTPUT_LOOP_ALIGN): Define.
12428         (ASM_OUTPUT_ALIGN_CODE): Define.
12429         (ADJUST_INSN_LENGTH): Add in bytes that may be added by
12430         alignment.
12431         * sh.c (output_branch): Run ADJUST_INSN_LENGTH in reverse to get
12432         correct length.  Just call abort rather than returning "bad".
12433         (find_barrier): Adjust limits for possible alignment.
12434
12435 Tue Jun  4 09:35:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
12436
12437         * rs6000/t-solaris: New target config file for PowerPC Solaris
12438         without gas.
12439
12440         * rs6000/t-ppc: Eliminate all multilib varients except for
12441         software floating point.
12442
12443         * configure (powerpcle-*-solaris*): If not --with-gnu-as, use
12444         t-solaris, not t-ppc.
12445
12446         * rs6000/sol2.h (MULTILIB_DEFAULTS): Add correct defaults for
12447         Solaris.
12448
12449         * rs6000/sysv4.h (ASM_OUTPUT_SECTION_NAME): Clone from svr4.h, omit
12450         @progbits, since Solaris assembler doesn't like it.
12451         (LIB_SOLARIS_SPEC): If -msolaris-cclib, add libabi.a.
12452         ({START,END}FILE_SOLARIS_SPEC): If -msolaris-cclib, use explicit
12453         pathnames for the Solaris compiler start/end files.
12454         (ASM_SPEC): Pass -mno-regnames to the assembler.
12455
12456 Mon Jun  3 19:40:10 1996  Jim Wilson  <wilson@cygnus.com>
12457
12458         * mips/abi64.h (CPP_SPEC): Make -mabi=n32 the default.
12459         * mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT, MULTILIB_DEFAULTS,
12460         ASM_SPEC, STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
12461         * mips.md (tablejump_internal4+1): Fix typo in condition.
12462         * mips/x-iris6 (CC, OLDCC): Define to be `cc -32'.
12463
12464 Mon Jun  3 07:57:35 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12465
12466         * tree.def ([LR]SHIFT_EXPR): Remove `a' from printed names.
12467
12468         * sparc.md (call): Mask unimp operand to 12 bits, just like Sun.
12469
12470         * expr.c (store_field): Fix typo in last change; update TARGET addr.
12471
12472         * c-decl.c (start_struct): Set TYPE_PACKED from flag_pack_struct.
12473         (start_enum): Likewise but from flag_short_enums.
12474         (finish_enum): Test TYPE_PACKED, not flag_short_enums.
12475         * stor-layout.c (layout_decl): Test DECL_PACKED and TYPE_PACKED
12476         instead of flag_pack_struct.
12477         (layout_record): Likewise.
12478
12479 Sun Jun  2 19:41:14 1996  Jim Wilson  <wilson@cygnus.com>
12480
12481         * mips.md (tablejump_internal3, tablejump_internal4): New patterns.
12482         (tablejump): Use them for PIC code.
12483
12484 Fri May 31 17:26:53 1996  Stan Cox  <coxs@dg-rtp.dg.com>
12485
12486         * i386.c (ix86_expand_epilogue): Don't generate references to an
12487         exposed vacated stack.
12488         * i386.md (epilogue_set_stack_ptr): New.
12489
12490 Fri May 31 15:07:49 1996  Jim Wilson  <wilson@cygnus.com>
12491
12492         * mips/abi64.h: Add -mabi=n32 support.
12493         (ABI_64BIT): Delete.
12494         (TARGET_LONG64, CPP_SPEC, STACK_BOUNDARY, MIPS_STACK_ALIGN,
12495         GP_ARG_LAST, FP_ARG_LAST, SUBTARGET_CONDITIONAL_REGISTER_USAGE,
12496         MAX_ARGS_IN_REGISTER, FUNCTION_ARG_PADDING, RETURN_IN_MEMORY,
12497         SETUP_INCOMING_VARARGS): Modify.
12498         (REG_PARM_STACK_SPACE): Ifdef out.
12499         (TARGET_DEFAULT, SUBTARGET_TARGET_OPTIONS): Define.
12500         * mips/iris6.h: Add -mabi=n32 support.
12501         (TARGET_DEFAULT, ASM_OUTPUT_INTERNAL_LABEL,
12502         ASM_GENERATE_INTERNAL_LABEL): Delete.
12503         (MULTILIB_DEFAULTS, ASM_SPEC, EXTRA_SECTION_FUNCTIONS,
12504         ASM_OUTPUT_ALIGNED_LOCAL, STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC):
12505         Modify.
12506         (MIPS_ABI_DEFAULT, LOCAL_LABEL_PREFIX): Define.
12507         * mips.c: Add -mabi=n32 support.
12508         (mips_const_double_ok, mips_move_1word, mips_move_2words,
12509         function_arg, override_options, mips_asm_file_start,
12510         compute_frame_size, save_restore_insns, function_prologue,
12511         mips_expand_prologue, function_epilogue, mips_function_value): Modify.
12512         (mips_abi, mips_abi_string): Define
12513         * mips.h: Add -mabi=n32 support.
12514         (ABI_64BIT): Delete.
12515         (TARGET_OPTIONS, INITIAL_ELIMINATION_OFFSET, GO_IF_LEGITIMATE_ADDRESS,
12516         CONSTANT_ADDRESS_P, LEGITIMATE_CONSTANT_P, LEGITIMIZE_ADDRESS,
12517         ASM_OUTPUT_ADDR_DIFF_ELT): Modify.
12518         (enum mips_abi_type, SUBTARGET_TARGET_OPTIONS): Define.
12519         (mips_abi, mips_abi_string): Declare.
12520         * mips.md (jump, tablejump_internal1, tablejump_internal2): Add
12521         -mabi=n32 support.
12522         * mips/t-iris6 (MULTILIB_OPTIONS): Add -mabi=n32 support.
12523         * mips/xm-irix6.h (HOST_BITS_PER_LONG): Use _MIPS_SZLONG not 64.
12524         * ginclude/va-mips.h (va_start): Add -mabi=n32 support.
12525
12526 Fri May 31 14:45:30 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
12527
12528         * rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -msolaris-cclib to use
12529         the Sun compiler's crt files instead of ours.
12530         ({START,END}FILE_SOLARIS_SPEC): If -msolaris-cclib, use the Sun
12531         compiler's crt files instead of ours.
12532         (SUBTARGET_OVERRIDE_OPTIONS): Don't set -msdata=data for Solaris.
12533         (SBSS_SECTION_ASM_OP): For Solaris, don't use @nobits.
12534         (CPP_OS_SOLARIS_SPEC): Remove -Asystem(unix) and -Asystem(svr4).
12535
12536         * rs6000/t-ppc{,gas} (MULTILIB*): Add Solaris specific multilibs.
12537
12538         * rs6000/eabi{,le}sim.h (*_DEFAULT_SPEC): Rather than using
12539         duplicate definitions, just use %(...) so that there is only one
12540         place in the specs file where the switches are defined.
12541         * rs6000/{linux,sol2}.h (*_DEFAULT_SPEC): Ditto.
12542
12543         * rs6000/sol2.h (CPP_PREDEFINES): Use the standard one in sysv4.h.
12544         (RS6000_ABI_NAME): Default is solaris.
12545         (ASM_OUTPUT_ALIGNED_LOCAL): Don't redefine.
12546
12547         * rs6000/sol-c{i.asm,n.asm,c0.c}: Provide more things that Solaris
12548         needs for program startup.
12549
12550 Thu May 30 21:57:34 1996  Mike Stump  <mrs@cygnus.com>
12551
12552         * tree.def (OFFSET_REF): Remove.
12553         * expr.c (expand_expr, case OFFSET_REF): Likewise.
12554         * tree.c (substitute_in_expr): Remove OFFSET_REF code.
12555
12556 Wed May 29 14:54:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
12557
12558         * rs6000/eabi.asm (__eabi): If not -mrelocatable, don't assemble
12559         relocatable functions, so that it can be assembled with the
12560         Solaris assembler.
12561
12562         * rs6000/sysv4.h (CPP_SYSV_SPEC): Define _RELOCATABLE if
12563         -mrelocatable-lib as well as -mrelocatable.
12564
12565         * rs6000.c (rs6000_file_start): New function to print some more
12566         information to the asm file.
12567         * rs6000/{sysv4,win-nt,rs6000}.h (ASM_FILE_START): Call it.
12568
12569 Tue May 28 15:21:24 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
12570
12571         * rs6000.h (FIRST_PSEUDO_REGISTER): Bump to 77.
12572         ({FIXED,CALL_USED}_REGISTERS): Add support for fpmem pseudo register.
12573         (REG_ALLOC_ORDER, HARD_REGNO_{NREGS,MODE_OK}): Likewise.
12574         (REGISTER_MOVE_COST, reg_class, REG_CLASS_{NAMES,CONTENTS}): Likewise.
12575         (REGNO_REG_CLASS, PREFERRED_RELOAD_CLASS): Likewise.
12576         (CLASS_{MAX_NREGS,CANNOT_CHANGE_SIZE,MAX_NREGS}): Likewise.
12577         (rs6000_stack, {,DEBUG_}REGISTER_NAMES): Ditto.
12578         (FPMEM_{REGNO_P,REGNUM}): New macros for fpmem register.
12579         (rs6000_fpmem_{offset,size}): New global variables.
12580         (RS6000_VARARGS_OFFSET): Fpmem temporary storage is located
12581         between outgoing arg area and varargs save area.
12582         (STARTING_FRAME_OFFSET, STACK_DYNAMIC_OFFSET): Likewise.
12583         (PREDICATE_CODES): Add fpmem_operand.
12584         ({count_register,fpmem}_operand): Add declarations.
12585
12586         * rs6000.c ({rs6000,alt}_reg_names): Add support for fpmem 'register'.
12587         (rs6000_fpmem_{offset,size}): New global variables.
12588         (fpmem_operand): Return true for fpmem registers.
12589         (gpc_reg_operand): The fpmem register is not general purpose.
12590         (includes_rshift_p): Add casts to silence warnings from Solaris
12591         PowerPC host compiler.
12592         (print_operand): Add 'v' operand type for the upper 16 bits of
12593         signed constants, to placate the Solaris assembler.
12594         ({rs6000,debug}_stack_info): Add support for fpmem 'register'.
12595         (output_epilog): Likewise.
12596
12597         * rs6000.md (addsi3,movsi,movsf,movdi): Use %v for constants with
12598         the upper 16 bits, to get the sign correct for PowerPC Solaris.
12599         (float{,uns}sidf2,fix_truncdfsi2): Rewrite to use 'register' 76
12600         for the memory location used to convert between float and integer.
12601
12602         * sysv4.h (ASM_OUTPUT_{CON,DE}STRUCTOR): Use code laid down in
12603         .init and .fini for making constructors and destructors under
12604         Solaris.
12605         (ASM_SPEC): Do not pass -u to the assembler.
12606         (CC1_SPEC): -mrelocatable implies -meabi.
12607
12608         * sol2.h (RS6000_ABI_NAME): Default ABI is Solaris, not System V.4.
12609         (ASM_OUTPUT_ALIGNED_LOCAL): Don't define Solaris specific method.
12610
12611 Mon May 27 06:39:13 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12612
12613         * expr.c (expand_builtin, case BUILT_IN_{LONG,SET}JMP):
12614         Convert block address from ptr_mode to Pmode.
12615
12616 Sun May 26 20:05:43 1996  Doug Evans  <dje@cygnus.com>
12617
12618         * gcc.c (MSDOS pexecute): Call xmalloc, not malloc.
12619
12620 Sun May 26 08:31:54 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12621
12622         * configure (vax-*-{sysv}): tm_file and xm_file now list.
12623         (vax-*-ultrix): tm_file is now list.
12624         (we32k-att-sysv*): xm_file now list.
12625         * vax/xm-netbsd.h: Deleted.
12626         * vax/netbsd.h: No longer include vax.h and config/netbsd.h.
12627         * vax/ultrix.h, vax/vaxv.h: No longer include vax.h.
12628         * vax/xm-vaxv.h: No longer include xm-vax.h.
12629         * xm-we32k.h: No longer include xm-svr3.h.
12630
12631         * configure: Separately set target_cpu_default for two
12632         case statements and then combine if both set.
12633         (alpha-*-winnt3): tm_file and xm_file are now list.
12634         Set target_cpu_default to 64.
12635         * winnt/config-nt.bat: Make .h files properly for Alpha.
12636         * alpha.h (WINDOWS_NT): No longer defined and used.
12637         (MASK_WINDOWS_NT, TARGET_WINDOWS_NT): New macros.
12638         (ASM_OUTPUT_ADDR_DIFF_ELT): Use TARGET_WINDOWS_NT.
12639         * alpha.c (output_prolog): Test TARGET_WINDOWS_NT, not WINDOWS_NT.
12640         * alpha.md: Likewise.
12641         * alpha/config-nt.sed: Properly set tm_file and {build,host}_xm_file.
12642         * alpha/win-nt.h: Don't include alpha.h
12643         (WINDOWS_NT): No longer define.
12644         * alpha/xm-winnt.h: Don't include xm-alpha.h and winnt/xm-winnt.h.
12645
12646 Fri May 24 12:34:22 1996  Doug Evans  <dje@seba.cygnus.com>
12647
12648         * configure (cpu_type): Add case for arm.
12649         (sparclet-*-aout*): Delete extra_headers.
12650
12651         * varasm.c (asm_output_bss): New argument DECL.
12652         Use ASM_DECLARE_OBJECT_NAME if defined.
12653         (asm_output_aligned_bss): Likewise.
12654         (assemble_variable): Pass DECL to ASM_OUTPUT{,_ALIGNED}_BSS.
12655         * arm/aout.h (ASM_OUTPUT_ALIGNED_BSS): Update.
12656         * h8300.h (ASM_OUTPUT_BSS): Update.
12657         * i386/linux.h (ASM_OUTPUT_ALIGNED_BSS): Update.
12658         * i386/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Update.
12659         * m68k/coff.h (ASM_OUTPUT_ALIGNED_BSS): Update.
12660         * m68k/linux.h (ASM_OUTPUT_ALIGNED_BSS): Update.
12661         * m68k/m68k-aout.h (ASM_OUTPUT_BSS): Update.
12662         * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Update.
12663         * rs6000/win-nt.h (ASM_OUTPUT_ALIGNED_BSS): Update.
12664         * sparc/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Update.
12665
12666 Thu May 23 19:55:52 1996  Jim Wilson  <wilson@cygnus.com>
12667
12668         * combine.c (set_nonzero_bits_and_sign_copies): Set reg_sign_bit_copies
12669         to one not zero to indicate value is unknown.
12670
12671 Thu May 23 18:39:24 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
12672
12673         * config/netbsd.h (SWITCH_TAKES_ARG): Add -R.
12674         (LINK_SPEC): Add %{R*}.
12675
12676         * m68k/lb1sf68.asm: Construct exception masks at compile time
12677         instead of or'ing in bits at run time.
12678
12679 Thu May 23 15:53:06 1996  Ian Lance Taylor  <ian@cygnus.com>
12680
12681         * sh.md: Add new instruction types fp and fpdiv.  Set new
12682         instruction types where appropriate.  Add function unit fp.
12683         Claim that store instructions use function unit memory.
12684
12685 Thu May 23 00:36:19 1996  Jeffrey A. Law  <law@cygnus.com>
12686
12687         * h8300.h (CONSTANT_ADDRESS_P): Don't accept CONST or HIGH on H8/300H.
12688         * h8300.md: Use "m" rather than "o" constraint everywhere appropriate.
12689         Cleanup use of "i" and "n" constraints.
12690
12691 Wed May 22 17:43:37 1996  Jim Wilson  <wilson@cygnus.com>
12692
12693         * fixincludes (pthread.h): Add extern to __page_size* declarations
12694         for AIX 4.1.x.
12695
12696         * combine.c (nonzero_bits): Don't assume arg pointer has same
12697         alignment as stack pointer.
12698
12699 Wed May 22 16:09:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
12700
12701         * rs6000/sysv4.h (LINK_START_DEFAULT_SPEC): Spell macro correctly.
12702         (LIB_DEFAULT_SPEC): Provide default version.
12703
12704 Wed May 22 11:23:57 1996  J"orn Rennecke (amylaar@meolyon.hanse.de)
12705
12706         * i386.md (return_pop_internal): new pattern.
12707         (pop): disable emitting of bogus move instruction.
12708         * i386.c (ix86_expand_epilogue): use gen_return_pop_internal to
12709         simultanously return and pop args; removed stray semicolon.
12710         * config/linux-aout.h, config/linux.h (SET_ASM_OP): Added for
12711         __attribute__ ((alias ())) support.
12712
12713 Wed May 22 08:06:42 1996  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu.edu>
12714
12715         * combine.c (init_reg_last_arrays, setup_incoming_promotions):
12716         Correct prototypes.
12717
12718 Tue May 21 13:42:17 1996  Jeffrey A. Law  <law@cygnus.com>
12719
12720         * h8300.md (div and mode patterns): Rewrite.
12721
12722         * pa.c (basereg_operand): Never accept a CONST_INT.
12723
12724 Tue May 21 12:26:40 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12725
12726         * pa/pa-hpux9.h, pa-osf.h (LINK_SPEC): Provide version for Snake.
12727
12728 Tue May 21 07:20:48 1996  Pat Rankin  <rankin@eql.caltech.edu>
12729
12730         * vax.h (TARGET_NAME): Define unless already defined.
12731         (TARGET_VERSION): Print TARGET_NAME.
12732         * vax/vms.h (TARGET_NAME): Always redefine.
12733         (TARGET_VERSION): Delete; retain vax.h definition.
12734
12735 Mon May 20 14:00:44 1996  Jim Wilson  <wilson@cygnus.com>
12736
12737         * sh.c (output_file_start): Delete misplaced semicolon.
12738
12739 Mon May 20 11:58:15 1996  Jeffrey A. Law  <law@cygnus.com>
12740
12741         * reorg.c (relax_delay_slots): Call update_block before
12742         redirecting a branch past a redundant insn.
12743
12744 Sun May 19 16:40:53 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
12745
12746         * Makefile.in (libobjc.a, sublibobjc.a): 'specs' added to
12747         dependencies.
12748
12749 Sun May 19 12:25:48 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12750
12751         * configure: Add new switch to provide default for cpu_type;
12752         delete numerous settings of it in main switch.
12753         (hppa): Reflect rerrangements below; use new configure features.
12754         * pa/pa-gas.h, pa/pa-pro-end.h: New files.
12755         * pa/pa1.h, pa/pa1-osf.h, pa/pa1-ghpux.h, pa/pa1-oldas.h: Deleted.
12756         * pa/pa1-ghpux9.h, pa/pa1-hpux9.h, pa/pa1-hpux.h: Deleted.
12757         * pa/pa1-ghiux.h, pa/pa1-hiux.h, pa/pa-ghpux.h: Deleted.
12758         * pa/pa-gux7.h, pa/pa-ghiux.h: Deleted.
12759         * pa/pa-hiux.h: No longer include pa-hpux.h.
12760         * pa/pa-hpux.h: No longer include pa.h.
12761         (TARGET_DEFAULT): Unset before setting.
12762         (LINK_SPEC): Provide option for pa1.
12763         * pa/pa-hpux7.h: No longer include pa.h.
12764         (HP_FP_ARG_DESCRIPTOR_REVERSED): Don't define here.
12765         * pa/pa-hpux9.h, pa/pa-oldas.h: No longer include pa-hpux.h.
12766         (TARGET_DEFAULT): Don't need to set here.
12767         * pa/pa-osf.h: No longer include pa.h.
12768         (TARGET_DEFAULT): Don't define; identical to default.
12769         * pa/pa-pro.h: No longer include pa.h.
12770         Move definitions after include to new file pa-pro-end.h.
12771         * pa.h (TARGET_SWITCHES): Include TARGET_CPU_DEFAULT.
12772         (TARGET_CPU_DEFAULT): Provide default value.
12773         (CPP_SPEC): Test TARGET_CPU_DEFAULT too.
12774
12775         * Makefile.in (function.o): Includes bc-emit.h.
12776         (reg-stack.o): Includes insn-flags.h.
12777         * expr.h (function_value): Deleted; no such function.
12778         (bc_build_calldesc, bc_runtime_type_code): New declarations.
12779         * c-decl.c: Add prototypes for all static functions.
12780         * c-iterate.c: Likewise.
12781         * dbxout.c: Likewise.
12782         (adspath): Delete; never used and has numerous parse errors.
12783         * dwarfout.c: If not GNUC, make `inline' null; otherwise, leave alone.
12784         Add `static' to inline functions.
12785         Add prototypes for static function.
12786         * expr.c (bc_runtime_type_code): Delete redundant declaration.
12787         * function.c: Include bc-emit.h.
12788         ({save,restore}_machine_status): Add prototype for args.
12789         (bc_runtime_type_code, bc_build_calldesc): Delete redundant decls.
12790         (bc_emit_trampoline, bc_end_function): Likewise.
12791         * reg-stack.c: Include insn-flags.h.
12792         Add prototypes for static functions.
12793         (gen_jump, gen_movdf, gen_movxf): Delete redundant declarations.
12794         (find_regno_note, emit_jump_insn_before, emit_label_after): Likewise.
12795         (swap_rtx_condition): Now static.
12796         * sdbout.c: Add prototypes for static functions.
12797         (sdbout_parms, sdbout_reg_parms): Delete extra parm to plain_type.
12798
12799 Sun May 19 11:50:10 1996  John Carr <jfc@mit.edu>
12800
12801         * alpha.c (alpha_emit_conditional_move): Compare to 0 in correct mode.
12802
12803 Sat May 18 20:17:27 1996  Jim Wilson  <wilson@cygnus.com>
12804
12805         * sh.c (prepare_move_operands): If source is r0, and dest is reg+reg
12806         MEM, then copy source to a pseudo-reg.
12807         * sh.md (untyped_call): New pattern.
12808
12809         * unroll.c (copy_loop_body): When update split DEST_ADDR giv,
12810         check to make sure it was split.
12811         (find_splittable_givs): Fix reversed test of verify_addresses result.
12812
12813 Sat May 18 10:26:04 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12814
12815         * tree.c (unsave_expr_now): Avoid use of NULL_RTX since no rtl.h.
12816
12817         * configure: Set cpu_default, tm_file, and xm_file early.
12818         Remove redundant settings of those, tmake_file, and xmake_file.
12819         Use ${tm_file} and ${xm_file} to refer to the main files.
12820         Sort some entries for consistency and reformat some others.
12821         (rs6000, powerpc): Remove bogus test on host == target.
12822         (alpha-*-linux): xm-linux.h no longer includes xm-alpha.
12823         (alpha-*-osf*): Remove redundant setting of target_cpu_default.
12824         (*-convex-*): Use target_cpu_default instead of separate .h files.
12825         (clipper-intergraph-clix*): clix.h no longer includes any files.
12826         (i860, i960, pdp11): Reflect removal of includes listed below.
12827         * alpha/xm-linux.h: No longer include xm-alpha.h.
12828         * clipper/clix.h: No longer include clipper.h and svr3.h.
12829         * convex.h: Provide a default for TARGET_DEFAULT.
12830         Take "or" of TARGET_DEFAULT and TARGET_CPU_DEFAULT everywhere.
12831         * convex/convex{1,2,32,34,38}.h: Deleted.
12832         * i860/bsd-gas.h: No longer include bsd.h.
12833         * i860/bsd.h: No longer include i860.h.
12834         * i860/fx2800.h: No longer include i860/sysv4.h.
12835         (OUTPUT_TDESC): No longer define.
12836         (ASM_FILE_END): Move redefinition to here.
12837         * i860/mach.h: No longer include i860.h.
12838         * i860/paragon.h, i860/sysv3.h: No longer include i860.h and svr3.h.
12839         * i860/sysv4.h: No longer include i860.h and svr4.h.
12840         (ASM_FILE_END): Delete redefinition from here.
12841         * i860/xm-fx2800.h: No longer include xm-i860.h.
12842         * i860/xm-paragon.h, i860/xm-sysv{3,4}.h: Deleted.
12843         * i960/i960-coff.h: No longer include i960.h and dbxcoff.h.
12844         * i960/vx960-coff.h: No longer include i960-coff.h.
12845         * i960/vx960.h: No longer include i960.h.
12846         * pdp11/2bsd.h: No longer include pdp11.h.
12847
12848         * i370/i370.h: Renamed from mvs.h.
12849         * i370/i370.c: Renamed from mvs370.c.
12850         * i370/t-i370: Renamed from t-mvs.
12851         * i370/xm-i370.h: Renamed from xm-mvs.h.
12852         * configure (i370-*-mvs*): Use default names for all files.
12853
12854         * c-parse.in: Update number of shift/reduce conflicts for objc.
12855
12856 Sat May 18 08:20:17 1996  Dennis Glatting  (dennisg@plaintalk.bellevue.wa.us)
12857
12858         * m68k/next.h (FINALIZE_TRAMPOLINE): Add missing backslashes.
12859
12860 Fri May 17 19:57:20 1996  Pat Rankin  <rankin@eql.caltech.edu>
12861
12862         * vax/xm-vms.h (dbxout_resume_previous_source_file): New macro.
12863
12864 Fri May 17 14:20:13 1996  Mike Stump  <mrs@cygnus.com>
12865
12866         * expr.c (expand_expr, cond TARGET_EXPR): Make TARGET_EXPRs
12867         redoable for UNSAVE_EXPR.
12868         * stmt.c (expand_decl_cleanup): Wrap the cleanup in an UNSAVE_EXPR
12869         to that we can redo it.
12870         * tree.c (unsave_expr_now): Handle TARGET_EXPRs fully now.
12871         * tree.def (TARGET_EXPR): Add a fourth field so that TARGET_EXPRs
12872         are redoable.
12873
12874         * expr.c (expand_expr, cond UNSAVE_EXPR): Move from the C++
12875         frontend to the backend where it belongs.
12876         * tree.c (unsave_expr{,_now}): Likewise.
12877         * tree.def (UNSAVE_EXPR): Likewise.
12878         * tree.h (unsave_expr{,_now}): Likewise.
12879
12880 Fri May 17 15:04:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
12881
12882         * rs6000.md (lshrsi3 insns): Add special case code for shifting by
12883         0 to avoid bad code generated with no optimization.
12884
12885 Fri May 17 13:50:55 1996  Jason Merrill  <jason@yorick.cygnus.com>
12886
12887         * i386/unix.h (ASM_OUTPUT_MI_THUNK): Define.
12888         * i386/{att.h,bsd.h,sun386.h} (ASM_OUTPUT_MI_THUNK): Delete.
12889
12890 Fri May 17 13:34:28 1996  Ian Lance Taylor  <ian@cygnus.com>
12891
12892         * fp-bit.c (_fpdiv_parts): Correct sign handling when
12893         dividing zero or infinity by something.
12894
12895 Fri May 17 12:36:36 1996  Doug Evans  <dje@seba.cygnus.com>
12896
12897         Standardize option output in assembler files.
12898         * Makefile.in (toplev.o): Pass -DTARGET_NAME.
12899         * arm/aout.h (ASM_OUTPUT_OPTIONS): Delete.
12900         (ASM_FILE_START): Delete option output support.
12901         * arm.c (output_option, output_options, m_options): Delete.
12902         * m88k.c (output_file_start): Delete option output support.
12903         * m88k.h (ASM_COMMENT_START): Define.
12904         * mips.c (target_switches, print_options): Delete.
12905         (mips_asm_file_start): Put output of -G,Cpu,ISA here.
12906         * mips.h (ASM_COMMENT_START): Change from "\t\t#" to " #".
12907         * rs6000.c (output_option, m_options, output_options): Delete.
12908         * rs6000.h (ASM_OUTPUT_OPTIONS): Delete.
12909         (ASM_COMMENT_START): Define.
12910         (ASM_FILE_START): Delete option output support.
12911         * rs6000/sysv4.h (ASM_FILE_START): Likewise.
12912         * rs6000/win-nt.h (ASM_FILE_START): Likewise.  Delete duplicate.
12913         * sh.c (output_option, m_options, output_options): Delete.
12914         (output_file_start): Delete option output support.
12915         * sh.h (ASM_FILE_START): Likewise.
12916         (ASM_COMMENT_START): Define.
12917         * dwarfout.c (*): flag_verbose_asm renamed to flag_debug_asm.
12918         * flags.h (flag_debug_asm): Declare.
12919         * toplev.c (print_version): New function.
12920         (print_single_switch): New arguments pos, max, indent, sep, term.
12921         (print_switch_values): New arguments pos, max, indent, sep, term.
12922         Update call to print_single_switch.  Output options passed and
12923         options enabled.
12924         (MAX_LINE): New macro.
12925         (flag_debug_asm): Define.
12926         (compile_file): Output options to assembler file.
12927         (main): Recognize -dA.  Call print_version.  Update call to
12928         print_switch_values.
12929         (line_position): Deleted.
12930
12931 Fri May 17 10:50:44 1996  Stan Cox  (coxs@dg-rtp.dg.com)
12932
12933         * i386.c (function_prologue, ix86_expand_prologue,
12934         function_epilogue, ix86_expand_epilogue): Generate prologue and
12935         epilogue as RTL (prior to scheduling) instead of emitting asm.
12936         (override_options): If only -march is given, make it the default -mcpu.
12937         * i386.h (FUNCTION_BEGIN_EPILOGUE): Renamed from FUNCTION_EPILOGUE.
12938         * i386.md (return, return_internal, prologue, prologue_set_got,
12939         prologue_get_pc, epilogue, leave, pop): New patterns for emitting
12940         asm from prologue and epilogue RTL.
12941         * m88k/t-dgux (T_CFLAGS): Delete.
12942         * m88k/x-dgux (X_CFLAGS): New.
12943
12944 Fri May 17 09:54:23 1996  Jim Meyering  (meyering@asic.sc.ti.com)
12945
12946         * Makefile.in (stamp-crt{,S}): Use -o to avoid conflicts if
12947         both of these are built in parallel.
12948
12949 Fri May 17 08:55:19 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12950
12951         * expmed.c (store_split_bit_field): Don't assume the alignment
12952         of VALUE is the same as the record.
12953
12954         * configure: Write #define TARGET_CPU_DEFAULT into tm.h
12955         instead of defining MAYBE_TARGET_DEFAULT in Makefile.
12956         (alpha-*-linux): Set target_cpu_default to 4 and xmake_file to none.
12957         (alpha-*-osf*): Set target_cpu_default to 4 if --gas.
12958         * Makefile.in (gcc.o, toplev.o, $(out_object_file)):
12959         Remove MAYBE_TARGET_DEFAULT.
12960
12961         * combine.c (insn_cuid): New function.
12962         (INSN_CUID): Sometimes call it.
12963
12964 Fri May 17 08:12:37 1996  Scott Christley <scottc@net-community.com>
12965
12966         * objc/sendmsg.c (objc_get_uninstalled_dtable): New function.
12967         * objc/objc-api.h (objc_get_uninstalled_dtable): New declaration.
12968
12969         * objc/thr-os2.c, objc/thr-posix.c, objc/thr-mach.c: New files.
12970         * objc/THREADS.MACH: New file.
12971
12972         * objc/sendmsg.c (nil_method): Deleted from here.
12973         * objc/nil_method.c: New file.
12974         * Makefile (OBJC_O): Add dependency for nil_method.c.
12975
12976         * objc/hash.c (hash_is_key_in_hash): New function.
12977         * objc/hash.h: Include objc/objc.h here instead of in objc/hash.c
12978         to get BOOL typedef.
12979
12980 Fri May 17 08:01:48 1996  Doug Rupp  (rupp@gnat.com)
12981
12982         * msdos/configur.bat: If Ada subdirectory present, adjust Makefile.
12983
12984 Fri May 17 07:40:04 1996  Ulrich Drepper  (drepper@cygnus.com)
12985
12986         * stddef.h: If need_wint_t defined, nothing in this file is needed.
12987         (_WINT_T, __WINT__TYPE__, wint_t): Define under certain circumstances.
12988
12989 Thu May 16 18:53:25 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
12990
12991         * fold-const.c (fold, case EQ_EXPR): When folding VAR++ = CONST,
12992         mask the new const if VAR is a bitfield reference; also for VAR--.
12993
12994 Thu May 16 18:29:03 1996  Doug Evans  <dje@seba.cygnus.com>
12995
12996         * varasm.c (function_section): Delete flag_function_sections support.
12997         (assemble_start_function): Put it here.  Use UNIQUE_SECTION if defined.
12998
12999 Wed May 15 13:35:11 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
13000
13001         * rs6000.{h,c,md} (rs6000_pic_register): Delete all uses, use
13002         pic_offset_table_rtx instead.
13003
13004         * rs6000.md (move_to_float): Rewrite so that it uses the register
13005         allocator to allocate the stack temp, instead of calling
13006         rs6000_stack_temp.
13007         (fix_truncdfsi2): Likewise.
13008
13009         * rs6000.c (rs6000_stack_temp): Delete, no longer used.
13010
13011 Wed May 15 10:39:27 1996  Jeffrey A. Law  <law@cygnus.com>
13012
13013         * h8300.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
13014
13015 Sat May 11 07:42:59 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
13016
13017         * expr.c (store_field): Support BLKmode bitfield if aligned on
13018         byte boundary using emit_block_move.
13019         (expand_expr, case COMPONENT_REF): Likewise.
13020
13021 Fri May 10 18:33:39 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
13022
13023         * configure (alpha-*-linux): Reverse order in tm_file list.
13024         Delete xmake_file.
13025         * alpha/x-linux: Deleted.
13026         * alpha/linux.h (ASM_FINAL_SPEC): Add #undef.
13027         * alpha/xm-linux.h: Remove bogus trailing #endif.
13028
13029         * loop.c (maybe_eliminate_biv_1): Disable all but two cases
13030         of biv elimination with givs and restrict those two cases to
13031         an ADD_VAL that is an address.
13032
13033         * flow.c (mark_set_1, mark_used_regs): Clean up usages
13034         of ALL_NEEDED; change to SOME_NOT_NEEDED and set properly.
13035
13036 Fri May 10 11:37:38 1996  Jason Merrill  <jason@yorick.cygnus.com>
13037
13038         * toplev.c (compile_file): Don't warn about artificial functions
13039         declared static and not defined.
13040
13041 Thu May  9 22:03:28 1996  Doug Evans  <dje@cygnus.com>
13042
13043         * varasm.c (assemble_start_function): ASM_DECLARE_FUNCTION_NAME
13044         needn't consider bytecodes.
13045         (assemble_variable): ASM_DECLARE_OBJECT_NAME needn't
13046         consider bytecodes.
13047         * toplev.c (rest_of_decl_compilation): Likewise with
13048         ASM_FINISH_DECLARE_OBJECT.
13049         * arm/aof.h (ASM_DECLARE_{FUNCTION,OBJECT}_NAME): Delete bytecode
13050         support.
13051         * vax/vms.h (ASM_DECLARE_OBJECT_NAME): Likewise.
13052
13053 Thu May  9 19:36:13 1996  Jim Wilson  <wilson@cygnus.com>
13054
13055         * sh.h (SET_ASM_OP): Define.
13056
13057 Thu May  9 13:31:58 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
13058
13059         * rs6000/sysv4.h (SUBTARGET_{SWITCHES,OPTIONS}): Add support for
13060         finer grain control on -msdata, so that eabi people can specify to
13061         compile sdata code to only use r13 instead of r2/r13.  Make
13062         -mrelocatable-lib turn off -msdata, just like -m relocatable does.
13063         (SUBTARGET_OVERRIDE_OPTIONS): Ditto.
13064         (ENCODE_SECTION_INFO): Move to rs6000.c.
13065         (ASM_SPEC): -msdata=eabi sets -memb also.
13066         (CC1_SPEC): -mno-sdata gets converted to -msdata=none.
13067
13068         * rs6000.c (rs6000_sdata{,_name}): Add support for finer grain
13069         control on -msdata.
13070         (output_options, small_data_operand, print_operand): Likewise.
13071         (rs6000_select_section): Likewise.
13072         (rs6000_encode_section_info): Move here from sysv4.h, section
13073         names are stored as STRING nodes, not IDENTIFIER.
13074
13075 Wed May  8 21:04:49 1996  Doug Evans  <dje@cygnus.com>
13076
13077         * function.c (aggregate_value_p): Return 1 if TREE_ADDRESSABLE.
13078         * pa.h (RETURN_IN_MEMORY): No longer test for TREE_ADDRESSABLE.
13079
13080 Tue May  7 13:42:57 1996  Jeffrey A. Law  <law@cygnus.com>
13081
13082         * h8300.c: Include obstack.h.
13083         (bit_memory_operand): New function.
13084         (print_operand): Append ":16" to a memory reference to
13085         the tiny data area.
13086         (h8300_tiny_data_p): New function.
13087         (h8300_valid_machine_decl_attribute): Accept "tiny_data".  Fix typo.
13088         (h8300_encode_label): New function.
13089         (h8300_adjust_insn_length): References to the tiny data section
13090         are two bytes shorter than normal accesses on the H8/300H.
13091         * h8300.h (OK_FOR_U): Fix thinko.
13092         (ENCODE_SECTION_INFO): Encode info for tiny data variables.
13093         (STRIP_NAME_ENCODING): Define.
13094         * h8300.md (movqi insn): Fix length for a constant load.
13095         (movstrictqi, movhi, movstricthi): Likewise.
13096         (memory btst patterns): Add register to the constraints to keep
13097         reload happy.
13098
13099         * h8300.h (OK_FOR_U): (const (plus (symbol_ref) (const_int)))
13100         is valid U operand if SYMBOL_REF_FLAG is set on SYMBOL_REF.
13101         * h8300.md (memory btst patterns): New patterns.
13102
13103         * h8300.c (h8300_eightbit_data_p): Renamed from h8300_tiny_data_p.
13104         (h8300_eightbit_data_p): Check for the "eightbit_data"
13105         attribute instead of "tiny_data".
13106         (h8300_valid_machine_decl_attribute): Likewise.
13107         * h8300.h (ENCODE_SECTION_INFO): Call h8300_eightbit_data_p
13108         instead of h8300_tiny_data_p.
13109
13110         * h8300.h (READONLY_DATA_SECTION): Define.
13111         (EXTRA_SECTIONS): Add in_readonly_data.
13112         (READONLY_DATA_SECTION_ASM_OP): Define.
13113         (EXTRA_SECTION_FUNCTINOS): Add readonly_data.
13114
13115 Tue May  7 09:26:24 1996  Jason Merrill  <jason@yorick.cygnus.com>
13116
13117         * varasm.c (make_decl_rtl): Update DECL_ASSEMBLER_NAME for local
13118         statics.  Remove reference to flag_no_common.
13119
13120 Mon May  6 21:38:36 1996  Paul Eggert  <eggert@twinsun.com>
13121
13122         * cpplib.c (skip_comment, handle_directive): Don't use uninit vars.
13123
13124 Mon May  6 18:47:36 1996  Doug Evans  <dje@cygnus.com>
13125
13126         * dbxout.c (dbxout_function): When deciding to call dbxout_function_end
13127         change test from flag_function_sections to DECL_SECTION_NAME != NULL.
13128
13129         * varasm.c (named_section): Accept any decl.
13130
13131 Mon May  6 16:41:08 1996  Stan Cox  (coxs@dg-rtp.dg.com)
13132
13133         * final.c (final_scan_insn): Modify conditional moves whose cc is
13134         nonstandard.
13135
13136         * c-common.c (decl_attributes): Chain multiple attributes correctly.
13137
13138 Mon May  6 15:41:43 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
13139
13140         * stmt.c (expand_decl): Don't deduce alignment of SIZE from
13141         DECL_ALIGN; use TYPE_ALIGN instead.
13142
13143         * function.c (assign_parms): Set RTX_UNCHANGING_P in stack_parm
13144         if parm is read-only.
13145
13146         * c-common.c (truthvalue_conversion, case ADDR_EXPR): Don't
13147         treat address of external decl as always nonzero.
13148
13149 Mon May  6 11:33:57 1996  Jason Merrill  <jason@yorick.cygnus.com>
13150
13151         * c-decl.c (start_decl): Check -fno-common here.
13152         * varasm.c (assemble_variable): Instead of here.
13153         * final.c (end_final): Likewise.
13154         * c-common.c (init_attributes, decl_attributes): Add A_COMMON.
13155
13156 Mon May  6 11:12:39 1996  Mike Stump  <mrs@cygnus.com>
13157
13158         * expr.c (expand_increment): Add third parameter to know when to
13159         ignore the result value.
13160         (store_constructor): Likewise
13161         (expand_expr, case {PRE,POST}{INC,DEC}REMENT_EXPR): Likewise.
13162         * tree.c (stabilize_reference): Always ignore the first operand of
13163         COMPOUND_EXPRs.
13164
13165 Mon May  6 13:14:45 1996  Jim Wilson  <wilson@cygnus.com>
13166
13167         * sh.c (gen_shifty_op): Truncate VALUE to avoid out of bounds array
13168         access.
13169
13170         * expr.c (expand_expr, case INDIRECT_REF): Delete obsolete code
13171         to special case a SAVE_EXPR operand.
13172
13173 Mon May  6 10:00:12 1996  Pat Rankin  <rankin@eql.caltech.edu>
13174
13175         * vax.h (ASM_OUTPUT_MI_THUNK): Define.
13176
13177 Mon May  6 09:49:10 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13178
13179         * m68k/linux.h: Use the new trampoline definition.
13180         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Deleted.
13181         (INITIALIZE_TRAMPOLINE): Changed.
13182         (FINALIZE_TRAMPOLINE, CLEAR_INSN_CACHE): New.
13183
13184 Mon May  6 09:43:55 1996  Patrick J. LoPresti  (patl@lcs.mit.edu)
13185
13186         * rtlanal.c (rtx_addr_varies_p): Scan operands of type `E'.
13187
13188 Mon May  6 09:04:40 1996  H.J. Lu  (hjl@gnu.ai.mit.edu)
13189
13190         * x-linux{,-aout} (BOOT_CFLAGS, STMP_FIXPROTO, STMP_FIXPROTO): Deleted.
13191         * config/t-linux (BOOT_CFLAGS, STMP_FIXPROTO, STMP_FIXPROTO): New,
13192         moved from x-linux.
13193         * t-linux-aout: New file.
13194         * configure (i[3456]86-*-linux*oldld*, i[3456]86-*-linux*aout*):
13195         Set tmake_file to t-linux-aout.
13196
13197 Sun May  5 22:13:22 1996  H.J. Lu  (hjl@gnu.ai.mit.edu)
13198
13199         * Makefile.in (gxx_include_dir): Change to $(prefix)/include/g++.
13200         (old_gxx_include_dir): New - defined as $(libdir)/g++-include.
13201         (cccp.o, cpplib.o): Also pass OLD_GPLUSPLUS_INCLUDE_DIR (set
13202         from $(old_gxx_include_dir)).
13203         * cccp.c (include_defaults_array): For C++, also search
13204         OLD_GPLUSPLUS_INCLUDE_DIR.
13205         * cpplib.c (default_include): Likewise.
13206         * configure: Remove no-longer-needed support for --gxx-include-dir.
13207
13208 Sun May  5 21:59:53 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13209
13210         * c-lex.c (check_newline): Fix #pragma parsing; issue error message
13211         for directive that starts with `p' but isn't `pragma'.
13212
13213 Sun May  5 13:13:40 1996  Jeremy Bettis  <jeremy@hksys.com>
13214
13215         * objc/hash.c (hash_value_for_key): Prevent endless loop when 0 was
13216         stored in a hashtable.
13217
13218 Sun May  5 13:09:54 1996  Satoshi Adachi  (adachi@wisdom.aa.ap.titech.ac.jp)
13219
13220         * m68k/newsgas.h (SET_ASM_OP, ASM_WEAKEN_LABEL): Define.
13221
13222 Sun May  5 12:48:08 1996  Stephen L Moshier  (moshier@world.std.com)
13223
13224         * tree.c (build_real_from_int_cst): Remove spurious test for
13225          REAL_IS_NOT_DOUBLE.
13226
13227 Sat May  4 12:17:58 1996  Richard Earnshaw (rearnsha@armltd.co.uk)
13228
13229         * arm.h (ASM_OUTPUT_MI_THUNK): Moved here from aout.h.  Rewrite to be
13230         independent of the selected assembler, and to use optimal number of
13231         instructions.
13232         * arm/aout.h (ASM_OUTPUT_MI_THUNK): Delete.
13233
13234         * arm/aout.h (ASM_OUTPUT_OPTIONS): Define.
13235         (ASM_FILE_START): Call ASM_OUTPUT_OPTIONS.
13236         (BSS_SECTION_OP): Define.
13237         (ASM_OUTPUT_ALIGN): Don't output anything if byte alignment is wanted.
13238         (ASM_OUTPUT_ALIGNED_BSS): Define.
13239         * arm.h (target_cpu_name): Delete.
13240         (TARGET_SWITCHES): Delete "be" and "le".
13241         (TARGET_OPTIONS): Delete "cpu-", add "tune=".
13242         (struct arm_cpu_select): New struct.
13243         (PROCESSOR_DEFAULT, TARGET_CPU_DEFAULT): Define.
13244         (EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CC_Cmode.
13245         (CANONICALIZE_COMPARISON): Define.
13246         * arm.c (arm_select): Declare and initialize.
13247         (all_procs): Add arm7100.
13248         (arm_override_options): Parse arm_select structure to determine
13249         selected architecture and tuning parameters.
13250         (output_option, output_options): New functions.
13251         (arm_canonicalize_comparison): New function.
13252         (arm_gen_movstrqi): Don't add a writeback of the index registers for
13253         the last instructions.
13254         (arm_select_cc_mode): Detect case where mode is carry out of unsigned
13255         arithmetic.
13256         (output_lcomm_directive): Use bss_section (), and use alignment
13257         rather than rounding.
13258         (get_arm_condition_code): Handle CC_Cmode.
13259         (final_prescan_insn): Avoid boundary case where we would occasionally
13260         inline MAX_INSNS_SKIPPED+1 insns.  Allow call_insns to be inlined in
13261         APCS_32 mode if they are the last insn in the block.
13262         * arm.md (*addsi3_compareneg): Delete potentially unsafe insn.
13263         (*addsi3_compare_op[12]): New insns.
13264         (*compare_addsi2_op[01]): New insns.
13265         (*addsi3_carryin, *addsi3_carryin_alt[12]): New insns.
13266         (*cmp_ite1): Use arm_add_operand instead of arm_rhs_operand.
13267         * semi.h (PROCESSOR_DEFAULT): Default to PROCESSOR_ARM6.
13268
13269 Fri May  3 10:52:11 1996 1996  Stan Cox  (coxs@dg-rtp.dg.com)
13270
13271         * i386.md (movesicc, movehicc) Pentium Pro conditional move insns.
13272
13273         * i386.h (TARGET_PENTIUMPRO, TARGET_CMOVE, BRANCH_COST,
13274         ASM_OUTPUT_FUNCTION_PREFIX): New macros for conditional move.
13275
13276         * i386.c (asm_output_function_prefix, function_prologue): Setup
13277         pic on Pentium Pro so a return will match the call.
13278         (print_operand, put_condition_code): Output conditional move suffixes.
13279
13280 Fri May  3 10:52:11 1996  Jason Merrill  <jason@yorick.cygnus.com>
13281
13282         * i386/{att.h,gas.h,bsd.h,sub386.h} (ASM_OUTPUT_MI_THUNK): Define.
13283
13284 Wed May  1 17:54:51 1996  Doug Evans  <dje@cygnus.com>
13285
13286         * sparc.h (ASM_OUTPUT_MI_THUNK): Fix for sparc64, optimize.
13287
13288 Wed May  1 13:28:32 1996  Jason Merrill  <jason@yorick.cygnus.com>
13289
13290         * i386/linux.h (ASM_OUTPUT_ALIGNED_BSS): Define.
13291         * i386/sysv4.h: Likewise.
13292         * sparc/sysv4.h: Likewise.
13293
13294 Wed May  1 01:44:47 1996  Jeffrey A. Law  <law@cygnus.com>
13295
13296         * h8300.c (h8300_adjust_insn_length): Adjust the cost of
13297         shifts by small constant values.
13298         * h8300.md: Remove names from many patterns which don't need them.
13299         (compare insns): Don't underestimate lengths.
13300         (andqi3 expander): Remove constrains.
13301         (andhi3): Don't underestimate length.
13302         (andsi3): Don't underestimate length.  Improve code when upper
13303         or lower half of destination is being cleared.
13304         (indirect_jump_h8300, indirect_jump_h8300h): Simplify.
13305         (shift insns): Remove useless "I" constraint.
13306
13307         * h8300.md (bcs type): Remove "bcs" type attribute and all references.
13308         (bcs insns): Delete.  No longer needed.
13309         (setcc from bitfield): Rewrite to use zero_extract.  Provide
13310         QImode, HImode and SImode variants.
13311
13312 Tue Apr 30 18:13:09 1996  Jason Merrill  <jason@yorick.cygnus.com>
13313
13314         * svr4.h (SELECT_SECTION): If RELOC is true, put it in data.
13315
13316 Tue Apr 30 17:26:30 1996  Jason Merrill  <jason@yorick.cygnus.com>
13317
13318         * fold-const.c (fold): Don't call convert to recreate tree nodes
13319         we already have.
13320
13321 Tue Apr 30 16:52:41 1996  Jeffrey A. Law  <law@cygnus.com>
13322
13323         * h8300.c (one_insn_adds_subs_operand): New function.
13324         (h8300_adjust_insn_length): New function.
13325         * h8300.h (ADJUST_INSN_LENGTH): Define.
13326         * h8300.md: Remove obsolete comments.
13327         (move patterns): Tweak constraints.
13328         (tst patterns): Use "register_operand" for predicate.
13329         (adds pattern): Use one_insn_adds_subs_operand to get length
13330         computation correct.
13331         (subs pattern): Similarly.
13332         (movstrhi): Remove unused expander.
13333         (fancy*, pxor, and-not patterns): Remove.  No longer needed.
13334
13335 Tue Apr 30 13:35:06 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
13336
13337         * rs6000/sol-c0.c (_start): Temporarily display calling
13338         __do_global_ctors, since the Solaris linker doesn't handle the
13339         relocations properly.
13340
13341 Mon Apr 29 13:03:12 1996  Doug Evans  <dje@cyguns.com>
13342
13343         * sparc/vxsparc.h: sparc-aout.h renamed to aout.h.
13344
13345 Mon Apr 29 00:35:15 1996  Jeffrey A. Law  <law@cygnus.com>
13346
13347         * h8300.c (names_small): Remove "BAD" postfix from %r7 byte registers.
13348         (rtx_equal_function_value_matters): Remove extra declaration.
13349         (output_simode_bld): New function.
13350         * h8300.h (NO_FUNCTION_CSE): Do define this.
13351         (reg_class): Remove LONG_REGS, SP_REG, SP_AND_G_REGS.
13352         (REG_CLASS_{NAMES,CONTENTS,FROM_LETTER}): Corresponding changes.
13353         (REGNO_REG_CLASS): Corresponding changes.
13354         (output_simode_bld): Declare.
13355         * h8300.md: Nuke comments for stuff which has been fixed.
13356         (all patterns): Remove references to register class "a" (SP_REGS)
13357         which no longer exists.
13358         (many patterns): Accept auto-inc auto-dec addresses in more cases.
13359         (zero_extendqisi2): New pattern for the H8/300.
13360         (zero_extendhisi2): Only use zero_extendhisi2_h8300 when not
13361         optimizing.
13362         (extendhisi2): Only use extendhisi2_h8300 when not optimizing.
13363         (extendqisi2): New pattern for the H8/300.
13364         (bitfield related patterns): Completely rewrite.
13365         (fancy_bclr, fancy_btst): Deleted.
13366         (addhi3 pattern for h8300): Handle case where we can't make matching
13367         constraints (works around hard to fix reload problem).
13368         (stack_pointer_manip): Delete.
13369         (and not patterns): New combiner patterns.
13370
13371         * pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Make sure the
13372         final $CODE$ subspace is in the $TEXT$ space.
13373
13374 Sun Apr 28 14:52:21 1996  Jason Merrill  <jason@yorick.cygnus.com>
13375
13376         * svr4.h (ASM_OUTPUT_SECTION_NAME): If no decl is specified,
13377         make the section read/write data.
13378
13379 Sat Apr 27 10:28:59 1996  Michael Meissner  <meissner@wogglebug.tiac.net>
13380
13381         * rs6000/t-ppcgas (MULTILIB_EXCEPTIONS): Don't allow -mrelocatable
13382         and -mcall-sysv-noeabi.
13383
13384         * rs6000/sysv.h (SUBTARGET_OVERRIDE_OPTIONS): The -mcall-aix
13385         option sets -meabi.  Don't allow -mrelocatable without -meabi.
13386
13387 Fri Apr 26 16:10:46 1996  Doug Evans  <dje@cygnus.com>
13388
13389         * sparc.md (*smacsi,*smacdi,*umacdi): Fix constraint on
13390         operand 0.
13391
13392 Fri Apr 26 14:36:33 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
13393
13394         * i960/t-{960bare,vxworks960} (MULTILIB*): Add
13395         soft-float multilib support.
13396
13397 Fri Apr 26 06:38:56 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
13398
13399         * stor-layout.c (layout_decl): Turn off DECL_BIT_FIELD for BLKmode
13400         that's properly aligned and a multiple of a byte.
13401
13402 Thu Apr 25 22:43:19 1996  Doug Evans  <dje@cygnus.com>
13403
13404         * i386/gas.h (ASM_OUTPUT_ALIGN): #if 0 out again.
13405         Undoes change of Apr. 9.
13406         * i386/go32.h (ASM_OUTPUT_ALIGN): Define.
13407
13408 Thu Apr 25 14:05:33 1996  Richard Kenner  (kennervlsi1.ultra.nyu.edu)
13409
13410         * calls.c (expand_call): In inlining case, if BEFORE_CALLS is
13411         zero, start looking at first insn (one more place).
13412
13413         * expr.c (expand_builtin, case BUILT_IN_SETJMP): CLOBBER the
13414         static chain after label at setjmp point.
13415
13416 Thu Apr 25 09:02:24 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
13417
13418         * rs6000.c (print_operand{,_address}): Correct compile error if
13419         TARGET_EABI is not defined.  Also, just call small_data_operand,
13420         without testing the ABI.
13421         (rs6000_select_section): Ditto.
13422
13423         * rs6000/sysv4.h (CC1_SPEC): For -mcall-solaris, don't pass
13424         -mno-main-init.
13425
13426 Wed Apr 24 18:26:48 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
13427
13428         * collect2.c (handler): Delete export_file when we get a signal.
13429
13430 Wed Apr 24 14:54:44 1996  Jeffrey A. Law  <law@cygnus.com>
13431
13432         * pa/pa1-ghpux.h (LINK_SPEC): Define.  Link in PA1.1 libraries
13433         by default.
13434         * pa/{pa1-ghpux9.h, pa1-hpux.h, pa1-hpux9.h}: Likewise.
13435
13436 Wed Apr 24 11:12:06 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
13437
13438         * configure (powerpc{,le}-*-eabi*): Use t-ppc{,gas}, instead of
13439         t-eabi{,gas}.
13440         (powerpc-*-linux,powerpcle-*-solaris): Add definitions.
13441         (MULTILIB_DIRNAMES): Pick shorter names for the multilib
13442         directories.
13443         (MULTILIB_*): Do not build -msdata versions of the library.  Build
13444         both system V and eabi versions of the libraries.
13445
13446         * rs6000/t-ppc{,gas} (MULTILIB*): Don't build -msdata versions of
13447         the libraries.  Split -mcall-sysv libraries into
13448         -mcall-sysv-{eabi,noeabi} varients.
13449         (LIB2FUNCS_EXTRA): Add eabi.S, eabi-ctors.c.
13450         (eabi.S): Use eabi.S, not eabi.s for eabi.asm.
13451         (crt files): Add support for Solaris crt files.
13452
13453         * rs6000/sol{2.h,-c0.c,-ci.asm,-cn.asm}: New files for Solaris.
13454
13455         * rs6000/linux.h: New file for Linux-based GNU system support.
13456
13457         * rs6000/eabi-ci.asm (ppc-asm.h): Include.
13458         (.got section): Correct attribute.
13459
13460         * rs6000/eabi-c{i,n}.asm (.init,.finit): Add support for System V
13461         style .init/.fini sections, that constructors and destructors
13462         place a bl <func> in the appropriate section.
13463
13464         * rs6000/eabi-ctors.c (__do_global_{c,d}tors): Call __init, and
13465         __fini to handle constructors/destructors in the .init, .fini
13466         sections.
13467
13468         * rs6000/{eabi,sysv}.h: Move most eabi configuration stuff from
13469         eabi.h to sysv.h.
13470
13471         * rs6000/sysv.h (TARGET_*): Convert -mcall-xxx from switch into option.
13472         Add -mcall-{solaris,linux,sysv-eabi,sysv-noeabi} options.
13473         Add -m{,no-}eabi options to control whether we adhere to
13474         the System V spec or the EABI spec.  Add -m{,no-}regnames to
13475         control whether registers are printed out as %r0 instead of 0.
13476         (SUBTARGET_OVERRIDE_OPTIONS): Add support for new -mcall options.
13477         (FP_ARG_MAX_REG): Use new macros for ABI conformance.
13478         (RS6000_REG_SAVE): Likewise.
13479         (STACK_BOUNDARY,BIGGEST_ALIGNMENT): If eabi, align to 8 byte
13480         boundary, otherwise 16 byte.
13481         (EXTRA_SECTIONS): Add .init, .fini sections.
13482         (*_SPEC): Reorganize so that the different targets all have sub
13483         specs that go in the specs file.  Add support for linux and
13484         Solaris targets.
13485
13486         * rs6000/{sysv4,eabi}*.h (*_SPECS): Only override the default
13487         spec, all other specs moved to sysv4.h.
13488         (RS6000_ABI_NAME): Use RS6000_ABI_NAME to set the default ABI
13489         name, not TARGET_DEFAULTS.
13490
13491         * rs6000/xm-sysv4.h (alloca): Properly declare alloca if compiler
13492         is not GCC.
13493         (DONT_DECLARE_SYS_SIGLIST): Define.
13494
13495         * rs6000.c (rs6000_abi_name): New global for getting the results
13496         of -mcall-xxx.
13497         (rs6000_reg_names): New global for holding the normal register names.
13498         (alt_reg_names): Alternate register names for -mregnames.
13499         (rs6000_override_options): If -mregnames, copy alt_reg_names into
13500         rs6000_reg_names.
13501         (input_operand): Recognize ABI_SOLARIS.
13502         (small_data_operand, init_cumulative_args): Likewise.
13503         (function_arg{,_boundary,_advance,_partial_nregs}): Likewise.
13504         (function_arg_pass_by_reference, setup_incoming_varargs): Likewise.
13505         ({rs6000,debug}_stack_info, output_{prolog,epilog}): Likewise.
13506         (print_operand): %$ prints '.' on Solaris, '$' elsewhere.
13507         (print_operand{,_address}): If not eabi, use @sdarel for small
13508         data references.
13509         (rs6000_stack_info): Only emit __eabi call if TARGET_EABI.
13510
13511         * rs6000.h (*_SPECS): Move the System V specs to svr4.h.
13512         (ABI_SOLARIS): New ABI, mostly like System V.
13513         (EXTRA_CONSTRAINT): Use ABI_SOLARIS like ABI_V4.
13514         (RETURN_ADDRESS_OFFSET, (LEGITIMATE_SMALL_DATA_P): Likewise.
13515         (RETURN_IN_MEMORY): On Solaris, small structures are returned in regs.
13516         (REGISTER_NAMES): Use rs6000_reg_names array, instead of string
13517         literals.
13518         (DEBUG_REGISTER_NAMES): Define.
13519         (ADDITIONAL_REGISTER_NAMES): Add sp, toc aliases.
13520         (PRINT_OPERAND_PUNCT_VALID_P): Recognize $ as a punctuation char.
13521
13522         * rs6000.md (got & call patterns): Use ABI_SOLARIS to mean the
13523         same as ABI_V4.
13524         (branch patterns): Use %$ for the current location, not just $.
13525
13526         * va-ppc.h: Add Solaris support.
13527
13528 Tue Apr 23 20:02:13 1996  Doug Evans  <dje@cygnus.com>
13529
13530         * sparc.c (output_function_prologue): In -mbroken-saverestore
13531         case, %sp = %fp - size.
13532         * sparc/t-splet (TARGET_LIBGCC2_CFLAGS): Delete.
13533         * sparc.md (isa attribute): Add sparclet.
13534         (*smacsi,*smacdi,*umacdi): Use match_operand, not match_dup
13535         for third arg.
13536         (*mulsidi3_sp32,const_mulsidi3,*umulsidi3_sp32,const_umulsidi3): Use
13537         smuld,umuld for sparclet.
13538
13539 Tue Apr 23 16:28:28 1996  Michael Meissner  <meissner@wombat.gnu.ai.mit.edu>
13540
13541         * m68k/m68kemb.h: Add {LINK,STARTFILE,LIB,SUBTARGET}_SPEC, so
13542         gcc will use libgloss for supported target boards {idp,mvme,bcc}.
13543
13544 Tue Apr 23 16:00:28 1996  Per Bothner  <bothner@cygnus.com>
13545
13546         * expr.c (store_constructor):  Fix test for missing array elements.
13547
13548 Tue Apr 23 11:21:09 1996  Stephen L Moshier  (moshier@world.std.com)
13549
13550         * i386/sco5.h (BSS_SECTION_ASM_OP): Use `data' directive.
13551         (ASM_OUTPUT_ALIGNED_LOCAL): Generate an `lcomm' directive.
13552         (TARGET_DEFAULT): Include TARGET_IEEE_FP.
13553         (CPP_PREDEFINES): Include Di386.
13554
13555 Mon Apr 22 12:00:46 1996  David Edelsohn  <edelsohn@mhpcc.edu>
13556
13557         * rs6000.h (BIGGEST_FIELD_ALIGNMENT): Delete.
13558         (ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Define.
13559         * sysv4.h (BIGGEST_FIELD_ALIGNMENT): Delete.
13560         (ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Undefine.
13561         * win-nt.h (ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Undefine.
13562
13563 Sun Apr 21 17:52:36 1996  Jim Wilson  <wilson@cygnus.com>
13564
13565         * m68k/coff.h (ASM_OUTPUT_SECTION): Test DECL before
13566         dereferencing it.
13567
13568         * cse.c (cse_process_notes): Handle SUBREG like ZERO_EXTEND.
13569
13570 Sun Apr 21 12:57:12 1996  Doug Evans  <dje@cygnus.com>
13571
13572         * arm/aout.h (ASM_OUTPUT_MI_THUNK): Define.
13573
13574 Sun Apr 21 09:50:09 1996  Stephen L Moshier  (moshier@world.std.com)
13575
13576         * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
13577
13578 Sun Apr 21 08:42:13 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
13579
13580         * alpha.c (check_float_value): Cast args of bcopy to avoid warnings.
13581
13582 Sat Apr 20 21:22:21 1996  David Edelsohn  <edelsohn@mhpcc.edu>
13583
13584         * stor-layout.c (layout_record): Use ADJUST_FIELD_ALIGN to modify
13585         alignment of fields within records.
13586
13587 Sat Apr 20 19:55:33 1996  Niels Moller  <nisse@lysator.liu.se>
13588
13589         * c-parse.in (typespec): Made <SomeProtocol> equivalent
13590         to (id <SomeProtocol>).
13591         (non_empty_protocolrefs): New nonterminal.
13592
13593 Sat Apr 20 08:34:02 1996  J"orn Rennecke (amylaar@meolyon.hanse.de)
13594
13595         * stmt.c (check_for_full_enumeration_handling): Call case_tree2list
13596         before checking for case expressions not corresponding to enumerators.
13597         (mark_seen_cases): If SPARSENESS == 2, exploit AVL order.
13598         Else, convert tree to list.
13599         Set xlo to -1 if SPARSENESS == 1 search failed.
13600         (expand_end_case): Avoid calling case_tree2list on list.
13601
13602 Fri Apr 19 16:54:57 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
13603
13604         * rs6000/win-nt.h (BIGGEST_FIELD_ALIGNMENT): Set to 64, not
13605         32 that AIX uses.
13606
13607 Fri Apr 19 16:40:38 1996  Stan Cox  <coxs@dg-rtp.dg.com>
13608
13609         * i386.md (movqi): Handle QImode values in %si and %di.
13610
13611 Thu Apr 18 20:56:56 1996  Jim Wilson  <wilson@cygnus.com>
13612
13613         * sh.md (lshrsi3): Change gen_ashlsi3_d to gen_lshrsi3_d.
13614
13615 Thu Apr 18 15:49:28 1996  Per Bothner  <bothner@cygnus.com>
13616
13617         * sparc.h (ASM_OUTPUT_MI_THUNK): Define.
13618
13619 Thu Apr 18 15:19:26 1996  Jeffrey A. Law  <law@cygnus.com>
13620
13621         * h8300.md: Remove "type" attribute from all patterns except those
13622         which have varying length branches.  Eliminate obsolete "type"
13623         attributes.  Add "length" and "cc" attributes to insns without them;
13624         fix some length computations.  Remove patterns which are commented out.
13625
13626         * h8300.md (zero extension expanders and insns): Simplify, fix various
13627         length problems, provide optimized versions for the h8300 and h8300h.
13628         (sign extension expanders and insns): Likewise.  Make them
13629         nearly identical to zero_extension patterns and insns.
13630
13631 Wed Apr 17 18:50:16 1996  Jeffrey A. Law  <law@cygnus.com>
13632
13633         * pa.h (SELECT_SECTION): Define.  Never place a something
13634         into the read-only data section if it requires a reloc.
13635
13636         * pa.md (rotlsi3): Delete unnecessary and incorrect pattern.
13637
13638 Wed Apr 17 17:15:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
13639
13640         * rs6000.md (movdi): Never FAIL, even if operand[1] is not a
13641         general operand, due to being in volatile memory.
13642
13643 Wed Apr 17 15:20:10 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
13644
13645         * c-lex.c (check_newline): Rewrite to use tokens.
13646         (handle_sysv_pragma): Take a token instead of a character.
13647         * i960.c (process_pragma): Take the IDENTIFIER_POINTER tree
13648         node instead of a character.
13649         * sh.c (handle_pragma): Likewise.
13650         * config/nextstep.c (handle_pragma): Likewise.
13651         * h8300.c (handle_pragma): Likewise.
13652         * i960.h (HANDLE_PRAGMA): Expect/pass 2nd arg of NODE, not CH.
13653         * sh.h (HANDLE_PRAGMA): Likewise.
13654         * config/nextstep.h (HANDLE_PRAGMA): Likewise.
13655         * h8300.h (HANDLE_PRAGMA): Likewise.
13656
13657 Wed Apr 17 14:28:43 1996  Doug Evans  <dje@cygnus.com>
13658
13659         * choose-temp.c: Don't include sys/file.h ifdef NO_SYS_FILE_H.
13660         #include <stdio.h>.
13661         (choose_temp_base): Make tmp,usrtmp, static locals.
13662
13663 Wed Apr 17 08:41:02 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
13664
13665         * alpha.c (alpha_emit_conditional_move): Fix some bugs in previous
13666         change and do some cleanup.
13667
13668 Tue Apr 16 18:53:05 1996  Jim Wilson  <wilson@cygnus.com>
13669
13670         * reload.c (push_reload): Add extra reload for inside of SUBREG if
13671         it is CONSTANT_P.
13672
13673         * expr.c (do_store_flag): Rewrite last change to avoid compiler
13674         warnings.
13675
13676         * reload.c (push_reload): When reuse an old reload, set the modes
13677         to be the larger of the old and new modes.
13678
13679         * i960/t-960bare (xp-bit.c): Fix typo in source file name.
13680
13681 Tue Apr 16 18:09:16 1996  Jeffrey A. Law  <law@cygnus.com>
13682
13683         * h8300.md (andhi3): If 2nd operand is a CONST_INT that meets 'J'
13684         constraint, then only two bytes are needed for this insn.  Improve
13685         code generated for the h8300h when both operands are registers.
13686         (iorhi3, xorhi3): Likewise.  Rework to be nearly identical to andhi3.
13687         (andsi3): If 2nd operand is a CONST_INT that meets the 'J'
13688         constraint, then only two bytes are need for this insn.
13689         Improve code generated for the h8300h regardless of the
13690         type of the 2nd operand.  Make this pattern work on the h8300 too.
13691         (iorsi3, xorsi3): Likewise.  Rework to be nearly identical to andsi3.
13692         (iorqi3_internal): Make this pattern look more like andqi3_internal.
13693         (one_cmplhi2, one_cmplsi2): Fix length computation for H8300H.
13694
13695 Tue Apr 16 17:43:25 1996  J"orn Rennecke (amylaar@meolyon.hanse.de)
13696
13697         * i386.md (addsidi3_2): Handle non-MEM overlap case.
13698
13699 Tue Apr 16 16:59:49 1996  Richard Henderson  <rth@tamu.edu>
13700
13701         * function.c (expand_function_end): Allow TRAMPOLINE_TEMPLATE
13702         to be omitted on systems for which it is not cost effective.
13703         * varasm.c (assemble_trampoline_template): No such function
13704         if no TRAMPOLINE_TEMPLATE.
13705         * m68k.h: Greatly simplify the run-time trampoline code:
13706         (TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): Delete define.
13707         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Changed.
13708         (TRAMPOLINE_ALIGN): No point aligning to cache line.
13709         (FINISH_INIT_TRAMPOLINE): New define.
13710         * m68k/next.h: Instead of redefining INITIALIZE_TRAMPOLINE,
13711         make use of the new FINISH_INIT_TRAMPOLINE.
13712         * m68k/{m68k.h,next.h,aux.h} (FINISH_INIT_TRAMPOLINE):
13713         Rename to FINALIZE_TRAMPOLINE.
13714         * m68k/{linux.h,m68kv4.h}: Override trampoline macros.
13715
13716 Tue Apr 16 16:02:50 1996  David Edelsohn  <edelsohn@mhpcc.edu>
13717
13718         * combine.c (make_field_assignment): Allow XOR in final case.
13719
13720 Tue Apr 16 11:33:53 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
13721
13722         * m68k.h (TARGET_SWITCHES): Don't remove MASK_68060 with -msoft-float.
13723
13724         * m68k.h (MULL_COST, MULW_COST, RTX_COSTS): Add costs for TARGET_68060.
13725         * m68k.md (ashlsi_16, lshrsi_16): Disable pattern for TARGET_68060;
13726         this special case is not faster for that cpu.
13727
13728 Tue Apr 16 10:54:55 1996  Eliot Dresselhaus  <dresselh@rft30.nas.nasa.gov>
13729
13730         * alpha.c (alpha_emit_conditional_move): New function.
13731         * alpha.h (alpha_emit_conditional_move): Declare it.
13732         * alpha.md (cmov* define_expands): Use it.
13733
13734 Tue Apr 16 09:06:17 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13735
13736         * function.h (struct function): New field returns_pointer.
13737         * function.c (push_function_context_{to,from}): Save and restore
13738         current_function_returns_pointer.
13739
13740         * config/svr4.h (ENDFILE_SPEC): Add missing `%s'.
13741
13742         * configure (m68k-*-linux*aout*): Set tmake_file to m68k/t-linux-aout.
13743         (m68k-*-linux*): Set extra_parts.
13744         * m68k/t-linux (INSTALL_ASSERT_H): New definition.
13745         (CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): New definitions.
13746         * m68k/t-linux-aout: New file.
13747         * m68k/linux.h (LIB_SPEC): Deleted.
13748         (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Define.
13749
13750         * m68k.h (TRAMPOLINE_ALIGNMENT): Specify alignment in bits, not bytes.
13751
13752 Tue Apr 16 08:53:17 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
13753
13754         * final.c (final_scan_insn): Allow removal of redundant test and
13755         compare instructions that use clobbers.
13756
13757 Tue Apr 16 06:22:00 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
13758
13759         * c-decl.c (clear_limbo_values): New function.
13760         (pushdecl): Call it for function body blocks.
13761
13762         * objc/thr-decosf1.c (_objc_thread_id): Correct return type from
13763         int to _objc_thread_id.
13764
13765         * expr.c (expand_builtin, case BUILT_IN_LONGJMP): Make a decl
13766         for __dummy, so we can call make_function_rtl on it.
13767
13768         * expr.c (expand_assignment): Don't pre-evaluate RHS if a CALL_EXPR
13769         with a variable-size return.
13770
13771 Mon Apr 15 17:38:45 1996  Ian Lance Taylor  <ian@cygnus.com>
13772
13773         * fixincludes: Fix undefined VOIDFUNCPTR in VxWorks 5.2 <time.h>.
13774
13775 Mon Apr 15 15:12:16 1996  Jim Wilson  <wilson@cygnus.com>
13776
13777         * expr.c (do_store_flag): Before calling exact_log2, remove any
13778         sign extension bits.
13779
13780         * reload1.c (emit_reload_insns): Call reload_reg_reaches_end_p for
13781         every reg of multi-reg spill register.  Invalidate old info for multi
13782         reg spill registers when only part survives to the end.
13783
13784 Mon Apr 15 14:49:12 1996  Mike Stump  <mrs@cygnus.com>
13785
13786         * function.c (preserve_temp_slots): Only preserve temporaries that
13787         happen to be at the current level.
13788
13789 Mon Apr 15 14:08:12 1996  Doug Evans  <dje@canuck.cygnus.com>
13790
13791         * gansidecl.h: New file.
13792         * choose-temp.c: New file.
13793         * Makefile.in (xgcc): Depend on and link in choose-temp.o.
13794         (collect2): Likewise.
13795         (choose-temp.o): Add rule for.
13796         * collect2.c: #include "gansidecl.h".
13797         (const,PROTO): Delete.
13798         (P_tmpdir): Delete.
13799         (choose_temp_base): Declare as extern, delete internal copy.
13800         (main): Update call to choose_temp_base.
13801         * cpphash.c: #include "gansidecl.h".
13802         (NULL,const,volatile): Delete.
13803         * demangle.h: #include "gansidecl.h".
13804         (PROTO,PTR,const): Delete.
13805         * expr.h (const): Delete.
13806         * fix-header.c: #include "gansidecl.h".
13807         (const): Delete.
13808         * gcc.c: #include "gansidecl.h".
13809         (PROTO,VPROTO,PVPROTO,VPROTO,VA_START,NULL): Delete.
13810         (GENERIC_PTR,NULL_PTR,P_tmpdir): Delete.
13811         (choose_temp_base): Declare as extern, delete internal copy.
13812         (concat): Rewrite to take a variable number of arguments.
13813         (choose_temp_base_try,concat[346]): Delete.
13814         (translate_options,set_spec,process_command,do_spec_1,
13815         is_directory,main): Always use concat, not concat[346].  Pass
13816         NULL_PTR as trailing arg to concat.
13817         * genattr.c (main): Delete printing of "#define PROTO".
13818         * machmode.h: #include "gansidecl.h".
13819         (PROTO): Delete.
13820         (HAVE_MACHINE_MODES): Move definition to standard place.
13821         * recog.h: #include "gansidecl.h".
13822         (PROTO,const): Delete.
13823         * rtl.h: #include "gansidecl.h".
13824         (PROTO,VPROTO,PVPROTO,VPROTO,VA_START,STDIO_PROTO): Delete.
13825         (NULL,GENERIC_PTR,NULL_PTR): Delete.
13826         * tree.h: Likewise.
13827
13828 Mon Apr 15 08:49:20 1996  Tom May  (ftom@netcom.com)
13829
13830         * cse.c (invalidate_skipped_set): Ignore CLOBBER after calling
13831         note_mem_written, not before.
13832
13833 Mon Apr 15 08:22:03 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
13834
13835         * m68k.md (tstdi): Optimized for "d" case.
13836         (movqi): Allow moving "i" into "a".
13837         (zero_extendsidi2): Alternatives merged.
13838         (extendplussidi): Fixed when operands 0 and 1 share a register.
13839         (adddi_sexthishl32): Constraints reordered for better reload.
13840         (adddi3,subdi_sexthishl32,subdi3,negdi2): Likewise.
13841         (ashldi_sexthi): Accept "m" as operand 0.
13842         (ashldi_const32): Alternatives merged.
13843         (ashift patterns): Output "lsl" instead of "asl".
13844         (beq0_di): If condition codes already set, output only branch insn.
13845         (bne0_di,bge0_di,blt0_di): Likewise.
13846         * m68k.c (notice_update_cc, case ASHIFT{,RT}, LSHIFTRT, ROTATE{,RT}):
13847         Don't set CC_NO_OVERFLOW.
13848         * m68k.h (TARGET_SWITCHES): Fix typo in "c68000" entry.
13849
13850 Mon Apr 15 08:06:17 1996  Stephen L Moshier  (moshier@world.std.com)
13851
13852         * real.c (eadd1): Check for overflow on X plus X.
13853
13854 Mon Apr 15 08:02:24 1996  J.T. Conklin  <jtc@cygnus.com>
13855
13856         * i386/netbsd.h (HAVE_SYSV_PRAGMA): Removed definition.
13857         * config/netbsd.h (HAVE_SYSV_PRAGMA): Define.
13858         (SET_ASM_OP): Define.
13859
13860 Mon Apr 15 07:28:54 1996  Fila Kolodny <fila@ibi.com>
13861
13862         * configure: Add definition for host= into Makefile.
13863         * build-make (CC): Pass -b $(host), not target.
13864
13865 Mon Apr 15 05:12:39 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
13866
13867         * expr.c (bc_expand_increment): Change declaration to return void.
13868
13869         * toplev.c (max_label_num_after_reload): New variable.
13870         (rest_of_compilation): Set it.
13871         * reorg.c (find_dead_or_set_registers): Only kill spill regs after
13872         label made before jump2.
13873
13874         * combine.c (expand_field_assignment): Take SUBREG_WORD into
13875         account when have STRICT_LOW_PART.
13876         (make_extraction): Make a STRICT_LOW_PART at any low-order word.
13877
13878 Mon Apr 15 03:43:11 1996  Jeffrey A. Law  <law@cygnus.com>
13879
13880         * flags.h (flag_function_sections): Declare.
13881         * toplev.c (flag_function_sections): Define.
13882         (compile_file): Add warnings when -ffunction-sections is
13883         used with -g, or profiling.  Disable -ffunction-sections
13884         when profiling is used.  Add warning when -ffunction-sections
13885         is used on a target that doesn't support it.
13886         * varasm.c (named_section): Make a copy of the section name
13887         in case the original is in temporary storage.
13888         (function_section): Set DECL_SECTION_NAME for each function
13889         if flag_function_sections is on and the target supports it.
13890         * dbxout.c (dbxout_function_end): New function.
13891         (dbxout_function): Call dbxout_function_end if using extensions
13892         and flag_function_sections is on.
13893         * sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Prefix a function
13894         section's name with ".text%" when -ffunction-sections.
13895
13896 Sun Apr 14 19:37:43 1996  Doug Evans  <dje@cygnus.com>
13897
13898         * toplev.c (main): Delete redundant test for -p used with -fbytecode.
13899
13900 Sun Apr 14 19:01:59 1996  John F. Carr <jfc@mit.edu>
13901
13902         * c-decl.c (finish_enum): Don't crash if no type can represent all
13903         enumeration values.
13904
13905 Sun Apr 14 18:56:40 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
13906
13907         * m68k.md (ftruncdf2): Enable for m68060 systems.
13908
13909 Sun Apr 14 18:49:30 1996  David L. Reese  (david.reese@east.sun.com)
13910
13911         * fold-const.c (range_test):  Don't convert hi_cst or lo_cst
13912         to unsigned when folding signed range tests.
13913
13914 Sun Apr 14 08:56:27 1996  Stephen L Moshier  <moshier@world.std.com>
13915
13916         * real.h (ereal_from_{int,uint}): Add new arg, MODE.
13917         (REAL_VALUE_FROM{,_UNSIGNED}_INT): New arg, MODE.
13918         * real.c (ereal_from_{int,uint}): New arg, MODE.
13919         * cse.c (simplify_unary_operation): Add new arg to REAL_VALUE_FROM_INT.
13920         * fold-const.c (fold_convert): Likewise.
13921         * tree.c (real_value_from_int_cst): New arg, TYPE.
13922         Pass mode to REAL_VALUE_FROM_INT.
13923         (build_real_from_int_cst): Properly deal with truncation.
13924
13925 Sun Apr 14 08:21:29 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
13926
13927         * combine.c (try_combine): When substituting in output of I2,
13928         ensure dest isn't clobbered in I2.
13929
13930         * combine.c (combine_instructions): In initial scan of insns,
13931         handle a REG_INC note's affect on sign bit copies and nonzero bits.
13932         (set_nonzero_bits_and_sign_copies): Treat a zero SET arg as a CLOBBER.
13933
13934 Sun Apr 14 07:52:28 1996  Manor Askenazi  <manor@santafe.edu>
13935
13936         * objc/encoding.c (objc_skip_typespec): Don't abort for _C_UNDEF.
13937
13938 Sat Apr 13 20:35:36 1996  Richard Henderson  (richard@atheist.tamu.edu)
13939
13940         * configure (m68k-apple-aux*): Rework to take advantange
13941         of list of tm.h files and support all four gas/gld options.
13942         * m68k/auxas.h, m68k/auxgas.h, m68k/auxgld.h, m68k/auxld.h: New files.
13943         * m68k/auxstd.h, m68k/auxgnu.h: Deleted.
13944
13945 Sat Apr 13 20:18:11 1996  Stephen L Moshier  <moshier@world.std.com>
13946
13947         * alpha.c (check_float_value): New function.
13948         * alpha.h (CHECK_FLOAT_VALUE): Define.
13949         (ASM_OUTPUT_FLOAT): Print the value in hex.
13950
13951 Sat Apr 13 15:08:45 1996  Doug Evans  <dje@canuck.cygnus.com>
13952
13953         * configure: New target arm{,el}-*-coff*.
13954         (cpu_default): Sort alphabetically.
13955         * arm/coff.h: New file.
13956         * arm/t-bare: New file.
13957         * arm/arm.c (use_return_insn): Don't use return for naked functions.
13958         (arm_valid_machine_decl_attribute): New function.
13959         (arm_naked_function_p): New function.
13960         (output_func_prologue): Naked functions don't have prologues.
13961         (arm_expand_prologue): Likewise.
13962         (output_func_epilogue): Likewise with epilogues.
13963
13964 Sat Apr 13 11:31:32 1996  Jeffrey A. Law  <law@cygnus.com>
13965
13966         * h8300.c (adds_subs_operand): Fix thinko in last change.
13967
13968         * h8300.md (subhi3): Turn into a define_expand.
13969         (subhi3 using adds_subs): New pattern.
13970         (H8300 subhi): Derived from old subhi pattern.  Simplified.
13971         (H8300H subhi): Likewise.
13972         (subsi using adds_subs): New pattern.  Only used on H8300H.
13973         (subsi_h8300): Allow "a" registers as destination.
13974         (subsi_h8300h): Allow "a" registers as destination.  Simplify.
13975
13976         * h8300.md (bcs_qiqi, bcs_hihi, bs_hiqi): Fix thinkos
13977         in last change.
13978
13979 Sat Apr 13 08:59:48 1996  Fila Kolodny <fila@ibi.com>
13980
13981         * i370/mvs.h (ASM_DECLARE_FUNCTION_NAME): Don't write anything to
13982         asm file, because everything is handled in FUNCTION_PROLOGUE.
13983
13984 Sat Apr 13 07:55:38 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
13985
13986         * alpha.c (alpha_emit_set_const_1): Renamed from
13987         alpha_emit_set_const and static.
13988         Remove change of Nov 26; again use normal mechanism for SImode.
13989         (alpha_emit_set_const): New function.
13990
13991 Fri Apr 12 18:19:39 1996  Jeffrey A. Law  <law@cygnus.com>
13992
13993         * h8300.c (adds_subs_operand, output_adds_subs): New functions.
13994         * h8300.md (addhi3): Turn into a define_expand.
13995         (addhi3 using adds_subs): New pattern.
13996         (H8300 addhi): Derived from old addhi pattern.  Simplified.
13997         (H8300H addhi): Likewise.
13998         (addsi using adds_subs): New pattern.  Only used on H8300H.
13999         (addsi_h8300): Allow "a" registers as destination.
14000         (addsi_h8300h):  Simplify.  Allow "a" registers as destination.
14001
14002         * h8300.md (bcs): New attribute type.
14003         (default_length): Compute correct length for bcs insns.
14004         (bcs_qiqi, bcs_hihi, bs_hiqi): Use new type and update
14005         to account for correct length computation.
14006
14007         * h8300.md (movhi_internal): Demand at least one operand to be reg.
14008         (movsi_h8300{{,h}): Optimize loading certain constants.
14009
14010         * h8300.h (NO_FUNCTION_CSE): Comment out.
14011         (FUNCTION_ARG_REGNO_P): Properly define for TARGET_QUICKCALL.
14012         (RETURN_IN_MEMORY): Don't return small structs in regs.
14013
14014         * h8300.c (const_costs): -4 and 4 are cheap on the h8300h.
14015         (notice_update_cc): Remove references to "value2" field.
14016
14017         * h8300.c (dosize): Remove unused "fped" argument.  All callers
14018         changed.  Handle add/sub of 5-8 bytes efficiently on the h8300h.
14019
14020         * h8300.c (print_operand): Handle new 'R' case for accessing
14021         the 8-bit area.  Make code for 'Y' fall into code for 'R' when
14022         operand is not a register.  Update some comments.
14023         (h8300_tiny_data_p): New function.
14024         (h8300_valid_machine_decl_attribute): Handle "tiny_data" attribute.
14025         * h8300.h (OK_FOR_U): Handle memory references into 8-bit area.
14026         (ENCODE_SECTION_INFO): Mark SYMBOL_REFs which refer to 8-bit area.
14027         * h8300.md (many patterns): Use 'R' rather than 'X' for
14028         operands that may be memory accesses into the 8-bit area.
14029         (btst pattern): New pattern to set the cc0 (zbit) based on
14030         data in the 8-bit area.
14031
14032         * h8300.md (one_cmplsi2): Fix length computation for h8300h.
14033
14034 Fri Apr 12 14:34:39 1996  Doug Evans  <dje@cygnus.com>
14035
14036         * arm.md (*ldmsi,*stmsi): Use (mem (match_operand ...))
14037         to avoid using indirect_operand (reload problems).
14038         * arm/semi.h (CPP_PREDEFINES): Define __semi__ instead of semi.
14039         * arm/aout.h (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.
14040         (ASM_OUTPUT_ADDR_{VEC,DIFF_ELT}): Likewise.
14041
14042 Fri Apr 12 09:43:30 1996  Jason Merrill  <jason@yorick.cygnus.com>
14043
14044         * dbxout.c (dbxout_typedefs): Don't emit incomplete types yet.
14045         (dbxout_symbol): Use DECL_ARTIFICIAL to recognize C++ implicit
14046         typedefs.
14047
14048 Thu Apr 11 21:56:26 1996  Doug Evans  <dje@cygnus.com>
14049
14050         * i386/t-winnt (winnt.o): Rewrite based on .c.o rule.
14051         (oldnames.o,spawnv.o): Add rules for.
14052
14053 Thu Apr 11 07:25:06 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
14054
14055         * calls.c (expand_call): In inlining case, if BEFORE_CALLS is
14056         zero, start looking at first insn.
14057
14058         * expr.c (preexpand_calls, case CALL_EXPR): Rework to properly
14059         avoid expanding functions returning variable size objects.
14060
14061         * integrate.c (expand_inline_function): When comparing types
14062         of formal and actual, use TYPE_MAIN_VARIANT.
14063
14064 Thu Apr 11 00:48:29 1996  Jeffrey A. Law  <law@cygnus.com>
14065
14066         * h8300/lib1funcs.asm (modnorm): New function(s).  Like divnorm,
14067         but gets the sign bit right for modulo operations.
14068         (__modhi3, modsi3): Use modnorm.
14069
14070         * h8300.c (dosize): On h8300h, do 4 byte adjusts using adds and subs.
14071         * h8300.h (LONG_LONG_TYPE_SIZE): Always make this 32bits.
14072         Reverses change from Apr 2, 1996.
14073
14074 Wed Apr 10 18:39:52 1996  Doug Evans  <dje@canuck.cygnus.com>
14075
14076         * sparc.h (ASM_OUTPUT_INTERNAL_LABELREF): Delete.
14077         (FUNCTION_PROFILER): Use ASM_GENERATE_INTERNAL_LABEL instead.
14078
14079         * sparc.c (sparc_override_options): 90c701 renamed to tsc701.
14080         (eligible_for_epilogue_delay_slot): Don't allow anything if
14081         -mbroken-saverestore.
14082         (output_function_prologue): Only use trivial save's if
14083         -mbroken-saverestore.
14084         * sparc.h (CPP_SPEC): Handle -mcpu={sparclet,tsc701}.
14085         (ASM_SPEC): Likewise.
14086         ({MASK,TARGET}_BROKEN_SAVERESTORE): Define.
14087         (enum processor_type): 90C701 renamed to TSC701.
14088         * sparc.md (attr cpu): 90c701 renamed to tsc701.
14089         * sparc/splet.h (SUBTARGET_SWITCHES): Recognize -mbroken-saverestore.
14090
14091 Wed Apr 10 17:56:02 1996  Stan Cox  <coxs@dg-rtp.dg.com>
14092
14093         * m88k/dgux.h (EXTRA_SPECS): Define.
14094         (ASM_SPEC,CPP_SPEC,STARTFILE_SPEC): Use EXTRA_SPECS.
14095         * m88k/dguxbcs.h (ASM_SPEC,CPP_SPEC,STARTFILE_SPEC): Use EXTRA_SPECS.
14096         * m88k/m88k.c (output_ascii) Output literal HT.
14097
14098 Wed Apr 10 17:28:37 1996  James Carlson  (carlson@xylogics.com)
14099
14100         * configure: Work around AIX bug when defining SUBDIRS.
14101
14102 Wed Apr 10 17:22:42 1996  Paul Eggert  <eggert@twinsun.com>
14103
14104         * cexp.y (parse_number): Don't reject long long constants unless
14105         pedantic.
14106
14107 Wed Apr 10 17:19:56 1996  Stephen L. Moshier  (moshier@world.std.com)
14108
14109         * real.c (e64toe): Properly distinguish between NaN and infinity
14110         bit patterns for real-words-big-endian targets.
14111
14112 Wed Apr 10 17:17:26 1996  Richard Earnshaw  (rearnsha@armltd.co.uk)
14113
14114         * real.c (endian): Add two explicit casts.
14115         (e64toe): Support ARM extended precision fp format.
14116         Check negative infinities properly for NaNs.
14117         (toe64): Support ARM extended precision fp format.
14118
14119 Tue Apr  9 12:53:31 1996  Doug Evans  <dje@canuck.cygnus.com>
14120
14121         * i386/gas.h (ASM_OUTPUT_ALIGN): Define and use .balign.
14122
14123 Tue Apr  9 12:48:45 1996  Stephen L Moshier  (moshier@world.std.com)
14124
14125         * sparc.c (fp_zero_operand): Exclude -0.0.
14126
14127 Tue Apr  9 07:11:24 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
14128
14129         * alpha.c: Fix typo in last change.
14130
14131         * tree.c (substitute_in_expr): Don't return new expression if
14132         nothing changed.
14133         (substitute_in_type): Deleted, not used.
14134         * tree.h (substitute_in_type): Delete declaration.
14135
14136 Mon Apr  8 16:30:18 1996  Jeffrey A. Law  <law@cygnus.com>
14137
14138         * flow.c (find_auto_inc): Also make sure there aren't
14139         any sets of the incremented register between the memory
14140         reference and increment insn.
14141
14142 Mon Apr  8 15:41:14 1996  John Polstra  (jdp@polstra.com)
14143
14144         * configure (i[3456]86-*-freebsdelf*): New target.
14145         * i386/freebsd-elf.h: New file.
14146         * i386/x-freebsd (USER_H): New define; to null.
14147
14148 Mon Apr  8 14:44:41 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
14149
14150         * c-decl.c (finish_function): Always warn if main doesn't return int.
14151
14152 Mon Apr  8 13:01:37 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
14153
14154         * rs6000.c (got_operand): New function, returns true if the
14155         operand can go in V.4's GOT.
14156         (rs6000_pic_register): New variable.
14157         (output_epilog): Reset rs6000_pic_register.
14158
14159         * rs6000.h (rs6000_pic_register, got_operand, flag_pic): Add decls.
14160         (PREDICATE_CODES): Add got_operand.
14161
14162         * rs6000.md (movsi): Add support for V.4's -fpic and -FPIC.
14163         (init_v4_pic): Initialize the V4 pic register if needed.
14164         (call patterns): If -fpic/-fPIC, call function with @plt suffix.
14165
14166         * t-eabigas (MULTILIB_DIRNAMES): Remove errant pic directory.
14167
14168         * rs6000.c (output_prolog): Correctly store & restore the
14169         arguments to main in their correct save location, when calling the
14170         start function.
14171
14172 Mon Apr  8 13:01:37 1996  David Reese  <Dave.Reese@East.Sun.COM>
14173
14174         * rs6000.c (print_operand): Use reg_names to print registers.
14175
14176 Fri Apr  5 00:40:19 1996  Jeffrey A. Law  <law@cygnus.com>
14177
14178         * h8300.c (h8300_valid_machine_decl_attribute): Use underscores,
14179         not dashes in attributes.
14180         (h8300_funcvec_function_p): Corresponding changes.
14181         (h8300_interrupt_function_p): Likewise.
14182
14183         * pa.h (INIT_CUMULATIVE_INCOMING_ARGS): Initialize "indirect"
14184         field to zero.
14185
14186 Thu Apr  4 12:52:11 1996  Jim Wilson  <wilson@chestnut.cygnus.com>
14187
14188         * loop.c (combine_givs): Use new macro GIV_SORT_CRITERION.
14189         New variable giv_array.  Loop over giv_array instead of following
14190         next_iv links.
14191         (giv_sort): New function.
14192         * sh.h (GIV_SORT_CRITERION):  Define.
14193
14194         * c-typeck.c (push_init_level): When output alignment for structure
14195         field, add check to verify it is the next field to be output.
14196
14197 Thu Apr  4 12:19:26 1996  David Mosberger-Tang  <davidm@AZStarNet.com>
14198
14199         * alpha.c: Don't include stamp.h for Linux-based GNU systems.
14200
14201 Thu Apr  4 12:17:08 1996  Richardg Kenner  (kenner@vlsi1.ultra.nyu.edu)
14202
14203         * objc/Makefile: Rename thread* to thr*.
14204         * objc/thread.c: Rename thread-* to thr-*.
14205         * objc/thr-decosf1.c: Renamed from thread-decosf1.c
14206         * objc/thr-irix.c: Renamed from thread-irix.c.
14207         * objc/thr-single.c: Renamed from thread-single.c.
14208         * objc/thr-solarius.c: Renamed from thread-solaris.c.
14209         * objc/thr-win32.c: Renamed from thread-win32.c.
14210         * objc/objc-api.h: Include thr.h, not thread.h.
14211         * objc/runtime.h, objc/sarray.h: Likewise.
14212
14213         * i386.md (ashldi3_const_int): Don't recognize if won't match
14214         constraint of operand 2.
14215
14216 Thu Apr  4 11:40:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
14217
14218         * config/fp-bit.c (EXTENDED_FLOAT_STUBS): If EXTENDED_FLOAT_STUBS
14219         is defined, define all of the XF/TF functions that might be
14220         generated that we don't have code for yet.
14221
14222         * i960/t-(vxworks960,960bare): (LIB2FUNCS_EXTRA): Make and
14223         compile xp-bits.c that defines EXTENDED_FLOAT_STUBS.
14224
14225         From: steve chamberlain  <sac@slash.cygnus.com>
14226         * i386/x-cygwin32 (LANGUAGES): Delete.
14227         * i386/xm-cygwin32.h (EXECUTABLE_SUFFIX): Set to .exe.
14228         * rs6000/xm-cygwin32.h (EXECUTABLE_SUFFIX): Set to .exe.
14229
14230 Wed Apr  3 14:10:16 1996  Jim Wilson  <wilson@chestnut.cygnus.com>
14231
14232         * expr.c (emit_push_insn): Clobber register only if it is non-zero.
14233
14234 Wed Apr  3 11:31:55 1996  Jeffrey A. Law  <law@cygnus.com>
14235
14236         * h8300.h (h8300_funcvec_function_p): Declaration moved here.
14237         * h8300.c (h8300_funcvec_function_p): Declaration removed from here.
14238         * h8300.md (tstqi): Tweak to work like other tstXX patterns.
14239         (cmphi): Turn into a define_expand.  Add two anonymous
14240         matterns to match the output of the cmphi expander.
14241         (cmpsi): Accept constants as the second input operand.
14242
14243 Tue Apr  2 13:52:30 1996  Jeffrey A. Law  <law@cygnus.com>
14244
14245         * h8300.md (movqi_internal): Remove useless alternative(s).  Fix
14246         lengths and simplify by reordering remaining alternatives.
14247         (movstrictqi, movhi_internal, movstricthi): Likewise.
14248         (movsi_h8300h, movsf_h8300h): Likewise.
14249
14250         * h8300/h8300.c (extra_pop): Remove unused variable.
14251         (current_function_anonymous_args): Likewise.
14252         (function_prologue): Remove incorrect varargs/stdarg
14253         related code.
14254         (function_epilogue): Likewise.
14255         (function_arg): Never pass unnamed arguments in registers.
14256         * h8300.h (LONG_LONG_TYPE_SIZE): Use 64bits when ints are 32bits.
14257         (SETUP_INCOMING_VARARGS): Remove definition.
14258
14259 Mon Apr  1 16:59:48 1996  Ian Lance Taylor  <ian@cygnus.com>
14260
14261         * fixincludes: Fix signal prototype on SunOS to avoid pedantic C++
14262         error.
14263
14264 Mon Apr  1 16:16:34 1996  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
14265
14266         * expr.c (get_inner_reference): When finding mode to access bitfield
14267         that ends up properly aligned, use mode class of its type unless
14268         type's mode was BLKmode.
14269
14270 Mon Apr  1 13:45:30 1996  Jeffrey A. Law  <law@cygnus.com>
14271
14272         * h8300.c (interrupt_handler): Renamed from pragma_interrupt.
14273         All references changed.
14274         (function_prologue): Set interrupt_handler if the current
14275         function has the "interrrupt-handler" attribute.
14276         (small_call_insn_operand): New function.
14277         (h8300_interrrupt_function_p): New function.
14278         (h8300_funcvec_function_p): New function.
14279         (h8300_valid_machine_decl_attribute): New function.
14280         * h8300.h (VALID_MACHINE_DECL_ATTRIBUTE): Define.
14281         * h8300.md (call insns): Handle calls through the
14282         function vector.  Indirect calls and calls through
14283         the function vector have a length of two bytes.
14284
14285 See ChangeLog.10 for earlier changes.
14286 \f
14287 Use a consistent time stamp format in ChangeLog entries.
14288 Not everyone has Emacs 20 yet, so stick with Emacs 19 format for now.
14289
14290 Local Variables:
14291 add-log-time-format: current-time-string
14292 End: