integrate.c (save_for_inline_copying): Use 0, not NULL_PTR, as initial value for...
[gcc.git] / gcc / ChangeLog
1 Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
2
3 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
4 as initial value for real_label_map.
5 (copy_for_inline): Likewise.
6
7 Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8
9 * sched.c (update_flow_info) When looking if to set found_split_dest
10 or found_orig_dest, look at all parts of a PARALLEL.
11 * haifa-sched.c (update_flow_info): Likewise.
12
13 Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
14
15 * v850: New directory for v850 port.
16 * v850/lib1funcs.asm: New file.
17 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
18 * ginclude/va-v850.h: New file.
19 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
20 * configure.in (mn10200-*-*): New target.
21 * configure: Rebuilt.
22 * config.sub: Handle v850-elf.
23 * Makefile.in (USER_H): Add va-mn10200.h.
24 * invoke.texi: Document v850 stuff.
25
26 Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
27
28 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
29 __HPUX_ASM__ versions.
30
31 Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
32
33 * install.sh: Delete duplicate install script.
34
35 Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
36
37 * reg-stack.c (subst_stack_regs): Pop the stack register for a
38 computed goto which sets the same stack register.
39
40 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
41 destination are both on the regstack.
42 (subst_stack_regs_pat): Put the destination at the top of the regstack.
43
44 Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
45
46 * mips.md (nonlocal_goto_receiver): Define.
47
48 * profile.c (output_arc_profiler): Check next_insert_after for non
49 NULL before deferencing it.
50
51 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
52
53 Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
54
55 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
56
57 Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
58
59 * toplev.c (rest_of_compilation): For passes starting with
60 flow_analysis, use print_rtl_with_bb instead of print_rtl.
61
62 * print-rtl.c (print_rtl_single): Print a single rtl value to a
63 file.
64
65 * flow.c (print_rtl_with_bb): Print which insns start and end
66 basic blocks. For the start of a basic block, also print the live
67 information.
68
69 Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
70
71 * toplev.c (main): Change #elif to #else/#ifdef
72
73 * tlink.c: Include ctype.h.
74 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
75
76 Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
77
78 * bitmap.c: Conditionally include stdlib.h.
79 (free): Provide a declaration if NEED_DECLARATION_FREE.
80
81 Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
82
83 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
84
85 Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
86
87 * profile.c (output_arc_profiler): Verify next_insert_after is an
88 INSN before and after skipping a stack pop.
89
90 Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
91
92 * final.c (shorten_branches): Don't count the lengths of deleted
93 instructions.
94
95 Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
96
97 * version.c: Bump for snapshot.
98
99 Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
100
101 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
102 two bitmaps ANDed together.
103 (bitmap_print): Declare.
104
105 * bitmap.c (function_obstack): Don't declare any more.
106 (bitmap_obstack): Obstack for allocating links from.
107 (bitmap_obstack_init): New static to say whether to initialize
108 bitmap_obstack.
109 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
110 (bitmap_release_memory): Free all memory allocated from
111 bitmap_obstack.
112
113 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
114 EXECUTE_IF_AND_IN_BITMAP.
115
116 Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
117
118 * alias.c (true_dependence): Address with AND can alias scalars.
119 (anti_dependence, output_dependence): Likewise.
120
121 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
122
123 Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
124
125 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
126 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
127 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
128 definitions. Use -qrtems instead of -mrtems.
129
130 Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
131
132 * xm-sco5.h (sys_siglist): Define.
133 (SYS_SIGLIST_DECLARED): Likewise.
134
135 Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
136
137 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
138
139 Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
140
141 * except.c (eh_outer_context): Expand masking operation using
142 expand_binop.
143
144 Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
145
146 * alpha.md (floatdisf2-1): New pattern.
147
148 Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
149
150 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
151 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
152 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
153 * gcc.texi: Note that if you define sys_siglist that you should
154 also define SYS_SIGLIST_DECLARED.
155
156 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
157 are relative to the next instruction, not the current instruction.
158
159 Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
160
161 * local-alloc.c (contains_replace_regs): New function.
162 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
163 verify that there is no existing REG_EQUIV note, and add a call to
164 contains_place_regs.
165
166 Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
167
168 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
169 (STARTFILE_SPEC): Always use crtbegin.o%s
170 (ENDFILE_SPEC): Always use crtend.o%s.
171
172 Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
173
174 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
175 is passed in.
176 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
177 SFmode for 64 bit hosts.
178
179 Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
180
181 * fixincludes: Permits spaces between # and define. Discard C++
182 comments in sys/pci.h on HP/UX 10.20.
183
184 Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
185
186 * version.c: Bump for snapshot.
187
188 * pa.c (restore_unscaled_index_insn_codes): New function.
189 (record_unscaled_index_insn_codes): Likewise.
190 (output_function_prologue): Call restore_unscaled_index_insn_codes.
191 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
192 (pa_reorg): Call record_unscaled_index_insn_codes.
193
194 * haifa-sched.c (move_insn): Handle notes correctly for insns
195 with SCHED_GROUP_P set.
196
197 Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
198
199 * alpha/xm-linux.h (USE_BFD): Undef before define.
200
201 Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
202
203 * cse.c (cse_insn): Don't record BLKmode values.
204
205 Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
206
207 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
208
209 Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
210
211 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
212 * collect2.c (sys_errlist): Likewise.
213 * cpplib.c (sys_errlist): Likewise.
214 * gcc.c (sys_errlist): Likewise.
215 * protoize (sys_errlist): Likewise.
216 * configure.in: Check for strerror.
217 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
218 * xm-gnu.h (HAVE_STRERROR): Likewise.
219 * xm-linux.h (HAVE_STRERROR): Likewise.
220 * xm-netbsd.h (HAVE_STRERROR): Likewise.
221 * xm-bsd386.h (HAVE_STRERROR): Likewise.
222 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
223 * xm-dos.h (HAVE_STRERROR): Likewise.
224 * xm-mingw32.h (HAVE_STRERROR): Likewise.
225 * xm-pa.h (HAVE_STRERROR): Likewise.
226 * xm-papro.h (HAVE_STRERROR): Likewise.
227 * xm-sysv4.h (HAVE_STRERROR): Likewise.
228 * configure, config.in: Rebuilt.
229
230 * Makefile.in: Add several missing "else true" clauses.
231
232 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
233 * mips-tfile.c: Likewise.
234 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
235 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
236 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
237 * configure.in: Check for sys_siglist declaration.
238 * configure, config.in: Rebuilt.
239
240 Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
241
242 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
243 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
244 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
245 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
246 * rs6000/sysv4.h (extra_subtarget_switches): Added new
247 macro EXTRA_SUBTARGET_SWITCHES.
248 * configure.in (sh*-*-rtems*): New target.
249 * sh/rtems.h: New file.
250 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
251 * configure: Rebuilt.
252
253 Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
254
255 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
256
257 Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
258
259 * rs6000.md: Make DF fused-add operations pay attention to
260 -mno-fused-add.
261
262 Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
263
264 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
265
266 Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
267
268 * pa.md (reload_peepholes): Make sure operand is a REG before
269 examining REGNO. Allow general registers too.
270
271 Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
272
273 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
274
275 Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
276
277 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
278 to reallocate abbrev_die_table.
279
280 Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
281
282 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
283
284 1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
285
286 * Makefile.in (config.status): Depend on version.c
287
288 * expr.h (insn_gen_function): Reenable prototype.
289
290 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
291 first parameter.
292
293 Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
294
295 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
296
297 Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
298
299 * version.c: Bump for latest snapshot.
300
301 * bc-optab.c: Conditionally include stdlib.h.
302 (free): Provide a declaration if NEED_DECLARATION_FREE.
303 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
304 * rtl.h (free): Remove declaration.
305 * tree.h (free): Remvoe declaration.
306
307 * configure: Rebuilt.
308
309 Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
310
311 * flags.h (flag_move_all_movables): Declare.
312 (flag_reduce_all_givs): Likewise.
313 * loop.c (move_movables): Handle flag_move_all_movables.
314 (strength_reduce): Handle flag_reduce_all_givs.
315 * toplev.c (flag_move_all_movables): Define.
316 (flag_reduce_all_givs): Likewise.
317 (f_options): Add -fmove-all-movables and -freduce-all-givs.
318 * invoke.texi: Document new options, including alias stuff that
319 wasn't included last time.
320
321 Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
322
323 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
324 * t-mn10200: Ditto.
325 * t-vxsparc: Ditto.
326 * t-vxworks68: Ditto.
327 * t-vxworks960: Ditto.
328 * t-vx29k: Ditto.
329
330 Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
331
332 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
333 if not already defined, and USE_C_ALLOCA not defined.
334
335 Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
336
337 * config.guess: Replace with script that uses ../config.guess.
338
339 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
340 if USE_GNULIBC_1 is not defined.
341
342 Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
343
344 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
345 * config.guess: Recognize alpha-linux-gnulibc1.
346 * configure.in (alpha-*-linux-gnulibc1): New target.
347 (alpha-*-linux-gnu*): Don't build crtbegin/end.
348
349 Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
350
351 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
352 last change.
353
354 Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
355
356 * loop.c (combine_movables): Earlier insns don't match later ones.
357
358 Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
359
360 * config/linux.h (CC1_SPEC): Define it only if not defined.
361
362 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
363 <linux.h>
364
365 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
366 USE_GNULIBC_1 is not defined.
367
368 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
369
370 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
371 as 1 if USE_GNULIBC_1 is not defined.
372
373 Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
374
375 * reorg.c (dbr_schedule): Allow current_function_return_rtx
376 to be something other than a REG.
377 * function.c (expand_function_end): Fix current_function_return_rtx
378 if it was a pseudo.
379
380 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
381 * x-netbsd: Likewise
382 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
383 (INSTALL_HEADERS): Delete.
384 * x-dguxbcs: Likewise.
385 * x-hp3bsd44: Likewise
386 * x-pa: Likewise.
387
388 Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
389
390 * i386.md (pop): pop increments the stack pointer.
391 (prologue_set_stack_ptr): New pattern.
392 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
393 instead of subsi3.
394
395 Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
396
397 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
398 address where an offsettable address is required.
399
400 Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
401
402 * loop.c (check_final_value): Don't miss a biv increment in a
403 parallel.
404
405 Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
406
407 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
408 TYPE_DECL_IS_STUB instead of DECL_NAME.
409
410 Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
411
412 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
413
414 Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
415
416 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
417
418 Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
419
420 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
421 (find_post_sched_live): Likewise.
422
423 * haifa-sched.c (schedule_block): Remove old code to get arguments
424 from hard regs into pseudos early.
425
426 Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
427
428 * version.c: Bump for new snapshot.
429
430 * local-alloc.c (update_equiv_regs): All the target to reject
431 promotion of some REG_EQUAL to REG_EQUIV notes.
432 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
433
434 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
435 secondary reloads.
436
437 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
438 store of the argument registers.
439
440 Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
441
442 * fold-const.c (multiple_of_p): New function.
443 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
444
445 Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
446
447 * expr.h (insn_gen_function): Temporarily remove prototype.
448
449 Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
450
451 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
452 filenames. Use sed to extract base filename for install.
453
454 Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
455
456 * unroll.c (find_splittable_givs): Only share if two givs have the
457 same add and multiply values.
458
459 Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
460
461 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
462 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
463
464 Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
465
466 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
467 around branch tables.
468 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
469 and .end_brtab directives if TARGET_GAS.
470
471 Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
472
473 * alias.c (true_dependence): Pass x_addr not x to varies.
474
475 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
476 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
477 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
478 declarations.
479 * config.in, configure: Regenerate.
480
481 Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
482
483 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
484 LO_SUM.
485 (record_set): Handle LO_SUM like PLUS.
486 (init_alias_analysis): When following chains of base addresses,
487 do not stop on reaching a hard register.
488
489 Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
490
491 * version.c: Bump for new snapshot.
492
493 Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
494
495 * alpha.h (ARCH_ASM_FILE_START): Define.
496 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
497 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
498
499 Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
500
501 * Makefile.in (install-common): Put gcov comment at start of line.
502
503 Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
504
505 * alias.c (init_alias_analysis): When simplifying the reg_base_value
506 array, simplify entries for hard registers too.
507
508 Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
509
510 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
511 list.
512
513 Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
514
515 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
516 block_stack before dereferencing it.
517
518 Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
519
520 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
521
522 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
523
524 * cplus-dem.c: Add 'extern' to prepends_underscore.
525
526 Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
527
528 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
529 (get_issue_rate): Delete.
530 * pa.h (ISSUE_RATE): Define.
531
532 * configure.in: Turn on haifa by default for the PA.
533 * configure: Rebuilt.
534 * pa.c (override_options): Accept -mschedule=7200 option.
535 (pa_adjust_cost): No longer need to scale costs for newer
536 processors.
537 * pa.h (enum processor_type): Add PROCESSOR_7200.
538 * pa.md: Revamp scheduling parameters to work better with
539 haifa. Add scheduling parameters for the 7200.
540
541 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
542 insns too.
543 (schedule_block): When adjusting basic_block_{head,end}, account
544 for movement of SCHED_GROUP_P insns too.
545
546 * haifa-sched.c (debug_dependencies): Fix thinko.
547
548 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
549 (site.exp, check, check-g++, check-gcc): New targets.
550
551 * haifa-sched.c: Make lots of variables static.
552
553 Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
554
555 * expr.h, real.h: Finish prototyping.
556
557 Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
558
559 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
560 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
561 * reload1.c: Undo bugfix from Aug 11.
562
563 Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
564
565 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
566 quotes around the name.
567 * configure: Regenerate.
568
569 Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
570
571 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
572
573 Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
574
575 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
576 to sub-makes to avoid building more passes than the user might have
577 requested on the command line.
578
579 Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
580
581 * configure.in: Expurgate `broken_install' (install is
582 autoconfed).
583
584 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
585 relevant).
586
587 Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
588
589 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
590 functions and declarations.
591 (analyze_loop_iterations): Use condjump_p.
592 (insert_bct): Likewise. Use exact_log2.
593
594 Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
595
596 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
597 (schedule_region): Likewise.
598 (schedule_insns): Likewise.
599
600 * PROJECTS: Update with Haifa stuff.
601
602 Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
603
604 * version.c: Change the version string to look like:
605 egcs-2.90.00 970814 (gcc2-970802 experimental).
606
607 * loop.c (is_conditional_branch): Make definition match declaration.
608
609 * gcc.c: Take out experimental snapshot warning message.
610
611 Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
612
613 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
614 print out the names of the notes. Print out the name of the insn
615 that is not a note, and not an {,CALL_,JUMP_}INSN.
616
617 Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
618
619 * configure.in (haifa configury): Fix typo.
620 * configure: Regenerate.
621
622 Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
623
624 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
625
626 * gcc.info*: Rebuilt.
627
628 * COPYING.g77, README.g77: New files.
629 * real.c (ereal_unto_float, ereal_unto_double): New functions.
630 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
631 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
632
633 Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
634
635 * Integrate Haifa instruction scheduler.
636 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
637 to sched with $(SCHED_CFLAGS.
638 * configure.in: Handle --enable-haifa.
639 * configure: Rebuilt.
640 * flags.h: Add new flags for haifa instruction scheduler.
641 * genattrtab.c (expand_units): For haifa, don't subtract one
642 when computing blockage.
643 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
644 (flag_schedule_speculative): Ditto.
645 (flag_schedule_speculative_load): Ditto.
646 (flag_schedule_speculative_load_dangerous): Ditto.
647 (flag_schedule_reverse_before_reload): Ditto.
648 (flag_schedule_reverse_after_reload): Ditto.
649 (flag_branch_on_count_reg): Ditto.
650 (f_options): Add Haifa switches.
651 (main): Turn off some Haifa options if appropriate macro is
652 defined. Process Haifa switches.
653 * unroll.c (iteration_info): No longer static, since Haifa
654 scheduler uses it.
655 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
656 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
657 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
658 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
659 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
660 storage for the Haifa scheduler.
661 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
662 LABEL_NEXTREF.
663 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
664 are defined, call analyze_loop_iterations and insert_bct to use
665 countdown loops.
666 (record_giv): Refine test for jumps out of loops if HAIFA is
667 defined.
668 (analyze_loop_iterations): New function to identify if we can use
669 a countdown loop.
670 (insert_bct): Insert countdown loop.
671 (instrument_loop_bct): Low level code to insert countdown loop.
672 (loop_number): Calculate UID of loop.
673 (indirect_jump_in_function_p): Return true if an indirect jump is
674 in the function.
675 (is_power_of_2): Return true if value is a power of 2.
676 (is_conditional_branch): Return true if insn is a conditional
677 jump.
678 (fix_bct_param): Process -fbct-{min,max}-N switches.
679 (check_bct_param): Return true if loop should be instrumented.
680 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
681 (loop_optimize): Initialize.
682 (get_condition_for_loop): Ditto.
683 * loop.c (strength_reduce): Inside of code that uses #ifdef
684 HAVE_decrement_and_branch_on_count code, test it to make sure the
685 condition is true.
686 (instrument_loop_bct): Ditto.
687 * haifa-sched.c: New file.
688
689
690 * Integrate regmove pass.
691 * Makefile.in (OBJS): Add regmove.o
692 (regmove.o): Add dependencies.
693 * flow.c (find_use_as_address): No longer static.
694 * rtl.h (find_use_as_address): Declare.
695 * toplev.c (regmove_dump, flag_regmove): Define.
696 (f_options): Add -fregmove.
697 (regmove_dump_file, regmove_time): Define.
698 (fatal_insn): Close the regmove dump file.
699 (compile_file): Initialize regmove_time; open/close the regmove dump
700 file as needed. Print regmove time as needed.
701 (rest_of_compilation): Run regmove pass if requested, dump
702 RTL after regmove if requested.
703 (main): If -O2 or more, turn on regmove. Handle dump switches.
704 * regmove.c: New file.
705
706 Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
707
708 * Integrate tlink patch from jason@cygnus.com
709 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
710 (process_command): Increment n_switches for them. Don't discard
711 their args. Validate them.
712 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
713 From Rohan Lenard.
714 (process_command): Set include_prefixes from COMPILER_PATH.
715 (main): Set COLLECT_GCC_OPTIONS sooner.
716 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
717 * tlink.c, hash.c, hash.h: New files.
718 * Makefile.in (USE_COLLECT2): Always use collect2.
719 (collect2): Depend on and link in hash.o and tlink.o.
720 (tlink.o, hash.o): Add dependencies.
721
722 Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
723
724 * Integrate alias analysis changes from jfc@mit.edu
725 * Makefile.in (OBJS): Add alias.o
726 (alias.o): Add dependencies.
727 * alias.c: New file.
728 * sched.c: Remove alias analysis code. It lives in alias.c now.
729 (sched_analyze_2): Add new arguments to true_dependence.
730 (schedule_insns): Always call init_alias_analysis.
731 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
732 mark return value from such functions as a pointer and keep track of
733 them for alias analysis. If a return value from a function is a
734 pointer, mark it as such.
735 * combine.c (distribute_notes): Handle REG_NOALIAS.
736 * cse.c (struct write_data): Delete. No longer needed.
737 (invalidate): Don't call set_nonvarying_address_components anymore.
738 Use true_dependence to decide if an entry should be removed from
739 the hash table.
740 (invalidate_memory): Remove WRITES argument, simplify appropriately.
741 Fix all callers.
742 (note_mem_written): Similarly for WRITE_PTR argument.
743 (invalidate_from_clobbers): Similarly for W argument.
744 (invalidate_for_call): Remove memory elements from the hash table.
745 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
746 (cse_rtx_varies_p): New function. Derived from old
747 cse_rtx_addr_varies_p.
748 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
749 Don't call note_mem_written anymore. Stack pushes invalidate the stack
750 pointer if PUSH_ROUNDING is defined. No longer need to call
751 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
752 (skipped_writes_memory): Remove variable.
753 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
754 (invalidate_skipped_block): Simplify for new alias analysis code.
755 (cse_set_around_loop): Likewise.
756 (cse_main): Call init_alias_analysis.
757 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
758 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
759 (f_options): Add new alias checking arguments.
760 (main): Set flag_alias_check when optimizing.
761 * local_alloc (validate_equiv_mem_from_store): Add new arguments
762 to true_dependence.
763 (memref_referenced_p): Likewise.
764 * loop.c (NUM_STORES): Increase to 30.
765 (prescan_loop): Only non-constant calls set unknown_address_altered.
766 (invariant_p): Add new arguments to true_dependence.
767 (record_giv): Initialize unrolled and shared fields.
768 (emit_iv_add_mult): Call record_base_value as needed.
769 * loop.h (struct induction): Add unrolled and shared fields.
770 * unroll.c (unroll_loop): Call record_base_value as needed.
771 (copy_loop_body): Likewise.
772 (final_biv_value): Likewise.
773 (final_giv_value): Likewise.
774 (find_splittable_regs): Likewise. Only create one new pseudo
775 if we have multiple address GIVs that were combined with the same
776 dst_reg GIV. Note when a new register is created due to unrolling.
777 * rtl.c (reg_note_name): Add REG_NOALIAS.
778 * rtl.h (enum reg_note): Similarly.
779 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
780 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
781 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
782 (true_dependence, read_dependence, anti_dependence): Likewise.
783 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
784 (mark_user_reg, mark_reg_pointer): Likewise.
785
786
787 * Integrate reload bugfix from Wilon which enables the PA port
788 to bootstrap again.
789 * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
790 OPERAND_ADDRESS when computing how many registers an insn needs.
791 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
792 conflict.
793 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
794 OPADDR_ADDR reload.
795 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
796 in reload_reg_use_in_op_addr do not reach the end.
797 do not reach the end.
798 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
799 RELOAD_FOR_OPERAND_ADDRESS.
800
801 Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
802
803 * egcs project officially starts.
804