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