OSDN Git Service

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