]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
pt.c (determine_explicit_specialization): Initialize "dummy" to keep Purify quiet.
[gcc.git] / gcc / ChangeLog
CommitLineData
02bef6da
RK
1Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2
3 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
4
9ecc37f0
RH
5Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
6
7 * alpha.c (alpha_return_addr_rtx): New variable.
8 (alpha_save_machine_status): New; save it.
9 (alpha_restore_machine_status): New; restore it.
10 (alpha_init_expanders): New; clear it.
11 (alpha_return_addr): New; set it.
12 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
13 is overly conservative, so search the insns explicitly.
14 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
15 (alpha_sa_size [VMS && !VMS]): Likewise.
16 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
17 (INIT_EXPANDERS): New definition.
18
19 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
20 (output_prolog [!VMS]): Use them.
21
22 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
23 (alpha_does_function_need_gp): ... a new function. Refine the
24 CALL_INSN test to just TYPE_JSR.
25 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
26
bda2ffef
JL
27Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
28
29 * version.c: Bump for snapshot.
30
96b63cd7
RK
31Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
32
33 * pa.c (move_operand): Respect -mdisable-indexing.
34 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
35
f192bf8b
DE
36Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
37
38 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
39 PPC601.
40 (umulsidi3,umulsi3_highpart): Ditto.
41 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
42
2ea844d3
RH
43Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
44
45 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
46 (alpha_handle_trap_shadows): ... a new function. Handle the entire
47 function in one go. Emit RTL for trapb, instead of printf directly.
48 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
49 (trap_pending): Kill global variable.
50 (output_epilog): Don't call final_prescan_insn.
51 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
52 * alpha.h (FINAL_PRESCAN_INSN): Remove.
53 (MACHINE_DEPENENT_REORG): Define.
54 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
55 (trapb): New insn.
56
74835ed8
RH
57Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
58
59 Tune Haifa scheduler for Alpha:
60 * alpha.h (ISSUE_RATE): Define.
61 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
62 EV4 adjustments to EV5.
63 * alpha.md: Remove all scaling from function unit delays. Rework
64 EV5 function units to match the CPU.
65 (umuldi3_highpart): EV5 added the IMULH insn class.
66
cdc0de30
JL
67Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
68
69 * pa.c (following_call): Fail if the CALL_INSN is an indirect
70 call.
71
041c97f2
MM
72Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
73
74 * cplus-dem.c (demangle_signature): Don't look for return types on
75 constructors. Handle member template constructors.
76
f0632762
JM
77Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
78
79 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
22ef8a13 80 * tree.h: Declare them.
f0632762 81
dec88383
DE
82Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
83
84 * configure.in: Handle --with-newlib.
85 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
86
87 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
88
0e1f3f5e
JL
89Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
90
91 * config/ptx4.h: Fix typo.
92
12504ae0
JL
93Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
94
95 * version.c: Bump for snapshot.
96
5643c767
MH
97Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
98
99 * aclocal.m4: Substitute INSTALL.
100 * configure: Re-built.
101
aa0c1401
JL
102Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
103
f644bd14
JL
104 * integrate.c (save_for_inline_copying): Avoid undefined pointer
105 operations.
106 (expand_inline_function): Likewise.
107
aa0c1401
JL
108 * dwarf2out.c (output_call_frame_info): Reinstate last change
109 using flag_debug_asm check instead of flag_verbose_asm.
110
6c2df6c9
JW
111Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
112
113 * dwarf2out.c (output_call_frame_info): Remove last change.
114
13ab2b83
AS
1151997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
116
117 * frame.c (__frame_state_for): Execute the FDE insns until the
118 current pc value is strictly bigger than the target pc value.
119
066c2fea
JM
120Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
121
122 * regclass.c (init_reg_modes): If we can't find a mode for the
123 register, use the previous one.
124
2f308fec
RH
125Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
126
127 * haifa-sched.c (print_block_visualization): Call fprintf directly,
128 don't sprintf through an alloca'ed buffer.
129
43984e29
TK
130Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
131
132 * reload.c (decompose): Always initialize val.base.
133
e9e30253
MH
134Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
135
136 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
137 instead of aborting.
138 * dwarf2out.c (output_call_frame_info): Call app_enable and
139 app_disable to let GNU as accept the generated comments.
140
496651db
MM
141Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
142
143 * tree.h (get_file_function_name): Add declaration.
144 * dwarf2out.c (output_call_frame_info): No need to cast
145 get_file_function_name call anymore.
146 * profile.c (toplevel): Remove get_file_function_name
147 declaration.
148 * c-lang.c (finish_file): Ditto.
149
e6347456
CS
150Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
151
152 * Makefile.in (program_transform_name): Let autoconf substitute
153 the correct value.
154
1447b516
JL
155Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
156
157 * haifa-sched.c (schedule_block): If the first real insn in a
158 block has any special notes attached to it, remove them.
159
1a42ead7
RH
160Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
161
162 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
163
4b6140f1
MH
164Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
165
166 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
167
dc84d7bc
JL
168Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
169
170 * Makefile.in (check-g77): New test target.
171 (CHECK-TARGETS): Add check-g77.
172
c0da11c4
JM
173Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
174
175 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
176
d8d64559
MM
177Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
178
179 * flow.c (print_rtl_with_bb): Cast alloca return value for
180 in_bb_p.
181
e414ab29
RH
182Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
183
184 * i386.h (RETURN_ADDR_RTX): New definition that works for
185 __builtin_return_address(0) and -fomit-frame-pointer.
186
15039abe
JW
187Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
188
189 Bring over from FSF.
190 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
191
192 * mips.c (function_arg): Handle passing a struct
193 containing a double in a DFmode register without the PARALLEL.
194
281de624
ILT
195Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
196
d8d64559 197 * pexecute.c: Use spawn if __CYGWIN32__.
281de624 198
d8d64559 199 * pexecute.c: Include "config.h" first, as per autoconf manual
281de624
ILT
200 (from Paul Eggert <eggert@twinsun.com>).
201
3cbdd5fc
PDM
202Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
203
204 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
205 optimisation for f/expr.o and f/stb.o.
206
135d84b8
JL
207Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
208
209 * cse.c (this_insn_cc0_mode): Initialize.
210
55d89719
TK
211Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
212
d3878e49
TK
213 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
214
215 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
55d89719 216
e9d0757e
RH
217Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
218
219 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
220 that pair will dual-issue on the 21164 and plus+beq won't.
221 (bne): Likewise for cmpeq+beq.
222
3f34faec
JW
223Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
224
225 * except.c (find_exception_handler_labels): Correct argument to free.
226
3226dac5 227Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
988cea7d
BK
228
229 * except.c (find_exception_handler_labels): Free LABELS when we're
230 done.
231
3a6eabfa
JL
232Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
233
234 * version.c: Bump for snapshot.
235
974c50f9
JM
236Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
237
238 * flow.c (find_basic_blocks): Mark calls as potentially jumping
239 to the EH labels.
240
9b16d2c4
JL
241Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
242
243 * configure.in: Substitute for "install" too.
244 * configure: Rebuilt.
245
b1e3ddfd
AJ
246Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
247
248 * Makefile.in (bootstrap-lean, compare-lean): New targets.
249
6662a38d
RH
250Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
251
c02f035f
RH
252 * alias.c (base_alias_check): Two symbols can conflict if they
253 are accessed via AND.
254 (memrefs_conflict_p): Likewise.
255
7a14fdc5
RH
256 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
257 after flushing argument registers to the stack.
258
6662a38d
RH
259 * Makefile.in (mostlyclean): Remove .regmove files.
260
f3447109
JM
261Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
262
263 * libgcc2.c (__throw): Fix thinko.
264
37f6b6bf
MM
265Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
266
267 * cplus-dem.c (demangle_template): Add new parameter. Handle new
268 template-function mangling.
269 (consume_count_with_underscores): New function.
270 (demangle_signature): Handle new name-mangling scheme.
271
adfc539e
PDM
272Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
273
274 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
275 start and end.
276
92cbe4d2
JL
277Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
278
279 * frame.c: Remove last change.
280 * dwarf2.h: Remove last change.
281 * tree.h: Add declarations of DWARF2 unwind info support
282 functions.
283
2f3ca9e7
JM
284Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
285
286 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
287 * tree.h (built_in_function): Likewise.
288 * expr.c (expand_builtin): Likewise.
289 * except.h: Likewise.
290 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
291 * libgcc2.c (copy_reg): New fn.
292 (__throw): Use it.
293
407cb092
PE
294Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
295
296 * c-typeck.c (build_binary_op): Warn about comparing signed vs
297 unsigned if -W is specified and -Wno-sign-compare is not.
298 * c-decl.c (warn_sign_compare): Initialize to -1.
299 (c_decode_option): -Wall no longer implies -Wsign-compare.
300
3ba10494
AS
301Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
302
a7cc7f29
AS
303 * frame.c: Include gansidecl.h for PROTO.
304 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
305 defined. Don't declare dwarf2out_cfi_label here.
306 * dwarf2.h: Add declarations of DWARF2 unwind info support
307 functions.
308 * m68k.c: Include dwarf2.h.
309 (output_function_prologue): Add dwarf2 support.
310 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
311 (INCOMING_FRAME_SP_OFFSET): Likewise.
312
3ba10494
AS
313 * integrate.c (expand_inline_function): Make sure there is at
314 least one insn that can be used as an insertion point.
315
c5cec899
JM
316Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
317
318 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
319
e166cb18
JL
320Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
321
322 * version.c: Bump for snapshot.
323
01a94cba
DE
324Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
325
326 Bring over from FSF.
327
328 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
329
330 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
331 (get_pc_via_rdpc): Renamed from get_pc_sp64.
332 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
333
334 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
335
336 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
337 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
338 -malign-functions=.
339 (sparc_align_{loops,jumps,funcs}_string): Declare.
340 (sparc_align_{loops,jumps,funcs}): Declare.
341 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
342 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
343 (STACK_BIAS): Define.
344 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
345 test.
346 (SPARC_SETHI_P): New macro.
347 (CONST_OK_FOR_LETTER_P): Use it.
348 (ASM_OUTPUT_ALIGN_CODE): Define.
349 (ASM_OUTPUT_LOOP_ALIGN): Define.
350 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
351 (sparc_align_{loops,jumps,funcs}): New globals.
352 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
353 -malign-functions=.
354 (move_operand): Use SPARC_SETHI_P.
355 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
356 perform test.
357 (arith11_double_operand): Likewise.
358 (arith10_double_operand): Likewise.
359 (finalize_pic): Finish sparc64 support.
360 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
361 64 bit constants if able.
362 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
363 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
364 ! TARGET_FPU.
365 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
366 (get_pc_sp32): Use for sparc64 as well.
367 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
368 (sethi_di_sp64_const): Likewise.
369 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
370 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
371 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
372
373 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
374
375 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
376 * sparc/linux.h (COMMENT_BEGIN): Likewise.
377 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
378
379 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
380
381 Add sparc64 linux support.
382 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
383 to xm_file list on 32-bit sparc-linux.
384 * sparc/xm-sp64.h: New file.
385 * sparc/linux64.h: New file.
386 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
387 Don't include xm-sparc.h.
388 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
389 * glimits.h (LONG_MAX): Handle sparc64.
390
391 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
392
393 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
394 * sparc.h (ASM_COMMENT_START): Define.
395 * sparc.c (output_function_prologue): Use it.
396 (sparc_flat_output_function_{epi,pro}logue): Likewise.
397
398 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
399
400 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
401 use sparc.h's copies.
402 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
403 ascii form as well.
404
405 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
406
407 * sparc.c (dwarf2out_cfi_label): Add declaration.
408 (save_regs, output_function_prologue): Remove cast for it.
409 (sparc_flat_{save_restore,output_function_prologue): Likewise.
410 ({save,restore}_regs): No longer inline.
411
ce2157a1
JL
412Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
413
414 * fold-const.c (make_range): Correctly handle cases of converting
415 from unsigned to signed type.
416
417Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
418
419 * fold-const.c (merge_ranges): Make sure that if one range is subset
420 of another, it will always be the second range. Correct (+,-) case to
421 account for this.
422
c5cec899
JM
423Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
424
425 * final.c (final_end_function): Also do dwarf2 thing if
426 DWARF2_DEBUGGING_INFO.
427 (final_start_function): Likewise.
428
c107334d
DM
429Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
430
e13a25d5
DM
431 * expmed.c (expand_divmod): If compute_mode is not the same as
432 mode, handle the case where convert_modes() causes op1 to no
433 longer be a CONST_INT.
434
c107334d
DM
435 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
436 note holding get_jump_flags() calculation to all JUMP_INSNs.
437 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
438 * rtl.c (reg_note_name): Add new note types.
439
8d7532d9
JL
440Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
441
0774afd7 442 * rtlanal.c (computed_jump_p): Fix typo in last change.
8d7532d9 443
7019d00e
L
444Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
445
446 * loop.c (indirect_jump_in_function_p): Return 0
447 by default.
448
b9dfb357
JL
449Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
450
451 * rs6000/xm-rs6000.h: Fix thinko in last change.
452 * rs6000/xm-sysv4.h: Likewise.
453
4b7e467b
JW
454Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
455
456 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
457
8c8e6faa
JL
458Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
459
460 * reg-stack.c (find_blocks): Fix thinko in last change.
461
078e983e
AS
4621997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
463
464 * m68k.c (output_function_prologue): Add dwarf2 support.
465
466 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
467 INCOMING_FRAME_SP_OFFSET): New definitions.
468
d7027667
DM
469Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
470
9524f769
DM
471 * combine.c (try_combine): Use NULL_RTX instead of '0' where
472 appropriate in calls to gen_rtx().
473 * cse.c (cse_main): Likewise.
474 * emit-rtl.c (gen_label_rtx): Likewise.
475 * expr.c (init_expr_once): Likewise.
476 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
477 sched_analyze, init_rgn_data_dependences,
478 compute_block_backward_dependences): Likewise.
479 * sched.c (schedule_insns): Likewise.
480 * varasm.c (immed_double_const): Likewise.
481
d7027667
DM
482 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
483 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
484
fbf8b71c
KJ
485Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
486
487 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
488 (MULTILIB_DEFAULTS): Define.
489 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
490 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
491 (LIBGCC_SPEC): Likewise.
492 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
493 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
494 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
495 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
496 (EXTRA_PARTS, TAROUTOPTS): Delete.
497 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
498 (MULTILIB_OPTIONS): Define.
499 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
500 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
501
c14a951f
JL
502Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
503
504 * version.c: Bump for snapshot.
505
7014927a
JL
506Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
507
37aa45a2
JL
508 * loop.c (loop_number): Delete function. Change all references
509 to use uid_loop_num array.
510 * loop.h (loop_number): Delete declaration.
511 * unroll.c (unroll_loop): Change "loop_number" references to
512 use uid_loop_num instead.
513
b47404d1
JL
514 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
515 conditional.
516 (loop_unroll_iter): Remove unused variable and all references.
517 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
518 (insert_bct): Fix minor formatting problems.
519 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
520 (loop_unroll_iter): Removed unused decl.
521 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
522 Always record the unrolling factor.
523
cb3bb2a7
JL
524 * cse.c (simplify_relational_operation): Set h0u just like h0s.
525 Similarly for h1u and h1s.
526
d5ff3a2e 527 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
2a1777af
JL
528 (find_basic_blocks): Use computed_jump_p to determine if a
529 particular JUMP_INSN is a computed jump.
530 * reg-stack.c (find_blocks): Use computed_jump_p to determine
531 if a particular JUMP_INSN is a computed jump.
532 * rtlanal.c (jmp_uses_reg_or_mem): New function.
533 (computed_jump_p): Likewise.
534 * rtl.h (computed_jump_p): Declare.
535 * genattrtab.c (pc_rtx): Define and initialize.
536 * loop.c (loop_optimize): Always determine if the current
537 function has a computed jump.
538 (indirect_jump_in_function_p): Use computed_jump_p to determine
539 if a particular JUMP_INSN is a computed jump.
540
7014927a
JL
541 * loop.c (fix_bct_param): Delete unused function.
542 (check_bct_param): Likewise.
543
6d53d7c2
JM
544Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
545
546 * frame.c (__deregister_frame): Check properly for initialized object.
547
5a5e9503 548Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
71e4fbe6
L
549
550 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
551
272299b9
R
552Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
553
cc5e1642
R
554 * jump.c (thread_jumps): check can_reverse_comparison_p before
555 threading a reversed-condition jump.
556
272299b9
R
557 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
558 * haifa-sched.c (update_flow_info): Likewise.
559
18511014
JL
560Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
561
e6493727
JL
562 * Makefile.in (BOOT_CFLAGS): Use -O2.
563
1e467e19
JL
564 * configure.in (strtoul, bsearch): Have autoconf check for these
565 functions.
566 * configure, config.in: Rebuilt.
567
18511014
JL
568 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
569 * mips/mips.h (alloca): Likewise.
570 * rs6000/xm-rs6000.h (alloca): Likewise.
571 * rs6000/xm-sysv4.h: Likewise.
572
6020d360
JM
573Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
574
575 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
576 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
577 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
578
579 * except.c (end_eh_unwinder): Subtract 1 from return address.
580 * libgcc2.c (__throw): Likewise.
581 (find_exception_handler): Don't change PC here. Compare end with >.
582
b24bcfb3
NC
583Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
584
585 * v850.c (compute_register_save_size): Correct register
586 number.
587 * v850.md (save_interrupt, return_interrupt): Correct
588 register number.
589 * v850/lib1funcs.asm (save_interrupt): Correct register number.
590 (return_interrupt): Use stack pointer, not element pointer.
591
93cf819d
BK
5921997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
593
594 * configure.in, configure: Make sure to create the stage* and include
595 symbolic links in each subdirectory.
596
f0501149
JL
597Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
598
599 * pa.md (reload_peepholes): Don't allow addresses with side
600 effects for the memory operand.
601
4f870c04
JM
602Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
603
604 * libgcc2.c (find_exception_handler): Subtract one from our PC when
605 looking for a handler, to avoid hitting the beginning of the next
606 region.
607
608 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
609
4eb66248
JL
610Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
611
612 * mips/abi64.h (LONG_MAX_SPEC): Define.
613 * mips.h (LONG_MAX_SPEC): Define.
614 (CPP_SPEC): Include long_max_spec.
615 (EXTRA_SPECS): Include long_max_spec.
616
44158507
JL
617Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
618
619 * v850.c (construct_save_jarl): Fix thinko in last change.
620
bf520cd9
JL
621Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
622
623 * version.c: Bump for snapshot.
624
255fe733
JM
625Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
626
c0727e2a
JM
627 * libgcc2.c (find_exception_handler): Not found is -1.
628
255fe733
JM
629 * integrate.c (expand_inline_function): Move expand_start_bindings
630 after expanding the arguments.
631
21002281
JW
632Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
633
634 * expr.c (expand_expr): Remove previous incorrect change.
635 If target and slot has no DECL_RTL, then call mark_addressable
636 again for the slot after we give it RTL.
637
e693cc28 638Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
f633220c 639
e693cc28
UD
640 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
641 again for the slot after we give it RTL.
f633220c 642
145870b5
NC
643Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
644
84e75068 645 * v850.c (register_is_ok_for_epilogue,
145870b5
NC
646 pattern_is_ok_for_epilogue, construct_restore_jr,
647 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
648
84e75068 649 * v850.h (pattern_is_ok_for_prologue,
145870b5
NC
650 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
651 predicates.
652
84e75068 653 * v850.md: Replace prologue and epilogue patterns with a
145870b5
NC
654 match_parallel pattern.
655
76143254
JL
656Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
657
658 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
659 * configure.in: Use EGCS_PROG_INSTALL.
660
4401bf24
JL
661Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
662
663 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
664 extern inline function.
665
666Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
667
668 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
669 (concat_loc_descriptor): New function.
670 (loc_descriptor): Call it.
671 (add_AT_location_description): Also elide the descriptor if both
672 halves of a CONCAT are pseudos.
673 (add_location_or_const_value_attribute): Recognize CONCAT too.
674
0d24ff5d
RH
675Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
676
4bb43724
RH
677 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
678
0d24ff5d
RH
679 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
680 out-or-range reg_offset.
681 (output_epilog): Likewise.
682
05ef8897
JL
683Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
684
685 * cse.c (simplify_relational_operation): If MODE specifies a
686 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
687 is derived from the sign bit of the low word.
688
ca55abae
JM
689Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
690
691 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
692
693 * dwarf2.h: Add DW_CFA_GNU_args_size.
694 * frame.c (execute_cfa_insn): Likewise.
695 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
696 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
697 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
698 insn, hand it off to dwarf2out_stack_adjust.
699 (dwarf2out_begin_prologue): Initialize args_size.
700 * frame.h (struct frame_state): Add args_size.
701 * libgcc2.c (__throw): Use args_size.
702 * final.c (final_scan_insn): If we push args, hand off all insns
703 to dwarf2out_frame_debug.
704 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
705
706 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
707 Handle epilogue restore of SP from FP.
708 * emit-rtl.c (gen_sequence): Still generate a sequence if the
709 lone insn has RTX_FRAME_RELATED_P set.
710
711 * frame.c (extract_cie_info): Handle "e" augmentation.
712 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
713 absence of UNALIGNED_*_ASM_OP.
714 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
715 (output_call_frame_info): Use "e" instead of "z" for augmentation.
716 Don't emit augmentation fields length.
717 (dwarf2out_do_frame): Move outside of #ifdefs.
718 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
719 opcodes.
720
721 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
722 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
723 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
724 * sparc/sun4gas.h: New file.
725 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
726
727 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
728 __register_frame_table and __deregister_frame.
729
1d77fa53
BK
7301997-09-15 Brendan Kehoe <brendan@cygnus.com>
731
732 * except.c (find_exception_handler_labels): Use xmalloc instead of
733 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
734 in some cases.
735
8be52aaa
JL
736Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
737
738 * Makefile.in: Various changes to build info files
739 in the object tree rather than the source tree.
740
a3ee3246
JL
741Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
742
743 * fixinc.math: New file to fix math.h on some systems.
744 * configure.in (freebsd, netbsd): Use fixinc.math on these
745 systems.
746 * configure: Rebuilt.
747
124da275
JL
748Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
749
750 * regmove.c (regmove_optimize): If we end up moving the
751 original insn due to lifetime overlaps, make sure to move
752 REG_NOTES too.
753
fca9d4b0
MH
754Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
755
756 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
757
326ee7a3
JL
758Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
759
760 * haifa-sched.c (add_branch_dependences): Make each insn in
761 a SCHED_GROUP_P block explicitly depend on the previous insn.
762
ca55abae
JM
763Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
764
765 * except.h: Prototype dwarf2 hooks.
766 * expr.c: Adjust.
767
5188d2b2
JW
768Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
769
770 * configure.in (native_prefix): Delete.
771 (mips-dec-netbsd): Don't set prefix.
772 (*linux*): Don't set prefix.
773
2e384318
FF
774Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
775
70988851
FF
776 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
777 defined. If not defined, include <sys/varargs.h> if
778 HAVE_SYS_VARARGS_H is defined.
779 * configure.in: Test for varargs.h and sys/varargs.h.
780 * configure: Regenerate with autoconf.
781 * config.in: Regenerate with autoheader.
782
2e384318
FF
783 * cpplib.c (quote_string): Cast first arg of sprintf call
784 from "unsigned char *" to "char *".
785 (output_line_command): Ditto.
786 (macroexpand): Ditto.
787 (do_line): Cast atoi arg from "unsigned char *" to "char *".
788
3fb2f401
JL
789Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
790
f2e4e16f
JL
791 * version.c: Bump for snapshot.
792
3fb2f401
JL
793 * Makefile.in (compare): Exit with nonzero status if there
794 are comparison failures. Note which files failed the
795 comparison test in .bad_compare.
796
d26cb668
L
797Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
798
799 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
800
ac64120e
JW
801Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
802
803 * Makefile.in (LN, LN_S): New macros, use where appropriate.
804 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
805 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
806 * configure: Regenerated.
807
808Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
809
810 * loop.c (strength_reduce): Fix typo.
811
db87ec0b
JW
812Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
813
814 * m88k/m88k.c (struct option): Rename to struct options.
815 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
816 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
817 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
818 __DOLPHIN__ or sysV88.
819
04395f96
JW
820Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
821
822 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
823 create new subreg.
824
becdcf6d
JL
825Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
826
827 * config.sub: Accept 'amigados' for backward compatability.
828
04395f96 829Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
3979dfb8
JW
830
831 * Makefile.in (testsuite/site.exp): New target.
832 (check-gcc, check-g++): Depend on testsuite/site.exp.
833 Don't stop for failure.
834
ca55abae
JM
835Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
836
837 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
838 if DWARF2_UNWIND_INFO.
839
840Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
841
842 Add support for exception handling using DWARF 2 frame unwind info.
843 Currently works on SPARC and MIPS, and almost on x86.
844
845 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
846 next_stack_level, in_reg_window): Helper fns.
847 (__throw): Implement for DWARF2_UNWIND_INFO.
848
849 * expr.c (expand_builtin): Handle builtins used by __throw.
850 * tree.h (enum built_in_function): Add builtins used by __throw.
851 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
852 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
853 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
854 (expand_builtin_extract_return_addr): Likewise.
855 (expand_builtin_frob_return_addr): Likewise.
856 (expand_builtin_set_return_addr_reg): Likewise.
857 (expand_builtin_eh_stub): Likewise.
858 (expand_builtin_set_eh_regs): Likewise.
859 (eh_regs): Choose two call-clobbered registers for passing back values.
860
861 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
862 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
863 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
864 (stmp-multilib): Likewise.
865 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
866
867 * except.c: #include "defaults.h".
868 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
869 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
870 (register_exception_table_p): New fn.
871 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
872 (end_eh_unwinder): Likewise.
873
874 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
875 call __register_frame and __deregister_frame as needed.
876 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
877 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
878 EH_FRAME_SECTION_ASM_OP.
879 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
880 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
881 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
882
883 * dwarf2out.c (output_call_frame_info): If no support for
884 EXCEPTION_SECTION, mark the start of the frame info with a
885 collectable tag.
886 * collect2.c (frame_tables): New list.
887 (is_ctor_dtor): Recognise frame entries.
888 (scan_prog_file): Likewise.
889 (main): Pass -fno-exceptions to sub-compile. Also do collection
890 if there are any frame entries.
891 (write_c_file_stat): Call __register_frame_table and
892 __deregister_frame as needed.
893 (write_c_file_glob): Likewise.
894
895 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
896 Also require unaligned reloc support.
897 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
898 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
899 * sparc/sysv4.h: Not here.
900
901 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
902 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
903 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
904
905 * libgcc2.c (L_eh): Reorganize, moving code shared by different
906 EH implementations to the top.
907 (find_exception_handler): Split out. Start from 0. Compare against
908 end with >=.
909 (__find_first_exception_table_match): Use it.
910 * except.c (output_exception_table): Don't do anything if there's
911 no table. Don't output a first entry of zeroes.
912 (eh_outer_context): Adjust properly.
913 (add_eh_table_entry): Use xrealloc.
914 * toplev.c (compile_file): Just call output_exception_table.
915
916Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
917
918 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
919
920Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
921
922 * except.c (eh_outer_context): Do masking using expand_and.
923
b4d940a2
JL
924Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
925
926 Add port done awhile ago for the ARC cpu.
927 * arc/arc.h: New file.
928 * arc/arc.c: New file.
929 * arc/arc.md: New file.
930 * arc/initfini.c: New file.
931 * arc/lib1funcs.asm: New file.
932 * arc/t-arc: New file.
933 * arc/xm-arc.h: New file.
934 * ginclude/va-arc.h: New file.
935 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
936 * ginclude/varargs.h: Likewise.
937 * Makefile.in (USER_H): Add va-arc.h.
938 * configure.in (arc-*-elf*): Recognize.
939 * longlong.h: Add ARC support.
940
941Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
942
943 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
944 when clearing non-BLKmode data.
945
10211581
JL
946Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
947
9dfc6eba
MH
948 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
949 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
950
55259219
MH
951 * xm-m88k.h (USG): Only define if it hasn't already been defined.
952
953 * Makefile.in (risky-stage1): Delete gratutious whitespace.
954
ee291069
MH
955 * Makefile.in (clean): Delete libgcc1-test.
956
10211581
JL
957 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
958
959Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
48f0be1b
SC
960
961 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
962 template.
963
ca55abae
JM
964Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
965
966 * dwarf2out.c (output_call_frame_info): Call named_section.
967
8f3d79e0
JL
968Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
969
970 * haifa-sched.c (print_value): Fix last change.
971
ca55abae
JM
972Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
973
974 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
975 write_symbols.
976
977Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
978
979 * mips.c (function_prologue): Set up the CFA when ABI_32.
980
981 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
982 for dwarf2 unwind info.
983 (output_function_prologue, sparc_flat_output_function_prologue): Same.
984
985 * final.c (final_end_function): Check dwarf2out_do_frame instead
986 of DWARF2_DEBUG for dwarf2 unwind info.
987 (final_scan_insn): Likewise.
988 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
989 (final): Not here.
990
991 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
992 count > 0.
993
994 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
995
74aca74b
NC
996Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
997
998 * v850.h (ASM_SPEC): Pass on target processor.
999 (CPP_PREDEFINES): Only define if not already specified.
1000 (TARGET_VERSION): Only define if not already specified.
1001 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
1002 processor.
1003 (EXTRA_SWITCHES): Extra entries in the switches array.
1004 (TARGET_DEFAULT): Set default target processor.
1005
c0b04148
JW
1006Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
1007
1008 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
1009 cases, add %# and %/, and add : to make them into extended asms.
1010
52b7724b
WL
1011Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
1012
1013 * alias.c (init_alias_analysis): Clean up incompatible pointer
1014 type warning in bzero.
1015 * regmove.c (regmove_optimize): Ditto.
1016 * haifa-sched.c (find_rgns): Ditto.
1017
1018 * haifa-sched.c (print_value): Clean up ptr->int cast
1019 warnings.
1020
0c82f6bf
FF
1021Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
1022
1023 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
1024 * install.texi (Configurations): Ditto.
1025 * config.sub: Ditto.
1026
1fed1f51
WL
1027Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
1028
1029 * Makefile.in (sdbout.o): Depend on insn-config.h.
1030
239e68f6
JW
1031Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
1032
1033 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
1034 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
1035
267c09ab
JM
1036Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
1037
1038 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
1039 prologue insn, only the first elt is significant.
1040 (output_call_frame_info): For exception handling, always use 4-byte
1041 fields as specified by the dwarf2 spec.
1042 Don't skip trivial FDEs.
1043
db7cafb0
JL
1044Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
1045
1046 * version.c: Bump for snapshot.
1047
1048Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
1049
1050 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
1051 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
1052 when op1_is_pow2.
1053
1054Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
1055
bf520cd9
JL
1056 * final.c (shorten_branches): During first pass, assume worst
1057 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
db7cafb0
JL
1058
1059 * Makefile.in (distclean): Remove various things left around
1060 by running the testsuite.
1061
7ed46111
MH
1062Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
1063
1064 * configure.in (out_file): Emit definition to config.status in order
1065 to have a defined value for configure.lang.
1066 * configure: Re-built.
1067
e41cea70
JJH
1068Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
1069
bf520cd9 1070 * configure.in: Make symlink to as-new rather than as.new. Similarly
e41cea70
JJH
1071 for ld-new.
1072 * configure: Rebuilt.
1073
1aeb1f6f
JW
1074Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
1075
1076 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
1077
770a0113
CK
1078Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
1079
1080 * sparc/sparc.md: Add ultrasparc scheduling support.
1081 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
1082
f5ffa999
PDM
1083Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
1084
1085 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
1086 as initial value for real_label_map.
1087 (copy_for_inline): Likewise.
1088
acceac1a
R
1089Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1090
1091 * sched.c (update_flow_info) When looking if to set found_split_dest
1092 or found_orig_dest, look at all parts of a PARALLEL.
1093 * haifa-sched.c (update_flow_info): Likewise.
1094
f84271d9
JL
1095Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
1096
1097 * v850: New directory for v850 port.
1098 * v850/lib1funcs.asm: New file.
1099 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
1100 * ginclude/va-v850.h: New file.
1101 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
1102 * configure.in (mn10200-*-*): New target.
1103 * configure: Rebuilt.
1104 * config.sub: Handle v850-elf.
1105 * Makefile.in (USER_H): Add va-mn10200.h.
1106 * invoke.texi: Document v850 stuff.
1107
89cc6098
JW
1108Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
1109
04940ba5
JW
1110 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
1111 has integer TYPE_{MAX,MIN}_VALUE before using them.
1112
89cc6098
JW
1113 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
1114 __HPUX_ASM__ versions.
1115
c74f7db8
JL
1116Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
1117
bf520cd9 1118 * install.sh: Delete duplicate install script.
c74f7db8 1119
914ec131
SC
1120Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
1121
1122 * reg-stack.c (subst_stack_regs): Pop the stack register for a
1123 computed goto which sets the same stack register.
1124
1125 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
1126 destination are both on the regstack.
1127 (subst_stack_regs_pat): Put the destination at the top of the regstack.
1128
c1090daa
JW
1129Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
1130
d5d1738a
JW
1131 * mips.md (nonlocal_goto_receiver): Define.
1132
f4da7881
JW
1133 * profile.c (output_arc_profiler): Check next_insert_after for non
1134 NULL before deferencing it.
1135
c1090daa
JW
1136 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
1137
da594c94
JL
1138Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
1139
1140 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
1141
3e28fe44
MM
1142Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
1143
1144 * toplev.c (rest_of_compilation): For passes starting with
1145 flow_analysis, use print_rtl_with_bb instead of print_rtl.
1146
1147 * print-rtl.c (print_rtl_single): Print a single rtl value to a
1148 file.
1149
1150 * flow.c (print_rtl_with_bb): Print which insns start and end
1151 basic blocks. For the start of a basic block, also print the live
1152 information.
1153
7053ca72
JW
1154Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
1155
417b0fa2
JW
1156 * toplev.c (main): Change #elif to #else/#ifdef
1157
7053ca72
JW
1158 * tlink.c: Include ctype.h.
1159 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
1160
f05a8b25
MM
1161Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
1162
1163 * bitmap.c: Conditionally include stdlib.h.
bf520cd9 1164 (free): Provide a declaration if NEED_DECLARATION_FREE.
f05a8b25 1165
02d7a569
JS
1166Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
1167
1168 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
1169
6030b6af
JW
1170Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
1171
1172 * profile.c (output_arc_profiler): Verify next_insert_after is an
1173 INSN before and after skipping a stack pop.
1174
04da53bd
R
1175Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1176
1177 * final.c (shorten_branches): Don't count the lengths of deleted
1178 instructions.
1179
780532a4
JL
1180Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
1181
1182 * version.c: Bump for snapshot.
1183
22fa5b8a
MM
1184Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
1185
1186 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
1187 two bitmaps ANDed together.
1188 (bitmap_print): Declare.
1189
1190 * bitmap.c (function_obstack): Don't declare any more.
1191 (bitmap_obstack): Obstack for allocating links from.
1192 (bitmap_obstack_init): New static to say whether to initialize
1193 bitmap_obstack.
1194 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
1195 (bitmap_release_memory): Free all memory allocated from
1196 bitmap_obstack.
1197
1198 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
1199 EXECUTE_IF_AND_IN_BITMAP.
1200
57163df0
JW
1201Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
1202
fa8b6024
JW
1203 * alias.c (true_dependence): Address with AND can alias scalars.
1204 (anti_dependence, output_dependence): Likewise.
1205
57163df0
JW
1206 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
1207
8aa4e786
JS
1208Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
1209
1210 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
1211 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
1212 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
1213 definitions. Use -qrtems instead of -mrtems.
1214
feb21122
RL
1215Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
1216
1217 * xm-sco5.h (sys_siglist): Define.
1218 (SYS_SIGLIST_DECLARED): Likewise.
1219
704af6a1
JL
1220Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
1221
1222 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
1223
127cd405
TG
1224Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
1225
1226 * except.c (eh_outer_context): Expand masking operation using
1227 expand_binop.
1228
8cf02b47
JW
1229Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
1230
1231 * alpha.md (floatdisf2-1): New pattern.
1232
49dad301
JL
1233Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
1234
068f1cb8
JL
1235 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
1236 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
f04e7122 1237 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
068f1cb8
JL
1238 * gcc.texi: Note that if you define sys_siglist that you should
1239 also define SYS_SIGLIST_DECLARED.
1240
49dad301
JL
1241 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
1242 are relative to the next instruction, not the current instruction.
1243
a1729519
JW
1244Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
1245
1246 * local-alloc.c (contains_replace_regs): New function.
1247 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
1248 verify that there is no existing REG_EQUIV note, and add a call to
1249 contains_place_regs.
1250
290c8b1f
L
1251Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
1252
1253 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
1254 (STARTFILE_SPEC): Always use crtbegin.o%s
1255 (ENDFILE_SPEC): Always use crtend.o%s.
1256
a6a503ed
JW
1257Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
1258
1259 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
1260 is passed in.
1261 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
1262 SFmode for 64 bit hosts.
1263
a94729bc
PH
1264Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
1265
1266 * fixincludes: Permits spaces between # and define. Discard C++
1267 comments in sys/pci.h on HP/UX 10.20.
1268
c9e03727
JL
1269Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
1270
1271 * version.c: Bump for snapshot.
1272
2eddfed1
JL
1273 * pa.c (restore_unscaled_index_insn_codes): New function.
1274 (record_unscaled_index_insn_codes): Likewise.
1275 (output_function_prologue): Call restore_unscaled_index_insn_codes.
1276 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
1277 (pa_reorg): Call record_unscaled_index_insn_codes.
1278
c9e03727
JL
1279 * haifa-sched.c (move_insn): Handle notes correctly for insns
1280 with SCHED_GROUP_P set.
1281
a5d6a95b
L
1282Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
1283
1284 * alpha/xm-linux.h (USE_BFD): Undef before define.
1285
bc4ddc77
JW
1286Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
1287
1288 * cse.c (cse_insn): Don't record BLKmode values.
1289
f3e0ca6c
SW
1290Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
1291
1292 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
1293
e3512ac2
JL
1294Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
1295
a63d08e6
JL
1296 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
1297 * collect2.c (sys_errlist): Likewise.
1298 * cpplib.c (sys_errlist): Likewise.
1299 * gcc.c (sys_errlist): Likewise.
1300 * protoize (sys_errlist): Likewise.
1301 * configure.in: Check for strerror.
1302 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
1303 * xm-gnu.h (HAVE_STRERROR): Likewise.
1304 * xm-linux.h (HAVE_STRERROR): Likewise.
1305 * xm-netbsd.h (HAVE_STRERROR): Likewise.
1306 * xm-bsd386.h (HAVE_STRERROR): Likewise.
1307 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
1308 * xm-dos.h (HAVE_STRERROR): Likewise.
1309 * xm-mingw32.h (HAVE_STRERROR): Likewise.
1310 * xm-pa.h (HAVE_STRERROR): Likewise.
1311 * xm-papro.h (HAVE_STRERROR): Likewise.
1312 * xm-sysv4.h (HAVE_STRERROR): Likewise.
1313 * configure, config.in: Rebuilt.
1314
db814993
JL
1315 * Makefile.in: Add several missing "else true" clauses.
1316
e3512ac2
JL
1317 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
1318 * mips-tfile.c: Likewise.
1319 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
1320 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
1321 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
1322 * configure.in: Check for sys_siglist declaration.
1323 * configure, config.in: Rebuilt.
1324
5d84b57e
JS
1325Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
1326
1327 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
1328 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
1329 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
1330 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
1331 * rs6000/sysv4.h (extra_subtarget_switches): Added new
1332 macro EXTRA_SUBTARGET_SWITCHES.
1333 * configure.in (sh*-*-rtems*): New target.
1334 * sh/rtems.h: New file.
1335 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
1336 * configure: Rebuilt.
1337
2599dcc7
JW
1338Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
1339
1340 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
1341
3b7e5ef4
DE
1342Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
1343
1344 * rs6000.md: Make DF fused-add operations pay attention to
1345 -mno-fused-add.
1346
5cd5f4a7
JW
1347Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
1348
1349 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
1350
63e7fe9b
JL
1351Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
1352
1353 * pa.md (reload_peepholes): Make sure operand is a REG before
1354 examining REGNO. Allow general registers too.
1355
eb7b11fd
JW
1356Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
1357
1358 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
1359
c760091a
PT
1360Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
1361
5cd5f4a7 1362 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
c760091a
PT
1363 to reallocate abbrev_die_table.
1364
57583338
JW
1365Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
1366
1367 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
1368
eae4b970
AS
13691997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1370
4f91a0f8
AS
1371 * Makefile.in (config.status): Depend on version.c
1372
eae4b970
AS
1373 * expr.h (insn_gen_function): Reenable prototype.
1374
1375 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
1376 first parameter.
1377
00fc09e1
JW
1378Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
1379
1380 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
1381
2601ebca
JL
1382Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
1383
1384 * version.c: Bump for latest snapshot.
1385
1386 * bc-optab.c: Conditionally include stdlib.h.
1387 (free): Provide a declaration if NEED_DECLARATION_FREE.
1388 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
1389 * rtl.h (free): Remove declaration.
1390 * tree.h (free): Remvoe declaration.
1391
1392 * configure: Rebuilt.
1393
e5eb27e5
JL
1394Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
1395
1396 * flags.h (flag_move_all_movables): Declare.
1397 (flag_reduce_all_givs): Likewise.
1398 * loop.c (move_movables): Handle flag_move_all_movables.
1399 (strength_reduce): Handle flag_reduce_all_givs.
1400 * toplev.c (flag_move_all_movables): Define.
1401 (flag_reduce_all_givs): Likewise.
1402 (f_options): Add -fmove-all-movables and -freduce-all-givs.
1403 * invoke.texi: Document new options, including alias stuff that
1404 wasn't included last time.
1405
d995a6dc
BM
1406Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
1407
1408 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
1409 * t-mn10200: Ditto.
1410 * t-vxsparc: Ditto.
1411 * t-vxworks68: Ditto.
1412 * t-vxworks960: Ditto.
1413 * t-vx29k: Ditto.
1414
ba64ca33
RH
1415Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
1416
1417 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
1418 if not already defined, and USE_C_ALLOCA not defined.
1419
ca20876d
JW
1420Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
1421
7818d6fc
JW
1422 * config.guess: Replace with script that uses ../config.guess.
1423
ca20876d
JW
1424 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
1425 if USE_GNULIBC_1 is not defined.
1426
704a6306
RH
1427Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
1428
1429 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
1430 * config.guess: Recognize alpha-linux-gnulibc1.
1431 * configure.in (alpha-*-linux-gnulibc1): New target.
1432 (alpha-*-linux-gnu*): Don't build crtbegin/end.
1433
67f68fd2
JW
1434Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
1435
1436 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
1437 last change.
1438
88016fb7
DE
1439Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
1440
1441 * loop.c (combine_movables): Earlier insns don't match later ones.
1442
bba17b29
L
1443Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
1444
1445 * config/linux.h (CC1_SPEC): Define it only if not defined.
1446
1447 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
1448 <linux.h>
1449
1450 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
1451 USE_GNULIBC_1 is not defined.
1452
33d2808b 1453 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
bba17b29
L
1454
1455 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
1456 as 1 if USE_GNULIBC_1 is not defined.
1457
ed4044e0
JL
1458Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
1459
f345de42
JL
1460 * reorg.c (dbr_schedule): Allow current_function_return_rtx
1461 to be something other than a REG.
1462 * function.c (expand_function_end): Fix current_function_return_rtx
1463 if it was a pseudo.
1464
ed4044e0
JL
1465 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
1466 * x-netbsd: Likewise
1467 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
1468 (INSTALL_HEADERS): Delete.
1469 * x-dguxbcs: Likewise.
1470 * x-hp3bsd44: Likewise
1471 * x-pa: Likewise.
1472
47d36400
BS
1473Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
1474
1475 * i386.md (pop): pop increments the stack pointer.
1476 (prologue_set_stack_ptr): New pattern.
1477 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
1478 instead of subsi3.
1479
fc79eafe
JW
1480Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
1481
1482 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
1483 address where an offsettable address is required.
1484
c5da853f
MH
1485Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
1486
1487 * loop.c (check_final_value): Don't miss a biv increment in a
1488 parallel.
1489
d4ef15f2
JW
1490Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
1491
1492 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
1493 TYPE_DECL_IS_STUB instead of DECL_NAME.
1494
10549cbd
JW
1495Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
1496
1497 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
1498
1499Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
1500
1501 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
1502
484df988
JL
1503Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
1504
1505 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
1506 (find_post_sched_live): Likewise.
1507
1508 * haifa-sched.c (schedule_block): Remove old code to get arguments
1509 from hard regs into pseudos early.
1510
39dfb55a
JL
1511Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
1512
1513 * version.c: Bump for new snapshot.
1514
1515 * local-alloc.c (update_equiv_regs): All the target to reject
1516 promotion of some REG_EQUAL to REG_EQUIV notes.
1517 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
1518
1519 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
1520 secondary reloads.
1521
1522 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
1523 store of the argument registers.
1524
1525Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
1526
1527 * fold-const.c (multiple_of_p): New function.
1528 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
1529
d78778eb
JL
1530Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
1531
1532 * expr.h (insn_gen_function): Temporarily remove prototype.
1533
feb9ea1a
JW
1534Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
1535
1536 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
1537 filenames. Use sed to extract base filename for install.
1538
b6ffe602
JC
1539Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
1540
1541 * unroll.c (find_splittable_givs): Only share if two givs have the
1542 same add and multiply values.
1543
2ebfd230
JW
1544Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
1545
1546 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
1547 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
1548
251ffdee
JL
1549Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
1550
1551 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
1552 around branch tables.
1553 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
1554 and .end_brtab directives if TARGET_GAS.
1555
19372aa1
JW
1556Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
1557
27314274
JW
1558 * alias.c (true_dependence): Pass x_addr not x to varies.
1559
19372aa1
JW
1560 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
1561 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
1562 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
1563 declarations.
1564 * config.in, configure: Regenerate.
1565
2a2c8203
JC
1566Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
1567
1568 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
1569 LO_SUM.
1570 (record_set): Handle LO_SUM like PLUS.
1571 (init_alias_analysis): When following chains of base addresses,
1572 do not stop on reaching a hard register.
1573
d80357b7
JL
1574Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
1575
1576 * version.c: Bump for new snapshot.
1577
b4f32d7b
JW
1578Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
1579
1580 * alpha.h (ARCH_ASM_FILE_START): Define.
1581 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
1582 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
1583
ca363bb6
JL
1584Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
1585
1586 * Makefile.in (install-common): Put gcov comment at start of line.
1587
7557aa98
JL
1588Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
1589
1590 * alias.c (init_alias_analysis): When simplifying the reg_base_value
1591 array, simplify entries for hard registers too.
1592
c34e3ae4
DL
1593Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
1594
1595 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
1596 list.
1597
e3eef942
JW
1598Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
1599
1600 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
1601 block_stack before dereferencing it.
1602
1603Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
246853b9
MM
1604
1605 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
1606
04f41951
JM
1607Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
1608
1609 * cplus-dem.c: Add 'extern' to prepends_underscore.
1610
e933cbe0
JL
1611Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
1612
62d65906
JL
1613 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
1614 (get_issue_rate): Delete.
1615 * pa.h (ISSUE_RATE): Define.
1616
2da05a5b
JL
1617 * configure.in: Turn on haifa by default for the PA.
1618 * configure: Rebuilt.
1619 * pa.c (override_options): Accept -mschedule=7200 option.
1620 (pa_adjust_cost): No longer need to scale costs for newer
1621 processors.
1622 * pa.h (enum processor_type): Add PROCESSOR_7200.
1623 * pa.md: Revamp scheduling parameters to work better with
1624 haifa. Add scheduling parameters for the 7200.
1625
4f64eaca
JL
1626 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
1627 insns too.
1628 (schedule_block): When adjusting basic_block_{head,end}, account
1629 for movement of SCHED_GROUP_P insns too.
1630
1631 * haifa-sched.c (debug_dependencies): Fix thinko.
1632
e933cbe0
JL
1633 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
1634 (site.exp, check, check-g++, check-gcc): New targets.
1635
4f64eaca 1636 * haifa-sched.c: Make lots of variables static.
61822835 1637
e9576d2c
L
1638Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
1639
1640 * expr.h, real.h: Finish prototyping.
1641
61822835
JL
1642Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
1643
1644 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
1645 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
1646 * reload1.c: Undo bugfix from Aug 11.
1647
f24b370a
MM
1648Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
1649
1650 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
1651 quotes around the name.
1652 * configure: Regenerate.
1653
1c4c5851
JW
1654Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
1655
1656 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
1657
71abb567
MH
1658Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
1659
1660 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
1661 to sub-makes to avoid building more passes than the user might have
1662 requested on the command line.
1663
6042434a
DL
1664Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
1665
1666 * configure.in: Expurgate `broken_install' (install is
1667 autoconfed).
1668
1669 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
1670 relevant).
1671
38ea060f
JL
1672Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
1673
1674 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
1675 functions and declarations.
1676 (analyze_loop_iterations): Use condjump_p.
1677 (insert_bct): Likewise. Use exact_log2.
1678
f187056f
JL
1679Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
1680
1681 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
1682 (schedule_region): Likewise.
1683 (schedule_insns): Likewise.
1684
1685 * PROJECTS: Update with Haifa stuff.
1686
9af06254
JL
1687Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
1688
1689 * version.c: Change the version string to look like:
11c21791 1690 egcs-2.90.00 970814 (gcc2-970802 experimental).
9af06254 1691
0945e937
JL
1692 * loop.c (is_conditional_branch): Make definition match declaration.
1693
9af06254
JL
1694 * gcc.c: Take out experimental snapshot warning message.
1695
ebc25a17
MM
1696Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
1697
1698 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
1699 print out the names of the notes. Print out the name of the insn
1700 that is not a note, and not an {,CALL_,JUMP_}INSN.
1701
610ce97e
JM
1702Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
1703
1704 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
1705 again for the slot after we give it RTL.
1706
992d1248
DE
1707Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
1708
1709 * configure.in (haifa configury): Fix typo.
1710 * configure: Regenerate.
1711
7bb6fbd1
JL
1712Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
1713
1714 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
1715
1716 * gcc.info*: Rebuilt.
1717
1718 * COPYING.g77, README.g77: New files.
1719 * real.c (ereal_unto_float, ereal_unto_double): New functions.
1720 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
1721 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
1722
8c660648
JL
1723Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
1724
1725 * Integrate Haifa instruction scheduler.
1726 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
1727 to sched with $(SCHED_CFLAGS.
1728 * configure.in: Handle --enable-haifa.
1729 * configure: Rebuilt.
1730 * flags.h: Add new flags for haifa instruction scheduler.
1731 * genattrtab.c (expand_units): For haifa, don't subtract one
1732 when computing blockage.
1733 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
1734 (flag_schedule_speculative): Ditto.
1735 (flag_schedule_speculative_load): Ditto.
1736 (flag_schedule_speculative_load_dangerous): Ditto.
1737 (flag_schedule_reverse_before_reload): Ditto.
1738 (flag_schedule_reverse_after_reload): Ditto.
1739 (flag_branch_on_count_reg): Ditto.
1740 (f_options): Add Haifa switches.
1741 (main): Turn off some Haifa options if appropriate macro is
1742 defined. Process Haifa switches.
1743 * unroll.c (iteration_info): No longer static, since Haifa
1744 scheduler uses it.
1745 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
1746 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
1747 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
1748 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
1749 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
1750 storage for the Haifa scheduler.
1751 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
1752 LABEL_NEXTREF.
1753 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
1754 are defined, call analyze_loop_iterations and insert_bct to use
1755 countdown loops.
1756 (record_giv): Refine test for jumps out of loops if HAIFA is
1757 defined.
1758 (analyze_loop_iterations): New function to identify if we can use
1759 a countdown loop.
1760 (insert_bct): Insert countdown loop.
1761 (instrument_loop_bct): Low level code to insert countdown loop.
1762 (loop_number): Calculate UID of loop.
1763 (indirect_jump_in_function_p): Return true if an indirect jump is
1764 in the function.
1765 (is_power_of_2): Return true if value is a power of 2.
1766 (is_conditional_branch): Return true if insn is a conditional
1767 jump.
1768 (fix_bct_param): Process -fbct-{min,max}-N switches.
1769 (check_bct_param): Return true if loop should be instrumented.
1770 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
1771 (loop_optimize): Initialize.
1772 (get_condition_for_loop): Ditto.
1773 * loop.c (strength_reduce): Inside of code that uses #ifdef
1774 HAVE_decrement_and_branch_on_count code, test it to make sure the
1775 condition is true.
1776 (instrument_loop_bct): Ditto.
1777 * haifa-sched.c: New file.
1778
1779
1780 * Integrate regmove pass.
1781 * Makefile.in (OBJS): Add regmove.o
1782 (regmove.o): Add dependencies.
1783 * flow.c (find_use_as_address): No longer static.
1784 * rtl.h (find_use_as_address): Declare.
1785 * toplev.c (regmove_dump, flag_regmove): Define.
1786 (f_options): Add -fregmove.
1787 (regmove_dump_file, regmove_time): Define.
1788 (fatal_insn): Close the regmove dump file.
1789 (compile_file): Initialize regmove_time; open/close the regmove dump
1790 file as needed. Print regmove time as needed.
1791 (rest_of_compilation): Run regmove pass if requested, dump
1792 RTL after regmove if requested.
1793 (main): If -O2 or more, turn on regmove. Handle dump switches.
1794 * regmove.c: New file.
1795
aa32d841
JL
1796Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
1797
1798 * Integrate tlink patch from jason@cygnus.com
1799 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
1800 (process_command): Increment n_switches for them. Don't discard
1801 their args. Validate them.
1802 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
1803 From Rohan Lenard.
1804 (process_command): Set include_prefixes from COMPILER_PATH.
1805 (main): Set COLLECT_GCC_OPTIONS sooner.
1806 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
1807 * tlink.c, hash.c, hash.h: New files.
1808 * Makefile.in (USE_COLLECT2): Always use collect2.
1809 (collect2): Depend on and link in hash.o and tlink.o.
1810 (tlink.o, hash.o): Add dependencies.
1811
5fa39bfe
JL
1812Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
1813
9ae8ffe7
JL
1814 * Integrate alias analysis changes from jfc@mit.edu
1815 * Makefile.in (OBJS): Add alias.o
1816 (alias.o): Add dependencies.
1817 * alias.c: New file.
1818 * sched.c: Remove alias analysis code. It lives in alias.c now.
9ae8ffe7 1819 (sched_analyze_2): Add new arguments to true_dependence.
9ae8ffe7
JL
1820 (schedule_insns): Always call init_alias_analysis.
1821 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
1822 mark return value from such functions as a pointer and keep track of
1823 them for alias analysis. If a return value from a function is a
1824 pointer, mark it as such.
1825 * combine.c (distribute_notes): Handle REG_NOALIAS.
1826 * cse.c (struct write_data): Delete. No longer needed.
1827 (invalidate): Don't call set_nonvarying_address_components anymore.
1828 Use true_dependence to decide if an entry should be removed from
1829 the hash table.
1830 (invalidate_memory): Remove WRITES argument, simplify appropriately.
1831 Fix all callers.
1832 (note_mem_written): Similarly for WRITE_PTR argument.
1833 (invalidate_from_clobbers): Similarly for W argument.
1834 (invalidate_for_call): Remove memory elements from the hash table.
1835 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
1836 (cse_rtx_varies_p): New function. Derived from old
1837 cse_rtx_addr_varies_p.
1838 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
1839 Don't call note_mem_written anymore. Stack pushes invalidate the stack
1840 pointer if PUSH_ROUNDING is defined. No longer need to call
1841 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
1842 (skipped_writes_memory): Remove variable.
1843 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
1844 (invalidate_skipped_block): Simplify for new alias analysis code.
1845 (cse_set_around_loop): Likewise.
1846 (cse_main): Call init_alias_analysis.
1847 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
1848 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
1849 (f_options): Add new alias checking arguments.
1850 (main): Set flag_alias_check when optimizing.
1851 * local_alloc (validate_equiv_mem_from_store): Add new arguments
1852 to true_dependence.
1853 (memref_referenced_p): Likewise.
1854 * loop.c (NUM_STORES): Increase to 30.
1855 (prescan_loop): Only non-constant calls set unknown_address_altered.
1856 (invariant_p): Add new arguments to true_dependence.
1857 (record_giv): Initialize unrolled and shared fields.
1858 (emit_iv_add_mult): Call record_base_value as needed.
1859 * loop.h (struct induction): Add unrolled and shared fields.
1860 * unroll.c (unroll_loop): Call record_base_value as needed.
1861 (copy_loop_body): Likewise.
1862 (final_biv_value): Likewise.
1863 (final_giv_value): Likewise.
1864 (find_splittable_regs): Likewise. Only create one new pseudo
1865 if we have multiple address GIVs that were combined with the same
1866 dst_reg GIV. Note when a new register is created due to unrolling.
1867 * rtl.c (reg_note_name): Add REG_NOALIAS.
1868 * rtl.h (enum reg_note): Similarly.
1869 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
1870 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
1871 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
1872 (true_dependence, read_dependence, anti_dependence): Likewise.
1873 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
1874 (mark_user_reg, mark_reg_pointer): Likewise.
1875
1876
1877 * Integrate reload bugfix from Wilon which enables the PA port
5fa39bfe
JL
1878 to bootstrap again.
1879 * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
1880 OPERAND_ADDRESS when computing how many registers an insn needs.
1881 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
1882 conflict.
1883 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
1884 OPADDR_ADDR reload.
1885 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
1886 in reload_reg_use_in_op_addr do not reach the end.
1887 do not reach the end.
1888 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
1889 RELOAD_FOR_OPERAND_ADDRESS.
1890
1891Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
1892
2dcfcb56 1893 * egcs project officially starts.
861bb6c1 1894
This page took 0.274111 seconds and 5 git commands to generate.