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