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