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