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