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