]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
* i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
[gcc.git] / gcc / ChangeLog
CommitLineData
d2f2cb19
JW
1Fri May 15 21:40:06 1998 John Wehle (john@feith.com)
2
3 * i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
4
bbc0e641
JM
5Fri May 15 18:55:22 1998 Jason Merrill <jason@yorick.cygnus.com>
6
7 * tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros.
8 * stor-layout.c (layout_record): Set it.
9
10Fri May 15 18:49:30 1998 Mark Mitchell <mmitchell@usa.net>
11
12 * toplev.c (rest_of_compilation): Don't defer nested functions.
13
92834d7d
BM
14Fri May 15 17:42:52 1998 Bob Manson <manson@charmed.cygnus.com>
15
16 * config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
17 to an 8-byte boundary if info_ptr->fpmem_p.
18
829002bb
BM
19Fri May 15 17:36:11 1998 Bill Moyer <ttk@cygnus.com>
20
21 * loop.c (basic_induction_var): Added test preventing
22 CCmode parameter passed to convert_modes().
23
b24f65cd
APB
24Fri May 15 17:26:18 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
25
26 * expr.c (expand_expr, case EXPR_WITH_FILE_LOCATION): Save/restore
27 input_filename and lineno around expand_expr call. Set them to values
28 in WFL before expand_expr call.
29
b09293cc
BK
30Fri May 15 12:44:57 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
31
32 * stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
33
f628873f
MM
34Fri May 15 07:20:03 1998 Mark Mitchell <mmitchell@usa.net>
35
36 * fold-const.c (constant_boolean_node): New function.
37 (fold): Use it.
38
61fb6bac
R
39Fri May 15 11:21:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
40
41 * sh.c (gen_shl_and): Don't sign extend constant for kind two.
42 Abort if trying to split kind 3 or 4 outside of combine.
43
8f9661dd
JL
44Fri May 15 01:47:37 1998 Jeffrey A Law (law@cygnus.com)
45
46 * mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
47
b22284e1
MK
48Fri May 15 01:42:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
49
50 * objc/Make-lang.in (OBJC_O): Add missing exeext.
51 (libobjc.a, runtime-info.h): Likewise.
52
8a022443
JW
53Fri May 15 01:29:39 1998 John Wehle (john@feith.com)
54
55 * i386.h (DATA_ALIGNMENT): Define.
56
aa6498c2
R
57Fri May 15 05:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
58
59 * reload1.c (delete_output_reload): Ignore single USE that
60 was emitted for the pseudo use of this INSN.
61 If the no reference to REG between OUTPUT_RELOAD_INSN and INSN
62 remains, we can always delete OUTPUT_RELOAD_INSN.
63
41372177
JW
64Thu May 14 18:38:50 1998 Jim Wilson <wilson@cygnus.com>
65
66 * reload.c (find_reloads): Don't penalize SCRATCH output reload.
67
ddc5654a
JL
68Thu May 14 15:10:30 1998 Jeffrey A Law (law@cygnus.com)
69
70 * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.
71
9a0d1e1b
AM
72Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
73
74 * eh-common.h: New file for basic EH data structures.
75 * except.h: Various prototypes and structures for NEW_EH_MODEL
76 * function.h (struct function): Add a struct eh_stack for the catch
77 clause stack.
78 * except.c (gen_exception_label): New function to generate an
79 exception label.
80 (push_eh_entry): Use gen_exception_label() and init 'label_used' field.
81 (push_entry): New function to push an existing entry onto a stack.
82 (receive_exception_label): New function to emit the code required
83 at the start of all catch blocks.
84 (struct func_eh_entry): New structure for maintaining handlers
85 associated with EH regions.
86 (new_eh_region_entry): New function to register an EH region.
87 (add_new_handler): New function to register a handler with a region.
88 (get_new_handler): Creates anew handler entry for registering.
89 (find_func_region): New function to convert a NOTE eh region number
90 to an Eh region index.
91 (get_first_handler): New function to get the first handler in a region.
92 (clear_function_eh_region): New function to release memory.
93 (duplicate_handlers): New function to duplicate a list of handlers.
94 (expand_eh_region_end): Create a new region entry node as well.
95 (expand_leftover_cleanups): Call receive_exception_label() and
96 register the cleanup as a handler to the current region.
97 (expand_start_catch): New function to start a catch clause.
98 (expand_end_catch): New function to end a catch clause.
99 (expand_start_all_catch): restructure to not do the equivilent of
100 what expand_start_catch() does now. Push the exception region being
101 handled onto the catch stack.
102 (output_exception_table_entry): Issue an entry for each handler
103 associated with a region.
104 (set_exception_lang_code): New function for setting the language code.
105 (set_exception_version_code): New function to set the version number.
106 (output_exception_table): Output version and language codes.
107 (find_exception_handler_labels): Find handler labels using new scheme.
108 (is_exception_handler_label): New function, returns 1 if label is
109 present as a handler in some exception region.
110 (check_exception_handler_labels): Use the new scheme.
111 (init_eh_for_function): Initialize the catch stack.
112 (save_eh_status): Save the catch stack.
113 (restore_eh_status): Restore the catch stack.
114 (scan_region): Don't remove unreferenced handler label. Flow does it.
115 (get_reg_for_handler): New function to get the eh_context pointer
116 passed by __throw.
117 (expand_builtin_eh_stub): Changes required for NEW_EH_MODEL only.
118 * final.c (final_scan_insn): With NEW_EH_MODEL, add EH table
119 entry when processing END region rather that START region.
120 * flow.c (find_basic_blocks_1): Find all potential handler regions
121 now that we don't automatically know what the labels might be.
122 Let scan_region() remove unreferenced EH BEGIN/END labels.
123 * integrate.c (get_label_from_map): Put inlined labels onto the
124 permanent obstack since we dont know which ones might be exception
125 labels.
126 (save_for_inline_copying): Make new copies of all the handlers.
127 (expand_inline_function): Make new copies of all the handlers.
128 * libgcc2.c: Remove local struct decls, and include eh-common.h.
129 (find_exception_handler): With NEW_EH_MODEL the first matching
130 region we find is the right one. Add eh_info as a new parameter.
131 (__throw): Pass eh_info to find_exception_handler. Set handler
132 and pass use different regs under NEW_EH_MODEL.
133
2129b081
JW
134Thu May 14 12:58:21 1998 Jim Wilson <wilson@cygnus.com>
135
136 * i960.h (hard_regno_mode_ok): Changed to function from array of
137 unsigned.
138 (HARD_REGNO_MODE_OK): Call function instead of testing bit.
139 * i960.c (hard_regno_mode_ok): Changed to function from array of
140 unsigned.
141
029b38ff
R
142Thu May 14 08:41:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
143
144 * reload.c (remove_replacements): New function.
145 * reload.h (remove_replacements): Declare.
146 * reload1.c (choose_reload_regs): Disable some reloads that
147 belong to inherited reloads.
148
efdb3590
R
149Thu May 14 02:17:17 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
150
9dd07f87
R
151 * loop.c (scan_loop): Don't call move_moveables for optimize_size.
152
efdb3590
R
153 * reload1.c (merge_assigned_reloads): When merging, reset
154 reload_spill_index for the eliminated reload.
155
5d27de7d
JL
156Wed May 13 17:51:13 1998 Jeffrey A Law (law@cygnus.com)
157
158 * haifa-sched.c (schedule_insns): Fix merge goof.
159
92d4501f
JW
1601998-05-13 Jim Wilson <wilson@cygnus.com>
161
162 * varasm.c (make_decl_rtl): Revert April 1 change.
163 * alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
164 m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
165 Get function name from the SYMBOL_REF in the DECL_RTL, not from
166 DECL_ASSEMBLER_NAME.
167 * i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
168 DECL_ASSEMBLER_NAME.
169
d6cc54f6
JW
170Wed May 13 13:09:19 1998 Jim Wilson <wilson@cygnus.com>
171
172 * i386.c (notice_update_cc, output_float_compare): Disable
173 TARGET_CMOVE support.
174
6d3352d9 175Wed May 13 15:28:59 1998 Michael Meissner <meissner@cygnus.com>
0dfa1860
MM
176 Jeff Law <law@cygnus.com>
177
ae78d276
MM
178 * rtlanal.c (find_reg_note): Ignore notes that are not on on
179 insns of class 'i'.
180 (find_regno_note): Likewise.
181
82ce5b75
MM
182 * Makefile.in (stor-layout.o): Depend on except.h
183 (varasm.o, function.o): Likewise.
184 (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
185
0dfa1860
MM
186 * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
187 (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
188 ($(HOST_PREFIX_1)rtl.o): Likewise.
189 ($(HOST_PREFIX_1)bitmap.o): New host object.
190 * emit-rtl.c (toplevel): Include bitmap.h.
191 (gen_rtx): Handle 't' and 'b' nodes.
192 * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
193 Print block number for block begin/end notes. Print 't' type
194 nodes as a pointer. Know that the 3rd argument of live range
195 start/stop notes is really a range_info rtx. If type is 'b', print
196 out argument as a bitmap.
197 * rtl.c: Include bitmap.c.
198 (copy_rtx): Copy tree nodes as is. Copy bitmaps if type is 'b'.
199 (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
200 * rtl.def (RANGE_LIVE): New node to hold live information while we
201 recalculate the basic blocks.
202 (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
203 (RANGE_VAR): New node, to hold information saved in symbol node for New
204 communicating live range information to the debug output functions.
205 * rtl.h (rtunion_def): Add rttree and rtbit fields.
206 (XBITMAP, XTREE): New accessor macros.
207 (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
208 (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
209 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
210 (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
211 (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
212 (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
213 (RANGE_INFO_*): Likewise.
214 * sched.c (sched_analyze): Keep live range start/stop notes.
215 (unlink_other_notes): Likewise.
216 * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
217 (unlink_other_notes): Likewise.
218 * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
219 (BLOCK_LIVE_RANGE_FLAG): Likewise.
220 (DECL_LIVE_RANGE_RTL): Likewise.
221 (struct tree_block): Add live_range_flag, live_range_var_flag,
222 live_range_start and live_range_end.
223 (struct tree_decl): Add live_range_rtl field.
224 * gengenrtl.c (type_from_format): Handle 'b' and 't'.
225 (accessor_from_format): Likewise.
6d3352d9
MM
226
227 * haifa-sched.c (schedule_block): Make verbose output line up.
47312d84 228 Also add a blank line in printing the individual ready lists.
6d3352d9 229
63e76c87
KG
230Wed May 13 15:43:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
231
232 * Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
233 (c-lex.o): Depend on output.h.
234 (c-common.o): Likewise.
235 (stmt.o): Likewise.
236 (calls.o): Likewise.
237 (integrate.o): Depend on toplev.h.
238 (regclass.o): Depend on output.h.
239 (final.o): Depend on reload.h.
240
241 * c-common.c: Include output.h.
242 (check_format_info): Remove unused variable `integral_format'.
243
244 * c-decl.c (print_lang_decl): Mark parameters `file', `node' and
245 `indent' with ATTRIBUTE_UNUSED.
246 (print_lang_type): Likewise.
247 (maybe_build_cleanup): Likewise for parameter `decl'.
248 (copy_lang_decl): Likewise for parameter `node'.
249
250 * c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
251 (lang_print_xnode): Mark parameters `file', `node' and `indent'
252 with ATTRIBUTE_UNUSED.
253 (lookup_interface): Likewise for parameter `arg'.
254 (is_class_name): Likewise.
255 (maybe_objc_check_decl): Likewise for parameter `decl'.
256 (maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
257 `reflexive'.
258 (maybe_objc_method_name): Likewise for parameter `decl'.
259 (build_objc_string): Likewise for parameters `len' and `str'.
260
261 * c-lex.c: Include output.h.
262
263 * c-lex.h (position_after_white_space): Correct typo in prototype.
264
265 * c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
266 c_expand_end_cond, init_iterators): Add prototypes.
267
268 * caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
269 with ATTRIBUTE_UNUSED.
270
271 * calls.c: Include output.h.
272
273 * cccp.c (pipe_closed): Mark parameter `signo' with
274 ATTRIBUTE_UNUSED.
275
276 * combine.c: Move inclusion of expr.h to after insn-config.h.
277
278 * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
279 as empty, rather define as ((void)0).
280
281 * sparc.c (sparc_check_64): Add braces around ambiguous `else'.
282 Add parentheses around assignment used as truth value.
283
284 * cplus-dem.c (squangle_mop_up): Change return type to void.
285 (internal_cplus_demangle): Remove unused parameter `options'.
286 All callers changed.
287 (cplus_demangle_opname): Remove function wide variable `int i' and
288 replace with `size_t i' at each location where it is used.
289 (cplus_demangle_opname): change type of `i' from int to size_t.
290
291 * cppexp.c (right_shift): Mark parameter `pfile' with
292 ATTRIBUTE_UNUSED.
293
294 * cpphash.c (cpp_lookup): Likewise.
295 (cpp_hash_cleanup): Likewise.
296
297 * cpplib.c (parse_name): Add a prototype and make it static.
298 (null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
299 (null_cleanup): Likewise for parameters `pbuf' and `pfile'.
300 (macro_cleanup): Likewise for parameter `pfile'.
301 (file_cleanup): Likewise.
302
303 * cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
304 cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
305
306 * crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
307 __DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
308
309 * cse.c (cse_check_loop_start): Mark parameter `set' with
310 ATTRIBUTE_UNUSED.
311
312 * dbxout.c (flag_minimal_debug, have_used_extensions,
313 source_label_number): Move inside macro wrapper check against
314 defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
315
316 * dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
317
318 * except.h (doing_eh): Provide prototype.
319
320 * expr.c: Move inclusion of expr.h to after insn-config.h.
321
322 * final.c: Include reload.h.
323 (shorten_branches): Cast the first argument of bzero to char *.
324
325 * fix-header.c (cpp_print_containing_files): Mark parameter
326 `pfile' with ATTRIBUTE_UNUSED.
327 (cpp_fatal): Likewise.
328
329 * flow.c (find_basic_blocks_1): Cast the first argument of bzero
330 to char *.
331
332 * genattrtab.c (make_length_attrs): Change the type of variable
333 `i' from int to size_t.
334 (zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
335 (one_fn): Likewise.
336
337 * genextract.c (main): When generating insn-extract.c, mark
338 variable `junk' with ATTRIBUTE_UNUSED.
339
340 * gengenrtl.c (gencode): When generating genrtl.c, cast the first
341 argument of bzero to char*.
342
343 * integrate.c: Include toplev.h.
344
345 * libgcc2.c: Wrap `struct exception_table' and
346 `find_exception_handler' in macro DWARF2_UNWIND_INFO.
347
348 * objc/Make-lang.in (objc-act.o): Depend on toplev.h.
349
350 * objc/objc-act.c: Include toplev.h.
351 (lang_print_xnode): Mark parameters `file', `node' and `indent'
352 with ATTRIBUTE_UNUSED.
353 (finish_protocol): Likewise for parameter `protocol'.
354
355 * output.h (declare_weak): Add prototype.
356 (decode_reg_name): Don't wrap with TREE_CODE macro.
357 (assemble_alias): Add prototype.
358
359 * regclass.c: Include output.h.
360
361 * reload.h (reloads_conflict): Add prototype.
362
363 * rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
364 output_func_start_profiler): Add prototypes.
365
366 * rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
367 ATTRIBUTE_UNUSED.
368
369 * scan-decls.c: Include scan.h.
370
371 * scan.h (recognized_function, recognized_extern): Add prototypes.
372
373 * stmt.c: Include output.h.
374
375 * toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
376 (output_lang_identify): Hide prototype and definition.
377 (float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
378 (pipe_closed): Likewise.
379
380 * toplev.h (count_error, strip_off_ending, error_for_asm,
381 warning_for_asm): Add prototypes.
382
a494747c 383Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
a494747c 384
32e705c4
MM
385 * toplev.c (rest_of_compilation): "Charge" final for any time
386 doing various cleanup operations after finishing compilation
387 of a function.
388
6fc4610b
MM
389 * flow.c (dump_flow_info): Also print number of sets and
390 whether or not the pseudo is a user variable.
391
a494747c
MM
392 * flow.c (reg_n_max): New global variable.
393 * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
394 Delete regno_max variable.
395 * regs.h (REG_N_CHECK): Define.
396 (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
397 (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
398 (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
399
21622caf
JL
400Wed May 13 12:54:19 1998 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
401
402 * acconfig.h (ENABLE_CHECKING): Undefine.
403 * configure.in (--enable-checking): New option.
404
d668e863
R
405Wed May 13 08:52:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
406
407 * reload1.c (merge_assigned_reloads): Can merge
408 RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
409 if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
410
b706d7f2
JW
411Tue May 12 20:05:57 1998 Jim Wilson <wilson@cygnus.com>
412
413 * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
414
4117a96b
R
415Wed May 13 03:23:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
416
417 * reload1.c (gen_reload): Create REG_EQUIV notes.
418
4d3eb414
R
419Tue May 12 22:21:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
420
421 * reload1.c (reload): Fix check for USEs to use code of pattern.
422 (choose_reload_regs): Remove dead variable use_insn.
423
b10c8966
JL
424Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
425
426 * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
427
cbb13457
MM
428Tue May 12 15:16:02 1998 Michael Meissner <meissner@cygnus.com>
429
430 * haifa-sched.c (HAIFA_INLINE): Define to be __inline unless
431 already defined.
432 (find_insn_{,mem_}list): Use HAIFA_INLINE, not __inline.
433 (insn_{unit,issue_delay}): Ditto.
434 (blockage_range): Ditto.
435 (actual_hazard{,_this_instance}): Ditto.
436 (schedule_unit): Ditto.
437 (potential_hazard): Ditto.
438 (insn_cost): Ditto.
439 (swap_sort): Ditto.
440 (queue_insn): Ditto.
441 (birthing_insn_p): Ditto.
442 (adjust_priority): Ditto.
443 (get_block_head_tail): Ditto.
444 (init_rgn_data_dependences): Ditto.
445
1478d88a
KK
446Tue May 12 10:27:54 1998 Klaus Kaempf <kkaempf@progis.de>
447
448 * alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
449
a688e0b7
GK
450Tue May 12 11:44:14 1998 Gavin Koch <gavin@cygnus.com>
451
452 * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
453
ec350bdd
GK
454Tue May 12 11:38:31 1998 Gavin Koch <gavin@cygnus.com>
455
456 * config/mips/mips.md (dslot): Move after definition of "cpu"
457 attribute. Handle r3900 case.
458
d4ba0ead
KG
459Tue May 12 10:21:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
460
461 * system.h: Define the STRINGIFY macro here.
462 * protoize.c: Not here.
463 * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
464
8a198bd2
JW
465Tue May 12 00:47:33 1998 John Wehle (john@feith.com)
466
467 * varasm.c (assemble_variable): Compute the alignment of the data
468 earlier so that both initialized and uninitialized variables are
469 effected by DATA_ALIGNMENT.
470 * tm.texi (DATA_ALIGNMENT): Updated appropriately.
471
eace3df1
JL
472Mon May 11 19:57:58 1998 Jeffrey A Law (law@cygnus.com)
473
474 * mips.c: Prototype static functions.
475
a9e95099
JW
476Mon May 11 17:43:03 1998 Jim Wilson <wilson@cygnus.com>
477
b1a7d591
JW
478 * regmove.c (fixup_match_2, find_matches, regmove_profitable):
479 Add explanatory comments.
480
a9e95099
JW
481 * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
482
0f177d7c
RH
483Mon May 11 17:24:27 1998 Richard Henderson <rth@cygnus.com>
484
485 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
486
28233641
JW
487Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
488
489 * varasm.c (make_decl_rtl): Disable April 1 change.
490
e55a5ea6
RH
491Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
492
493 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
494
e83015a9
RH
495Mon May 11 08:24:18 1998 Richard Henderson <rth@cygnus.com>
496
497 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
498 * alpha.c (print_operand): Handle it.
499 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
500 related define_splits. Also add peepholes for SImode reload
501 plus sign_extend lossage.
502
320e7c40
KG
503Mon May 11 09:33:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
504
505 * genattr.c: Include stdarg.h/varargs.h. Change function
506 `fatal' to use variable arguments instead of faking it with
507 integer parameters. Provide a prototype which also
508 checks the format specifiers using ATTRIBUTE_PRINTF_1.
509
510 * genattrtab.c: Likewise.
511 * gencodes.c: Likewise.
512 * genconfig.c: Likewise.
513 * genemit.c: Likewise.
514 * genextract.c: Likewise.
515 * genflags.c: Likewise.
516 * genopinit.c: Likewise.
517 * genpeep.c: Likewise.
518 * genrecog.c: Likewise.
519 * genoutput.c: Likewise. Similarly for function `error'.
520
e9b4fabf
JL
521Sun May 10 02:27:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
522
523 * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
524 * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
525 * configure.in: Use GCC_C_VOLATILE.
526 * system.h (volatile): Define as empty if no volatile support is
527 available.
528
529Sun May 10 01:21:43 1998 Jeffrey A Law (law@cygnus.com)
530
531 * genemit.c (output_add_clobbers): Removed unused variable 'i' from
532 generated fucntion.
533
f283421d
RH
534Sat May 9 02:02:15 1998 Richard Henderson <rth@cygnus.com>
535
536 * loop.c (get_condition): Don't combine when either compare is MODE_CC.
537 * alpha.c (alpha_emit_conditional_branch): New function. Taken from
538 the body of beq; additionally set the mode of the branch to CCmode for
539 FP compares and not fast_math.
540 (alpha_emit_conditional_move): Always use a compare insn for FP
541 when not fast_math, as well as setting CCmode on the cmov.
542 * alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
543
544 * machmode.h (COMPLEX_MODE_P): New macro.
545
53c0919d
RH
546Sat May 9 01:53:23 1998 Richard Henderson <rth@cygnus.com>
547
548 * haifa-sched.c (print_exp): Fix typo.
549
23d297ab
JL
550Fri May 8 21:48:50 PDT 1998 Jeff Law (law@cygnus.com)
551
552 * version.c: Bump for snapshot.
553
cf879efa
MM
554Fri May 8 18:23:08 1998 Michael Meissner <meissner@cygnus.com>
555
556 * final.c (final_scan_insn): Call fatal_insn instead of abort if
557 we could not split an insn when required to.
558
5b8ae21f
MM
559 * m32r.md ({add,sub}di3): Add define_splits and appropriate low
560 level insns.
561 (peepholes): Disable peepholes that call dead_or_set_p.
562 (movsi): Rewrite to handle addresses better after last change.
563 Add define_split to split load of addresses in large/medium modes.
564 (prologue): Call m32r_expand_prologue.
565 (movsi_{push,pop}): Generators for push/pop.
566 (movsi): Support PRE_{INC,DEC}, POST_INC.
567 (mov{di,df}): Rewrite. Always split the insns.
568 (movsf): Add define_split to get register load in correct mode.
569 (cmp_ne_small_const_insn): Use 'N' instead of 'S' constraint.
570 (attributes): Rewrite attributes so that type indicates both the
571 type and the length of the insn directly.
572 (all insns): Change to use new type attributes.
573 (debug): New attribute to convey whether -mdebug was used.
574 (opt_space): New attribute to convey whether -Os was used.
575 (function units): Loads are 3 cycles, not 2. Better classify all
576 insns into short/long.
577 (load/store/extend insns): Add separate case for load/store
578 indirect operations without an offset.
579 (divsi3): Division is a long operation, not short.
580
581 * m32r.h (LEGITIMATE_LO_SUM_ADDRESS_P): Do not allow LO_SUM for
582 modes > 1 word.
583 (GO_IF_MODE_DEPENDENT_ADDRESS): LO_SUM is now mode dependent.
584 (CONST_OK_FOR_LETTER_P): Make 'N' handle reverse 8 bit compares.
585 (EXTRA_CONSTRAINT): Remove 'S' special support. Add 'U' for
586 operands with PRE_{INC,DEC}, POST_INC.
587 (FUNCTION_PROFILER): Call abort instead of doing nothing.
588 (GO_IF_LEGITIMATE_ADDRESS): Allow PRE_{INC,DEC}, POST_INC of
589 SImode variables.
590 (gen_split_move_double): Declare.
591 (EXTRA_CONSTRAINT): Add 'T' for memory reference with no offset.
592
593 * m32r.c (gen_split_move_double): Fix typo. Also, don't call
594 emit_move_insn, build up SET's directly.
595 (toplevel): Include system.h, not stdio.h.
596 (move_double_src_operand): Allow any DF or DI mode constant.
597 (gen_split_move_double): Split moves of DI or DF values into the
598 appropriate moves, loads, or stores. Don't handle use of auto
599 inc/dec if using dead index. Do handle overlapping moves, etc.
600 (m32r_frame_info): Remove prologue_size field.
601 (m32r_compute_frame_size): Don't calculate prologue size.
602 (m32r_output_function_prologue): Change to pretty much a NOP.
603 (m32r_expand_prologue): Expand prologue as a series of INSNs.
604 (m32r_print_operand): Add support for PRE_{INC,DEC}, POST_INC.
605 (m32r_print_operand_address): Ditto.
606
d7c2e385
L
607Fri May 8 14:13:21 1998 H.J. Lu (hjl@gnu.org)
608
609 * reload1.c (emit_reload_insns): When performing expensive
610 optimizations, do not output the last reload insn if OLD is
611 not the dest of NSN and is in the src and is clobbered by INSN.
612
560bd19e
KG
613Fri May 8 09:47:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
614
615 * Makefile.in (genrtl.o): Depend on system.h.
616 * gengenrtl.c (gencode): When creating genrtl.c, have it
617 include system.h.
618
0d33d22e
AS
619Fri May 8 10:57:33 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
620
621 * config/m68k/t-linux: Remove extra stuff already included in
622 config/t-linux.
623
dea4ae0d
MH
624Fri May 8 09:53:24 Paul Eggert <eggert@twinsun.com>
625
626 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
627 curses.h if it contains `typedef char bool;', as suggested by
628 Manfred Hollstein <manfred@s-direktnet.de>.
629
630 * configure.in: Rename fixinc.math to fixinc.wrap.
631
02e56202
JW
632Thu May 7 19:26:34 1998 Jim Wilson <wilson@cygnus.com>
633
bbeb7b65
JW
634 * gcc.c (read_specs): Handle missing blank line at end of specs file.
635
02e56202
JW
636 * i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
637 movdfcc_1): Disable.
638
e445171e
JW
639Thu May 7 15:39:14 1998 Jim Wilson <wilson@cygnus.com>
640
641 * configure.in (enable_threads): Rename to enable_threads_flag before
642 main loop. Set enable_threads to enable_threads_flag inside main
643 loop.
644
a1b5a7e1
MM
645Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
646
647 * r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
648 multiple times.
649
76b4b31e
KG
650Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
651
652 * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
653
654 * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
655 (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
656 (AC_CHECK_FUNCS): Remove unused check for vprintf.
657
658 * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
659 (cccp.o): Depend on gansidecl.h.
660 (cexp.o): Likewise.
661
662 * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
663 per the rest of gcc source.
664 * cexp.y: Likewise. Include gansidecl.h and remove all code made
665 redundant.
666
667 * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
668 used when vfprintf is missing.
669 * cexp.y: Likewise.
670 * gcc.c: Likewise.
671 * genattrtab.c: Likewise.
672 * mips-tfile.c: Likewise.
673 * toplev.c: Likewise.
674
675 * vfprintf.c: New file.
676 * doprint.c: New file.
677
bebc4663
JL
678Thu May 7 10:18:41 1998 Jeffrey A Law (law@cygnus.com)
679
680 * config/linux.h (ASM_COMMENT_START): Remove from here,
681 * config/linux-aout.h (ASM_COMMENT_START): and here,
682 * config/i386/linux.h (ASM_COMMENT_START): to here,
683 * config/i386/linux-aout.h (ASM_COMMENT_START): and here.
684 * config/i386/linux-oldld.h (ASM_COMMENT_START): Define
685 here as '#' too.
686
436bf9fb
AS
687Thu May 7 10:55:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
688
689 * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
690 constant.
691
f103890b
RL
692Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
693
694 * Makefile.in (dwarfout.o) Add toplev.h dependency.
695 * dwarfout.c, i386.c: Include toplev.h
696 * toplev.h: (pfatal_with_name) Add prototype.
697
024b5658
JM
698Wed May 6 19:02:29 1998 Jason Merrill <jason@yorick.cygnus.com>
699
700 * Makefile.in: Fix .SUFFIXES.
701
410c3875
AM
702Wed May 6 19:31:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
703
704 * config/linux.h (ASM_COMMENT_START): Define as "#".
705 * config/linux-aout.h (ASM_COMMENT_START): Likewise.
706
7e073314
JW
707Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
708
71ebb3b8
JW
709 * objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
710 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
711
a0c8e1b2
JW
712 * toplev.c: Include toplev.h.
713 * Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
714 c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
715 dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
716 hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
717 reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
718 toplev.h dependency.
719
1b15c5de
JW
720 * mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
721 HARD_FRAME_POINTER_REGNUM.
722
7e073314
JW
723 * expr.c (target_temp_slot_level): Delete duplicate definition.
724
d06eab0d
JL
725Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
726
df03cab5 727 * stmt.c (mark_seen_cases): Make it have external linkage again.
0586a4ce
JL
728 * expr.h (mark_seen_cases): Add declaration, but only when tree.h
729 has been included.
df03cab5 730
6b879bcc
JL
731 * haifa-sched.c (print_value, case SUBREG): Fix typo.
732
6b28fd63
JL
733 * i386.c (output_387_binary_op): Add some braces to avoid warnings.
734 * i386.h (REG_CLASS_CONTENTS): Similarly.
735
cc132865
JL
736 * toplev.c (-fsched-max): Delete flag.
737 (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
738 * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
739 and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
740 conditionals.
741
742 * haifa-sched.c (find_rgns): Correctly handle reducible loops with
743 inner loops which are not reducible.
744
fd4a1ca5
JL
745 * loop.c (regs_match_p): Fix typo in prototype.
746
d06eab0d
JL
747 * regmove.c (try_auto_increment): Wrap declaration inside an
748 #ifdef AUTO_INC_DEC.
749
31bfbf1f
MM
750Wed May 6 17:07:47 1998 Michael Meissner <meissner@cygnus.com>
751
752 * final.c (output_operand_lossage): Call fatal with the operand
753 lossage message instead of calling abort.
754
e9a780ec
KG
755Wed May 6 15:37:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
756
757 * c-common.c: Convert to using ctype macros defined in system.h.
758 * c-lex.c: Likewise.
759 * cccp.c: Likewise.
760 * collect2.c: Likewise.
761 * rs6000.c: Likewise.
762 * cpplib.c: Likewise.
763 * fix-header.c: Likewise.
764 * gcc.c: Likewise.
765 * gen-protos.c: Likewise.
766 * pexecute.c: Likewise.
767 * protoize.c: Likewise.
768 * rtl.c: Likewise.
769 * scan.c: Likewise.
770 * stmt.c: Likewise.
771 * tlink.c: Likewise.
772 * toplev.c: Likewise.
773
d4c3e60e
GK
774Wed May 6 14:44:14 1998 Gavin Koch <gavin@cygnus.com>
775
776 * config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
777 Replace -gdwarf-2 with -g0.
778
90fbb8c9
KG
779Wed May 6 11:43:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
780
781 * Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
782 * mips-tdump.c: Include system.h, remove redundant headers.
783 * mips-tfile.c: Likewise. Also, convert all ctype function calls
784 to calls of the macro versions defined in system.h.
785
786 * objc/Make-lang.in (objc-act.o): Depend on system.h.
787 * objc/objc-act.c: Include system.h, remove redundant headers.
788
8f81384f
KG
789Wed May 6 11:21:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
790
791 * configure.in (AC_CHECK_FUNCS): Add isascii.
792 (GCC_NEED_DECLARATIONS): Add atof.
793
794 * system.h: Provide prototypes for abort, atof, atol and sbrk here.
795 * rtl.c, rtl.h, toplev.c, tree.h: Not here.
796
e572c0c6
KG
797Wed May 6 10:52:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
798
799 * system.h: Wrap time.h and sys/file.h in autoconf checks.
800 Provide default definitions for O_RDONLY and O_WRONLY here.
801
802 * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
803
8830da36
MM
8041998-05-06 Mark Mitchell <mmitchell@usa.net>
805
806 * tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
807
c5ff95e6
RL
808Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
809
810 * toplev.h: New file. Protypes for functions in toplev.c.
811 * tree.h, rtl.h: Deleted protos for functions in toplev.c.
812 * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
813 c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
814 convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
815 function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
816 reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
817 varasm.c: include it.
818
15ebe47d
JL
819Wed May 6 01:09:01 1998 Jeffrey A Law (law@cygnus.com)
820 Jim Wilson (wilson@cygnus.com)
821
822 * haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
823 blocks. Check for 1 successor which is the EXIT_BLOCK.
824
825 * haifa-sched.c (find_rgns): Detect unreachable blocks, including
826 unreachable loops with more than one block.
827
dbbfa8c8
MH
828Wed May 6 08:22:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
829
830 * fix-header.c (write_rbrac): Add "abort" to functions which need to
831 be protected.
832
f5963e61
JL
833Wed May 6 00:09:36 1998 Jeffrey A Law (law@cygnus.com)
834
835 * Check in merge from gcc2. See ChangeLog.12 for details.
836
3d90c2b5
JW
837Tue May 5 14:33:49 1998 Jim Wilson <wilson@cygnus.com>
838
c6a9dea8
JW
839 * c-common.c (scan_char_table): Separate 's' and 'c'. 'c' does not
840 accept 'a' flag. 'S' does accept 'a' flag.
841 (check_format_info): When pedantic, warn for m/C/S/a/A formats,
842 and `a' flag.
843
3d90c2b5
JW
844 * elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.
845
97b57a81
AS
846Tue May 5 10:50:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
847
848 * config/m68k/m68k.h: Declare functions from m68k.c used in
849 macros and machine description.
850 (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
851 long values.
852 (ASM_OUTPUT_FLOAT): Likewise.
853 (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
854
c5c63738
JM
855Tue May 5 01:28:12 1998 Jason Merrill <jason@yorick.cygnus.com>
856
857 * tree.def: Add NAMESPACE_DECL.
858 * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
859 * dwarf2out.c (push_decl_scope): Likewise.
860 (scope_die_for): Likewise.
861 * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
862 how to get next context level.
863
2e14a41b
JW
864Tue May 5 01:43:16 1998 Jim Wilson <wilson@cygnus.com>
865
866 * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
867 case.
868
f78c792c
JL
869Tue May 5 01:15:06 1998 Jeffrey A Law (law@cygnus.com)
870
8b05263d
JL
871 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
872
f78c792c
JL
873 * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
874 for any insns skipped at the start of a block because they were
875 redundant.
876
4330b0e7
JW
877Mon May 4 20:23:51 1998 Jim Wilson <wilson@cygnus.com>
878
879 * alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.
880
b57062ca
UD
8811998-05-04 Ulrich Drepper <drepper@cygnus.com>
882
883 * c-common.c (format_char_info): Add new field hhlen.
884 (print_char_table, scan_char_table, time_char_table): Initialize
885 hhlen field appropriately.
886 (char_format_info): Recognize hh modifier and lookup correct char
887 table entry.
888
06eaa86f
JW
889Mon May 4 19:15:29 1998 Jim Wilson <wilson@cygnus.com>
890
891 * expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
892 reference if this is a store.
893
9ed5dc54
RH
894Mon May 4 17:25:17 1998 Richard Henderson <rth@cygnus.com>
895
896 * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
897
fb6d9312
RL
898Sun May 3 23:57:25 1998 Robert Lipe <robertl@dgii.com>
899
900 Make UnixWare 7 bootstrap support work with final shipping product.
b57062ca 901 * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
fb6d9312
RL
902 Pick up xm-siglist and xm-alloca.
903 (xm_defines): Add USG so dbxout will build.
904 * configure: Regenerate.
905
82d6b402
RH
906Sun May 3 13:51:34 PDT 1998 Richard Henerson <rth@cygnus.com>
907
908 Support for official Sparc V9 ABI:
909 * sparc.c (sparc_override_options): Force stack bias off for !arch64.
910 Care for flag_pcc_struct_return default.
911 (output_move_quad): Rewrite to move by halves on v9 and in the
912 proper direction.
913 (move_quad_direction): New function.
914 (output_fp_move_quad): Use it to determine the direction of copy.
915 (function_arg_slotno): Return -1 for FP reg overflow as well.
916 (function_arg_record_value*): New functions.
917 (function_arg): Use them. Streamline unprototyped parameter passing.
918 (function_arg_pass_by_reference): Pass TCmode by reference.
919 (function_value): New function.
920 * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
921 long long in 64-bit mode.
922 (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
923 (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
924 (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
925 (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
926 (BASE_INCOMING_ARG_REG): Likewise.
927 (FUNCTION_VALUE): Call function_value.
928 (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
929 * sparc.md (movdi_sp32_v9): Disable for arch64.
930 (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
931 (call_value_address_sp64): Remove register class constraints.
932 (call_value_symbolic_sp64): Likewise.
933 (nonlocal_goto): Pass label reg directly to goto_handlers. Constrain
934 v9 case to 32-bit constants.
935 (goto_handler_and_restore_v9): Provide a version for arch64.
936 * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
937 * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
938 (CPP_PREDEFINES): New.
939 * sparc/sp64-elf.h: Likewise.
940 (PREFERRED_DEBUGGING_TYPE): Dwarf2.
941 (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
942 * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.
943
e40abc32
JL
944Sat May 2 17:47:17 PDT 1998 Jeff Law (law@cygnus.com)
945
946 * version.c: Bump for snapshot.
947
b60a8416
R
948Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
949
950 * reload.c (find_reloads): Emit USEs to mark where a pseudo
1e89ac8a 951 is reloaded with the MEM of its stack slot.
b60a8416
R
952 * reload1.c (cannot_omit_stores): Delete.
953 (reload): Don't initialize it.
954 Don't apply avoid_return_reg logic to USEs.
955 When done, remove USEs that have a REG_EQUAL note on them.
956 (emit_reload_insns): Handle case where we have inherited a MEM.
4d3eb414 957 (choose_reload_regs): Likewise.
b60a8416
R
958 (delete_output_reload): Don't use cannot_omit_stores.
959
c1879238
JW
960Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
961
962 * Makefile.in (cpp.info, gcc.info): Put -o option before input file.
963
459b3825
MM
964Thu Apr 30 16:57:34 1998 Michael Meissner <meissner@cygnus.com>
965
966 * haifa-sched.c (print_{exp,value}): Various changes to make the
967 debug output easier to read. Also, use only one buffer, and make
968 sure the buffer we are passed in doesn't overflow.
969 (safe_concat): Concatenate to a buffer without overflow.
970
971Thu Apr 30 16:57:34 1998 Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
972
973 * haifa-sched.c (alloc_{INSN,EXPR}_LIST): Make static to agree
974 with the prototype.
b57062ca 975
93da030f
R
976Wed Apr 29 21:45:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
977
978 * sched.c (new_insn_dead_notes): Check if the register was
979 used in the original instruction.
980 * haifa-sched.c (new_insn_dead_notes): Likewise.
981
0c84c618
JW
982Wed Apr 29 13:46:03 1998 Jim Wilson <wilson@cygnus.com>
983
984 * dwarf2out.c (scope_die_for): If could not find proper scope,
985 check for and handle tagged type with incorrect TYPE_CONTEXT.
986
bf5f0e90
JC
987Wed Apr 29 15:34:40 1998 John Carr <jfc@mit.edu>
988
989 * calls.c (expand_call): Fix recognition of C++ operator new.
990
991 * alias.c (mode_alias_check): Disable type based alias detection.
992
a0281dae
GK
993Wed Apr 29 15:06:42 1998 Gavin Koch <gavin@cygnus.com>
994
995 * config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
996 ASM_OUTPUT_WEAK_ALIAS): Define.
997 * config/mips/elf64.h: Same.
998 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
999 ASM_WEAKEN_LABEL): Removed.
1000
55666054
AS
1001Wed Apr 29 10:53:29 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1002
1003 * calls.c (expand_call): Bump the length limit on the specially
1004 recognized function names to 17.
1005
2cea586a
JW
1006Tue Apr 28 17:53:33 1998 Jim Wilson <wilson@cygnus.com>
1007
f60d6248
JW
1008 * ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
1009 when undefining macros at the end.
1010
bf931ec8
JW
1011 * expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
1012 val or len has TREE_SIDE_EFFECTS set.
1013
2cea586a
JW
1014 * sparc.md (mulsidi3): Call const v8plus and v8plus routines.
1015 (mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
1016 (smuldi3_highpart): Call const v8plus routine.
1017 (smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
1018 (const_smulsi3_highpart_v8plus): New pattern.
1019 (smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
1020 (umulsidi3): Call const v8plus routine.
1021 (umulsi3_highpart): Handle const before v8plus. Call const v8plus
1022 routine.
1023 (umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
1024 (umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.
1025
2b7972b0
MM
1026Tue Apr 28 08:55:26 1998 Michael Meissner <meissner@cygnus.com>
1027
1028 * m32r.c (*_oper{and|ator}): Change enum arguments and return
1029 values to int, so they can be prototyped even in files that don't
1030 include rtl.h.
1031 ({small,large}_insn_p): Ditto.
1032 (m32r_select_cc_mode): Ditto.
1033 (gen_compare): Ditto.
1034 (function_arg_partial_nregs): Ditto.
1035 (m32r_setup_incoming_varargs): Ditto.
1036 (init_reg_tables): Add prototype.
1037 (m32r_frame_info): Add prolog_size field.
1038 (m32r_compute_frame_size): Calculate the size of the prologue.
1039 (m32r_first_insn_address): Return prologue size.
1040 (m32r_output_function_prologue): Calculate frame size before
1041 printing out information. Print out the prologue size.
1042
1043 * m32r.h: Prototype all functions in m32r.c.
1044 (FIRST_INSN_ADDRESS): Declare, returning prologue size.
1045
1046 * m32r.md (bcc functions): Cast enum's to int.
1047
1048 * m32r.c (conditional_move_operand): Silence a debug message.
1049 ({small,long}_insn): New predicates.
b57062ca 1050
2b7972b0
MM
1051 * m32r.h (TARGET_M32R): New macro.
1052 (PREDICATE_CODES): Rearrange somewhat, add small_insn/long_insn.
1053 (HAIFA_P): Define as 1/0 depending on whether the Haifa scheduler
1054 was selected.
1055 (ISSUE_RATE): Define as 2.
1056
1057 * m32r.md (insn_size): New attribute.
1058 ({,rev_}branch_insn): Add .s qualifier to branches believed to be
1059 short.
1060 (m32r): New attribute.
1061
1062 * configure.in (enable_haifa): Switch m32r to Haifa by default.
1063 * configure: Regenerate.
1064
1065 (Changes from Nick Clifton <nickc@cygnus.com>)
1066 * m32r.h (EXTRA_CONSTRAINT): Implement 'S' constraint to perfoirm
1067 the equivalent of a negated 'I' constraint.
1068 (PRESERVE_DEATH_INFO_REGNO_P): Define in order to allow peephole
1069 optimisation to work.
1070
1071 * m32r.md (cmp_ne_small_const_insn): Use 'S' constriant rather
1072 than 'I' since the value is negated.
1073 (peephole): Add peephole optimisation to cope with optimization of
1074 divide and subtracts of the same operands.
1075
1076 * m32r.c zero_and_one, emit_cond_move): Add support for MVFC.
b57062ca 1077 * m32r.h: Ditto.
2b7972b0
MM
1078 * m32r.md: Ditto.
1079
1080 * m32r.h (PREDICATE_CODES): Add declaration of machine specific
1081 predicates.
1082
bd55c374
MH
1083Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
1084
1085 * Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
1086
3a6bd8c0
NC
1087Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
1088
1089 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
1090 frame_pointer_rtx not FRAME_POINTER_REGNUM.
1091
0628fde6
JW
1092Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
1093
561cf7b1
JW
1094 * reg-stack.c: Revert last patch (Apr 20).
1095 (convert_regs): Set insn to PREV_INSN (next) after do while loop.
1096
1688d6d2
JW
1097 * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
1098
0628fde6
JW
1099 * loop.c (check_dbra_loop): New locals jump, first_compare, and
1100 compare_and_branch. Call get_condition to set first_compare.
1101 Set compare_and_branch to number of compare/branch instructions.
1102 Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
1103 Replace '2' with compare_and_branch.
1104
07623417
AM
1105Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1106
1107 * cplus-dem.c (demangle_qualified): Replace missing else.
1108
97d6fd65
R
1109Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1110
1111 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
1112
3d5a0820
R
1113Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1114
1115 * sh.c (sh_expand_prologue, sh_expand_epilogue):
1116 If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
1117 * sh.h (STACK_BOUNDARY): Likewise.
1118
ef41dabb
R
1119Mon Apr 27 17:22:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1120
1121 * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1122
14bf4a33
MM
1123Mon Apr 27 08:55:23 1998 Michael Meissner <meissner@cygnus.com>
1124
22c4957e
MM
1125 * system.h (abort): If abort is not defined, and neither is
1126 USE_SYSTEM_ABORT, redefine abort to call fprintf and exit,
1127 reporting the line and filename of the error.
1128
1129 * .gdbinit: Add breakpoints on exit and fancy_abort.
1130
563c063f
MM
1131 * final.c (split_double): Avoid a compiler warning if
1132 BITS_PER_WORD is less than or equal to HOST_BIT_PER_WIDE_INT.
1133
14bf4a33
MM
1134 * rtl.h (JUMP_{CROSS_JUMP,NOOP_MOVES,AFTER_REGSCAN}): New macros
1135 for calling jump_optimize.
1136
1137 * toplev.c (rest_of_compilation): Call jump_optimize using JUMP_*
1138 macros, rather than 0/1's.
1139
5d02ee66
RH
1140Sun Apr 26 23:19:10 1998 Richard Henderson <rth@cygnus.com>
1141
1142 * alpha.h (CONST_COSTS): Zero is always free.
1143 (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
1144
7bf40741
AS
1145Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1146
1147 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
1148 length in the name of a virtual table.
1149
556ccd9b
RH
1150Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
1151
1152 * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
1153
1206d294
JL
1154Sat Apr 25 22:11:38 PDT 1998 Jeff Law (law@cygnus.com)
1155
1156 * version.c: Bump for snapshot.
1157
4f242db3
JL
1158Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com)
1159
1160 * fold-const.c (fold_convert): Fix typo.
1161
de12be17
JC
1162Sat Apr 25 17:55:54 1998 John Carr <jfc@mit.edu>
1163
1164 * alias.c (alias_invariant): New variable.
1165 (record_base_value): New argument INVARIANT.
1166 (memrefs_conflict_p): If a register has an entry in the alias_invariant
1167 array, try substituting that value for the register.
1168
1169 * rtl.h: Declare record_base_value.
1170
1171 * loop.c, unroll.c: Update callers of record_base_value.
1172
1173 * alias.c (find_base_value, find_base_term): SIGN_EXTEND and
1174 ZERO_EXTEND do not affect base values.
1175
fe81dd69
JL
1176Fri Apr 24 15:57:02 1998 Jeffrey A Law (law@cygnus.com)
1177
fb2c5c00
JL
1178 * dbxout.c (dbxout_type): Fix typo.
1179 (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
1180
fe81dd69
JL
1181 * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
1182
87d1ea79
JC
1183Fri Apr 24 16:11:47 1998 John Carr <jfc@mit.edu>
1184
1185 * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
1186 if the argument is the address of a structure or array.
1187
1188 * configure.in: Enable Haifa scheduler by default for SPARC.
1189
e89d3e6f
R
1190Fri Apr 24 20:55:47 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1191
1192 * cse.c (cse_set_around_loop): Don't do optimization when
1193 new pseudos are created.
1194
442f4018
JL
1195Fri Apr 24 11:00:18 1998 Jeffrey A Law (law@cygnus.com)
1196
1197 * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
1198 appropriately.
1199 (dbxout_type_method_1, dbxout_type): Likewise.
1200 (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
1201 (dbxout_type): Fix check for when to print a type range in
1202 octal vs decimal.
1203
7174c937
R
1204Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1205
1206 * (gen_shl_and, in case 1): Fix comparison with mask.
1207
0b812758
NC
1208Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
1209
1210 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
1211 pointer as second register in REG+REG pair.
1212
753a73c8
KG
1213Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1214
1215 * c-common.c (check_format_info): Don't check for the 'x' format
1216 character twice, instead check for 'x' and 'X'
1217
4a1991b3
MH
1218Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
1219
1220 * Makefile.in (libgcc2.ready): Add explicit dependancy from
1221 $(STMP_FIXPROTO) to ensure all necessary include files have
1222 been created and to guarantee proper parallel builds.
1223
aec373f1
R
1224Fri Apr 24 04:42:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1225
1226 * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
1227 register for stdarg functions.
1228 * sh.h (current_function_varargs): Declare.
1229 (FUNCTION_ARG): Ignore NAMED for stdarg functions.
1230
f5880dbe
JW
12311998-04-23 Jim Wilson <wilson@cygnus.com>
1232
f1f53f0b
JW
1233 * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
1234 inhibit_libc is defined.
1235
f5880dbe
JW
1236 * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
1237
8ade1519
JW
1238Thu Apr 23 19:09:33 1998 Jim Wilson <wilson@cygnus.com>
1239
1240 * profile.c (tablejump_entry_p): New function.
1241 (branch_prob): Add code to recognize MIPS tablejump entry branch.
1242 Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
1243
a2538ff7
NC
1244Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
1245
1246 * config/arm/arm.c (find_barrier): Return as soon as a barrier is
1247 found, rather than at end of the loop, after the insn has been
b57062ca 1248 changed.
a2538ff7 1249
d0c42859
R
1250Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1251
1252 * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
1253 * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
1254
693e265f
MM
1255Wed Apr 22 17:07:35 1998 Michael Meissner <meissner@cygnus.com>
1256
1257 * loop.c (note_addr_stored): Correct function to take 2 arguments,
1258 instead of 1.
1259
1260 * rtl.def (MATCH_INSN2): Add new matching pattern.
b57062ca 1261 * genrecog.c (add_to_sequence): Support MATCH_INSN2.
693e265f 1262
27eef9ce
JC
1263Wed Apr 22 15:52:22 1998 John Carr <jfc@mit.edu>
1264
1265 * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
1266 if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
b57062ca 1267
27eef9ce
JC
1268 * final.c (split_double): Sign extend both halves of a split CONST_INT.
1269
d972dd33
JL
1270Wed Apr 22 10:42:45 1998 Jeffrey A Law (law@cygnus.com)
1271
1272 * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
1273
5e5199e8
AM
1274Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1275
1276 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
1277 (cplus_demangle_opname): Call mop_up_squangle.
b57062ca 1278 (cplus_demangle): Initialize squangle info, then call
5e5199e8 1279 internal_cplus_demangle. (Most code moved there as well)
b57062ca 1280 (internal_cplus_demangle): New function, performs most of what use
5e5199e8
AM
1281 to be done in cplus_demangle, but is only called with this file.
1282 (squangle_mop_up): New function to clean up B and K code data.
1283 (mop_up): set pointers to NULL after freeing.
b57062ca 1284 (demangle_signature, demangle_template, demangle_class): Add
5e5199e8
AM
1285 switch elements to handle K and B codes.
1286 (demangle_prefix, gnu_special, demangle_qualified): Add
1287 code to handle K and B codes.
1288 (do_type, demangle_fund_type): Handle B and K codes.
1289 (remember_Ktype): New function to store K info.
1290 (register_Btype, remember_Btype): New functions for B codes.
1291 (forget_B_and_K_types): New function to destroy B and K info.
1292
0dacbd0e
JW
12931998-04-21 Jim Wilson <wilson@cygnus.com>
1294
1295 * stmt.c (check_seenlabel): When search for line number note for
1296 warning, handle case where there is no such note.
1297
4ceb7595
JC
1298Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
1299
1300 * genemit.c (gen_exp): Allow machine description to set mode of
1301 MATCH_OP_DUP.
1302
d09c9385
JC
1303Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
1304
1305 * alias.c (mode_alias_check): New function.
1306 (true_dependence, anti_dependence, output_dependence): Call
1307 mode_alias_check.
1308
1eeed24e
JL
1309Tue Apr 21 12:05:32 1998 Jeffrey A Law (law@cygnus.com)
1310
d1c17572
JL
1311 * mips.h (STACK_BOUNDARY): Allow specific targets to override.
1312 (MIPS_STACK_ALIGN): Similarly.
1313
a6d7e156
JL
1314 * c-common.c (type_for_mode): Handle TI types.
1315 * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
1316 (init_decl_processing): Handle TI types.
1317 * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
1318
1eeed24e
JL
1319 * mips.c (block_move_loop): Test Pmode == DImode instead of
1320 TARGET_MIPS64.
1321 (expand_block_move, save_restore_insns): Likewise.
1322 (function_prologue, mips_expand_prologue): Likewise.
1323 (mips_expand_epilogue): Likewise.
1324 * mips.h (POINTER_SIZE): Allow specific targets to override.
1325 (Pmode): Allow specific targets to override.
1326 (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
1327 (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
1328 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
1329 (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
1330 (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
1331 (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
1332 * mips.md (indirect, tablejump & casesi support): Test for
1333 Pmode == DImode instead of TARGET_MIPS64.
1334 (call patterns): Likewise.
1335
d2f5ef70
KG
1336Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1337
1338 * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
1339 for gen_rtx(MEM, ...).
1340
cb85a2f3
RH
1341Tue Apr 21 02:15:36 1998 Richard Henderson <rth@cygnus.com>
1342
1343 * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
1344 to not be so gross, and to properly function with PIC.
1345
bb27e6c9
JW
1346Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
1347
99b13ed3
JW
1348 * frame.c (heapsort): Rename to frame_heapsort.
1349
bb27e6c9
JW
1350 * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
1351
a9a05945
DE
1352Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
1353
1354 * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
1355
dc0f0eb8
JW
1356Mon Apr 20 15:04:14 1998 John Wehle (john@feith.com)
1357
1358 * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
1359 operands during and after reload.
1360
95707627
R
1361Mon Apr 20 22:37:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1362
ba70e85a
JR
1363 * final.c (shorten_branches, init_insn_lengths): Move code
1364 to free label_align, uid_shuid, insn_lengths, insn_addresses
1365 and uid_align from the former function into the latter one;
1366 Add code to clear these variables.
1367 * sh.h (label_align): Remove declaration.
95707627 1368
0cd355fe
MM
1369Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
1370
763d7ce8
MM
1371 * gcc.c (lang_specific_driver): Declare prototype properly so
1372 fatal can be passed to it without error.
1373
f55b1ca8
MM
1374 * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
1375 * configure: Regenerate.
1376 * config.in: Add #undef's for strchr and strrchr.
1377
1378 * protoize.c (toplevel): If we have rindex, but not strrchr, map
1379 rindex to strrchr.
1380 (file_could_be_converted): Use strrchr, not rindex since rindex is
1381 not defined on Linux systems when _POSIX_SOURCE is defined.
1382 (file_normally_convertible): Ditto.
1383 (process_aux_info_file): Ditto.
1384 (main): Ditto.
1385
0cd355fe
MM
1386 * rs6000.md (mov{sf,df} define_splits): When splitting a move of
1387 a constant to an integer register, don't split the insns that do
1388 the simple AND and OR operations, rather just split each word, and
1389 let the normal movsi define split handle it further.
1390
a0798779
R
1391Mon Apr 20 18:19:40 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1392
1393 * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
1394 (split_branches): Call init_insn_lengths.
1395
ced8dd8c
MM
1396Mon Apr 20 07:37:49 1998 Michael Meissner <meissner@cygnus.com>
1397
1398 * i386.c: Include expr.h to get the change_address prototype
1399 declared.
b57062ca 1400
f37eb5cb
L
1401Mon Apr 20 01:00:05 1998 H.J. Lu (hjl@gnu.org)
1402
1403 * reg-stack.c (subst_asm_stack_regs): Change to return the last
1404 new insn generated by this function.
1405 (subst_stack_regs): Likewise.
1406 (convert_regs): Record the last newly generated insn and use
1407 it for change_stack () instead of INSN.
1408
49fb8382
MH
1409Sun Apr 19 15:41:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
1410
1411 * fix-header.c (enum special_file): Undefine enumerators if they
1412 are already defined by include files.
1413 * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
1414 macro with '__' to not pollute user namespace.
1415
c6a754f2
RH
1416Sun Apr 19 02:42:06 1998 Richard Henderson <rth@cygnus.com>
1417
1418 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
1419
399cc148
JL
1420Sat Apr 18 23:52:35 PDT 1998 Jeff Law (law@cygnus.com)
1421
1422 * version.c: Bump for snapshot.
1423
84b77fba
JW
1424Sat Apr 18 18:30:22 1998 Jim Wilson <wilson@cygnus.com>
1425
07415a17
JL
1426 * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
1427
84b77fba
JW
1428 * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
1429 Add missing -Dpentium* options.
1430 (CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
1431 instead of CPP_CPU_DEFAULT.
1432 (EXTRA_SPECS): Add entry for cpp_cpu_default.
1433
db72d7a1
DE
1434Sat Apr 18 19:06:59 1998 David Edelsohn <edelsohn@mhpcc.edu>
1435
1436 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
1437 negative in a stackless frame.
1438 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
1439 in stackless frame size. Support 64-bit stackless frame size.
1440 Combine fpmem offset calculations and don't add total_size to
1441 offset if not pushing a stack frame.
1442
a1ecb5ca
JW
1443Sat Apr 18 15:41:16 1998 Jim Wilson <wilson@cygnus.com>
1444
1445 * regmove.c (fixup_match_1): In three places, in flag_exceptions
1446 check, change p to q.
1447
a2a05b0a
JW
1448Sat Apr 18 15:30:49 1998 Jim Wilson <wilson@cygnus.com>
1449
1450 * gcc.c (lang_specific_driver): Add new parm type to prototype.
1451 (added_libraries): New file scope static variable.
1452 (process_command): Initialize added_libraries. Pass it to
1453 lang_specific_driver.
1454 (main): Use added_libraries in check for no input files.
b57062ca 1455
284d86e9
JC
1456Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
1457
1458 * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
1459 code generation. Use 64 bit instructions in 32 bit mode when
1460 possible. Use V9 return instruction. UltraSPARC optimizations.
1461
1462 * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
1463
43be8193
JL
1464Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
1465
ea8693a4
JL
1466 * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
1467 just pass zero. That will work regardless of the size of HARD_REG_SET.
1468
43be8193
JL
1469 * libgcc2.c (__floatdisf): Fix a couple typos.
1470
45df6aea
JW
1471Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>
1472
1473 * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
1474
6cca74ab
GM
1475Fri Apr 17 16:35:35 1998 Greg McGary <gkm@gnu.org>
1476
1477 * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
1478
77e6b0eb
JC
1479Fri Apr 17 14:30:37 1998 John Carr <jfc@mit.edu>
1480
1481 * emit-rtl.c (operand_subword_force): If a register can not be
1482 accessed by words, copy it to a pseudo register.
1483
27f4cfdb
JW
1484Fri Apr 17 14:30:37 1998 Jim Wilson <wilson@cygnus.com>
1485
1486 * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
1487
f4a73984
MM
1488Fri Apr 17 17:01:25 1998 Michael Meissner <meissner@cygnus.com>
1489
1490 * tree.h (mark_seen_cases): Delete declaration.
1491
00769100
JL
1492Fri Apr 17 13:32:20 1998 Jeffrey A Law (law@cygnus.com)
1493
1494 * stmt.c (mark_seen_cases): Make static and add prototype.
1495
2467749d
KG
1496Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1497
1498 * frame.c: Include stdlib.h and unistd.h to possibly get various
1499 function prototypes. The fixproto script guarantees these header
1500 files exist on the target system.
1501 * libgcc2.c: Likewise.
b57062ca 1502
2467749d
KG
1503 * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
1504 __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
1505 function parameters.
1506 * libgcc2.c (__udiv_w_sdiv): Likewise.
1507
74c5186c
JL
1508Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
1509
ac546323
JL
1510 * varasm.c (asm_output_bss): Add prototype.
1511 (asm_output_aligned_bss): Likewise.
1512
1513 * unroll.c (verify_addresses): Add prototype.
1514
1515 * toplev.c: Add many prototypes. Too many to mention here.
1516
1517 * stmt.c (check_seenlabel): Add prototype.
1518
1519 * rtlanal.c (reg_set_p_1): Add prototype.
1520 (reg_set_last_1): Likewise.
1521
1522 * reorg.c (find_dead_or_set_registers): Add prototype.
b57062ca 1523
ac546323
JL
1524 * regmove (try_auto_increment): Add prototype.
1525
1526 * reg-stack.c (pop_stack): Add prototype.
1527
1528 * recog.c (validate_replace_rtx_1): Add prototype.
1529 (find_cosntant_term_loc): Likewise.
1530
a777ae13
JL
1531 * loop.c (regs_patch_p): Add prototype.
1532 (add_label_notes, count_nonfixed_reads): Likewise.
1533 (find_single_use_in_loop): Likewise.
1534 (express_from): Surround prototype with #ifdef.
1535 (giv_sort): Similarly.
1536
1537 * jump.c (mark_modified_reg): Add prototype.
1538
1539 * haifa-sched.c (is_prisky): Add prototype.
1540 (queue_to_ready): Likewise.
1541
1542 * genextract.c (gen_insn): Add prototype.
1543
1544 * genemit.c (max_operand_1): Add prototype.
1545 (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
1546 (gen_expand, gen_explit, output_add_clobbers): Likewise.
1547 (output_init_mov_optab): Likewise.
1548
1549 * genattrtab.c (attr_hash_add_rtx): Add prototype.
1550 (attr_hash_add_string, write_length_unit_log): Likewise.
1551
1552 * genattr.c (init_range): Add prototype.
1553
1554 * combine.c (sets_function_arg_p): Add prototype.
1555
1556 * expr.c (store_constructor_field): Add prototype.
1557 (get_memory_usage_from_modifier): Likewise
1558
1559 * expmed.c (synth_mult): Add prototype.
1560 (choose_multiplier, invert_mod2n): Likewise.
1561
242c13b0
JL
1562 * except.c (push_eh_entry): Add prototype.
1563 (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
1564 (call_get_eh_context, start_dynamic_cleanup): Likewise.
1565 (start_dynamic_handler, can_throw): Likewise.
1566 (output_exception_table_entry, scan_region): Likewise.
1567 (eh_regs, set_insn_eh_region): Likewise.
1568
1ad4f46b
JL
1569 * dwarfout.c (decl_class_context): Add prototype.
1570 (output_inheritance_die, type_ok_for_scope): Likewise.
1571
e822c593
JL
1572 * c-lex.c (skip_white_space_on_line): Add prototype.
1573
70fec650
JL
1574 * alias.c (record_set): Add prototype.
1575 (find_base_term, base_alias_check): Likewise.
b57062ca 1576
1ac4f799
JL
1577 * function.c (assign_outer_stack_local): Make static and add prototype.
1578
a2e68776
JL
1579 * haifa-sched.c (build_control_flow): Accept raw data as inputs
1580 instead of computing it locally. Callers changed.
1581 (find_rgns): Several new arguments. Callers changed.
1582 Generally clean up and comment better. Use dominators to
1583 identify reducible loops. Convert some flag arrays to bitmaps.
1584 Convert most of the code to work on pred/succ lists instead of
1585 an edge table. Add comments for future improvements.
1586 (schedule_insns): Allocate temporary tables for flow data, call
1587 routines to compute flow data and pass it along to children as
1588 arguments.
1589 (debug_control_flow): Delete. Use dump_bb_data instead.
1590
97b1ef1c
JL
1591 * basic-block.h (compute_dominators): Declare.
1592
74c5186c
JL
1593 * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
1594 functions.
1595 * basic-block.h: Declare them.
1596
7ce55772
JW
1597Thu Apr 16 13:45:51 1998 Jim Wilson <wilson@cygnus.com>
1598
1599 * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
1600 no operands.
1601
e88caebd
APB
1602Wed Apr 15 11:33:09 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
1603
1604 * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
1605 Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
1606 node is non NULL. Cache last file name and file name identifier node.
1607
a62e870c
MM
16081998-04-15 Mark Mitchell <mmitchell@usa.net>
1609
1610 * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
1611 the length of an array, not TREE_TYPE.
1612
5e89e58b
JL
1613Wed Apr 15 15:31:34 1998 Jeffrey A Law (law@cygnus.com)
1614
1615 * flow.c (sbitmap_union_of_successors): New function.
1616 * basic-block.h (sbitmap_union_of_successors): Declare it.
1617
df6faf79
JW
1618Wed Apr 15 12:38:03 1998 Jim Wilson <wilson@cygnus.com>
1619
1620 * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
1621 Set gnu_ld to gnu_ld_flag inside main loop.
1622 (gas): Likewise.
1623
5c60e5c0
DB
1624Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
1625
1626 * toplev.c (compile_file): Call init_parse using new interface.
1627 (init_lex): Remove declaration.
1628
1629 * c-lex.c (init_parse): Now returns char* containing filename.
1630
2872409d
JL
1631Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
1632
1633 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
1634
4db83042
MM
1635Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
1636
1637 * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
1638 (gen{extract,peep,opinit,output}): Ditto.
1639
1640 * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
1641 global definition so print-rtl.o can be linked in.
1642 * gen{peep,recog}.c (insn_attr_name): Ditto.
1643
9aeba741
RP
1644Tue Apr 14 07:30:57 1998 K. Richard Pixley <rich@kyoto.noir.com>
1645
1646 * fixincludes: discard empty C++ comments, as found in sys/time.h
1647 on hpux-11.0.
1648
7878eae7
AS
1649Wed Apr 15 10:47:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1650
1651 * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
1652 operand.
1653
fcb7cb6c
JL
1654Wed Apr 15 01:21:21 1998 Jeffrey A Law (law@cygnus.com)
1655
1656 * emit-rtl.c (operand_subword): Rework slightly to avoid
1657 bogus warning from previous change.
1658
47747e53
RH
1659Tue Apr 14 23:39:13 1998 Richard Henderson <rth@cygnus.com>
1660
1661 * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
1662 Nov 8 find_replacement change. Move decls of get_unaligned_address
1663 * alpha.h: ... here.
1664
8450a694
JC
1665Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
1666
7940255d
JC
1667 * function.c (assign_parms): Initialize unsignedp before passing
1668 its pointer to promote_mode.
1669
8450a694
JC
1670 * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
1671 (write_test_expr): Allow MATCH_INSN.
1672
c70afde1
PE
1673Tue Apr 14 21:57:57 1998 Paul Eggert <eggert@twinsun.com>
1674
1675 * install.texi: Update section on warnings that can be safely ignored.
1676
cf877a42
JW
1677Tue Apr 14 14:55:16 1998 Jim Wilson <wilson@cygnus.com>
1678
1679 * mips.md (reload_outdi): Change the scratch mode from DImode to
1680 TImode. New variable scratch, used instead of operand[2] in template.
1681 Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
1682
996d9dac
MM
1683Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
1684
1685 * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
1686
de2d990f
KW
1687Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
1688
1689 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
1690
d5daf098
JL
1691Tue Apr 14 09:02:32 1998 Jeffrey A Law (law@cygnus.com)
1692
6862dfac
JL
1693 * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
1694 (ASM_FINISH_DECLARE_OBJECT): Likewise.
1695
b7cb92ad
JL
1696 * Idea and part of the patch from HJ.
1697 * Makefile.in: auto-host.h renamed from auto-config.h. All references
1698 changed.
1699 (distclean): Remove auto-build.h too.
1700 * configure.in: Rename host autoconf generated file to auto-host.h.
1701 If host != build, then run autoconf to generate auto-build.h for
1702 the build machine and include it in build_xm_files.
1703 Check for wait.h and sys/wait.h.
1704
d5daf098
JL
1705 * combine.c (simplify_rtx, case TRUNCATE): Respect value of
1706 TRULY_NOOP_TRUNCATION.
1707
7d02bbef
JM
1708Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
1709
1710 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
1711
4754172c
CM
1712Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
1713
1714 * invoke.texi (ld options) Include memset requirements
1715 for options -nodstdlib and -nodefaultlibs.
1716
bb72a084
PE
17171998-04-12 Paul Eggert <eggert@twinsun.com>
1718
1719 This change is from an idea suggested by Arthur David Olson.
1720
1721 * c-common.c (decl_attributes, record_function_format,
1722 check_format_info, init_function_format_info):
1723 Add support for strftime format checking.
1724 (enum format_type): New type.
1725 (record_function_format): Now static, and takes value of type
1726 enum format_type instead of int.
1727 (time_char_table): New constant.
1728 (struct function_format_info): format_type member renamed from is_scan.
1729 (check_format_info): Use `warning' rather than sprintf followed by
1730 `warning', to avoid mishandling `%' in warnings.
1731 Change `pedwarn' to `warning', since these warnings do not necessarily
1732 mean the program does not conform to the C Standard, as the code
1733 need not be executed.
1734
1735 * c-tree.h (record_function_format): Remove decl; no longer extern.
1736
1737 * extend.texi: Add documentation for strftime format checking.
1738
1be12a4a
JL
1739Sun Apr 12 20:23:03 1998 Jeffrey A Law (law@cygnus.com)
1740
71922625
JL
1741 * mips/ecoffl.h: Do not include mips.h.
1742 * mips/elf.h: Likewise.
1743
1be12a4a
JL
1744 * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
1745 * mips/ecoff.h: Include "mips/mips.h".
1746
9fe69077
JL
1747Sat Apr 11 22:42:54 PDT 1998 Jeff Law (law@cygnus.com)
1748
1749 * version.c: Bump for snapshot.
1750
c6a26dc4
JL
1751Sat Apr 11 01:24:28 1998 Jeffrey A Law (law@cygnus.com)
1752
1753 * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
1754 (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
1755 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
1756 between loop optimization passes.
1757 * rtl.h: Updated appropriately.
1758
bbb81923
JL
1759Fri Apr 10 22:28:32 1998 Jeffrey A Law (law@cygnus.com)
1760
1761 Reinstall this patch from Jason.
1762 * function.c (push_function_context_to): Don't call init_emit.
1763
29cb1e1f
NC
1764Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
1765
1766 * rtl.c (read_skip_spaces): Prevent infinite loops upon
1767 encountering unterminated comments.
1768
3f518020
JL
1769Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
1770
1771 * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
1772 64x32 cross builds.
4b104d6e
JL
1773
1774 * configure.in: Handle --with-fast-fixincludes.
1775 (fixincludes): If --with-fast-fixincludes, then use a different
1776 fixincludes program by default.
1777 * Makefile.in (fixinc.sh): New rule.
1778
b76c90cf
L
1779Fri Apr 10 00:36:31 1998 H.J. Lu (hjl@gnu.org)
1780
1781 * i386.md (movqi+1): Handle invalid QI register.
1782 (movsf_push-1): Likewise.
1783
2e076ddf
NC
1784Thu Apr 9 16:53:59 1998 Nick Clifton <nickc@cygnus.com>
1785
1786 * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
1787 addresses.
1788 symbolic_memort_operand(), call32_operand(), int8_operand(),
1789 int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
1790 Not used.
1791 uint16_operand(): Made static.
1792
b1d6ccb8
JL
1793Thu Apr 9 01:43:04 1998 Jeffrey A Law (law@cygnus.com)
1794
1795 * calls.c (expand_call): Fix typo.
1796
e56e519d
DB
1797Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
1798
1799 * c-lex.c (finput): New global.
1800 (init_parse): Always included. Handle !USE_CPPLIB using
1801 code originally in compile_file.
1802 (finish_parse): Update for CPPLIB.
1803 * toplev.c (init_parse, finish_parse): Declare.
1804 (finput): Delete variable. Now in front-ends.
1805 (compile_file): Remove code which is now handled by init_parse
1806 which is unconditionally called. Similarly for finish_parse.
1807
85d7aed9
GK
1808Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com>
1809
1810 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
1811 ASM_WEAKEN_LABEL): Add.
1812
574badbc
RH
1813Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com>
1814
1815 * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
1816 * configure.in (alpha-*-linux*): Use them.
1817
bf1e5319 1818Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
b57062ca 1819
bf1e5319
APB
1820 * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
1821 * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
1822 COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
1823 (build_expr_wfl): New prototype declaration.
1824 * tree.c (build_expr_wfl): New function, to build
1825 EXPR_WITH_FILE_LOCATION nodes.
1826 (copy_node): Don't zero TREE_CHAIN if copying a
1827 EXPR_WITH_FILE_LOCATION node.
1828 * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
1829 * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
1830
ee5254ff
JL
1831Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
1832
62db76ee
JL
1833 * configure.in (v850): Use t-v850.
1834 (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
1835
10a998b0
JL
1836 * protoize.c (creat, read, write): Do not declare.
1837
e105f02c
JL
1838 * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
1839 refer to the CODE_LABEL before a dispatch table.
1840
56b2d7a7
JL
1841 * invoke.texi: Add ARC options.
1842
c74c0cff
JL
1843 * gcc.c (proces_command): Improve error message for -o with
1844 either -c or -S.
1845
2d58da15
JL
1846 * i386/x-cygwin32 (CLIB): Link in advapi32.
1847
40ef2fc5
JL
1848 * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
1849 (ASM_IDENTIFY_LANGUAGE): Likewise.
1850
df89b5e7
JL
1851 * i386.md (movqi recognizer): Don't perfom byte increment into
1852 a NON_QI_REG_P.
1853
f09ff199
JL
1854 * configure.in (x86-dg-dgux): Run fixinc.dgux.
1855
df89b5e7 1856 * i370.h: Fix typo in GEN_INT changes.
f962b99f 1857
c3709629
JL
1858 * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
1859 of an empty arglist in prototype.
1860
ee5254ff
JL
1861 * Makefile.in: Remove bytecode crud that crept back in after the
1862 gcc2 merge.
1863
0806342b
BK
18641998-04-08 Brendan Kehoe <brendan@cygnus.com>
1865
1866 * c-lex.h (is_class_name): Fix arg type to be tree, not void.
1867 (make_pointer_declarator, reinit_parse_for_function): Fix typo.
1868
6f734908
RE
1869Wed Apr 8 06:16:45 1998 Richard Earnshaw (rearnsha@arm.com)
1870
1871 * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1872
56c0e996
BS
1873Wed Apr 8 00:44:18 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
1874
1875 * c-lex.c (is_class_name): Delete declaration.
1876 (whitespace_cr): Make static and add prototype.
1877 * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
1878 yylex, get_directive_line): Turn declarations into prototypes.
1879 (position_after_whitespace, check_newline, yyerror,, is_class_name,
1880 forget_protocol_qualifiers, remember_protocol_qualifiers): Add
1881 prototypes.
1882 * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
1883 prototypes.
1884 * gencodes.c (gen_insn): Add prototype.
1885 * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
1886 gen_peephole): Add prototypes.
1887 * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
1888 prototypes.
1889 * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
1890 special_format, find_formats, gendecl, genmacro, gendef, genlegend,
1891 genheader, gencode): Add prototypes.
1892 * genopinit.c (gen_insn): Add prototype.
1893 * genoutput.c (output_prologue, output_epilogue, scan_operands,
1894 process_template, validate_insn_alternatives, gen_insn, gen_peephole,
1895 gen_expand, gen_split, n_occurrences): Add prototypes.
1896 * genpeep.c (gen_peephole): Add prototype.
1897 * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
1898 reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
1899 labels_in_range_p, count_loop_regs_set, note_addr_stored,
1900 loop_reg_used_before_p, scan_loop, replace_call_address,
1901 skip_consec_insns, libcall_benefit, ignore_some_movables,
1902 force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
1903 strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
1904 check_final_value, record_giv, update_giv_derive, basic_induction_var,
1905 simplify_giv_expr, general_induction_var, consec_sets_giv,
1906 check_dbra_loop, express_from, combine_givs_p, combine_givs,
1907 product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
1908 last_use_this_basic_block, record_initial, update_reg_last_use,
1909 iteration_info, analyze_loop_iterations, insert_bct,
1910 instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
1911 into prototypes.
1912
cc46ae8e
JL
1913Tue Apr 7 21:48:52 1998 Jeffrey A Law (law@cygnus.com)
1914
1915 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1916
e7d075bf
KR
19171998-04-07 Ken Raeburn <raeburn@cygnus.com>
1918
1919 * config/mips/mips.c (siginfo): Deleted.
1920 (override_options): Don't install SIGINFO signal handler.
1921
668d07be
JW
1922Tue Apr 7 11:58:04 1998 Jim Wilson <wilson@cygnus.com>
1923
1924 * loop.c (check_dbra_loop): When normalize comparison_val, add check
1925 to verify it is non-negative.
1926
cd36edbd
RH
1927Tue Apr 7 02:01:47 1998 Richard Henderson <rth@cygnus.com>
1928
1929 * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
1930 (alpha_expand_block_clear): Likewise.
1931
e814ca97
RH
1932Mon Apr 6 23:36:01 1998 Richard Henderson <rth@cygnus.com>
1933
1934 * tree.h (sizetype_tab): Fix previous change for K&R.
1935
f1d9e6d2
JL
1936Mon Apr 6 22:23:29 PDT 1998 Jeff Law (law@cygnus.com)
1937
1938 * version.c: Bump for snapshot.
1939
22ec3928
RE
1940Mon Apr 6 23:16:10 1998 Richard Earnshaw (rearnsha@arm.com)
1941
1942 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
1943 Add USG and POSIX to xm_defines.
1944
10da1131
BM
1945Mon Apr 6 21:49:57 1998 Bob Manson <manson@charmed.cygnus.com>
1946
1947 * gcc.c: Add linker spec.
1948 (link_command_spec): Use %(linker) instead of ld.
1949 (main): If collect2 is requested as the linker, see if it exists;
1950 if not, use ld instead.
1951
1952 * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
1953 (ld:) Deleted.
1954 (install-collect2): Install as collect2, not ld.
1955
1956 * configure.in(will_use_collect2): It's named collect2 now.
1957
1958 * collect2: Remove checks to see if we were invoked recursively.
1959 (collect_execute): Use _spawnvp under cygwin32.
1960
a8afd67b
JW
1961Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
1962
1963 * haifa-sched.c (build_control_flow): Set unreachable for block whose
1964 only predecessor is itself.
1965
944fc8ab
KG
1966Mon Apr 6 16:08:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1967
1968 * c-parse.in: Include system.h, and remove stuff now made redundant.
1969 * cccp.c: Likewise.
1970 * cexp.y: Likewise.
1971 * protoize.c: Likewise. Properly check for cpp stringification.
1972
1973 * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
b57062ca 1974 Depend on system.h.
944fc8ab
KG
1975
1976 * objc/Make-lang.in (objc-parse.o): Likewise.
1977
3286ab57
KG
1978Mon Apr 6 14:59:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1979
1980 * gansidecl.h: Check if compiler supports __attribute__. Provide
1981 definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
1982 __attribute__ when its available. Also provide definitions for
1983 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
1984 terms of ATTRIBUTE_PRINTF.
b57062ca 1985
3286ab57
KG
1986 * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
1987 of __attribute__.
1988
d276f2bb
CM
1989Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
1990
1991 * combine.c (can_combine_p): Include successor in volatile test.
1992
64ad9df2
R
1993Mon Apr 6 14:16:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1994
1995 * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
1996 offset_unsigned.
1997
dc544d2c
JL
1998Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
1999
2000 * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
2001 in prototype and definition.
b57062ca 2002
38c413cd
JL
2003Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
2004
2005 * version.c: Bump for snapshot.
2006
59dd0a31
RH
2007Mon Apr 6 00:08:50 1998 Richard Henderson <rth@cygnus.com>
2008
b57062ca 2009 * alpha.c (alpha_expand_block_clear): Add missing offset arg to
59dd0a31
RH
2010 alpha_expand_unaligned_store_words.
2011
f31fce3f
JW
2012Sun Apr 5 21:31:24 1998 John Wehle (john@feith.com)
2013
2014 * i386.md (movsf_push, movsf_mem): Remove.
2015 (movsf_push): Rename from movsf_push_nomove and move in front of
2016 movsf. Use nonmemory_operand predicate and don't bother checking
2017 TARGET_MOVE.
2018 (movsf_push_memory): New pattern.
2019 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
2020 both operands refer to memory then force operand[1] into a register.
2021 (movsf_normal): Change to unnamed pattern.
2022 Likewise for movdf, movxf, and friends.
2023
27ebc03e
JL
2024Sun Apr 5 18:45:51 PDT 1998 Jeff Law (law@cygnus.com)
2025
2026 * version.c: Bump for snapshot.
2027
6ecd4e53 2028Sun Apr 5 16:31:10 1998 Richard Henderson <rth@cygnus.com>
98bd9f0f 2029
6ecd4e53 2030 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
98bd9f0f 2031
b57062ca 2032Sun Apr 5 16:53:37 1998 Don Bowman <don@pixsci.com>
ac08ebd0 2033
6ecd4e53 2034 * configure.in (mips-wrs-vxworks): New target.
ac08ebd0 2035
6ecd4e53 2036Sat Apr 4 23:34:32 PST 1998 Jeff Law (law@cygnus.com)
f4a788ac 2037
f3978531
JL
2038 * expmed.c (synth_mult): The value -1, has no zeros, so it can
2039 never have the form ...011.
2040
f4a788ac
JL
2041 * version.c: Bump for snapshot.
2042
5cb6195d
RH
2043Sat Apr 4 20:16:46 1998 Richard Henderson <rth@cygnus.com>
2044
2045 * i386.c (asm_output_function_prefix, load_pic_register):
2046 Use ASM_GENERATE_INTERNAL_LABEL properly.
2047 (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
2048 (print_operand): Ignore it.
2049 (load_pic_register): Use it for the got load call.
2050 * i386.md (prologue_set_got, prologue_get_pc): Likewise.
2051 (prologue_get_pc_and_set_got): Likewise.
2052 * i386.h: Update print_operand docs.
2053
ce193852
RH
2054Sat Apr 4 19:08:37 1998 Richard Henderson <rth@cygnus.com>
2055
2056 * i386.md (ffssi, ffshi): Rewrite as define_expands.
2057 (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
2058 * i386.c (notice_update_cc): Recognize unspec 5.
2059
0022a940
DMT
2060Sat Apr 4 18:07:16 1998 David Mosberger-Tang (davidm@mostang.com)
2061
2062 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
2063 * alpha.c (print_operand): Handle it.
2064 * alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
2065 for ALPHA_TP_INSN.
2066 (fix_truncdfdi2): Likewise.
2067
896cced4
RH
2068Sat Apr 4 17:42:05 1998 Richard Henderson <rth@cygnus.com>
2069
2070 * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
2071 of these into a single struct, with additional [us]sizetype entries.
2072 * stor-layout.c (set_sizetype): Initialize [us]sizetype.
2073 * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
2074 an array.
2075
8983c716
RH
2076Sat Apr 4 17:04:41 1998 Richard Henderson <rth@cygnus.com>
2077
2078 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
2079
4ed43ff8
RH
2080Sat Apr 4 13:50:01 1998 Richard Henderson <rth@cygnus.com>
2081
2082 * haifa-sched.c (split_block_insns): Don't supress insn splitting
2083 on subsequent passes.
2084
2085 * alpha.c (hard_fp_register_operand): New function.
2086 * alpha.h (PREDICATE_CODES): Add it.
2087 * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
2088 f<-m case and accompanying define_split.
2089 (trapb): Use a unique unspec_volatile number.
2090
8e7bc3cd
RH
2091Sat Apr 4 13:32:08 1998 Richard Henderson <rth@cygnus.com>
2092
2093 * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
2094 from gcc2 merge.
2095
e5e809f4
JL
2096Sat Apr 4 10:23:41 1998 Jeffrey A Law (law@cygnus.com)
2097
2098 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
2099 for details.
2100
2101 * haifa-sched.c: Mirror recent changes from gcc2.
2102
516c2342
JL
2103Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com)
2104
e9eaed43
JL
2105 * Makefile.in (insn*.o): Depend on system.h.
2106
516c2342
JL
2107 * pa.c (output_global_address): Initialize base.
2108 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
2109
7cc34889
MS
21101998-04-03 Mike Stump <mrs@wrs.com>
2111
2112 * gthr.h: Support systems that don't have weak, but have threads.
2113 * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
2114 * gthr-vxworks.h: New file.
2115 * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
2116
52c18286
JW
2117Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
2118
2119 * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
2120
c1ac292d
VM
21211998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
2122
2123 * ginclude/va-i960.h (va_end): Change void * to void.
2124
4cb1caaf
KG
2125Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2126
2127 * Makefile.in (choose-temp.o): Depend on system.h.
2128
2129 * choose-temp.c: Include system.h when IN_GCC.
2130
a9a2595b
JR
2131Thu Apr 2 02:37:07 1998 Joern Rennecke (amylaar@cygnus.co.uk)
2132 Richard Henderson <rth@cygnus.com>
2133
2134 * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
2135 (move_replacements): New function.
2136 * reload.h: Prototype it.
b57062ca 2137
a9a2595b 2138 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
b57062ca 2139
79363e2f
RH
2140Thu Apr 2 01:01:34 1998 Richard Henderson <rth@cygnus.com>
2141
2142 * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
2143 Run fixincludes.
2144
4901a643
RH
2145 * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
2146 (gen_highpart): Likewise.
ce4d78eb
RH
2147 * final.c (alter_subreg): Allow the target to hook by-mode subreg
2148 hard register number changes.
b57062ca 2149
715f9c99
JL
2150Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
2151
4e86caed
JL
2152 * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
2153 rnbitsize, rnmode and rinner.
2154 (make_range): Initialize type.
2155 (fold): Initialize arg0, arg1 and varop.
2156
2157 * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
2158 and regnor.
2159 (expand_function_start): Initialize last_ptr.
2160
2161 * stor-layout.c (layout_record): Initialize desired_align.
2162 (get_best_mode): Initialize unit.
2163
2164 * tree.c (copy_node): Initialize length.
2165
aefdd5ab
JL
2166 * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
2167
2168 * caller-save.c (insert_save_restore): Initialize pat, code and
2169 numregs.
2170
2171 * emit-rtl.c (push_to_sequence): Initialize top.
2172 (push_topmost_sequence): Likewise.
2173
2174 * genattrtab.c (simplify_by_exploding): Initialize defval.
2175
2176 * profile.c (branch_prob): Initialize dest.
2177
2178 * rtl.h (note_stores): Remove duplicate prototype.
2179 (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
2180
2181 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
2182 strings that are not actually lengths.
2183
729da3f5
JL
2184 * genattrtab.c: Make generated file use system.h, instead of
2185 including stdio.h, etc directly.
2186 * genextract.c, genopinit.c, genoutput.c: Likewise.
2187 * genpeep.c, genrecog.c: Likewise
2188
2189 * genoutput.c (process_template): Mark operands in the generated
2190 function as potentially unused if compiling with GNU CC.
2191
2a8034f8
JL
2192 * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
2193
715f9c99
JL
2194 * pa.md (reload peepholes): Remove unused variable "mode".
2195
75d3a15b
NC
2196Wed Apr 1 17:06:19 1998 Nick Clifton <nickc@cygnus.com>
2197
2198 * config/arm/thumb.h: Add super interworking support.
2199 * config/arm/thumb.c: Add super interworking support.
2200 * config/arm/thumb.md: Add super interworking support.
75d3a15b
NC
2201 * config/arm/lib1funcs.asm: Add interworking support.
2202 * config/arm/lib1thumb.asm: Add super interworking support.
75d3a15b
NC
2203 * config/arm/t-semi: Add interworking support.
2204 * config/arm/t-thumb: Add interworking support.
75d3a15b 2205 * config/arm/README-interworking: New file.
b57062ca 2206
63959c22
JW
2207Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
2208
2209 * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
2210 (MD_STARTFILE_PREFIX): Unset.
2211
c651e1e0
MM
22121998-04-01 Mark Mitchell <mmitchell@usa.net>
2213
2214 * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
2215 entity in a local scope.
2216
2217 * fold-const.c (fold): Call truthvalue_conversion for values which
2218 are folded to boolean type.
2219
3a598fbe
JL
2220Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
2221
2222 * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
2223 * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
2224 * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
2225 * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
2226 * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
2227 * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
2228 * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
2229 * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
2230 * md.texi: Likewise.
2231
b5026c50
MH
2232Wed Apr 1 08:33:44 1998 Manfred Hollstein <manfred@s-direktnet.de>
2233
2234 * fixincludes (limits.h): Fix nested comments in Motorola's
2235 limits.h and sys/limits.h.
2236
c8d86b9a
JW
2237Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
2238
1a7cb241
JW
2239 * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
2240 as dest of expand_binop call.
2241
221a9f65
JW
2242 * alpha.md (extzv): Correct check for valid operand[2] values.
2243
a7ebd547
JW
2244 * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
2245 branch.
2246
c8d86b9a
JW
2247 * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
2248
97be8f06
SC
2249Mon Mar 30 13:11:05 1998 Stan Cox <scox@cygnus.com>
2250
2251 * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
2252 For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
b57062ca 2253
97be8f06
SC
2254 * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
2255 cygwin32 can override this to allow both unix and win32 style PATHs.
2256
2257 * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
2258 style environment paths.
b57062ca 2259
b04cd507
KG
2260Mon Mar 30 14:43:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2261
2262 * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
2263 cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
2264 gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
2265 system.h.
b57062ca 2266
b04cd507
KG
2267 * cpphash.c: Include config.h.
2268 * cppalloc.c: Include system.h. Add parameters to various
2269 function prototypes.
2270 * cpperror.c: Likewise.
2271 * cppexp.c: Likewise.
2272 * cpphash.c: Likewise.
2273 * cpplib.c: Likewise.
2274 * cppmain.c: Likewise.
2275 * fix-header.c: Likewise.
2276 * gcov.c: Likewise.
2277 * gen-protos.c: Likewise.
2278 * gengenrtl.c: Likewise.
2279 * halfpic.c: Likewise.
2280 * hash.c: Likewise.
2281 * scan-decls.c: Likewise.
2282 * scan.c: Likewise.
2283
1aa5d112
JW
2284Mon Mar 30 11:06:45 1998 Jim Wilson <wilson@cygnus.com>
2285
2286 * README.gnat: Add lang_print_xnode definition.
2287
e18db50d
AS
2288Mon Mar 30 11:12:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2289
2290 * config/m68k/m68k.c (standard_68881_constant_p): Don't use
2291 fmovecr on the 68060.
2292
c0d45032
JL
2293Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
2294
2295 * genemit.c (DONE): Rework so that it works in the true arm if
2296 an if-else conditional.
2297 (FAIL): Likewise.
2298
31ed227b
JL
2299Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
2300
c3670418
JL
2301 * rs6000.c: Do not include stdioh or ctype.h anymore.
2302
234042f4
JL
2303 * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
2304 $(RTL_H).
2305 (stor-layout.o): Likewise.
2306 * c-typeck.c: Include rtl.h and expr.h.
2307 * stor-layout.c: Likewise.
2308
72e19470
JL
2309 * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
2310 All callers changed.
2311 (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
2312 * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
2313 All callers changed.
2314
40c3a857
JL
2315 * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
2316
c80150b7
JL
2317 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
2318
31ed227b
JL
2319 * tree.h (lang_print_xnode): Provide prototype.
2320
fe776296
JL
2321Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
2322
2323 * version.c: Bump for snapshot.
2324
f1b03ce1
JL
2325Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
2326
3ac2735b
JL
2327 * objc/sendmsg.c (__objc_block_forward): Add braces for return
2328 value if INVISIBLE_STRUCT_RETURN.
2329
f2b147f7
JL
2330 * pa.c (arith_double_operand): Fix parens.
2331
c4fa3460
JL
2332 * haifa-sched.c (print_pattern): Correct arg to sprintf.
2333
f1b03ce1
JL
2334 * Makefile.in (libgcc1.null): Make return type for __foo void.
2335
2e61a5a5
JL
2336Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
2337
ba0b8436
JL
2338 * pa.h: Add declarations for many functions defined in pa.c.
2339
67ac5957
JL
2340 * genpeep.c (main): Remove unused variable 'i' from the generated
2341 file.
2342
c38d8c5b
JL
2343 * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
2344 (gen_split): Likewise.
2345 (main): Rework generated definitions of DONE and FAIL so that they
2346 no longer use gotos. Avoids warnings about unused labels.
2347
d6e6c585
JL
2348 * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
2349 unused "junk" variable.
2350
2e61a5a5
JL
2351 * genattrtab.c (write_complex_function): Add a default case in
2352 generated switch statement to keep -W -Wall quiet.
2353
0b26e56d
NC
2354Sat Mar 28 10:47:21 1998 Nick Clifton <nickc@cygnus.com>
2355
157a620e
NC
2356 * invoke.texi: Document more ARM and Thumb command line options.
2357
0b26e56d
NC
2358 * config/arm/xm-thumb.h: New file.
2359
600a4ce7
CB
2360Sat Mar 28 01:37:33 1998 Craig Burley <burley@gnu.ai.mit.edu>
2361
2362 * stmt.c (expand_expr_stmt): Must generate code for
2363 statements within an expression (gcc's `({ ... )}')
2364 even if -fsyntax-only.
2365
4d1d8045
BS
2366Sat Mar 28 01:06:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2367 Jeffrey A Law (law@cygnus.com)
2368
2369 * basic-block.h (basic_block_computed_jump_target): Declare.
2370 * flags.h: (current_function_has_computed_jump): Declare.
2371 * flow.c: (basic_block_computed_jump_target): Define.
2372 (flow_analysis): Allocate it. Set current_function_has_computed_jump
2373 to 0.
2374 (find_basic_blocks): Set current_function_has_computed_jump and
2375 elements of basic_block_computed_jump_target to 1 as appropriate.
2376 * function.c: (current_function_has_computed_jump): Define.
2377 * global.c (global_conflicts): Don't allocate pseudos into stack regs
2378 at the start of a block that is reachable by a computed jump.
2379 * reg-stack.c (stack_reg_life_analysis): If must restart, do so
2380 immediately.
2381 (subst_stack_regs): Undo change from Sep 4 1997.
2382 (uses_reg_or_mem): Now unused, deleted.
2383 * stupid.c (stupid_life_analysis): Compute
2384 current_function_has_computed_jump.
2385 (stupid_find_reg): Don't allocate stack regs if the function has a
2386 computed goto.
2387 * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
2388 the current function has a computed jump. Use the global value
2389 instead.
2390
56f28b73
JL
2391Sat Mar 28 00:21:37 1998 Jeffrey A Law (law@cygnus.com)
2392
2393 * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
2394 (DWARF2_UNWIND_INFO): Define to zero.
2395
6ed4bb9a
MM
2396Fri Mar 27 16:04:49 1998 Michael Meissner <meissner@cygnus.com>
2397
2398 * gcc.c (set_std_prefix): Add declaration.
2399 (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
2400 suffix, and update the standard prefix prefix.c uses.
2401
2402 * prefix.c (std_prefix): New global to hold default prefix value.
2403 (get_key_value): Change to use std_prefix instead of PREFIX.
2404 (translate_name): Ditto.
2405 (update_path): Ditto.
2406 (get_key_value): Release allocated scratch storage.
2407 (set_std_prefix): New function to reset the standard prefix.
2408
1f3fa20e
R
2409Fri Mar 27 18:08:21 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2410
7daa142b 2411 * sh.c (find_barrier): Fix calculations for alignment increase.
1f3fa20e 2412
d8a0154e
MH
2413Fri Mar 27 08:56:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
2414
2415 * Makefile.in (stmp-fixinc): If we're actually fixing include
2416 files, copy gcc's assert.h into the fixed include dir.
2417 * fixincludes (assert.h): Avoid any attempts to fix a probably
2418 broken system specific assert.h file.
2419 * fixproto (stdlib.h): Make sure, it'll contain a definition of
2420 size_t.
2421
64d3b4ca
JL
2422Fri Mar 27 00:49:46 1998 Jeffrey A Law (law@cygnus.com)
2423
2424 * regclass.c (reg_scan_mark_refs): Be more selective about
2425 when we mark a register with REGNO_POINTER_FLAG.
2426
e6e52be0
R
2427Thu Mar 26 23:00:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2428
2429 reload inheritance improvement:
2430 * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
2431 Change meaning: index is now hard reg number.
2432 (reg_reloaded_valid, reg_reloaded_dead): New variables.
2433 (reload_spill_index): Content is now a hard reg number.
2434 (reload_as_needed): Change to fit new variable meaning.
2435 (forget_old_reloads_1, allocate_reload_reg): Likewise.
2436 (choose_reload_regs, emit_reload_insns): Likewise.
2437
812f2051
R
2438Thu Mar 26 18:34:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2439
2440 * regclass.c (record_reg_classes): '?' increases cost by two.
2441
2442 * reload.c (find_reloads): Double previous costs. Output
2443 reloads cost one unit extra.
2444
2445 * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
2446 boiled down to && ! 0.
2447
2448 * reload.c (find_equiv_reg): Also consider a goal offset from the
2449 frame pointer to be constant.
2450
04d02ece
R
2451Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2452
2453 * sh.h (OPTIMIZATION_OPTIONS): Define.
2454
6f28d3e9
RH
2455Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
2456
2457 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
2458
b09fa787
JL
2459Wed Mar 25 23:53:11 1998 Jeffrey A Law (law@cygnus.com)
2460
2461 * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
2462
a16b4c9c
JW
2463Wed Mar 25 13:40:48 1998 Jim Wilson <wilson@cygnus.com>
2464
2465 * c-common.c (check_format_info): Initialize type, is_type. New local
2466 integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
2467 when pedantic if used with integral format specifier.
2468
c4d38ccb
MM
2469Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
2470
2471 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
2472 direction.
2473 (function_arg_padding): Declare.
2474
2475 * rs6000.c: Include system.h.
2476 (function_arg_padding): Change return type to int, cast enum's to
2477 int.
2478
2479 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
2480 * collect2.c (scan_prog_file): Add explicit braces to avoid
2481 ambiguous `else'.
b57062ca 2482
c4d38ccb
MM
2483 * dbxout.c (dbxout_type_fields): Add braces around empty body in
2484 an if-statement.
2485 (dbxout_type): Likewise.
b57062ca 2486
c4d38ccb
MM
2487 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
2488 `ptt_size' from int to size_t.
2489 (rs6000_file_start): Likewise for `i'.
2490 (rs6000_replace_regno): Add default case in enumeration switch.
2491 (output_epilog): Remove unused variable `i'.
2492 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
2493 and `reg2'.
b57062ca 2494
c4d38ccb
MM
2495 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
2496 initializer.
2497 (get_issue_rate, non_logical_cint_operand): Add prototype.
2498 (rs6000_output_load_toc_table): Ditto.
b57062ca 2499
c4d38ccb
MM
2500 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
2501 `else'.
b57062ca 2502
e98e406f
NC
2503Wed Mar 25 10:05:19 1998 Nick Clifton <nickc@cygnus.com>
2504
2505 * config/arm/thumb.c: New File. Support for ARM's Thumb
b57062ca 2506 instruction set.
e98e406f
NC
2507 * config/arm/thumb.h: New File. Thumb definitions.
2508 * config/arm/thumb.md: New File. Thumb machine description.
2509 * config/arm/tcoff.h: New File. Thumb COFF support.
2510 * config/arm/t-thumb: New File. Thumb makefile fragment.
2511 * config/arm/lib1thumb.asm: New File. Thumb libgcc support functions.
2512
2513 * configure.in: Add Thumb-coff target.
2514 * configure: Add Thumb-coff target.
2515 * config.sub: Add Thumb-coff target.
2516
8cf619da
JW
2517Wed Mar 25 10:30:32 1998 Jim Wilson <wilson@cygnus.com>
2518
2519 * loop.c (scan_loop): Initialize move_insn_first to zero.
2520
fe0714d3
JS
2521Wed Mar 25 01:06:49 1998 Joel Sherrill (joel@OARcorp.com)
2522
2523 * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
2524 * config/i386/rtems.h: Likewise.
2525 * config/i960/rtems.h: Likewise.
2526 * config/m68k/rtems.h: Likewise.
2527 * config/mips/rtems64.h: Likewise.
2528 * config/pa/rtems.h: Likewise.
2529 * config/rs6000/rtems.h: Likewise.
2530 * config/sh/rtems.h: Likewise.
2531 * config/sparc/rtems.h: Likewise.
2532
428be702
RK
2533Wed Mar 25 00:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2534
2535 * pa.c (emit_move_sequence): If in reload, call find_replacement.
2536
ae8c5963
NC
2537Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
2538
2ea9a965
NC
2539 * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
2540
ae8c5963
NC
2541 * collect2.c (find_a_file): Add debugging.
2542 (find_a_file): Test for win32 style absolute paths if
2543 DIR_SERPARATOR is defined.
2544 (prefix_from_string): Add debugging.
2545 (main): Test for debug command line switch at start of program
b57062ca 2546 execution.
ae8c5963 2547 (main): Use GET_ENVIRONMENT rather than getenv().
72cf6902
NC
2548 (prefix_from_env): Use GET_ENVIRONMENT.
2549
050367a3
MM
25501998-03-24 Mark Mitchell <mmitchell@usa.net>
2551
2552 * cplus-dem.c (optable): Add sizeof.
2553 (demangle_template_value_parm): New function containing code
2554 previously found in demangle_template.
b57062ca 2555 (demangle_integral_value): New function which handles complicated
050367a3
MM
2556 integral expressions.
2557 (demangle_template): Use them.
2558
0b93b64e
KG
2559Tue Mar 24 12:13:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2560
2561 * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
2562 genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
2563 genattrtab.o, genoutput.o): Depend on system.h.
b57062ca 2564
0b93b64e
KG
2565 * genattr.c: Include system.h. Add arguments to various function
2566 prototypes. Remove redundant prototype of read_rtx().
2567 * genattrtab.c: Likewise.
2568 * gencodes.c: Likewise.
2569 * genconfig.c: Likewise.
2570 * genemit.c: Likewise.
2571 * genextract.c: Likewise.
2572 * genflags.c: Likewise.
2573 * genopinit.c: Likewise.
2574 * genoutput.c: Likewise.
2575 * genpeep.c: Likewise.
2576 * genrecog.c: Likewise.
2577
bc289659
ML
25781998-03-24 Martin von Loewis <loewis@informatik.hu-berlin.de>
2579
2580 * c-lang.c (lang_print_xnode): New function.
2581 * objc/objc-act.c (lang_print_xnode): Likewise.
2582 * print-tree.c (print_node): Call it
2583
990ac8d7
L
2584Mon Mar 23 23:59:11 1998 H.J. Lu (hjl@gnu.org)
2585
2586 * c-parse.in: Recognize protocol qualifiers in class
2587 definitions for objc.
2588 Include "output.h".
2589 (yyerror): Remove redundant decl.
2590 (yyprint): Fix prototype.
2591
65d98182
JL
2592Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
2593
47a0b68f
JL
2594 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
2595
65d98182
JL
2596 * stmt.c (unroll_block_trees): Free block_vector if needed.
2597
3cac0a21
PDM
2598Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>
2599
4b8bef1d
PDM
2600 * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
2601 (zero_extendsidi2): Avoid useless copy.
2602 (iordi_zext): New pattern.
2603 (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
2604 operand 2.
2605 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
2606
3cac0a21
PDM
2607 * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
2608 (ashldi3): Allow constant shift count in range ]32,63].
2609 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
2610
4da05956
MM
26111998-03-22 Mark Mitchell <mmitchell@usa.net>
2612
2613 * tree.h (IS_EXPR_CODE_CLASS): New macro.
2614
545f2aab
JL
2615Mon Mar 23 23:18:48 1998 Jeffrey A Law (law@cygnus.com)
2616
2617 * h8300.h (CONST_COSTS): Remove definition.
2618 (DEFAULT_RTX_COSTS): Define.
2619
eef15f9f
JS
2620Mon Mar 23 22:58:22 1998 Joel Sherrill (joel@OARcorp.com)
2621
2622 * config/sh/rtems.h: Switched from ELF to COFF.
2623
4bca6986
R
2624Mon Mar 23 14:14:20 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2625
2626 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
2627
8ca77a11
JL
2628Sat Mar 21 23:52:56 PST 1998 Jeff Law (law@cygnus.com)
2629
2630 * version.c: Bump for snapshot.
2631
e09e14e9
NC
2632Sun Mar 22 00:50:42 1998 Nick Clifton <nickc@cygnus.com>
2633 Geoff Noer <noer@cygnus.com>
2634
2635 * Makefile.in: Various fixes for building cygwin32 native toolchains.
2636
35d541d4
NC
2637 * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
2638 * objc/Make-lang.in: Likewise.
2639
4a0cf2aa
NC
2640 * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
2641
535b86ce
G
2642Sun Mar 22 00:21:46 1998 R. Ganesan <rganesan@novell.com>
2643
2644 * configure.in: Handle with-PACKAGE=no correctly
2645
670ee920
KG
2646Fri Mar 20 17:36:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2647
2648 * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
2649 c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
2650 caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
2651 dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
2652 expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
2653 integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
2654 prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
2655 reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
2656 rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
2657 tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
2658 on system.h.
2659
2660 * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
2661 c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
2662 caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
2663 dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
2664 expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
2665 integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
2666 prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
2667 reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
2668 rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
2669 stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
2670 xcoffout.c: Include system.h. Organize include ordering so
2671 that stdarg/varargs comes before other system headers. Remove
2672 spurious casts of functions assured of a prototype in system.h.
2673
7aa74e4c
SC
2674Fri Mar 20 11:19:40 1998 Stan Cox <scox@equinox.cygnus.com>
2675
2676 * reg-stack.c (pop_stack): Define. Pops any register on the
2677 regstack and adjusts regstack.
2678 (compare_for_stack_reg): Use pop_stack.
b57062ca 2679
d005a5a4
JL
2680Thu Mar 19 23:51:01 1998 Jeffrey A Law (law@cygnus.com)
2681
2682 * configure.in (hppa1.0-hp-hpux10): Handle threads for this
2683 config too.
2684
ba3ad5e0
PDM
2685Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
2686
09b4ce12
PDM
2687 * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
2688
ba3ad5e0
PDM
2689 * fold-const.c (fold): Replace sign-extension of a zero extended
2690 value by a single zero extension.
2691
6e1f1f93
JM
2692Thu Mar 19 00:58:07 1998 Jason Merrill <jason@yorick.cygnus.com>
2693
2694 * except.c (init_eh): Do nothing.
2695 (save_eh_status): Call init_eh_for_function, not init_eh.
2696 * function.c (push_function_context_to): Don't call init_emit.
2697
838b0e4e
MM
2698Thu Mar 19 13:39:52 1998 Michael Meissner <meissner@cygnus.com>
2699
2700 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
2701 and EABI.
2702
ecb06768
KG
2703Thu Mar 19 10:10:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2704
2705 * final.c (shorten_branches): Add parentheses around +/- in
2706 operand of &.
2707
2708 * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
2709
dfba7a1b
MH
2710Thu Mar 19 09:15:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
2711
2712 * regclass.c (memory_move_secondary_cost): Wrap uses of
2713 SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
2714 with #ifdef tests.
2715
4faca093
MH
2716Thu Mar 19 09:06:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
2717
2718 * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
2719
2720 * flow.c (life_analysis): #include <sys/types.h> to make sure
2721 size_t is defined.
2722 * cplus-dem.c (demangle_function_name): Likewise.
2723
af7da199
MH
2724Thu Mar 19 09:00:01 1998 Manfred Hollstein <manfred@s-direktnet.de>
2725
2726 * final.c (insn_noperands): Change type to unsigned int.
2727 (final_scan_insn): Likewise for noperands;
2728 properly check operand number boundaries.
2729
10a25232
RH
2730Wed Mar 18 16:20:30 1998 Richard Henderson <rth@cygnus.com>
2731
2732 * alpha.md (extzv): Don't reject register operands. Fix
2733 mode of operand 1.
2734
99d1a24c
RH
2735Wed Mar 18 16:14:23 1998 Richard Henderson <rth@cygnus.com>
2736
2737 * dbxout.c (dbxout_function_end): Fix last change. The correct
2738 predicate is ASM_OUTPUT_SECTION_NAME.
2739
5bac82c5
JW
2740Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2741
2742 * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
2743 (ashlsi): Use match_dup 1 instead of match_operand 2.
2744
52de9b6c
RK
2745Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2746
2747 * fold-const.c (operand_equal_for_comparison_p): See if equal
2748 when nop conversions are removed.
2749
7c00d1fe
RK
2750Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2751
2752 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
2753 don't use ORIGINAL_TARGET unless REG.
2754
343665b9
R
2755Wed Mar 18 16:53:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2756
2757 * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
2758
1a61c29f
JW
2759Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2760
2761 * loop.c (struct movable): New field move_insn_first.
2762 (scan_loop): In consec sets code, set it. Clear it otherwise.
2763 (move_movables): In consec sets code, use it. Copy REG_NOTES from
2764 p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
2765 out code.
2766
cbe36725
RH
2767Wed Mar 18 09:52:56 1998 Richard Henderson <rth@cygnus.com>
2768
2769 * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
2770 is large, and the system doesn't provide atoll or atoq.
b57062ca 2771 (atoll): New.
cbe36725
RH
2772
2773 * alpha/xm-vms.h (HAVE_ATOLL): Define.
2774 Reported by Klaus Kaempf <kkaempf@progis.de>.
b57062ca 2775
081f5e7e
KG
2776Wed Mar 18 09:56:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2777
2778 * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
2779 test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
2780
2781 * calls.c (emit_call_1): Wrap variable `already_popped' with macro
b57062ca 2782 test !ACCUMULATE_OUTGOING_ARGS.
081f5e7e
KG
2783
2784 * collect2.c (write_c_file_glob): Wrap function definition in
2785 macro test !LD_INIT_SWITCH.
2786
2787 * combine.c (try_combine): Wrap variables `cc_use' and
2788 `compare_mode' in macro test EXTRA_CC_MODES.
2789
2790 * cpplib.c (do_ident): Remove unused variable `len'.
2791 (skip_if_group): Remove unused variables `at_beg_of_line' and
2792 `after_ident'.
2793 (cpp_get_token): Remove unused variable `dummy'.
2794
2795 * dbxout.c (scope_labelno): Move static variable definition inside
2796 the one function scope where it is used.
2797 (dbxout_function_end): Wrap prototype and definition in
2798 macro test !NO_DBX_FUNCTION_END.
2799
2800 * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
2801 in macro test !MIPS_DEBUGGING_INFO.
2802
2803 * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
2804 into the scope where it is used. Wrap empty else-statement body
2805 in braces.
2806
2807 * fix-header.c: Fix typo in comment.
2808 (inf_skip_spaces): Cast results of INF_UNGET to (void).
2809 (check_protection, main): Likewise.
2810
2811 * flow.c (find_basic_blocks_1): Remove dangling comment text.
2812
2813 * function.c (contains): Wrap prototype and definition in macro
2814 test HAVE_prologue || HAVE_epilogue.
2815 (fixup_var_refs_1): Remove unused variable `width'.
2816
2817 * gen-protos.c (main): Remove unused variable `optr'.
2818
2819 * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
2820
2821 * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
2822 (__sjpopnthrow): Remove unused variable `jmpbuf'.
2823 (__throw): Remove unused variable `val'.
2824
2825 * protoize.c: Check for a previously existing definition before
b57062ca 2826 defining *_OK macros.
081f5e7e
KG
2827
2828 * scan-decls.c (scan_decls): Remove unused variable `old_written'.
2829
76ce4776
R
2830Tue Mar 17 00:45:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2831
2832 * vax.h (ADDR_VEC_ALIGN): Define.
2833
e29ef920
MM
2834Mon Mar 16 15:57:17 1998 Michael Meissner <meissner@cygnus.com>
2835
2836 * gcc.c (default_arg): Don't wander off the end of allocated
2837 memory.
2838
dbf55e53
MM
2839 (From Geoffrey Keating <geoffk@ozemail.com.au>)
2840 * rs6000.c (small_data_operand): Ensure that any address
b57062ca 2841 referenced relative to the small data area is inside the SDA.
dbf55e53 2842
883482b2 2843Mon Mar 16 12:55:15 1998 Jim Wilson <wilson@cygnus.com>
b57062ca 2844
883482b2
JW
2845 * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
2846
9ad82ff8 2847Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
a0b61d14
AM
2848
2849 * except.h (in_same_eh_region): New prototype.
2850 (free_insn_eh_region, init_insn_eh_region): New prototypes.
2851 * except.c (insn_eh_region, maximum_uid): New static variables.
2852 (set_insn_eh_region): New static function to set region numbers.
2853 (free_insn_eh_region): New function to free EH region table.
2854 (init_insn_eh_region): New function to initialize EH region table.
2855 (in_same_eh_region): New function used to determine if two rtl
2856 instructions are in the same exception region or not.
2857 * final.c (final): Initialize the table indicating which instructions
2858 belong in which exception region.
2859 * genpeep.c (main): Add "except.h" to include file list in generated
b57062ca
UD
2860 file insn-peep.c.
2861 * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
2862 peepholes involving calls and unconditional branches.
a0b61d14 2863
66bd0128
JW
2864Mon Mar 16 11:16:50 1998 Jim Wilson <wilson@cygnus.com>
2865
2866 * README.gnat: New file.
2867
1d8eaa6b
AS
2868Mon Mar 16 11:14:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2869
2870 * config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
2871 "recog.h" for offsettable_memref_p.
2872 (legitimize_pic_address): Remove unused variable `offset'.
2873 (notice_update_cc): Change return type to void. Add default label
2874 to switch.
2875 (standard_68881_constant_p): Remove unused variable mode.
2876 (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
2877 (const_int_cost): Explicitly declare as returning int.
2878 (output_dbcc_and_branch): Change return type to void.
2879
2880 * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
2881 config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
2882 (...). Use GEN_INT instead of gen_rtx_CONST_INT.
2883
60ba47b4
JL
2884Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
2885
2886 * version.c: Bump for snapshot.
2887
68137318
AS
2888Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2889
2890 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
2891 check for 'M' constraint.
2892
7a50f126
JW
2893Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
2894
2895 * cccp.c (create_definition): If pedantic, call pedwarn for macro
2896 varargs feature.
2897
57dbca5e
BS
2898Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2899
2900 * i386.c (ix86_logical_operator): New function.
2901 (split_di): Ensure that when a MEM is split, the resulting MEMs have
2902 SImode.
2903 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
2904 to implement them.
2905
8625fab5
KG
2906Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2907 Richard Earnshaw <rearnsha@arm.com>
2908 Nick Clifton <nickc@cygnus.com>
b57062ca 2909
8625fab5 2910 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
b57062ca 2911
8625fab5 2912 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
b57062ca 2913
8625fab5
KG
2914 * cse.c (rtx_cost): Provide a default case in an enumeration
2915 switch, and call DEFAULT_RTX_COSTS if it's defined.
b57062ca 2916
6ce22dac
MH
2917Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
2918
2919 * basic-block.h (compute_preds_succs): Change return type in
2920 prototype to void.
2921 * flow.c (compute_preds_succs): Likewise in function definition.
2922
2923 * regmove.c (find_matches): Cast char used as array index to unsigned char
2924 to supress warning.
2925
9c318306
MH
2926Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
2927
2928 * i386.h (RTX_COSTS): Insert braces around nested if.
2929 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
2930 elements.
2931
2932 * gcc.c (default_compilers): Properly put brackets around array elements in
2933 initializer.
2934
2935 * getopt.c (_getopt_internal): Add explicit braces around nested if;
2936 reformatted.
2937
2938 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
2939 (record_reg_life_pat): Add explicit parens around && and || in expression.
2940 (stack_reg_life_analysis): Add parens around assignment used as expression.
2941 (convert_regs): Likewise.
2942
56c5d8bf
MH
2943Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
2944
2945 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
2946 change callers accordingly.
2947
2948 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
2949 and definition; change all callers accordingly.
2950
2951 * except.c (init_eh): Avoid assignment of unused return value of
2952 build_pointer_type; cast it to void, instead, and remove unused
2953 variable type.
2954
2955 * gcc.c (lang_specific_driver): Define prototype only #ifdef
2956 LANG_SPECIFIC_DRIVER.
2957 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
2958
2959 * genoutput.c (output_epilogue): Initialize next_name to 0.
2960
2961 * real.c (efrexp): #if 0 prototype and function definition.
2962 (eremain): Likewise.
2963 (uditoe): Likewise.
2964 (ditoe): Likewise.
2965 (etoudi): Likewise.
2966 (etodi): Likewise.
2967 (esqrt): Likewise.
2968
2969 * reload.c (push_secondary_reload): Define prototype only
2970 #ifdef HAVE_SECONDARY_RELOADS.
2971
2972 * varasm.c (assemble_static_space): Define rounded only
2973 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
2974
4fce8e83
MH
2975Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
2976
2977 * i386.md (andsi): Add default case in enumeration switch.
2978 (iorsi3): Likewise.
2979 (iorhi3): Likewise.
2980 (xorsi3): Likewise.
2981
85066503
MH
2982Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
2983
2984 * c-decl (finish_struct): Change type of min_align to unsigned.
2985
2986 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
2987 remove unused variable len.
2988
2989 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
2990 comment indicating this is proper behaviour.
2991 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
2992 reg >= 0.
2993 (based_loc_descr): Likewise.
2994
2995 * enquire.c (bitpattern): Change type of variable i to unsigned.
2996
2997 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
2998
2999 * flow.c (life_analysis): Change type of variable i to size_t;
3000 remove unused variable insn.
3001
3002 * gcc.c (translate_options): Change type of variables optlen, arglen and
3003 complen to size_t.
3004 (input_filename_length): Change type to size_t.
3005 (do_spec_1): Change type of variable bufsize to size_t.
3006 (main): Change type of variables i and j to size_t;
3007 remove subblock local definition of variable i.
3008 (lookup_compiler): Change type of second argument to size_t;
3009 change type of variable i to size_t.
3010
3011 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
b57062ca 3012
85066503
MH
3013 * genopinit.c (get_insn): Change type of variable pindex to size_t.
3014
3015 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
3016
3017 * global.c (global_alloc): Change type of variable i to size_t.
3018
3019 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
3020
3021 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
3022 (expand_end_case): Change type of variable count to size_t.
3023
3024 * toplev.c (main): Change type of variable j to size_t.
3025 (set_target_switch): Change type of variable j to size_t.
3026 (print_switch_values): Change type of variable j to size_t;
3027 remove unused variable flags.
3028
3029 * varasm.c (assemble_variable): Change type of variable align to size_t.
3030 (const_hash_rtx): Change type of variable i to size_t.
3031
6d89b990
MM
30321998-03-11 Mark Mitchell <mmitchell@usa.net>
3033
3034 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
3035 TREE_VEC if that's what it really is.
3036
01c7f350
MM
3037Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
3038
3039 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
3040 as per ISO C spec.
3041
754d1a92
TT
3042Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
3043
3044 * gthr.h: Changed the comment about return values.
3045 * gthr-solaris.h (__gthread_once): Do not use errno; return the
b57062ca 3046 error number instead of -1.
754d1a92
TT
3047 (__gthread_key_create): Any non-zero return value is an error.
3048 * libgcc2.c (eh_context_initialize): Check for non-zero return
3049 value from __gthread_once.
3050 Check that the value of get_eh_context was really changed.
3051
77008a44
R
3052Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3053
3054 * sh.h (LOOP_ALIGN): Only align when optimizing.
3055 * sh.c (find_barrier): Clear inc for CODE_LABELs.
3056 When not optimizing, calculate alignment for BARRIERs directly.
3057
a8aa4e0b
R
3058Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3059
3060 * final.c (shorten_branches): Remove conditionalizing on
3061 SHORTEN_WITH_ADJUST_INSN_LENGTH
3062 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
3063
832544bd
JL
3064Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
3065
3066 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
3067 an unconditional jump around deleted blocks.
3068
bdd3e6ab
JW
3069Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
3070
11a932c0
JW
3071 * profile.c (branch_prob): If see computed goto, call fatal instead of
3072 abort.
3073
eeb54a49 3074 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
b57062ca 3075
35011dd5
JW
3076 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
3077 Patch from Bruno Haible.
3078
bdd3e6ab
JW
3079 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
3080 (assign_parms): Set aggregate if hide_last_arg and last_named.
3081
af035616
R
3082Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3083
3084 * final.c (shorten_branches): Initialize insn_addresses.
3085
97e3c422
R
3086Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3087
3088 * sh.h (MUST_PASS_IN_STACK): Define.
3089
5e75ef4a
JL
3090Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
3091
3092 * final.c (shorten_branches): Fix minor logic error in
3093 ADDR_DIFF_VEC shortening support.
3094
99613661
JL
3095Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
3096
3097 * version.c: Bump for snapshot.
3098
8ea2b111
JL
3099Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
3100
168cbdf9
JL
3101 * haifa-sched.c (is_cfg_nonregular): Change return type to
3102 an int. No longer compute "estimated" number of edges. Use
3103 computed_jump_p instead of duplicating the code. Fixup/add
3104 some comments.
3105 (build_control_flow): Returns a value indicating an irregularity
3106 in the cfg was detected. Count the number of edges in the cfg.
3107 allocate various edge tables.
3108 (find_rgns): No longer look for unreachable blocks.
3109 (schedule_insns): Do not allocate memory for edge tables here.
3110 Free memory for edge tables before returning. Do not perform
3111 cross block scheduling if build_control_flow returns nonzero.
3112 * flow.c (compute_preds_succs): More accurately determine when
3113 a block drops in.
3114
52becdc0
JL
3115 * basic-block.h (free_basic_block_vargs): Provide prototype.
3116
8ea2b111
JL
3117 * cccp.c (main): Fix dumb mistakes in last change.
3118
33f7f353
JR
3119Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3120
3121 * rtl.h (addr_diff_vec_flags): New typedef.
3122 (union rtunion_def): New member rt_addr_diff_vec_flags.
3123 (ADDR_DIFF_VEC_FLAGS): New macro.
3124
3125 * sh.c (output_branch): Fix offset overflow problems.
3126
3127 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
3128 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
3129 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
3130 * stmt.c (expand_end_case): Supply new arguments to
3131 gen_rtx_ADDR_DIFF_VEC.
3132 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
3133 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
3134 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
3135 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
3136 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
3137 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
3138 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
3139 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
3140 * i386/freebsd.h, i386/linux.h : Likewise.
3141 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
3142 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
3143 * m68k/mot3300.h, m68k/sgs.h : Likewise.
3144 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
3145 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
3146 (CASE_VECTOR_SHORTEN_MODE): Define.
3147 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
3148 (med_branch_p, braf_branch_p): Don't declare.
3149 (mdep_reorg_phase, barrier_align): Declare.
3150 (ADJUST_INSN_LENGTH): Remove alignment handling.
3151 * sh.c (uid_align, uid_align_max): Deleted.
3152 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
3153 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
3154 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
3155 (output_far_jump): Don't use braf_branch_p.
3156 (output_branchy_insn): Don't use branch_offset.
3157 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
3158 Remove paired barrier stuff.
3159 Don't use cache_align_p.
3160 Take alignment insns into account.
3161 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
3162 the addr_diff_vec.
3163 (barrier_align, branch_dest): New function.
3164 (machine_dependent_reorg, split_branches): Remove infrastructure
3165 for branch shortening that is now provided in the backend.
3166 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
3167 (braf_branch_p, braf_cbranch_p): Likewise.
3168 (attribute length): Use new attributes.
3169 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
3170 (addr_diff_vec_adjust): Delete.
3171 (align_2): Now a define_expand.
3172 (align_log): Now length 0.
3173
170a16c7
MM
3174Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
3175
3176 * m32r.md (right): Correctly check for length == 2, not 1.
3177
688f0603
KG
3178Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3179
3180 * mips/mips.h: Prototype `machine_dependent_reorg'.
3181 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
3182
19cbe68d
JR
3183Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
3184
3185 * final.c (shorten_branches): Restore accidentally removed code.
3186
8add77ce
AS
3187Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3188
3189 * configure.in: Remove duplicate uses of AC_PROG_CC and
3190 AC_PROG_MAKE_SET.
3191
fbb5ed67
RH
3192Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
3193
3194 * configure.in (target_cpu_default2): Correct typo for alphapca56.
3195
5ece9746
JL
3196Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
3197 Doug Evans (devans@cygnus.com)
3198
3199 * haifa-sched.c (build_jmp_edges): Delete dead function.
3200 (build_control_flow): Use cfg routines from flow.c
3201 (schedule_insns): Remove debugging code accidentally checked
3202 in earlier today.
3203
3204 * basic-block.h: Add external integer list structures, typdefs,
3205 accessor macros and function declarations. Simlarly for
3206 basic block pred/succ support and simple bitmap stuff.
3207 * flow.c: Add functions for integer list, basic block pred/succ
3208 support and simple bitmap support.
3209 (compute_dominators): New function to compute dominators and
3210 post dominators.
3211 (find_basic_blocks): Split into two functions.
3212 (life_analysis): Likewise.
3213 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
3214 the life_analysis from toplev.c
3215 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
3216 life_analysis instead of flow_analysis.
3217
ac9b3c97
R
3218Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3219
3220 * jump.c (jump_optimize): Call mark_jump_label also for deleted
3221 insns.
3222 (mark_jump_label): Don't increment ref counts for deleted insns.
3223
6e92f4b6
KG
3224Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3225
3226 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
b57062ca 3227
6e92f4b6
KG
3228 * mips/mips.c: Include stdlib.h and unistd.h.
3229 (mips_asm_file_end): Add braces around empty body in an if-statement.
3230 (function_prologue): Wrap variable `fnname' in
3231 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
3232 (mips_select_rtx_section, mips_select_section): Declare as void.
b57062ca 3233
6e92f4b6
KG
3234 * mips/mips.h: Add prototypes for extern functions in mips.c.
3235 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
3236 (ENCODE_SECTION_INFO): Add braces around empty body in an
3237 if-statement.
b57062ca 3238
6e92f4b6
KG
3239 * mips/mips.md (movdi): Add parentheses around && within ||.
3240 (movsf, movdf): Likewise.
3241 (branch_zero, branch_zero_di): Add default case in
3242 enumeration switch.
b57062ca 3243
6e92f4b6 3244
9ba3994a
RH
3245Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
3246
3247 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
3248 real constants, since they can't be changed.
3249 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3250 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
3251 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3252 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
3253 * alpha/vms.h (TARGET_OPEN_VMS): New.
3254 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
3255
5ec105cd
RH
3256Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
3257
3258 * reload.c (find_reloads): Always force (subreg (mem)) to be
3259 reloaded if WORD_REGISTER_OPERATIONS.
3260
ebb7b10b
RH
3261Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
3262
3263 * haifa-sched.c (free_list): Rename from free_pnd_lst.
3264 (free_pending_lists): Rename free_pnd_lst uses.
3265 (remove_dependence): Place expunged element on unused_insn_list.
3266 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
3267 gen_rtx_*_LIST and alloc_rtx to use them.
3268 (compute_block_backward_dependences): Free the reg_last_* lists.
3269
cb37ce62
JL
3270Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
3271
3272 * cccp.c (main): Avoid undefined behavior when setting pend_includes
3273 and pend_files.
3274
ce514f57
FS
3275Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
3276
b57062ca 3277 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
ce514f57
FS
3278 USE_GNULIBC_1 is defined
3279 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
3280 includes the t-linux-gnulibc1 fragment
3281
89a5e42b
JW
3282Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
3283
3284 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
3285
1dd8faa8
R
3286Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3287
3288 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
3289
e2faec75
R
3290Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3291
3292 * final.c (shorten_branches): Tag the loop alignment onto the
3293 first label after NOTE_INSN_LOOP_BEG even if there is an
3294 intervening insn.
3295
de7987a6
R
3296Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3297
26024475
R
3298 * final.c (insn_current_reference_address):
3299 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
3300 proper alignment chain.
3301
de7987a6
R
3302 * final.c (max_labelno): New static variable.
3303 (final_scan_insn): Check max_labelno before outputting an
3304 alignment for a label.
de7987a6
R
3305 (shorten_branches): Remove unused variable length_align.
3306
27d8f9ea
KG
3307Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3308
3309 * sparc.c (ultrasparc_adjust_cost): Add default case in
3310 enumeration switch.
b57062ca 3311
27d8f9ea
KG
3312 * sparc.h: Add prototypes for extern functions defined in
3313 sparc.c.
3314
bd334356
NC
3315Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
3316
3317 * toplev.c: Only generate <name>.dbr file when dumping RTL if
b57062ca 3318 DEALY_SLOTS is defined.
bd334356 3319
1838fe6d
MH
3320Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
3321
3322 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
3323 in call to fill_slots_from_thread.
3324
b0021153
RH
3325Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
3326
b57062ca 3327 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
b0021153
RH
3328 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
3329
687d0ab6 3330Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
fc470718
R
3331
3332 * final.c (insn_last_address, insn_current_align, uid_align):
3333 New variables.
3334 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
3335 (insn_current_reference_address): Likewise.
3336 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
3337 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
3338 (label_to_alignment): New function.
3339 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
3340 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
3341 insn_current_reference_address instead of insn_current_address.
3342 (or_attr_value, write_length_unit_log): New functions.
3343 (main): Call write_length_unit_log.
3344 (write_const_num_delay_slots): Output extra '\n'.
3345 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
3346 replace with:
3347 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
3348 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
3349 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
3350 (LOOP_ALIGN).
3351 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
3352 (LABEL_ALIGN_AFTER_BARRIER).
3353 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
3354 * ns32k/tek6000.h: Likewise.
3355 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
3356 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
3357 ASM_OUTPUT_ALIGN_CODE.
3358
54f00917
JL
3359Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
3360
3361 * version.c: Bump for snapshot.
3362
38630f7e
JL
3363Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
3364
3365 * version.c: Bump for snapshot.
3366
ab63953e
JL
3367Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
3368
3369 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
b57062ca 3370 if condition code of jump conflicts with opposite_needed.
ab63953e
JL
3371
3372 * reorg.c (fill_slots_from_thread): Mark resources referenced in
3373 opposite_needed thread. Return delay_list even when cannot get
3374 any more delay insns from end of subroutine.
3375
3376Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
3377
3378 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
3379 All callers changed.
3380
3381Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
72dd050a
BH
3382
3383 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
3384 end_fde_sort): New functions for fast sorting of an FDE array.
3385 (fde_insert): Simplified.
3386 (add_fdes): Change argument list.
3387 (frame_init): Use the new functions.
3388
de153e82
JL
3389Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
3390
925b1f33
JL
3391 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
3392
c7271385
JL
3393 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
3394
de153e82
JL
3395 * fold-const.c (fold_range_test): Always return a value.
3396
81023100
MK
3397Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
3398
3399 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
3400 data in the text section unless READONLY_DATA_SECTION is defined.
3401
818e50a5
JL
3402Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
3403
3404 * c-parse.in (undeclared variable error): Tweak error message to
3405 be clearer.
3406
c93dc3ac
JL
3407Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
3408
3409 * version.c: Bump for snapshot.
3410
90ca38bb
MM
34111998-02-28 Mark Mitchell <mmitchell@usa.net>
3412
3413 * final.c (final_scan_insn): Undo overzealous removal of `set'.
3414
3d85c12e
KG
3415Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3416
5feca984
KG
3417 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
3418 case, add parentheses to specify the proper order of precedence in
3419 the if-statement.
b57062ca 3420
5feca984 3421
51723711
KG
3422 * c-aux-info.c: Include string.h/strings.h.
3423
3424 * pa.c: Include stdlib.h.
3425 (pa_combine_instructions): Prototype the function.
3426 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
3427 (reloc_needed): Add default case for enumeration switch.
3428 (remove_useless_addtr_insns): Remove unused variable `all'.
3429 (hppa_expand_prologue): Add explicit braces to avoid
3430 ambiguous `else'.
3431 (output_function_epilogue): Remove unused variable `i'.
3432 (output_millicode_call): Remove unused variable `link'.
3433 (shadd_constant_p, forward_branch_p): Make the function static.
3434 (following_call): Explicitly declare to return int.
3435 (pa_reorg): Declare as void.
3436 (pa_combine_instructions): Declare as static void. Add
3437 parentheses around && within ||.
b57062ca 3438
51723711
KG
3439 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
3440 following_call, function_label_operand, lhs_lshift_cint_operand
3441 and zdepi_cint_p.
3442
3443 * pa.md: Add parentheses around && within ||.
3444
3445 * cppalloc.c: Include stdlib.h.
3446
3447 * cpperror.c (cpp_print_containing_files): Remove unused variable
3448 `i'. Fix format specifier in fprintf.
3449
3450 * cse.c (cse_around_loop): Add explicit braces to avoid
3451 ambiguous `else'.
3452 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
3453
3454 * expr.c (expand_expr): Add parentheses around && within ||.
3455
3456 * final.c (app_enable): Replace fprintf with fputs where there are
3457 no format specifiers and no trailing argument after the string.
3458 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
3459 (app_disable): Likewise.
3460 (final_end_function): Likewise.
3461 (final_scan_insn): Likewise. Remove unused variable `set'.
3462 (profile_function): Wrap empty if-statement body in {} brackets.
3463
3464 * function.c: Include stdlib.h.
3465 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
3466 (reposition_prologue_and_epilogue_notes): Add parentheses
3467 around assignment used as truth value.
3468
3469 * integrate.c (expand_inline_function): Wrap variable
3470 `cc0_insn' in macro HAVE_cc0.
3471
3472 * jump.c (jump_optimize): Wrap variable `q' in macro
3473 HAVE_cc0. Remove unused variable `prev1'.
3474
3475 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
3476 within ||. Fix format specifier in fprintf.
3477 (__bb_init_prg): Add parentheses around assignment used as
3478 truth value.
3479
3480 * local-alloc.c: Include stdlib.h.
3481 (requires_inout): Add parentheses around assignment used
3482 as truth value.
3483
3484 * loop.c (analyze_loop_iterations): Wrap prototype and definition
3485 in macro HAVE_decrement_and_branch_on_count.
3486 (insert_bct, instrument_loop_bct): Likewise.
3487 (move_movables): Add parentheses around assignment used as
3488 truth value.
3489 (consec_sets_invariant_p): Likewise.
3490 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
3491
3492 * objc/objc-act.c: Include stdlib.h.
3493 (lookup_method_in_protocol_list): Wrap empty else-statement body
3494 in braces.
3495 (lookup_protocol_in_reflist): Likewise.
3496 (objc_add_static_instance): Remove unused variables `decl_expr'
3497 and `decl_spec'.
3498 (get_objc_string_decl): Remove unused variable `decl'.
3499 (generate_static_references): Remove unused variables `idecl' and
3500 `instance'.
3501 (check_protocols): Wrap empty else-statement body in braces.
b57062ca 3502
51723711
KG
3503 * protoize.c: Include stdlib.h.
3504 (substr): Add parentheses around assignment used as truth value.
3505 (abspath): Likewise.
3506 (shortpath): Likewise.
3507
3508 * regmove.c (fixup_match_1): Add parentheses around assignment
3509 used as truth value.
3510
3511 * reload.c (push_secondary_reload): Remove unused variable `i'.
3512 (find_reloads): Add parentheses around assignment used as truth
3513 value.
3514
3515 * reload1.c: Include stdlib.h.
3516
3517 * rtl.h: Correct typo in prototype of offsettable_memref_p.
3518
3519 * stmt.c (add_case_node): Add parentheses around assignment used
3520 as truth value.
3521 (case_tree2list): Likewise.
3522
3523 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
3524 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
3525 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
3526 (merge_attributes): Add explicit braces to avoid ambiguous
3527 `else'.
3528
3529 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
3530 macro HAVE_cc0.
b57062ca 3531
51723711 3532 * varasm.c: Include stdlib.h.
b57062ca 3533
51723711 3534
c5801053
KG
3535 * system.h: Remove sys/stat.h.
3536 * gcc.c: Add sys/stat.h.
3537
3d85c12e
KG
3538 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
3539 * genattrtab.c: Likewise.
3540 * genconfig.c: Likewise.
3541 * genemit.c: Likewise.
3542 * genextract.c: Likewise.
3543 * genflags.c: Likewise.
3544 * genopinit.c: Likewise.
3545 * genoutput.c: Likewise.
3546 * genpeep.c: Likewise.
3547 * genrecog.c: Likewise.
3548 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
3549
0fd12b04
AS
3550Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3551
bd762873
AS
3552 * invoke.texi: Use @itemx for a secondary item in a @table.
3553
0fd12b04
AS
3554 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
3555 zero.
3556
c3cf395b
ILT
3557Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
3558
3559 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
3560
b94b5c16
JL
3561Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
3562
3563 * i386.c (struct machine_function): Add new fields for PIC stuff.
3564 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
3565 and pic_label_name.
3566 (restore_386_machine_status): Corresponding changes.
3567 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
3568
8dfafd99
JL
3569Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
3570
3571 * c-parse.y (undeclared variable error): Tweak error message
3572 to be clearer.
3573
bb8ebb7f
RH
3574Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
3575
3576 * flags.h (g_switch_value, g_switch_set): Declare.
3577 * alpha.c (override_options): Set g_switch_value=8 if not set.
3578 * alpha/elf.h (CC1_SPEC): New.
3579 (ASM_SPEC): New.
3580 (LINK_SPEC): Pass along the -G value we were given.
3581 (LOCAL_ASM_OP): Remove.
3582 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
3583 (MAX_OFILE_ALIGNMENT): New.
3584 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
3585 (EXTRA_SECTIONS): Add sbss and sdata.
3586 (SECTION_FUNCTION_TEMPLATE): New.
3587 (EXTRA_SECTION_FUNCTIONS): Use it.
3588 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
3589 (SELECT_SECTION): Use sdata when small enough.
3590 * alpha/linux.h (ASM_SPEC): Remove.
b57062ca 3591
bb8ebb7f 3592
3e07bdbd
BH
3593Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3594 * config.sub (sco5): Fix typo.
3595
9d1ebd25
MH
3596Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
3597
3598 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
3599 set to empty.
3600 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
3601 * config/alpha/t-linux: Remove file.
3602 * config/sparc/t-linux: Remove file.
3603 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
3604 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
3605 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
3606 for tmake_file.
3607 (alpha*-*-linux-gnu*): Likewise.
3608 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
3609 (sparc-*-linux-gnu*): Likewise.
84bc3b4f
RL
3610
3611Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
3612 * collect2.c (ldd_file_name): Bracket declaration with same
3613 manifests as use.
3614 (full_real_ld_suffix): Deleted. Variable was calloced and
3615 written into, but never read.
3616
9e89df50
MS
36171998-02-23 Mike Stump <mrs@wrs.com>
3618
3619 * configure.in: Add support for i386-wrs-vxworks configuration.
3620 * i386/vxi386.h: New file.
3621
1160f9ec
BH
3622Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3623
3624 * tree.c (contains_placeholder_p): Ensure function always returns
3625 a value.
3626 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
3627 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
3628
328da75c
JL
3629Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
3630
3631 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
3632
deabc777
PE
36331998-02-22 Paul Eggert <eggert@twinsun.com>
3634
3635 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
3636 Define this new symbol.
3637 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
3638 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
3639 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
3640
0e84e8fb
JW
3641Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
3642
3643 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
3644 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
3645
9c37957a
RH
3646Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
3647
3648 * objc/Object.m (-error): Call objc_verror with our va_list.
3649
e3c49f52
DE
3650Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3651
3652 * collect2.c (scan_prog_file): Completely cover uses of variable
3653 `exports' with macro COLLECT_EXPORT_LIST.
3654
3655Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
d935d60e
JL
3656
3657 * version.c: Bump for snapshot.
3658
3c674857
MM
3659Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
3660
3661 * sched.c (schedule_block): Remove code to get arguments from hard
3662 regs into pseudos early. Same as Aug 25, 1997 change to
3663 haifa-sched.c.
3664
c2d731c4
JM
36651998-02-20 Jason Merrill <jason@yorick.cygnus.com>
3666
3667 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
3668
7d02bbef
JM
36691998-02-16 Mark Mitchell <mmitchell@usa.net>
3670
3671 * toplev.c (rest_of_compilation): Do not defer the output of a
3672 nested function.
3673
9766dbcf
MT
3674Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
3675
3676 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
3677 continuation character (line 243).
3678
01a7aaea
AS
3679Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3680
3681 * genrecog.c (main): Remove duplicated sentence in emitted comment.
3682
db126753
DE
3683Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
3684 David Edelsohn <edelsohn@mhpcc.edu>
3685
3686 * collect2.c (XCOFF_SCAN_LIBS): Remove.
3687 (export_flag): New variable.
3688 (export_file): #ifdef COLLECT_EXPORT_LIST.
3689 (import_file, exports, imports, undefined): New variables.
3690 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
3691 (dump_list, dump_prefix_list, is_in_list): New functions.
3692 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
3693 (write_import_file, resolve_lib_name): New functions.
3694 (use_import_list, ignore_library): Same.
3695 (collect_exit): maybe_unlink import_file and #ifdef.
3696 (handler): Same.
3697 (main): New variable importf, #ifdef exportf. Move parsing of
3698 -shared before general argument parsing. Resolve AIX library
3699 paths and import libgcc.a symbols. Treat .so shared libraries the
3700 same as objects and .a libraries. Create alias for object_lst and
3701 increment it instead of original pointer. Scan AIX libraries as
3702 objects earlier instead of using scan_libraries. Perform AIX
3703 tlink later to resolve templates instead of forking ld.
3704 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
3705 (GCC_UNDEF_SYMBOL): New macro.
3706 (scan_prog_file): Loop for members of AIX libraries. Handle
3707 export/import of ctors/dtors.
3708 (aix_std_libs): New variable.
3709 (scan_libraries, XCOFF): Delete.
3710
3711Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
3712
3713 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
3714
e642002f
MS
37151998-02-19 Mike Stump <mrs@wrs.com>
3716
3717 * Makefile.in: Use $tooldir for sys-include to match toplevel
3718 configure.
3719
aff48bca
JL
3720Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
3721 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3722
3723 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
3724
3725 * emit-rtl.c (hard-reg-set.h): Include.
b57062ca 3726 (get_lowpart_common): Don't make new REG for hard reg in a
aff48bca
JL
3727 class that cannot change size.
3728 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
3729
3730 * combine.c: Revert previous patch.
3731
0a9bdce3
PE
37321998-02-19 Paul Eggert <eggert@twinsun.com>
3733
3734 * config/sparc/sol2-sld.h: New file.
3735 * configure.in (sparc-*-solaris2*): Use it when using the
3736 system linker.
3737
3875b31d
JL
3738Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
3739
3740 * loop.c (force_movables): Fix typo.
3741
bb5fa67f
MH
3742Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
3743
3744 * m88k.h: Change file pattern to match reality.
3745
7f83c0e7
JL
3746Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
3747
3748 * varasm.c (output_constant_pool): Fix dumb thinko in last
3749 change.
dffc0da4
JL
3750
3751 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
3752 a function name to a section name.
3753
d9525bec
BK
37541998-02-18 Doug Evans <devans@cygnus.com>
3755
3756 * tree.h (merge_machine_{type,decl}_attributes): Declare.
3757 (split_specs_attrs, strip_attrs): Add prototypes.
3758 * tree.c (merge_machine_{type,decl}_attributes): New functions.
3759 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
3760 Update olddecl's attributes too.
3761 * c-common.c (strip_attrs): New function.
3762 * c-typeck.c (common_type): Call merge_machine_type_attributes.
3763 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
3764 (make_decl_rtl): Likewise.
3765
37661998-02-18 Jim Wilson <wilson@cygnus.com>
3767
3768 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
3769
f9a366ac
JL
3770Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
3771
3772 Remove this change until we can fix it correctly.
3773 * collect2.c: Bracket declaration of 'exportf' and
3774 'full_real_ld_suffix'.
3775
206ae7cf
BS
3776Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3777
3778 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
3779
0a7ed33c
BS
3780Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3781
3782 * c-common.c (c_expand_start_cond, c_expand_end_cond,
3783 c_expand_start_else): Don't warn about non-ambiguous else even if
3784 braces are missing.
3785
68c9728a 3786Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
0a7ed33c 3787
68c9728a
RL
3788 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3789 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
3790 instead.
3791
15941d29
RH
3792Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
3793
3794 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
3795 simplifying a subreg of a hard reg.
3796 (expand_compound_operation): Likewise.
3797 (force_to_mode): Likewise.
3798
5835e573
KG
3799Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3800
2fde567e
KG
3801 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
3802 (lshift_double): Add parentheses around + or - inside shift.
3803 (rshift_double): Likewise.
3804 (size_int_wide): Explicitly set type of `bit_p' to `int'.
3805
3806 * Makefile.in (fold-const.o): Depend on system.h.
3807
8e85ff2c
KG
3808 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
3809 change to gcc.c.
3810
5835e573
KG
3811 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
3812 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
3813 (sched_note_set): Remove unused parameter `b', all callers changed.
3814 (schedule_block): Likewise for `rgn'.
3815 (split_hard_reg_notes): Likewise for `orig_insn'.
3816 (check_live): Likewise for `trg'.
3817 (update_live): Likewise.
3818 (check_live_1): Explcitly declare variable `i' as int.
3819 (update_live_1): Likewise.
3820 (insn_issue_delay): Remove unused variable `link'.
3821 (sched_analyze_2): Add default case in enumeration switch.
3822 (schedule_insns): Remove unused variable `i'.
3823
3824 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
3825
b1a0c816
JL
3826Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
3827
3828 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
3829 a dangling else clause.
3830
365ca18b
GK
3831Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
3832
3833 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
3834 pointer for the stack pointer in MIPS16 and 64BIT.
3835
feb60352
R
3836Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3837
3838 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
3839 * emit-rtl.c (force_line_numbers, restore_line_number_status):
3840 New functions.
3841 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
3842 (expand_start_case): Adjust to this change.
3843 (check_seenlabel): New function.
3844 (pushcase, pushcase_range, expand_endcase): Use it.
3845
93f83bd5
R
3846Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3847
3848 * i386.md (adddi3): Add =!r,0,0,X alternative.
3849
b9af8fb0
DE
3850Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
3851
3852 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
3853 * x-aix31 (INSTALL): Delete.
3854
a4dee8a5
GK
3855Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
3856
b57062ca 3857 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
a4dee8a5
GK
3858 tsize changes to something other than zero.
3859
8898f8a1
GK
3860Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
3861
3862 * ginclude/va-mips.h: Replace casts of pointers to int with
3863 casts of pointers to __PTRDIFF_TYPE__.
3864
9ba7a303
JC
3865Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
3866
3867 * loop.c (strength_reduce, record_biv, record_giv): Use
3868 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
3869
b7f6588d
JM
38701998-02-16 Jason Merrill <jason@yorick.cygnus.com>
3871
3872 * tree.c (first_rtl_op): New fn.
3873 (unsave_expr_now): Use it.
3874 * print-tree.c (print_node): Likewise.
3875 * tree.c (has_cleanups): New fn.
3876 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
3877 conservative about pushing the cleanup point down.
3878 * tree.h: Declare them.
3879
8e7336f8
JL
3880Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
3881
3882 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
3883 (flag_schedule_reverse_after_reload): Likewise.
3884 (f_options): Remove reverse scheduling support.
3885 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
3886 (flag_schedule_reverse_after_reload): Likewise.
3887 * haifa-sched.c (rank_for_schedule): Remove support for reverse
3888 scheduling.
b57062ca 3889
79e11844
KG
3890Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3891
17248a6b
KG
3892 * gcc.c: Get system includes, prototypes and macros via "system.h"
3893 instead of doing it manually. Change all calls of the ctype
3894 macros to custom versions defined in "system.h".
3895
79e11844
KG
3896 * system.h: Fix return type of bcmp prototype from `void' to `int'.
3897 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
3898 Add a prototype for getenv.
3899
c9b4de06
JW
3900Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
3901
3902 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
3903
9f8f10de
JC
3904Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
3905
3906 * alias.c: Include <stdlib.h> and <string.h>.
3907 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
3908
d757d141
JL
3909Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
3910
3911 * version.c: Bump for snapshot.
3912
7a0a1f09
RE
3913Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
3914
3915 * arm.md (movsfcc): Also validate operands[3] when compiling hard
3916 float.
3917 (movdfcc): Only accept fpu_add_operand for operands[3].
3918
99e90438
RE
3919 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
3920 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
3921
29a82058
JL
3922Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
3923
3924 * varasm.c (output_constant_pool): Bring back 'done' label inside
3925 an appropriate #ifdef.
3926
b57062ca 3927 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
29a82058
JL
3928 appropriate #ifdef.
3929 (bitmap_copy, bitmap_operation): Likewise.
3930 * combine.c (combinable_i3pat): Similarly for 'src'.
3931 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
3932 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
3933 * regclass.c (copy_cost): Similarly for 'secondary_class'.
3934 * reload.c (make_memloc): Simliarly for 'i'.
3935 (find_reloads_address_1): Similarly for 'link'.
3936 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
3937 (emit_reload_insns): Similarly for 'second_reloadreg'.
3938 * unroll.c (iteration_info): Similarly for 'v'.
3939
3940 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
3941 * calls.c (expand_call): Similarly for 'i'.
3942 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
3943 * fold-const.c (strip_compund_expr): Similarly for 'type'.
3944 * function.c (fixup_var_refs_1): Similarly for 'width'.
3945 (fixup_memory_subreg): Similarly for 'saved'.
3946 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
3947 (setjmp_protect): Similarly for 'sub'.
3948 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
3949 * loop.c (record_giv): Similarly for 'p'.
3950 (combine_givs): Similarly for 'temp_iv'.
3951 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
3952 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
3953 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
3954 * unroll.c (unroll_loop): Similarly for 'copy'.
3955 (iteration_info): Similarly for 'b'.
3956 * varasm.c (assemble_string): Similarly for 'i'.
3957 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
3958
7d02bbef
JM
39591998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
3960
3961 * c-lang.c (lang_print_xnode): New function.
3962 * objc/objc-act.c (lang_print_xnode): Likewise.
3963 * print-tree.c (print_node): Call it
3964
e3e7774e
JW
3965Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
3966
3967 * dwarf2out.c (decl_scope_node): New type.
3968 (decl_scope_table): Change type to use it.
3969 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
3970 (push_decl_scope): Use new type. New locals containing_scope, i.
3971 Add code to handle setting previous field.
3972 (scope_die_for): Change type of local i to int. Add code to use
3973 previous field.
3974 (dwarf2out_init): Use new type.
3975
442f0a30
JM
39761998-02-13 Jason Merrill <jason@yorick.cygnus.com>
3977
3978 * except.c (emit_throw): Lose throw_used.
3979
fcdc0d6e
R
3980Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3981
3982 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
3983 was deleted.
3984 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
3985
b7673cdb
JL
3986Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
3987
3988 * genextract.c (main): Fix typo.
3989
9e4767ca 3990Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
69d4ca36 3991
b57062ca 3992 * c-lang.c (finish_file): Bracket declaration of static_ctors,
69d4ca36
RL
3993 static_dtors.
3994
3995 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
3996 'old_stack_arg_under_construction'
b57062ca 3997 (emit_library_call): Bracket declaration of 'upper_bound',
69d4ca36
RL
3998 'lower_bound', 'i', 'reg_parm_stack_space'
3999 (emit_library_call_value): Likewise.
b57062ca 4000 (store_one_arg):
69d4ca36
RL
4001
4002 * collect2.c: include <unistd.h> when appropriate.
4003 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
4004
4005 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
b57062ca 4006
69d4ca36
RL
4007 * explow.c (plus_constant_for_output_wide): Remove unused variable
4008 'code'.
b57062ca 4009 (memory_address): Remove unused variable 'orig_x'.
69d4ca36
RL
4010
4011 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
4012 (write_const_num_delay_slots): Remove unused variable 'i'.
4013
4014 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
4015 (gen_insn): Remove unused variable 'obstack_ptr'.
4016
4017 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
4018 'j', 'tmp', 'i'.
4019 (__bb_exit_trace_func): Remove unused variable 'e'.
4020
4021 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
4022 'funexp'.
4023 (expand_unop): Remove unused variable 'funexp'.
b57062ca 4024 (expand_complex_abs): Remove unused variable 'funexp'.
69d4ca36
RL
4025 (init_optabs): Bracket declaration of 'j'.
4026 (init_complex_libfuncs): Deleted. Dead static function.
b57062ca 4027
69d4ca36
RL
4028 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
4029
4030 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
4031 (reg_to_stack): 'initialized', 'before_function_beg'
4032 explictly type as ints instead of defaulting.
4033 (emit_swap_insn): Remove unused variable 'i2'.
4034 (compare_for_stack_reg): Remove unused variable 'src_note'.
4035
4036 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
4037
4038 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
4039
4040 * stmt.c (add_case_node): Add parens for assignment used as truth.
4041 (all_cases_count): Remove unused variable 'count_high'.
4042 (mark_seen_cases): Remove unused variable 'i'.
4043 (check_for_full_enumeration_handling): Remove unused variable 't'.
4044 Bracket declaration of 'all_values', 'l'.
b57062ca 4045
69d4ca36
RL
4046 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
4047
b57062ca
UD
4048 * varasm.c (assemble_string): Remove unused variable 'i'.
4049 (immed_double_const): Remove unused variable 'in_current_obstack'.
69d4ca36
RL
4050 (immed_real_const_1): Likewise.
4051 (output_constant_pool): Remove unreferenced label 'done'.
4052 (output_constant): Remove unused variable 'x'.
b57062ca 4053
69d4ca36
RL
4054 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
4055 a string.
4056
4057 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
4058 as truth.
4059
e3258cef
R
4060Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4061
4062 * combine.c (can_combine_p): Handle USEs in PARALLELs.
4063
1398405b
L
4064Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
4065
4066 * config/linux.h (LIB_SPEC): Add -lc for -shared if
4067 USE_GNULIBC_1 is not defined.
4068 * config/sparc/linux.h; Ditto.
4069
4070 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
4071
4072 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
4073 USE_GNULIBC_1 is not defined.
4074
03453a9f
FS
4075Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4076
4077 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
4078 for -mcall-linux
4079
aca69483 4080Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 4081
aca69483
KG
4082 * system.h: New file to get common systems includes and various
4083 definitions and declarations based on autoconf macros.
4084
5e0e0f03
JL
4085Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
4086
4087 * cccp.c (new_include_prefix): Correctly handle -I./.
4088
89e9f3a8
MM
4089Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
4090
4091 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
4092
8bd6ecc2 4093Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
89e9f3a8 4094
b57062ca 4095 * expr.c (expand_assignment): Correct typo exposed by -Wall.
8bd6ecc2
RL
4096 offset should have been a truth value, not an assignment.
4097
614bb5d4
JL
4098Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
4099
4100 * cse.c (delete_dead_from_cse): If a libcall produces a constant
4101 result and that result can be substituted into SET_SRC of the
4102 insn with the REG_RETVAL note, then perform the substitution
4103 and delete the libcall.
4104
00bb4b62
GK
4105Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
4106
b57062ca 4107 * mips.md (trucndihi2,truncdiqi2): Change these to support
00bb4b62
GK
4108 mips16.
4109
3871c609
GK
4110Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
4111
4112 * mips/mips.c (movdi_operand): Direct referances to symbols
4113 that arn't mips16 consts in mips16 mode arn't valid operands.
4114
4115 * mips/mips.c (mips_move_2words): Add gprel handling.
4116
2e72fa6a
GK
4117Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
4118
b57062ca 4119 * mips.md (extendsidi2): Allow extension to/from a non-mips16
2e72fa6a
GK
4120 register.
4121
a4910340
ML
4122Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
4123
4124 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
4125 <strings.h>.
4126
cc1e5b9a
KG
4127Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4128
4129 * Makefile.in (WARN_CFLAGS): New variable.
4130 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
4131
53949fac
MM
41321998-02-11 Mark Mitchell <mmitchell@usa.net>
4133
4134 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
4135 falling through default case in switch.
4136 (i386_aligned_p): Likewise.
4137
9504c31c
LI
4138Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
4139
4140 * mips/mips.h (mips_abi_string): Correct typo in comment.
4141
7e4e0956
GK
4142Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
4143
4144 * mips/mips.md (movdi): These PLUS's need to be Pmode.
4145
8fb3ae15
KG
4146Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4147
4148 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
4149 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
4150 indirectly via expr.h.
4151
a2d53b28
RH
4152Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
4153
4154 * stor-layout.c (layout_type): Do upper - lower in the native type,
4155 so as to properly handle negative indices.
4156
381127e8
RL
4157Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
4158
4159 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
4160 (expand_eh_region_start_tree): Remove unused variable 'note'.
4161 (exception_optimize): Remove unused variable 'regions'.
4162 (expand_builtin_eh_stub): Remove unused variable 'temp'.
4163 (copy_eh_entry): Deleted. Dead function.
4164
b57062ca 4165 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
381127e8
RL
4166 'last' with same #if HAVE_load_multiple as use of it.
4167 (move_block_from_reg): Likewise.
4168 (emit_move_insn_1): Remove unused variable 'insns'.
b57062ca
UD
4169 (store_constructor): Bracket declaration of startb, endb with
4170 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
381127e8 4171 'target', and 'xtarget'.
b57062ca 4172 (expand_builtin_setjmp): Remove unused variables 'op0',
381127e8 4173 'next_arg_reg', 'old_inhibit_defer_pop'.
b57062ca 4174 (expand_builtin): Remove unused variable 'offset'.
381127e8
RL
4175 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
4176 (emit_queue): Add parens for assignment used as conditional.
4177 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
4178
00c79232
ML
4179Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
4180
b57062ca 4181 * i386.c: Added include for recog.h.
00c79232
ML
4182 (override_options): Removed unused variable p. Initialized regno to
4183 avoid warning.
4184 (order_regs_for_local_alloc): Initialized regno to avoid warning.
4185 (legitimize_address): Likewise for 'other'.
4186 (i386_aligned_reg_p): Added default case with abort ().
4187 (print_operand): Likewise.
4188 (reg_mentioned_in_mem): Likewise.
4189 (ix86_expand_binary_operator): Removed unused variables i & insn.
4190 (ix86_expand_unary_operator): Removed unused variable insn.
4191 (output_fp_cc0_set): Removed unused variable unordered_label.
4192
f64cecad
JC
4193Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
4194
4195 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
4196 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
4197 and format string match.
4198
0200b5ed
JL
4199Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
4200
4201 * flow.c (life_analysis): Do not conside the stack pointer live at
4202 the end of a function if the fucntio ncalls alloca.
4203 (mark_used_regs): Similarly.
4204
74ccf2c2
JC
42051998-02-10 John F Carr <jfc@mit.edu>
4206
4207 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
4208 1, fzero on alternative 8.
4209
60e2d0ca
RK
4210Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4211
4212 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
4213
2fd0af53
R
4214Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4215
4216 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
4217 SUBREGs of CONST_INTs.
4218
a96c3544
JC
4219Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
4220
4221 * mips.c (print_operand, function_prologue): Make printf format
4222 match argument type.
4223
2514cbc9
KG
4224Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4225
4226 * alpha.c (alpha_return_addr): Remove unused variable `first'.
4227 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
4228 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
4229
72b0c616
RK
4230Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4231
4232 * loop.c (strength_reduce): When placing increment for auto-inc
4233 case, do comparison in loop order.
b57062ca 4234
2e0dd623
JC
4235Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
4236
4237 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
4238 not a HOST_WIDE_INT.
4239
4240 * calls.c (expand_call): Change test of expand_inline_function
4241 return value to stop compiler warning.
4242
4243 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
4244
7bf825d2
JW
4245Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
4246 Jeff Law (law@cygnus.com)
4247
4248 * regmove.c: Fix various minor formatting problems.
4249 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
4250 is true. Make end of basic block tests consistent through regmove.c.
4251 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
4252 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
4253
7d4679ea
KG
4254Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4255
4256 * gansidecl.h: Check for a conflicting macro definition before
4257 attempting to prototype bcopy, bcmp or bzero.
4258
b515ab3d
JL
4259Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
4260
060fbabf
JL
4261 * expr.c (clear_pending_stack_adjust): Handle case where a function
4262 calls alloca, but the user has specified -fomit-fframe-pointer.
4263
b515ab3d
JL
4264 * function.c (assign_parms): Fix typo in last change.
4265
ccd043a9
RL
4266Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
4267
ededb2fc
RL
4268 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
4269 <fcntl.h>.
4270 (free_path_suffix): Remove unreferenced static function.
4271 (process_command): Remove unused variable temp.
4272 (default_arg): Remove unused variable i.
4273 (do_spec_1): Add parens for assignment used as truth value.
4274 (main): Likewise.
4275 (validate_all_switches): Likewise.
4276 (main): Remove unused variables i, first_time>
4277
ccd043a9
RL
4278 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
4279
4280 * calls.c (expand_call): Remove unused variables funtree,
4281 n_regs, and tmpmode.
4282
4283 * dbxout.c, except.c: Include <string.h>/<strings.h>.
4284
4285 * explow.c: (plus_constant_for_output_wide) Removed unused
4286 variable all_constant.
4287
4288 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
4289 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
4290 genrecog.c, global.c, integrate.c , stupid.c : Include
4291 <stdlib.h>.
4292
4293 * genextract.c: (walk_rtx) Remove unused variable link.
4294
4295 * genrecog.c: (concat) Remove unreferenced static function.
4296
4297 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
4298
b57062ca
UD
4299 * stmt.c: Include <stdlib.h>.
4300 (expand_asm_operands): Remove unused variable val1.
ccd043a9
RL
4301 (expand_return): Remove unused variable block.
4302 (pushcase): Remove unused variables l and n.
4303 (pushcaserange): Likewise.
4304
4305 * unroll.c (unroll_loop): Remove unused variable temp.
4306
6553db01
GM
4307Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
4308
4309 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
4310
8479e1db
KG
4311Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4312
4313 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
4314 functions for whether they support the %p format specifier.
4315 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
4316 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
4317 * configure, config.in: Rebuild.
4318
bf9c83fe
JW
4319Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
4320
4321 * function.c (assign_parms): New variable named_arg, with value
4322 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
4323
09e4daf5
GK
4324Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
4325
b57062ca 4326 * mips/t-r3900: New - same as t-ecoff but eliminate
09e4daf5
GK
4327 multilibs: mips1 and mips3.
4328 * configure.in (tx39*): Use new mips/t-r3900.
4329 * configure: Rebuild.
4330 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
4331
b57d9225
JM
43321998-02-06 Jason Merrill <jason@yorick.cygnus.com>
4333
4334 * dwarf2out.c: Add old_args_size.
4335 (dwarf2out_args_size): Use it.
4336 (dwarf2out_begin_prologue): Initialize it.
4337 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
4338 pushed args until we see a call.
4339 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
4340 before outputting them.
4341
43421998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
4343
4344 * cplus-dem.c (demangle_template_template_parm): New function.
4345 (demangle_template): Handle template template parameters.
4346
259620a8
MM
43471998-02-02 Mark Mitchell <mmitchell@usa.net>
4348
4349 * calls.c (expand_call): Don't confuse member functions named
4350 realloc, setjmp, and so forth with the standard library
4351 functions of the same names.
4352
78418280
JL
4353Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
4354
4355 * stmt.c (expand_asm_operands): Correctly identify asm statements
94e5565f 4356 no output operands.
78418280 4357
6d819282 4358Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
b57062ca 4359
6d819282
MK
4360 * c-common.c (decl_attributes): Flag unrecognized attribute
4361 functions as warnings instead of as errors.
4362
aec98e42
ML
43631998-02-05 Marc Lehmann <pcg@goof.com>
4364
4365 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
4366 when -Os is specified.
4367 * toplev.c (main): Don't disable flag_inline_functions anymore when
4368 -Os is in effect.
4369
1230327b
R
4370Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4371
4372 * regmove.c: Update.
4373 * flags.h (flag_regmove): Declare.
4374 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
4375 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
4376 Moved into regmove; changed caller.
4377 * toplev.c (rest_of_compilation): Call regmove_optimize also for
4378 expensive_optimizations.
4379
1aca1e76
JL
4380Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
4381
4382 * version.c: Bump for snapshot.
4383
2993ce4c
R
4384Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4385 Undo this change (the problem was actually in reload):
4386 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4387
4388 * sh.md (movqi_i+1): New peephole.
4389
0340ed6c
JL
4390Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
4391
e535528b
JL
4392 * jump.c (jump_optimize): Lose calls to modified_in_p they are
4393 not needed anymore due to changes elsewhere in jump.c.
4394
0340ed6c
JL
4395 * jump.c (jump_optimize): Fix first arg to modified_in_p in
4396 previous change.
4397
6fd1c67b
RH
4398Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
4399
4400 * expr.c (expand_builtin_setjmp): Accept two new arguments for
4401 the labels to branch to on first and subsequent executions. Don't
4402 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
4403 and provide it with the jmp_buf. Use only one of
4404 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
4405 and provide the former with the target label.
4406 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
4407 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
4408 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
4409 insn to replace all of the normal nonlocal_goto code. Don't play
4410 with __dummy. Correct arguments to nonlocal_goto.
4411 * expr.h (expand_builtin_setjmp): Update prototype.
4412 * except.c (start_dynamic_handler): When using builtin_setjmp,
4413 generate more accurate flow information.
4414
4415 * alpha.md (nonlocal_goto_receiver_osf): Delete.
4416 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
4417 (builtin_longjmp, builtin_setjmp_receiver): New.
4418 * sparc.md (update_return): Disambiguate unspec number.
4419 (nonlocal_goto): Rearrange arguments to match caller in except.c.
4420 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
4421 jmp_buf operand.
4422 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
4423 (builtin_setjmp_setup*, builtin_longjmp): New.
4424
95936d18
JC
4425Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
4426
4427 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
4428
c120c689
JW
4429Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
4430
4431 * vmsconfig.com: Remove bytecode references.
4432
1a56b81f
AS
44331998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4434
91193900
AS
4435 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
4436 -fno-sjlj-exceptions works for a target that defines
4437 DWARF2_UNWIND_INFO as zero.
4438
1a56b81f
AS
4439 * regmove.c (fixup_match_1): Undo last change which removed some
4440 "useless" code, and add a comment explaining this.
4441
e4b3de45
GK
4442Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
4443
4444 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
4445 to TARGET_LONG64.
4446
2aabb736
KK
4447Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
4448
4449 * makefile.vms: Remove bytecode references.
4450 Create genrtl files.
4451
7457661d
MH
4452Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
4453
4454 * jump.c (jump_optimize): Allow conditional loading of floating point
4455 constants and constants from memory. Reinstalled modified_in_p tests.
4456
460f50dc
R
4457Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4458
4459 * loop.c (get_condition): Handle sign-extended constants.
4460
7a6df7f9
HPN
4461Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
4462
db771a3c
HPN
4463 * expr.c (emit_push_insn): Add code to use movstrti if present.
4464
7a6df7f9
HPN
4465 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
4466 and movstrqi as in emit_block_move ().
4467
ceb6edf2
TM
4468Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
4469
4470 * config/m68k/x-next: Remove /NextDeveloper/Headers from
4471 the directories to fixinclude - /usr/include is a link
4472 to it and hence its contents are fixed by default.
4473
9cddeb31
FS
4474Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4475
4476 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
4477
d2f05a0a
KK
4478Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
4479
4480 * cccp.c (main): Predefine __VMS_VER on VMS.
4481
f8dac6eb
R
4482Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4483
4484 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
4485 * fold-const.c (size_int): Replace with
4486 (size_int_wide).
4487 (make_bit_field_ref): Use bitsize_int for bit position.
4488 * stor-layout.c (sizetype): Delete.
4489 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
4490 (layout_record, layout_union, layout_type):
4491 Use bitsize_int for bit size.
4492 (set_sizetype): New function.
4493 (make_signed_type, make_unsigned_type): Use it.
4494 * c-decl.c (init_decl_processing): Likewise.
4495 * tree.h (size_int): Don't delcare, #define.
4496 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
4497 (set_sizetype): Declare.
4498 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
4499 Define.
4500 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
4501 Convert result to sizetype.
4502 (really_start_incremental_init, push_init_level):
4503 Set type of constructor_bit_index to sbitsizetype.
4504 (push_init_level): Use unsigned arithmetic to determine padding.
4505 (output_init_element): Likewise.
4506
b577a8ff
JL
4507Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
4508
4509 * combine.c (simplify_shift_const): Fix typo in last change.
4510
6e0ef100
JC
4511Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
4512
4513 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
4514 is (truncate (lshiftrt)).
4515
4208b40f
RH
4516Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
4517
4518 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
4519 Make sure result winds up in TGT.
4520 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
4521 src to be other than DImode.
4522 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
4523 (alpha_expand_unaligned_store_words): Likewise.
4524 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
4525 that source and destination are separately optimized for alignment.
4526 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
4527
82301b88
JL
4528Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
4529
4530 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
4531 with handling of -32768.
4532
a81fb89e
KG
4533Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4534
4535 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
4536 shell variable argument instead of only hard coded functions.
4537 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
4538
4539 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
4540 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
4541 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
4542 declarations for bcopy, bcmp and bzero.
4543
4544 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
4545
4546 * gansidecl.h: If we have bcopy but don't declare it, then do so.
4547 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
4548 bzero, index and rindex if they aren't already present.
4549
eed90b2c
JL
4550Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
4551
b57062ca 4552 * toplev.c (close_dump_file): Wrap function prototype for
eed90b2c
JL
4553 argument "func" in PROTO.
4554 (dump_rtl): Likewise.
4555
bfd6bc60
JC
4556Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
4557
4558 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
4559 MASK_V8PLUS.
4560 (output_function_epilogue): Omit epilogue if nothing drops through.
4561 (output_move_double): Supress int ldd usage on ultrasparc and v9.
4562 (registers_ok_for_ldd_peep): Likewise.
4563 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
4564 (ultrasparc_adjust_cost): New function.
4565 (sparc_issue_rate): New function.
4566 * sparc.h (MASK_VIS, TARGET_VIS): New
4567 (MASK_V8PLUS, TARGET_V8PLUS): New.
4568 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
4569 (TARGET_SWITCHES): Add vis and v8plus.
4570 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
4571 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
4572 (RTX_COSTS): Use TARGET_HARD_MUL
4573 (ADJUST_COST): Call ultrasparc_adjust_cost.
4574 (ISSUE_RATE): New.
4575 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
4576 of load & fp appropritely.
4577 (supersparc function units): Adjust for Haifa.
4578 (ultrasparc function units): Likewise.
4579 (get_pc_via_rdpc): All v9, not just arch64.
4580 (movdi_v8plus, movdi_v8plus+1): New.
4581 (adddi3_sp32+1): New.
4582 (subdi3_sp32+1): New.
4583 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
4584 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
4585 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
4586 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
4587 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
4588 (ldd peepholes): Suppress for v9.
4589 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
4590 (return_subsi): Revmove.
4591
4b526a9a
JC
4592Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
4593
4594 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
4595 save/restore MEM rtl.
4596
64a438d6
JL
4597Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
4598
4599 * configure.in: Check for declaration of abort.
9c893359 4600 * acconfig.h: Corresponding changes.
64a438d6
JL
4601 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
4602 be declared.
4603
f266c82f
JL
4604Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
4605
4606 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
4607 uses it.
4608
31fa4410
JL
4609Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
4610
4611 * version.c: Bump for snapshot.
4612
0ee31ab1
JL
4613Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
4614
4615 * configure.in: Check for atoq and atoll.
4616 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
4617 proper routine for converting ascii into long long values.
4618
eeeb91c5
KK
4619Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
4620
9d21ee77
KK
4621 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
4622
4623 * vmsconfig.com: Remove bytecode references.
4624
4625 * alpha/vms.h (PREFIX): Define.
4626
4627 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
4628
eeeb91c5
KK
4629 * am-alpha.h: Don't include alloca for OPEN_VMS.
4630
4631 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
4632
4633 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
4634 (GCC_INCLUDE_DIR): Define
4635
4636 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
4637 * makefile.vms: New file.
4638
4639 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
4640
4641 * alpha.c (output_prolog): Output '.name' directive
4642 for minimal traceback information.
4643
4644 * alpha.c (output_prolog): Don't prepend entry point symbols
4645 with '$' on OPEN_VMS.
4646
76d31c63
JL
4647Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
4648 Jeffrey A Law (law@cygnus.com)
4649
4650 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
4651 HOST_WIDE_INT.
4652
4653 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
4654 as needed.
4655 * genemit.c (gen_exp): Likewise.
4656 * genpeep.c (match_rtx): Likewise.
4657 * genrecog.c (write_tree_1): Likewise.
4658
4659 * c-lex.c (yyprint): Use proper format string based upon
4660 disposition of HOST_BITS_PER_WIDE_INT.
4661 (yylex): Put casts in right place for args to build_int_2.
4662
4663Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
4664
4665 * combine.c: Fix typos in Jan27 changes.
4666
1b7555bd
OR
4667Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
4668
4669 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
4670 (LINK_SPEC): Likewise.
4671 (STARTFILE_SPEC): Likewise.
4672
21ca87b8
MS
46731998-01-28 Mike Stump <mrs@wrs.com>
4674
4675 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
4676 reload completes.
4677 * genattrtab.c (reload_completed): Define.
4678
4679 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
4680 comments.
4681
d2c92f5a
R
4682Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4683
4684 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
4685 SUBREG_REG if the word count is unchanged, also in the input reload
4686 case. Disable non-applicable sanity checks.
4687
90ad3ab7
JL
4688Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
4689
4690 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
4691
7fad712c
ILT
4692Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
4693
4694 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
4695
2290e0ec
PB
4696Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
4697
1aea01ea
PB
4698 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
4699 is a TREE_VEC before trying to use it for baseclasses.
4700 (Chill uses the same field for a different purpose.)
4701
2290e0ec
PB
4702 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
4703
16980900
LT
4704Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
4705
4c46bad0 4706 * config.sub: More accurate determination of HP processor types.
16980900 4707
5e9defae
KG
4708Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4709
4710 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
4711 prototype for `handle_sysv_pragma', and make it static. Add
4712 parentheses around assignment used as truth value.
4713
4714 * combine.c (combine_instructions): Protect variable `prev' with
4715 macro HAVE_cc0.
4716 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
4717 (extract_left_shift): Add parentheses around operand of &.
4718 (merge_outer_ops): Avoid an empty body in an else-statement.
4719 (gen_rtx_combine): Remove unused variable `i'.
b57062ca 4720
5e9defae
KG
4721 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
4722 function monstartup `void'. Likewise for internal_mcount. Add
4723 `static void' prototype for moncontrol. Reconcile sprintf format
b57062ca 4724 vs. args.
5e9defae
KG
4725
4726 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
4727 Make return type of function_arg_slotno explicitly `int'.
4728 (reg_unused_after): Add parentheses around assignment used as
4729 truth value.
4730 (save_regs): Add explicit braces to avoid ambiguous `else'.
4731 (function_arg_slotno): Add parentheses around && within ||.
4732 (function_arg_pass_by_reference): Likewise.
4733 (sparc_flat_output_function_prologue): Reconcile fprintf format
4734 vs. args.
4735
4736 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
4737 assignment used as truth value.
4738
4739 * cplus-dem.c: Include <stdlib.h>.
4740 (demangle_signature): Avoid an empty body in an else-statement.
4741 (do_type): Remove unused variable `lvl'.
b57062ca 4742
5e9defae
KG
4743 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
4744 Include <string.h>/<strings.h>.
4745 (cpp_lex): Remove unused variable `namelen'.
4746 (cpp_lex): Explicitly declare `num_chars' as an int.
4747
4748 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
4749 <unistd.h> instead. Explicitly declare is_system_include
4750 returning int.
b57062ca 4751 (make_assertion): Remove unused variable `kt'.
5e9defae
KG
4752 (cpp_expand_to_buffer): Hide variable `obuf'.
4753 (output_line_command): Remove unused variables, `line_end',
4754 `line_cmd_buf' and `len'.
4755 (macarg): Remove unused variable `arg_start'.
4756 (special_symbol): Remove unused variable `i'. Add parentheses
b57062ca 4757 around assignment used as truth value.
5e9defae 4758 (do_include): Remove unused variables `pcfname' and `retried',
b57062ca 4759 hide `pcf' and `pcfbuflimit'.
5e9defae
KG
4760 (do_line): Remove unused variable `i'.
4761 (finclude): Hide variable `missing_newline'.
4762 (cpp_handle_options): Remove unused variable `j'.
4763 (read_token_list): Remove unused variable `eofp'.
4764 (cpp_error_with_line): Remove unused variable `i'.
4765 (cpp_warning_with_line): Likewise.
4766 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
4767 (cpp_error_from_errno): Remove unused variable `i'.
4768
4769 * cse.c (invalidate): Add parentheses around assignment used as
4770 truth value.
4771 (find_best_addr): Move declaration of variable `our_cost' inside
4772 the conditional macro where its used.
4773 (fold_rtx): Avoid an empty body in an if-statement.
4774 (cse_insn): Wrap variables `this_insn_cc0_mode' and
4775 `this_insn_cc0' in macro HAVE_cc0.
b57062ca 4776
5e9defae
KG
4777 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
4778 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
4779 (output_uleb128): Likewise.
4780 (output_sleb128): Likewise.
4781 (output_cfi): Likewise.
4782 (output_call_frame_info): Remove unused variables `j', `fde_size'
4783 and `fde_pad'.
4784 (comp_unit_has_inlines): Hide declaration as per rest of file.
4785 (size_of_line_prolog): Correct typo in prototype.
4786 (add_arange): Likewise.
4787 (output_aranges): Likewise.
4788 (add_name_and_src_coords_attributes): Likewise.
4789 (gen_array_type_die): Likewise.
4790 (gen_inlined_subroutine_die): Likewise.
4791 (equate_decl_number_to_die): Remove unused variable `i'.
4792 (print_die): Reconcile format vs. args in fprintf's.
4793 (print_dwarf_line_table): Likewise.
4794 (output_die): Likewise.
4795 (output_line_info): Likewise.
4796 (add_subscript_info): Avoid an empty body in an else-statement.
4797 (gen_subprogram_die): Remove unused variable `fp_loc'.
4798
4799 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
4800 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
4801 macro. Protect `src_coords_attribute' prototype with
4802 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
4803 prototype as in the rest of the file. Likewise for
4804 `output_pointer_type_die' and `output_reference_type_die'. Remove
4805 prototype for `type_of_for_scope'.
4806 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
4807 (type_attribute): Add explicit braces to avoid ambiguous `else'.
b57062ca 4808
5e9defae
KG
4809 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
4810 (shorten_branches): Protect declaration of tmp_length with
4811 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
4812 (profile_function): Protect declaration of `sval' and `cxt'
4813 variables with appropriate macros.
4814 (final_scan_insn): Likewise for `note' variable. Add explicit
4815 braces to avoid empty body in an if-statement.
4816 (output_asm_insn): Move variable `i' inside macro conditional
4817 where it is used. Add parentheses around assignment used as truth
4818 value.
4819 (asm_fprintf) Likewise, likewise.
b57062ca 4820
5e9defae
KG
4821 * fix-header.c (main): Remove unused variable `done'. Protect
4822 declaration of `i' with FIXPROTO_IGNORE_LIST.
4823
4824 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
4825
4826 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
4827 `ind'.
4828
4829 * profile.c: Include <string.h>/<strings.h>.
4830 (instrument_arcs): Remove unused variables `note', `inverted',
4831 `zero' and `neg_one'.
4832 (branch_prob): Avoid empty body in an if-statement.
4833
4834 * regclass.c: Include <stdlib.h>.
4835 (reg_alternate_class): Explicitly declare parameter `regno'.
4836
4837 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
4838 parentheses around assignment used as truth value.
4839 (find_matches): Remove unused variables `output_operand' and
4840 `matching_operand'.
4841 (fixup_match_1): Remove statement with no effect: "if (0) ;".
4842
4843 * scan.c (sstring_append): Explicitly declare `count' as int.
4844 (scan_string): Explicitly declare parameter `init' as int.
4845
4846 * sched.c: Include <stdlib.h>.
4847 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
4848 (rank_for_schedule): Add parentheses around assignment used as
4849 truth value.
4850 (schedule_block): Likewise.
4851 (regno_use_in): Likewise.
4852 (schedule_insns): Remove unused variable `i'.
4853
4854 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
4855 (v_message_with_decl): Remove unused variable `n'.
4856 (botch): Explicitly declare parameter `s' as char *.
4857 (main): Add parentheses around assignment used as truth value.
4858
4859 * tree.c (make_node): Protect the variable `kind' with the
4860 GATHER_STATISTICS macro.
4861 (real_value_from_int_cst): Move variable `e' inside conditional
4862 macro area where it is used.
4863 (tree_last): Add parentheses around assignment used as truth value.
4864 (build1): Protect the variable `kind' with the GATHER_STATISTICS
4865 macro.
4866 (print_obstack_statistics): Reconcile format vs. args in fprintf.
4867 Protect variables `i', `total_nodes', and `total_bytes' with the
4868 GATHER_STATISTICS macro.
4869
4b6bb562
MS
4870Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
4871
4872 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
4873 some comments regarding use of dead_or_set_p.
4874
e95f0195
TV
4875Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
4876
4877 * fixincludes: Tweak fix for struct exception in math.h
4878
c3499f00
GK
4879Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
4880
4881 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
b57062ca 4882 Change mode of registers used to add/sub from
c3499f00
GK
4883 hard_frame_pointer_rtx from word_mode to Pmode.
4884
01898d58
NC
4885Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
4886
6db34dd4
NC
4887 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
4888 asm_output_aligned_bss() instead of asm_output_bss().
4889
01898d58
NC
4890 * toplev.c (rest_of_compilation): Replace references to
4891 stack_reg_dump_file and dbr_sched_dump_file with references to
b57062ca 4892 rtl_dump_file.
01898d58 4893
7b6ffd11
KI
4894Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
4895
4896 * tlink.c (scan_linker_output): Call fclose() for opened files.
4897
60593797
RH
4898Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
4899
4900 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
4901 compiling with -fpic -- we want to be able to override symbols
4902 properly.
4903 (alpha_expand_block_move): Fix thinko in last change.
4904
4905 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
4906 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
4907 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
b57062ca 4908
5e4aab97
RH
4909Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
4910
4911 * alpha.md (abssf, absdf): Revert last change.
4912
69145bcc
JC
4913Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
4914
4915 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
4916 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
4917
4926b75a
JL
4918Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
4919
4920 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
4921 a CONST_INT into SFmode.
4922
c6aded7c
AG
4923Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
4924
4925 * flags.h: New flag (optimize_size).
4926 * toplev.c (main): Parse -Os option and set optimize_space
4927 accordingly.
b57062ca 4928 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
c6aded7c
AG
4929 __OPTIMIZE_SIZE__ when compiling with -Os.
4930 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
4931 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
4932 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
4933 to macro.
4934 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
4935
3698f44e
MH
4936Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
4937
4938 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
4939 stuff only if MCT_TEXT is #define'd.
4940
ac8a456a
MO
4941Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
4942
4943 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
4944 configurations.
4945
032713aa
NC
4946Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
4947
4948 * toplev.c: Add -dM command line option to dump RTL after the
4949 machine dependent reorganisation pass, if there is one.
4950 Reorganise RTL dump code, so that only one file handle is
b57062ca 4951 needed.
032713aa 4952
ec2be682
BK
4953Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
4954
4955 * except.c (check_exception_handler_labels): Disable warning when
4956 flag_syntax_only.
4957
e232b7b3
JW
4958Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
4959
4960 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
4961
2a851b5c
R
4962Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4963
4964 * c-decl.c (grokdeclarator): Get parameter tags from
4965 last_function_parm_tags.
4966 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
4967 traversing the parameter types.
4968 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
4969
808fbfac
JL
4970Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
4971
4972 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
4973 the default case.
4974 (get_shift_alg): Fix typo.
4975
15389075
RH
4976Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
4977
4978 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
4979
83c8ddef
RH
4980Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
4981
4982 * toplev.c (get_run_time): Make sure each case gets its variables.
4983
db81d74a
RH
4984Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
4985
4986 * configure.in (build_xm_file): Add auto-config.h if host=build.
4987 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
4988 (build_xm_file_list): Likewise.
4989 * configure: Rebuild.
b57062ca 4990
f745c7a2
AB
4991Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
4992
4993 * recog.c (validate_replace_rtx_1): Only perform substitutions
4994 of arguments to commutative and comparison operators once.
4995
963f4057
KG
4996Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4997
91a51951
KG
4998 * sparc.c (output_cbranch): Add default case in
4999 enumeration switch.
b57062ca 5000
91a51951
KG
5001 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
5002 (emit_delay_sequence): Eliminate unused parameter, all callers
5003 changed.
5004 (fill_simple_delay_slots): Likewise.
5005 (fill_slots_from_thread): Likewise.
5006 (fill_eager_delay_slots): Likewise.
5007 (mark_referenced_resources): Add default case in enumeration switch.
5008 (mark_set_resources): Likewise.
5009 (rare_destination): Likewise.
5010 (mostly_true_jump): Likewise.
5011 (find_dead_or_set_registers): Likewise.
5012 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
5013 (update_reg_unused_notes): Remove unused variable `p'.
5014 (mark_target_live_regs): Remove unused variables `next' and
5015 `jump_count'.
5016 (fill_simple_delay_slots): Remove unused variable `j'.
5017 (fill_slots_from_thread): Add parentheses around assignment used
5018 as truth value.
5019 (dbr_schedule): Likewise.
5020
963f4057
KG
5021 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
5022 (objc.stage2, objc.stage3, objc.stage4): Likewise.
5023
e82ad93d
MT
5024Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
5025
5026 * cse.c (simplify_ternary_operation): Don't try to simplify
5027 IF_THEN_ELSE expressions (created by combine) that don't use
5028 relational operators.
5029
b4b04bf9
JL
5030Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
5031
ed1ecb19
JL
5032 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
5033 simplifications.
5034
b4b04bf9
JL
5035 * crtstuff.c (init_dummy): Keep the epilogue in the init
5036 section for non-ELF systems.
5037
deeef0ac
R
5038Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5039
5040 * sh.md (movqi_i+1): New peephole.
5041
03566575
JW
5042Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
5043
5044 * Makefile.in: Remove remaining bytecode stuff.
5045 * emit-rtl.c, expr.c: Likewise.
5046
eb96c120
NC
5047Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
5048
5049 * toplev.c (lang_options): Add unknown-pragma options.
5050
f03204e9
PB
5051Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
5052
5053 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
5054 special (and incomplete) handling for Chill arrays.
5055
4e762a38
JC
5056Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
5057
5058 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
5059 to get clock rate.
5060
c3499f00 5061Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
319f217e
GK
5062
5063 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
5064
19f673eb
SS
50651998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
5066
5067 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
5068 .frame directive instead of FRAME_POINTER_REGNUM.
5069
74cf1c6d
RK
5070Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
5071
5072 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
5073 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
5074 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
5075 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
5076 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
5077 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
5078 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
5079 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
5080 mcpu32 or m5200.
5081 * longlong.h: Replace __mc68332__ with __mcpu32__.
5082
e1402e7d
JL
5083Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
5084
5085 * version.c: Bump for snapshot.
5086
6d49a073
JW
5087Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
5088
5089 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
5090 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
5091 * reload1.c (eliminate_regs): Likewise.
5092
c485e6a0
JL
5093Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
5094
5095 * regmove.c (find_matches): Initialize matches->earlyclobber too.
5096
84303d9a
RH
5097Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
5098
5099 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
5100 (negsf2, negdf2): Use proper subtract in IEEE mode.
5101
b93a436e
JL
5102Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
5103
27766f0e
JL
5104 * Makefile.in: Remove more bytecode stuff.
5105 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
5106 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
5107 * f/install.texi, objc/Make-lang.in: Likewise.
5108
b93a436e
JL
5109 * Makefile.in: Remove all bytecode support.
5110 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
5111 * emit-rtl.c: Remove all bytecode support.
5112 * expr.c, expr.h function.c, integrate.c: Likewise.
5113 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
5114 * tree.h, varasm.c: Likewise.
424e713c
JL
5115 * config/m68k/m68k.h: Likewise.
5116 * bi-*, bc-*, bytecode*: Delete bytecode related files.
c9804136 5117 * modemap.def: Likewise.
b93a436e 5118
7e07e3ba
GK
5119Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
5120
5121 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
5122 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
5123
685885b7
RH
5124Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
5125
5126 * i386.md (push): Prohibit symbolic constants if flag_pic.
5127 (movsi+1): Likewise for move to non-register.
5128
5830e3a0
JW
5129Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
5130
11ea364a
JW
5131 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
5132 (print_operand): Handle 0xffffffff on 32 bit host.
5133
a851212a
JW
5134 * configure.in (thread_file): Rename uses before main loop to
5135 target_thread_file. Initialize to empty in main loop. Set thread_file
5136 to target_thread_file after main loop if not set.
5137 * configure: Rebuild.
5138
5830e3a0
JW
5139 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
5140 (add_values_to_cover): Revert last change (which had no ChangeLog
5141 entry).
5142 (simplify_with_current_value_aux): Handle CONST_INT.
5143
829e1aaf
AS
5144Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5145
5146 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
5147
76844337
RH
5148Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
5149
5150 * configure.in: Add cpp stringify test.
5151 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
5152 * gengenrtl.c: Use it.
5153 * configure, config.in: Rebuild.
5154
a3f80023
AS
5155Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5156
5157 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
5158
c5d0345e
RH
5159Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
5160
5161 * configure.in: Find declaration for sbrk.
5162 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
5163 * config.in, configure: Rebuild.
5164 * mips-tfile.c: Properly protect declaration of sbrk and free.
5165 * toplev.c: Properly protect declaration of sbrk.
5166
bb02e7ea
RH
5167Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
5168
5169 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
5170
30c2fa75
JL
5171Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
5172
5173 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
5174
a0372c94
MS
5175Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
5176
5177 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
5178
c9ec4f99
DM
5179Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
5180
0e9ff885
DM
5181 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
5182 constant offset computations from objects with known alignment in
5183 the presence of STACK_BIAS.
5184
7bcac048
DM
5185 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
5186 necessary.
5187 (const_hash): Hash val is unsigned long.
5188 (SYMHASH): Likewise.
5189
5190 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
5191
5192 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
5193 char pointer, not HOST_WIDE_INT.
5194 (print_node): Likewise. Also hash is unsigned long not
5195 HOST_WIDE_INT.
5196
5197 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
5198
c9ec4f99
DM
5199 * explow.c (optimize_save_area_alloca): New function for targets
5200 where SETJMP_VIA_SAVE_AREA is true.
5201 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
5202 compute the amount of stack space needed should we find later that
5203 setjmp is never called by this function, stuff rtl for this inside
5204 a REG_NOTE of the final SET of stack_pointer_rtx.
5205 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
5206 current_function_calls_alloca, call optimize_save_area_alloca.
5207
ca097615
JW
5208Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
5209
5210 * i386.md: Remove redundant integer push patterns.
5211 Don't bother checking for TARGET_PUSH_MEMORY when
5212 pushing constants or registers.
5213
a3105a89
MK
5214Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5215 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
b57062ca 5216
a3105a89
MK
5217 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
5218 (pwait): New function for mingw32.
5219
5220 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
5221 pipe support is broken for now.
5222
51549d76
LI
52231998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
5224
ffc3503d
JL
5225 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
5226 between frame_pointer_rtx, hard_frame_pointer_rtx, and
5227 arg_pointer_rtx is respected in initialization.
5228 (init_emit_once): Use gen_rtx_raw_REG() to create
5229 return_address_pointer_rtx.
5230
51549d76
LI
5231 * reorg.c: #include "expr.h" for rtx prototypes.
5232 * Makefile.in (reorg.o): Depend on expr.h
5233
b24a815b
PN
5234Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
5235
5236 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
5237 local_prefix to sub-make invocations.
5238
1e7b997a
DM
5239Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
5240
5241 * objc-parse.c: Recognize protocol qualifiers in class definitions.
5242
340fb41f
JL
5243Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
5244
ffc3503d
JL
5245 * rtl.h: Fix typos.
5246
aef28d1d 5247 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
6885fc87 5248 * configure.in: Check for atol.
aef28d1d
JL
5249 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
5250
4399e7a3
JL
5251 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
5252
72ec635f
JL
5253 * loop.c (find_and_verify_loops): When attempting to move insns from
5254 inside the loop outside the loop, create a BARRIER if no suitable
5255 one was found.
5256
1be6e437
JL
5257 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
5258 favor of an equivalent change from gcc-2.8.
5259
340fb41f
JL
5260 * i386/x-sco5 (CC): Remove trailing whitespace.
5261
982255c8 5262Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 5263
982255c8
KG
5264 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
5265 (accessor_from_format): Likewise.
5266 (xmalloc): New function for use when linking with alloca.o.
5267
db8abea3
BH
5268Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
5269
5270 * frame.c (find_fde): Correct FDE's upper bound.
5271
5d483f63
RH
5272Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
5273
5274 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
5275
9a960e6b
JL
5276Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
5277
5278 * calls.c (expand_call): Move #ifdef code out of macro argument
5279 lists.
5280 (emit_library_call, emit_library_call_value): Likewise.
5281
a4b18346
JL
5282Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
5283
5284 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
5285
a252996a
JL
5286Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
5287
5288 * version.c: Bump for snapshot.
5289
38a448ca
RH
5290Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
5291
5292 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
5293 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
5294 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
5295 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
5296 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
5297 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
5298 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
5299 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
5300 * unroll.c, varasm.c: Likewise.
5301 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
5302
5303Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
60db002d
GK
5304
5305 * mips.h: Fix some type-o's from a previous change.
5306
a8decb2c
JL
5307Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
5308
b57062ca 5309 * loop.c (check_dbra_loop): Make sure initial value is a
a8decb2c
JL
5310 CONST_INT before trying to normalize it.
5311
0e2b736c
RL
5312Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
5313
5314 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
5315
a3aa3d8c
HB
5316Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
5317
5318 * cppexp.c: Include gansidecl.h
5319
8b496c8d
ILT
5320Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
5321
5322 * svr4.h (LINK_SPEC): Never specify -h.
5323 * ptx4.h (LINK_SPEC): Likewise.
5324 * rs6000/sysv4.h (LINK_SPEC): Likewise.
5325 * sparc/sol2.h (LINK_SPEC): Likewise.
5326
c995fea1
RH
5327Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
5328
8d47dfc5
RH
5329 * c-typeck.c (comptypes): Exit early on NULL input.
5330
c995fea1
RH
5331 * haifa-sched.c (schedule_insns): Correctly remove inter-block
5332 dependencies after reload.
5333
88ea0ad1
FS
5334Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
5335
5336 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
5337
f5e86959
JL
5338Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
5339
5340 * alpha/vms.h (DIR_SEPARATOR): define
5341
5342Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6c32c807
BH
5343
5344 * Makefile.in (stamp-proto): Remove.
5345 (protoize.o, unprotoize.o): Straightforward compile.
5346 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
5347
93006f8c
MK
5348Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
5349
5350 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
5351 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
5352
e4c4f8df
JL
5353Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
5354
5355 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
5356 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
5357 * sparc/netbsd.h, vax/netbsd.h: Likewise.
5358
4aa0c2a5
SS
5359Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
5360
5361 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
5362
c43143f6
JW
5363Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
5364
5365 * configure.in (target_cpu_default, target_cpu_default2): Use double
5366 quotes around them when testing their value.
5367 * configure: Rebuilt.
b57062ca 5368
4b8140a6
JC
5369Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
5370
5371 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
5372 to allocate rtx.
5373 (gendef): Call obstack_alloc_rtx.
5374
82de9b28 5375Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
fe07d4c1
RL
5376
5377 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
5378 for now.
5379
23092526 5380Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
b57062ca 5381
23092526
MK
5382 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
5383 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
5384 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
5385
b57062ca 5386Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
32318600
JW
5387
5388 * mips.md (return_internal): Change mode from SImode to VOIDmode.
5389
ef720b21
KJ
5390Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
5391
5392 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
5393 "-static".
5394
cde21847
SC
5395Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
5396
5397 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
5398 suffix from operand 3.
5399
184bb750
R
5400Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5401 Jeffrey A Law (law@cygnus.com)
5402
5403 * regmove.c: New implementation of regmove pass.
5404 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
5405 decls, make them have external linkage. Return a value from
5406 optimize_reg_copy_1.
5407 * reload.h (count_occurrences): Add decl.
5408 * reload1.c (count_occurrences): Delete decl, make it have external
5409 linkage.
5410 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
5411
3f9e9508 5412Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
b57062ca 5413
3f9e9508
JL
5414 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
5415 if it is not defined.
b57062ca 5416
3b80f6ca
RH
5417Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
5418
5419 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
5420 * emit-rtl.c (gen_rtx): Move special code to ...
5421 (gen_rtx_CONST_INT): New function.
5422 (gen_rtx_REG): New function.
5423 (*): Update all calls to gen_rtx.
5424 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
5425 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
5426 (GEN_INT): Call gen_rtx_CONST_INT.
5427 * gengenrtl.c: New file.
5428
1c72c7f6
JC
5429Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
5430
5431 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
5432 (base_alias_check): If no base found for address call canon_rtx and
5433 try again.
5434
8fa4e1b4
JL
5435Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
5436
5437 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
5438 arguments for mips16.
5439 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
5440 Don't lose if tsize is zero after handling large stack for mips16.
5441 * mips.md (return): For trivial return, return address is in $31.
5442
eb774d8d
NS
5443Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
5444
5445 * mips/mips16.S: Various changes to make it work with -msingle-float
5446 and -EL.
5447
2bcb2ab3
GK
5448Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
5449 Ian Lance Taylor <ian@cygnus.com>
5450 Jeff Law <law@cygnus.com>
5451
5452 * mips.c, mips.h, mips.md: First cut at merging in mips16
5453 support. Major modifications throughout all three files.
5454
db0d1ed9
SS
5455Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
5456
5457 * configure.in: Make gthr-default.h a forwarding header instead of
5458 a symlink.
5459
79873958
KG
5460Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5461
86e011ad
KG
5462 * gcov-io.h: Include sys/types.h to ensure we get size_t.
5463
79873958
KG
5464 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
5465
35a42f5f
JW
5466Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
5467 Jeffrey A Law (law@cygnus.com)
5468
5469 * crtstuff.c (__frame_dummy): New function for irix6.
5470 (__do_global_ctors): Call __frame_dummy for irix6.
5471 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
5472
ef86d2ee
WL
5473Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
5474
5475 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
5476
6c174fc0
RH
5477Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
5478
5479 * c-decl.c (init_decl_processing): Provide proper fallback symbol
5480 for __builtin_memset.
5481 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
5482 not INTEGER_CST. Assert arg 3 is a constant.
5483
5484 * alpha.c (mode_width_operand): Accept 64-bit modes.
5485 (mode_mask_operand): Likewise.
5486 (print_operand): Likewise for 'M' and 'U' codes.
5487 (alpha_expand_unaligned_load): New function.
5488 (alpha_expand_unaligned_store): Likewise.
5489 (alpha_expand_unaligned_load_words): Likewise.
5490 (alpha_expand_unaligned_store_words): Likewise.
5491 (alpha_expand_block_move): Likewise.
5492 (alpha_expand_block_clear): Likewise.
5493 * alpha.h (MOVE_RATIO): New define.
5494 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
5495 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
5496
5497 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
5498 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
5499
8fbf199e
RH
5500Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
5501
5502 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
5503 * configure: Update.
5504
2d490e3e
JL
5505Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
5506
aa2ae679
JL
5507 * emit-rtl.c (operand_subword): Correctly handle extracting a word
5508 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
5509
2d490e3e
JL
5510 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
5511 for first argument.
5512
6e26218f
ILT
5513Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
5514
5515 * configure.in: Set and subsitute host_exeext. Use it when creating
5516 the assembler and linker symlinks.
5517 * configure: Rebuild.
5518 * Makefile.in (exeext): Set to @host_exeext@.
5519 (build_exeext): New variable, set to @build_exeext@.
5520 (FLAGS_TO_PASS): Pass down build_exeext.
5521 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
5522 programs.
5523
1b31097e
JL
5524Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
5525
5526 * mn10200.md (addsi3, subsi3): Fix thinkos.
5527
194faace
RH
5528Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
5529
5530 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
5531 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
5532 unix always, since we want to be able to thunk to functions in a
5533 shared library from an application.
5534
975602f8
ILT
5535Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
5536
5537 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
5538 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
5539
0eb1ad44
JL
5540Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
5541
5542 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
5543 offset's mode is not ptr_mode, convert it.
5544
eff0f7ac
MM
5545Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
5546
5547 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
5548 compiling if it was already defined.
5549
2c3a56ad
JL
5550Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
5551
5552 * flow.c (find_basic_blocks): Don't create a new basic block
5553 for calls in a LIBCALL block.
5554
fc97718f
DE
5555Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
5556
5557 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
5558
5b5a2a1e
JL
5559Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
5560
5561 * cse.c (rtx_cost): Remove conflicting default case.
5562
128f7968
RH
5563Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
5564
5565 * configure.in: Move default enabling of Haifa out of for loop.
5566 * configure: Rebuild.
5567
e81b4fbe
JL
5568Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
5569
5570 * version.c: Bump for snapshot.
5571
f24af81b
TT
55721997-12-25 Teemu Torma <tot@trema.com>
5573
5574 * Makefile.in (GTHREAD_FLAGS): New var.
5575 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
5576 (distclean): Remove gthr-default.h.
5577
5578 * configure.in: Accept dce as a thread package.
5579 Check for thread.h and pthread.h.
5580 Link gthr-default.h to appropriate thread file and set
5581 gthread_flags.
5582 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
5583 include multilib definitions from pa/t-dce-thr.
5584 (sparc-*-solaris2*): Enable threads by default, if thread.h or
5585 pthread.h is found, preferring posix threads over solaris ones.
5586
5587 * config/pa/t-dce-thr: New file.
5588 * config/pa/t-pa: Removed multilibs.
5589 * config/sparc/t-sol2: Ditto.
b57062ca 5590
f24af81b
TT
5591 * gthr.h: New file.
5592 * gthr-single.h: New file.
5593 * gthr-posix.h: New file.
5594 * gthr-solaris.h: New file.
5595 * gthr-dce.h: New file.
5596 * libgcc-thr.h: Removed.
5597 * objc/thr-dce.c: New file copied from thr-decosf1.c.
5598
5599 * frame.c: Include gthr.h instead of libgcc-thr.h.
5600 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
5601 (eh_context_initialize): If __gthread_once fails, use static eh
5602 context.
5603 (eh_context_free): Call __gthread_key_dtor.
5604
d9a4ee00
JL
5605Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
5606
5607 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
5608
04bd620d
JW
5609Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
5610
556c714b 5611 * cse.c (max_insn_uid): New variable.
556c714b
JW
5612 (cse_around_loop): Use max_insn_uid.
5613 (cse_main): Set max_insn_uid.
5614
04bd620d
JW
5615 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
5616 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
5617 -mlong64, and -mgp{32,64} options.
5618 * mips.c (mips_abi): Change type to int.
5619 * mips.h (enum mips_abi_type): Delete.
5620 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
5621 (mips_abi): Change type to int.
5622
439d5a35
JC
5623Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
5624
5625 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
5626 optimization is now always enabled.
5627
5628 * calls.c (expand_call): Recognize C++ operator new as malloc-like
5629 function.
5630
5631 * alias.c (memrefs_conflict_p): Eliminate tests now done by
5632 base_alias_check.
5633 (*_dependence): Call canon_rtx before base_alias_check.
5634 (init_alias_once): New function to precompute set of registers which
5635 can hold Pmode function arguments.
5636
5637 * rtl.h: Declare init_alias_once.
5638
5639 * toplev.c (compile_file): Call init_alias_once.
5640
280e521f
JL
5641Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
5642
5643 * tree.c (restore_tree_status): Do not dereference a null pointer.
5644
95b8c0c8
PE
5645Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
5646
5647 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
5648 RLIMIT_STACK. This maintains consistency with the recent, similar
5649 patch to cccp.c and toplev.c.
5650
71d9b493
RH
5651Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
5652
5653 * genattrtab.c (expand_units): For large nr opclasses, expand
5654 function_units_used with ORX to prevent blowups. Tag with FFS.
5655 (num_unit_opclasses): New variable.
5656 (gen_unit): Update it.
5657 (enum operator): Add ORX_OP.
5658 (operate_exp): Treat ORX as or, except don't expand across an if.
5659 Reuse number rtx's after operating on them.
5660 (check_attr_value): Accept IOR, AND, & FFS.
5661 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
5662 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
5663 (write_expr_attr_cache, write_toplevel_expr): New functions.
5664 (write_attr_get): Handle FFS-tagged expressions.
5665 (make_canonical): Don't expand const attributes.
5666 (convert_const_symbol_ref): Dike out.
5667 (evaluate_eq_attr): Handle SYMBOL_REF.
5668 (main): Don't emit get_attr_foo for const attributes.
5669
5670 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
5671 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
5672 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
b57062ca
UD
5673 * alpha.md: Redo all of the scheduling, adding EV6 support, and
5674 combining function units where possible.
71d9b493
RH
5675 (attr "type"): Split loads, stores, cmov into int/fp. Combine
5676 multiplies and divides. Add EV6 sqrt, ftoi, itof.
5677 (attr "opsize"): New attribute.
5678 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
5679 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
5680 to control register allocation.
5681 (movsi2-1, movdi2-1): Likewise.
5682
b0435cf4 5683Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
b57062ca 5684
b0435cf4
RH
5685 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
5686 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
5687 Move OSF/1 specific defines out.
5688 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
5689 Move Linux specific defines out.
5690 (LINK_SPEC): Genericize.
5691 (ASM_FILE_START): Emit .arch if using more than the base insn set.
5692 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
5693 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
5694 (HANDLE_SYSV_PRAGMA): Define.
5695 * alpha/osf.h: New file.
5696 * alpha/linux.h: Split. Retain file-format independant defines.
5697 Import Linux bits from elf.h.
5698 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
5699 (FUNCTION_PROFILER): _mcount takes its address in $28.
5700 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
5701 * alpha/linux-ecoff.h: New file.
5702 * alpha/linux-elf.h: New file.
5703 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
5704 * alpha/win-nt.h (TARGET_DEFAULT): Define.
5705 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
5706 Add new headers as appropriate.
b57062ca 5707
b0435cf4
RH
5708 * configure.in (alpha*): Enable Haifa by default.
5709 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
5710 * configure: Rebuild.
b57062ca 5711
5768f211
RH
5712Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
5713
5714 * Makefile.in (clean): Remove the stages with their objects here ...
5715 (distclean): ... instead of here.
5716
9e04c65a 5717Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 5718
9e04c65a
KG
5719 * cse.c (rtx_cost): Add default case in enumeration switch.
5720 * fix-header.c (recognized_macro): Likewise.
5721 (recognized_extern): Likewise.
5722 (write_rbrac): Likewise.
5723 * objc/objc-act.c (encode_aggregate): Likewise.
5724 (gen_declarator): Likewise.
5725 (gen_declspecs): Likewise.
5726
1d88b804
JL
5727Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
5728
5729 * haifa-sched.c (create_reg_dead_note): Detect and handle another
5730 case where we kill more regs after sched than were killed before
5731 sched.
5732 * sched.c (create_reg_dead_note): Similarly.
5733
bbeba0ba
JL
5734Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
5735
5736 * c-pragma.c: Include flags.h.
5737
05853640
MK
5738Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
5739
5740 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
5741 about system headers.
5742 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
5743 and also to resolve symbols in prefix.c.
5744
5745 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
5746 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
5747 when the definitions in auto-config.h is not visible.
5748 (HAVE_BZERO): Likewise.
5749 (HAVE_BCMP): Likewise.
5750 (HAVE_RINDEX): Likewise.
5751 (HAVE_INDEX): Likewise.
5752
44201dba
JL
5753Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
5754
5755 * pa.c (emit_move_sequence): Handle a function label source
5756 operand.
5757
d300e551
NC
5758Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
5759
5760 * c-pragma.c (handle_pragma_token): Generate warning messages
5761 about unknown pragmas if warn_unknown_pragmas is set.
5762
5763 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
5764 line option to set variable: warn_unknown_pragmas.
5765
d3245704
MH
5766Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
5767
5768 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
5769 definition.
5770 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
5771
5198352e
JL
5772Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
5773
5774 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
5775 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
5776 generate more fine grained floating point emulation libraries.
5777 * config/fp-bit.c: Add protecting #ifdef to all functions so
5778 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
5779 then compile all suitable functions.
5780 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
5781 underscores to avoid namespace pollution.
5782 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
5783 (FPBIT): Define.
5784 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
5785 (FPBIT): Define.
5786 (DPBIT): Define.
5787
9f1ff8e8 5788Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1d300e19
KG
5789 Jeff Law <law@cygnus.com>
5790
5791 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
5792 of the declaration.
5793 * c-decl.c (finish_decl): Use parentheses around && within ||.
5794 * rtl.c: Include stdlib.h.
5795 (read_skip_spaces): Add parentheses around assignments used as
5796 truth values.
5797 (read_rtx): Initialize list_rtx.
5798 * cppexp.c (parse_number): Use || when operands are truth values.
5799 * alias.c (find_base_value): Add default case.
5800 (memrefs_conflict): Likewise.
5801 * combine.c (sets_function_arg_p): Likewise.
5802 * genemit.c (gen_exp): Likewise.
5803 * local-alloc.c (contains_replace_regs): Likewise.
5804 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
5805 * fold-const.c (fold_convert): Use "&&" for truth values.
5806 (fold): Add default case.
5807 * sdbout.c (sdbout_field_types): Fix typo in declaration.
5808 (sdbout_one_type): Add default case.
5809 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
5810 (some_operand): Add default case.
5811 (input_operand): Likewise.
5812 (signed_comparison_operator): Likewise.
5813 (divmod_operator): Likewise.
5814 (alpha_set_memflags_1): Likewise.
5815 * reload1.c (reload_cse_simplify_operands): Ensure function
5816 always returns a value.
5817 * scan-decls.c (scan_decls): Likewise.
5818 * c-lex.c (skip_white_space): Fix typo in declaraion.
5819 * c-typeck.c (comp_target_types): Add parentheses around assignment
5820 used as truth value.
5821 (print_spelling): Likewise.
5822 (constructor_implicit, constructor_result): Remove unused variables.
5823 * collect2.c (scan_library): Protect prototype with
5824 #ifdef SCAN_LIBRARIES.
5825 * emit-rtl.c (find_line_note): Fix typo in declaration.
b57062ca 5826 * final.c (asm_insn_count): Protect prototype with
1d300e19
KG
5827 #ifdef HAVE_ATTR_length.
5828 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
5829 (try_pre_increment_1, try_pre_increment): Likewise.
5830 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
5831 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
5832 * gcov-io.h (__store_long, __write_long, __read_long): Fix
5833 unsigned/signed comparisons.
5834 * gcov.c (read_files): Remove unused "first_type" variable.
5835 (scan _for_source_files): Initialize s_ptr.
5836 (function_summary): Eliminate "%lf" formatting, use %ld for
5837 longs.
5838 (output_data): Initialize branch_probs and last_line_num.
5839 Eliminate "%lf" formatting, use "%ld" for longs.
5840
18543a22
ILT
5841Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
5842
afba61d1
ILT
5843 * mips16.S: New file.
5844
5845 * libgcc2.c (varargs): Handle mips16.
5846
18543a22
ILT
5847 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
5848 expression.
5849 * stmt.c (expand_end_case): Likewise.
5850 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
5851 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
33f7f353 5852 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
18543a22 5853
dbf3231e
AS
5854Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5855
5856 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
5857 the build directory.
5858 (libobjc.a): Update dependency list.
5859 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
5860 directory.
5861 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
5862 (objc.mostlyclean): Remove runtime-info.h.
5863
e1ee5cdc
RH
5864Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
5865
5866 * tree.c (build_range_type): Allow creation of ranges with no maximum.
5867 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
5868 * dwarf2out.c (add_subscript_info): Likewise.
5869 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
5870 * sdbout.c (plain_type_1): Likewise.
5871 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
5872 Likewise.
5873 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
5874 Likewise.
5875
dfe91418 5876Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 5877
dfe91418
JL
5878 * mips.c (fatal): Remove declaration.
5879
58801997-12-18 Mark Mitchell <mmitchell@usa.net>
5881
5882 * integrate.c (get_label_from_map): New function.
5883 (expand_inline_function): Use it. Initialize the label_map to
5884 NULL_RTX instead of gen_label_rtx.
5885 (copy_rtx_and_substitute): Use get_label_from_map.
5886 * integrate.h (get_label_from_map): New function.
5887 (set_label_from_map): New macro.
5888 * unroll.c (unroll_loop): Use them.
5889 (copy_loop_body): Ditto.
5890
337e2b69
ILT
5891Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
5892
5893 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
5894 (INIT_TARGET_OPTABS): Define.
5895 * mips/ecoff.h: Include gofast.h before mips.h.
5896 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
5897 * mips/elf64.h: Likewise.
5898 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
5899
02531345
JM
5900Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
5901
5902 * except.c: Remove register_exception_table{,_p}.
5903
913b5d54
GK
5904Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
5905
efb84aa5
GK
5906 * unroll.c (calculate_giv_inc): Handle constant increment found in
5907 a MEM with an appropriate REG_EQUAL note.
5908
bb1b857a
GK
5909 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
5910
913b5d54
GK
5911 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
5912 frame pointer in the prologue.
5913
80aab652
RL
5914Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
5915
5916 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
5917 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
5918
f5c4bc60 5919Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
b57062ca 5920
f5c4bc60
BM
5921 * config/m68k/m68k.c (output_function_prologue): Typecast
5922 dwarf2out_cfi_label to (char *).
5923 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
b57062ca 5924
8dcb5295
RH
5925Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
5926
5927 * sparc.md (jump): Don't use the annul bit around an empty loop.
5928 Patch from Kevin.Kelly@East.Sun.COM.
5929
a99503b1
SC
5930Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
5931
b57062ca 5932 * jump.c: (jump_optimize): Don't use the return register as a
a99503b1
SC
5933 source1 of a conditional move.
5934
e13c943c
RH
5935Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
5936
5937 * sparc.c (DF_MODES): Or the mask not the bit number.
5938 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
5939
be3d27d6
CI
5940Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
5941
5942 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
5943
f184a264
MH
5944Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
5945
ade7386a
MH
5946 * fixincludes (size_t): Add support for Motorola's stdlib.h
5947 which fails to provide a definition for size_t.
5948 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
5949 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
5950 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
5951
f184a264
MH
5952 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
5953 prevent unresolved externals in libio.
5954 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
5955
afc96791
L
5956Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
5957
5958 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
5959 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
5960 (LIB_SPEC): Updated for glibc 2.
5961
e9818f3c
JL
5962Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
5963
5964 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
5965 * ginclude/varargs.h: Likewise.
5966
a3fd4e75 5967Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
520cd331
JL
5968
5969 * version.c: Bump for snapshot.
5970
a3fd4e75
JL
5971Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
5972
5973 * frame.h (__register_frame, __register_frame_table,
5974 __deregister_frame): New.
5975 * frame.c (__register_frame, __register_frame_table,
5976 __deregister_frame): New.
5977 * frame.c (__deregister_frame_info): Return void *.
5978 * frame.h (__deregister_frame_info): Ditto.
5979 * collect2.c (__deregister_frame_info): Ditto.
5980
166cdf4a
RH
5981Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
5982
5983 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
5984
bcbbac26
RH
5985Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
5986
5987 * alpha.c (alpha_cpu_name): New variable.
5988 (alpha_mlat_string): Likewise.
5989 (alpha_memory_latency): Likewise.
5990 (override_options): Handle -mmemory-latency.
5991 (alpha_adjust_cost): Adjust load cost for latency.
5992 * alpha.h (TARGET_OPTIONS): Add meory-latency.
5993 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
5994 TARGET_CIX into account.
5995 (MEMORY_MOVE_COST): Define in terms of memory_latency.
5996 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
5997
5998 * alpha.h (ASM_COMMENT_START): New macro.
5999
6000Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
1914f5da
RH
6001
6002 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
6003 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
6004
6005 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
6006 SUBREG_REG if the word count is unchanged.
6007 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
6008 subregs of identical word size for push_reload.
6009
a701efba
MM
6010Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
6011
6012 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
6013 if all we're doing is dealing with -Wreturn-type.
6014
5e21ac7a
RH
6015Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
6016
6017 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
6018 Use and 255 instead of zapnot 1, since it schedules better.
6019
296f8acc
JL
6020Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
6021
6022 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
6023 it as volatile.
6024
6d8ccdbb
JL
6025Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
6026
6027 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
6028 dependency we delete. Properly update prev for multiple consecutive
6029 deletions.
6030 (priority): Skip deleted dependence.
6031
14e83f2e
PB
6032Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
6033
6034 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
6035
100d81d4
JM
6036Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6037
9b8d9d6b
JM
6038 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
6039 determining when a new basic block starts.
6040
74c3447c
JM
6041 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
6042
6043 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
6044 * pa.md (iorsi3): Add missing args to *_operand calls.
6045
100d81d4
JM
6046 * except.c (call_get_eh_context): Don't mess with sequences.
6047 (emit_eh_context): Include the call in the sequence here.
6048
5a5ab947
PE
60491997-12-11 Paul Eggert <eggert@twinsun.com>
6050
6051 * collect2.c (write_c_file_glob): Allocate initial frame object
6052 in static storage and pass its address.
6053
01eb7f9a
JM
6054Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6055
6056 * except.c (call_get_eh_context): Don't take a parm.
6057 Put the call at the top of the function.
6058 (emit_eh_context): Adjust.
6059 (get_eh_context): Replace with former use_eh_context.
6060 (get_eh_context_once, get_saved_pc_ref): Remove.
6061 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
6062 * except.h: Adjust.
6063 * integrate.c (expand_inline_function): Adjust.
6064 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
6065
d19814a3
ML
6066Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
6067
6068 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
6069 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
6070
7567d496
MH
6071Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
6072
ade7386a 6073 * fixincludes (strlen,strspn,strcspn return value): Handle different
7567d496 6074 layout on sysV88.
b57062ca 6075 (hypot): Provide a fake for hypot which is broken on
7567d496
MH
6076 m88k-motorola-sysv3.
6077
0a6969ad
JC
6078Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
6079
6080 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
6081 tree_code_name from pointers to arrays.
6082 * tree.c: Remove standard_tree_code_* variables, no longer used.
6083 * print-tree.c: Remove declaration of tree_code_name.
6084
6085 * cp/lex.c (init_lex): Update for tree_code_* changes.
6086 * objc/objc-act.c (init_objc): Likewise.
6087
6088 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
6089 changes.
6090
c55dcc7d
FF
6091Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
6092
6093 * config.sub: Add support for BeOS target.
6094 * configure.in: Likewise.
6095 * ginclude/stdarg.h: Likewise.
6096 * ginclude/stddef.h: Likewise.
6097 * ginclude/varargs.h: Likewise.
6098 * rs6000/beos.h: New file for BeOS.
6099 * rs6000/t-beos: Likewise.
6100 * rs6000/x-beos: Likewise.
6101 * rs6000/xm-beos.h: Likewise.
6102 * toplev.c (get_run_time): Just return 0 on BeOS.
6103
9cf3ae46
JL
6104Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
6105 Toon Moene (toon@moene.indiv.nluug.nl)
6106
6107 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
6108 old and broken Sun3 assemblers. Newer versions handle large
6109 offsets correctly as does the GNU assembler.
6110
7cc273ad
L
6111Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
6112
6113 * objc/objc-act.c (lang_report_error_function): Disable.
6114 * objc/objc-parse.y: Include "output.h".
6115 (yyerror): Remove redundant decl.
6116 (yyprint): Fix prototype.
6117 (apply_args_register_offset): Remove redundant decl.
6118 (get_file_function_name): Likewise.
6119
74d7ab55
JM
6120Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
6121
6122 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
6123 a new basic block.
6124 (find_basic_blocks_1): Likewise.
6125
0776059e
JM
6126Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
6127
6128 * except.c (use_eh_context): Don't copy_rtx a REG.
6129 (emit_throw): Lose old unwinder support.
6130 (expand_internal_throw): Likewise.
6131 * libgcc2.c (struct eh_context): Likewise.
6132 (new_eh_context): Likewise.
6133 (__get_eh_info): Lose redundant cast.
6134 (__get_dynamic_handler_chain): Likewise.
6135 (__get_saved_pc): Lose.
6136 Lose all old unwinder support code.
6137
154bba13
TT
6138Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
6139
6140 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
b57062ca 6141
154bba13
TT
6142 * integrate.c (expand_inline_function): If the inline fn uses eh
6143 context, make sure that the current fn has one.
6144 * toplev.c (rest_of_compilation): Call emit_eh_context.
6145 * except.c (use_eh_context): New fn.
6146 (get_eh_context_once): New fn.
6147 (call_get_eh_context): New fn.
6148 (emit_eh_context): New fn.
6149 (get_eh_context): Call either get_eh_context_once or
6150 call_get_eh_context, depending on what we have.
6151 (get_dynamic_handler_chain): Call get_eh_context_once.
6152 * except.h: Prototypes for fns above.
6153 * optabs.c (get_eh_context_libfunc): Removed.
6154 (init_optabs): Don't initialize it.
6155 * expr.h (get_eh_context_libfunc): Removed.
6156 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
6157 * config/pa/pa.h (CPP_SPEC): Support for -threads.
6158 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
6159 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
6160 New multilib for -threads.
6161 * config/sparc/t-sol2: Added multilibs for -threads and
6162 made -pthreads alias to it.
6163 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
6164 Added -threads and -pthreads options.
6165 * libgcc-thr.h: New file.
6166 * libgcc2.c: (__get_cpp_eh_context): Removed.
6167 (struct cpp_eh_context): Removed.
6168 (struct eh_context): Replaced cpp_eh_context with generic language
b57062ca 6169 specific pointer.
154bba13
TT
6170 (__get_eh_info): New function.
6171 (__throw): Check eh_context::info.
6172 (__sjthrow): Ditto.
6173 * libgcc2.c: Include libgcc-thr.h.
6174 (new_eh_context, __get_eh_context,
6175 eh_pthread_initialize, eh_context_initialize, eh_context_static,
6176 eh_context_specific, eh_context_free): New functions.
6177 (get_eh_context, eh_context_key): New variables.
6178 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
6179 get_eh_context to get the context.
6180 (longjmp): Move the declaration inside
6181 #ifdef DONT_USE_BUILTIN_SETJMP.
6182 * frame.c: Include libgcc-thr.h.
6183 (object_mutex): Mutex to protect the object list.
6184 (find_fde, __register_frame, __register_frame_table,
6185 __deregister_frame): Hold the lock while accessing objects.
6186 * except.h (get_eh_context): Declare.
6187 * except.c (current_function_ehc): Define.
6188 (current_function_dhc, current_function_dcc): Removed.
6189 (get_eh_context): New function.
6190 (get_dynamic_handler_chain): Use get_eh_context.
6191 (get_saved_pc_ref): Ditto.
6192 (get_dynamic_cleanup_chain): Removed references to
6193 current_function_dcc.
6194 (save_eh_status, restore_eh_status): Save and restore
6195 current_function_ehc instead.
6196 * optabs.c (get_eh_context_libfunc): New variable.
6197 (init_optabs): Initialize it.
6198 * expr.h: Declare get_eh_context_libfunc.
6199 * function.h (struct function): Replaced dhc and dcc with ehc.
6200 * except.c (get_saved_pc_ref): New functions.
6201 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
6202 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
6203 of eh_saved_pc.
6204 (end_eh_unwinder): Likewise.
6205 (init_eh): Remove initialization of eh_saved_pc.
6206 * optabs.c (get_saved_pc_libfunc): New variable.
6207 (init_optabs): Initialize it.
6208 * expr.h: Declare get_saved_pc_libfunc.
6209 * except.h (eh_saved_pc_rtx): Deleted.
6210 (get_saved_pc_ref): Declared.
6211
6212 From Scott Snyder <snyder@d0sgif.fnal.gov>:
6213 * libgcc2.c (__get_saved_pc): New.
6214 (__eh_type, __eh_pc): Deleted.
6215 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
6216 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
6217 this fcn.
6218
68d75312
JC
6219Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
6220
b16d8734
JC
6221 * sparc/sol2.h: Use 64 bit multiply and divide functions in
6222 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
6223 as 0.
6224
68d75312
JC
6225 * rtl.h (global_rtl): New variable, replacing separate variables for
6226 commonly used rtl.
6227 (const_int_rtx): Now array of rtx_def, not rtx.
6228 * emit-rtl.c: Update for new rtl data structures.
6229 * genattrtab.c: Define global_rtl.
6230
44517326 6231Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
f40421ce 6232
44517326
DE
6233 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
6234 default.
f40421ce 6235
8587487b
AG
6236Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
6237
6238 * crtstuff.c (__do_global_ctors): Fix typo.
6239
08ce3276
MH
6240Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
6241
6242 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6243 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6244
c229cba9
DE
6245Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
6246
6247 * rs6000.h (FUNCTION_ARG_PADDING): Define.
6248 * rs6000.c (function_arg_padding): New function.
6249
b2c59d0b
MH
6250Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
6251
6252 * m68k.c: Include tree.h only once.
6253
c1132c27
RK
6254Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6255
6256 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
6257
ac957f13
JL
6258Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
6259
6260 * Partially cleaned up prototyping code from HJ.
a1d061a1 6261 * tree.h: Add many prototypes.
ac957f13
JL
6262 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
6263 All references changed.
6264 * rtl.h: Protect from multiple inclusions. Add many prototypes.
b57062ca 6265
f40421ce 6266Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
ac957f13
JL
6267
6268 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
6269 string functions like strlen.
6270
0a232106
MH
6271Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
6272
6273 * configure.in: Check for functions getrlimit and setrlimit.
6274 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
6275 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
6276
25b76cc1
JS
6277Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
6278
6279 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
6280
26250081
RH
6281Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
6282
6283 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
6284 Fix merge problems.
6285
6286 * alpha.c (override_options): Don't know about scheduling for EV6.
6287 * alpha.md (ev5 function units): Don't overload as ev6.
6288
6289 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
6290 * alpha.md (define_attr type): Add mvi.
6291 (ev5_e0): Define sceduling parameters for it.
6292 (TARGET_MAX insns): Type is mvi not shift.
6293
7120f213
RH
6294Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
6295
6296 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
6297
afa80947
R
6298Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6299
6300 * cstamp-h, auto-config.h: Delete.
6301
51ca169b
JL
6302Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
6303
6304 * version.c: Bump for snapshot.
6305
16169366
JL
6306Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
6307
6308 * cccp.c: Fix typo brought over in merge.
6309
efeb5d4f 6310 * Merge in changes from gcc-2.8.
0fe09481 6311
da932f04
JL
6312Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
6313
6314 * m68k.c: Include tree.h for dwarf2out_cfi_label.
6315
6316 * gcc.c (process_command): Do not take address of function fatal when
6317 calling lang_specific_driver.
6318
6319Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
6320
b57062ca 6321 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
da932f04
JL
6322 doesn't work with it yet, so set it to 0.
6323 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
6324
6325Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
6326
6327 * cse.c (cse_insn): Check for invalid entries when taking references.
6328
81797aba
JL
6329Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6330
6331 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
6332 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
6333 * toplev.c (rest_of_compilation): Pass it. Remove code to
6334 save / clear / restore flag_unroll_{,all_}loops.
6335
6336Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
6337
6338 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
6339
6340Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
6341
6342 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
6343
5dfa7520
JM
6344Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
6345
d07daca1
JM
6346 * except.c (get_dynamic_handler_chain): Only make the call once per
6347 function.
6348
5dfa7520
JM
6349 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
6350
4d7b7169
R
6351Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6352
6353 * sh.c (final_prescan_insn): Use local label prefix
6354 when emitting .uses pseudo-ops.
6355
e701eb4d
JM
6356Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6357
6358 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
6359 * except.c: Lose outer_context_label_stack.
6360 (expand_eh_region_end): Rethrow from outer_context here.
6361 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
6362 (expand_internal_throw): Take no args.
6363 (expand_internal_throw_indirect): Lose.
6364 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
6365 (expand_start_all_catch): Start a rethrow region.
6366 (expand_end_all_catch): End it.
6367 (expand_rethrow): New fn.
6368 * except.h: Reflect above changes.
6369 * flow.c: Revert change of Nov 27.
6370
6a242b6a
JL
6371Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
6372
6373 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
6374
9762d48d
JM
6375Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
6376
6377 * except.c (expand_fixup_region_end): New fn.
6378 (expand_fixup_region_start): Likewise.
6379 (expand_eh_region_start_tree): Store cleanup into finalization here.
6380 * stmt.c (expand_cleanups): Use them to protect fixups.
6381
868e82ab
GK
6382Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
6383
6384 * mips/mips.md (muldi3_r4000): Broaden the output template
6385 and attribute assignments to handle three operand dmult;
6386 rename to muldi3_internal2.
6387 (muldi3): Call the new muldi3_internal2 for R4000, and
6388 any GENERATE_MULT3 chip.
6389
716cc7f7
JM
6390Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
6391
6392 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
6393
9fb82071
JW
6394Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
6395
6396 * unroll.c (find_splittable_givs): Remove last change. Handle givs
6397 with a dest_reg that was created by loop.
6398
f2d76545
JL
6399Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
6400
6401 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
6402
6403 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
6404
b4dfb707
JL
6405Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
6406
6407 * configure.in: Fix NCR entries.
6408
80c2681c
JL
6409Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
6410
586a5f99
JL
6411 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
6412 nested exceptions correctly.
6413
80c2681c
JL
6414 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
6415 that was created by loop.
6416
f45ebe47
JL
6417Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
6418
6419 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
6420
6421 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
6422
034e84c4
MM
6423Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
6424
8fbd2dc7
MM
6425 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
6426 (print_operand): Use SMALL_DATA_REG for the register involved in
6427 small data relocations.
6428 (print_operand_address): Ditto.
6429
6430 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
6431 -dynamic linker is not used.
6432
a226df46
MM
6433 * rs6000.md (call insns): For local calls, use @local suffix under
6434 System V. Don't use @plt under Solaris.
6435
034e84c4
MM
6436 * rs6000.c (output_function_profiler): Put label address in r0, and
6437 store LR in 4(sp) for System V/eabi.
6438
6439 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
6440 byte boundary, and maintain stack backchain.
6441
f2d76545
JL
6442Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6443
6444 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6445 fix_truncsfdi2): Change *.
6446
33e5c8c3
JM
6447Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
6448
6449 * toplev.c (main): Complain about -gdwarfn.
6450
f45ebe47
JL
6451Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
6452
b57062ca 6453 * dwarfout.c (output_type): If finalizing, write out nested types
f45ebe47
JL
6454 of types we've already written.
6455
92dcf4c8
MM
6456Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
6457
6458 (patches originally from Geoffrey Keating)
6459 * rs6000.c (function_arg): Excess floating point arguments don't
6460 go into GPR registers after exhausting FP registers under the
6461 System V.4 ABI.
6462 (function_arg_partial_nregs): Ditto.
6463
6464 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
6465 suffix to calls.
6466
f4744807
JM
6467Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
6468
6469 * integrate.c (output_inline_function): Just unset DECL_INLINE.
6470
6471Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
6472
6473 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
6474 proper alignment.
6475
6476 * libgcc2.c (__throw): Initialize HANDLER.
6477
0609f021
JW
6478Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6479
6480 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6481 fix_truncsfdi2): Change *X to ?*X.
6482
c905c108
RH
6483Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
6484
6485 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
6486
5041a61c
JL
6487Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
6488
6489 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
6490
bb727b5a
JM
6491Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
6492
6493 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
6494
6495Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
6496
6497 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
6498 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
6499 * expr.h: Likewise.
6500
f45ebe47
JL
6501Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
6502
6503 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
6504 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
6505 gas and not using the new HP assembler.
6506
ef85603e
JL
6507Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
6508
6509 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
6510 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
6511
6cc1f5cb
AC
6512Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
6513
6514 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
6515 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
6516 definition.
6517
72eb1038
BH
6518Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6519
6520 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
6521
1418bb67
JM
6522Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
6523
6524 * except.h: Add outer_context_label_stack.
6525 * except.c: Likewise.
6526 (expand_start_all_catch): Push the outer_context for the try block
6527 onto outer_context_label_stack.
6528 (expand_end_all_catch): Use it and pop it.
6529
9dab7833
RL
6530Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
6531
6532 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
6533
858e4e8c
RH
6534Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
6535
6536 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
6537
a21d14e9
KK
6538Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
6539
6540 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
6541 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6542
ced78d8b
JM
6543Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
6544
6545 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
b57062ca 6546 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
ced78d8b
JM
6547 __builtin_delete, and __builtin_vec_delete.
6548
6549 * except.c (output_exception_table): Don't bother with
6550 __EXCEPTION_END__.
6551
a09ff88b
JL
6552Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
6553
1b8b89f1
JL
6554 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
6555 is an in/out operand.
6556 (zero extended variants of stwm/stwm patterns): Similarly.
6557
a09ff88b
JL
6558 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
6559
7bb9fb0e
JM
6560Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
6561
6562 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
6563 Use assemble_name.
6564 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
6565 (output_call_frame_info): Emit a \n after using it.
6566
9101297d
DL
6567Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
6568
6569 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
6570
2ed2af28
PDM
6571Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
6572
6573 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
6574 (ASM_OUTPUT_DWARF_VALUE4): New macro.
6575 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
6576 defined.
6577 (output_call_frame_info): Do not output forward label differences
6578 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
6579 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
6580
4dff12bf
R
6581Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6582
6583 * sh.md (attribute "type"): Add nil.
6584 (movsi_ie): y/y alternative is type nil.
6585 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
6586 alternatives.
6587 (movsf_ie+1): Delete.
6588
218c2cdb
JW
6589Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
6590
6591 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
6592 large_int, emit two insns instead of one splitable insn.
6593 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
6594 from cfa_temp_value, use cfa_offset. Add assert checking that
6595 cfa_reg is SP.
6596
d5b79362
TT
6597Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
6598
6599 * cccp.c (deps_output): Properly quote file names for make.
6600
de1ea87a
JL
6601Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
6602
6603 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
6604
cb0112a7
RL
6605Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
6606
6607 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
6608
85c3ba60
JL
6609Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
6610
6611 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
6612 return.
6613 (cse_end_of_basic_block): Similarly.
ef720b21 6614
9155d500
KJ
6615Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
6616
6617 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
6618 (SELECT_RTX_SECTION): Define.
6619 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
6620
4931312c
MH
6621Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
6622
6623 * Makefile.in (compare, compare-lean): Define $stage for each
6624 shell command.
6625 (gnucompare, gnucompare-lean): Likewise.
6626
8dfe3c62
RH
6627Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
6628
6629 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
6630
6631 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
6632 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6633
874a8709
FF
6634Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
6635
6636 * dwarfout.c (byte_size_attribute): Add local var upper_bound
6637 and add case to handle STRING_TYPE.
6638 * dwarfout.c (output_string_type_die): Fix code to generate
6639 correct string length attribute for fixed length strings.
6640 Still needs support for varying length strings.
6641
ea466196
JL
6642Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
6643
6644 * toplev.c (get_run_time): Do something sensible for cygwin32.
6645
202f590e
RH
6646Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
6647
f35bcbc5
RH
6648 * expr.c (expand_builtin_setjmp): Set
6649 current_function_has_nonlocal_label.
6650 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
6651 call-saved registers across calls.
6652
6653 * alpha.md (exception_receiver): Remove.
6654 (nonlocal_goto_receiver_osf): New
6655 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
6656 (nonlocal_goto_receiver): New, select _osf or _vms.
6657
531ea24e
RH
6658 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
6659 keep them from being propogated to the object file.
6660 (alpha_write_linkage): Likewise.
6661 * alpha.md (call_vms): Likewise.
6662 (call_value_vms): Likewise.
6663 (unnamed osf call insns): Likewise.
6664
6665 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
6666 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6667
202f590e
RH
6668 * alpha.c (call_operand): Any reg is valid for WinNT.
6669 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
6670 (anon nt calls): Add 'R' alternative.
6671 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
6672 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
6673
238ad62b
JL
6674Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
6675
f78b5ca1
JL
6676 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
6677
238ad62b
JL
6678 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
6679 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6680 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6681
da275344
MM
6682Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
6683
6684 * reload1.c (new_spill_reg): Improve fixed or forbidden register
6685 spill error message.
6686
1f1e1545
KG
6687Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6688
6689 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
6690 use varargs.h. Wrap header with <>, not "".
6691
daa4b717
JL
6692Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
6693
6694 * integrate.c (save_for_inline_copying): Add return value from
6695 savealloc.
6696
9bb5394e
BK
6697Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
6698
6699 * fixincludes: Be a little more restrictive on what we will
6700 substitute to replace definitions of MAXINT for HPUX.
6701
9571f69b
MM
6702Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
6703
6704 * dbxout.c (dbxout_symbol_location): Don't assume that variables
6705 whose address is the stack or argument pointers are indirect
6706 pointers.
6707
b57062ca
UD
67081997-11-13 Paul Eggert <eggert@twinsun.com>
6709
e7cbb6b6
PE
6710 * cccp.c, cpplib.c (compare_defs):
6711 Don't complain about arg name respellings unless pedantic.
b57062ca
UD
6712 * cpplib.c (compare_defs): Accept pfile as new arg.
6713 All callers changed.
e7cbb6b6 6714
9f29ca78
R
6715Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6716
6717 * fold-const.c (fold_truthop): Fix bug in last change.
6718
41c9120b
PE
67191997-11-13 Paul Eggert <eggert@twinsun.com>
6720
6721 Fix some confusion with IEEE minus zero.
6722
6723 * real.h (REAL_VALUES_IDENTICAL): New macro.
6724
6725 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
6726 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
6727 identical to 0.0.
6728 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
6729 same tree structure as 0.0.
6730
6731 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
6732 macro instead of doing it by hand.
6733
323d8e7b
JL
6734Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
6735
6736 * v850/lib1funcs.asm: Minor whitespace changes.
6737 * v850.c: Fix minor formatting problems in many places.
6738 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
6739
13529ea4
JW
6740Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
6741
6742 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
6743 xplus1 when xplus0 is not a register.
6744
759c135e
JL
6745Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
6746
8930b063
JL
6747 * flow.c (find_basic_blocks): During marking phase, if we encounter
6748 an insn with a REG_LABEL note, make the target block live and
6749 create an edge from the insn to the target block. Do not make
6750 edges from all blocks to the target block.
6751
0be28489
JL
6752 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
6753
759c135e
JL
6754 * confiugre.in: Tweak NCR entries.
6755 * configure: Rebuilt.
6756
47ad8c61
MM
6757Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
6758
6759 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
6760 pick apart floating point values, instead of using CONST_DOUBLE_LOW
6761 and CONST_DOUBLE_HIGH.
6762
6763 * rs6000.md (define_splits for DF constants): Use the appropriate
6764 REAL_VALUE_* interface to pick apart DF floating point constants in
6765 a machine independent fashion.
6766
5a6b3365
R
6767Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6768
6769 * fold-const.c (fold_truthop): When changing a one-bit comparison
6770 against zero into a comparison against mask, do a proper sign
6771 extension.
6772
2ec1535d
JL
6773Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
6774
3a88cbd1
JL
6775 * except.c: Do not include "assert.h".
6776 (save_eh_status): Turn asserts into conditional aborts.
6777 (restore_eh_status, scan_region): Likewise.
6778 * dwarfout.c: Do not include "assert.h".
6779 (bit_offset_attribute): Turn asserts into conditional aborts.
6780 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
6781 (output_inlined_structure_type_die): Likewise.
6782 (output_inlined_union_type_die): Likewise
6783 (output_tagged_type_instantiation): Likewise.
6784 (dwarfout_file_scope_decl): Likewise.
6785 * dwarf2out.c: Do not include "assert.h"
6786 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
6787 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
6788 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
6789 (add_bit_size_attribute, scope_die_for): Likewise.
6790 (output_pending_types_for_scope): Likewise.
6791 (get_inlined_enumeration_type_die): Likewise.
6792 (get_inlined_structure_type_die): Likewise.
6793 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
6794 (gen_tagged_type_instantiation_die): Likewise.
6795
2ec1535d
JL
6796 * flow.c (find_basic_blocks): Refine further to get a more correct
6797 cfg, especially in the presense of exception handling, computed
6798 gotos, and other non-trivial cases. Call abort if an inaccuracy
6799 is detected in the cfg.
6800
a6124a42
R
6801Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6802
6803 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
6804
6805 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
6806 (skip_white_space): Use whitespace_cr.
6807 (check_newline): Handle whitespace more consistently.
6808
8f3189a4
JW
6809Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
6810
6811 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
6812 * i386/xm-cygwin32.h (POSIX): Define.
6813
6d1350cd
GK
6814Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
6815
6816 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
6817 is available elsewhere.
6818
d1f4474e
DE
6819Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
6820
6821 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
6822 what the instruction can handle.
6823
c7ae64f2
JM
6824Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
6825
6826 * stmt.c (expand_decl_cleanup_no_eh): New fn.
6827
6828 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
6829
ea64ef27
JL
6830Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
6831
6832 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
6833 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
6834
47ad8c61
MM
6835Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
6836
6837 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
6838 swap instruction order.
6839
0ff27f58
JL
6840Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
6841
6842 * fixinc.svr4 (__STDC__): Add another case.
6843
7091039c
R
6844Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6845
6846 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
6847 addresses in the epilogue delay slot.
6848
553914ad
MH
6849Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
6850
6851 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
6852 in generated `specs' file.
6853
64fde701
JW
6854Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
6855
6856 * flags.h (flag_rerun_loop_opt): Declare.
6857 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
6858 * toplev.c (flag_rerum_loop_opt): Delete static.
6859
1245df60
R
6860Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6861
1245df60
R
6862 Bring over from FSF:
6863
6864 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6865
6866 * va-sh.h (__va_arg_sh1): Define.
6867 (va_arg): Use it.
6868 SH3E doesn't use any integer registers for subsequent arguments
6869 once a non-float value was passed in the stack.
6870 * sh.c (machine_dependent_reorg): If optimizing, put explicit
6871 alignment in front label for ADDR_DIFF_VEC.
6872 * sh.h (PASS_IN_REG_P): Fix SH3E case.
6873 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
6874
6875 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6876
6877 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
6878 svr4.h.
6879
6880 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6881
6882 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
6883 put an use_sfunc_addr before each sfunc.
6884 * sh.md (use_sfunc_addr, dummy_jump): New insns.
6885 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
6886
6887 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6888
6889 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
6890
97991933
JM
6891Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
6892
6893 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
6894 linked once FDEs.
6895
eaf407a5
JL
6896Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
6897
6898 * alias.c (find_base_value): Only return the known base value for
6899 pseudo registers.
6900
4f9ca067
JW
6901Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
6902
6903 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
6904 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
6905 to pattern.
6906 (prologue_get_pc_and_set_got): New pattern.
6907
f4e31cf5
RH
6908Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
6909
6910 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
6911 for SUBREG, just fall through.
6912
6913 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
6914
6915 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
6916
f754c4a1
JL
6917Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
6918
3ed18aeb
JL
6919 * fixincludes: Fix "hypot" prototype in NeXT math.h.
6920
3fe40e05
JL
6921 * Makefile.in (USE_ALLOCA): Always include alloca.o.
6922 (USE_HOST_ALLOCA): Likewise.
6923
f754c4a1
JL
6924 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
6925 and LABEL_REFS fields.
6926 * rtl.h (LABEL_REFS): Update.
6927
ab00eb0a
JW
6928Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
6929
ff3467a9
JW
6930 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
6931 sets i2dest. When calling distribute_notes for i3dest_killed, pass
6932 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
6933 sets i1dest.
6934
4911814e
JW
6935 * mips.md (insv, extzv, extv): Add change_address call.
6936 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
6937
474eff88
JW
6938 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
6939
3feffdfe
JW
6940 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
6941
ab00eb0a
JW
6942 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
6943 save_restore_insns if no FP and GP will be restored.
7636d567 6944
31c8581d
JW
6945 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
6946 Convert CCmode to word_mode before calling GET_MODE_SIZE.
6947
7636d567
JW
6948 * acconfig.h (HAVE_INTTYPES_H): Undef.
6949 * configure.in (inttypes.h): Check for conflicts between sys/types.h
6950 and inttypes.h, and verify that intmax_t is defined.
6951 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
6952 * config/mips/x-iris3: Likewise.
6953
73774bc7
JL
6954Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
6955
6956 * alias.c (find_base_value): When copying arguments, return the
6957 tenative value for a hard register.
6958
645ebf37
DE
6959Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
6960
6961 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
6962 (yylex): Record wide strings using target endianness, not host.
6963
f7620587
JL
6964Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
6965
6966 * mn10200.h (ASM_OUTPUT_BSS): Delete.
6967 (ASM_OUTPUT_ALIGNED_BSS): New macro
6968 * mn10300.h (ASM_OUTPUT_BSS): Delete.
6969 (ASM_OUTPUT_ALIGNED_BSS): New macro.
6970 * v850.h (ASM_OUTPUT_BSS): Delete.
6971 (ASM_OUTPUT_ALIGNED_BSS): New macro.
6972
1686f1a2 6973Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
b57062ca 6974
1686f1a2
R
6975 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
6976
f6857708
JL
6977Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
6978
6979 * configure.in (sco5): Use cpio to install header files.
6980
e566af04
MH
6981Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
6982
6983 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
6984 14 char length.
6985 * configure: Rebuild.
6986
cbd44549
RL
6987Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
6988
6989 * i386/sco5.h: enable -gstabs once again.
6990
56636818
JL
6991Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
6992
6993 * arm.c (output_move_double): Allocate 3 entries in otherops array.
6994
9ad8a5f0
MS
6995Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
6996
6997 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
6998 notes for sjlj exceptions too.
6999 (expand_eh_region_end): Similarly for EH_REGION_END notes.
7000 (exception_optimize): Optimize EH regions for sjlj exceptions too.
7001 * final.c (final_scan_insn): Don't output labels for EH REGION
7002 notes if doing sjlj exceptions.
7003
f8671389
JL
7004Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
7005
8072f69c
JL
7006 * alias.c (init_alias_analysis): Handle -fno-alias-check when
7007 optimizing correctly.
7008
6cad9e32
JL
7009 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
7010 or set current_function_calls_setjmp anymore.
7011
f8671389
JL
7012 * flow.c (find_basic_blocks): If we delete the label for an
7013 exception handler, remove it from the EH label list and remove
7014 the EH_BEGIN/EH_END notes for that EH region.
7015
a886ae74
JM
7016Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
7017
7018 * flow.c (find_basic_blocks): Generate correct flow control
7019 information when exception handling notes are present.
7020
c2c85462
JL
7021Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
7022
7023 * dwarf2out.c (output_call_frame_info): Fix length argument
7024 to ASM_OUTPUT_ASCII.
7025 (output_die, output_pubnames, output_line_info): Likewise.
7026
8c316ae2
JL
7027Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
7028
27ca375a
JL
7029 * version.c: Bump for snapshot.
7030
8d4e65a6
JL
7031 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
7032 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
7033 flag_debug_asm is on.
7034 (output_die, output_pubnames, output_line_info): Likewise.
7035
ec907dd8
JL
7036 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
7037 and static_chain_rtx into the potential base values array if
7038 they are registers.
7039
7040 * alias.c (new_reg_base_value): New array of potential base values.
7041 (unique_id): Now file scoped static.
7042 (find_base_value, case REG): Return the value in reg_base_value
7043 array for the REG if it exists. Else, return the value from
7044 new_reg_base_value if copying args and REG is a hard register.
7045 (find_base_value, case PLUS): If either operand of the PLUS is
7046 a REG, try to get its base value. Handle base + index and
7047 index + base.
7048 (record_set): Use new_reg_base_value instead of reg_base_value.
7049 (init_alias_analysis): Allocate space for new_reg_base_value too.
7050 Rework code to iterate over the insns propagating base value
7051 information until nothing changes.
7052
8c316ae2
JL
7053 * global.c (global_alloc): Free the conflict matrix after
7054 reload has finished.
7055
6874c264
JM
7056Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
7057
7058 * libgcc2.c (L_eh): Define __eh_pc.
7059 Replace __eh_type with generic pointer __eh_info.
7060
59fe8c2c
R
7061Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
7062
7063 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
7064 use copy_to_reg if address is not a general_operand.
7065
d1271ded
R
7066Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7067
7068 * profile.c (output_func_start_profiler): Clear flag_inline_functions
7069 for the duration of the call to rest_of_compilation.
7070
ac52b80b
DE
7071Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
7072
7073 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
7074 Set extra_parts.
7075 (sparc*-*-*): Recognize --with-cpu=v9.
7076 * sparc/elf.h: New file.
7077 * sparc/t-elf: New file.
7078
f8912297
JL
7079Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
7080
7081 * mn10300.c (const_8bit_operand): New function.
7082 (mask_ok_for_mem_btst): New funtion.
7083 * mn10300.md (btst patterns with mem operands): Use new functions
7084 to avoid creating btst instructions with invalid operands.
7085
05ef204d
MM
7086Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
7087
7088 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
7089 are running on PowerPC Linux.
7090
feecabdf
GK
7091Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
7092
7093 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
7094 if not previously defined.
7095
de957303
DE
7096Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
7097
7098 * function.c (assign_parms): Correct mode of stack_parm if
7099 entry_parm underwent a mode conversion.
7100
ba3b3878
BK
71011997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
7102
7103 * global.c (global_alloc): Use xmalloc instead of alloca for
7104 CONFLICTS, since max_allocno * allocno_row_words alone can be more
7105 than 2.5Mb sometimes.
7106
d540ae2c
RH
7107Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
7108
7109 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
7110 DEST for the spill, adjust mode of SRC to compensate.
7111
42f4929d
RH
7112Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
7113
7114 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
7115 since any_memory_operand() allows pseudos during reload.
7116 (reload_inhi, reload_outqi, reload_outhi): Likewise.
7117
08417478
JW
7118Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
7119
7120 * m68k.md (btst patterns): Add 5200 support.
7121
750e8348
TM
7122Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7123
7124 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
7125 optimizations, look inside dividend to determine if the expression
7126 can be simplified by using EXACT_DIV_EXPR.
7127
ede19932
JM
7128Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
7129
7130 From Brendan:
7131 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
7132
66d91cb9
RH
7133Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
7134
7135 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
7136
4f3f5e9f
RH
7137Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
7138
7139 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
7140 on a CLOBBER.
7141
f3352b9e
RH
7142Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
7143
7144 * alpha.md (movqi, movhi): Make sure new insns created during reload
7145 won't need reloading themselves.
7146 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
7147
0cecc190
JL
7148Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
7149
7150 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
7151
a09ba5a2
RH
7152Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
7153
7154 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
7155 Patch from Klaus Kaempf <kkaempf@progis.de>.
7156
7581a30f
JW
7157Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
7158
7159 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
7160 to an element in a constant string.
7161
d84e64d4
JM
7162Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
7163
7164 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
7165 bit PC-relative offset. The exception range table pointer is now in
7166 the CIE.
7167 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
7168 (count_fdes, add_fdes, get_cie): Adjust.
7169 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
7170
7171 From H.J. Lu:
7172 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
7173
96286722
RH
7174Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
7175
7176 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
7177 like stack_pointer_rtx.
7178
e85988b5
MH
7179Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
7180
361e618f
MH
7181 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
7182 targets using "$@" to provide support for similar but not identical
7183 targets without having to duplicate code.
7184 (bootstrap4): New goal.
7185
e85988b5
MH
7186 * Makefile.in (compare, compare-lean, compare3): Combined to one
7187 ruleset determining actions to be performed via $@.
7188 (compare4, compare4-lean): New targets.
7189 (gnucompare, gnucompare3): Combined to one ruleset determining
7190 actions to be performed via $@. Also, note which files failed
7191 the comparison test in .bad_compare.
7192 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
7193
91585c63
TM
7194Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
7195
7196 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
7197 if the dividend is a multiple of the divisor.
7198
da0af5a5
JL
7199Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
7200
7337c67f
JL
7201 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
7202
adb9effb 7203 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
6d849a2a 7204 and POS_DEC.
6d849a2a
JL
7205
7206 * alias.c (true_dependence): Fix typo.
7207
6d6d0fa0
JL
7208 * toplev.c (flag_rerun_loop_opt): New variable.
7209 (f_options): Handle -frerun-loop-opt.
7210 (rest_of_compilation): If -frerun-loop-opt, then run the loop
7211 optimizer twice.
7212 (main): Enable -frerun-loop-opt by default for -O2 or greater.
7213
da0af5a5
JL
7214 * loop.c (simplify_giv_expr): Adding two invariants results
7215 in an invariant.
7216
ca0f2220
RH
7217Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
7218
b57062ca 7219 * expr.c (get_inner_reference): Remove the array bias after
ca0f2220
RH
7220 converting the index to Pmode.
7221
a6f7ba17
JL
7222Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
7223
7224 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
7225 (TARGET_MULT_BUG): Define.
7226 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
7227 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
7228
17ad8a3b
JL
7229Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
7230
7231 * mn10200.c (indirect_memory_operand): Delete unused function.
7232 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
7233 * mn10200.md (bset, bclr insns): Handle output in a reg too.
7234
e16b49d3
RH
7235Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
7236
7237 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
7238 the callee's ldgp, we must do it ourselves, and we use the jsr tag
7239 for more than scheduling.
7240
27f65411
DE
7241Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
7242
7243 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
7244
e9ad4573
JL
7245Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
7246
7247 * mn10300.c (symbolic_operand, legitimize_address): New functions.
7248 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
7249 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
7250
66724f0a
JL
7251Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
7252
7253 * version.c: Bump for snapshot.
7254
c401498b
R
7255Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7256
7257 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
7258 for FILENAME.
7259
b22b9b3e
JL
7260Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
7261
56bf1fd9
JL
7262 * toplev.c (flag_exceptions): Default value is 2.
7263 (compile_file): If flag_exceptions still has the value 2, then
7264 set it to 0.
7265
a04232e5
JL
7266 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
7267 (rs6000_save_machine_status): Save pic_offset_table_rtx.
7268 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
7269
0bd83abd
JL
7270 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
7271 are shared.
7272
b22b9b3e
JL
7273 * rs6000.md (*movsi_got_internal_mem): New pattern.
7274 (*movsi_got_internal_mem splitter): New define_split.
7275
c1e385db
JW
7276Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
7277
7278 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
7279
1a986152
GK
7280Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7281
7282 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
7283 only need to save LR.
7284
5d29a95f
JL
7285Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
7286
c6ee9150
JL
7287 * mn10300.md (movqi, movhi): Avoid using address registers as
7288 destinations unless absolutely necessary.
7289
d5255ba2
JL
7290 * mn10200.c (expand_prologue): Fix typo.
7291
9d2128b8
JL
7292 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
7293 addresses.
7294 * mn10200.md (neghi2): Provide an alternative which works if
7295 the input and output register are the same.
7296
576e5acc
JL
7297 * mn10300.c (print_operand): Handle 'S'.
7298 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
7299 shift amount in last alternative
7300
5d29a95f
JL
7301 * mn10300.c (expand_epilogue): Rework to handle register restores
7302 in "ret" and "retf" instructions correctly.
7303
3bf1b082
JW
7304Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
7305
7306 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
7307 extzv for memory operands.
7308
7309 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
7310 redundant conditional moves to single operand.
7311
ddbd8d36
NC
7312Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
7313
7314 * v850.h: Move define of __v850__ from CPP_PREDEFINES
7315 to CPP_SPEC.
b57062ca 7316
ddbd8d36
NC
7317 * xm-v850.h: Use __v850 rather than __v850__ to
7318 identify v850 port.
7319
a944a4eb
JW
7320Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
7321
7322 * mips/mips.c (compute_frame_size): Not a leaf function if
7323 profile_flag set.
7324
2d5b6dea
GK
7325Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
7326
7327 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
7328
f0a9fa6c
DE
7329Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
7330
7331 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
7332 (DEFAULT_ARCH32_P): New macro.
7333 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
7334 (enum cmodel): Declare.
7335 (sparc_cmodel_string,sparc_cmodel): Declare.
7336 (SPARC_DEFAULT_CMODEL): Provide default.
7337 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
7338 (TARGET_FULLANY): Deleted.
7339 (TARGET_CM_MEDMID): New macro.
7340 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
7341 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7342 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
7343 (CPP_SPEC): Rewrite.
7344 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7345 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
7346 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
7347 (ASM_SPEC): Add %(asm_arch).
7348 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
7349 Rename asm_default to asm_cpu_default.
7350 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
7351 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
7352 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
7353 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
7354 (MASK_INT64,MASK_LONG64): Delete.
7355 (MASK_ARCH64): Renamed to MASK_64BIT.
7356 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
7357 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
7358 (TARGET_SWITCHES): Always provide 64 bit options.
7359 (ARCH64_SWITCHES): Delete.
7360 (TARGET_OPTIONS): New option -mcmodel=.
7361 (INT_TYPE_SIZE): Always 32.
7362 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
7363 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
7364 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
7365 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
7366 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
7367 CPP_SPEC.
7368 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7369 * sparc/linux.h: Likewise.
7370 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
7371 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
7372 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
7373 (SPARC_DEFAULT_CMODEL): Define.
7374 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7375 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7376 (LONG_DOUBLE_TYPE_SIZE): Define.
7377 (ASM_SPEC): Add %(asm_arch).
7378 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7379 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7380 (TARGET_CPU_DEFAULT): Add ultrasparc case.
7381 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
7382 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
7383 (SPARC_DEFAULT_CMODEL): Define.
7384 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
7385 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
7386 MASK_LONG64, MASK_MEDANY.
7387 (SPARC_DEFAULT_CMODEL): Define.
7388 (CPP_PREDEFINES): Delete.
7389 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
7390 (ASM_SPEC): Add %(asm_arch).
7391 (LONG_DOUBLE_TYPE_SIZE): Define.
7392 (DWARF2_DEBUGGING_INFO): Define.
7393 * sparc/splet.h (CPP_SPEC): Delete.
7394 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
7395 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
7396 (BLOCK_PROFILER): Likewise.
7397 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
7398 (sparc_override_options): Handle code model selection.
7399 (sparc_init_expanders): Renamed from sparc64_init_expanders.
7400 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
7401 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
7402 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
7403 (sethi_di_fullany): Delete.
7404
a3b0df2d
KK
7405Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
7406 Jeff Law <law@cygnus.com>
7407 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7408
3a133c72
KK
7409 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
7410 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
7411 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
7412 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
7413 * alpha/alpha.md (arg_home): Likewise.
7414
a3b0df2d
KK
7415 * alpha/alpha.c (vmskrunch): Delete
7416 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
7417 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
7418 truncate to 64 characters.
7419
7420 * make-l2.com: Support openVMS/Alpha.
7421
7422 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
7423
7d4f2e6c
R
7424Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7425
7426 * longlong.h (count_leading_zeros): Add missing casts to USItype.
7427
decd44ac
JL
7428Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
7429
7430 * i386/bsd386.h (ASM_COMMENT_START): Define.
7431
d1485032
JM
7432Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
7433
7434 * tree.c (restore_tree_status): Also free up temporary storage
7435 when we finish a toplevel function.
7436 (dump_tree_statistics): Print stats for backend obstacks.
7437
6bd35f86
DE
7438Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
7439
7440 * expr.c (use_group_regs): Don't call use_reg for MEMs.
7441
d1485032
JM
7442Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
7443
7444 * libgcc2.c (__throw): Don't copy the return address.
7445 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
7446
7447 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
7448 * toplev.c (main): Initialize exceptions_via_longjmp.
7449
7450 * tree.c: Add extra_inline_obstacks.
7451 (save_tree_status): Use it.
7452 (restore_tree_status): If this is a toplevel inline obstack and we
7453 didn't want to save anything on it, recycle it.
7454 (print_inline_obstack_statistics): New fn.
b57062ca 7455 * function.c (pop_function_context_from): Pass context to
d1485032
JM
7456 restore_tree_status.
7457 * obstack.h (obstack_empty_p): New macro.
7458
6981eacf
JL
7459Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
7460
7461 * i386/freebsd.h (ASM_COMMENT_START): Fix.
7462
1933ec7e
JW
7463Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
7464
7465 * v850.c (ep_memory_offset): New function.
7466 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
7467
7468 * v850.h (CONST_OK_FOR_*): Add and correct comments.
7469 (CONSTANT_ADDRESS_P): Add comment.
7470 (EXTRA_CONSTRAINT): Define 'U'.
7471 * v850.md: Add comments on bit field instructions.
7472 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
b57062ca 7473 (lshrsi3): Use N not J constraint.
1933ec7e
JW
7474
7475 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
7476
7477 * v850.c (reg_or_0_operand): Call register_operand.
7478 (reg_or_int5_operand): Likewise.
7479 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
7480 (TARGET_SWITCHES): Add "big-switch".
7481 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
7482 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
7483 (CASE_DROPS_THROUGH): Comment out.
7484 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
7485 * v850.md (cmpsi): Delete compare mode.
7486 (casesi): New pattern.
7487
7488 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
7489 * v850.md (ashlsi3): Use SImode not QImode for shift count.
7490 (lshrsi3): Likewise.
7491
7492 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
7493 unreachable switch statement after 'b' support. Remove "b" from
7494 strings for 'b' support.
7495 * v850.md (branch_normal, branch_invert): Change %b to b%b.
7496
13c2de98
JL
7497Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
7498
7499 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
7500 empty line if @inhibit_libc@ is empty.
7501
b2167bee
RL
7502Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
7503
7504 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
7505 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
7506 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7507 (DWARF2_UNWIND_INFO): Let this track object file format.
7508 (EXTRA_SECTIONS): Add in_eh.
7509 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
7510 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7511
bf2a2c6b
DM
7512Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
7513
7514 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
da2a90f7
DM
7515 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
7516 TARGET_MEDANY.
f4f8e370
DE
7517 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
7518 (output_double_int): Output DI mode values correctly when
7519 HOST_BITS_PER_WIDE_INT is 64.
9d162eb2
DE
7520 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
7521 fmovd so it works if a quad float ends up in one of the upper 32
7522 float regs.
7e37212e
DM
7523 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
7524 necessary for PIC support on sparc64.
bf2a2c6b 7525
9ff84e67
DE
7526Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
7527
7528 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
7529 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
7530 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
7531 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
7532 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
7533 (SPARC_FP_ARG_FIRST): New macro.
7534 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
7535 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
7536 (NPARM_REGS): There are 32 fp argument registers now.
7537 (FUNCTION_ARG_REGNO_P): Likewise.
7538 (FIRST_PARM_OFFSET): Update to new v9 abi.
7539 (REG_PARM_STACK_SPACE): Define for arch64.
7540 (enum sparc_arg_class): Delete.
7541 (sparc_arg_count,sparc_n_named_args): Delete.
7542 (struct sparc_args): Redefine and use for arch32 as well as arch64.
7543 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
7544 (FUNCTION_ARG_ADVANCE): Rewrite.
7545 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
7546 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
7547 (FUNCTION_ARG_CALLEE_COPIES): Delete.
7548 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
7549 (STRICT_ARGUMENT_NAMING): Define.
7550 (doublemove_string): Declare.
7551 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
7552 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
7553 (doublemove_string): New function.
7554 (output_move_quad): Clean up some of the arch64 support.
7555 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
7556 Don't add 8 bytes of reserved space if arch64.
7557 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
7558 (init_cumulative_args): New function.
7559 (function_arg_slotno): New static function.
7560 (function_arg,function_arg_partial_nregs): New functions.
7561 (function_arg_{pass_by_reference,advance}): New functions.
7562 (function_arg_padding): New function.
c1215820 7563 * ginclude/va-sparc.h: Rewrite v9 support.
9ff84e67 7564
b8fb2d72
CI
7565Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
7566
f22376c7
CI
7567 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
7568 for hard regs to determine base and index registers.
7569
b8fb2d72
CI
7570 * reload.c (debug_reload_to_stream): New function. Specify stream
7571 into which to write debug info.
7572 (debug_reload): Modify to call debug_reload_to_stream with stderr.
7573
b79ee7eb
RH
7574Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
7575
7576 * combine.c (can_combine_p): Don't combine with an asm whose
7577 output is a hard register.
7578
5c19a356
MS
7579Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
7580
7581 * c-decl.c (start_struct): Ensure that structs with forward
7582 declarations are in fact packed when -fpack-struct is given.
7583
7584 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
7585 we are packing a structure. This allows a structure with only
7586 bytes to be aligned on a byte boundary and have no padding on a
7587 m68k.
7588
02bef6da
RK
7589Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7590
7591 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
7592
9ecc37f0
RH
7593Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
7594
7595 * alpha.c (alpha_return_addr_rtx): New variable.
7596 (alpha_save_machine_status): New; save it.
7597 (alpha_restore_machine_status): New; restore it.
7598 (alpha_init_expanders): New; clear it.
7599 (alpha_return_addr): New; set it.
7600 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
7601 is overly conservative, so search the insns explicitly.
7602 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
7603 (alpha_sa_size [VMS && !VMS]): Likewise.
7604 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
7605 (INIT_EXPANDERS): New definition.
b57062ca 7606
9ecc37f0
RH
7607 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
7608 (output_prolog [!VMS]): Use them.
7609
7610 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
b57062ca 7611 (alpha_does_function_need_gp): ... a new function. Refine the
9ecc37f0
RH
7612 CALL_INSN test to just TYPE_JSR.
7613 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
7614
bda2ffef
JL
7615Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
7616
7617 * version.c: Bump for snapshot.
7618
96b63cd7
RK
7619Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7620
7621 * pa.c (move_operand): Respect -mdisable-indexing.
7622 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
7623
f192bf8b
DE
7624Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
7625
7626 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
7627 PPC601.
7628 (umulsidi3,umulsi3_highpart): Ditto.
7629 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
7630
2ea844d3
RH
7631Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
7632
7633 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
7634 (alpha_handle_trap_shadows): ... a new function. Handle the entire
7635 function in one go. Emit RTL for trapb, instead of printf directly.
7636 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
7637 (trap_pending): Kill global variable.
7638 (output_epilog): Don't call final_prescan_insn.
7639 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
7640 * alpha.h (FINAL_PRESCAN_INSN): Remove.
7641 (MACHINE_DEPENENT_REORG): Define.
7642 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
7643 (trapb): New insn.
7644
74835ed8
RH
7645Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
7646
7647 Tune Haifa scheduler for Alpha:
7648 * alpha.h (ISSUE_RATE): Define.
7649 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
7650 EV4 adjustments to EV5.
7651 * alpha.md: Remove all scaling from function unit delays. Rework
7652 EV5 function units to match the CPU.
7653 (umuldi3_highpart): EV5 added the IMULH insn class.
7654
cdc0de30
JL
7655Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
7656
7657 * pa.c (following_call): Fail if the CALL_INSN is an indirect
7658 call.
7659
041c97f2
MM
7660Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
7661
7662 * cplus-dem.c (demangle_signature): Don't look for return types on
7663 constructors. Handle member template constructors.
7664
f0632762
JM
7665Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
7666
7667 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
22ef8a13 7668 * tree.h: Declare them.
f0632762 7669
dec88383
DE
7670Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
7671
7672 * configure.in: Handle --with-newlib.
7673 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
7674
7675 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
7676
0e1f3f5e
JL
7677Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
7678
7679 * config/ptx4.h: Fix typo.
7680
12504ae0
JL
7681Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
7682
7683 * version.c: Bump for snapshot.
7684
5643c767
MH
7685Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
7686
7687 * aclocal.m4: Substitute INSTALL.
7688 * configure: Re-built.
7689
aa0c1401
JL
7690Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
7691
f644bd14
JL
7692 * integrate.c (save_for_inline_copying): Avoid undefined pointer
7693 operations.
7694 (expand_inline_function): Likewise.
7695
aa0c1401
JL
7696 * dwarf2out.c (output_call_frame_info): Reinstate last change
7697 using flag_debug_asm check instead of flag_verbose_asm.
7698
6c2df6c9
JW
7699Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
7700
7701 * dwarf2out.c (output_call_frame_info): Remove last change.
7702
13ab2b83
AS
77031997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7704
7705 * frame.c (__frame_state_for): Execute the FDE insns until the
7706 current pc value is strictly bigger than the target pc value.
7707
066c2fea
JM
7708Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
7709
b57062ca 7710 * regclass.c (init_reg_modes): If we can't find a mode for the
066c2fea
JM
7711 register, use the previous one.
7712
2f308fec
RH
7713Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
7714
7715 * haifa-sched.c (print_block_visualization): Call fprintf directly,
7716 don't sprintf through an alloca'ed buffer.
7717
43984e29
TK
7718Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
7719
7720 * reload.c (decompose): Always initialize val.base.
7721
e9e30253
MH
7722Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7723
7724 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
7725 instead of aborting.
7726 * dwarf2out.c (output_call_frame_info): Call app_enable and
7727 app_disable to let GNU as accept the generated comments.
7728
496651db
MM
7729Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
7730
7731 * tree.h (get_file_function_name): Add declaration.
7732 * dwarf2out.c (output_call_frame_info): No need to cast
7733 get_file_function_name call anymore.
7734 * profile.c (toplevel): Remove get_file_function_name
7735 declaration.
7736 * c-lang.c (finish_file): Ditto.
7737
e6347456
CS
7738Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
7739
7740 * Makefile.in (program_transform_name): Let autoconf substitute
7741 the correct value.
7742
1447b516
JL
7743Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
7744
7745 * haifa-sched.c (schedule_block): If the first real insn in a
7746 block has any special notes attached to it, remove them.
7747
1a42ead7
RH
7748Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
7749
7750 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
7751
4b6140f1
MH
7752Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7753
7754 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
7755
dc84d7bc
JL
7756Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
7757
7758 * Makefile.in (check-g77): New test target.
7759 (CHECK-TARGETS): Add check-g77.
7760
c0da11c4
JM
7761Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
7762
7763 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
7764
d8d64559
MM
7765Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
7766
7767 * flow.c (print_rtl_with_bb): Cast alloca return value for
7768 in_bb_p.
7769
e414ab29
RH
7770Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
7771
b57062ca 7772 * i386.h (RETURN_ADDR_RTX): New definition that works for
e414ab29
RH
7773 __builtin_return_address(0) and -fomit-frame-pointer.
7774
15039abe
JW
7775Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
7776
7777 Bring over from FSF.
7778 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
7779
b57062ca 7780 * mips.c (function_arg): Handle passing a struct
15039abe
JW
7781 containing a double in a DFmode register without the PARALLEL.
7782
281de624
ILT
7783Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
7784
d8d64559 7785 * pexecute.c: Use spawn if __CYGWIN32__.
281de624 7786
d8d64559 7787 * pexecute.c: Include "config.h" first, as per autoconf manual
281de624
ILT
7788 (from Paul Eggert <eggert@twinsun.com>).
7789
3cbdd5fc
PDM
7790Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7791
7792 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
7793 optimisation for f/expr.o and f/stb.o.
7794
135d84b8
JL
7795Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
7796
7797 * cse.c (this_insn_cc0_mode): Initialize.
7798
55d89719
TK
7799Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
7800
d3878e49
TK
7801 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
7802
7803 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
55d89719 7804
e9d0757e
RH
7805Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
7806
7807 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
7808 that pair will dual-issue on the 21164 and plus+beq won't.
7809 (bne): Likewise for cmpeq+beq.
7810
3f34faec
JW
7811Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
7812
7813 * except.c (find_exception_handler_labels): Correct argument to free.
7814
3226dac5 7815Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
988cea7d
BK
7816
7817 * except.c (find_exception_handler_labels): Free LABELS when we're
7818 done.
7819
3a6eabfa
JL
7820Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
7821
7822 * version.c: Bump for snapshot.
7823
974c50f9
JM
7824Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
7825
7826 * flow.c (find_basic_blocks): Mark calls as potentially jumping
7827 to the EH labels.
7828
9b16d2c4
JL
7829Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
7830
7831 * configure.in: Substitute for "install" too.
7832 * configure: Rebuilt.
7833
b1e3ddfd
AJ
7834Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
7835
7836 * Makefile.in (bootstrap-lean, compare-lean): New targets.
7837
6662a38d
RH
7838Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
7839
c02f035f
RH
7840 * alias.c (base_alias_check): Two symbols can conflict if they
7841 are accessed via AND.
7842 (memrefs_conflict_p): Likewise.
7843
7a14fdc5
RH
7844 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
7845 after flushing argument registers to the stack.
7846
6662a38d
RH
7847 * Makefile.in (mostlyclean): Remove .regmove files.
7848
f3447109
JM
7849Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
7850
7851 * libgcc2.c (__throw): Fix thinko.
7852
37f6b6bf
MM
7853Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
7854
7855 * cplus-dem.c (demangle_template): Add new parameter. Handle new
7856 template-function mangling.
7857 (consume_count_with_underscores): New function.
7858 (demangle_signature): Handle new name-mangling scheme.
7859
adfc539e
PDM
7860Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7861
7862 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
7863 start and end.
7864
92cbe4d2
JL
7865Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
7866
7867 * frame.c: Remove last change.
7868 * dwarf2.h: Remove last change.
7869 * tree.h: Add declarations of DWARF2 unwind info support
7870 functions.
7871
2f3ca9e7
JM
7872Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
7873
7874 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
7875 * tree.h (built_in_function): Likewise.
7876 * expr.c (expand_builtin): Likewise.
7877 * except.h: Likewise.
7878 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
7879 * libgcc2.c (copy_reg): New fn.
7880 (__throw): Use it.
7881
407cb092
PE
7882Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
7883
7884 * c-typeck.c (build_binary_op): Warn about comparing signed vs
7885 unsigned if -W is specified and -Wno-sign-compare is not.
7886 * c-decl.c (warn_sign_compare): Initialize to -1.
7887 (c_decode_option): -Wall no longer implies -Wsign-compare.
7888
3ba10494
AS
7889Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7890
a7cc7f29
AS
7891 * frame.c: Include gansidecl.h for PROTO.
7892 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
7893 defined. Don't declare dwarf2out_cfi_label here.
7894 * dwarf2.h: Add declarations of DWARF2 unwind info support
7895 functions.
7896 * m68k.c: Include dwarf2.h.
7897 (output_function_prologue): Add dwarf2 support.
7898 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
7899 (INCOMING_FRAME_SP_OFFSET): Likewise.
7900
3ba10494
AS
7901 * integrate.c (expand_inline_function): Make sure there is at
7902 least one insn that can be used as an insertion point.
7903
c5cec899
JM
7904Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
7905
7906 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
7907
e166cb18
JL
7908Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
7909
7910 * version.c: Bump for snapshot.
7911
01a94cba
DE
7912Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
7913
7914 Bring over from FSF.
7915
7916 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
7917
7918 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
7919 (get_pc_via_rdpc): Renamed from get_pc_sp64.
7920 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
7921
7922 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
7923
7924 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
7925 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
7926 -malign-functions=.
7927 (sparc_align_{loops,jumps,funcs}_string): Declare.
7928 (sparc_align_{loops,jumps,funcs}): Declare.
7929 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
7930 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
7931 (STACK_BIAS): Define.
7932 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
7933 test.
7934 (SPARC_SETHI_P): New macro.
7935 (CONST_OK_FOR_LETTER_P): Use it.
7936 (ASM_OUTPUT_ALIGN_CODE): Define.
7937 (ASM_OUTPUT_LOOP_ALIGN): Define.
7938 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
7939 (sparc_align_{loops,jumps,funcs}): New globals.
7940 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
7941 -malign-functions=.
7942 (move_operand): Use SPARC_SETHI_P.
7943 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
7944 perform test.
7945 (arith11_double_operand): Likewise.
7946 (arith10_double_operand): Likewise.
7947 (finalize_pic): Finish sparc64 support.
7948 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
7949 64 bit constants if able.
7950 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
7951 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
7952 ! TARGET_FPU.
7953 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
7954 (get_pc_sp32): Use for sparc64 as well.
7955 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
7956 (sethi_di_sp64_const): Likewise.
7957 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
7958 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
7959 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
7960
7961 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
7962
7963 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
7964 * sparc/linux.h (COMMENT_BEGIN): Likewise.
7965 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
7966
7967 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
7968
7969 Add sparc64 linux support.
7970 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
7971 to xm_file list on 32-bit sparc-linux.
7972 * sparc/xm-sp64.h: New file.
7973 * sparc/linux64.h: New file.
7974 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
7975 Don't include xm-sparc.h.
7976 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
7977 * glimits.h (LONG_MAX): Handle sparc64.
7978
7979 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
7980
7981 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
7982 * sparc.h (ASM_COMMENT_START): Define.
7983 * sparc.c (output_function_prologue): Use it.
7984 (sparc_flat_output_function_{epi,pro}logue): Likewise.
7985
7986 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
7987
7988 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
7989 use sparc.h's copies.
7990 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
7991 ascii form as well.
7992
7993 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7994
7995 * sparc.c (dwarf2out_cfi_label): Add declaration.
7996 (save_regs, output_function_prologue): Remove cast for it.
7997 (sparc_flat_{save_restore,output_function_prologue): Likewise.
7998 ({save,restore}_regs): No longer inline.
7999
ce2157a1
JL
8000Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8001
8002 * fold-const.c (make_range): Correctly handle cases of converting
8003 from unsigned to signed type.
8004
8005Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8006
8007 * fold-const.c (merge_ranges): Make sure that if one range is subset
8008 of another, it will always be the second range. Correct (+,-) case to
8009 account for this.
8010
c5cec899
JM
8011Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
8012
8013 * final.c (final_end_function): Also do dwarf2 thing if
8014 DWARF2_DEBUGGING_INFO.
8015 (final_start_function): Likewise.
8016
c107334d
DM
8017Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
8018
e13a25d5
DM
8019 * expmed.c (expand_divmod): If compute_mode is not the same as
8020 mode, handle the case where convert_modes() causes op1 to no
8021 longer be a CONST_INT.
8022
c107334d
DM
8023 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
8024 note holding get_jump_flags() calculation to all JUMP_INSNs.
8025 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
8026 * rtl.c (reg_note_name): Add new note types.
8027
8d7532d9
JL
8028Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
8029
0774afd7 8030 * rtlanal.c (computed_jump_p): Fix typo in last change.
8d7532d9 8031
7019d00e
L
8032Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8033
8034 * loop.c (indirect_jump_in_function_p): Return 0
8035 by default.
8036
b9dfb357
JL
8037Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
8038
8039 * rs6000/xm-rs6000.h: Fix thinko in last change.
8040 * rs6000/xm-sysv4.h: Likewise.
8041
4b7e467b
JW
8042Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
8043
8044 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
8045
8c8e6faa
JL
8046Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
8047
8048 * reg-stack.c (find_blocks): Fix thinko in last change.
8049
078e983e
AS
80501997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8051
8052 * m68k.c (output_function_prologue): Add dwarf2 support.
8053
8054 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
8055 INCOMING_FRAME_SP_OFFSET): New definitions.
b57062ca 8056
d7027667
DM
8057Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
8058
9524f769
DM
8059 * combine.c (try_combine): Use NULL_RTX instead of '0' where
8060 appropriate in calls to gen_rtx().
8061 * cse.c (cse_main): Likewise.
8062 * emit-rtl.c (gen_label_rtx): Likewise.
8063 * expr.c (init_expr_once): Likewise.
8064 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
8065 sched_analyze, init_rgn_data_dependences,
8066 compute_block_backward_dependences): Likewise.
8067 * sched.c (schedule_insns): Likewise.
8068 * varasm.c (immed_double_const): Likewise.
8069
d7027667
DM
8070 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
8071 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
8072
fbf8b71c
KJ
8073Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
8074
8075 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
8076 (MULTILIB_DEFAULTS): Define.
8077 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
8078 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
8079 (LIBGCC_SPEC): Likewise.
8080 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
8081 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
8082 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
8083 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
8084 (EXTRA_PARTS, TAROUTOPTS): Delete.
8085 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
8086 (MULTILIB_OPTIONS): Define.
8087 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
8088 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
8089
c14a951f
JL
8090Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
8091
8092 * version.c: Bump for snapshot.
8093
7014927a
JL
8094Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
8095
37aa45a2
JL
8096 * loop.c (loop_number): Delete function. Change all references
8097 to use uid_loop_num array.
8098 * loop.h (loop_number): Delete declaration.
8099 * unroll.c (unroll_loop): Change "loop_number" references to
8100 use uid_loop_num instead.
8101
b47404d1
JL
8102 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
8103 conditional.
8104 (loop_unroll_iter): Remove unused variable and all references.
8105 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
8106 (insert_bct): Fix minor formatting problems.
8107 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
8108 (loop_unroll_iter): Removed unused decl.
8109 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
8110 Always record the unrolling factor.
8111
cb3bb2a7
JL
8112 * cse.c (simplify_relational_operation): Set h0u just like h0s.
8113 Similarly for h1u and h1s.
8114
d5ff3a2e 8115 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
2a1777af
JL
8116 (find_basic_blocks): Use computed_jump_p to determine if a
8117 particular JUMP_INSN is a computed jump.
8118 * reg-stack.c (find_blocks): Use computed_jump_p to determine
8119 if a particular JUMP_INSN is a computed jump.
8120 * rtlanal.c (jmp_uses_reg_or_mem): New function.
8121 (computed_jump_p): Likewise.
8122 * rtl.h (computed_jump_p): Declare.
8123 * genattrtab.c (pc_rtx): Define and initialize.
8124 * loop.c (loop_optimize): Always determine if the current
8125 function has a computed jump.
8126 (indirect_jump_in_function_p): Use computed_jump_p to determine
8127 if a particular JUMP_INSN is a computed jump.
8128
7014927a
JL
8129 * loop.c (fix_bct_param): Delete unused function.
8130 (check_bct_param): Likewise.
8131
6d53d7c2
JM
8132Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
8133
8134 * frame.c (__deregister_frame): Check properly for initialized object.
8135
5a5e9503 8136Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
71e4fbe6
L
8137
8138 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
8139
272299b9
R
8140Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8141
cc5e1642
R
8142 * jump.c (thread_jumps): check can_reverse_comparison_p before
8143 threading a reversed-condition jump.
8144
272299b9
R
8145 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
8146 * haifa-sched.c (update_flow_info): Likewise.
8147
18511014
JL
8148Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
8149
e6493727
JL
8150 * Makefile.in (BOOT_CFLAGS): Use -O2.
8151
1e467e19
JL
8152 * configure.in (strtoul, bsearch): Have autoconf check for these
8153 functions.
8154 * configure, config.in: Rebuilt.
8155
18511014
JL
8156 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
8157 * mips/mips.h (alloca): Likewise.
8158 * rs6000/xm-rs6000.h (alloca): Likewise.
8159 * rs6000/xm-sysv4.h: Likewise.
8160
6020d360
JM
8161Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
8162
8163 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
8164 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
8165 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
8166
8167 * except.c (end_eh_unwinder): Subtract 1 from return address.
8168 * libgcc2.c (__throw): Likewise.
8169 (find_exception_handler): Don't change PC here. Compare end with >.
8170
b24bcfb3 8171Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
b57062ca 8172
b24bcfb3
NC
8173 * v850.c (compute_register_save_size): Correct register
8174 number.
8175 * v850.md (save_interrupt, return_interrupt): Correct
8176 register number.
8177 * v850/lib1funcs.asm (save_interrupt): Correct register number.
8178 (return_interrupt): Use stack pointer, not element pointer.
8179
93cf819d
BK
81801997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
8181
8182 * configure.in, configure: Make sure to create the stage* and include
8183 symbolic links in each subdirectory.
8184
f0501149
JL
8185Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
8186
8187 * pa.md (reload_peepholes): Don't allow addresses with side
8188 effects for the memory operand.
8189
4f870c04
JM
8190Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
8191
8192 * libgcc2.c (find_exception_handler): Subtract one from our PC when
8193 looking for a handler, to avoid hitting the beginning of the next
8194 region.
8195
8196 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
8197
4eb66248
JL
8198Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
8199
8200 * mips/abi64.h (LONG_MAX_SPEC): Define.
8201 * mips.h (LONG_MAX_SPEC): Define.
8202 (CPP_SPEC): Include long_max_spec.
8203 (EXTRA_SPECS): Include long_max_spec.
8204
44158507
JL
8205Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
8206
8207 * v850.c (construct_save_jarl): Fix thinko in last change.
8208
bf520cd9
JL
8209Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
8210
8211 * version.c: Bump for snapshot.
8212
255fe733
JM
8213Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
8214
c0727e2a
JM
8215 * libgcc2.c (find_exception_handler): Not found is -1.
8216
255fe733
JM
8217 * integrate.c (expand_inline_function): Move expand_start_bindings
8218 after expanding the arguments.
8219
21002281
JW
8220Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
8221
8222 * expr.c (expand_expr): Remove previous incorrect change.
8223 If target and slot has no DECL_RTL, then call mark_addressable
8224 again for the slot after we give it RTL.
8225
e693cc28 8226Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
f633220c 8227
e693cc28
UD
8228 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
8229 again for the slot after we give it RTL.
f633220c 8230
145870b5
NC
8231Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
8232
84e75068 8233 * v850.c (register_is_ok_for_epilogue,
145870b5
NC
8234 pattern_is_ok_for_epilogue, construct_restore_jr,
8235 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
8236
84e75068 8237 * v850.h (pattern_is_ok_for_prologue,
145870b5
NC
8238 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
8239 predicates.
8240
84e75068 8241 * v850.md: Replace prologue and epilogue patterns with a
145870b5
NC
8242 match_parallel pattern.
8243
76143254
JL
8244Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
8245
8246 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
8247 * configure.in: Use EGCS_PROG_INSTALL.
8248
4401bf24
JL
8249Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
8250
8251 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
8252 extern inline function.
8253
8254Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
8255
8256 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
8257 (concat_loc_descriptor): New function.
8258 (loc_descriptor): Call it.
8259 (add_AT_location_description): Also elide the descriptor if both
8260 halves of a CONCAT are pseudos.
8261 (add_location_or_const_value_attribute): Recognize CONCAT too.
8262
0d24ff5d
RH
8263Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
8264
4bb43724
RH
8265 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
8266
0d24ff5d
RH
8267 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
8268 out-or-range reg_offset.
8269 (output_epilog): Likewise.
8270
05ef8897
JL
8271Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
8272
8273 * cse.c (simplify_relational_operation): If MODE specifies a
8274 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
8275 is derived from the sign bit of the low word.
8276
ca55abae
JM
8277Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
8278
8279 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
8280
8281 * dwarf2.h: Add DW_CFA_GNU_args_size.
8282 * frame.c (execute_cfa_insn): Likewise.
8283 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
8284 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
8285 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
8286 insn, hand it off to dwarf2out_stack_adjust.
8287 (dwarf2out_begin_prologue): Initialize args_size.
8288 * frame.h (struct frame_state): Add args_size.
8289 * libgcc2.c (__throw): Use args_size.
8290 * final.c (final_scan_insn): If we push args, hand off all insns
8291 to dwarf2out_frame_debug.
8292 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
8293
8294 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
8295 Handle epilogue restore of SP from FP.
b57062ca 8296 * emit-rtl.c (gen_sequence): Still generate a sequence if the
ca55abae
JM
8297 lone insn has RTX_FRAME_RELATED_P set.
8298
8299 * frame.c (extract_cie_info): Handle "e" augmentation.
8300 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
8301 absence of UNALIGNED_*_ASM_OP.
8302 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
8303 (output_call_frame_info): Use "e" instead of "z" for augmentation.
8304 Don't emit augmentation fields length.
8305 (dwarf2out_do_frame): Move outside of #ifdefs.
8306 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
8307 opcodes.
8308
8309 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
8310 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
8311 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
8312 * sparc/sun4gas.h: New file.
8313 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
8314
b57062ca 8315 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
ca55abae
JM
8316 __register_frame_table and __deregister_frame.
8317
1d77fa53
BK
83181997-09-15 Brendan Kehoe <brendan@cygnus.com>
8319
8320 * except.c (find_exception_handler_labels): Use xmalloc instead of
8321 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
8322 in some cases.
8323
8be52aaa
JL
8324Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
8325
8326 * Makefile.in: Various changes to build info files
8327 in the object tree rather than the source tree.
8328
a3ee3246
JL
8329Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
8330
8331 * fixinc.math: New file to fix math.h on some systems.
8332 * configure.in (freebsd, netbsd): Use fixinc.math on these
8333 systems.
8334 * configure: Rebuilt.
8335
124da275
JL
8336Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
8337
8338 * regmove.c (regmove_optimize): If we end up moving the
8339 original insn due to lifetime overlaps, make sure to move
8340 REG_NOTES too.
8341
fca9d4b0
MH
8342Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
8343
8344 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
8345
326ee7a3
JL
8346Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
8347
8348 * haifa-sched.c (add_branch_dependences): Make each insn in
8349 a SCHED_GROUP_P block explicitly depend on the previous insn.
8350
ca55abae
JM
8351Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
8352
8353 * except.h: Prototype dwarf2 hooks.
8354 * expr.c: Adjust.
8355
5188d2b2
JW
8356Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
8357
8358 * configure.in (native_prefix): Delete.
8359 (mips-dec-netbsd): Don't set prefix.
8360 (*linux*): Don't set prefix.
8361
2e384318
FF
8362Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
8363
70988851
FF
8364 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
8365 defined. If not defined, include <sys/varargs.h> if
8366 HAVE_SYS_VARARGS_H is defined.
8367 * configure.in: Test for varargs.h and sys/varargs.h.
8368 * configure: Regenerate with autoconf.
8369 * config.in: Regenerate with autoheader.
8370
2e384318
FF
8371 * cpplib.c (quote_string): Cast first arg of sprintf call
8372 from "unsigned char *" to "char *".
8373 (output_line_command): Ditto.
8374 (macroexpand): Ditto.
8375 (do_line): Cast atoi arg from "unsigned char *" to "char *".
8376
3fb2f401
JL
8377Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
8378
f2e4e16f
JL
8379 * version.c: Bump for snapshot.
8380
3fb2f401
JL
8381 * Makefile.in (compare): Exit with nonzero status if there
8382 are comparison failures. Note which files failed the
8383 comparison test in .bad_compare.
8384
d26cb668
L
8385Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8386
8387 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
8388
ac64120e
JW
8389Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
8390
8391 * Makefile.in (LN, LN_S): New macros, use where appropriate.
8392 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
8393 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
8394 * configure: Regenerated.
8395
8396Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
8397
8398 * loop.c (strength_reduce): Fix typo.
8399
db87ec0b
JW
8400Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
8401
8402 * m88k/m88k.c (struct option): Rename to struct options.
8403 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
8404 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
8405 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
8406 __DOLPHIN__ or sysV88.
8407
04395f96
JW
8408Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
8409
8410 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
8411 create new subreg.
8412
becdcf6d
JL
8413Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
8414
8415 * config.sub: Accept 'amigados' for backward compatability.
8416
04395f96 8417Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
3979dfb8
JW
8418
8419 * Makefile.in (testsuite/site.exp): New target.
8420 (check-gcc, check-g++): Depend on testsuite/site.exp.
8421 Don't stop for failure.
8422
ca55abae
JM
8423Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
8424
8425 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
8426 if DWARF2_UNWIND_INFO.
8427
8428Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
8429
8430 Add support for exception handling using DWARF 2 frame unwind info.
8431 Currently works on SPARC and MIPS, and almost on x86.
b57062ca 8432
ca55abae
JM
8433 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
8434 next_stack_level, in_reg_window): Helper fns.
8435 (__throw): Implement for DWARF2_UNWIND_INFO.
8436
8437 * expr.c (expand_builtin): Handle builtins used by __throw.
8438 * tree.h (enum built_in_function): Add builtins used by __throw.
8439 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
8440 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
8441 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
8442 (expand_builtin_extract_return_addr): Likewise.
8443 (expand_builtin_frob_return_addr): Likewise.
8444 (expand_builtin_set_return_addr_reg): Likewise.
8445 (expand_builtin_eh_stub): Likewise.
8446 (expand_builtin_set_eh_regs): Likewise.
8447 (eh_regs): Choose two call-clobbered registers for passing back values.
8448
8449 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
8450 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
8451 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
8452 (stmp-multilib): Likewise.
8453 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
8454
8455 * except.c: #include "defaults.h".
8456 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
8457 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
8458 (register_exception_table_p): New fn.
8459 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
8460 (end_eh_unwinder): Likewise.
8461
b57062ca 8462 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
ca55abae
JM
8463 call __register_frame and __deregister_frame as needed.
8464 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
8465 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
8466 EH_FRAME_SECTION_ASM_OP.
8467 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
8468 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
8469 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
8470
8471 * dwarf2out.c (output_call_frame_info): If no support for
8472 EXCEPTION_SECTION, mark the start of the frame info with a
8473 collectable tag.
8474 * collect2.c (frame_tables): New list.
8475 (is_ctor_dtor): Recognise frame entries.
8476 (scan_prog_file): Likewise.
8477 (main): Pass -fno-exceptions to sub-compile. Also do collection
8478 if there are any frame entries.
8479 (write_c_file_stat): Call __register_frame_table and
8480 __deregister_frame as needed.
8481 (write_c_file_glob): Likewise.
8482
b57062ca 8483 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
ca55abae
JM
8484 Also require unaligned reloc support.
8485 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8486 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
8487 * sparc/sysv4.h: Not here.
8488
8489 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
8490 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
8491 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
8492
8493 * libgcc2.c (L_eh): Reorganize, moving code shared by different
8494 EH implementations to the top.
8495 (find_exception_handler): Split out. Start from 0. Compare against
8496 end with >=.
8497 (__find_first_exception_table_match): Use it.
8498 * except.c (output_exception_table): Don't do anything if there's
8499 no table. Don't output a first entry of zeroes.
8500 (eh_outer_context): Adjust properly.
8501 (add_eh_table_entry): Use xrealloc.
8502 * toplev.c (compile_file): Just call output_exception_table.
8503
8504Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
8505
8506 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
8507
8508Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
8509
8510 * except.c (eh_outer_context): Do masking using expand_and.
8511
b4d940a2
JL
8512Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
8513
8514 Add port done awhile ago for the ARC cpu.
8515 * arc/arc.h: New file.
8516 * arc/arc.c: New file.
8517 * arc/arc.md: New file.
8518 * arc/initfini.c: New file.
8519 * arc/lib1funcs.asm: New file.
8520 * arc/t-arc: New file.
8521 * arc/xm-arc.h: New file.
8522 * ginclude/va-arc.h: New file.
8523 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
8524 * ginclude/varargs.h: Likewise.
8525 * Makefile.in (USER_H): Add va-arc.h.
8526 * configure.in (arc-*-elf*): Recognize.
8527 * longlong.h: Add ARC support.
8528
8529Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
8530
8531 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
8532 when clearing non-BLKmode data.
8533
10211581
JL
8534Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
8535
9dfc6eba
MH
8536 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
8537 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
8538
55259219
MH
8539 * xm-m88k.h (USG): Only define if it hasn't already been defined.
8540
8541 * Makefile.in (risky-stage1): Delete gratutious whitespace.
8542
ee291069
MH
8543 * Makefile.in (clean): Delete libgcc1-test.
8544
10211581
JL
8545 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
8546
8547Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
48f0be1b
SC
8548
8549 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
8550 template.
8551
ca55abae
JM
8552Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8553
8554 * dwarf2out.c (output_call_frame_info): Call named_section.
8555
8f3d79e0
JL
8556Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
8557
8558 * haifa-sched.c (print_value): Fix last change.
8559
ca55abae
JM
8560Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
8561
8562 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
8563 write_symbols.
8564
8565Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
8566
8567 * mips.c (function_prologue): Set up the CFA when ABI_32.
8568
8569 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
8570 for dwarf2 unwind info.
8571 (output_function_prologue, sparc_flat_output_function_prologue): Same.
8572
8573 * final.c (final_end_function): Check dwarf2out_do_frame instead
8574 of DWARF2_DEBUG for dwarf2 unwind info.
8575 (final_scan_insn): Likewise.
8576 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
8577 (final): Not here.
8578
8579 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
8580 count > 0.
8581
8582 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
8583
74aca74b
NC
8584Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
8585
8586 * v850.h (ASM_SPEC): Pass on target processor.
8587 (CPP_PREDEFINES): Only define if not already specified.
8588 (TARGET_VERSION): Only define if not already specified.
8589 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
8590 processor.
8591 (EXTRA_SWITCHES): Extra entries in the switches array.
8592 (TARGET_DEFAULT): Set default target processor.
8593
c0b04148
JW
8594Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
8595
8596 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
8597 cases, add %# and %/, and add : to make them into extended asms.
8598
52b7724b
WL
8599Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
8600
8601 * alias.c (init_alias_analysis): Clean up incompatible pointer
8602 type warning in bzero.
8603 * regmove.c (regmove_optimize): Ditto.
8604 * haifa-sched.c (find_rgns): Ditto.
8605
8606 * haifa-sched.c (print_value): Clean up ptr->int cast
8607 warnings.
8608
0c82f6bf
FF
8609Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
8610
8611 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
8612 * install.texi (Configurations): Ditto.
8613 * config.sub: Ditto.
8614
1fed1f51
WL
8615Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
8616
8617 * Makefile.in (sdbout.o): Depend on insn-config.h.
8618
239e68f6
JW
8619Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
8620
8621 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
8622 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
8623
267c09ab
JM
8624Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
8625
8626 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
8627 prologue insn, only the first elt is significant.
8628 (output_call_frame_info): For exception handling, always use 4-byte
8629 fields as specified by the dwarf2 spec.
8630 Don't skip trivial FDEs.
8631
db7cafb0
JL
8632Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
8633
8634 * version.c: Bump for snapshot.
8635
8636Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
8637
8638 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
8639 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
8640 when op1_is_pow2.
8641
8642Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
8643
bf520cd9
JL
8644 * final.c (shorten_branches): During first pass, assume worst
8645 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
db7cafb0
JL
8646
8647 * Makefile.in (distclean): Remove various things left around
8648 by running the testsuite.
8649
7ed46111
MH
8650Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
8651
8652 * configure.in (out_file): Emit definition to config.status in order
8653 to have a defined value for configure.lang.
8654 * configure: Re-built.
8655
e41cea70
JJH
8656Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
8657
bf520cd9 8658 * configure.in: Make symlink to as-new rather than as.new. Similarly
e41cea70
JJH
8659 for ld-new.
8660 * configure: Rebuilt.
8661
1aeb1f6f
JW
8662Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
8663
8664 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
8665
770a0113
CK
8666Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
8667
8668 * sparc/sparc.md: Add ultrasparc scheduling support.
8669 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
8670
f5ffa999
PDM
8671Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8672
8673 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
8674 as initial value for real_label_map.
8675 (copy_for_inline): Likewise.
8676
acceac1a
R
8677Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8678
8679 * sched.c (update_flow_info) When looking if to set found_split_dest
8680 or found_orig_dest, look at all parts of a PARALLEL.
8681 * haifa-sched.c (update_flow_info): Likewise.
8682
f84271d9
JL
8683Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
8684
8685 * v850: New directory for v850 port.
8686 * v850/lib1funcs.asm: New file.
8687 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
8688 * ginclude/va-v850.h: New file.
8689 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
8690 * configure.in (mn10200-*-*): New target.
8691 * configure: Rebuilt.
8692 * config.sub: Handle v850-elf.
b57062ca 8693 * Makefile.in (USER_H): Add va-mn10200.h.
f84271d9
JL
8694 * invoke.texi: Document v850 stuff.
8695
89cc6098
JW
8696Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
8697
04940ba5
JW
8698 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
8699 has integer TYPE_{MAX,MIN}_VALUE before using them.
8700
89cc6098
JW
8701 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
8702 __HPUX_ASM__ versions.
8703
c74f7db8
JL
8704Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
8705
bf520cd9 8706 * install.sh: Delete duplicate install script.
c74f7db8 8707
914ec131
SC
8708Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
8709
8710 * reg-stack.c (subst_stack_regs): Pop the stack register for a
8711 computed goto which sets the same stack register.
8712
8713 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
8714 destination are both on the regstack.
8715 (subst_stack_regs_pat): Put the destination at the top of the regstack.
8716
c1090daa
JW
8717Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
8718
d5d1738a
JW
8719 * mips.md (nonlocal_goto_receiver): Define.
8720
f4da7881
JW
8721 * profile.c (output_arc_profiler): Check next_insert_after for non
8722 NULL before deferencing it.
8723
c1090daa
JW
8724 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
8725
da594c94
JL
8726Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
8727
8728 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
8729
3e28fe44
MM
8730Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
8731
8732 * toplev.c (rest_of_compilation): For passes starting with
8733 flow_analysis, use print_rtl_with_bb instead of print_rtl.
8734
8735 * print-rtl.c (print_rtl_single): Print a single rtl value to a
8736 file.
8737
8738 * flow.c (print_rtl_with_bb): Print which insns start and end
8739 basic blocks. For the start of a basic block, also print the live
8740 information.
8741
7053ca72
JW
8742Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
8743
417b0fa2
JW
8744 * toplev.c (main): Change #elif to #else/#ifdef
8745
7053ca72
JW
8746 * tlink.c: Include ctype.h.
8747 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
8748
f05a8b25
MM
8749Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
8750
8751 * bitmap.c: Conditionally include stdlib.h.
bf520cd9 8752 (free): Provide a declaration if NEED_DECLARATION_FREE.
f05a8b25 8753
02d7a569
JS
8754Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
8755
8756 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
8757
6030b6af
JW
8758Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
8759
8760 * profile.c (output_arc_profiler): Verify next_insert_after is an
8761 INSN before and after skipping a stack pop.
8762
04da53bd
R
8763Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8764
8765 * final.c (shorten_branches): Don't count the lengths of deleted
8766 instructions.
8767
780532a4
JL
8768Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
8769
8770 * version.c: Bump for snapshot.
8771
22fa5b8a
MM
8772Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
8773
8774 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
8775 two bitmaps ANDed together.
8776 (bitmap_print): Declare.
8777
8778 * bitmap.c (function_obstack): Don't declare any more.
8779 (bitmap_obstack): Obstack for allocating links from.
8780 (bitmap_obstack_init): New static to say whether to initialize
8781 bitmap_obstack.
8782 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
8783 (bitmap_release_memory): Free all memory allocated from
8784 bitmap_obstack.
8785
8786 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
8787 EXECUTE_IF_AND_IN_BITMAP.
8788
57163df0
JW
8789Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
8790
fa8b6024
JW
8791 * alias.c (true_dependence): Address with AND can alias scalars.
8792 (anti_dependence, output_dependence): Likewise.
b57062ca 8793
57163df0
JW
8794 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
8795
8aa4e786
JS
8796Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
8797
8798 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
8799 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
8800 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
8801 definitions. Use -qrtems instead of -mrtems.
8802
feb21122
RL
8803Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
8804
8805 * xm-sco5.h (sys_siglist): Define.
8806 (SYS_SIGLIST_DECLARED): Likewise.
8807
704af6a1
JL
8808Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
8809
8810 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
8811
127cd405
TG
8812Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
8813
8814 * except.c (eh_outer_context): Expand masking operation using
8815 expand_binop.
8816
8cf02b47
JW
8817Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
8818
8819 * alpha.md (floatdisf2-1): New pattern.
8820
49dad301
JL
8821Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
8822
068f1cb8
JL
8823 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
8824 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
f04e7122 8825 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
068f1cb8
JL
8826 * gcc.texi: Note that if you define sys_siglist that you should
8827 also define SYS_SIGLIST_DECLARED.
8828
49dad301
JL
8829 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
8830 are relative to the next instruction, not the current instruction.
8831
a1729519
JW
8832Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
8833
8834 * local-alloc.c (contains_replace_regs): New function.
8835 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
8836 verify that there is no existing REG_EQUIV note, and add a call to
8837 contains_place_regs.
8838
290c8b1f
L
8839Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8840
8841 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
8842 (STARTFILE_SPEC): Always use crtbegin.o%s
8843 (ENDFILE_SPEC): Always use crtend.o%s.
8844
a6a503ed
JW
8845Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
8846
8847 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
8848 is passed in.
8849 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
8850 SFmode for 64 bit hosts.
b57062ca 8851
a94729bc
PH
8852Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
8853
8854 * fixincludes: Permits spaces between # and define. Discard C++
8855 comments in sys/pci.h on HP/UX 10.20.
8856
c9e03727
JL
8857Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
8858
8859 * version.c: Bump for snapshot.
8860
2eddfed1
JL
8861 * pa.c (restore_unscaled_index_insn_codes): New function.
8862 (record_unscaled_index_insn_codes): Likewise.
8863 (output_function_prologue): Call restore_unscaled_index_insn_codes.
8864 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
8865 (pa_reorg): Call record_unscaled_index_insn_codes.
8866
c9e03727
JL
8867 * haifa-sched.c (move_insn): Handle notes correctly for insns
8868 with SCHED_GROUP_P set.
b57062ca 8869
a5d6a95b
L
8870Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8871
8872 * alpha/xm-linux.h (USE_BFD): Undef before define.
8873
bc4ddc77
JW
8874Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
8875
8876 * cse.c (cse_insn): Don't record BLKmode values.
8877
f3e0ca6c
SW
8878Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
8879
8880 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
8881
e3512ac2
JL
8882Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
8883
a63d08e6
JL
8884 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
8885 * collect2.c (sys_errlist): Likewise.
8886 * cpplib.c (sys_errlist): Likewise.
8887 * gcc.c (sys_errlist): Likewise.
8888 * protoize (sys_errlist): Likewise.
8889 * configure.in: Check for strerror.
8890 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
8891 * xm-gnu.h (HAVE_STRERROR): Likewise.
8892 * xm-linux.h (HAVE_STRERROR): Likewise.
8893 * xm-netbsd.h (HAVE_STRERROR): Likewise.
8894 * xm-bsd386.h (HAVE_STRERROR): Likewise.
8895 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
8896 * xm-dos.h (HAVE_STRERROR): Likewise.
8897 * xm-mingw32.h (HAVE_STRERROR): Likewise.
8898 * xm-pa.h (HAVE_STRERROR): Likewise.
8899 * xm-papro.h (HAVE_STRERROR): Likewise.
8900 * xm-sysv4.h (HAVE_STRERROR): Likewise.
8901 * configure, config.in: Rebuilt.
8902
db814993
JL
8903 * Makefile.in: Add several missing "else true" clauses.
8904
e3512ac2
JL
8905 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
8906 * mips-tfile.c: Likewise.
8907 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
8908 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
8909 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
8910 * configure.in: Check for sys_siglist declaration.
8911 * configure, config.in: Rebuilt.
8912
5d84b57e
JS
8913Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
8914
b57062ca 8915 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
5d84b57e
JS
8916 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
8917 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
8918 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
8919 * rs6000/sysv4.h (extra_subtarget_switches): Added new
8920 macro EXTRA_SUBTARGET_SWITCHES.
8921 * configure.in (sh*-*-rtems*): New target.
8922 * sh/rtems.h: New file.
8923 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
8924 * configure: Rebuilt.
8925
2599dcc7
JW
8926Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
8927
8928 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
8929
3b7e5ef4
DE
8930Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
8931
8932 * rs6000.md: Make DF fused-add operations pay attention to
8933 -mno-fused-add.
8934
5cd5f4a7
JW
8935Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
8936
8937 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
8938
63e7fe9b
JL
8939Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
8940
8941 * pa.md (reload_peepholes): Make sure operand is a REG before
8942 examining REGNO. Allow general registers too.
8943
eb7b11fd
JW
8944Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
8945
8946 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
8947
c760091a
PT
8948Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
8949
5cd5f4a7 8950 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
c760091a
PT
8951 to reallocate abbrev_die_table.
8952
57583338
JW
8953Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
8954
8955 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
8956
eae4b970
AS
89571997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8958
4f91a0f8
AS
8959 * Makefile.in (config.status): Depend on version.c
8960
eae4b970
AS
8961 * expr.h (insn_gen_function): Reenable prototype.
8962
8963 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
8964 first parameter.
8965
00fc09e1
JW
8966Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
8967
8968 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
8969
2601ebca
JL
8970Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
8971
8972 * version.c: Bump for latest snapshot.
8973
8974 * bc-optab.c: Conditionally include stdlib.h.
8975 (free): Provide a declaration if NEED_DECLARATION_FREE.
8976 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
8977 * rtl.h (free): Remove declaration.
8978 * tree.h (free): Remvoe declaration.
8979
8980 * configure: Rebuilt.
8981
e5eb27e5
JL
8982Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
8983
8984 * flags.h (flag_move_all_movables): Declare.
8985 (flag_reduce_all_givs): Likewise.
8986 * loop.c (move_movables): Handle flag_move_all_movables.
8987 (strength_reduce): Handle flag_reduce_all_givs.
8988 * toplev.c (flag_move_all_movables): Define.
8989 (flag_reduce_all_givs): Likewise.
8990 (f_options): Add -fmove-all-movables and -freduce-all-givs.
8991 * invoke.texi: Document new options, including alias stuff that
8992 wasn't included last time.
8993
d995a6dc
BM
8994Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
8995
8996 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
8997 * t-mn10200: Ditto.
8998 * t-vxsparc: Ditto.
8999 * t-vxworks68: Ditto.
9000 * t-vxworks960: Ditto.
9001 * t-vx29k: Ditto.
9002
ba64ca33
RH
9003Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
9004
9005 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
9006 if not already defined, and USE_C_ALLOCA not defined.
9007
ca20876d
JW
9008Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
9009
7818d6fc
JW
9010 * config.guess: Replace with script that uses ../config.guess.
9011
ca20876d
JW
9012 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
9013 if USE_GNULIBC_1 is not defined.
9014
704a6306
RH
9015Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
9016
9017 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
9018 * config.guess: Recognize alpha-linux-gnulibc1.
9019 * configure.in (alpha-*-linux-gnulibc1): New target.
9020 (alpha-*-linux-gnu*): Don't build crtbegin/end.
9021
67f68fd2
JW
9022Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
9023
9024 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
9025 last change.
9026
88016fb7
DE
9027Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
9028
9029 * loop.c (combine_movables): Earlier insns don't match later ones.
9030
bba17b29
L
9031Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9032
9033 * config/linux.h (CC1_SPEC): Define it only if not defined.
9034
9035 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
9036 <linux.h>
9037
9038 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
9039 USE_GNULIBC_1 is not defined.
9040
33d2808b 9041 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
bba17b29
L
9042
9043 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
9044 as 1 if USE_GNULIBC_1 is not defined.
9045
ed4044e0
JL
9046Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
9047
f345de42
JL
9048 * reorg.c (dbr_schedule): Allow current_function_return_rtx
9049 to be something other than a REG.
9050 * function.c (expand_function_end): Fix current_function_return_rtx
9051 if it was a pseudo.
9052
ed4044e0
JL
9053 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
9054 * x-netbsd: Likewise
9055 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
9056 (INSTALL_HEADERS): Delete.
9057 * x-dguxbcs: Likewise.
9058 * x-hp3bsd44: Likewise
9059 * x-pa: Likewise.
9060
47d36400
BS
9061Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9062
9063 * i386.md (pop): pop increments the stack pointer.
9064 (prologue_set_stack_ptr): New pattern.
9065 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
9066 instead of subsi3.
9067
fc79eafe
JW
9068Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
9069
9070 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
9071 address where an offsettable address is required.
9072
c5da853f
MH
9073Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
9074
9075 * loop.c (check_final_value): Don't miss a biv increment in a
9076 parallel.
9077
d4ef15f2
JW
9078Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
9079
9080 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
9081 TYPE_DECL_IS_STUB instead of DECL_NAME.
9082
10549cbd
JW
9083Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9084
9085 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
9086
9087Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
9088
9089 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
9090
484df988
JL
9091Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
9092
9093 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
9094 (find_post_sched_live): Likewise.
9095
9096 * haifa-sched.c (schedule_block): Remove old code to get arguments
9097 from hard regs into pseudos early.
9098
39dfb55a
JL
9099Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
9100
9101 * version.c: Bump for new snapshot.
9102
9103 * local-alloc.c (update_equiv_regs): All the target to reject
9104 promotion of some REG_EQUAL to REG_EQUIV notes.
9105 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
9106
9107 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
9108 secondary reloads.
9109
9110 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
9111 store of the argument registers.
9112
9113Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
9114
9115 * fold-const.c (multiple_of_p): New function.
9116 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
9117
d78778eb
JL
9118Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
9119
9120 * expr.h (insn_gen_function): Temporarily remove prototype.
9121
feb9ea1a
JW
9122Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
9123
9124 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
9125 filenames. Use sed to extract base filename for install.
9126
b6ffe602
JC
9127Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
9128
9129 * unroll.c (find_splittable_givs): Only share if two givs have the
9130 same add and multiply values.
9131
2ebfd230
JW
9132Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
9133
9134 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
9135 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
9136
251ffdee
JL
9137Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
9138
9139 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
9140 around branch tables.
9141 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
9142 and .end_brtab directives if TARGET_GAS.
9143
19372aa1
JW
9144Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
9145
27314274
JW
9146 * alias.c (true_dependence): Pass x_addr not x to varies.
9147
19372aa1
JW
9148 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
9149 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
9150 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
9151 declarations.
9152 * config.in, configure: Regenerate.
9153
2a2c8203
JC
9154Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
9155
9156 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
9157 LO_SUM.
9158 (record_set): Handle LO_SUM like PLUS.
9159 (init_alias_analysis): When following chains of base addresses,
9160 do not stop on reaching a hard register.
9161
d80357b7
JL
9162Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
9163
9164 * version.c: Bump for new snapshot.
9165
b4f32d7b
JW
9166Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
9167
9168 * alpha.h (ARCH_ASM_FILE_START): Define.
9169 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
9170 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
9171
ca363bb6
JL
9172Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
9173
9174 * Makefile.in (install-common): Put gcov comment at start of line.
9175
7557aa98
JL
9176Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
9177
9178 * alias.c (init_alias_analysis): When simplifying the reg_base_value
9179 array, simplify entries for hard registers too.
9180
c34e3ae4
DL
9181Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
9182
9183 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
9184 list.
9185
e3eef942
JW
9186Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
9187
9188 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
9189 block_stack before dereferencing it.
9190
9191Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
246853b9
MM
9192
9193 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
9194
04f41951
JM
9195Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
9196
9197 * cplus-dem.c: Add 'extern' to prepends_underscore.
9198
e933cbe0
JL
9199Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
9200
62d65906
JL
9201 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
9202 (get_issue_rate): Delete.
9203 * pa.h (ISSUE_RATE): Define.
9204
2da05a5b
JL
9205 * configure.in: Turn on haifa by default for the PA.
9206 * configure: Rebuilt.
9207 * pa.c (override_options): Accept -mschedule=7200 option.
9208 (pa_adjust_cost): No longer need to scale costs for newer
9209 processors.
9210 * pa.h (enum processor_type): Add PROCESSOR_7200.
9211 * pa.md: Revamp scheduling parameters to work better with
9212 haifa. Add scheduling parameters for the 7200.
9213
4f64eaca
JL
9214 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
9215 insns too.
9216 (schedule_block): When adjusting basic_block_{head,end}, account
9217 for movement of SCHED_GROUP_P insns too.
9218
9219 * haifa-sched.c (debug_dependencies): Fix thinko.
9220
e933cbe0
JL
9221 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
9222 (site.exp, check, check-g++, check-gcc): New targets.
9223
4f64eaca 9224 * haifa-sched.c: Make lots of variables static.
61822835 9225
e9576d2c
L
9226Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9227
9228 * expr.h, real.h: Finish prototyping.
9229
61822835
JL
9230Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
9231
9232 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
9233 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
9234 * reload1.c: Undo bugfix from Aug 11.
9235
f24b370a
MM
9236Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
9237
9238 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
9239 quotes around the name.
9240 * configure: Regenerate.
9241
1c4c5851
JW
9242Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
9243
9244 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
9245
71abb567
MH
9246Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
9247
9248 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
9249 to sub-makes to avoid building more passes than the user might have
9250 requested on the command line.
9251
6042434a
DL
9252Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
9253
9254 * configure.in: Expurgate `broken_install' (install is
9255 autoconfed).
9256
9257 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
9258 relevant).
9259
38ea060f
JL
9260Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
9261
9262 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
9263 functions and declarations.
9264 (analyze_loop_iterations): Use condjump_p.
9265 (insert_bct): Likewise. Use exact_log2.
b57062ca 9266
f187056f
JL
9267Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
9268
9269 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
9270 (schedule_region): Likewise.
9271 (schedule_insns): Likewise.
9272
9273 * PROJECTS: Update with Haifa stuff.
9274
9af06254
JL
9275Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
9276
9277 * version.c: Change the version string to look like:
11c21791 9278 egcs-2.90.00 970814 (gcc2-970802 experimental).
9af06254 9279
0945e937
JL
9280 * loop.c (is_conditional_branch): Make definition match declaration.
9281
9af06254
JL
9282 * gcc.c: Take out experimental snapshot warning message.
9283
ebc25a17
MM
9284Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
9285
9286 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
9287 print out the names of the notes. Print out the name of the insn
9288 that is not a note, and not an {,CALL_,JUMP_}INSN.
9289
610ce97e
JM
9290Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
9291
9292 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
9293 again for the slot after we give it RTL.
9294
992d1248
DE
9295Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
9296
9297 * configure.in (haifa configury): Fix typo.
9298 * configure: Regenerate.
9299
7bb6fbd1
JL
9300Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
9301
9302 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
9303
9304 * gcc.info*: Rebuilt.
9305
9306 * COPYING.g77, README.g77: New files.
9307 * real.c (ereal_unto_float, ereal_unto_double): New functions.
9308 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
9309 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
9310
8c660648
JL
9311Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
9312
9313 * Integrate Haifa instruction scheduler.
9314 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
9315 to sched with $(SCHED_CFLAGS.
9316 * configure.in: Handle --enable-haifa.
9317 * configure: Rebuilt.
9318 * flags.h: Add new flags for haifa instruction scheduler.
9319 * genattrtab.c (expand_units): For haifa, don't subtract one
9320 when computing blockage.
9321 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
9322 (flag_schedule_speculative): Ditto.
9323 (flag_schedule_speculative_load): Ditto.
9324 (flag_schedule_speculative_load_dangerous): Ditto.
9325 (flag_schedule_reverse_before_reload): Ditto.
9326 (flag_schedule_reverse_after_reload): Ditto.
9327 (flag_branch_on_count_reg): Ditto.
9328 (f_options): Add Haifa switches.
9329 (main): Turn off some Haifa options if appropriate macro is
9330 defined. Process Haifa switches.
9331 * unroll.c (iteration_info): No longer static, since Haifa
9332 scheduler uses it.
9333 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
9334 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
9335 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
9336 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
9337 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
9338 storage for the Haifa scheduler.
9339 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
9340 LABEL_NEXTREF.
9341 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
9342 are defined, call analyze_loop_iterations and insert_bct to use
9343 countdown loops.
9344 (record_giv): Refine test for jumps out of loops if HAIFA is
9345 defined.
9346 (analyze_loop_iterations): New function to identify if we can use
9347 a countdown loop.
9348 (insert_bct): Insert countdown loop.
9349 (instrument_loop_bct): Low level code to insert countdown loop.
9350 (loop_number): Calculate UID of loop.
9351 (indirect_jump_in_function_p): Return true if an indirect jump is
9352 in the function.
9353 (is_power_of_2): Return true if value is a power of 2.
9354 (is_conditional_branch): Return true if insn is a conditional
9355 jump.
9356 (fix_bct_param): Process -fbct-{min,max}-N switches.
9357 (check_bct_param): Return true if loop should be instrumented.
9358 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
9359 (loop_optimize): Initialize.
9360 (get_condition_for_loop): Ditto.
9361 * loop.c (strength_reduce): Inside of code that uses #ifdef
9362 HAVE_decrement_and_branch_on_count code, test it to make sure the
9363 condition is true.
9364 (instrument_loop_bct): Ditto.
9365 * haifa-sched.c: New file.
b57062ca 9366
8c660648
JL
9367
9368 * Integrate regmove pass.
9369 * Makefile.in (OBJS): Add regmove.o
9370 (regmove.o): Add dependencies.
9371 * flow.c (find_use_as_address): No longer static.
9372 * rtl.h (find_use_as_address): Declare.
9373 * toplev.c (regmove_dump, flag_regmove): Define.
9374 (f_options): Add -fregmove.
9375 (regmove_dump_file, regmove_time): Define.
9376 (fatal_insn): Close the regmove dump file.
9377 (compile_file): Initialize regmove_time; open/close the regmove dump
9378 file as needed. Print regmove time as needed.
9379 (rest_of_compilation): Run regmove pass if requested, dump
9380 RTL after regmove if requested.
9381 (main): If -O2 or more, turn on regmove. Handle dump switches.
9382 * regmove.c: New file.
b57062ca 9383
aa32d841
JL
9384Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
9385
9386 * Integrate tlink patch from jason@cygnus.com
9387 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
9388 (process_command): Increment n_switches for them. Don't discard
9389 their args. Validate them.
9390 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
9391 From Rohan Lenard.
9392 (process_command): Set include_prefixes from COMPILER_PATH.
9393 (main): Set COLLECT_GCC_OPTIONS sooner.
9394 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
9395 * tlink.c, hash.c, hash.h: New files.
9396 * Makefile.in (USE_COLLECT2): Always use collect2.
9397 (collect2): Depend on and link in hash.o and tlink.o.
9398 (tlink.o, hash.o): Add dependencies.
9399
5fa39bfe
JL
9400Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
9401
9ae8ffe7
JL
9402 * Integrate alias analysis changes from jfc@mit.edu
9403 * Makefile.in (OBJS): Add alias.o
9404 (alias.o): Add dependencies.
9405 * alias.c: New file.
9406 * sched.c: Remove alias analysis code. It lives in alias.c now.
9ae8ffe7 9407 (sched_analyze_2): Add new arguments to true_dependence.
9ae8ffe7
JL
9408 (schedule_insns): Always call init_alias_analysis.
9409 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
9410 mark return value from such functions as a pointer and keep track of
9411 them for alias analysis. If a return value from a function is a
9412 pointer, mark it as such.
9413 * combine.c (distribute_notes): Handle REG_NOALIAS.
9414 * cse.c (struct write_data): Delete. No longer needed.
9415 (invalidate): Don't call set_nonvarying_address_components anymore.
9416 Use true_dependence to decide if an entry should be removed from
9417 the hash table.
9418 (invalidate_memory): Remove WRITES argument, simplify appropriately.
9419 Fix all callers.
9420 (note_mem_written): Similarly for WRITE_PTR argument.
9421 (invalidate_from_clobbers): Similarly for W argument.
9422 (invalidate_for_call): Remove memory elements from the hash table.
9423 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
9424 (cse_rtx_varies_p): New function. Derived from old
9425 cse_rtx_addr_varies_p.
9426 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
9427 Don't call note_mem_written anymore. Stack pushes invalidate the stack
9428 pointer if PUSH_ROUNDING is defined. No longer need to call
9429 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
9430 (skipped_writes_memory): Remove variable.
9431 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
9432 (invalidate_skipped_block): Simplify for new alias analysis code.
9433 (cse_set_around_loop): Likewise.
9434 (cse_main): Call init_alias_analysis.
9435 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
9436 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
9437 (f_options): Add new alias checking arguments.
9438 (main): Set flag_alias_check when optimizing.
9439 * local_alloc (validate_equiv_mem_from_store): Add new arguments
9440 to true_dependence.
9441 (memref_referenced_p): Likewise.
9442 * loop.c (NUM_STORES): Increase to 30.
9443 (prescan_loop): Only non-constant calls set unknown_address_altered.
9444 (invariant_p): Add new arguments to true_dependence.
9445 (record_giv): Initialize unrolled and shared fields.
9446 (emit_iv_add_mult): Call record_base_value as needed.
9447 * loop.h (struct induction): Add unrolled and shared fields.
9448 * unroll.c (unroll_loop): Call record_base_value as needed.
9449 (copy_loop_body): Likewise.
9450 (final_biv_value): Likewise.
9451 (final_giv_value): Likewise.
9452 (find_splittable_regs): Likewise. Only create one new pseudo
9453 if we have multiple address GIVs that were combined with the same
9454 dst_reg GIV. Note when a new register is created due to unrolling.
9455 * rtl.c (reg_note_name): Add REG_NOALIAS.
9456 * rtl.h (enum reg_note): Similarly.
9457 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
9458 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
9459 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
9460 (true_dependence, read_dependence, anti_dependence): Likewise.
9461 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
9462 (mark_user_reg, mark_reg_pointer): Likewise.
9463
9464
9465 * Integrate reload bugfix from Wilon which enables the PA port
5fa39bfe 9466 to bootstrap again.
38e01259 9467 * reload1.c (reload): Sum needs for both OPADDR_ADDR and
5fa39bfe
JL
9468 OPERAND_ADDRESS when computing how many registers an insn needs.
9469 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
9470 conflict.
9471 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
9472 OPADDR_ADDR reload.
9473 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
9474 in reload_reg_use_in_op_addr do not reach the end.
9475 do not reach the end.
9476 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
9477 RELOAD_FOR_OPERAND_ADDRESS.
9478
9479Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
9480
2dcfcb56 9481 * egcs project officially starts.
fa03cbe9
JL
9482
9483Local Variables:
9484add-log-time-format: current-time-string
9485End:
This page took 1.311784 seconds and 5 git commands to generate.