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