OSDN Git Service

fbb01cce2e84ca6f3353bfcfa3731dd4591b0f24
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Thu Dec  4 11:51:00 1997  Jason Merrill  <jason@yorick.cygnus.com>
2
3         * except.c (get_dynamic_handler_chain): Only make the call once per
4         function.
5
6         * except.c (expand_end_all_catch): Fix for sjlj exceptions.
7
8 Thu Dec  4 12:30:40 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
9
10         * sh.c (final_prescan_insn): Use local label prefix
11         when emitting .uses pseudo-ops.
12
13 Wed Dec  3 12:01:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
14
15         * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
16         * except.c: Lose outer_context_label_stack.
17         (expand_eh_region_end): Rethrow from outer_context here.
18         (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
19         (expand_internal_throw): Take no args.
20         (expand_internal_throw_indirect): Lose.
21         (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
22         (expand_start_all_catch): Start a rethrow region.
23         (expand_end_all_catch): End it.
24         (expand_rethrow): New fn.
25         * except.h: Reflect above changes.
26         * flow.c: Revert change of Nov 27.
27
28 Thu Dec  4 00:24:09 1997  Jeffrey A Law  (law@cygnus.com)
29
30         * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
31
32 Wed Dec  3 12:01:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
33
34         * except.c (expand_fixup_region_end): New fn.
35         (expand_fixup_region_start): Likewise.
36         (expand_eh_region_start_tree): Store cleanup into finalization here.
37         * stmt.c (expand_cleanups): Use them to protect fixups.
38
39 Wed Dec  3 11:41:13 1997  Gavin Koch  <gavin@cygnus.com>
40
41         * mips/mips.md (muldi3_r4000): Broaden the output template
42         and attribute assignments to handle three operand dmult;
43         rename to muldi3_internal2.
44         (muldi3): Call the new muldi3_internal2 for R4000, and
45         any GENERATE_MULT3 chip.
46
47 Tue Dec  2 19:40:43 1997  Jason Merrill  <jason@yorick.cygnus.com>
48
49         * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
50
51 Tue Dec  2 12:54:33 1997  Jim Wilson  <wilson@cygnus.com>
52
53         * unroll.c (find_splittable_givs):  Remove last change.  Handle givs
54         with a dest_reg that was created by loop.
55
56 Sat Nov 29 12:44:57 1997  David Edelsohn  <edelsohn@mhpcc.edu>
57
58         * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
59
60         * rs6000/aix41.h (ASM_CPU_SPEC): Define.
61
62 Fri Nov 28 10:00:27 1997  Jeffrey A Law  (law@cygnus.com)
63
64         * configure.in: Fix NCR entries.
65
66 Thu Nov 27 12:20:19 1997  Jeffrey A Law  (law@cygnus.com)
67
68         * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
69         nested exceptions correctly.
70
71         * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
72         that was created by loop.
73
74 Thu Nov 27 09:34:58 1997  Jason Merrill  <jason@yorick.cygnus.com>
75
76         * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
77
78         * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
79
80 Wed Nov 26 15:47:30 1997  Michael Meissner  <meissner@cygnus.com>
81
82         * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
83         (print_operand): Use SMALL_DATA_REG for the register involved in
84         small data relocations.
85         (print_operand_address): Ditto.
86
87         * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
88         -dynamic linker is not used.
89
90         * rs6000.md (call insns): For local calls, use @local suffix under
91         System V.  Don't use @plt under Solaris.
92
93         * rs6000.c (output_function_profiler): Put label address in r0, and
94         store LR in 4(sp) for System V/eabi.
95
96         * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
97         byte boundary, and maintain stack backchain.
98
99 Tue Nov 25 14:08:12 1997  Jim Wilson  <wilson@cygnus.com>
100
101         * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
102         fix_truncsfdi2): Change *.
103
104 Wed Nov 26 11:12:26 1997  Jason Merrill  <jason@yorick.cygnus.com>
105
106         * toplev.c (main): Complain about -gdwarfn.
107
108 Tue Nov 25 22:43:30 1997  Jason Merrill  <jason@yorick.cygnus.com>
109
110         * dwarfout.c (output_type): If finalizing, write out nested types 
111         of types we've already written.
112
113 Tue Nov 25 20:32:24 1997  Michael Meissner  <meissner@cygnus.com>
114
115         (patches originally from Geoffrey Keating)
116         * rs6000.c (function_arg): Excess floating point arguments don't
117         go into GPR registers after exhausting FP registers under the
118         System V.4 ABI.
119         (function_arg_partial_nregs): Ditto.
120
121         * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
122         suffix to calls.
123
124 Tue Nov 25 23:37:27 1997  Jason Merrill  <jason@yorick.cygnus.com>
125
126         * integrate.c (output_inline_function): Just unset DECL_INLINE.
127
128 Tue Nov 25 23:33:29 1997  scott snyder  <snyder@d0sgif.fnal.gov>
129
130         * dwarf2out.c (outout_call_frame_info): Ensure that the info has
131         proper alignment.
132
133         * libgcc2.c (__throw): Initialize HANDLER.
134
135 Tue Nov 25 14:08:12 1997  Jim Wilson  <wilson@cygnus.com>
136
137         * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
138         fix_truncsfdi2): Change *X to ?*X.
139
140 Tue Nov 25 10:00:42 1997  Richard Henderson  (rth@cygnus.com)
141
142         * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
143
144 Tue Nov 25 10:00:42 1997  Jeffrey A Law  (law@cygnus.com)
145
146         * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
147
148 Tue Nov 25 01:26:55 1997  Bruno Haible <haible@ilog.fr>:
149
150         * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
151
152 Mon Nov 24 22:41:55 1997  Jason Merrill  <jason@yorick.cygnus.com>
153
154         * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
155         * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
156         * expr.h: Likewise.
157
158 Sat Nov 22 18:58:20 1997  Jeffrey A Law  (law@cygnus.com)
159
160         * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
161         * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
162         gas and not using the new HP assembler.
163
164 Fri Nov 21 15:20:05 1997  Jeffrey A Law  (law@cygnus.com)
165
166         * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
167         (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
168
169 Fri Nov 21 19:37:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
170
171         * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
172         TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
173         definition.
174
175 Fri Nov 21 12:49:56 1997  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>
176
177         * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
178
179 Fri Nov 21 12:18:51 1997  Jason Merrill  <jason@yorick.cygnus.com>
180
181         * except.h: Add outer_context_label_stack.
182         * except.c: Likewise.
183         (expand_start_all_catch): Push the outer_context for the try block
184         onto outer_context_label_stack.
185         (expand_end_all_catch): Use it and pop it.
186
187 Fri Nov 21 10:13:11 1997  Robert Lipe (robertl@dgii.com)
188
189         * i386/sco5.h (HAVE_ATEXIT): Revert last change.
190
191 Thu Nov 20 16:11:50 1997  Richard Henderson  <rth@cygnus.com>
192
193         * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
194
195 Thu Nov 20 16:11:50 1997  Klaus Kaempf  <kkaempf@progis.de>
196
197         * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
198         to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
199
200 Thu Nov 20 14:42:15 1997  Jason Merrill  <jason@yorick.cygnus.com>
201
202         * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
203         * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler, 
204         __builtin_delete, and __builtin_vec_delete.
205
206         * except.c (output_exception_table): Don't bother with
207         __EXCEPTION_END__.
208
209 Thu Nov 20 16:11:50 1997  Jeffrey A Law  (law@cygnus.com)
210
211         * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
212         is an in/out operand.
213         (zero extended variants of stwm/stwm patterns): Similarly.
214
215         * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
216
217 Thu Nov 20 13:19:32 1997  Jason Merrill  <jason@yorick.cygnus.com>
218
219         * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
220         Use assemble_name.
221         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
222         (output_call_frame_info): Emit a \n after using it.
223
224 Thu Nov 20 00:38:46 1997  Dave Love  <d.love@dl.ac.uk>
225
226         * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
227
228 Wed Nov 19 12:03:04 1997  Philippe De Muyter  <phdm@macqel.be>
229
230         * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
231         (ASM_OUTPUT_DWARF_VALUE4): New macro.
232         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
233         defined.
234         (output_call_frame_info): Do not output forward label differences
235         if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
236         * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
237
238 Tue Nov 18 23:03:30 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
239
240         * sh.md (attribute "type"): Add nil.
241         (movsi_ie): y/y alternative is type nil.
242         (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
243         alternatives.
244         (movsf_ie+1): Delete.
245
246 Tue Nov 18 15:39:59 1997  Jim Wilson  <wilson@cygnus.com>
247
248         * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
249         large_int, emit two insns instead of one splitable insn.
250         * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
251         from cfa_temp_value, use cfa_offset.  Add assert checking that
252         cfa_reg is SP.
253
254 Mon Nov 17 15:35:38 1997  Tom Tromey  <tromey@cygnus.com>
255
256         * cccp.c (deps_output): Properly quote file names for make.
257
258 Mon Nov 17 13:21:40 1997  Jeffrey A Law  (law@cygnus.com)
259
260         * t-h8300 (MULTILIB_EXCEPTIONS): Define.
261
262 Fri Nov  7 15:33:11 1997  Robert Lipe (robertl@dgii.com)
263
264         * i386/sco5.h (HAVE_ATEXIT): Delete definition.
265
266 Sun Nov 16 23:52:48 1997  Jeffrey A Law  (law@cygnus.com)
267
268         * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
269         return.
270         (cse_end_of_basic_block): Similarly.
271  
272 Sun Nov 16 23:01:40 1997  J. Kean Johnston  <jkj@sco.com>
273
274         * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
275         (SELECT_RTX_SECTION): Define.
276         (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
277
278 Sun Nov 16 22:47:03 1997  Manfred Hollstein  <manfred@s-direktnet.de>
279
280         * Makefile.in (compare, compare-lean): Define $stage for each
281         shell command.
282         (gnucompare, gnucompare-lean): Likewise.
283
284 Sun Nov 16 22:02:16 1997  Richard Henderson  (rth@cygnus.com)
285
286         * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
287
288         * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
289         to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
290
291 Fri Nov 14 09:09:20 1997  Fred Fish  (fnf@cygnus.com)
292
293         * dwarfout.c (byte_size_attribute):  Add local var upper_bound
294         and add case to handle STRING_TYPE.
295         * dwarfout.c (output_string_type_die):  Fix code to generate
296         correct string length attribute for fixed length strings.
297         Still needs support for varying length strings.
298
299 Fri Nov 14 08:46:56 1997  Jeffrey A Law  (law@cygnus.com)
300
301         * toplev.c (get_run_time): Do something sensible for cygwin32.
302
303 Fri Nov 14 07:24:20 1997  Richard Henderson  <rth@cygnus.com>
304
305         * expr.c (expand_builtin_setjmp): Set
306         current_function_has_nonlocal_label.
307         * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
308         call-saved registers across calls.
309
310         * alpha.md (exception_receiver): Remove.
311         (nonlocal_goto_receiver_osf): New
312         (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
313         (nonlocal_goto_receiver): New, select _osf or _vms.
314
315         * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
316         keep them from being propogated to the object file.
317         (alpha_write_linkage): Likewise.
318         * alpha.md (call_vms): Likewise.
319         (call_value_vms): Likewise.
320         (unnamed osf call insns): Likewise.
321
322         * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
323         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
324
325         * alpha.c (call_operand): Any reg is valid for WinNT.
326         * alpha.md (call_nt, call_value_nt): Don't force address into $27.
327         (anon nt calls): Add 'R' alternative.
328         * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
329         INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
330
331 Fri Nov 14 06:59:33 1997  Jeffrey A Law  (law@cygnus.com)
332
333         * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
334
335         * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
336         * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
337         * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
338
339 Thu Nov 13 20:37:33 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
340
341         * reload1.c (new_spill_reg): Improve fixed or forbidden register
342         spill error message.
343
344 Thu Nov 13 20:29:08 1997  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
345
346         * prefix.c: Use stdarg.h only ifdef __STDC__.  Otherwise,
347         use varargs.h.  Wrap header with <>, not "".
348
349 Thu Nov 13 20:21:17 1997  Jeffrey A Law  (law@cygnus.com)
350
351         * integrate.c (save_for_inline_copying): Add return value from
352         savealloc.
353
354 Thu Nov 13 19:12:33 1997  Brendan Kehoe  <brendan@cygnus.com>
355
356         * fixincludes: Be a little more restrictive on what we will
357         substitute to replace definitions of MAXINT for HPUX.
358
359 Thu Nov 13 18:41:02 1997  Michael Meissner  <meissner@cygnus.com>
360
361         * dbxout.c (dbxout_symbol_location): Don't assume that variables
362         whose address is the stack or argument pointers are indirect
363         pointers.
364
365 1997-11-13  Paul Eggert  <eggert@twinsun.com>                               
366         
367         * cccp.c, cpplib.c (compare_defs):
368         Don't complain about arg name respellings unless pedantic.
369         * cpplib.c (compare_defs): Accept pfile as new arg.              
370         All callers changed.                                               
371
372 Thu Nov 13 23:33:50 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
373
374         * fold-const.c (fold_truthop): Fix bug in last change.
375
376 1997-11-13  Paul Eggert  <eggert@twinsun.com>
377
378         Fix some confusion with IEEE minus zero.
379
380         * real.h (REAL_VALUES_IDENTICAL): New macro.
381
382         * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
383         * fold-const.c (operand_equal_p): Don't consider -0.0 to be
384         identical to 0.0.
385         * tree.c (simple_cst_equal): Don't consider -0.0 to have the
386         same tree structure as 0.0.
387
388         * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
389         macro instead of doing it by hand.
390
391 Thu Nov 13 16:56:14 1997  Jeffrey A Law  (law@cygnus.com)
392
393         * v850/lib1funcs.asm: Minor whitespace changes.
394         * v850.c: Fix minor formatting problems in many places.
395         (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
396
397 Thu Nov 13 12:53:44 1997  Jim Wilson  <wilson@cygnus.com>
398
399         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
400         xplus1 when xplus0 is not a register.
401
402 Thu Nov 13 11:41:42 1997  Jeffrey A Law  (law@cygnus.com)
403
404         * flow.c (find_basic_blocks): During marking phase, if we encounter
405         an insn with a REG_LABEL note, make the target block live and
406         create an edge from the insn to the target block.  Do not make
407         edges from all blocks to the target block.
408
409         * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
410
411         * confiugre.in: Tweak NCR entries.
412         * configure: Rebuilt.
413
414 Thu Nov 13 11:07:41 1997  Michael Meissner  <meissner@cygnus.com>
415
416         * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
417         pick apart floating point values, instead of using CONST_DOUBLE_LOW
418         and CONST_DOUBLE_HIGH.
419
420         * rs6000.md (define_splits for DF constants): Use the appropriate
421         REAL_VALUE_* interface to pick apart DF floating point constants in
422         a machine independent fashion.
423
424 Thu Nov 13 00:06:58 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
425
426         * fold-const.c (fold_truthop): When changing a one-bit comparison
427         against zero into a comparison against mask, do a proper sign
428         extension.
429
430 Wed Nov 12 09:37:01 1997  Jeffrey A Law  (law@cygnus.com)
431
432         * except.c: Do not include "assert.h".
433         (save_eh_status): Turn asserts into conditional aborts.
434         (restore_eh_status, scan_region): Likewise.
435         * dwarfout.c: Do not include "assert.h".
436         (bit_offset_attribute): Turn asserts into conditional aborts.
437         (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
438         (output_inlined_structure_type_die): Likewise.
439         (output_inlined_union_type_die): Likewise
440         (output_tagged_type_instantiation): Likewise.
441         (dwarfout_file_scope_decl): Likewise.
442         * dwarf2out.c: Do not include "assert.h"
443         (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
444         (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
445         (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
446         (add_bit_size_attribute, scope_die_for): Likewise.
447         (output_pending_types_for_scope): Likewise.
448         (get_inlined_enumeration_type_die): Likewise.
449         (get_inlined_structure_type_die): Likewise.
450         (get_inlined_union_type_die, gen_subprogram_die): Likewise.
451         (gen_tagged_type_instantiation_die): Likewise.
452
453         * flow.c (find_basic_blocks): Refine further to get a more correct
454         cfg, especially in the presense of exception handling, computed
455         gotos, and other non-trivial cases.  Call abort if an inaccuracy
456         is detected in the cfg.
457
458 Tue Nov 11 21:47:27 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
459
460         * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
461
462         * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
463         (skip_white_space): Use whitespace_cr.
464         (check_newline): Handle whitespace more consistently.
465
466 Tue Nov 11 16:25:49 1997  Jim Wilson  <wilson@cygnus.com>
467
468         * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
469         * i386/xm-cygwin32.h (POSIX): Define.
470
471 Mon Nov 10 20:53:11 1997  Gavin Koch  <gavin@cygnus.com>
472
473         * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
474         is available elsewhere.
475
476 Mon Nov 10 16:21:58 1997  Doug Evans  <devans@canuck.cygnus.com>
477
478         * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
479         what the instruction can handle.
480
481 Mon Nov 10 03:02:19 1997  Jason Merrill  <jason@yorick.cygnus.com>
482
483         * stmt.c (expand_decl_cleanup_no_eh): New fn.
484
485         * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
486
487 Mon Nov 10 00:05:56 1997  Jeffrey A Law  (law@cygnus.com)
488
489         * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
490         (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
491
492 Sun Nov  9 14:34:47 1997  David Edelsohn  <edelsohn@mhpcc.edu>
493
494         * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
495         swap instruction order.
496
497 Sun Nov  9 02:07:16 1997  Jeffrey A Law  (law@cygnus.com)
498
499         * fixinc.svr4 (__STDC__): Add another case.
500
501 Sun Nov  9 02:00:29 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
502
503         * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
504         addresses in the epilogue delay slot.
505
506 Sun Nov  9 01:40:40 1997  Manfred Hollstein  (manfred@s-direktnet.de)
507
508         * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
509         in generated `specs' file.
510
511 Sun Nov  9 01:37:11 1997  Jim Wilson  (wilson@cygnus.com)
512
513         * flags.h (flag_rerun_loop_opt): Declare.
514         * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
515         * toplev.c (flag_rerum_loop_opt): Delete static.
516
517 Sat Nov  8 18:20:21 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
518
519         Bring over from FSF:
520
521         Thu Oct 30 12:21:06 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
522
523         * va-sh.h (__va_arg_sh1): Define.
524         (va_arg): Use it.
525         SH3E doesn't use any integer registers for subsequent arguments
526         once a non-float value was passed in the stack.
527         * sh.c (machine_dependent_reorg): If optimizing, put explicit
528         alignment in front label for ADDR_DIFF_VEC.
529         * sh.h (PASS_IN_REG_P): Fix SH3E case.
530         (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
531
532         Tue Oct 28 15:06:44 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
533
534         * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
535         svr4.h.
536
537         Mon Oct 27 16:11:52 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
538
539         * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
540         put an use_sfunc_addr before each sfunc.
541         * sh.md (use_sfunc_addr, dummy_jump): New insns.
542         (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
543
544         Tue Oct 21 07:12:28 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
545
546         * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
547
548 Fri Nov  7 10:22:24 1997  Jason Merrill  <jason@yorick.cygnus.com>
549
550         * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
551         linked once FDEs.
552
553 Wed Nov  5 14:26:05 1997  Jeffrey A Law  (law@cygnus.com)
554
555         * alias.c (find_base_value): Only return the known base value for
556         pseudo registers.
557
558 Wed Nov  5 11:27:14 1997  Jim Wilson  <wilson@cygnus.com>
559
560         * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
561         * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
562         to pattern.
563         (prologue_get_pc_and_set_got): New pattern.
564
565 Tue Nov  4 20:36:50 1997  Richard Henderson  (rth@cygnus.com)
566
567         * alpha.c (summarize_insn): Handle ASM_OPERANDS.  Don't recurse
568         for SUBREG, just fall through.
569
570         * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
571
572         * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
573
574 Tue Nov  4 18:49:42 1997  Jeffrey A Law  (law@cygnus.com)
575
576         * fixincludes: Fix "hypot" prototype in NeXT math.h.
577
578         * Makefile.in (USE_ALLOCA): Always include alloca.o.
579         (USE_HOST_ALLOCA): Likewise.
580
581         * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
582         and LABEL_REFS fields.
583         * rtl.h (LABEL_REFS): Update.
584
585 Tue Nov  4 16:55:11 1997  Jim Wilson  <wilson@cygnus.com>
586
587         * combine.c (try_combine): When setting elim_i2, check whether newi2pat
588         sets i2dest.  When calling distribute_notes for i3dest_killed, pass
589         elim_i2 and elim_i1.  When setting elim_i1, check if newi2pat
590         sets i1dest.
591
592         * mips.md (insv, extzv, extv): Add change_address call.
593         (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
594
595         * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
596
597         * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
598
599         * mips.c (mips_expand_epilogue): Emit blockage insn before call to
600         save_restore_insns if no FP and GP will be restored.
601
602         * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
603         Convert CCmode to word_mode before calling GET_MODE_SIZE.
604
605         * acconfig.h (HAVE_INTTYPES_H): Undef.
606         * configure.in (inttypes.h): Check for conflicts between sys/types.h
607         and inttypes.h, and verify that intmax_t is defined.
608         * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
609         * config/mips/x-iris3: Likewise.
610
611 Tue Nov  4 16:07:15 1997  Jeffrey A Law  (law@cygnus.com)
612
613         * alias.c (find_base_value): When copying arguments, return the
614         tenative value for a hard register.
615
616 Tue Nov  4 13:40:35 1997  Doug Evans  <devans@canuck.cygnus.com>
617
618         * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
619         (yylex): Record wide strings using target endianness, not host.
620
621 Tue Nov  4 13:13:12 1997  Jeffrey A Law  (law@cygnus.com)
622
623         * mn10200.h (ASM_OUTPUT_BSS): Delete.
624         (ASM_OUTPUT_ALIGNED_BSS): New macro
625         * mn10300.h (ASM_OUTPUT_BSS): Delete.
626         (ASM_OUTPUT_ALIGNED_BSS): New macro.
627         * v850.h (ASM_OUTPUT_BSS): Delete.
628         (ASM_OUTPUT_ALIGNED_BSS): New macro.
629
630 Tue Nov  4 00:55:48 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
631  
632         * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
633
634 Mon Nov  3 14:36:50 1997  Jeffrey A Law  (law@cygnus.com)
635
636         * configure.in (sco5): Use cpio to install header files.
637
638 Sun Nov  2 23:31:43 1997  Manfred Hollstein  <manfred@s-direktnet.de>
639
640         * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
641         14 char length.
642         * configure: Rebuild.
643
644 Sun Nov  2 19:44:00 1997  Robert Lipe (robertl@dgii.com)
645
646         * i386/sco5.h: enable -gstabs once again.
647
648 Sun Nov  2 19:27:21 1997  Jeffrey A Law  (law@cygnus.com)
649
650         * arm.c (output_move_double): Allocate 3 entries in otherops array.
651
652 Sat Nov  1 21:43:00 1997  Mike Stump  (mrs@wrs.com)
653
654         * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
655         notes for sjlj exceptions too.
656         (expand_eh_region_end): Similarly for EH_REGION_END notes.
657         (exception_optimize): Optimize EH regions for sjlj exceptions too.
658         * final.c (final_scan_insn): Don't output labels for EH REGION
659         notes if doing sjlj exceptions.
660
661 Sat Nov  1 19:15:28 1997  Jeffrey A Law  (law@cygnus.com)
662
663         * alias.c (init_alias_analysis): Handle -fno-alias-check when
664         optimizing correctly.
665
666         * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
667         or set current_function_calls_setjmp anymore.
668
669         * flow.c (find_basic_blocks): If we delete the label for an
670         exception handler, remove it from the EH label list and remove
671         the EH_BEGIN/EH_END notes for that EH region.
672
673 Sat Nov  1 16:44:49 1997  Jason Merrill  (jason@cygnus.com)
674
675         * flow.c (find_basic_blocks): Generate correct flow control
676         information when exception handling notes are present.
677
678 Sat Nov  1 13:42:19 1997  Jeffrey A Law  (law@cygnus.com)
679
680         * dwarf2out.c (output_call_frame_info): Fix length argument
681         to ASM_OUTPUT_ASCII.
682         (output_die, output_pubnames, output_line_info): Likewise.
683
684 Fri Oct 31 07:10:09 1997  Jeffrey A Law  (law@cygnus.com)
685
686         * version.c: Bump for snapshot.
687
688         * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
689         output ASCII by default.  Only use ASM_OUTPUT_DWARF_STRING if
690         flag_debug_asm is on.
691         (output_die, output_pubnames, output_line_info): Likewise.
692
693         * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
694         and static_chain_rtx into the potential base values array if
695         they are registers.
696
697         * alias.c (new_reg_base_value): New array of potential base values.
698         (unique_id): Now file scoped static.
699         (find_base_value, case REG): Return the value in reg_base_value
700         array for the REG if it exists.  Else, return the value from
701         new_reg_base_value if copying args and REG is a hard register.
702         (find_base_value, case PLUS): If either operand of the PLUS is
703         a REG, try to get its base value.  Handle base + index and
704         index + base.
705         (record_set): Use new_reg_base_value instead of reg_base_value.
706         (init_alias_analysis): Allocate space for new_reg_base_value too.
707         Rework code to iterate over the insns propagating base value
708         information until nothing changes.
709
710         * global.c (global_alloc): Free the conflict matrix after
711         reload has finished.
712
713 Fri Oct 31 01:45:31 1997  Jason Merrill  <jason@yorick.cygnus.com>
714
715         * libgcc2.c (L_eh): Define __eh_pc.
716         Replace __eh_type with generic pointer __eh_info.
717
718 Fri Oct 31 00:34:55 1996  J"orn Rennecke <amylaar@cygnus.co.uk>
719
720         * expr.c (expand_increment): When enqueing a postincrement for a MEM,
721         use copy_to_reg if address is not a general_operand.
722
723 Fri Oct 31 00:16:55 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
724
725         * profile.c (output_func_start_profiler): Clear flag_inline_functions
726         for the duration of the call to rest_of_compilation.
727
728 Thu Oct 30 14:40:10 1997  Doug Evans  <devans@canuck.cygnus.com>
729
730         * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
731         Set extra_parts.
732         (sparc*-*-*): Recognize --with-cpu=v9.
733         * sparc/elf.h: New file.
734         * sparc/t-elf: New file.
735
736 Thu Oct 30 13:26:12 1997  Jeffrey A Law  (law@cygnus.com)
737
738         * mn10300.c (const_8bit_operand): New function.
739         (mask_ok_for_mem_btst): New funtion.
740         * mn10300.md (btst patterns with mem operands): Use new functions
741         to avoid creating btst instructions with invalid operands.
742
743 Wed Oct 29 16:57:19 1997  Michael Meissner  <meissner@cygnus.com>
744
745         * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
746         are running on PowerPC Linux.
747
748 Wed Oct 29 13:10:11 1997  Gavin Koch  <gavin@cygnus.com>
749
750         * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
751         if not previously defined.
752
753 Tue Oct 28 23:55:27 1997  Doug Evans  (devans@cygnus.com)
754
755         * function.c (assign_parms): Correct mode of stack_parm if
756         entry_parm underwent a mode conversion.
757
758 1997-10-28  Brendan Kehoe  <brendan@lisa.cygnus.com>
759
760         * global.c (global_alloc): Use xmalloc instead of alloca for
761         CONFLICTS, since max_allocno * allocno_row_words alone can be more
762         than 2.5Mb sometimes.
763
764 Tue Oct 28 15:29:15 1997  Richard Henderson  <rth@cygnus.com>
765
766         * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
767         DEST for the spill, adjust mode of SRC to compensate.
768
769 Tue Oct 28 14:36:45 1997  Richard Henderson  <rth@cygnus.com>
770
771         * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
772         since any_memory_operand() allows pseudos during reload.
773         (reload_inhi, reload_outqi, reload_outhi): Likewise.
774
775 Tue Oct 28 11:53:14 1997  Jim Wilson  <wilson@cygnus.com>
776
777         * m68k.md (btst patterns): Add 5200 support.
778
779 Tue Oct 28 11:58:40 1997  Toon Moene  <toon@moene.indiv.nluug.nl>
780
781         * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
782         optimizations, look inside dividend to determine if the expression
783         can be simplified by using EXACT_DIV_EXPR.
784
785 Tue Oct 28 10:19:01 1997  Jason Merrill  <jason@yorick.cygnus.com>
786
787         From Brendan:
788         * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
789
790 Tue Oct 28 00:32:14 1997  Richard Henderson  <rth@cygnus.com>
791
792         * alpha.c (summarize_insn [SUBREG]): Propogate SET.
793
794 Mon Oct 27 23:59:26 1997  Richard Henderson  <rth@cygnus.com>
795
796         * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
797         on a CLOBBER.
798
799 Mon Oct 27 21:25:20 1997  Richard Henderson  <rth@cygnus.com>
800
801         * alpha.md (movqi, movhi): Make sure new insns created during reload
802         won't need reloading themselves.
803         (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
804
805 Mon Oct 27 16:11:10 1997  Jeffrey A Law  (law@cygnus.com)
806
807         * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
808
809 Sun Oct 26 13:50:44 1997  Richard Henderson  <rth@cygnus.com>
810
811         * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
812         Patch from Klaus Kaempf <kkaempf@progis.de>.
813
814 Sun Oct 26 13:31:47 1997  Jim Wilson  (wilson@cygnus.com)
815
816         * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
817         to an element in a constant string.
818
819 Sun Oct 26 11:41:49 1997  Jason Merrill  <jason@yorick.cygnus.com>
820
821         * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
822         bit PC-relative offset.  The exception range table pointer is now in
823         the CIE.
824         * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
825         (count_fdes, add_fdes, get_cie): Adjust.
826         (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
827
828         From H.J. Lu:
829         * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
830
831 Sun Oct 26 11:52:01 1997  Richard Henderson  <rth@cygnus.com>
832
833         * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
834         like stack_pointer_rtx.
835
836 Sun Oct 26 11:32:16 1997  Manfred Hollstein  <manfred@s-direktnet.de>
837
838         * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
839         targets using "$@" to provide support for similar but not identical
840         targets without having to duplicate code.
841         (bootstrap4): New goal.
842
843         * Makefile.in (compare, compare-lean, compare3): Combined to one
844         ruleset determining actions to be performed via $@.
845         (compare4, compare4-lean): New targets.
846         (gnucompare, gnucompare3): Combined to one ruleset determining
847         actions to be performed via $@. Also, note which files failed
848         the comparison test in .bad_compare.
849         (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
850
851 Sun Oct 26 10:06:11 1997  Toon Moene  <toon@moene.indiv.nluug.nl>
852
853         * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
854         if the dividend is a multiple of the divisor.
855
856 Sun Oct 26 09:21:40 1997  Jeffrey A Law  (law@cygnus.com)
857
858         * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
859
860         * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
861         and POS_DEC.
862
863         * alias.c (true_dependence): Fix typo.
864
865         * toplev.c (flag_rerun_loop_opt): New variable.
866         (f_options): Handle -frerun-loop-opt.
867         (rest_of_compilation): If -frerun-loop-opt, then run the loop
868         optimizer twice.
869         (main): Enable -frerun-loop-opt by default for -O2 or greater.
870
871         * loop.c (simplify_giv_expr): Adding two invariants results
872         in an invariant.
873
874 Sun Oct 26 09:15:15 1997  Richard Henderson  <rth@cygnus.com>
875
876         * expr.c (get_inner_reference): Remove the array bias after 
877         converting the index to Pmode.
878
879 Sat Oct 25 12:20:58 1997  Jeffrey A Law  (law@cygnus.com)
880
881         * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
882         (TARGET_MULT_BUG): Define.
883         (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
884         * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
885
886 Fri Oct 24 17:40:34 1997  Jeffrey A Law  (law@cygnus.com)
887
888         * mn10200.c (indirect_memory_operand): Delete unused function.
889         * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
890         * mn10200.md (bset, bclr insns): Handle output in a reg too.
891
892 Fri Oct 24 15:54:57 1997  Richard Henderson  <rth@cygnus.com>
893
894         * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
895         the callee's ldgp, we must do it ourselves, and we use the jsr tag
896         for more than scheduling.
897
898 Fri Oct 24 13:23:04 1997  Doug Evans  <devans@canuck.cygnus.com>
899
900         * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
901
902 Fri Oct 24 13:19:40 1997  Jeffrey A Law  (law@cygnus.com)
903
904         * mn10300.c (symbolic_operand, legitimize_address): New functions.
905         * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
906         (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
907
908 Thu Oct 23 09:35:12 1997  Jeffrey A Law  (law@cygnus.com)
909
910         * version.c: Bump for snapshot.
911
912 Thu Oct 23 08:03:59 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
913
914         * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
915         for FILENAME.
916
917 Wed Oct 22 00:34:12 1997  Jeffrey A Law  (law@cygnus.com)
918
919         * toplev.c (flag_exceptions): Default value is 2.
920         (compile_file): If flag_exceptions still has the value 2, then
921         set it to 0.
922
923         * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
924         (rs6000_save_machine_status): Save pic_offset_table_rtx.
925         (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
926
927         * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
928         are shared.
929
930         * rs6000.md (*movsi_got_internal_mem): New pattern.
931         (*movsi_got_internal_mem splitter): New define_split.
932
933 Tue Oct 21 18:14:03 1997  Jim Wilson  <wilson@cygnus.com>
934
935         * obstack.h (obstack_empty_p): Fix spurious space after backslash.
936
937 Tue Oct 21 18:34:01 1997  Geoffrey KEATING  <geoffk@ozemail.com.au>
938
939         * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
940         only need to save LR.
941
942 Tue Oct 21 10:06:40 1997  Jeffrey A Law  (law@cygnus.com)
943
944         * mn10300.md (movqi, movhi): Avoid using address registers as
945         destinations unless absolutely necessary.
946
947         * mn10200.c (expand_prologue): Fix typo.
948
949         * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
950         addresses.
951         * mn10200.md (neghi2): Provide an alternative which works if
952         the input and output register are the same.
953
954         * mn10300.c (print_operand): Handle 'S'.
955         * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
956         shift amount in last alternative
957
958         * mn10300.c (expand_epilogue): Rework to handle register restores
959         in "ret" and "retf" instructions correctly.
960
961 Mon Oct 20 16:47:08 1997  Jim Wilson  <wilson@cygnus.com>
962
963         * expmed.c (extract_bit_field): Don't make flag_force_mem disable
964         extzv for memory operands.
965
966         * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
967         redundant conditional moves to single operand.
968
969 Mon Oct 20 15:30:26 1997  Nick Clifton  <nickc@cygnus.com>
970
971         * v850.h: Move define of __v850__ from CPP_PREDEFINES
972         to CPP_SPEC.
973         
974         * xm-v850.h: Use __v850 rather than __v850__ to
975         identify v850 port.
976
977 Mon Oct 20 14:15:02 1997  Jim Wilson  <wilson@cygnus.com>
978
979         * mips/mips.c (compute_frame_size): Not a leaf function if
980         profile_flag set.
981
982 Mon Oct 20 14:16:38 1997  Geoffrey KEATING  <geoffk@ozemail.com.au>
983
984         * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
985
986 Mon Oct 20 12:28:17 1997  Doug Evans  <devans@canuck.cygnus.com>
987
988         * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
989         (DEFAULT_ARCH32_P): New macro.
990         (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
991         (enum cmodel): Declare.
992         (sparc_cmodel_string,sparc_cmodel): Declare.
993         (SPARC_DEFAULT_CMODEL): Provide default.
994         (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
995         (TARGET_FULLANY): Deleted.
996         (TARGET_CM_MEDMID): New macro.
997         (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
998         (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
999         (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
1000         (CPP_SPEC): Rewrite.
1001         (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
1002         (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
1003         (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
1004         (ASM_SPEC): Add %(asm_arch).
1005         (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
1006         Rename asm_default to asm_cpu_default.
1007         Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
1008         cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
1009         (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
1010         ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
1011         (MASK_INT64,MASK_LONG64): Delete.
1012         (MASK_ARCH64): Renamed to MASK_64BIT.
1013         (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
1014         (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
1015         (TARGET_SWITCHES): Always provide 64 bit options.
1016         (ARCH64_SWITCHES): Delete.
1017         (TARGET_OPTIONS): New option -mcmodel=.
1018         (INT_TYPE_SIZE): Always 32.
1019         (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
1020         (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
1021         (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
1022         (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
1023         * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
1024         CPP_SPEC.
1025         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
1026         * sparc/linux.h: Likewise.
1027         * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
1028         (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
1029         (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
1030         (SPARC_DEFAULT_CMODEL): Define.
1031         (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
1032         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
1033         (LONG_DOUBLE_TYPE_SIZE): Define.
1034         (ASM_SPEC): Add %(asm_arch).
1035         * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
1036         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
1037         (TARGET_CPU_DEFAULT): Add ultrasparc case.
1038         * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
1039         (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
1040         (SPARC_DEFAULT_CMODEL): Define.
1041         * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
1042         (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.  Delete
1043         MASK_LONG64, MASK_MEDANY.
1044         (SPARC_DEFAULT_CMODEL): Define.
1045         (CPP_PREDEFINES): Delete.
1046         (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
1047         (ASM_SPEC): Add %(asm_arch).
1048         (LONG_DOUBLE_TYPE_SIZE): Define.
1049         (DWARF2_DEBUGGING_INFO): Define.
1050         * sparc/splet.h (CPP_SPEC): Delete.
1051         * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
1052         (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
1053         (BLOCK_PROFILER): Likewise.
1054         * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
1055         (sparc_override_options): Handle code model selection.
1056         (sparc_init_expanders): Renamed from sparc64_init_expanders.
1057         * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
1058         TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
1059         (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
1060         (sethi_di_fullany): Delete.
1061
1062 Mon Oct 20 02:00:18 1997  Klaus Kaempf <kkaempf@progis.de>
1063                           Jeff Law <law@cygnus.com>
1064                           Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1065
1066         * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
1067         (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
1068         (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
1069         (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
1070         * alpha/alpha.md (arg_home): Likewise.
1071
1072         * alpha/alpha.c (vmskrunch): Delete
1073         * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
1074         * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
1075         truncate to 64 characters.
1076
1077         * make-l2.com: Support openVMS/Alpha.
1078
1079         * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
1080
1081 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1082
1083         * longlong.h (count_leading_zeros): Add missing casts to USItype.
1084
1085 Sun Oct 19 18:44:06 1997  Jeffrey A Law  (law@cygnus.com)
1086
1087         * i386/bsd386.h (ASM_COMMENT_START): Define.
1088
1089 Sat Oct 18 13:47:15 1997  Jason Merrill  <jason@yorick.cygnus.com>
1090
1091         * tree.c (restore_tree_status): Also free up temporary storage
1092         when we finish a toplevel function.
1093         (dump_tree_statistics): Print stats for backend obstacks.
1094
1095 Sat Oct 18 12:47:31 1997  Doug Evans  <dje@canuck.cygnus.com>
1096
1097         * expr.c (use_group_regs): Don't call use_reg for MEMs.
1098
1099 Sat Oct 18 09:49:46 1997  Jason Merrill  <jason@yorick.cygnus.com>
1100
1101         * libgcc2.c (__throw): Don't copy the return address.
1102         * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
1103
1104         * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
1105         * toplev.c (main): Initialize exceptions_via_longjmp.
1106
1107         * tree.c: Add extra_inline_obstacks.
1108         (save_tree_status): Use it.
1109         (restore_tree_status): If this is a toplevel inline obstack and we
1110         didn't want to save anything on it, recycle it.
1111         (print_inline_obstack_statistics): New fn.
1112         * function.c (pop_function_context_from): Pass context to 
1113         restore_tree_status.
1114         * obstack.h (obstack_empty_p): New macro.
1115
1116 Sat Oct 18 00:43:59 1997  Jeffrey A Law  (law@cygnus.com)
1117
1118         * i386/freebsd.h (ASM_COMMENT_START): Fix.
1119
1120 Fri Oct 17 23:48:52 1997  Jim Wilson  (wilson@cygnus.com)
1121
1122         * v850.c (ep_memory_offset): New function.
1123         (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
1124
1125         * v850.h (CONST_OK_FOR_*): Add and correct comments.
1126         (CONSTANT_ADDRESS_P): Add comment.
1127         (EXTRA_CONSTRAINT): Define 'U'.
1128         * v850.md: Add comments on bit field instructions.
1129         (addsi3): Delete &r/r/r alternative.  Add r/r/U alternative.
1130         (lshrsi3): Use N not J constraint. 
1131
1132         * v850.md (v850_tst1+1): New define_split for tst1 instruction.
1133
1134         * v850.c (reg_or_0_operand): Call register_operand.
1135         (reg_or_int5_operand): Likewise.
1136         * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
1137         (TARGET_SWITCHES): Add "big-switch".
1138         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
1139         ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
1140         (CASE_DROPS_THROUGH): Comment out.
1141         (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
1142         * v850.md (cmpsi): Delete compare mode.
1143         (casesi): New pattern.
1144
1145         * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
1146         * v850.md (ashlsi3): Use SImode not QImode for shift count.
1147         (lshrsi3): Likewise.
1148
1149         * v850.c (print_operand): Add 'c', 'C', and 'z' support.  Delete
1150         unreachable switch statement after 'b' support.  Remove "b" from
1151         strings for 'b' support.
1152         * v850.md (branch_normal, branch_invert): Change %b to b%b.
1153
1154 Fri Oct 17 23:33:20 1997  Jeffrey A Law  (law@cygnus.com)
1155
1156         * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
1157         empty line if @inhibit_libc@ is empty.
1158
1159 Fri Oct 17 23:24:40 1997  Robert Lipe (robertl@dgii.com)
1160
1161         * i386/sco5.h: Let ELF use dwarf2 unwinding.  COFF uses sjlj.
1162         (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
1163         (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
1164         (DWARF2_UNWIND_INFO): Let this track object file format.
1165         (EXTRA_SECTIONS): Add in_eh.
1166         (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
1167         (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
1168
1169 Fri Oct 17 17:13:42 1997  David S. Miller  <davem@tanya.rutgers.edu>
1170
1171         * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
1172         * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
1173         TARGET_MEDANY.
1174         * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
1175         (output_double_int): Output DI mode values correctly when
1176         HOST_BITS_PER_WIDE_INT is 64.
1177         (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
1178         fmovd so it works if a quad float ends up in one of the upper 32
1179         float regs.
1180         * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
1181         necessary for PIC support on sparc64.
1182
1183 Fri Oct 17 13:39:56 1997  Doug Evans  <dje@canuck.cygnus.com>
1184
1185         * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
1186         * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
1187         (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
1188         (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
1189         (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
1190         (SPARC_FP_ARG_FIRST): New macro.
1191         (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
1192         (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
1193         (NPARM_REGS): There are 32 fp argument registers now.
1194         (FUNCTION_ARG_REGNO_P): Likewise.
1195         (FIRST_PARM_OFFSET): Update to new v9 abi.
1196         (REG_PARM_STACK_SPACE): Define for arch64.
1197         (enum sparc_arg_class): Delete.
1198         (sparc_arg_count,sparc_n_named_args): Delete.
1199         (struct sparc_args): Redefine and use for arch32 as well as arch64.
1200         (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
1201         (FUNCTION_ARG_ADVANCE): Rewrite.
1202         (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
1203         (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
1204         (FUNCTION_ARG_CALLEE_COPIES): Delete.
1205         (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
1206         (STRICT_ARGUMENT_NAMING): Define.
1207         (doublemove_string): Declare.
1208         * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
1209         (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
1210         (doublemove_string): New function.
1211         (output_move_quad): Clean up some of the arch64 support.
1212         (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
1213         Don't add 8 bytes of reserved space if arch64.
1214         (sparc_builtin_saveregs): Combine arch32/arch64 versions.
1215         (init_cumulative_args): New function.
1216         (function_arg_slotno): New static function.
1217         (function_arg,function_arg_partial_nregs): New functions.
1218         (function_arg_{pass_by_reference,advance}): New functions.
1219         (function_arg_padding): New function.
1220         * ginclude/va-sparc.h: Rewrite v9 support.
1221
1222 Fri Oct 17 12:29:48 1997  Christian Iseli  <Christian.Iseli@lslsun.epfl.ch>
1223
1224         * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
1225         for hard regs to determine base and index registers.
1226
1227         * reload.c (debug_reload_to_stream): New function.  Specify stream
1228         into which to write debug info.
1229         (debug_reload): Modify to call debug_reload_to_stream with stderr.
1230
1231 Thu Oct 16 15:07:51 1997  Richard Henderson  <rth@cygnus.com>
1232
1233         * combine.c (can_combine_p): Don't combine with an asm whose
1234         output is a hard register.
1235
1236 Thu Oct 16 15:43:26 1997  Mike Stump  (mrs@wrs.com)
1237
1238         * c-decl.c (start_struct): Ensure that structs with forward
1239         declarations are in fact packed when -fpack-struct is given.
1240
1241         * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
1242         we are packing a structure.  This allows a structure with only
1243         bytes to be aligned on a byte boundary and have no padding on a
1244         m68k.
1245
1246 Thu Oct 16 15:17:54 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1247
1248         * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
1249
1250 Thu Oct 16 11:20:30 1997  Richard Henderson  <rth@cygnus.com>
1251
1252         * alpha.c (alpha_return_addr_rtx): New variable.
1253         (alpha_save_machine_status): New; save it.
1254         (alpha_restore_machine_status): New; restore it.
1255         (alpha_init_expanders): New; clear it.
1256         (alpha_return_addr): New; set it.
1257         (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
1258         is overly conservative, so search the insns explicitly.
1259         (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
1260         (alpha_sa_size [VMS && !VMS]): Likewise.
1261         * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
1262         (INIT_EXPANDERS): New definition.
1263         
1264         * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
1265         (output_prolog [!VMS]): Use them.
1266
1267         * alpha.c (output_prolog [!VMS]): Move gp detection to ...
1268         (alpha_does_function_need_gp): ... a new function.  Refine the 
1269         CALL_INSN test to just TYPE_JSR.
1270         * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
1271
1272 Thu Oct 16 09:36:47 1997  Jeffrey A Law  (law@cygnus.com)
1273
1274         * version.c: Bump for snapshot.
1275
1276 Wed Oct 15 21:38:18 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1277
1278         * pa.c (move_operand): Respect -mdisable-indexing.
1279         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
1280
1281 Wed Oct 15 21:34:45 1997  David Edelsohn  <edelsohn@mhpcc.edu>
1282
1283         * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
1284         PPC601.
1285         (umulsidi3,umulsi3_highpart): Ditto.
1286         (smulsi3_highpart_no_mq): Add !TARGET_POWER.
1287
1288 Wed Oct 15 18:21:46 1997  Richard Henderson  <rth@cygnus.com>
1289
1290         * alpha.c (final_prescan_insn): Gut, remove and transform to ...
1291         (alpha_handle_trap_shadows): ... a new function.  Handle the entire
1292         function in one go.  Emit RTL for trapb, instead of printf directly.
1293         (alpha_reorg): New function.  Call alpha_handle_trap_shadows.
1294         (trap_pending): Kill global variable.
1295         (output_epilog): Don't call final_prescan_insn.
1296         (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
1297         * alpha.h (FINAL_PRESCAN_INSN): Remove.
1298         (MACHINE_DEPENENT_REORG): Define.
1299         * alpha.md (jsr patterns with trapb): Stupid and useless.  Kill.
1300         (trapb): New insn.
1301
1302 Wed Oct 15 18:16:05 1997  Richard Henderson  <rth@cygnus.com>
1303
1304         Tune Haifa scheduler for Alpha:
1305         * alpha.h (ISSUE_RATE): Define.
1306         * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
1307         EV4 adjustments to EV5.
1308         * alpha.md: Remove all scaling from function unit delays.  Rework
1309         EV5 function units to match the CPU.
1310         (umuldi3_highpart): EV5 added the IMULH insn class.
1311
1312 Wed Oct 15 17:42:41 1997  Jeffrey A Law  (law@cygnus.com)
1313
1314         * pa.c (following_call): Fail if the CALL_INSN is an indirect
1315         call.
1316
1317 Tue Oct 14 12:01:00 1997  Mark Mitchell  <mmitchell@usa.net>
1318
1319         * cplus-dem.c (demangle_signature): Don't look for return types on
1320         constructors.  Handle member template constructors.
1321
1322 Tue Oct 14 11:30:29 1997  Jason Merrill  <jason@yorick.cygnus.com>
1323
1324         * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
1325         * tree.h: Declare them.
1326
1327 Fri Oct 10 13:46:56 1997  Doug Evans  <dje@canuck.cygnus.com>
1328
1329         * configure.in: Handle --with-newlib.
1330         * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
1331
1332         * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
1333
1334 Wed Oct  8 14:37:44 1997  Jeffrey A Law  (law@cygnus.com)
1335
1336         * config/ptx4.h: Fix typo.
1337
1338 Wed Oct  8 08:57:20 1997  Jeffrey A Law  (law@cygnus.com)
1339
1340         * version.c: Bump for snapshot.
1341
1342 Tue Oct  7 16:27:34 1997  Manfred Hollstein  <manfred@s-direktnet.de>
1343
1344         * aclocal.m4: Substitute INSTALL.
1345         * configure: Re-built.
1346
1347 Tue Oct  7 15:37:35 1997  Jeffrey A Law  (law@cygnus.com)
1348
1349         * integrate.c (save_for_inline_copying): Avoid undefined pointer
1350         operations.
1351         (expand_inline_function): Likewise.
1352
1353         * dwarf2out.c (output_call_frame_info): Reinstate last change
1354         using flag_debug_asm check instead of flag_verbose_asm.
1355
1356 Tue Oct  7 12:57:26 1997  Jim Wilson  <wilson@cygnus.com>
1357
1358         * dwarf2out.c (output_call_frame_info): Remove last change.
1359
1360 1997-10-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1361
1362         * frame.c (__frame_state_for): Execute the FDE insns until the
1363         current pc value is strictly bigger than the target pc value.
1364
1365 Tue Oct  7 11:00:42 1997  Jason Merrill  <jason@yorick.cygnus.com>
1366
1367         * regclass.c (init_reg_modes): If we can't find a mode for the 
1368         register, use the previous one.
1369
1370 Tue Oct  7 10:55:34 1997  Richard Henderson  <rth@cygnus.com>
1371
1372         * haifa-sched.c (print_block_visualization): Call fprintf directly,
1373         don't sprintf through an alloca'ed buffer.
1374
1375 Tue Oct  7 10:52:29 1997  Thomas Koenig (ig25@rz.uni-karlsruhe.de)
1376
1377         * reload.c (decompose): Always initialize val.base.
1378
1379 Tue Oct  7 10:19:26 1997  Manfred Hollstein  (manfred@lts.sel.alcatel.de)
1380
1381         * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
1382         instead of aborting.
1383         * dwarf2out.c (output_call_frame_info): Call app_enable and
1384         app_disable to let GNU as accept the generated comments.
1385
1386 Tue Oct  7 11:41:21 1997  Michael Meissner  <meissner@cygnus.com>
1387
1388         * tree.h (get_file_function_name): Add declaration.
1389         * dwarf2out.c (output_call_frame_info): No need to cast
1390         get_file_function_name call anymore.
1391         * profile.c (toplevel): Remove get_file_function_name
1392         declaration.
1393         * c-lang.c (finish_file): Ditto.
1394
1395 Tue Oct  7 10:01:45 1997  Chip Salzenberg <chip@rio.atlantic.net>
1396
1397         * Makefile.in (program_transform_name): Let autoconf substitute
1398         the correct value.
1399
1400 Tue Oct  7 09:54:35 1997  Jeffrey A Law  (law@cygnus.com)
1401
1402         * haifa-sched.c (schedule_block): If the first real insn in a
1403         block has any special notes attached to it, remove them.
1404
1405 Tue Oct  7 09:48:51 1997  Richard Henderson  <rth@cygnus.com>
1406
1407         * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
1408
1409 Mon Oct  6 12:47:32 1997  Manfred Hollstein  (manfred@lts.sel.alcatel.de)
1410
1411         * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
1412
1413 Mon Oct  6 12:04:24 1997  Jeffrey A Law  (law@cygnus.com)
1414
1415         * Makefile.in (check-g77): New test target.
1416         (CHECK-TARGETS): Add check-g77.
1417
1418 Fri Oct  3 11:56:36 1997  Jason Merrill  <jason@yorick.cygnus.com>
1419
1420         * toplev.c (rest_of_compilation): Defer all non-nested inlines.
1421
1422 Fri Oct  3 15:49:27 1997  Michael Meissner  <meissner@cygnus.com>
1423
1424         * flow.c (print_rtl_with_bb): Cast alloca return value for
1425         in_bb_p.
1426
1427 Thu Oct  2 21:15:03 1997  Richard Henderson  <rth@cygnus.com>
1428
1429         * i386.h (RETURN_ADDR_RTX): New definition that works for 
1430         __builtin_return_address(0) and -fomit-frame-pointer.
1431
1432 Wed Oct  1 13:43:53 1997  Jim Wilson  <wilson@cygnus.com>
1433
1434         Bring over from FSF.
1435         Tue Aug  5 16:10:45 1997  Jason Merrill  <jason@yorick.cygnus.com>
1436
1437         * mips.c (function_arg): Handle passing a struct 
1438         containing a double in a DFmode register without the PARALLEL.
1439
1440 Wed Oct  1 11:13:25 1997  Ian Lance Taylor  <ian@cygnus.com>
1441
1442         * pexecute.c: Use spawn if __CYGWIN32__.
1443
1444         * pexecute.c: Include "config.h" first, as per autoconf manual
1445         (from Paul Eggert  <eggert@twinsun.com>).
1446
1447 Wed Oct  1 01:44:36 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
1448
1449         * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
1450         optimisation for f/expr.o and f/stb.o.
1451
1452 Tue Sep 30 23:48:57 1997  Jeffrey A Law  (law@cygnus.com)
1453
1454         * cse.c (this_insn_cc0_mode): Initialize.
1455
1456 Tue Sep 30 23:09:40 1997  Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
1457
1458         * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
1459
1460         * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
1461
1462 Tue Sep 30 23:06:43 1997  Richard Henderson  <rth@cygnus.com>
1463
1464         * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
1465         that pair will dual-issue on the 21164 and plus+beq won't.
1466         (bne): Likewise for cmpeq+beq.
1467
1468 Tue Sep 30 16:07:58 1997  Jim Wilson  <wilson@cygnus.com>
1469
1470         * except.c (find_exception_handler_labels): Correct argument to free.
1471
1472 Tue Sep 30 11:00:00 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
1473
1474         * except.c (find_exception_handler_labels): Free LABELS when we're
1475         done.
1476
1477 Mon Sep 29 14:04:35 1997  Jeffrey A Law  (law@cygnus.com)
1478
1479         * version.c: Bump for snapshot.
1480
1481 Mon Sep 29 10:51:53 1997  Jason Merrill  <jason@yorick.cygnus.com>
1482
1483         * flow.c (find_basic_blocks): Mark calls as potentially jumping
1484         to the EH labels.
1485
1486 Mon Sep 29 09:58:06 1997  Jeffrey A Law  (law@cygnus.com)
1487
1488         * configure.in: Substitute for "install" too.
1489         * configure: Rebuilt.
1490
1491 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
1492
1493         * Makefile.in (bootstrap-lean, compare-lean): New targets.
1494
1495 Mon Sep 29 00:18:16 1997  Richard Henderson  (rth@cygnus.com)
1496
1497         * alias.c (base_alias_check): Two symbols can conflict if they
1498         are accessed via AND.
1499         (memrefs_conflict_p): Likewise.
1500
1501         * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
1502         after flushing argument registers to the stack.
1503
1504         * Makefile.in (mostlyclean): Remove .regmove files.
1505
1506 Sun Sep 28 18:59:58 1997  Jason Merrill  <jason@yorick.cygnus.com>
1507
1508         * libgcc2.c (__throw): Fix thinko.
1509
1510 Sun Sep 28 12:00:52 1997  Mark Mitchell  <mmitchell@usa.net>
1511
1512         * cplus-dem.c (demangle_template): Add new parameter.  Handle new
1513         template-function mangling.
1514         (consume_count_with_underscores): New function.
1515         (demangle_signature): Handle new name-mangling scheme.
1516
1517 Sun Sep 28 01:55:04 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
1518
1519         * flow.c (print_rtl_with_bb): Cast alloca return values for variables
1520         start and end.
1521
1522 Sun Sep 28 01:05:16 1997  Jeffrey A Law  (law@cygnus.com)
1523
1524         * frame.c: Remove last change.
1525         * dwarf2.h: Remove last change.
1526         * tree.h: Add declarations of DWARF2 unwind info support
1527         functions.
1528
1529 Sat Sep 27 11:02:38 1997  Jason Merrill  <jason@yorick.cygnus.com>
1530
1531         * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
1532         * tree.h (built_in_function): Likewise.
1533         * expr.c (expand_builtin): Likewise.
1534         * except.h: Likewise.
1535         * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
1536         * libgcc2.c (copy_reg): New fn.
1537         (__throw): Use it.
1538
1539 Fri Sep 26 08:54:59 1997  Paul Eggert  <eggert@twinsun.com>
1540
1541         * c-typeck.c (build_binary_op): Warn about comparing signed vs
1542         unsigned if -W is specified and -Wno-sign-compare is not.
1543         * c-decl.c (warn_sign_compare): Initialize to -1.
1544         (c_decode_option): -Wall no longer implies -Wsign-compare.
1545
1546 Fri Sep 26 09:00:13 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1547
1548         * frame.c: Include gansidecl.h for PROTO.
1549         * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
1550         defined.  Don't declare dwarf2out_cfi_label here.
1551         * dwarf2.h: Add declarations of DWARF2 unwind info support
1552         functions.
1553         * m68k.c: Include dwarf2.h.
1554         (output_function_prologue): Add dwarf2 support.
1555         * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
1556         (INCOMING_FRAME_SP_OFFSET): Likewise.
1557
1558         * integrate.c (expand_inline_function): Make sure there is at
1559         least one insn that can be used as an insertion point.
1560
1561 Wed Sep 24 21:34:06 1997  Jason Merrill  <jason@yorick.cygnus.com>
1562
1563         * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
1564
1565 Wed Sep 24 22:05:30 1997  Jeffrey A Law  (law@cygnus.com)
1566
1567         * version.c: Bump for snapshot.
1568
1569 Wed Sep 24 17:36:23 1997  Doug Evans  <dje@canuck.cygnus.com>
1570
1571         Bring over from FSF.
1572
1573         Wed Sep 24 19:17:08 1997  Doug Evans  <dje@cygnus.com>
1574
1575         * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
1576         (get_pc_via_rdpc): Renamed from get_pc_sp64.
1577         * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
1578
1579         Wed Sep 24 18:38:22 1997  David S. Miller  <davem@tanya.rutgers.edu>
1580
1581         * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
1582         (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
1583         -malign-functions=.
1584         (sparc_align_{loops,jumps,funcs}_string): Declare.
1585         (sparc_align_{loops,jumps,funcs}): Declare.
1586         (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
1587         (FUNCTION_BOUNDARY): Use sparc_align_funcs.
1588         (STACK_BIAS): Define.
1589         (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
1590         test.
1591         (SPARC_SETHI_P): New macro.
1592         (CONST_OK_FOR_LETTER_P): Use it.
1593         (ASM_OUTPUT_ALIGN_CODE): Define.
1594         (ASM_OUTPUT_LOOP_ALIGN): Define.
1595         * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
1596         (sparc_align_{loops,jumps,funcs}): New globals.
1597         (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
1598         -malign-functions=.
1599         (move_operand): Use SPARC_SETHI_P.
1600         (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
1601         perform test.
1602         (arith11_double_operand): Likewise.
1603         (arith10_double_operand): Likewise.
1604         (finalize_pic): Finish sparc64 support.
1605         (emit_move_sequence): Use SPARC_SETHI_P.  Simplify low part of
1606         64 bit constants if able.
1607         (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
1608         (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
1609         ! TARGET_FPU.
1610         * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
1611         (get_pc_sp32): Use for sparc64 as well.
1612         (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
1613         (sethi_di_sp64_const): Likewise.
1614         (movtf_cc_sp64): Check TARGET_HARD_QUAD.
1615         (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
1616         (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
1617
1618         Tue Sep 23 19:02:46 1997  Doug Evans  <dje@cygnus.com>
1619
1620         * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
1621         * sparc/linux.h (COMMENT_BEGIN): Likewise.
1622         * sparc/linux64.h (COMMENT_BEGIN): Likewise.
1623
1624         Tue Sep 23 14:48:18 1997  David S. Miller  <davem@tanya.rutgers.edu>
1625
1626         Add sparc64 linux support.
1627         * configure.in (sparc64-*-linux*): Recognize.  Add sparc/xm-sparc.h
1628         to xm_file list on 32-bit sparc-linux.
1629         * sparc/xm-sp64.h: New file.
1630         * sparc/linux64.h: New file.
1631         * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
1632         Don't include xm-sparc.h.
1633         * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
1634         * glimits.h (LONG_MAX): Handle sparc64.
1635
1636         Sat Sep 20 03:07:54 1997  Doug Evans  <dje@cygnus.com>
1637
1638         * sparc/sysv4.h (ASM_COMMENT_START): Delete.
1639         * sparc.h (ASM_COMMENT_START): Define.
1640         * sparc.c (output_function_prologue): Use it.
1641         (sparc_flat_output_function_{epi,pro}logue): Likewise.
1642
1643         Wed Sep 17 15:04:19 1997  Doug Evans  <dje@cygnus.com>
1644
1645         * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
1646         use sparc.h's copies.
1647         * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
1648         ascii form as well.
1649
1650         Mon Sep  8 08:45:19 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1651
1652         * sparc.c (dwarf2out_cfi_label): Add declaration.
1653         (save_regs, output_function_prologue): Remove cast for it.
1654         (sparc_flat_{save_restore,output_function_prologue): Likewise.
1655         ({save,restore}_regs): No longer inline.
1656
1657 Tue Sep 23 12:34:51 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1658
1659         * fold-const.c (make_range): Correctly handle cases of converting
1660         from unsigned to signed type.
1661
1662 Tue Sep 23 12:34:51 1997  Bernd Schmidt  <crux@pool.informatik.rwth-aachen.de>
1663
1664         * fold-const.c (merge_ranges): Make sure that if one range is subset
1665         of another, it will always be the second range.  Correct (+,-) case to
1666         account for this.
1667
1668 Tue Sep 23 08:32:51 1997  Jason Merrill  <jason@yorick.cygnus.com>
1669
1670         * final.c (final_end_function): Also do dwarf2 thing if
1671         DWARF2_DEBUGGING_INFO.
1672         (final_start_function): Likewise.
1673
1674 Tue Sep 23 01:15:50 1997  David S. Miller  <davem@tanya.rutgers.edu>
1675
1676         * expmed.c (expand_divmod): If compute_mode is not the same as
1677         mode, handle the case where convert_modes() causes op1 to no
1678         longer be a CONST_INT.
1679
1680         * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
1681         note holding get_jump_flags() calculation to all JUMP_INSNs.
1682         * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
1683         * rtl.c (reg_note_name): Add new note types.
1684
1685 Tue Sep 23 00:59:54 1997  Jeffrey A Law  (law@cygnus.com)
1686
1687         * rtlanal.c (computed_jump_p): Fix typo in last change.
1688
1689 Tue Sep 23 00:42:44 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
1690
1691         * loop.c (indirect_jump_in_function_p): Return 0
1692         by default.
1693
1694 Tue Sep 23 00:33:55 1997  Jeffrey A Law  (law@cygnus.com)
1695
1696         * rs6000/xm-rs6000.h: Fix thinko in last change.
1697         * rs6000/xm-sysv4.h: Likewise.
1698
1699 Mon Sep 22 19:33:53 1997  Jim Wilson  <wilson@cygnus.com>
1700
1701         * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
1702
1703 Mon Sep 22 14:41:00 1997  Jeffrey A Law  (law@cygnus.com)
1704
1705         * reg-stack.c (find_blocks): Fix thinko in last change.
1706
1707 1997-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1708
1709         * m68k.c (output_function_prologue): Add dwarf2 support.
1710
1711         * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
1712         INCOMING_FRAME_SP_OFFSET): New definitions.
1713  
1714 Mon Sep 22 11:36:42 1997  David S. Miller  <davem@tanya.rutgers.edu>
1715
1716         * combine.c (try_combine): Use NULL_RTX instead of '0' where
1717         appropriate in calls to gen_rtx().
1718         * cse.c (cse_main): Likewise.
1719         * emit-rtl.c (gen_label_rtx): Likewise.
1720         * expr.c (init_expr_once): Likewise.
1721         * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
1722         sched_analyze, init_rgn_data_dependences,
1723         compute_block_backward_dependences): Likewise.
1724         * sched.c (schedule_insns): Likewise.
1725         * varasm.c (immed_double_const): Likewise.
1726
1727         * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
1728         SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
1729
1730 Mon Sep 22 11:21:33 1997  J. Kean Johnston  <jkj@sco.com>
1731
1732         * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
1733         (MULTILIB_DEFAULTS): Define.
1734         (ASM_SPEC, CPP_SPEC): Handle -mcoff.
1735         (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
1736         (LIBGCC_SPEC): Likewise.
1737         (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
1738         (SUBTARGET_SWITCHES): Add -mcoff and -melf.
1739         * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
1740         (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
1741         (EXTRA_PARTS, TAROUTOPTS): Delete.
1742         (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
1743         (MULTILIB_OPTIONS): Define.
1744         (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
1745         (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
1746
1747 Mon Sep 22 02:10:43 1997  Jeffrey A Law  (law@cygnus.com)
1748
1749         * version.c: Bump for snapshot.
1750
1751 Sun Sep 21 17:45:45 1997  Jeffrey A Law  (law@cygnus.com)
1752
1753         * loop.c (loop_number): Delete function.  Change all references
1754         to use uid_loop_num array.
1755         * loop.h (loop_number): Delete declaration.
1756         * unroll.c (unroll_loop): Change "loop_number" references to
1757         use uid_loop_num instead.
1758
1759         * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
1760         conditional.
1761         (loop_unroll_iter): Remove unused variable and all references.
1762         (loop_optimize): Always allocate and clear space for loop_unroll_factor.
1763         (insert_bct): Fix minor formatting problems.
1764         * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
1765         (loop_unroll_iter): Removed unused decl.
1766         * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
1767         Always record the unrolling factor.
1768
1769         * cse.c (simplify_relational_operation): Set h0u just like h0s.
1770         Similarly for h1u and h1s.
1771
1772         * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
1773         (find_basic_blocks): Use computed_jump_p to determine if a
1774         particular JUMP_INSN is a computed jump.
1775         * reg-stack.c (find_blocks): Use computed_jump_p to determine
1776         if a particular JUMP_INSN is a computed jump.
1777         * rtlanal.c (jmp_uses_reg_or_mem): New function.
1778         (computed_jump_p): Likewise.
1779         * rtl.h (computed_jump_p): Declare.
1780         * genattrtab.c (pc_rtx): Define and initialize.
1781         * loop.c (loop_optimize): Always determine if the current
1782         function has a computed jump.
1783         (indirect_jump_in_function_p): Use computed_jump_p to determine
1784         if a particular JUMP_INSN is a computed jump.
1785
1786         * loop.c (fix_bct_param): Delete unused function.
1787         (check_bct_param): Likewise.
1788
1789 Sat Sep 20 16:22:06 1997  Jason Merrill  <jason@yorick.cygnus.com>
1790
1791         * frame.c (__deregister_frame): Check properly for initialized object.
1792
1793 Fri Sep 19 20:51:03 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
1794
1795         * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
1796
1797 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1798
1799         * jump.c (thread_jumps): check can_reverse_comparison_p before
1800         threading a reversed-condition jump.
1801
1802         * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
1803         * haifa-sched.c (update_flow_info): Likewise.
1804
1805 Thu Sep 18 21:13:40 1997  Jeffrey A Law  (law@cygnus.com)
1806
1807         * Makefile.in (BOOT_CFLAGS): Use -O2.
1808
1809         * configure.in (strtoul, bsearch): Have autoconf check for these
1810         functions.
1811         * configure, config.in: Rebuilt.
1812
1813         * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
1814         * mips/mips.h (alloca): Likewise.
1815         * rs6000/xm-rs6000.h (alloca): Likewise.
1816         * rs6000/xm-sysv4.h: Likewise.
1817
1818 Thu Sep 18 14:22:22 1997  Jason Merrill  <jason@yorick.cygnus.com>
1819
1820         * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
1821         * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
1822         (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
1823
1824         * except.c (end_eh_unwinder): Subtract 1 from return address.
1825         * libgcc2.c (__throw): Likewise.
1826         (find_exception_handler): Don't change PC here.  Compare end with >.
1827
1828 Thu Sep 18 10:43:07 1997  Nick Clifton  <nickc@cygnus.com>
1829  
1830         * v850.c (compute_register_save_size): Correct register
1831         number.
1832         * v850.md (save_interrupt, return_interrupt): Correct
1833         register number.
1834         * v850/lib1funcs.asm (save_interrupt): Correct register number.
1835         (return_interrupt): Use stack pointer, not element pointer.
1836
1837 1997-09-18  Brendan Kehoe  <brendan@lisa.cygnus.com>
1838
1839         * configure.in, configure: Make sure to create the stage* and include
1840         symbolic links in each subdirectory.
1841
1842 Thu Sep 18 01:47:06 1997  Jeffrey A Law  (law@cygnus.com)
1843
1844         * pa.md (reload_peepholes): Don't allow addresses with side
1845         effects for the memory operand.
1846
1847 Wed Sep 17 18:19:53 1997  Jason Merrill  <jason@yorick.cygnus.com>
1848
1849         * libgcc2.c (find_exception_handler): Subtract one from our PC when
1850         looking for a handler, to avoid hitting the beginning of the next
1851         region.
1852
1853         * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
1854
1855 Wed Sep 17 18:33:59 1997  Jeffrey A Law  (law@cygnus.com)
1856
1857         * mips/abi64.h (LONG_MAX_SPEC): Define.
1858         * mips.h (LONG_MAX_SPEC): Define.
1859         (CPP_SPEC): Include long_max_spec.
1860         (EXTRA_SPECS): Include long_max_spec.
1861
1862 Wed Sep 17 14:11:38 1997  Jeffrey A Law  (law@cygnus.com)
1863
1864         * v850.c (construct_save_jarl): Fix thinko in last change.
1865
1866 Wed Sep 17 09:53:07 1997  Jeffrey A Law  (law@cygnus.com)
1867
1868         * version.c: Bump for snapshot.
1869
1870 Tue Sep 16 14:22:36 1997  Jason Merrill  <jason@yorick.cygnus.com>
1871
1872         * libgcc2.c (find_exception_handler): Not found is -1.
1873
1874         * integrate.c (expand_inline_function): Move expand_start_bindings
1875         after expanding the arguments.
1876
1877 Tue Sep 16 11:13:46 1997  Jim Wilson  <wilson@cygnus.com>
1878
1879         * expr.c (expand_expr): Remove previous incorrect change.
1880         If target and slot has no DECL_RTL, then call mark_addressable
1881         again for the slot after we give it RTL.
1882
1883 Tue Sep 16 09:18:52 1997  Jason Merrill  (jason@cygnus.com)
1884
1885         * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
1886         again for the slot after we give it RTL.
1887
1888 Tue Sep 16 00:13:20 1997  Nick Clifton  <nickc@cygnus.com>
1889
1890         * v850.c (register_is_ok_for_epilogue,
1891         pattern_is_ok_for_epilogue, construct_restore_jr,
1892         pattern_is_ok_for_prologue, construct_save_jarl): New functions.
1893
1894         * v850.h (pattern_is_ok_for_prologue,
1895         pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
1896         predicates.
1897
1898         * v850.md: Replace prologue and epilogue patterns with a
1899         match_parallel pattern.
1900
1901 Mon Sep 15 22:53:01 1997  Jeffrey A Law  (law@cygnus.com)
1902
1903         * aclocal.m4: Add replacement for AC_PROG_INSTALL.
1904         * configure.in: Use EGCS_PROG_INSTALL.
1905
1906 Mon Sep 15 22:40:55 1997  Jim Wilson  (wilson@cygnus.com)
1907
1908         * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
1909         extern inline function.
1910
1911 Mon Sep 15 22:40:55 1997  Richard Henderson  (rth@cygnus.com)
1912
1913         * dwarf2out.c (reg_loc_descriptor): Fix prototype.
1914         (concat_loc_descriptor): New function.
1915         (loc_descriptor): Call it.
1916         (add_AT_location_description): Also elide the descriptor if both
1917         halves of a CONCAT are pseudos.
1918         (add_location_or_const_value_attribute): Recognize CONCAT too.
1919
1920 Mon Sep 15 15:24:00 1997  Richard Henderson  <rth@cygnus.com>
1921
1922         * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
1923
1924         * alpha/alpha.c (output_prolog): New variable sa_reg.  Use it for
1925         out-or-range reg_offset.
1926         (output_epilog): Likewise.
1927
1928 Mon Sep 15 15:39:26 1997  Jeffrey A Law  (law@cygnus.com)
1929
1930         * cse.c (simplify_relational_operation): If MODE specifies a
1931         mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
1932         is derived from the sign bit of the low word.
1933
1934 Mon Sep 15 11:43:38 1997  Jason Merrill  <jason@yorick.cygnus.com>
1935
1936         Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
1937
1938         * dwarf2.h: Add DW_CFA_GNU_args_size.
1939         * frame.c (execute_cfa_insn): Likewise.
1940         * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
1941         (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
1942         (dwarf2out_frame_debug): If this isn't a prologue or epilogue
1943         insn, hand it off to dwarf2out_stack_adjust.
1944         (dwarf2out_begin_prologue): Initialize args_size.
1945         * frame.h (struct frame_state): Add args_size.
1946         * libgcc2.c (__throw): Use args_size.
1947         * final.c (final_scan_insn): If we push args, hand off all insns
1948         to dwarf2out_frame_debug.
1949         * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
1950
1951         * dwarf2out.c dwarf2out_frame_debug): Fix typo.
1952         Handle epilogue restore of SP from FP.
1953         * emit-rtl.c (gen_sequence): Still generate a sequence if the 
1954         lone insn has RTX_FRAME_RELATED_P set.
1955
1956         * frame.c (extract_cie_info): Handle "e" augmentation.
1957         * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
1958         absence of UNALIGNED_*_ASM_OP.
1959         (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
1960         (output_call_frame_info): Use "e" instead of "z" for augmentation.
1961         Don't emit augmentation fields length.
1962         (dwarf2out_do_frame): Move outside of #ifdefs.
1963         * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
1964         opcodes.
1965
1966         * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
1967         * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
1968         * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
1969         * sparc/sun4gas.h: New file.
1970         * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
1971
1972         * collect2.c (write_c_file_stat, write_c_file_glob): Declare 
1973         __register_frame_table and __deregister_frame.
1974
1975 1997-09-15  Brendan Kehoe  <brendan@cygnus.com>
1976
1977         * except.c (find_exception_handler_labels): Use xmalloc instead of
1978         alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
1979         in some cases.
1980
1981 Sun Sep 14 21:01:23 1997  Jeffrey A Law  (law@cygnus.com)
1982
1983         * Makefile.in: Various changes to build info files
1984         in the object tree rather than the source tree.
1985
1986 Sun Sep 14 12:24:30 1997  Jeffrey A Law  (law@cygnus.com)
1987
1988         * fixinc.math: New file to fix math.h on some systems.
1989         * configure.in (freebsd, netbsd): Use fixinc.math on these
1990         systems.
1991         * configure: Rebuilt.
1992
1993 Sun Sep 14 11:11:05 1997  Jeffrey A Law  (law@cygnus.com)
1994
1995         * regmove.c (regmove_optimize): If we end up moving the
1996         original insn due to lifetime overlaps, make sure to move
1997         REG_NOTES too.
1998
1999 Sat Sep 13 15:51:11 1997  Manfred Hollstein  <manfred@s-direktnet.de>
2000
2001         * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
2002
2003 Sat Sep 13 12:57:26 1997  Jeffrey A Law  (law@cygnus.com)
2004
2005         * haifa-sched.c (add_branch_dependences): Make each insn in
2006         a SCHED_GROUP_P block explicitly depend on the previous insn.
2007
2008 Fri Sep 12 13:49:58 1997  Jason Merrill  <jason@yorick.cygnus.com>
2009
2010         * except.h: Prototype dwarf2 hooks.
2011         * expr.c: Adjust.
2012
2013 Thu Sep 11 17:43:55 1997  Jim Wilson  <wilson@cygnus.com>
2014
2015         * configure.in (native_prefix): Delete.
2016         (mips-dec-netbsd): Don't set prefix.
2017         (*linux*): Don't set prefix.
2018
2019 Thu Sep 11 15:48:32 1997  Fred Fish  <fnf@ninemoons.com>
2020
2021         * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
2022         defined.  If not defined, include <sys/varargs.h> if
2023         HAVE_SYS_VARARGS_H is defined.
2024         * configure.in: Test for varargs.h and sys/varargs.h.
2025         * configure: Regenerate with autoconf.
2026         * config.in: Regenerate with autoheader.
2027
2028         * cpplib.c (quote_string): Cast first arg of sprintf call
2029         from "unsigned char *" to "char *".
2030         (output_line_command): Ditto.
2031         (macroexpand): Ditto.
2032         (do_line): Cast atoi arg from "unsigned char *" to "char *".
2033
2034 Wed Sep 10 21:37:30 1997  Jeffrey A Law  (law@cygnus.com)
2035
2036         * version.c: Bump for snapshot.
2037
2038         * Makefile.in (compare): Exit with nonzero status if there
2039         are comparison failures.  Note which files failed the
2040         comparison test in .bad_compare.
2041
2042 Wed Sep 10 17:05:46 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
2043
2044         * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
2045
2046 Wed Sep 10 16:37:28 1997  Fred Fish  <fnf@ninemoons.com>
2047
2048         * Makefile.in (LN, LN_S): New macros, use where appropriate.
2049         * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
2050         * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
2051         * configure: Regenerated.
2052
2053 Thu Sep 11 11:09:43 1997  Jeffrey A Law  (law@cygnus.com)
2054
2055         * loop.c (strength_reduce): Fix typo.
2056
2057 Wed Sep 10 16:01:15 1997  Jim Wilson  <wilson@cygnus.com>
2058
2059         * m88k/m88k.c (struct option): Rename to struct options.
2060         * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
2061         * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
2062         * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
2063         __DOLPHIN__ or sysV88.
2064
2065 Wed Sep 10 14:58:40 1997  Jim Wilson  <wilson@cygnus.com>
2066
2067         * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
2068         create new subreg.
2069
2070 Wed Sep 10 15:19:22 1997  Jeffrey A Law  (law@cygnus.com)
2071
2072         * config.sub: Accept 'amigados' for backward compatability.
2073
2074 Wed Sep 10 14:05:08 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
2075
2076         * Makefile.in (testsuite/site.exp): New target.
2077         (check-gcc, check-g++): Depend on testsuite/site.exp.
2078         Don't stop for failure.
2079
2080 Wed Sep 10 12:59:57 1997  Jason Merrill  <jason@yorick.cygnus.com>
2081
2082         * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
2083         if DWARF2_UNWIND_INFO.
2084
2085 Wed Sep 10 11:49:20 1997  Jason Merrill  <jason@yorick.cygnus.com>
2086
2087         Add support for exception handling using DWARF 2 frame unwind info.
2088         Currently works on SPARC and MIPS, and almost on x86.
2089         
2090         * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
2091         next_stack_level, in_reg_window): Helper fns.
2092         (__throw): Implement for DWARF2_UNWIND_INFO.
2093
2094         * expr.c (expand_builtin): Handle builtins used by __throw.
2095         * tree.h (enum built_in_function): Add builtins used by __throw.
2096         * c-decl.c (init_decl_processing): Declare builtins used by __throw.
2097         * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
2098         * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
2099         (expand_builtin_extract_return_addr): Likewise.
2100         (expand_builtin_frob_return_addr): Likewise.
2101         (expand_builtin_set_return_addr_reg): Likewise.
2102         (expand_builtin_eh_stub): Likewise.
2103         (expand_builtin_set_eh_regs): Likewise.
2104         (eh_regs): Choose two call-clobbered registers for passing back values.
2105
2106         * frame.c, frame.h: New files for parsing dwarf 2 frame info.
2107         * Makefile.in (LIB2ADD): New variable.  Add $(srcdir)/frame.c.
2108         (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
2109         (stmp-multilib): Likewise.
2110         ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
2111
2112         * except.c: #include "defaults.h".
2113         (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
2114         (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
2115         (register_exception_table_p): New fn.
2116         (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
2117         (end_eh_unwinder): Likewise.
2118
2119         * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP, 
2120         call __register_frame and __deregister_frame as needed.
2121         * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
2122         * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro.  Check
2123         EH_FRAME_SECTION_ASM_OP.
2124         * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
2125         * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
2126         (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
2127
2128         * dwarf2out.c (output_call_frame_info): If no support for
2129         EXCEPTION_SECTION, mark the start of the frame info with a
2130         collectable tag.
2131         * collect2.c (frame_tables): New list.
2132         (is_ctor_dtor): Recognise frame entries.
2133         (scan_prog_file): Likewise.
2134         (main): Pass -fno-exceptions to sub-compile.  Also do collection
2135         if there are any frame entries.
2136         (write_c_file_stat): Call __register_frame_table and
2137         __deregister_frame as needed.
2138         (write_c_file_glob): Likewise.
2139
2140         * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.  
2141         Also require unaligned reloc support.
2142         * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
2143         UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
2144         * sparc/sysv4.h: Not here.
2145
2146         * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
2147         * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
2148         (dwarf2out_finish): Don't call dwarf2out_frame_finish.
2149
2150         * libgcc2.c (L_eh): Reorganize, moving code shared by different
2151         EH implementations to the top.
2152         (find_exception_handler): Split out.  Start from 0.  Compare against
2153         end with >=.
2154         (__find_first_exception_table_match): Use it.
2155         * except.c (output_exception_table): Don't do anything if there's
2156         no table.  Don't output a first entry of zeroes.
2157         (eh_outer_context): Adjust properly.
2158         (add_eh_table_entry): Use xrealloc.
2159         * toplev.c (compile_file): Just call output_exception_table.
2160
2161 Wed Sep 10  11:30:36 1997  Jason Merrill  <jason@cygnus.com>
2162
2163         * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
2164
2165 Wed Sep 10 08:17:10 1997  Torbjorn Granlund  <tege@pdc.kth..se>
2166
2167         * except.c (eh_outer_context): Do masking using expand_and.
2168
2169 Wed Sep 10 01:38:30 1997  Doug Evans  <dje@cygnus.com>
2170
2171         Add port done awhile ago for the ARC cpu.
2172         * arc/arc.h: New file.
2173         * arc/arc.c: New file.
2174         * arc/arc.md: New file.
2175         * arc/initfini.c: New file.
2176         * arc/lib1funcs.asm: New file.
2177         * arc/t-arc: New file.
2178         * arc/xm-arc.h: New file.
2179         * ginclude/va-arc.h: New file.
2180         * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
2181         * ginclude/varargs.h: Likewise.
2182         * Makefile.in (USER_H): Add va-arc.h.
2183         * configure.in (arc-*-elf*): Recognize.
2184         * longlong.h: Add ARC support.
2185
2186 Wed Sep 10 01:32:54 1997  Jeffrey A Law  (law@cygnus.com)
2187
2188         * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
2189         when clearing non-BLKmode data.
2190
2191 Wed Sep 10 00:29:29 1997  Manfred Hollstein  <manfred@s-direktnet.de>
2192
2193         * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
2194         * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
2195
2196         * xm-m88k.h (USG): Only define if it hasn't already been defined.
2197
2198         * Makefile.in (risky-stage1): Delete gratutious whitespace.
2199
2200         * Makefile.in (clean): Delete libgcc1-test.
2201
2202         * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
2203
2204 Tue Sep  9 17:07:36 1997  Stan Cox  <coxs@dg-rtp.dg.com>
2205
2206         * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
2207         template.
2208
2209 Tue Sep  9 09:50:02 1997  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2210
2211         * dwarf2out.c (output_call_frame_info): Call named_section.
2212
2213 Tue Sep  9 09:12:17 1997  Jeffrey A Law  (law@cygnus.com)
2214
2215         * haifa-sched.c (print_value): Fix last change.
2216
2217 Tue Sep  9 01:30:37 1997  Jason Merrill  <jason@yorick.cygnus.com>
2218
2219         * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
2220         write_symbols.
2221
2222 Mon Sep  8 16:32:43 1997  Jason Merrill  <jason@yorick.cygnus.com>
2223
2224         * mips.c (function_prologue): Set up the CFA when ABI_32.
2225
2226         * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
2227         for dwarf2 unwind info.
2228         (output_function_prologue, sparc_flat_output_function_prologue): Same.
2229
2230         * final.c (final_end_function): Check dwarf2out_do_frame instead
2231         of DWARF2_DEBUG for dwarf2 unwind info.
2232         (final_scan_insn): Likewise.
2233         (final_start_function): Likewise.  Initialize dwarf2 frame debug here.
2234         (final): Not here.
2235
2236         * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
2237         count > 0.
2238
2239         * varasm.c (exception_section): Check EXCEPTION_SECTION first.
2240
2241 Mon Sep  8 15:15:11 1997  Nick Clifton  <nickc@cygnus.com>
2242
2243         * v850.h (ASM_SPEC): Pass on target processor.
2244         (CPP_PREDEFINES): Only define if not already specified.
2245         (TARGET_VERSION): Only define if not already specified.
2246         (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
2247         processor.
2248         (EXTRA_SWITCHES): Extra entries in the switches array.
2249         (TARGET_DEFAULT): Set default target processor.
2250
2251 Mon Sep  8 18:26:35 1997  Jim Wilson  <wilson@cygnus.com>
2252
2253         * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
2254         cases, add %# and %/, and add : to make them into extended asms.
2255
2256 Sun Sep  7 23:57:50 1997  Weiwen Liu  <liu@hepunix.physics.yale.edu>
2257
2258         * alias.c (init_alias_analysis): Clean up incompatible pointer
2259         type warning in bzero.
2260         * regmove.c (regmove_optimize): Ditto.
2261         * haifa-sched.c (find_rgns): Ditto.
2262
2263         * haifa-sched.c (print_value): Clean up ptr->int cast
2264         warnings.
2265
2266 Sun Sep  7 23:18:32 1997  Fred Fish  <fnf@ninemoons.com>
2267
2268         * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
2269         * install.texi (Configurations): Ditto.
2270         * config.sub: Ditto.
2271
2272 Sun Sep  7 22:56:56 1997  Weiwen Liu  (liu@hepvms.physics.yale.edu)
2273
2274         * Makefile.in (sdbout.o): Depend on insn-config.h.
2275
2276 Sun Sep  7 18:44:50 1997  Jim Wilson  <wilson@cygnus.com>
2277
2278         * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
2279         For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
2280
2281 Sun Sep  7 18:30:46 1997  Jason Merrill  <jason@yorick.cygnus.com>
2282
2283         * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
2284         prologue insn, only the first elt is significant.
2285         (output_call_frame_info): For exception handling, always use 4-byte
2286         fields as specified by the dwarf2 spec.
2287         Don't skip trivial FDEs.
2288
2289 Sun Sep  7 14:19:39 1997  Jeffrey A Law  (law@cygnus.com)
2290
2291         * version.c: Bump for snapshot.
2292
2293 Sun Sep  7 14:17:36 1997  Torbjorn Granlund  (tege@pdc.kth.se)
2294
2295         * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
2296         for negative constants.  Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
2297         when op1_is_pow2.
2298
2299 Sun Sep  7 13:46:46 1997  Jeffrey A Law  (law@cygnus.com)
2300
2301         * final.c (shorten_branches): During first pass, assume worst
2302         possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
2303
2304         * Makefile.in (distclean): Remove various things left around
2305         by running the testsuite.
2306
2307 Sun Sep  7 13:16:06 1997  Manfred Hollstein  <manfred@s-direktnet.de>
2308
2309         * configure.in (out_file): Emit definition to config.status in order
2310         to have a defined value for configure.lang.
2311         * configure: Re-built.
2312
2313 Sun Sep  7 09:59:08 1997  Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
2314
2315         * configure.in: Make symlink to as-new rather than as.new.  Similarly
2316         for ld-new.
2317         * configure: Rebuilt.
2318
2319 Fri Sep  5 16:54:55 1997  Jim Wilson  <wilson@cygnus.com>
2320
2321         * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
2322
2323 Fri Sep  5 16:16:44 1997  Christian Kuehnke  <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
2324
2325         * sparc/sparc.md: Add ultrasparc scheduling support.
2326         * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
2327
2328 Fri Sep  5 14:04:59 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
2329
2330         * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
2331         as initial value for real_label_map.
2332         (copy_for_inline): Likewise.
2333
2334 Fri Sep  5 13:36:44 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2335
2336         * sched.c (update_flow_info) When looking if to set found_split_dest
2337         or found_orig_dest, look at all parts of a PARALLEL.
2338         * haifa-sched.c (update_flow_info): Likewise.
2339
2340 Fri Sep  5 10:08:44 1997  Jeffrey A Law  (law@cygnus.com)
2341
2342         * v850: New directory for v850 port.
2343         * v850/lib1funcs.asm: New file.
2344         * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
2345         * ginclude/va-v850.h: New file.
2346         * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
2347         * configure.in (mn10200-*-*): New target.
2348         * configure: Rebuilt.
2349         * config.sub: Handle v850-elf.
2350         * Makefile.in (USER_H): Add va-mn10200.h. 
2351         * invoke.texi: Document v850 stuff.
2352
2353 Fri Sep  5 09:37:50 1997  Jim Wilson  (wilson@cygnus.com)
2354
2355         * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
2356         has integer TYPE_{MAX,MIN}_VALUE before using them.
2357
2358         * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
2359         __HPUX_ASM__ versions.
2360
2361 Fri Sep  5 09:08:44 1997  Jeffrey A Law  (law@cygnus.com)
2362
2363         * install.sh: Delete duplicate install script.
2364
2365 Thu Sep  4 23:14:27 1997  Stan Cox  (coxs@dg-rtp.dg.com)
2366
2367         * reg-stack.c (subst_stack_regs): Pop the stack register for a
2368         computed goto which sets the same stack register.
2369
2370         * reg-stack.c (compare_for_stack_reg): Swap only if the source and
2371         destination are both on the regstack.
2372         (subst_stack_regs_pat): Put the destination at the top of the regstack.
2373
2374 Thu Sep  4 15:02:27 1997  Jim Wilson  <wilson@cygnus.com>
2375
2376         * mips.md (nonlocal_goto_receiver): Define.
2377
2378         * profile.c (output_arc_profiler): Check next_insert_after for non
2379         NULL before deferencing it.
2380
2381         * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
2382
2383 Thu Sep  4 14:51:57 1997  Jeffrey A Law  (law@cygnus.com)
2384
2385         * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
2386
2387 Thu Sep  4 15:01:49 1997  Michael Meissner  <meissner@cygnus.com>
2388
2389         * toplev.c (rest_of_compilation): For passes starting with
2390         flow_analysis, use print_rtl_with_bb instead of print_rtl.
2391
2392         * print-rtl.c (print_rtl_single): Print a single rtl value to a
2393         file.
2394
2395         * flow.c (print_rtl_with_bb): Print which insns start and end
2396         basic blocks.  For the start of a basic block, also print the live
2397         information.
2398
2399 Thu Sep  4 11:51:43 1997  Jim Wilson  <wilson@cygnus.com>
2400
2401         * toplev.c (main): Change #elif to #else/#ifdef
2402
2403         * tlink.c: Include ctype.h.
2404         * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
2405
2406 Thu Sep  4 11:17:16 1997  Mikeael Meissner  (meissner@cygnus.com)
2407
2408         * bitmap.c: Conditionally include stdlib.h.
2409         (free): Provide a declaration if NEED_DECLARATION_FREE.
2410
2411 Thu Sep  4 09:58:53 1997  Joel Sherrill  (joel@OARcorp.com)
2412
2413         * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
2414
2415 Thu Sep  4 09:53:20 1997  Jim Wilson  (wilson@cygnus.com)
2416
2417         * profile.c (output_arc_profiler): Verify next_insert_after is an
2418         INSN before and after skipping a stack pop.
2419
2420 Thu Sep  4 07:39:19 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2421
2422         * final.c (shorten_branches): Don't count the lengths of deleted
2423         instructions.
2424
2425 Thu Sep  4 09:43:01 1997  Jeffrey A Law  (law@cygnus.com)
2426
2427         * version.c: Bump for snapshot.
2428
2429 Thu Sep  4 11:04:21 1997  Michael Meissner  <meissner@cygnus.com>
2430
2431         * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
2432         two bitmaps ANDed together.
2433         (bitmap_print): Declare.
2434
2435         * bitmap.c (function_obstack): Don't declare any more.
2436         (bitmap_obstack): Obstack for allocating links from.
2437         (bitmap_obstack_init): New static to say whether to initialize
2438         bitmap_obstack.
2439         (bitmap_element_allocate): Use bitmap_obstack to allocate from.
2440         (bitmap_release_memory): Free all memory allocated from
2441         bitmap_obstack.
2442
2443         * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
2444         EXECUTE_IF_AND_IN_BITMAP.
2445
2446 Wed Sep  3 10:39:42 1997  Jim Wilson  <wilson@cygnus.com>
2447
2448         * alias.c (true_dependence): Address with AND can alias scalars.
2449         (anti_dependence, output_dependence): Likewise.
2450         
2451         * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
2452
2453 Wed Sep  3 09:28:50 CDT 1997  Joel Sherrill (joel@OARcorp.com)
2454
2455         * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
2456           mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
2457           sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
2458           definitions.  Use -qrtems instead of -mrtems.
2459
2460 Wed Sep  3 09:05:41 1997  Robert Lipe  (robert@dgii.com)
2461
2462         * xm-sco5.h (sys_siglist): Define.
2463         (SYS_SIGLIST_DECLARED): Likewise.
2464
2465 Tue Sep  2 23:33:33 1997  Jeffrey A Law  (law@cygnus.com)
2466
2467         * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
2468
2469 Wed Sep  3 02:09:30 1997  Torbjorn Granlund  <tege@pdc.kth..se>
2470
2471         * except.c (eh_outer_context): Expand masking operation using
2472         expand_binop.
2473
2474 Tue Sep  2 18:09:39 1997  Jim Wilson  <wilson@cygnus.com>
2475
2476         * alpha.md (floatdisf2-1): New pattern.
2477
2478 Tue Sep  2 18:41:55 1997  Jeffrey A Law  (law@cygnus.com)
2479
2480         * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
2481         * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
2482         * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
2483         * gcc.texi: Note that if you define sys_siglist that you should
2484         also define SYS_SIGLIST_DECLARED.
2485
2486         * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
2487         are relative to the next instruction, not the current instruction.
2488
2489 Tue Sep  2 14:22:43 1997  Jim Wilson  <wilson@cygnus.com>
2490
2491         * local-alloc.c (contains_replace_regs): New function.
2492         (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
2493         verify that there is no existing REG_EQUIV note, and add a call to
2494         contains_place_regs.
2495
2496 Tue Sep  2 12:48:11 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
2497
2498         * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
2499         (STARTFILE_SPEC): Always use crtbegin.o%s
2500         (ENDFILE_SPEC): Always use crtend.o%s.
2501
2502 Tue Sep  2 12:00:36 1997  Jim Wilson  <wilson@cygnus.com>
2503
2504         * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
2505         is passed in.
2506         * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
2507         SFmode for 64 bit hosts.
2508         
2509 Tue Sep  2 13:42:38 1997  Paul N. Hilfinger  <hilfingr@CS.Berkeley.EDU>
2510
2511         * fixincludes: Permits spaces between # and define.  Discard C++
2512         comments in sys/pci.h on HP/UX 10.20.
2513
2514 Mon Sep  1 22:13:18 1997  Jeffrey A Law  (law@cygnus.com)
2515
2516         * version.c: Bump for snapshot.
2517
2518         * pa.c (restore_unscaled_index_insn_codes): New function.
2519         (record_unscaled_index_insn_codes): Likewise.
2520         (output_function_prologue): Call restore_unscaled_index_insn_codes.
2521         (output_function_epilogue): Free memory for unscaled_index_insn_codes.
2522         (pa_reorg): Call record_unscaled_index_insn_codes.
2523
2524         * haifa-sched.c (move_insn): Handle notes correctly for insns
2525         with SCHED_GROUP_P set.
2526         
2527 Mon Sep  1 16:58:57 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
2528
2529         * alpha/xm-linux.h (USE_BFD): Undef before define.
2530
2531 Mon Sep  1 16:25:34 1997  Jim Wilson  <wilson@cygnus.com>
2532
2533         * cse.c (cse_insn): Don't record BLKmode values.
2534
2535 Mon Sep  1 11:25:47 1997  Stephen Williams  (steve@icarus.icarus.com)
2536
2537         * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
2538
2539 Mon Sep  1 08:29:46 1997  Jeffrey A Law  (law@cygnus.com)
2540
2541         * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
2542         * collect2.c (sys_errlist): Likewise.
2543         * cpplib.c (sys_errlist): Likewise.
2544         * gcc.c (sys_errlist): Likewise.
2545         * protoize (sys_errlist): Likewise.
2546         * configure.in: Check for strerror.
2547         * xm-freebsd.h (HAVE_STRERROR): Remove definition.
2548         * xm-gnu.h (HAVE_STRERROR): Likewise.
2549         * xm-linux.h (HAVE_STRERROR): Likewise.
2550         * xm-netbsd.h (HAVE_STRERROR): Likewise.
2551         * xm-bsd386.h (HAVE_STRERROR): Likewise.
2552         * xm-cygwin32.h (HAVE_STRERROR): Likewise.
2553         * xm-dos.h (HAVE_STRERROR): Likewise.
2554         * xm-mingw32.h (HAVE_STRERROR): Likewise.
2555         * xm-pa.h (HAVE_STRERROR): Likewise.
2556         * xm-papro.h (HAVE_STRERROR): Likewise.
2557         * xm-sysv4.h (HAVE_STRERROR): Likewise.
2558         * configure, config.in: Rebuilt.
2559
2560         * Makefile.in: Add several missing "else true" clauses.
2561
2562         * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
2563         * mips-tfile.c: Likewise.
2564         * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
2565         * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
2566         * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
2567         * configure.in: Check for sys_siglist declaration.
2568         * configure, config.in: Rebuilt.
2569
2570 Mon Sep  1 08:04:07 1997  Joel Sherrill (joel@OARcorp.com)
2571
2572         * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, 
2573         m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
2574         sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
2575         * i960/i960.h: Added SUBTARGET_SWITCHES macro.
2576         * rs6000/sysv4.h (extra_subtarget_switches): Added new
2577         macro EXTRA_SUBTARGET_SWITCHES.
2578         * configure.in (sh*-*-rtems*): New target.
2579         * sh/rtems.h: New file.
2580         * sh/sh.h: Added SUBTARGET_SWITCHES macro.
2581         * configure: Rebuilt.
2582
2583 Sat Aug 30 22:54:26 1997  Jim Wilson  <wilson@cygnus.com>
2584
2585         * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
2586
2587 Sat Aug 30 10:49:46 1997  David Edelsohn  <edelsohn@mhpcc.edu>
2588
2589         * rs6000.md: Make DF fused-add operations pay attention to
2590         -mno-fused-add.
2591
2592 Fri Aug 29 19:19:54 1997  Jim Wilson  <wilson@cygnus.com>
2593
2594         * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
2595
2596 Fri Aug 29 16:13:51 1997  Jeffrey A Law  (law@cygnus.com)
2597
2598         * pa.md (reload_peepholes): Make sure operand is a REG before
2599         examining REGNO.  Allow general registers too.
2600
2601 Fri Aug 29 11:42:04 1997  Jim Wilson  <wilson@cygnus.com>
2602
2603         * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
2604
2605 Fri Aug 29 09:33:20 1997  Philipp Thomas  (kthomas@lxi165.gwdg.de)
2606
2607         * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
2608         to reallocate abbrev_die_table.
2609
2610 Thu Aug 28 15:14:46 1997  Jim Wilson  <wilson@cygnus.com>
2611
2612         * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
2613
2614 1997-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2615
2616         * Makefile.in (config.status): Depend on version.c
2617
2618         * expr.h (insn_gen_function): Reenable prototype.
2619
2620         * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
2621         first parameter.
2622
2623 Thu Aug 28 13:01:43 1997  Jim Wilson  <wilson@cygnus.com>
2624
2625         * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
2626
2627 Thu Aug 28 07:03:15 1997  Jeffrey A Law  (law@cygnus.com)
2628
2629         * version.c: Bump for latest snapshot.
2630
2631         * bc-optab.c: Conditionally include stdlib.h.
2632         (free): Provide a declaration if NEED_DECLARATION_FREE.
2633         * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
2634         * rtl.h (free): Remove declaration.
2635         * tree.h (free): Remvoe declaration.
2636
2637         * configure: Rebuilt.
2638
2639 Wed Aug 27 21:32:20 1997  Jeffrey A Law  (law@cygnus.com)
2640
2641         * flags.h (flag_move_all_movables): Declare.
2642         (flag_reduce_all_givs): Likewise.
2643         * loop.c (move_movables): Handle flag_move_all_movables.
2644         (strength_reduce): Handle flag_reduce_all_givs.
2645         * toplev.c (flag_move_all_movables): Define.
2646         (flag_reduce_all_givs): Likewise.
2647         (f_options): Add -fmove-all-movables and -freduce-all-givs.
2648         * invoke.texi: Document new options, including alias stuff that
2649         wasn't included last time.
2650
2651 Wed Aug 27 18:08:51 1997  Bob Manson  (manson@cygnus.com)
2652
2653         * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
2654         * t-mn10200: Ditto.
2655         * t-vxsparc: Ditto.
2656         * t-vxworks68: Ditto.
2657         * t-vxworks960: Ditto.
2658         * t-vx29k: Ditto.
2659
2660 Wed Aug 27 16:35:29 1997  Richard Henderson  <rth@cygnus.com>
2661
2662         * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
2663         if not already defined, and USE_C_ALLOCA not defined.
2664
2665 Wed Aug 27 16:08:43 1997  Jim Wilson  <wilson@cygnus.com>
2666
2667         * config.guess: Replace with script that uses ../config.guess.
2668
2669         * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
2670         if USE_GNULIBC_1 is not defined.
2671
2672 Wed Aug 27 15:49:12 1997  Richard Henderson  <rth@cygnus.com>
2673
2674         * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
2675         * config.guess: Recognize alpha-linux-gnulibc1.
2676         * configure.in (alpha-*-linux-gnulibc1): New target.
2677         (alpha-*-linux-gnu*): Don't build crtbegin/end.
2678
2679 Wed Aug 27 11:52:58 1997  Jim Wilson  <wilson@cygnus.com>
2680
2681         * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
2682         last change.
2683
2684 Wed Aug 27 01:56:18 1997  Doug Evans  <dje@seba.cygnus.com>
2685
2686         * loop.c (combine_movables): Earlier insns don't match later ones.
2687
2688 Wed Aug 27 01:24:25 1997  H.J. Lu   (hjl@gnu.ai.mit.edu)
2689
2690         * config/linux.h (CC1_SPEC): Define it only if not defined.
2691
2692         * config/m68k/linux.h (CC1_SPEC): Undefine it before include
2693         <linux.h>
2694
2695         * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
2696         USE_GNULIBC_1 is not defined.
2697
2698         * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New.  Defined as 1.
2699
2700         * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
2701         as 1 if USE_GNULIBC_1 is not defined.
2702
2703 Wed Aug 27 00:49:14 1997  Jeffrey A Law  (law@cygnus.com)
2704
2705         * reorg.c (dbr_schedule): Allow current_function_return_rtx
2706         to be something other than a REG.
2707         * function.c (expand_function_end): Fix current_function_return_rtx
2708         if it was a pseudo.
2709
2710         * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
2711         * x-netbsd: Likewise
2712         * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
2713         (INSTALL_HEADERS): Delete.
2714         * x-dguxbcs: Likewise.
2715         * x-hp3bsd44: Likewise
2716         * x-pa: Likewise.
2717
2718 Wed Aug 27 00:30:00 1997  Bernd Schmidt  <crux@pool.informatik.rwth-aachen.de>
2719
2720         * i386.md (pop): pop increments the stack pointer.
2721         (prologue_set_stack_ptr): New pattern.
2722         * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
2723         instead of subsi3.
2724
2725 Tue Aug 26 18:50:32 1997  Jim Wilson  <wilson@cygnus.com>
2726
2727         * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
2728         address where an offsettable address is required.
2729
2730 Tue Aug 26 17:54:56 1997  Michael P. Hayes  (michaelh@ongaonga.chch.cri.nz>
2731
2732         * loop.c (check_final_value): Don't miss a biv increment in a
2733         parallel.
2734
2735 Tue Aug 26 12:03:49 1997  Jim Wilson  (wilson@cygnus.com)
2736
2737         * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
2738         TYPE_DECL_IS_STUB instead of DECL_NAME.
2739
2740 Mon Aug 25 23:27:10 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
2741
2742         * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
2743
2744 Mon Aug 25 23:27:10 1997  Jim Meyering <meyering@eng.ascend.com>
2745
2746         * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
2747
2748 Mon Aug 25 13:12:24 1997  Jeffrey A Law  (law@cygnus.com)
2749
2750         * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
2751         (find_post_sched_live): Likewise.
2752
2753         * haifa-sched.c (schedule_block): Remove old code to get arguments
2754         from hard regs into pseudos early.
2755
2756 Mon Aug 25 08:55:00 1997  Jeffrey A Law  (law@cygnus.com)
2757
2758         * version.c: Bump for new snapshot.
2759
2760         * local-alloc.c (update_equiv_regs): All the target to reject
2761         promotion of some REG_EQUAL to REG_EQUIV notes.
2762         * pa.h (DONT_RECORD_EQUIVALENCE): Define.
2763
2764         * pa.c (secondary_reload_class): (mem (mem ... )) does not need
2765         secondary reloads.
2766
2767         * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
2768         store of the argument registers.
2769
2770 Mon Aug 25 08:39:02 1997  Craig Burley  (burley@gnu.ai.mit.edu)
2771
2772         * fold-const.c (multiple_of_p): New function.
2773         (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
2774
2775 Mon Aug 25 01:47:41 1997  Jeffrey A Law  (law@cygnus.com)
2776
2777         * expr.h (insn_gen_function): Temporarily remove prototype.
2778
2779 Sun Aug 24 17:22:21 1997  Jim Wilson  <wilson@cygnus.com>
2780
2781         * Makefile.in (install-info): Don't cd into srcdir.  Add srcdir to
2782         filenames.  Use sed to extract base filename for install.
2783
2784 Sat Aug 23 18:19:40 1997  John F. Carr  <jfc@mit.edu>
2785
2786         * unroll.c (find_splittable_givs): Only share if two givs have the
2787         same add and multiply values.
2788
2789 Sat Aug 23 14:36:27 1997  Jim Wilson  <wilson@cygnus.com>
2790
2791         * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
2792         * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
2793
2794 Sat Aug 23 00:18:22 1997  Jeffrey A Law  (law@cygnus.com)
2795
2796         * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
2797         around branch tables.
2798         * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
2799         and .end_brtab directives if TARGET_GAS.
2800
2801 Fri Aug 22 14:05:55 1997  Jim Wilson  <wilson@cygnus.com>
2802
2803         * alias.c (true_dependence): Pass x_addr not x to varies.
2804
2805         * acconfig.h (NEED_DECLARATION_CALLOC): Add.
2806         * configure.in: Add GCC_NEED_DECLARATION call for calloc.
2807         * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
2808         declarations.
2809         * config.in, configure: Regenerate.
2810
2811 Thu Aug 21 23:52:16 1997  John F. Carr  <jfc@mit.edu>
2812
2813         * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
2814         LO_SUM.
2815         (record_set): Handle LO_SUM like PLUS.
2816         (init_alias_analysis): When following chains of base addresses,
2817         do not stop on reaching a hard register.
2818
2819 Thu Aug 21 20:17:37 1997  Jeffrey A Law  (law@cygnus.com)
2820
2821         * version.c: Bump for new snapshot.
2822
2823 Thu Aug 21 17:28:00 1997  Jim Wilson  <wilson@cygnus.com>
2824
2825         * alpha.h (ARCH_ASM_FILE_START): Define.
2826         (ASM_FILE_START): Use ARCH_ASM_FILE_START.
2827         * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
2828
2829 Thu Aug 21 10:22:19 1997  Jeffrey A Law  (law@cygnus.com)
2830
2831         * Makefile.in (install-common): Put gcov comment at start of line.
2832
2833 Wed Aug 20 22:47:33 1997  Jeffrey A Law  (law@cygnus.com)
2834
2835         * alias.c (init_alias_analysis): When simplifying the reg_base_value
2836         array, simplify entries for hard registers too.
2837
2838 Wed Aug 20 12:35:47 1997  Dave Love  <d.love@dl.ac.uk>
2839
2840         * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
2841         list.
2842
2843 Wed Aug 20 11:58:33 1997  Jim Wilson  <wilson@cygnus.com>
2844
2845         * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
2846         block_stack before dereferencing it.
2847
2848 Wed Aug 20 11:57:11 1997  Michael Meissner  <meissner@cygnus.com>
2849
2850         * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
2851
2852 Tue Aug 19 17:10:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
2853
2854         * cplus-dem.c: Add 'extern' to prepends_underscore.
2855
2856 Tue Aug 19 09:34:57 1997  Jeffrey A Law  (law@cygnus.com)
2857
2858         * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
2859         (get_issue_rate): Delete.
2860         * pa.h (ISSUE_RATE): Define.
2861
2862         * configure.in: Turn on haifa by default for the PA.
2863         * configure: Rebuilt.
2864         * pa.c (override_options): Accept -mschedule=7200 option.
2865         (pa_adjust_cost): No longer need to scale costs for newer
2866         processors.
2867         * pa.h (enum processor_type): Add PROCESSOR_7200.
2868         * pa.md: Revamp scheduling parameters to work better with
2869         haifa.  Add scheduling parameters for the 7200.
2870
2871         * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
2872         insns too.
2873         (schedule_block): When adjusting basic_block_{head,end}, account
2874         for movement of SCHED_GROUP_P insns too.
2875
2876         * haifa-sched.c (debug_dependencies): Fix thinko.
2877
2878         * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
2879         (site.exp, check, check-g++, check-gcc): New targets.
2880
2881         * haifa-sched.c: Make lots of variables static.
2882
2883 Tue Aug 19 07:18:34 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
2884
2885         * expr.h, real.h: Finish prototyping.
2886
2887 Mon Aug 18 21:49:02 1997  Jim Wilson  <wilson@cygnus.com>
2888
2889         * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
2890         reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
2891         * reload1.c: Undo bugfix from Aug 11.
2892
2893 Mon Aug 18 17:39:02 1997  Mike Meissner  <meissner@cygnus.com>
2894
2895         * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
2896         quotes around the name.
2897         * configure: Regenerate.
2898
2899 Mon Aug 18 13:46:47 1997  Jim Wilson  <wilson@cygnus.com>
2900
2901         * Makefile.in (stmp-multilib-sub): Fix typo in last change.
2902
2903 Thu Aug  7 10:33:13 1997  Manfred Hollstein  <manfred@s-direktnet.de>
2904
2905         * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
2906         to sub-makes to avoid building more passes than the user might have
2907         requested on the command line.
2908
2909 Sun Aug 17 15:42:17 1997  Dave Love  (d.love@dl.ac.uk)
2910
2911         * configure.in: Expurgate `broken_install' (install is
2912         autoconfed).
2913
2914         * configure.lang: Substitute autoconfed ${INSTALL} (not currently
2915         relevant).
2916
2917 Sat Aug 16 01:08:12 1997  Jeffrey A Law  (law@cygnus.com)
2918
2919         * loop.c (is_power_of_2, is_conditional_branch): Delete unused
2920         functions and declarations.
2921         (analyze_loop_iterations): Use condjump_p.
2922         (insert_bct): Likewise.  Use exact_log2.
2923         
2924 Fri Aug 15 23:48:32 1997  Jeffrey A Law  (law@cygnus.com)
2925
2926         * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
2927         (schedule_region): Likewise.
2928         (schedule_insns): Likewise.
2929
2930         * PROJECTS: Update with Haifa stuff.
2931
2932 Fri Aug 15 12:49:56 1997  Jeffrey A Law  (law@cygnus.com)
2933
2934         * version.c: Change the version string to look like:
2935         egcs-2.90.00 970814 (gcc2-970802 experimental).
2936
2937         * loop.c (is_conditional_branch): Make definition match declaration.
2938
2939         * gcc.c: Take out experimental snapshot warning message.
2940
2941 Fri Aug 15 13:43:39 1997  Michael Meissner  <meissner@cygnus.com>
2942
2943         * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
2944         print out the names of the notes.  Print out the name of the insn
2945         that is not a note, and not an {,CALL_,JUMP_}INSN.
2946
2947 Wed Aug 13 17:32:38 1997  Jason Merrill  <jason@yorick.cygnus.com>
2948
2949         * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
2950         again for the slot after we give it RTL.
2951
2952 Wed Aug 13 01:03:37 1997  Doug Evans  <dje@canuck.cygnus.com>
2953
2954         * configure.in (haifa configury): Fix typo.
2955         * configure: Regenerate.
2956
2957 Tue Aug 12 10:20:36 1997  Jeffrey A Law  (law@cygnus.com)
2958
2959         * version.c: Bump version to "gcc-3.0.0 970802 experimental".
2960
2961         * gcc.info*: Rebuilt.
2962
2963         * COPYING.g77, README.g77: New files.
2964         * real.c (ereal_unto_float, ereal_unto_double): New functions.
2965         * real.h (ereal_unto_float, ereal_unto_double): Declare them.
2966         (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
2967
2968 Mon Aug 11 14:50:55 1997  Jeffrey A Law  (law@cygnus.com)
2969
2970         * Integrate Haifa instruction scheduler.
2971         * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS.  Prefix all references
2972         to sched with $(SCHED_CFLAGS.
2973         * configure.in: Handle --enable-haifa.
2974         * configure: Rebuilt.
2975         * flags.h: Add new flags for haifa instruction scheduler.
2976         * genattrtab.c (expand_units): For haifa, don't subtract one
2977         when computing blockage.
2978         * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
2979         (flag_schedule_speculative): Ditto.
2980         (flag_schedule_speculative_load): Ditto.
2981         (flag_schedule_speculative_load_dangerous): Ditto.
2982         (flag_schedule_reverse_before_reload): Ditto.
2983         (flag_schedule_reverse_after_reload): Ditto.
2984         (flag_branch_on_count_reg): Ditto.
2985         (f_options): Add Haifa switches.
2986         (main): Turn off some Haifa options if appropriate macro is
2987         defined.  Process Haifa switches.
2988         * unroll.c (iteration_info): No longer static, since Haifa
2989         scheduler uses it.
2990         (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
2991         * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
2992         * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
2993         * loop.h (loop_initial_value,loop_unroll_iter): New globals.
2994         * loop.c (loop_optimize): If HAIFA is defined, allocate additional
2995         storage for the Haifa scheduler.
2996         (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
2997         LABEL_NEXTREF.
2998         (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
2999         are defined, call analyze_loop_iterations and insert_bct to use
3000         countdown loops.
3001         (record_giv): Refine test for jumps out of loops if HAIFA is
3002         defined.
3003         (analyze_loop_iterations): New function to identify if we can use
3004         a countdown loop.
3005         (insert_bct): Insert countdown loop.
3006         (instrument_loop_bct): Low level code to insert countdown loop.
3007         (loop_number): Calculate UID of loop.
3008         (indirect_jump_in_function_p): Return true if an indirect jump is
3009         in the function.
3010         (is_power_of_2): Return true if value is a power of 2.
3011         (is_conditional_branch): Return true if insn is a conditional
3012         jump.
3013         (fix_bct_param): Process -fbct-{min,max}-N switches.
3014         (check_bct_param): Return true if loop should be instrumented.
3015         * loop.c (loop_initial_value,loop_unroll_iter): New globals.
3016         (loop_optimize): Initialize.
3017         (get_condition_for_loop): Ditto.
3018         * loop.c (strength_reduce): Inside of code that uses #ifdef
3019         HAVE_decrement_and_branch_on_count code, test it to make sure the
3020         condition is true.
3021         (instrument_loop_bct): Ditto.
3022         * haifa-sched.c: New file.
3023         
3024
3025         * Integrate regmove pass.
3026         * Makefile.in (OBJS): Add regmove.o
3027         (regmove.o): Add dependencies.
3028         * flow.c (find_use_as_address): No longer static.
3029         * rtl.h (find_use_as_address): Declare.
3030         * toplev.c (regmove_dump, flag_regmove): Define.
3031         (f_options): Add -fregmove.
3032         (regmove_dump_file, regmove_time): Define.
3033         (fatal_insn): Close the regmove dump file.
3034         (compile_file): Initialize regmove_time; open/close the regmove dump
3035         file as needed.  Print regmove time as needed.
3036         (rest_of_compilation): Run regmove pass if requested, dump
3037         RTL after regmove if requested.
3038         (main): If -O2 or more, turn on regmove.  Handle dump switches.
3039         * regmove.c: New file.
3040         
3041 Mon Aug 11 14:15:02 1997  Jeffrey A Law  (law@cygnus.com)
3042
3043         * Integrate tlink patch from jason@cygnus.com
3044         * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
3045         (process_command): Increment n_switches for them.  Don't discard
3046         their args.  Validate them.
3047         (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
3048         From Rohan Lenard.
3049         (process_command): Set include_prefixes from COMPILER_PATH.
3050         (main): Set COLLECT_GCC_OPTIONS sooner.
3051         * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
3052         * tlink.c, hash.c, hash.h: New files.
3053         * Makefile.in (USE_COLLECT2): Always use collect2.
3054         (collect2): Depend on and link in hash.o and tlink.o.
3055         (tlink.o, hash.o): Add dependencies.
3056
3057 Mon Aug 11 10:04:49 1997  Jeffrey A Law  (law@cygnus.com)
3058
3059         * Integrate alias analysis changes from jfc@mit.edu
3060         * Makefile.in (OBJS): Add alias.o
3061         (alias.o): Add dependencies.
3062         * alias.c: New file.
3063         * sched.c: Remove alias analysis code.  It lives in alias.c now.
3064         (sched_analyze_2): Add new arguments to true_dependence.
3065         (schedule_insns): Always call init_alias_analysis.
3066         * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
3067         mark return value from such functions as a pointer and keep track of
3068         them for alias analysis.  If a return value from a function is a
3069         pointer, mark it as such.
3070         * combine.c (distribute_notes): Handle REG_NOALIAS.
3071         * cse.c (struct write_data): Delete.  No longer needed.
3072         (invalidate): Don't call set_nonvarying_address_components anymore.
3073         Use true_dependence to decide if an entry should be removed from
3074         the hash table.
3075         (invalidate_memory): Remove WRITES argument, simplify appropriately.
3076         Fix all callers.
3077         (note_mem_written): Similarly for WRITE_PTR argument.
3078         (invalidate_from_clobbers): Similarly for W argument.
3079         (invalidate_for_call): Remove memory elements from the hash table.
3080         (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
3081         (cse_rtx_varies_p): New function.  Derived from old
3082         cse_rtx_addr_varies_p.
3083         (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
3084         Don't call note_mem_written anymore.  Stack pushes invalidate the stack
3085         pointer if PUSH_ROUNDING is defined.  No longer need to call
3086         cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
3087         (skipped_writes_memory): Remove variable.
3088         (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
3089         (invalidate_skipped_block): Simplify for new alias analysis code.
3090         (cse_set_around_loop): Likewise.
3091         (cse_main): Call init_alias_analysis.
3092         * flags.h (flag_alias_check, flag_argument_noalias): Declare.
3093         * toplev.c (flag_alias_check, flag_argument_noalias): Define.
3094         (f_options): Add new alias checking arguments.
3095         (main): Set flag_alias_check when optimizing.
3096         * local_alloc (validate_equiv_mem_from_store): Add new arguments
3097         to true_dependence.
3098         (memref_referenced_p): Likewise.
3099         * loop.c (NUM_STORES): Increase to 30.
3100         (prescan_loop): Only non-constant calls set unknown_address_altered.
3101         (invariant_p): Add new arguments to true_dependence.
3102         (record_giv): Initialize unrolled and shared fields.
3103         (emit_iv_add_mult): Call record_base_value as needed.
3104         * loop.h (struct induction): Add unrolled and shared fields.
3105         * unroll.c  (unroll_loop): Call record_base_value as needed.
3106         (copy_loop_body): Likewise.
3107         (final_biv_value): Likewise.
3108         (final_giv_value): Likewise.
3109         (find_splittable_regs): Likewise.  Only create one new pseudo
3110         if we have multiple address GIVs that were combined with the same
3111         dst_reg GIV.  Note when a new register is created due to unrolling.
3112         * rtl.c (reg_note_name): Add REG_NOALIAS.
3113         * rtl.h (enum reg_note): Similarly.
3114         (rtx_varies_p, may_trap_p, side_effects_p): Declare.
3115         (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
3116         (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
3117         (true_dependence, read_dependence, anti_dependence): Likewise.
3118         (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
3119         (mark_user_reg, mark_reg_pointer): Likewise.
3120
3121
3122         * Integrate reload bugfix from Wilon which enables the PA port
3123         to bootstrap again.
3124         * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
3125         OPERAND_ADDRESS when computing how many registers an insn needs.
3126         (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
3127         conflict.
3128         (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
3129         OPADDR_ADDR reload.
3130         (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
3131         in reload_reg_use_in_op_addr do not reach the end.
3132         do not reach the end.
3133         (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
3134         RELOAD_FOR_OPERAND_ADDRESS.
3135
3136 Sun Aug 10 12:00:20 1997  Jeffrey A Law  (law@cygnus.com)
3137
3138         * egcs project officially starts.
3139