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