]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
call.c (build_new_op): Strip leading REF_BIND from first operand to builtin operator.
[gcc.git] / gcc / ChangeLog
CommitLineData
f3e0ca6c
SW
1Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
2
3 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
4
e3512ac2
JL
5Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
6
a63d08e6
JL
7 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
8 * collect2.c (sys_errlist): Likewise.
9 * cpplib.c (sys_errlist): Likewise.
10 * gcc.c (sys_errlist): Likewise.
11 * protoize (sys_errlist): Likewise.
12 * configure.in: Check for strerror.
13 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
14 * xm-gnu.h (HAVE_STRERROR): Likewise.
15 * xm-linux.h (HAVE_STRERROR): Likewise.
16 * xm-netbsd.h (HAVE_STRERROR): Likewise.
17 * xm-bsd386.h (HAVE_STRERROR): Likewise.
18 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
19 * xm-dos.h (HAVE_STRERROR): Likewise.
20 * xm-mingw32.h (HAVE_STRERROR): Likewise.
21 * xm-pa.h (HAVE_STRERROR): Likewise.
22 * xm-papro.h (HAVE_STRERROR): Likewise.
23 * xm-sysv4.h (HAVE_STRERROR): Likewise.
24 * configure, config.in: Rebuilt.
25
db814993
JL
26 * Makefile.in: Add several missing "else true" clauses.
27
e3512ac2
JL
28 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
29 * mips-tfile.c: Likewise.
30 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
31 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
32 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
33 * configure.in: Check for sys_siglist declaration.
34 * configure, config.in: Rebuilt.
35
5d84b57e
JS
36Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
37
38 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
39 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
40 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
41 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
42 * rs6000/sysv4.h (extra_subtarget_switches): Added new
43 macro EXTRA_SUBTARGET_SWITCHES.
44 * configure.in (sh*-*-rtems*): New target.
45 * sh/rtems.h: New file.
46 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
47 * configure: Rebuilt.
48
2599dcc7
JW
49Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
50
51 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
52
3b7e5ef4
DE
53Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
54
55 * rs6000.md: Make DF fused-add operations pay attention to
56 -mno-fused-add.
57
5cd5f4a7
JW
58Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
59
60 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
61
63e7fe9b
JL
62Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
63
64 * pa.md (reload_peepholes): Make sure operand is a REG before
65 examining REGNO. Allow general registers too.
66
eb7b11fd
JW
67Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
68
69 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
70
c760091a
PT
71Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
72
5cd5f4a7 73 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
c760091a
PT
74 to reallocate abbrev_die_table.
75
57583338
JW
76Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
77
78 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
79
eae4b970
AS
801997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
81
4f91a0f8
AS
82 * Makefile.in (config.status): Depend on version.c
83
eae4b970
AS
84 * expr.h (insn_gen_function): Reenable prototype.
85
86 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
87 first parameter.
88
00fc09e1
JW
89Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
90
91 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
92
2601ebca
JL
93Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
94
95 * version.c: Bump for latest snapshot.
96
97 * bc-optab.c: Conditionally include stdlib.h.
98 (free): Provide a declaration if NEED_DECLARATION_FREE.
99 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
100 * rtl.h (free): Remove declaration.
101 * tree.h (free): Remvoe declaration.
102
103 * configure: Rebuilt.
104
e5eb27e5
JL
105Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
106
107 * flags.h (flag_move_all_movables): Declare.
108 (flag_reduce_all_givs): Likewise.
109 * loop.c (move_movables): Handle flag_move_all_movables.
110 (strength_reduce): Handle flag_reduce_all_givs.
111 * toplev.c (flag_move_all_movables): Define.
112 (flag_reduce_all_givs): Likewise.
113 (f_options): Add -fmove-all-movables and -freduce-all-givs.
114 * invoke.texi: Document new options, including alias stuff that
115 wasn't included last time.
116
d995a6dc
BM
117Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
118
119 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
120 * t-mn10200: Ditto.
121 * t-vxsparc: Ditto.
122 * t-vxworks68: Ditto.
123 * t-vxworks960: Ditto.
124 * t-vx29k: Ditto.
125
ba64ca33
RH
126Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
127
128 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
129 if not already defined, and USE_C_ALLOCA not defined.
130
ca20876d
JW
131Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
132
7818d6fc
JW
133 * config.guess: Replace with script that uses ../config.guess.
134
ca20876d
JW
135 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
136 if USE_GNULIBC_1 is not defined.
137
704a6306
RH
138Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
139
140 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
141 * config.guess: Recognize alpha-linux-gnulibc1.
142 * configure.in (alpha-*-linux-gnulibc1): New target.
143 (alpha-*-linux-gnu*): Don't build crtbegin/end.
144
67f68fd2
JW
145Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
146
147 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
148 last change.
149
88016fb7
DE
150Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
151
152 * loop.c (combine_movables): Earlier insns don't match later ones.
153
bba17b29
L
154Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
155
156 * config/linux.h (CC1_SPEC): Define it only if not defined.
157
158 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
159 <linux.h>
160
161 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
162 USE_GNULIBC_1 is not defined.
163
33d2808b 164 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
bba17b29
L
165
166 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
167 as 1 if USE_GNULIBC_1 is not defined.
168
ed4044e0
JL
169Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
170
f345de42
JL
171 * reorg.c (dbr_schedule): Allow current_function_return_rtx
172 to be something other than a REG.
173 * function.c (expand_function_end): Fix current_function_return_rtx
174 if it was a pseudo.
175
ed4044e0
JL
176 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
177 * x-netbsd: Likewise
178 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
179 (INSTALL_HEADERS): Delete.
180 * x-dguxbcs: Likewise.
181 * x-hp3bsd44: Likewise
182 * x-pa: Likewise.
183
47d36400
BS
184Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
185
186 * i386.md (pop): pop increments the stack pointer.
187 (prologue_set_stack_ptr): New pattern.
188 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
189 instead of subsi3.
190
fc79eafe
JW
191Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
192
193 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
194 address where an offsettable address is required.
195
c5da853f
MH
196Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
197
198 * loop.c (check_final_value): Don't miss a biv increment in a
199 parallel.
200
d4ef15f2
JW
201Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
202
203 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
204 TYPE_DECL_IS_STUB instead of DECL_NAME.
205
10549cbd
JW
206Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
207
208 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
209
210Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
211
212 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
213
484df988
JL
214Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
215
216 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
217 (find_post_sched_live): Likewise.
218
219 * haifa-sched.c (schedule_block): Remove old code to get arguments
220 from hard regs into pseudos early.
221
39dfb55a
JL
222Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
223
224 * version.c: Bump for new snapshot.
225
226 * local-alloc.c (update_equiv_regs): All the target to reject
227 promotion of some REG_EQUAL to REG_EQUIV notes.
228 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
229
230 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
231 secondary reloads.
232
233 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
234 store of the argument registers.
235
236Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
237
238 * fold-const.c (multiple_of_p): New function.
239 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
240
d78778eb
JL
241Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
242
243 * expr.h (insn_gen_function): Temporarily remove prototype.
244
feb9ea1a
JW
245Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
246
247 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
248 filenames. Use sed to extract base filename for install.
249
b6ffe602
JC
250Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
251
252 * unroll.c (find_splittable_givs): Only share if two givs have the
253 same add and multiply values.
254
2ebfd230
JW
255Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
256
257 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
258 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
259
251ffdee
JL
260Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
261
262 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
263 around branch tables.
264 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
265 and .end_brtab directives if TARGET_GAS.
266
19372aa1
JW
267Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
268
27314274
JW
269 * alias.c (true_dependence): Pass x_addr not x to varies.
270
19372aa1
JW
271 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
272 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
273 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
274 declarations.
275 * config.in, configure: Regenerate.
276
2a2c8203
JC
277Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
278
279 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
280 LO_SUM.
281 (record_set): Handle LO_SUM like PLUS.
282 (init_alias_analysis): When following chains of base addresses,
283 do not stop on reaching a hard register.
284
d80357b7
JL
285Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
286
287 * version.c: Bump for new snapshot.
288
b4f32d7b
JW
289Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
290
291 * alpha.h (ARCH_ASM_FILE_START): Define.
292 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
293 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
294
ca363bb6
JL
295Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
296
297 * Makefile.in (install-common): Put gcov comment at start of line.
298
7557aa98
JL
299Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
300
301 * alias.c (init_alias_analysis): When simplifying the reg_base_value
302 array, simplify entries for hard registers too.
303
c34e3ae4
DL
304Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
305
306 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
307 list.
308
e3eef942
JW
309Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
310
311 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
312 block_stack before dereferencing it.
313
314Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
246853b9
MM
315
316 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
317
04f41951
JM
318Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
319
320 * cplus-dem.c: Add 'extern' to prepends_underscore.
321
e933cbe0
JL
322Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
323
62d65906
JL
324 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
325 (get_issue_rate): Delete.
326 * pa.h (ISSUE_RATE): Define.
327
2da05a5b
JL
328 * configure.in: Turn on haifa by default for the PA.
329 * configure: Rebuilt.
330 * pa.c (override_options): Accept -mschedule=7200 option.
331 (pa_adjust_cost): No longer need to scale costs for newer
332 processors.
333 * pa.h (enum processor_type): Add PROCESSOR_7200.
334 * pa.md: Revamp scheduling parameters to work better with
335 haifa. Add scheduling parameters for the 7200.
336
4f64eaca
JL
337 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
338 insns too.
339 (schedule_block): When adjusting basic_block_{head,end}, account
340 for movement of SCHED_GROUP_P insns too.
341
342 * haifa-sched.c (debug_dependencies): Fix thinko.
343
e933cbe0
JL
344 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
345 (site.exp, check, check-g++, check-gcc): New targets.
346
4f64eaca 347 * haifa-sched.c: Make lots of variables static.
61822835 348
e9576d2c
L
349Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
350
351 * expr.h, real.h: Finish prototyping.
352
61822835
JL
353Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
354
355 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
356 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
357 * reload1.c: Undo bugfix from Aug 11.
358
f24b370a
MM
359Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
360
361 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
362 quotes around the name.
363 * configure: Regenerate.
364
1c4c5851
JW
365Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
366
367 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
368
71abb567
MH
369Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
370
371 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
372 to sub-makes to avoid building more passes than the user might have
373 requested on the command line.
374
6042434a
DL
375Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
376
377 * configure.in: Expurgate `broken_install' (install is
378 autoconfed).
379
380 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
381 relevant).
382
38ea060f
JL
383Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
384
385 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
386 functions and declarations.
387 (analyze_loop_iterations): Use condjump_p.
388 (insert_bct): Likewise. Use exact_log2.
389
f187056f
JL
390Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
391
392 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
393 (schedule_region): Likewise.
394 (schedule_insns): Likewise.
395
396 * PROJECTS: Update with Haifa stuff.
397
9af06254
JL
398Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
399
400 * version.c: Change the version string to look like:
11c21791 401 egcs-2.90.00 970814 (gcc2-970802 experimental).
9af06254 402
0945e937
JL
403 * loop.c (is_conditional_branch): Make definition match declaration.
404
9af06254
JL
405 * gcc.c: Take out experimental snapshot warning message.
406
ebc25a17
MM
407Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
408
409 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
410 print out the names of the notes. Print out the name of the insn
411 that is not a note, and not an {,CALL_,JUMP_}INSN.
412
992d1248
DE
413Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
414
415 * configure.in (haifa configury): Fix typo.
416 * configure: Regenerate.
417
7bb6fbd1
JL
418Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
419
420 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
421
422 * gcc.info*: Rebuilt.
423
424 * COPYING.g77, README.g77: New files.
425 * real.c (ereal_unto_float, ereal_unto_double): New functions.
426 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
427 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
428
8c660648
JL
429Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
430
431 * Integrate Haifa instruction scheduler.
432 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
433 to sched with $(SCHED_CFLAGS.
434 * configure.in: Handle --enable-haifa.
435 * configure: Rebuilt.
436 * flags.h: Add new flags for haifa instruction scheduler.
437 * genattrtab.c (expand_units): For haifa, don't subtract one
438 when computing blockage.
439 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
440 (flag_schedule_speculative): Ditto.
441 (flag_schedule_speculative_load): Ditto.
442 (flag_schedule_speculative_load_dangerous): Ditto.
443 (flag_schedule_reverse_before_reload): Ditto.
444 (flag_schedule_reverse_after_reload): Ditto.
445 (flag_branch_on_count_reg): Ditto.
446 (f_options): Add Haifa switches.
447 (main): Turn off some Haifa options if appropriate macro is
448 defined. Process Haifa switches.
449 * unroll.c (iteration_info): No longer static, since Haifa
450 scheduler uses it.
451 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
452 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
453 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
454 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
455 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
456 storage for the Haifa scheduler.
457 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
458 LABEL_NEXTREF.
459 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
460 are defined, call analyze_loop_iterations and insert_bct to use
461 countdown loops.
462 (record_giv): Refine test for jumps out of loops if HAIFA is
463 defined.
464 (analyze_loop_iterations): New function to identify if we can use
465 a countdown loop.
466 (insert_bct): Insert countdown loop.
467 (instrument_loop_bct): Low level code to insert countdown loop.
468 (loop_number): Calculate UID of loop.
469 (indirect_jump_in_function_p): Return true if an indirect jump is
470 in the function.
471 (is_power_of_2): Return true if value is a power of 2.
472 (is_conditional_branch): Return true if insn is a conditional
473 jump.
474 (fix_bct_param): Process -fbct-{min,max}-N switches.
475 (check_bct_param): Return true if loop should be instrumented.
476 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
477 (loop_optimize): Initialize.
478 (get_condition_for_loop): Ditto.
479 * loop.c (strength_reduce): Inside of code that uses #ifdef
480 HAVE_decrement_and_branch_on_count code, test it to make sure the
481 condition is true.
482 (instrument_loop_bct): Ditto.
483 * haifa-sched.c: New file.
484
485
486 * Integrate regmove pass.
487 * Makefile.in (OBJS): Add regmove.o
488 (regmove.o): Add dependencies.
489 * flow.c (find_use_as_address): No longer static.
490 * rtl.h (find_use_as_address): Declare.
491 * toplev.c (regmove_dump, flag_regmove): Define.
492 (f_options): Add -fregmove.
493 (regmove_dump_file, regmove_time): Define.
494 (fatal_insn): Close the regmove dump file.
495 (compile_file): Initialize regmove_time; open/close the regmove dump
496 file as needed. Print regmove time as needed.
497 (rest_of_compilation): Run regmove pass if requested, dump
498 RTL after regmove if requested.
499 (main): If -O2 or more, turn on regmove. Handle dump switches.
500 * regmove.c: New file.
501
aa32d841
JL
502Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
503
504 * Integrate tlink patch from jason@cygnus.com
505 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
506 (process_command): Increment n_switches for them. Don't discard
507 their args. Validate them.
508 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
509 From Rohan Lenard.
510 (process_command): Set include_prefixes from COMPILER_PATH.
511 (main): Set COLLECT_GCC_OPTIONS sooner.
512 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
513 * tlink.c, hash.c, hash.h: New files.
514 * Makefile.in (USE_COLLECT2): Always use collect2.
515 (collect2): Depend on and link in hash.o and tlink.o.
516 (tlink.o, hash.o): Add dependencies.
517
5fa39bfe
JL
518Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
519
9ae8ffe7
JL
520 * Integrate alias analysis changes from jfc@mit.edu
521 * Makefile.in (OBJS): Add alias.o
522 (alias.o): Add dependencies.
523 * alias.c: New file.
524 * sched.c: Remove alias analysis code. It lives in alias.c now.
9ae8ffe7 525 (sched_analyze_2): Add new arguments to true_dependence.
9ae8ffe7
JL
526 (schedule_insns): Always call init_alias_analysis.
527 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
528 mark return value from such functions as a pointer and keep track of
529 them for alias analysis. If a return value from a function is a
530 pointer, mark it as such.
531 * combine.c (distribute_notes): Handle REG_NOALIAS.
532 * cse.c (struct write_data): Delete. No longer needed.
533 (invalidate): Don't call set_nonvarying_address_components anymore.
534 Use true_dependence to decide if an entry should be removed from
535 the hash table.
536 (invalidate_memory): Remove WRITES argument, simplify appropriately.
537 Fix all callers.
538 (note_mem_written): Similarly for WRITE_PTR argument.
539 (invalidate_from_clobbers): Similarly for W argument.
540 (invalidate_for_call): Remove memory elements from the hash table.
541 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
542 (cse_rtx_varies_p): New function. Derived from old
543 cse_rtx_addr_varies_p.
544 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
545 Don't call note_mem_written anymore. Stack pushes invalidate the stack
546 pointer if PUSH_ROUNDING is defined. No longer need to call
547 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
548 (skipped_writes_memory): Remove variable.
549 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
550 (invalidate_skipped_block): Simplify for new alias analysis code.
551 (cse_set_around_loop): Likewise.
552 (cse_main): Call init_alias_analysis.
553 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
554 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
555 (f_options): Add new alias checking arguments.
556 (main): Set flag_alias_check when optimizing.
557 * local_alloc (validate_equiv_mem_from_store): Add new arguments
558 to true_dependence.
559 (memref_referenced_p): Likewise.
560 * loop.c (NUM_STORES): Increase to 30.
561 (prescan_loop): Only non-constant calls set unknown_address_altered.
562 (invariant_p): Add new arguments to true_dependence.
563 (record_giv): Initialize unrolled and shared fields.
564 (emit_iv_add_mult): Call record_base_value as needed.
565 * loop.h (struct induction): Add unrolled and shared fields.
566 * unroll.c (unroll_loop): Call record_base_value as needed.
567 (copy_loop_body): Likewise.
568 (final_biv_value): Likewise.
569 (final_giv_value): Likewise.
570 (find_splittable_regs): Likewise. Only create one new pseudo
571 if we have multiple address GIVs that were combined with the same
572 dst_reg GIV. Note when a new register is created due to unrolling.
573 * rtl.c (reg_note_name): Add REG_NOALIAS.
574 * rtl.h (enum reg_note): Similarly.
575 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
576 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
577 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
578 (true_dependence, read_dependence, anti_dependence): Likewise.
579 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
580 (mark_user_reg, mark_reg_pointer): Likewise.
581
582
583 * Integrate reload bugfix from Wilon which enables the PA port
5fa39bfe
JL
584 to bootstrap again.
585 * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
586 OPERAND_ADDRESS when computing how many registers an insn needs.
587 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
588 conflict.
589 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
590 OPADDR_ADDR reload.
591 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
592 in reload_reg_use_in_op_addr do not reach the end.
593 do not reach the end.
594 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
595 RELOAD_FOR_OPERAND_ADDRESS.
596
597Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
598
2dcfcb56 599 * egcs project officially starts.
861bb6c1 600
This page took 0.1159 seconds and 5 git commands to generate.