Fix gcov mips switch table interaction bug reported to bug-gcc.
[platform/upstream/gcc.git] / gcc / ChangeLog
1 Thu Apr 23 19:09:33 1998  Jim Wilson  <wilson@cygnus.com>
2
3         * profile.c (tablejump_entry_p): New function.
4         (branch_prob): Add code to recognize MIPS tablejump entry branch.
5         Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
6
7 Thu Apr 23 15:01:13 1998  Nick Clifton  <nickc@cygnus.com>
8
9         * config/arm/arm.c (find_barrier): Return as soon as a barrier is
10         found, rather than at end of the loop, after the insn has been
11         changed. 
12
13 Thu Apr 23 20:21:06 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
14
15         * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
16         * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
17
18 Wed Apr 22 17:07:35 1998  Michael Meissner  <meissner@cygnus.com>
19
20         * loop.c (note_addr_stored): Correct function to take 2 arguments,
21         instead of 1.
22
23         * rtl.def (MATCH_INSN2): Add new matching pattern.
24         * genrecog.c (add_to_sequence): Support MATCH_INSN2. 
25
26 Wed Apr 22 15:52:22 1998  John Carr  <jfc@mit.edu>
27
28         * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
29         if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
30     
31         * final.c (split_double): Sign extend both halves of a split CONST_INT.
32
33 Wed Apr 22 10:42:45 1998  Jeffrey A Law  (law@cygnus.com)
34
35         * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
36
37 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod  <amacleod@cygnus.com>
38
39         * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
40         (cplus_demangle_opname): Call mop_up_squangle.
41         (cplus_demangle): Initialize squangle info, then call 
42         internal_cplus_demangle. (Most code moved there as well)
43         (internal_cplus_demangle): New function, performs most of what use 
44         to be done in cplus_demangle, but is only called with this file.
45         (squangle_mop_up): New function to clean up B and K code data.
46         (mop_up): set pointers to NULL after freeing.
47         (demangle_signature, demangle_template, demangle_class): Add 
48         switch elements to handle K and B codes.
49         (demangle_prefix, gnu_special, demangle_qualified): Add
50         code to handle K and B codes.
51         (do_type, demangle_fund_type): Handle B and K codes.
52         (remember_Ktype): New function to store K info.
53         (register_Btype, remember_Btype): New functions for B codes.
54         (forget_B_and_K_types): New function to destroy B and K info.
55
56 1998-04-21  Jim Wilson  <wilson@cygnus.com>
57
58         * stmt.c (check_seenlabel): When search for line number note for
59         warning, handle case where there is no such note.
60
61 Tue Apr 21 20:48:37 1998  John Carr  <jfc@mit.edu>
62
63         * genemit.c (gen_exp): Allow machine description to set mode of
64         MATCH_OP_DUP.
65
66 Tue Apr 21 16:36:01 1998  John Carr  <jfc@mit.edu>
67
68         * alias.c (mode_alias_check): New function.
69         (true_dependence, anti_dependence, output_dependence): Call
70         mode_alias_check.
71
72 Tue Apr 21 12:05:32 1998  Jeffrey A Law  (law@cygnus.com)
73
74         * mips.h (STACK_BOUNDARY): Allow specific targets to override.
75         (MIPS_STACK_ALIGN): Similarly.
76
77         * c-common.c (type_for_mode): Handle TI types.
78         * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
79         (init_decl_processing): Handle TI types.
80         * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
81
82         * mips.c (block_move_loop): Test Pmode == DImode instead of
83         TARGET_MIPS64.
84         (expand_block_move, save_restore_insns): Likewise.
85         (function_prologue, mips_expand_prologue): Likewise.
86         (mips_expand_epilogue): Likewise.
87         * mips.h (POINTER_SIZE): Allow specific targets to override.
88         (Pmode): Allow specific targets to override.
89         (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
90         (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
91         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
92         (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
93         (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
94         (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
95         * mips.md (indirect, tablejump & casesi support): Test for
96         Pmode == DImode instead of TARGET_MIPS64.
97         (call patterns): Likewise.
98
99 Tue Apr 21 09:43:55 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
100
101         * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
102         for gen_rtx(MEM, ...).
103
104 Tue Apr 21 02:15:36 1998  Richard Henderson  <rth@cygnus.com>
105
106         * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
107         to not be so gross, and to properly function with PIC.
108
109 Mon Apr 20 20:44:25 1998  Jim Wilson  <wilson@cygnus.com>
110
111         * frame.c (heapsort): Rename to frame_heapsort.
112
113         * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
114
115 Mon Apr 20 12:43:09 1998  Doug Evans  <devans@canuck.cygnus.com>
116
117         * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
118
119 Mon Apr 20 15:04:14 1998  John Wehle  (john@feith.com)
120
121         * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
122         operands during and after reload.
123
124 Mon Apr 20 22:37:50 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
125
126         * final.c (shorten_branches, init_insn_lengths): Move code
127         to free label_align, uid_shuid, insn_lengths, insn_addresses
128         and uid_align from the former function into the latter one;
129         Add code to clear these variables.
130         * sh.h (label_align): Remove declaration.
131
132 Mon Apr 20 14:48:29 1998  Michael Meissner  <meissner@cygnus.com>
133
134         * gcc.c (lang_specific_driver): Declare prototype properly so
135         fatal can be passed to it without error.
136
137         * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
138         * configure: Regenerate.
139         * config.in: Add #undef's for strchr and strrchr.
140
141         * protoize.c (toplevel): If we have rindex, but not strrchr, map
142         rindex to strrchr.
143         (file_could_be_converted): Use strrchr, not rindex since rindex is
144         not defined on Linux systems when _POSIX_SOURCE is defined.
145         (file_normally_convertible): Ditto.
146         (process_aux_info_file): Ditto.
147         (main): Ditto.
148
149         * rs6000.md (mov{sf,df} define_splits): When splitting a move of
150         a constant to an integer register, don't split the insns that do
151         the simple AND and OR operations, rather just split each word, and
152         let the normal movsi define split handle it further.
153
154 Mon Apr 20 18:19:40 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
155
156         * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
157         (split_branches): Call init_insn_lengths.
158
159 Mon Apr 20 07:37:49 1998  Michael Meissner  <meissner@cygnus.com>
160
161         * i386.c: Include expr.h to get the change_address prototype
162         declared.
163         
164 Mon Apr 20 01:00:05 1998  H.J. Lu  (hjl@gnu.org)
165
166         * reg-stack.c (subst_asm_stack_regs): Change to return the last
167         new insn generated by this function.
168         (subst_stack_regs): Likewise.
169         (convert_regs): Record the last newly generated insn and use
170         it for change_stack () instead of INSN.
171
172 Sun Apr 19 15:41:24 1998  Manfred Hollstein  <manfred@s-direktnet.de>
173
174         * fix-header.c (enum special_file): Undefine enumerators if they
175         are already defined by include files.
176         * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
177         macro with '__' to not pollute user namespace.
178
179 Sun Apr 19 02:42:06 1998  Richard Henderson  <rth@cygnus.com>
180
181         * haifa-sched.c (queue_to_ready): Fix typo in prototype.
182
183 Sat Apr 18 23:52:35 PDT 1998 Jeff Law  (law@cygnus.com)
184
185         * version.c: Bump for snapshot.
186
187 Sat Apr 18 18:30:22 1998  Jim Wilson  <wilson@cygnus.com>
188
189         * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
190
191         * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
192         Add missing -Dpentium* options.
193         (CPP_CPU_SPEC): Delete redundant definition.  Include cpp_cpu_default
194         instead of CPP_CPU_DEFAULT.
195         (EXTRA_SPECS): Add entry for cpp_cpu_default.
196
197 Sat Apr 18 19:06:59 1998  David Edelsohn  <edelsohn@mhpcc.edu>
198
199         * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
200         negative in a stackless frame.
201         * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
202         in stackless frame size.  Support 64-bit stackless frame size.
203         Combine fpmem offset calculations and don't add total_size to
204         offset if not pushing a stack frame.
205
206 Sat Apr 18 15:41:16 1998  Jim Wilson  <wilson@cygnus.com>
207
208         * regmove.c (fixup_match_1): In three places, in flag_exceptions
209         check, change p to q.
210
211 Sat Apr 18 15:30:49 1998  Jim Wilson  <wilson@cygnus.com>
212
213         * gcc.c (lang_specific_driver): Add new parm type to prototype.
214         (added_libraries): New file scope static variable.
215         (process_command): Initialize added_libraries.  Pass it to
216         lang_specific_driver.
217         (main): Use added_libraries in check for no input files.
218         
219 Sat Apr 18 01:23:11 1998  John Carr  <jfc@mit.edu>
220
221         * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
222         code generation.  Use 64 bit instructions in 32 bit mode when
223         possible.  Use V9 return instruction.  UltraSPARC optimizations.
224
225         * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
226
227 Fri Apr 17 22:38:17 1998  Jeffrey A Law  (law@cygnus.com)
228
229         * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
230         just pass zero.  That will work regardless of the size of HARD_REG_SET.
231
232         * libgcc2.c (__floatdisf): Fix a couple typos.
233
234 Fri Apr 17 17:28:26 1998  Jim Wilson  <wilson@cygnus.com>
235
236         * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
237
238 Fri Apr 17 16:35:35 1998  Greg McGary  <gkm@gnu.org>
239
240         * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
241
242 Fri Apr 17 14:30:37 1998  John Carr <jfc@mit.edu>
243
244         * emit-rtl.c (operand_subword_force): If a register can not be
245         accessed by words, copy it to a pseudo register.
246
247 Fri Apr 17 14:30:37 1998  Jim Wilson  <wilson@cygnus.com>
248
249         * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
250
251 Fri Apr 17 17:01:25 1998  Michael Meissner  <meissner@cygnus.com>
252
253         * tree.h (mark_seen_cases): Delete declaration.
254
255 Fri Apr 17 13:32:20 1998  Jeffrey A Law  (law@cygnus.com)
256
257         * stmt.c (mark_seen_cases): Make static and add prototype.
258
259 Fri Apr 17 11:21:43 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
260
261         * frame.c: Include stdlib.h and unistd.h to possibly get various
262         function prototypes.  The fixproto script guarantees these header
263         files exist on the target system.
264         * libgcc2.c: Likewise.
265  
266         * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
267         __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
268         function parameters.
269         * libgcc2.c (__udiv_w_sdiv): Likewise.
270
271 Thu Apr 16 22:41:02 1998  Jeffrey A Law  (law@cygnus.com)
272
273         * varasm.c (asm_output_bss): Add prototype.
274         (asm_output_aligned_bss): Likewise.
275
276         * unroll.c (verify_addresses): Add prototype.
277
278         * toplev.c: Add many prototypes.  Too many to mention here.
279
280         * stmt.c (check_seenlabel): Add prototype.
281
282         * rtlanal.c (reg_set_p_1): Add prototype.
283         (reg_set_last_1): Likewise.
284
285         * reorg.c (find_dead_or_set_registers): Add prototype.
286         
287         * regmove (try_auto_increment): Add prototype.
288
289         * reg-stack.c (pop_stack): Add prototype.
290
291         * recog.c (validate_replace_rtx_1): Add prototype.
292         (find_cosntant_term_loc): Likewise.
293
294         * loop.c (regs_patch_p): Add prototype.
295         (add_label_notes, count_nonfixed_reads): Likewise.
296         (find_single_use_in_loop): Likewise.
297         (express_from): Surround prototype with #ifdef.
298         (giv_sort): Similarly.
299
300         * jump.c (mark_modified_reg): Add prototype.
301
302         * haifa-sched.c (is_prisky): Add prototype.
303         (queue_to_ready): Likewise.
304
305         * genextract.c (gen_insn): Add prototype.
306
307         * genemit.c (max_operand_1): Add prototype.
308         (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
309         (gen_expand, gen_explit, output_add_clobbers): Likewise.
310         (output_init_mov_optab): Likewise.
311
312         * genattrtab.c (attr_hash_add_rtx): Add prototype.
313         (attr_hash_add_string, write_length_unit_log): Likewise.
314
315         * genattr.c (init_range): Add prototype.
316
317         * combine.c (sets_function_arg_p): Add prototype.
318
319         * expr.c (store_constructor_field): Add prototype.
320         (get_memory_usage_from_modifier): Likewise
321
322         * expmed.c (synth_mult): Add prototype.
323         (choose_multiplier, invert_mod2n): Likewise.
324
325         * except.c (push_eh_entry): Add prototype.
326         (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
327         (call_get_eh_context, start_dynamic_cleanup): Likewise.
328         (start_dynamic_handler, can_throw): Likewise.
329         (output_exception_table_entry, scan_region): Likewise.
330         (eh_regs, set_insn_eh_region): Likewise.
331
332         * dwarfout.c (decl_class_context): Add prototype.
333         (output_inheritance_die, type_ok_for_scope): Likewise.
334
335         * c-lex.c (skip_white_space_on_line): Add prototype.
336
337         * alias.c (record_set): Add prototype.
338         (find_base_term, base_alias_check): Likewise.
339         
340         * function.c (assign_outer_stack_local): Make static and add prototype.
341
342         * haifa-sched.c (build_control_flow): Accept raw data as inputs
343         instead of computing it locally.  Callers changed.
344         (find_rgns): Several new arguments.  Callers changed.
345         Generally clean up and comment better.  Use dominators to
346         identify reducible loops.  Convert some flag arrays to bitmaps.
347         Convert most of the code to work on pred/succ lists instead of
348         an edge table.  Add comments for future improvements.
349         (schedule_insns): Allocate temporary tables for flow data, call
350         routines to compute flow data and pass it along to children as
351         arguments.
352         (debug_control_flow): Delete.  Use dump_bb_data instead.
353
354         * basic-block.h (compute_dominators): Declare.
355
356         * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
357         functions.
358         * basic-block.h: Declare them.
359
360 Thu Apr 16 13:45:51 1998  Jim Wilson  <wilson@cygnus.com>
361
362         * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
363         no operands.
364
365 Wed Apr 15 11:33:09 1998  Alexandre Petit-Bianco  <apbianco@sendai.cygnus.com>
366
367         * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
368         Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
369         node is non NULL. Cache last file name and file name identifier node.
370
371 1998-04-15  Mark Mitchell  <mmitchell@usa.net>
372
373         * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
374         the length of an array, not TREE_TYPE.
375
376 Wed Apr 15 15:31:34 1998  Jeffrey A Law  (law@cygnus.com)
377
378         * flow.c (sbitmap_union_of_successors):  New function.
379         * basic-block.h (sbitmap_union_of_successors): Declare it.
380
381 Wed Apr 15 12:38:03 1998  Jim Wilson  <wilson@cygnus.com>
382
383         * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
384         Set gnu_ld to gnu_ld_flag inside main loop.
385         (gas): Likewise.
386
387 Wed Apr 15 14:50:05 1998  Dave Brolley  <brolley@cygnus.com>
388
389         * toplev.c (compile_file): Call init_parse using new interface.
390         (init_lex): Remove declaration.
391
392         * c-lex.c (init_parse): Now returns char* containing filename.
393
394 Wed Apr 15 12:37:10 1998  Jeffrey A Law  (law@cygnus.com)
395
396         * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
397
398 Wed Apr 15 12:10:18 1998  Michael Meissner  <meissner@cygnus.com>
399
400         * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
401         (gen{extract,peep,opinit,output}): Ditto.
402
403         * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
404         global definition so print-rtl.o can be linked in.
405         * gen{peep,recog}.c (insn_attr_name): Ditto.
406
407 Tue Apr 14 07:30:57 1998  K. Richard Pixley  <rich@kyoto.noir.com>
408
409         * fixincludes: discard empty C++ comments, as found in sys/time.h
410         on hpux-11.0.
411
412 Wed Apr 15 10:47:21 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
413
414         * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
415         operand.
416
417 Wed Apr 15 01:21:21 1998  Jeffrey A Law  (law@cygnus.com)
418
419         * emit-rtl.c (operand_subword): Rework slightly to avoid
420         bogus warning from previous change.
421
422 Tue Apr 14 23:39:13 1998  Richard Henderson  <rth@cygnus.com>
423
424         * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
425         Nov 8 find_replacement change.  Move decls of get_unaligned_address
426         * alpha.h: ... here.
427
428 Tue Apr 14 22:00:39 1998  John Carr <jfc@mit.edu>
429
430         * function.c (assign_parms): Initialize unsignedp before passing
431         its pointer to promote_mode.
432
433         * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
434         (write_test_expr): Allow MATCH_INSN.
435
436 Tue Apr 14 21:57:57 1998  Paul Eggert <eggert@twinsun.com>
437
438         * install.texi: Update section on warnings that can be safely ignored.
439
440 Tue Apr 14 14:55:16 1998  Jim Wilson  <wilson@cygnus.com>
441
442         * mips.md (reload_outdi): Change the scratch mode from DImode to
443         TImode.  New variable scratch, used instead of operand[2] in template.
444         Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
445
446 Tue Apr 14 16:19:03 1998  Michael Meissner  <meissner@cygnus.com>
447
448         * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
449
450 Tue Apr 14 11:31:28 1998  Krister Walfridsson <cato@df.lth.se>
451
452         * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
453
454 Tue Apr 14 09:02:32 1998  Jeffrey A Law  (law@cygnus.com)
455
456         * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
457         (ASM_FINISH_DECLARE_OBJECT): Likewise.
458
459         * Idea and part of the patch from HJ.
460         * Makefile.in: auto-host.h renamed from auto-config.h.  All references
461         changed.
462         (distclean): Remove auto-build.h too.
463         * configure.in: Rename host autoconf generated file to auto-host.h.
464         If host != build, then run autoconf to generate auto-build.h for
465         the build machine and include it in build_xm_files.
466         Check for wait.h and sys/wait.h.
467
468         * combine.c (simplify_rtx, case TRUNCATE): Respect value of
469         TRULY_NOOP_TRUNCATION.
470
471 Mon Apr 13 11:31:49 1998  Jason Merrill  <jason@yorick.cygnus.com>
472
473         * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
474
475 Sun Apr 12 20:55:32 1998  Catherine Moore <clm@cygnus.com>
476
477         * invoke.texi (ld options)  Include memset requirements
478         for options -nodstdlib and -nodefaultlibs.
479
480 1998-04-12  Paul Eggert  <eggert@twinsun.com>
481
482         This change is from an idea suggested by Arthur David Olson.
483
484         * c-common.c (decl_attributes, record_function_format,
485         check_format_info, init_function_format_info):
486         Add support for strftime format checking.
487         (enum format_type): New type.
488         (record_function_format): Now static, and takes value of type
489         enum format_type instead of int.
490         (time_char_table): New constant.
491         (struct function_format_info): format_type member renamed from is_scan.
492         (check_format_info): Use `warning' rather than sprintf followed by
493         `warning', to avoid mishandling `%' in warnings.
494         Change `pedwarn' to `warning', since these warnings do not necessarily
495         mean the program does not conform to the C Standard, as the code
496         need not be executed.
497
498         * c-tree.h (record_function_format): Remove decl; no longer extern.
499
500         * extend.texi: Add documentation for strftime format checking.
501
502 Sun Apr 12 20:23:03 1998  Jeffrey A Law  (law@cygnus.com)
503
504         * mips/ecoffl.h: Do not include mips.h.
505         * mips/elf.h: Likewise.
506
507         * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
508         * mips/ecoff.h: Include "mips/mips.h".
509
510 Sat Apr 11 22:42:54 PDT 1998 Jeff Law  (law@cygnus.com)
511
512         * version.c: Bump for snapshot.
513
514 Sat Apr 11 01:24:28 1998  Jeffrey A Law  (law@cygnus.com)
515
516         * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
517         (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
518         * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns              instead of delete_dead_from_cse.  Also call delete_trivially_dead_insns
519         between loop optimization passes.
520         * rtl.h: Updated appropriately.
521
522 Fri Apr 10 22:28:32 1998  Jeffrey A Law  (law@cygnus.com)
523
524         Reinstall this patch from Jason.
525         * function.c (push_function_context_to): Don't call init_emit.
526
527 Fri Apr 10 13:40:20 1998  Nick Clifton  <nickc@cygnus.com>
528
529         * rtl.c (read_skip_spaces): Prevent infinite loops upon
530         encountering unterminated comments.
531
532 Fri Apr 10 10:43:41 1998  Jeffrey A Law  (law@cygnus.com)
533
534         * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
535         64x32 cross builds.
536
537         * configure.in: Handle --with-fast-fixincludes.
538         (fixincludes): If --with-fast-fixincludes, then use a different
539         fixincludes program by default.
540         * Makefile.in (fixinc.sh): New rule.
541
542 Fri Apr 10 00:36:31 1998  H.J. Lu  (hjl@gnu.org)
543
544         * i386.md (movqi+1): Handle invalid QI register.
545         (movsf_push-1): Likewise.
546
547 Thu Apr  9 16:53:59 1998  Nick Clifton  <nickc@cygnus.com>
548
549         * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
550         addresses.
551         symbolic_memort_operand(), call32_operand(), int8_operand(),
552         int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
553         Not used.
554         uint16_operand(): Made static.
555
556 Thu Apr  9 01:43:04 1998  Jeffrey A Law  (law@cygnus.com)
557
558         * calls.c (expand_call): Fix typo.
559
560 Thu Apr  9 00:18:44 1998  Dave Brolley  (brolley@cygnus.com)
561
562         * c-lex.c (finput): New global.
563         (init_parse): Always included.  Handle !USE_CPPLIB using
564         code originally in compile_file.
565         (finish_parse): Update for CPPLIB.
566         * toplev.c (init_parse, finish_parse): Declare.
567         (finput): Delete variable.  Now in front-ends.
568         (compile_file): Remove code which is now handled by init_parse
569         which is unconditionally called.  Similarly for finish_parse.
570
571 Wed Apr  8 23:13:50 1998  Gavin Koch  <gavin@cygnus.com>
572
573         * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
574         ASM_WEAKEN_LABEL): Add.
575
576 Wed Apr  8 18:21:30 1998  Richard Henderson  <rth@cygnus.com>
577
578         * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
579         * configure.in (alpha-*-linux*): Use them.
580
581 Fri Apr  3 17:02:13 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
582  
583         * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
584         * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
585         COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
586         (build_expr_wfl): New prototype declaration.
587         * tree.c (build_expr_wfl): New function, to build
588         EXPR_WITH_FILE_LOCATION nodes.
589         (copy_node): Don't zero TREE_CHAIN if copying a
590         EXPR_WITH_FILE_LOCATION node.
591         * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
592         * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
593
594 Wed Apr  8 12:51:19 1998  Jeffrey A Law  (law@cygnus.com)
595
596         * configure.in (v850): Use t-v850.
597         (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
598
599         * protoize.c (creat, read, write): Do not declare.
600
601         * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
602         refer to the CODE_LABEL before a dispatch table.
603
604         * invoke.texi: Add ARC options.
605
606         * gcc.c (proces_command): Improve error message for -o with
607         either -c or -S.
608
609         * i386/x-cygwin32 (CLIB): Link in advapi32.
610
611         * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
612         (ASM_IDENTIFY_LANGUAGE): Likewise.
613
614         * i386.md (movqi recognizer): Don't perfom byte increment into
615         a NON_QI_REG_P.
616
617         * configure.in (x86-dg-dgux): Run fixinc.dgux.
618
619         * i370.h: Fix typo in GEN_INT changes.
620
621         * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
622         of an empty arglist in prototype.
623
624         * Makefile.in: Remove bytecode crud that crept back in after the
625         gcc2 merge.
626
627 1998-04-08  Brendan Kehoe  <brendan@cygnus.com>
628
629         * c-lex.h (is_class_name): Fix arg type to be tree, not void.
630         (make_pointer_declarator, reinit_parse_for_function): Fix typo.
631
632 Wed Apr  8 06:16:45 1998  Richard Earnshaw (rearnsha@arm.com)
633
634         * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
635
636 Wed Apr  8 00:44:18 1998  Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
637
638         * c-lex.c (is_class_name): Delete declaration.
639         (whitespace_cr): Make static and add prototype.
640         * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
641         yylex, get_directive_line): Turn declarations into prototypes.
642         (position_after_whitespace, check_newline, yyerror,, is_class_name,
643         forget_protocol_qualifiers, remember_protocol_qualifiers): Add
644         prototypes.
645         * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
646         prototypes.
647         * gencodes.c (gen_insn): Add prototype.
648         * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
649         gen_peephole): Add prototypes.
650         * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
651         prototypes.
652         * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
653         special_format, find_formats, gendecl, genmacro, gendef, genlegend,
654         genheader, gencode): Add prototypes.
655         * genopinit.c (gen_insn): Add prototype.
656         * genoutput.c (output_prologue, output_epilogue, scan_operands,
657         process_template, validate_insn_alternatives, gen_insn, gen_peephole,
658         gen_expand, gen_split, n_occurrences): Add prototypes.
659         * genpeep.c (gen_peephole): Add prototype.
660         * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
661         reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
662         labels_in_range_p, count_loop_regs_set, note_addr_stored,
663         loop_reg_used_before_p, scan_loop, replace_call_address,
664         skip_consec_insns, libcall_benefit, ignore_some_movables,
665         force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
666         strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
667         check_final_value, record_giv, update_giv_derive, basic_induction_var,
668         simplify_giv_expr, general_induction_var, consec_sets_giv,
669         check_dbra_loop, express_from, combine_givs_p, combine_givs,
670         product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
671         last_use_this_basic_block, record_initial, update_reg_last_use,
672         iteration_info, analyze_loop_iterations, insert_bct,
673         instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
674         into prototypes.
675
676 Tue Apr  7 21:48:52 1998  Jeffrey A Law  (law@cygnus.com)
677
678         * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
679
680 1998-04-07  Ken Raeburn  <raeburn@cygnus.com>
681
682         * config/mips/mips.c (siginfo): Deleted.
683         (override_options): Don't install SIGINFO signal handler.
684
685 Tue Apr  7 11:58:04 1998  Jim Wilson  <wilson@cygnus.com>
686
687         * loop.c (check_dbra_loop): When normalize comparison_val, add check
688         to verify it is non-negative.
689
690 Tue Apr  7 02:01:47 1998  Richard Henderson  <rth@cygnus.com>
691
692         * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
693         (alpha_expand_block_clear): Likewise.
694
695 Mon Apr  6 23:36:01 1998  Richard Henderson  <rth@cygnus.com>
696
697         * tree.h (sizetype_tab): Fix previous change for K&R.
698
699 Mon Apr 6 22:23:29 PDT 1998 Jeff Law  (law@cygnus.com)
700
701         * version.c: Bump for snapshot.
702
703 Mon Apr  6 23:16:10 1998  Richard Earnshaw (rearnsha@arm.com)
704
705         * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
706         Add USG and POSIX to xm_defines.
707
708 Mon Apr  6 21:49:57 1998  Bob Manson  <manson@charmed.cygnus.com>
709
710         * gcc.c: Add linker spec.
711         (link_command_spec): Use %(linker) instead of ld.
712         (main): If collect2 is requested as the linker, see if it exists;
713         if not, use ld instead.
714
715         * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
716         (ld:) Deleted.
717         (install-collect2): Install as collect2, not ld.
718
719         * configure.in(will_use_collect2): It's named collect2 now.
720
721         * collect2: Remove checks to see if we were invoked recursively.
722         (collect_execute): Use _spawnvp under cygwin32.
723
724 Mon Apr  6 17:23:41 1998  Jim Wilson  <wilson@cygnus.com>
725
726         * haifa-sched.c (build_control_flow): Set unreachable for block whose
727         only predecessor is itself.
728
729 Mon Apr  6 16:08:04 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
730
731         * c-parse.in: Include system.h, and remove stuff now made redundant.
732         * cccp.c: Likewise.
733         * cexp.y: Likewise.
734         * protoize.c: Likewise.  Properly check for cpp stringification.
735
736         * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
737         Depend on system.h.  
738
739         * objc/Make-lang.in (objc-parse.o): Likewise.
740
741 Mon Apr  6 14:59:58 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
742
743         * gansidecl.h: Check if compiler supports __attribute__.  Provide
744         definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
745         __attribute__ when its available.  Also provide definitions for
746         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
747         terms of ATTRIBUTE_PRINTF.
748  
749         * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
750         of __attribute__.
751
752 Mon Apr  6 07:17:52 1998  Catherine Moore  <clm@cygnus.com>
753
754         * combine.c (can_combine_p):  Include successor in volatile test.
755
756 Mon Apr  6 14:16:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
757
758         * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
759         offset_unsigned.
760
761 Mon Apr  6 02:03:29 1998  Jeffrey A Law  (law@cygnus.com)
762
763         * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
764         in prototype and definition.
765         
766 Mon Apr 6 00:48:56 PDT 1998 Jeff Law  (law@cygnus.com)
767
768         * version.c: Bump for snapshot.
769
770 Mon Apr  6 00:08:50 1998  Richard Henderson  <rth@cygnus.com>
771
772         * alpha.c (alpha_expand_block_clear): Add missing offset arg to 
773         alpha_expand_unaligned_store_words.
774
775 Sun Apr  5 21:31:24 1998  John Wehle  (john@feith.com)
776
777         * i386.md (movsf_push, movsf_mem): Remove.
778         (movsf_push): Rename from movsf_push_nomove and move in front of
779         movsf.  Use nonmemory_operand predicate and don't bother checking
780         TARGET_MOVE.
781         (movsf_push_memory): New pattern.
782         (movsf): Don't bother checking for push_operand.  If TARGET_MOVE and
783         both operands refer to memory then force operand[1] into a register.
784         (movsf_normal): Change to unnamed pattern.
785         Likewise for movdf, movxf, and friends.
786
787 Sun Apr 5 18:45:51 PDT 1998 Jeff Law  (law@cygnus.com)
788
789         * version.c: Bump for snapshot.
790
791 Sun Apr  5 16:31:10 1998  Richard Henderson  <rth@cygnus.com>
792
793         * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
794
795 Sun Apr  5 16:53:37 1998  Don Bowman <don@pixsci.com>  
796
797         * configure.in (mips-wrs-vxworks): New target.
798
799 Sat Apr 4 23:34:32 PST 1998 Jeff Law  (law@cygnus.com)
800
801         * expmed.c (synth_mult): The value -1, has no zeros, so it can
802         never have the form ...011.
803
804         * version.c: Bump for snapshot.
805
806 Sat Apr  4 20:16:46 1998  Richard Henderson  <rth@cygnus.com>
807
808         * i386.c (asm_output_function_prefix, load_pic_register):
809         Use ASM_GENERATE_INTERNAL_LABEL properly.
810         (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
811         (print_operand): Ignore it.
812         (load_pic_register): Use it for the got load call.
813         * i386.md (prologue_set_got, prologue_get_pc): Likewise.
814         (prologue_get_pc_and_set_got): Likewise.
815         * i386.h: Update print_operand docs.
816
817 Sat Apr  4 19:08:37 1998  Richard Henderson  <rth@cygnus.com>
818
819         * i386.md (ffssi, ffshi): Rewrite as define_expands.
820         (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
821         * i386.c (notice_update_cc): Recognize unspec 5.
822
823 Sat Apr  4 18:07:16 1998  David Mosberger-Tang  (davidm@mostang.com)
824
825         * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
826         * alpha.c (print_operand): Handle it.
827         * alpha.md (fix_truncsfdi2): Use it.  Add earlyclobber pattern
828         for ALPHA_TP_INSN.
829         (fix_truncdfdi2): Likewise.
830
831 Sat Apr  4 17:42:05 1998  Richard Henderson  <rth@cygnus.com>
832
833         * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
834         of these into a single struct, with additional [us]sizetype entries.
835         * stor-layout.c (set_sizetype): Initialize [us]sizetype.
836         * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
837         an array.
838
839 Sat Apr  4 17:04:41 1998  Richard Henderson  <rth@cygnus.com>
840
841         * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
842
843 Sat Apr  4 13:50:01 1998  Richard Henderson  <rth@cygnus.com>
844
845         * haifa-sched.c (split_block_insns): Don't supress insn splitting
846         on subsequent passes.
847
848         * alpha.c (hard_fp_register_operand): New function.
849         * alpha.h (PREDICATE_CODES): Add it.
850         * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case.  Add an
851         f<-m case and accompanying define_split.
852         (trapb): Use a unique unspec_volatile number.
853
854 Sat Apr  4 13:32:08 1998  Richard Henderson  <rth@cygnus.com>
855
856         * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
857         from gcc2 merge.
858
859 Sat Apr  4 10:23:41 1998  Jeffrey A Law  (law@cygnus.com)
860
861         * Check in merge from gcc2.  See ChangeLog.11 and ChangeLog.12
862         for details.
863
864         * haifa-sched.c: Mirror recent changes from gcc2.
865
866 Fri Apr  3 00:17:01 1998  Jeffrey A Law  (law@cygnus.com)
867
868         * Makefile.in (insn*.o): Depend on system.h.
869
870         * pa.c (output_global_address): Initialize base.
871         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
872
873 1998-04-03  Mike Stump  <mrs@wrs.com>
874
875         * gthr.h: Support systems that don't have weak, but have threads.
876         * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
877         * gthr-vxworks.h: New file.
878         * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
879
880 Thu Apr  2 18:00:52 1998  Jim Wilson  <wilson@cygnus.com>
881
882         * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
883
884 1998-04-02  Vladimir N. Makarov  <vmakarov@cygnus.com>
885
886         * ginclude/va-i960.h (va_end): Change void * to void.
887
888 Thu Apr  2 13:51:10 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
889
890         * Makefile.in (choose-temp.o): Depend on system.h.
891
892         * choose-temp.c: Include system.h when IN_GCC.
893
894 Thu Apr  2 02:37:07 1998  Joern Rennecke  (amylaar@cygnus.co.uk)
895                           Richard Henderson  <rth@cygnus.com>
896
897         * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
898         (move_replacements): New function.
899         * reload.h: Prototype it.
900         
901         * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
902         
903 Thu Apr  2 01:01:34 1998  Richard Henderson  <rth@cygnus.com>
904
905         * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
906         Run fixincludes.
907
908         * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
909         (gen_highpart): Likewise.
910         * final.c (alter_subreg): Allow the target to hook by-mode subreg
911         hard register number changes.
912         
913 Wed Apr  1 22:26:22 1998  Jeffrey A Law  (law@cygnus.com)
914
915         * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
916         rnbitsize, rnmode and rinner.
917         (make_range): Initialize type.
918         (fold): Initialize arg0, arg1 and varop.
919
920         * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
921         and regnor.
922         (expand_function_start): Initialize last_ptr.
923
924         * stor-layout.c (layout_record): Initialize desired_align.
925         (get_best_mode): Initialize unit.
926
927         * tree.c (copy_node): Initialize length.
928
929         * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
930
931         * caller-save.c (insert_save_restore): Initialize pat, code and
932         numregs.
933
934         * emit-rtl.c (push_to_sequence): Initialize top.
935         (push_topmost_sequence): Likewise.
936
937         * genattrtab.c (simplify_by_exploding): Initialize defval.
938
939         * profile.c (branch_prob): Initialize dest.
940
941         * rtl.h (note_stores): Remove duplicate prototype.
942         (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
943
944         * cplus-dem.c (gnu_special): Don't get confused by .<digits>
945         strings that are not actually lengths.
946
947         * genattrtab.c: Make generated file use system.h, instead of
948         including stdio.h, etc directly.
949         * genextract.c, genopinit.c, genoutput.c: Likewise.
950         * genpeep.c, genrecog.c: Likewise
951
952         * genoutput.c (process_template): Mark operands in the generated
953         function as potentially unused if compiling with GNU CC.
954
955         * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
956
957         * pa.md (reload peepholes): Remove unused variable "mode".
958
959 Wed Apr  1 17:06:19 1998  Nick Clifton  <nickc@cygnus.com>
960
961         * config/arm/thumb.h: Add super interworking support.
962         * config/arm/thumb.c: Add super interworking support.
963         * config/arm/thumb.md: Add super interworking support.
964         * config/arm/lib1funcs.asm: Add interworking support.
965         * config/arm/lib1thumb.asm: Add super interworking support.
966         * config/arm/t-semi: Add interworking support.
967         * config/arm/t-thumb: Add interworking support.
968         * config/arm/README-interworking: New file.
969         
970 Wed Apr  1 14:38:10 1998  Jim Wilson  <wilson@cygnus.com>
971
972         * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
973         (MD_STARTFILE_PREFIX): Unset.
974
975 1998-04-01  Mark Mitchell  <mmitchell@usa.net>
976
977         * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
978         entity in a local scope.
979
980         * fold-const.c (fold): Call truthvalue_conversion for values which
981         are folded to boolean type.
982
983 Wed Apr  1 06:09:53 1998  Jeffrey A Law  (law@cygnus.com)
984
985         * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
986         * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
987         * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
988         * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
989         * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
990         * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
991         * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
992         * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
993         * md.texi: Likewise.
994
995 Wed Apr  1 08:33:44 1998  Manfred Hollstein  <manfred@s-direktnet.de>
996
997         * fixincludes (limits.h): Fix nested comments in Motorola's
998         limits.h and sys/limits.h.
999
1000 Tue Mar 31 16:57:33 1998  Jim Wilson  <wilson@cygnus.com>
1001
1002         * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
1003         as dest of expand_binop call.
1004
1005         * alpha.md (extzv): Correct check for valid operand[2] values.
1006
1007         * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
1008         branch.
1009
1010         * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
1011
1012 Mon Mar 30 13:11:05 1998  Stan Cox  <scox@cygnus.com>
1013
1014         * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
1015         For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
1016         
1017         * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
1018         cygwin32 can override this to allow both unix and win32 style PATHs.
1019
1020         * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
1021         style environment paths.
1022         
1023 Mon Mar 30 14:43:20 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1024
1025         * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
1026         cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
1027         gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
1028         system.h.
1029          
1030         * cpphash.c: Include config.h.
1031         * cppalloc.c: Include system.h.  Add parameters to various
1032         function prototypes.
1033         * cpperror.c: Likewise.
1034         * cppexp.c: Likewise.
1035         * cpphash.c: Likewise.
1036         * cpplib.c: Likewise.
1037         * cppmain.c: Likewise.
1038         * fix-header.c: Likewise.
1039         * gcov.c: Likewise.
1040         * gen-protos.c: Likewise.
1041         * gengenrtl.c: Likewise.
1042         * halfpic.c: Likewise.
1043         * hash.c: Likewise.
1044         * scan-decls.c: Likewise.
1045         * scan.c: Likewise.
1046
1047 Mon Mar 30 11:06:45 1998  Jim Wilson  <wilson@cygnus.com>
1048
1049         * README.gnat: Add lang_print_xnode definition.
1050
1051 Mon Mar 30 11:12:24 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1052
1053         * config/m68k/m68k.c (standard_68881_constant_p): Don't use
1054         fmovecr on the 68060.
1055
1056 Mon Mar 30 00:21:03 1998  Jeffrey A Law  (law@cygnus.com)
1057
1058         * genemit.c (DONE): Rework so that it works in the true arm if
1059         an if-else conditional.
1060         (FAIL): Likewise.
1061
1062 Sun Mar 29 12:45:23 1998  Jeffrey A Law  (law@cygnus.com)
1063
1064         * rs6000.c: Do not include stdioh or ctype.h anymore.
1065
1066         * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
1067         $(RTL_H).
1068         (stor-layout.o): Likewise.
1069         * c-typeck.c: Include rtl.h and expr.h.
1070         * stor-layout.c: Likewise.
1071
1072         * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
1073         All callers changed.
1074         (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
1075         * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
1076         All callers changed.
1077
1078         * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
1079
1080         * local-alloc.c (reg_classes_overlap_p): Delete dead function.
1081
1082         * tree.h (lang_print_xnode): Provide prototype.
1083
1084 Sat Mar 28 23:50:44 PST 1998 Jeff Law  (law@cygnus.com)
1085
1086         * version.c: Bump for snapshot.
1087
1088 Sun Mar 29 00:42:21 1998  Jeffrey A Law  (law@cygnus.com)
1089
1090         * objc/sendmsg.c (__objc_block_forward): Add braces for return
1091         value if INVISIBLE_STRUCT_RETURN.
1092
1093         * pa.c (arith_double_operand): Fix parens.
1094
1095         * haifa-sched.c (print_pattern): Correct arg to sprintf.
1096
1097         * Makefile.in (libgcc1.null): Make return type for __foo void.
1098
1099 Sat Mar 28 14:37:20 1998  Jeffrey A Law  (law@cygnus.com)
1100
1101         * pa.h: Add declarations for many functions defined in pa.c.
1102
1103         * genpeep.c (main): Remove unused variable 'i' from the generated
1104         file.
1105
1106         * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
1107         (gen_split): Likewise.
1108         (main): Rework generated definitions of DONE and FAIL so that they
1109         no longer use gotos.  Avoids warnings about unused labels.
1110
1111         * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
1112         unused "junk" variable.
1113
1114         * genattrtab.c (write_complex_function): Add a default case in
1115         generated switch statement to keep -W -Wall quiet.
1116
1117 Sat Mar 28 10:47:21 1998  Nick Clifton  <nickc@cygnus.com>
1118
1119         * invoke.texi: Document more ARM and Thumb command line options.
1120
1121         * config/arm/xm-thumb.h: New file.
1122
1123 Sat Mar 28 01:37:33 1998  Craig Burley  <burley@gnu.ai.mit.edu>
1124
1125         * stmt.c (expand_expr_stmt): Must generate code for
1126         statements within an expression (gcc's `({ ... )}')
1127         even if -fsyntax-only.
1128
1129 Sat Mar 28 01:06:12 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
1130                           Jeffrey A Law  (law@cygnus.com)
1131
1132         * basic-block.h (basic_block_computed_jump_target): Declare.
1133         * flags.h: (current_function_has_computed_jump): Declare.
1134         * flow.c: (basic_block_computed_jump_target): Define.
1135         (flow_analysis): Allocate it. Set current_function_has_computed_jump
1136         to 0.
1137         (find_basic_blocks): Set current_function_has_computed_jump and
1138         elements of basic_block_computed_jump_target to 1 as appropriate.
1139         * function.c: (current_function_has_computed_jump): Define.
1140         * global.c (global_conflicts): Don't allocate pseudos into stack regs
1141         at the start of a block that is reachable by a computed jump.
1142         * reg-stack.c (stack_reg_life_analysis): If must restart, do so
1143         immediately.
1144         (subst_stack_regs): Undo change from Sep 4 1997.
1145         (uses_reg_or_mem): Now unused, deleted.
1146         * stupid.c (stupid_life_analysis): Compute
1147         current_function_has_computed_jump.
1148         (stupid_find_reg): Don't allocate stack regs if the function has a
1149         computed goto.
1150         * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
1151         the current function has a computed jump.  Use the global value
1152         instead.
1153
1154 Sat Mar 28 00:21:37 1998  Jeffrey A Law  (law@cygnus.com)
1155
1156         * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
1157         (DWARF2_UNWIND_INFO): Define to zero.
1158
1159 Fri Mar 27 16:04:49 1998  Michael Meissner  <meissner@cygnus.com>
1160
1161         * gcc.c (set_std_prefix): Add declaration.
1162         (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
1163         suffix, and update the standard prefix prefix.c uses.
1164
1165         * prefix.c (std_prefix): New global to hold default prefix value.
1166         (get_key_value): Change to use std_prefix instead of PREFIX.
1167         (translate_name): Ditto.
1168         (update_path): Ditto.
1169         (get_key_value): Release allocated scratch storage.
1170         (set_std_prefix): New function to reset the standard prefix.
1171
1172 Fri Mar 27 18:08:21 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1173
1174         * sh.c (find_barrier): Fix calculations for alignment increase.
1175
1176 Fri Mar 27 08:56:52 1998  Manfred Hollstein  <manfred@s-direktnet.de>
1177
1178         * Makefile.in (stmp-fixinc): If we're actually fixing include
1179         files, copy gcc's assert.h into the fixed include dir.
1180         * fixincludes (assert.h): Avoid any attempts to fix a probably
1181         broken system specific assert.h file.
1182         * fixproto (stdlib.h): Make sure, it'll contain a definition of
1183         size_t.
1184
1185 Fri Mar 27 00:49:46 1998  Jeffrey A Law  (law@cygnus.com)
1186
1187         * regclass.c (reg_scan_mark_refs): Be more selective about
1188         when we mark a register with REGNO_POINTER_FLAG.
1189
1190 Thu Mar 26 23:00:11 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1191
1192         reload inheritance improvement:
1193         * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
1194         Change meaning: index is now hard reg number.
1195         (reg_reloaded_valid, reg_reloaded_dead): New variables.
1196         (reload_spill_index): Content is now a hard reg number.
1197         (reload_as_needed): Change to fit new variable meaning.
1198         (forget_old_reloads_1, allocate_reload_reg): Likewise.
1199         (choose_reload_regs, emit_reload_insns): Likewise.
1200
1201 Thu Mar 26 18:34:13 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1202
1203         * regclass.c (record_reg_classes): '?' increases cost by two.
1204
1205         * reload.c (find_reloads): Double previous costs.  Output
1206         reloads cost one unit extra.
1207
1208         * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
1209         boiled down to && ! 0.
1210
1211         * reload.c (find_equiv_reg): Also consider a goal offset from the
1212         frame pointer to be constant.
1213
1214 Thu Mar 26 17:34:46 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1215
1216         * sh.h (OPTIMIZATION_OPTIONS): Define.
1217
1218 Thu Mar 26 00:19:47 1998  Richard Henderson  <rth@cygnus.com>
1219
1220         * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
1221
1222 Wed Mar 25 23:53:11 1998  Jeffrey A Law  (law@cygnus.com)
1223
1224         * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
1225
1226 Wed Mar 25 13:40:48 1998  Jim Wilson  <wilson@cygnus.com>
1227
1228         * c-common.c (check_format_info): Initialize type, is_type.  New local
1229         integral_format.  Don't warn for 'L' when pedantic.  Do warn for 'L'
1230         when pedantic if used with integral format specifier.
1231
1232 Wed Mar 25 16:09:01 1998  Michael Meissner  <meissner@cygnus.com>
1233
1234         * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
1235         direction.
1236         (function_arg_padding): Declare.
1237
1238         * rs6000.c: Include system.h.
1239         (function_arg_padding): Change return type to int, cast enum's to
1240         int.
1241
1242         (From Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>)
1243         * collect2.c (scan_prog_file): Add explicit braces to avoid
1244         ambiguous `else'.
1245  
1246         * dbxout.c (dbxout_type_fields): Add braces around empty body in
1247         an if-statement.
1248         (dbxout_type): Likewise.
1249  
1250         * rs6000.c (rs6000_override_options): Change type of `i', `j' and
1251         `ptt_size' from int to size_t.
1252         (rs6000_file_start): Likewise for `i'.
1253         (rs6000_replace_regno): Add default case in enumeration switch.
1254         (output_epilog): Remove unused variable `i'.
1255         (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
1256         and `reg2'.
1257  
1258         * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
1259         initializer.
1260         (get_issue_rate, non_logical_cint_operand): Add prototype.
1261         (rs6000_output_load_toc_table): Ditto.
1262  
1263         * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
1264         `else'.
1265  
1266 Wed Mar 25 10:05:19 1998  Nick Clifton  <nickc@cygnus.com>
1267
1268         * config/arm/thumb.c: New File.  Support for ARM's Thumb
1269         instruction set. 
1270         * config/arm/thumb.h: New File.  Thumb definitions.
1271         * config/arm/thumb.md: New File.  Thumb machine description.
1272         * config/arm/tcoff.h: New File.  Thumb COFF support.
1273         * config/arm/t-thumb: New File.  Thumb makefile fragment.
1274         * config/arm/lib1thumb.asm: New File.  Thumb libgcc support functions.
1275
1276         * configure.in: Add Thumb-coff target.
1277         * configure: Add Thumb-coff target.
1278         * config.sub: Add Thumb-coff target.
1279
1280 Wed Mar 25 10:30:32 1998  Jim Wilson  <wilson@cygnus.com>
1281
1282         * loop.c (scan_loop): Initialize move_insn_first to zero.
1283
1284 Wed Mar 25 01:06:49 1998  Joel Sherrill (joel@OARcorp.com)
1285
1286         * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
1287         * config/i386/rtems.h: Likewise.
1288         * config/i960/rtems.h: Likewise.
1289         * config/m68k/rtems.h: Likewise.
1290         * config/mips/rtems64.h: Likewise.
1291         * config/pa/rtems.h: Likewise.
1292         * config/rs6000/rtems.h: Likewise.
1293         * config/sh/rtems.h: Likewise.
1294         * config/sparc/rtems.h: Likewise.
1295
1296 Wed Mar 25 00:57:26 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1297
1298         * pa.c (emit_move_sequence): If in reload, call find_replacement.
1299
1300 Tue Mar 24 10:44:11 1998  Nick Clifton  <nickc@cygnus.com>
1301
1302         * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
1303
1304         * collect2.c (find_a_file): Add debugging.
1305         (find_a_file): Test for win32 style absolute paths if
1306         DIR_SERPARATOR is defined.
1307         (prefix_from_string): Add debugging.
1308         (main): Test for debug command line switch at start of program
1309         execution. 
1310         (main): Use GET_ENVIRONMENT rather than getenv().
1311         (prefix_from_env): Use GET_ENVIRONMENT.
1312
1313 1998-03-24  Mark Mitchell  <mmitchell@usa.net>
1314
1315         * cplus-dem.c (optable): Add sizeof.
1316         (demangle_template_value_parm): New function containing code
1317         previously found in demangle_template.
1318         (demangle_integral_value): New function which handles complicated 
1319         integral expressions.
1320         (demangle_template): Use them.
1321
1322 Tue Mar 24 12:13:18 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1323
1324         * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
1325         genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
1326         genattrtab.o, genoutput.o): Depend on system.h.
1327  
1328         * genattr.c: Include system.h.  Add arguments to various function
1329         prototypes.  Remove redundant prototype of read_rtx().
1330         * genattrtab.c: Likewise.
1331         * gencodes.c: Likewise.
1332         * genconfig.c: Likewise.
1333         * genemit.c: Likewise.
1334         * genextract.c: Likewise.
1335         * genflags.c: Likewise.
1336         * genopinit.c: Likewise.
1337         * genoutput.c: Likewise.
1338         * genpeep.c: Likewise.
1339         * genrecog.c: Likewise.
1340
1341 1998-03-24  Martin von Loewis  <loewis@informatik.hu-berlin.de>
1342
1343         * c-lang.c (lang_print_xnode): New function.
1344         * objc/objc-act.c (lang_print_xnode): Likewise.
1345         * print-tree.c (print_node): Call it
1346
1347 Mon Mar 23 23:59:11 1998  H.J. Lu  (hjl@gnu.org)
1348
1349         * c-parse.in: Recognize protocol qualifiers in class
1350         definitions for objc.
1351         Include "output.h".
1352         (yyerror): Remove redundant decl.
1353         (yyprint): Fix prototype.
1354
1355 Mon Mar 23 23:49:47 1998  Jeffrey A Law  (law@cygnus.com)
1356
1357         * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
1358
1359         * stmt.c (unroll_block_trees): Free block_vector if needed.
1360
1361 Mon Mar 23 23:26:42 1998  Philippe De Muyter  <phdm@macqel.be>
1362
1363         * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
1364         (zero_extendsidi2): Avoid useless copy.
1365         (iordi_zext): New pattern.
1366         (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
1367         operand 2.
1368         (iorsi_zext): New name for old unnamed pattern; indentation fixes.
1369
1370         * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
1371         (ashldi3): Allow constant shift count in range ]32,63].
1372         (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
1373
1374 1998-03-22  Mark Mitchell  <mmitchell@usa.net>
1375
1376         * tree.h (IS_EXPR_CODE_CLASS): New macro.
1377
1378 Mon Mar 23 23:18:48 1998  Jeffrey A Law  (law@cygnus.com)
1379
1380         * h8300.h (CONST_COSTS): Remove definition.
1381         (DEFAULT_RTX_COSTS): Define.
1382
1383 Mon Mar 23 22:58:22 1998  Joel Sherrill (joel@OARcorp.com)
1384
1385         * config/sh/rtems.h: Switched from ELF to COFF.
1386
1387 Mon Mar 23 14:14:20 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1388
1389         * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
1390
1391 Sat Mar 21 23:52:56 PST 1998 Jeff Law  (law@cygnus.com)
1392
1393         * version.c: Bump for snapshot.
1394
1395 Sun Mar 22 00:50:42 1998  Nick Clifton  <nickc@cygnus.com>
1396                           Geoff Noer    <noer@cygnus.com>
1397
1398         * Makefile.in: Various fixes for building cygwin32 native toolchains.
1399
1400         * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
1401         * objc/Make-lang.in: Likewise.
1402
1403         * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
1404
1405 Sun Mar 22 00:21:46 1998  R. Ganesan  <rganesan@novell.com>
1406
1407         * configure.in: Handle with-PACKAGE=no correctly
1408
1409 Fri Mar 20 17:36:23 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1410
1411         * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
1412         c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
1413         caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
1414         dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
1415         expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
1416         integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
1417         prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
1418         reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
1419         rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
1420         tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
1421         on system.h.
1422
1423         * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
1424         c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
1425         caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
1426         dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
1427         expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
1428         integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
1429         prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
1430         reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
1431         rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
1432         stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
1433         xcoffout.c: Include system.h.  Organize include ordering so
1434         that stdarg/varargs comes before other system headers.  Remove
1435         spurious casts of functions assured of a prototype in system.h.
1436
1437 Fri Mar 20 11:19:40 1998  Stan Cox  <scox@equinox.cygnus.com>
1438
1439         * reg-stack.c (pop_stack): Define. Pops any register on the
1440         regstack and adjusts regstack.
1441         (compare_for_stack_reg): Use pop_stack.
1442         
1443 Thu Mar 19 23:51:01 1998  Jeffrey A Law  (law@cygnus.com)
1444
1445         * configure.in (hppa1.0-hp-hpux10): Handle threads for this
1446         config too.
1447
1448 Thu Mar 19 20:30:31 1998  Philippe De Muyter  <phdm@macqel.be>
1449
1450         * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
1451
1452         * fold-const.c (fold): Replace sign-extension of a zero extended
1453         value by a single zero extension.
1454
1455 Thu Mar 19 00:58:07 1998  Jason Merrill  <jason@yorick.cygnus.com>
1456
1457         * except.c (init_eh): Do nothing.
1458         (save_eh_status): Call init_eh_for_function, not init_eh.
1459         * function.c (push_function_context_to): Don't call init_emit.
1460
1461 Thu Mar 19 13:39:52 1998  Michael Meissner  <meissner@cygnus.com>
1462
1463         * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
1464         and EABI.
1465
1466 Thu Mar 19 10:10:36 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1467
1468         * final.c (shorten_branches): Add parentheses around +/- in
1469         operand of &.
1470
1471         * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
1472
1473 Thu Mar 19 09:15:17 1998  Manfred Hollstein  <manfred@s-direktnet.de>
1474
1475         * regclass.c (memory_move_secondary_cost): Wrap uses of
1476         SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
1477         with #ifdef tests.
1478
1479 Thu Mar 19 09:06:35 1998  Manfred Hollstein  <manfred@s-direktnet.de>
1480
1481         * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
1482
1483         * flow.c (life_analysis): #include <sys/types.h> to make sure
1484         size_t is defined.
1485         * cplus-dem.c (demangle_function_name): Likewise.
1486
1487 Thu Mar 19 09:00:01 1998  Manfred Hollstein  <manfred@s-direktnet.de>
1488
1489         * final.c (insn_noperands): Change type to unsigned int.
1490         (final_scan_insn): Likewise for noperands;
1491         properly check operand number boundaries.
1492
1493 Wed Mar 18 16:20:30 1998  Richard Henderson  <rth@cygnus.com>
1494
1495         * alpha.md (extzv): Don't reject register operands.  Fix
1496         mode of operand 1.
1497
1498 Wed Mar 18 16:14:23 1998  Richard Henderson  <rth@cygnus.com>
1499
1500         * dbxout.c (dbxout_function_end): Fix last change.  The correct
1501         predicate is ASM_OUTPUT_SECTION_NAME.
1502
1503 Wed Mar 18 12:43:20 1998  Jim Wilson  <wilson@cygnus.com>
1504
1505         * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
1506         (ashlsi): Use match_dup 1 instead of match_operand 2.
1507
1508 Wed Mar 18 13:46:07 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1509
1510         * fold-const.c (operand_equal_for_comparison_p): See if equal
1511         when nop conversions are removed.
1512
1513 Wed Mar 18 13:42:01 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1514
1515         * expr.c (expand_expr, case COND_EXPR): If have conditional move,
1516         don't use ORIGINAL_TARGET unless REG.
1517
1518 Wed Mar 18 16:53:19 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1519
1520         * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
1521
1522 Wed Mar 18 12:43:20 1998  Jim Wilson  <wilson@cygnus.com>
1523
1524         * loop.c (struct movable): New field move_insn_first.
1525         (scan_loop): In consec sets code, set it.  Clear it otherwise.
1526         (move_movables): In consec sets code, use it.  Copy REG_NOTES from
1527         p to i1 only if i1 does not have REG_NOTES.  Delete obsolete ifdefed
1528         out code.
1529
1530 Wed Mar 18 09:52:56 1998  Richard Henderson  <rth@cygnus.com>
1531
1532         * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
1533         is large, and the system doesn't provide atoll or atoq.
1534         (atoll): New.  
1535
1536         * alpha/xm-vms.h (HAVE_ATOLL): Define.
1537         Reported by Klaus Kaempf <kkaempf@progis.de>.
1538         
1539 Wed Mar 18 09:56:26 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1540
1541         * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
1542         test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
1543
1544         * calls.c (emit_call_1): Wrap variable `already_popped' with macro
1545         test !ACCUMULATE_OUTGOING_ARGS. 
1546
1547         * collect2.c (write_c_file_glob): Wrap function definition in
1548         macro test !LD_INIT_SWITCH.
1549
1550         * combine.c (try_combine): Wrap variables `cc_use' and
1551         `compare_mode' in macro test EXTRA_CC_MODES.
1552
1553         * cpplib.c (do_ident): Remove unused variable `len'.
1554         (skip_if_group): Remove unused variables `at_beg_of_line' and
1555         `after_ident'.
1556         (cpp_get_token): Remove unused variable `dummy'.
1557
1558         * dbxout.c (scope_labelno): Move static variable definition inside
1559         the one function scope where it is used.
1560         (dbxout_function_end): Wrap prototype and definition in
1561         macro test !NO_DBX_FUNCTION_END.
1562
1563         * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
1564         in macro test !MIPS_DEBUGGING_INFO.
1565
1566         * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
1567         into the scope where it is used.  Wrap empty else-statement body
1568         in braces.
1569
1570         * fix-header.c: Fix typo in comment.
1571         (inf_skip_spaces): Cast results of INF_UNGET to (void).
1572         (check_protection, main): Likewise.
1573
1574         * flow.c (find_basic_blocks_1): Remove dangling comment text.
1575
1576         * function.c (contains): Wrap prototype and definition in macro
1577         test HAVE_prologue || HAVE_epilogue.
1578         (fixup_var_refs_1): Remove unused variable `width'.
1579
1580         * gen-protos.c (main): Remove unused variable `optr'.
1581
1582         * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
1583
1584         * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
1585         (__sjpopnthrow): Remove unused variable `jmpbuf'.
1586         (__throw): Remove unused variable `val'.
1587
1588         * protoize.c: Check for a previously existing definition before
1589         defining *_OK macros. 
1590
1591         * scan-decls.c (scan_decls): Remove unused variable `old_written'.
1592
1593 Tue Mar 17 00:45:48 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1594
1595         * vax.h (ADDR_VEC_ALIGN): Define.
1596
1597 Mon Mar 16 15:57:17 1998  Michael Meissner  <meissner@cygnus.com>
1598
1599         * gcc.c (default_arg): Don't wander off the end of allocated
1600         memory.
1601
1602         (From Geoffrey Keating  <geoffk@ozemail.com.au>)
1603         * rs6000.c (small_data_operand): Ensure that any address
1604         referenced relative to the small data area is inside the SDA.   
1605
1606 Mon Mar 16 12:55:15 1998  Jim Wilson  <wilson@cygnus.com>
1607         
1608         * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
1609
1610 Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1611
1612         * except.h (in_same_eh_region): New prototype.
1613         (free_insn_eh_region, init_insn_eh_region): New prototypes.
1614         * except.c (insn_eh_region, maximum_uid): New static variables.
1615         (set_insn_eh_region): New static function to set region numbers.
1616         (free_insn_eh_region): New function to free EH region table.
1617         (init_insn_eh_region): New function to initialize EH region table.
1618         (in_same_eh_region): New function used to determine if two rtl
1619         instructions are in the same exception region or not.
1620         * final.c (final): Initialize the table indicating which instructions
1621         belong in which exception region.
1622         * genpeep.c (main): Add "except.h" to include file list in generated
1623         file insn-peep.c. 
1624         * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4 
1625         peepholes involving calls and unconditional branches. 
1626
1627 Mon Mar 16 11:16:50 1998  Jim Wilson  <wilson@cygnus.com>
1628
1629         * README.gnat: New file.
1630
1631 Mon Mar 16 11:14:20 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1632
1633         * config/m68k/m68k.c: Include <stdlib.h> for atoi.  Include
1634         "recog.h" for offsettable_memref_p.
1635         (legitimize_pic_address): Remove unused variable `offset'.
1636         (notice_update_cc): Change return type to void.  Add default label
1637         to switch.
1638         (standard_68881_constant_p): Remove unused variable mode.
1639         (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
1640         (const_int_cost): Explicitly declare as returning int.
1641         (output_dbcc_and_branch): Change return type to void.
1642
1643         * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
1644         config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
1645         (...).  Use GEN_INT instead of gen_rtx_CONST_INT.
1646
1647 Sun Mar 15 22:30:44 PST 1998 Jeff Law  (law@cygnus.com)
1648
1649         * version.c: Bump for snapshot.
1650
1651 Fri Mar 13 11:30:12 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1652
1653         * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
1654         check for 'M' constraint.
1655
1656 Thu Mar 12 14:47:14 1998  Jim Wilson  <wilson@cygnus.com>
1657
1658         * cccp.c (create_definition): If pedantic, call pedwarn for macro
1659         varargs feature.
1660
1661 Thu Mar 12 13:43:25 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1662
1663         * i386.c (ix86_logical_operator): New function.
1664         (split_di): Ensure that when a MEM is split, the resulting MEMs have
1665         SImode.
1666         * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
1667         to implement them.
1668
1669 Thu Mar 12 15:13:16 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1670                           Richard Earnshaw <rearnsha@arm.com>
1671                           Nick Clifton  <nickc@cygnus.com>
1672         
1673         * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
1674         
1675         * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
1676         
1677         * cse.c (rtx_cost): Provide a default case in an enumeration
1678         switch, and call DEFAULT_RTX_COSTS if it's defined.
1679         
1680 Thu Mar 12 10:02:38 1998  Manfred Hollstein  <manfred@s-direktnet.de>
1681
1682         * basic-block.h (compute_preds_succs): Change return type in
1683         prototype to void.
1684         * flow.c (compute_preds_succs): Likewise in function definition.
1685
1686         * regmove.c (find_matches): Cast char used as array index to unsigned char
1687         to supress warning.
1688
1689 Thu Mar 12 09:39:40 1998  Manfred Hollstein  <manfred@s-direktnet.de>
1690
1691         * i386.h (RTX_COSTS): Insert braces around nested if.
1692         (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
1693         elements.
1694
1695         * gcc.c (default_compilers): Properly put brackets around array elements in
1696         initializer.
1697
1698         * getopt.c (_getopt_internal): Add explicit braces around nested if;
1699         reformatted.
1700
1701         * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
1702         (record_reg_life_pat): Add explicit parens around && and || in expression.
1703         (stack_reg_life_analysis): Add parens around assignment used as expression.
1704         (convert_regs): Likewise.
1705
1706 Thu Mar 12 09:25:29 1998  Manfred Hollstein  <manfred@s-direktnet.de>
1707
1708         * bitmap.c (bitmap_element_allocate): Remove unused parameter;
1709         change callers accordingly.
1710
1711         * cplus-dem.c (arm_special): Remove unused parameter work in prototype
1712         and definition; change all callers accordingly.
1713
1714         * except.c (init_eh): Avoid assignment of unused return value of
1715         build_pointer_type; cast it to void, instead, and remove unused
1716         variable type.
1717
1718         * gcc.c (lang_specific_driver): Define prototype only #ifdef
1719         LANG_SPECIFIC_DRIVER.
1720         (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
1721
1722         * genoutput.c (output_epilogue): Initialize next_name to 0.
1723
1724         * real.c (efrexp): #if 0 prototype and function definition.
1725         (eremain): Likewise.
1726         (uditoe): Likewise.
1727         (ditoe): Likewise.
1728         (etoudi): Likewise.
1729         (etodi): Likewise.
1730         (esqrt): Likewise.
1731
1732         * reload.c (push_secondary_reload): Define prototype only
1733         #ifdef HAVE_SECONDARY_RELOADS.
1734
1735         * varasm.c (assemble_static_space): Define rounded only
1736         #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
1737
1738 Thu Mar 12 09:11:35 1998  Manfred Hollstein  <manfred@s-direktnet.de>
1739
1740         * i386.md (andsi): Add default case in enumeration switch.
1741         (iorsi3): Likewise.
1742         (iorhi3): Likewise.
1743         (xorsi3): Likewise.
1744
1745 Thu Mar 12 08:37:02 1998  Manfred Hollstein  <manfred@s-direktnet.de>
1746
1747         * c-decl (finish_struct): Change type of min_align to unsigned.
1748
1749         * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
1750         remove unused variable len.
1751
1752         * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
1753         comment indicating this is proper behaviour.
1754         (reg_loc_descriptor): Remove redundant comparison of unsigned variable
1755         reg >= 0.
1756         (based_loc_descr): Likewise.
1757
1758         * enquire.c (bitpattern): Change type of variable i to unsigned.
1759
1760         * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
1761
1762         * flow.c (life_analysis): Change type of variable i to size_t;
1763         remove unused variable insn.
1764
1765         * gcc.c (translate_options): Change type of variables optlen, arglen and
1766         complen to size_t.
1767         (input_filename_length): Change type to size_t.
1768         (do_spec_1): Change type of variable bufsize to size_t.
1769         (main): Change type of variables i and j to size_t;
1770         remove subblock local definition of variable i.
1771         (lookup_compiler): Change type of second argument to size_t;
1772         change type of variable i to size_t.
1773
1774         * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
1775         
1776         * genopinit.c (get_insn): Change type of variable pindex to size_t.
1777
1778         * genrecog.c (add_to_sequence): Change type of variable i to size_t.
1779
1780         * global.c (global_alloc): Change type of variable i to size_t.
1781
1782         * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
1783
1784         * stmt.c (expand_end_bindings): Change type of variable i to size_t.
1785         (expand_end_case): Change type of variable count to size_t.
1786
1787         * toplev.c (main): Change type of variable j to size_t.
1788         (set_target_switch): Change type of variable j to size_t.
1789         (print_switch_values): Change type of variable j to size_t;
1790         remove unused variable flags.
1791
1792         * varasm.c (assemble_variable): Change type of variable align to size_t.
1793         (const_hash_rtx): Change type of variable i to size_t.
1794
1795 1998-03-11  Mark Mitchell  <mmitchell@usa.net>
1796
1797         * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
1798         TREE_VEC if that's what it really is.
1799
1800 Wed Mar 11 15:16:01 1998  Michael Meissner  <meissner@cygnus.com>
1801
1802         * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
1803         as per ISO C spec.
1804
1805 Wed Mar 11 12:05:20 1998  Teemu Torma  <tot@trema.com>
1806
1807         * gthr.h: Changed the comment about return values.
1808         * gthr-solaris.h (__gthread_once): Do not use errno; return the
1809         error number instead of -1. 
1810         (__gthread_key_create): Any non-zero return value is an error.
1811         * libgcc2.c (eh_context_initialize): Check for non-zero return
1812         value from __gthread_once.
1813         Check that the value of get_eh_context was really changed.
1814
1815 Wed Mar 11 18:26:25 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1816
1817         * sh.h (LOOP_ALIGN): Only align when optimizing.
1818         * sh.c (find_barrier): Clear inc for CODE_LABELs.
1819         When not optimizing, calculate alignment for BARRIERs directly.
1820
1821 Wed Mar 11 15:07:18 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1822
1823         * final.c (shorten_branches): Remove conditionalizing on
1824         SHORTEN_WITH_ADJUST_INSN_LENGTH
1825         * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
1826
1827 Wed Mar 11 02:37:41 1998  Jeffrey A Law  (law@cygnus.com)
1828
1829         * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
1830         an unconditional jump around deleted blocks.
1831
1832 Mon Mar  9 12:02:23 1998  Jim Wilson  <wilson@cygnus.com>
1833
1834         * profile.c (branch_prob): If see computed goto, call fatal instead of
1835         abort.
1836
1837         * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
1838         
1839         * configure.in (alpha-dec-osf): Add default case for osf* to switch.
1840         Patch from Bruno Haible.
1841
1842         * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
1843         (assign_parms): Set aggregate if hide_last_arg and last_named.
1844
1845 Mon Mar  9 19:57:56 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1846
1847         * final.c (shorten_branches): Initialize insn_addresses.
1848
1849 Mon Mar  9 14:10:23 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1850
1851         * sh.h (MUST_PASS_IN_STACK): Define.
1852
1853 Sun Mar  8 13:01:56 1998  Jeffrey A Law  (law@cygnus.com)
1854
1855         * final.c (shorten_branches): Fix minor logic error in
1856         ADDR_DIFF_VEC shortening support.
1857
1858 Sun Mar 8 02:17:42 PST 1998 Jeff Law  (law@cygnus.com)
1859
1860         * version.c: Bump for snapshot.
1861
1862 Sat Mar  7 00:54:15 1998  Jeffrey A Law  (law@cygnus.com)
1863
1864         * haifa-sched.c (is_cfg_nonregular): Change return type to
1865         an int.  No longer compute "estimated" number of edges.  Use
1866         computed_jump_p instead of duplicating the code.  Fixup/add
1867         some comments.
1868         (build_control_flow): Returns a value indicating an irregularity
1869         in the cfg was detected.  Count the number of edges in the cfg.
1870         allocate various edge tables.
1871         (find_rgns): No longer look for unreachable blocks.
1872         (schedule_insns): Do not allocate memory for edge tables here.
1873         Free memory for edge tables before returning.  Do not perform
1874         cross block scheduling if build_control_flow returns nonzero.
1875         * flow.c (compute_preds_succs): More accurately determine when
1876         a block drops in.
1877
1878         * basic-block.h (free_basic_block_vargs): Provide prototype.
1879
1880         * cccp.c (main): Fix dumb mistakes in last change.
1881
1882 Fri Mar  6 21:28:45 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1883
1884         * rtl.h (addr_diff_vec_flags): New typedef.
1885         (union rtunion_def): New member rt_addr_diff_vec_flags.
1886         (ADDR_DIFF_VEC_FLAGS): New macro.
1887
1888         * sh.c (output_branch): Fix offset overflow problems.
1889
1890         * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
1891         (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
1892         * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
1893         * stmt.c (expand_end_case): Supply new arguments to
1894         gen_rtx_ADDR_DIFF_VEC.
1895         * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
1896         * alpha.h, arc.h, clipper.h, convex.h : Likewise.
1897         * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
1898         * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
1899         * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
1900         * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
1901         * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
1902         * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
1903         * i386/freebsd.h, i386/linux.h : Likewise.
1904         * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
1905         * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
1906         * m68k/mot3300.h, m68k/sgs.h : Likewise.
1907         * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
1908         * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
1909         (CASE_VECTOR_SHORTEN_MODE): Define.
1910         (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
1911         (med_branch_p, braf_branch_p): Don't declare.
1912         (mdep_reorg_phase, barrier_align): Declare.
1913         (ADJUST_INSN_LENGTH): Remove alignment handling.
1914         * sh.c (uid_align, uid_align_max): Deleted.
1915         (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
1916         (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
1917         (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
1918         (output_far_jump): Don't use braf_branch_p.
1919         (output_branchy_insn): Don't use branch_offset.
1920         (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
1921         Remove paired barrier stuff.
1922         Don't use cache_align_p.
1923         Take alignment insns into account.
1924         (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
1925         the addr_diff_vec.
1926         (barrier_align, branch_dest): New function.
1927         (machine_dependent_reorg, split_branches): Remove infrastructure
1928         for branch shortening that is now provided in the backend.
1929         * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
1930         (braf_branch_p, braf_cbranch_p): Likewise.
1931         (attribute length): Use new attributes.
1932         (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
1933         (addr_diff_vec_adjust): Delete.
1934         (align_2): Now a define_expand.
1935         (align_log): Now length 0.
1936
1937 Fri Mar  6 14:41:33 1998  Michael Meissner  <meissner@cygnus.com>
1938
1939         * m32r.md (right): Correctly check for length == 2, not 1.
1940
1941 Fri Mar  6 14:00:04 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1942
1943         * mips/mips.h: Prototype `machine_dependent_reorg'.
1944         (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
1945
1946 Fri Mar  6 11:43:35 1998  Joern Rennecke  (amylaar@cygnus.co.uk)
1947
1948         * final.c (shorten_branches): Restore accidentally removed code.
1949
1950 Fri Mar  6 11:00:49 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1951
1952         * configure.in: Remove duplicate uses of AC_PROG_CC and
1953         AC_PROG_MAKE_SET.
1954
1955 Fri Mar  6 00:59:30 1998  Richard Henderson  <rth@cygnus.com>
1956
1957         * configure.in (target_cpu_default2): Correct typo for alphapca56.
1958
1959 Thu Mar  5 23:24:50 1998  Jeffrey A Law  (law@cygnus.com)
1960                           Doug Evans     (devans@cygnus.com)
1961
1962         * haifa-sched.c (build_jmp_edges): Delete dead function.
1963         (build_control_flow): Use cfg routines from flow.c
1964         (schedule_insns): Remove debugging code accidentally checked
1965         in earlier today.
1966
1967         * basic-block.h: Add external integer list structures, typdefs,
1968         accessor macros and function declarations.  Simlarly for
1969         basic block pred/succ support and simple bitmap stuff.
1970         * flow.c: Add functions for integer list, basic block pred/succ
1971         support and simple bitmap support.
1972         (compute_dominators): New function to compute dominators and
1973         post dominators.
1974         (find_basic_blocks): Split into two functions.
1975         (life_analysis): Likewise.
1976         (flow_analysis): Removed.  Now handled by calling find_basic_blocks,
1977         the life_analysis from toplev.c
1978         * toplev.c (rest_of_compilation): Call find_basic_blocks, then
1979         life_analysis instead of flow_analysis.
1980
1981 Thu Mar  5 23:06:26 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1982
1983         * jump.c (jump_optimize): Call mark_jump_label also for deleted
1984         insns.
1985         (mark_jump_label): Don't increment ref counts for deleted insns.
1986
1987 Thu Mar  5 09:55:15 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1988
1989         * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
1990          
1991         * mips/mips.c: Include stdlib.h and unistd.h.
1992         (mips_asm_file_end): Add braces around empty body in an if-statement.
1993         (function_prologue): Wrap variable `fnname' in
1994         !FUNCTION_NAME_ALREADY_DECLARED.  Correct format specifier in fprintf.
1995         (mips_select_rtx_section, mips_select_section): Declare as void.
1996          
1997         * mips/mips.h: Add prototypes for extern functions in mips.c.
1998         (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
1999         (ENCODE_SECTION_INFO): Add braces around empty body in an
2000         if-statement.
2001          
2002         * mips/mips.md (movdi): Add parentheses around && within ||.
2003         (movsf, movdf): Likewise.
2004         (branch_zero, branch_zero_di): Add default case in
2005         enumeration switch.
2006         
2007
2008 Thu Mar  5 02:45:48 1998  Richard Henderson  <rth@cygnus.com>
2009
2010         * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
2011         real constants, since they can't be changed.
2012         (TARGET_AS_CAN_SUBTRACT_LABELS): New.
2013         * alpha/alpha.md (builtin_setjmp_receiver): Use it.
2014         * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
2015         * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
2016         * alpha/vms.h (TARGET_OPEN_VMS): New.
2017         * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
2018
2019 Thu Mar  5 02:41:27 1998  Richard Henderson  <rth@cygnus.com>
2020
2021         * reload.c (find_reloads): Always force (subreg (mem)) to be
2022         reloaded if WORD_REGISTER_OPERATIONS.
2023
2024 Thu Mar  5 02:14:44 1998  Richard Henderson  <rth@cygnus.com>
2025
2026         * haifa-sched.c (free_list): Rename from free_pnd_lst.
2027         (free_pending_lists): Rename free_pnd_lst uses.
2028         (remove_dependence): Place expunged element on unused_insn_list.
2029         (alloc_INSN_LIST, alloc_EXPR_LIST): New.  Change all callers of
2030         gen_rtx_*_LIST and alloc_rtx to use them.
2031         (compute_block_backward_dependences): Free the reg_last_* lists.
2032
2033 Thu Mar  5 00:05:40 1998  Jeffrey A Law  (law@cygnus.com)
2034
2035         * cccp.c (main): Avoid undefined behavior when setting pend_includes
2036         and pend_files.
2037
2038 Wed Mar  4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
2039
2040         * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if 
2041         USE_GNULIBC_1 is defined
2042         * configure.in: add a new case powerpc-*-linux-gnulibc1 which
2043         includes the t-linux-gnulibc1 fragment
2044
2045 Wed Mar  4 12:11:36 1998  Jim Wilson  <wilson@cygnus.com>
2046
2047         * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
2048
2049 Wed Mar  4 18:47:48 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2050
2051         * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
2052
2053 Wed Mar  4 15:51:19 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2054
2055         * final.c (shorten_branches): Tag the loop alignment onto the
2056         first label after NOTE_INSN_LOOP_BEG even if there is an
2057         intervening insn.
2058
2059 Tue Mar  3 21:48:35 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2060
2061         * final.c (insn_current_reference_address):
2062         Use SEQ instead of BRANCH as argument to align_fuzz, to get a
2063         proper alignment chain.
2064
2065         * final.c (max_labelno): New static variable.
2066         (final_scan_insn): Check max_labelno before outputting an
2067         alignment for a label.
2068         (shorten_branches): Remove unused variable length_align.
2069
2070 Tue Mar  3 14:27:23 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2071
2072         * sparc.c (ultrasparc_adjust_cost): Add default case in
2073         enumeration switch.
2074          
2075          * sparc.h: Add prototypes for extern functions defined in
2076         sparc.c.
2077
2078 Tue Mar  3 10:00:11 1998  Nick Clifton  <nickc@cygnus.com>
2079
2080         * toplev.c: Only generate <name>.dbr file when dumping RTL if
2081         DEALY_SLOTS is defined. 
2082
2083 Tue Mar  3 07:36:37 1998  Manfred Hollstein  <manfred@s-direktnet.de>
2084
2085         * reorg.c (fill_eager_delay_slots): Add new argument delay_list
2086         in call to fill_slots_from_thread.
2087
2088 Mon Mar  2 13:45:03 1998  Richard Henderson  <rth@cygnus.com>
2089
2090         * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace 
2091         to SUB_CPP_PREDEFINES.  Reported by asun@saul4.u.washington.edu.
2092
2093 Mon Mar  2 22:59:28 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2094
2095         * final.c (insn_last_address, insn_current_align, uid_align):
2096         New variables.
2097         (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
2098         (insn_current_reference_address): Likewise.
2099         (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
2100         LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
2101         (label_to_alignment): New function.
2102         * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
2103         LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
2104         insn_current_reference_address instead of insn_current_address.
2105         (or_attr_value, write_length_unit_log): New functions.
2106         (main): Call write_length_unit_log.
2107         (write_const_num_delay_slots): Output extra '\n'.
2108         * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
2109         replace with:
2110         (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
2111         * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
2112         * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
2113         (LOOP_ALIGN).
2114         * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
2115         (LABEL_ALIGN_AFTER_BARRIER).
2116         * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
2117         * ns32k/tek6000.h: Likewise.
2118         * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
2119         * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
2120         ASM_OUTPUT_ALIGN_CODE.
2121
2122 Mon Mar 2 01:05:50 PST 1998 Jeff Law  (law@cygnus.com)
2123
2124         * version.c: Bump for snapshot.
2125
2126 Mon Mar 2 00:52:18 PST 1998 Jeff Law  (law@cygnus.com)
2127
2128         * version.c: Bump for snapshot.
2129
2130 Sun Mar  1 18:25:49 1998  Michael P. Hayes  <michaelh@ongaonga.chch.cri.nz>
2131
2132         * reorg.c (fill_slots_from_thread): Don't steal delay list from target
2133         if condition code of jump conflicts with opposite_needed. 
2134
2135         * reorg.c (fill_slots_from_thread): Mark resources referenced in
2136         opposite_needed thread.  Return delay_list even when cannot get
2137         any more delay insns from end of subroutine.
2138
2139 Sun Mar  1 18:26:21 1998  Ken Rose (rose@acm.org)
2140
2141         * reorg.c (fill_slots_from_thread): New parameter, delay_list.
2142         All callers changed.
2143
2144 Sun Mar  1 18:25:37 1998  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>
2145
2146         * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
2147         end_fde_sort): New functions for fast sorting of an FDE array.
2148         (fde_insert): Simplified.
2149         (add_fdes): Change argument list.
2150         (frame_init): Use the new functions.
2151
2152 Sun Mar  1 18:06:21 1998  Jeffrey A Law  (law@cygnus.com)
2153
2154         * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
2155
2156         * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
2157
2158         * fold-const.c (fold_range_test): Always return a value.
2159
2160 Sun Mar  1 17:57:34 1998  Mumit Khan <khan@xraylith.wisc.edu>
2161
2162         * config/i386/winnt.c (i386_pe_unique_section): Put read-only
2163         data in the text section unless READONLY_DATA_SECTION is defined.
2164
2165 Sun Mar  1 17:48:46 1998  Jeffrey A Law  (law@cygnus.com)
2166
2167         * c-parse.in (undeclared variable error): Tweak error message to
2168         be clearer.
2169
2170 Sun Mar 1 10:22:36 PST 1998 Jeff Law  (law@cygnus.com)
2171
2172         * version.c: Bump for snapshot.
2173
2174 1998-02-28  Mark Mitchell  <mmitchell@usa.net>
2175
2176         * final.c (final_scan_insn): Undo overzealous removal of `set'.
2177
2178 Sat Feb 28 07:54:03 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2179
2180         * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
2181         case, add parentheses to specify the proper order of precedence in
2182         the if-statement.
2183         
2184
2185         * c-aux-info.c: Include string.h/strings.h.
2186
2187         * pa.c: Include stdlib.h.
2188         (pa_combine_instructions): Prototype the function.
2189         (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
2190         (reloc_needed): Add default case for enumeration switch.
2191         (remove_useless_addtr_insns): Remove unused variable `all'.
2192         (hppa_expand_prologue): Add explicit braces to avoid
2193         ambiguous `else'.
2194         (output_function_epilogue): Remove unused variable `i'.
2195         (output_millicode_call): Remove unused variable `link'.
2196         (shadd_constant_p, forward_branch_p): Make the function static.
2197         (following_call): Explicitly declare to return int.
2198         (pa_reorg): Declare as void.
2199         (pa_combine_instructions): Declare as static void.  Add
2200         parentheses around && within ||.
2201         
2202         * pa.h: Add prototypes for pa_reorg, symbolic_operand,
2203         following_call, function_label_operand, lhs_lshift_cint_operand
2204         and zdepi_cint_p.
2205
2206         * pa.md: Add parentheses around && within ||.
2207
2208         * cppalloc.c: Include stdlib.h.
2209
2210         * cpperror.c (cpp_print_containing_files): Remove unused variable
2211         `i'.  Fix format specifier in fprintf.
2212
2213         * cse.c (cse_around_loop): Add explicit braces to avoid
2214         ambiguous `else'.
2215         (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
2216
2217         * expr.c (expand_expr): Add parentheses around && within ||.
2218
2219         * final.c (app_enable): Replace fprintf with fputs where there are
2220         no format specifiers and no trailing argument after the string.
2221         Eg, when printing ASM_APP_ON/ASM_APP_OFF.
2222         (app_disable): Likewise.
2223         (final_end_function): Likewise.
2224         (final_scan_insn): Likewise.  Remove unused variable `set'.
2225         (profile_function): Wrap empty if-statement body in {} brackets.
2226
2227         * function.c: Include stdlib.h.
2228         (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
2229         (reposition_prologue_and_epilogue_notes): Add parentheses
2230         around assignment used as truth value.
2231
2232         * integrate.c (expand_inline_function): Wrap variable
2233         `cc0_insn' in macro HAVE_cc0.
2234
2235         * jump.c (jump_optimize): Wrap variable `q' in macro
2236         HAVE_cc0.  Remove unused variable `prev1'.
2237
2238         * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
2239         within ||.  Fix format specifier in fprintf.
2240         (__bb_init_prg): Add parentheses around assignment used as
2241         truth value.
2242
2243         * local-alloc.c: Include stdlib.h.
2244         (requires_inout): Add parentheses around assignment used
2245         as truth value.
2246
2247         * loop.c (analyze_loop_iterations): Wrap prototype and definition
2248         in macro HAVE_decrement_and_branch_on_count.
2249         (insert_bct, instrument_loop_bct): Likewise.
2250         (move_movables): Add parentheses around assignment used as
2251         truth value.
2252         (consec_sets_invariant_p): Likewise.
2253         (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
2254
2255         * objc/objc-act.c: Include stdlib.h.
2256         (lookup_method_in_protocol_list): Wrap empty else-statement body
2257         in braces.
2258         (lookup_protocol_in_reflist): Likewise.
2259         (objc_add_static_instance): Remove unused variables `decl_expr'
2260         and `decl_spec'.
2261         (get_objc_string_decl): Remove unused variable `decl'.
2262         (generate_static_references): Remove unused variables `idecl' and
2263         `instance'.
2264         (check_protocols): Wrap empty else-statement body in braces.
2265         
2266         * protoize.c: Include stdlib.h.
2267         (substr): Add parentheses around assignment used as truth value.
2268         (abspath): Likewise.
2269         (shortpath): Likewise.
2270
2271         * regmove.c (fixup_match_1): Add parentheses around assignment
2272         used as truth value.
2273
2274         * reload.c (push_secondary_reload): Remove unused variable `i'.
2275         (find_reloads): Add parentheses around assignment used as truth
2276         value.
2277
2278         * reload1.c: Include stdlib.h.
2279
2280         * rtl.h: Correct typo in prototype of offsettable_memref_p.
2281
2282         * stmt.c (add_case_node): Add parentheses around assignment used
2283         as truth value.
2284         (case_tree2list): Likewise.
2285
2286         * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
2287         in macro VALID_MACHINE_DECL_ATTRIBUTE.  Wrap variable
2288         `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
2289         (merge_attributes): Add explicit braces to avoid ambiguous
2290         `else'.
2291
2292         * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
2293         macro HAVE_cc0.
2294         
2295         * varasm.c: Include stdlib.h.
2296         
2297
2298         * system.h: Remove sys/stat.h.
2299         * gcc.c: Add sys/stat.h.
2300
2301         * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
2302         * genattrtab.c: Likewise.
2303         * genconfig.c: Likewise.
2304         * genemit.c: Likewise.
2305         * genextract.c: Likewise.
2306         * genflags.c: Likewise.
2307         * genopinit.c: Likewise.
2308         * genoutput.c: Likewise.
2309         * genpeep.c: Likewise.
2310         * genrecog.c: Likewise.
2311         * tlink.c: Likewise.  Also wrap `getenv' in NEED_DECLARATION_GETENV.
2312
2313 Fri Feb 27 11:02:47 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2314
2315         * invoke.texi: Use @itemx for a secondary item in a @table.
2316
2317         * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
2318         zero.
2319
2320 Thu Feb 26 00:13:21 1998  Ian Lance Taylor  <ian@cygnus.com>
2321
2322         * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
2323
2324 Wed Feb 25 23:40:54 1998  Jeffrey A Law  (law@cygnus.com)
2325
2326         * i386.c (struct machine_function): Add new fields for PIC stuff.
2327         (save_386_machine_status): Fix argument to xmalloc.  Save pic_label_rtx
2328         and pic_label_name.
2329         (restore_386_machine_status): Corresponding changes.
2330         (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
2331
2332 Wed Feb 25 01:31:40 1998  Jeffrey A Law  (law@cygnus.com)
2333
2334         * c-parse.y (undeclared variable error): Tweak error message
2335         to be clearer.
2336
2337 Tue Feb 24 23:54:07 1998  Richard Henderson  <rth@cygnus.com>
2338
2339         * flags.h (g_switch_value, g_switch_set): Declare.
2340         * alpha.c (override_options): Set g_switch_value=8 if not set.
2341         * alpha/elf.h (CC1_SPEC): New.
2342         (ASM_SPEC): New.
2343         (LINK_SPEC): Pass along the -G value we were given.
2344         (LOCAL_ASM_OP): Remove.
2345         (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
2346         (MAX_OFILE_ALIGNMENT): New.
2347         (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
2348         (EXTRA_SECTIONS): Add sbss and sdata.
2349         (SECTION_FUNCTION_TEMPLATE): New.
2350         (EXTRA_SECTION_FUNCTIONS): Use it.
2351         (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
2352         (SELECT_SECTION): Use sdata when small enough.
2353         * alpha/linux.h (ASM_SPEC): Remove.
2354         
2355
2356 Mon Feb 23 15:09:18 1998  Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
2357         * config.sub (sco5): Fix typo.
2358
2359 Mon Feb 23 18:19:31 1998  Manfred Hollstein  <manfred@s-direktnet.de>
2360
2361         * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
2362         set to empty.
2363         * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
2364         * config/alpha/t-linux: Remove file.
2365         * config/sparc/t-linux: Remove file.
2366         * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
2367         * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
2368         * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
2369         for tmake_file.
2370         (alpha*-*-linux-gnu*): Likewise.
2371         (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
2372         (sparc-*-linux-gnu*): Likewise.
2373
2374 Mon Feb 23 10:47:39 1998  Robert Lipe  <robertl@dgii.com>
2375         * collect2.c (ldd_file_name): Bracket declaration with same
2376         manifests as use.
2377         (full_real_ld_suffix): Deleted.  Variable was calloced and
2378         written into, but never read.
2379
2380 1998-02-23  Mike Stump  <mrs@wrs.com>
2381
2382         * configure.in: Add support for i386-wrs-vxworks configuration.
2383         * i386/vxi386.h: New file.
2384
2385 Sun Feb 22 21:16:51 1998  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>
2386
2387         * tree.c (contains_placeholder_p): Ensure function always returns
2388         a value.
2389         * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
2390         (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
2391
2392 Sun Feb 22 20:58:19 1998  Jeffrey A Law  (law@cygnus.com)
2393
2394         * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
2395
2396 1998-02-22  Paul Eggert  <eggert@twinsun.com>
2397
2398         * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
2399         Define this new symbol.
2400         (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
2401         * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
2402         LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
2403
2404 Sun Feb 22 20:07:32 1998  Jim Wilson  <wilson@cygnus.com>
2405
2406         * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
2407         * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
2408
2409 Sun Feb 22 15:29:48 1998  Richard Henderson  <rth@cygnus.com>
2410
2411         * objc/Object.m (-error): Call objc_verror with our va_list.
2412
2413 Sun Feb 22 09:45:39 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2414
2415         * collect2.c (scan_prog_file): Completely cover uses of variable
2416         `exports' with macro COLLECT_EXPORT_LIST.
2417
2418 Sat Feb 21 20:36:23 1998  Jeff Law  (law@cygnus.com)
2419
2420         * version.c: Bump for snapshot.
2421
2422 Fri Feb 20 16:22:13 1998  Michael Meissner  <meissner@cygnus.com>
2423
2424         * sched.c (schedule_block): Remove code to get arguments from hard
2425         regs into pseudos early.  Same as Aug 25, 1997 change to
2426         haifa-sched.c.
2427
2428 1998-02-20  Jason Merrill  <jason@yorick.cygnus.com>
2429
2430         * collect2.c (main): Still handle !do_collecting for non-AIX targets.
2431
2432 1998-02-16  Mark Mitchell  <mmitchell@usa.net>
2433
2434         * toplev.c (rest_of_compilation): Do not defer the output of a
2435         nested function.
2436
2437 Fri Feb 20 10:39:47 1998  Michael Tiemann  <michael@impact.tiemann.org>
2438
2439         * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
2440         continuation character (line 243).
2441
2442 Fri Feb 20 12:10:26 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2443
2444         * genrecog.c (main): Remove duplicated sentence in emitted comment.
2445
2446 Thu Feb 19 22:36:53 1998  Andrey Slepuhin  <pooh@msu.net>
2447                           David Edelsohn  <edelsohn@mhpcc.edu>
2448
2449         * collect2.c (XCOFF_SCAN_LIBS): Remove.
2450         (export_flag): New variable.
2451         (export_file): #ifdef COLLECT_EXPORT_LIST.
2452         (import_file, exports, imports, undefined): New variables.
2453         (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
2454         (dump_list, dump_prefix_list, is_in_list): New functions.
2455         (write_export_file): $ifdef COLLECT_EXPORT_LIST.
2456         (write_import_file, resolve_lib_name): New functions.
2457         (use_import_list, ignore_library): Same.
2458         (collect_exit): maybe_unlink import_file and #ifdef.
2459         (handler): Same.
2460         (main): New variable importf, #ifdef exportf.  Move parsing of
2461         -shared before general argument parsing.  Resolve AIX library
2462         paths and import libgcc.a symbols.  Treat .so shared libraries the
2463         same as objects and .a libraries.  Create alias for object_lst and
2464         increment it instead of original pointer.  Scan AIX libraries as
2465         objects earlier instead of using scan_libraries.  Perform AIX
2466         tlink later to resolve templates instead of forking ld.
2467         (GCC_OK_SYMBOL): Ensure symbol not in undef section.
2468         (GCC_UNDEF_SYMBOL): New macro.
2469         (scan_prog_file): Loop for members of AIX libraries.  Handle
2470         export/import of ctors/dtors.
2471         (aix_std_libs): New variable.
2472         (scan_libraries, XCOFF): Delete.
2473
2474 Thu Feb 19 22:36:52 1998  Robert Lipe   <robertl@dgii.com>
2475
2476         * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
2477
2478 1998-02-19  Mike Stump  <mrs@wrs.com>
2479
2480         * Makefile.in: Use $tooldir for sys-include to match toplevel
2481         configure.
2482
2483 Thu Feb 19 01:32:37 1998  Jeffrey A Law  (law@cygnus.com)
2484                           Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2485
2486         * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
2487
2488         * emit-rtl.c (hard-reg-set.h): Include.
2489         (get_lowpart_common): Don't make new REG for hard reg in a 
2490         class that cannot change size.
2491         * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
2492
2493         * combine.c: Revert previous patch.
2494
2495 1998-02-19  Paul Eggert  <eggert@twinsun.com>
2496
2497         * config/sparc/sol2-sld.h: New file.
2498         * configure.in (sparc-*-solaris2*): Use it when using the
2499         system linker.
2500
2501 Thu Feb 19 00:46:59 1998  Jeffrey A Law  (law@cygnus.com)
2502
2503         * loop.c (force_movables): Fix typo.
2504
2505 Thu Feb 19 08:26:30 1998  Manfred Hollstein <manfred@s-direktnet.de>
2506
2507         * m88k.h: Change file pattern to match reality.
2508
2509 Wed Feb 18 23:19:52 1998  Jeffrey A Law  (law@cygnus.com)
2510
2511         * varasm.c (output_constant_pool): Fix dumb thinko in last
2512         change.
2513
2514         * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
2515         a function name to a section name.
2516
2517 1998-02-18  Doug Evans  <devans@cygnus.com>
2518
2519         * tree.h (merge_machine_{type,decl}_attributes): Declare.
2520         (split_specs_attrs, strip_attrs): Add prototypes.
2521         * tree.c (merge_machine_{type,decl}_attributes): New functions.
2522         * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
2523         Update olddecl's attributes too.
2524         * c-common.c (strip_attrs): New function.
2525         * c-typeck.c (common_type): Call merge_machine_type_attributes.
2526         * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
2527         (make_decl_rtl): Likewise.
2528
2529 1998-02-18  Jim Wilson  <wilson@cygnus.com>
2530
2531         * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
2532
2533 Wed Feb 18 09:09:50 1998  Jeffrey A Law  (law@cygnus.com)
2534
2535         Remove this change until we can fix it correctly.
2536         * collect2.c: Bracket declaration of 'exportf' and
2537         'full_real_ld_suffix'.
2538
2539 Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
2540
2541         * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
2542
2543 Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
2544
2545         * c-common.c (c_expand_start_cond, c_expand_end_cond,
2546         c_expand_start_else): Don't warn about non-ambiguous else even if
2547         braces are missing.
2548
2549 Tue Feb 17 23:56:50 1998   Robert Lipe  <robertl@dgii.com>
2550
2551         * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
2552         ASM_OUTPUT_LONG_DOUBLE): Delete.   Use the ones from i386.h
2553         instead.
2554
2555 Tue Feb 17 22:56:14 1998  Richard Henderson  <rth@cygnus.com>
2556
2557         * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
2558         simplifying a subreg of a hard reg.
2559         (expand_compound_operation): Likewise.
2560         (force_to_mode): Likewise.
2561
2562 Tue Feb 17 22:37:22 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2563
2564         * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
2565         (lshift_double): Add parentheses around + or - inside shift.
2566         (rshift_double): Likewise.
2567         (size_int_wide): Explicitly set type of `bit_p' to `int'.
2568
2569         * Makefile.in (fold-const.o): Depend on system.h.
2570
2571         * Makefile.in (gcc.o): Depend on system.h, in accordance with last
2572         change to gcc.c.
2573
2574         * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
2575         (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
2576         (sched_note_set): Remove unused parameter `b', all callers changed.
2577         (schedule_block): Likewise for `rgn'.
2578         (split_hard_reg_notes): Likewise for `orig_insn'.
2579         (check_live): Likewise for `trg'.
2580         (update_live): Likewise.
2581         (check_live_1): Explcitly declare variable `i' as int.
2582         (update_live_1): Likewise.
2583         (insn_issue_delay): Remove unused variable `link'.
2584         (sched_analyze_2): Add default case in enumeration switch.
2585         (schedule_insns): Remove unused variable `i'.
2586
2587         * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
2588
2589 Tue Feb 17 22:31:04 1998  Jeffrey A Law  (law@cygnus.com)
2590
2591         * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
2592         a dangling else clause.
2593
2594 Tue Feb 17 21:28:12 1998  Gavin Koch  <gavin@cygnus.com>
2595
2596         * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
2597         pointer for the stack pointer in MIPS16 and 64BIT.
2598
2599 Tue Feb 17 21:17:30 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2600
2601         * rtl.h (force_line_numbers, restore_line_number_status): Declare.
2602         * emit-rtl.c (force_line_numbers, restore_line_number_status):
2603         New functions.
2604         * stmt.c (struct nesting): Replace seenlabel with line_number_status.
2605         (expand_start_case): Adjust to this change.
2606         (check_seenlabel): New function.
2607         (pushcase, pushcase_range, expand_endcase): Use it.
2608
2609 Tue Feb 17 10:14:32 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2610
2611         * i386.md (adddi3): Add =!r,0,0,X alternative.
2612
2613 Mon Feb 16 16:13:43 1998  David Edelsohn  <edelsohn@mhpcc.edu>
2614
2615         * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
2616         * x-aix31 (INSTALL): Delete.
2617
2618 Mon Feb 16 09:24:32 1998  Gavin Koch  <gavin@cygnus.com>
2619
2620         * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if 
2621         tsize changes to something other than zero.
2622
2623 Mon Feb 16 09:11:48 1998  Gavin Koch  <gavin@cygnus.com>
2624
2625         * ginclude/va-mips.h: Replace casts of pointers to int with
2626         casts of pointers to __PTRDIFF_TYPE__.
2627
2628 Mon Feb 16 08:17:14 1998  John Carr  <jfc@mit.edu>
2629
2630         * loop.c (strength_reduce, record_biv, record_giv): Use
2631         HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
2632
2633 1998-02-16  Jason Merrill  <jason@yorick.cygnus.com>
2634
2635         * tree.c (first_rtl_op): New fn.
2636         (unsave_expr_now): Use it.
2637         * print-tree.c (print_node): Likewise.
2638         * tree.c (has_cleanups): New fn.
2639         * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it.  Be more
2640         conservative about pushing the cleanup point down.
2641         * tree.h: Declare them.
2642
2643 Sun Feb 15 23:28:44 1998  Jeffrey A Law  (law@cygnus.com)
2644
2645         * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
2646         (flag_schedule_reverse_after_reload): Likewise.
2647         (f_options): Remove reverse scheduling support.
2648         * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
2649         (flag_schedule_reverse_after_reload): Likewise.
2650         * haifa-sched.c (rank_for_schedule): Remove support for reverse
2651         scheduling.
2652         
2653 Sun Feb 15 21:33:55 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2654
2655         * gcc.c: Get system includes, prototypes and macros via "system.h"
2656         instead of doing it manually.  Change all calls of the ctype
2657         macros to custom versions defined in "system.h".
2658
2659         * system.h: Fix return type of bcmp prototype from `void' to `int'.
2660         Make bcopy, bcmp and bzero prototypes explicitly `extern'.
2661         Add a prototype for getenv.
2662
2663 Sun Feb 15 17:05:41 1998  Jim Wilson  <wilson@cygnus.com>
2664
2665         * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
2666
2667 Sun Feb 15 15:23:15 1998  John Carr  <jfc@mit.edu>
2668
2669         * alias.c: Include <stdlib.h> and <string.h>.
2670         (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
2671
2672 Sat Feb 14 11:23:09 PST 1998 Jeff Law  (law@cygnus.com)
2673
2674         * version.c: Bump for snapshot.
2675
2676 Sat Feb 14 05:08:21 1998  Richard Earnshaw (rearnsha@arm.com)
2677
2678         * arm.md (movsfcc): Also validate operands[3] when compiling hard
2679         float.
2680         (movdfcc): Only accept fpu_add_operand for operands[3].
2681
2682         * arm/t-semi (STMP_FIXPROTO): Define to nothing.
2683         * arm/t-semiaof (STMP_FIXPROTO): Likewise.
2684
2685 Sat Feb 14 02:02:41 1998  Jeffrey A Law  (law@cygnus.com)
2686
2687         * varasm.c (output_constant_pool): Bring back 'done' label inside
2688         an appropriate #ifdef.
2689
2690         * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an 
2691         appropriate #ifdef.
2692         (bitmap_copy, bitmap_operation): Likewise.
2693         * combine.c (combinable_i3pat): Similarly for 'src'.
2694         * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
2695         (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
2696         * regclass.c (copy_cost): Similarly for 'secondary_class'.
2697         * reload.c (make_memloc): Simliarly for 'i'.
2698         (find_reloads_address_1): Similarly for 'link'.
2699         * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
2700         (emit_reload_insns): Similarly for 'second_reloadreg'.
2701         * unroll.c (iteration_info): Similarly for 'v'.
2702
2703         * caller-save.c (insert_save_restore): Remove unused variable 'i'.
2704         * calls.c (expand_call): Similarly for 'i'.
2705         (emit_library_call, emit_library_call_value): Similarly for 'mode'.
2706         * fold-const.c (strip_compund_expr): Similarly for 'type'.
2707         * function.c (fixup_var_refs_1): Similarly  for 'width'.
2708         (fixup_memory_subreg): Similarly for 'saved'.
2709         (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
2710         (setjmp_protect): Similarly for 'sub'.
2711         (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
2712         * loop.c (record_giv): Similarly for 'p'.
2713         (combine_givs): Similarly for 'temp_iv'.
2714         (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
2715         * recog.c (validate_replace_rtx_1): Similarly for 'width'.
2716         * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
2717         * unroll.c (unroll_loop): Similarly for 'copy'.
2718         (iteration_info): Similarly for 'b'.
2719         * varasm.c (assemble_string): Similarly for 'i'.
2720         * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
2721
2722 1998-02-13  Martin von Loewis  <loewis@informatik.hu-berlin.de>
2723
2724         * c-lang.c (lang_print_xnode): New function.
2725         * objc/objc-act.c (lang_print_xnode): Likewise.
2726         * print-tree.c (print_node): Call it
2727
2728 Fri Feb 13 14:38:34 1998  Jim Wilson  <wilson@cygnus.com>
2729
2730         * dwarf2out.c (decl_scope_node): New type.
2731         (decl_scope_table): Change type to use it.
2732         (decl_scope_table_allocated, decl_scope_depth): Change type to int.
2733         (push_decl_scope): Use new type.  New locals containing_scope, i.
2734         Add code to handle setting previous field.
2735         (scope_die_for): Change type of local i to int.  Add code to use
2736         previous field.
2737         (dwarf2out_init): Use new type.
2738
2739 1998-02-13  Jason Merrill  <jason@yorick.cygnus.com>
2740
2741         * except.c (emit_throw): Lose throw_used.
2742
2743 Fri Feb 13 20:36:05 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2744
2745         * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
2746         was deleted.
2747         * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
2748
2749 Fri Feb 13 12:18:40 1998  Jeffrey A Law  (law@cygnus.com)
2750
2751         * genextract.c (main): Fix typo.
2752
2753 Fri Feb 13 08:41:49 1998  Robert Lipe   <robertl@dgii.com>
2754
2755         * c-lang.c (finish_file): Bracket declaration of static_ctors, 
2756         static_dtors.
2757
2758         * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
2759         'old_stack_arg_under_construction'
2760         (emit_library_call): Bracket declaration of 'upper_bound', 
2761         'lower_bound', 'i', 'reg_parm_stack_space'
2762         (emit_library_call_value): Likewise.
2763         (store_one_arg): 
2764
2765         * collect2.c: include <unistd.h> when appropriate.
2766         Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
2767
2768         * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
2769         
2770         * explow.c (plus_constant_for_output_wide): Remove unused variable
2771         'code'.
2772         (memory_address): Remove unused variable 'orig_x'. 
2773
2774         * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
2775         (write_const_num_delay_slots): Remove unused variable 'i'.
2776
2777         * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
2778         (gen_insn): Remove unused variable 'obstack_ptr'.
2779
2780         * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
2781         'j', 'tmp', 'i'.
2782         (__bb_exit_trace_func): Remove unused variable 'e'.
2783
2784         * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
2785         'funexp'.
2786         (expand_unop): Remove unused variable 'funexp'.
2787         (expand_complex_abs): Remove unused variable 'funexp'. 
2788         (init_optabs): Bracket declaration of 'j'.
2789         (init_complex_libfuncs): Deleted.  Dead static function.
2790         
2791         * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
2792
2793         * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
2794         (reg_to_stack): 'initialized', 'before_function_beg'
2795         explictly type as ints instead of defaulting.
2796         (emit_swap_insn): Remove unused variable 'i2'.
2797         (compare_for_stack_reg): Remove unused variable 'src_note'.
2798
2799         * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
2800
2801         * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
2802
2803         * stmt.c (add_case_node): Add parens for assignment used as truth.
2804         (all_cases_count):  Remove unused variable 'count_high'.
2805         (mark_seen_cases): Remove unused variable 'i'.
2806         (check_for_full_enumeration_handling): Remove unused variable 't'.
2807         Bracket declaration of  'all_values', 'l'.
2808         
2809         * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
2810
2811         * varasm.c (assemble_string): Remove unused variable 'i'. 
2812         (immed_double_const): Remove unused variable 'in_current_obstack'. 
2813         (immed_real_const_1): Likewise.
2814         (output_constant_pool): Remove unreferenced label 'done'.
2815         (output_constant): Remove unused variable 'x'.
2816         
2817         * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
2818         a string.
2819
2820         * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
2821         as truth.
2822
2823 Fri Feb 13 10:21:41 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2824
2825         * combine.c (can_combine_p): Handle USEs in PARALLELs.
2826
2827 Fri Feb 13 01:34:14 1998  H.J. Lu  (hjl@gnu.org)
2828
2829         * config/linux.h (LIB_SPEC): Add -lc for -shared if
2830         USE_GNULIBC_1 is not defined.
2831         * config/sparc/linux.h; Ditto.
2832
2833         * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
2834
2835         * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
2836         USE_GNULIBC_1 is not defined.
2837
2838 Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
2839
2840         * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
2841         for -mcall-linux
2842
2843 Fri Feb 13 01:23:46 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2844  
2845         * system.h: New file to get common systems includes and various
2846         definitions and declarations based on autoconf macros.
2847
2848 Fri Feb 13 00:46:19 1998  Jeffrey A Law  (law@cygnus.com)
2849
2850         * cccp.c (new_include_prefix): Correctly handle -I./.
2851
2852 Thu Feb 12 20:16:35 1998  Michael Meissner  <meissner@cygnus.com>
2853
2854         * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
2855
2856 Thu Feb 12 16:45:17 1998  Robert Lipe  <robertl@dgii.com>
2857
2858         * expr.c (expand_assignment):  Correct typo exposed by -Wall. 
2859         offset should have been a truth value, not an assignment.
2860
2861 Thu Feb 12 15:26:50 1998  Jeffrey A Law  (law@cygnus.com)
2862
2863         * cse.c (delete_dead_from_cse): If a libcall produces a constant
2864         result and that result can be substituted into SET_SRC of the
2865         insn with the REG_RETVAL note, then perform the substitution
2866         and delete the libcall.
2867
2868 Thu Feb 12 14:04:09 1998  Gavin Koch  <gavin@cygnus.com>
2869
2870         * mips.md (trucndihi2,truncdiqi2): Change these to support 
2871         mips16.
2872
2873 Thu Feb 12 11:34:55 1998  Gavin Koch  <gavin@cygnus.com>
2874
2875         * mips/mips.c (movdi_operand): Direct referances to symbols
2876         that arn't mips16 consts in mips16 mode arn't valid operands.
2877
2878         * mips/mips.c (mips_move_2words): Add gprel handling.
2879
2880 Thu Feb 12 11:18:37 1998  Gavin Koch  <gavin@cygnus.com>
2881
2882         * mips.md (extendsidi2): Allow extension to/from a non-mips16 
2883         register.
2884
2885 Thu Feb 12 00:04:16 1998  Marc Lehmann <pcg@goof.com>
2886
2887         * i386.c: Conditionally include <stdlib.h>, <string.h>, and
2888         <strings.h>.
2889
2890 Wed Feb 11 11:43:34 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2891
2892         * Makefile.in (WARN_CFLAGS): New variable.
2893         (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
2894
2895 1998-02-11  Mark Mitchell  <mmitchell@usa.net>
2896
2897         * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
2898         falling through default case in switch.
2899         (i386_aligned_p): Likewise.
2900
2901 Wed Feb 11 12:59:56 1998  Lee Iverson  <leei@Canada.AI.SRI.COM>
2902
2903         * mips/mips.h (mips_abi_string): Correct typo in comment.
2904
2905 Wed Feb 11 08:29:56 1998  Gavin Koch  <gavin@cygnus.com>
2906
2907         * mips/mips.md (movdi): These PLUS's need to be Pmode.
2908
2909 Wed Feb 11 01:47:54 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2910
2911         * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
2912         reorg.o, regmove.o): Depend on insn-codes.h, it gets included
2913         indirectly via expr.h.
2914
2915 Wed Feb 11 01:44:13 1998  Richard Henderson  <rth@cygnus.com>
2916
2917         * stor-layout.c (layout_type): Do upper - lower in the native type,
2918         so as to properly handle negative indices.
2919
2920 Wed Feb 11 01:35:55 1998  Robert Lipe   <robertl@dgii.com>
2921
2922         * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
2923         (expand_eh_region_start_tree): Remove unused variable 'note'.
2924         (exception_optimize): Remove unused variable 'regions'.
2925         (expand_builtin_eh_stub):  Remove unused variable 'temp'.
2926         (copy_eh_entry): Deleted.   Dead function.
2927
2928         * expr.c (move_block_to_reg) Bracket declaration of 'pat' and 
2929         'last' with same #if HAVE_load_multiple as use of it.
2930         (move_block_from_reg): Likewise.
2931         (emit_move_insn_1): Remove unused variable 'insns'.
2932         (store_constructor): Bracket declaration of startb, endb with 
2933         #if TARGET_MEMFUNCTIONS.  Remove unused variables 'set_word_size' 
2934         'target', and 'xtarget'.
2935         (expand_builtin_setjmp): Remove unused variables 'op0', 
2936         'next_arg_reg', 'old_inhibit_defer_pop'.
2937         (expand_builtin): Remove unused variable 'offset'. 
2938         (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
2939         (emit_queue): Add parens for assignment used as conditional.
2940         (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
2941
2942 Wed Feb 11 01:30:49 1998  Marc Lehmann <pcg@goof.com>
2943
2944         * i386.c: Added include for recog.h. 
2945         (override_options): Removed unused variable p. Initialized regno to
2946         avoid warning.
2947         (order_regs_for_local_alloc): Initialized regno to avoid warning.
2948         (legitimize_address): Likewise for 'other'.
2949         (i386_aligned_reg_p): Added default case with abort ().
2950         (print_operand): Likewise.
2951         (reg_mentioned_in_mem): Likewise.
2952         (ix86_expand_binary_operator): Removed unused variables i & insn.
2953         (ix86_expand_unary_operator): Removed unused variable insn.
2954         (output_fp_cc0_set): Removed unused variable unordered_label.
2955
2956 Wed Feb 11 01:23:03 1998  John F. Carr  <jfc@mit.edu>
2957
2958         * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
2959         Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
2960         and format string match.
2961
2962 Wed Feb 11 01:17:39 1998  Jeffrey A Law  (law@cygnus.com)
2963
2964         * flow.c (life_analysis): Do not conside the stack pointer live at
2965         the end of a function if the fucntio ncalls alloca.
2966         (mark_used_regs): Similarly.
2967
2968 1998-02-10  John F Carr  <jfc@mit.edu>
2969
2970         * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
2971         1, fzero on alternative 8.
2972
2973 Tue Feb 10 09:02:19 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2974
2975         * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
2976
2977 Tue Feb 10 03:35:43 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2978
2979         * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
2980         SUBREGs of CONST_INTs.
2981
2982 Mon Feb  9 17:52:36 1998  John Carr  <jfc@mit.edu>
2983
2984         * mips.c (print_operand, function_prologue): Make printf format
2985         match argument type.
2986
2987 Mon Feb  9 02:37:25 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2988
2989         * alpha.c (alpha_return_addr): Remove unused variable `first'.
2990         (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
2991         (output_epilog): Remove unused variable `frame_size_from_reg_save'.
2992
2993 Sun Feb  8 14:56:03 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2994
2995         * loop.c (strength_reduce): When placing increment for auto-inc
2996         case, do comparison in loop order.
2997         
2998 Sun Feb  8 13:21:38 1998  John Carr  <jfc@mit.edu>
2999
3000         * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
3001         not a HOST_WIDE_INT.
3002
3003         * calls.c (expand_call): Change test of expand_inline_function
3004         return value to stop compiler warning.
3005
3006         * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
3007
3008 Sun Feb  8 12:04:24 1998  Jim Wilson  (wilson@cygnus.com)
3009                           Jeff Law (law@cygnus.com)
3010
3011         * regmove.c: Fix various minor formatting problems.
3012         (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
3013         is true.  Make end of basic block tests consistent through regmove.c.
3014         (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
3015         (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
3016
3017 Sun Feb  8 01:49:18 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3018
3019         * gansidecl.h: Check for a conflicting macro definition before
3020         attempting to prototype bcopy, bcmp or bzero.
3021
3022 Sun Feb  8 00:09:59 1998  Jeffrey A Law  (law@cygnus.com)
3023
3024         * expr.c (clear_pending_stack_adjust): Handle case where a function
3025         calls alloca, but the user has specified -fomit-fframe-pointer.
3026
3027         * function.c (assign_parms): Fix typo in last change.
3028
3029 Sat Feb  7 23:54:29 1998   Robert Lipe  <robertl@dgii.com>
3030
3031         * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
3032         <fcntl.h>.
3033         (free_path_suffix): Remove unreferenced static function.
3034         (process_command): Remove unused variable temp.
3035         (default_arg): Remove unused variable i.
3036         (do_spec_1):  Add parens for assignment used as truth value.
3037         (main): Likewise.
3038         (validate_all_switches): Likewise.
3039         (main): Remove unused variables i, first_time>
3040
3041         * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
3042
3043         * calls.c (expand_call): Remove unused variables funtree,
3044         n_regs, and tmpmode.
3045
3046         * dbxout.c, except.c: Include <string.h>/<strings.h>.
3047
3048         * explow.c: (plus_constant_for_output_wide) Removed unused
3049         variable all_constant.
3050
3051         * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
3052         genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
3053         genrecog.c, global.c, integrate.c , stupid.c : Include
3054         <stdlib.h>.
3055
3056         * genextract.c: (walk_rtx) Remove unused variable link.
3057
3058         * genrecog.c: (concat) Remove unreferenced static function.
3059
3060         * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
3061
3062         * stmt.c: Include <stdlib.h>.  
3063         (expand_asm_operands): Remove unused variable val1.  
3064         (expand_return): Remove unused variable block.
3065         (pushcase): Remove unused variables l and n.
3066         (pushcaserange): Likewise.
3067
3068         * unroll.c (unroll_loop): Remove unused variable temp.
3069
3070 Sat Feb  7 23:46:09 1998  Greg McGary  <gkm@gnu.org>
3071
3072         * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
3073
3074 Sat Feb  7 15:11:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3075
3076         * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
3077         functions for whether they support the %p format specifier.
3078         * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
3079         * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
3080         * configure, config.in: Rebuild.
3081
3082 Fri Feb  6 14:20:16 1998  Jim Wilson  <wilson@cygnus.com>
3083
3084         * function.c (assign_parms): New variable named_arg, with value
3085         depending on STRICT_ARGUMENT_NAMING.  Use instead of ! last_named.
3086
3087 Fri Feb  6 14:34:28 1998  Gavin Koch  <gavin@cygnus.com>
3088
3089         * mips/t-r3900: New - same as t-ecoff but eliminate 
3090         multilibs: mips1 and mips3.
3091         * configure.in (tx39*): Use new mips/t-r3900.
3092         * configure: Rebuild.
3093         * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
3094
3095 1998-02-06  Jason Merrill  <jason@yorick.cygnus.com>
3096
3097         * dwarf2out.c: Add old_args_size.
3098         (dwarf2out_args_size): Use it.
3099         (dwarf2out_begin_prologue): Initialize it.
3100         (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
3101         pushed args until we see a call.
3102         * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
3103         before outputting them.
3104
3105 1998-02-06  Kriang Lerdsuwanakij  <lerdsuwa@scf.usc.edu>
3106
3107         * cplus-dem.c (demangle_template_template_parm): New function.
3108         (demangle_template): Handle template template parameters.
3109
3110 1998-02-02  Mark Mitchell  <mmitchell@usa.net>
3111
3112         * calls.c (expand_call): Don't confuse member functions named
3113         realloc, setjmp, and so forth with the standard library
3114         functions of the same names.
3115
3116 Thu Feb  5 21:59:49 1998  Jeffrey A Law  (law@cygnus.com)
3117
3118         * stmt.c (expand_asm_operands): Correctly identify asm statements
3119         no output operands.
3120
3121 Thu Feb  5 21:56:06 1998  Mumit Khan  <khan@xraylith.wisc.edu>
3122         
3123         * c-common.c (decl_attributes): Flag unrecognized attribute
3124         functions as warnings instead of as errors.
3125
3126 1998-02-05  Marc Lehmann  <pcg@goof.com>
3127
3128         * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
3129         when -Os is specified.
3130         * toplev.c (main): Don't disable flag_inline_functions anymore when
3131         -Os is in effect.
3132
3133 Fri Feb  6 00:27:36 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3134
3135         * regmove.c: Update.
3136         * flags.h (flag_regmove): Declare.
3137         * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
3138         * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
3139         Moved into regmove; changed caller.
3140         * toplev.c (rest_of_compilation): Call regmove_optimize also for
3141         expensive_optimizations.
3142
3143 Thu Feb 5 13:38:42 PST 1998 Jeff Law  (law@cygnus.com)
3144
3145         * version.c: Bump for snapshot.
3146
3147 Thu Feb  5 01:45:19 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3148         Undo this change (the problem was actually in reload):
3149         Fri Jan 23 23:28:59 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3150
3151           * sh.md (movqi_i+1): New peephole.
3152
3153 Tue Feb  3 01:11:12 1998  Jeffrey A Law  (law@cygnus.com)
3154
3155         * jump.c (jump_optimize): Lose calls to modified_in_p they are
3156         not needed anymore due to changes elsewhere in jump.c.
3157
3158         * jump.c (jump_optimize): Fix first arg to modified_in_p in
3159         previous change.
3160
3161 Mon Feb  2 19:18:14 1998  Richard Henderson  <rth@cygnus.com>
3162
3163         * expr.c (expand_builtin_setjmp): Accept two new arguments for
3164         the labels to branch to on first and subsequent executions.  Don't
3165         play with __dummy.  Rename `setjmp' insn to `builtin_setjmp_setup',
3166         and provide it with the jmp_buf.  Use only one of
3167         `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
3168         and provide the former with the target label.
3169         (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
3170         (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
3171         (expand_builtin_longjmp): ... here.  Recognize a `builtin_longjmp'
3172         insn to replace all of the normal nonlocal_goto code.  Don't play
3173         with __dummy.  Correct arguments to nonlocal_goto.
3174         * expr.h (expand_builtin_setjmp): Update prototype.
3175         * except.c (start_dynamic_handler): When using builtin_setjmp,
3176         generate more accurate flow information.
3177
3178         * alpha.md (nonlocal_goto_receiver_osf): Delete.
3179         (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
3180         (builtin_longjmp, builtin_setjmp_receiver): New.
3181         * sparc.md (update_return): Disambiguate unspec number.
3182         (nonlocal_goto): Rearrange arguments to match caller in except.c.
3183         (builtin_setjmp_setup): Rename from setjmp.  Match and ignore the
3184         jmp_buf operand.
3185         * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
3186         (builtin_setjmp_setup*, builtin_longjmp): New.
3187
3188 Mon Feb  2 16:43:10 1998  John Carr  <jfc@mit.edu>
3189
3190         * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
3191
3192 Mon Feb  2 13:06:47 1998  Jim Wilson  <wilson@cygnus.com>
3193
3194         * vmsconfig.com: Remove bytecode references.
3195
3196 1998-01-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3197
3198         * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
3199         -fno-sjlj-exceptions works for a target that defines
3200         DWARF2_UNWIND_INFO as zero.
3201
3202         * regmove.c (fixup_match_1): Undo last change which removed some
3203         "useless" code, and add a comment explaining this.
3204
3205 Mon Feb  2 10:47:14 1998  Gavin Koch  (gavin@cygnus.com)
3206
3207         * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
3208         to TARGET_LONG64.
3209
3210 Mon Feb  2 10:38:41 1998  Klaus Kaempf  <kkaempf@progis.de>
3211
3212         * makefile.vms: Remove bytecode references.
3213         Create genrtl files.
3214
3215 Mon Feb  2 02:08:04 1998  Michael P. Hayes  <michaelh@ongaonga.chch.cri.nz>
3216
3217         * jump.c (jump_optimize): Allow conditional loading of floating point
3218         constants and constants from memory.  Reinstalled modified_in_p tests.
3219
3220 Mon Feb  2 01:38:39 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3221
3222         * loop.c (get_condition): Handle sign-extended constants.
3223
3224 Mon Feb  2 01:22:46 1998  Hans-Peter Nilsson  <hp@axis.se>
3225
3226         * expr.c (emit_push_insn): Add code to use movstrti if present.
3227
3228         * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
3229         and movstrqi as in emit_block_move ().
3230
3231 Mon Feb  2 00:09:52 1998  Toon Moene  <toon@moene.indiv.nluug.nl>
3232
3233         * config/m68k/x-next: Remove /NextDeveloper/Headers from
3234         the directories to fixinclude - /usr/include is a link
3235         to it and hence its contents are fixed by default.
3236
3237 Sun Feb  1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
3238
3239         * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
3240
3241 Sun Feb  1 13:01:15 1998  Klaus Kaempf  <kkaempf@progis.de>
3242
3243         * cccp.c (main): Predefine __VMS_VER on VMS.
3244
3245 Sun Feb  1 12:39:53 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3246
3247         * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
3248         * fold-const.c (size_int): Replace with
3249         (size_int_wide).
3250         (make_bit_field_ref): Use bitsize_int for bit position.
3251         * stor-layout.c (sizetype): Delete.
3252         (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
3253         (layout_record, layout_union, layout_type):
3254         Use bitsize_int for bit size.
3255         (set_sizetype): New function.
3256         (make_signed_type, make_unsigned_type): Use it.
3257         * c-decl.c (init_decl_processing): Likewise.
3258         * tree.h (size_int): Don't delcare, #define.
3259         (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
3260         (set_sizetype): Declare.
3261         (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
3262         Define.
3263         * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
3264         Convert result to sizetype.
3265         (really_start_incremental_init, push_init_level):
3266         Set type of constructor_bit_index to sbitsizetype.
3267         (push_init_level): Use unsigned arithmetic to determine padding.
3268         (output_init_element): Likewise.
3269
3270 Sun Feb  1 03:32:07 1998  Jeffrey A Law  (law@cygnus.com)
3271
3272         * combine.c (simplify_shift_const): Fix typo in last change.
3273
3274 Sun Feb  1 02:50:46 1998  John Carr  <jfc@mit.edu>
3275
3276         * combine.c (simplify_shift_const):  (lshiftrt (truncate (lshiftrt)))
3277         is (truncate (lshiftrt)).
3278
3279 Sun Feb  1 01:06:53 1998  Richard Henderson  <rth@cygnus.com>
3280
3281         * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
3282         Make sure result winds up in TGT.
3283         (alpha_expand_unaligned_store): Use expand_binop properly.  Allow
3284         src to be other than DImode.
3285         (alpha_expand_unaligned_load_words): Tidy.  Take an offset argument.
3286         (alpha_expand_unaligned_store_words): Likewise.
3287         (alpha_expand_block_move): Use REGNO_POINTER_ALIGN.  Restructure so
3288         that source and destination are separately optimized for alignment.
3289         (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
3290
3291 Sun Feb  1 01:55:09 1998  Jeffrey A Law  (law@cygnus.com)
3292
3293         * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
3294         with handling of -32768.
3295
3296 Sun Feb  1 01:48:18 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3297
3298         * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
3299         shell variable argument instead of only hard coded functions.
3300         (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
3301
3302         * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
3303         call.  Collapse multiple calls to GCC_NEED_DECLARATION into one
3304         call to GCC_NEED_DECLARATIONS (new macro.)  Check if we need
3305         declarations for bcopy, bcmp and bzero.
3306
3307         * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
3308
3309         * gansidecl.h: If we have bcopy but don't declare it, then do so.
3310         Likewise for bcmp and bzero.  Only define macros for bcopy, bcmp,
3311         bzero, index and rindex if they aren't already present.
3312
3313 Sat Jan 31 11:26:58 1998  Jeffrey A Law  (law@cygnus.com)
3314
3315         * toplev.c (close_dump_file): Wrap function prototype for 
3316         argument "func" in PROTO.
3317         (dump_rtl): Likewise.
3318
3319 Fri Jan 30 22:30:39 1998  John Carr  <jfc@mit.edu>
3320
3321         * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
3322         MASK_V8PLUS.
3323         (output_function_epilogue): Omit epilogue if nothing drops through.
3324         (output_move_double): Supress int ldd usage on ultrasparc and v9.
3325         (registers_ok_for_ldd_peep): Likewise.
3326         (print_operand): Supress b,a on ultrasparc.  Let Y accept a constant.
3327         (ultrasparc_adjust_cost): New function.
3328         (sparc_issue_rate): New function.
3329         * sparc.h (MASK_VIS, TARGET_VIS): New
3330         (MASK_V8PLUS, TARGET_V8PLUS): New.
3331         (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
3332         (TARGET_SWITCHES): Add vis and v8plus.
3333         (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
3334         (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
3335         (RTX_COSTS): Use TARGET_HARD_MUL
3336         (ADJUST_COST): Call ultrasparc_adjust_cost.
3337         (ISSUE_RATE): New.
3338         * sparc.md (attr type): Add sload, fpmove, fpcmove.  Adjust users
3339         of load & fp appropritely.
3340         (supersparc function units): Adjust for Haifa.
3341         (ultrasparc function units): Likewise.
3342         (get_pc_via_rdpc): All v9, not just arch64.
3343         (movdi_v8plus, movdi_v8plus+1): New.
3344         (adddi3_sp32+1): New.
3345         (subdi3_sp32+1): New.
3346         (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
3347         (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
3348         (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
3349         (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
3350         (one_cmpldi2_sp32, one_cmplsi2): Likewise.
3351         (ldd peepholes): Suppress for v9.
3352         (return_adddi): Kill redundant test.  Arg1 may be arith_operand.
3353         (return_subsi): Revmove.
3354
3355 Fri Jan 30 18:30:03 1998  John F Carr  <jfc@mit.edu>
3356
3357         * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
3358         save/restore MEM rtl.
3359
3360 Fri Jan 30 09:08:16 1998  Jeffrey A Law  (law@cygnus.com)
3361
3362         * configure.in: Check for declaration of abort.
3363         * acconfig.h: Corresponding changes.
3364         * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
3365         be declared.
3366
3367 Thu Jan 29 20:26:12 1998  Jeffrey A Law  (law@cygnus.com)
3368
3369         * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
3370         uses it.
3371
3372 Thu Jan 29 09:27:56 PST 1998 Jeff Law  (law@cygnus.com)
3373
3374         * version.c: Bump for snapshot.
3375
3376 Thu Jan 29 10:12:27 1998  Jeffrey A Law  (law@cygnus.com)
3377
3378         * configure.in: Check for atoq and atoll.
3379         * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
3380         proper routine for converting ascii into long long values.
3381
3382 Thu Jan 29 01:28:14 1998  Klaus Kaempf  <kkaempf@progis.de>
3383
3384         * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
3385
3386         * vmsconfig.com: Remove bytecode references.
3387
3388         * alpha/vms.h (PREFIX): Define.
3389
3390         * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
3391
3392         * am-alpha.h: Don't include alloca for OPEN_VMS.
3393
3394         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
3395
3396         * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
3397         (GCC_INCLUDE_DIR): Define
3398
3399         * make-cc.com, make-cccp.com, make-cc1.com: Removed.
3400         * makefile.vms: New file.
3401
3402         * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
3403
3404         * alpha.c (output_prolog): Output '.name' directive
3405         for minimal traceback information.
3406
3407         * alpha.c (output_prolog): Don't prepend entry point symbols
3408         with '$' on OPEN_VMS.
3409
3410 Thu Jan 29 00:25:35 1998  David S. Miller  <davem@tanya.rutgers.edu>
3411                           Jeffrey A Law  (law@cygnus.com)
3412
3413         * rtl.c (read_rtx): Use atol/atoq based upon disposition of
3414         HOST_WIDE_INT.
3415
3416         * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
3417         as needed.
3418         * genemit.c (gen_exp): Likewise.
3419         * genpeep.c (match_rtx): Likewise.
3420         * genrecog.c (write_tree_1): Likewise.
3421
3422         * c-lex.c (yyprint): Use proper format string based upon
3423         disposition of HOST_BITS_PER_WIDE_INT.
3424         (yylex): Put casts in right place for args to build_int_2.
3425
3426 Thu Jan 29 00:24:29 1998  Jeffrey A Law  (law@cygnus.com)
3427
3428         * combine.c: Fix typos in Jan27 changes.
3429
3430 Thu Jan 29 00:07:49 1998  Ollivier Robert <roberto@keltia.freenix.fr>
3431
3432         * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
3433         (LINK_SPEC): Likewise.
3434         (STARTFILE_SPEC): Likewise.
3435
3436 1998-01-28  Mike Stump  <mrs@wrs.com>
3437
3438         * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
3439         reload completes.
3440         * genattrtab.c (reload_completed): Define.
3441
3442         * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
3443         comments.
3444
3445 Wed Jan 28 20:11:06 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3446
3447         * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
3448         SUBREG_REG if the word count is unchanged, also in the input reload
3449         case.  Disable non-applicable sanity checks.
3450
3451 Wed Jan 28 20:08:26 1998  Jeffrey A Law  (law@cygnus.com)
3452
3453         * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
3454
3455 Wed Jan 28 20:04:43 1998  Ian Lance Taylor  <ian@cygnus.com>
3456
3457         * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
3458
3459 Wed Jan 28 11:45:27 1998  Per Bothner  <bothner@cygnus.com>
3460
3461         * dbxout.c (dbxout_type):  For a RECORD_TYPE, check that TYPE_BINFO
3462         is a TREE_VEC before trying to use it for baseclasses.
3463         (Chill uses the same field for a different purpose.)
3464
3465         * toplev.c (strip_off_ending):  Generalize to endings up to 5 chars.
3466
3467 Tue Jan 27 23:15:55 1998  Lassi A. Tuura  <lat@iki.fi>
3468
3469         * config.sub: More accurate determination of HP processor types.
3470
3471 Tue Jan 27 23:11:11 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3472
3473         * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>.  Add
3474         prototype for `handle_sysv_pragma', and make it static.  Add
3475         parentheses around assignment used as truth value.
3476
3477         * combine.c (combine_instructions): Protect variable `prev' with
3478         macro HAVE_cc0.
3479         (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
3480         (extract_left_shift): Add parentheses around operand of &.
3481         (merge_outer_ops): Avoid an empty body in an else-statement.
3482         (gen_rtx_combine): Remove unused variable `i'.
3483         
3484         * sparc/gmon-sol2.c: Include <fcntl.h>.  Make return type of
3485         function monstartup `void'.  Likewise for internal_mcount.  Add
3486         `static void' prototype for moncontrol.  Reconcile sprintf format
3487         vs. args.  
3488
3489         * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
3490         Make return type of function_arg_slotno explicitly `int'.
3491         (reg_unused_after): Add parentheses around assignment used as
3492         truth value.
3493         (save_regs): Add explicit braces to avoid ambiguous `else'.
3494         (function_arg_slotno): Add parentheses around && within ||.
3495         (function_arg_pass_by_reference): Likewise.
3496         (sparc_flat_output_function_prologue): Reconcile fprintf format
3497         vs. args.
3498
3499         * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
3500         assignment used as truth value.
3501
3502         * cplus-dem.c: Include <stdlib.h>.
3503         (demangle_signature): Avoid an empty body in an else-statement.
3504         (do_type): Remove unused variable `lvl'.
3505         
3506         * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
3507         Include <string.h>/<strings.h>.
3508         (cpp_lex): Remove unused variable `namelen'.
3509         (cpp_lex): Explicitly declare `num_chars' as an int.
3510
3511         * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
3512         <unistd.h> instead.  Explicitly declare is_system_include
3513         returning int.
3514         (make_assertion): Remove unused variable `kt'.  
3515         (cpp_expand_to_buffer): Hide variable `obuf'.
3516         (output_line_command): Remove unused variables, `line_end',
3517         `line_cmd_buf' and `len'.
3518         (macarg): Remove unused variable `arg_start'.
3519         (special_symbol): Remove unused variable `i'.  Add parentheses
3520         around assignment used as truth value.  
3521         (do_include):  Remove unused variables `pcfname' and `retried',
3522         hide `pcf' and `pcfbuflimit'. 
3523         (do_line): Remove unused variable `i'.
3524         (finclude): Hide variable `missing_newline'.
3525         (cpp_handle_options): Remove unused variable `j'.
3526         (read_token_list): Remove unused variable `eofp'.
3527         (cpp_error_with_line): Remove unused variable `i'.
3528         (cpp_warning_with_line): Likewise.
3529         (cpp_pedwarn_with_line): Explicitly declare `column' as int.
3530         (cpp_error_from_errno): Remove unused variable `i'.
3531
3532         * cse.c (invalidate): Add parentheses around assignment used as
3533         truth value.
3534         (find_best_addr): Move declaration of variable `our_cost' inside
3535         the conditional macro where its used.
3536         (fold_rtx): Avoid an empty body in an if-statement.
3537         (cse_insn): Wrap variables  `this_insn_cc0_mode' and
3538         `this_insn_cc0' in macro HAVE_cc0.
3539         
3540         * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
3541         (ASM_OUTPUT_DWARF_DATA8):  Reconcile format vs. args in fprintf's.
3542         (output_uleb128): Likewise.
3543         (output_sleb128): Likewise.
3544         (output_cfi): Likewise.
3545         (output_call_frame_info): Remove unused variables `j', `fde_size'
3546         and `fde_pad'.
3547         (comp_unit_has_inlines): Hide declaration as per rest of file.
3548         (size_of_line_prolog): Correct typo in prototype.
3549         (add_arange): Likewise.
3550         (output_aranges): Likewise.
3551         (add_name_and_src_coords_attributes): Likewise.
3552         (gen_array_type_die): Likewise.
3553         (gen_inlined_subroutine_die): Likewise.
3554         (equate_decl_number_to_die): Remove unused variable `i'.
3555         (print_die): Reconcile format vs. args in fprintf's.
3556         (print_dwarf_line_table): Likewise.
3557         (output_die): Likewise.
3558         (output_line_info): Likewise.
3559         (add_subscript_info): Avoid an empty body in an else-statement.
3560         (gen_subprogram_die): Remove unused variable `fp_loc'.
3561
3562         * dwarfout.c: Explicitly declare `next_pubname_number' as int.
3563         Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
3564         macro.  Protect `src_coords_attribute' prototype with
3565         DWARF_DECL_COORDINATES macro.  Hide `output_entry_point_die'
3566         prototype as in the rest of the file.  Likewise for
3567         `output_pointer_type_die' and `output_reference_type_die'.  Remove
3568         prototype for `type_of_for_scope'.
3569         (output_unsigned_leb128): Reconcile format vs. args in fprintf.
3570         (type_attribute): Add explicit braces to avoid ambiguous `else'.
3571         
3572         * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
3573         (shorten_branches): Protect declaration of tmp_length with
3574         SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
3575         (profile_function): Protect declaration of `sval' and `cxt'
3576         variables with appropriate macros.
3577         (final_scan_insn): Likewise for `note' variable.  Add explicit
3578         braces to avoid empty body in an if-statement.
3579         (output_asm_insn): Move variable `i' inside macro conditional
3580         where it is used.  Add parentheses around assignment used as truth
3581         value.
3582         (asm_fprintf) Likewise, likewise.
3583         
3584         * fix-header.c (main): Remove unused variable `done'.  Protect
3585         declaration of `i' with FIXPROTO_IGNORE_LIST.
3586
3587         * pexecute.c: Include <unistd.h>.  Prototype `my_strerror'.
3588
3589         * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
3590         `ind'.
3591
3592         * profile.c: Include <string.h>/<strings.h>.
3593         (instrument_arcs): Remove unused variables `note', `inverted',
3594         `zero' and `neg_one'.
3595         (branch_prob): Avoid empty body in an if-statement.
3596
3597         * regclass.c: Include <stdlib.h>.
3598         (reg_alternate_class): Explicitly declare parameter `regno'.
3599
3600         * regmove.c (regmove_optimize): Remove unused variable `p'.  Add
3601         parentheses around assignment used as truth value.
3602         (find_matches):  Remove unused variables `output_operand' and
3603         `matching_operand'.
3604         (fixup_match_1): Remove statement with no effect: "if (0) ;".
3605
3606         * scan.c (sstring_append): Explicitly declare `count' as int.
3607         (scan_string): Explicitly declare parameter `init' as int.
3608
3609         * sched.c: Include <stdlib.h>.
3610         (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
3611         (rank_for_schedule): Add parentheses around assignment used as
3612         truth value.
3613         (schedule_block): Likewise.
3614         (regno_use_in): Likewise.
3615         (schedule_insns): Remove unused variable `i'.
3616
3617         * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
3618         (v_message_with_decl): Remove unused variable `n'.
3619         (botch): Explicitly declare parameter `s' as char *.
3620         (main): Add parentheses around assignment used as truth value.
3621
3622         * tree.c (make_node): Protect the variable `kind' with the
3623         GATHER_STATISTICS macro.
3624         (real_value_from_int_cst): Move variable `e' inside conditional
3625         macro area where it is used.
3626         (tree_last): Add parentheses around assignment used as truth value.
3627         (build1): Protect the variable `kind' with the GATHER_STATISTICS
3628         macro.
3629         (print_obstack_statistics): Reconcile format vs. args in fprintf.
3630         Protect variables `i', `total_nodes', and `total_bytes' with the
3631         GATHER_STATISTICS macro.
3632
3633 Tue Jan 27 23:01:55 1998  Mike Stump  (mrs@wrs.com)
3634
3635         * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
3636         some comments regarding use of dead_or_set_p.
3637
3638 Tue Jan 27 22:14:48 1998  Todd Vierling <tv@pobox.com>
3639
3640         * fixincludes: Tweak fix for struct exception in math.h
3641
3642 Tue Jan 27 17:21:09 1998  Gavin Koch  (gavin@cygnus.com)
3643
3644         * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
3645         Change mode of registers used to add/sub from 
3646         hard_frame_pointer_rtx from word_mode to Pmode.
3647
3648 Tue Jan 27 11:02:04 1998  Nick Clifton  <nickc@cygnus.com>
3649
3650         * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
3651         asm_output_aligned_bss() instead of asm_output_bss().
3652
3653         * toplev.c (rest_of_compilation): Replace references to
3654         stack_reg_dump_file and dbr_sched_dump_file with references to
3655         rtl_dump_file. 
3656
3657 Tue Jan 27 10:22:13 1998  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
3658
3659         * tlink.c (scan_linker_output): Call fclose() for opened files.
3660
3661 Tue Jan 27 05:05:26 1998  Richard Henderson  <rth@cygnus.com>
3662
3663         * alpha.c (output_epilog [!VMS]): Don't tag global functions if
3664         compiling with -fpic -- we want to be able to override symbols
3665         properly.
3666         (alpha_expand_block_move): Fix thinko in last change.
3667
3668         * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
3669         * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
3670         * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
3671         
3672 Tue Jan 27 03:21:23 1998  Richard Henderson  <rth@cygnus.com>
3673
3674         * alpha.md (abssf, absdf): Revert last change.
3675
3676 Tue Jan 27 00:26:50 1998  John Carr  <jfc@mit.edu>
3677
3678         * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
3679         * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
3680
3681 Tue Jan 27 00:07:02 1998  Jeffrey A Law  (law@cygnus.com)
3682
3683         * emit-rtl.c (gen_lowpart_common): Handle more case where converting
3684         a CONST_INT into SFmode.
3685
3686 Tue Jan 20 16:01:03 1998  Anthony Green  <green@cygnus.com>
3687
3688         * flags.h: New flag (optimize_size).
3689         * toplev.c (main): Parse -Os option and set optimize_space
3690         accordingly.
3691         * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define 
3692         __OPTIMIZE_SIZE__ when compiling with -Os.
3693         * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
3694         config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
3695         config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
3696         to macro.
3697         * config/i386/i386.c (optimization_options): Accept new SIZE argument.
3698
3699 Mon Jan 26 23:57:39 1998  Manfred Hollstein  <manfred@s-direktnet.de>
3700
3701         * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
3702         stuff only if MCT_TEXT is #define'd.
3703
3704 Mon Jan 26 23:52:51 1998  Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
3705
3706         * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
3707         configurations.
3708
3709 Fri Jan 23 09:39:36 1998  Nick Clifton  <nickc@cygnus.com>
3710
3711         * toplev.c: Add -dM command line option to dump RTL after the
3712         machine dependent reorganisation pass, if there is one.
3713         Reorganise RTL dump code, so that only one file handle is
3714         needed. 
3715
3716 Mon Jan 26 12:09:42 1998  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
3717
3718         * except.c (check_exception_handler_labels): Disable warning when
3719         flag_syntax_only.
3720
3721 Mon Jan 26 18:17:32 1998  Jim Wilson  <wilson@cygnus.com>
3722
3723         * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
3724
3725 Mon Jan 26 18:11:30 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3726
3727         * c-decl.c (grokdeclarator): Get parameter tags from
3728         last_function_parm_tags.
3729         * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
3730         traversing the parameter types.
3731         (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
3732
3733 Mon Jan 26 01:44:12 1998  Jeffrey A Law  (law@cygnus.com)
3734
3735         * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
3736         the default case.
3737         (get_shift_alg): Fix typo.
3738
3739 Sun Jan 25 22:22:04 1998  Richard Henderson  <rth@cygnus.com>
3740
3741         * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
3742
3743 Sun Jan 25 22:14:28 1998  Richard Henderson  <rth@cygnus.com>
3744
3745         * toplev.c (get_run_time): Make sure each case gets its variables.
3746
3747 Sun Jan 25 22:10:21 1998  Richard Henderson  <rth@cygnus.com>
3748
3749         * configure.in (build_xm_file): Add auto-config.h if host=build.
3750         (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
3751         (build_xm_file_list): Likewise.
3752         * configure: Rebuild.
3753         
3754 Sun Jan 25 22:00:25 1998  Alasdair Baird <alasdair@wildcat.demon.co.uk>
3755
3756         * recog.c (validate_replace_rtx_1): Only perform substitutions
3757         of arguments to commutative and comparison operators once.
3758
3759 Sun Jan 25 12:30:18 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3760
3761         * sparc.c (output_cbranch): Add default case in
3762         enumeration switch.
3763  
3764         * reorg.c (insn_sets_resource_p): Correct typo in prototype.
3765         (emit_delay_sequence): Eliminate unused parameter, all callers
3766         changed.
3767         (fill_simple_delay_slots): Likewise.
3768         (fill_slots_from_thread): Likewise.
3769         (fill_eager_delay_slots):  Likewise.
3770         (mark_referenced_resources): Add default case in enumeration switch.
3771         (mark_set_resources): Likewise.
3772         (rare_destination): Likewise.
3773         (mostly_true_jump): Likewise.
3774         (find_dead_or_set_registers): Likewise.
3775         (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
3776         (update_reg_unused_notes): Remove unused variable `p'.
3777         (mark_target_live_regs): Remove unused variables `next' and
3778         `jump_count'.
3779         (fill_simple_delay_slots): Remove unused variable `j'.
3780         (fill_slots_from_thread): Add parentheses around assignment used
3781         as truth value.
3782         (dbr_schedule): Likewise.
3783
3784         * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
3785         (objc.stage2, objc.stage3, objc.stage4): Likewise.
3786
3787 Sun Jan 25 12:13:47 1998  Michael Tiemann  <michael@tiemann.org>
3788
3789         * cse.c (simplify_ternary_operation): Don't try to simplify
3790         IF_THEN_ELSE expressions (created by combine) that don't use
3791         relational operators.
3792
3793 Fri Jan 23 22:48:24 1998  Jeffrey A Law  (law@cygnus.com)
3794
3795         * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
3796         simplifications.
3797
3798         * crtstuff.c (init_dummy): Keep the epilogue in the init
3799         section for non-ELF systems.
3800
3801 Fri Jan 23 23:28:59 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3802
3803         * sh.md (movqi_i+1): New peephole.
3804
3805 Fri Jan 23 15:39:42 1998  Jim Wilson  <wilson@cygnus.com>
3806
3807         * Makefile.in: Remove remaining bytecode stuff.
3808         * emit-rtl.c, expr.c: Likewise.
3809
3810 Fri Jan 23 12:41:10 1998  Nick Clifton  (nickc@cygnus.com)
3811
3812         * toplev.c (lang_options): Add unknown-pragma options.
3813
3814 Thu Jan 22 23:43:38 1998  Per Bothner  <bothner@cygnus.com>
3815
3816         * dwarfout.c (byte_size_attribute):  Simplify and fix - don't need
3817         special (and incomplete) handling for Chill arrays.
3818
3819 Fri Jan 23 00:27:23 1998  John Carr  <jfc@mit.edu>
3820
3821         * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
3822         to get clock rate.
3823
3824 Fri Jan 23 00:19:36 1998  Gavin Koch  (gavin@cygnus.com)
3825
3826         * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
3827
3828 1998-01-22  scott snyder  <snyder@d0sgif.fnal.gov>
3829
3830         * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
3831         .frame directive instead of FRAME_POINTER_REGNUM.
3832
3833 Fri Jan 23 00:08:55 1998  Robin Kirkham <rjk@mlb.dmt.csiro.au>
3834
3835         * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
3836         (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
3837         * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
3838         (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
3839         (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
3840         * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
3841         (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
3842         (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
3843         mcpu32 or m5200.
3844         * longlong.h: Replace __mc68332__ with __mcpu32__.
3845
3846 Thu Jan 22 19:55:40 PST 1998 Jeff Law  (law@cygnus.com)
3847
3848         * version.c: Bump for snapshot.
3849
3850 Thu Jan 22 14:47:31 1998  Jim Wilson  <wilson@cygnus.com>
3851
3852         * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
3853         to require the SUBREG mode to be smaller than the SUBREG_REG mode.
3854         * reload1.c (eliminate_regs): Likewise.
3855
3856 Thu Jan 22 14:49:14 1998  Jeffrey A Law  (law@cygnus.com)
3857
3858         * regmove.c (find_matches): Initialize matches->earlyclobber too.
3859
3860 Thu Jan 22 01:40:52 1998  Richard Henderson  <rth@cygnus.com>
3861
3862         * alpha.md (abssf2, absdf2): Disable in IEEE mode.
3863         (negsf2, negdf2): Use proper subtract in IEEE mode.
3864
3865 Tue Jan 20 09:29:09 1998  Jeffrey A Law  (law@cygnus.com)
3866
3867         * Makefile.in: Remove more bytecode stuff.
3868         * expr.c, stmt.c, config/msdos/top.sed: Likewise.
3869         * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
3870         * f/install.texi, objc/Make-lang.in: Likewise.
3871
3872         * Makefile.in: Remove all bytecode support.
3873         (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
3874         * emit-rtl.c: Remove all bytecode support.
3875         * expr.c, expr.h function.c, integrate.c: Likewise.
3876         * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
3877         * tree.h, varasm.c: Likewise.
3878         * config/m68k/m68k.h: Likewise.
3879         * bi-*, bc-*, bytecode*: Delete bytecode related files.
3880         * modemap.def: Likewise.
3881
3882 Tue Jan 20 09:02:31 1998  Gavin Koch  (gavin@cygnus.com)
3883
3884         * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
3885         umodsi3,umoddi3): Handle mips16 div/mod by a constant.
3886
3887 Mon Jan 19 21:57:00 1998  Richard Henderson  <rth@cygnus.com>
3888
3889         * i386.md (push): Prohibit symbolic constants if flag_pic.
3890         (movsi+1): Likewise for move to non-register.
3891
3892 Mon Jan 19 11:15:38 1998  Jim Wilson  <wilson@cygnus.com>
3893
3894         * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
3895         (print_operand): Handle 0xffffffff on 32 bit host.
3896
3897         * configure.in (thread_file): Rename uses before main loop to
3898         target_thread_file.  Initialize to empty in main loop.  Set thread_file
3899         to target_thread_file after main loop if not set.
3900         * configure: Rebuild.
3901
3902         * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
3903         (add_values_to_cover): Revert last change (which had no ChangeLog
3904         entry).
3905         (simplify_with_current_value_aux): Handle CONST_INT.
3906
3907 Mon Jan 19 10:14:55 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3908
3909         * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
3910
3911 Mon Jan 19 10:11:52 1998  Richard Henderson  <rth@cygnus.com>
3912
3913         * configure.in: Add cpp stringify test.
3914         * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
3915         * gengenrtl.c: Use it.
3916         * configure, config.in: Rebuild.
3917
3918 Mon Jan 19 09:43:15 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3919
3920         * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
3921
3922 Mon Jan 19 09:38:18 1998  Richard Henderson  <rth@cygnus.com>
3923
3924         * configure.in: Find declaration for sbrk.
3925         * acconfig.h (NEED_DECLARATION_SBRK): New tag.
3926         * config.in, configure: Rebuild.
3927         * mips-tfile.c: Properly protect declaration of sbrk and free.
3928         * toplev.c: Properly protect declaration of sbrk.
3929
3930 Sun Jan 18 20:18:01 1998  Richard Henderson  <rth@cygnus.com>
3931
3932         * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
3933
3934 Sun Jan 18 01:54:27 1998  Jeffrey A Law  (law@cygnus.com)
3935
3936         * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
3937
3938 Sun Jan 18 00:57:35 1998  Mike Stump  (mrs@wrs.com)
3939
3940         * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
3941
3942 Sat Jan 17 23:41:36 1998  David S. Miller  <davem@tanya.rutgers.edu>
3943
3944         * combine.c (force_to_mode, nonzero_bits): Correctly optimize
3945         constant offset computations from objects with known alignment in
3946         the presence of STACK_BIAS.
3947
3948         * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
3949         necessary.
3950         (const_hash): Hash val is unsigned long.
3951         (SYMHASH): Likewise.
3952
3953         * tree.c (TYPE_HASH): Type of hash val is unsigned long.
3954
3955         * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
3956         char pointer, not HOST_WIDE_INT.
3957         (print_node): Likewise.  Also hash is unsigned long not
3958         HOST_WIDE_INT.
3959
3960         * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
3961
3962         * explow.c (optimize_save_area_alloca): New function for targets
3963         where SETJMP_VIA_SAVE_AREA is true.
3964         (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
3965         compute the amount of stack space needed should we find later that
3966         setjmp is never called by this function, stuff rtl for this inside
3967         a REG_NOTE of the final SET of stack_pointer_rtx.
3968         * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
3969         current_function_calls_alloca, call optimize_save_area_alloca.
3970
3971 Sat Jan 17 23:22:59 1998  John Wehle  (john@feith.com)
3972
3973         * i386.md: Remove redundant integer push patterns.
3974         Don't bother checking for TARGET_PUSH_MEMORY when
3975         pushing constants or registers.
3976
3977 Sat Jan 17 22:35:39 1998  Mumit Khan <khan@xraylith.wisc.edu>
3978                           J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
3979         
3980         * pexecute.c (pexecute): New function for mingw32. Supports pipes.
3981         (pwait): New function for mingw32.
3982
3983         * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
3984         pipe support is broken for now.
3985
3986 1998-01-17  Lee Iverson  <leei@Canada.AI.SRI.COM>
3987
3988         * emit_rtl.c (init_emit_once): Ensure that potential aliasing
3989         between frame_pointer_rtx, hard_frame_pointer_rtx, and
3990         arg_pointer_rtx is respected in initialization.
3991         (init_emit_once): Use gen_rtx_raw_REG() to create
3992         return_address_pointer_rtx.
3993
3994         * reorg.c: #include "expr.h" for rtx prototypes.
3995         * Makefile.in (reorg.o): Depend on expr.h
3996
3997 Sat Jan 17 21:28:08 1998  Pieter Nagel <pnagel@epiuse.co.za>
3998
3999         * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
4000         local_prefix to sub-make invocations.
4001
4002 Sat Jan 17 21:24:16 1998  David T. McWherter <dtm@waterw.com>
4003
4004         * objc-parse.c: Recognize protocol qualifiers in class definitions.
4005
4006 Sat Jan 17 21:16:19 1998  Jeffrey A Law  (law@cygnus.com)
4007
4008         * rtl.h: Fix typos.
4009
4010         * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
4011         * configure.in: Check for atol.
4012         * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
4013
4014         * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
4015
4016         * loop.c (find_and_verify_loops): When attempting to move insns from
4017         inside the loop outside the loop, create a BARRIER if no suitable
4018         one was found.
4019
4020         * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
4021         favor of an equivalent change from gcc-2.8.
4022
4023         * i386/x-sco5 (CC): Remove trailing whitespace.
4024
4025 Sat Jan 17 21:09:46 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4026  
4027         * gengenrtl.c (type_from_format): De-ANSIfy function signature.
4028         (accessor_from_format): Likewise.
4029         (xmalloc): New function for use when linking with alloca.o.
4030
4031 Mon Jan  5 02:53:01 1998  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>
4032
4033         * frame.c (find_fde): Correct FDE's upper bound.
4034
4035 Fri Jan 16 16:23:52 1998  Richard Henderson  <rth@cygnus.com>
4036
4037         * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
4038
4039 Fri Jan 16 10:16:10 1998  Jeffrey A Law  (law@cygnus.com)
4040
4041         * calls.c (expand_call): Move #ifdef code out of macro argument
4042         lists.
4043         (emit_library_call, emit_library_call_value): Likewise.
4044
4045 Fri Jan 16 00:46:40 1998  Jeffrey A Law  (law@cygnus.com)
4046
4047         * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
4048
4049 Thu Jan 15 01:02:30 1998  Jeffrey A Law  (law@cygnus.com)
4050
4051         * version.c: Bump for snapshot.
4052
4053 Wed Jan 14 22:49:17 1998  Richard Henderson  <rth@cygnus.com>
4054
4055         * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
4056         change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
4057         * caller-save.c, calls.c, combine.c, cse.c: Likewise.
4058         * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
4059         * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
4060         * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
4061         * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
4062         * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
4063         * unroll.c, varasm.c: Likewise.
4064         * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
4065
4066 Wed Jan 14 19:36:08 1998  Gavin Koch  (gavin@cygnus.com)
4067
4068         * mips.h: Fix some type-o's from a previous change.
4069
4070 Wed Jan 14 01:26:05 1998  Jeffrey A Law  (law@cygnus.com)
4071
4072         * loop.c (check_dbra_loop): Make sure initial value is a 
4073         CONST_INT before trying to normalize it.
4074
4075 Tue Jan 13 23:27:54 1998  Robert Lipe   (robertl@dgii.com)
4076
4077         * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
4078
4079 Tue Jan 13 22:47:02 1998  Herman ten Brugge <herman@htbrug.net.HCC.nl>
4080
4081         * cppexp.c: Include gansidecl.h
4082
4083 Tue Jan 13 22:43:35 1998  Ian Lance Taylor  <ian@cygnus.com>
4084
4085         * svr4.h (LINK_SPEC): Never specify -h.
4086         * ptx4.h (LINK_SPEC): Likewise.
4087         * rs6000/sysv4.h (LINK_SPEC): Likewise.
4088         * sparc/sol2.h (LINK_SPEC): Likewise.
4089
4090 Tue Jan 13 22:39:40 1998  Richard Henderson  (rth@cygnus.com)
4091
4092         * c-typeck.c (comptypes): Exit early on NULL input.
4093
4094         * haifa-sched.c (schedule_insns): Correctly remove inter-block
4095         dependencies after reload.
4096
4097 Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4098
4099         * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
4100
4101 Tue Jan 13 22:14:57 1998  Klaus Kaempf <kkaempf@progis.de>
4102
4103         * alpha/vms.h (DIR_SEPARATOR): define
4104
4105 Tue Jan 13 22:13:04 1998  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>
4106
4107         * Makefile.in (stamp-proto): Remove.
4108         (protoize.o, unprotoize.o): Straightforward compile.
4109         * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
4110
4111 Tue Jan 13 21:59:39 1998  Mumit Khan <khan@xraylith.wisc.edu>
4112
4113         * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
4114         off the trailing @[NUM] added by ENCODE_SECTION_INFO.
4115
4116 Tue Jan 13 21:55:06 1998  Jeffrey A Law  (law@cygnus.com)
4117
4118         * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
4119         * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
4120         * sparc/netbsd.h, vax/netbsd.h: Likewise.
4121
4122 Tue Jan 13 21:37:07 1998  Shigeya Suzuki <shigeya@foretune.co.jp>
4123
4124         * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
4125
4126 Tue Jan 13 17:50:55 1998  Jim Wilson  <wilson@cygnus.com>
4127
4128         * configure.in (target_cpu_default, target_cpu_default2): Use double
4129         quotes around them when testing their value.
4130         * configure: Rebuilt.
4131         
4132 Tue Jan 13 09:07:44 1998  John Carr  <jfc@mit.edu>
4133
4134         * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
4135         to allocate rtx.
4136         (gendef): Call obstack_alloc_rtx.
4137
4138 Tue Jan 13 01:16:36 1998   Robert Lipe (robertl@dgii.com)
4139
4140         * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
4141         for now.
4142
4143 Thu Dec 18 18:40:17 1997  Mumit Khan <khan@xraylith.wisc.edu>
4144         
4145         * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
4146         of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
4147         (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
4148
4149 Tue Jan 13 00:44:02 1998  Jim Wilson  <wilson@cygnus.com> 
4150
4151         * mips.md (return_internal): Change mode from SImode to VOIDmode.
4152
4153 Sat Jan 10 22:11:39 1998  J. Kean Johnston  <jkj@sco.com>
4154
4155         * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
4156         "-static".
4157
4158 Sat Jan 10 22:04:15 1998  Stan Cox  <scox@equinox.cygnus.com>
4159
4160         * i386.md: (movsicc_1, movhicc_1):  For alternate 3 set the opcode
4161         suffix from operand 3.
4162
4163 Sat Jan 10 21:50:16 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4164                           Jeffrey A Law  (law@cygnus.com)
4165
4166         * regmove.c: New implementation of regmove pass.
4167         * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
4168         decls, make them have external linkage.  Return a value from
4169         optimize_reg_copy_1.
4170         * reload.h (count_occurrences): Add decl.
4171         * reload1.c (count_occurrences): Delete decl, make it have external
4172         linkage.
4173         * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
4174
4175 Sat Jan 10 20:30:12 1998  Jeffrey A Law  (law@cygnus.com)
4176  
4177         * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
4178         if it is not defined.
4179  
4180 Thu Jan  8 21:06:54 1998  Richard Henderson  <rth@cygnus.com>
4181
4182         * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
4183         * emit-rtl.c (gen_rtx): Move special code to ...
4184         (gen_rtx_CONST_INT): New function.
4185         (gen_rtx_REG): New function.
4186         (*): Update all calls to gen_rtx.
4187         * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
4188         * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
4189         (GEN_INT): Call gen_rtx_CONST_INT.
4190         * gengenrtl.c: New file.
4191
4192 Mon Jan  5 13:00:18 1998  John F. Carr  <jfc@mit.edu>
4193
4194         * alias.c (*_dependence): Call base_alias_check before canon_rtx.
4195         (base_alias_check): If no base found for address call canon_rtx and
4196         try again.
4197
4198 Mon Jan  5 11:39:49 1998  Jeffrey A Law  (law@cygnus.com)
4199
4200         * mips.c (mips_expand_prologue): Handle large frame with no outgoing
4201         arguments for mips16.
4202         (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
4203         Don't lose if tsize is zero after handling large stack for mips16.
4204         * mips.md (return): For trivial return, return address is in $31.
4205
4206 Sun Jan  4 20:24:00 1998  Nigel Stephens  <nigel@algor.co.uk>
4207
4208         *  mips/mips16.S: Various changes to make it work with -msingle-float
4209         and -EL.
4210
4211 Sun Jan  4 14:25:18 1998  Gavin Koch  <gavin@cygnus.com>
4212                           Ian Lance Taylor  <ian@cygnus.com>
4213                           Jeff Law  <law@cygnus.com>
4214
4215         * mips.c, mips.h, mips.md: First cut at merging in mips16
4216         support.  Major modifications throughout all three files.
4217
4218 Sun Jan  4 01:01:50 1998  scott snyder  <snyder@d0sgif.fnal.gov>
4219
4220         * configure.in: Make gthr-default.h a forwarding header instead of
4221         a symlink.
4222
4223 Sat Jan  3 12:08:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4224
4225         * gcov-io.h: Include sys/types.h to ensure we get size_t.
4226
4227         * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
4228
4229 Fri Jan  2 23:40:09 1998  Jim Wilson  (wilson@cygnus.com)
4230                           Jeffrey A Law  (law@cygnus.com)
4231
4232         * crtstuff.c (__frame_dummy): New function for irix6.
4233         (__do_global_ctors): Call __frame_dummy for irix6.
4234         * iris6.h (LINK_SPEC): Hide __frame_dummy too.
4235
4236 Fri Jan  2 04:57:57 1998  Weiwen Liu  <liu@hepmail.physics.yale.edu>
4237
4238         * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
4239
4240 Fri Jan  2 04:34:14 1998  Richard Henderson  <rth@cygnus.com>
4241
4242         * c-decl.c (init_decl_processing): Provide proper fallback symbol
4243         for __builtin_memset.
4244         * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
4245         not INTEGER_CST.  Assert arg 3 is a constant.
4246
4247         * alpha.c (mode_width_operand): Accept 64-bit modes.
4248         (mode_mask_operand): Likewise.
4249         (print_operand): Likewise for 'M' and 'U' codes.
4250         (alpha_expand_unaligned_load): New function.
4251         (alpha_expand_unaligned_store): Likewise.
4252         (alpha_expand_unaligned_load_words): Likewise.
4253         (alpha_expand_unaligned_store_words): Likewise.
4254         (alpha_expand_block_move): Likewise.
4255         (alpha_expand_block_clear): Likewise.
4256         * alpha.h (MOVE_RATIO): New define.
4257         * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
4258         (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
4259
4260         * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
4261         (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
4262
4263 Thu Jan  1 15:40:15 1998  Richard Henderson  <rth@cygnus.com>
4264
4265         * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
4266         * configure: Update.
4267
4268 Thu Jan  1 10:49:12 1998  Jeffrey A Law  (law@cygnus.com)
4269
4270         * emit-rtl.c (operand_subword): Correctly handle extracting a word
4271         from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
4272
4273         * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
4274         for first argument.
4275
4276 Wed Dec 31 14:42:18 1997  Ian Lance Taylor  <ian@cygnus.com>
4277
4278         * configure.in: Set and subsitute host_exeext.  Use it when creating
4279         the assembler and linker symlinks.
4280         * configure: Rebuild.
4281         * Makefile.in (exeext): Set to @host_exeext@.
4282         (build_exeext): New variable, set to @build_exeext@.
4283         (FLAGS_TO_PASS): Pass down build_exeext.
4284         (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
4285         programs.
4286
4287 Wed Dec 31 10:05:44 1997  Jeffrey A Law  (law@cygnus.com)
4288
4289         * mn10200.md (addsi3, subsi3): Fix thinkos.
4290
4291 Tue Dec 30 00:04:49 1997  Richard Henderson  <rth@cygnus.com>
4292
4293         * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
4294         save+restore.  Fix pic+big_offset delay slot.  Use "pic" case for
4295         unix always, since we want to be able to thunk to functions in a
4296         shared library from an application.
4297
4298 Mon Dec 29 14:37:31 1997  Ian Lance Taylor  <ian@cygnus.com>
4299
4300         * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
4301         (LIB1ASMSRC, LIB1ASMFUNCS): Define.
4302
4303 Mon Dec 29 14:03:38 1997  Jeffrey A Law  (law@cygnus.com)
4304
4305         * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
4306         offset's mode is not ptr_mode, convert it.
4307
4308 Mon Dec 29 15:58:18 1997  Michael Meissner  <meissner@cygnus.com>
4309
4310         * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
4311         compiling if it was already defined.
4312
4313 Sun Dec 28 00:32:16 1997  Jeffrey A Law  (law@cygnus.com)
4314
4315         * flow.c (find_basic_blocks): Don't create a new basic block
4316         for calls in a LIBCALL block.
4317
4318 Sun Dec 28 00:30:24 1997  David Edelsohn  <edelsohn@mhpcc.edu>
4319
4320         * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
4321
4322 Sat Dec 27 22:43:12 1997  Jeffrey A Law  (law@cygnus.com)
4323
4324         * cse.c (rtx_cost): Remove conflicting default case.
4325
4326 Sat Dec 27 21:20:02 1997  Richard Henderson  <rth@cygnus.com>
4327
4328         * configure.in: Move default enabling of Haifa out of for loop.
4329         * configure: Rebuild.
4330
4331 Thu Dec 25 01:02:54 1997  Jeffrey A Law  (law@cygnus.com)
4332
4333         * version.c: Bump for snapshot.
4334
4335 1997-12-25  Teemu Torma  <tot@trema.com>
4336
4337         * Makefile.in (GTHREAD_FLAGS): New var.
4338         (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
4339         (distclean): Remove gthr-default.h.
4340
4341         * configure.in: Accept dce as a thread package.
4342         Check for thread.h and pthread.h.
4343         Link gthr-default.h to appropriate thread file and set
4344         gthread_flags.
4345         (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
4346         include multilib definitions from pa/t-dce-thr.
4347         (sparc-*-solaris2*): Enable threads by default, if thread.h or
4348         pthread.h is found, preferring posix threads over solaris ones.
4349
4350         * config/pa/t-dce-thr: New file.
4351         * config/pa/t-pa: Removed multilibs.
4352         * config/sparc/t-sol2: Ditto.
4353                 
4354         * gthr.h: New file.
4355         * gthr-single.h: New file.
4356         * gthr-posix.h: New file.
4357         * gthr-solaris.h: New file.
4358         * gthr-dce.h: New file.
4359         * libgcc-thr.h: Removed.
4360         * objc/thr-dce.c: New file copied from thr-decosf1.c.
4361
4362         * frame.c: Include gthr.h instead of libgcc-thr.h.
4363         * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
4364         (eh_context_initialize): If __gthread_once fails, use static eh
4365         context.
4366         (eh_context_free): Call __gthread_key_dtor.
4367
4368 Wed Dec 24 23:33:17 1997  Jeffrey A Law  (law@cygnus.com)
4369
4370         * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
4371
4372 Wed Dec 24 23:12:14 1997  Jim Wilson  <wilson@cygnus.com>
4373
4374         * cse.c (max_insn_uid): New variable.
4375         (cse_around_loop): Use max_insn_uid.
4376         (cse_main): Set max_insn_uid.
4377
4378         * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
4379         and define __LONG_MAX__ appropriately.  Add support for -mabi=X,
4380         -mlong64, and -mgp{32,64} options.
4381         * mips.c (mips_abi): Change type to int.
4382         * mips.h (enum mips_abi_type): Delete.
4383         (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
4384         (mips_abi): Change type to int.
4385
4386 Wed Dec 24 22:38:34 1997  John Carr  <jfc@mit.edu>
4387
4388         * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
4389         optimization is now always enabled.
4390
4391         * calls.c (expand_call): Recognize C++ operator new as malloc-like
4392         function.
4393
4394         * alias.c (memrefs_conflict_p): Eliminate tests now done by
4395         base_alias_check.
4396         (*_dependence): Call canon_rtx before base_alias_check.
4397         (init_alias_once): New function to precompute set of registers which
4398         can hold Pmode function arguments.
4399
4400         * rtl.h: Declare init_alias_once.
4401
4402         * toplev.c (compile_file): Call init_alias_once.
4403
4404 Wed Dec 24 22:34:55 1997  Jeffrey A Law  (law@cygnus.com)
4405
4406         * tree.c (restore_tree_status): Do not dereference a null pointer.
4407
4408 Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
4409
4410         * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
4411         RLIMIT_STACK.  This maintains consistency with the recent, similar
4412         patch to cccp.c and toplev.c.
4413
4414 Tue Dec 23 05:17:28 1997  Richard Henderson  <rth@cygnus.com>
4415
4416         * genattrtab.c (expand_units): For large nr opclasses, expand
4417         function_units_used with ORX to prevent blowups.  Tag with FFS.
4418         (num_unit_opclasses): New variable.
4419         (gen_unit): Update it.
4420         (enum operator): Add ORX_OP.
4421         (operate_exp): Treat ORX as or, except don't expand across an if.
4422         Reuse number rtx's after operating on them.
4423         (check_attr_value): Accept IOR, AND, & FFS.
4424         (write_test_expr): Transmute `in_comparison' to `flags'.  Allow
4425         for attribute value caching.  Handle CONST_STRING, IF_THEN_ELSE.
4426         (write_expr_attr_cache, write_toplevel_expr): New functions.
4427         (write_attr_get): Handle FFS-tagged expressions.
4428         (make_canonical): Don't expand const attributes.
4429         (convert_const_symbol_ref): Dike out.
4430         (evaluate_eq_attr): Handle SYMBOL_REF.
4431         (main): Don't emit get_attr_foo for const attributes.
4432
4433         * alpha.c (override_options): Reinstate PROCESSOR_EV6.
4434         (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
4435         * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
4436         * alpha.md: Redo all of the scheduling, adding EV6 support, and 
4437         combining function units where possible.  
4438         (attr "type"): Split loads, stores, cmov into int/fp.  Combine
4439         multiplies and divides.  Add EV6 sqrt, ftoi, itof.
4440         (attr "opsize"): New attribute.
4441         (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
4442         (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
4443         to control register allocation.
4444         (movsi2-1, movdi2-1): Likewise.
4445
4446 Tue Dec 23 03:53:21 1997  Richard Henderson  <rth@cygnus.com>
4447         
4448         * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
4449         MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
4450         Move OSF/1 specific defines out.
4451         * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
4452         Move Linux specific defines out.
4453         (LINK_SPEC): Genericize.
4454         (ASM_FILE_START): Emit .arch if using more than the base insn set.
4455         (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
4456         (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
4457         (HANDLE_SYSV_PRAGMA): Define.
4458         * alpha/osf.h: New file.
4459         * alpha/linux.h: Split.  Retain file-format independant defines.
4460         Import Linux bits from elf.h.
4461         (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
4462         (FUNCTION_PROFILER): _mcount takes its address in $28.
4463         (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
4464         * alpha/linux-ecoff.h: New file.
4465         * alpha/linux-elf.h: New file.
4466         * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
4467         * alpha/win-nt.h (TARGET_DEFAULT): Define.
4468         * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
4469         Add new headers as appropriate.
4470         
4471         * configure.in (alpha*): Enable Haifa by default.
4472         (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
4473         * configure: Rebuild.
4474         
4475 Tue Dec 23 03:14:54 1997  Richard Henderson  <rth@cygnus.com>
4476
4477         * Makefile.in (clean): Remove the stages with their objects here ...
4478         (distclean): ... instead of here.
4479
4480 Mon Dec 22 11:24:01 1997  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4481  
4482         * cse.c (rtx_cost): Add default case in enumeration switch.
4483         * fix-header.c (recognized_macro): Likewise.
4484         (recognized_extern): Likewise.
4485         (write_rbrac): Likewise.
4486         * objc/objc-act.c (encode_aggregate): Likewise.
4487         (gen_declarator): Likewise.
4488         (gen_declspecs): Likewise.
4489
4490 Mon Dec 22 09:58:51 1997  Jeffrey A Law  (law@cygnus.com)
4491
4492         * haifa-sched.c (create_reg_dead_note): Detect and handle another
4493         case where we kill more regs after sched than were killed before
4494         sched.
4495         * sched.c (create_reg_dead_note): Similarly.
4496
4497 Mon Dec 22 09:18:37 1997  Jeffrey A Law  (law@cygnus.com)
4498
4499         * c-pragma.c: Include flags.h.
4500
4501 Sun Dec 21 22:10:59 1997  Mumit Khan <khan@xraylith.wisc.edu>
4502
4503         * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
4504         about system headers.
4505         (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
4506         and also to resolve symbols in prefix.c.
4507
4508         * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
4509         between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
4510         when the definitions in auto-config.h is not visible.
4511         (HAVE_BZERO): Likewise.
4512         (HAVE_BCMP): Likewise.
4513         (HAVE_RINDEX): Likewise.
4514         (HAVE_INDEX): Likewise.
4515
4516 Sun Dec 21 21:54:22 1997  Jeffrey A Law  (law@cygnus.com)
4517
4518         * pa.c (emit_move_sequence): Handle a function label source
4519         operand.
4520
4521 Sun Dec 21 16:13:55 1997  Nick Clifton  <nickc@cygnus.com
4522
4523         * c-pragma.c (handle_pragma_token): Generate warning messages
4524         about unknown pragmas if warn_unknown_pragmas is set.
4525
4526         * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
4527         line option to set variable: warn_unknown_pragmas.
4528
4529 Sun Dec 21 15:51:10 1997  Manfred Hollstein  <manfred@lts.sel.alcatel.de>
4530
4531         * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
4532         definition.
4533         (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
4534
4535 Sun Dec 21 13:58:39 1997  Jeffrey A Law  (law@cygnus.com)
4536
4537         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
4538         (libgcc2.a): Depend on $(DPBIT) and $(FPBIT).  Add rules to
4539         generate more fine grained floating point emulation libraries.
4540         * config/fp-bit.c: Add protecting #ifdef to all functions so
4541         that they can be compiled separately.  If !FINE_GRAINED_LIBRARIES,
4542         then compile all suitable functions.
4543         (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
4544         underscores to avoid namespace pollution.
4545         * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
4546         (FPBIT): Define.
4547         * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
4548         (FPBIT): Define.
4549         (DPBIT): Define.
4550
4551 Sat Dec 20 11:26:47 1997  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4552                           Jeff Law  <law@cygnus.com>
4553
4554         * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
4555         of the declaration.
4556         * c-decl.c (finish_decl): Use parentheses around && within ||.
4557         * rtl.c: Include stdlib.h.
4558         (read_skip_spaces): Add parentheses around assignments used as
4559         truth values.
4560         (read_rtx): Initialize list_rtx.
4561         * cppexp.c (parse_number): Use || when operands are truth values.
4562         * alias.c (find_base_value): Add default case.
4563         (memrefs_conflict): Likewise.
4564         * combine.c (sets_function_arg_p): Likewise.
4565         * genemit.c (gen_exp): Likewise.
4566         * local-alloc.c (contains_replace_regs): Likewise.
4567         * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
4568         * fold-const.c (fold_convert): Use "&&" for truth values.
4569         (fold): Add default case.
4570         * sdbout.c (sdbout_field_types): Fix typo in declaration.
4571         (sdbout_one_type): Add default case.
4572         * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
4573         (some_operand): Add default case.
4574         (input_operand): Likewise.
4575         (signed_comparison_operator): Likewise.
4576         (divmod_operator): Likewise.
4577         (alpha_set_memflags_1): Likewise.
4578         * reload1.c (reload_cse_simplify_operands): Ensure function
4579         always returns a value.
4580         * scan-decls.c (scan_decls): Likewise.
4581         * c-lex.c (skip_white_space): Fix typo in declaraion.
4582         * c-typeck.c (comp_target_types): Add parentheses around assignment
4583         used as truth value.
4584         (print_spelling): Likewise.
4585         (constructor_implicit, constructor_result): Remove unused variables.
4586         * collect2.c (scan_library): Protect prototype with
4587         #ifdef SCAN_LIBRARIES.
4588         * emit-rtl.c (find_line_note): Fix typo in declaration.
4589         * final.c (asm_insn_count): Protect prototype with 
4590         #ifdef HAVE_ATTR_length.
4591         * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
4592         (try_pre_increment_1, try_pre_increment): Likewise.
4593         * regclass.c (auto_inc_dec_reg_p): Protect prototype with
4594         #ifdef FORBIDDEN_INC_DEC_CLASSES.  Make return type explicit.
4595         * gcov-io.h (__store_long, __write_long, __read_long): Fix
4596         unsigned/signed comparisons.
4597         * gcov.c (read_files): Remove unused "first_type" variable.
4598         (scan _for_source_files): Initialize s_ptr.
4599         (function_summary): Eliminate "%lf" formatting, use %ld for
4600         longs.
4601         (output_data): Initialize branch_probs and last_line_num.
4602         Eliminate "%lf" formatting, use "%ld" for longs.
4603
4604 Fri Dec 19 17:31:11 1997  Ian Lance Taylor  <ian@cygnus.com>
4605
4606         * mips16.S: New file.
4607
4608         * libgcc2.c (varargs): Handle mips16.
4609
4610         * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
4611         expression.
4612         * stmt.c (expand_end_case): Likewise.
4613         * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
4614         * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
4615         * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
4616
4617 Tue Dec 16 15:14:09 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4618
4619         * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
4620         the build directory.
4621         (libobjc.a): Update dependency list.
4622         (libobjc.dll): Likewise.  Use libobjc_entry.o from the build
4623         directory.
4624         (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
4625         (objc.mostlyclean): Remove runtime-info.h.
4626
4627 Fri Dec 19 00:19:42 1997  Richard Henderson  <rth@cygnus.com>
4628
4629         * tree.c (build_range_type): Allow creation of ranges with no maximum.
4630         * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
4631         * dwarf2out.c (add_subscript_info): Likewise.
4632         * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
4633         * sdbout.c (plain_type_1): Likewise.
4634         * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
4635         Likewise.
4636         * fold-const.c (int_const_binop, fold_convert, make_range, fold):
4637         Likewise.
4638
4639 Thu Dec 18 17:05:10 1997  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4640  
4641         * mips.c (fatal): Remove declaration.
4642
4643 1997-12-18  Mark Mitchell  <mmitchell@usa.net>
4644
4645         * integrate.c (get_label_from_map): New function.
4646         (expand_inline_function): Use it.  Initialize the label_map to
4647         NULL_RTX instead of gen_label_rtx.
4648         (copy_rtx_and_substitute): Use get_label_from_map.
4649         * integrate.h (get_label_from_map): New function.
4650         (set_label_from_map): New macro.
4651         * unroll.c (unroll_loop): Use them.
4652         (copy_loop_body): Ditto.
4653
4654 Thu Dec 18 19:19:57 1997  Ian Lance Taylor  <ian@cygnus.com>
4655
4656         * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
4657         (INIT_TARGET_OPTABS): Define.
4658         * mips/ecoff.h: Include gofast.h before mips.h.
4659         (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
4660         * mips/elf64.h: Likewise.
4661         * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
4662
4663 Thu Dec 18 14:51:12 1997  Jason Merrill  <jason@yorick.cygnus.com>
4664
4665         * except.c: Remove register_exception_table{,_p}.
4666
4667 Thu Dec 18 14:57:29 1997  Gavin Koch  <gavin@cygnus.com>
4668
4669         * unroll.c (calculate_giv_inc): Handle constant increment found in
4670         a MEM with an appropriate REG_EQUAL note.
4671
4672         * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
4673
4674         * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
4675         frame pointer in the prologue.
4676
4677 Thu Dec 18 00:19:38 1997  Robert Lipe <robertl@dgii.com>
4678
4679         * i386/x-sco5 (CLIB) Deleted.  (ALLOCA) Added.
4680         * i386/xm-sco5.h  (USE_C_ALLOCA) Added.
4681
4682 Tue Dec 16 18:51:00 1997  Bill Moyer <billm@cygnus.com>
4683          
4684         * config/m68k/m68k.c (output_function_prologue): Typecast
4685         dwarf2out_cfi_label to (char *).
4686         * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
4687          
4688 Wed Dec 17 15:06:04 1997  Richard Henderson  <rth@cygnus.com>
4689
4690         * sparc.md (jump): Don't use the annul bit around an empty loop.
4691         Patch from Kevin.Kelly@East.Sun.COM.
4692
4693 Wed Dec 17 00:51:36 1997  Stan Cox (scox@cygnus.com)
4694
4695         * jump.c: (jump_optimize): Don't use the return register as a 
4696         source1 of a conditional move.
4697
4698 Tue Dec 16 23:45:40 1997  Richard Henderson  <rth@cygnus.com>
4699
4700         * sparc.c (DF_MODES): Or the mask not the bit number.
4701         (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
4702
4703 Wed Dec 17 00:13:48 1997  Christian Iseli  <Christian.Iseli@lslsun.epfl.ch>
4704
4705         * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
4706
4707 Tue Dec 16 23:44:54 1997  Manfred Hollstein  <manfred@s-direktnet.de>
4708
4709         * fixincludes (size_t): Add support for Motorola's stdlib.h
4710         which fails to provide a definition for size_t.
4711         (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
4712         (strlen,strspn,strcspn return value): Handle different layout on sysV88.
4713         (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
4714
4715         * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
4716         prevent unresolved externals in libio.
4717         * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
4718
4719 Tue Dec 16 23:25:45 1997  H.J. Lu  (hjl@gnu.org)
4720
4721         * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
4722         (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
4723         (LIB_SPEC): Updated for glibc 2.
4724
4725 Tue Dec 16 20:11:36 1997  Jeffrey A Law  (law@cygnus.com)
4726
4727         * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
4728         * ginclude/varargs.h: Likewise.
4729
4730 Tue Dec 16 00:32:01 1997  Jeffrey A Law  (law@cygnus.com)
4731
4732         * version.c: Bump for snapshot.
4733
4734 Tue Dec 16 00:14:29 1997  H.J. Lu  (hjl@gnu.org)
4735
4736         * frame.h (__register_frame, __register_frame_table,
4737         __deregister_frame): New.
4738         * frame.c (__register_frame, __register_frame_table,
4739         __deregister_frame): New.
4740         * frame.c (__deregister_frame_info): Return void *.
4741         * frame.h (__deregister_frame_info): Ditto.
4742         * collect2.c (__deregister_frame_info): Ditto.
4743
4744 Mon Dec 15 18:40:08 1997  Richard Henderson  <rth@cygnus.com>
4745
4746         * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
4747
4748 Mon Dec 15 18:31:43 1997  Richard Henderson  <rth@cygnus.com>
4749
4750         * alpha.c (alpha_cpu_name): New variable.
4751         (alpha_mlat_string): Likewise.
4752         (alpha_memory_latency): Likewise.
4753         (override_options): Handle -mmemory-latency.
4754         (alpha_adjust_cost): Adjust load cost for latency.
4755         * alpha.h (TARGET_OPTIONS): Add meory-latency.
4756         (REGISTER_MOVE_COST): Define in terms of memory_latency.  Take
4757         TARGET_CIX into account.
4758         (MEMORY_MOVE_COST): Define in terms of memory_latency.
4759         * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
4760
4761         * alpha.h (ASM_COMMENT_START): New macro.
4762
4763 Mon Dec 15 17:48:05 1997  Richard Henderson  <rth@cygnus.com>
4764
4765         * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
4766         dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
4767
4768         * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
4769         SUBREG_REG if the word count is unchanged.
4770         * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
4771         subregs of identical word size for push_reload.
4772
4773 Mon Dec 15  Mark Mitchell  <mmitchell@usa.net> 11:41:32 1997
4774
4775         * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
4776         if all we're doing is dealing with -Wreturn-type.
4777
4778 Mon Dec 15 09:44:39 1997  Richard Henderson  <rth@cygnus.com>
4779
4780         * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
4781         Use and 255 instead of zapnot 1, since it schedules better.
4782
4783 Mon Dec 15 08:48:24 1997  Jeffrey A Law  (law@cygnus.com)
4784
4785         * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
4786         it as volatile.
4787
4788 Mon Dec 15 00:04:48 1997  Jeffrey A Law  (law@cygnus.com)
4789
4790         * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
4791         dependency we delete.  Properly update prev for multiple consecutive
4792         deletions.
4793         (priority): Skip deleted dependence.
4794
4795 Fri Dec 12 18:54:23 1997  Per Bothner  <bothner@cygnus.com>
4796
4797         * expr.c (expand_builtin):  Support BUILT_IN_FMOD - just call fmod.
4798
4799 Fri Dec 12 01:19:48 1997  Jason Merrill  <jason@yorick.cygnus.com>
4800
4801         * flow.c (flow_analysis): Be consistent with find_basic_blocks in
4802         determining when a new basic block starts.
4803
4804         * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
4805
4806         * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
4807         * pa.md (iorsi3): Add missing args to *_operand calls.
4808
4809         * except.c (call_get_eh_context): Don't mess with sequences.
4810         (emit_eh_context): Include the call in the sequence here.
4811
4812 1997-12-11  Paul Eggert  <eggert@twinsun.com>
4813
4814         * collect2.c (write_c_file_glob): Allocate initial frame object
4815         in static storage and pass its address.
4816
4817 Thu Dec 11 23:33:48 1997  Jason Merrill  <jason@yorick.cygnus.com>
4818
4819         * except.c (call_get_eh_context): Don't take a parm.
4820         Put the call at the top of the function.
4821         (emit_eh_context): Adjust.
4822         (get_eh_context): Replace with former use_eh_context.
4823         (get_eh_context_once, get_saved_pc_ref): Remove.
4824         (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
4825         * except.h: Adjust.
4826         * integrate.c (expand_inline_function): Adjust.
4827         * toplev.c (rest_of_compilation): Don't call emit_unwinder.
4828
4829 Fri Oct 10 17:58:31 CEST 1997  Marc Lehmann <pcg@goof.com>
4830
4831         * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
4832         (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
4833
4834 Thu Dec 11 23:55:17 1997  Manfred Hollstein  <manfred@s-direktnet.de>
4835
4836         * fixincludes (strlen,strspn,strcspn return value): Handle different
4837         layout on sysV88.
4838         (hypot): Provide a fake for hypot which is broken on 
4839         m88k-motorola-sysv3.
4840
4841 Thu Dec 11 23:50:17 1997  John F. Carr  <jfc@mit.edu>
4842
4843         * tree.c, tree.h: Change tree_code_type, tree_code_length, and
4844         tree_code_name from pointers to arrays.
4845         * tree.c: Remove standard_tree_code_* variables, no longer used.
4846         * print-tree.c: Remove declaration of tree_code_name.
4847
4848         * cp/lex.c (init_lex): Update for tree_code_* changes.
4849         * objc/objc-act.c (init_objc): Likewise.
4850
4851         * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
4852         changes.
4853
4854 Thu Dec 11 23:34:54 1997  Fred Fish  <fnf@ninemoons.com>
4855
4856         * config.sub: Add support for BeOS target.
4857         * configure.in: Likewise.
4858         * ginclude/stdarg.h: Likewise.
4859         * ginclude/stddef.h: Likewise.
4860         * ginclude/varargs.h: Likewise.
4861         * rs6000/beos.h: New file for BeOS.
4862         * rs6000/t-beos: Likewise.
4863         * rs6000/x-beos: Likewise.
4864         * rs6000/xm-beos.h: Likewise.
4865         * toplev.c (get_run_time): Just return 0 on BeOS.
4866
4867 Thu Dec 11 23:25:23 1997  Jeffrey A Law  (law@cygnus.com)
4868                           Toon Moene  (toon@moene.indiv.nluug.nl)
4869
4870         * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
4871         old and broken Sun3 assemblers.  Newer versions handle large
4872         offsets correctly as does the GNU assembler.
4873
4874 Thu Dec 11 23:06:48 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
4875
4876         * objc/objc-act.c (lang_report_error_function): Disable.
4877         * objc/objc-parse.y: Include "output.h".
4878         (yyerror): Remove redundant decl.
4879         (yyprint): Fix prototype.
4880         (apply_args_register_offset): Remove redundant decl.
4881         (get_file_function_name): Likewise.
4882
4883 Thu Dec 11 22:02:10 1997  Jason Merrill  <jason@yorick.cygnus.com>
4884
4885         * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
4886         a new basic block.
4887         (find_basic_blocks_1): Likewise.
4888
4889 Thu Dec 11 21:08:48 1997  Jason Merrill  <jason@yorick.cygnus.com>
4890
4891         * except.c (use_eh_context): Don't copy_rtx a REG.
4892         (emit_throw): Lose old unwinder support.
4893         (expand_internal_throw): Likewise.
4894         * libgcc2.c (struct eh_context): Likewise.
4895         (new_eh_context): Likewise.
4896         (__get_eh_info): Lose redundant cast.
4897         (__get_dynamic_handler_chain): Likewise.
4898         (__get_saved_pc): Lose.
4899         Lose all old unwinder support code.
4900
4901 Thu Dec 11 20:42:18 1997  Teemu Torma  <tot@trema.com>
4902
4903         Thread-safe EH support for pthreads, DCE threads and Solaris threads.
4904         
4905         * integrate.c (expand_inline_function): If the inline fn uses eh
4906         context, make sure that the current fn has one.
4907         * toplev.c (rest_of_compilation): Call emit_eh_context.
4908         * except.c (use_eh_context): New fn.
4909         (get_eh_context_once): New fn.
4910         (call_get_eh_context): New fn.
4911         (emit_eh_context): New fn.
4912         (get_eh_context): Call either get_eh_context_once or
4913         call_get_eh_context, depending on what we have.
4914         (get_dynamic_handler_chain): Call get_eh_context_once.
4915         * except.h: Prototypes for fns above.
4916         * optabs.c (get_eh_context_libfunc): Removed.
4917         (init_optabs): Don't initialize it.
4918         * expr.h (get_eh_context_libfunc): Removed.
4919         * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
4920         * config/pa/pa.h (CPP_SPEC): Support for -threads.
4921         * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
4922         * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
4923         New multilib for -threads.
4924         * config/sparc/t-sol2: Added multilibs for -threads and
4925         made -pthreads alias to it.
4926         * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
4927         Added -threads and -pthreads options.
4928         * libgcc-thr.h: New file.
4929         * libgcc2.c: (__get_cpp_eh_context): Removed.
4930         (struct cpp_eh_context): Removed.
4931         (struct eh_context): Replaced cpp_eh_context with generic language
4932         specific pointer. 
4933         (__get_eh_info): New function.
4934         (__throw): Check eh_context::info.
4935         (__sjthrow): Ditto.
4936         * libgcc2.c: Include libgcc-thr.h.
4937         (new_eh_context, __get_eh_context,
4938         eh_pthread_initialize, eh_context_initialize, eh_context_static,
4939         eh_context_specific, eh_context_free): New functions.
4940         (get_eh_context, eh_context_key): New variables.
4941         (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
4942         get_eh_context to get the context.
4943         (longjmp): Move the declaration inside
4944         #ifdef DONT_USE_BUILTIN_SETJMP.
4945         * frame.c: Include libgcc-thr.h.
4946         (object_mutex): Mutex to protect the object list.
4947         (find_fde, __register_frame, __register_frame_table,
4948         __deregister_frame): Hold the lock while accessing objects.
4949         * except.h (get_eh_context): Declare.
4950         * except.c (current_function_ehc): Define.
4951         (current_function_dhc, current_function_dcc): Removed.
4952         (get_eh_context): New function.
4953         (get_dynamic_handler_chain): Use get_eh_context.
4954         (get_saved_pc_ref): Ditto.
4955         (get_dynamic_cleanup_chain): Removed references to
4956         current_function_dcc.
4957         (save_eh_status, restore_eh_status): Save and restore
4958         current_function_ehc instead.
4959         * optabs.c (get_eh_context_libfunc): New variable.
4960         (init_optabs): Initialize it.
4961         * expr.h: Declare get_eh_context_libfunc.
4962         * function.h (struct function): Replaced dhc and dcc with ehc.
4963         * except.c (get_saved_pc_ref): New functions.
4964         (eh_saved_pc_rtx, eh_saved_pc): Deleted.
4965         (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
4966         of eh_saved_pc.
4967         (end_eh_unwinder): Likewise.
4968         (init_eh): Remove initialization of eh_saved_pc.
4969         * optabs.c (get_saved_pc_libfunc): New variable.
4970         (init_optabs): Initialize it.
4971         * expr.h: Declare get_saved_pc_libfunc.
4972         * except.h (eh_saved_pc_rtx): Deleted.
4973         (get_saved_pc_ref): Declared.
4974
4975         From Scott Snyder <snyder@d0sgif.fnal.gov>:
4976         * libgcc2.c (__get_saved_pc): New.
4977         (__eh_type, __eh_pc): Deleted.
4978         (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
4979         (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
4980         this fcn.
4981
4982 Thu Dec 11 17:23:48 1997  John F. Carr  <jfc@mit.edu>
4983
4984         * sparc/sol2.h: Use 64 bit multiply and divide functions in
4985         Solaris libc.  Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
4986         as 0.
4987
4988         * rtl.h (global_rtl): New variable, replacing separate variables for
4989         commonly used rtl.
4990         (const_int_rtx): Now array of rtx_def, not rtx.
4991         * emit-rtl.c: Update for new rtl data structures.
4992         * genattrtab.c: Define global_rtl.
4993
4994 Thu Dec 11 15:50:29 1997 David Edelsohn  <edelsohn@mhpcc.edu>
4995
4996         * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
4997         default.
4998
4999 Wed Dec 10 12:30:18 1997  Anthony Green  <green@cygnus.com>
5000
5001         * crtstuff.c (__do_global_ctors): Fix typo.
5002
5003 Tue Dec  9 09:43:59 1997  Manfred Hollstein  <manfred@s-direktnet.de>
5004
5005         * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
5006         to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
5007
5008 Tue Dec  9 09:38:58 1997  David Edelsohn  <edelsohn@mhpcc.edu>
5009
5010         * rs6000.h (FUNCTION_ARG_PADDING): Define.
5011         * rs6000.c (function_arg_padding): New function.
5012
5013 Tue Dec  9 10:34:21 1997  Manfred Hollstein  <manfred@s-direktnet.de>
5014
5015         * m68k.c: Include tree.h only once.
5016
5017 Tue Dec  9 09:32:33 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5018
5019         * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
5020
5021 Tue Dec  9 01:16:06 1997  Jeffrey A Law  (law@cygnus.com)
5022
5023         * Partially cleaned up prototyping code from HJ.
5024         * tree.h: Add many prototypes.
5025         * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
5026         All references changed.
5027         * rtl.h: Protect from multiple inclusions.  Add many prototypes.
5028         
5029 Tue Dec  9 01:15:15 1997  Fred Fish  <fnf@ninemoons.com>
5030
5031         * libgcc2.c (string.h): Hoist inclusion to occur before first use of
5032         string functions like strlen.
5033
5034 Tue Dec  9 00:57:38 1997  Manfred Hollstein  <manfred@s-direktnet.de>
5035
5036         * configure.in: Check for functions getrlimit and setrlimit.
5037         * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
5038         to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
5039
5040 Mon Dec  8 23:53:26 1997  Jay Sachs <sachs@bull.cs.williams.edu>
5041
5042         * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
5043
5044 Mon Dec  8 21:03:28 1997  Richard Henderson  <rth@cygnus.com>
5045
5046         * alpha.c (REG_RA, alpha_return_addr, output_epilog):
5047         Fix merge problems.
5048
5049         * alpha.c (override_options): Don't know about scheduling for EV6.
5050         * alpha.md (ev5 function units): Don't overload as ev6.
5051
5052         * alpha.c (alpha_adjust_cost): Simplify.  Fix typo in ev5 mult case.
5053         * alpha.md (define_attr type): Add mvi.
5054         (ev5_e0): Define sceduling parameters for it.
5055         (TARGET_MAX insns): Type is mvi not shift.
5056
5057 Mon Dec  8 18:15:00 1997  Richard Henderson  <rth@cygnus.com>
5058
5059         * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
5060
5061 Mon Dec  8 21:17:28 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5062
5063         * cstamp-h, auto-config.h: Delete.
5064
5065 Sun Dec  7 19:19:03 1997  Jeffrey A Law  (law@cygnus.com)
5066
5067         * version.c: Bump for snapshot.
5068
5069 Sat Dec  6 22:22:22 1997  Jeffrey A Law  (law@cygnus.com)
5070
5071         * cccp.c: Fix typo brought over in merge.
5072
5073         * Merge in changes from gcc-2.8.
5074
5075 Mon Nov  3 05:45:32 1997  Philippe De Muyter  <phdm@macqel.be>
5076
5077         * m68k.c: Include tree.h for dwarf2out_cfi_label.
5078
5079         * gcc.c (process_command): Do not take address of function fatal when
5080         calling lang_specific_driver.
5081
5082 Sat Dec  6 01:02:38 1997  Mumit Khan  <khan@xraylith.wisc.edu>
5083
5084         * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling 
5085         doesn't work with it yet, so set it to 0.
5086         * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
5087
5088 Sat Dec  6 01:01:02 1997  Christian Iseli  <Christian.Iseli@lslsun.epfl.ch>
5089
5090         * cse.c (cse_insn): Check for invalid entries when taking references.
5091
5092 Fri Dec  5 18:26:25 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5093
5094         * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
5095         (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
5096         * toplev.c (rest_of_compilation): Pass it.  Remove code to
5097         save / clear / restore flag_unroll_{,all_}loops.
5098
5099 Fri Dec  5 16:26:03 1997  Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
5100
5101         * i386.c (notice_update_cc): Remove bogus pentium GCC code.
5102
5103 Fri Dec  5 16:25:14 1997  Jeffrey A Law  (law@cygnus.com)
5104
5105         * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
5106
5107 Thu Dec  4 11:51:00 1997  Jason Merrill  <jason@yorick.cygnus.com>
5108
5109         * except.c (get_dynamic_handler_chain): Only make the call once per
5110         function.
5111
5112         * except.c (expand_end_all_catch): Fix for sjlj exceptions.
5113
5114 Thu Dec  4 12:30:40 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5115
5116         * sh.c (final_prescan_insn): Use local label prefix
5117         when emitting .uses pseudo-ops.
5118
5119 Wed Dec  3 12:01:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
5120
5121         * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
5122         * except.c: Lose outer_context_label_stack.
5123         (expand_eh_region_end): Rethrow from outer_context here.
5124         (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
5125         (expand_internal_throw): Take no args.
5126         (expand_internal_throw_indirect): Lose.
5127         (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
5128         (expand_start_all_catch): Start a rethrow region.
5129         (expand_end_all_catch): End it.
5130         (expand_rethrow): New fn.
5131         * except.h: Reflect above changes.
5132         * flow.c: Revert change of Nov 27.
5133
5134 Thu Dec  4 00:24:09 1997  Jeffrey A Law  (law@cygnus.com)
5135
5136         * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
5137
5138 Wed Dec  3 12:01:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
5139
5140         * except.c (expand_fixup_region_end): New fn.
5141         (expand_fixup_region_start): Likewise.
5142         (expand_eh_region_start_tree): Store cleanup into finalization here.
5143         * stmt.c (expand_cleanups): Use them to protect fixups.
5144
5145 Wed Dec  3 11:41:13 1997  Gavin Koch  <gavin@cygnus.com>
5146
5147         * mips/mips.md (muldi3_r4000): Broaden the output template
5148         and attribute assignments to handle three operand dmult;
5149         rename to muldi3_internal2.
5150         (muldi3): Call the new muldi3_internal2 for R4000, and
5151         any GENERATE_MULT3 chip.
5152
5153 Tue Dec  2 19:40:43 1997  Jason Merrill  <jason@yorick.cygnus.com>
5154
5155         * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
5156
5157 Tue Dec  2 12:54:33 1997  Jim Wilson  <wilson@cygnus.com>
5158
5159         * unroll.c (find_splittable_givs):  Remove last change.  Handle givs
5160         with a dest_reg that was created by loop.
5161
5162 Sat Nov 29 12:44:57 1997  David Edelsohn  <edelsohn@mhpcc.edu>
5163
5164         * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
5165
5166         * rs6000/aix41.h (ASM_CPU_SPEC): Define.
5167
5168 Fri Nov 28 10:00:27 1997  Jeffrey A Law  (law@cygnus.com)
5169
5170         * configure.in: Fix NCR entries.
5171
5172 Thu Nov 27 12:20:19 1997  Jeffrey A Law  (law@cygnus.com)
5173
5174         * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
5175         nested exceptions correctly.
5176
5177         * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
5178         that was created by loop.
5179
5180 Thu Nov 27 09:34:58 1997  Jason Merrill  <jason@yorick.cygnus.com>
5181
5182         * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
5183
5184         * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
5185
5186 Wed Nov 26 15:47:30 1997  Michael Meissner  <meissner@cygnus.com>
5187
5188         * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
5189         (print_operand): Use SMALL_DATA_REG for the register involved in
5190         small data relocations.
5191         (print_operand_address): Ditto.
5192
5193         * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
5194         -dynamic linker is not used.
5195
5196         * rs6000.md (call insns): For local calls, use @local suffix under
5197         System V.  Don't use @plt under Solaris.
5198
5199         * rs6000.c (output_function_profiler): Put label address in r0, and
5200         store LR in 4(sp) for System V/eabi.
5201
5202         * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
5203         byte boundary, and maintain stack backchain.
5204
5205 Tue Nov 25 14:08:12 1997  Jim Wilson  <wilson@cygnus.com>
5206
5207         * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
5208         fix_truncsfdi2): Change *.
5209
5210 Wed Nov 26 11:12:26 1997  Jason Merrill  <jason@yorick.cygnus.com>
5211
5212         * toplev.c (main): Complain about -gdwarfn.
5213
5214 Tue Nov 25 22:43:30 1997  Jason Merrill  <jason@yorick.cygnus.com>
5215
5216         * dwarfout.c (output_type): If finalizing, write out nested types 
5217         of types we've already written.
5218
5219 Tue Nov 25 20:32:24 1997  Michael Meissner  <meissner@cygnus.com>
5220
5221         (patches originally from Geoffrey Keating)
5222         * rs6000.c (function_arg): Excess floating point arguments don't
5223         go into GPR registers after exhausting FP registers under the
5224         System V.4 ABI.
5225         (function_arg_partial_nregs): Ditto.
5226
5227         * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
5228         suffix to calls.
5229
5230 Tue Nov 25 23:37:27 1997  Jason Merrill  <jason@yorick.cygnus.com>
5231
5232         * integrate.c (output_inline_function): Just unset DECL_INLINE.
5233
5234 Tue Nov 25 23:33:29 1997  scott snyder  <snyder@d0sgif.fnal.gov>
5235
5236         * dwarf2out.c (outout_call_frame_info): Ensure that the info has
5237         proper alignment.
5238
5239         * libgcc2.c (__throw): Initialize HANDLER.
5240
5241 Tue Nov 25 14:08:12 1997  Jim Wilson  <wilson@cygnus.com>
5242
5243         * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
5244         fix_truncsfdi2): Change *X to ?*X.
5245
5246 Tue Nov 25 10:00:42 1997  Richard Henderson  (rth@cygnus.com)
5247
5248         * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
5249
5250 Tue Nov 25 10:00:42 1997  Jeffrey A Law  (law@cygnus.com)
5251
5252         * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
5253
5254 Tue Nov 25 01:26:55 1997  Bruno Haible <haible@ilog.fr>:
5255
5256         * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
5257
5258 Mon Nov 24 22:41:55 1997  Jason Merrill  <jason@yorick.cygnus.com>
5259
5260         * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
5261         * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
5262         * expr.h: Likewise.
5263
5264 Sat Nov 22 18:58:20 1997  Jeffrey A Law  (law@cygnus.com)
5265
5266         * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
5267         * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
5268         gas and not using the new HP assembler.
5269
5270 Fri Nov 21 15:20:05 1997  Jeffrey A Law  (law@cygnus.com)
5271
5272         * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
5273         (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
5274
5275 Fri Nov 21 19:37:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
5276
5277         * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
5278         TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
5279         definition.
5280
5281 Fri Nov 21 12:49:56 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>
5282
5283         * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
5284
5285 Fri Nov 21 12:18:51 1997  Jason Merrill  <jason@yorick.cygnus.com>
5286
5287         * except.h: Add outer_context_label_stack.
5288         * except.c: Likewise.
5289         (expand_start_all_catch): Push the outer_context for the try block
5290         onto outer_context_label_stack.
5291         (expand_end_all_catch): Use it and pop it.
5292
5293 Fri Nov 21 10:13:11 1997  Robert Lipe (robertl@dgii.com)
5294
5295         * i386/sco5.h (HAVE_ATEXIT): Revert last change.
5296
5297 Thu Nov 20 16:11:50 1997  Richard Henderson  <rth@cygnus.com>
5298
5299         * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
5300
5301 Thu Nov 20 16:11:50 1997  Klaus Kaempf  <kkaempf@progis.de>
5302
5303         * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
5304         to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
5305
5306 Thu Nov 20 14:42:15 1997  Jason Merrill  <jason@yorick.cygnus.com>
5307
5308         * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
5309         * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler, 
5310         __builtin_delete, and __builtin_vec_delete.
5311
5312         * except.c (output_exception_table): Don't bother with
5313         __EXCEPTION_END__.
5314
5315 Thu Nov 20 16:11:50 1997  Jeffrey A Law  (law@cygnus.com)
5316
5317         * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
5318         is an in/out operand.
5319         (zero extended variants of stwm/stwm patterns): Similarly.
5320
5321         * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
5322
5323 Thu Nov 20 13:19:32 1997  Jason Merrill  <jason@yorick.cygnus.com>
5324
5325         * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
5326         Use assemble_name.
5327         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
5328         (output_call_frame_info): Emit a \n after using it.
5329
5330 Thu Nov 20 00:38:46 1997  Dave Love  <d.love@dl.ac.uk>
5331
5332         * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
5333
5334 Wed Nov 19 12:03:04 1997  Philippe De Muyter  <phdm@macqel.be>
5335
5336         * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
5337         (ASM_OUTPUT_DWARF_VALUE4): New macro.
5338         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
5339         defined.
5340         (output_call_frame_info): Do not output forward label differences
5341         if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
5342         * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
5343
5344 Tue Nov 18 23:03:30 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5345
5346         * sh.md (attribute "type"): Add nil.
5347         (movsi_ie): y/y alternative is type nil.
5348         (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
5349         alternatives.
5350         (movsf_ie+1): Delete.
5351
5352 Tue Nov 18 15:39:59 1997  Jim Wilson  <wilson@cygnus.com>
5353
5354         * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
5355         large_int, emit two insns instead of one splitable insn.
5356         * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
5357         from cfa_temp_value, use cfa_offset.  Add assert checking that
5358         cfa_reg is SP.
5359
5360 Mon Nov 17 15:35:38 1997  Tom Tromey  <tromey@cygnus.com>
5361
5362         * cccp.c (deps_output): Properly quote file names for make.
5363
5364 Mon Nov 17 13:21:40 1997  Jeffrey A Law  (law@cygnus.com)
5365
5366         * t-h8300 (MULTILIB_EXCEPTIONS): Define.
5367
5368 Fri Nov  7 15:33:11 1997  Robert Lipe (robertl@dgii.com)
5369
5370         * i386/sco5.h (HAVE_ATEXIT): Delete definition.
5371
5372 Sun Nov 16 23:52:48 1997  Jeffrey A Law  (law@cygnus.com)
5373
5374         * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
5375         return.
5376         (cse_end_of_basic_block): Similarly.
5377
5378 Sun Nov 16 23:01:40 1997  J. Kean Johnston  <jkj@sco.com>
5379
5380         * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
5381         (SELECT_RTX_SECTION): Define.
5382         (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
5383
5384 Sun Nov 16 22:47:03 1997  Manfred Hollstein  <manfred@s-direktnet.de>
5385
5386         * Makefile.in (compare, compare-lean): Define $stage for each
5387         shell command.
5388         (gnucompare, gnucompare-lean): Likewise.
5389
5390 Sun Nov 16 22:02:16 1997  Richard Henderson  (rth@cygnus.com)
5391
5392         * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
5393
5394         * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
5395         to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
5396
5397 Fri Nov 14 09:09:20 1997  Fred Fish  (fnf@cygnus.com)
5398
5399         * dwarfout.c (byte_size_attribute):  Add local var upper_bound
5400         and add case to handle STRING_TYPE.
5401         * dwarfout.c (output_string_type_die):  Fix code to generate
5402         correct string length attribute for fixed length strings.
5403         Still needs support for varying length strings.
5404
5405 Fri Nov 14 08:46:56 1997  Jeffrey A Law  (law@cygnus.com)
5406
5407         * toplev.c (get_run_time): Do something sensible for cygwin32.
5408
5409 Fri Nov 14 07:24:20 1997  Richard Henderson  <rth@cygnus.com>
5410
5411         * expr.c (expand_builtin_setjmp): Set
5412         current_function_has_nonlocal_label.
5413         * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
5414         call-saved registers across calls.
5415
5416         * alpha.md (exception_receiver): Remove.
5417         (nonlocal_goto_receiver_osf): New
5418         (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
5419         (nonlocal_goto_receiver): New, select _osf or _vms.
5420
5421         * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
5422         keep them from being propogated to the object file.
5423         (alpha_write_linkage): Likewise.
5424         * alpha.md (call_vms): Likewise.
5425         (call_value_vms): Likewise.
5426         (unnamed osf call insns): Likewise.
5427
5428         * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
5429         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5430
5431         * alpha.c (call_operand): Any reg is valid for WinNT.
5432         * alpha.md (call_nt, call_value_nt): Don't force address into $27.
5433         (anon nt calls): Add 'R' alternative.
5434         * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
5435         INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
5436
5437 Fri Nov 14 06:59:33 1997  Jeffrey A Law  (law@cygnus.com)
5438
5439         * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
5440
5441         * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
5442         * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
5443         * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
5444
5445 Thu Nov 13 20:37:33 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
5446
5447         * reload1.c (new_spill_reg): Improve fixed or forbidden register
5448         spill error message.
5449
5450 Thu Nov 13 20:29:08 1997  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5451
5452         * prefix.c: Use stdarg.h only ifdef __STDC__.  Otherwise,
5453         use varargs.h.  Wrap header with <>, not "".
5454
5455 Thu Nov 13 20:21:17 1997  Jeffrey A Law  (law@cygnus.com)
5456
5457         * integrate.c (save_for_inline_copying): Add return value from
5458         savealloc.
5459
5460 Thu Nov 13 19:12:33 1997  Brendan Kehoe  <brendan@cygnus.com>
5461
5462         * fixincludes: Be a little more restrictive on what we will
5463         substitute to replace definitions of MAXINT for HPUX.
5464
5465 Thu Nov 13 18:41:02 1997  Michael Meissner  <meissner@cygnus.com>
5466
5467         * dbxout.c (dbxout_symbol_location): Don't assume that variables
5468         whose address is the stack or argument pointers are indirect
5469         pointers.
5470
5471 1997-11-13  Paul Eggert  <eggert@twinsun.com>                               
5472         
5473         * cccp.c, cpplib.c (compare_defs):
5474         Don't complain about arg name respellings unless pedantic.
5475         * cpplib.c (compare_defs): Accept pfile as new arg.              
5476         All callers changed.                                               
5477
5478 Thu Nov 13 23:33:50 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5479
5480         * fold-const.c (fold_truthop): Fix bug in last change.
5481
5482 1997-11-13  Paul Eggert  <eggert@twinsun.com>
5483
5484         Fix some confusion with IEEE minus zero.
5485
5486         * real.h (REAL_VALUES_IDENTICAL): New macro.
5487
5488         * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
5489         * fold-const.c (operand_equal_p): Don't consider -0.0 to be
5490         identical to 0.0.
5491         * tree.c (simple_cst_equal): Don't consider -0.0 to have the
5492         same tree structure as 0.0.
5493
5494         * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
5495         macro instead of doing it by hand.
5496
5497 Thu Nov 13 16:56:14 1997  Jeffrey A Law  (law@cygnus.com)
5498
5499         * v850/lib1funcs.asm: Minor whitespace changes.
5500         * v850.c: Fix minor formatting problems in many places.
5501         (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
5502
5503 Thu Nov 13 12:53:44 1997  Jim Wilson  <wilson@cygnus.com>
5504
5505         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
5506         xplus1 when xplus0 is not a register.
5507
5508 Thu Nov 13 11:41:42 1997  Jeffrey A Law  (law@cygnus.com)
5509
5510         * flow.c (find_basic_blocks): During marking phase, if we encounter
5511         an insn with a REG_LABEL note, make the target block live and
5512         create an edge from the insn to the target block.  Do not make
5513         edges from all blocks to the target block.
5514
5515         * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
5516
5517         * confiugre.in: Tweak NCR entries.
5518         * configure: Rebuilt.
5519
5520 Thu Nov 13 11:07:41 1997  Michael Meissner  <meissner@cygnus.com>
5521
5522         * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
5523         pick apart floating point values, instead of using CONST_DOUBLE_LOW
5524         and CONST_DOUBLE_HIGH.
5525
5526         * rs6000.md (define_splits for DF constants): Use the appropriate
5527         REAL_VALUE_* interface to pick apart DF floating point constants in
5528         a machine independent fashion.
5529
5530 Thu Nov 13 00:06:58 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5531
5532         * fold-const.c (fold_truthop): When changing a one-bit comparison
5533         against zero into a comparison against mask, do a proper sign
5534         extension.
5535
5536 Wed Nov 12 09:37:01 1997  Jeffrey A Law  (law@cygnus.com)
5537
5538         * except.c: Do not include "assert.h".
5539         (save_eh_status): Turn asserts into conditional aborts.
5540         (restore_eh_status, scan_region): Likewise.
5541         * dwarfout.c: Do not include "assert.h".
5542         (bit_offset_attribute): Turn asserts into conditional aborts.
5543         (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
5544         (output_inlined_structure_type_die): Likewise.
5545         (output_inlined_union_type_die): Likewise
5546         (output_tagged_type_instantiation): Likewise.
5547         (dwarfout_file_scope_decl): Likewise.
5548         * dwarf2out.c: Do not include "assert.h"
5549         (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
5550         (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
5551         (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
5552         (add_bit_size_attribute, scope_die_for): Likewise.
5553         (output_pending_types_for_scope): Likewise.
5554         (get_inlined_enumeration_type_die): Likewise.
5555         (get_inlined_structure_type_die): Likewise.
5556         (get_inlined_union_type_die, gen_subprogram_die): Likewise.
5557         (gen_tagged_type_instantiation_die): Likewise.
5558
5559         * flow.c (find_basic_blocks): Refine further to get a more correct
5560         cfg, especially in the presense of exception handling, computed
5561         gotos, and other non-trivial cases.  Call abort if an inaccuracy
5562         is detected in the cfg.
5563
5564 Tue Nov 11 21:47:27 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5565
5566         * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
5567
5568         * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
5569         (skip_white_space): Use whitespace_cr.
5570         (check_newline): Handle whitespace more consistently.
5571
5572 Tue Nov 11 16:25:49 1997  Jim Wilson  <wilson@cygnus.com>
5573
5574         * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
5575         * i386/xm-cygwin32.h (POSIX): Define.
5576
5577 Mon Nov 10 20:53:11 1997  Gavin Koch  <gavin@cygnus.com>
5578
5579         * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
5580         is available elsewhere.
5581
5582 Mon Nov 10 16:21:58 1997  Doug Evans  <devans@canuck.cygnus.com>
5583
5584         * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
5585         what the instruction can handle.
5586
5587 Mon Nov 10 03:02:19 1997  Jason Merrill  <jason@yorick.cygnus.com>
5588
5589         * stmt.c (expand_decl_cleanup_no_eh): New fn.
5590
5591         * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
5592
5593 Mon Nov 10 00:05:56 1997  Jeffrey A Law  (law@cygnus.com)
5594
5595         * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
5596         (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
5597
5598 Sun Nov  9 14:34:47 1997  David Edelsohn  <edelsohn@mhpcc.edu>
5599
5600         * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
5601         swap instruction order.
5602
5603 Sun Nov  9 02:07:16 1997  Jeffrey A Law  (law@cygnus.com)
5604
5605         * fixinc.svr4 (__STDC__): Add another case.
5606
5607 Sun Nov  9 02:00:29 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5608
5609         * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
5610         addresses in the epilogue delay slot.
5611
5612 Sun Nov  9 01:40:40 1997  Manfred Hollstein  (manfred@s-direktnet.de)
5613
5614         * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
5615         in generated `specs' file.
5616
5617 Sun Nov  9 01:37:11 1997  Jim Wilson  (wilson@cygnus.com)
5618
5619         * flags.h (flag_rerun_loop_opt): Declare.
5620         * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
5621         * toplev.c (flag_rerum_loop_opt): Delete static.
5622
5623 Sat Nov  8 18:20:21 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5624
5625         Bring over from FSF:
5626
5627         Thu Oct 30 12:21:06 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5628
5629         * va-sh.h (__va_arg_sh1): Define.
5630         (va_arg): Use it.
5631         SH3E doesn't use any integer registers for subsequent arguments
5632         once a non-float value was passed in the stack.
5633         * sh.c (machine_dependent_reorg): If optimizing, put explicit
5634         alignment in front label for ADDR_DIFF_VEC.
5635         * sh.h (PASS_IN_REG_P): Fix SH3E case.
5636         (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
5637
5638         Tue Oct 28 15:06:44 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5639
5640         * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
5641         svr4.h.
5642
5643         Mon Oct 27 16:11:52 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5644
5645         * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
5646         put an use_sfunc_addr before each sfunc.
5647         * sh.md (use_sfunc_addr, dummy_jump): New insns.
5648         (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
5649
5650         Tue Oct 21 07:12:28 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5651
5652         * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
5653
5654 Fri Nov  7 10:22:24 1997  Jason Merrill  <jason@yorick.cygnus.com>
5655
5656         * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
5657         linked once FDEs.
5658
5659 Wed Nov  5 14:26:05 1997  Jeffrey A Law  (law@cygnus.com)
5660
5661         * alias.c (find_base_value): Only return the known base value for
5662         pseudo registers.
5663
5664 Wed Nov  5 11:27:14 1997  Jim Wilson  <wilson@cygnus.com>
5665
5666         * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
5667         * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
5668         to pattern.
5669         (prologue_get_pc_and_set_got): New pattern.
5670
5671 Tue Nov  4 20:36:50 1997  Richard Henderson  (rth@cygnus.com)
5672
5673         * alpha.c (summarize_insn): Handle ASM_OPERANDS.  Don't recurse
5674         for SUBREG, just fall through.
5675
5676         * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
5677
5678         * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
5679
5680 Tue Nov  4 18:49:42 1997  Jeffrey A Law  (law@cygnus.com)
5681
5682         * fixincludes: Fix "hypot" prototype in NeXT math.h.
5683
5684         * Makefile.in (USE_ALLOCA): Always include alloca.o.
5685         (USE_HOST_ALLOCA): Likewise.
5686
5687         * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
5688         and LABEL_REFS fields.
5689         * rtl.h (LABEL_REFS): Update.
5690
5691 Tue Nov  4 16:55:11 1997  Jim Wilson  <wilson@cygnus.com>
5692
5693         * combine.c (try_combine): When setting elim_i2, check whether newi2pat
5694         sets i2dest.  When calling distribute_notes for i3dest_killed, pass
5695         elim_i2 and elim_i1.  When setting elim_i1, check if newi2pat
5696         sets i1dest.
5697
5698         * mips.md (insv, extzv, extv): Add change_address call.
5699         (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
5700
5701         * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
5702
5703         * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
5704
5705         * mips.c (mips_expand_epilogue): Emit blockage insn before call to
5706         save_restore_insns if no FP and GP will be restored.
5707
5708         * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
5709         Convert CCmode to word_mode before calling GET_MODE_SIZE.
5710
5711         * acconfig.h (HAVE_INTTYPES_H): Undef.
5712         * configure.in (inttypes.h): Check for conflicts between sys/types.h
5713         and inttypes.h, and verify that intmax_t is defined.
5714         * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
5715         * config/mips/x-iris3: Likewise.
5716
5717 Tue Nov  4 16:07:15 1997  Jeffrey A Law  (law@cygnus.com)
5718
5719         * alias.c (find_base_value): When copying arguments, return the
5720         tenative value for a hard register.
5721
5722 Tue Nov  4 13:40:35 1997  Doug Evans  <devans@canuck.cygnus.com>
5723
5724         * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
5725         (yylex): Record wide strings using target endianness, not host.
5726
5727 Tue Nov  4 13:13:12 1997  Jeffrey A Law  (law@cygnus.com)
5728
5729         * mn10200.h (ASM_OUTPUT_BSS): Delete.
5730         (ASM_OUTPUT_ALIGNED_BSS): New macro
5731         * mn10300.h (ASM_OUTPUT_BSS): Delete.
5732         (ASM_OUTPUT_ALIGNED_BSS): New macro.
5733         * v850.h (ASM_OUTPUT_BSS): Delete.
5734         (ASM_OUTPUT_ALIGNED_BSS): New macro.
5735
5736 Tue Nov  4 00:55:48 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5737  
5738         * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
5739
5740 Mon Nov  3 14:36:50 1997  Jeffrey A Law  (law@cygnus.com)
5741
5742         * configure.in (sco5): Use cpio to install header files.
5743
5744 Sun Nov  2 23:31:43 1997  Manfred Hollstein  <manfred@s-direktnet.de>
5745
5746         * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
5747         14 char length.
5748         * configure: Rebuild.
5749
5750 Sun Nov  2 19:44:00 1997  Robert Lipe (robertl@dgii.com)
5751
5752         * i386/sco5.h: enable -gstabs once again.
5753
5754 Sun Nov  2 19:27:21 1997  Jeffrey A Law  (law@cygnus.com)
5755
5756         * arm.c (output_move_double): Allocate 3 entries in otherops array.
5757
5758 Sat Nov  1 21:43:00 1997  Mike Stump  (mrs@wrs.com)
5759
5760         * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
5761         notes for sjlj exceptions too.
5762         (expand_eh_region_end): Similarly for EH_REGION_END notes.
5763         (exception_optimize): Optimize EH regions for sjlj exceptions too.
5764         * final.c (final_scan_insn): Don't output labels for EH REGION
5765         notes if doing sjlj exceptions.
5766
5767 Sat Nov  1 19:15:28 1997  Jeffrey A Law  (law@cygnus.com)
5768
5769         * alias.c (init_alias_analysis): Handle -fno-alias-check when
5770         optimizing correctly.
5771
5772         * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
5773         or set current_function_calls_setjmp anymore.
5774
5775         * flow.c (find_basic_blocks): If we delete the label for an
5776         exception handler, remove it from the EH label list and remove
5777         the EH_BEGIN/EH_END notes for that EH region.
5778
5779 Sat Nov  1 16:44:49 1997  Jason Merrill  (jason@cygnus.com)
5780
5781         * flow.c (find_basic_blocks): Generate correct flow control
5782         information when exception handling notes are present.
5783
5784 Sat Nov  1 13:42:19 1997  Jeffrey A Law  (law@cygnus.com)
5785
5786         * dwarf2out.c (output_call_frame_info): Fix length argument
5787         to ASM_OUTPUT_ASCII.
5788         (output_die, output_pubnames, output_line_info): Likewise.
5789
5790 Fri Oct 31 07:10:09 1997  Jeffrey A Law  (law@cygnus.com)
5791
5792         * version.c: Bump for snapshot.
5793
5794         * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
5795         output ASCII by default.  Only use ASM_OUTPUT_DWARF_STRING if
5796         flag_debug_asm is on.
5797         (output_die, output_pubnames, output_line_info): Likewise.
5798
5799         * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
5800         and static_chain_rtx into the potential base values array if
5801         they are registers.
5802
5803         * alias.c (new_reg_base_value): New array of potential base values.
5804         (unique_id): Now file scoped static.
5805         (find_base_value, case REG): Return the value in reg_base_value
5806         array for the REG if it exists.  Else, return the value from
5807         new_reg_base_value if copying args and REG is a hard register.
5808         (find_base_value, case PLUS): If either operand of the PLUS is
5809         a REG, try to get its base value.  Handle base + index and
5810         index + base.
5811         (record_set): Use new_reg_base_value instead of reg_base_value.
5812         (init_alias_analysis): Allocate space for new_reg_base_value too.
5813         Rework code to iterate over the insns propagating base value
5814         information until nothing changes.
5815
5816         * global.c (global_alloc): Free the conflict matrix after
5817         reload has finished.
5818
5819 Fri Oct 31 01:45:31 1997  Jason Merrill  <jason@yorick.cygnus.com>
5820
5821         * libgcc2.c (L_eh): Define __eh_pc.
5822         Replace __eh_type with generic pointer __eh_info.
5823
5824 Fri Oct 31 00:34:55 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
5825
5826         * expr.c (expand_increment): When enqueing a postincrement for a MEM,
5827         use copy_to_reg if address is not a general_operand.
5828
5829 Fri Oct 31 00:16:55 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5830
5831         * profile.c (output_func_start_profiler): Clear flag_inline_functions
5832         for the duration of the call to rest_of_compilation.
5833
5834 Thu Oct 30 14:40:10 1997  Doug Evans  <devans@canuck.cygnus.com>
5835
5836         * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
5837         Set extra_parts.
5838         (sparc*-*-*): Recognize --with-cpu=v9.
5839         * sparc/elf.h: New file.
5840         * sparc/t-elf: New file.
5841
5842 Thu Oct 30 13:26:12 1997  Jeffrey A Law  (law@cygnus.com)
5843
5844         * mn10300.c (const_8bit_operand): New function.
5845         (mask_ok_for_mem_btst): New funtion.
5846         * mn10300.md (btst patterns with mem operands): Use new functions
5847         to avoid creating btst instructions with invalid operands.
5848
5849 Wed Oct 29 16:57:19 1997  Michael Meissner  <meissner@cygnus.com>
5850
5851         * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
5852         are running on PowerPC Linux.
5853
5854 Wed Oct 29 13:10:11 1997  Gavin Koch  <gavin@cygnus.com>
5855
5856         * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
5857         if not previously defined.
5858
5859 Tue Oct 28 23:55:27 1997  Doug Evans  (devans@cygnus.com)
5860
5861         * function.c (assign_parms): Correct mode of stack_parm if
5862         entry_parm underwent a mode conversion.
5863
5864 1997-10-28  Brendan Kehoe  <brendan@lisa.cygnus.com>
5865
5866         * global.c (global_alloc): Use xmalloc instead of alloca for
5867         CONFLICTS, since max_allocno * allocno_row_words alone can be more
5868         than 2.5Mb sometimes.
5869
5870 Tue Oct 28 15:29:15 1997  Richard Henderson  <rth@cygnus.com>
5871
5872         * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
5873         DEST for the spill, adjust mode of SRC to compensate.
5874
5875 Tue Oct 28 14:36:45 1997  Richard Henderson  <rth@cygnus.com>
5876
5877         * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
5878         since any_memory_operand() allows pseudos during reload.
5879         (reload_inhi, reload_outqi, reload_outhi): Likewise.
5880
5881 Tue Oct 28 11:53:14 1997  Jim Wilson  <wilson@cygnus.com>
5882
5883         * m68k.md (btst patterns): Add 5200 support.
5884
5885 Tue Oct 28 11:58:40 1997  Toon Moene  <toon@moene.indiv.nluug.nl>
5886
5887         * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
5888         optimizations, look inside dividend to determine if the expression
5889         can be simplified by using EXACT_DIV_EXPR.
5890
5891 Tue Oct 28 10:19:01 1997  Jason Merrill  <jason@yorick.cygnus.com>
5892
5893         From Brendan:
5894         * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
5895
5896 Tue Oct 28 00:32:14 1997  Richard Henderson  <rth@cygnus.com>
5897
5898         * alpha.c (summarize_insn [SUBREG]): Propogate SET.
5899
5900 Mon Oct 27 23:59:26 1997  Richard Henderson  <rth@cygnus.com>
5901
5902         * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
5903         on a CLOBBER.
5904
5905 Mon Oct 27 21:25:20 1997  Richard Henderson  <rth@cygnus.com>
5906
5907         * alpha.md (movqi, movhi): Make sure new insns created during reload
5908         won't need reloading themselves.
5909         (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
5910
5911 Mon Oct 27 16:11:10 1997  Jeffrey A Law  (law@cygnus.com)
5912
5913         * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
5914
5915 Sun Oct 26 13:50:44 1997  Richard Henderson  <rth@cygnus.com>
5916
5917         * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
5918         Patch from Klaus Kaempf <kkaempf@progis.de>.
5919
5920 Sun Oct 26 13:31:47 1997  Jim Wilson  (wilson@cygnus.com)
5921
5922         * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
5923         to an element in a constant string.
5924
5925 Sun Oct 26 11:41:49 1997  Jason Merrill  <jason@yorick.cygnus.com>
5926
5927         * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
5928         bit PC-relative offset.  The exception range table pointer is now in
5929         the CIE.
5930         * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
5931         (count_fdes, add_fdes, get_cie): Adjust.
5932         (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
5933
5934         From H.J. Lu:
5935         * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
5936
5937 Sun Oct 26 11:52:01 1997  Richard Henderson  <rth@cygnus.com>
5938
5939         * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
5940         like stack_pointer_rtx.
5941
5942 Sun Oct 26 11:32:16 1997  Manfred Hollstein  <manfred@s-direktnet.de>
5943
5944         * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
5945         targets using "$@" to provide support for similar but not identical
5946         targets without having to duplicate code.
5947         (bootstrap4): New goal.
5948
5949         * Makefile.in (compare, compare-lean, compare3): Combined to one
5950         ruleset determining actions to be performed via $@.
5951         (compare4, compare4-lean): New targets.
5952         (gnucompare, gnucompare3): Combined to one ruleset determining
5953         actions to be performed via $@. Also, note which files failed
5954         the comparison test in .bad_compare.
5955         (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
5956
5957 Sun Oct 26 10:06:11 1997  Toon Moene  <toon@moene.indiv.nluug.nl>
5958
5959         * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
5960         if the dividend is a multiple of the divisor.
5961
5962 Sun Oct 26 09:21:40 1997  Jeffrey A Law  (law@cygnus.com)
5963
5964         * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
5965
5966         * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
5967         and POS_DEC.
5968
5969         * alias.c (true_dependence): Fix typo.
5970
5971         * toplev.c (flag_rerun_loop_opt): New variable.
5972         (f_options): Handle -frerun-loop-opt.
5973         (rest_of_compilation): If -frerun-loop-opt, then run the loop
5974         optimizer twice.
5975         (main): Enable -frerun-loop-opt by default for -O2 or greater.
5976
5977         * loop.c (simplify_giv_expr): Adding two invariants results
5978         in an invariant.
5979
5980 Sun Oct 26 09:15:15 1997  Richard Henderson  <rth@cygnus.com>
5981
5982         * expr.c (get_inner_reference): Remove the array bias after 
5983         converting the index to Pmode.
5984
5985 Sat Oct 25 12:20:58 1997  Jeffrey A Law  (law@cygnus.com)
5986
5987         * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
5988         (TARGET_MULT_BUG): Define.
5989         (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
5990         * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
5991
5992 Fri Oct 24 17:40:34 1997  Jeffrey A Law  (law@cygnus.com)
5993
5994         * mn10200.c (indirect_memory_operand): Delete unused function.
5995         * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
5996         * mn10200.md (bset, bclr insns): Handle output in a reg too.
5997
5998 Fri Oct 24 15:54:57 1997  Richard Henderson  <rth@cygnus.com>
5999
6000         * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
6001         the callee's ldgp, we must do it ourselves, and we use the jsr tag
6002         for more than scheduling.
6003
6004 Fri Oct 24 13:23:04 1997  Doug Evans  <devans@canuck.cygnus.com>
6005
6006         * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
6007
6008 Fri Oct 24 13:19:40 1997  Jeffrey A Law  (law@cygnus.com)
6009
6010         * mn10300.c (symbolic_operand, legitimize_address): New functions.
6011         * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
6012         (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
6013
6014 Thu Oct 23 09:35:12 1997  Jeffrey A Law  (law@cygnus.com)
6015
6016         * version.c: Bump for snapshot.
6017
6018 Thu Oct 23 08:03:59 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
6019
6020         * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
6021         for FILENAME.
6022
6023 Wed Oct 22 00:34:12 1997  Jeffrey A Law  (law@cygnus.com)
6024
6025         * toplev.c (flag_exceptions): Default value is 2.
6026         (compile_file): If flag_exceptions still has the value 2, then
6027         set it to 0.
6028
6029         * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
6030         (rs6000_save_machine_status): Save pic_offset_table_rtx.
6031         (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
6032
6033         * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
6034         are shared.
6035
6036         * rs6000.md (*movsi_got_internal_mem): New pattern.
6037         (*movsi_got_internal_mem splitter): New define_split.
6038
6039 Tue Oct 21 18:14:03 1997  Jim Wilson  <wilson@cygnus.com>
6040
6041         * obstack.h (obstack_empty_p): Fix spurious space after backslash.
6042
6043 Tue Oct 21 18:34:01 1997  Geoffrey KEATING  <geoffk@ozemail.com.au>
6044
6045         * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
6046         only need to save LR.
6047
6048 Tue Oct 21 10:06:40 1997  Jeffrey A Law  (law@cygnus.com)
6049
6050         * mn10300.md (movqi, movhi): Avoid using address registers as
6051         destinations unless absolutely necessary.
6052
6053         * mn10200.c (expand_prologue): Fix typo.
6054
6055         * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
6056         addresses.
6057         * mn10200.md (neghi2): Provide an alternative which works if
6058         the input and output register are the same.
6059
6060         * mn10300.c (print_operand): Handle 'S'.
6061         * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
6062         shift amount in last alternative
6063
6064         * mn10300.c (expand_epilogue): Rework to handle register restores
6065         in "ret" and "retf" instructions correctly.
6066
6067 Mon Oct 20 16:47:08 1997  Jim Wilson  <wilson@cygnus.com>
6068
6069         * expmed.c (extract_bit_field): Don't make flag_force_mem disable
6070         extzv for memory operands.
6071
6072         * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
6073         redundant conditional moves to single operand.
6074
6075 Mon Oct 20 15:30:26 1997  Nick Clifton  <nickc@cygnus.com>
6076
6077         * v850.h: Move define of __v850__ from CPP_PREDEFINES
6078         to CPP_SPEC.
6079         
6080         * xm-v850.h: Use __v850 rather than __v850__ to
6081         identify v850 port.
6082
6083 Mon Oct 20 14:15:02 1997  Jim Wilson  <wilson@cygnus.com>
6084
6085         * mips/mips.c (compute_frame_size): Not a leaf function if
6086         profile_flag set.
6087
6088 Mon Oct 20 14:16:38 1997  Geoffrey KEATING  <geoffk@ozemail.com.au>
6089
6090         * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
6091
6092 Mon Oct 20 12:28:17 1997  Doug Evans  <devans@canuck.cygnus.com>
6093
6094         * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
6095         (DEFAULT_ARCH32_P): New macro.
6096         (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
6097         (enum cmodel): Declare.
6098         (sparc_cmodel_string,sparc_cmodel): Declare.
6099         (SPARC_DEFAULT_CMODEL): Provide default.
6100         (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
6101         (TARGET_FULLANY): Deleted.
6102         (TARGET_CM_MEDMID): New macro.
6103         (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
6104         (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
6105         (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
6106         (CPP_SPEC): Rewrite.
6107         (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
6108         (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
6109         (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
6110         (ASM_SPEC): Add %(asm_arch).
6111         (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
6112         Rename asm_default to asm_cpu_default.
6113         Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
6114         cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
6115         (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
6116         ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
6117         (MASK_INT64,MASK_LONG64): Delete.
6118         (MASK_ARCH64): Renamed to MASK_64BIT.
6119         (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
6120         (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
6121         (TARGET_SWITCHES): Always provide 64 bit options.
6122         (ARCH64_SWITCHES): Delete.
6123         (TARGET_OPTIONS): New option -mcmodel=.
6124         (INT_TYPE_SIZE): Always 32.
6125         (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
6126         (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
6127         (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
6128         (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
6129         * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
6130         CPP_SPEC.
6131         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
6132         * sparc/linux.h: Likewise.
6133         * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
6134         (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
6135         (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
6136         (SPARC_DEFAULT_CMODEL): Define.
6137         (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
6138         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
6139         (LONG_DOUBLE_TYPE_SIZE): Define.
6140         (ASM_SPEC): Add %(asm_arch).
6141         * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
6142         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
6143         (TARGET_CPU_DEFAULT): Add ultrasparc case.
6144         * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
6145         (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
6146         (SPARC_DEFAULT_CMODEL): Define.
6147         * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
6148         (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.  Delete
6149         MASK_LONG64, MASK_MEDANY.
6150         (SPARC_DEFAULT_CMODEL): Define.
6151         (CPP_PREDEFINES): Delete.
6152         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
6153         (ASM_SPEC): Add %(asm_arch).
6154         (LONG_DOUBLE_TYPE_SIZE): Define.
6155         (DWARF2_DEBUGGING_INFO): Define.
6156         * sparc/splet.h (CPP_SPEC): Delete.
6157         * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
6158         (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
6159         (BLOCK_PROFILER): Likewise.
6160         * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
6161         (sparc_override_options): Handle code model selection.
6162         (sparc_init_expanders): Renamed from sparc64_init_expanders.
6163         * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
6164         TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
6165         (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
6166         (sethi_di_fullany): Delete.
6167
6168 Mon Oct 20 02:00:18 1997  Klaus Kaempf <kkaempf@progis.de>
6169                           Jeff Law <law@cygnus.com>
6170                           Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6171
6172         * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
6173         (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
6174         (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
6175         (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
6176         * alpha/alpha.md (arg_home): Likewise.
6177
6178         * alpha/alpha.c (vmskrunch): Delete
6179         * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
6180         * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
6181         truncate to 64 characters.
6182
6183         * make-l2.com: Support openVMS/Alpha.
6184
6185         * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
6186
6187 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6188
6189         * longlong.h (count_leading_zeros): Add missing casts to USItype.
6190
6191 Sun Oct 19 18:44:06 1997  Jeffrey A Law  (law@cygnus.com)
6192
6193         * i386/bsd386.h (ASM_COMMENT_START): Define.
6194
6195 Sat Oct 18 13:47:15 1997  Jason Merrill  <jason@yorick.cygnus.com>
6196
6197         * tree.c (restore_tree_status): Also free up temporary storage
6198         when we finish a toplevel function.
6199         (dump_tree_statistics): Print stats for backend obstacks.
6200
6201 Sat Oct 18 12:47:31 1997  Doug Evans  <dje@canuck.cygnus.com>
6202
6203         * expr.c (use_group_regs): Don't call use_reg for MEMs.
6204
6205 Sat Oct 18 09:49:46 1997  Jason Merrill  <jason@yorick.cygnus.com>
6206
6207         * libgcc2.c (__throw): Don't copy the return address.
6208         * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
6209
6210         * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
6211         * toplev.c (main): Initialize exceptions_via_longjmp.
6212
6213         * tree.c: Add extra_inline_obstacks.
6214         (save_tree_status): Use it.
6215         (restore_tree_status): If this is a toplevel inline obstack and we
6216         didn't want to save anything on it, recycle it.
6217         (print_inline_obstack_statistics): New fn.
6218         * function.c (pop_function_context_from): Pass context to 
6219         restore_tree_status.
6220         * obstack.h (obstack_empty_p): New macro.
6221
6222 Sat Oct 18 00:43:59 1997  Jeffrey A Law  (law@cygnus.com)
6223
6224         * i386/freebsd.h (ASM_COMMENT_START): Fix.
6225
6226 Fri Oct 17 23:48:52 1997  Jim Wilson  (wilson@cygnus.com)
6227
6228         * v850.c (ep_memory_offset): New function.
6229         (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
6230
6231         * v850.h (CONST_OK_FOR_*): Add and correct comments.
6232         (CONSTANT_ADDRESS_P): Add comment.
6233         (EXTRA_CONSTRAINT): Define 'U'.
6234         * v850.md: Add comments on bit field instructions.
6235         (addsi3): Delete &r/r/r alternative.  Add r/r/U alternative.
6236         (lshrsi3): Use N not J constraint. 
6237
6238         * v850.md (v850_tst1+1): New define_split for tst1 instruction.
6239
6240         * v850.c (reg_or_0_operand): Call register_operand.
6241         (reg_or_int5_operand): Likewise.
6242         * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
6243         (TARGET_SWITCHES): Add "big-switch".
6244         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
6245         ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
6246         (CASE_DROPS_THROUGH): Comment out.
6247         (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
6248         * v850.md (cmpsi): Delete compare mode.
6249         (casesi): New pattern.
6250
6251         * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
6252         * v850.md (ashlsi3): Use SImode not QImode for shift count.
6253         (lshrsi3): Likewise.
6254
6255         * v850.c (print_operand): Add 'c', 'C', and 'z' support.  Delete
6256         unreachable switch statement after 'b' support.  Remove "b" from
6257         strings for 'b' support.
6258         * v850.md (branch_normal, branch_invert): Change %b to b%b.
6259
6260 Fri Oct 17 23:33:20 1997  Jeffrey A Law  (law@cygnus.com)
6261
6262         * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
6263         empty line if @inhibit_libc@ is empty.
6264
6265 Fri Oct 17 23:24:40 1997  Robert Lipe (robertl@dgii.com)
6266
6267         * i386/sco5.h: Let ELF use dwarf2 unwinding.  COFF uses sjlj.
6268         (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
6269         (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
6270         (DWARF2_UNWIND_INFO): Let this track object file format.
6271         (EXTRA_SECTIONS): Add in_eh.
6272         (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
6273         (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
6274
6275 Fri Oct 17 17:13:42 1997  David S. Miller  <davem@tanya.rutgers.edu>
6276
6277         * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
6278         * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
6279         TARGET_MEDANY.
6280         * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
6281         (output_double_int): Output DI mode values correctly when
6282         HOST_BITS_PER_WIDE_INT is 64.
6283         (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
6284         fmovd so it works if a quad float ends up in one of the upper 32
6285         float regs.
6286         * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
6287         necessary for PIC support on sparc64.
6288
6289 Fri Oct 17 13:39:56 1997  Doug Evans  <dje@canuck.cygnus.com>
6290
6291         * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
6292         * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
6293         (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
6294         (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
6295         (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
6296         (SPARC_FP_ARG_FIRST): New macro.
6297         (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
6298         (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
6299         (NPARM_REGS): There are 32 fp argument registers now.
6300         (FUNCTION_ARG_REGNO_P): Likewise.
6301         (FIRST_PARM_OFFSET): Update to new v9 abi.
6302         (REG_PARM_STACK_SPACE): Define for arch64.
6303         (enum sparc_arg_class): Delete.
6304         (sparc_arg_count,sparc_n_named_args): Delete.
6305         (struct sparc_args): Redefine and use for arch32 as well as arch64.
6306         (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
6307         (FUNCTION_ARG_ADVANCE): Rewrite.
6308         (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
6309         (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
6310         (FUNCTION_ARG_CALLEE_COPIES): Delete.
6311         (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
6312         (STRICT_ARGUMENT_NAMING): Define.
6313         (doublemove_string): Declare.
6314         * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
6315         (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
6316         (doublemove_string): New function.
6317         (output_move_quad): Clean up some of the arch64 support.
6318         (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
6319         Don't add 8 bytes of reserved space if arch64.
6320         (sparc_builtin_saveregs): Combine arch32/arch64 versions.
6321         (init_cumulative_args): New function.
6322         (function_arg_slotno): New static function.
6323         (function_arg,function_arg_partial_nregs): New functions.
6324         (function_arg_{pass_by_reference,advance}): New functions.
6325         (function_arg_padding): New function.
6326         * ginclude/va-sparc.h: Rewrite v9 support.
6327
6328 Fri Oct 17 12:29:48 1997  Christian Iseli  <Christian.Iseli@lslsun.epfl.ch>
6329
6330         * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
6331         for hard regs to determine base and index registers.
6332
6333         * reload.c (debug_reload_to_stream): New function.  Specify stream
6334         into which to write debug info.
6335         (debug_reload): Modify to call debug_reload_to_stream with stderr.
6336
6337 Thu Oct 16 15:07:51 1997  Richard Henderson  <rth@cygnus.com>
6338
6339         * combine.c (can_combine_p): Don't combine with an asm whose
6340         output is a hard register.
6341
6342 Thu Oct 16 15:43:26 1997  Mike Stump  (mrs@wrs.com)
6343
6344         * c-decl.c (start_struct): Ensure that structs with forward
6345         declarations are in fact packed when -fpack-struct is given.
6346
6347         * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
6348         we are packing a structure.  This allows a structure with only
6349         bytes to be aligned on a byte boundary and have no padding on a
6350         m68k.
6351
6352 Thu Oct 16 15:17:54 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6353
6354         * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
6355
6356 Thu Oct 16 11:20:30 1997  Richard Henderson  <rth@cygnus.com>
6357
6358         * alpha.c (alpha_return_addr_rtx): New variable.
6359         (alpha_save_machine_status): New; save it.
6360         (alpha_restore_machine_status): New; restore it.
6361         (alpha_init_expanders): New; clear it.
6362         (alpha_return_addr): New; set it.
6363         (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
6364         is overly conservative, so search the insns explicitly.
6365         (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
6366         (alpha_sa_size [VMS && !VMS]): Likewise.
6367         * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
6368         (INIT_EXPANDERS): New definition.
6369         
6370         * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
6371         (output_prolog [!VMS]): Use them.
6372
6373         * alpha.c (output_prolog [!VMS]): Move gp detection to ...
6374         (alpha_does_function_need_gp): ... a new function.  Refine the 
6375         CALL_INSN test to just TYPE_JSR.
6376         * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
6377
6378 Thu Oct 16 09:36:47 1997  Jeffrey A Law  (law@cygnus.com)
6379
6380         * version.c: Bump for snapshot.
6381
6382 Wed Oct 15 21:38:18 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6383
6384         * pa.c (move_operand): Respect -mdisable-indexing.
6385         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
6386
6387 Wed Oct 15 21:34:45 1997  David Edelsohn  <edelsohn@mhpcc.edu>
6388
6389         * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
6390         PPC601.
6391         (umulsidi3,umulsi3_highpart): Ditto.
6392         (smulsi3_highpart_no_mq): Add !TARGET_POWER.
6393
6394 Wed Oct 15 18:21:46 1997  Richard Henderson  <rth@cygnus.com>
6395
6396         * alpha.c (final_prescan_insn): Gut, remove and transform to ...
6397         (alpha_handle_trap_shadows): ... a new function.  Handle the entire
6398         function in one go.  Emit RTL for trapb, instead of printf directly.
6399         (alpha_reorg): New function.  Call alpha_handle_trap_shadows.
6400         (trap_pending): Kill global variable.
6401         (output_epilog): Don't call final_prescan_insn.
6402         (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
6403         * alpha.h (FINAL_PRESCAN_INSN): Remove.
6404         (MACHINE_DEPENENT_REORG): Define.
6405         * alpha.md (jsr patterns with trapb): Stupid and useless.  Kill.
6406         (trapb): New insn.
6407
6408 Wed Oct 15 18:16:05 1997  Richard Henderson  <rth@cygnus.com>
6409
6410         Tune Haifa scheduler for Alpha:
6411         * alpha.h (ISSUE_RATE): Define.
6412         * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
6413         EV4 adjustments to EV5.
6414         * alpha.md: Remove all scaling from function unit delays.  Rework
6415         EV5 function units to match the CPU.
6416         (umuldi3_highpart): EV5 added the IMULH insn class.
6417
6418 Wed Oct 15 17:42:41 1997  Jeffrey A Law  (law@cygnus.com)
6419
6420         * pa.c (following_call): Fail if the CALL_INSN is an indirect
6421         call.
6422
6423 Tue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>
6424
6425         * cplus-dem.c (demangle_signature): Don't look for return types on
6426         constructors.  Handle member template constructors.
6427
6428 Tue Oct 14 11:30:29 1997  Jason Merrill  <jason@yorick.cygnus.com>
6429
6430         * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
6431         * tree.h: Declare them.
6432
6433 Fri Oct 10 13:46:56 1997  Doug Evans  <dje@canuck.cygnus.com>
6434
6435         * configure.in: Handle --with-newlib.
6436         * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
6437
6438         * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
6439
6440 Wed Oct  8 14:37:44 1997  Jeffrey A Law  (law@cygnus.com)
6441
6442         * config/ptx4.h: Fix typo.
6443
6444 Wed Oct  8 08:57:20 1997  Jeffrey A Law  (law@cygnus.com)
6445
6446         * version.c: Bump for snapshot.
6447
6448 Tue Oct  7 16:27:34 1997  Manfred Hollstein  <manfred@s-direktnet.de>
6449
6450         * aclocal.m4: Substitute INSTALL.
6451         * configure: Re-built.
6452
6453 Tue Oct  7 15:37:35 1997  Jeffrey A Law  (law@cygnus.com)
6454
6455         * integrate.c (save_for_inline_copying): Avoid undefined pointer
6456         operations.
6457         (expand_inline_function): Likewise.
6458
6459         * dwarf2out.c (output_call_frame_info): Reinstate last change
6460         using flag_debug_asm check instead of flag_verbose_asm.
6461
6462 Tue Oct  7 12:57:26 1997  Jim Wilson  <wilson@cygnus.com>
6463
6464         * dwarf2out.c (output_call_frame_info): Remove last change.
6465
6466 1997-10-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6467
6468         * frame.c (__frame_state_for): Execute the FDE insns until the
6469         current pc value is strictly bigger than the target pc value.
6470
6471 Tue Oct  7 11:00:42 1997  Jason Merrill  <jason@yorick.cygnus.com>
6472
6473         * regclass.c (init_reg_modes): If we can't find a mode for the 
6474         register, use the previous one.
6475
6476 Tue Oct  7 10:55:34 1997  Richard Henderson  <rth@cygnus.com>
6477
6478         * haifa-sched.c (print_block_visualization): Call fprintf directly,
6479         don't sprintf through an alloca'ed buffer.
6480
6481 Tue Oct  7 10:52:29 1997  Thomas Koenig (ig25@rz.uni-karlsruhe.de)
6482
6483         * reload.c (decompose): Always initialize val.base.
6484
6485 Tue Oct  7 10:19:26 1997  Manfred Hollstein  (manfred@lts.sel.alcatel.de)
6486
6487         * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
6488         instead of aborting.
6489         * dwarf2out.c (output_call_frame_info): Call app_enable and
6490         app_disable to let GNU as accept the generated comments.
6491
6492 Tue Oct  7 11:41:21 1997  Michael Meissner  <meissner@cygnus.com>
6493
6494         * tree.h (get_file_function_name): Add declaration.
6495         * dwarf2out.c (output_call_frame_info): No need to cast
6496         get_file_function_name call anymore.
6497         * profile.c (toplevel): Remove get_file_function_name
6498         declaration.
6499         * c-lang.c (finish_file): Ditto.
6500
6501 Tue Oct  7 10:01:45 1997  Chip Salzenberg <chip@rio.atlantic.net>
6502
6503         * Makefile.in (program_transform_name): Let autoconf substitute
6504         the correct value.
6505
6506 Tue Oct  7 09:54:35 1997  Jeffrey A Law  (law@cygnus.com)
6507
6508         * haifa-sched.c (schedule_block): If the first real insn in a
6509         block has any special notes attached to it, remove them.
6510
6511 Tue Oct  7 09:48:51 1997  Richard Henderson  <rth@cygnus.com>
6512
6513         * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
6514
6515 Mon Oct  6 12:47:32 1997  Manfred Hollstein  (manfred@lts.sel.alcatel.de)
6516
6517         * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
6518
6519 Mon Oct  6 12:04:24 1997  Jeffrey A Law  (law@cygnus.com)
6520
6521         * Makefile.in (check-g77): New test target.
6522         (CHECK-TARGETS): Add check-g77.
6523
6524 Fri Oct  3 11:56:36 1997  Jason Merrill  <jason@yorick.cygnus.com>
6525
6526         * toplev.c (rest_of_compilation): Defer all non-nested inlines.
6527
6528 Fri Oct  3 15:49:27 1997  Michael Meissner  <meissner@cygnus.com>
6529
6530         * flow.c (print_rtl_with_bb): Cast alloca return value for
6531         in_bb_p.
6532
6533 Thu Oct  2 21:15:03 1997  Richard Henderson  <rth@cygnus.com>
6534
6535         * i386.h (RETURN_ADDR_RTX): New definition that works for 
6536         __builtin_return_address(0) and -fomit-frame-pointer.
6537
6538 Wed Oct  1 13:43:53 1997  Jim Wilson  <wilson@cygnus.com>
6539
6540         Bring over from FSF.
6541         Tue Aug  5 16:10:45 1997  Jason Merrill  <jason@yorick.cygnus.com>
6542
6543         * mips.c (function_arg): Handle passing a struct 
6544         containing a double in a DFmode register without the PARALLEL.
6545
6546 Wed Oct  1 11:13:25 1997  Ian Lance Taylor  <ian@cygnus.com>
6547
6548         * pexecute.c: Use spawn if __CYGWIN32__.
6549
6550         * pexecute.c: Include "config.h" first, as per autoconf manual
6551         (from Paul Eggert  <eggert@twinsun.com>).
6552
6553 Wed Oct  1 01:44:36 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
6554
6555         * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
6556         optimisation for f/expr.o and f/stb.o.
6557
6558 Tue Sep 30 23:48:57 1997  Jeffrey A Law  (law@cygnus.com)
6559
6560         * cse.c (this_insn_cc0_mode): Initialize.
6561
6562 Tue Sep 30 23:09:40 1997  Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
6563
6564         * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
6565
6566         * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
6567
6568 Tue Sep 30 23:06:43 1997  Richard Henderson  <rth@cygnus.com>
6569
6570         * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
6571         that pair will dual-issue on the 21164 and plus+beq won't.
6572         (bne): Likewise for cmpeq+beq.
6573
6574 Tue Sep 30 16:07:58 1997  Jim Wilson  <wilson@cygnus.com>
6575
6576         * except.c (find_exception_handler_labels): Correct argument to free.
6577
6578 Tue Sep 30 11:00:00 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
6579
6580         * except.c (find_exception_handler_labels): Free LABELS when we're
6581         done.
6582
6583 Mon Sep 29 14:04:35 1997  Jeffrey A Law  (law@cygnus.com)
6584
6585         * version.c: Bump for snapshot.
6586
6587 Mon Sep 29 10:51:53 1997  Jason Merrill  <jason@yorick.cygnus.com>
6588
6589         * flow.c (find_basic_blocks): Mark calls as potentially jumping
6590         to the EH labels.
6591
6592 Mon Sep 29 09:58:06 1997  Jeffrey A Law  (law@cygnus.com)
6593
6594         * configure.in: Substitute for "install" too.
6595         * configure: Rebuilt.
6596
6597 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
6598
6599         * Makefile.in (bootstrap-lean, compare-lean): New targets.
6600
6601 Mon Sep 29 00:18:16 1997  Richard Henderson  (rth@cygnus.com)
6602
6603         * alias.c (base_alias_check): Two symbols can conflict if they
6604         are accessed via AND.
6605         (memrefs_conflict_p): Likewise.
6606
6607         * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
6608         after flushing argument registers to the stack.
6609
6610         * Makefile.in (mostlyclean): Remove .regmove files.
6611
6612 Sun Sep 28 18:59:58 1997  Jason Merrill  <jason@yorick.cygnus.com>
6613
6614         * libgcc2.c (__throw): Fix thinko.
6615
6616 Sun Sep 28 12:00:52 1997  Mark Mitchell  <mmitchell@usa.net>
6617
6618         * cplus-dem.c (demangle_template): Add new parameter.  Handle new
6619         template-function mangling.
6620         (consume_count_with_underscores): New function.
6621         (demangle_signature): Handle new name-mangling scheme.
6622
6623 Sun Sep 28 01:55:04 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
6624
6625         * flow.c (print_rtl_with_bb): Cast alloca return values for variables
6626         start and end.
6627
6628 Sun Sep 28 01:05:16 1997  Jeffrey A Law  (law@cygnus.com)
6629
6630         * frame.c: Remove last change.
6631         * dwarf2.h: Remove last change.
6632         * tree.h: Add declarations of DWARF2 unwind info support
6633         functions.
6634
6635 Sat Sep 27 11:02:38 1997  Jason Merrill  <jason@yorick.cygnus.com>
6636
6637         * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
6638         * tree.h (built_in_function): Likewise.
6639         * expr.c (expand_builtin): Likewise.
6640         * except.h: Likewise.
6641         * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
6642         * libgcc2.c (copy_reg): New fn.
6643         (__throw): Use it.
6644
6645 Fri Sep 26 08:54:59 1997  Paul Eggert  <eggert@twinsun.com>
6646
6647         * c-typeck.c (build_binary_op): Warn about comparing signed vs
6648         unsigned if -W is specified and -Wno-sign-compare is not.
6649         * c-decl.c (warn_sign_compare): Initialize to -1.
6650         (c_decode_option): -Wall no longer implies -Wsign-compare.
6651
6652 Fri Sep 26 09:00:13 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6653
6654         * frame.c: Include gansidecl.h for PROTO.
6655         * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
6656         defined.  Don't declare dwarf2out_cfi_label here.
6657         * dwarf2.h: Add declarations of DWARF2 unwind info support
6658         functions.
6659         * m68k.c: Include dwarf2.h.
6660         (output_function_prologue): Add dwarf2 support.
6661         * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
6662         (INCOMING_FRAME_SP_OFFSET): Likewise.
6663
6664         * integrate.c (expand_inline_function): Make sure there is at
6665         least one insn that can be used as an insertion point.
6666
6667 Wed Sep 24 21:34:06 1997  Jason Merrill  <jason@yorick.cygnus.com>
6668
6669         * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
6670
6671 Wed Sep 24 22:05:30 1997  Jeffrey A Law  (law@cygnus.com)
6672
6673         * version.c: Bump for snapshot.
6674
6675 Wed Sep 24 17:36:23 1997  Doug Evans  <dje@canuck.cygnus.com>
6676
6677         Bring over from FSF.
6678
6679         Wed Sep 24 19:17:08 1997  Doug Evans  <dje@cygnus.com>
6680
6681         * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
6682         (get_pc_via_rdpc): Renamed from get_pc_sp64.
6683         * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
6684
6685         Wed Sep 24 18:38:22 1997  David S. Miller  <davem@tanya.rutgers.edu>
6686
6687         * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
6688         (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
6689         -malign-functions=.
6690         (sparc_align_{loops,jumps,funcs}_string): Declare.
6691         (sparc_align_{loops,jumps,funcs}): Declare.
6692         (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
6693         (FUNCTION_BOUNDARY): Use sparc_align_funcs.
6694         (STACK_BIAS): Define.
6695         (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
6696         test.
6697         (SPARC_SETHI_P): New macro.
6698         (CONST_OK_FOR_LETTER_P): Use it.
6699         (ASM_OUTPUT_ALIGN_CODE): Define.
6700         (ASM_OUTPUT_LOOP_ALIGN): Define.
6701         * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
6702         (sparc_align_{loops,jumps,funcs}): New globals.
6703         (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
6704         -malign-functions=.
6705         (move_operand): Use SPARC_SETHI_P.
6706         (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
6707         perform test.
6708         (arith11_double_operand): Likewise.
6709         (arith10_double_operand): Likewise.
6710         (finalize_pic): Finish sparc64 support.
6711         (emit_move_sequence): Use SPARC_SETHI_P.  Simplify low part of
6712         64 bit constants if able.
6713         (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
6714         (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
6715         ! TARGET_FPU.
6716         * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
6717         (get_pc_sp32): Use for sparc64 as well.
6718         (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
6719         (sethi_di_sp64_const): Likewise.
6720         (movtf_cc_sp64): Check TARGET_HARD_QUAD.
6721         (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
6722         (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
6723
6724         Tue Sep 23 19:02:46 1997  Doug Evans  <dje@cygnus.com>
6725
6726         * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
6727         * sparc/linux.h (COMMENT_BEGIN): Likewise.
6728         * sparc/linux64.h (COMMENT_BEGIN): Likewise.
6729
6730         Tue Sep 23 14:48:18 1997  David S. Miller  <davem@tanya.rutgers.edu>
6731
6732         Add sparc64 linux support.
6733         * configure.in (sparc64-*-linux*): Recognize.  Add sparc/xm-sparc.h
6734         to xm_file list on 32-bit sparc-linux.
6735         * sparc/xm-sp64.h: New file.
6736         * sparc/linux64.h: New file.
6737         * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
6738         Don't include xm-sparc.h.
6739         * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
6740         * glimits.h (LONG_MAX): Handle sparc64.
6741
6742         Sat Sep 20 03:07:54 1997  Doug Evans  <dje@cygnus.com>
6743
6744         * sparc/sysv4.h (ASM_COMMENT_START): Delete.
6745         * sparc.h (ASM_COMMENT_START): Define.
6746         * sparc.c (output_function_prologue): Use it.
6747         (sparc_flat_output_function_{epi,pro}logue): Likewise.
6748
6749         Wed Sep 17 15:04:19 1997  Doug Evans  <dje@cygnus.com>
6750
6751         * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
6752         use sparc.h's copies.
6753         * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
6754         ascii form as well.
6755
6756         Mon Sep  8 08:45:19 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6757
6758         * sparc.c (dwarf2out_cfi_label): Add declaration.
6759         (save_regs, output_function_prologue): Remove cast for it.
6760         (sparc_flat_{save_restore,output_function_prologue): Likewise.
6761         ({save,restore}_regs): No longer inline.
6762
6763 Tue Sep 23 12:34:51 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6764
6765         * fold-const.c (make_range): Correctly handle cases of converting
6766         from unsigned to signed type.
6767
6768 Tue Sep 23 12:34:51 1997  Bernd Schmidt  <crux@pool.informatik.rwth-aachen.de>
6769
6770         * fold-const.c (merge_ranges): Make sure that if one range is subset
6771         of another, it will always be the second range.  Correct (+,-) case to
6772         account for this.
6773
6774 Tue Sep 23 08:32:51 1997  Jason Merrill  <jason@yorick.cygnus.com>
6775
6776         * final.c (final_end_function): Also do dwarf2 thing if
6777         DWARF2_DEBUGGING_INFO.
6778         (final_start_function): Likewise.
6779
6780 Tue Sep 23 01:15:50 1997  David S. Miller  <davem@tanya.rutgers.edu>
6781
6782         * expmed.c (expand_divmod): If compute_mode is not the same as
6783         mode, handle the case where convert_modes() causes op1 to no
6784         longer be a CONST_INT.
6785
6786         * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
6787         note holding get_jump_flags() calculation to all JUMP_INSNs.
6788         * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
6789         * rtl.c (reg_note_name): Add new note types.
6790
6791 Tue Sep 23 00:59:54 1997  Jeffrey A Law  (law@cygnus.com)
6792
6793         * rtlanal.c (computed_jump_p): Fix typo in last change.
6794
6795 Tue Sep 23 00:42:44 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
6796
6797         * loop.c (indirect_jump_in_function_p): Return 0
6798         by default.
6799
6800 Tue Sep 23 00:33:55 1997  Jeffrey A Law  (law@cygnus.com)
6801
6802         * rs6000/xm-rs6000.h: Fix thinko in last change.
6803         * rs6000/xm-sysv4.h: Likewise.
6804
6805 Mon Sep 22 19:33:53 1997  Jim Wilson  <wilson@cygnus.com>
6806
6807         * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
6808
6809 Mon Sep 22 14:41:00 1997  Jeffrey A Law  (law@cygnus.com)
6810
6811         * reg-stack.c (find_blocks): Fix thinko in last change.
6812
6813 1997-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6814
6815         * m68k.c (output_function_prologue): Add dwarf2 support.
6816
6817         * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
6818         INCOMING_FRAME_SP_OFFSET): New definitions.
6819  
6820 Mon Sep 22 11:36:42 1997  David S. Miller  <davem@tanya.rutgers.edu>
6821
6822         * combine.c (try_combine): Use NULL_RTX instead of '0' where
6823         appropriate in calls to gen_rtx().
6824         * cse.c (cse_main): Likewise.
6825         * emit-rtl.c (gen_label_rtx): Likewise.
6826         * expr.c (init_expr_once): Likewise.
6827         * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
6828         sched_analyze, init_rgn_data_dependences,
6829         compute_block_backward_dependences): Likewise.
6830         * sched.c (schedule_insns): Likewise.
6831         * varasm.c (immed_double_const): Likewise.
6832
6833         * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
6834         SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
6835
6836 Mon Sep 22 11:21:33 1997  J. Kean Johnston  <jkj@sco.com>
6837
6838         * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
6839         (MULTILIB_DEFAULTS): Define.
6840         (ASM_SPEC, CPP_SPEC): Handle -mcoff.
6841         (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
6842         (LIBGCC_SPEC): Likewise.
6843         (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
6844         (SUBTARGET_SWITCHES): Add -mcoff and -melf.
6845         * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
6846         (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
6847         (EXTRA_PARTS, TAROUTOPTS): Delete.
6848         (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
6849         (MULTILIB_OPTIONS): Define.
6850         (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
6851         (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
6852
6853 Mon Sep 22 02:10:43 1997  Jeffrey A Law  (law@cygnus.com)
6854
6855         * version.c: Bump for snapshot.
6856
6857 Sun Sep 21 17:45:45 1997  Jeffrey A Law  (law@cygnus.com)
6858
6859         * loop.c (loop_number): Delete function.  Change all references
6860         to use uid_loop_num array.
6861         * loop.h (loop_number): Delete declaration.
6862         * unroll.c (unroll_loop): Change "loop_number" references to
6863         use uid_loop_num instead.
6864
6865         * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
6866         conditional.
6867         (loop_unroll_iter): Remove unused variable and all references.
6868         (loop_optimize): Always allocate and clear space for loop_unroll_factor.
6869         (insert_bct): Fix minor formatting problems.
6870         * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
6871         (loop_unroll_iter): Removed unused decl.
6872         * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
6873         Always record the unrolling factor.
6874
6875         * cse.c (simplify_relational_operation): Set h0u just like h0s.
6876         Similarly for h1u and h1s.
6877
6878         * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
6879         (find_basic_blocks): Use computed_jump_p to determine if a
6880         particular JUMP_INSN is a computed jump.
6881         * reg-stack.c (find_blocks): Use computed_jump_p to determine
6882         if a particular JUMP_INSN is a computed jump.
6883         * rtlanal.c (jmp_uses_reg_or_mem): New function.
6884         (computed_jump_p): Likewise.
6885         * rtl.h (computed_jump_p): Declare.
6886         * genattrtab.c (pc_rtx): Define and initialize.
6887         * loop.c (loop_optimize): Always determine if the current
6888         function has a computed jump.
6889         (indirect_jump_in_function_p): Use computed_jump_p to determine
6890         if a particular JUMP_INSN is a computed jump.
6891
6892         * loop.c (fix_bct_param): Delete unused function.
6893         (check_bct_param): Likewise.
6894
6895 Sat Sep 20 16:22:06 1997  Jason Merrill  <jason@yorick.cygnus.com>
6896
6897         * frame.c (__deregister_frame): Check properly for initialized object.
6898
6899 Fri Sep 19 20:51:03 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
6900
6901         * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
6902
6903 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6904
6905         * jump.c (thread_jumps): check can_reverse_comparison_p before
6906         threading a reversed-condition jump.
6907
6908         * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
6909         * haifa-sched.c (update_flow_info): Likewise.
6910
6911 Thu Sep 18 21:13:40 1997  Jeffrey A Law  (law@cygnus.com)
6912
6913         * Makefile.in (BOOT_CFLAGS): Use -O2.
6914
6915         * configure.in (strtoul, bsearch): Have autoconf check for these
6916         functions.
6917         * configure, config.in: Rebuilt.
6918
6919         * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
6920         * mips/mips.h (alloca): Likewise.
6921         * rs6000/xm-rs6000.h (alloca): Likewise.
6922         * rs6000/xm-sysv4.h: Likewise.
6923
6924 Thu Sep 18 14:22:22 1997  Jason Merrill  <jason@yorick.cygnus.com>
6925
6926         * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
6927         * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
6928         (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
6929
6930         * except.c (end_eh_unwinder): Subtract 1 from return address.
6931         * libgcc2.c (__throw): Likewise.
6932         (find_exception_handler): Don't change PC here.  Compare end with >.
6933
6934 Thu Sep 18 10:43:07 1997  Nick Clifton  <nickc@cygnus.com>
6935  
6936         * v850.c (compute_register_save_size): Correct register
6937         number.
6938         * v850.md (save_interrupt, return_interrupt): Correct
6939         register number.
6940         * v850/lib1funcs.asm (save_interrupt): Correct register number.
6941         (return_interrupt): Use stack pointer, not element pointer.
6942
6943 1997-09-18  Brendan Kehoe  <brendan@lisa.cygnus.com>
6944
6945         * configure.in, configure: Make sure to create the stage* and include
6946         symbolic links in each subdirectory.
6947
6948 Thu Sep 18 01:47:06 1997  Jeffrey A Law  (law@cygnus.com)
6949
6950         * pa.md (reload_peepholes): Don't allow addresses with side
6951         effects for the memory operand.
6952
6953 Wed Sep 17 18:19:53 1997  Jason Merrill  <jason@yorick.cygnus.com>
6954
6955         * libgcc2.c (find_exception_handler): Subtract one from our PC when
6956         looking for a handler, to avoid hitting the beginning of the next
6957         region.
6958
6959         * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
6960
6961 Wed Sep 17 18:33:59 1997  Jeffrey A Law  (law@cygnus.com)
6962
6963         * mips/abi64.h (LONG_MAX_SPEC): Define.
6964         * mips.h (LONG_MAX_SPEC): Define.
6965         (CPP_SPEC): Include long_max_spec.
6966         (EXTRA_SPECS): Include long_max_spec.
6967
6968 Wed Sep 17 14:11:38 1997  Jeffrey A Law  (law@cygnus.com)
6969
6970         * v850.c (construct_save_jarl): Fix thinko in last change.
6971
6972 Wed Sep 17 09:53:07 1997  Jeffrey A Law  (law@cygnus.com)
6973
6974         * version.c: Bump for snapshot.
6975
6976 Tue Sep 16 14:22:36 1997  Jason Merrill  <jason@yorick.cygnus.com>
6977
6978         * libgcc2.c (find_exception_handler): Not found is -1.
6979
6980         * integrate.c (expand_inline_function): Move expand_start_bindings
6981         after expanding the arguments.
6982
6983 Tue Sep 16 11:13:46 1997  Jim Wilson  <wilson@cygnus.com>
6984
6985         * expr.c (expand_expr): Remove previous incorrect change.
6986         If target and slot has no DECL_RTL, then call mark_addressable
6987         again for the slot after we give it RTL.
6988
6989 Tue Sep 16 09:18:52 1997  Jason Merrill  (jason@cygnus.com)
6990
6991         * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
6992         again for the slot after we give it RTL.
6993
6994 Tue Sep 16 00:13:20 1997  Nick Clifton  <nickc@cygnus.com>
6995
6996         * v850.c (register_is_ok_for_epilogue,
6997         pattern_is_ok_for_epilogue, construct_restore_jr,
6998         pattern_is_ok_for_prologue, construct_save_jarl): New functions.
6999
7000         * v850.h (pattern_is_ok_for_prologue,
7001         pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
7002         predicates.
7003
7004         * v850.md: Replace prologue and epilogue patterns with a
7005         match_parallel pattern.
7006
7007 Mon Sep 15 22:53:01 1997  Jeffrey A Law  (law@cygnus.com)
7008
7009         * aclocal.m4: Add replacement for AC_PROG_INSTALL.
7010         * configure.in: Use EGCS_PROG_INSTALL.
7011
7012 Mon Sep 15 22:40:55 1997  Jim Wilson  (wilson@cygnus.com)
7013
7014         * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
7015         extern inline function.
7016
7017 Mon Sep 15 22:40:55 1997  Richard Henderson  (rth@cygnus.com)
7018
7019         * dwarf2out.c (reg_loc_descriptor): Fix prototype.
7020         (concat_loc_descriptor): New function.
7021         (loc_descriptor): Call it.
7022         (add_AT_location_description): Also elide the descriptor if both
7023         halves of a CONCAT are pseudos.
7024         (add_location_or_const_value_attribute): Recognize CONCAT too.
7025
7026 Mon Sep 15 15:24:00 1997  Richard Henderson  <rth@cygnus.com>
7027
7028         * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
7029
7030         * alpha/alpha.c (output_prolog): New variable sa_reg.  Use it for
7031         out-or-range reg_offset.
7032         (output_epilog): Likewise.
7033
7034 Mon Sep 15 15:39:26 1997  Jeffrey A Law  (law@cygnus.com)
7035
7036         * cse.c (simplify_relational_operation): If MODE specifies a
7037         mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
7038         is derived from the sign bit of the low word.
7039
7040 Mon Sep 15 11:43:38 1997  Jason Merrill  <jason@yorick.cygnus.com>
7041
7042         Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
7043
7044         * dwarf2.h: Add DW_CFA_GNU_args_size.
7045         * frame.c (execute_cfa_insn): Likewise.
7046         * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
7047         (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
7048         (dwarf2out_frame_debug): If this isn't a prologue or epilogue
7049         insn, hand it off to dwarf2out_stack_adjust.
7050         (dwarf2out_begin_prologue): Initialize args_size.
7051         * frame.h (struct frame_state): Add args_size.
7052         * libgcc2.c (__throw): Use args_size.
7053         * final.c (final_scan_insn): If we push args, hand off all insns
7054         to dwarf2out_frame_debug.
7055         * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
7056
7057         * dwarf2out.c dwarf2out_frame_debug): Fix typo.
7058         Handle epilogue restore of SP from FP.
7059         * emit-rtl.c (gen_sequence): Still generate a sequence if the 
7060         lone insn has RTX_FRAME_RELATED_P set.
7061
7062         * frame.c (extract_cie_info): Handle "e" augmentation.
7063         * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
7064         absence of UNALIGNED_*_ASM_OP.
7065         (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
7066         (output_call_frame_info): Use "e" instead of "z" for augmentation.
7067         Don't emit augmentation fields length.
7068         (dwarf2out_do_frame): Move outside of #ifdefs.
7069         * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
7070         opcodes.
7071
7072         * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
7073         * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
7074         * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
7075         * sparc/sun4gas.h: New file.
7076         * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
7077
7078         * collect2.c (write_c_file_stat, write_c_file_glob): Declare 
7079         __register_frame_table and __deregister_frame.
7080
7081 1997-09-15  Brendan Kehoe  <brendan@cygnus.com>
7082
7083         * except.c (find_exception_handler_labels): Use xmalloc instead of
7084         alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
7085         in some cases.
7086
7087 Sun Sep 14 21:01:23 1997  Jeffrey A Law  (law@cygnus.com)
7088
7089         * Makefile.in: Various changes to build info files
7090         in the object tree rather than the source tree.
7091
7092 Sun Sep 14 12:24:30 1997  Jeffrey A Law  (law@cygnus.com)
7093
7094         * fixinc.math: New file to fix math.h on some systems.
7095         * configure.in (freebsd, netbsd): Use fixinc.math on these
7096         systems.
7097         * configure: Rebuilt.
7098
7099 Sun Sep 14 11:11:05 1997  Jeffrey A Law  (law@cygnus.com)
7100
7101         * regmove.c (regmove_optimize): If we end up moving the
7102         original insn due to lifetime overlaps, make sure to move
7103         REG_NOTES too.
7104
7105 Sat Sep 13 15:51:11 1997  Manfred Hollstein  <manfred@s-direktnet.de>
7106
7107         * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
7108
7109 Sat Sep 13 12:57:26 1997  Jeffrey A Law  (law@cygnus.com)
7110
7111         * haifa-sched.c (add_branch_dependences): Make each insn in
7112         a SCHED_GROUP_P block explicitly depend on the previous insn.
7113
7114 Fri Sep 12 13:49:58 1997  Jason Merrill  <jason@yorick.cygnus.com>
7115
7116         * except.h: Prototype dwarf2 hooks.
7117         * expr.c: Adjust.
7118
7119 Thu Sep 11 17:43:55 1997  Jim Wilson  <wilson@cygnus.com>
7120
7121         * configure.in (native_prefix): Delete.
7122         (mips-dec-netbsd): Don't set prefix.
7123         (*linux*): Don't set prefix.
7124
7125 Thu Sep 11 15:48:32 1997  Fred Fish  <fnf@ninemoons.com>
7126
7127         * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
7128         defined.  If not defined, include <sys/varargs.h> if
7129         HAVE_SYS_VARARGS_H is defined.
7130         * configure.in: Test for varargs.h and sys/varargs.h.
7131         * configure: Regenerate with autoconf.
7132         * config.in: Regenerate with autoheader.
7133
7134         * cpplib.c (quote_string): Cast first arg of sprintf call
7135         from "unsigned char *" to "char *".
7136         (output_line_command): Ditto.
7137         (macroexpand): Ditto.
7138         (do_line): Cast atoi arg from "unsigned char *" to "char *".
7139
7140 Wed Sep 10 21:37:30 1997  Jeffrey A Law  (law@cygnus.com)
7141
7142         * version.c: Bump for snapshot.
7143
7144         * Makefile.in (compare): Exit with nonzero status if there
7145         are comparison failures.  Note which files failed the
7146         comparison test in .bad_compare.
7147
7148 Wed Sep 10 17:05:46 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
7149
7150         * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
7151
7152 Wed Sep 10 16:37:28 1997  Fred Fish  <fnf@ninemoons.com>
7153
7154         * Makefile.in (LN, LN_S): New macros, use where appropriate.
7155         * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
7156         * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
7157         * configure: Regenerated.
7158
7159 Thu Sep 11 11:09:43 1997  Jeffrey A Law  (law@cygnus.com)
7160
7161         * loop.c (strength_reduce): Fix typo.
7162
7163 Wed Sep 10 16:01:15 1997  Jim Wilson  <wilson@cygnus.com>
7164
7165         * m88k/m88k.c (struct option): Rename to struct options.
7166         * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
7167         * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
7168         * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
7169         __DOLPHIN__ or sysV88.
7170
7171 Wed Sep 10 14:58:40 1997  Jim Wilson  <wilson@cygnus.com>
7172
7173         * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
7174         create new subreg.
7175
7176 Wed Sep 10 15:19:22 1997  Jeffrey A Law  (law@cygnus.com)
7177
7178         * config.sub: Accept 'amigados' for backward compatability.
7179
7180 Wed Sep 10 14:05:08 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
7181
7182         * Makefile.in (testsuite/site.exp): New target.
7183         (check-gcc, check-g++): Depend on testsuite/site.exp.
7184         Don't stop for failure.
7185
7186 Wed Sep 10 12:59:57 1997  Jason Merrill  <jason@yorick.cygnus.com>
7187
7188         * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
7189         if DWARF2_UNWIND_INFO.
7190
7191 Wed Sep 10 11:49:20 1997  Jason Merrill  <jason@yorick.cygnus.com>
7192
7193         Add support for exception handling using DWARF 2 frame unwind info.
7194         Currently works on SPARC and MIPS, and almost on x86.
7195         
7196         * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
7197         next_stack_level, in_reg_window): Helper fns.
7198         (__throw): Implement for DWARF2_UNWIND_INFO.
7199
7200         * expr.c (expand_builtin): Handle builtins used by __throw.
7201         * tree.h (enum built_in_function): Add builtins used by __throw.
7202         * c-decl.c (init_decl_processing): Declare builtins used by __throw.
7203         * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
7204         * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
7205         (expand_builtin_extract_return_addr): Likewise.
7206         (expand_builtin_frob_return_addr): Likewise.
7207         (expand_builtin_set_return_addr_reg): Likewise.
7208         (expand_builtin_eh_stub): Likewise.
7209         (expand_builtin_set_eh_regs): Likewise.
7210         (eh_regs): Choose two call-clobbered registers for passing back values.
7211
7212         * frame.c, frame.h: New files for parsing dwarf 2 frame info.
7213         * Makefile.in (LIB2ADD): New variable.  Add $(srcdir)/frame.c.
7214         (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
7215         (stmp-multilib): Likewise.
7216         ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
7217
7218         * except.c: #include "defaults.h".
7219         (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
7220         (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
7221         (register_exception_table_p): New fn.
7222         (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
7223         (end_eh_unwinder): Likewise.
7224
7225         * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP, 
7226         call __register_frame and __deregister_frame as needed.
7227         * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
7228         * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro.  Check
7229         EH_FRAME_SECTION_ASM_OP.
7230         * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
7231         * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
7232         (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
7233
7234         * dwarf2out.c (output_call_frame_info): If no support for
7235         EXCEPTION_SECTION, mark the start of the frame info with a
7236         collectable tag.
7237         * collect2.c (frame_tables): New list.
7238         (is_ctor_dtor): Recognise frame entries.
7239         (scan_prog_file): Likewise.
7240         (main): Pass -fno-exceptions to sub-compile.  Also do collection
7241         if there are any frame entries.
7242         (write_c_file_stat): Call __register_frame_table and
7243         __deregister_frame as needed.
7244         (write_c_file_glob): Likewise.
7245
7246         * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.  
7247         Also require unaligned reloc support.
7248         * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
7249         UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
7250         * sparc/sysv4.h: Not here.
7251
7252         * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
7253         * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
7254         (dwarf2out_finish): Don't call dwarf2out_frame_finish.
7255
7256         * libgcc2.c (L_eh): Reorganize, moving code shared by different
7257         EH implementations to the top.
7258         (find_exception_handler): Split out.  Start from 0.  Compare against
7259         end with >=.
7260         (__find_first_exception_table_match): Use it.
7261         * except.c (output_exception_table): Don't do anything if there's
7262         no table.  Don't output a first entry of zeroes.
7263         (eh_outer_context): Adjust properly.
7264         (add_eh_table_entry): Use xrealloc.
7265         * toplev.c (compile_file): Just call output_exception_table.
7266
7267 Wed Sep 10  11:30:36 1997  Jason Merrill  <jason@cygnus.com>
7268
7269         * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
7270
7271 Wed Sep 10 08:17:10 1997  Torbjorn Granlund  <tege@pdc.kth..se>
7272
7273         * except.c (eh_outer_context): Do masking using expand_and.
7274
7275 Wed Sep 10 01:38:30 1997  Doug Evans  <dje@cygnus.com>
7276
7277         Add port done awhile ago for the ARC cpu.
7278         * arc/arc.h: New file.
7279         * arc/arc.c: New file.
7280         * arc/arc.md: New file.
7281         * arc/initfini.c: New file.
7282         * arc/lib1funcs.asm: New file.
7283         * arc/t-arc: New file.
7284         * arc/xm-arc.h: New file.
7285         * ginclude/va-arc.h: New file.
7286         * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
7287         * ginclude/varargs.h: Likewise.
7288         * Makefile.in (USER_H): Add va-arc.h.
7289         * configure.in (arc-*-elf*): Recognize.
7290         * longlong.h: Add ARC support.
7291
7292 Wed Sep 10 01:32:54 1997  Jeffrey A Law  (law@cygnus.com)
7293
7294         * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
7295         when clearing non-BLKmode data.
7296
7297 Wed Sep 10 00:29:29 1997  Manfred Hollstein  <manfred@s-direktnet.de>
7298
7299         * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
7300         * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
7301
7302         * xm-m88k.h (USG): Only define if it hasn't already been defined.
7303
7304         * Makefile.in (risky-stage1): Delete gratutious whitespace.
7305
7306         * Makefile.in (clean): Delete libgcc1-test.
7307
7308         * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
7309
7310 Tue Sep  9 17:07:36 1997  Stan Cox  <coxs@dg-rtp.dg.com>
7311
7312         * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
7313         template.
7314
7315 Tue Sep  9 09:50:02 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7316
7317         * dwarf2out.c (output_call_frame_info): Call named_section.
7318
7319 Tue Sep  9 09:12:17 1997  Jeffrey A Law  (law@cygnus.com)
7320
7321         * haifa-sched.c (print_value): Fix last change.
7322
7323 Tue Sep  9 01:30:37 1997  Jason Merrill  <jason@yorick.cygnus.com>
7324
7325         * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
7326         write_symbols.
7327
7328 Mon Sep  8 16:32:43 1997  Jason Merrill  <jason@yorick.cygnus.com>
7329
7330         * mips.c (function_prologue): Set up the CFA when ABI_32.
7331
7332         * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
7333         for dwarf2 unwind info.
7334         (output_function_prologue, sparc_flat_output_function_prologue): Same.
7335
7336         * final.c (final_end_function): Check dwarf2out_do_frame instead
7337         of DWARF2_DEBUG for dwarf2 unwind info.
7338         (final_scan_insn): Likewise.
7339         (final_start_function): Likewise.  Initialize dwarf2 frame debug here.
7340         (final): Not here.
7341
7342         * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
7343         count > 0.
7344
7345         * varasm.c (exception_section): Check EXCEPTION_SECTION first.
7346
7347 Mon Sep  8 15:15:11 1997  Nick Clifton  <nickc@cygnus.com>
7348
7349         * v850.h (ASM_SPEC): Pass on target processor.
7350         (CPP_PREDEFINES): Only define if not already specified.
7351         (TARGET_VERSION): Only define if not already specified.
7352         (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
7353         processor.
7354         (EXTRA_SWITCHES): Extra entries in the switches array.
7355         (TARGET_DEFAULT): Set default target processor.
7356
7357 Mon Sep  8 18:26:35 1997  Jim Wilson  <wilson@cygnus.com>
7358
7359         * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
7360         cases, add %# and %/, and add : to make them into extended asms.
7361
7362 Sun Sep  7 23:57:50 1997  Weiwen Liu  <liu@hepunix.physics.yale.edu>
7363
7364         * alias.c (init_alias_analysis): Clean up incompatible pointer
7365         type warning in bzero.
7366         * regmove.c (regmove_optimize): Ditto.
7367         * haifa-sched.c (find_rgns): Ditto.
7368
7369         * haifa-sched.c (print_value): Clean up ptr->int cast
7370         warnings.
7371
7372 Sun Sep  7 23:18:32 1997  Fred Fish  <fnf@ninemoons.com>
7373
7374         * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
7375         * install.texi (Configurations): Ditto.
7376         * config.sub: Ditto.
7377
7378 Sun Sep  7 22:56:56 1997  Weiwen Liu  (liu@hepvms.physics.yale.edu)
7379
7380         * Makefile.in (sdbout.o): Depend on insn-config.h.
7381
7382 Sun Sep  7 18:44:50 1997  Jim Wilson  <wilson@cygnus.com>
7383
7384         * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
7385         For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
7386
7387 Sun Sep  7 18:30:46 1997  Jason Merrill  <jason@yorick.cygnus.com>
7388
7389         * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
7390         prologue insn, only the first elt is significant.
7391         (output_call_frame_info): For exception handling, always use 4-byte
7392         fields as specified by the dwarf2 spec.
7393         Don't skip trivial FDEs.
7394
7395 Sun Sep  7 14:19:39 1997  Jeffrey A Law  (law@cygnus.com)
7396
7397         * version.c: Bump for snapshot.
7398
7399 Sun Sep  7 14:17:36 1997  Torbjorn Granlund  (tege@pdc.kth.se)
7400
7401         * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
7402         for negative constants.  Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
7403         when op1_is_pow2.
7404
7405 Sun Sep  7 13:46:46 1997  Jeffrey A Law  (law@cygnus.com)
7406
7407         * final.c (shorten_branches): During first pass, assume worst
7408         possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
7409
7410         * Makefile.in (distclean): Remove various things left around
7411         by running the testsuite.
7412
7413 Sun Sep  7 13:16:06 1997  Manfred Hollstein  <manfred@s-direktnet.de>
7414
7415         * configure.in (out_file): Emit definition to config.status in order
7416         to have a defined value for configure.lang.
7417         * configure: Re-built.
7418
7419 Sun Sep  7 09:59:08 1997  Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
7420
7421         * configure.in: Make symlink to as-new rather than as.new.  Similarly
7422         for ld-new.
7423         * configure: Rebuilt.
7424
7425 Fri Sep  5 16:54:55 1997  Jim Wilson  <wilson@cygnus.com>
7426
7427         * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
7428
7429 Fri Sep  5 16:16:44 1997  Christian Kuehnke  <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
7430
7431         * sparc/sparc.md: Add ultrasparc scheduling support.
7432         * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
7433
7434 Fri Sep  5 14:04:59 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
7435
7436         * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
7437         as initial value for real_label_map.
7438         (copy_for_inline): Likewise.
7439
7440 Fri Sep  5 13:36:44 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
7441
7442         * sched.c (update_flow_info) When looking if to set found_split_dest
7443         or found_orig_dest, look at all parts of a PARALLEL.
7444         * haifa-sched.c (update_flow_info): Likewise.
7445
7446 Fri Sep  5 10:08:44 1997  Jeffrey A Law  (law@cygnus.com)
7447
7448         * v850: New directory for v850 port.
7449         * v850/lib1funcs.asm: New file.
7450         * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
7451         * ginclude/va-v850.h: New file.
7452         * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
7453         * configure.in (mn10200-*-*): New target.
7454         * configure: Rebuilt.
7455         * config.sub: Handle v850-elf.
7456         * Makefile.in (USER_H): Add va-mn10200.h. 
7457         * invoke.texi: Document v850 stuff.
7458
7459 Fri Sep  5 09:37:50 1997  Jim Wilson  (wilson@cygnus.com)
7460
7461         * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
7462         has integer TYPE_{MAX,MIN}_VALUE before using them.
7463
7464         * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
7465         __HPUX_ASM__ versions.
7466
7467 Fri Sep  5 09:08:44 1997  Jeffrey A Law  (law@cygnus.com)
7468
7469         * install.sh: Delete duplicate install script.
7470
7471 Thu Sep  4 23:14:27 1997  Stan Cox  (coxs@dg-rtp.dg.com)
7472
7473         * reg-stack.c (subst_stack_regs): Pop the stack register for a
7474         computed goto which sets the same stack register.
7475
7476         * reg-stack.c (compare_for_stack_reg): Swap only if the source and
7477         destination are both on the regstack.
7478         (subst_stack_regs_pat): Put the destination at the top of the regstack.
7479
7480 Thu Sep  4 15:02:27 1997  Jim Wilson  <wilson@cygnus.com>
7481
7482         * mips.md (nonlocal_goto_receiver): Define.
7483
7484         * profile.c (output_arc_profiler): Check next_insert_after for non
7485         NULL before deferencing it.
7486
7487         * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
7488
7489 Thu Sep  4 14:51:57 1997  Jeffrey A Law  (law@cygnus.com)
7490
7491         * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
7492
7493 Thu Sep  4 15:01:49 1997  Michael Meissner  <meissner@cygnus.com>
7494
7495         * toplev.c (rest_of_compilation): For passes starting with
7496         flow_analysis, use print_rtl_with_bb instead of print_rtl.
7497
7498         * print-rtl.c (print_rtl_single): Print a single rtl value to a
7499         file.
7500
7501         * flow.c (print_rtl_with_bb): Print which insns start and end
7502         basic blocks.  For the start of a basic block, also print the live
7503         information.
7504
7505 Thu Sep  4 11:51:43 1997  Jim Wilson  <wilson@cygnus.com>
7506
7507         * toplev.c (main): Change #elif to #else/#ifdef
7508
7509         * tlink.c: Include ctype.h.
7510         * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
7511
7512 Thu Sep  4 11:17:16 1997  Mikeael Meissner  (meissner@cygnus.com)
7513
7514         * bitmap.c: Conditionally include stdlib.h.
7515         (free): Provide a declaration if NEED_DECLARATION_FREE.
7516
7517 Thu Sep  4 09:58:53 1997  Joel Sherrill  (joel@OARcorp.com)
7518
7519         * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
7520
7521 Thu Sep  4 09:53:20 1997  Jim Wilson  (wilson@cygnus.com)
7522
7523         * profile.c (output_arc_profiler): Verify next_insert_after is an
7524         INSN before and after skipping a stack pop.
7525
7526 Thu Sep  4 07:39:19 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
7527
7528         * final.c (shorten_branches): Don't count the lengths of deleted
7529         instructions.
7530
7531 Thu Sep  4 09:43:01 1997  Jeffrey A Law  (law@cygnus.com)
7532
7533         * version.c: Bump for snapshot.
7534
7535 Thu Sep  4 11:04:21 1997  Michael Meissner  <meissner@cygnus.com>
7536
7537         * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
7538         two bitmaps ANDed together.
7539         (bitmap_print): Declare.
7540
7541         * bitmap.c (function_obstack): Don't declare any more.
7542         (bitmap_obstack): Obstack for allocating links from.
7543         (bitmap_obstack_init): New static to say whether to initialize
7544         bitmap_obstack.
7545         (bitmap_element_allocate): Use bitmap_obstack to allocate from.
7546         (bitmap_release_memory): Free all memory allocated from
7547         bitmap_obstack.
7548
7549         * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
7550         EXECUTE_IF_AND_IN_BITMAP.
7551
7552 Wed Sep  3 10:39:42 1997  Jim Wilson  <wilson@cygnus.com>
7553
7554         * alias.c (true_dependence): Address with AND can alias scalars.
7555         (anti_dependence, output_dependence): Likewise.
7556         
7557         * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
7558
7559 Wed Sep  3 09:28:50 CDT 1997  Joel Sherrill (joel@OARcorp.com)
7560
7561         * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
7562           mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
7563           sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
7564           definitions.  Use -qrtems instead of -mrtems.
7565
7566 Wed Sep  3 09:05:41 1997  Robert Lipe  (robert@dgii.com)
7567
7568         * xm-sco5.h (sys_siglist): Define.
7569         (SYS_SIGLIST_DECLARED): Likewise.
7570
7571 Tue Sep  2 23:33:33 1997  Jeffrey A Law  (law@cygnus.com)
7572
7573         * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
7574
7575 Wed Sep  3 02:09:30 1997  Torbjorn Granlund  <tege@pdc.kth..se>
7576
7577         * except.c (eh_outer_context): Expand masking operation using
7578         expand_binop.
7579
7580 Tue Sep  2 18:09:39 1997  Jim Wilson  <wilson@cygnus.com>
7581
7582         * alpha.md (floatdisf2-1): New pattern.
7583
7584 Tue Sep  2 18:41:55 1997  Jeffrey A Law  (law@cygnus.com)
7585
7586         * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
7587         * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
7588         * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
7589         * gcc.texi: Note that if you define sys_siglist that you should
7590         also define SYS_SIGLIST_DECLARED.
7591
7592         * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
7593         are relative to the next instruction, not the current instruction.
7594
7595 Tue Sep  2 14:22:43 1997  Jim Wilson  <wilson@cygnus.com>
7596
7597         * local-alloc.c (contains_replace_regs): New function.
7598         (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
7599         verify that there is no existing REG_EQUIV note, and add a call to
7600         contains_place_regs.
7601
7602 Tue Sep  2 12:48:11 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
7603
7604         * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
7605         (STARTFILE_SPEC): Always use crtbegin.o%s
7606         (ENDFILE_SPEC): Always use crtend.o%s.
7607
7608 Tue Sep  2 12:00:36 1997  Jim Wilson  <wilson@cygnus.com>
7609
7610         * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
7611         is passed in.
7612         * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
7613         SFmode for 64 bit hosts.
7614         
7615 Tue Sep  2 13:42:38 1997  Paul N. Hilfinger  <hilfingr@CS.Berkeley.EDU>
7616
7617         * fixincludes: Permits spaces between # and define.  Discard C++
7618         comments in sys/pci.h on HP/UX 10.20.
7619
7620 Mon Sep  1 22:13:18 1997  Jeffrey A Law  (law@cygnus.com)
7621
7622         * version.c: Bump for snapshot.
7623
7624         * pa.c (restore_unscaled_index_insn_codes): New function.
7625         (record_unscaled_index_insn_codes): Likewise.
7626         (output_function_prologue): Call restore_unscaled_index_insn_codes.
7627         (output_function_epilogue): Free memory for unscaled_index_insn_codes.
7628         (pa_reorg): Call record_unscaled_index_insn_codes.
7629
7630         * haifa-sched.c (move_insn): Handle notes correctly for insns
7631         with SCHED_GROUP_P set.
7632         
7633 Mon Sep  1 16:58:57 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
7634
7635         * alpha/xm-linux.h (USE_BFD): Undef before define.
7636
7637 Mon Sep  1 16:25:34 1997  Jim Wilson  <wilson@cygnus.com>
7638
7639         * cse.c (cse_insn): Don't record BLKmode values.
7640
7641 Mon Sep  1 11:25:47 1997  Stephen Williams  (steve@icarus.icarus.com)
7642
7643         * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
7644
7645 Mon Sep  1 08:29:46 1997  Jeffrey A Law  (law@cygnus.com)
7646
7647         * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
7648         * collect2.c (sys_errlist): Likewise.
7649         * cpplib.c (sys_errlist): Likewise.
7650         * gcc.c (sys_errlist): Likewise.
7651         * protoize (sys_errlist): Likewise.
7652         * configure.in: Check for strerror.
7653         * xm-freebsd.h (HAVE_STRERROR): Remove definition.
7654         * xm-gnu.h (HAVE_STRERROR): Likewise.
7655         * xm-linux.h (HAVE_STRERROR): Likewise.
7656         * xm-netbsd.h (HAVE_STRERROR): Likewise.
7657         * xm-bsd386.h (HAVE_STRERROR): Likewise.
7658         * xm-cygwin32.h (HAVE_STRERROR): Likewise.
7659         * xm-dos.h (HAVE_STRERROR): Likewise.
7660         * xm-mingw32.h (HAVE_STRERROR): Likewise.
7661         * xm-pa.h (HAVE_STRERROR): Likewise.
7662         * xm-papro.h (HAVE_STRERROR): Likewise.
7663         * xm-sysv4.h (HAVE_STRERROR): Likewise.
7664         * configure, config.in: Rebuilt.
7665
7666         * Makefile.in: Add several missing "else true" clauses.
7667
7668         * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
7669         * mips-tfile.c: Likewise.
7670         * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
7671         * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
7672         * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
7673         * configure.in: Check for sys_siglist declaration.
7674         * configure, config.in: Rebuilt.
7675
7676 Mon Sep  1 08:04:07 1997  Joel Sherrill (joel@OARcorp.com)
7677
7678         * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, 
7679         m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
7680         sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
7681         * i960/i960.h: Added SUBTARGET_SWITCHES macro.
7682         * rs6000/sysv4.h (extra_subtarget_switches): Added new
7683         macro EXTRA_SUBTARGET_SWITCHES.
7684         * configure.in (sh*-*-rtems*): New target.
7685         * sh/rtems.h: New file.
7686         * sh/sh.h: Added SUBTARGET_SWITCHES macro.
7687         * configure: Rebuilt.
7688
7689 Sat Aug 30 22:54:26 1997  Jim Wilson  <wilson@cygnus.com>
7690
7691         * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
7692
7693 Sat Aug 30 10:49:46 1997  David Edelsohn  <edelsohn@mhpcc.edu>
7694
7695         * rs6000.md: Make DF fused-add operations pay attention to
7696         -mno-fused-add.
7697
7698 Fri Aug 29 19:19:54 1997  Jim Wilson  <wilson@cygnus.com>
7699
7700         * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
7701
7702 Fri Aug 29 16:13:51 1997  Jeffrey A Law  (law@cygnus.com)
7703
7704         * pa.md (reload_peepholes): Make sure operand is a REG before
7705         examining REGNO.  Allow general registers too.
7706
7707 Fri Aug 29 11:42:04 1997  Jim Wilson  <wilson@cygnus.com>
7708
7709         * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
7710
7711 Fri Aug 29 09:33:20 1997  Philipp Thomas  (kthomas@lxi165.gwdg.de)
7712
7713         * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
7714         to reallocate abbrev_die_table.
7715
7716 Thu Aug 28 15:14:46 1997  Jim Wilson  <wilson@cygnus.com>
7717
7718         * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
7719
7720 1997-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7721
7722         * Makefile.in (config.status): Depend on version.c
7723
7724         * expr.h (insn_gen_function): Reenable prototype.
7725
7726         * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
7727         first parameter.
7728
7729 Thu Aug 28 13:01:43 1997  Jim Wilson  <wilson@cygnus.com>
7730
7731         * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
7732
7733 Thu Aug 28 07:03:15 1997  Jeffrey A Law  (law@cygnus.com)
7734
7735         * version.c: Bump for latest snapshot.
7736
7737         * bc-optab.c: Conditionally include stdlib.h.
7738         (free): Provide a declaration if NEED_DECLARATION_FREE.
7739         * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
7740         * rtl.h (free): Remove declaration.
7741         * tree.h (free): Remvoe declaration.
7742
7743         * configure: Rebuilt.
7744
7745 Wed Aug 27 21:32:20 1997  Jeffrey A Law  (law@cygnus.com)
7746
7747         * flags.h (flag_move_all_movables): Declare.
7748         (flag_reduce_all_givs): Likewise.
7749         * loop.c (move_movables): Handle flag_move_all_movables.
7750         (strength_reduce): Handle flag_reduce_all_givs.
7751         * toplev.c (flag_move_all_movables): Define.
7752         (flag_reduce_all_givs): Likewise.
7753         (f_options): Add -fmove-all-movables and -freduce-all-givs.
7754         * invoke.texi: Document new options, including alias stuff that
7755         wasn't included last time.
7756
7757 Wed Aug 27 18:08:51 1997  Bob Manson  (manson@cygnus.com)
7758
7759         * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
7760         * t-mn10200: Ditto.
7761         * t-vxsparc: Ditto.
7762         * t-vxworks68: Ditto.
7763         * t-vxworks960: Ditto.
7764         * t-vx29k: Ditto.
7765
7766 Wed Aug 27 16:35:29 1997  Richard Henderson  <rth@cygnus.com>
7767
7768         * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
7769         if not already defined, and USE_C_ALLOCA not defined.
7770
7771 Wed Aug 27 16:08:43 1997  Jim Wilson  <wilson@cygnus.com>
7772
7773         * config.guess: Replace with script that uses ../config.guess.
7774
7775         * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
7776         if USE_GNULIBC_1 is not defined.
7777
7778 Wed Aug 27 15:49:12 1997  Richard Henderson  <rth@cygnus.com>
7779
7780         * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
7781         * config.guess: Recognize alpha-linux-gnulibc1.
7782         * configure.in (alpha-*-linux-gnulibc1): New target.
7783         (alpha-*-linux-gnu*): Don't build crtbegin/end.
7784
7785 Wed Aug 27 11:52:58 1997  Jim Wilson  <wilson@cygnus.com>
7786
7787         * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
7788         last change.
7789
7790 Wed Aug 27 01:56:18 1997  Doug Evans  <dje@seba.cygnus.com>
7791
7792         * loop.c (combine_movables): Earlier insns don't match later ones.
7793
7794 Wed Aug 27 01:24:25 1997  H.J. Lu   (hjl@gnu.ai.mit.edu)
7795
7796         * config/linux.h (CC1_SPEC): Define it only if not defined.
7797
7798         * config/m68k/linux.h (CC1_SPEC): Undefine it before include
7799         <linux.h>
7800
7801         * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
7802         USE_GNULIBC_1 is not defined.
7803
7804         * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New.  Defined as 1.
7805
7806         * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
7807         as 1 if USE_GNULIBC_1 is not defined.
7808
7809 Wed Aug 27 00:49:14 1997  Jeffrey A Law  (law@cygnus.com)
7810
7811         * reorg.c (dbr_schedule): Allow current_function_return_rtx
7812         to be something other than a REG.
7813         * function.c (expand_function_end): Fix current_function_return_rtx
7814         if it was a pseudo.
7815
7816         * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
7817         * x-netbsd: Likewise
7818         * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
7819         (INSTALL_HEADERS): Delete.
7820         * x-dguxbcs: Likewise.
7821         * x-hp3bsd44: Likewise
7822         * x-pa: Likewise.
7823
7824 Wed Aug 27 00:30:00 1997  Bernd Schmidt  <crux@pool.informatik.rwth-aachen.de>
7825
7826         * i386.md (pop): pop increments the stack pointer.
7827         (prologue_set_stack_ptr): New pattern.
7828         * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
7829         instead of subsi3.
7830
7831 Tue Aug 26 18:50:32 1997  Jim Wilson  <wilson@cygnus.com>
7832
7833         * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
7834         address where an offsettable address is required.
7835
7836 Tue Aug 26 17:54:56 1997  Michael P. Hayes  (michaelh@ongaonga.chch.cri.nz>
7837
7838         * loop.c (check_final_value): Don't miss a biv increment in a
7839         parallel.
7840
7841 Tue Aug 26 12:03:49 1997  Jim Wilson  (wilson@cygnus.com)
7842
7843         * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
7844         TYPE_DECL_IS_STUB instead of DECL_NAME.
7845
7846 Mon Aug 25 23:27:10 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
7847
7848         * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
7849
7850 Mon Aug 25 23:27:10 1997  Jim Meyering <meyering@eng.ascend.com>
7851
7852         * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
7853
7854 Mon Aug 25 13:12:24 1997  Jeffrey A Law  (law@cygnus.com)
7855
7856         * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
7857         (find_post_sched_live): Likewise.
7858
7859         * haifa-sched.c (schedule_block): Remove old code to get arguments
7860         from hard regs into pseudos early.
7861
7862 Mon Aug 25 08:55:00 1997  Jeffrey A Law  (law@cygnus.com)
7863
7864         * version.c: Bump for new snapshot.
7865
7866         * local-alloc.c (update_equiv_regs): All the target to reject
7867         promotion of some REG_EQUAL to REG_EQUIV notes.
7868         * pa.h (DONT_RECORD_EQUIVALENCE): Define.
7869
7870         * pa.c (secondary_reload_class): (mem (mem ... )) does not need
7871         secondary reloads.
7872
7873         * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
7874         store of the argument registers.
7875
7876 Mon Aug 25 08:39:02 1997  Craig Burley  (burley@gnu.ai.mit.edu)
7877
7878         * fold-const.c (multiple_of_p): New function.
7879         (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
7880
7881 Mon Aug 25 01:47:41 1997  Jeffrey A Law  (law@cygnus.com)
7882
7883         * expr.h (insn_gen_function): Temporarily remove prototype.
7884
7885 Sun Aug 24 17:22:21 1997  Jim Wilson  <wilson@cygnus.com>
7886
7887         * Makefile.in (install-info): Don't cd into srcdir.  Add srcdir to
7888         filenames.  Use sed to extract base filename for install.
7889
7890 Sat Aug 23 18:19:40 1997  John F. Carr  <jfc@mit.edu>
7891
7892         * unroll.c (find_splittable_givs): Only share if two givs have the
7893         same add and multiply values.
7894
7895 Sat Aug 23 14:36:27 1997  Jim Wilson  <wilson@cygnus.com>
7896
7897         * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
7898         * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
7899
7900 Sat Aug 23 00:18:22 1997  Jeffrey A Law  (law@cygnus.com)
7901
7902         * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
7903         around branch tables.
7904         * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
7905         and .end_brtab directives if TARGET_GAS.
7906
7907 Fri Aug 22 14:05:55 1997  Jim Wilson  <wilson@cygnus.com>
7908
7909         * alias.c (true_dependence): Pass x_addr not x to varies.
7910
7911         * acconfig.h (NEED_DECLARATION_CALLOC): Add.
7912         * configure.in: Add GCC_NEED_DECLARATION call for calloc.
7913         * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
7914         declarations.
7915         * config.in, configure: Regenerate.
7916
7917 Thu Aug 21 23:52:16 1997  John F. Carr  <jfc@mit.edu>
7918
7919         * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
7920         LO_SUM.
7921         (record_set): Handle LO_SUM like PLUS.
7922         (init_alias_analysis): When following chains of base addresses,
7923         do not stop on reaching a hard register.
7924
7925 Thu Aug 21 20:17:37 1997  Jeffrey A Law  (law@cygnus.com)
7926
7927         * version.c: Bump for new snapshot.
7928
7929 Thu Aug 21 17:28:00 1997  Jim Wilson  <wilson@cygnus.com>
7930
7931         * alpha.h (ARCH_ASM_FILE_START): Define.
7932         (ASM_FILE_START): Use ARCH_ASM_FILE_START.
7933         * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
7934
7935 Thu Aug 21 10:22:19 1997  Jeffrey A Law  (law@cygnus.com)
7936
7937         * Makefile.in (install-common): Put gcov comment at start of line.
7938
7939 Wed Aug 20 22:47:33 1997  Jeffrey A Law  (law@cygnus.com)
7940
7941         * alias.c (init_alias_analysis): When simplifying the reg_base_value
7942         array, simplify entries for hard registers too.
7943
7944 Wed Aug 20 12:35:47 1997  Dave Love  <d.love@dl.ac.uk>
7945
7946         * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
7947         list.
7948
7949 Wed Aug 20 11:58:33 1997  Jim Wilson  <wilson@cygnus.com>
7950
7951         * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
7952         block_stack before dereferencing it.
7953
7954 Wed Aug 20 11:57:11 1997  Michael Meissner  <meissner@cygnus.com>
7955
7956         * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
7957
7958 Tue Aug 19 17:10:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
7959
7960         * cplus-dem.c: Add 'extern' to prepends_underscore.
7961
7962 Tue Aug 19 09:34:57 1997  Jeffrey A Law  (law@cygnus.com)
7963
7964         * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
7965         (get_issue_rate): Delete.
7966         * pa.h (ISSUE_RATE): Define.
7967
7968         * configure.in: Turn on haifa by default for the PA.
7969         * configure: Rebuilt.
7970         * pa.c (override_options): Accept -mschedule=7200 option.
7971         (pa_adjust_cost): No longer need to scale costs for newer
7972         processors.
7973         * pa.h (enum processor_type): Add PROCESSOR_7200.
7974         * pa.md: Revamp scheduling parameters to work better with
7975         haifa.  Add scheduling parameters for the 7200.
7976
7977         * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
7978         insns too.
7979         (schedule_block): When adjusting basic_block_{head,end}, account
7980         for movement of SCHED_GROUP_P insns too.
7981
7982         * haifa-sched.c (debug_dependencies): Fix thinko.
7983
7984         * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
7985         (site.exp, check, check-g++, check-gcc): New targets.
7986
7987         * haifa-sched.c: Make lots of variables static.
7988
7989 Tue Aug 19 07:18:34 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
7990
7991         * expr.h, real.h: Finish prototyping.
7992
7993 Mon Aug 18 21:49:02 1997  Jim Wilson  <wilson@cygnus.com>
7994
7995         * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
7996         reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
7997         * reload1.c: Undo bugfix from Aug 11.
7998
7999 Mon Aug 18 17:39:02 1997  Mike Meissner  <meissner@cygnus.com>
8000
8001         * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
8002         quotes around the name.
8003         * configure: Regenerate.
8004
8005 Mon Aug 18 13:46:47 1997  Jim Wilson  <wilson@cygnus.com>
8006
8007         * Makefile.in (stmp-multilib-sub): Fix typo in last change.
8008
8009 Thu Aug  7 10:33:13 1997  Manfred Hollstein  <manfred@s-direktnet.de>
8010
8011         * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
8012         to sub-makes to avoid building more passes than the user might have
8013         requested on the command line.
8014
8015 Sun Aug 17 15:42:17 1997  Dave Love  (d.love@dl.ac.uk)
8016
8017         * configure.in: Expurgate `broken_install' (install is
8018         autoconfed).
8019
8020         * configure.lang: Substitute autoconfed ${INSTALL} (not currently
8021         relevant).
8022
8023 Sat Aug 16 01:08:12 1997  Jeffrey A Law  (law@cygnus.com)
8024
8025         * loop.c (is_power_of_2, is_conditional_branch): Delete unused
8026         functions and declarations.
8027         (analyze_loop_iterations): Use condjump_p.
8028         (insert_bct): Likewise.  Use exact_log2.
8029         
8030 Fri Aug 15 23:48:32 1997  Jeffrey A Law  (law@cygnus.com)
8031
8032         * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
8033         (schedule_region): Likewise.
8034         (schedule_insns): Likewise.
8035
8036         * PROJECTS: Update with Haifa stuff.
8037
8038 Fri Aug 15 12:49:56 1997  Jeffrey A Law  (law@cygnus.com)
8039
8040         * version.c: Change the version string to look like:
8041         egcs-2.90.00 970814 (gcc2-970802 experimental).
8042
8043         * loop.c (is_conditional_branch): Make definition match declaration.
8044
8045         * gcc.c: Take out experimental snapshot warning message.
8046
8047 Fri Aug 15 13:43:39 1997  Michael Meissner  <meissner@cygnus.com>
8048
8049         * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
8050         print out the names of the notes.  Print out the name of the insn
8051         that is not a note, and not an {,CALL_,JUMP_}INSN.
8052
8053 Wed Aug 13 17:32:38 1997  Jason Merrill  <jason@yorick.cygnus.com>
8054
8055         * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
8056         again for the slot after we give it RTL.
8057
8058 Wed Aug 13 01:03:37 1997  Doug Evans  <dje@canuck.cygnus.com>
8059
8060         * configure.in (haifa configury): Fix typo.
8061         * configure: Regenerate.
8062
8063 Tue Aug 12 10:20:36 1997  Jeffrey A Law  (law@cygnus.com)
8064
8065         * version.c: Bump version to "gcc-3.0.0 970802 experimental".
8066
8067         * gcc.info*: Rebuilt.
8068
8069         * COPYING.g77, README.g77: New files.
8070         * real.c (ereal_unto_float, ereal_unto_double): New functions.
8071         * real.h (ereal_unto_float, ereal_unto_double): Declare them.
8072         (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
8073
8074 Mon Aug 11 14:50:55 1997  Jeffrey A Law  (law@cygnus.com)
8075
8076         * Integrate Haifa instruction scheduler.
8077         * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS.  Prefix all references
8078         to sched with $(SCHED_CFLAGS.
8079         * configure.in: Handle --enable-haifa.
8080         * configure: Rebuilt.
8081         * flags.h: Add new flags for haifa instruction scheduler.
8082         * genattrtab.c (expand_units): For haifa, don't subtract one
8083         when computing blockage.
8084         * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
8085         (flag_schedule_speculative): Ditto.
8086         (flag_schedule_speculative_load): Ditto.
8087         (flag_schedule_speculative_load_dangerous): Ditto.
8088         (flag_schedule_reverse_before_reload): Ditto.
8089         (flag_schedule_reverse_after_reload): Ditto.
8090         (flag_branch_on_count_reg): Ditto.
8091         (f_options): Add Haifa switches.
8092         (main): Turn off some Haifa options if appropriate macro is
8093         defined.  Process Haifa switches.
8094         * unroll.c (iteration_info): No longer static, since Haifa
8095         scheduler uses it.
8096         (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
8097         * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
8098         * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
8099         * loop.h (loop_initial_value,loop_unroll_iter): New globals.
8100         * loop.c (loop_optimize): If HAIFA is defined, allocate additional
8101         storage for the Haifa scheduler.
8102         (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
8103         LABEL_NEXTREF.
8104         (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
8105         are defined, call analyze_loop_iterations and insert_bct to use
8106         countdown loops.
8107         (record_giv): Refine test for jumps out of loops if HAIFA is
8108         defined.
8109         (analyze_loop_iterations): New function to identify if we can use
8110         a countdown loop.
8111         (insert_bct): Insert countdown loop.
8112         (instrument_loop_bct): Low level code to insert countdown loop.
8113         (loop_number): Calculate UID of loop.
8114         (indirect_jump_in_function_p): Return true if an indirect jump is
8115         in the function.
8116         (is_power_of_2): Return true if value is a power of 2.
8117         (is_conditional_branch): Return true if insn is a conditional
8118         jump.
8119         (fix_bct_param): Process -fbct-{min,max}-N switches.
8120         (check_bct_param): Return true if loop should be instrumented.
8121         * loop.c (loop_initial_value,loop_unroll_iter): New globals.
8122         (loop_optimize): Initialize.
8123         (get_condition_for_loop): Ditto.
8124         * loop.c (strength_reduce): Inside of code that uses #ifdef
8125         HAVE_decrement_and_branch_on_count code, test it to make sure the
8126         condition is true.
8127         (instrument_loop_bct): Ditto.
8128         * haifa-sched.c: New file.
8129         
8130
8131         * Integrate regmove pass.
8132         * Makefile.in (OBJS): Add regmove.o
8133         (regmove.o): Add dependencies.
8134         * flow.c (find_use_as_address): No longer static.
8135         * rtl.h (find_use_as_address): Declare.
8136         * toplev.c (regmove_dump, flag_regmove): Define.
8137         (f_options): Add -fregmove.
8138         (regmove_dump_file, regmove_time): Define.
8139         (fatal_insn): Close the regmove dump file.
8140         (compile_file): Initialize regmove_time; open/close the regmove dump
8141         file as needed.  Print regmove time as needed.
8142         (rest_of_compilation): Run regmove pass if requested, dump
8143         RTL after regmove if requested.
8144         (main): If -O2 or more, turn on regmove.  Handle dump switches.
8145         * regmove.c: New file.
8146         
8147 Mon Aug 11 14:15:02 1997  Jeffrey A Law  (law@cygnus.com)
8148
8149         * Integrate tlink patch from jason@cygnus.com
8150         * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
8151         (process_command): Increment n_switches for them.  Don't discard
8152         their args.  Validate them.
8153         (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
8154         From Rohan Lenard.
8155         (process_command): Set include_prefixes from COMPILER_PATH.
8156         (main): Set COLLECT_GCC_OPTIONS sooner.
8157         * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
8158         * tlink.c, hash.c, hash.h: New files.
8159         * Makefile.in (USE_COLLECT2): Always use collect2.
8160         (collect2): Depend on and link in hash.o and tlink.o.
8161         (tlink.o, hash.o): Add dependencies.
8162
8163 Mon Aug 11 10:04:49 1997  Jeffrey A Law  (law@cygnus.com)
8164
8165         * Integrate alias analysis changes from jfc@mit.edu
8166         * Makefile.in (OBJS): Add alias.o
8167         (alias.o): Add dependencies.
8168         * alias.c: New file.
8169         * sched.c: Remove alias analysis code.  It lives in alias.c now.
8170         (sched_analyze_2): Add new arguments to true_dependence.
8171         (schedule_insns): Always call init_alias_analysis.
8172         * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
8173         mark return value from such functions as a pointer and keep track of
8174         them for alias analysis.  If a return value from a function is a
8175         pointer, mark it as such.
8176         * combine.c (distribute_notes): Handle REG_NOALIAS.
8177         * cse.c (struct write_data): Delete.  No longer needed.
8178         (invalidate): Don't call set_nonvarying_address_components anymore.
8179         Use true_dependence to decide if an entry should be removed from
8180         the hash table.
8181         (invalidate_memory): Remove WRITES argument, simplify appropriately.
8182         Fix all callers.
8183         (note_mem_written): Similarly for WRITE_PTR argument.
8184         (invalidate_from_clobbers): Similarly for W argument.
8185         (invalidate_for_call): Remove memory elements from the hash table.
8186         (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
8187         (cse_rtx_varies_p): New function.  Derived from old
8188         cse_rtx_addr_varies_p.
8189         (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
8190         Don't call note_mem_written anymore.  Stack pushes invalidate the stack
8191         pointer if PUSH_ROUNDING is defined.  No longer need to call
8192         cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
8193         (skipped_writes_memory): Remove variable.
8194         (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
8195         (invalidate_skipped_block): Simplify for new alias analysis code.
8196         (cse_set_around_loop): Likewise.
8197         (cse_main): Call init_alias_analysis.
8198         * flags.h (flag_alias_check, flag_argument_noalias): Declare.
8199         * toplev.c (flag_alias_check, flag_argument_noalias): Define.
8200         (f_options): Add new alias checking arguments.
8201         (main): Set flag_alias_check when optimizing.
8202         * local_alloc (validate_equiv_mem_from_store): Add new arguments
8203         to true_dependence.
8204         (memref_referenced_p): Likewise.
8205         * loop.c (NUM_STORES): Increase to 30.
8206         (prescan_loop): Only non-constant calls set unknown_address_altered.
8207         (invariant_p): Add new arguments to true_dependence.
8208         (record_giv): Initialize unrolled and shared fields.
8209         (emit_iv_add_mult): Call record_base_value as needed.
8210         * loop.h (struct induction): Add unrolled and shared fields.
8211         * unroll.c  (unroll_loop): Call record_base_value as needed.
8212         (copy_loop_body): Likewise.
8213         (final_biv_value): Likewise.
8214         (final_giv_value): Likewise.
8215         (find_splittable_regs): Likewise.  Only create one new pseudo
8216         if we have multiple address GIVs that were combined with the same
8217         dst_reg GIV.  Note when a new register is created due to unrolling.
8218         * rtl.c (reg_note_name): Add REG_NOALIAS.
8219         * rtl.h (enum reg_note): Similarly.
8220         (rtx_varies_p, may_trap_p, side_effects_p): Declare.
8221         (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
8222         (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
8223         (true_dependence, read_dependence, anti_dependence): Likewise.
8224         (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
8225         (mark_user_reg, mark_reg_pointer): Likewise.
8226
8227
8228         * Integrate reload bugfix from Wilon which enables the PA port
8229         to bootstrap again.
8230         * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
8231         OPERAND_ADDRESS when computing how many registers an insn needs.
8232         (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
8233         conflict.
8234         (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
8235         OPADDR_ADDR reload.
8236         (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
8237         in reload_reg_use_in_op_addr do not reach the end.
8238         do not reach the end.
8239         (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
8240         RELOAD_FOR_OPERAND_ADDRESS.
8241
8242 Sun Aug 10 12:00:20 1997  Jeffrey A Law  (law@cygnus.com)
8243
8244         * egcs project officially starts.
8245