]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
lex.c (real_yylex): Refer to __complex instead of complex.
[gcc.git] / gcc / ChangeLog
CommitLineData
b4f32d7b
JW
1Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
2
3 * alpha.h (ARCH_ASM_FILE_START): Define.
4 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
5 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
6
ca363bb6
JL
7Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
8
f1e18282
JL
9 * version.c: Bump for new snapshot.
10
ca363bb6
JL
11 * Makefile.in (install-common): Put gcov comment at start of line.
12
7557aa98
JL
13Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
14
15 * alias.c (init_alias_analysis): When simplifying the reg_base_value
16 array, simplify entries for hard registers too.
17
c34e3ae4
DL
18Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
19
20 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
21 list.
22
e3eef942
JW
23Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
24
25 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
26 block_stack before dereferencing it.
27
28Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
246853b9
MM
29
30 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
31
04f41951
JM
32Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
33
34 * cplus-dem.c: Add 'extern' to prepends_underscore.
35
e933cbe0
JL
36Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
37
62d65906
JL
38 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
39 (get_issue_rate): Delete.
40 * pa.h (ISSUE_RATE): Define.
41
2da05a5b
JL
42 * configure.in: Turn on haifa by default for the PA.
43 * configure: Rebuilt.
44 * pa.c (override_options): Accept -mschedule=7200 option.
45 (pa_adjust_cost): No longer need to scale costs for newer
46 processors.
47 * pa.h (enum processor_type): Add PROCESSOR_7200.
48 * pa.md: Revamp scheduling parameters to work better with
49 haifa. Add scheduling parameters for the 7200.
50
4f64eaca
JL
51 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
52 insns too.
53 (schedule_block): When adjusting basic_block_{head,end}, account
54 for movement of SCHED_GROUP_P insns too.
55
56 * haifa-sched.c (debug_dependencies): Fix thinko.
57
e933cbe0
JL
58 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
59 (site.exp, check, check-g++, check-gcc): New targets.
60
4f64eaca 61 * haifa-sched.c: Make lots of variables static.
61822835 62
e9576d2c
L
63Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
64
65 * expr.h, real.h: Finish prototyping.
66
61822835
JL
67Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
68
69 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
70 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
71 * reload1.c: Undo bugfix from Aug 11.
72
f24b370a
MM
73Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
74
75 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
76 quotes around the name.
77 * configure: Regenerate.
78
1c4c5851
JW
79Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
80
81 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
82
71abb567
MH
83Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
84
85 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
86 to sub-makes to avoid building more passes than the user might have
87 requested on the command line.
88
6042434a
DL
89Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
90
91 * configure.in: Expurgate `broken_install' (install is
92 autoconfed).
93
94 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
95 relevant).
96
38ea060f
JL
97Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
98
99 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
100 functions and declarations.
101 (analyze_loop_iterations): Use condjump_p.
102 (insert_bct): Likewise. Use exact_log2.
103
f187056f
JL
104Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
105
106 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
107 (schedule_region): Likewise.
108 (schedule_insns): Likewise.
109
110 * PROJECTS: Update with Haifa stuff.
111
9af06254
JL
112Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
113
114 * version.c: Change the version string to look like:
11c21791 115 egcs-2.90.00 970814 (gcc2-970802 experimental).
9af06254 116
0945e937
JL
117 * loop.c (is_conditional_branch): Make definition match declaration.
118
9af06254
JL
119 * gcc.c: Take out experimental snapshot warning message.
120
ebc25a17
MM
121Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
122
123 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
124 print out the names of the notes. Print out the name of the insn
125 that is not a note, and not an {,CALL_,JUMP_}INSN.
126
992d1248
DE
127Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
128
129 * configure.in (haifa configury): Fix typo.
130 * configure: Regenerate.
131
7bb6fbd1
JL
132Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
133
134 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
135
136 * gcc.info*: Rebuilt.
137
138 * COPYING.g77, README.g77: New files.
139 * real.c (ereal_unto_float, ereal_unto_double): New functions.
140 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
141 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
142
8c660648
JL
143Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
144
145 * Integrate Haifa instruction scheduler.
146 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
147 to sched with $(SCHED_CFLAGS.
148 * configure.in: Handle --enable-haifa.
149 * configure: Rebuilt.
150 * flags.h: Add new flags for haifa instruction scheduler.
151 * genattrtab.c (expand_units): For haifa, don't subtract one
152 when computing blockage.
153 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
154 (flag_schedule_speculative): Ditto.
155 (flag_schedule_speculative_load): Ditto.
156 (flag_schedule_speculative_load_dangerous): Ditto.
157 (flag_schedule_reverse_before_reload): Ditto.
158 (flag_schedule_reverse_after_reload): Ditto.
159 (flag_branch_on_count_reg): Ditto.
160 (f_options): Add Haifa switches.
161 (main): Turn off some Haifa options if appropriate macro is
162 defined. Process Haifa switches.
163 * unroll.c (iteration_info): No longer static, since Haifa
164 scheduler uses it.
165 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
166 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
167 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
168 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
169 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
170 storage for the Haifa scheduler.
171 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
172 LABEL_NEXTREF.
173 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
174 are defined, call analyze_loop_iterations and insert_bct to use
175 countdown loops.
176 (record_giv): Refine test for jumps out of loops if HAIFA is
177 defined.
178 (analyze_loop_iterations): New function to identify if we can use
179 a countdown loop.
180 (insert_bct): Insert countdown loop.
181 (instrument_loop_bct): Low level code to insert countdown loop.
182 (loop_number): Calculate UID of loop.
183 (indirect_jump_in_function_p): Return true if an indirect jump is
184 in the function.
185 (is_power_of_2): Return true if value is a power of 2.
186 (is_conditional_branch): Return true if insn is a conditional
187 jump.
188 (fix_bct_param): Process -fbct-{min,max}-N switches.
189 (check_bct_param): Return true if loop should be instrumented.
190 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
191 (loop_optimize): Initialize.
192 (get_condition_for_loop): Ditto.
193 * loop.c (strength_reduce): Inside of code that uses #ifdef
194 HAVE_decrement_and_branch_on_count code, test it to make sure the
195 condition is true.
196 (instrument_loop_bct): Ditto.
197 * haifa-sched.c: New file.
198
199
200 * Integrate regmove pass.
201 * Makefile.in (OBJS): Add regmove.o
202 (regmove.o): Add dependencies.
203 * flow.c (find_use_as_address): No longer static.
204 * rtl.h (find_use_as_address): Declare.
205 * toplev.c (regmove_dump, flag_regmove): Define.
206 (f_options): Add -fregmove.
207 (regmove_dump_file, regmove_time): Define.
208 (fatal_insn): Close the regmove dump file.
209 (compile_file): Initialize regmove_time; open/close the regmove dump
210 file as needed. Print regmove time as needed.
211 (rest_of_compilation): Run regmove pass if requested, dump
212 RTL after regmove if requested.
213 (main): If -O2 or more, turn on regmove. Handle dump switches.
214 * regmove.c: New file.
215
aa32d841
JL
216Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
217
218 * Integrate tlink patch from jason@cygnus.com
219 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
220 (process_command): Increment n_switches for them. Don't discard
221 their args. Validate them.
222 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
223 From Rohan Lenard.
224 (process_command): Set include_prefixes from COMPILER_PATH.
225 (main): Set COLLECT_GCC_OPTIONS sooner.
226 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
227 * tlink.c, hash.c, hash.h: New files.
228 * Makefile.in (USE_COLLECT2): Always use collect2.
229 (collect2): Depend on and link in hash.o and tlink.o.
230 (tlink.o, hash.o): Add dependencies.
231
5fa39bfe
JL
232Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
233
9ae8ffe7
JL
234 * Integrate alias analysis changes from jfc@mit.edu
235 * Makefile.in (OBJS): Add alias.o
236 (alias.o): Add dependencies.
237 * alias.c: New file.
238 * sched.c: Remove alias analysis code. It lives in alias.c now.
9ae8ffe7 239 (sched_analyze_2): Add new arguments to true_dependence.
9ae8ffe7
JL
240 (schedule_insns): Always call init_alias_analysis.
241 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
242 mark return value from such functions as a pointer and keep track of
243 them for alias analysis. If a return value from a function is a
244 pointer, mark it as such.
245 * combine.c (distribute_notes): Handle REG_NOALIAS.
246 * cse.c (struct write_data): Delete. No longer needed.
247 (invalidate): Don't call set_nonvarying_address_components anymore.
248 Use true_dependence to decide if an entry should be removed from
249 the hash table.
250 (invalidate_memory): Remove WRITES argument, simplify appropriately.
251 Fix all callers.
252 (note_mem_written): Similarly for WRITE_PTR argument.
253 (invalidate_from_clobbers): Similarly for W argument.
254 (invalidate_for_call): Remove memory elements from the hash table.
255 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
256 (cse_rtx_varies_p): New function. Derived from old
257 cse_rtx_addr_varies_p.
258 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
259 Don't call note_mem_written anymore. Stack pushes invalidate the stack
260 pointer if PUSH_ROUNDING is defined. No longer need to call
261 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
262 (skipped_writes_memory): Remove variable.
263 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
264 (invalidate_skipped_block): Simplify for new alias analysis code.
265 (cse_set_around_loop): Likewise.
266 (cse_main): Call init_alias_analysis.
267 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
268 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
269 (f_options): Add new alias checking arguments.
270 (main): Set flag_alias_check when optimizing.
271 * local_alloc (validate_equiv_mem_from_store): Add new arguments
272 to true_dependence.
273 (memref_referenced_p): Likewise.
274 * loop.c (NUM_STORES): Increase to 30.
275 (prescan_loop): Only non-constant calls set unknown_address_altered.
276 (invariant_p): Add new arguments to true_dependence.
277 (record_giv): Initialize unrolled and shared fields.
278 (emit_iv_add_mult): Call record_base_value as needed.
279 * loop.h (struct induction): Add unrolled and shared fields.
280 * unroll.c (unroll_loop): Call record_base_value as needed.
281 (copy_loop_body): Likewise.
282 (final_biv_value): Likewise.
283 (final_giv_value): Likewise.
284 (find_splittable_regs): Likewise. Only create one new pseudo
285 if we have multiple address GIVs that were combined with the same
286 dst_reg GIV. Note when a new register is created due to unrolling.
287 * rtl.c (reg_note_name): Add REG_NOALIAS.
288 * rtl.h (enum reg_note): Similarly.
289 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
290 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
291 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
292 (true_dependence, read_dependence, anti_dependence): Likewise.
293 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
294 (mark_user_reg, mark_reg_pointer): Likewise.
295
296
297 * Integrate reload bugfix from Wilon which enables the PA port
5fa39bfe
JL
298 to bootstrap again.
299 * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
300 OPERAND_ADDRESS when computing how many registers an insn needs.
301 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
302 conflict.
303 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
304 OPADDR_ADDR reload.
305 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
306 in reload_reg_use_in_op_addr do not reach the end.
307 do not reach the end.
308 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
309 RELOAD_FOR_OPERAND_ADDRESS.
310
311Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
312
2dcfcb56 313 * egcs project officially starts.
861bb6c1 314
This page took 0.079876 seconds and 5 git commands to generate.